R - The return type of this visitor.public abstract class AbstractReturningSoyNodeVisitor<R> extends AbstractReturningNodeVisitor<SoyNode,R>
Same as AbstractSoyNodeVisitor except that in this class, internal visit()
calls return a value.
Important: Do not use outside of Soy code (treat as superpackage-private).
To create a visitor:
visit*Node() methods for some specific node types.
visitSoyNode(), which is usually needed. Other
fallback methods include visitLoopNode() and visitCallParamNode().
exec() if this visitor needs to return a non-null final result
and/or if this visitor has state that needs to be setup/reset before each unrelated use of
visit().
AbstractSoyNodeVisitor| Constructor and Description |
|---|
AbstractReturningSoyNodeVisitor() |
exec, visitChildren, visitChildrenAllowingConcurrentModificationprotected R visit(SoyNode node)
AbstractReturningNodeVisitorvisit in class AbstractReturningNodeVisitor<SoyNode,R>node - The node to visit.protected R visitSoyFileSetNode(SoyFileSetNode node)
protected R visitSoyFileNode(SoyFileNode node)
protected R visitTemplateBasicNode(TemplateNode node)
protected R visitTemplateDelegateNode(TemplateNode node)
protected R visitTemplateNode(TemplateNode node)
protected R visitRawTextNode(RawTextNode node)
protected R visitMsgFallbackGroupNode(MsgFallbackGroupNode node)
protected R visitMsgPluralNode(MsgPluralNode node)
protected R visitMsgPluralCaseNode(MsgPluralCaseNode node)
protected R visitMsgPluralDefaultNode(MsgPluralDefaultNode node)
protected R visitMsgSelectNode(MsgSelectNode node)
protected R visitMsgSelectCaseNode(MsgSelectCaseNode node)
protected R visitMsgSelectDefaultNode(MsgSelectDefaultNode node)
protected R visitMsgPlaceholderNode(MsgPlaceholderNode node)
protected R visitMsgHtmlTagNode(MsgHtmlTagNode node)
protected R visitMsgSubstUnitNode(SoyNode.MsgSubstUnitNode node)
protected R visitPrintDirectiveNode(PrintDirectiveNode node)
protected R visitLetValueNode(LetValueNode node)
protected R visitLetContentNode(LetContentNode node)
protected R visitIfCondNode(IfCondNode node)
protected R visitIfElseNode(IfElseNode node)
protected R visitSwitchNode(SwitchNode node)
protected R visitSwitchCaseNode(SwitchCaseNode node)
protected R visitSwitchDefaultNode(SwitchDefaultNode node)
protected R visitForeachNode(ForeachNode node)
protected R visitForeachIfemptyNode(ForeachIfemptyNode node)
protected R visitForeachNonemptyNode(ForeachNonemptyNode node)
protected R visitLoopNode(SoyNode.LoopNode node)
protected R visitCallBasicNode(CallBasicNode node)
protected R visitCallDelegateNode(CallDelegateNode node)
protected R visitCallParamValueNode(CallParamValueNode node)
protected R visitCallParamContentNode(CallParamContentNode node)
protected R visitCallParamNode(CallParamNode node)
protected R visitDebuggerNode(DebuggerNode node)