HsDecls

Toplevel declarations

data HsDecl id
type LHsDecl id

Class or type declarations

data TyClDecl name
type LTyClDecl name

Instance declarations

data InstDecl name
type LInstDecl name
data NewOrData

Standalone deriving declarations

data DerivDecl name
type LDerivDecl name

RULE declarations

data RuleDecl name
type LRuleDecl name
data RuleBndr name

default declarations

data DefaultDecl name
type LDefaultDecl name

Top-level template haskell splice

data SpliceDecl id

Foreign function interface declarations

data ForeignDecl name
type LForeignDecl name

Data-constructor declarations

data ConDecl name
type LConDecl name
data ResType name
type HsConDeclDetails name

Document comments

data DocDecl
type LDocDecl

Deprecations

data WarnDecl name
type LWarnDecl name

Annotations

data AnnDecl name
type LAnnDecl name
data AnnProvenance name

Grouping

data HsGroup id