RAD Studio VCL Reference
TParser.TokenSymbolIs Method

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

function TokenSymbolIs(const S: string): Boolean;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!