| Package | Description |
|---|---|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.passes | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenIncrementalDomCodeVisitor.visitChildren(SoyNode.ParentSoyNode<?> node)
Visits the children of a ParentSoyNode.
|
| Modifier and Type | Method and Description |
|---|---|
List<CodeChunk.WithValue> |
GenJsExprsVisitor.execOnChildren(SoyNode.ParentSoyNode<?> node)
Executes this visitor on the children of the given node, without visiting the given node
itself.
|
Boolean |
IsComputableAsJsExprsVisitor.execOnChildren(SoyNode.ParentSoyNode<?> node)
Executes this visitor on the children of the given node, and returns true if all children are
computable as JsExprs.
|
protected void |
GenJsCodeVisitor.visitChildren(SoyNode.ParentSoyNode<?> node) |
protected CodeChunk |
GenJsCodeVisitor.visitChildrenReturningCodeChunk(SoyNode.ParentSoyNode<?> node)
Visits the children of the given node, returning a
CodeChunk encapsulating its
JavaScript code. |
| Modifier and Type | Method and Description |
|---|---|
void |
CombineConsecutiveRawTextNodesPass.run(SoyNode.ParentSoyNode<?> node)
Run the pass on a single node.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SoyNode.BlockCommandNode
A node that represents a Soy command that encloses a template block.
|
static interface |
SoyNode.BlockNode
A node that represents a template block.
|
static interface |
SoyNode.ConditionalBlockNode
A node that represents a block of Soy code that is conditionally executed.
|
static interface |
SoyNode.LocalVarBlockNode
A node that adds a new local variable whose scope comprises the children of this code.
|
static interface |
SoyNode.MsgBlockNode
A block node that can hold message content.
|
static interface |
SoyNode.RenderUnitNode
A node that represents an independent unit of rendering.
|
static interface |
SoyNode.SplitLevelTopNode<N extends SoyNode>
A node that represents the top of a split-level structure in the parse tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractParentSoyNode<N extends SoyNode>
Abstract implementation of a ParentSoyNode.
|
class |
CallBasicNode
Node representing a call to a basic template.
|
class |
CallDelegateNode
Node representing a call to a delegate template.
|
class |
CallNode
Node representing a call.
|
class |
CallParamContentNode
Node representing a 'param' with content.
|
class |
CaseOrDefaultNode
Abstract node representing a 'case' or 'default' block in 'select', 'switch' or 'plural'
statements.
|
class |
ForIfemptyNode
Node representing the 'ifempty' portion of a 'foreach' statement.
|
class |
ForNode
Node representing a 'foreach' statement.
|
class |
ForNonemptyNode
Node representing the loop portion of a 'foreach' statement.
|
class |
HtmlAttributeNode
An HtmlAttributeNode is an AST node that marks the extent of one or more html attributes.
|
class |
HtmlAttributeValueNode
An Html attributed value with optional surrounding quotation marks.
|
class |
HtmlCloseTagNode
An HtmlCloseTagNode represents a closing html tag.
|
class |
HtmlCommentNode
Node representing a HTML comment.
|
class |
HtmlOpenTagNode
An HtmlOpenTagNode represents an opening html tag.
|
class |
HtmlTagNode
Base class for html tags.
|
class |
IfCondNode
Node representing a block within an 'if' statement that has a conditional expression (i.e.
|
class |
IfElseNode
Node representing the 'else' block within an 'if' statement.
|
class |
IfNode
Node representing an 'if' statement.
|
class |
LetContentNode
Node representing a 'let' statement with content.
|
class |
LogNode
Node representing the 'log' statement.
|
class |
MsgFallbackGroupNode
Represents one message or a pair of message and fallback message.
|
class |
MsgHtmlTagNode
Node representing an HTML tag within a
msg statement/block. |
class |
MsgNode
Node representing a 'msg' block.
|
class |
MsgPlaceholderNode
A node that is the direct child of a MsgBlockNode and will turn into a placeholder.
|
class |
MsgPluralCaseNode
Node representing a 'case' block in a 'plural' block.
|
class |
MsgPluralDefaultNode
Node representing the 'default' block in a 'plural' block.
|
class |
MsgPluralNode
Node representing a 'plural' block.
|
class |
MsgSelectCaseNode
Node representing a 'case' block in a 'select' block.
|
class |
MsgSelectDefaultNode
Node representing the 'default' block in a 'select' block.
|
class |
MsgSelectNode
Node representing a 'select' block.
|
class |
PrintNode
Node representing a 'print' statement.
|
class |
SoyFileNode
Node representing a Soy file.
|
class |
SoyFileSetNode
Node representing a Soy file set (the root of the Soy parse tree).
|
class |
SwitchCaseNode
Node representing a 'case' block in a 'switch' block.
|
class |
SwitchDefaultNode
Node representing the 'default' block in a 'switch' statement.
|
class |
SwitchNode
Node representing a 'switch' statement.
|
class |
TemplateBasicNode
Node representing a basic template.
|
class |
TemplateDelegateNode
Node representing a delegate template.
|
class |
TemplateNode
Node representing a template.
|
class |
VeLogNode
Node for a
statement. |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
SoyTreeUtils.buildAstString(SoyNode.ParentSoyNode<?> node,
int indent,
StringBuilder sb)
Given a Soy node, returns a
StringBuilder that can be used to pretty print the AST
structure. |
static StringBuilder |
SoyTreeUtils.buildAstStringWithPreview(SoyNode.ParentSoyNode<?> node,
int indent,
StringBuilder sb)
Similar to
SoyTreeUtils.buildAstString(com.google.template.soy.soytree.SoyNode.ParentSoyNode<?>, int, java.lang.StringBuilder), but also print the source string for debug usages. |
protected void |
AbstractSoyNodeVisitor.visitChildren(SoyNode.ParentSoyNode<?> node)
Helper to visit all the children of a node, in order.
|
protected void |
AbstractSoyNodeVisitor.visitChildrenAllowingConcurrentModification(SoyNode.ParentSoyNode<?> node)
Helper to visit all the children of a node, in order.
|