Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
parse :: ByteString -> Either (ParseError AlexPosn) (Dickinson AlexPosn) Source #
parseWithMax :: ByteString -> Either (ParseError AlexPosn) (UniqueCtx, Dickinson AlexPosn) Source #
parseWithCtx :: ByteString -> AlexUserState -> Either (ParseError AlexPosn) (AlexUserState, Dickinson AlexPosn) Source #
parseWithInitCtx :: ByteString -> Either (ParseError AlexPosn) (AlexUserState, Dickinson AlexPosn) Source #
parseReplWithCtx :: ByteString -> AlexUserState -> Either (ParseError AlexPosn) (AlexUserState, Either (Declaration AlexPosn) (Expression AlexPosn)) Source #
parseExpressionWithCtx :: ByteString -> AlexUserState -> Either (ParseError AlexPosn) (AlexUserState, Expression AlexPosn) Source #
data ParseError a Source #
Unexpected (Token a) | |
LexErr String |