Expand description
Language parsing using tree-sitter.
Structs§
- Function
Def - A function definition.
- Function
Ref - Borrowed view of a function indexed in a
SyntaxIndex. - Import
- An import statement.
- Import
Ref - Borrowed view of an import indexed in a
SyntaxIndex. - Parsed
File - A parsed file with its tree-sitter AST and Heddle-owned syntax index.
- Syntax
Index - Compact Heddle-owned syntax data for one parsed source file.
Enums§
- Import
Kind - Type of import.
- Language
- Supported programming languages.
Functions§
- extract_
dependencies - Extract dependencies from a parsed file.