$nodes
$nodes :
Abstract class for all nodes that represents an expression.
__construct(array $nodes = array(), array $attributes = array(), integer $lineno, string $tag = null)
Constructor.
The nodes are automatically made available as properties ($this->node). The attributes are automatically made available as array items ($this['name']).
array | $nodes | An array of named nodes |
array | $attributes | An array of attributes (should not be nodes) |
integer | $lineno | The line number |
string | $tag | The tag name associated with the Node |
hasElement(\Twig_Node_Expression $key)
\Twig_Node_Expression | $key |
addElement(\Twig_Node_Expression $value, \Twig_Node_Expression $key = null)
\Twig_Node_Expression | $value | |
\Twig_Node_Expression | $key |
compile(\Twig_Compiler $compiler)
\Twig_Compiler | $compiler |
getNode( $name) : \Twig_Node
$name |