Enum Class Keywords

java.lang.Object
java.lang.Enum<Keywords>
edu.fscj.pseudo.lintRoller.Keywords
All Implemented Interfaces:
Serializable, Comparable<Keywords>, Constable

enum Keywords extends Enum<Keywords>
  • Enum Constant Details

    • MODULE

      public static final Keywords MODULE
    • FUNCTION

      public static final Keywords FUNCTION
    • LOOP

      public static final Keywords LOOP
    • IF

      public static final Keywords IF
    • WHILE

      public static final Keywords WHILE
    • FOR

      public static final Keywords FOR
    • SWITCH

      public static final Keywords SWITCH
  • Field Details

    • WORD

      private final String WORD
  • Constructor Details

    • Keywords

      private Keywords(String WORD)
  • Method Details

    • values

      public static Keywords[] 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 Keywords 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
    • getWORD

      public String getWORD()