| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.internal | |
| com.google.template.soy.jssrc.dsl | |
| com.google.template.soy.jssrc.internal |
| Modifier and Type | Method and Description |
|---|---|
static UniqueNameGenerator |
JbcSrcNameGenerators.forClassNames()
Returns a
UniqueNameGenerator that is suitable for managing simple names used for
classes. |
static UniqueNameGenerator |
JbcSrcNameGenerators.forFieldNames()
Returns a
UniqueNameGenerator that is suitable for managing names used for fields in a
class. |
| 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 |
|---|---|
static UniqueNameGenerator |
JsSrcNameGenerators.forLocalVariables()
Returns a name generator suitable for generating local variable names.
|
| Modifier and Type | Method and Description |
|---|---|
static TranslationContext |
TranslationContext.of(SoyToJsVariableMappings soyToJsVariableMappings,
CodeChunk.Generator codeGenerator,
UniqueNameGenerator nameGenerator) |