System.Classes.TParser.Token
Delphi
property Token: Char read FToken;
C++
__property System::WideChar Token = {read=FToken, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Classes.pas System.Classes.hpp |
System.Classes | TParser |
Description
Gives the type of token at the current file position.
Token is a read only property that describes the type of token at current file parse position. The NextToken method is used to navigate through the file tokens. Token can then be used to determine what to do with each token encountered.
The token character can have one of the following values :
Value | Meaning |
---|---|
toEOF |
End of file has been reached |
toFloat |
The next token is a floating (decimal) pointing value |
toInteger |
The next token is an integer value |
toString |
The next token is a text value |
toSymbol |
The next token is a symbol |
toWString |
The next token is a wide string value |