System.Classes.TParser.TokenSymbolIs
Delphi
function TokenSymbolIs(const S: string): Boolean;
C++
bool __fastcall TokenSymbolIs(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TParser |
Description
Checks if the next token in the file is a symbol with a specific value.
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.