Checks whether the token equals the given symbol.
Source position: classesh.inc line 2201
public procedure TParser.CheckTokenSymbol( |
const S: string |
); |
CheckTokenSymbol performs a case-insensitive comparison of current token value with S.
Current token must be of type toSymbol, otherwise an EParserError exception is raised.
If the comparison fails, or current token isn't a symbol, an EParserError exception is raised.
|
Returns True if the token equals the given symbol. |
|
|
Value returned by TParser.Token when a symbol was found in the input stream. |