Node
class Node
Represents a node in the AST.
Properties
| $nodes | |||
| $attributes |
Methods
| __construct(array $nodes = array(), array $attributes = array()) | ||
| __toString() | ||
| compile(Compiler $compiler) | ||
| evaluate($functions, $values) | ||
| toArray() | ||
| dump() |
Details
__construct(array $nodes = array(), array $attributes = array())
Parameters
| array | $nodes | An array of nodes |
| array | $attributes | An array of attributes |
__toString()
compile(Compiler $compiler)
Parameters
| Compiler | $compiler |
evaluate($functions, $values)
Parameters
| $functions | ||
| $values |
toArray()
dump()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/ExpressionLanguage/Node/Node.html