Skip to content

TFPExprVariable

Internally used class for variable expression nodes

Declaration

Source position: fpexprpars.pp line 618

type

  TFPExprVariable = class(TFPExprIdentifierNode)
    procedure Check;
    function AsString : AnsiString;
  end;

Description

The TFPExprVariable class represents a variable reference in an expression tree. Variables are identifiers that hold values and can be referenced by name within expressions to retrieve their current values.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

Methods

Member Visibility Description
AsString default Get string representation of variable expression
Check default Validate the variable expression
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees