public final class PerformAutoescapeVisitor extends AbstractSoyNodeVisitor<Void>
Important: Do not use outside of Soy code (treat as superpackage-private).
AbstractNodeVisitor.exec(N) should be called on a full parse tree. The directives on 'print' nodes may be
modified. There is no return value.
errorReporter| Constructor and Description |
|---|
PerformAutoescapeVisitor(Map<String,SoyPrintDirective> soyDirectivesMap,
ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
visitPrintNode(PrintNode node) |
protected void |
visitSoyFileSetNode(SoyFileSetNode node) |
protected void |
visitSoyNode(SoyNode node) |
protected void |
visitTemplateNode(TemplateNode node) |
visit, visitCallBasicNode, visitCallDelegateNode, visitCallNode, visitCallParamContentNode, visitCallParamNode, visitCallParamValueNode, visitChildren, visitChildrenAllowingConcurrentModification, visitCssNode, visitDebuggerNode, visitForeachIfemptyNode, visitForeachNode, visitForeachNonemptyNode, visitForNode, visitGoogMsgDefNode, visitGoogMsgRefNode, visitIfCondNode, visitIfElseNode, visitIfNode, visitLetContentNode, visitLetNode, visitLetValueNode, visitLogNode, visitLoopNode, visitMsgFallbackGroupNode, visitMsgHtmlTagNode, visitMsgNode, visitMsgPlaceholderNode, visitMsgPluralCaseNode, visitMsgPluralDefaultNode, visitMsgPluralNode, visitMsgPluralRemainderNode, visitMsgSelectCaseNode, visitMsgSelectDefaultNode, visitMsgSelectNode, visitMsgSubstUnitNode, visitPrintDirectiveNode, visitRawTextNode, visitSoyFileNode, visitSwitchCaseNode, visitSwitchDefaultNode, visitSwitchNode, visitTemplateBasicNode, visitTemplateDelegateNode, visitXidNodeexec, visitChildren, visitChildrenAllowingConcurrentModification@Inject public PerformAutoescapeVisitor(Map<String,SoyPrintDirective> soyDirectivesMap, ErrorReporter errorReporter)
soyDirectivesMap - Map of all SoyPrintDirectives (name to directive).protected void visitSoyFileSetNode(SoyFileSetNode node)
visitSoyFileSetNode in class AbstractSoyNodeVisitor<Void>protected void visitTemplateNode(TemplateNode node)
visitTemplateNode in class AbstractSoyNodeVisitor<Void>protected void visitPrintNode(PrintNode node)
visitPrintNode in class AbstractSoyNodeVisitor<Void>protected void visitSoyNode(SoyNode node)
visitSoyNode in class AbstractSoyNodeVisitor<Void>node - the visited node.