-- WARNING: This code was automatically generated. You should *never* -- edit it directly. Instead, edit the files who generated this code, -- you can find them in the @util/@ directory. {-# LANGUAGE OverloadedStrings #-} -- Util/GenerateHtmlCombinators.hs:78 -- | This module exports HTML combinators used to create documents. -- module Text.Blaze.Html5 -- Util/GenerateHtmlCombinators.hs:151 ( module Text.Blaze -- Util/GenerateHtmlCombinators.hs:152 , docType -- Util/GenerateHtmlCombinators.hs:154 , docTypeHtml -- Util/GenerateHtmlCombinators.hs:154 , a -- Util/GenerateHtmlCombinators.hs:154 , abbr -- Util/GenerateHtmlCombinators.hs:154 , address -- Util/GenerateHtmlCombinators.hs:154 , area -- Util/GenerateHtmlCombinators.hs:154 , article -- Util/GenerateHtmlCombinators.hs:154 , aside -- Util/GenerateHtmlCombinators.hs:154 , audio -- Util/GenerateHtmlCombinators.hs:154 , b -- Util/GenerateHtmlCombinators.hs:154 , base -- Util/GenerateHtmlCombinators.hs:154 , bdo -- Util/GenerateHtmlCombinators.hs:154 , blockquote -- Util/GenerateHtmlCombinators.hs:154 , body -- Util/GenerateHtmlCombinators.hs:154 , br -- Util/GenerateHtmlCombinators.hs:154 , button -- Util/GenerateHtmlCombinators.hs:154 , canvas -- Util/GenerateHtmlCombinators.hs:154 , caption -- Util/GenerateHtmlCombinators.hs:154 , cite -- Util/GenerateHtmlCombinators.hs:154 , code -- Util/GenerateHtmlCombinators.hs:154 , col -- Util/GenerateHtmlCombinators.hs:154 , colgroup -- Util/GenerateHtmlCombinators.hs:154 , command -- Util/GenerateHtmlCombinators.hs:154 , datalist -- Util/GenerateHtmlCombinators.hs:154 , dd -- Util/GenerateHtmlCombinators.hs:154 , del -- Util/GenerateHtmlCombinators.hs:154 , details -- Util/GenerateHtmlCombinators.hs:154 , dfn -- Util/GenerateHtmlCombinators.hs:154 , div -- Util/GenerateHtmlCombinators.hs:154 , dl -- Util/GenerateHtmlCombinators.hs:154 , dt -- Util/GenerateHtmlCombinators.hs:154 , em -- Util/GenerateHtmlCombinators.hs:154 , embed -- Util/GenerateHtmlCombinators.hs:154 , fieldset -- Util/GenerateHtmlCombinators.hs:154 , figcaption -- Util/GenerateHtmlCombinators.hs:154 , figure -- Util/GenerateHtmlCombinators.hs:154 , footer -- Util/GenerateHtmlCombinators.hs:154 , form -- Util/GenerateHtmlCombinators.hs:154 , h1 -- Util/GenerateHtmlCombinators.hs:154 , h2 -- Util/GenerateHtmlCombinators.hs:154 , h3 -- Util/GenerateHtmlCombinators.hs:154 , h4 -- Util/GenerateHtmlCombinators.hs:154 , h5 -- Util/GenerateHtmlCombinators.hs:154 , h6 -- Util/GenerateHtmlCombinators.hs:154 , head -- Util/GenerateHtmlCombinators.hs:154 , header -- Util/GenerateHtmlCombinators.hs:154 , hgroup -- Util/GenerateHtmlCombinators.hs:154 , hr -- Util/GenerateHtmlCombinators.hs:154 , html -- Util/GenerateHtmlCombinators.hs:154 , i -- Util/GenerateHtmlCombinators.hs:154 , iframe -- Util/GenerateHtmlCombinators.hs:154 , img -- Util/GenerateHtmlCombinators.hs:154 , input -- Util/GenerateHtmlCombinators.hs:154 , ins -- Util/GenerateHtmlCombinators.hs:154 , kbd -- Util/GenerateHtmlCombinators.hs:154 , keygen -- Util/GenerateHtmlCombinators.hs:154 , label -- Util/GenerateHtmlCombinators.hs:154 , legend -- Util/GenerateHtmlCombinators.hs:154 , li -- Util/GenerateHtmlCombinators.hs:154 , link -- Util/GenerateHtmlCombinators.hs:154 , map -- Util/GenerateHtmlCombinators.hs:154 , mark -- Util/GenerateHtmlCombinators.hs:154 , menu -- Util/GenerateHtmlCombinators.hs:154 , meta -- Util/GenerateHtmlCombinators.hs:154 , meter -- Util/GenerateHtmlCombinators.hs:154 , nav -- Util/GenerateHtmlCombinators.hs:154 , noscript -- Util/GenerateHtmlCombinators.hs:154 , object -- Util/GenerateHtmlCombinators.hs:154 , ol -- Util/GenerateHtmlCombinators.hs:154 , optgroup -- Util/GenerateHtmlCombinators.hs:154 , option -- Util/GenerateHtmlCombinators.hs:154 , output -- Util/GenerateHtmlCombinators.hs:154 , p -- Util/GenerateHtmlCombinators.hs:154 , param -- Util/GenerateHtmlCombinators.hs:154 , pre -- Util/GenerateHtmlCombinators.hs:154 , progress -- Util/GenerateHtmlCombinators.hs:154 , q -- Util/GenerateHtmlCombinators.hs:154 , rp -- Util/GenerateHtmlCombinators.hs:154 , rt -- Util/GenerateHtmlCombinators.hs:154 , ruby -- Util/GenerateHtmlCombinators.hs:154 , samp -- Util/GenerateHtmlCombinators.hs:154 , script -- Util/GenerateHtmlCombinators.hs:154 , section -- Util/GenerateHtmlCombinators.hs:154 , select -- Util/GenerateHtmlCombinators.hs:154 , small -- Util/GenerateHtmlCombinators.hs:154 , source -- Util/GenerateHtmlCombinators.hs:154 , span -- Util/GenerateHtmlCombinators.hs:154 , strong -- Util/GenerateHtmlCombinators.hs:154 , style -- Util/GenerateHtmlCombinators.hs:154 , sub -- Util/GenerateHtmlCombinators.hs:154 , summary -- Util/GenerateHtmlCombinators.hs:154 , sup -- Util/GenerateHtmlCombinators.hs:154 , table -- Util/GenerateHtmlCombinators.hs:154 , tbody -- Util/GenerateHtmlCombinators.hs:154 , td -- Util/GenerateHtmlCombinators.hs:154 , textarea -- Util/GenerateHtmlCombinators.hs:154 , tfoot -- Util/GenerateHtmlCombinators.hs:154 , th -- Util/GenerateHtmlCombinators.hs:154 , thead -- Util/GenerateHtmlCombinators.hs:154 , time -- Util/GenerateHtmlCombinators.hs:154 , title -- Util/GenerateHtmlCombinators.hs:154 , tr -- Util/GenerateHtmlCombinators.hs:154 , ul -- Util/GenerateHtmlCombinators.hs:154 , var -- Util/GenerateHtmlCombinators.hs:154 , video -- Util/GenerateHtmlCombinators.hs:154 ) where -- Util/GenerateHtmlCombinators.hs:155 import Prelude ((>>), (.)) -- Util/GenerateHtmlCombinators.hs:85 -- Util/GenerateHtmlCombinators.hs:86 import Text.Blaze -- Util/GenerateHtmlCombinators.hs:87 import Text.Blaze.Internal -- Util/GenerateHtmlCombinators.hs:88 -- Util/GenerateHtmlCombinators.hs:89 -- | Combinator for the document type. This should be placed at the top -- of every HTML page. -- -- Example: -- -- > docType -- -- Result: -- -- > -- docType :: Html -- ^ The document type HTML. -- Util/GenerateHtmlCombinators.hs:171 docType = preEscapedText "\n" -- Util/GenerateHtmlCombinators.hs:172 {-# INLINE docType #-} -- Util/GenerateHtmlCombinators.hs:173 -- | Combinator for the @\@ element. This combinator will also -- insert the correct doctype. -- -- Example: -- -- > docTypeHtml $ span $ text "foo" -- -- Result: -- -- > -- > foo -- docTypeHtml :: Html -- ^ Inner HTML. -- Util/GenerateHtmlCombinators.hs:192 -> Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:193 docTypeHtml inner = docType >> html inner -- Util/GenerateHtmlCombinators.hs:194 {-# INLINE docTypeHtml #-} -- Util/GenerateHtmlCombinators.hs:195 -- | Combinator for the @\@ element. -- -- Example: -- -- > a $ span $ text "foo" -- -- Result: -- -- > foo -- a :: Html -- ^ Inner HTML. -- Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:213 a = Parent "" -- Util/GenerateHtmlCombinators.hs:214 {-# INLINE a #-} -- Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\@ element. -- -- Example: -- -- > abbr $ span $ text "foo" -- -- Result: -- -- > foo -- abbr :: Html -- ^ Inner HTML. -- Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:213 abbr = Parent "" -- Util/GenerateHtmlCombinators.hs:214 {-# INLINE abbr #-} -- Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\
@ element. -- -- Example: -- -- > address $ span $ text "foo" -- -- Result: -- -- >
foo
-- address :: Html -- ^ Inner HTML. -- Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:213 address = Parent "" -- Util/GenerateHtmlCombinators.hs:214 {-# INLINE address #-} -- Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\@ element. -- -- Example: -- -- > area -- -- Result: -- -- > -- area :: Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:238 area = Leaf "" -- Util/GenerateHtmlCombinators.hs:239 {-# INLINE area #-} -- Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\
@ element. -- -- Example: -- -- > article $ span $ text "foo" -- -- Result: -- -- >
foo
-- article :: Html -- ^ Inner HTML. -- Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- Util/GenerateHtmlCombinators.hs:213 article = Parent "" -- Util/GenerateHtmlCombinators.hs:214 {-# INLINE article #-} -- Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\