Package com.google.template.soy.parsepasses.contextautoesc

Examples of com.google.template.soy.parsepasses.contextautoesc.CheckEscapingSanityVisitor


    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
View Full Code Here

TOP

Related Classes of com.google.template.soy.parsepasses.contextautoesc.CheckEscapingSanityVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.