Skip to content

TFPExprIdentifierNode

Internally used class for identifier nodes in expression trees

Declaration

Source position: fpexprpars.pp line 604

type

  TFPExprIdentifierNode = class(TFPExprNode)
  public
    constructor CreateIdentifier;
    function NodeType : TResultType;
    procedure GetNodeValue;
    property Identifier: TFPExprIdentifierDef; {r}
  end;

Description

The TFPExprIdentifierNode class represents an identifier reference in the expression tree. It holds a reference to the identifier definition and handles the resolution and evaluation of variables and function calls during expression evaluation.

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.

Properties

Member Visibility Description
Identifier read only public The identifier definition for this node
See all Properties

Methods

Member Visibility Description
CreateIdentifier public Create identifier node with identifier definition
GetNodeValue public Get the value of the identifier
NodeType public Get the result type for identifier nodes
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees