BinaryOperator

Binary operator.

Parameters

symbol

The text symbol of the operator, e.g. "+", "/", etc.

type

The type of the operator, i.e. Arithmetic or Relational.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard

Binary operator types, i.e. Arithmetic or Relational.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Applies the current operator to two Expressions semantically, i.e. ignoring runtime-specific values such as variable references.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

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.

Properties

Link copied to clipboard

Is the operator arithmetic?

Link copied to clipboard

Is the operator relational?

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard