ghc-6.12.3: The GHC APISource codeContentsIndex
HsImpExp
Synopsis
type LImportDecl name = Located (ImportDecl name)
data ImportDecl name = ImportDecl {
ideclName :: Located ModuleName
ideclPkgQual :: Maybe FastString
ideclSource :: Bool
ideclQualified :: Bool
ideclAs :: Maybe ModuleName
ideclHiding :: Maybe (Bool, [LIE name])
}
type LIE name = Located (IE name)
data IE name
= IEVar name
| IEThingAbs name
| IEThingAll name
| IEThingWith name [name]
| IEModuleContents ModuleName
| IEGroup Int HsDocString
| IEDoc HsDocString
| IEDocNamed String
ieName :: IE name -> name
ieNames :: IE a -> [a]
Documentation
type LImportDecl name = Located (ImportDecl name)Source
data ImportDecl name Source
A single Haskell import declaration.
Constructors
ImportDecl
ideclName :: Located ModuleNameModule name.
ideclPkgQual :: Maybe FastStringPackage qualifier.
ideclSource :: BoolTrue = {--} import
ideclQualified :: BoolTrue => qualified
ideclAs :: Maybe ModuleNameas Module
ideclHiding :: Maybe (Bool, [LIE name])(True => hiding, names)
show/hide Instances
type LIE name = Located (IE name)Source
data IE name Source
Imported or exported entity.
Constructors
IEVar name
IEThingAbs nameClass/Type (can't tell)
IEThingAll nameClassType plus all methodsconstructors
IEThingWith name [name]ClassType plus some methodsconstructors
IEModuleContents ModuleName(Export Only)
IEGroup Int HsDocStringDoc section heading
IEDoc HsDocStringSome documentation
IEDocNamed StringReference to named doc
show/hide Instances
Outputable name => Outputable (IE name)
ieName :: IE name -> nameSource
ieNames :: IE a -> [a]Source
Produced by Haddock version 2.6.1