org.eclipse.xtext.serializer.analysis
Enum IGrammarConstraintProvider.ConstraintElementType

java.lang.Object
  extended by java.lang.Enum<IGrammarConstraintProvider.ConstraintElementType>
      extended by org.eclipse.xtext.serializer.analysis.IGrammarConstraintProvider.ConstraintElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IGrammarConstraintProvider.ConstraintElementType>
Enclosing interface:
IGrammarConstraintProvider

public static enum IGrammarConstraintProvider.ConstraintElementType
extends java.lang.Enum<IGrammarConstraintProvider.ConstraintElementType>

The ConstraintElementType distinguishes different kinds of IGrammarConstraintProvider.IConstraintElement

See Also:
IGrammarConstraintProvider.IConstraintElement.getType()

Enum Constant Summary
ALTERNATIVE
           
ASSIGNED_ACTION_CALL
           
ASSIGNED_BOOLEAN_KEYWORD
           
ASSIGNED_CROSSREF_DATATYPE_RULE_CALL
           
ASSIGNED_CROSSREF_ENUM_RULE_CALL
           
ASSIGNED_CROSSREF_TERMINAL_RULE_CALL
           
ASSIGNED_DATATYPE_RULE_CALL
           
ASSIGNED_ENUM_RULE_CALL
           
ASSIGNED_KEYWORD
           
ASSIGNED_PARSER_RULE_CALL
           
ASSIGNED_TERMINAL_RULE_CALL
           
GROUP
           
 
Method Summary
static IGrammarConstraintProvider.ConstraintElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IGrammarConstraintProvider.ConstraintElementType[] 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

ALTERNATIVE

public static final IGrammarConstraintProvider.ConstraintElementType ALTERNATIVE

ASSIGNED_ACTION_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_ACTION_CALL

ASSIGNED_CROSSREF_DATATYPE_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_CROSSREF_DATATYPE_RULE_CALL

ASSIGNED_CROSSREF_ENUM_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_CROSSREF_ENUM_RULE_CALL

ASSIGNED_CROSSREF_TERMINAL_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_CROSSREF_TERMINAL_RULE_CALL

ASSIGNED_DATATYPE_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_DATATYPE_RULE_CALL

ASSIGNED_ENUM_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_ENUM_RULE_CALL

ASSIGNED_KEYWORD

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_KEYWORD

ASSIGNED_BOOLEAN_KEYWORD

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_BOOLEAN_KEYWORD

ASSIGNED_PARSER_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_PARSER_RULE_CALL

ASSIGNED_TERMINAL_RULE_CALL

public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_TERMINAL_RULE_CALL

GROUP

public static final IGrammarConstraintProvider.ConstraintElementType GROUP
Method Detail

values

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

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

valueOf

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