clafer-0.3.7: clafer compiles Clafer models to other formats, such as Alloy, XML, HTML, Dot.

Safe HaskellSafe-Inferred

Language.Clafer.Front.Absclafer

Documentation

data Pos Source

Constructors

Pos Integer Integer 

Instances

Eq Pos 
Data Pos 
Ord Pos 
Read Pos 
Show Pos 
Typeable Pos 
Generic Pos 

data Span Source

Constructors

Span Pos Pos 

Instances

Eq Span 
Data Span 
Ord Span 
Read Span 
Show Span 
Typeable Span 
Generic Span 

len :: [a] -> IntegerSource

newtype PosInteger Source

Constructors

PosInteger ((Int, Int), String) 

newtype PosDouble Source

Constructors

PosDouble ((Int, Int), String) 

newtype PosString Source

Constructors

PosString ((Int, Int), String) 

newtype PosIdent Source

Constructors

PosIdent ((Int, Int), String) 

data Module Source

Constructors

Module Span [Declaration] 

Instances

data Goal Source

Constructors

Goal Span [Exp] 

Instances

Eq Goal 
Data Goal 
Ord Goal 
Read Goal 
Show Goal 
Typeable Goal 
Generic Goal 
Spannable Goal 
Print Goal 

data Super Source

Instances

data Init Source

Instances

Eq Init 
Data Init 
Ord Init 
Read Init 
Show Init 
Typeable Init 
Generic Init 
Spannable Init 
Print Init 

data NCard Source

Instances

data Name Source

Constructors

Path Span [ModId] 

Instances

Eq Name 
Data Name 
Ord Name 
Read Name 
Show Name 
Typeable Name 
Generic Name 
Spannable Name 
Print Name 

data Decl Source

Constructors

Decl Span [LocId] SetExp 

Instances

Eq Decl 
Data Decl 
Ord Decl 
Read Decl 
Show Decl 
Typeable Decl 
Generic Decl 
Spannable Decl 
Print Decl 

data EnumId Source

Constructors

EnumIdIdent Span PosIdent 

Instances

data ModId Source

Constructors

ModIdIdent Span PosIdent 

Instances

data LocId Source

Constructors

LocIdIdent Span PosIdent 

Instances