NavigationGenerator class

A generator that will generate an 'analysis.navigation' notification.

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

Constructors

Initialize a newly created navigation generator to use the given contributors.

Properties

contributors → List<NavigationContributor>
The contributors to be used to generate the navigation data.
final
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

generateNavigationNotification(NavigationRequest request) GeneratorResult<ResponseResult>
Create an 'analysis.navigation' notification for the portion of the file specified by the given request. If any of the contributors throws an exception, also create a non-fatal 'plugin.error' notification.
generateNavigationResponse(NavigationRequest request) GeneratorResult<AnalysisGetNavigationResult>
Create an 'analysis.getNavigation' response for the portion of the file specified by the given request. If any of the contributors throws an exception, also create a non-fatal 'plugin.error' notification.
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