Function biome_js_transform::transform
source · pub fn transform<'a, F, B>(
root: &LanguageRoot<JsLanguage>,
filter: AnalysisFilter<'_>,
options: &'a AnalyzerOptions,
source_type: JsFileSource,
emit_signal: F
) -> (Option<B>, Vec<Error>)
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