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 ¶ added in v1.3.0
type Config struct{}
Config implements LanguageConfig for Go
func (*Config) Extensions ¶ added in v1.3.0
Extensions supported
func (*Config) ExtractNodeName ¶ added in v1.3.0
ExtractNodeName extracts name from Go AST nodes
func (*Config) GetLanguage ¶ added in v1.3.0
GetLanguage returns tree-sitter language for Go
func (*Config) IsExported ¶ added in v1.3.0
IsExported checks if identifier is exported (starts with capital letter in Go)
func (*Config) MapQueryTypeToNodeTypes ¶ added in v1.3.0
MapQueryTypeToNodeTypes maps query types to Go AST node types
Click to show internal directories.
Click to hide internal directories.