Skip to main content

Crate the_code_graph_parser

Crate the_code_graph_parser 

Source

Modules§

resolver

Structs§

Export
An export declaration extracted from source code. Used during resolution (S04) to build ImportsFrom and ReExport edges.
GoParser
Parser for Go (.go) files.
ImportName
A single named import within an import statement.
JavaScriptParser
Parser for JavaScript (.js) and JSX (.jsx) files.
ParseResult
Output of parsing a single source file. Phase 1 of two-phase “parse then resolve” — imports are unresolved.
ParserRegistry
Registry of language parsers with extension-based dispatch.
PythonParser
Parser for Python (.py) files.
RawImport
An unresolved import statement extracted from source code. Converted to resolved edges during the resolution phase (S04).
RustParser
Parser for Rust (.rs) files.
TypeScriptParser
Parser for TypeScript (.ts) and TSX (.tsx) files.

Traits§

LanguageParser
Trait for language-specific tree-sitter parsers. Implementations must be Send + Sync so the registry can be shared across threads.