ghc-tags-core-0.5.0.0: a library to work with tags created from Haskell parsed tree
Safe HaskellSafe-Inferred
LanguageHaskell2010

GhcTags.CTag.Header

Contents

Synopsis

Documentation

data Header where Source #

A type safe representation of a ctag header.

Constructors

Header 

Fields

Instances

Instances details
Show Header Source # 
Instance details

Defined in GhcTags.CTag.Header

NFData Header Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

rnf :: Header -> () #

Eq Header Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

(==) :: Header -> Header -> Bool #

(/=) :: Header -> Header -> Bool #

data HeaderType ty where Source #

Enumeration of header type and values of their corresponding argument

Instances

Instances details
Show (HeaderType ty) Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

showsPrec :: Int -> HeaderType ty -> ShowS #

show :: HeaderType ty -> String #

showList :: [HeaderType ty] -> ShowS #

NFData (HeaderType ty) Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

rnf :: HeaderType ty -> () #

Eq (HeaderType ty) Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

(==) :: HeaderType ty -> HeaderType ty -> Bool #

(/=) :: HeaderType ty -> HeaderType ty -> Bool #

Ord (HeaderType ty) Source # 
Instance details

Defined in GhcTags.CTag.Header

Methods

compare :: HeaderType ty -> HeaderType ty -> Ordering #

(<) :: HeaderType ty -> HeaderType ty -> Bool #

(<=) :: HeaderType ty -> HeaderType ty -> Bool #

(>) :: HeaderType ty -> HeaderType ty -> Bool #

(>=) :: HeaderType ty -> HeaderType ty -> Bool #

max :: HeaderType ty -> HeaderType ty -> HeaderType ty #

min :: HeaderType ty -> HeaderType ty -> HeaderType ty #

data SomeHeaderType where Source #

Existential wrapper.

Constructors

SomeHeaderType :: forall ty. HeaderType ty -> SomeHeaderType 

Utils

data SingHeaderType ty where Source #

Singletons which makes it easier to work with HeaderType