Lua bindings for Tree-sitter
Classes
Language | A language definition used by a Parser to parse a document. |
Node | A node within a Tree. |
Parser | Parses a document based on a Language to produce a Tree. |
Point | A point on a document. |
Query | A query that can be ran on Nodes of a given Language. |
Query.Capture | A single capture of a Query. |
Query.Cursor | A cursor for executing a given Query. |
Query.Match | A match of a Query. |
Query.QuantifiedCapture | A quantified set of Query.Captures provided to predicates. |
Query.Runner | Runs Querys with support for predicates. |
Range | A range within a document. |
Range.Array | A array of Ranges. |
Tree | A syntax tree. |
Manuals
README.md |