RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.TokenSymbolIs Method

Checks if the next token in the file is a symbol with a specific value.

Pascal
function TokenSymbolIs(const S: string): Boolean;
C++
__fastcall Boolean TokenSymbolIs(const AnsiString S);

Call TokenSymbolIs to check if the current token in the file is symbol named S. If the token is not a symbol, or not a symbol with the specified value, then false is returned, otherwise, true is returned. 

 

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