language-thrift-0.1.0.0: Parser for the Thrift IDL format.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Thrift.Types

Documentation

data Program srcAnnot Source

Constructors

Program 

Instances

Eq srcAnnot => Eq (Program srcAnnot) 
Data srcAnnot => Data (Program srcAnnot) 
Ord srcAnnot => Ord (Program srcAnnot) 
Show srcAnnot => Show (Program srcAnnot) 
Generic (Program srcAnnot) 
Typeable (* -> *) Program 
type Rep (Program srcAnnot) 

data Definition srcAnnot Source

Instances

Eq srcAnnot => Eq (Definition srcAnnot) 
Data srcAnnot => Data (Definition srcAnnot) 
Ord srcAnnot => Ord (Definition srcAnnot) 
Show srcAnnot => Show (Definition srcAnnot) 
Generic (Definition srcAnnot) 
Typeable (* -> *) Definition 
type Rep (Definition srcAnnot) 

data Type srcAnnot Source

Constructors

Typedef 
Enum 

Fields

enumName :: Text
 
enumValues :: [EnumDef srcAnnot]
 
enumSrcAnnot :: srcAnnot
 
Struct 

Fields

structName :: Text
 
structFields :: [Field srcAnnot]
 
structSrcAnnot :: srcAnnot
 
Union 

Fields

unionName :: Text
 
unionFields :: [Field srcAnnot]
 
unionSrcAnnot :: srcAnnot
 
Exception 

Fields

exceptionName :: Text
 
exceptionFields :: [Field srcAnnot]
 
exceptionSrcAnnot :: srcAnnot
 
Senum 

Fields

senumName :: Text
 
senumValues :: [Text]
 
senumSrcAnnot :: srcAnnot
 

Instances

Eq srcAnnot => Eq (Type srcAnnot) 
Data srcAnnot => Data (Type srcAnnot) 
Ord srcAnnot => Ord (Type srcAnnot) 
Show srcAnnot => Show (Type srcAnnot) 
Generic (Type srcAnnot) 
Typeable (* -> *) Type 
type Rep (Type srcAnnot) 

data Field srcAnnot Source

Instances

Eq srcAnnot => Eq (Field srcAnnot) 
Data srcAnnot => Data (Field srcAnnot) 
Ord srcAnnot => Ord (Field srcAnnot) 
Show srcAnnot => Show (Field srcAnnot) 
Generic (Field srcAnnot) 
Typeable (* -> *) Field 
type Rep (Field srcAnnot) 

data EnumDef srcAnnot Source

Instances

Eq srcAnnot => Eq (EnumDef srcAnnot) 
Data srcAnnot => Data (EnumDef srcAnnot) 
Ord srcAnnot => Ord (EnumDef srcAnnot) 
Show srcAnnot => Show (EnumDef srcAnnot) 
Generic (EnumDef srcAnnot) 
Typeable (* -> *) EnumDef 
type Rep (EnumDef srcAnnot) 

data Function srcAnnot Source

Instances

Eq srcAnnot => Eq (Function srcAnnot) 
Data srcAnnot => Data (Function srcAnnot) 
Ord srcAnnot => Ord (Function srcAnnot) 
Show srcAnnot => Show (Function srcAnnot) 
Generic (Function srcAnnot) 
Typeable (* -> *) Function 
type Rep (Function srcAnnot)