| Package | Description |
|---|---|
| com.google.template.soy.basetree |
Classes shared by Soy parse trees and expression parse trees.
|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.msgs.internal | |
| com.google.template.soy.parseinfo.passes | |
| com.google.template.soy.passes | |
| com.google.template.soy.pysrc.internal | |
| com.google.template.soy.shared.internal |
Internal shared class among multiple backends.
|
| com.google.template.soy.sharedpasses.render | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNodeVisitor<N extends Node,R>
Base class for
AbstractXxxNodeVisitor classes. |
class |
AbstractReturningNodeVisitor<N extends Node,R>
Base class for
AbstractXxxNodeVisitor classes. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExprNodeVisitor<R>
Abstract base class for all ExprNode visitors.
|
class |
AbstractReturningExprNodeVisitor<R>
Abstract base class for all ExprNode visitors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenIncrementalDomCodeVisitor
Generates a series of JavaScript control statements and function calls for rendering one or more
templates as HTML.
|
class |
GenIncrementalDomExprsVisitor
Overrides the base class to provide the correct helpers classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CanInitOutputVarVisitor
Visitor for determining whther the code generated from a given node's subtree can be made to also
initialize the current variable (if not already initialized).
|
class |
GenJsCodeVisitor
Visitor for generating full JS code (i.e.
|
class |
GenJsCodeVisitorAssistantForMsgs
Assistant visitor for GenJsCodeVisitor to handle messages.
|
class |
GenJsExprsVisitor
Visitor for generating JS expressions for parse tree nodes.
|
class |
IsComputableAsJsExprsVisitor
Visitor to determine whether the output string for the subtree rooted at a given node is
computable as the concatenation of one or more JS expressions.
|
class |
TranslateExprNodeVisitor
Visitor for translating a Soy expression (in the form of an
ExprNode) into an equivalent
chunk of JavaScript code. |
| Modifier and Type | Class and Description |
|---|---|
class |
ExtractMsgsVisitor
Visitor for extracting messages from a Soy parse tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenerateParseInfoVisitor
Visitor for generating Java classes containing the parse info.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClearSoyDocStringsVisitor
Visitor for removing SoyDoc strings from
TemplateNodes (saves memory when they're not
needed). |
class |
FindIndirectParamsVisitor
Visitor for finding the indirect params of a given template.
|
class |
FindTransitiveDepTemplatesVisitor
Visitor for finding the set of templates transitively called by a given template.
|
class |
ResolveNamesVisitor
Visitor which resolves all variable and parameter references to point to the corresponding
declaration object.
|
class |
StrictDepsVisitor
Visitor to check that there are no external calls.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenPyExprsVisitor
Visitor for generating Python expressions for parse tree nodes.
|
class |
TranslateToPyExprVisitor
Visitor for translating a Soy expression (in the form of an
ExprNode) into an equivalent
Python expression. |
| Modifier and Type | Class and Description |
|---|---|
class |
FindCalleesNotInFileVisitor
Visitor for finding the templates called in a file that are not defined in the file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EvalVisitor
Visitor for evaluating the expression rooted at a given ExprNode.
|
class |
RenderVisitor
Visitor for rendering the template subtree rooted at a given SoyNode.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReturningSoyNodeVisitor<R>
Abstract base class for all SoyNode visitors.
|
class |
AbstractSoyNodeVisitor<R>
Abstract base class for all SoyNode visitors.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SoyTreeUtils.visitAllNodes(Node node,
NodeVisitor<? super Node,SoyTreeUtils.VisitDirective> visitor)
Runs the visitor on all nodes (including
expr nodes) reachable from the given
node. |