| Package | Description |
|---|---|
| com.google.javascript.jscomp.newtypes | |
| com.google.javascript.rhino |
The core AST from Rhino.
|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JSType |
| Modifier and Type | Method and Description |
|---|---|
FunctionTypeI |
JSType.getConstructor() |
FunctionTypeI |
JSType.getOwnerFunction() |
FunctionTypeI |
JSType.getSuperClassConstructor() |
FunctionTypeI |
JSType.toMaybeFunctionType() |
| Modifier and Type | Method and Description |
|---|---|
Collection<FunctionTypeI> |
JSType.getSubTypes() |
| Modifier and Type | Method and Description |
|---|---|
<T extends FunctionTypeI> |
TypeIRegistry.getNativeFunctionType(JSTypeNative typeId) |
| Modifier and Type | Method and Description |
|---|---|
FunctionTypeI |
ObjectTypeI.getConstructor()
Gets this object's constructor, or null if it is a native
object (constructed natively vs.
|
FunctionTypeI |
ObjectTypeI.getOwnerFunction()
If this type represents the object in a function's prototype property, return that function.
|
FunctionTypeI |
ObjectTypeI.getSuperClassConstructor() |
FunctionTypeI |
TypeI.toMaybeFunctionType()
Downcasts this to a FunctionTypeI, or returns null if this is not
a function.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<FunctionTypeI> |
FunctionTypeI.getSubTypes()
Returns an iterable of direct types that are subtypes of this type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
class |
NoObjectType
The bottom Object type, representing the subclass of all objects.
|
class |
NoType
Bottom type, representing the subclass of any value or object.
|
| Modifier and Type | Method and Description |
|---|---|
FunctionTypeI |
ObjectType.getSuperClassConstructor() |
| Modifier and Type | Method and Description |
|---|---|
Collection<FunctionTypeI> |
JSTypeRegistry.getDirectImplementors(ObjectType interfaceInstance)
Returns a collection of types that directly implement
interfaceInstance. |
Iterable<FunctionTypeI> |
FunctionType.getSubTypes() |
Copyright © 2009-2017 Google. All Rights Reserved.