Safe Haskell | None |
---|---|
Language | Haskell2010 |
Abstracts away tree traversals. Mostly used by callers including (soon) XML Conduit Stylist, but also used internally for generating counter text.
Backwards compatability module, this API has been moved out into "stylist-traits". Though it also contains integration between the styletree & styling APIs.
Documentation
treeOrder' :: (c -> c -> Path -> p -> (c, p')) -> c -> c -> Path -> [StyleTree p] -> (c, [StyleTree p']) #
treeFlatten :: StyleTree p -> [p] #
preorder' :: (Maybe b -> Maybe b -> a -> b) -> Maybe b -> Maybe b -> [StyleTree a] -> [StyleTree b] #
stylize :: PropertyParser s => QueryableStyleSheet s -> StyleTree Element -> StyleTree [(Text, s)] Source #
inlinePseudos :: PropertyParser s => StyleTree [(Text, VarParser s)] -> StyleTree s Source #