| Package | Description |
|---|---|
| com.google.template.soy.internal.i18n |
Libraries for internationalization (i18n).
|
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.shared.internal |
| Modifier and Type | Field and Description |
|---|---|
static BidiGlobalDir |
BidiGlobalDir.LTR |
static BidiGlobalDir |
BidiGlobalDir.RTL |
| Modifier and Type | Method and Description |
|---|---|
static BidiGlobalDir |
SoyBidiUtils.decodeBidiGlobalDirFromJsOptions(int bidiGlobalDir,
boolean useGoogIsRtlForBidiGlobalDir)
Decodes the bidi global directionality from the usual command line options used to specify
it.
|
static BidiGlobalDir |
SoyBidiUtils.decodeBidiGlobalDirFromPyOptions(String bidiIsRtlFn)
Decodes bidi global directionality from the Python bidiIsRtlFn command line option.
|
static BidiGlobalDir |
BidiGlobalDir.forIsRtlCodeSnippet(String isRtlCodeSnippet,
SoyBackendKind backend)
Creates a bidi global direction that can only be determined at template runtime, by evaluating
a given source code snippet that yields a boolean value where true indicates rtl.
|
static BidiGlobalDir |
BidiGlobalDir.forStaticIsRtl(boolean isRtl)
Creates a "static" bidi global direction, i.e.
|
static BidiGlobalDir |
BidiGlobalDir.forStaticLocale(String localeString)
Creates a "static" bidi global direction, i.e.
|
| Constructor and Description |
|---|
OptimizeBidiCodeGenVisitor(BidiGlobalDir bidiGlobalDir) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ApiCallScopeUtils.seedSharedParams(GuiceSimpleScope apiCallScope,
BidiGlobalDir bidiGlobalDir,
String localeString)
Helper utility to seed params shared by multiple backends.
|
static void |
ApiCallScopeUtils.seedSharedParams(GuiceSimpleScope apiCallScope,
SoyMsgBundle msgBundle,
BidiGlobalDir bidiGlobalDir)
Helper utility to seed params shared by multiple backends.
|