NavigationCollector class

An object that NavigationContributors use to record navigation regions.

Clients may not extend, implement or mix-in this class.

Constructors

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addRange(SourceRange range, ElementKind targetKind, Location targetLocation) → void
Record a new navigation region corresponding to the given range that should navigate to the given targetLocation.
addRegion(int offset, int length, ElementKind targetKind, Location targetLocation) → void
Record a new navigation region with the given offset and length that should navigate to the given targetLocation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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