EndpointsAnalyzer class
Analyzes dart files for the protocol specification.
Constructors
- EndpointsAnalyzer(Directory endpointDirectory)
-
Create a new EndpointsAnalyzer, containing a
AnalysisContextCollection
that analyzes all dart files in the providedendpointDirectory
.
Properties
- collection → AnalysisContextCollection
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
analyze(
{required CodeAnalysisCollector collector, Set< String> ? changedFiles}) → Future<List< EndpointDefinition> > -
Analyze all files in the
AnalysisContextCollection
. UsechangedFiles
to mark files, that need reloading. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited