org.eclipse.xtext.serializer.analysis
Enum IGrammarConstraintProvider.ConstraintElementType
java.lang.Object
java.lang.Enum<IGrammarConstraintProvider.ConstraintElementType>
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()
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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_CROSSREF_KEYWORD
public static final IGrammarConstraintProvider.ConstraintElementType ASSIGNED_CROSSREF_KEYWORD
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_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
values
public static final IGrammarConstraintProvider.ConstraintElementType[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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