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