Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPExprNode.NodeValue

Get the evaluated value of this expression node

Declaration

Source position: fpexprpars.pp line 126

public function TFPExprNode.NodeValue: TFPExpressionResult;

Function result

Returns the evaluated result of the node

Description

The NodeValue method evaluates the expression node and returns the result as a TFPExpressionResult record containing both the value and its type information.

The method performs the actual computation represented by this node, including evaluating any child nodes or operands as needed. For simple nodes like literals, it returns the stored value; for complex nodes like operations, it computes the result from its operands.

The returned result includes type information to ensure proper handling of the value by calling code.


Documentation generated on: Dec 15 2025