| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.conformance | |
| com.google.template.soy.html.passes | |
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.parseinfo.passes | |
| com.google.template.soy.parsepasses.contextautoesc |
A pass that modifies a SoyFile to add escape directives where necessary based on a contextual
examination of template
print commands. |
| com.google.template.soy.passes | |
| com.google.template.soy.pysrc.internal | |
| com.google.template.soy.sharedpasses.opti | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SoyFileSetNode |
SoyFileSetParser.ParseResult.fileSet() |
| Modifier and Type | Method and Description |
|---|---|
abstract SoyFileSetNode |
ConformanceInput.getSoyTree() |
| Modifier and Type | Method and Description |
|---|---|
static ConformanceInput |
ConformanceInput.create(SoyFileSetNode soyTree,
com.google.common.collect.ImmutableList<SlicedRawTextNode> slicedRawTextNodes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HtmlTransformVisitor.visitSoyFileSetNode(SoyFileSetNode node)
Visits a
SoyFileNode, getting its id generator. |
| Modifier and Type | Method and Description |
|---|---|
void |
IncrementalDomSrcMain.genJsFiles(SoyFileSetNode soyTree,
TemplateRegistry templateRegistry,
SoyJsSrcOptions jsSrcOptions,
String outputPathFormat,
ErrorReporter errorReporter)
Generates Incremental DOM JS source files given a Soy parse tree, an options object, an
optional bundle of translated messages, and information on where to put the output files.
|
List<String> |
IncrementalDomSrcMain.genJsSrc(SoyFileSetNode soyTree,
TemplateRegistry registry,
SoyJsSrcOptions jsSrcOptions,
ErrorReporter errorReporter)
Generates Incremental DOM JS source code given a Soy parse tree, an options object, and an
optional bundle of translated messages.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
GenJsCodeVisitor.gen(SoyFileSetNode node,
TemplateRegistry registry,
ErrorReporter errorReporter) |
void |
JsSrcMain.genJsFiles(SoyFileSetNode soyTree,
TemplateRegistry templateRegistry,
SoyJsSrcOptions jsSrcOptions,
String locale,
SoyMsgBundle msgBundle,
String outputPathFormat,
String inputPathsPrefix,
ErrorReporter errorReporter)
Generates JS source files given a Soy parse tree, an options object, an optional bundle of
translated messages, and information on where to put the output files.
|
List<String> |
JsSrcMain.genJsSrc(SoyFileSetNode soyTree,
TemplateRegistry templateRegistry,
SoyJsSrcOptions jsSrcOptions,
SoyMsgBundle msgBundle,
ErrorReporter errorReporter)
Generates JS source code given a Soy parse tree, an options object, and an optional bundle of
translated messages.
|
protected void |
OptimizeBidiCodeGenVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
protected void |
GenJsCodeVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
protected void |
ExtractMsgVariablesVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenerateParseInfoVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
| Modifier and Type | Method and Description |
|---|---|
List<TemplateNode> |
ContextualAutoescaper.rewrite(SoyFileSetNode fileSet,
TemplateRegistry registry,
ErrorReporter errorReporter)
Rewrites the given Soy files so that dynamic output is properly escaped according to the
context in which it appears.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<TemplateNode,FindTransitiveDepTemplatesVisitor.TransitiveDepTemplatesInfo> |
FindTransitiveDepTemplatesVisitor.execOnAllTemplates(SoyFileSetNode soyTree)
Computes transitive dep templates info for all templates in a Soy tree.
|
com.google.common.collect.ImmutableMap<TemplateNode,FindIjParamsVisitor.IjParamsInfo> |
FindIjParamsVisitor.execOnAllTemplates(SoyFileSetNode soyTree)
Precomputes injected params info for all templates.
|
void |
PassManager.runWholeFilesetPasses(TemplateRegistry registry,
SoyFileSetNode soyTree) |
protected void |
BuildAllDependeesMapVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
PySrcMain.genPyFiles(SoyFileSetNode soyTree,
TemplateRegistry templateRegistry,
SoyPySrcOptions pySrcOptions,
String outputPathFormat,
String inputPathsPrefix,
ErrorReporter errorReporter)
Generates Python source files given a Soy parse tree, an options object, and information on
where to put the output files.
|
List<String> |
PySrcMain.genPySrc(SoyFileSetNode soyTree,
TemplateRegistry templateRegistry,
SoyPySrcOptions pySrcOptions,
com.google.common.collect.ImmutableMap<String,String> currentManifest,
ErrorReporter errorReporter)
Generates Python source code given a Soy parse tree and an options object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimplifyVisitor.simplify(SoyFileSetNode fileSet,
TemplateRegistry registry)
Simplifies the given file set.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFileSetNode |
SoyFileSetNode.copy(CopyState copyState) |
SoyFileSetNode |
SoyFileNode.getParent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSoyNodeVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
protected R |
AbstractReturningSoyNodeVisitor.visitSoyFileSetNode(SoyFileSetNode node) |
| Constructor and Description |
|---|
TemplateRegistry(SoyFileSetNode soyTree,
ErrorReporter errorReporter)
Constructor.
|