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 ofIGrammarConstraintProvider.IConstraintElement
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IGrammarConstraintProvider.ConstraintElementTypegetConstraintElementType(AbstractElement ele)static IGrammarConstraintProvider.ConstraintElementTypevalueOf(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.
-
-
-
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_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
-
UNORDERED_GROUP
public static final IGrammarConstraintProvider.ConstraintElementType UNORDERED_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 namejava.lang.NullPointerException- if the argument is null
-
getConstraintElementType
public static IGrammarConstraintProvider.ConstraintElementType getConstraintElementType(AbstractElement ele)
-
-