Module parser

Module parser 

Source

Re-exports§

pub use types::CodeUnit;
pub use types::Language;
pub use types::UnitType;

Modules§

types

Functions§

build_call_graph
Build call graph and populate called_by for all units
detect_language
Detect language from file extension or filename
extract_units
Extract all code units from a file with 5-layer analysis
is_text_format
Check if a language is a text/config format (not code parsed with tree-sitter)
is_text_format_check
Check if a language is a text/config format (not code parsed with tree-sitter) - public for testing