new TemplateCompiler(templateFactory, globalFunctions, autoEscapeOptions);
delegatingTemplateLoaders.add(compiler);
templateLoader = compiler;
} else {
// Walk parse tree every time.
InterpretedTemplateLoader interpreter =
new InterpretedTemplateLoader(templateFactory, globalFunctions, autoEscapeOptions);
delegatingTemplateLoaders.add(interpreter);
templateLoader = interpreter;
}
// Do we want to load precompiled Template class objects?