Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A parse context is used to parse a stream of bytes that you expect to contain marked-up text.
See g_markup_parse_context_new(), #GMarkupParser, and so on for more details.
- newtype MarkupParseContext = MarkupParseContext (ForeignPtr MarkupParseContext)
- noMarkupParseContext :: Maybe MarkupParseContext
- markupParseContextEndParse :: MonadIO m => MarkupParseContext -> m ()
- markupParseContextFree :: MonadIO m => MarkupParseContext -> m ()
- markupParseContextGetElement :: MonadIO m => MarkupParseContext -> m Text
- markupParseContextNew :: MonadIO m => MarkupParser -> [MarkupParseFlags] -> Ptr () -> DestroyNotify -> m MarkupParseContext
- markupParseContextParse :: MonadIO m => MarkupParseContext -> Text -> Int64 -> m ()
- markupParseContextPush :: MonadIO m => MarkupParseContext -> MarkupParser -> Ptr () -> m ()
- markupParseContextRef :: MonadIO m => MarkupParseContext -> m MarkupParseContext
- markupParseContextUnref :: MonadIO m => MarkupParseContext -> m ()
Exported types
newtype MarkupParseContext Source
Methods
markupParseContextEndParse
markupParseContextEndParse :: MonadIO m => MarkupParseContext -> m () Source
markupParseContextFree
markupParseContextFree :: MonadIO m => MarkupParseContext -> m () Source
markupParseContextGetElement
markupParseContextGetElement :: MonadIO m => MarkupParseContext -> m Text Source
markupParseContextNew
markupParseContextNew :: MonadIO m => MarkupParser -> [MarkupParseFlags] -> Ptr () -> DestroyNotify -> m MarkupParseContext Source
markupParseContextParse
markupParseContextParse :: MonadIO m => MarkupParseContext -> Text -> Int64 -> m () Source
markupParseContextPush
markupParseContextPush :: MonadIO m => MarkupParseContext -> MarkupParser -> Ptr () -> m () Source
markupParseContextRef
markupParseContextUnref
markupParseContextUnref :: MonadIO m => MarkupParseContext -> m () Source