diff options
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer')
2 files changed, 0 insertions, 625 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java deleted file mode 100644 index fe329903..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java +++ /dev/null | |||
@@ -1,383 +0,0 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | ||
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; | ||
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | ||
15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; | ||
16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | ||
17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; | ||
18 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; | ||
19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; | ||
20 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
21 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
22 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; | ||
23 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; | ||
24 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; | ||
25 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; | ||
26 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; | ||
27 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
28 | import java.util.Set; | ||
29 | import org.eclipse.emf.ecore.EObject; | ||
30 | import org.eclipse.emf.ecore.EPackage; | ||
31 | import org.eclipse.xtext.Action; | ||
32 | import org.eclipse.xtext.Parameter; | ||
33 | import org.eclipse.xtext.ParserRule; | ||
34 | import org.eclipse.xtext.serializer.ISerializationContext; | ||
35 | import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; | ||
36 | import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; | ||
37 | import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; | ||
38 | |||
39 | @SuppressWarnings("all") | ||
40 | public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer { | ||
41 | |||
42 | @Inject | ||
43 | private CftLanguageGrammarAccess grammarAccess; | ||
44 | |||
45 | @Override | ||
46 | public void sequence(ISerializationContext context, EObject semanticObject) { | ||
47 | EPackage epackage = semanticObject.eClass().getEPackage(); | ||
48 | ParserRule rule = context.getParserRule(); | ||
49 | Action action = context.getAssignedAction(); | ||
50 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); | ||
51 | if (epackage == CftPackage.eINSTANCE) | ||
52 | switch (semanticObject.eClass().getClassifierID()) { | ||
53 | case CftPackage.AND_GATE_DEFINITION: | ||
54 | sequence_AndGateDefinition(context, (AndGateDefinition) semanticObject); | ||
55 | return; | ||
56 | case CftPackage.BASIC_EVENT_DEFINITION: | ||
57 | sequence_BasicEventDefinition(context, (BasicEventDefinition) semanticObject); | ||
58 | return; | ||
59 | case CftPackage.COMPONENT_DEFINITION: | ||
60 | sequence_ComponentDefinition(context, (ComponentDefinition) semanticObject); | ||
61 | return; | ||
62 | case CftPackage.INPUT_EVENT: | ||
63 | sequence_InputEvent(context, (InputEvent) semanticObject); | ||
64 | return; | ||
65 | case CftPackage.KOF_MGATE_DEFINITION: | ||
66 | sequence_KOfMGateDefinition(context, (KOfMGateDefinition) semanticObject); | ||
67 | return; | ||
68 | case CftPackage.OR_GATE_DEFINITION: | ||
69 | sequence_OrGateDefinition(context, (OrGateDefinition) semanticObject); | ||
70 | return; | ||
71 | } | ||
72 | else if (epackage == CftLanguagePackage.eINSTANCE) | ||
73 | switch (semanticObject.eClass().getClassifierID()) { | ||
74 | case CftLanguagePackage.ASSIGNMENT: | ||
75 | sequence_Assignment(context, (Assignment) semanticObject); | ||
76 | return; | ||
77 | case CftLanguagePackage.CFT_MODEL: | ||
78 | sequence_CftModel(context, (CftModel) semanticObject); | ||
79 | return; | ||
80 | case CftLanguagePackage.COMPONENT_INSTANCE: | ||
81 | sequence_ComponentInstance(context, (ComponentInstance) semanticObject); | ||
82 | return; | ||
83 | case CftLanguagePackage.EVENT_REFERENCE: | ||
84 | sequence_EventReference(context, (EventReference) semanticObject); | ||
85 | return; | ||
86 | case CftLanguagePackage.IMPORT_DECLARATION: | ||
87 | sequence_ImportDeclaration(context, (ImportDeclaration) semanticObject); | ||
88 | return; | ||
89 | case CftLanguagePackage.LOOKUP_DEFINITION: | ||
90 | sequence_LookupDefinition(context, (LookupDefinition) semanticObject); | ||
91 | return; | ||
92 | case CftLanguagePackage.MAPPING_DEFINITION: | ||
93 | sequence_MappingDefinition(context, (MappingDefinition) semanticObject); | ||
94 | return; | ||
95 | case CftLanguagePackage.MAPPING_PARAMETER: | ||
96 | sequence_MappingParameter(context, (MappingParameter) semanticObject); | ||
97 | return; | ||
98 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: | ||
99 | sequence_TransformationDefinition(context, (TransformationDefinition) semanticObject); | ||
100 | return; | ||
101 | } | ||
102 | else if (epackage == FtPackage.eINSTANCE) | ||
103 | switch (semanticObject.eClass().getClassifierID()) { | ||
104 | case FtPackage.CONSTANT_DISTRIBUTION: | ||
105 | sequence_ConstantDistribution(context, (ConstantDistribution) semanticObject); | ||
106 | return; | ||
107 | case FtPackage.EXPONENTIAL_DISTRIBUTION: | ||
108 | sequence_ExponentialDistribution(context, (ExponentialDistribution) semanticObject); | ||
109 | return; | ||
110 | } | ||
111 | if (errorAcceptor != null) | ||
112 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * Contexts: | ||
117 | * EventDefinition returns AndGateDefinition | ||
118 | * GateDefinition returns AndGateDefinition | ||
119 | * AndGateDefinition returns AndGateDefinition | ||
120 | * | ||
121 | * Constraint: | ||
122 | * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) | ||
123 | */ | ||
124 | protected void sequence_AndGateDefinition(ISerializationContext context, AndGateDefinition semanticObject) { | ||
125 | genericSequencer.createSequence(context, semanticObject); | ||
126 | } | ||
127 | |||
128 | |||
129 | /** | ||
130 | * Contexts: | ||
131 | * Assignment returns Assignment | ||
132 | * | ||
133 | * Constraint: | ||
134 | * (input=EventReference multiple?='+='? output=EventReference) | ||
135 | */ | ||
136 | protected void sequence_Assignment(ISerializationContext context, Assignment semanticObject) { | ||
137 | genericSequencer.createSequence(context, semanticObject); | ||
138 | } | ||
139 | |||
140 | |||
141 | /** | ||
142 | * Contexts: | ||
143 | * EventDefinition returns BasicEventDefinition | ||
144 | * BasicEventDefinition returns BasicEventDefinition | ||
145 | * | ||
146 | * Constraint: | ||
147 | * (name=ValidId distribution=Distribution) | ||
148 | */ | ||
149 | protected void sequence_BasicEventDefinition(ISerializationContext context, BasicEventDefinition semanticObject) { | ||
150 | if (errorAcceptor != null) { | ||
151 | if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME) == ValueTransient.YES) | ||
152 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME)); | ||
153 | if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION) == ValueTransient.YES) | ||
154 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION)); | ||
155 | } | ||
156 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
157 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0(), semanticObject.getName()); | ||
158 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0(), semanticObject.getDistribution()); | ||
159 | feeder.finish(); | ||
160 | } | ||
161 | |||
162 | |||
163 | /** | ||
164 | * Contexts: | ||
165 | * CftModel returns CftModel | ||
166 | * | ||
167 | * Constraint: | ||
168 | * ( | ||
169 | * packageName=QualifiedName | ||
170 | * imports+=ImportDeclaration* | ||
171 | * (componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)* | ||
172 | * ) | ||
173 | */ | ||
174 | protected void sequence_CftModel(ISerializationContext context, CftModel semanticObject) { | ||
175 | genericSequencer.createSequence(context, semanticObject); | ||
176 | } | ||
177 | |||
178 | |||
179 | /** | ||
180 | * Contexts: | ||
181 | * ComponentDefinition returns ComponentDefinition | ||
182 | * | ||
183 | * Constraint: | ||
184 | * (name=ValidId (inputEvents+=InputEvent | outputEvents+=[EventDeclaration|ValidId])* eventDefinitions+=EventDefinition*) | ||
185 | */ | ||
186 | protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) { | ||
187 | genericSequencer.createSequence(context, semanticObject); | ||
188 | } | ||
189 | |||
190 | |||
191 | /** | ||
192 | * Contexts: | ||
193 | * Variable returns ComponentInstance | ||
194 | * ComponentInstance returns ComponentInstance | ||
195 | * | ||
196 | * Constraint: | ||
197 | * (componentType=[ComponentDefinition|QualifiedName] name=ValidId?) | ||
198 | */ | ||
199 | protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { | ||
200 | genericSequencer.createSequence(context, semanticObject); | ||
201 | } | ||
202 | |||
203 | |||
204 | /** | ||
205 | * Contexts: | ||
206 | * Distribution returns ConstantDistribution | ||
207 | * ConstantDistribution returns ConstantDistribution | ||
208 | * | ||
209 | * Constraint: | ||
210 | * p=Double | ||
211 | */ | ||
212 | protected void sequence_ConstantDistribution(ISerializationContext context, ConstantDistribution semanticObject) { | ||
213 | if (errorAcceptor != null) { | ||
214 | if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P) == ValueTransient.YES) | ||
215 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P)); | ||
216 | } | ||
217 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
218 | feeder.accept(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0(), semanticObject.getP()); | ||
219 | feeder.finish(); | ||
220 | } | ||
221 | |||
222 | |||
223 | /** | ||
224 | * Contexts: | ||
225 | * EventReference returns EventReference | ||
226 | * | ||
227 | * Constraint: | ||
228 | * (component=[Variable|ValidId] event=[EventDeclaration|ValidId]) | ||
229 | */ | ||
230 | protected void sequence_EventReference(ISerializationContext context, EventReference semanticObject) { | ||
231 | if (errorAcceptor != null) { | ||
232 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT) == ValueTransient.YES) | ||
233 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT)); | ||
234 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT) == ValueTransient.YES) | ||
235 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)); | ||
236 | } | ||
237 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
238 | feeder.accept(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT, false)); | ||
239 | feeder.accept(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT, false)); | ||
240 | feeder.finish(); | ||
241 | } | ||
242 | |||
243 | |||
244 | /** | ||
245 | * Contexts: | ||
246 | * Distribution returns ExponentialDistribution | ||
247 | * ExponentialDistribution returns ExponentialDistribution | ||
248 | * | ||
249 | * Constraint: | ||
250 | * lambda=Double | ||
251 | */ | ||
252 | protected void sequence_ExponentialDistribution(ISerializationContext context, ExponentialDistribution semanticObject) { | ||
253 | if (errorAcceptor != null) { | ||
254 | if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA) == ValueTransient.YES) | ||
255 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA)); | ||
256 | } | ||
257 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
258 | feeder.accept(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0(), semanticObject.getLambda()); | ||
259 | feeder.finish(); | ||
260 | } | ||
261 | |||
262 | |||
263 | /** | ||
264 | * Contexts: | ||
265 | * ImportDeclaration returns ImportDeclaration | ||
266 | * | ||
267 | * Constraint: | ||
268 | * importedNamespace=QualifiedNameWithWildcard | ||
269 | */ | ||
270 | protected void sequence_ImportDeclaration(ISerializationContext context, ImportDeclaration semanticObject) { | ||
271 | if (errorAcceptor != null) { | ||
272 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE) == ValueTransient.YES) | ||
273 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE)); | ||
274 | } | ||
275 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
276 | feeder.accept(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0(), semanticObject.getImportedNamespace()); | ||
277 | feeder.finish(); | ||
278 | } | ||
279 | |||
280 | |||
281 | /** | ||
282 | * Contexts: | ||
283 | * InputEvent returns InputEvent | ||
284 | * | ||
285 | * Constraint: | ||
286 | * (name=ValidId multiple?='[]'?) | ||
287 | */ | ||
288 | protected void sequence_InputEvent(ISerializationContext context, InputEvent semanticObject) { | ||
289 | genericSequencer.createSequence(context, semanticObject); | ||
290 | } | ||
291 | |||
292 | |||
293 | /** | ||
294 | * Contexts: | ||
295 | * EventDefinition returns KOfMGateDefinition | ||
296 | * GateDefinition returns KOfMGateDefinition | ||
297 | * KOfMGateDefinition returns KOfMGateDefinition | ||
298 | * | ||
299 | * Constraint: | ||
300 | * (name=ValidId k=INT (m=INT | m=OF_INT) inputEvents+=[EventDeclaration|ValidId]*) | ||
301 | */ | ||
302 | protected void sequence_KOfMGateDefinition(ISerializationContext context, KOfMGateDefinition semanticObject) { | ||
303 | genericSequencer.createSequence(context, semanticObject); | ||
304 | } | ||
305 | |||
306 | |||
307 | /** | ||
308 | * Contexts: | ||
309 | * LookupDefinition returns LookupDefinition | ||
310 | * Variable returns LookupDefinition | ||
311 | * | ||
312 | * Constraint: | ||
313 | * (mapping=[MappingDefinition|QualifiedName] arguments+=[MappingParameter|ValidId] arguments+=[MappingParameter|ValidId]* name=ValidId) | ||
314 | */ | ||
315 | protected void sequence_LookupDefinition(ISerializationContext context, LookupDefinition semanticObject) { | ||
316 | genericSequencer.createSequence(context, semanticObject); | ||
317 | } | ||
318 | |||
319 | |||
320 | /** | ||
321 | * Contexts: | ||
322 | * MappingDefinition returns MappingDefinition | ||
323 | * | ||
324 | * Constraint: | ||
325 | * ( | ||
326 | * topLevel?='toplevel'? | ||
327 | * pattern=[Pattern|QualifiedName] | ||
328 | * parameters+=MappingParameter | ||
329 | * parameters+=MappingParameter* | ||
330 | * componentInstance=ComponentInstance? | ||
331 | * (lookupDefinitions+=LookupDefinition | assignments+=Assignment)* | ||
332 | * ) | ||
333 | */ | ||
334 | protected void sequence_MappingDefinition(ISerializationContext context, MappingDefinition semanticObject) { | ||
335 | genericSequencer.createSequence(context, semanticObject); | ||
336 | } | ||
337 | |||
338 | |||
339 | /** | ||
340 | * Contexts: | ||
341 | * MappingParameter returns MappingParameter | ||
342 | * | ||
343 | * Constraint: | ||
344 | * name=ValidId | ||
345 | */ | ||
346 | protected void sequence_MappingParameter(ISerializationContext context, MappingParameter semanticObject) { | ||
347 | if (errorAcceptor != null) { | ||
348 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME) == ValueTransient.YES) | ||
349 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME)); | ||
350 | } | ||
351 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
352 | feeder.accept(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0(), semanticObject.getName()); | ||
353 | feeder.finish(); | ||
354 | } | ||
355 | |||
356 | |||
357 | /** | ||
358 | * Contexts: | ||
359 | * EventDefinition returns OrGateDefinition | ||
360 | * GateDefinition returns OrGateDefinition | ||
361 | * OrGateDefinition returns OrGateDefinition | ||
362 | * | ||
363 | * Constraint: | ||
364 | * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) | ||
365 | */ | ||
366 | protected void sequence_OrGateDefinition(ISerializationContext context, OrGateDefinition semanticObject) { | ||
367 | genericSequencer.createSequence(context, semanticObject); | ||
368 | } | ||
369 | |||
370 | |||
371 | /** | ||
372 | * Contexts: | ||
373 | * TransformationDefinition returns TransformationDefinition | ||
374 | * | ||
375 | * Constraint: | ||
376 | * (name=ValidId mappingDefinitions+=MappingDefinition*) | ||
377 | */ | ||
378 | protected void sequence_TransformationDefinition(ISerializationContext context, TransformationDefinition semanticObject) { | ||
379 | genericSequencer.createSequence(context, semanticObject); | ||
380 | } | ||
381 | |||
382 | |||
383 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java deleted file mode 100644 index 62a80a00..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java +++ /dev/null | |||
@@ -1,242 +0,0 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; | ||
8 | import java.util.List; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.xtext.IGrammarAccess; | ||
11 | import org.eclipse.xtext.RuleCall; | ||
12 | import org.eclipse.xtext.nodemodel.INode; | ||
13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; | ||
14 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias; | ||
15 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; | ||
16 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; | ||
17 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; | ||
18 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; | ||
19 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; | ||
20 | |||
21 | @SuppressWarnings("all") | ||
22 | public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | ||
23 | |||
24 | protected CftLanguageGrammarAccess grammarAccess; | ||
25 | protected AbstractElementAlias match_CftModel_SemicolonKeyword_2_q; | ||
26 | protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a; | ||
27 | protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a; | ||
28 | protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a; | ||
29 | protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a; | ||
30 | protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a; | ||
31 | protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a; | ||
32 | protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a; | ||
33 | protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p; | ||
34 | protected AbstractElementAlias match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p; | ||
35 | protected AbstractElementAlias match_ImportDeclaration_SemicolonKeyword_2_q; | ||
36 | protected AbstractElementAlias match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q; | ||
37 | |||
38 | @Inject | ||
39 | protected void init(IGrammarAccess access) { | ||
40 | grammarAccess = (CftLanguageGrammarAccess) access; | ||
41 | match_CftModel_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); | ||
42 | match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); | ||
43 | match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())); | ||
44 | match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()))); | ||
45 | match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())); | ||
46 | match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0())); | ||
47 | match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0())); | ||
48 | match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a = new AlternativeAlias(true, true, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); | ||
49 | match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); | ||
50 | match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()))); | ||
51 | match_ImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); | ||
52 | match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()), new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2())); | ||
53 | } | ||
54 | |||
55 | @Override | ||
56 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { | ||
57 | return ""; | ||
58 | } | ||
59 | |||
60 | |||
61 | @Override | ||
62 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { | ||
63 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; | ||
64 | List<INode> transitionNodes = collectNodes(fromNode, toNode); | ||
65 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { | ||
66 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); | ||
67 | if (match_CftModel_SemicolonKeyword_2_q.equals(syntax)) | ||
68 | emit_CftModel_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); | ||
69 | else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a.equals(syntax)) | ||
70 | emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
71 | else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a.equals(syntax)) | ||
72 | emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
73 | else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a.equals(syntax)) | ||
74 | emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
75 | else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a.equals(syntax)) | ||
76 | emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
77 | else if (match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a.equals(syntax)) | ||
78 | emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
79 | else if (match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a.equals(syntax)) | ||
80 | emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
81 | else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a.equals(syntax)) | ||
82 | emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
83 | else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p.equals(syntax)) | ||
84 | emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes); | ||
85 | else if (match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p.equals(syntax)) | ||
86 | emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes); | ||
87 | else if (match_ImportDeclaration_SemicolonKeyword_2_q.equals(syntax)) | ||
88 | emit_ImportDeclaration_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); | ||
89 | else if (match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q.equals(syntax)) | ||
90 | emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(semanticObject, getLastNavigableState(), syntaxNodes); | ||
91 | else acceptNodes(getLastNavigableState(), syntaxNodes); | ||
92 | } | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * Ambiguous syntax: | ||
97 | * ';'? | ||
98 | * | ||
99 | * This ambiguous syntax occurs at: | ||
100 | * packageName=QualifiedName (ambiguity) (rule end) | ||
101 | * packageName=QualifiedName (ambiguity) componentDefinitions+=ComponentDefinition | ||
102 | * packageName=QualifiedName (ambiguity) imports+=ImportDeclaration | ||
103 | * packageName=QualifiedName (ambiguity) transformationDefinitions+=TransformationDefinition | ||
104 | */ | ||
105 | protected void emit_CftModel_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
106 | acceptNodes(transition, nodes); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * Ambiguous syntax: | ||
111 | * ('in' ';' ('out' ';')*)* | ||
112 | * | ||
113 | * This ambiguous syntax occurs at: | ||
114 | * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) '}' (rule end) | ||
115 | * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) eventDefinitions+=EventDefinition | ||
116 | */ | ||
117 | protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
118 | acceptNodes(transition, nodes); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * Ambiguous syntax: | ||
123 | * ('in' ';')* | ||
124 | * | ||
125 | * This ambiguous syntax occurs at: | ||
126 | * inputEvents+=InputEvent ';' (ambiguity) (('out' ';')? ('out' ';' 'in' ';')?)+ 'out' outputEvents+=[EventDeclaration|ValidId] | ||
127 | * name=ValidId '{' (ambiguity) 'out' (';' (ambiguity) 'out')* outputEvents+=[EventDeclaration|ValidId] | ||
128 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* '}' (rule end) | ||
129 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* eventDefinitions+=EventDefinition | ||
130 | */ | ||
131 | protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
132 | acceptNodes(transition, nodes); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * Ambiguous syntax: | ||
137 | * ('out' ';' ('in' ';')*)* | ||
138 | * | ||
139 | * This ambiguous syntax occurs at: | ||
140 | * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) '}' (rule end) | ||
141 | * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) eventDefinitions+=EventDefinition | ||
142 | */ | ||
143 | protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
144 | acceptNodes(transition, nodes); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * Ambiguous syntax: | ||
149 | * ('out' ';')* | ||
150 | * | ||
151 | * This ambiguous syntax occurs at: | ||
152 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* '}' (rule end) | ||
153 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* eventDefinitions+=EventDefinition | ||
154 | * name=ValidId '{' (ambiguity) 'in' (';' (ambiguity) 'in')* inputEvents+=InputEvent | ||
155 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) (('in' ';')? ('in' ';' 'out' ';')?)+ 'in' inputEvents+=InputEvent | ||
156 | */ | ||
157 | protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
158 | acceptNodes(transition, nodes); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * Ambiguous syntax: | ||
163 | * (';' ('out' ';')* 'in')* | ||
164 | * | ||
165 | * This ambiguous syntax occurs at: | ||
166 | * inputEvents+=InputEvent (ambiguity) inputEvents+=InputEvent | ||
167 | * name=ValidId '{' ('out' ';')* 'in' (ambiguity) inputEvents+=InputEvent | ||
168 | */ | ||
169 | protected void emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
170 | acceptNodes(transition, nodes); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * Ambiguous syntax: | ||
175 | * (';' ('in' ';')* 'out')* | ||
176 | * | ||
177 | * This ambiguous syntax occurs at: | ||
178 | * name=ValidId '{' ('in' ';')* 'out' (ambiguity) outputEvents+=[EventDeclaration|ValidId] | ||
179 | * outputEvents+=[EventDeclaration|ValidId] (ambiguity) outputEvents+=[EventDeclaration|ValidId] | ||
180 | */ | ||
181 | protected void emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
182 | acceptNodes(transition, nodes); | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * Ambiguous syntax: | ||
187 | * (('in' ';') | ('out' ';'))* | ||
188 | * | ||
189 | * This ambiguous syntax occurs at: | ||
190 | * name=ValidId '{' (ambiguity) '}' (rule end) | ||
191 | * name=ValidId '{' (ambiguity) eventDefinitions+=EventDefinition | ||
192 | */ | ||
193 | protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
194 | acceptNodes(transition, nodes); | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * Ambiguous syntax: | ||
199 | * (('in' ';')? ('in' ';' 'out' ';')?)+ | ||
200 | * | ||
201 | * This ambiguous syntax occurs at: | ||
202 | * outputEvents+=[EventDeclaration|ValidId] ';' ('out' ';')* (ambiguity) 'in' inputEvents+=InputEvent | ||
203 | */ | ||
204 | protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
205 | acceptNodes(transition, nodes); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * Ambiguous syntax: | ||
210 | * (('out' ';')? ('out' ';' 'in' ';')?)+ | ||
211 | * | ||
212 | * This ambiguous syntax occurs at: | ||
213 | * inputEvents+=InputEvent ';' ('in' ';')* (ambiguity) 'out' outputEvents+=[EventDeclaration|ValidId] | ||
214 | */ | ||
215 | protected void emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
216 | acceptNodes(transition, nodes); | ||
217 | } | ||
218 | |||
219 | /** | ||
220 | * Ambiguous syntax: | ||
221 | * ';'? | ||
222 | * | ||
223 | * This ambiguous syntax occurs at: | ||
224 | * importedNamespace=QualifiedNameWithWildcard (ambiguity) (rule end) | ||
225 | */ | ||
226 | protected void emit_ImportDeclaration_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
227 | acceptNodes(transition, nodes); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * Ambiguous syntax: | ||
232 | * ('{' '}')? | ||
233 | * | ||
234 | * This ambiguous syntax occurs at: | ||
235 | * componentInstance=ComponentInstance (ambiguity) (rule end) | ||
236 | * parameters+=MappingParameter ')' (ambiguity) (rule end) | ||
237 | */ | ||
238 | protected void emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
239 | acceptNodes(transition, nodes); | ||
240 | } | ||
241 | |||
242 | } | ||