| Package | Description |
|---|---|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.shared.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
IncrementalDomCodeBuilder
Used to generate code by printing
JsExprs into an output buffer. |
| Modifier and Type | Method and Description |
|---|---|
protected CodeBuilder<JsExpr> |
GenIncrementalDomCodeVisitor.createCodeBuilder() |
| Modifier and Type | Field and Description |
|---|---|
protected CodeBuilder<JsExpr> |
GenJsCodeVisitorAssistantForMsgs.jsCodeBuilder
The JsCodeBuilder to build the current JS file being generated (during a run).
|
| Modifier and Type | Method and Description |
|---|---|
protected CodeBuilder<JsExpr> |
GenJsCodeVisitor.createCodeBuilder() |
protected CodeBuilder<JsExpr> |
GenJsCodeVisitor.getJsCodeBuilder() |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
CodeBuilder<E> |
CodeBuilder.append(String... codeFragments)
Appends one or more strings to the generated code.
|
CodeBuilder<E> |
CodeBuilder.appendLine(String... codeFragments)
Appends the current indent, then the given strings, then a newline.
|
CodeBuilder<E> |
CodeBuilder.appendLineEnd(String... codeFragments)
Appends the given strings, then a newline.
|
CodeBuilder<E> |
CodeBuilder.appendLineStart(String... codeFragments)
Appends the current indent, then the given strings.
|
CodeBuilder<E> |
CodeBuilder.appendOutputVarName()
Appends the name of the current output variable.
|