pub fn transform<'a, F, B>(
    root: &LanguageRoot<JsLanguage>,
    filter: AnalysisFilter<'_>,
    options: &'a AnalyzerOptions,
    source_type: JsFileSource,
    emit_signal: F
) -> (Option<B>, Vec<Error>)
where F: FnMut(&dyn AnalyzerSignal<JsLanguage>) -> ControlFlow<B> + 'a, B: 'a,
Expand description

Run the analyzer on the provided root: this process will use the given filter to selectively restrict analysis to specific rules / a specific source range, then call emit_signal when an analysis rule emits a diagnostic or action