Visitor class

Inheritance

Constructors

Visitor(VisitorBase _implementation)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
isPreEvalVisitor ↔ bool
read / write, inherited
isPreVisitor ↔ bool
read / write, inherited
isReplacing ↔ bool
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

flatten<T>(List arr, List<T> out) → List<T>
Converts a mix of Node and List to List T is Node | MixinArgs (for visitArray commpatibility) arr == [Node, Node, Node...] -> Node, Node, Node, ... MixinArgs don't need to be flatten and don't must be here
visit(dynamic node) → dynamic
Process a node and the subtree. node is Node | String
override
visitArray<T>(List<T> nodes, { bool nonReplacing: false }) → List<T>
nodes List | List<List<>> | List ...
override
error({int index, String type String message String filename }) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
run(Ruleset root) Ruleset
inherited
toString() → String
Returns a string representation of this object.
inherited
visitFtn(Node node) → Function
func visitor.visit distribuitor
inherited
visitFtnOut(Node node) → Function
funcOut visitor.visit distribuitor
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited