21        parent::__construct(array(), array(
'extension_name' => $extensionName, 
'name' => 
$name, 
'type' => 
$type, 
'var_name' => $varName));
 
   27            ->
write(sprintf(
'$%s = $this->env->getExtension(', $this->
getAttribute(
'var_name')))
 
   30            ->write(sprintf(
'$%s->enter($%s = new Twig_Profiler_Profile($this->getTemplateName(), ', $this->
getAttribute(
'var_name'), $this->
getAttribute(
'var_name').
'_prof'))
 
   39class_alias(
'Twig_Profiler_Node_EnterProfile', 
'Twig\Profiler\Node\EnterProfileNode', 
false);
 
An exception for terminatinating execution or to throw for unit testing.
Compiles a node to PHP code.
write()
Writes a string to the compiled code by adding indentation.
Represents a node in the AST.
Represents a profile enter node.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
__construct($extensionName, $type, $name, $varName)