Package org.eclipse.gmt.modisco.java
Enum InfixExpressionKind
- All Implemented Interfaces:
Serializable,Comparable<InfixExpressionKind>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum InfixExpressionKind extends Enum<InfixExpressionKind> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Infix Expression Kind',
and utility methods for working with them.
- See Also:
JavaPackage.getInfixExpressionKind()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ANDThe 'AND' literal object.CONDITIONAL_ANDThe 'CONDITIONAL AND' literal object.CONDITIONAL_ORThe 'CONDITIONAL OR' literal object.DIVIDEThe 'DIVIDE' literal object.EQUALSThe 'EQUALS' literal object.GREATERThe 'GREATER' literal object.GREATER_EQUALSThe 'GREATER EQUALS' literal object.LEFT_SHIFTThe 'LEFT SHIFT' literal object.LESSThe 'LESS' literal object.LESS_EQUALSThe 'LESS EQUALS' literal object.MINUSThe 'MINUS' literal object.NOT_EQUALSThe 'NOT EQUALS' literal object.ORThe 'OR' literal object.PLUSThe 'PLUS' literal object.REMAINDERThe 'REMAINDER' literal object.RIGHT_SHIFT_SIGNEDThe 'RIGHT SHIFT SIGNED' literal object.RIGHT_SHIFT_UNSIGNEDThe 'RIGHT SHIFT UNSIGNED' literal object.TIMESThe 'TIMES' literal object.XORThe 'XOR' literal object. -
Field Summary
Fields Modifier and Type Field Description static intAND_VALUEThe 'AND' literal value.static intCONDITIONAL_AND_VALUEThe 'CONDITIONAL AND' literal value.static intCONDITIONAL_OR_VALUEThe 'CONDITIONAL OR' literal value.static intDIVIDE_VALUEThe 'DIVIDE' literal value.static intEQUALS_VALUEThe 'EQUALS' literal value.static intGREATER_EQUALS_VALUEThe 'GREATER EQUALS' literal value.static intGREATER_VALUEThe 'GREATER' literal value.static intLEFT_SHIFT_VALUEThe 'LEFT SHIFT' literal value.static intLESS_EQUALS_VALUEThe 'LESS EQUALS' literal value.static intLESS_VALUEThe 'LESS' literal value.static intMINUS_VALUEThe 'MINUS' literal value.static intNOT_EQUALS_VALUEThe 'NOT EQUALS' literal value.static intOR_VALUEThe 'OR' literal value.static intPLUS_VALUEThe 'PLUS' literal value.static intREMAINDER_VALUEThe 'REMAINDER' literal value.static intRIGHT_SHIFT_SIGNED_VALUEThe 'RIGHT SHIFT SIGNED' literal value.static intRIGHT_SHIFT_UNSIGNED_VALUEThe 'RIGHT SHIFT UNSIGNED' literal value.static intTIMES_VALUEThe 'TIMES' literal value.static List<InfixExpressionKind>VALUESA public read-only list of all the 'Infix Expression Kind' enumerators.static intXOR_VALUEThe 'XOR' literal value. -
Method Summary
Modifier and Type Method Description static InfixExpressionKindget(int value)Returns the 'Infix Expression Kind' literal with the specified integer value.static InfixExpressionKindget(String literal)Returns the 'Infix Expression Kind' literal with the specified literal value.static InfixExpressionKindgetByName(String name)Returns the 'Infix Expression Kind' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static InfixExpressionKindvalueOf(String name)Returns the enum constant of this type with the specified name.static InfixExpressionKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TIMES
The 'TIMES' literal object.- See Also:
TIMES_VALUE
-
DIVIDE
The 'DIVIDE' literal object.- See Also:
DIVIDE_VALUE
-
REMAINDER
The 'REMAINDER' literal object.- See Also:
REMAINDER_VALUE
-
PLUS
The 'PLUS' literal object.- See Also:
PLUS_VALUE
-
MINUS
The 'MINUS' literal object.- See Also:
MINUS_VALUE
-
LEFT_SHIFT
The 'LEFT SHIFT' literal object.- See Also:
LEFT_SHIFT_VALUE
-
RIGHT_SHIFT_SIGNED
The 'RIGHT SHIFT SIGNED' literal object.- See Also:
RIGHT_SHIFT_SIGNED_VALUE
-
RIGHT_SHIFT_UNSIGNED
The 'RIGHT SHIFT UNSIGNED' literal object.- See Also:
RIGHT_SHIFT_UNSIGNED_VALUE
-
LESS
The 'LESS' literal object.- See Also:
LESS_VALUE
-
GREATER
The 'GREATER' literal object.- See Also:
GREATER_VALUE
-
LESS_EQUALS
The 'LESS EQUALS' literal object.- See Also:
LESS_EQUALS_VALUE
-
GREATER_EQUALS
The 'GREATER EQUALS' literal object.- See Also:
GREATER_EQUALS_VALUE
-
EQUALS
The 'EQUALS' literal object.- See Also:
EQUALS_VALUE
-
NOT_EQUALS
The 'NOT EQUALS' literal object.- See Also:
NOT_EQUALS_VALUE
-
XOR
The 'XOR' literal object.- See Also:
XOR_VALUE
-
AND
The 'AND' literal object.- See Also:
AND_VALUE
-
OR
The 'OR' literal object.- See Also:
OR_VALUE
-
CONDITIONAL_AND
The 'CONDITIONAL AND' literal object.- See Also:
CONDITIONAL_AND_VALUE
-
CONDITIONAL_OR
The 'CONDITIONAL OR' literal object.- See Also:
CONDITIONAL_OR_VALUE
-
-
Field Details
-
TIMES_VALUE
public static final int TIMES_VALUEThe 'TIMES' literal value.- See Also:
TIMES, Constant Field Values
-
DIVIDE_VALUE
public static final int DIVIDE_VALUEThe 'DIVIDE' literal value.- See Also:
DIVIDE, Constant Field Values
-
REMAINDER_VALUE
public static final int REMAINDER_VALUEThe 'REMAINDER' literal value.- See Also:
REMAINDER, Constant Field Values
-
PLUS_VALUE
public static final int PLUS_VALUEThe 'PLUS' literal value.- See Also:
PLUS, Constant Field Values
-
MINUS_VALUE
public static final int MINUS_VALUEThe 'MINUS' literal value.- See Also:
MINUS, Constant Field Values
-
LEFT_SHIFT_VALUE
public static final int LEFT_SHIFT_VALUEThe 'LEFT SHIFT' literal value.- See Also:
LEFT_SHIFT, Constant Field Values
-
RIGHT_SHIFT_SIGNED_VALUE
public static final int RIGHT_SHIFT_SIGNED_VALUEThe 'RIGHT SHIFT SIGNED' literal value.- See Also:
RIGHT_SHIFT_SIGNED, Constant Field Values
-
RIGHT_SHIFT_UNSIGNED_VALUE
public static final int RIGHT_SHIFT_UNSIGNED_VALUEThe 'RIGHT SHIFT UNSIGNED' literal value.- See Also:
RIGHT_SHIFT_UNSIGNED, Constant Field Values
-
LESS_VALUE
public static final int LESS_VALUEThe 'LESS' literal value.- See Also:
LESS, Constant Field Values
-
GREATER_VALUE
public static final int GREATER_VALUEThe 'GREATER' literal value.- See Also:
GREATER, Constant Field Values
-
LESS_EQUALS_VALUE
public static final int LESS_EQUALS_VALUEThe 'LESS EQUALS' literal value.- See Also:
LESS_EQUALS, Constant Field Values
-
GREATER_EQUALS_VALUE
public static final int GREATER_EQUALS_VALUEThe 'GREATER EQUALS' literal value.- See Also:
GREATER_EQUALS, Constant Field Values
-
EQUALS_VALUE
public static final int EQUALS_VALUEThe 'EQUALS' literal value.- See Also:
EQUALS, Constant Field Values
-
NOT_EQUALS_VALUE
public static final int NOT_EQUALS_VALUEThe 'NOT EQUALS' literal value.- See Also:
NOT_EQUALS, Constant Field Values
-
XOR_VALUE
public static final int XOR_VALUEThe 'XOR' literal value.- See Also:
XOR, Constant Field Values
-
AND_VALUE
public static final int AND_VALUEThe 'AND' literal value.- See Also:
AND, Constant Field Values
-
OR_VALUE
public static final int OR_VALUEThe 'OR' literal value.- See Also:
OR, Constant Field Values
-
CONDITIONAL_AND_VALUE
public static final int CONDITIONAL_AND_VALUEThe 'CONDITIONAL AND' literal value.- See Also:
CONDITIONAL_AND, Constant Field Values
-
CONDITIONAL_OR_VALUE
public static final int CONDITIONAL_OR_VALUEThe 'CONDITIONAL OR' literal value.- See Also:
CONDITIONAL_OR, Constant Field Values
-
VALUES
A public read-only list of all the 'Infix Expression Kind' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
get
Returns the 'Infix Expression Kind' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Infix Expression Kind' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Infix Expression Kind' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<InfixExpressionKind>
-