| 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.compileToIncrementalDomSrc(SoyJsSrcOptions jsSrcOptions)
Compiles this Soy file set into iDOM source code files and returns these JS files as a list of
strings, one per file.
|
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.
|
| 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 |
|---|---|
SoyJsSrcOptions |
SoyJsSrcOptions.clone() |
| Modifier and Type | Field and Description |
|---|---|
protected SoyJsSrcOptions |
GenJsCodeVisitor.jsSrcOptions
The options for generating JS source code.
|
| 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.
|
| Constructor and Description |
|---|
GenJsCodeVisitor(SoyJsSrcOptions jsSrcOptions,
JsExprTranslator jsExprTranslator,
DelTemplateNamer delTemplateNamer,
GenCallCodeUtils genCallCodeUtils,
IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor,
CanInitOutputVarVisitor canInitOutputVarVisitor,
GenJsExprsVisitor.GenJsExprsVisitorFactory genJsExprsVisitorFactory,
GenDirectivePluginRequiresVisitor genDirectivePluginRequiresVisitor,
SoyTypeOps typeOps) |
GenJsCodeVisitorAssistantForMsgs(GenJsCodeVisitor master,
SoyJsSrcOptions jsSrcOptions,
JsExprTranslator jsExprTranslator,
GenCallCodeUtils genCallCodeUtils,
IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor,
CodeBuilder<JsExpr> jsCodeBuilder,
Deque<Map<String,JsExpr>> localVarTranslations,
TemplateAliases functionAliases,
GenJsExprsVisitor genJsExprsVisitor,
ErrorReporter errorReporter) |