|
| Text.ParserCombinators.Parsec | | Portability | portable | | Stability | provisional | | Maintainer | derek.a.elkins@gmail.com |
|
|
|
| Description |
| Parsec compatibility module
|
|
| Synopsis |
|
|
|
| Documentation |
|
| module Text.ParserCombinators.Parsec.Prim |
|
| module Text.ParserCombinators.Parsec.Combinator |
|
| module Text.ParserCombinators.Parsec.Char |
|
|
| The abstract data type ParseError represents parse errors. It
provides the source position (SourcePos) of the error
and a list of error messages (Message). A ParseError
can be returned by the function Text.Parsec.Prim.parse. ParseError is an
instance of the Show class.
|
|
|
|
| Extracts the source position from the parse error
|
|
|
| The abstract data type SourcePos represents source positions. It
contains the name of the source (i.e. file name), a line number and
a column number. SourcePos is an instance of the Show, Eq and
Ord class.
|
|
|
|
|
|
|
|
|
|
| Extracts the name of the source from a source position.
|
|
|
| Extracts the line number from a source position.
|
|
|
| Extracts the column number from a source position.
|
|
|
| Increments the line number of a source position.
|
|
|
| Increments the column number of a source position.
|
|
|
| Set the line number of a source position.
|
|
|
| Set the column number of a source position.
|
|
|
| Set the name of the source.
|
|
| Produced by Haddock version 2.6.0 |