public class IsComputableAsJsExprsVisitor extends AbstractReturningSoyNodeVisitor<Boolean>
Precondition: MsgNode should not exist in the tree.
Important: This class is in ApiCallScope because it memoizes results that are reusable
for the same parse tree. If we change the parse tree between uses of the scoped instance, then
the results may not be correct. (In that case, we would need to take this class out of ApiCallScope and rewrite the code somehow to still take advantage of the memoized results to the
extent that they remain correct.)
TODO(user): This should no longer be necessary after CodeChunk migration. Rip it all out.
| Modifier | Constructor and Description |
|---|---|
protected |
IsComputableAsJsExprsVisitor() |
visitCallBasicNode, visitCallDelegateNode, visitCallParamNode, visitForIfemptyNode, visitForNonemptyNode, visitLetContentNode, visitLetValueNode, visitMsgNode, visitMsgPluralCaseNode, visitMsgPluralDefaultNode, visitMsgPluralNode, visitMsgSelectCaseNode, visitMsgSelectDefaultNode, visitMsgSelectNode, visitMsgSubstUnitNode, visitPrintDirectiveNode, visitSoyFileNode, visitSoyFileSetNode, visitSoyNode, visitSwitchCaseNode, visitSwitchDefaultNode, visitTemplateBasicNode, visitTemplateDelegateNodeexec, visitChildren, visitChildrenAllowingConcurrentModificationpublic Boolean execOnChildren(SoyNode.ParentSoyNode<?> node)
protected Boolean visit(SoyNode node)
AbstractReturningNodeVisitorvisit in class AbstractReturningSoyNodeVisitor<Boolean>node - The node to visit.protected Boolean visitTemplateNode(TemplateNode node)
visitTemplateNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitRawTextNode(RawTextNode node)
visitRawTextNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitMsgFallbackGroupNode(MsgFallbackGroupNode node)
visitMsgFallbackGroupNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitMsgPlaceholderNode(MsgPlaceholderNode node)
visitMsgPlaceholderNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitMsgHtmlTagNode(MsgHtmlTagNode node)
visitMsgHtmlTagNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitPrintNode(PrintNode node)
visitPrintNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitLetNode(LetNode node)
visitLetNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitIfNode(IfNode node)
visitIfNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitIfCondNode(IfCondNode node)
visitIfCondNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitIfElseNode(IfElseNode node)
visitIfElseNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitSwitchNode(SwitchNode node)
visitSwitchNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitForNode(ForNode node)
visitForNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitCallNode(CallNode node)
visitCallNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitCallParamValueNode(CallParamValueNode node)
visitCallParamValueNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitCallParamContentNode(CallParamContentNode node)
visitCallParamContentNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitLogNode(LogNode node)
visitLogNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitDebuggerNode(DebuggerNode node)
visitDebuggerNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitHtmlAttributeValueNode(HtmlAttributeValueNode node)
visitHtmlAttributeValueNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitHtmlAttributeNode(HtmlAttributeNode node)
visitHtmlAttributeNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitHtmlOpenTagNode(HtmlOpenTagNode node)
visitHtmlOpenTagNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitHtmlCloseTagNode(HtmlCloseTagNode node)
visitHtmlCloseTagNode in class AbstractReturningSoyNodeVisitor<Boolean>protected Boolean visitVeLogNode(VeLogNode node)
visitVeLogNode in class AbstractReturningSoyNodeVisitor<Boolean>protected boolean canSkipChild(SoyNode child)