Safe Haskell | None |
---|---|
Language | Haskell2010 |
Codec.Xlsx.Parser.Internal.Fast
Documentation
class FromXenoNode a where #
Minimal complete definition
Methods
fromXenoNode :: Node -> Either Text a #
Instances
collectChildren :: Node -> ChildCollector a -> Either Text a #
maybeChild :: ByteString -> ChildCollector (Maybe Node) #
requireChild :: ByteString -> ChildCollector Node #
childList :: ByteString -> ChildCollector [Node] #
maybeFromChild :: FromXenoNode a => ByteString -> ChildCollector (Maybe a) #
fromChild :: FromXenoNode a => ByteString -> ChildCollector a #
fromChildList :: FromXenoNode a => ByteString -> ChildCollector [a] #
maybeParse :: ByteString -> (Node -> Either Text a) -> ChildCollector (Maybe a) #
requireAndParse :: ByteString -> (Node -> Either Text a) -> ChildCollector a #
childListAny :: FromXenoNode a => Node -> Either Text [a] #
maybeElementVal :: FromAttrBs a => ByteString -> ChildCollector (Maybe a) #
toAttrParser :: Either Text a -> AttrParser a #
parseAttributes :: Node -> AttrParser a -> Either Text a #
class FromAttrBs a where #
Minimal complete definition
Methods
fromAttrBs :: ByteString -> Either Text a #
Instances
unexpectedAttrBs :: Text -> ByteString -> Either Text a #
maybeAttrBs :: ByteString -> AttrParser (Maybe ByteString) #
maybeAttr :: FromAttrBs a => ByteString -> AttrParser (Maybe a) #
fromAttr :: FromAttrBs a => ByteString -> AttrParser a #
fromAttrDef :: FromAttrBs a => ByteString -> a -> AttrParser a #
contentBs :: Node -> ByteString #
nsPrefixes :: Node -> NsPrefixes #
addPrefix :: NsPrefixes -> ByteString -> ByteString -> ByteString #