public enum ScopeType extends Enum<ScopeType>
| Enum Constant and Description |
|---|
BLOCK |
CATCH |
CLOSURE |
EVAL |
GLOBAL |
LOCAL |
MODULE |
SCRIPT |
WITH |
| Modifier and Type | Method and Description |
|---|---|
static ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType GLOBAL
public static final ScopeType LOCAL
public static final ScopeType WITH
public static final ScopeType CLOSURE
public static final ScopeType CATCH
public static final ScopeType BLOCK
public static final ScopeType SCRIPT
public static final ScopeType EVAL
public static final ScopeType MODULE
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.