| 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.
|
| com.google.template.soy.types.aggregate | |
| com.google.template.soy.types.proto |
| 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,
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 |
SoyObjectType.getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|
String |
SoyEnumType.getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RecordType.getFieldAccessExpr(String fieldContainerExpr,
String fieldName,
SoyBackendKind backendKind) |
com.google.common.collect.ImmutableSet<String> |
RecordType.getFieldAccessImports(String fieldName,
SoyBackendKind backend) |
String |
RecordType.getNameForBackend(SoyBackendKind backend) |
| Modifier and Type | Method and Description |
|---|---|
String |
SoyProtoTypeImpl.getFieldAccessExpr(String fieldContainerExpr,
String fieldName,
SoyBackendKind backend) |
com.google.common.collect.ImmutableSet<String> |
SoyProtoTypeImpl.getFieldAccessImports(String fieldName,
SoyBackendKind backend) |
String |
SoyProtoTypeImpl.getNameForBackend(SoyBackendKind backend) |