Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data HtmlEntity
- = HtmlStartTag { }
- | HtmlEndTag {
- tagStack :: HtmlTagStack
- tag :: HtmlTag
- | HtmlText {
- tagStack :: HtmlTagStack
- rawText :: Text
- | HtmlCdata {
- tagStack :: HtmlTagStack
- text :: Text
- | HtmlComment {
- tagStack :: HtmlTagStack
- comment :: Text
- type HtmlRawAttrs = Text
Documentation
data HtmlEntity Source #
An event entity emitted by scanHtml
.
HtmlStartTag | Represent a token which opens an HTML element. Note that |
HtmlEndTag | Represent a token which closes an HTML element.
The |
HtmlText | Represent a token of a text node. Note that |
HtmlCdata | Represent a token of a CDATA section. |
HtmlComment | Represent a token of an HTML comment. |
Instances
Show HtmlEntity Source # | |
Defined in Text.Seonbi.Html.Entity showsPrec :: Int -> HtmlEntity -> ShowS # show :: HtmlEntity -> String # showList :: [HtmlEntity] -> ShowS # | |
Eq HtmlEntity Source # | |
Defined in Text.Seonbi.Html.Entity (==) :: HtmlEntity -> HtmlEntity -> Bool # (/=) :: HtmlEntity -> HtmlEntity -> Bool # | |
Ord HtmlEntity Source # | |
Defined in Text.Seonbi.Html.Entity compare :: HtmlEntity -> HtmlEntity -> Ordering # (<) :: HtmlEntity -> HtmlEntity -> Bool # (<=) :: HtmlEntity -> HtmlEntity -> Bool # (>) :: HtmlEntity -> HtmlEntity -> Bool # (>=) :: HtmlEntity -> HtmlEntity -> Bool # max :: HtmlEntity -> HtmlEntity -> HtmlEntity # min :: HtmlEntity -> HtmlEntity -> HtmlEntity # |
type HtmlRawAttrs = Text Source #
All element attributes in a string.