tree-sitter-0.1.0.0: Unstable bindings for the tree-sitter parsing library.

Safe HaskellNone
LanguageHaskell2010

TreeSitter.Cursor

Synopsis

Documentation

data Cursor Source #

A cursor for traversing a tree.

Note that we do not define Eq, Ord, or Storable instances, as the underlying TSTreeCursor type is not usefully copyable.

Constructors

Cursor 
Instances
Show Cursor Source # 
Instance details

Defined in TreeSitter.Cursor

sizeOfCursor :: Int Source #

THe size of a Cursor in bytes. The tests verify that this value is the same as sizeof(TSTreeCursor).