22 parent::__construct(array(), array(
'output' =>
false,
'name' =>
$name),
$lineno,
$tag);
30 ->write(
'$this->displayParentBlock(')
32 ->raw(
", \$context, \$blocks);\n")
36 ->
raw(
'$this->renderParentBlock(')
38 ->raw(
', $context, $blocks)')
44 class_alias(
'Twig_Node_Expression_Parent',
'Twig\Node\Expression\ParentExpression',
false);
raw($string)
Adds a raw string to the compiled code.
__construct($name, $lineno, $tag=null)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Abstract class for all nodes that represents an expression.
Represents a parent node.
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.