diff options
author | 2024-02-02 16:28:19 +0100 | |
---|---|---|
committer | 2024-02-02 17:36:24 +0100 | |
commit | 2dfcb286216419976368ad926f8ac7f018aa2bf9 (patch) | |
tree | b9d235ebf2049e42e58126e743c782333d64681a /subprojects/language-model/src/main/resources/model/problem.ecore | |
parent | refactor: serialize solutions as modules (diff) | |
download | refinery-2dfcb286216419976368ad926f8ac7f018aa2bf9.tar.gz refinery-2dfcb286216419976368ad926f8ac7f018aa2bf9.tar.zst refinery-2dfcb286216419976368ad926f8ac7f018aa2bf9.zip |
refactor(language): name disambiguation
* Use fully qualified names starting with :: (as in C++) to unambiguously refer
to an element.
* Name shadowing within modules.
Diffstat (limited to 'subprojects/language-model/src/main/resources/model/problem.ecore')
-rw-r--r-- | subprojects/language-model/src/main/resources/model/problem.ecore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subprojects/language-model/src/main/resources/model/problem.ecore b/subprojects/language-model/src/main/resources/model/problem.ecore index aa05a2fe..f7c85290 100644 --- a/subprojects/language-model/src/main/resources/model/problem.ecore +++ b/subprojects/language-model/src/main/resources/model/problem.ecore | |||
@@ -270,4 +270,8 @@ | |||
270 | <eLiterals name="ATOM" value="1"/> | 270 | <eLiterals name="ATOM" value="1"/> |
271 | <eLiterals name="MULTI" value="2"/> | 271 | <eLiterals name="MULTI" value="2"/> |
272 | </eClassifiers> | 272 | </eClassifiers> |
273 | <eClassifiers xsi:type="ecore:EClass" name="ImportStatement" eSuperTypes="#//Statement"> | ||
274 | <eStructuralFeatures xsi:type="ecore:EReference" name="importedModule" eType="#//Problem"/> | ||
275 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="alias" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
276 | </eClassifiers> | ||
273 | </ecore:EPackage> | 277 | </ecore:EPackage> |