SoyType.Kind| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
com.google.common.collect.ImmutableSet<String> |
getFieldNames() |
SoyType |
getFieldType(String fieldName) |
SoyType.Kind |
getKind()
Returns what kind of type this is.
|
com.google.common.collect.ImmutableSortedMap<String,SoyType> |
getMembers()
Return the members of this record type.
|
int |
hashCode() |
boolean |
isAssignableFrom(SoyType srcType)
Returns true if a parameter or field of this type can be assigned from a value of
srcType. |
static RecordType |
of(Map<String,? extends SoyType> members) |
String |
toString() |
public static RecordType of(Map<String,? extends SoyType> members)
public SoyType.Kind getKind()
SoyTypepublic boolean isAssignableFrom(SoyType srcType)
SoyTypesrcType.isAssignableFrom in interface SoyTypesrcType - The type of the incoming value.public com.google.common.collect.ImmutableSortedMap<String,SoyType> getMembers()
public com.google.common.collect.ImmutableSet<String> getFieldNames()