diff options
Diffstat (limited to 'subprojects/language-model/src/main/resources/model/problem.genmodel')
-rw-r--r-- | subprojects/language-model/src/main/resources/model/problem.genmodel | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/subprojects/language-model/src/main/resources/model/problem.genmodel b/subprojects/language-model/src/main/resources/model/problem.genmodel index 230f9919..c5d7c0ea 100644 --- a/subprojects/language-model/src/main/resources/model/problem.genmodel +++ b/subprojects/language-model/src/main/resources/model/problem.genmodel | |||
@@ -29,9 +29,9 @@ | |||
29 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/GREATER_EQ"/> | 29 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/GREATER_EQ"/> |
30 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/EQ"/> | 30 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/EQ"/> |
31 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/NOT_EQ"/> | 31 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/NOT_EQ"/> |
32 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ComparisonOp/IN"/> | ||
32 | </genEnums> | 33 | </genEnums> |
33 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//ReferenceKind"> | 34 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//ReferenceKind"> |
34 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/DEFAULT"/> | ||
35 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/REFERENCE"/> | 35 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/REFERENCE"/> |
36 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/CONTAINMENT"/> | 36 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/CONTAINMENT"/> |
37 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/CONTAINER"/> | 37 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//ReferenceKind/CONTAINER"/> |
@@ -52,6 +52,8 @@ | |||
52 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/MUL"/> | 52 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/MUL"/> |
53 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/DIV"/> | 53 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/DIV"/> |
54 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/POW"/> | 54 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/POW"/> |
55 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/MEET"/> | ||
56 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//BinaryOp/JOIN"/> | ||
55 | </genEnums> | 57 | </genEnums> |
56 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//AggregationOp"> | 58 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//AggregationOp"> |
57 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/SUM"/> | 59 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/SUM"/> |
@@ -59,13 +61,18 @@ | |||
59 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/MIN"/> | 61 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/MIN"/> |
60 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/MAX"/> | 62 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//AggregationOp/MAX"/> |
61 | </genEnums> | 63 | </genEnums> |
64 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//PrimitiveType"> | ||
65 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//PrimitiveType/INT"/> | ||
66 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//PrimitiveType/REAL"/> | ||
67 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//PrimitiveType/STRING"/> | ||
68 | </genEnums> | ||
62 | <genClasses ecoreClass="problem.ecore#//Problem"> | 69 | <genClasses ecoreClass="problem.ecore#//Problem"> |
63 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Problem/nodes"/> | 70 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Problem/nodes"/> |
64 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Problem/statements"/> | 71 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Problem/statements"/> |
65 | </genClasses> | 72 | </genClasses> |
66 | <genClasses ecoreClass="problem.ecore#//ClassDeclaration"> | 73 | <genClasses ecoreClass="problem.ecore#//ClassDeclaration"> |
67 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ClassDeclaration/abstract"/> | 74 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ClassDeclaration/abstract"/> |
68 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/referenceDeclarations"/> | 75 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/featureDeclarations"/> |
69 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/newNode"/> | 76 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/newNode"/> |
70 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/superTypes"/> | 77 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//ClassDeclaration/superTypes"/> |
71 | </genClasses> | 78 | </genClasses> |
@@ -97,10 +104,10 @@ | |||
97 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ExistentialQuantifier/implicitVariables"/> | 104 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ExistentialQuantifier/implicitVariables"/> |
98 | </genClasses> | 105 | </genClasses> |
99 | <genClasses ecoreClass="problem.ecore#//Assertion"> | 106 | <genClasses ecoreClass="problem.ecore#//Assertion"> |
100 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Assertion/value"/> | ||
101 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/arguments"/> | 107 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/arguments"/> |
102 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Assertion/default"/> | 108 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Assertion/default"/> |
103 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/relation"/> | 109 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/relation"/> |
110 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/value"/> | ||
104 | </genClasses> | 111 | </genClasses> |
105 | <genClasses ecoreClass="problem.ecore#//Node"/> | 112 | <genClasses ecoreClass="problem.ecore#//Node"/> |
106 | <genClasses ecoreClass="problem.ecore#//ScopeDeclaration"> | 113 | <genClasses ecoreClass="problem.ecore#//ScopeDeclaration"> |
@@ -139,15 +146,6 @@ | |||
139 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//NodeAssertionArgument/node"/> | 146 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//NodeAssertionArgument/node"/> |
140 | </genClasses> | 147 | </genClasses> |
141 | <genClasses ecoreClass="problem.ecore#//AssertionArgument"/> | 148 | <genClasses ecoreClass="problem.ecore#//AssertionArgument"/> |
142 | <genClasses ecoreClass="problem.ecore#//ConstantAssertionArgument"> | ||
143 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ConstantAssertionArgument/constant"/> | ||
144 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ConstantAssertionArgument/node"/> | ||
145 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ConstantAssertionArgument/negative"/> | ||
146 | </genClasses> | ||
147 | <genClasses ecoreClass="problem.ecore#//NodeValueAssertion"> | ||
148 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//NodeValueAssertion/node"/> | ||
149 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//NodeValueAssertion/value"/> | ||
150 | </genClasses> | ||
151 | <genClasses ecoreClass="problem.ecore#//IndividualDeclaration"> | 149 | <genClasses ecoreClass="problem.ecore#//IndividualDeclaration"> |
152 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//IndividualDeclaration/nodes"/> | 150 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//IndividualDeclaration/nodes"/> |
153 | </genClasses> | 151 | </genClasses> |
@@ -199,13 +197,10 @@ | |||
199 | <genClasses ecoreClass="problem.ecore#//ComparisonExpr"> | 197 | <genClasses ecoreClass="problem.ecore#//ComparisonExpr"> |
200 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ComparisonExpr/op"/> | 198 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ComparisonExpr/op"/> |
201 | </genClasses> | 199 | </genClasses> |
202 | <genClasses ecoreClass="problem.ecore#//ConstantExpr"> | ||
203 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ConstantExpr/constant"/> | ||
204 | </genClasses> | ||
205 | <genClasses ecoreClass="problem.ecore#//QuantifiedUnaryExpr"/> | 200 | <genClasses ecoreClass="problem.ecore#//QuantifiedUnaryExpr"/> |
206 | <genClasses ecoreClass="problem.ecore#//FunctionDefinition"> | 201 | <genClasses ecoreClass="problem.ecore#//FunctionDefinition"> |
207 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//FunctionDefinition/cases"/> | 202 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//FunctionDefinition/cases"/> |
208 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//FunctionDefinition/functionType"/> | 203 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//FunctionDefinition/functionType"/> |
209 | </genClasses> | 204 | </genClasses> |
210 | <genClasses ecoreClass="problem.ecore#//Case"/> | 205 | <genClasses ecoreClass="problem.ecore#//Case"/> |
211 | <genClasses ecoreClass="problem.ecore#//Conjunction"> | 206 | <genClasses ecoreClass="problem.ecore#//Conjunction"> |
@@ -224,5 +219,20 @@ | |||
224 | <genClasses ecoreClass="problem.ecore#//ModalExpr"> | 219 | <genClasses ecoreClass="problem.ecore#//ModalExpr"> |
225 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ModalExpr/modality"/> | 220 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ModalExpr/modality"/> |
226 | </genClasses> | 221 | </genClasses> |
222 | <genClasses ecoreClass="problem.ecore#//RangeExpr"/> | ||
223 | <genClasses ecoreClass="problem.ecore#//InfConstant"/> | ||
224 | <genClasses ecoreClass="problem.ecore#//FeatureDeclaration"/> | ||
225 | <genClasses ecoreClass="problem.ecore#//AttributeDeclaration"> | ||
226 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//AttributeDeclaration/attributeType"/> | ||
227 | </genClasses> | ||
228 | <genClasses ecoreClass="problem.ecore#//FlagDeclaration"/> | ||
229 | <genClasses ecoreClass="problem.ecore#//AssertionValue"/> | ||
230 | <genClasses ecoreClass="problem.ecore#//LogicAssertionValue"> | ||
231 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//LogicAssertionValue/logicValue"/> | ||
232 | </genClasses> | ||
233 | <genClasses ecoreClass="problem.ecore#//ExprAssertionValue"> | ||
234 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ExprAssertionValue/body"/> | ||
235 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ExprAssertionValue/range"/> | ||
236 | </genClasses> | ||
227 | </genPackages> | 237 | </genPackages> |
228 | </genmodel:GenModel> | 238 | </genmodel:GenModel> |