blob: 6a06f1e705e6a8969df4359233e343144b3b680a (
plain)
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
|
<?xml version="1.0" standalone="yes"?>
<!--<typesystem name="color">
<types>
<struct name="color">
<field name="r" type="int"/>
<field name="g" type="int"/>
<field name="b" type="int"/>
</struct>
</types>
<constants>
<constant name="zero" value="0" type="int" />
<constant name="zeros" value="[0, 0, 0]" type="int[]" />
<constant name="manyZeros" value="[[0, 0], [0, 0], [0, 0]]" type="int[][]" />
<constant name="black" value="[zero, zero, zero]" type="color" />
</constants>
<types>
<struct name="structWithColor">
<field name="color" type="color" default="black" />
</struct>
</types>
<constants>
<constant name="blackStructWithColor" value="[color=black]" type="structWithColor" />
</constants>
</typesystem>-->
<domain name="color">
<structs>
<struct name="bla" cardinality="{1,2}" isa="blub"/>
<struct name="blub" cardinality="{1-3,5,>7}">
<fields>
<field></field>
<primitive/>
</fields>
</struct>
</structs>
</domain>
|