fr.umlv.tatoo.cc.ebnf.ast
Enum Kind

java.lang.Object
  extended by java.lang.Enum<Kind>
      extended by fr.umlv.tatoo.cc.ebnf.ast.Kind
All Implemented Interfaces:
Serializable, Comparable<Kind>

public enum Kind
extends Enum<Kind>


Enum Constant Summary
ALIAS_DEF
           
BLANK_DEF
           
BRANCH_DEF
           
DIRECTIVE_DEF
           
ENHANCED_GROUP
           
ENHANCED_OPTIONAL
           
ENHANCED_PLUS
           
ENHANCED_STAR
           
EOF_DEF
           
ERROR_DEF
           
IMPORT_DEF
           
MACRO_DEF
           
NO_KIND
           
NONTERMINAL_DEF
           
PRIORITY_DEF
           
PRIORITY_VAR
           
PRODUCTION_DEF
           
PRODUCTION_ID_AND_VERSION
           
QUOTED_ID_VAR
           
ROOT_DEF
           
RULE_DEF
           
START_NONTERMINAL_SET_DEF
           
TOKEN_DEF
           
TYPE_VAR
           
UNQUOTED_ID_VAR
           
VARIABLE_TYPE_DEF
           
VERSION_DEF
           
VERSION_VAR
           
 
Method Summary
static Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Kind[] 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

ALIAS_DEF

public static final Kind ALIAS_DEF
See Also:
AliasDefAST

PRODUCTION_ID_AND_VERSION

public static final Kind PRODUCTION_ID_AND_VERSION
See Also:
ProductionIdAndVersionDefAST

BLANK_DEF

public static final Kind BLANK_DEF
See Also:
TerminalDefAST

BRANCH_DEF

public static final Kind BRANCH_DEF
See Also:
TerminalDefAST

DIRECTIVE_DEF

public static final Kind DIRECTIVE_DEF
See Also:
DirectiveDefAST

ENHANCED_OPTIONAL

public static final Kind ENHANCED_OPTIONAL
See Also:
EnhancedDefAST

ENHANCED_STAR

public static final Kind ENHANCED_STAR
See Also:
EnhancedDefAST

ENHANCED_PLUS

public static final Kind ENHANCED_PLUS
See Also:
EnhancedDefAST

ENHANCED_GROUP

public static final Kind ENHANCED_GROUP
See Also:
EnhancedDefAST

EOF_DEF

public static final Kind EOF_DEF
See Also:
TerminalDefAST

ERROR_DEF

public static final Kind ERROR_DEF
See Also:
TerminalDefAST

IMPORT_DEF

public static final Kind IMPORT_DEF
See Also:
ImportDefAST

MACRO_DEF

public static final Kind MACRO_DEF
See Also:
MacroDefAST

NONTERMINAL_DEF

public static final Kind NONTERMINAL_DEF
See Also:
NonTerminalDefAST

NO_KIND

public static final Kind NO_KIND
See Also:
SimpleNodeAST

PRIORITY_DEF

public static final Kind PRIORITY_DEF
See Also:
PriorityDefAST

PRIORITY_VAR

public static final Kind PRIORITY_VAR
See Also:
PriorityVarAST

PRODUCTION_DEF

public static final Kind PRODUCTION_DEF
See Also:
ProductionDefAST

RULE_DEF

public static final Kind RULE_DEF
See Also:
RuleDefAST

START_NONTERMINAL_SET_DEF

public static final Kind START_NONTERMINAL_SET_DEF
See Also:
StartNonTerminalSetDefAST

QUOTED_ID_VAR

public static final Kind QUOTED_ID_VAR
See Also:
QuotedIdVarAST

ROOT_DEF

public static final Kind ROOT_DEF
See Also:
RootDefAST

TOKEN_DEF

public static final Kind TOKEN_DEF
See Also:
TerminalDefAST

TYPE_VAR

public static final Kind TYPE_VAR
See Also:
TypeVarAST

UNQUOTED_ID_VAR

public static final Kind UNQUOTED_ID_VAR
See Also:
UnquotedIdVarAST

VARIABLE_TYPE_DEF

public static final Kind VARIABLE_TYPE_DEF
See Also:
VariableTypeDefAST

VERSION_DEF

public static final Kind VERSION_DEF
See Also:
VersionDefAST

VERSION_VAR

public static final Kind VERSION_VAR
See Also:
VersionVarAST
Method Detail

values

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

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

valueOf

public static Kind 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