Skip to main content

Crate cha_parser

Crate cha_parser 

Source

Structs§

CParser
ClassInfo
Extracted class/struct info from AST.
CommentInfo
A comment extracted from source code by the language parser.
CppParser
FunctionInfo
Extracted function info from AST.
GolangParser
ImportInfo
Extracted import info.
ParseResult
Result of parsing a file, including the tree-sitter tree for downstream AST queries.
PythonParser
RustParser
SourceModel
Unified source model produced by parsing.
TsxParser
TypeScriptParser

Traits§

LanguageParser
Trait for language-specific parsers.

Functions§

parse_file
Detect language from file extension and parse (legacy API, no tree returned).
parse_file_full
Detect language from file extension and parse, returning model + tree.