[Overview][Types][Classes][Procedures and functions][Index] |
Evaluates the XPath function name using the specified context and environment.
Source position: laz2_xpath.pas line 125
public function TXPathFunctionNode.Evaluate( |
AContext: TXPathContext; |
AEnvironment: TXPathEnvironment |
):TXPathVariable; override; |
AContext |
|
Context node for the evaluation. |
AEnvironment |
|
XPath environment for the evaluation. |
Result for the evaluated function.
Evaluate is an overridden TXPathVariable function that implements the method defined in the ancestor class. Evaluate is used to derive the value for the function call using any arguments found in the XPath expression, and to store the result in the TXPathVariable return value.
Evaluate uses the AEnvironment parameter to access the function names (and their implementations) available in the XPath environment. If a function with the required name is not found in AEnvironment, the EvaluationError routine is called to raise an exception with the message in lrsEvalUnknownFunction.
Evaluate creates an internal TXPathVarList instance that is used to store the value for any arguments in the XPath expression. The list, and the context node in AContext, are passed to the function call. The internal list is freed prior to exiting from the method.
|
Base class used to represent an XPath variables and results. |
|
|
Represents the Context for an XPath expression. |
|
|
Provides access to functions and variables available in the XPath environment. |
|
|
Implements an XPath function. |
|
|
List used to store XPath variables in the XPath environment. |
Version 4.0 | Generated 2025-05-03 | Home |