17        parent::__construct($elements, array(), 
$lineno);
 
   22                $this->index = $pair[
'key']->getAttribute(
'value');
 
   31        foreach (array_chunk($this->nodes, 2) as $pair) {
 
   46            if ((
string) 
$key === (
string) $pair[
'key']) {
 
   60        array_push($this->nodes, 
$key, $value);
 
   65        $compiler->
raw(
'array(');
 
   76                ->subcompile($pair[
'value'])
 
   83class_alias(
'Twig_Node_Expression_Array', 
'Twig\Node\Expression\ArrayExpression', 
false);
 
An exception for terminatinating execution or to throw for unit testing.
Compiles a node to PHP code.
raw($string)
Adds a raw string to the compiled code.
subcompile(Twig_NodeInterface $node, $raw=true)
hasElement(Twig_Node_Expression $key)
__construct(array $elements, $lineno)
addElement(Twig_Node_Expression $value, Twig_Node_Expression $key=null)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Abstract class for all nodes that represents an expression.