aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/src/main/webapp/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'language-web/src/main/webapp/index.html')
-rw-r--r--language-web/src/main/webapp/index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/language-web/src/main/webapp/index.html b/language-web/src/main/webapp/index.html
index 97c4dbab..3e068f68 100644
--- a/language-web/src/main/webapp/index.html
+++ b/language-web/src/main/webapp/index.html
@@ -22,8 +22,9 @@
22 22
23class Person { 23class Person {
24 Person[] children opposite parent 24 Person[] children opposite parent
25 Person parent opposite children 25 Person[0..1] parent opposite children
26 TaxStatus[1] taxStatus 26 int age
27 TaxStatus taxStatus
27} 28}
28 29
29enum TaxStatus { 30enum TaxStatus {
@@ -41,6 +42,10 @@ members('family', ciri).
41children(anne, ciri). 42children(anne, ciri).
42?children(bob, ciri). 43?children(bob, ciri).
43taxStatus(anne, adult). 44taxStatus(anne, adult).
45age(anne, 35).
46bobAge: 27.
47age(bob, bobAge).
48!age(ciri, bobAge).
44 49
45scope Family = 1, Person += 5..10. 50scope Family = 1, Person += 5..10.
46</pre></div> 51</pre></div>