| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc |
JavaScript Source backend.
|
| com.google.template.soy.jssrc.internal |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
SoyFileSet.compileToJsSrc(SoyJsSrcOptions jsSrcOptions,
SoyMsgBundle msgBundle)
Compiles this Soy file set into JS source code files and returns these JS files as a list of
strings, one per file.
|
| Constructor and Description |
|---|
GenIncrementalDomExprsVisitor(SoyJsSrcOptions options,
com.google.template.soy.incrementaldomsrc.IncrementalDomGenCallCodeUtils genCallCodeUtils,
com.google.template.soy.incrementaldomsrc.IsComputableAsIncrementalDomExprsVisitor isComputableAsJsExprsVisitor,
GenIncrementalDomExprsVisitor.GenIncrementalDomExprsVisitorFactory genIncrementalDomExprsVisitorFactory,
TranslationContext translationContext,
ErrorReporter errorReporter,
TemplateAliases templateAliases) |
| Modifier and Type | Method and Description |
|---|---|
SoyJsSrcOptions |
SoyJsSrcOptions.clone() |
| Modifier and Type | Field and Description |
|---|---|
protected SoyJsSrcOptions |
GenJsCodeVisitor.jsSrcOptions
The options for generating JS source code.
|
protected SoyJsSrcOptions |
GenJsExprsVisitor.GenJsExprsVisitorFactory.options |
| Modifier and Type | Method and Description |
|---|---|
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.
|