29 ->subcompile($this->
getNode(
'var'))
34 $compiler->
raw(
'$this');
37 ->
raw(
'$this->loadTemplate(')
38 ->subcompile($this->
getNode(
'expr'))
47 $compiler->
raw(
";\n");
51 class_alias(
'Twig_Node_Import',
'Twig\Node\ImportNode',
false);
raw($string)
Adds a raw string to the compiled code.
__construct(Twig_Node_Expression $expr, Twig_Node_Expression $var, $lineno, $tag=null)
Represents a node in the AST.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Abstract class for all nodes that represents an expression.
Create styles array
The data for the language used.
Represents an import node.
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.