Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Method and Description |
---|---|
private void |
TypeTransformation.addNewPropsFromRecordType(java.util.Map<java.lang.String,JSType> props,
RecordType recType) |
Modifier and Type | Method and Description |
---|---|
private JSType |
TypeTransformation.joinRecordTypes(com.google.common.collect.ImmutableList<RecordType> recTypes)
Merges a list of record types.
|
Modifier and Type | Method and Description |
---|---|
RecordType |
JSTypeRegistry.createRecordType(java.util.Map<java.lang.String,RecordTypeBuilder.RecordProperty> properties)
Creates a record type.
|
RecordType |
JSType.toMaybeRecordType()
Downcasts this to a RecordType, or returns null if this is not
a RecordType.
|
RecordType |
ProxyObjectType.toMaybeRecordType() |
RecordType |
RecordType.toMaybeRecordType() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
PrototypeObjectType.isSubtype(ObjectType typeA,
RecordType typeB,
JSType.ImplCache implicitImplCache)
Determines if typeA is a subtype of typeB
|