12 @trigger_error(
'The Twig_Node_Expression_ExtensionReference class is deprecated since version 1.23 and will be removed in 2.0.', E_USER_DEPRECATED);
30 $compiler->
raw(sprintf(
"\$this->env->getExtension('%s')", $this->
getAttribute(
'name')));
raw($string)
Adds a raw string to the compiled code.
Abstract class for all nodes that represents an expression.
Represents an extension call node.
__construct($name, $lineno, $tag=null)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.