Classes
-
namespace ts C++ wrapper for the C Tree-Sitter API.
- struct AppliedEdit Holds information about an applied Edit.
- struct Capture A capture of a node in a syntax tree.
- class Cursor Allows efficient walking of a Tree.
- struct Edit Used to modify the source code and parse tree.
- class EditException Base class for exceptions related to applying edits to the tree.
- struct EditResult Holds information about all applied edits.
- class Language Tree-Sitter language grammar.
- struct Location Location in source code as row, column and byte offset.
- struct Match A match of a pattern in a syntax tree.
- class MultilineEditException Newlines are not allowed in Edits.
- class Node A syntax node in a parsed tree.
- class NullNodeException Thrown by the constructor of Node if you try to create a null node.
- class OverlappingEditException Overlapping Edits are not allowed.
- class ParseFailureException Thrown by Parser::
parse_string (should never actually be thrown). - class Parser Parser for a Tree-Sitter language.
- class ParserLanguageException Version missmatch between Tree-Sitter and the Language grammar.
- struct Point Location in source code as row and column.
- class Query A query is a "pre-compiled" string of S-expression patterns.
- class QueryCursor Stores the state needed to execute a query and iteratively search for matches.
- class QueryException Syntax error in a Query string.
- struct Range Range in the source code (start and end Points).
- class Tree A syntax tree.
- class TreeSitterException Base exception class for errors in the Tree-Sitter wrapper.
- class ZeroSizedEditException Empty Edits are not allwed.