| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.Prim | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.Char | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.Combinator | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.String | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.ByteString | |||||||||||||||||||||||||||||||||||||||
| module Text.Parsec.ByteString.Lazy | |||||||||||||||||||||||||||||||||||||||
| data ParseError | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| errorPos :: ParseError -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Extracts the source position from the parse error | |||||||||||||||||||||||||||||||||||||||
| data SourcePos | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| type SourceName = String | |||||||||||||||||||||||||||||||||||||||
| type Line = Int | |||||||||||||||||||||||||||||||||||||||
| type Column = Int | |||||||||||||||||||||||||||||||||||||||
| sourceName :: SourcePos -> SourceName | |||||||||||||||||||||||||||||||||||||||
| Extracts the name of the source from a source position. | |||||||||||||||||||||||||||||||||||||||
| sourceLine :: SourcePos -> Line | |||||||||||||||||||||||||||||||||||||||
| Extracts the line number from a source position. | |||||||||||||||||||||||||||||||||||||||
| sourceColumn :: SourcePos -> Column | |||||||||||||||||||||||||||||||||||||||
| Extracts the column number from a source position. | |||||||||||||||||||||||||||||||||||||||
| incSourceLine :: SourcePos -> Line -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Increments the line number of a source position. | |||||||||||||||||||||||||||||||||||||||
| incSourceColumn :: SourcePos -> Column -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Increments the column number of a source position. | |||||||||||||||||||||||||||||||||||||||
| setSourceLine :: SourcePos -> Line -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Set the line number of a source position. | |||||||||||||||||||||||||||||||||||||||
| setSourceColumn :: SourcePos -> Column -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Set the column number of a source position. | |||||||||||||||||||||||||||||||||||||||
| setSourceName :: SourcePos -> SourceName -> SourcePos | |||||||||||||||||||||||||||||||||||||||
| Set the name of the source. | |||||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.1.0 |