ron-0.7: RON

Safe HaskellNone
LanguageHaskell2010

RON.Text.Parse

Description

RON-Text parsing

Synopsis

Documentation

parseObject :: UUID -> ByteStringL -> Either String (ObjectState a) Source #

Parse a state frame as an object

parseOp :: ByteStringL -> Either String ClosedOp Source #

Parse a single context-free op

parseString :: ByteStringL -> Either String Text Source #

Parse a string atom

parseUuid :: ByteStringL -> Either String UUID Source #

Parse a single context-free UUID

parseUuidKey Source #

Arguments

:: UUID

same key in the previous op (default is zero)

-> UUID

previous key of the same op (default is zero)

-> ByteStringL 
-> Either String UUID 

Parse a UUID in key position

parseUuidAtom Source #

Arguments

:: UUID

previous

-> ByteStringL 
-> Either String UUID 

Parse a UUID in value (atom) position

parseWireFrames :: ByteStringL -> Either String [WireFrame] Source #

Parse a sequence of common frames