injections

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQuery

func GetQuery(language string) string

Get the injection query based on language

Types

type Capture

type Capture struct {
	Language string
	Combined bool
	Range    ts.Range
}

func Query

func Query(query *ts.Query, node *ts.Node, source []byte) []Capture

Jump to

Keyboard shortcuts

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