language-python-0.2: Parsing and pretty printing of Python code.Source codeContentsIndex
Language.Python.Common.ParseError
Portabilityghc
Stabilityexperimental
Maintainerbjpop@csse.unimelb.edu.au
Description
Error values for the lexer and parser.
Documentation
data ParseError Source
Constructors
UnexpectedToken TokenAn error from the parser. Token found where it should not be. Note: tokens contain their own source span.
UnexpectedChar Char SrcLocationAn error from the lexer. Character found where it should not be.
StrError StringA generic error containing a string message. No source location.
show/hide Instances
Produced by Haddock version 2.4.2