22 parent::__construct(array(
'expr' => $expr), array(),
$lineno,
$tag);
30 ->subcompile($this->
getNode(
'expr'))
36 class_alias(
'Twig_Node_Print',
'Twig\Node\PrintNode',
false);
Represents a node in the AST.
Abstract class for all nodes that represents an expression.
Represents a node that outputs an expression.
Represents a displayable node in the AST.
__construct(Twig_Node_Expression $expr, $lineno, $tag=null)
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.