Enum Class LineType

java.lang.Object
java.lang.Enum<LineType>
com.jugubell.bproccli.utils.LineType
All Implemented Interfaces:
Serializable, Comparable<LineType>, Constable

public enum LineType extends Enum<LineType>
Enumeration of line types of code
Author:
Jugurtha Bellagh
  • Enum Constant Details

    • EL

      public static final LineType EL
    • INSTR_nI

      public static final LineType INSTR_nI
    • INSTR_I

      public static final LineType INSTR_I
    • INSTR

      public static final LineType INSTR
    • LABEL

      public static final LineType LABEL
    • DATA

      public static final LineType DATA
    • START

      public static final LineType START
    • JUMP

      public static final LineType JUMP
    • SYNTAX_ERROR

      public static final LineType SYNTAX_ERROR
  • Method Details

    • values

      public static LineType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LineType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null