AnalysisContextCollection class

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})
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.
read-only
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

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.
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 ==(Object other) bool
The equality operator. [...]
inherited