protected function addGetTemplate(Twig_Compiler $compiler) {
if ($this
->getNode('expr') instanceof Twig_Node_Expression_Constant) {
$compiler
->write("\$this->env->loadTemplate(")
->subcompile($this
->getNode('expr'))
->raw(")");
}
else {
$compiler
->write("\$template = \$this->env->resolveTemplate(")
->subcompile($this
->getNode('expr'))
->raw(");\n")
->write('$template');
}
}