| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.rhino |
The core AST from Rhino.
|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Field and Description |
|---|---|
protected JSTypeNative |
CodingConvention.AssertionFunctionSpec.assertedType |
| Constructor and Description |
|---|
AssertionFunctionSpec(String functionName,
JSType assertedNewType,
JSTypeNative assertedType) |
| Modifier and Type | Method and Description |
|---|---|
<T extends FunctionTypeI> |
TypeIRegistry.getNativeFunctionType(JSTypeNative typeId) |
<T extends ObjectTypeI> |
TypeIRegistry.getNativeObjectType(JSTypeNative typeId) |
<T extends TypeI> |
TypeIRegistry.getNativeType(JSTypeNative typeId) |
| Modifier and Type | Method and Description |
|---|---|
static JSTypeNative |
JSTypeNative.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSTypeNative[] |
JSTypeNative.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
JSType |
JSTypeRegistry.createUnionType(JSTypeNative... variants)
Creates a union type whose variants are the built-in types specified
by the arguments.
|
FunctionType |
JSTypeRegistry.getNativeFunctionType(JSTypeNative typeId) |
ObjectType |
JSTypeRegistry.getNativeObjectType(JSTypeNative typeId) |
JSType |
JSTypeRegistry.getNativeType(JSTypeNative typeId) |
Copyright © 2009-2015 Google. All Rights Reserved.