StructExpressionProbe<T extends LogicStructure> class
Evaluates a hardware expression of a structure against a stored value.
The expression is built once on a detached clone, so predicates such as a status-ready getter are computed exactly as the hardware defines them.
Constructors
- StructExpressionProbe(T prototype, Logic expression(T clone))
-
Creates a probe evaluating
expressionon a clone ofprototype.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
evaluate(
LogicValue value) → LogicValue -
The expression value when the structure holds
value. -
evaluateBool(
LogicValue value) → bool? - The expression as a three-valued boolean.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited