Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- ignore :: a -> Bool
- open :: (Name name -> Bool) -> ([T name string] -> Bool) -> T name string -> Bool
- close :: (Name name -> Bool) -> T name string -> Bool
- text :: (string -> Bool) -> T name string -> Bool
- comment :: (String -> Bool) -> T name string -> Bool
- special :: (Name name -> Bool) -> (String -> Bool) -> T name string -> Bool
- openLit :: Tag name => String -> ([T name string] -> Bool) -> T name string -> Bool
- closeLit :: Tag name => String -> T name string -> Bool
- openAttrLit :: (Attribute name, Tag name, Eq string) => String -> String -> string -> T name string -> Bool
- openAttrNameLit :: (Attribute name, Tag name) => String -> String -> (string -> Bool) -> T name string -> Bool
- openNameLit :: Tag name => String -> T name string -> Bool
- closeNameLit :: Tag name => String -> T name string -> Bool
Documentation
open :: (Name name -> Bool) -> ([T name string] -> Bool) -> T name string -> Bool Source #
match an opening tag
openLit :: Tag name => String -> ([T name string] -> Bool) -> T name string -> Bool Source #
match a opening tag's name literally
closeLit :: Tag name => String -> T name string -> Bool Source #
match a closing tag's name literally
openAttrLit :: (Attribute name, Tag name, Eq string) => String -> String -> string -> T name string -> Bool Source #
openAttrNameLit :: (Attribute name, Tag name) => String -> String -> (string -> Bool) -> T name string -> Bool Source #
Match a tag with given name, that contains an attribute with given name, that satisfies a predicate. If an attribute occurs multiple times, all occurrences are checked.