Get the evaluated value of this expression node
Source position: fpexprpars.pp line 126
public function TFPExprNode.NodeValue: TFPExpressionResult; |
Returns the evaluated result of the node
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.