diff options
author | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-14 13:07:08 -0500 |
---|---|---|
committer | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-14 13:07:08 -0500 |
commit | 0de1dbfaed208ba70863abe3671f868f168bc9cd (patch) | |
tree | 24961120f0d94d4da6fd1ac03e6776e224d493b0 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer | |
parent | Add aird file for crossingScenario Ecore (diff) | |
download | VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.gz VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.zst VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.zip |
Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer')
2 files changed, 1214 insertions, 1214 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java index ba322883..ae00e5c0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java | |||
@@ -1,1171 +1,1171 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.21.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.serializer; | 4 | package hu.bme.mit.inf.dslreasoner.application.serializer; |
5 | 5 | ||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; |
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; | 10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; |
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; | 11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; |
12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; | 12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; |
13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; | 13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; |
14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; | 14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; |
15 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | 15 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; |
16 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry; | 16 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry; |
17 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction; | 17 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction; |
18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; | 18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; |
19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; | 19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; |
20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; | 20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; |
21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; | 21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; |
22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; | 22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; |
23 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; | 23 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; |
24 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; | 24 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; |
25 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; | 25 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; |
26 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; | 26 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; |
27 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; | 27 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; |
28 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; | 28 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; |
29 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; | 29 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; |
30 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; | 30 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; |
31 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; | 31 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; |
32 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; | 32 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; |
33 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; | 33 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; |
34 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; | 34 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; |
35 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | 35 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; |
36 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; | 36 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; |
37 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; | 37 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; |
38 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; | 38 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; |
39 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; | 39 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; |
40 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; | 40 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; |
41 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; | 41 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; |
42 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference; | 42 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference; |
43 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; | 43 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; |
44 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry; | 44 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry; |
45 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; | 45 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; |
46 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; | 46 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; |
47 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; | 47 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; |
48 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; | 48 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; |
49 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | 49 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; |
50 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; | 50 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; |
51 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; | 51 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; |
52 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; | 52 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; |
53 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; | 53 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; |
54 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; | 54 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; |
55 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; | 55 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; |
56 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; | 56 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; |
57 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; | 57 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; |
58 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; | 58 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; |
59 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; | 59 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; |
60 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry; | 60 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry; |
61 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; | 61 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; |
62 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; | 62 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; |
63 | import java.util.Set; | 63 | import java.util.Set; |
64 | import org.eclipse.emf.ecore.EObject; | 64 | import org.eclipse.emf.ecore.EObject; |
65 | import org.eclipse.emf.ecore.EPackage; | 65 | import org.eclipse.emf.ecore.EPackage; |
66 | import org.eclipse.xtext.Action; | 66 | import org.eclipse.xtext.Action; |
67 | import org.eclipse.xtext.Parameter; | 67 | import org.eclipse.xtext.Parameter; |
68 | import org.eclipse.xtext.ParserRule; | 68 | import org.eclipse.xtext.ParserRule; |
69 | import org.eclipse.xtext.serializer.ISerializationContext; | 69 | import org.eclipse.xtext.serializer.ISerializationContext; |
70 | import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; | 70 | import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; |
71 | import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; | 71 | import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; |
72 | import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; | 72 | import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; |
73 | 73 | ||
74 | @SuppressWarnings("all") | 74 | @SuppressWarnings("all") |
75 | public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatingSemanticSequencer { | 75 | public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatingSemanticSequencer { |
76 | 76 | ||
77 | @Inject | 77 | @Inject |
78 | private ApplicationConfigurationGrammarAccess grammarAccess; | 78 | private ApplicationConfigurationGrammarAccess grammarAccess; |
79 | 79 | ||
80 | @Override | 80 | @Override |
81 | public void sequence(ISerializationContext context, EObject semanticObject) { | 81 | public void sequence(ISerializationContext context, EObject semanticObject) { |
82 | EPackage epackage = semanticObject.eClass().getEPackage(); | 82 | EPackage epackage = semanticObject.eClass().getEPackage(); |
83 | ParserRule rule = context.getParserRule(); | 83 | ParserRule rule = context.getParserRule(); |
84 | Action action = context.getAssignedAction(); | 84 | Action action = context.getAssignedAction(); |
85 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); | 85 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); |
86 | if (epackage == ApplicationConfigurationPackage.eINSTANCE) | 86 | if (epackage == ApplicationConfigurationPackage.eINSTANCE) |
87 | switch (semanticObject.eClass().getClassifierID()) { | 87 | switch (semanticObject.eClass().getClassifierID()) { |
88 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: | 88 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: |
89 | sequence_AllPackageEntry(context, (AllPackageEntry) semanticObject); | 89 | sequence_AllPackageEntry(context, (AllPackageEntry) semanticObject); |
90 | return; | 90 | return; |
91 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: | 91 | case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: |
92 | sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); | 92 | sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); |
93 | return; | 93 | return; |
94 | case ApplicationConfigurationPackage.CLASS_REFERENCE: | 94 | case ApplicationConfigurationPackage.CLASS_REFERENCE: |
95 | sequence_ClassReference(context, (ClassReference) semanticObject); | 95 | sequence_ClassReference(context, (ClassReference) semanticObject); |
96 | return; | 96 | return; |
97 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: | 97 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: |
98 | sequence_ClassTypeScope(context, (ClassTypeScope) semanticObject); | 98 | sequence_ClassTypeScope(context, (ClassTypeScope) semanticObject); |
99 | return; | 99 | return; |
100 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: | 100 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: |
101 | sequence_ConfigDeclaration(context, (ConfigDeclaration) semanticObject); | 101 | sequence_ConfigDeclaration(context, (ConfigDeclaration) semanticObject); |
102 | return; | 102 | return; |
103 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: | 103 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: |
104 | sequence_ConfigReference(context, (ConfigReference) semanticObject); | 104 | sequence_ConfigReference(context, (ConfigReference) semanticObject); |
105 | return; | 105 | return; |
106 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: | 106 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: |
107 | sequence_ConfigSpecification(context, (ConfigSpecification) semanticObject); | 107 | sequence_ConfigSpecification(context, (ConfigSpecification) semanticObject); |
108 | return; | 108 | return; |
109 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: | 109 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: |
110 | sequence_ConfigurationScript(context, (ConfigurationScript) semanticObject); | 110 | sequence_ConfigurationScript(context, (ConfigurationScript) semanticObject); |
111 | return; | 111 | return; |
112 | case ApplicationConfigurationPackage.COST_ENTRY: | 112 | case ApplicationConfigurationPackage.COST_ENTRY: |
113 | sequence_CostEntry(context, (CostEntry) semanticObject); | 113 | sequence_CostEntry(context, (CostEntry) semanticObject); |
114 | return; | 114 | return; |
115 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: | 115 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: |
116 | sequence_CostObjectiveFunction(context, (CostObjectiveFunction) semanticObject); | 116 | sequence_CostObjectiveFunction(context, (CostObjectiveFunction) semanticObject); |
117 | return; | 117 | return; |
118 | case ApplicationConfigurationPackage.CUSTOM_ENTRY: | 118 | case ApplicationConfigurationPackage.CUSTOM_ENTRY: |
119 | sequence_CustomEntry(context, (CustomEntry) semanticObject); | 119 | sequence_CustomEntry(context, (CustomEntry) semanticObject); |
120 | return; | 120 | return; |
121 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: | 121 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: |
122 | sequence_DocumentationEntry(context, (DocumentationEntry) semanticObject); | 122 | sequence_DocumentationEntry(context, (DocumentationEntry) semanticObject); |
123 | return; | 123 | return; |
124 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: | 124 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: |
125 | sequence_EPackageImport(context, (EPackageImport) semanticObject); | 125 | sequence_EPackageImport(context, (EPackageImport) semanticObject); |
126 | return; | 126 | return; |
127 | case ApplicationConfigurationPackage.EXACT_NUMBER: | 127 | case ApplicationConfigurationPackage.EXACT_NUMBER: |
128 | sequence_ExactNumber(context, (ExactNumber) semanticObject); | 128 | sequence_ExactNumber(context, (ExactNumber) semanticObject); |
129 | return; | 129 | return; |
130 | case ApplicationConfigurationPackage.FILE_DECLARATION: | 130 | case ApplicationConfigurationPackage.FILE_DECLARATION: |
131 | sequence_FileDeclaration(context, (FileDeclaration) semanticObject); | 131 | sequence_FileDeclaration(context, (FileDeclaration) semanticObject); |
132 | return; | 132 | return; |
133 | case ApplicationConfigurationPackage.FILE_REFERENCE: | 133 | case ApplicationConfigurationPackage.FILE_REFERENCE: |
134 | sequence_FileReference(context, (FileReference) semanticObject); | 134 | sequence_FileReference(context, (FileReference) semanticObject); |
135 | return; | 135 | return; |
136 | case ApplicationConfigurationPackage.FILE_SPECIFICATION: | 136 | case ApplicationConfigurationPackage.FILE_SPECIFICATION: |
137 | sequence_FileSpecification(context, (FileSpecification) semanticObject); | 137 | sequence_FileSpecification(context, (FileSpecification) semanticObject); |
138 | return; | 138 | return; |
139 | case ApplicationConfigurationPackage.FOLDER_ENTRY: | 139 | case ApplicationConfigurationPackage.FOLDER_ENTRY: |
140 | sequence_FolderEntry(context, (FolderEntry) semanticObject); | 140 | sequence_FolderEntry(context, (FolderEntry) semanticObject); |
141 | return; | 141 | return; |
142 | case ApplicationConfigurationPackage.GENERATION_TASK: | 142 | case ApplicationConfigurationPackage.GENERATION_TASK: |
143 | sequence_GenerationTask(context, (GenerationTask) semanticObject); | 143 | sequence_GenerationTask(context, (GenerationTask) semanticObject); |
144 | return; | 144 | return; |
145 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: | 145 | case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: |
146 | sequence_GraphPatternDeclaration(context, (GraphPatternDeclaration) semanticObject); | 146 | sequence_GraphPatternDeclaration(context, (GraphPatternDeclaration) semanticObject); |
147 | return; | 147 | return; |
148 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: | 148 | case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: |
149 | sequence_GraphPatternReference(context, (GraphPatternReference) semanticObject); | 149 | sequence_GraphPatternReference(context, (GraphPatternReference) semanticObject); |
150 | return; | 150 | return; |
151 | case ApplicationConfigurationPackage.INT_ENUMBERATION: | 151 | case ApplicationConfigurationPackage.INT_ENUMBERATION: |
152 | sequence_IntEnumberation(context, (IntEnumberation) semanticObject); | 152 | sequence_IntEnumberation(context, (IntEnumberation) semanticObject); |
153 | return; | 153 | return; |
154 | case ApplicationConfigurationPackage.INTEGER_SCOPE: | 154 | case ApplicationConfigurationPackage.INTEGER_SCOPE: |
155 | sequence_IntegerReference(context, (IntegerScope) semanticObject); | 155 | sequence_IntegerReference(context, (IntegerScope) semanticObject); |
156 | return; | 156 | return; |
157 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: | 157 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: |
158 | sequence_IntegerTypeScope(context, (IntegerTypeScope) semanticObject); | 158 | sequence_IntegerTypeScope(context, (IntegerTypeScope) semanticObject); |
159 | return; | 159 | return; |
160 | case ApplicationConfigurationPackage.INTERVALL_NUMBER: | 160 | case ApplicationConfigurationPackage.INTERVALL_NUMBER: |
161 | sequence_IntervallNumber(context, (IntervallNumber) semanticObject); | 161 | sequence_IntervallNumber(context, (IntervallNumber) semanticObject); |
162 | return; | 162 | return; |
163 | case ApplicationConfigurationPackage.MEMORY_ENTRY: | 163 | case ApplicationConfigurationPackage.MEMORY_ENTRY: |
164 | sequence_MemoryEntry(context, (MemoryEntry) semanticObject); | 164 | sequence_MemoryEntry(context, (MemoryEntry) semanticObject); |
165 | return; | 165 | return; |
166 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: | 166 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: |
167 | sequence_MetamodelDeclaration(context, (MetamodelDeclaration) semanticObject); | 167 | sequence_MetamodelDeclaration(context, (MetamodelDeclaration) semanticObject); |
168 | return; | 168 | return; |
169 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: | 169 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: |
170 | sequence_MetamodelElement(context, (MetamodelElement) semanticObject); | 170 | sequence_MetamodelElement(context, (MetamodelElement) semanticObject); |
171 | return; | 171 | return; |
172 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: | 172 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: |
173 | sequence_MetamodelReference(context, (MetamodelReference) semanticObject); | 173 | sequence_MetamodelReference(context, (MetamodelReference) semanticObject); |
174 | return; | 174 | return; |
175 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: | 175 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: |
176 | sequence_MetamodelSpecification(context, (MetamodelSpecification) semanticObject); | 176 | sequence_MetamodelSpecification(context, (MetamodelSpecification) semanticObject); |
177 | return; | 177 | return; |
178 | case ApplicationConfigurationPackage.MODEL_ENTRY: | 178 | case ApplicationConfigurationPackage.MODEL_ENTRY: |
179 | sequence_ModelEntry(context, (ModelEntry) semanticObject); | 179 | sequence_ModelEntry(context, (ModelEntry) semanticObject); |
180 | return; | 180 | return; |
181 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: | 181 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: |
182 | sequence_ObjectReference(context, (ObjectReference) semanticObject); | 182 | sequence_ObjectReference(context, (ObjectReference) semanticObject); |
183 | return; | 183 | return; |
184 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: | 184 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: |
185 | sequence_ObjectTypeScope(context, (ObjectTypeScope) semanticObject); | 185 | sequence_ObjectTypeScope(context, (ObjectTypeScope) semanticObject); |
186 | return; | 186 | return; |
187 | case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: | 187 | case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: |
188 | sequence_ObjectiveDeclaration(context, (ObjectiveDeclaration) semanticObject); | 188 | sequence_ObjectiveDeclaration(context, (ObjectiveDeclaration) semanticObject); |
189 | return; | 189 | return; |
190 | case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: | 190 | case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: |
191 | sequence_ObjectiveReference(context, (ObjectiveReference) semanticObject); | 191 | sequence_ObjectiveReference(context, (ObjectiveReference) semanticObject); |
192 | return; | 192 | return; |
193 | case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: | 193 | case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: |
194 | sequence_ObjectiveSpecification(context, (ObjectiveSpecification) semanticObject); | 194 | sequence_ObjectiveSpecification(context, (ObjectiveSpecification) semanticObject); |
195 | return; | 195 | return; |
196 | case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: | 196 | case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: |
197 | sequence_OptimizationEntry(context, (OptimizationEntry) semanticObject); | 197 | sequence_OptimizationEntry(context, (OptimizationEntry) semanticObject); |
198 | return; | 198 | return; |
199 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: | 199 | case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: |
200 | sequence_PartialModelDeclaration(context, (PartialModelDeclaration) semanticObject); | 200 | sequence_PartialModelDeclaration(context, (PartialModelDeclaration) semanticObject); |
201 | return; | 201 | return; |
202 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: | 202 | case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: |
203 | sequence_PartialModelReference(context, (PartialModelReference) semanticObject); | 203 | sequence_PartialModelReference(context, (PartialModelReference) semanticObject); |
204 | return; | 204 | return; |
205 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: | 205 | case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: |
206 | sequence_PartialModelSpecification(context, (PartialModelSpecification) semanticObject); | 206 | sequence_PartialModelSpecification(context, (PartialModelSpecification) semanticObject); |
207 | return; | 207 | return; |
208 | case ApplicationConfigurationPackage.PATTERN_ELEMENT: | 208 | case ApplicationConfigurationPackage.PATTERN_ELEMENT: |
209 | sequence_PatternElement(context, (PatternElement) semanticObject); | 209 | sequence_PatternElement(context, (PatternElement) semanticObject); |
210 | return; | 210 | return; |
211 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: | 211 | case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: |
212 | sequence_PatternSpecification(context, (PatternSpecification) semanticObject); | 212 | sequence_PatternSpecification(context, (PatternSpecification) semanticObject); |
213 | return; | 213 | return; |
214 | case ApplicationConfigurationPackage.REAL_ENUMERATION: | 214 | case ApplicationConfigurationPackage.REAL_ENUMERATION: |
215 | sequence_RealEnumeration(context, (RealEnumeration) semanticObject); | 215 | sequence_RealEnumeration(context, (RealEnumeration) semanticObject); |
216 | return; | 216 | return; |
217 | case ApplicationConfigurationPackage.REAL_SCOPE: | 217 | case ApplicationConfigurationPackage.REAL_SCOPE: |
218 | sequence_RealReference(context, (RealScope) semanticObject); | 218 | sequence_RealReference(context, (RealScope) semanticObject); |
219 | return; | 219 | return; |
220 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: | 220 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: |
221 | sequence_RealTypeScope(context, (RealTypeScope) semanticObject); | 221 | sequence_RealTypeScope(context, (RealTypeScope) semanticObject); |
222 | return; | 222 | return; |
223 | case ApplicationConfigurationPackage.RUNTIME_ENTRY: | 223 | case ApplicationConfigurationPackage.RUNTIME_ENTRY: |
224 | sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); | 224 | sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); |
225 | return; | 225 | return; |
226 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: | 226 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: |
227 | sequence_ScopeDeclaration(context, (ScopeDeclaration) semanticObject); | 227 | sequence_ScopeDeclaration(context, (ScopeDeclaration) semanticObject); |
228 | return; | 228 | return; |
229 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: | 229 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: |
230 | sequence_ScopeReference(context, (ScopeReference) semanticObject); | 230 | sequence_ScopeReference(context, (ScopeReference) semanticObject); |
231 | return; | 231 | return; |
232 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: | 232 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: |
233 | sequence_ScopeSpecification(context, (ScopeSpecification) semanticObject); | 233 | sequence_ScopeSpecification(context, (ScopeSpecification) semanticObject); |
234 | return; | 234 | return; |
235 | case ApplicationConfigurationPackage.STRING_ENUMERATION: | 235 | case ApplicationConfigurationPackage.STRING_ENUMERATION: |
236 | sequence_StringEnumeration(context, (StringEnumeration) semanticObject); | 236 | sequence_StringEnumeration(context, (StringEnumeration) semanticObject); |
237 | return; | 237 | return; |
238 | case ApplicationConfigurationPackage.STRING_SCOPE: | 238 | case ApplicationConfigurationPackage.STRING_SCOPE: |
239 | sequence_StringReference(context, (StringScope) semanticObject); | 239 | sequence_StringReference(context, (StringScope) semanticObject); |
240 | return; | 240 | return; |
241 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: | 241 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: |
242 | sequence_StringTypeScope(context, (StringTypeScope) semanticObject); | 242 | sequence_StringTypeScope(context, (StringTypeScope) semanticObject); |
243 | return; | 243 | return; |
244 | case ApplicationConfigurationPackage.THRESHOLD_ENTRY: | 244 | case ApplicationConfigurationPackage.THRESHOLD_ENTRY: |
245 | sequence_ThresholdEntry(context, (ThresholdEntry) semanticObject); | 245 | sequence_ThresholdEntry(context, (ThresholdEntry) semanticObject); |
246 | return; | 246 | return; |
247 | case ApplicationConfigurationPackage.VIATRA_IMPORT: | 247 | case ApplicationConfigurationPackage.VIATRA_IMPORT: |
248 | sequence_ViatraImport(context, (ViatraImport) semanticObject); | 248 | sequence_ViatraImport(context, (ViatraImport) semanticObject); |
249 | return; | 249 | return; |
250 | } | 250 | } |
251 | if (errorAcceptor != null) | 251 | if (errorAcceptor != null) |
252 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); | 252 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); |
253 | } | 253 | } |
254 | 254 | ||
255 | /** | 255 | /** |
256 | * Contexts: | 256 | * Contexts: |
257 | * MetamodelEntry returns AllPackageEntry | 257 | * MetamodelEntry returns AllPackageEntry |
258 | * AllPackageEntry returns AllPackageEntry | 258 | * AllPackageEntry returns AllPackageEntry |
259 | * | 259 | * |
260 | * Constraint: | 260 | * Constraint: |
261 | * (package=[EPackage|QualifiedName] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) | 261 | * (package=[EPackage|QualifiedName] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) |
262 | */ | 262 | */ |
263 | protected void sequence_AllPackageEntry(ISerializationContext context, AllPackageEntry semanticObject) { | 263 | protected void sequence_AllPackageEntry(ISerializationContext context, AllPackageEntry semanticObject) { |
264 | genericSequencer.createSequence(context, semanticObject); | 264 | genericSequencer.createSequence(context, semanticObject); |
265 | } | 265 | } |
266 | 266 | ||
267 | 267 | ||
268 | /** | 268 | /** |
269 | * Contexts: | 269 | * Contexts: |
270 | * PatternEntry returns AllPatternEntry | 270 | * PatternEntry returns AllPatternEntry |
271 | * AllPatternEntry returns AllPatternEntry | 271 | * AllPatternEntry returns AllPatternEntry |
272 | * | 272 | * |
273 | * Constraint: | 273 | * Constraint: |
274 | * (package=[PatternModel|QualifiedName] (exclusuion+=PatternElement exclusuion+=PatternElement*)?) | 274 | * (package=[PatternModel|QualifiedName] (exclusuion+=PatternElement exclusuion+=PatternElement*)?) |
275 | */ | 275 | */ |
276 | protected void sequence_AllPatternEntry(ISerializationContext context, AllPatternEntry semanticObject) { | 276 | protected void sequence_AllPatternEntry(ISerializationContext context, AllPatternEntry semanticObject) { |
277 | genericSequencer.createSequence(context, semanticObject); | 277 | genericSequencer.createSequence(context, semanticObject); |
278 | } | 278 | } |
279 | 279 | ||
280 | 280 | ||
281 | /** | 281 | /** |
282 | * Contexts: | 282 | * Contexts: |
283 | * TypeReference returns ClassReference | 283 | * TypeReference returns ClassReference |
284 | * ClassReference returns ClassReference | 284 | * ClassReference returns ClassReference |
285 | * | 285 | * |
286 | * Constraint: | 286 | * Constraint: |
287 | * element=MetamodelElement | 287 | * element=MetamodelElement |
288 | */ | 288 | */ |
289 | protected void sequence_ClassReference(ISerializationContext context, ClassReference semanticObject) { | 289 | protected void sequence_ClassReference(ISerializationContext context, ClassReference semanticObject) { |
290 | if (errorAcceptor != null) { | 290 | if (errorAcceptor != null) { |
291 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT) == ValueTransient.YES) | 291 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT) == ValueTransient.YES) |
292 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT)); | 292 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT)); |
293 | } | 293 | } |
294 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 294 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
295 | feeder.accept(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0(), semanticObject.getElement()); | 295 | feeder.accept(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0(), semanticObject.getElement()); |
296 | feeder.finish(); | 296 | feeder.finish(); |
297 | } | 297 | } |
298 | 298 | ||
299 | 299 | ||
300 | /** | 300 | /** |
301 | * Contexts: | 301 | * Contexts: |
302 | * TypeScope returns ClassTypeScope | 302 | * TypeScope returns ClassTypeScope |
303 | * ClassTypeScope returns ClassTypeScope | 303 | * ClassTypeScope returns ClassTypeScope |
304 | * | 304 | * |
305 | * Constraint: | 305 | * Constraint: |
306 | * (type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) | 306 | * (type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) |
307 | */ | 307 | */ |
308 | protected void sequence_ClassTypeScope(ISerializationContext context, ClassTypeScope semanticObject) { | 308 | protected void sequence_ClassTypeScope(ISerializationContext context, ClassTypeScope semanticObject) { |
309 | genericSequencer.createSequence(context, semanticObject); | 309 | genericSequencer.createSequence(context, semanticObject); |
310 | } | 310 | } |
311 | 311 | ||
312 | 312 | ||
313 | /** | 313 | /** |
314 | * Contexts: | 314 | * Contexts: |
315 | * Command returns ConfigDeclaration | 315 | * Command returns ConfigDeclaration |
316 | * Declaration returns ConfigDeclaration | 316 | * Declaration returns ConfigDeclaration |
317 | * ConfigDeclaration returns ConfigDeclaration | 317 | * ConfigDeclaration returns ConfigDeclaration |
318 | * | 318 | * |
319 | * Constraint: | 319 | * Constraint: |
320 | * (name=ID specification=ConfigSpecification) | 320 | * (name=ID specification=ConfigSpecification) |
321 | */ | 321 | */ |
322 | protected void sequence_ConfigDeclaration(ISerializationContext context, ConfigDeclaration semanticObject) { | 322 | protected void sequence_ConfigDeclaration(ISerializationContext context, ConfigDeclaration semanticObject) { |
323 | if (errorAcceptor != null) { | 323 | if (errorAcceptor != null) { |
324 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 324 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
325 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 325 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
326 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 326 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
327 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION)); | 327 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION)); |
328 | } | 328 | } |
329 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 329 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
330 | feeder.accept(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 330 | feeder.accept(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
331 | feeder.accept(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 331 | feeder.accept(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
332 | feeder.finish(); | 332 | feeder.finish(); |
333 | } | 333 | } |
334 | 334 | ||
335 | 335 | ||
336 | /** | 336 | /** |
337 | * Contexts: | 337 | * Contexts: |
338 | * ConfigReference returns ConfigReference | 338 | * ConfigReference returns ConfigReference |
339 | * Config returns ConfigReference | 339 | * Config returns ConfigReference |
340 | * | 340 | * |
341 | * Constraint: | 341 | * Constraint: |
342 | * config=[ConfigDeclaration|ID] | 342 | * config=[ConfigDeclaration|ID] |
343 | */ | 343 | */ |
344 | protected void sequence_ConfigReference(ISerializationContext context, ConfigReference semanticObject) { | 344 | protected void sequence_ConfigReference(ISerializationContext context, ConfigReference semanticObject) { |
345 | if (errorAcceptor != null) { | 345 | if (errorAcceptor != null) { |
346 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG) == ValueTransient.YES) | 346 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG) == ValueTransient.YES) |
347 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG)); | 347 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG)); |
348 | } | 348 | } |
349 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 349 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
350 | feeder.accept(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG, false)); | 350 | feeder.accept(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG, false)); |
351 | feeder.finish(); | 351 | feeder.finish(); |
352 | } | 352 | } |
353 | 353 | ||
354 | 354 | ||
355 | /** | 355 | /** |
356 | * Contexts: | 356 | * Contexts: |
357 | * ConfigSpecification returns ConfigSpecification | 357 | * ConfigSpecification returns ConfigSpecification |
358 | * Config returns ConfigSpecification | 358 | * Config returns ConfigSpecification |
359 | * | 359 | * |
360 | * Constraint: | 360 | * Constraint: |
361 | * (entries+=ConfigEntry entries+=ConfigEntry*)? | 361 | * (entries+=ConfigEntry entries+=ConfigEntry*)? |
362 | */ | 362 | */ |
363 | protected void sequence_ConfigSpecification(ISerializationContext context, ConfigSpecification semanticObject) { | 363 | protected void sequence_ConfigSpecification(ISerializationContext context, ConfigSpecification semanticObject) { |
364 | genericSequencer.createSequence(context, semanticObject); | 364 | genericSequencer.createSequence(context, semanticObject); |
365 | } | 365 | } |
366 | 366 | ||
367 | 367 | ||
368 | /** | 368 | /** |
369 | * Contexts: | 369 | * Contexts: |
370 | * ConfigurationScript returns ConfigurationScript | 370 | * ConfigurationScript returns ConfigurationScript |
371 | * | 371 | * |
372 | * Constraint: | 372 | * Constraint: |
373 | * ((imports+=Import+ commands+=Command+) | commands+=Command+)? | 373 | * ((imports+=Import+ commands+=Command+) | commands+=Command+)? |
374 | */ | 374 | */ |
375 | protected void sequence_ConfigurationScript(ISerializationContext context, ConfigurationScript semanticObject) { | 375 | protected void sequence_ConfigurationScript(ISerializationContext context, ConfigurationScript semanticObject) { |
376 | genericSequencer.createSequence(context, semanticObject); | 376 | genericSequencer.createSequence(context, semanticObject); |
377 | } | 377 | } |
378 | 378 | ||
379 | 379 | ||
380 | /** | 380 | /** |
381 | * Contexts: | 381 | * Contexts: |
382 | * CostEntry returns CostEntry | 382 | * CostEntry returns CostEntry |
383 | * | 383 | * |
384 | * Constraint: | 384 | * Constraint: |
385 | * (patternElement=PatternElement weight=INTLiteral) | 385 | * (patternElement=PatternElement weight=INTLiteral) |
386 | */ | 386 | */ |
387 | protected void sequence_CostEntry(ISerializationContext context, CostEntry semanticObject) { | 387 | protected void sequence_CostEntry(ISerializationContext context, CostEntry semanticObject) { |
388 | if (errorAcceptor != null) { | 388 | if (errorAcceptor != null) { |
389 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__PATTERN_ELEMENT) == ValueTransient.YES) | 389 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__PATTERN_ELEMENT) == ValueTransient.YES) |
390 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__PATTERN_ELEMENT)); | 390 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__PATTERN_ELEMENT)); |
391 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__WEIGHT) == ValueTransient.YES) | 391 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__WEIGHT) == ValueTransient.YES) |
392 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__WEIGHT)); | 392 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.COST_ENTRY__WEIGHT)); |
393 | } | 393 | } |
394 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 394 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
395 | feeder.accept(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0(), semanticObject.getPatternElement()); | 395 | feeder.accept(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0(), semanticObject.getPatternElement()); |
396 | feeder.accept(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0(), semanticObject.getWeight()); | 396 | feeder.accept(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0(), semanticObject.getWeight()); |
397 | feeder.finish(); | 397 | feeder.finish(); |
398 | } | 398 | } |
399 | 399 | ||
400 | 400 | ||
401 | /** | 401 | /** |
402 | * Contexts: | 402 | * Contexts: |
403 | * ObjectiveFunction returns CostObjectiveFunction | 403 | * ObjectiveFunction returns CostObjectiveFunction |
404 | * CostObjectiveFunction returns CostObjectiveFunction | 404 | * CostObjectiveFunction returns CostObjectiveFunction |
405 | * | 405 | * |
406 | * Constraint: | 406 | * Constraint: |
407 | * (entries+=CostEntry entries+=CostEntry*) | 407 | * (entries+=CostEntry entries+=CostEntry*) |
408 | */ | 408 | */ |
409 | protected void sequence_CostObjectiveFunction(ISerializationContext context, CostObjectiveFunction semanticObject) { | 409 | protected void sequence_CostObjectiveFunction(ISerializationContext context, CostObjectiveFunction semanticObject) { |
410 | genericSequencer.createSequence(context, semanticObject); | 410 | genericSequencer.createSequence(context, semanticObject); |
411 | } | 411 | } |
412 | 412 | ||
413 | 413 | ||
414 | /** | 414 | /** |
415 | * Contexts: | 415 | * Contexts: |
416 | * ConfigEntry returns CustomEntry | 416 | * ConfigEntry returns CustomEntry |
417 | * CustomEntry returns CustomEntry | 417 | * CustomEntry returns CustomEntry |
418 | * | 418 | * |
419 | * Constraint: | 419 | * Constraint: |
420 | * (key=STRING value=STRING) | 420 | * (key=STRING value=STRING) |
421 | */ | 421 | */ |
422 | protected void sequence_CustomEntry(ISerializationContext context, CustomEntry semanticObject) { | 422 | protected void sequence_CustomEntry(ISerializationContext context, CustomEntry semanticObject) { |
423 | if (errorAcceptor != null) { | 423 | if (errorAcceptor != null) { |
424 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY) == ValueTransient.YES) | 424 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY) == ValueTransient.YES) |
425 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY)); | 425 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY)); |
426 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE) == ValueTransient.YES) | 426 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE) == ValueTransient.YES) |
427 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE)); | 427 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE)); |
428 | } | 428 | } |
429 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 429 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
430 | feeder.accept(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0(), semanticObject.getKey()); | 430 | feeder.accept(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0(), semanticObject.getKey()); |
431 | feeder.accept(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); | 431 | feeder.accept(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); |
432 | feeder.finish(); | 432 | feeder.finish(); |
433 | } | 433 | } |
434 | 434 | ||
435 | 435 | ||
436 | /** | 436 | /** |
437 | * Contexts: | 437 | * Contexts: |
438 | * ConfigEntry returns DocumentationEntry | 438 | * ConfigEntry returns DocumentationEntry |
439 | * DocumentationEntry returns DocumentationEntry | 439 | * DocumentationEntry returns DocumentationEntry |
440 | * | 440 | * |
441 | * Constraint: | 441 | * Constraint: |
442 | * level=DocumentLevelSpecification | 442 | * level=DocumentLevelSpecification |
443 | */ | 443 | */ |
444 | protected void sequence_DocumentationEntry(ISerializationContext context, DocumentationEntry semanticObject) { | 444 | protected void sequence_DocumentationEntry(ISerializationContext context, DocumentationEntry semanticObject) { |
445 | if (errorAcceptor != null) { | 445 | if (errorAcceptor != null) { |
446 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL) == ValueTransient.YES) | 446 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL) == ValueTransient.YES) |
447 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL)); | 447 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL)); |
448 | } | 448 | } |
449 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 449 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
450 | feeder.accept(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0(), semanticObject.getLevel()); | 450 | feeder.accept(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0(), semanticObject.getLevel()); |
451 | feeder.finish(); | 451 | feeder.finish(); |
452 | } | 452 | } |
453 | 453 | ||
454 | 454 | ||
455 | /** | 455 | /** |
456 | * Contexts: | 456 | * Contexts: |
457 | * Import returns EPackageImport | 457 | * Import returns EPackageImport |
458 | * EPackageImport returns EPackageImport | 458 | * EPackageImport returns EPackageImport |
459 | * | 459 | * |
460 | * Constraint: | 460 | * Constraint: |
461 | * importedPackage=[EPackage|STRING] | 461 | * importedPackage=[EPackage|STRING] |
462 | */ | 462 | */ |
463 | protected void sequence_EPackageImport(ISerializationContext context, EPackageImport semanticObject) { | 463 | protected void sequence_EPackageImport(ISerializationContext context, EPackageImport semanticObject) { |
464 | if (errorAcceptor != null) { | 464 | if (errorAcceptor != null) { |
465 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE) == ValueTransient.YES) | 465 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE) == ValueTransient.YES) |
466 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE)); | 466 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE)); |
467 | } | 467 | } |
468 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 468 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
469 | feeder.accept(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE, false)); | 469 | feeder.accept(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE, false)); |
470 | feeder.finish(); | 470 | feeder.finish(); |
471 | } | 471 | } |
472 | 472 | ||
473 | 473 | ||
474 | /** | 474 | /** |
475 | * Contexts: | 475 | * Contexts: |
476 | * NumberSpecification returns ExactNumber | 476 | * NumberSpecification returns ExactNumber |
477 | * ExactNumber returns ExactNumber | 477 | * ExactNumber returns ExactNumber |
478 | * | 478 | * |
479 | * Constraint: | 479 | * Constraint: |
480 | * (exactNumber=INT | exactUnlimited?='*') | 480 | * (exactNumber=INT | exactUnlimited?='*') |
481 | */ | 481 | */ |
482 | protected void sequence_ExactNumber(ISerializationContext context, ExactNumber semanticObject) { | 482 | protected void sequence_ExactNumber(ISerializationContext context, ExactNumber semanticObject) { |
483 | genericSequencer.createSequence(context, semanticObject); | 483 | genericSequencer.createSequence(context, semanticObject); |
484 | } | 484 | } |
485 | 485 | ||
486 | 486 | ||
487 | /** | 487 | /** |
488 | * Contexts: | 488 | * Contexts: |
489 | * Command returns FileDeclaration | 489 | * Command returns FileDeclaration |
490 | * Declaration returns FileDeclaration | 490 | * Declaration returns FileDeclaration |
491 | * FileDeclaration returns FileDeclaration | 491 | * FileDeclaration returns FileDeclaration |
492 | * | 492 | * |
493 | * Constraint: | 493 | * Constraint: |
494 | * (name=ID specification=FileSpecification) | 494 | * (name=ID specification=FileSpecification) |
495 | */ | 495 | */ |
496 | protected void sequence_FileDeclaration(ISerializationContext context, FileDeclaration semanticObject) { | 496 | protected void sequence_FileDeclaration(ISerializationContext context, FileDeclaration semanticObject) { |
497 | if (errorAcceptor != null) { | 497 | if (errorAcceptor != null) { |
498 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 498 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
499 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 499 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
500 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 500 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
501 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION)); | 501 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION)); |
502 | } | 502 | } |
503 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 503 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
504 | feeder.accept(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 504 | feeder.accept(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
505 | feeder.accept(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0(), semanticObject.getSpecification()); | 505 | feeder.accept(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0(), semanticObject.getSpecification()); |
506 | feeder.finish(); | 506 | feeder.finish(); |
507 | } | 507 | } |
508 | 508 | ||
509 | 509 | ||
510 | /** | 510 | /** |
511 | * Contexts: | 511 | * Contexts: |
512 | * FileReference returns FileReference | 512 | * FileReference returns FileReference |
513 | * File returns FileReference | 513 | * File returns FileReference |
514 | * | 514 | * |
515 | * Constraint: | 515 | * Constraint: |
516 | * referred=[FileDeclaration|ID] | 516 | * referred=[FileDeclaration|ID] |
517 | */ | 517 | */ |
518 | protected void sequence_FileReference(ISerializationContext context, FileReference semanticObject) { | 518 | protected void sequence_FileReference(ISerializationContext context, FileReference semanticObject) { |
519 | if (errorAcceptor != null) { | 519 | if (errorAcceptor != null) { |
520 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED) == ValueTransient.YES) | 520 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED) == ValueTransient.YES) |
521 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED)); | 521 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED)); |
522 | } | 522 | } |
523 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 523 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
524 | feeder.accept(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED, false)); | 524 | feeder.accept(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED, false)); |
525 | feeder.finish(); | 525 | feeder.finish(); |
526 | } | 526 | } |
527 | 527 | ||
528 | 528 | ||
529 | /** | 529 | /** |
530 | * Contexts: | 530 | * Contexts: |
531 | * FileSpecification returns FileSpecification | 531 | * FileSpecification returns FileSpecification |
532 | * File returns FileSpecification | 532 | * File returns FileSpecification |
533 | * | 533 | * |
534 | * Constraint: | 534 | * Constraint: |
535 | * path=STRING | 535 | * path=STRING |
536 | */ | 536 | */ |
537 | protected void sequence_FileSpecification(ISerializationContext context, FileSpecification semanticObject) { | 537 | protected void sequence_FileSpecification(ISerializationContext context, FileSpecification semanticObject) { |
538 | if (errorAcceptor != null) { | 538 | if (errorAcceptor != null) { |
539 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH) == ValueTransient.YES) | 539 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH) == ValueTransient.YES) |
540 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH)); | 540 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH)); |
541 | } | 541 | } |
542 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 542 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
543 | feeder.accept(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0(), semanticObject.getPath()); | 543 | feeder.accept(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0(), semanticObject.getPath()); |
544 | feeder.finish(); | 544 | feeder.finish(); |
545 | } | 545 | } |
546 | 546 | ||
547 | 547 | ||
548 | /** | 548 | /** |
549 | * Contexts: | 549 | * Contexts: |
550 | * PartialModelEntry returns FolderEntry | 550 | * PartialModelEntry returns FolderEntry |
551 | * FolderEntry returns FolderEntry | 551 | * FolderEntry returns FolderEntry |
552 | * | 552 | * |
553 | * Constraint: | 553 | * Constraint: |
554 | * (path=File (exclusion+=ModelEntry exclusion+=ModelEntry*)?) | 554 | * (path=File (exclusion+=ModelEntry exclusion+=ModelEntry*)?) |
555 | */ | 555 | */ |
556 | protected void sequence_FolderEntry(ISerializationContext context, FolderEntry semanticObject) { | 556 | protected void sequence_FolderEntry(ISerializationContext context, FolderEntry semanticObject) { |
557 | genericSequencer.createSequence(context, semanticObject); | 557 | genericSequencer.createSequence(context, semanticObject); |
558 | } | 558 | } |
559 | 559 | ||
560 | 560 | ||
561 | /** | 561 | /** |
562 | * Contexts: | 562 | * Contexts: |
563 | * Command returns GenerationTask | 563 | * Command returns GenerationTask |
564 | * Task returns GenerationTask | 564 | * Task returns GenerationTask |
565 | * GenerationTask returns GenerationTask | 565 | * GenerationTask returns GenerationTask |
566 | * | 566 | * |
567 | * Constraint: | 567 | * Constraint: |
568 | * ( | 568 | * ( |
569 | * ( | 569 | * ( |
570 | * metamodel=Metamodel | | 570 | * metamodel=Metamodel | |
571 | * partialModel=PartialModel | | 571 | * partialModel=PartialModel | |
572 | * patterns=GraphPattern | | 572 | * patterns=GraphPattern | |
573 | * objectives=Objective | | 573 | * objectives=Objective | |
574 | * scope=Scope | | 574 | * scope=Scope | |
575 | * solver=Solver | | 575 | * solver=Solver | |
576 | * config=Config | | 576 | * config=Config | |
577 | * debugFolder=File | | 577 | * debugFolder=File | |
578 | * targetLogFile=File | | 578 | * targetLogFile=File | |
579 | * targetStatisticsFile=File | | 579 | * targetStatisticsFile=File | |
580 | * tagetFolder=File | 580 | * tagetFolder=File |
581 | * )? | 581 | * )? |
582 | * (runSpecified?='runs' runs=INT)? | 582 | * (numberSpecified?='number' number=INT)? |
583 | * (numberSpecified?='number' number=INT)? | 583 | * (runSpecified?='runs' runs=INT)? |
584 | * )+ | 584 | * )+ |
585 | */ | 585 | */ |
586 | protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { | 586 | protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { |
587 | genericSequencer.createSequence(context, semanticObject); | 587 | genericSequencer.createSequence(context, semanticObject); |
588 | } | 588 | } |
589 | 589 | ||
590 | 590 | ||
591 | /** | 591 | /** |
592 | * Contexts: | 592 | * Contexts: |
593 | * Command returns GraphPatternDeclaration | 593 | * Command returns GraphPatternDeclaration |
594 | * Declaration returns GraphPatternDeclaration | 594 | * Declaration returns GraphPatternDeclaration |
595 | * GraphPatternDeclaration returns GraphPatternDeclaration | 595 | * GraphPatternDeclaration returns GraphPatternDeclaration |
596 | * | 596 | * |
597 | * Constraint: | 597 | * Constraint: |
598 | * (name=ID specification=PatternSpecification) | 598 | * (name=ID specification=PatternSpecification) |
599 | */ | 599 | */ |
600 | protected void sequence_GraphPatternDeclaration(ISerializationContext context, GraphPatternDeclaration semanticObject) { | 600 | protected void sequence_GraphPatternDeclaration(ISerializationContext context, GraphPatternDeclaration semanticObject) { |
601 | if (errorAcceptor != null) { | 601 | if (errorAcceptor != null) { |
602 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 602 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
603 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 603 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
604 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 604 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
605 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION)); | 605 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION)); |
606 | } | 606 | } |
607 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 607 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
608 | feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 608 | feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
609 | feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 609 | feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
610 | feeder.finish(); | 610 | feeder.finish(); |
611 | } | 611 | } |
612 | 612 | ||
613 | 613 | ||
614 | /** | 614 | /** |
615 | * Contexts: | 615 | * Contexts: |
616 | * GraphPatternReference returns GraphPatternReference | 616 | * GraphPatternReference returns GraphPatternReference |
617 | * GraphPattern returns GraphPatternReference | 617 | * GraphPattern returns GraphPatternReference |
618 | * | 618 | * |
619 | * Constraint: | 619 | * Constraint: |
620 | * referred=[GraphPatternDeclaration|ID] | 620 | * referred=[GraphPatternDeclaration|ID] |
621 | */ | 621 | */ |
622 | protected void sequence_GraphPatternReference(ISerializationContext context, GraphPatternReference semanticObject) { | 622 | protected void sequence_GraphPatternReference(ISerializationContext context, GraphPatternReference semanticObject) { |
623 | if (errorAcceptor != null) { | 623 | if (errorAcceptor != null) { |
624 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED) == ValueTransient.YES) | 624 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED) == ValueTransient.YES) |
625 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED)); | 625 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED)); |
626 | } | 626 | } |
627 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 627 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
628 | feeder.accept(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED, false)); | 628 | feeder.accept(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED, false)); |
629 | feeder.finish(); | 629 | feeder.finish(); |
630 | } | 630 | } |
631 | 631 | ||
632 | 632 | ||
633 | /** | 633 | /** |
634 | * Contexts: | 634 | * Contexts: |
635 | * NumberSpecification returns IntEnumberation | 635 | * NumberSpecification returns IntEnumberation |
636 | * IntEnumberation returns IntEnumberation | 636 | * IntEnumberation returns IntEnumberation |
637 | * | 637 | * |
638 | * Constraint: | 638 | * Constraint: |
639 | * (entry+=INTLiteral entry+=INTLiteral*)? | 639 | * (entry+=INTLiteral entry+=INTLiteral*)? |
640 | */ | 640 | */ |
641 | protected void sequence_IntEnumberation(ISerializationContext context, IntEnumberation semanticObject) { | 641 | protected void sequence_IntEnumberation(ISerializationContext context, IntEnumberation semanticObject) { |
642 | genericSequencer.createSequence(context, semanticObject); | 642 | genericSequencer.createSequence(context, semanticObject); |
643 | } | 643 | } |
644 | 644 | ||
645 | 645 | ||
646 | /** | 646 | /** |
647 | * Contexts: | 647 | * Contexts: |
648 | * TypeReference returns IntegerScope | 648 | * TypeReference returns IntegerScope |
649 | * IntegerReference returns IntegerScope | 649 | * IntegerReference returns IntegerScope |
650 | * | 650 | * |
651 | * Constraint: | 651 | * Constraint: |
652 | * {IntegerScope} | 652 | * {IntegerScope} |
653 | */ | 653 | */ |
654 | protected void sequence_IntegerReference(ISerializationContext context, IntegerScope semanticObject) { | 654 | protected void sequence_IntegerReference(ISerializationContext context, IntegerScope semanticObject) { |
655 | genericSequencer.createSequence(context, semanticObject); | 655 | genericSequencer.createSequence(context, semanticObject); |
656 | } | 656 | } |
657 | 657 | ||
658 | 658 | ||
659 | /** | 659 | /** |
660 | * Contexts: | 660 | * Contexts: |
661 | * TypeScope returns IntegerTypeScope | 661 | * TypeScope returns IntegerTypeScope |
662 | * IntegerTypeScope returns IntegerTypeScope | 662 | * IntegerTypeScope returns IntegerTypeScope |
663 | * | 663 | * |
664 | * Constraint: | 664 | * Constraint: |
665 | * (type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=IntEnumberation)) | 665 | * (type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=IntEnumberation)) |
666 | */ | 666 | */ |
667 | protected void sequence_IntegerTypeScope(ISerializationContext context, IntegerTypeScope semanticObject) { | 667 | protected void sequence_IntegerTypeScope(ISerializationContext context, IntegerTypeScope semanticObject) { |
668 | genericSequencer.createSequence(context, semanticObject); | 668 | genericSequencer.createSequence(context, semanticObject); |
669 | } | 669 | } |
670 | 670 | ||
671 | 671 | ||
672 | /** | 672 | /** |
673 | * Contexts: | 673 | * Contexts: |
674 | * NumberSpecification returns IntervallNumber | 674 | * NumberSpecification returns IntervallNumber |
675 | * IntervallNumber returns IntervallNumber | 675 | * IntervallNumber returns IntervallNumber |
676 | * | 676 | * |
677 | * Constraint: | 677 | * Constraint: |
678 | * (min=INT (maxNumber=INT | maxUnlimited?='*')) | 678 | * (min=INT (maxNumber=INT | maxUnlimited?='*')) |
679 | */ | 679 | */ |
680 | protected void sequence_IntervallNumber(ISerializationContext context, IntervallNumber semanticObject) { | 680 | protected void sequence_IntervallNumber(ISerializationContext context, IntervallNumber semanticObject) { |
681 | genericSequencer.createSequence(context, semanticObject); | 681 | genericSequencer.createSequence(context, semanticObject); |
682 | } | 682 | } |
683 | 683 | ||
684 | 684 | ||
685 | /** | 685 | /** |
686 | * Contexts: | 686 | * Contexts: |
687 | * ConfigEntry returns MemoryEntry | 687 | * ConfigEntry returns MemoryEntry |
688 | * MemoryEntry returns MemoryEntry | 688 | * MemoryEntry returns MemoryEntry |
689 | * | 689 | * |
690 | * Constraint: | 690 | * Constraint: |
691 | * megabyteLimit=INT | 691 | * megabyteLimit=INT |
692 | */ | 692 | */ |
693 | protected void sequence_MemoryEntry(ISerializationContext context, MemoryEntry semanticObject) { | 693 | protected void sequence_MemoryEntry(ISerializationContext context, MemoryEntry semanticObject) { |
694 | if (errorAcceptor != null) { | 694 | if (errorAcceptor != null) { |
695 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT) == ValueTransient.YES) | 695 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT) == ValueTransient.YES) |
696 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT)); | 696 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT)); |
697 | } | 697 | } |
698 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 698 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
699 | feeder.accept(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0(), semanticObject.getMegabyteLimit()); | 699 | feeder.accept(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0(), semanticObject.getMegabyteLimit()); |
700 | feeder.finish(); | 700 | feeder.finish(); |
701 | } | 701 | } |
702 | 702 | ||
703 | 703 | ||
704 | /** | 704 | /** |
705 | * Contexts: | 705 | * Contexts: |
706 | * Command returns MetamodelDeclaration | 706 | * Command returns MetamodelDeclaration |
707 | * Declaration returns MetamodelDeclaration | 707 | * Declaration returns MetamodelDeclaration |
708 | * MetamodelDeclaration returns MetamodelDeclaration | 708 | * MetamodelDeclaration returns MetamodelDeclaration |
709 | * | 709 | * |
710 | * Constraint: | 710 | * Constraint: |
711 | * (name=ID specification=MetamodelSpecification) | 711 | * (name=ID specification=MetamodelSpecification) |
712 | */ | 712 | */ |
713 | protected void sequence_MetamodelDeclaration(ISerializationContext context, MetamodelDeclaration semanticObject) { | 713 | protected void sequence_MetamodelDeclaration(ISerializationContext context, MetamodelDeclaration semanticObject) { |
714 | if (errorAcceptor != null) { | 714 | if (errorAcceptor != null) { |
715 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 715 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
716 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 716 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
717 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 717 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
718 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION)); | 718 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION)); |
719 | } | 719 | } |
720 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 720 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
721 | feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 721 | feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
722 | feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 722 | feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
723 | feeder.finish(); | 723 | feeder.finish(); |
724 | } | 724 | } |
725 | 725 | ||
726 | 726 | ||
727 | /** | 727 | /** |
728 | * Contexts: | 728 | * Contexts: |
729 | * MetamodelEntry returns MetamodelElement | 729 | * MetamodelEntry returns MetamodelElement |
730 | * MetamodelElement returns MetamodelElement | 730 | * MetamodelElement returns MetamodelElement |
731 | * | 731 | * |
732 | * Constraint: | 732 | * Constraint: |
733 | * (package=[EPackage|QualifiedName]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) | 733 | * (package=[EPackage|QualifiedName]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) |
734 | */ | 734 | */ |
735 | protected void sequence_MetamodelElement(ISerializationContext context, MetamodelElement semanticObject) { | 735 | protected void sequence_MetamodelElement(ISerializationContext context, MetamodelElement semanticObject) { |
736 | genericSequencer.createSequence(context, semanticObject); | 736 | genericSequencer.createSequence(context, semanticObject); |
737 | } | 737 | } |
738 | 738 | ||
739 | 739 | ||
740 | /** | 740 | /** |
741 | * Contexts: | 741 | * Contexts: |
742 | * MetamodelReference returns MetamodelReference | 742 | * MetamodelReference returns MetamodelReference |
743 | * Metamodel returns MetamodelReference | 743 | * Metamodel returns MetamodelReference |
744 | * | 744 | * |
745 | * Constraint: | 745 | * Constraint: |
746 | * referred=[MetamodelDeclaration|ID] | 746 | * referred=[MetamodelDeclaration|ID] |
747 | */ | 747 | */ |
748 | protected void sequence_MetamodelReference(ISerializationContext context, MetamodelReference semanticObject) { | 748 | protected void sequence_MetamodelReference(ISerializationContext context, MetamodelReference semanticObject) { |
749 | if (errorAcceptor != null) { | 749 | if (errorAcceptor != null) { |
750 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED) == ValueTransient.YES) | 750 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED) == ValueTransient.YES) |
751 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED)); | 751 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED)); |
752 | } | 752 | } |
753 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 753 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
754 | feeder.accept(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED, false)); | 754 | feeder.accept(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED, false)); |
755 | feeder.finish(); | 755 | feeder.finish(); |
756 | } | 756 | } |
757 | 757 | ||
758 | 758 | ||
759 | /** | 759 | /** |
760 | * Contexts: | 760 | * Contexts: |
761 | * MetamodelSpecification returns MetamodelSpecification | 761 | * MetamodelSpecification returns MetamodelSpecification |
762 | * Metamodel returns MetamodelSpecification | 762 | * Metamodel returns MetamodelSpecification |
763 | * | 763 | * |
764 | * Constraint: | 764 | * Constraint: |
765 | * (entries+=MetamodelEntry entries+=MetamodelEntry*) | 765 | * (entries+=MetamodelEntry entries+=MetamodelEntry*) |
766 | */ | 766 | */ |
767 | protected void sequence_MetamodelSpecification(ISerializationContext context, MetamodelSpecification semanticObject) { | 767 | protected void sequence_MetamodelSpecification(ISerializationContext context, MetamodelSpecification semanticObject) { |
768 | genericSequencer.createSequence(context, semanticObject); | 768 | genericSequencer.createSequence(context, semanticObject); |
769 | } | 769 | } |
770 | 770 | ||
771 | 771 | ||
772 | /** | 772 | /** |
773 | * Contexts: | 773 | * Contexts: |
774 | * PartialModelEntry returns ModelEntry | 774 | * PartialModelEntry returns ModelEntry |
775 | * ModelEntry returns ModelEntry | 775 | * ModelEntry returns ModelEntry |
776 | * | 776 | * |
777 | * Constraint: | 777 | * Constraint: |
778 | * path=File | 778 | * path=File |
779 | */ | 779 | */ |
780 | protected void sequence_ModelEntry(ISerializationContext context, ModelEntry semanticObject) { | 780 | protected void sequence_ModelEntry(ISerializationContext context, ModelEntry semanticObject) { |
781 | if (errorAcceptor != null) { | 781 | if (errorAcceptor != null) { |
782 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH) == ValueTransient.YES) | 782 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH) == ValueTransient.YES) |
783 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH)); | 783 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH)); |
784 | } | 784 | } |
785 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 785 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
786 | feeder.accept(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0(), semanticObject.getPath()); | 786 | feeder.accept(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0(), semanticObject.getPath()); |
787 | feeder.finish(); | 787 | feeder.finish(); |
788 | } | 788 | } |
789 | 789 | ||
790 | 790 | ||
791 | /** | 791 | /** |
792 | * Contexts: | 792 | * Contexts: |
793 | * TypeReference returns ObjectReference | 793 | * TypeReference returns ObjectReference |
794 | * ObjectReference returns ObjectReference | 794 | * ObjectReference returns ObjectReference |
795 | * | 795 | * |
796 | * Constraint: | 796 | * Constraint: |
797 | * {ObjectReference} | 797 | * {ObjectReference} |
798 | */ | 798 | */ |
799 | protected void sequence_ObjectReference(ISerializationContext context, ObjectReference semanticObject) { | 799 | protected void sequence_ObjectReference(ISerializationContext context, ObjectReference semanticObject) { |
800 | genericSequencer.createSequence(context, semanticObject); | 800 | genericSequencer.createSequence(context, semanticObject); |
801 | } | 801 | } |
802 | 802 | ||
803 | 803 | ||
804 | /** | 804 | /** |
805 | * Contexts: | 805 | * Contexts: |
806 | * TypeScope returns ObjectTypeScope | 806 | * TypeScope returns ObjectTypeScope |
807 | * ObjectTypeScope returns ObjectTypeScope | 807 | * ObjectTypeScope returns ObjectTypeScope |
808 | * | 808 | * |
809 | * Constraint: | 809 | * Constraint: |
810 | * (type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) | 810 | * (type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) |
811 | */ | 811 | */ |
812 | protected void sequence_ObjectTypeScope(ISerializationContext context, ObjectTypeScope semanticObject) { | 812 | protected void sequence_ObjectTypeScope(ISerializationContext context, ObjectTypeScope semanticObject) { |
813 | genericSequencer.createSequence(context, semanticObject); | 813 | genericSequencer.createSequence(context, semanticObject); |
814 | } | 814 | } |
815 | 815 | ||
816 | 816 | ||
817 | /** | 817 | /** |
818 | * Contexts: | 818 | * Contexts: |
819 | * Command returns ObjectiveDeclaration | 819 | * Command returns ObjectiveDeclaration |
820 | * Declaration returns ObjectiveDeclaration | 820 | * Declaration returns ObjectiveDeclaration |
821 | * ObjectiveDeclaration returns ObjectiveDeclaration | 821 | * ObjectiveDeclaration returns ObjectiveDeclaration |
822 | * | 822 | * |
823 | * Constraint: | 823 | * Constraint: |
824 | * (name=ID specification=ObjectiveSpecification) | 824 | * (name=ID specification=ObjectiveSpecification) |
825 | */ | 825 | */ |
826 | protected void sequence_ObjectiveDeclaration(ISerializationContext context, ObjectiveDeclaration semanticObject) { | 826 | protected void sequence_ObjectiveDeclaration(ISerializationContext context, ObjectiveDeclaration semanticObject) { |
827 | if (errorAcceptor != null) { | 827 | if (errorAcceptor != null) { |
828 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 828 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
829 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 829 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
830 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 830 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
831 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION)); | 831 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION)); |
832 | } | 832 | } |
833 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 833 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
834 | feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 834 | feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
835 | feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 835 | feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
836 | feeder.finish(); | 836 | feeder.finish(); |
837 | } | 837 | } |
838 | 838 | ||
839 | 839 | ||
840 | /** | 840 | /** |
841 | * Contexts: | 841 | * Contexts: |
842 | * ObjectiveReference returns ObjectiveReference | 842 | * ObjectiveReference returns ObjectiveReference |
843 | * Objective returns ObjectiveReference | 843 | * Objective returns ObjectiveReference |
844 | * | 844 | * |
845 | * Constraint: | 845 | * Constraint: |
846 | * referred=[ObjectiveDeclaration|ID] | 846 | * referred=[ObjectiveDeclaration|ID] |
847 | */ | 847 | */ |
848 | protected void sequence_ObjectiveReference(ISerializationContext context, ObjectiveReference semanticObject) { | 848 | protected void sequence_ObjectiveReference(ISerializationContext context, ObjectiveReference semanticObject) { |
849 | if (errorAcceptor != null) { | 849 | if (errorAcceptor != null) { |
850 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED) == ValueTransient.YES) | 850 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED) == ValueTransient.YES) |
851 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED)); | 851 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED)); |
852 | } | 852 | } |
853 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 853 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
854 | feeder.accept(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED, false)); | 854 | feeder.accept(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED, false)); |
855 | feeder.finish(); | 855 | feeder.finish(); |
856 | } | 856 | } |
857 | 857 | ||
858 | 858 | ||
859 | /** | 859 | /** |
860 | * Contexts: | 860 | * Contexts: |
861 | * ObjectiveSpecification returns ObjectiveSpecification | 861 | * ObjectiveSpecification returns ObjectiveSpecification |
862 | * Objective returns ObjectiveSpecification | 862 | * Objective returns ObjectiveSpecification |
863 | * | 863 | * |
864 | * Constraint: | 864 | * Constraint: |
865 | * (entries+=ObjectiveEntry entries+=ObjectiveEntry*) | 865 | * (entries+=ObjectiveEntry entries+=ObjectiveEntry*) |
866 | */ | 866 | */ |
867 | protected void sequence_ObjectiveSpecification(ISerializationContext context, ObjectiveSpecification semanticObject) { | 867 | protected void sequence_ObjectiveSpecification(ISerializationContext context, ObjectiveSpecification semanticObject) { |
868 | genericSequencer.createSequence(context, semanticObject); | 868 | genericSequencer.createSequence(context, semanticObject); |
869 | } | 869 | } |
870 | 870 | ||
871 | 871 | ||
872 | /** | 872 | /** |
873 | * Contexts: | 873 | * Contexts: |
874 | * ObjectiveEntry returns OptimizationEntry | 874 | * ObjectiveEntry returns OptimizationEntry |
875 | * OptimizationEntry returns OptimizationEntry | 875 | * OptimizationEntry returns OptimizationEntry |
876 | * | 876 | * |
877 | * Constraint: | 877 | * Constraint: |
878 | * (direction=OptimizationDirection function=ObjectiveFunction) | 878 | * (direction=OptimizationDirection function=ObjectiveFunction) |
879 | */ | 879 | */ |
880 | protected void sequence_OptimizationEntry(ISerializationContext context, OptimizationEntry semanticObject) { | 880 | protected void sequence_OptimizationEntry(ISerializationContext context, OptimizationEntry semanticObject) { |
881 | if (errorAcceptor != null) { | 881 | if (errorAcceptor != null) { |
882 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION) == ValueTransient.YES) | 882 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION) == ValueTransient.YES) |
883 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION)); | 883 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION)); |
884 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) | 884 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) |
885 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); | 885 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); |
886 | } | 886 | } |
887 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 887 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
888 | feeder.accept(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0(), semanticObject.getDirection()); | 888 | feeder.accept(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0(), semanticObject.getDirection()); |
889 | feeder.accept(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0(), semanticObject.getFunction()); | 889 | feeder.accept(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0(), semanticObject.getFunction()); |
890 | feeder.finish(); | 890 | feeder.finish(); |
891 | } | 891 | } |
892 | 892 | ||
893 | 893 | ||
894 | /** | 894 | /** |
895 | * Contexts: | 895 | * Contexts: |
896 | * Command returns PartialModelDeclaration | 896 | * Command returns PartialModelDeclaration |
897 | * Declaration returns PartialModelDeclaration | 897 | * Declaration returns PartialModelDeclaration |
898 | * PartialModelDeclaration returns PartialModelDeclaration | 898 | * PartialModelDeclaration returns PartialModelDeclaration |
899 | * | 899 | * |
900 | * Constraint: | 900 | * Constraint: |
901 | * (name=ID specification=PartialModelSpecification) | 901 | * (name=ID specification=PartialModelSpecification) |
902 | */ | 902 | */ |
903 | protected void sequence_PartialModelDeclaration(ISerializationContext context, PartialModelDeclaration semanticObject) { | 903 | protected void sequence_PartialModelDeclaration(ISerializationContext context, PartialModelDeclaration semanticObject) { |
904 | if (errorAcceptor != null) { | 904 | if (errorAcceptor != null) { |
905 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 905 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
906 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 906 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
907 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 907 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
908 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION)); | 908 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION)); |
909 | } | 909 | } |
910 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 910 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
911 | feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 911 | feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
912 | feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 912 | feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
913 | feeder.finish(); | 913 | feeder.finish(); |
914 | } | 914 | } |
915 | 915 | ||
916 | 916 | ||
917 | /** | 917 | /** |
918 | * Contexts: | 918 | * Contexts: |
919 | * PartialModelReference returns PartialModelReference | 919 | * PartialModelReference returns PartialModelReference |
920 | * PartialModel returns PartialModelReference | 920 | * PartialModel returns PartialModelReference |
921 | * | 921 | * |
922 | * Constraint: | 922 | * Constraint: |
923 | * referred=[PartialModelDeclaration|ID] | 923 | * referred=[PartialModelDeclaration|ID] |
924 | */ | 924 | */ |
925 | protected void sequence_PartialModelReference(ISerializationContext context, PartialModelReference semanticObject) { | 925 | protected void sequence_PartialModelReference(ISerializationContext context, PartialModelReference semanticObject) { |
926 | if (errorAcceptor != null) { | 926 | if (errorAcceptor != null) { |
927 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED) == ValueTransient.YES) | 927 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED) == ValueTransient.YES) |
928 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED)); | 928 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED)); |
929 | } | 929 | } |
930 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 930 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
931 | feeder.accept(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED, false)); | 931 | feeder.accept(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED, false)); |
932 | feeder.finish(); | 932 | feeder.finish(); |
933 | } | 933 | } |
934 | 934 | ||
935 | 935 | ||
936 | /** | 936 | /** |
937 | * Contexts: | 937 | * Contexts: |
938 | * PartialModelSpecification returns PartialModelSpecification | 938 | * PartialModelSpecification returns PartialModelSpecification |
939 | * PartialModel returns PartialModelSpecification | 939 | * PartialModel returns PartialModelSpecification |
940 | * | 940 | * |
941 | * Constraint: | 941 | * Constraint: |
942 | * (entry+=PartialModelEntry entry+=PartialModelEntry?) | 942 | * (entry+=PartialModelEntry entry+=PartialModelEntry?) |
943 | */ | 943 | */ |
944 | protected void sequence_PartialModelSpecification(ISerializationContext context, PartialModelSpecification semanticObject) { | 944 | protected void sequence_PartialModelSpecification(ISerializationContext context, PartialModelSpecification semanticObject) { |
945 | genericSequencer.createSequence(context, semanticObject); | 945 | genericSequencer.createSequence(context, semanticObject); |
946 | } | 946 | } |
947 | 947 | ||
948 | 948 | ||
949 | /** | 949 | /** |
950 | * Contexts: | 950 | * Contexts: |
951 | * PatternEntry returns PatternElement | 951 | * PatternEntry returns PatternElement |
952 | * PatternElement returns PatternElement | 952 | * PatternElement returns PatternElement |
953 | * | 953 | * |
954 | * Constraint: | 954 | * Constraint: |
955 | * (package=[PatternModel|QualifiedName]? pattern=[Pattern|ID]) | 955 | * (package=[PatternModel|QualifiedName]? pattern=[Pattern|ID]) |
956 | */ | 956 | */ |
957 | protected void sequence_PatternElement(ISerializationContext context, PatternElement semanticObject) { | 957 | protected void sequence_PatternElement(ISerializationContext context, PatternElement semanticObject) { |
958 | genericSequencer.createSequence(context, semanticObject); | 958 | genericSequencer.createSequence(context, semanticObject); |
959 | } | 959 | } |
960 | 960 | ||
961 | 961 | ||
962 | /** | 962 | /** |
963 | * Contexts: | 963 | * Contexts: |
964 | * PatternSpecification returns PatternSpecification | 964 | * PatternSpecification returns PatternSpecification |
965 | * GraphPattern returns PatternSpecification | 965 | * GraphPattern returns PatternSpecification |
966 | * | 966 | * |
967 | * Constraint: | 967 | * Constraint: |
968 | * (entries+=PatternEntry entries+=PatternEntry*) | 968 | * (entries+=PatternEntry entries+=PatternEntry*) |
969 | */ | 969 | */ |
970 | protected void sequence_PatternSpecification(ISerializationContext context, PatternSpecification semanticObject) { | 970 | protected void sequence_PatternSpecification(ISerializationContext context, PatternSpecification semanticObject) { |
971 | genericSequencer.createSequence(context, semanticObject); | 971 | genericSequencer.createSequence(context, semanticObject); |
972 | } | 972 | } |
973 | 973 | ||
974 | 974 | ||
975 | /** | 975 | /** |
976 | * Contexts: | 976 | * Contexts: |
977 | * NumberSpecification returns RealEnumeration | 977 | * NumberSpecification returns RealEnumeration |
978 | * RealEnumeration returns RealEnumeration | 978 | * RealEnumeration returns RealEnumeration |
979 | * | 979 | * |
980 | * Constraint: | 980 | * Constraint: |
981 | * (entry+=REALLiteral entry+=REALLiteral*)? | 981 | * (entry+=REALLiteral entry+=REALLiteral*)? |
982 | */ | 982 | */ |
983 | protected void sequence_RealEnumeration(ISerializationContext context, RealEnumeration semanticObject) { | 983 | protected void sequence_RealEnumeration(ISerializationContext context, RealEnumeration semanticObject) { |
984 | genericSequencer.createSequence(context, semanticObject); | 984 | genericSequencer.createSequence(context, semanticObject); |
985 | } | 985 | } |
986 | 986 | ||
987 | 987 | ||
988 | /** | 988 | /** |
989 | * Contexts: | 989 | * Contexts: |
990 | * TypeReference returns RealScope | 990 | * TypeReference returns RealScope |
991 | * RealReference returns RealScope | 991 | * RealReference returns RealScope |
992 | * | 992 | * |
993 | * Constraint: | 993 | * Constraint: |
994 | * {RealScope} | 994 | * {RealScope} |
995 | */ | 995 | */ |
996 | protected void sequence_RealReference(ISerializationContext context, RealScope semanticObject) { | 996 | protected void sequence_RealReference(ISerializationContext context, RealScope semanticObject) { |
997 | genericSequencer.createSequence(context, semanticObject); | 997 | genericSequencer.createSequence(context, semanticObject); |
998 | } | 998 | } |
999 | 999 | ||
1000 | 1000 | ||
1001 | /** | 1001 | /** |
1002 | * Contexts: | 1002 | * Contexts: |
1003 | * TypeScope returns RealTypeScope | 1003 | * TypeScope returns RealTypeScope |
1004 | * RealTypeScope returns RealTypeScope | 1004 | * RealTypeScope returns RealTypeScope |
1005 | * | 1005 | * |
1006 | * Constraint: | 1006 | * Constraint: |
1007 | * (type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=RealEnumeration)) | 1007 | * (type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=RealEnumeration)) |
1008 | */ | 1008 | */ |
1009 | protected void sequence_RealTypeScope(ISerializationContext context, RealTypeScope semanticObject) { | 1009 | protected void sequence_RealTypeScope(ISerializationContext context, RealTypeScope semanticObject) { |
1010 | genericSequencer.createSequence(context, semanticObject); | 1010 | genericSequencer.createSequence(context, semanticObject); |
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | 1013 | ||
1014 | /** | 1014 | /** |
1015 | * Contexts: | 1015 | * Contexts: |
1016 | * ConfigEntry returns RuntimeEntry | 1016 | * ConfigEntry returns RuntimeEntry |
1017 | * RuntimeEntry returns RuntimeEntry | 1017 | * RuntimeEntry returns RuntimeEntry |
1018 | * | 1018 | * |
1019 | * Constraint: | 1019 | * Constraint: |
1020 | * millisecLimit=INT | 1020 | * millisecLimit=INT |
1021 | */ | 1021 | */ |
1022 | protected void sequence_RuntimeEntry(ISerializationContext context, RuntimeEntry semanticObject) { | 1022 | protected void sequence_RuntimeEntry(ISerializationContext context, RuntimeEntry semanticObject) { |
1023 | if (errorAcceptor != null) { | 1023 | if (errorAcceptor != null) { |
1024 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT) == ValueTransient.YES) | 1024 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT) == ValueTransient.YES) |
1025 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT)); | 1025 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT)); |
1026 | } | 1026 | } |
1027 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 1027 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
1028 | feeder.accept(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0(), semanticObject.getMillisecLimit()); | 1028 | feeder.accept(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0(), semanticObject.getMillisecLimit()); |
1029 | feeder.finish(); | 1029 | feeder.finish(); |
1030 | } | 1030 | } |
1031 | 1031 | ||
1032 | 1032 | ||
1033 | /** | 1033 | /** |
1034 | * Contexts: | 1034 | * Contexts: |
1035 | * Command returns ScopeDeclaration | 1035 | * Command returns ScopeDeclaration |
1036 | * Declaration returns ScopeDeclaration | 1036 | * Declaration returns ScopeDeclaration |
1037 | * ScopeDeclaration returns ScopeDeclaration | 1037 | * ScopeDeclaration returns ScopeDeclaration |
1038 | * | 1038 | * |
1039 | * Constraint: | 1039 | * Constraint: |
1040 | * (name=ID specification=ScopeSpecification) | 1040 | * (name=ID specification=ScopeSpecification) |
1041 | */ | 1041 | */ |
1042 | protected void sequence_ScopeDeclaration(ISerializationContext context, ScopeDeclaration semanticObject) { | 1042 | protected void sequence_ScopeDeclaration(ISerializationContext context, ScopeDeclaration semanticObject) { |
1043 | if (errorAcceptor != null) { | 1043 | if (errorAcceptor != null) { |
1044 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) | 1044 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) |
1045 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); | 1045 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); |
1046 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION) == ValueTransient.YES) | 1046 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION) == ValueTransient.YES) |
1047 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION)); | 1047 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION)); |
1048 | } | 1048 | } |
1049 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 1049 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
1050 | feeder.accept(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); | 1050 | feeder.accept(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); |
1051 | feeder.accept(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); | 1051 | feeder.accept(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); |
1052 | feeder.finish(); | 1052 | feeder.finish(); |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | 1055 | ||
1056 | /** | 1056 | /** |
1057 | * Contexts: | 1057 | * Contexts: |
1058 | * ScopeReference returns ScopeReference | 1058 | * ScopeReference returns ScopeReference |
1059 | * Scope returns ScopeReference | 1059 | * Scope returns ScopeReference |
1060 | * | 1060 | * |
1061 | * Constraint: | 1061 | * Constraint: |
1062 | * referred=[ScopeDeclaration|ID] | 1062 | * referred=[ScopeDeclaration|ID] |
1063 | */ | 1063 | */ |
1064 | protected void sequence_ScopeReference(ISerializationContext context, ScopeReference semanticObject) { | 1064 | protected void sequence_ScopeReference(ISerializationContext context, ScopeReference semanticObject) { |
1065 | if (errorAcceptor != null) { | 1065 | if (errorAcceptor != null) { |
1066 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED) == ValueTransient.YES) | 1066 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED) == ValueTransient.YES) |
1067 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED)); | 1067 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED)); |
1068 | } | 1068 | } |
1069 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 1069 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
1070 | feeder.accept(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED, false)); | 1070 | feeder.accept(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED, false)); |
1071 | feeder.finish(); | 1071 | feeder.finish(); |
1072 | } | 1072 | } |
1073 | 1073 | ||
1074 | 1074 | ||
1075 | /** | 1075 | /** |
1076 | * Contexts: | 1076 | * Contexts: |
1077 | * ScopeSpecification returns ScopeSpecification | 1077 | * ScopeSpecification returns ScopeSpecification |
1078 | * Scope returns ScopeSpecification | 1078 | * Scope returns ScopeSpecification |
1079 | * | 1079 | * |
1080 | * Constraint: | 1080 | * Constraint: |
1081 | * (scopes+=TypeScope scopes+=TypeScope*)? | 1081 | * (scopes+=TypeScope scopes+=TypeScope*)? |
1082 | */ | 1082 | */ |
1083 | protected void sequence_ScopeSpecification(ISerializationContext context, ScopeSpecification semanticObject) { | 1083 | protected void sequence_ScopeSpecification(ISerializationContext context, ScopeSpecification semanticObject) { |
1084 | genericSequencer.createSequence(context, semanticObject); | 1084 | genericSequencer.createSequence(context, semanticObject); |
1085 | } | 1085 | } |
1086 | 1086 | ||
1087 | 1087 | ||
1088 | /** | 1088 | /** |
1089 | * Contexts: | 1089 | * Contexts: |
1090 | * NumberSpecification returns StringEnumeration | 1090 | * NumberSpecification returns StringEnumeration |
1091 | * StringEnumeration returns StringEnumeration | 1091 | * StringEnumeration returns StringEnumeration |
1092 | * | 1092 | * |
1093 | * Constraint: | 1093 | * Constraint: |
1094 | * (entry+=STRING entry+=STRING*)? | 1094 | * (entry+=STRING entry+=STRING*)? |
1095 | */ | 1095 | */ |
1096 | protected void sequence_StringEnumeration(ISerializationContext context, StringEnumeration semanticObject) { | 1096 | protected void sequence_StringEnumeration(ISerializationContext context, StringEnumeration semanticObject) { |
1097 | genericSequencer.createSequence(context, semanticObject); | 1097 | genericSequencer.createSequence(context, semanticObject); |
1098 | } | 1098 | } |
1099 | 1099 | ||
1100 | 1100 | ||
1101 | /** | 1101 | /** |
1102 | * Contexts: | 1102 | * Contexts: |
1103 | * TypeReference returns StringScope | 1103 | * TypeReference returns StringScope |
1104 | * StringReference returns StringScope | 1104 | * StringReference returns StringScope |
1105 | * | 1105 | * |
1106 | * Constraint: | 1106 | * Constraint: |
1107 | * {StringScope} | 1107 | * {StringScope} |
1108 | */ | 1108 | */ |
1109 | protected void sequence_StringReference(ISerializationContext context, StringScope semanticObject) { | 1109 | protected void sequence_StringReference(ISerializationContext context, StringScope semanticObject) { |
1110 | genericSequencer.createSequence(context, semanticObject); | 1110 | genericSequencer.createSequence(context, semanticObject); |
1111 | } | 1111 | } |
1112 | 1112 | ||
1113 | 1113 | ||
1114 | /** | 1114 | /** |
1115 | * Contexts: | 1115 | * Contexts: |
1116 | * TypeScope returns StringTypeScope | 1116 | * TypeScope returns StringTypeScope |
1117 | * StringTypeScope returns StringTypeScope | 1117 | * StringTypeScope returns StringTypeScope |
1118 | * | 1118 | * |
1119 | * Constraint: | 1119 | * Constraint: |
1120 | * (type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=StringEnumeration)) | 1120 | * (type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=StringEnumeration)) |
1121 | */ | 1121 | */ |
1122 | protected void sequence_StringTypeScope(ISerializationContext context, StringTypeScope semanticObject) { | 1122 | protected void sequence_StringTypeScope(ISerializationContext context, StringTypeScope semanticObject) { |
1123 | genericSequencer.createSequence(context, semanticObject); | 1123 | genericSequencer.createSequence(context, semanticObject); |
1124 | } | 1124 | } |
1125 | 1125 | ||
1126 | 1126 | ||
1127 | /** | 1127 | /** |
1128 | * Contexts: | 1128 | * Contexts: |
1129 | * ObjectiveEntry returns ThresholdEntry | 1129 | * ObjectiveEntry returns ThresholdEntry |
1130 | * ThresholdEntry returns ThresholdEntry | 1130 | * ThresholdEntry returns ThresholdEntry |
1131 | * | 1131 | * |
1132 | * Constraint: | 1132 | * Constraint: |
1133 | * (function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral) | 1133 | * (function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral) |
1134 | */ | 1134 | */ |
1135 | protected void sequence_ThresholdEntry(ISerializationContext context, ThresholdEntry semanticObject) { | 1135 | protected void sequence_ThresholdEntry(ISerializationContext context, ThresholdEntry semanticObject) { |
1136 | if (errorAcceptor != null) { | 1136 | if (errorAcceptor != null) { |
1137 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) | 1137 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) |
1138 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); | 1138 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); |
1139 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR) == ValueTransient.YES) | 1139 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR) == ValueTransient.YES) |
1140 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR)); | 1140 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR)); |
1141 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD) == ValueTransient.YES) | 1141 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD) == ValueTransient.YES) |
1142 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD)); | 1142 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD)); |
1143 | } | 1143 | } |
1144 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 1144 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
1145 | feeder.accept(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0(), semanticObject.getFunction()); | 1145 | feeder.accept(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0(), semanticObject.getFunction()); |
1146 | feeder.accept(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0(), semanticObject.getOperator()); | 1146 | feeder.accept(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0(), semanticObject.getOperator()); |
1147 | feeder.accept(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0(), semanticObject.getThreshold()); | 1147 | feeder.accept(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0(), semanticObject.getThreshold()); |
1148 | feeder.finish(); | 1148 | feeder.finish(); |
1149 | } | 1149 | } |
1150 | 1150 | ||
1151 | 1151 | ||
1152 | /** | 1152 | /** |
1153 | * Contexts: | 1153 | * Contexts: |
1154 | * Import returns ViatraImport | 1154 | * Import returns ViatraImport |
1155 | * ViatraImport returns ViatraImport | 1155 | * ViatraImport returns ViatraImport |
1156 | * | 1156 | * |
1157 | * Constraint: | 1157 | * Constraint: |
1158 | * importedViatra=[PatternModel|STRING] | 1158 | * importedViatra=[PatternModel|STRING] |
1159 | */ | 1159 | */ |
1160 | protected void sequence_ViatraImport(ISerializationContext context, ViatraImport semanticObject) { | 1160 | protected void sequence_ViatraImport(ISerializationContext context, ViatraImport semanticObject) { |
1161 | if (errorAcceptor != null) { | 1161 | if (errorAcceptor != null) { |
1162 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA) == ValueTransient.YES) | 1162 | if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA) == ValueTransient.YES) |
1163 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA)); | 1163 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA)); |
1164 | } | 1164 | } |
1165 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 1165 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
1166 | feeder.accept(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA, false)); | 1166 | feeder.accept(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA, false)); |
1167 | feeder.finish(); | 1167 | feeder.finish(); |
1168 | } | 1168 | } |
1169 | 1169 | ||
1170 | 1170 | ||
1171 | } | 1171 | } |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java index 390084ff..948f728a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java | |||
@@ -1,43 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.21.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.serializer; | 4 | package hu.bme.mit.inf.dslreasoner.application.serializer; |
5 | 5 | ||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; | 7 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; |
8 | import java.util.List; | 8 | import java.util.List; |
9 | import org.eclipse.emf.ecore.EObject; | 9 | import org.eclipse.emf.ecore.EObject; |
10 | import org.eclipse.xtext.IGrammarAccess; | 10 | import org.eclipse.xtext.IGrammarAccess; |
11 | import org.eclipse.xtext.RuleCall; | 11 | import org.eclipse.xtext.RuleCall; |
12 | import org.eclipse.xtext.nodemodel.INode; | 12 | import org.eclipse.xtext.nodemodel.INode; |
13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; | 13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; |
14 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; | 14 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; |
15 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; | 15 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; |
16 | 16 | ||
17 | @SuppressWarnings("all") | 17 | @SuppressWarnings("all") |
18 | public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { | 18 | public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { |
19 | 19 | ||
20 | protected ApplicationConfigurationGrammarAccess grammarAccess; | 20 | protected ApplicationConfigurationGrammarAccess grammarAccess; |
21 | 21 | ||
22 | @Inject | 22 | @Inject |
23 | protected void init(IGrammarAccess access) { | 23 | protected void init(IGrammarAccess access) { |
24 | grammarAccess = (ApplicationConfigurationGrammarAccess) access; | 24 | grammarAccess = (ApplicationConfigurationGrammarAccess) access; |
25 | } | 25 | } |
26 | 26 | ||
27 | @Override | 27 | @Override |
28 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { | 28 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { |
29 | return ""; | 29 | return ""; |
30 | } | 30 | } |
31 | 31 | ||
32 | 32 | ||
33 | @Override | 33 | @Override |
34 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { | 34 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { |
35 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; | 35 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; |
36 | List<INode> transitionNodes = collectNodes(fromNode, toNode); | 36 | List<INode> transitionNodes = collectNodes(fromNode, toNode); |
37 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { | 37 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { |
38 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); | 38 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); |
39 | acceptNodes(getLastNavigableState(), syntaxNodes); | 39 | acceptNodes(getLastNavigableState(), syntaxNodes); |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||
43 | } | 43 | } |