Skip to content

TFPExprIdentifierNode.GetNodeValue

Get the value of the identifier

Declaration

Source position: fpexprpars.pp line 612

public 
procedure TFPExprIdentifierNode.GetNodeValue
                                            (var Result: TFPExpressionResult)
                                            ;  override;

Description

The GetNodeValue method retrieves the current value of the identifier by calling the appropriate evaluation mechanism (callback, event handler, or direct value access) based on the identifier's configuration.

For variables, this returns the stored value. For functions, this executes the function with any provided parameters and returns the computed result.