lua-tree-sitter
Index
Contents
Functions
Classes
Language
Node
Parser
Point
Query
Query.Capture
Query.Cursor
Query.Match
Query.QuantifiedCapture
Query.Runner
Range
Range.Array
Tree
Manuals
README
Class
Query
A query that can be ran on
Node
s of a given
Language
.
Analogous to
TSQuery
.
Functions
Query.new (lang, source)
Create a new query for a given
Language
from a source
string
.
Functions
Query.new (lang, source)
Create a new query for a given
Language
from a source
string
.
Parameters:
lang
Language
source
string
Returns:
Query
Raises:
Invalid pattern in the source.
generated by
LDoc 1.5.0
Last updated 2024-04-16 14:22:44