22 parent::__construct(array(
'expr' => $expr), array(),
$lineno,
$tag);
35 ->subcompile($this->
getNode(
'expr'))
Compiles a node to PHP code.
Represents a node in the AST.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
__construct(Twig_Node_Expression $expr, $lineno, $tag=null)
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.
Abstract class for all nodes that represents an expression.
Represents a displayable node in the AST.
getNode($name)
Gets a node by name.
Represents a node that outputs an expression.