Documentation
¶
Overview ¶
Package typescript parses .ts and .tsx source via tree-sitter. We extract symbol-level spans (function, method, class, interface, type alias, enum) — the same shape go/parser produces for Go in internal/parse/golang.
We deliberately do NOT match CKG's tree-sitter query DSL — CKV only needs spans, not full graph extraction, so a recursive descent over named children is simpler and easier to keep in head.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
Parser implements parse.Parser for .ts and .tsx.
Click to show internal directories.
Click to hide internal directories.