BinaryOperator enum

A binary operator constant.

Inheritance
Available extensions

Values

singleEquals → const BinaryOperator

The Microsoft equals operator, =.

const BinaryOperator('single equals', '=', 0)
or → const BinaryOperator

The disjunction operator, or.

const BinaryOperator('or', 'or', 1, associative: true)
and → const BinaryOperator

The conjunction operator, and.

const BinaryOperator('and', 'and', 2, associative: true)
equals → const BinaryOperator

The equality operator, ==.

const BinaryOperator('equals', '==', 3)
notEquals → const BinaryOperator

The inequality operator, !=.

const BinaryOperator('not equals', '!=', 3)
greaterThan → const BinaryOperator

The greater-than operator, >.

const BinaryOperator('greater than', '>', 4)
greaterThanOrEquals → const BinaryOperator

The greater-than-or-equal-to operator, >=.

const BinaryOperator('greater than or equals', '>=', 4)
lessThan → const BinaryOperator

The less-than operator, <.

const BinaryOperator('less than', '<', 4)
lessThanOrEquals → const BinaryOperator

The less-than-or-equal-to operator, <=.

const BinaryOperator('less than or equals', '<=', 4)
plus → const BinaryOperator

The addition operator, +.

const BinaryOperator('plus', '+', 5, associative: true)
minus → const BinaryOperator

The subtraction operator, -.

const BinaryOperator('minus', '-', 5)
times → const BinaryOperator

The multiplication operator, *.

const BinaryOperator('times', '*', 6, associative: true)
dividedBy → const BinaryOperator

The division operator, /.

const BinaryOperator('divided by', '/', 6)
modulo → const BinaryOperator

The modulo operator, %.

const BinaryOperator('modulo', '%', 6)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isAssociative bool
Whether this operation has the associative property.
final
name String
The English name of this.
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
operator String
The Sass syntax for this.
final
precedence int
The precedence of this.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<BinaryOperator>
A constant List of the values in this enum, in order of their declaration.