Expression class
An computable expression made out of a left hand, an operator and a right hand.
- Implemented types
Constructors
- Expression({required Operator operator, required Computable leftHand, required Computable rightHand})
- Creates the expression.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leftHand → Computable
-
The left hand of the expression.
final
- operator → Operator
-
The operator of the expression.
final
- rightHand → Computable
-
The right hand of the expression.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compute(
ComputeContext ctx) → Result -
Computes the value(s) stored in this object into a Result.
override
-
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