public static enum AstTranslator.ScopeType extends Enum<AstTranslator.ScopeType>
Enum Constant and Description |
---|
FUNCTION |
GLOBAL |
LOCAL |
SCRIPT |
TYPE |
Modifier and Type | Method and Description |
---|---|
static AstTranslator.ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AstTranslator.ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AstTranslator.ScopeType LOCAL
public static final AstTranslator.ScopeType GLOBAL
public static final AstTranslator.ScopeType SCRIPT
public static final AstTranslator.ScopeType FUNCTION
public static final AstTranslator.ScopeType TYPE
public static AstTranslator.ScopeType[] values()
for (AstTranslator.ScopeType c : AstTranslator.ScopeType.values()) System.out.println(c);
public static AstTranslator.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 null