Portability | portable |
---|---|
Stability | provisional |
Maintainer | daan@cs.uu.nl |
Textual source positions.
Documentation
type SourceName = StringSource
sourceLine :: SourcePos -> LineSource
incSourceLine :: SourcePos -> Line -> SourcePosSource
incSourceColumn :: SourcePos -> Column -> SourcePosSource
setSourceLine :: SourcePos -> Line -> SourcePosSource
setSourceColumn :: SourcePos -> Column -> SourcePosSource
setSourceName :: SourcePos -> SourceName -> SourcePosSource
updatePosChar :: SourcePos -> Char -> SourcePosSource
updatePosString :: SourcePos -> String -> SourcePosSource