Safe Haskell | None |
---|---|
Language | Haskell2010 |
Low-level primitives.
- type AttributeMap = Map Name [Content]
- beginDocument :: MonadCatch m => ConduitParser Event m ()
- endDocument :: MonadCatch m => ConduitParser Event m ()
- beginDoctype :: MonadCatch m => ConduitParser Event m (Text, Maybe ExternalID)
- endDoctype :: MonadCatch m => ConduitParser Event m ()
- instruction :: MonadCatch m => ConduitParser Event m Instruction
- beginElement :: MonadCatch m => ConduitParser Event m (Name, AttributeMap)
- endElement :: MonadCatch m => ConduitParser Event m Name
- contentEntity :: MonadCatch m => ConduitParser Event m Text
- contentText :: MonadCatch m => ConduitParser Event m Text
- comment :: MonadCatch m => ConduitParser Event m Text
- cdata :: MonadCatch m => ConduitParser Event m Text
- text :: MonadCatch m => ConduitParser Event m Text
Documentation
beginDocument :: MonadCatch m => ConduitParser Event m () Source #
Parse an EventBeginDocument
.
endDocument :: MonadCatch m => ConduitParser Event m () Source #
Parse an EventEndDocument
.
beginDoctype :: MonadCatch m => ConduitParser Event m (Text, Maybe ExternalID) Source #
Parse an EventBeginDoctype
.
endDoctype :: MonadCatch m => ConduitParser Event m () Source #
Parse an EventEndDoctype
.
instruction :: MonadCatch m => ConduitParser Event m Instruction Source #
Parse an EventInstruction
.
beginElement :: MonadCatch m => ConduitParser Event m (Name, AttributeMap) Source #
Parse an EventBeginElement
.
endElement :: MonadCatch m => ConduitParser Event m Name Source #
Parse an EventEndElement
.
contentEntity :: MonadCatch m => ConduitParser Event m Text Source #
Parse a ContentEntity
(within an EventContent
).
contentText :: MonadCatch m => ConduitParser Event m Text Source #
Parse a ContentText
(within an EventContent
).
comment :: MonadCatch m => ConduitParser Event m Text Source #
Parse an EventComment
.
cdata :: MonadCatch m => ConduitParser Event m Text Source #
Parse an EventCDATA
.
text :: MonadCatch m => ConduitParser Event m Text Source #
Parse a textual EventContent
or an EventCDATA
.