| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHtmlSoyNodeVisitor<R>
Like
AbstractSoyNodeVisitor, but also visits nodes containing information about the HTML
structure of the page. |
| Modifier and Type | Class and Description |
|---|---|
class |
HtmlTransformVisitor
Translates fragments of HTML tags, text nodes and attributes found in
RawTextNodes to
the following nodes:
HtmlAttributeNode
HtmlCloseTagNode
HtmlOpenTagEndNode
HtmlOpenTagStartNode
HtmlTextNode
Also annotates msg and print nodes with their HtmlContext. |
class |
VoidElementVerifyingVisitor
Looks for void element closing tags that are not immediately preceded by an open tag of the
same type.
|
| 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 |
ExtractMsgVariablesVisitor
Moves
MsgFallbackGroupNodes to separate {let} and print nodes. |
class |
GenDirectivePluginRequiresVisitor
A visitor to generate a set of Closure JS library names required by the plugins used by this
template.
|
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 |
OptimizeBidiCodeGenVisitor
Visitor for replacing any
PrintNode whose expression is a single call to
bidiMark(), bidiStartEdge(), or bidiEndEdge() with an equivalent
RawTextNode. |
| Modifier and Type | Class and Description |
|---|---|
class |
ExtractMsgsVisitor
Visitor for extracting messages from a Soy parse tree.
|
class |
InsertMsgsVisitor
Visitor for inserting translated messages into Soy 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 |
BuildAllDependeesMapVisitor
Visitor for building a map from each node to its list of dependees (ordered by nearest dependee
first).
|
class |
ChangeCallsToPassAllDataVisitor
Visitor to change
calls to use data="all" whenever possible. |
class |
ClearSoyDocStringsVisitor
Visitor for removing SoyDoc strings from
TemplateNodes (saves memory when they're not
needed). |
class |
CombineConsecutiveRawTextNodesVisitor
Visitor for combining any consecutive sequences of
RawTextNodes into one equivalent
RawTextNode. |
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 |
InferRequiredSyntaxVersionVisitor
Visitor to infer the required syntax version of a Soy file due to features used.
|
class |
RewriteRemaindersVisitor
Visitor for finding
print nodes that are actually remainder nodes,
and replacing them with the appropriate expression. |
class |
StrictDepsVisitor
Visitor to check that there are no external calls.
|
class |
VerifyPhnameAttrOnlyOnPlaceholdersVisitor
Visitor to verify that all occurrences of the 'phname' attribute are on message placeholders.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenPyExprsVisitor
Visitor for generating Python expressions for parse tree nodes.
|
| 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 |
RenderVisitor
Visitor for rendering the template subtree rooted at a given SoyNode.
|