tree-sitter-0.1.0.0: Unstable bindings for the tree-sitter parsing library.
TreeSitter.Parser
newtype Parser Source #
Constructors
Defined in TreeSitter.Parser
Methods
(==) :: Parser -> Parser -> Bool #
(/=) :: Parser -> Parser -> Bool #
showsPrec :: Int -> Parser -> ShowS #
show :: Parser -> String #
showList :: [Parser] -> ShowS #
ts_parser_new :: IO (Ptr Parser) Source #
ts_parser_halt_on_error :: Ptr Parser -> CBool -> IO () Source #
ts_parser_parse_string :: Ptr Parser -> Ptr Tree -> CString -> Int -> IO (Ptr Tree) Source #
ts_parser_delete :: Ptr Parser -> IO () Source #
ts_parser_set_language :: Ptr Parser -> Ptr Language -> IO Bool Source #
ts_parser_timeout_micros :: Ptr Parser -> IO Word64 Source #
ts_parser_set_timeout_micros :: Ptr Parser -> Word64 -> IO () Source #
ts_parser_log_to_stderr :: Ptr Parser -> IO () Source #