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

TFPExpressionParser.ExtractNode

Extract expression node from result

Declaration

Source position: fpexprpars.pp line 782

public function TFPExpressionParser.ExtractNode(

  var N: TFPExprNode

):Boolean;

Arguments

N

  

The result to extract node from

Function result

Returns the extracted node

Description

The ExtractNode method extracts and returns the expression tree node from an expression result structure. It provides access to the internal node representation for advanced manipulation or analysis of the parsed expression.

This allows you to evaluate the same expression multiple times without needing to re-parse the expresion: by changing e.g. the value of a variable and calling the TFPExpressionResult.NodeValue method on the extracted node, you can get the updated result.


Documentation generated on: Dec 15 2025