RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.NextToken Method

Moves to the next token in the file.

Pascal
function NextToken: Char;
C++
__fastcall Char NextToken();

Call NextToken to move to the next token in the file being parsed. This is normally called in a loop as the file is parsed, terminating when toEOF is encountered. Use Token to retrieve the type of the current token. 

 

toEOF 

Token 

TokenFloat 

TokenInt 

TokenString 

TokenSymbolIs 

TokenSymbol

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