fr.umlv.tatoo.cc.parser.grammar
Enum EBNFSyntheticType

java.lang.Object
  extended by java.lang.Enum<EBNFSyntheticType>
      extended by fr.umlv.tatoo.cc.parser.grammar.EBNFSyntheticType
All Implemented Interfaces:
Serializable, Comparable<EBNFSyntheticType>

public enum EBNFSyntheticType
extends Enum<EBNFSyntheticType>


Enum Constant Summary
ANONYMOUS
          A fake production use to group variable
OPTIONAL_EMPTY
          An optional empty production
OPTIONAL_SINGLETON
          An optional production
STAR_EMPTY
          An empty star production
STAR_PASS_THROUGH
           
STAR_RECURSIVE_LEFT
          A left recursive star production
STAR_RECURSIVE_RIGHT
          A right recursive star production
STAR_SINGLETON
          A singleton star production
 
Method Summary
static EBNFSyntheticType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EBNFSyntheticType[] 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

STAR_EMPTY

public static final EBNFSyntheticType STAR_EMPTY
An empty star production


STAR_SINGLETON

public static final EBNFSyntheticType STAR_SINGLETON
A singleton star production


STAR_RECURSIVE_LEFT

public static final EBNFSyntheticType STAR_RECURSIVE_LEFT
A left recursive star production


STAR_RECURSIVE_RIGHT

public static final EBNFSyntheticType STAR_RECURSIVE_RIGHT
A right recursive star production


STAR_PASS_THROUGH

public static final EBNFSyntheticType STAR_PASS_THROUGH

OPTIONAL_EMPTY

public static final EBNFSyntheticType OPTIONAL_EMPTY
An optional empty production


OPTIONAL_SINGLETON

public static final EBNFSyntheticType OPTIONAL_SINGLETON
An optional production


ANONYMOUS

public static final EBNFSyntheticType ANONYMOUS
A fake production use to group variable

Method Detail

values

public static EBNFSyntheticType[] 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 (EBNFSyntheticType c : EBNFSyntheticType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EBNFSyntheticType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null