OptimizeRule class abstract
Encapsulates a single optimization rule.
- Annotations
-
- @immutable
Constructors
- OptimizeRule()
-
Constructs a new optimization rule.
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
-
run<
R> (Analyzer analyzer, Parser< R> parser, ReplaceParser<R> replace) → void -
Executes this rule using a provided
analyzer
on aparser
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited