public static enum Symbol.MemLoc extends Enum<Symbol.MemLoc>
Enum Constant and Description |
---|
STACK_LOCAL |
STACK_PARAM |
STATIC_FUNC |
STATIC_VAR |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Symbol.MemLoc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Symbol.MemLoc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Symbol.MemLoc UNKNOWN
public static final Symbol.MemLoc STATIC_VAR
public static final Symbol.MemLoc STATIC_FUNC
public static final Symbol.MemLoc STACK_PARAM
public static final Symbol.MemLoc STACK_LOCAL
public static Symbol.MemLoc[] values()
for (Symbol.MemLoc c : Symbol.MemLoc.values()) System.out.println(c);
public static Symbol.MemLoc 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 © 2019. All rights reserved.