ghc-8.10.0.20191123: The GHC API
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.

Synopsis

Backpack abstract syntax

data HsUnitId n Source #

Constructors

HsUnitId (Located n) [LHsModuleSubst n] 

data HsComponentId Source #

Instances

Instances details
Outputable HsComponentId # 
Instance details

Defined in BkpSyn

data HsUnit n Source #

Top level unit declaration in a Backpack file.

Constructors

HsUnit 

data HsUnitDecl n Source #

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

data IncludeDecl n Source #

An include of another unit

Constructors

IncludeDecl 

Fields

data Renaming Source #

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