Extract expression node from result
Source position: fpexprpars.pp line 782
public function TFPExpressionParser.ExtractNode( |
var N: TFPExprNode |
):Boolean; |
N |
|
The result to extract node from |
Returns the extracted node
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.