public static enum JsScope.Type extends java.lang.Enum<JsScope.Type>
Enum Constant and Description |
---|
CATCH |
CLOSURE |
GLOBAL |
LOCAL |
UNKNOWN |
WITH |
Modifier and Type | Method and Description |
---|---|
static JsScope.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsScope.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsScope.Type GLOBAL
public static final JsScope.Type LOCAL
public static final JsScope.Type WITH
public static final JsScope.Type CLOSURE
public static final JsScope.Type CATCH
public static final JsScope.Type UNKNOWN
public static JsScope.Type[] values()
for (JsScope.Type c : JsScope.Type.values()) System.out.println(c);
public static JsScope.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.