HTAnalysisManager constructor
HTAnalysisManager(
- HTSourceManager<
HTSource, HTResourceContext< sourceContextManager, {HTSource> > - HTErrorHandlerCallback? errorHandler,
Implementation
HTAnalysisManager(this.sourceContextManager, {this.errorHandler}) {
sourceContextManager.onRootsUpdated = () {
for (final context in sourceContextManager.contexts) {
final analyzer = HTAnalyzer(sourceContext: context);
for (final path in context.included) {
_pathsToAnalyzer[path] = analyzer;
}
}
};
}