| Package | Description |
|---|---|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Method and Description |
|---|---|
static JSType.SubtypingMode |
JSType.SubtypingMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSType.SubtypingMode[] |
JSType.SubtypingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod,
com.google.javascript.rhino.jstype.JSType.EqCache eqCache,
JSType.SubtypingMode subtypingMode) |
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod,
JSType.SubtypingMode subtypingMode)
Determines if this map and the specified map have equivalent template
types.
|
boolean |
JSType.isSubtype(JSType supertype,
JSType.SubtypingMode mode)
Deprecated.
Prefer
JSType.isSubtype(JSType) instead. |
boolean |
JSType.isSubtypeOf(JSType supertype,
JSType.SubtypingMode mode) |
Copyright © 2009-2019 Google. All Rights Reserved.