cil-0.1.1: An interface to CIL.

Language.CIL.Types

Synopsis

Documentation

type Name = StringSource

Identifiers.

data Type Source

Types.

Constructors

Void 
Array Int Type 
Ptr Type 
Volatile Type

A volatile qualified type.

Typedef Type 
Struct [(Name, Type)] 
Union [(Name, Type)] 
Enum [(Name, Int)] 
BitField Type [(Name, Int)] 
StructRef Name

Reference to a struct type.

UnionRef Name

Reference to a union type.

EnumRef Name

Reference to an enum type.

TypedefRef Name

Reference to a previously defined typedef.

Function Type [Type] 
Int8 
Int16 
Int32 
Word8 
Word16 
Word32 
Float 
Double 

Instances

data Init Source

Initialization expressions.

Constructors

Init Expr 
InitList [Init] 

Instances

data Apply Source

Function application.

Constructors

Apply Expr [Expr] 

Instances