Documentation
¶
Index ¶
- func New() *base.Provider
- type Config
- func (c *Config) Extensions() []string
- func (c *Config) ExtractNodeName(node *sitter.Node, source string) string
- func (c *Config) GetLanguage() *sitter.Language
- func (c *Config) IsExported(name string) bool
- func (c *Config) Language() string
- func (c *Config) MapQueryTypeToNodeTypes(queryType string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct{}
Config implements LanguageConfig for TypeScript
func (*Config) ExtractNodeName ¶
ExtractNodeName extracts name from TypeScript AST nodes
func (*Config) GetLanguage ¶
GetLanguage returns tree-sitter language for TypeScript
func (*Config) IsExported ¶
IsExported checks if identifier is exported (TS uses various export patterns)
func (*Config) MapQueryTypeToNodeTypes ¶
MapQueryTypeToNodeTypes maps query types to TypeScript AST node types
Click to show internal directories.
Click to hide internal directories.