| Package | Description |
|---|---|
| com.google.template.soy.base |
Base classes.
|
| com.google.template.soy.internal.i18n |
Libraries for internationalization (i18n).
|
| com.google.template.soy.types |
Classes that represent Soy parameter type declarations.
|
| Modifier and Type | Method and Description |
|---|---|
static SoyBackendKind |
SoyBackendKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoyBackendKind[] |
SoyBackendKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SoyObjectType.getFieldAccessExpr(String fieldContainerExpr,
String fieldName,
SoyBackendKind backend)
Return the expression used to access the value of the field, for a given output context.
|
com.google.common.collect.ImmutableSet<String> |
SoyObjectType.getFieldAccessImports(String fieldName,
SoyBackendKind backend)
In some cases,
accessing a field requires importing symbols into
the generated code (example being protobuf extension fields which require importing the
extension type). |
String |
SoyProtoEnumType.getNameForBackend(SoyBackendKind backend) |
String |
SoyProtoType.getNameForBackend(SoyBackendKind backend)
Returns this proto's type name for the given backend.
|
String |
SoyObjectType.getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|