Documentation
¶
Overview ¶
Package symbols extracts symbol definitions and references from source code using tree-sitter via gotreesitter (pure Go, no CGO required).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
Extract parses source code in the given language and returns symbol definitions and references using tree-sitter tags queries. Parses the source only once: TagIncremental returns both tags and the parsed tree, which is then reused for type-info extraction (signature, return type, params) — avoiding a redundant second parse.
func SupportedLanguages ¶
func SupportedLanguages() []string
SupportedLanguages returns the list of languages supported by Extract.
Types ¶
Click to show internal directories.
Click to hide internal directories.