Package edu.cornell.cs.apl.viaduct.syntax.operators

Types

Addition
Link copied to clipboard
object Addition : ArithmeticOperator
AdditiveOperatorPrecedence
Link copied to clipboard
object AdditiveOperatorPrecedence : Precedence

The precedence of Addition and Subtraction.

And
Link copied to clipboard
object And : LogicalOperator
ArithmeticOperator
Link copied to clipboard
abstract class ArithmeticOperator : BinaryInfixOperator

An infix operator that takes two numbers and returns a number.

BinaryInfixOperator
Link copied to clipboard
abstract class BinaryInfixOperator : BinaryOperator, InfixOperator

A binary infix operator.

BinaryPrefixOperator
Link copied to clipboard
abstract class BinaryPrefixOperator : BinaryOperator, PrefixOperator

A binary prefix operator.

ComparisonOperator
Link copied to clipboard
abstract class ComparisonOperator : BinaryInfixOperator

An infix operator that takes two numbers and returns a boolean.

ComparisonOperatorPrecedence
Link copied to clipboard
object ComparisonOperatorPrecedence : Precedence

The precedence of ComparisonOperators.

Division
Link copied to clipboard
object Division : ArithmeticOperator
EqualTo
Link copied to clipboard
object EqualTo : ComparisonOperator
ExclusiveOr
Link copied to clipboard
object ExclusiveOr : ComparisonOperator
GreaterThan
Link copied to clipboard
object GreaterThan : ComparisonOperator
GreaterThanOrEqualTo
Link copied to clipboard
object GreaterThanOrEqualTo : ComparisonOperator
LessThan
Link copied to clipboard
object LessThan : ComparisonOperator
LessThanOrEqualTo
Link copied to clipboard
object LessThanOrEqualTo : ComparisonOperator
LogicalOperator
Link copied to clipboard
abstract class LogicalOperator : BinaryInfixOperator

An infix operator that takes two booleans and returns a boolean.

LogicalOperatorPrecedence
Link copied to clipboard
object LogicalOperatorPrecedence : Precedence

The precedence of LogicalOperators.

Maximum
Link copied to clipboard
object Maximum : BinaryPrefixOperator
Minimum
Link copied to clipboard
object Minimum : BinaryPrefixOperator
Multiplication
Link copied to clipboard
object Multiplication : ArithmeticOperator
MultiplicativeOperatorPrecedence
Link copied to clipboard
object MultiplicativeOperatorPrecedence : Precedence

The precedence of Multiplication and Division.

Mux
Link copied to clipboard
object Mux : InfixOperator

Cases on the first argument; evaluates to the second argument if the first argument is true, and to the third argument if the first argument is false.

Negation
Link copied to clipboard
object Negation : UnaryPrefixOperator
Not
Link copied to clipboard
object Not : UnaryPrefixOperator
Or
Link copied to clipboard
object Or : LogicalOperator
Subtraction
Link copied to clipboard
object Subtraction : ArithmeticOperator
UnaryPrefixOperator
Link copied to clipboard
abstract class UnaryPrefixOperator : UnaryOperator, PrefixOperator

A unary prefix operator.