Safe Haskell | None |
---|
- skip :: Parser ()
- format :: Parser Format
- char :: Parser Int8
- uchar :: Parser Word8
- int :: Parser Int
- uint :: Parser Word32
- int16 :: Parser Int16
- uint16 :: Parser Word16
- float :: Parser Float
- line :: Parser ByteString
- scalarProperty :: Parser Property
- scalarType :: Parser ScalarT
- word :: Parser ByteString
- listProperty :: Parser Property
- parseList :: ScalarT -> Parser [Scalar]
- property :: Parser Property
- element :: Parser Element
- parseScalar :: ScalarT -> Parser Scalar
- multiProps :: [Property] -> Parser [Scalar]
- header :: Parser (Format, [Element])
- parseSkip :: Parser a -> ByteString -> ByteString
Documentation
Numeric type parsers
line :: Parser ByteStringSource
Take everything up to the end of the line
word :: Parser ByteStringSource
Take the next white space-delimited word.
parseScalar :: ScalarT -> Parser ScalarSource
multiProps :: [Property] -> Parser [Scalar]Source
parseSkip :: Parser a -> ByteString -> ByteStringSource
Advance a ByteString
to where a given Parser
finishes. An
error
is raised if the parser fails to complete.