Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ParseException = ParseException String
- n_ :: Text -> Name
- nodeElNameIs :: Node -> Name -> Bool
- class FromCursor a where
- class FromAttrVal a where
- fromAttribute :: FromAttrVal a => Name -> Cursor -> [a]
- fromAttributeDef :: FromAttrVal a => Name -> a -> Cursor -> [a]
- maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- fromElementValue :: FromAttrVal a => Name -> Cursor -> [a]
- maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeElementValueDef :: FromAttrVal a => Name -> a -> Cursor -> [Maybe a]
- maybeBoolElementValue :: Name -> Cursor -> [Maybe Bool]
- maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a]
- attrValIs :: (Eq a, FromAttrVal a) => Name -> a -> Axis
- contentOrEmpty :: Cursor -> [Text]
- readSuccess :: a -> Either String (a, Text)
- readFailure :: Text -> Either String (a, Text)
- invalidText :: Text -> Text -> Either String (a, Text)
- defaultReadFailure :: Either String (a, Text)
- module Codec.Xlsx.Parser.Internal.Util
- module Codec.Xlsx.Parser.Internal.Fast
Documentation
data ParseException Source #
class FromCursor a where Source #
fromCursor :: Cursor -> [a] Source #
class FromAttrVal a where Source #
fromAttrVal :: Reader a Source #
fromAttribute :: FromAttrVal a => Name -> Cursor -> [a] Source #
required attribute parsing
fromAttributeDef :: FromAttrVal a => Name -> a -> Cursor -> [a] Source #
parsing optional attributes with defaults
maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
parsing optional attributes
fromElementValue :: FromAttrVal a => Name -> Cursor -> [a] Source #
maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
maybeElementValueDef :: FromAttrVal a => Name -> a -> Cursor -> [Maybe a] Source #
maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a] Source #
contentOrEmpty :: Cursor -> [Text] Source #