|
| __construct (callable $fnDispatcher=null) |
|
| visit (array $node, $data) |
| Visits each node in a JMESPath AST and returns the evaluated result.
|
|
◆ __construct()
JmesPath\TreeInterpreter::__construct |
( |
callable | $fnDispatcher = null | ) |
|
- Parameters
-
callable | null | $fnDispatcher | Function dispatching function that accepts a function name argument and an array of function arguments and returns the result. |
◆ visit()
JmesPath\TreeInterpreter::visit |
( |
array | $node, |
|
|
| $data ) |
Visits each node in a JMESPath AST and returns the evaluated result.
- Parameters
-
array | $node | JMESPath AST node |
mixed | $data | Data to evaluate |
- Return values
-
The documentation for this class was generated from the following file:
- lib/jmespath/src/TreeInterpreter.php