Package | Description |
---|---|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Method and Description |
---|---|
static ClosurePrimitive |
ClosurePrimitive.fromStringId(java.lang.String id)
Returns the ClosurePrimitive corresponding to the given string id.
|
static ClosurePrimitive |
ClosurePrimitive.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClosurePrimitive[] |
ClosurePrimitive.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ClosurePrimitive |
FunctionType.getClosurePrimitive()
Returns the
@closurePrimitive identifier associated with this function |
Modifier and Type | Method and Description |
---|---|
FunctionType.Builder |
FunctionType.Builder.withClosurePrimitiveId(ClosurePrimitive id)
Sets the
ClosurePrimitive corresponding to this function |
Copyright © 2009-2020 Google. All Rights Reserved.