$node, 'attribute' => $attribute, 'arguments' => $arguments), array('type' => $type), $lineno); } public function compile(Twig_Compiler $compiler) { $compiler ->raw('$this->getAttribute(') ->subcompile($this->getNode('node')) ->raw(', ') ->subcompile($this->getNode('attribute')) ->raw(', array(') ; foreach ($this->getNode('arguments') as $node) { $compiler ->subcompile($node) ->raw(', ') ; } $compiler ->raw('), ') ->repr($this->getAttribute('type')) ->raw($this->hasAttribute('is_defined_test') ? ', true' : ', false') ->raw(sprintf(', %d', $this->lineno)) ->raw(')'); } }