Enum Class DunderOpDescriptor
- All Implemented Interfaces:
OpcodeDescriptor,Serializable,Comparable<DunderOpDescriptor>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionImplements TOS = TOS1 + TOS.Implements TOS = TOS1 & TOS.Implements TOS = TOS1 // TOS.Implements TOS = TOS1 << TOS.Implements TOS = TOS1 @ TOS.Implements TOS = TOS1 % TOS.Implements TOS = TOS1 * TOS.Implements any binary op.Implements TOS = TOS1 | TOS.Implements TOS = TOS1 ** TOS.Implements TOS = TOS1 >> TOS.Implements TOS = TOS2[TOS1:TOS]Implements TOS = TOS1[TOS].Implements TOS = TOS1 - TOS.Implements TOS = TOS1 / TOS.Implements TOS = TOS1 ^ TOS.Implements in-place TOS = TOS1 + TOS.Implements in-place TOS = TOS1 & TOS.Implements in-place TOS = TOS1 // TOS.Implements in-place TOS = TOS1 << TOS.Implements in-place TOS = TOS1 @ TOS.Implements in-place TOS = TOS1 % TOS.Implements in-place TOS = TOS1 * TOS.Implements in-place TOS = TOS1 | TOS.Implements in-place TOS = TOS1 ** TOS.Implements in-place TOS = TOS1 >> TOS.Implements in-place TOS = TOS1 - TOS.Implements in-place TOS = TOS1 / TOS.Implements in-place TOS = TOS1 ^ TOS.Implements TOS2[TOS1:TOS] = TOS3Implements TOS = ~TOS.Implements TOS = -TOS.Implements TOS = not TOS.Implements TOS = +TOS. -
Method Summary
Modifier and TypeMethodDescriptionstatic DunderOpDescriptorReturns the enum constant of this class with the specified name.static DunderOpDescriptor[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ai.timefold.jpyinterpreter.opcodes.descriptor.OpcodeDescriptor
name
-
Enum Constant Details
-
COMPARE_OP
-
UNARY_NOT
Implements TOS = not TOS. -
BINARY_OP
Implements any binary op. Its argument represent the arg to implement, which may or may not be inplace. -
UNARY_POSITIVE
Implements TOS = +TOS. -
UNARY_NEGATIVE
Implements TOS = -TOS. -
UNARY_INVERT
Implements TOS = ~TOS. -
BINARY_POWER
Implements TOS = TOS1 ** TOS. -
BINARY_MULTIPLY
Implements TOS = TOS1 * TOS. -
BINARY_MATRIX_MULTIPLY
Implements TOS = TOS1 @ TOS. -
BINARY_FLOOR_DIVIDE
Implements TOS = TOS1 // TOS. -
BINARY_TRUE_DIVIDE
Implements TOS = TOS1 / TOS. -
BINARY_MODULO
Implements TOS = TOS1 % TOS. -
BINARY_ADD
Implements TOS = TOS1 + TOS. -
BINARY_SUBTRACT
Implements TOS = TOS1 - TOS. -
BINARY_SUBSCR
Implements TOS = TOS1[TOS]. -
BINARY_SLICE
Implements TOS = TOS2[TOS1:TOS] -
STORE_SLICE
Implements TOS2[TOS1:TOS] = TOS3 -
BINARY_LSHIFT
Implements TOS = TOS1 << TOS. -
BINARY_RSHIFT
Implements TOS = TOS1 >> TOS. -
BINARY_AND
Implements TOS = TOS1 & TOS. -
BINARY_XOR
Implements TOS = TOS1 ^ TOS. -
BINARY_OR
Implements TOS = TOS1 | TOS. -
INPLACE_POWER
Implements in-place TOS = TOS1 ** TOS. -
INPLACE_MULTIPLY
Implements in-place TOS = TOS1 * TOS. -
INPLACE_MATRIX_MULTIPLY
Implements in-place TOS = TOS1 @ TOS. -
INPLACE_FLOOR_DIVIDE
Implements in-place TOS = TOS1 // TOS. -
INPLACE_TRUE_DIVIDE
Implements in-place TOS = TOS1 / TOS. -
INPLACE_MODULO
Implements in-place TOS = TOS1 % TOS. -
INPLACE_ADD
Implements in-place TOS = TOS1 + TOS. -
INPLACE_SUBTRACT
Implements in-place TOS = TOS1 - TOS. -
INPLACE_LSHIFT
Implements in-place TOS = TOS1 << TOS. -
INPLACE_RSHIFT
Implements in-place TOS = TOS1 >> TOS. -
INPLACE_AND
Implements in-place TOS = TOS1 & TOS. -
INPLACE_XOR
Implements in-place TOS = TOS1 ^ TOS. -
INPLACE_OR
Implements in-place TOS = TOS1 | TOS.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getVersionMapping
- Specified by:
getVersionMappingin interfaceOpcodeDescriptor
-