Package | Description |
---|---|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Field and Description |
---|---|
private ArrowType |
FunctionType.call
[[Call]] property. |
Modifier and Type | Method and Description |
---|---|
(package private) ArrowType |
JSTypeRegistry.createArrowType(Node parametersNode)
Creates an arrow type with an unknown return type.
|
(package private) ArrowType |
JSTypeRegistry.createArrowType(Node parametersNode,
JSType returnType)
Creates an arrow type, an abstract representation of the parameters
and return value of a function.
|
(package private) ArrowType |
FunctionType.getInternalArrowType()
Gets the internal arrow type.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
ArrowType.checkArrowEquivalenceHelper(ArrowType that,
EquivalenceMethod eqMethod,
JSType.EqCache eqCache) |
(package private) boolean |
ArrowType.hasEqualParameters(ArrowType that,
EquivalenceMethod eqMethod,
JSType.EqCache eqCache) |
Constructor and Description |
---|
FunctionType(JSTypeRegistry registry,
java.lang.String name,
Node source,
ArrowType arrowType,
JSType typeOfThis,
TemplateTypeMap templateTypeMap,
boolean isConstructor,
boolean nativeType)
Creates an instance for a function that might be a constructor.
|