Enum Class Translet.disj_flavour

java.lang.Object
java.lang.Enum<Translet.disj_flavour>
eu.bandm.tscore.base.Translet.disj_flavour
All Implemented Interfaces:
Serializable, Comparable<Translet.disj_flavour>, Constable
Enclosing class:
Translet

static enum Translet.disj_flavour extends Enum<Translet.disj_flavour>
Kinds of disjunctive parser combinators.
  • Enum Constant Details

    • priorN

      public static final Translet.disj_flavour priorN
      First match wins, an instance of a co-tuple class is returned.
    • prior1

      public static final Translet.disj_flavour prior1
      First match wins, a instance of the common limes class is returned.
    • orN

      public static final Translet.disj_flavour orN
      All matches are returned, each as an instance of a co-tuple class.
    • or1

      public static final Translet.disj_flavour or1
      All matches are returned, each as an instance of the common limes class.
  • Method Details

    • values

      public static Translet.disj_flavour[] 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 Translet.disj_flavour 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