Skip to main content

Module parser

Module parser 

Source
Expand description

Code parsing with tree-sitter

Split into submodules:

  • types — data structures and error types
  • chunk — chunk extraction from parse trees
  • calls — call site extraction for call graph

Re-exports§

pub use types::CallSite;
pub use types::Chunk;
pub use types::ChunkType;
pub use types::ChunkTypeRefs;
pub use types::FunctionCalls;
pub use types::Language;
pub use types::ParserError;
pub use types::SignatureStyle;
pub use types::TypeEdgeKind;
pub use types::TypeRef;

Modules§

markdown
Markdown parser — heading-based chunking with adaptive heading detection
types
Data types for the parser module

Structs§

Parser
Code parser using tree-sitter grammars