Enum Class Directive.Type

java.lang.Object
java.lang.Enum<Directive.Type>
fr.inria.rules.integraal.io.dlgp.Directive.Type
All Implemented Interfaces:
Serializable, Comparable<Directive.Type>, Constable
Enclosing class:
Directive

public static enum Directive.Type extends Enum<Directive.Type>
Enumerates the supported DLGP directive kinds.
Author:
Florent Tornil TYpe of the directive
  • Enum Constant Details

    • BASE

      public static final Directive.Type BASE
      Declares a new base (prefix)
    • TOP

      public static final Directive.Type TOP
      Declares a new symbol for TOP
    • UNA

      public static final Directive.Type UNA
      Declares that the UNA is done
    • COMMENT

      public static final Directive.Type COMMENT
      Declares a new comment
    • VIEW

      public static final Directive.Type VIEW
      Declares a view
  • Method Details

    • values

      public static Directive.Type[] 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 Directive.Type 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