| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
TreeSitter.Node
Documentation
Constructors
| Node | |
| Fields 
 | |
Instances
| Storable Node Source # | |
| Defined in TreeSitter.Node Methods peekElemOff :: Ptr Node -> Int -> IO Node pokeElemOff :: Ptr Node -> Int -> Node -> IO () peekByteOff :: Ptr b -> Int -> IO Node pokeByteOff :: Ptr b -> Int -> Node -> IO () | |
| Generic Node Source # | |
| Show Node Source # | |
| Eq Node Source # | |
| type Rep Node Source # | |
| Defined in TreeSitter.Node type Rep Node = D1 ('MetaData "Node" "TreeSitter.Node" "tree-sitter-0.9.0.3-inplace" 'False) (C1 ('MetaCons "Node" 'PrefixI 'True) (((S1 ('MetaSel ('Just "nodeTSNode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TSNode) :*: S1 ('MetaSel ('Just "nodeType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CString)) :*: (S1 ('MetaSel ('Just "nodeSymbol") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TSSymbol) :*: S1 ('MetaSel ('Just "nodeEndPoint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TSPoint))) :*: ((S1 ('MetaSel ('Just "nodeEndByte") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "nodeChildCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just "nodeFieldName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CString) :*: (S1 ('MetaSel ('Just "nodeIsNamed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "nodeIsExtra") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CBool)))))) | |
nodeStartPoint :: Node -> TSPoint Source #
nodeStartByte :: Node -> Word32 Source #
Constructors
| TSPoint | |
| Fields 
 | |
Instances
| Storable TSPoint Source # | |
| Defined in TreeSitter.Node Methods peekElemOff :: Ptr TSPoint -> Int -> IO TSPoint pokeElemOff :: Ptr TSPoint -> Int -> TSPoint -> IO () peekByteOff :: Ptr b -> Int -> IO TSPoint pokeByteOff :: Ptr b -> Int -> TSPoint -> IO () | |
| Generic TSPoint Source # | |
| Show TSPoint Source # | |
| Eq TSPoint Source # | |
| type Rep TSPoint Source # | |
| Defined in TreeSitter.Node type Rep TSPoint = D1 ('MetaData "TSPoint" "TreeSitter.Node" "tree-sitter-0.9.0.3-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))) | |
Instances
| Storable TSNode Source # | |
| Defined in TreeSitter.Node Methods peekElemOff :: Ptr TSNode -> Int -> IO TSNode pokeElemOff :: Ptr TSNode -> Int -> TSNode -> IO () peekByteOff :: Ptr b -> Int -> IO TSNode pokeByteOff :: Ptr b -> Int -> TSNode -> IO () | |
| Generic TSNode Source # | |
| Show TSNode Source # | |
| Eq TSNode Source # | |
| type Rep TSNode Source # | |
| Defined in TreeSitter.Node type Rep TSNode = D1 ('MetaData "TSNode" "TreeSitter.Node" "tree-sitter-0.9.0.3-inplace" 'False) (C1 ('MetaCons "TSNode" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TSPoint)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Ptr ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Ptr ())))))) | |
Constructors
| FieldId | |
| Fields 
 | |
Instances
| Storable FieldId Source # | |
| Defined in TreeSitter.Node Methods peekElemOff :: Ptr FieldId -> Int -> IO FieldId pokeElemOff :: Ptr FieldId -> Int -> FieldId -> IO () peekByteOff :: Ptr b -> Int -> IO FieldId pokeByteOff :: Ptr b -> Int -> FieldId -> IO () | |
| Show FieldId Source # | |
| Eq FieldId Source # | |
| Ord FieldId Source # | |
ts_node_copy_child_nodes :: Ptr TSNode -> Ptr Node -> IO () Source #
ts_node_poke_p :: Ptr TSNode -> Ptr Node -> IO () Source #