treesitter

package
v1.505.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorsQuery = `(ERROR) @error`

Functions

func ParseQuery

func ParseQuery(langName string, lang *sitter.Language, queryStr string) *sitter.Query

func QueryErrors

func QueryErrors(langName string, lang *sitter.Language, sourceCode []byte, node *sitter.Node) []error

Create an error for each parse error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL