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

Safe HaskellSafe-Inferred

Language.Clafer.Front.Absclafer

Description

Abstract syntax of the Clafer language.

Documentation

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 Goal Source

Constructors

Goal [Exp] 
PosGoal Span [Exp] 

Instances

Eq Goal 
Ord Goal 
Show Goal 
Mappable Goal 
Print Goal 

data Name Source

Constructors

Path [ModId] 
PosPath Span [ModId] 

Instances

Eq Name 
Ord Name 
Show Name 
Mappable Name 
Print Name 

data Decl Source

Constructors

Decl [LocId] SetExp 
PosDecl Span [LocId] SetExp 

Instances

Eq Decl 
Ord Decl 
Show Decl 
Mappable Decl 
Print Decl 

data Pos Source

Constructors

Pos Integer Integer 
PosPos Span Integer Integer 

Instances

Eq Pos 
Data Pos 
Ord Pos 
Show Pos 
Typeable Pos 
Print Pos 

data Span Source

Constructors

Span Pos Pos 
PosSpan Span Pos Pos 

Instances