Something that reads every kind of MaterialStatement. One abstract method per kind 1.0 knows; a kind added later defaults to visitUnknown, as MaterialExpressionVisitor explains.
Extendable outside this package, and stays so through 1.x.
Constructors
- MaterialStatementVisitor()
-
const
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitLet(
MaterialLet statement) → R -
visitOutput(
MaterialOutput statement) → R -
visitReturn(
MaterialReturn statement) → R -
visitUnknown(
MaterialStatement statement) → R - What a kind this visitor has no method for answers.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited