芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/twig/twig/lib/Twig/Node/SandboxedPrint.php
*/ class Twig_Node_SandboxedPrint extends Twig_Node_Print { public function compile(Twig_Compiler $compiler) { $compiler ->addDebugInfo($this) ->write('echo $this->env->getExtension(\'Twig_Extension_Sandbox\')->ensureToStringAllowed(') ->subcompile($this->getNode('expr')) ->raw(");\n") ; } /** * Removes node filters. * * This is mostly needed when another visitor adds filters (like the escaper one). * * @return Twig_Node */ protected function removeNodeFilter(Twig_Node $node) { if ($node instanceof Twig_Node_Expression_Filter) { return $this->removeNodeFilter($node->getNode('node')); } return $node; } } class_alias('Twig_Node_SandboxedPrint', 'Twig\Node\SandboxedPrintNode', false);