ghc-lib-0.20190204: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

BkpSyn

Description

This is the syntax for bkp files which are parsed in 'ghc --backpack' mode. This syntax is used purely for testing purposes.

Backpack abstract syntax

data HsUnitId n Source #

Constructors

type LHsUnitId n = Located (HsUnitId n) Source #

type HsModuleSubst n = (Located ModuleName, LHsModuleId n) Source #

type LHsModuleSubst n = Located (HsModuleSubst n) Source #

data HsModuleId n Source #

Constructors

type LHsModuleId n = Located (HsModuleId n) Source #

data HsComponentId Source #

Constructors

Instances
Instance details

Defined in BkpSyn

type LHsUnit n = Located (HsUnit n) Source #

data HsUnit n Source #

Top level unit declaration in a Backpack file.

Constructors

type LHsUnitDecl n = Located (HsUnitDecl n) Source #

data HsUnitDecl n Source #

Constructors

data HsDeclType Source #

A declaration in a package, e.g. a module or signature definition, or an include.

Constructors

data IncludeDecl n Source #

An include of another unit

Constructors

Fields

type LRenaming = Located Renaming Source #

data Renaming Source #

Rename a module from one name to another. The identity renaming means that the module should be brought into scope.

Constructors

AltStyle によって変換されたページ (->オリジナル) /