aboutsummaryrefslogtreecommitdiffstats
path: root/language-model/src/main/resources/model/builtin.problem_xmi
blob: 9255ab66d9841c21da7eb194dd6cb43d24ab51b0 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<problem:Problem
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:problem="https://refinery.tools/emf/2021/Problem"
    xsi:schemaLocation="https://refinery.tools/emf/2021/Problem problem.ecore"
    name="builtin">
  <statements
      xsi:type="problem:ClassDeclaration"
      name="node"
      abstract="true">
    <referenceDeclarations
        name="equals"
        referenceType="//@statements.0"
        opposite="//@statements.0/@referenceDeclarations.0">
      <multiplicity
          xsi:type="problem:UnboundedMultiplicity"/>
    </referenceDeclarations>
  </statements>
  <statements
      xsi:type="problem:PredicateDefinition"
      name="exists">
    <parameters
        name="node"
        parameterType="//@statements.0"/>
  </statements>
  <statements
      xsi:type="problem:ClassDeclaration"
      name="domain"
      abstract="true"
      superTypes="//@statements.0"/>
  <statements
      xsi:type="problem:ClassDeclaration"
      name="data"
      abstract="true"
      superTypes="//@statements.0"/>
  <statements
      xsi:type="problem:EnumDeclaration"
      name="bool">
    <literals
        name="false"/>
    <literals
        name="true"/>
  </statements>
  <statements
      xsi:type="problem:ClassDeclaration"
      name="real"
      superTypes="//@statements.3">
    <newNode
        name="new"/>
  </statements>
  <statements
      xsi:type="problem:ClassDeclaration"
      name="int"
      superTypes="//@statements.3">
    <newNode
        name="new"/>
  </statements>
  <statements
      xsi:type="problem:ClassDeclaration"
      name="string"
      superTypes="//@statements.3">
    <newNode
        name="new"/>
  </statements>
</problem:Problem>