AnalysisContextCollection class abstract

A collection of analysis contexts.

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

Constructors

AnalysisContextCollection({required List<String> includedPaths, List<String>? excludedPaths, ResourceProvider? resourceProvider, String? sdkPath})
Initialize a newly created collection of analysis contexts that can analyze the files that are included by the list of includedPaths.
factory

Properties

contexts List<AnalysisContext>
Return all of the analysis contexts in this collection.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contextFor(String path) AnalysisContext
Return the existing analysis context that should be used to analyze the given path, or throw StateError if the path is not analyzed in any of the created analysis contexts.
dispose() Future<void>
Stops associated processes, and free resources.
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