Function ast_grep_napi::tsx::find_in_files
source · pub fn find_in_files(
config: FindConfig,
callback: JsFunction
) -> Result<AsyncTask<IterateFiles<(ThreadsafeFunction<PinnedNodes, CalleeHandled>, RuleWithConstraint<FrontEndLanguage>)>>>
Expand description
Discover and parse multiple files in Rust.
config
specifies the file path and matcher.
callback
will receive matching nodes found in a file.