| Package | Description |
|---|---|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
static <R> void |
SoytreeUtils.execOnAllV2Exprs(SoyNode node,
AbstractExprNodeVisitor<R> exprNodeVisitor,
ErrorReporter errorReporter)
Given a Soy node and a visitor for expression trees, traverses the subtree of the node and
executes the visitor on all expressions held by nodes in the subtree.
|
static <R> void |
SoytreeUtils.execOnAllV2ExprsShortcircuitably(SoyNode node,
AbstractExprNodeVisitor<R> exprNodeVisitor,
SoytreeUtils.Shortcircuiter<R> shortcircuiter,
ErrorReporter errorReporter)
Given a Soy node and a visitor for expression trees, traverses the subtree of the node and
executes the visitor on all expressions held by nodes in the subtree.
|
boolean |
SoytreeUtils.Shortcircuiter.shouldShortcircuit(AbstractExprNodeVisitor<R> exprNodeVisitor)
Called at various points during a pass initiated by visitAllExprsShortcircuitably.
|