parsec-2.1.0.1: Monadic parser combinatorsSource codeContentsIndex
Text.ParserCombinators.Parsec.Error
Portabilityportable
Stabilityprovisional
Maintainerdaan@cs.uu.nl
Description
Parse errors
Synopsis
data Message
= SysUnExpect !String
| UnExpect !String
| Expect !String
| Message !String
messageString :: Message -> String
messageCompare :: Message -> Message -> Ordering
messageEq :: Message -> Message -> Bool
data ParseError
errorPos :: ParseError -> SourcePos
errorMessages :: ParseError -> [Message]
errorIsUnknown :: ParseError -> Bool
showErrorMessages :: String -> String -> String -> String -> String -> [Message] -> String
newErrorMessage :: Message -> SourcePos -> ParseError
newErrorUnknown :: SourcePos -> ParseError
addErrorMessage :: Message -> ParseError -> ParseError
setErrorPos :: SourcePos -> ParseError -> ParseError
setErrorMessage :: Message -> ParseError -> ParseError
mergeError :: ParseError -> ParseError -> ParseError
Documentation
data Message Source
Constructors
SysUnExpect !String
UnExpect !String
Expect !String
Message !String
messageString :: Message -> StringSource
messageCompare :: Message -> Message -> OrderingSource
messageEq :: Message -> Message -> BoolSource
data ParseError Source
show/hide Instances
errorPos :: ParseError -> SourcePosSource
errorMessages :: ParseError -> [Message]Source
errorIsUnknown :: ParseError -> BoolSource
showErrorMessages :: String -> String -> String -> String -> String -> [Message] -> StringSource
Language independent show function
newErrorMessage :: Message -> SourcePos -> ParseErrorSource
newErrorUnknown :: SourcePos -> ParseErrorSource
addErrorMessage :: Message -> ParseError -> ParseErrorSource
setErrorPos :: SourcePos -> ParseError -> ParseErrorSource
setErrorMessage :: Message -> ParseError -> ParseErrorSource
mergeError :: ParseError -> ParseError -> ParseErrorSource
Produced by Haddock version 2.4.2