Sign in Join
FPDoc Onlineexperiment

TFPExpressionScanner.TokenType property

Member of TFPExpressionScannerpublicIn unit fpExprPars

The type of the current token

Declaration

pascal
property TokenType: TTokenType read FTokenType;

Description

This read-only property returns the type classification of the current token using values from the TTokenType enumeration. It indicates whether the token is an operator, identifier, literal, keyword, or delimiter.

The property is automatically updated when GetToken advances to the next token.

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