Enum 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
      Address
      ARGUMENT
      Address argument (used by segment, buffer and memory entities)
      ATTRIBUTE
      Attribute (used in memory entities to describe actions)
      BUFFER
      Buffer
      DATA
      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 keywords
      MEMORY
      Memory logic (MMU)
      OPERATION
      Operation associated with an operation in the ISA specification
      SEGMENT
      Segment
      TYPE  
      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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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
      • 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)
      • 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 name
        java.lang.NullPointerException - if the argument is null