芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/midiatech/vendor/twig/twig/src/Node/BlockNode.php
*/ class BlockNode extends Node { public function __construct($name, \Twig_NodeInterface $body, $lineno, $tag = null) { parent::__construct(['body' => $body], ['name' => $name], $lineno, $tag); } public function compile(Compiler $compiler) { $compiler ->addDebugInfo($this) ->write(sprintf("public function block_%s(\$context, array \$blocks = [])\n", $this->getAttribute('name')), "{\n") ->indent() ; $compiler ->subcompile($this->getNode('body')) ->outdent() ->write("}\n\n") ; } } class_alias('Twig\Node\BlockNode', 'Twig_Node_Block');