Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
type SyntaxTree = [Sel] Source
Syntax tree in our case is just a collection of syntactic elements.
Syntactic element corresponds to language features. Some of them have
direct corresponding constructor in Element
,
others have to be simplified first.
Value NRatio | Literal value |
Section [Sel] | Section |
Multi [Sel] | Multivalue |
CMulti [([Sel], [Sel])] | Conditional multivalue |
Reference String | Reference (name of variable) |
Range NRatio NRatio | Range of values |
Product Sel Sel | Product of principles |
Division Sel Sel | Division of principles |
Sum Sel Sel | Sum of principles |
Diff Sel Sel | Subtraction of principles |
Loop Sel Sel | Loop |
Rotation Sel Sel | Rotation |
Reverse Sel | Reversed principle |