Lines Matching refs:compiler
35 public function compile(Compiler $compiler) argument
37 $compiler->addDebugInfo($this);
40 $compiler
46 $this->addGetTemplate($compiler);
48 $compiler->raw('->display(');
50 $this->addTemplateArguments($compiler);
52 $compiler->raw(");\n");
55 $compiler
66 protected function addGetTemplate(Compiler $compiler) argument
68 $compiler
79 protected function addTemplateArguments(Compiler $compiler) argument
82 $compiler->raw(false === $this->getAttribute('only') ? '$context' : '[]');
84 $compiler
90 $compiler->raw('twig_to_array(');
91 $compiler->subcompile($this->getNode('variables'));
92 $compiler->raw(')');