Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface {
// Gets called by state.SetDocument when our code changes
Changed(code []byte, change *sitter.InputEdit) error
// When a document is closed. Wanting to close the tree-sitter tree
Close()
}
Any analyzer may implement this contract. You'll probably create your own sub-interface for your own autocompletions.
func NewPHPAnalyzer ¶
func NewPHPAnalyzer() Analyzer
func NewTwigAnalyzer ¶
func NewTwigAnalyzer() Analyzer
func NewXMLAnalyzer ¶
func NewXMLAnalyzer() Analyzer
type PhpAnalyzer ¶
type TwigAnalyzer ¶
Click to show internal directories.
Click to hide internal directories.