Analyzer class

Implemented types

Constructors

Analyzer.new({required FileSystem fs, required Find find, required Platform platform, required Logger logger})

Properties

analysisCollection → AnalysisContextCollection
no setter
find Find
final
fs → FileSystem
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
platform → Platform
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkPath Future<String>
no setter

Methods

analyze(String path) Future<List<Units>>
Analyzes the given path and returns the resolved unit results.
errors(String root, {Severity? severity = Severity.error}) Future<List<AnalysisError>>
initialize({required String root}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh(List<String> files) Future<void>
override
refreshDependencies() Future<void>
reload() Future<void>
Reloads the analyzer.
remove(String file) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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