pub fn root_to_parsed_document<D: Doc>(
ast_root: Root<D>,
file_path: PathBuf,
language: SupportLang,
content_fingerprint: Fingerprint,
) -> ParsedDocument<D>Expand description
Create ParsedDocument from ast-grep Root
This is the core conversion that bridges file-level ast-grep to codebase-level intelligence.