Package com.google.template.soy.sharedpasses

Compiler passes shared between multiple backends or between frontend and backend.

See:
          Description

Class Summary
AssertNoExternalCallsVisitor Visitor to check that there are no external calls.
AssertSyntaxVersionV2Visitor Visitor for asserting that all the nodes in a parse tree or subtree conform to Soy V2 syntax.
BuildAllDependeesMapVisitor Visitor for building a map from each node to its list of dependees (ordered by nearest dependee first).
CheckSoyDocVisitor Visitor for checking that in each template, the parameters declared in the SoyDoc match the data keys referenced in the template.
ClearSoyDocStringsVisitor Visitor for removing SoyDoc strings from TemplateNodes (saves memory when they're not needed).
CombineConsecutiveRawTextNodesVisitor Visitor for combining any consecutive sequences of RawTextNodes into one equivalent RawTextNode.
FindIjParamsVisitor Visitor for finding the injected params used by a given template.
FindIjParamsVisitor.IjParamsInfo Return value for FindIjParamsVisitor.
FindIndirectParamsVisitor Visitor for finding the indirect params of a given template.
FindIndirectParamsVisitor.IndirectParamsInfo Return value for FindIndirectParamsVisitor.
IsUsingIjDataVisitor Visitor for determining whether any code in a Soy tree uses injected data.
MarkLocalVarDataRefsVisitor Visitor to determine and mark which DataRefNodes are actually local var data refs.
RemoveHtmlCommentsVisitor Visitor for removing HTML comments from raw text.
RenameCssVisitor Visitor for renaming CSS selector text in a Soy parse tree.
SharedPassesModule Guice module for shared passes.
ShouldEnsureDataIsDefinedVisitor Visitor for determining whether a template needs to ensure that its data is defined.
SubstituteGlobalsVisitor Visitor for substituting values of compile-time globals and/or for checking that all globals are defined by the compile-time globals map.
UnmarkLocalVarDataRefsVisitor Visitor to unmark all DataRefNodes regarding whether they are actually local var data refs.
 

Package com.google.template.soy.sharedpasses Description

Compiler passes shared between multiple backends or between frontend and backend.