| Package | Description |
|---|---|
| com.google.template.soy.bididirectives |
Plugin package of print directives for bidi (bidirectional text).
|
| com.google.template.soy.bidifunctions |
Plugin package of functions for bidi (bidirectional text).
|
| com.google.template.soy.internal.i18n |
Libraries for internationalization (i18n).
|
| com.google.template.soy.jbcsrc.shared | |
| com.google.template.soy.shared.internal |
Internal shared class among multiple backends.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
BidiDirectivesRuntime.bidiSpanWrap(BidiGlobalDir dir,
SoyValue value) |
static LoggingAdvisingAppendable |
BidiDirectivesRuntime.bidiSpanWrapStreaming(LoggingAdvisingAppendable delegateAppendable,
BidiGlobalDir dir) |
static SoyString |
BidiDirectivesRuntime.bidiUnicodeWrap(BidiGlobalDir dir,
SoyValue value) |
static LoggingAdvisingAppendable |
BidiDirectivesRuntime.bidiUnicodeWrapStreaming(LoggingAdvisingAppendable delegateAppendable,
BidiGlobalDir dir) |
| Modifier and Type | Method and Description |
|---|---|
static String |
BidiFunctionsRuntime.bidiDirAttr(BidiGlobalDir dir,
SoyValue value,
boolean isHtml) |
static String |
BidiFunctionsRuntime.bidiEndEdge(BidiGlobalDir bidiGlobalDir) |
static String |
BidiFunctionsRuntime.bidiMark(BidiGlobalDir bidiGlobalDir) |
static String |
BidiFunctionsRuntime.bidiMarkAfter(BidiGlobalDir bidiGlobalDir,
SoyValue value,
boolean isHtml) |
static String |
BidiFunctionsRuntime.bidiStartEdge(BidiGlobalDir bidiGlobalDir) |
| 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,
String namespace,
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.
|
| Modifier and Type | Method and Description |
|---|---|
BidiGlobalDir |
RenderContext.getBidiGlobalDir() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ApiCallScopeUtils.seedSharedParams(GuiceSimpleScope.InScope inScope,
BidiGlobalDir bidiGlobalDir,
String localeString)
Helper utility to seed params shared by multiple backends.
|
static void |
ApiCallScopeUtils.seedSharedParams(GuiceSimpleScope.InScope inScope,
SoyMsgBundle msgBundle,
BidiGlobalDir bidiGlobalDir)
Helper utility to seed params shared by multiple backends.
|