Expand description
Regex-based AST extraction engine.
This module implements a working regex-based extractor for each supported language. It serves as the “Pass 1” deterministic extraction while tree-sitter grammar crates are being added to the workspace.
For each source file the extractor produces:
- A file node
- Class / struct / trait / interface nodes
- Function / method nodes with
definesedges from their parent - Import nodes with
importsedges from the file - Calls edges inferred by matching known function names within bodies
Functions§
- extract_
file - Extract graph nodes and edges from a single source file.