Safe Haskell | None |
---|---|
Language | Haskell2010 |
HsImpExp
- type LImportDecl name = Located (ImportDecl name)
- data ImportDecl name = ImportDecl {
- ideclSourceSrc :: Maybe SourceText
- ideclName :: Located ModuleName
- ideclPkgQual :: Maybe FastString
- ideclSource :: Bool
- ideclSafe :: Bool
- ideclQualified :: Bool
- ideclImplicit :: Bool
- ideclAs :: Maybe ModuleName
- ideclHiding :: Maybe (Bool, Located [LIE name])
- simpleImportDecl :: ModuleName -> ImportDecl name
- type LIE name = Located (IE name)
- data IE name
- = IEVar (Located name)
- | IEThingAbs (Located name)
- | IEThingAll (Located name)
- | IEThingWith (Located name) [Located name]
- | IEModuleContents (Located ModuleName)
- | IEGroup Int HsDocString
- | IEDoc HsDocString
- | IEDocNamed String
- ieName :: IE name -> name
- ieNames :: IE a -> [a]
- pprImpExp :: (HasOccName name, OutputableBndr name) => name -> SDoc
Documentation
type LImportDecl name Source
Arguments
= Located (ImportDecl name) | When in a list this may have |
data ImportDecl name Source
A single Haskell import
declaration.
Constructors
ImportDecl | |
Fields
|
Instances
Data name => Data (ImportDecl name) | |
(OutputableBndr name, HasOccName name) => Outputable (ImportDecl name) | |
Typeable (* -> *) ImportDecl |
simpleImportDecl :: ModuleName -> ImportDecl name Source
Imported or exported entity.
Constructors
IEVar (Located name) | |
IEThingAbs (Located name) | Class/Type (can't tell)
- |
IEThingAll (Located name) | ClassType plus all methodsconstructors |
IEThingWith (Located name) [Located name] | ClassType plus some methodsconstructors
- |
IEModuleContents (Located ModuleName) | (Export Only) |
IEGroup Int HsDocString | Doc section heading |
IEDoc HsDocString | Some documentation |
IEDocNamed String | Reference to named doc |
Instances
Eq name => Eq (IE name) | |
Data name => Data (IE name) | |
(HasOccName name, OutputableBndr name) => Outputable (IE name) | |
Typeable (* -> *) IE |
pprImpExp :: (HasOccName name, OutputableBndr name) => name -> SDoc Source