mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Import the named child count.
This commit is contained in:
parent
5b6c88b6b8
commit
9b35bd7f24
@ -52,6 +52,7 @@ instance Storable TSNode where
|
||||
|
||||
foreign import ccall "app/bridge.h ts_document_root_node_p" ts_document_root_node_p :: Ptr TSDocument -> Ptr TSNode -> IO ()
|
||||
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_node_p_name" ts_node_p_name :: Ptr TSNode -> Ptr TSDocument -> IO CString
|
||||
foreign import ccall "prototype/External/tree-sitter/include/tree_sitter/runtime.h ts_node_p_named_child_count" ts_node_p_named_child_count :: Ptr TSNode -> IO CSize
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
|
Loading…
Reference in New Issue
Block a user