Documentation
¶
Overview ¶
Package golang registers the Go tree-sitter grammar with the treesitter registry. Import for side effect:
_ "github.com/codefly-dev/core/companions/treesitter/golang"
ARCHITECTURE: This package is intentionally thin. It provides:
- The Go grammar via github.com/smacker/go-tree-sitter/golang
- A SymbolExtractor that walks the Go syntax tree and produces codev0.Symbol
Everything else (parsing, caching, workspace walking, diagnostics, resolve) lives in the parent package and is language-agnostic.
Click to show internal directories.
Click to hide internal directories.