ElementVisitor<R> class abstract

An object that can be used to visit an element structure.

Clients may not extend, implement or mix-in this class. There are classes that implement this interface that provide useful default behaviors in package:analyzer/dart/element/visitor.dart. A couple of the most useful include

  • SimpleElementVisitor which implements every visit method by doing nothing,
  • RecursiveElementVisitor which will cause every node in a structure to be visited, and
  • ThrowingElementVisitor which implements every visit method by throwing an exception.
Implementers

Constructors

ElementVisitor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Operators

operator ==(Object other) bool
The equality operator.
inherited