Safe Haskell | None |
---|---|
Language | Haskell2010 |
HsImport.Types
Documentation
type Annotation = (SrcSpanInfo, [Comment]) Source #
type Decl = Decl Annotation Source #
type ImportDecl = ImportDecl Annotation Source #
type ImportSpec = ImportSpec Annotation Source #
type Name = Name Annotation Source #
type CName = CName Annotation Source #
type Module = Module Annotation Source #
type ModuleName = String Source #
type ErrorMessage = String Source #
data ParseResult Source #
Constructors
ParseResult | |
Fields
|
firstSrcLine :: Annotation -> SrcLine Source #
lastSrcLine :: Annotation -> SrcLine Source #
firstSrcColumn :: Annotation -> SrcColumn Source #
lastSrcColumn :: Annotation -> SrcColumn Source #
srcSpan :: Annotation -> SrcSpan Source #
srcSpans :: Annotation -> [SrcSpan] Source #