Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.type |
Provides type-checking data structures and algorithms.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
com.google.javascript.rhino.testing |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
GatherExternProperties.ExtractRecordTypePropertyNames.caseTemplatizedType(TemplatizedType type) |
Modifier and Type | Method and Description |
---|---|
JSType |
ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitor.caseTemplatizedType(TemplatizedType type) |
Modifier and Type | Method and Description |
---|---|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
com.google.common.collect.ImmutableList<JSType> templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
JSType... templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
java.util.Map<TemplateType,JSType> templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
JSType.toMaybeTemplatizedType()
Downcasts this to a TemplatizedType, or returns null if this is not
a function.
|
TemplatizedType |
ProxyObjectType.toMaybeTemplatizedType() |
TemplatizedType |
TemplatizedType.toMaybeTemplatizedType() |
Modifier and Type | Method and Description |
---|---|
T |
Visitor.caseTemplatizedType(TemplatizedType type)
Templatized type's case.
|
JSType |
ModificationVisitor.caseTemplatizedType(TemplatizedType type) |
java.lang.Boolean |
CanCastToVisitor.caseTemplatizedType(TemplatizedType thisType,
JSType thatType) |
T |
RelationshipVisitor.caseTemplatizedType(TemplatizedType thisType,
JSType thatType)
Templatized type's case.
|
Modifier and Type | Method and Description |
---|---|
protected TemplatizedType |
BaseJSTypeTestCase.createTemplatizedType(ObjectType baseType,
com.google.common.collect.ImmutableList<JSType> templatizedTypes) |
protected TemplatizedType |
BaseJSTypeTestCase.createTemplatizedType(ObjectType baseType,
JSType... templatizedType) |