tree-sitter-0.9.0.2: Unstable bindings for the tree-sitter parsing library.
Safe HaskellNone
LanguageHaskell2010

TreeSitter.Node

Documentation

data Node Source #

Instances

Instances details
Eq Node Source # 
Instance details

Defined in TreeSitter.Node

Methods

(==) :: Node -> Node -> Bool #

(/=) :: Node -> Node -> Bool #

Show Node Source # 
Instance details

Defined in TreeSitter.Node

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

Generic Node Source # 
Instance details

Defined in TreeSitter.Node

Associated Types

type Rep Node :: Type -> Type #

Methods

from :: Node -> Rep Node x #

to :: Rep Node x -> Node #

Storable Node Source # 
Instance details

Defined in TreeSitter.Node

Methods

sizeOf :: Node -> Int #

alignment :: Node -> Int #

peekElemOff :: Ptr Node -> Int -> IO Node #

pokeElemOff :: Ptr Node -> Int -> Node -> IO () #

peekByteOff :: Ptr b -> Int -> IO Node #

pokeByteOff :: Ptr b -> Int -> Node -> IO () #

peek :: Ptr Node -> IO Node #

poke :: Ptr Node -> Node -> IO () #

type Rep Node Source # 
Instance details

Defined in TreeSitter.Node

data TSPoint Source #

Constructors

TSPoint 

Instances

Instances details
Eq TSPoint Source # 
Instance details

Defined in TreeSitter.Node

Methods

(==) :: TSPoint -> TSPoint -> Bool #

(/=) :: TSPoint -> TSPoint -> Bool #

Show TSPoint Source # 
Instance details

Defined in TreeSitter.Node

Generic TSPoint Source # 
Instance details

Defined in TreeSitter.Node

Associated Types

type Rep TSPoint :: Type -> Type #

Methods

from :: TSPoint -> Rep TSPoint x #

to :: Rep TSPoint x -> TSPoint #

Storable TSPoint Source # 
Instance details

Defined in TreeSitter.Node

type Rep TSPoint Source # 
Instance details

Defined in TreeSitter.Node

type Rep TSPoint = D1 ('MetaData "TSPoint" "TreeSitter.Node" "tree-sitter-0.9.0.2-inplace" 'False) (C1 ('MetaCons "TSPoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "pointRow") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "pointColumn") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))

data TSNode Source #

Constructors

TSNode !Word32 !TSPoint !Word32 !(Ptr ()) !(Ptr ()) 

Instances

Instances details
Eq TSNode Source # 
Instance details

Defined in TreeSitter.Node

Methods

(==) :: TSNode -> TSNode -> Bool #

(/=) :: TSNode -> TSNode -> Bool #

Show TSNode Source # 
Instance details

Defined in TreeSitter.Node

Generic TSNode Source # 
Instance details

Defined in TreeSitter.Node

Associated Types

type Rep TSNode :: Type -> Type #

Methods

from :: TSNode -> Rep TSNode x #

to :: Rep TSNode x -> TSNode #

Storable TSNode Source # 
Instance details

Defined in TreeSitter.Node

type Rep TSNode Source # 
Instance details

Defined in TreeSitter.Node

newtype FieldId Source #

Constructors

FieldId 

Fields

Instances

Instances details
Eq FieldId Source # 
Instance details

Defined in TreeSitter.Node

Methods

(==) :: FieldId -> FieldId -> Bool #

(/=) :: FieldId -> FieldId -> Bool #

Ord FieldId Source # 
Instance details

Defined in TreeSitter.Node

Show FieldId Source # 
Instance details

Defined in TreeSitter.Node

Storable FieldId Source # 
Instance details

Defined in TreeSitter.Node