29 ->write(sprintf(
"public function block_%s(\$context, array \$blocks = array())\n", $this->
getAttribute(
'name')),
"{\n")
41 class_alias(
'Twig_Node_Block',
'Twig\Node\BlockNode',
false);
Represents a node in the AST.
__construct($name, Twig_NodeInterface $body, $lineno, $tag=null)
subcompile(Twig_NodeInterface $node, $raw=true)
Represents a node in the AST.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Create styles array
The data for the language used.
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.