parsec-2.1.0.0: Monadic parser combinators
Source code
Contents
Index
Text.ParserCombinators.Parsec.Error
Portability
portable
Stability
provisional
Maintainer
daan@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
->
String
Source
messageCompare
::
Message
->
Message
->
Ordering
Source
messageEq
::
Message
->
Message
->
Bool
Source
data
ParseError
Source
Instances
Show
ParseError
errorPos
::
ParseError
->
SourcePos
Source
errorMessages
::
ParseError
-> [
Message
]
Source
errorIsUnknown
::
ParseError
->
Bool
Source
showErrorMessages
::
String
->
String
->
String
->
String
->
String
-> [
Message
] ->
String
Source
Language independent show function
newErrorMessage
::
Message
->
SourcePos
->
ParseError
Source
newErrorUnknown
::
SourcePos
->
ParseError
Source
addErrorMessage
::
Message
->
ParseError
->
ParseError
Source
setErrorPos
::
SourcePos
->
ParseError
->
ParseError
Source
setErrorMessage
::
Message
->
ParseError
->
ParseError
Source
mergeError
::
ParseError
->
ParseError
->
ParseError
Source
Produced by
Haddock
version 0.8