22 parent::__construct(array(), array(
'name' => $name),
$lineno,
$tag);
34 ->write(sprintf(
"\$this->displayBlock('%s', \$context, \$blocks);\n", $this->
getAttribute(
'name')))
Compiles a node to PHP code.
Represents a node in the AST.
Represents a block call node.
getAttribute($name)
Gets an attribute.
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.
Represents a displayable node in the AST.
__construct($name, $lineno, $tag=null)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.