public interface SoyEnumType extends SoyType
Enum types are always referred to by their fully-qualified name.
Important: Do not use outside of Soy code (treat as superpackage-private).
SoyType.Kind| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the fully-qualified name of this object type.
|
String |
getNameForBackend(SoyBackendKind backend)
Return the fully-qualified name of this type for a given output context.
|
Integer |
getValue(String memberName)
Given the name of an enum member, return the integer value of that member.
|
getKind, isAssignableFrom, isInstance, javaTypeString getName()
String getNameForBackend(SoyBackendKind backend)
backend - Which backend we're generating code for.