Operator class abstract
An operator, a character put between two values to define an operation.
Constructors
- Operator()
-
Creates the operator.
const
Properties
- displaySign → String
-
The sign of the operator for display.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLeftAssociative → bool
-
Is the operator be left associative.
no setter
- precedence → Precedence
-
The precedence of the operator.
no setter
- rawSign → String
-
The raw sign of the operator for lexical analysis.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compute(
ComputeContext context, Result leftHand, Result rightHand) → Result - Computes the result of the operator.
-
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