Skip to main content

Module parse

Module parse 

Source
Expand description

Multi-language parsing engine using tree-sitter.

Converts source code into raw syntax information. One module per language. No semantic analysis here — just syntax extraction.

Re-exports§

pub use parser::ParseOptions;
pub use parser::ParseResult;
pub use parser::ParseStats;
pub use parser::Parser;

Modules§

cpp
C++ parsing using tree-sitter.
csharp
C# parsing using tree-sitter.
go
Go parsing using tree-sitter.
java
Java parsing using tree-sitter.
parser
Main parser orchestrator.
python
Python-specific parsing using tree-sitter.
rust
Rust-specific parsing using tree-sitter.
treesitter
Tree-sitter wrapper utilities shared across language parsers.
typescript
TypeScript and JavaScript parsing using tree-sitter.

Structs§

ParseFileError
Parse error with severity.
RawCodeUnit
A code unit extracted from parsing, before semantic analysis.
RawReference
A raw reference found during parsing.

Enums§

ReferenceKind
The kind of a raw reference.
Severity
Severity of a parse issue.

Traits§

LanguageParser
Trait for language-specific parsers.