EndpointsAnalyzer constructor
EndpointsAnalyzer(
- Directory directory, {
- AnalysisContextCollection? collection,
Create a new EndpointsAnalyzer for directory.
When collection is provided it is reused (e.g. shared with
FutureCallsAnalyzer). Otherwise a new one is created internally.
Implementation
EndpointsAnalyzer(
Directory directory, {
AnalysisContextCollection? collection,
}) : collection = collection ?? createAnalysisContextCollection(directory),
absoluteIncludedPaths = directory.absolute.path;