Expand description
Comindly parse — tree-sitter extraction of symbols, the Contains hierarchy and per-file facts.
The walk is language-agnostic; crate::lang answers the syntax questions per grammar.
Imports, references and type hints go into FileFacts, which crate::resolve binds.
Structs§
- Parse
Output - Symbols, structural edges and per-file facts extracted from a repo (or some files of it).
Constants§
- RETURN
- Type-hint name for a callable’s declared return type.
Functions§
- parse_
file - Parse a single file.
Ok(None)means “unsupported language”, not an error. - parse_
files - Parse a specific set of repo-relative files (for incremental indexing). Unsupported or missing files are skipped.
- parse_
repo - Parse every supported source file under
root, in parallel, respecting.gitignore.