Sign in Join
FPDoc Onlineexperiment

TParser.TokenSymbolIs function

Member of TParserpublicIn unit Classes

Returns True if the token equals the given symbol.

Declaration

pascal
function TokenSymbolIs(const S: string): Boolean

Description

TokenSymbolIs performs a case-insensitive comparison of current token value with S.

If current token isn't of type toSymbol, or comparison fails, False is returned.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.