Sign in Join
FPDoc Onlineexperiment

TFPExpressionScanner.Token property

Member of TFPExpressionScannerpublicIn unit fpExprPars

The text of the current token

Declaration

pascal
property Token: AnsiString read FToken;

Description

This read-only property provides access to the text content of the token that was most recently extracted by the scanner. For identifiers and literals, this contains the exact text from the expression; for operators and keywords, it contains the recognized symbol or word.

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

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