Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.AST.SourcePos
Description
Source position information
- type SourceAnn = (SourceSpan, [Comment])
- data SourcePos = SourcePos {}
- displaySourcePos :: SourcePos -> Text
- data SourceSpan = SourceSpan {}
- displayStartEndPos :: SourceSpan -> Text
- displaySourceSpan :: FilePath -> SourceSpan -> Text
- internalModuleSourceSpan :: String -> SourceSpan
- nullSourceSpan :: SourceSpan
Documentation
type SourceAnn = (SourceSpan, [Comment]) Source #
Source annotation - position information and comments.
Source position information
Constructors
SourcePos | |
Fields
|
displaySourcePos :: SourcePos -> Text Source #
displayStartEndPos :: SourceSpan -> Text Source #
displaySourceSpan :: FilePath -> SourceSpan -> Text Source #