Enum MmuSymbolKind
- java.lang.Object
-
- java.lang.Enum<MmuSymbolKind>
-
- ru.ispras.microtesk.mmu.translator.MmuSymbolKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MmuSymbolKind>
public enum MmuSymbolKind extends java.lang.Enum<MmuSymbolKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS
AddressARGUMENT
Address argument (used by segment, buffer and memory entities)ATTRIBUTE
Attribute (used in memory entities to describe actions)BUFFER
BufferDATA
Data argument (used by memory entities)EXTERN
External value (read for a register or an addressing mode)FIELD
Entry field (included in Buffer.Entry)FUNCTION
KEYWORD
Reserved keywordsMEMORY
Memory logic (MMU)OPERATION
Operation associated with an operation in the ISA specificationSEGMENT
SegmentTYPE
VAR
Local variable (used in attributes of memory entities)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MmuSymbolKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MmuSymbolKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERN
public static final MmuSymbolKind EXTERN
External value (read for a register or an addressing mode)
-
KEYWORD
public static final MmuSymbolKind KEYWORD
Reserved keywords
-
ADDRESS
public static final MmuSymbolKind ADDRESS
Address
-
SEGMENT
public static final MmuSymbolKind SEGMENT
Segment
-
BUFFER
public static final MmuSymbolKind BUFFER
Buffer
-
MEMORY
public static final MmuSymbolKind MEMORY
Memory logic (MMU)
-
ARGUMENT
public static final MmuSymbolKind ARGUMENT
Address argument (used by segment, buffer and memory entities)
-
FIELD
public static final MmuSymbolKind FIELD
Entry field (included in Buffer.Entry)
-
DATA
public static final MmuSymbolKind DATA
Data argument (used by memory entities)
-
VAR
public static final MmuSymbolKind VAR
Local variable (used in attributes of memory entities)
-
ATTRIBUTE
public static final MmuSymbolKind ATTRIBUTE
Attribute (used in memory entities to describe actions)
-
TYPE
public static final MmuSymbolKind TYPE
-
FUNCTION
public static final MmuSymbolKind FUNCTION
-
OPERATION
public static final MmuSymbolKind OPERATION
Operation associated with an operation in the ISA specification
-
-
Method Detail
-
values
public static MmuSymbolKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MmuSymbolKind c : MmuSymbolKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MmuSymbolKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-