simplifyVisitor.exec(soyTree);
}
private void doContextualEscaping(SoyFileSetNode soyTree) throws SoySyntaxException {
new CheckEscapingSanityVisitor().exec(soyTree);
List<TemplateNode> extraTemplates = contextualAutoescaper.rewrite(
soyTree, generalOptions.allowExternalCalls() == Boolean.FALSE);
// TODO: Run the redundant template remover here and rename after CL 16642341 is in.
if (!extraTemplates.isEmpty()) {
// TODO: pull out somewhere else. Ideally do the merge as part of the redundant template