diff options
author | 2021-06-27 23:21:42 +0200 | |
---|---|---|
committer | 2021-06-27 23:30:25 +0200 | |
commit | 7febe0b4781c5bb0fab34895ad642040ae143a8b (patch) | |
tree | 5bc49f9195b18a938382f2527ee4ab273527a07a /language-model/src/main/resources/model/problem.genmodel | |
parent | Electric semicolons (diff) | |
download | refinery-7febe0b4781c5bb0fab34895ad642040ae143a8b.tar.gz refinery-7febe0b4781c5bb0fab34895ad642040ae143a8b.tar.zst refinery-7febe0b4781c5bb0fab34895ad642040ae143a8b.zip |
Add data constant support
Diffstat (limited to 'language-model/src/main/resources/model/problem.genmodel')
-rw-r--r-- | language-model/src/main/resources/model/problem.genmodel | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/language-model/src/main/resources/model/problem.genmodel b/language-model/src/main/resources/model/problem.genmodel index 8a881ff7..fb93d60e 100644 --- a/language-model/src/main/resources/model/problem.genmodel +++ b/language-model/src/main/resources/model/problem.genmodel | |||
@@ -62,8 +62,8 @@ | |||
62 | </genClasses> | 62 | </genClasses> |
63 | <genClasses ecoreClass="problem.ecore#//Assertion"> | 63 | <genClasses ecoreClass="problem.ecore#//Assertion"> |
64 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/relation"/> | 64 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/relation"/> |
65 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/arguments"/> | ||
66 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Assertion/value"/> | 65 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Assertion/value"/> |
66 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//Assertion/arguments"/> | ||
67 | </genClasses> | 67 | </genClasses> |
68 | <genClasses ecoreClass="problem.ecore#//Node"/> | 68 | <genClasses ecoreClass="problem.ecore#//Node"/> |
69 | <genClasses ecoreClass="problem.ecore#//ScopeDeclaration"> | 69 | <genClasses ecoreClass="problem.ecore#//ScopeDeclaration"> |
@@ -84,13 +84,38 @@ | |||
84 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ExactMultiplicity/exactValue"/> | 84 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//ExactMultiplicity/exactValue"/> |
85 | </genClasses> | 85 | </genClasses> |
86 | <genClasses ecoreClass="problem.ecore#//UnboundedMultiplicity"/> | 86 | <genClasses ecoreClass="problem.ecore#//UnboundedMultiplicity"/> |
87 | <genClasses ecoreClass="problem.ecore#//Argument"> | 87 | <genClasses ecoreClass="problem.ecore#//VariableOrNodeArgument"> |
88 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Argument/variableOrNode"/> | 88 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//VariableOrNodeArgument/variableOrNode"/> |
89 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//Argument/singletonVariable"/> | 89 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//VariableOrNodeArgument/singletonVariable"/> |
90 | </genClasses> | 90 | </genClasses> |
91 | <genClasses ecoreClass="problem.ecore#//EnumDeclaration"> | 91 | <genClasses ecoreClass="problem.ecore#//EnumDeclaration"> |
92 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//EnumDeclaration/literals"/> | 92 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//EnumDeclaration/literals"/> |
93 | </genClasses> | 93 | </genClasses> |
94 | <genClasses ecoreClass="problem.ecore#//VariableOrNode"/> | 94 | <genClasses ecoreClass="problem.ecore#//VariableOrNode"/> |
95 | <genClasses ecoreClass="problem.ecore#//Constant"/> | ||
96 | <genClasses ecoreClass="problem.ecore#//IntConstant"> | ||
97 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//IntConstant/intValue"/> | ||
98 | </genClasses> | ||
99 | <genClasses ecoreClass="problem.ecore#//RealConstant"> | ||
100 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//RealConstant/realValue"/> | ||
101 | </genClasses> | ||
102 | <genClasses ecoreClass="problem.ecore#//StringConstant"> | ||
103 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//StringConstant/stringValue"/> | ||
104 | </genClasses> | ||
105 | <genClasses ecoreClass="problem.ecore#//ConstantArgument"> | ||
106 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ConstantArgument/constant"/> | ||
107 | </genClasses> | ||
108 | <genClasses ecoreClass="problem.ecore#//Argument"/> | ||
109 | <genClasses ecoreClass="problem.ecore#//NodeAssertionArgument"> | ||
110 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//NodeAssertionArgument/node"/> | ||
111 | </genClasses> | ||
112 | <genClasses ecoreClass="problem.ecore#//AssertionArgument"/> | ||
113 | <genClasses ecoreClass="problem.ecore#//ConstantAssertionArgument"> | ||
114 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//ConstantAssertionArgument/constant"/> | ||
115 | </genClasses> | ||
116 | <genClasses ecoreClass="problem.ecore#//NodeValueAssertion"> | ||
117 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference problem.ecore#//NodeValueAssertion/node"/> | ||
118 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference problem.ecore#//NodeValueAssertion/value"/> | ||
119 | </genClasses> | ||
95 | </genPackages> | 120 | </genPackages> |
96 | </genmodel:GenModel> | 121 | </genmodel:GenModel> |