ArithmeticOp

enum class ArithmeticOp : Enumerator

A representation of the literals of the enumeration 'Arithmetic Op', and utility methods for working with them.

See also

Entries

Link copied to clipboard

The 'ADD' literal object.

Link copied to clipboard

The 'SUB' literal object.

Link copied to clipboard

The 'MUL' literal object.

Link copied to clipboard

The 'DIV' literal object.

Link copied to clipboard

The 'MOD' literal object.

Link copied to clipboard

The 'REM' literal object.

Companion properties

Link copied to clipboard
val ADD_VALUE: Int = 0
The 'ADD' literal value.
Link copied to clipboard
val DIV_VALUE: Int = 3
The 'DIV' literal value.
Link copied to clipboard
val MOD_VALUE: Int = 4
The 'MOD' literal value.
Link copied to clipboard
val MUL_VALUE: Int = 2
The 'MUL' literal value.
Link copied to clipboard
val REM_VALUE: Int = 5
The 'REM' literal value.
Link copied to clipboard
val SUB_VALUE: Int = 1
The 'SUB' literal value.
Link copied to clipboard
A public read-only list of all the 'Arithmetic Op' enumerators.

Companion functions

Link copied to clipboard
open fun get(value: Int): ArithmeticOp
Returns the 'Arithmetic Op' literal with the specified integer value.
open fun get(literal: String): ArithmeticOp
Returns the 'Arithmetic Op' literal with the specified literal value.
Link copied to clipboard
open fun getByName(name: String): ArithmeticOp
Returns the 'Arithmetic Op' literal with the specified name.
Link copied to clipboard
open fun valueOf(name: String): ArithmeticOp

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.)

Link copied to clipboard

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.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
abstract fun getLiteral(): String
Link copied to clipboard
abstract fun getValue(): Int
Link copied to clipboard
open fun toString(): String
Returns the literal value of the enumerator, which is its string representation.