public class StiToken
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
data
Gets or sets Value of the identifier.
|
int |
index
Gets or sets value indicates the beginning of token in text.
|
int |
length
Gets or sets value indicates the length of token.
|
StiTokenType |
type
Gets or sets value indicates the type of token.
|
| Constructor and Description |
|---|
StiToken(StiTokenType type)
Create a new instance StiToken.
|
StiToken(StiTokenType type,
int index,
int length)
Creates a new object of the type StiToken.
|
StiToken(StiTokenType type,
int index,
int length,
char charValue)
Creates a new object of the type StiToken.
|
StiToken(StiTokenType type,
int index,
int length,
java.lang.Object obj)
Creates an object of the type StiToken that contains an object.
|
StiToken(StiTokenType type,
int index,
int length,
java.lang.String stringValue)
Creates an object of the type StiToken that contains the value of the string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public int index
public int length
public StiTokenType type
public java.lang.Object data
public StiToken(StiTokenType type)
type - Type Token.public StiToken(StiTokenType type, int index, int length)
type - Type Token.index - The Beginning Token in text.length - The Length Token.public StiToken(StiTokenType type, int index, int length, char charValue)
type - Type Token.index - The Beginning Token in text.length - The Length Token.charValue - Char for initializingpublic StiToken(StiTokenType type, int index, int length, java.lang.String stringValue)
type - Type Token.index - The Beginning Token in text.length - The Length Token.stringValue - String for initializing.public StiToken(StiTokenType type, int index, int length, java.lang.Object obj)
type - Type Tokenindex - The Beginning Token in text.length - The Length Token.obj - Object for initializing.Copyright © 2020 Stimulsoft. All Rights Reserved.