| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Xeno.Types
Description
Shared types.
Synopsis
- data XenoException
- = XenoStringIndexProblem { }
- | XenoParseError {
- inputIndex :: Int
- message :: ByteString
- | XenoExpectRootNode
- newtype ByteStringZeroTerminated = BSZT ByteString
Documentation
data XenoException Source #
Constructors
| XenoStringIndexProblem | |
Fields
| |
| XenoParseError | |
Fields
| |
| XenoExpectRootNode | |
Instances
newtype ByteStringZeroTerminated Source #
ByteString wich guaranted have 'NUL' at the end
Constructors
| BSZT ByteString |
Instances
| NFData ByteStringZeroTerminated Source # | |||||
Defined in Xeno.Types Methods rnf :: ByteStringZeroTerminated -> () Source # | |||||
| Generic ByteStringZeroTerminated Source # | |||||
Defined in Xeno.Types Associated Types
Methods from :: ByteStringZeroTerminated -> Rep ByteStringZeroTerminated x Source # to :: Rep ByteStringZeroTerminated x -> ByteStringZeroTerminated Source # | |||||
| StringLike ByteStringZeroTerminated Source # | |||||
Defined in Xeno.SAX Methods s_index' :: ByteStringZeroTerminated -> Int -> Word8 Source # elemIndexFrom' :: Word8 -> ByteStringZeroTerminated -> Int -> Maybe Int Source # drop' :: Int -> ByteStringZeroTerminated -> ByteStringZeroTerminated Source # substring' :: ByteStringZeroTerminated -> Int -> Int -> ByteString Source # | |||||
| type Rep ByteStringZeroTerminated Source # | |||||
Defined in Xeno.Types type Rep ByteStringZeroTerminated = D1 ('MetaData "ByteStringZeroTerminated" "Xeno.Types" "xeno-0.6-4lbB5Si8JPZ2CKzaKvB30X" 'True) (C1 ('MetaCons "BSZT" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||