EndpointsAnalyzer class

Analyzes dart files for the protocol specification.

Constructors

EndpointsAnalyzer.new(Directory directory)
Create a new EndpointsAnalyzer, containing a AnalysisContextCollection that analyzes all dart files in the provided directory.

Properties

absoluteIncludedPaths String
final
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateFileContexts(Set<String> filePaths) Future<bool>
Inform the analyzer that the provided filePaths have been updated.

Operators

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