The type of the current token.
Source position: classesh.inc line 2216
public property TParser.Token : char |
This property holds the type of the current token. When Token isn't one of the special token types (whose value can be retrieved with specific methods) it is the character representing the current token.
Special token types:
toEOF | Value returned by TParser.Token when the end of the input stream was reached. |
toSymbol | Value returned by TParser.Token when a symbol was found in the input stream. |
toString | Value returned by TParser.Token when a string was found in the input stream. |
toInteger | Value returned by TParser.Token when an integer was found in the input stream. |
toFloat | Value returned by TParser.Token when a floating point value was found in the input stream. |
toWString | Value returned by TParser.Token when a widestring was found in the input stream. |
To advance to the next token, use NextToken method.
|
Checks whether the token if of the given type. |
|
|
Reads the next token and returns its type. |
|
|
Returns the path of a subcomponent starting from the current token. |
|
|
Returns the current token as a float. |
|
|
Returns the current token as an integer. |
|
|
Returns the current token as a string. |
|
|
Returns the current token as a widestring. |