| Package | Description |
|---|---|
| com.google.template.soy.jssrc.dsl | |
| com.google.template.soy.jssrc.internal |
| Modifier and Type | Method and Description |
|---|---|
static CodeChunk.Generator |
CodeChunk.Generator.create(UniqueNameGenerator nameGenerator)
Returns an object that can be used to build code chunks.
|
| Modifier and Type | Method and Description |
|---|---|
CodeChunk.WithValue |
CodeChunk.WithValue.and(CodeChunk.WithValue rhs,
CodeChunk.Generator codeGenerator)
Returns a code chunk representing the logical and (
&&) of this chunk with the given
chunk. |
static CodeChunk.WithValue |
SoyJsPluginUtils.applyDirective(CodeChunk.Generator generator,
CodeChunk.WithValue expr,
SoyJsSrcPrintDirective directive,
List<CodeChunk.WithValue> args)
Applies the given print directive to
expr and returns the result. |
CodeChunk.WithValue |
ConditionalExpressionBuilder.build(CodeChunk.Generator codeGenerator)
Finishes building this conditional.
|
CodeChunk.WithValue |
CodeChunk.WithValue.or(CodeChunk.WithValue rhs,
CodeChunk.Generator codeGenerator)
Returns a code chunk representing the logical or (
||) of this chunk with the given
chunk. |
| Modifier and Type | Method and Description |
|---|---|
abstract CodeChunk.Generator |
TranslationContext.codeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected CodeChunk.WithValue |
GenCallCodeUtils.maybeWrapContent(CodeChunk.Generator generator,
CallParamContentNode node,
CodeChunk.WithValue content)
If the param node had a content kind specified, it was autoescaped in the
corresponding context.
|
static TranslationContext |
TranslationContext.of(SoyToJsVariableMappings soyToJsVariableMappings,
CodeChunk.Generator codeGenerator,
UniqueNameGenerator nameGenerator) |