| 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 |
| 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.getFieldAccessor(String fieldName,
SoyBackendKind backend)
Return the expression (including the leading '.' or '[') used to access
the value of the field, for a given output context.
|
String |
SoyObjectType.getFieldImport(String fieldName,
SoyBackendKind backend)
In some cases, accessing a field requires importing a symbol into the
generated code (example being protobuf extension fields which require
importing the extension type).
|
String |
SoyEnumType.getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|
String |
SoyObjectType.getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RecordType.getFieldAccessor(String fieldName,
SoyBackendKind backendKind) |
String |
RecordType.getFieldImport(String fieldName,
SoyBackendKind backend) |
String |
RecordType.getNameForBackend(SoyBackendKind backend) |