ContextLocator class abstract

Determines the list of analysis contexts that can be used to analyze the files and folders that should be analyzed given a list of included files and folders and a list of excluded files and folders.

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

Constructors

ContextLocator({ResourceProvider resourceProvider})
Initialize a newly created context locator. If a resourceProvider is supplied, it will be used to access the file system. Otherwise the default resource provider will be used.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

locateRoots({required List<String> includedPaths, List<String>? excludedPaths, String? optionsFile, String? packagesFile}) List<ContextRoot>
Return a list of the context roots that should be used to analyze the files that are included by the list of includedPaths and not excluded by the list of excludedPaths.
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