OperatorSet

class OperatorSet: Set<Operator>, Any

Class representing a Set of Operators

Constructors

<init>

constructor(vararg operator: Operator)

Parameters

Name Description
vararg operator: Operator

<init>

constructor(operators: Iterable<Operator>)

Parameters

Name Description
operators: Iterable<Operator>

<init>

constructor(operators: Sequence<Operator>)

Class representing a Set of Operators

Parameters

Name Description
operators: Sequence<Operator>

Methods

plus

operator fun plus(operator: Operator): OperatorSet

Creates a new OperatorSet adding to this the other Operator, overriding already present operator if one

Parameters

Name Description
operator: Operator

ReturnValue

Name Description
OperatorSet

plus

operator fun plus(other: OperatorSet): OperatorSet

Creates a new OperatorSet adding to this the other operators, overriding already present operators

Parameters

Name Description
other: OperatorSet

ReturnValue

Name Description
OperatorSet

minus

operator fun minus(operator: Operator): OperatorSet

Creates a new OperatorSet removing from this the other operators

Parameters

Name Description
operator: Operator

ReturnValue

Name Description
OperatorSet

minus

operator fun minus(other: OperatorSet): OperatorSet

Creates a new OperatorSet removing from this the other operators

Parameters

Name Description
other: OperatorSet

ReturnValue

Name Description
OperatorSet

equals

fun equals(other: Any?): Boolean

Parameters

Name Description
other: Any?

ReturnValue

Name Description
Boolean

hashCode

fun hashCode(): Int

ReturnValue

Name Description
Int

toString

fun toString(): String

ReturnValue

Name Description
String

CompanionObject

OperatorSet

class OperatorSet: Set<Operator>, Any

Class representing a Set of Operators

Fields

Name Description
val EMPTY: OperatorSet
val ARITHMETIC: OperatorSet

Arithmetic Operator's OperatorSet

val ARITHMETIC_COMPARISON: OperatorSet

Arithmetic Comparison Operator's OperatorSet

val TERM_COMPARISON: OperatorSet

Term Comparison Operator's OperatorSet

val CONTROL_FLOW: OperatorSet

Control Flow Operator's OperatorSet

val CLAUSES: OperatorSet

Clauses Operator's OperatorSet

val STANDARD: OperatorSet

Standard OperatorSet

val DEFAULT: OperatorSet

Default OperatorSet