- ignore :: a -> Bool
- open :: (String -> Bool) -> ([Attribute char] -> Bool) -> T char -> Bool
- close :: (String -> Bool) -> T char -> Bool
- text :: ([char] -> Bool) -> T char -> Bool
- comment :: (String -> Bool) -> T char -> Bool
- special :: (String -> Bool) -> (String -> Bool) -> T char -> Bool
- openLit :: String -> ([Attribute char] -> Bool) -> T char -> Bool
- closeLit :: String -> T char -> Bool
- openAttrLit :: Eq char => String -> Attribute char -> T char -> Bool
- openAttrNameLit :: String -> String -> ([char] -> Bool) -> T char -> Bool
- openNameLit :: String -> T char -> Bool
- closeNameLit :: String -> T char -> Bool
- anyAttr :: ((String, [char]) -> Bool) -> [Attribute char] -> Bool
- anyAttrName :: (String -> Bool) -> [Attribute char] -> Bool
- anyAttrValue :: ([char] -> Bool) -> [Attribute char] -> Bool
- anyAttrLit :: Eq char => (String, [char]) -> [Attribute char] -> Bool
- anyAttrNameLit :: String -> [Attribute char] -> Bool
- anyAttrValueLit :: Eq char => [char] -> [Attribute char] -> Bool
Documentation
openLit :: String -> ([Attribute char] -> Bool) -> T char -> BoolSource
match a opening tag's name literally
openAttrNameLit :: String -> String -> ([char] -> Bool) -> T char -> BoolSource
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.
anyAttrValue :: ([char] -> Bool) -> [Attribute char] -> BoolSource
anyAttrNameLit :: String -> [Attribute char] -> BoolSource
anyAttrValueLit :: Eq char => [char] -> [Attribute char] -> BoolSource