public enum NmlSymbolKind extends java.lang.Enum<NmlSymbolKind>
Enum Constant and Description |
---|
ARGUMENT
Argument of a mode or an operation.
|
ARGUMENT_OP
Argument of a mode or an operation that has type OP.
|
ATTRIBUTE
Attribute of a mode or an operation (e.g. syntax, format, image).
|
FUNCTION |
KEYWORD
Reserved keywords
|
LET_CONST
Constant number or static numeric expression
|
LET_LABEL
Constant label that associates some ID with a location (reg, mem or var item)
|
LET_STRING
Constant string
|
MEMORY
Memory storage (reg, mem, var)
|
MODE
Addressing mode
|
OP
Operation
|
TYPE
Type declaration
|
Modifier and Type | Method and Description |
---|---|
static NmlSymbolKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NmlSymbolKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NmlSymbolKind KEYWORD
public static final NmlSymbolKind LET_CONST
public static final NmlSymbolKind LET_LABEL
public static final NmlSymbolKind LET_STRING
public static final NmlSymbolKind TYPE
public static final NmlSymbolKind MEMORY
public static final NmlSymbolKind MODE
public static final NmlSymbolKind OP
public static final NmlSymbolKind ARGUMENT
public static final NmlSymbolKind ARGUMENT_OP
public static final NmlSymbolKind ATTRIBUTE
public static final NmlSymbolKind FUNCTION
public static NmlSymbolKind[] values()
for (NmlSymbolKind c : NmlSymbolKind.values()) System.out.println(c);
public static NmlSymbolKind 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 null