Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Parser
- withParser :: Ptr Language -> (Ptr Parser -> IO a) -> IO a
- withParseTree :: Ptr Parser -> ByteString -> (Ptr Tree -> IO a) -> IO a
- ts_parser_new :: IO (Ptr Parser)
- ts_parser_halt_on_error :: Ptr Parser -> CBool -> IO ()
- ts_parser_parse_string :: Ptr Parser -> Ptr Tree -> CString -> Int -> IO (Ptr Tree)
- ts_parser_delete :: Ptr Parser -> IO ()
- ts_parser_set_language :: Ptr Parser -> Ptr Language -> IO Bool
- ts_parser_timeout_micros :: Ptr Parser -> IO Word64
- ts_parser_set_timeout_micros :: Ptr Parser -> Word64 -> IO ()
- ts_parser_log_to_stderr :: Ptr Parser -> IO ()