Portability | portable |
---|---|
Stability | provisional |
Maintainer | iavor.diatchki@gmail.com |
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