RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.Token Property

Gives the type of token at the current file position.

Pascal
property Token: Char;
C++
__property Char Token;

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  
The next token is a floating (decimal) pointing value  
The next token is an integer value  
The next token is a text value  
The next token is a symbol  
The next token is a wide string value  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!