-
Notifications
You must be signed in to change notification settings - Fork 3
/
Icecream.uvl
36 lines (36 loc) · 941 Bytes
/
Icecream.uvl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
features
"Ice Cream" {abstract}
mandatory
Category
alternative
Popsicle {Price 1}
Scoop {Price 2}
Flavors
or
Lemon
Vanilla
Chocolate cardinality [1..3] // Clonable feature
alternative
White
Dark
Container
alternative
Stick
Cup
Cone
optional
Waffle {Price 0.7}
String "Name of customer"
Integer Scoops
Topping
or
Caramel
"Whipped cream"
Sprinkles
constraints
Scoops
!Waffle
Popsicle => Stick
Scoop => Cup | Cone
Topping => Caramel
Vanilla => Topping