|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JSTypeRegistry.ResolveMode>
com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
public static enum JSTypeRegistry.ResolveMode
The type registry has three modes, which control how type ASTs are
converted to types in JSTypeRegistry.createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope.
| Enum Constant Summary | |
|---|---|
IMMEDIATE
Expressions and type names are evaluated aggressively. |
|
LAZY_EXPRESSIONS
Expressions are converted into Unknown blobs that can be resolved into complex types. |
|
LAZY_NAMES
Expressions are evaluated. |
|
| Method Summary | |
|---|---|
static JSTypeRegistry.ResolveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JSTypeRegistry.ResolveMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JSTypeRegistry.ResolveMode LAZY_EXPRESSIONS
public static final JSTypeRegistry.ResolveMode LAZY_NAMES
NamedType structure
until the type can be resolved.
This is the legacy way of resolving ways, and may not exist in the
future.
public static final JSTypeRegistry.ResolveMode IMMEDIATE
| Method Detail |
|---|
public static JSTypeRegistry.ResolveMode[] values()
for (JSTypeRegistry.ResolveMode c : JSTypeRegistry.ResolveMode.values()) System.out.println(c);
public static JSTypeRegistry.ResolveMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||