parsec-2.1.0.1: Monadic parser combinatorsSource codeContentsIndex
Text.ParserCombinators.Parsec.Pos
Portabilityportable
Stabilityprovisional
Maintainerdaan@cs.uu.nl
Description
Textual source positions.
Documentation
type SourceName = StringSource
type Line = IntSource
type Column = IntSource
data SourcePos Source
show/hide Instances
sourceLine :: SourcePos -> LineSource
sourceColumn :: SourcePos -> ColumnSource
sourceName :: SourcePos -> SourceNameSource
incSourceLine :: SourcePos -> Line -> SourcePosSource
incSourceColumn :: SourcePos -> Column -> SourcePosSource
setSourceLine :: SourcePos -> Line -> SourcePosSource
setSourceColumn :: SourcePos -> Column -> SourcePosSource
setSourceName :: SourcePos -> SourceName -> SourcePosSource
newPos :: SourceName -> Line -> Column -> SourcePosSource
initialPos :: SourceName -> SourcePosSource
updatePosChar :: SourcePos -> Char -> SourcePosSource
updatePosString :: SourcePos -> String -> SourcePosSource
Produced by Haddock version 2.4.2