| Package | Description |
|---|---|
| com.google.template.soy.jssrc.internal |
| Modifier and Type | Method and Description |
|---|---|
static SoyToJsVariableMappings |
SoyToJsVariableMappings.forNewTemplate()
Returns a new
SoyToJsVariableMappings suitable for translating an entire template. |
SoyToJsVariableMappings |
SoyToJsVariableMappings.put(String var,
CodeChunk.WithValue translation)
Maps the Soy variable named
name to the given translation. |
SoyToJsVariableMappings |
SoyToJsVariableMappings.setIsPrimaryMsgInUse(MsgFallbackGroupNode msg,
CodeChunk.WithValue var) |
abstract SoyToJsVariableMappings |
TranslationContext.soyToJsVariableMappings() |
| Modifier and Type | Method and Description |
|---|---|
static TranslationContext |
TranslationContext.of(SoyToJsVariableMappings soyToJsVariableMappings,
CodeChunk.Generator codeGenerator,
UniqueNameGenerator nameGenerator) |