diff options
169 files changed, 21868 insertions, 6973 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java index 579a30af..b524557f 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java | |||
@@ -32,12 +32,15 @@ public class CftLanguageParser extends AbstractContentAssistParser { | |||
32 | 32 | ||
33 | private static void init(ImmutableMap.Builder<AbstractElement, String> builder, CftLanguageGrammarAccess grammarAccess) { | 33 | private static void init(ImmutableMap.Builder<AbstractElement, String> builder, CftLanguageGrammarAccess grammarAccess) { |
34 | builder.put(grammarAccess.getCftModelAccess().getAlternatives_4(), "rule__CftModel__Alternatives_4"); | 34 | builder.put(grammarAccess.getCftModelAccess().getAlternatives_4(), "rule__CftModel__Alternatives_4"); |
35 | builder.put(grammarAccess.getEventDeclarationAccess().getAlternatives(), "rule__EventDeclaration__Alternatives"); | ||
36 | builder.put(grammarAccess.getEventDefinitionAccess().getAlternatives(), "rule__EventDefinition__Alternatives"); | 35 | builder.put(grammarAccess.getEventDefinitionAccess().getAlternatives(), "rule__EventDefinition__Alternatives"); |
36 | builder.put(grammarAccess.getDistributionAccess().getAlternatives(), "rule__Distribution__Alternatives"); | ||
37 | builder.put(grammarAccess.getGateDefinitionAccess().getAlternatives(), "rule__GateDefinition__Alternatives"); | 37 | builder.put(grammarAccess.getGateDefinitionAccess().getAlternatives(), "rule__GateDefinition__Alternatives"); |
38 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2(), "rule__KOfMGateDefinition__Alternatives_2"); | ||
38 | builder.put(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0(), "rule__MappingDefinition__Alternatives_8_1_0"); | 39 | builder.put(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0(), "rule__MappingDefinition__Alternatives_8_1_0"); |
39 | builder.put(grammarAccess.getVariableAccess().getAlternatives(), "rule__Variable__Alternatives"); | 40 | builder.put(grammarAccess.getVariableAccess().getAlternatives(), "rule__Variable__Alternatives"); |
40 | builder.put(grammarAccess.getAssignmentAccess().getAlternatives_1(), "rule__Assignment__Alternatives_1"); | 41 | builder.put(grammarAccess.getAssignmentAccess().getAlternatives_1(), "rule__Assignment__Alternatives_1"); |
42 | builder.put(grammarAccess.getValidIdAccess().getAlternatives(), "rule__ValidId__Alternatives"); | ||
43 | builder.put(grammarAccess.getDoubleAccess().getAlternatives(), "rule__Double__Alternatives"); | ||
41 | builder.put(grammarAccess.getCftModelAccess().getGroup(), "rule__CftModel__Group__0"); | 44 | builder.put(grammarAccess.getCftModelAccess().getGroup(), "rule__CftModel__Group__0"); |
42 | builder.put(grammarAccess.getImportDeclarationAccess().getGroup(), "rule__ImportDeclaration__Group__0"); | 45 | builder.put(grammarAccess.getImportDeclarationAccess().getGroup(), "rule__ImportDeclaration__Group__0"); |
43 | builder.put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0"); | 46 | builder.put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0"); |
@@ -46,8 +49,12 @@ public class CftLanguageParser extends AbstractContentAssistParser { | |||
46 | builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_4(), "rule__ComponentDefinition__Group_4__0"); | 49 | builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_4(), "rule__ComponentDefinition__Group_4__0"); |
47 | builder.put(grammarAccess.getInputEventAccess().getGroup(), "rule__InputEvent__Group__0"); | 50 | builder.put(grammarAccess.getInputEventAccess().getGroup(), "rule__InputEvent__Group__0"); |
48 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getGroup(), "rule__BasicEventDefinition__Group__0"); | 51 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getGroup(), "rule__BasicEventDefinition__Group__0"); |
49 | builder.put(grammarAccess.getAndGateAccess().getGroup(), "rule__AndGate__Group__0"); | 52 | builder.put(grammarAccess.getConstantDistributionAccess().getGroup(), "rule__ConstantDistribution__Group__0"); |
50 | builder.put(grammarAccess.getOrGateAccess().getGroup(), "rule__OrGate__Group__0"); | 53 | builder.put(grammarAccess.getExponentialDistributionAccess().getGroup(), "rule__ExponentialDistribution__Group__0"); |
54 | builder.put(grammarAccess.getAndGateDefinitionAccess().getGroup(), "rule__AndGateDefinition__Group__0"); | ||
55 | builder.put(grammarAccess.getOrGateDefinitionAccess().getGroup(), "rule__OrGateDefinition__Group__0"); | ||
56 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getGroup(), "rule__KOfMGateDefinition__Group__0"); | ||
57 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0(), "rule__KOfMGateDefinition__Group_2_0__0"); | ||
51 | builder.put(grammarAccess.getTransformationDefinitionAccess().getGroup(), "rule__TransformationDefinition__Group__0"); | 58 | builder.put(grammarAccess.getTransformationDefinitionAccess().getGroup(), "rule__TransformationDefinition__Group__0"); |
52 | builder.put(grammarAccess.getMappingDefinitionAccess().getGroup(), "rule__MappingDefinition__Group__0"); | 59 | builder.put(grammarAccess.getMappingDefinitionAccess().getGroup(), "rule__MappingDefinition__Group__0"); |
53 | builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_5(), "rule__MappingDefinition__Group_5__0"); | 60 | builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_5(), "rule__MappingDefinition__Group_5__0"); |
@@ -74,11 +81,18 @@ public class CftLanguageParser extends AbstractContentAssistParser { | |||
74 | builder.put(grammarAccess.getInputEventAccess().getNameAssignment_0(), "rule__InputEvent__NameAssignment_0"); | 81 | builder.put(grammarAccess.getInputEventAccess().getNameAssignment_0(), "rule__InputEvent__NameAssignment_0"); |
75 | builder.put(grammarAccess.getInputEventAccess().getMultipleAssignment_1(), "rule__InputEvent__MultipleAssignment_1"); | 82 | builder.put(grammarAccess.getInputEventAccess().getMultipleAssignment_1(), "rule__InputEvent__MultipleAssignment_1"); |
76 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0(), "rule__BasicEventDefinition__NameAssignment_0"); | 83 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0(), "rule__BasicEventDefinition__NameAssignment_0"); |
77 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getRateAssignment_3(), "rule__BasicEventDefinition__RateAssignment_3"); | 84 | builder.put(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1(), "rule__BasicEventDefinition__DistributionAssignment_1"); |
78 | builder.put(grammarAccess.getAndGateAccess().getNameAssignment_0(), "rule__AndGate__NameAssignment_0"); | 85 | builder.put(grammarAccess.getConstantDistributionAccess().getPAssignment_2(), "rule__ConstantDistribution__PAssignment_2"); |
79 | builder.put(grammarAccess.getAndGateAccess().getInputEventsAssignment_2(), "rule__AndGate__InputEventsAssignment_2"); | 86 | builder.put(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2(), "rule__ExponentialDistribution__LambdaAssignment_2"); |
80 | builder.put(grammarAccess.getOrGateAccess().getNameAssignment_0(), "rule__OrGate__NameAssignment_0"); | 87 | builder.put(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0(), "rule__AndGateDefinition__NameAssignment_0"); |
81 | builder.put(grammarAccess.getOrGateAccess().getInputEventsAssignment_2(), "rule__OrGate__InputEventsAssignment_2"); | 88 | builder.put(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2(), "rule__AndGateDefinition__InputEventsAssignment_2"); |
89 | builder.put(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0(), "rule__OrGateDefinition__NameAssignment_0"); | ||
90 | builder.put(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2(), "rule__OrGateDefinition__InputEventsAssignment_2"); | ||
91 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0(), "rule__KOfMGateDefinition__NameAssignment_0"); | ||
92 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1(), "rule__KOfMGateDefinition__KAssignment_1"); | ||
93 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1(), "rule__KOfMGateDefinition__MAssignment_2_0_1"); | ||
94 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1(), "rule__KOfMGateDefinition__MAssignment_2_1"); | ||
95 | builder.put(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3(), "rule__KOfMGateDefinition__InputEventsAssignment_3"); | ||
82 | builder.put(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1(), "rule__TransformationDefinition__NameAssignment_1"); | 96 | builder.put(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1(), "rule__TransformationDefinition__NameAssignment_1"); |
83 | builder.put(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3(), "rule__TransformationDefinition__MappingDefinitionsAssignment_3"); | 97 | builder.put(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3(), "rule__TransformationDefinition__MappingDefinitionsAssignment_3"); |
84 | builder.put(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0(), "rule__MappingDefinition__TopLevelAssignment_0"); | 98 | builder.put(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0(), "rule__MappingDefinition__TopLevelAssignment_0"); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g index 84bb924e..7c04c163 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g | |||
@@ -199,6 +199,81 @@ finally { | |||
199 | restoreStackSize(stackSize); | 199 | restoreStackSize(stackSize); |
200 | } | 200 | } |
201 | 201 | ||
202 | // Entry rule entryRuleDistribution | ||
203 | entryRuleDistribution | ||
204 | : | ||
205 | { before(grammarAccess.getDistributionRule()); } | ||
206 | ruleDistribution | ||
207 | { after(grammarAccess.getDistributionRule()); } | ||
208 | EOF | ||
209 | ; | ||
210 | |||
211 | // Rule Distribution | ||
212 | ruleDistribution | ||
213 | @init { | ||
214 | int stackSize = keepStackSize(); | ||
215 | } | ||
216 | : | ||
217 | ( | ||
218 | { before(grammarAccess.getDistributionAccess().getAlternatives()); } | ||
219 | (rule__Distribution__Alternatives) | ||
220 | { after(grammarAccess.getDistributionAccess().getAlternatives()); } | ||
221 | ) | ||
222 | ; | ||
223 | finally { | ||
224 | restoreStackSize(stackSize); | ||
225 | } | ||
226 | |||
227 | // Entry rule entryRuleConstantDistribution | ||
228 | entryRuleConstantDistribution | ||
229 | : | ||
230 | { before(grammarAccess.getConstantDistributionRule()); } | ||
231 | ruleConstantDistribution | ||
232 | { after(grammarAccess.getConstantDistributionRule()); } | ||
233 | EOF | ||
234 | ; | ||
235 | |||
236 | // Rule ConstantDistribution | ||
237 | ruleConstantDistribution | ||
238 | @init { | ||
239 | int stackSize = keepStackSize(); | ||
240 | } | ||
241 | : | ||
242 | ( | ||
243 | { before(grammarAccess.getConstantDistributionAccess().getGroup()); } | ||
244 | (rule__ConstantDistribution__Group__0) | ||
245 | { after(grammarAccess.getConstantDistributionAccess().getGroup()); } | ||
246 | ) | ||
247 | ; | ||
248 | finally { | ||
249 | restoreStackSize(stackSize); | ||
250 | } | ||
251 | |||
252 | // Entry rule entryRuleExponentialDistribution | ||
253 | entryRuleExponentialDistribution | ||
254 | : | ||
255 | { before(grammarAccess.getExponentialDistributionRule()); } | ||
256 | ruleExponentialDistribution | ||
257 | { after(grammarAccess.getExponentialDistributionRule()); } | ||
258 | EOF | ||
259 | ; | ||
260 | |||
261 | // Rule ExponentialDistribution | ||
262 | ruleExponentialDistribution | ||
263 | @init { | ||
264 | int stackSize = keepStackSize(); | ||
265 | } | ||
266 | : | ||
267 | ( | ||
268 | { before(grammarAccess.getExponentialDistributionAccess().getGroup()); } | ||
269 | (rule__ExponentialDistribution__Group__0) | ||
270 | { after(grammarAccess.getExponentialDistributionAccess().getGroup()); } | ||
271 | ) | ||
272 | ; | ||
273 | finally { | ||
274 | restoreStackSize(stackSize); | ||
275 | } | ||
276 | |||
202 | // Entry rule entryRuleGateDefinition | 277 | // Entry rule entryRuleGateDefinition |
203 | entryRuleGateDefinition | 278 | entryRuleGateDefinition |
204 | : | 279 | : |
@@ -224,50 +299,75 @@ finally { | |||
224 | restoreStackSize(stackSize); | 299 | restoreStackSize(stackSize); |
225 | } | 300 | } |
226 | 301 | ||
227 | // Entry rule entryRuleAndGate | 302 | // Entry rule entryRuleAndGateDefinition |
228 | entryRuleAndGate | 303 | entryRuleAndGateDefinition |
229 | : | 304 | : |
230 | { before(grammarAccess.getAndGateRule()); } | 305 | { before(grammarAccess.getAndGateDefinitionRule()); } |
231 | ruleAndGate | 306 | ruleAndGateDefinition |
232 | { after(grammarAccess.getAndGateRule()); } | 307 | { after(grammarAccess.getAndGateDefinitionRule()); } |
233 | EOF | 308 | EOF |
234 | ; | 309 | ; |
235 | 310 | ||
236 | // Rule AndGate | 311 | // Rule AndGateDefinition |
237 | ruleAndGate | 312 | ruleAndGateDefinition |
238 | @init { | 313 | @init { |
239 | int stackSize = keepStackSize(); | 314 | int stackSize = keepStackSize(); |
240 | } | 315 | } |
241 | : | 316 | : |
242 | ( | 317 | ( |
243 | { before(grammarAccess.getAndGateAccess().getGroup()); } | 318 | { before(grammarAccess.getAndGateDefinitionAccess().getGroup()); } |
244 | (rule__AndGate__Group__0) | 319 | (rule__AndGateDefinition__Group__0) |
245 | { after(grammarAccess.getAndGateAccess().getGroup()); } | 320 | { after(grammarAccess.getAndGateDefinitionAccess().getGroup()); } |
246 | ) | 321 | ) |
247 | ; | 322 | ; |
248 | finally { | 323 | finally { |
249 | restoreStackSize(stackSize); | 324 | restoreStackSize(stackSize); |
250 | } | 325 | } |
251 | 326 | ||
252 | // Entry rule entryRuleOrGate | 327 | // Entry rule entryRuleOrGateDefinition |
253 | entryRuleOrGate | 328 | entryRuleOrGateDefinition |
254 | : | 329 | : |
255 | { before(grammarAccess.getOrGateRule()); } | 330 | { before(grammarAccess.getOrGateDefinitionRule()); } |
256 | ruleOrGate | 331 | ruleOrGateDefinition |
257 | { after(grammarAccess.getOrGateRule()); } | 332 | { after(grammarAccess.getOrGateDefinitionRule()); } |
258 | EOF | 333 | EOF |
259 | ; | 334 | ; |
260 | 335 | ||
261 | // Rule OrGate | 336 | // Rule OrGateDefinition |
262 | ruleOrGate | 337 | ruleOrGateDefinition |
263 | @init { | 338 | @init { |
264 | int stackSize = keepStackSize(); | 339 | int stackSize = keepStackSize(); |
265 | } | 340 | } |
266 | : | 341 | : |
267 | ( | 342 | ( |
268 | { before(grammarAccess.getOrGateAccess().getGroup()); } | 343 | { before(grammarAccess.getOrGateDefinitionAccess().getGroup()); } |
269 | (rule__OrGate__Group__0) | 344 | (rule__OrGateDefinition__Group__0) |
270 | { after(grammarAccess.getOrGateAccess().getGroup()); } | 345 | { after(grammarAccess.getOrGateDefinitionAccess().getGroup()); } |
346 | ) | ||
347 | ; | ||
348 | finally { | ||
349 | restoreStackSize(stackSize); | ||
350 | } | ||
351 | |||
352 | // Entry rule entryRuleKOfMGateDefinition | ||
353 | entryRuleKOfMGateDefinition | ||
354 | : | ||
355 | { before(grammarAccess.getKOfMGateDefinitionRule()); } | ||
356 | ruleKOfMGateDefinition | ||
357 | { after(grammarAccess.getKOfMGateDefinitionRule()); } | ||
358 | EOF | ||
359 | ; | ||
360 | |||
361 | // Rule KOfMGateDefinition | ||
362 | ruleKOfMGateDefinition | ||
363 | @init { | ||
364 | int stackSize = keepStackSize(); | ||
365 | } | ||
366 | : | ||
367 | ( | ||
368 | { before(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); } | ||
369 | (rule__KOfMGateDefinition__Group__0) | ||
370 | { after(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); } | ||
271 | ) | 371 | ) |
272 | ; | 372 | ; |
273 | finally { | 373 | finally { |
@@ -499,6 +599,56 @@ finally { | |||
499 | restoreStackSize(stackSize); | 599 | restoreStackSize(stackSize); |
500 | } | 600 | } |
501 | 601 | ||
602 | // Entry rule entryRuleValidId | ||
603 | entryRuleValidId | ||
604 | : | ||
605 | { before(grammarAccess.getValidIdRule()); } | ||
606 | ruleValidId | ||
607 | { after(grammarAccess.getValidIdRule()); } | ||
608 | EOF | ||
609 | ; | ||
610 | |||
611 | // Rule ValidId | ||
612 | ruleValidId | ||
613 | @init { | ||
614 | int stackSize = keepStackSize(); | ||
615 | } | ||
616 | : | ||
617 | ( | ||
618 | { before(grammarAccess.getValidIdAccess().getAlternatives()); } | ||
619 | (rule__ValidId__Alternatives) | ||
620 | { after(grammarAccess.getValidIdAccess().getAlternatives()); } | ||
621 | ) | ||
622 | ; | ||
623 | finally { | ||
624 | restoreStackSize(stackSize); | ||
625 | } | ||
626 | |||
627 | // Entry rule entryRuleDouble | ||
628 | entryRuleDouble | ||
629 | : | ||
630 | { before(grammarAccess.getDoubleRule()); } | ||
631 | ruleDouble | ||
632 | { after(grammarAccess.getDoubleRule()); } | ||
633 | EOF | ||
634 | ; | ||
635 | |||
636 | // Rule Double | ||
637 | ruleDouble | ||
638 | @init { | ||
639 | int stackSize = keepStackSize(); | ||
640 | } | ||
641 | : | ||
642 | ( | ||
643 | { before(grammarAccess.getDoubleAccess().getAlternatives()); } | ||
644 | (rule__Double__Alternatives) | ||
645 | { after(grammarAccess.getDoubleAccess().getAlternatives()); } | ||
646 | ) | ||
647 | ; | ||
648 | finally { | ||
649 | restoreStackSize(stackSize); | ||
650 | } | ||
651 | |||
502 | rule__CftModel__Alternatives_4 | 652 | rule__CftModel__Alternatives_4 |
503 | @init { | 653 | @init { |
504 | int stackSize = keepStackSize(); | 654 | int stackSize = keepStackSize(); |
@@ -541,21 +691,69 @@ finally { | |||
541 | restoreStackSize(stackSize); | 691 | restoreStackSize(stackSize); |
542 | } | 692 | } |
543 | 693 | ||
694 | rule__Distribution__Alternatives | ||
695 | @init { | ||
696 | int stackSize = keepStackSize(); | ||
697 | } | ||
698 | : | ||
699 | ( | ||
700 | { before(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); } | ||
701 | ruleConstantDistribution | ||
702 | { after(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); } | ||
703 | ) | ||
704 | | | ||
705 | ( | ||
706 | { before(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); } | ||
707 | ruleExponentialDistribution | ||
708 | { after(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); } | ||
709 | ) | ||
710 | ; | ||
711 | finally { | ||
712 | restoreStackSize(stackSize); | ||
713 | } | ||
714 | |||
544 | rule__GateDefinition__Alternatives | 715 | rule__GateDefinition__Alternatives |
545 | @init { | 716 | @init { |
546 | int stackSize = keepStackSize(); | 717 | int stackSize = keepStackSize(); |
547 | } | 718 | } |
548 | : | 719 | : |
549 | ( | 720 | ( |
550 | { before(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); } | 721 | { before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); } |
551 | ruleAndGate | 722 | ruleAndGateDefinition |
552 | { after(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); } | 723 | { after(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); } |
724 | ) | ||
725 | | | ||
726 | ( | ||
727 | { before(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); } | ||
728 | ruleOrGateDefinition | ||
729 | { after(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); } | ||
730 | ) | ||
731 | | | ||
732 | ( | ||
733 | { before(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); } | ||
734 | ruleKOfMGateDefinition | ||
735 | { after(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); } | ||
736 | ) | ||
737 | ; | ||
738 | finally { | ||
739 | restoreStackSize(stackSize); | ||
740 | } | ||
741 | |||
742 | rule__KOfMGateDefinition__Alternatives_2 | ||
743 | @init { | ||
744 | int stackSize = keepStackSize(); | ||
745 | } | ||
746 | : | ||
747 | ( | ||
748 | { before(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); } | ||
749 | (rule__KOfMGateDefinition__Group_2_0__0) | ||
750 | { after(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); } | ||
553 | ) | 751 | ) |
554 | | | 752 | | |
555 | ( | 753 | ( |
556 | { before(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); } | 754 | { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); } |
557 | ruleOrGate | 755 | (rule__KOfMGateDefinition__MAssignment_2_1) |
558 | { after(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); } | 756 | { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); } |
559 | ) | 757 | ) |
560 | ; | 758 | ; |
561 | finally { | 759 | finally { |
@@ -604,6 +802,48 @@ finally { | |||
604 | restoreStackSize(stackSize); | 802 | restoreStackSize(stackSize); |
605 | } | 803 | } |
606 | 804 | ||
805 | rule__ValidId__Alternatives | ||
806 | @init { | ||
807 | int stackSize = keepStackSize(); | ||
808 | } | ||
809 | : | ||
810 | ( | ||
811 | { before(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); } | ||
812 | RULE_ID | ||
813 | { after(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); } | ||
814 | ) | ||
815 | | | ||
816 | ( | ||
817 | { before(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); } | ||
818 | RULE_OF_INT | ||
819 | { after(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); } | ||
820 | ) | ||
821 | ; | ||
822 | finally { | ||
823 | restoreStackSize(stackSize); | ||
824 | } | ||
825 | |||
826 | rule__Double__Alternatives | ||
827 | @init { | ||
828 | int stackSize = keepStackSize(); | ||
829 | } | ||
830 | : | ||
831 | ( | ||
832 | { before(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); } | ||
833 | RULE_INT | ||
834 | { after(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); } | ||
835 | ) | ||
836 | | | ||
837 | ( | ||
838 | { before(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); } | ||
839 | RULE_T_DOUBLE | ||
840 | { after(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); } | ||
841 | ) | ||
842 | ; | ||
843 | finally { | ||
844 | restoreStackSize(stackSize); | ||
845 | } | ||
846 | |||
607 | rule__CftModel__Group__0 | 847 | rule__CftModel__Group__0 |
608 | @init { | 848 | @init { |
609 | int stackSize = keepStackSize(); | 849 | int stackSize = keepStackSize(); |
@@ -1285,7 +1525,6 @@ rule__BasicEventDefinition__Group__1 | |||
1285 | } | 1525 | } |
1286 | : | 1526 | : |
1287 | rule__BasicEventDefinition__Group__1__Impl | 1527 | rule__BasicEventDefinition__Group__1__Impl |
1288 | rule__BasicEventDefinition__Group__2 | ||
1289 | ; | 1528 | ; |
1290 | finally { | 1529 | finally { |
1291 | restoreStackSize(stackSize); | 1530 | restoreStackSize(stackSize); |
@@ -1297,62 +1536,171 @@ rule__BasicEventDefinition__Group__1__Impl | |||
1297 | } | 1536 | } |
1298 | : | 1537 | : |
1299 | ( | 1538 | ( |
1300 | { before(grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); } | 1539 | { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); } |
1540 | (rule__BasicEventDefinition__DistributionAssignment_1) | ||
1541 | { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); } | ||
1542 | ) | ||
1543 | ; | ||
1544 | finally { | ||
1545 | restoreStackSize(stackSize); | ||
1546 | } | ||
1547 | |||
1548 | |||
1549 | rule__ConstantDistribution__Group__0 | ||
1550 | @init { | ||
1551 | int stackSize = keepStackSize(); | ||
1552 | } | ||
1553 | : | ||
1554 | rule__ConstantDistribution__Group__0__Impl | ||
1555 | rule__ConstantDistribution__Group__1 | ||
1556 | ; | ||
1557 | finally { | ||
1558 | restoreStackSize(stackSize); | ||
1559 | } | ||
1560 | |||
1561 | rule__ConstantDistribution__Group__0__Impl | ||
1562 | @init { | ||
1563 | int stackSize = keepStackSize(); | ||
1564 | } | ||
1565 | : | ||
1566 | ( | ||
1567 | { before(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); } | ||
1568 | 'p' | ||
1569 | { after(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); } | ||
1570 | ) | ||
1571 | ; | ||
1572 | finally { | ||
1573 | restoreStackSize(stackSize); | ||
1574 | } | ||
1575 | |||
1576 | rule__ConstantDistribution__Group__1 | ||
1577 | @init { | ||
1578 | int stackSize = keepStackSize(); | ||
1579 | } | ||
1580 | : | ||
1581 | rule__ConstantDistribution__Group__1__Impl | ||
1582 | rule__ConstantDistribution__Group__2 | ||
1583 | ; | ||
1584 | finally { | ||
1585 | restoreStackSize(stackSize); | ||
1586 | } | ||
1587 | |||
1588 | rule__ConstantDistribution__Group__1__Impl | ||
1589 | @init { | ||
1590 | int stackSize = keepStackSize(); | ||
1591 | } | ||
1592 | : | ||
1593 | ( | ||
1594 | { before(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); } | ||
1595 | '=' | ||
1596 | { after(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); } | ||
1597 | ) | ||
1598 | ; | ||
1599 | finally { | ||
1600 | restoreStackSize(stackSize); | ||
1601 | } | ||
1602 | |||
1603 | rule__ConstantDistribution__Group__2 | ||
1604 | @init { | ||
1605 | int stackSize = keepStackSize(); | ||
1606 | } | ||
1607 | : | ||
1608 | rule__ConstantDistribution__Group__2__Impl | ||
1609 | ; | ||
1610 | finally { | ||
1611 | restoreStackSize(stackSize); | ||
1612 | } | ||
1613 | |||
1614 | rule__ConstantDistribution__Group__2__Impl | ||
1615 | @init { | ||
1616 | int stackSize = keepStackSize(); | ||
1617 | } | ||
1618 | : | ||
1619 | ( | ||
1620 | { before(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); } | ||
1621 | (rule__ConstantDistribution__PAssignment_2) | ||
1622 | { after(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); } | ||
1623 | ) | ||
1624 | ; | ||
1625 | finally { | ||
1626 | restoreStackSize(stackSize); | ||
1627 | } | ||
1628 | |||
1629 | |||
1630 | rule__ExponentialDistribution__Group__0 | ||
1631 | @init { | ||
1632 | int stackSize = keepStackSize(); | ||
1633 | } | ||
1634 | : | ||
1635 | rule__ExponentialDistribution__Group__0__Impl | ||
1636 | rule__ExponentialDistribution__Group__1 | ||
1637 | ; | ||
1638 | finally { | ||
1639 | restoreStackSize(stackSize); | ||
1640 | } | ||
1641 | |||
1642 | rule__ExponentialDistribution__Group__0__Impl | ||
1643 | @init { | ||
1644 | int stackSize = keepStackSize(); | ||
1645 | } | ||
1646 | : | ||
1647 | ( | ||
1648 | { before(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); } | ||
1301 | 'lambda' | 1649 | 'lambda' |
1302 | { after(grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); } | 1650 | { after(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); } |
1303 | ) | 1651 | ) |
1304 | ; | 1652 | ; |
1305 | finally { | 1653 | finally { |
1306 | restoreStackSize(stackSize); | 1654 | restoreStackSize(stackSize); |
1307 | } | 1655 | } |
1308 | 1656 | ||
1309 | rule__BasicEventDefinition__Group__2 | 1657 | rule__ExponentialDistribution__Group__1 |
1310 | @init { | 1658 | @init { |
1311 | int stackSize = keepStackSize(); | 1659 | int stackSize = keepStackSize(); |
1312 | } | 1660 | } |
1313 | : | 1661 | : |
1314 | rule__BasicEventDefinition__Group__2__Impl | 1662 | rule__ExponentialDistribution__Group__1__Impl |
1315 | rule__BasicEventDefinition__Group__3 | 1663 | rule__ExponentialDistribution__Group__2 |
1316 | ; | 1664 | ; |
1317 | finally { | 1665 | finally { |
1318 | restoreStackSize(stackSize); | 1666 | restoreStackSize(stackSize); |
1319 | } | 1667 | } |
1320 | 1668 | ||
1321 | rule__BasicEventDefinition__Group__2__Impl | 1669 | rule__ExponentialDistribution__Group__1__Impl |
1322 | @init { | 1670 | @init { |
1323 | int stackSize = keepStackSize(); | 1671 | int stackSize = keepStackSize(); |
1324 | } | 1672 | } |
1325 | : | 1673 | : |
1326 | ( | 1674 | ( |
1327 | { before(grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); } | 1675 | { before(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); } |
1328 | '=' | 1676 | '=' |
1329 | { after(grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); } | 1677 | { after(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); } |
1330 | ) | 1678 | ) |
1331 | ; | 1679 | ; |
1332 | finally { | 1680 | finally { |
1333 | restoreStackSize(stackSize); | 1681 | restoreStackSize(stackSize); |
1334 | } | 1682 | } |
1335 | 1683 | ||
1336 | rule__BasicEventDefinition__Group__3 | 1684 | rule__ExponentialDistribution__Group__2 |
1337 | @init { | 1685 | @init { |
1338 | int stackSize = keepStackSize(); | 1686 | int stackSize = keepStackSize(); |
1339 | } | 1687 | } |
1340 | : | 1688 | : |
1341 | rule__BasicEventDefinition__Group__3__Impl | 1689 | rule__ExponentialDistribution__Group__2__Impl |
1342 | ; | 1690 | ; |
1343 | finally { | 1691 | finally { |
1344 | restoreStackSize(stackSize); | 1692 | restoreStackSize(stackSize); |
1345 | } | 1693 | } |
1346 | 1694 | ||
1347 | rule__BasicEventDefinition__Group__3__Impl | 1695 | rule__ExponentialDistribution__Group__2__Impl |
1348 | @init { | 1696 | @init { |
1349 | int stackSize = keepStackSize(); | 1697 | int stackSize = keepStackSize(); |
1350 | } | 1698 | } |
1351 | : | 1699 | : |
1352 | ( | 1700 | ( |
1353 | { before(grammarAccess.getBasicEventDefinitionAccess().getRateAssignment_3()); } | 1701 | { before(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); } |
1354 | (rule__BasicEventDefinition__RateAssignment_3) | 1702 | (rule__ExponentialDistribution__LambdaAssignment_2) |
1355 | { after(grammarAccess.getBasicEventDefinitionAccess().getRateAssignment_3()); } | 1703 | { after(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); } |
1356 | ) | 1704 | ) |
1357 | ; | 1705 | ; |
1358 | finally { | 1706 | finally { |
@@ -1360,80 +1708,80 @@ finally { | |||
1360 | } | 1708 | } |
1361 | 1709 | ||
1362 | 1710 | ||
1363 | rule__AndGate__Group__0 | 1711 | rule__AndGateDefinition__Group__0 |
1364 | @init { | 1712 | @init { |
1365 | int stackSize = keepStackSize(); | 1713 | int stackSize = keepStackSize(); |
1366 | } | 1714 | } |
1367 | : | 1715 | : |
1368 | rule__AndGate__Group__0__Impl | 1716 | rule__AndGateDefinition__Group__0__Impl |
1369 | rule__AndGate__Group__1 | 1717 | rule__AndGateDefinition__Group__1 |
1370 | ; | 1718 | ; |
1371 | finally { | 1719 | finally { |
1372 | restoreStackSize(stackSize); | 1720 | restoreStackSize(stackSize); |
1373 | } | 1721 | } |
1374 | 1722 | ||
1375 | rule__AndGate__Group__0__Impl | 1723 | rule__AndGateDefinition__Group__0__Impl |
1376 | @init { | 1724 | @init { |
1377 | int stackSize = keepStackSize(); | 1725 | int stackSize = keepStackSize(); |
1378 | } | 1726 | } |
1379 | : | 1727 | : |
1380 | ( | 1728 | ( |
1381 | { before(grammarAccess.getAndGateAccess().getNameAssignment_0()); } | 1729 | { before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); } |
1382 | (rule__AndGate__NameAssignment_0) | 1730 | (rule__AndGateDefinition__NameAssignment_0) |
1383 | { after(grammarAccess.getAndGateAccess().getNameAssignment_0()); } | 1731 | { after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); } |
1384 | ) | 1732 | ) |
1385 | ; | 1733 | ; |
1386 | finally { | 1734 | finally { |
1387 | restoreStackSize(stackSize); | 1735 | restoreStackSize(stackSize); |
1388 | } | 1736 | } |
1389 | 1737 | ||
1390 | rule__AndGate__Group__1 | 1738 | rule__AndGateDefinition__Group__1 |
1391 | @init { | 1739 | @init { |
1392 | int stackSize = keepStackSize(); | 1740 | int stackSize = keepStackSize(); |
1393 | } | 1741 | } |
1394 | : | 1742 | : |
1395 | rule__AndGate__Group__1__Impl | 1743 | rule__AndGateDefinition__Group__1__Impl |
1396 | rule__AndGate__Group__2 | 1744 | rule__AndGateDefinition__Group__2 |
1397 | ; | 1745 | ; |
1398 | finally { | 1746 | finally { |
1399 | restoreStackSize(stackSize); | 1747 | restoreStackSize(stackSize); |
1400 | } | 1748 | } |
1401 | 1749 | ||
1402 | rule__AndGate__Group__1__Impl | 1750 | rule__AndGateDefinition__Group__1__Impl |
1403 | @init { | 1751 | @init { |
1404 | int stackSize = keepStackSize(); | 1752 | int stackSize = keepStackSize(); |
1405 | } | 1753 | } |
1406 | : | 1754 | : |
1407 | ( | 1755 | ( |
1408 | { before(grammarAccess.getAndGateAccess().getAndKeyword_1()); } | 1756 | { before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); } |
1409 | 'and' | 1757 | 'and' |
1410 | { after(grammarAccess.getAndGateAccess().getAndKeyword_1()); } | 1758 | { after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); } |
1411 | ) | 1759 | ) |
1412 | ; | 1760 | ; |
1413 | finally { | 1761 | finally { |
1414 | restoreStackSize(stackSize); | 1762 | restoreStackSize(stackSize); |
1415 | } | 1763 | } |
1416 | 1764 | ||
1417 | rule__AndGate__Group__2 | 1765 | rule__AndGateDefinition__Group__2 |
1418 | @init { | 1766 | @init { |
1419 | int stackSize = keepStackSize(); | 1767 | int stackSize = keepStackSize(); |
1420 | } | 1768 | } |
1421 | : | 1769 | : |
1422 | rule__AndGate__Group__2__Impl | 1770 | rule__AndGateDefinition__Group__2__Impl |
1423 | ; | 1771 | ; |
1424 | finally { | 1772 | finally { |
1425 | restoreStackSize(stackSize); | 1773 | restoreStackSize(stackSize); |
1426 | } | 1774 | } |
1427 | 1775 | ||
1428 | rule__AndGate__Group__2__Impl | 1776 | rule__AndGateDefinition__Group__2__Impl |
1429 | @init { | 1777 | @init { |
1430 | int stackSize = keepStackSize(); | 1778 | int stackSize = keepStackSize(); |
1431 | } | 1779 | } |
1432 | : | 1780 | : |
1433 | ( | 1781 | ( |
1434 | { before(grammarAccess.getAndGateAccess().getInputEventsAssignment_2()); } | 1782 | { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); } |
1435 | (rule__AndGate__InputEventsAssignment_2)* | 1783 | (rule__AndGateDefinition__InputEventsAssignment_2)* |
1436 | { after(grammarAccess.getAndGateAccess().getInputEventsAssignment_2()); } | 1784 | { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); } |
1437 | ) | 1785 | ) |
1438 | ; | 1786 | ; |
1439 | finally { | 1787 | finally { |
@@ -1441,80 +1789,242 @@ finally { | |||
1441 | } | 1789 | } |
1442 | 1790 | ||
1443 | 1791 | ||
1444 | rule__OrGate__Group__0 | 1792 | rule__OrGateDefinition__Group__0 |
1445 | @init { | 1793 | @init { |
1446 | int stackSize = keepStackSize(); | 1794 | int stackSize = keepStackSize(); |
1447 | } | 1795 | } |
1448 | : | 1796 | : |
1449 | rule__OrGate__Group__0__Impl | 1797 | rule__OrGateDefinition__Group__0__Impl |
1450 | rule__OrGate__Group__1 | 1798 | rule__OrGateDefinition__Group__1 |
1451 | ; | 1799 | ; |
1452 | finally { | 1800 | finally { |
1453 | restoreStackSize(stackSize); | 1801 | restoreStackSize(stackSize); |
1454 | } | 1802 | } |
1455 | 1803 | ||
1456 | rule__OrGate__Group__0__Impl | 1804 | rule__OrGateDefinition__Group__0__Impl |
1457 | @init { | 1805 | @init { |
1458 | int stackSize = keepStackSize(); | 1806 | int stackSize = keepStackSize(); |
1459 | } | 1807 | } |
1460 | : | 1808 | : |
1461 | ( | 1809 | ( |
1462 | { before(grammarAccess.getOrGateAccess().getNameAssignment_0()); } | 1810 | { before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); } |
1463 | (rule__OrGate__NameAssignment_0) | 1811 | (rule__OrGateDefinition__NameAssignment_0) |
1464 | { after(grammarAccess.getOrGateAccess().getNameAssignment_0()); } | 1812 | { after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); } |
1465 | ) | 1813 | ) |
1466 | ; | 1814 | ; |
1467 | finally { | 1815 | finally { |
1468 | restoreStackSize(stackSize); | 1816 | restoreStackSize(stackSize); |
1469 | } | 1817 | } |
1470 | 1818 | ||
1471 | rule__OrGate__Group__1 | 1819 | rule__OrGateDefinition__Group__1 |
1472 | @init { | 1820 | @init { |
1473 | int stackSize = keepStackSize(); | 1821 | int stackSize = keepStackSize(); |
1474 | } | 1822 | } |
1475 | : | 1823 | : |
1476 | rule__OrGate__Group__1__Impl | 1824 | rule__OrGateDefinition__Group__1__Impl |
1477 | rule__OrGate__Group__2 | 1825 | rule__OrGateDefinition__Group__2 |
1478 | ; | 1826 | ; |
1479 | finally { | 1827 | finally { |
1480 | restoreStackSize(stackSize); | 1828 | restoreStackSize(stackSize); |
1481 | } | 1829 | } |
1482 | 1830 | ||
1483 | rule__OrGate__Group__1__Impl | 1831 | rule__OrGateDefinition__Group__1__Impl |
1484 | @init { | 1832 | @init { |
1485 | int stackSize = keepStackSize(); | 1833 | int stackSize = keepStackSize(); |
1486 | } | 1834 | } |
1487 | : | 1835 | : |
1488 | ( | 1836 | ( |
1489 | { before(grammarAccess.getOrGateAccess().getOrKeyword_1()); } | 1837 | { before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); } |
1490 | 'or' | 1838 | 'or' |
1491 | { after(grammarAccess.getOrGateAccess().getOrKeyword_1()); } | 1839 | { after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); } |
1840 | ) | ||
1841 | ; | ||
1842 | finally { | ||
1843 | restoreStackSize(stackSize); | ||
1844 | } | ||
1845 | |||
1846 | rule__OrGateDefinition__Group__2 | ||
1847 | @init { | ||
1848 | int stackSize = keepStackSize(); | ||
1849 | } | ||
1850 | : | ||
1851 | rule__OrGateDefinition__Group__2__Impl | ||
1852 | ; | ||
1853 | finally { | ||
1854 | restoreStackSize(stackSize); | ||
1855 | } | ||
1856 | |||
1857 | rule__OrGateDefinition__Group__2__Impl | ||
1858 | @init { | ||
1859 | int stackSize = keepStackSize(); | ||
1860 | } | ||
1861 | : | ||
1862 | ( | ||
1863 | { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); } | ||
1864 | (rule__OrGateDefinition__InputEventsAssignment_2)* | ||
1865 | { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); } | ||
1866 | ) | ||
1867 | ; | ||
1868 | finally { | ||
1869 | restoreStackSize(stackSize); | ||
1870 | } | ||
1871 | |||
1872 | |||
1873 | rule__KOfMGateDefinition__Group__0 | ||
1874 | @init { | ||
1875 | int stackSize = keepStackSize(); | ||
1876 | } | ||
1877 | : | ||
1878 | rule__KOfMGateDefinition__Group__0__Impl | ||
1879 | rule__KOfMGateDefinition__Group__1 | ||
1880 | ; | ||
1881 | finally { | ||
1882 | restoreStackSize(stackSize); | ||
1883 | } | ||
1884 | |||
1885 | rule__KOfMGateDefinition__Group__0__Impl | ||
1886 | @init { | ||
1887 | int stackSize = keepStackSize(); | ||
1888 | } | ||
1889 | : | ||
1890 | ( | ||
1891 | { before(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); } | ||
1892 | (rule__KOfMGateDefinition__NameAssignment_0) | ||
1893 | { after(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); } | ||
1894 | ) | ||
1895 | ; | ||
1896 | finally { | ||
1897 | restoreStackSize(stackSize); | ||
1898 | } | ||
1899 | |||
1900 | rule__KOfMGateDefinition__Group__1 | ||
1901 | @init { | ||
1902 | int stackSize = keepStackSize(); | ||
1903 | } | ||
1904 | : | ||
1905 | rule__KOfMGateDefinition__Group__1__Impl | ||
1906 | rule__KOfMGateDefinition__Group__2 | ||
1907 | ; | ||
1908 | finally { | ||
1909 | restoreStackSize(stackSize); | ||
1910 | } | ||
1911 | |||
1912 | rule__KOfMGateDefinition__Group__1__Impl | ||
1913 | @init { | ||
1914 | int stackSize = keepStackSize(); | ||
1915 | } | ||
1916 | : | ||
1917 | ( | ||
1918 | { before(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); } | ||
1919 | (rule__KOfMGateDefinition__KAssignment_1) | ||
1920 | { after(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); } | ||
1921 | ) | ||
1922 | ; | ||
1923 | finally { | ||
1924 | restoreStackSize(stackSize); | ||
1925 | } | ||
1926 | |||
1927 | rule__KOfMGateDefinition__Group__2 | ||
1928 | @init { | ||
1929 | int stackSize = keepStackSize(); | ||
1930 | } | ||
1931 | : | ||
1932 | rule__KOfMGateDefinition__Group__2__Impl | ||
1933 | rule__KOfMGateDefinition__Group__3 | ||
1934 | ; | ||
1935 | finally { | ||
1936 | restoreStackSize(stackSize); | ||
1937 | } | ||
1938 | |||
1939 | rule__KOfMGateDefinition__Group__2__Impl | ||
1940 | @init { | ||
1941 | int stackSize = keepStackSize(); | ||
1942 | } | ||
1943 | : | ||
1944 | ( | ||
1945 | { before(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); } | ||
1946 | (rule__KOfMGateDefinition__Alternatives_2) | ||
1947 | { after(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); } | ||
1948 | ) | ||
1949 | ; | ||
1950 | finally { | ||
1951 | restoreStackSize(stackSize); | ||
1952 | } | ||
1953 | |||
1954 | rule__KOfMGateDefinition__Group__3 | ||
1955 | @init { | ||
1956 | int stackSize = keepStackSize(); | ||
1957 | } | ||
1958 | : | ||
1959 | rule__KOfMGateDefinition__Group__3__Impl | ||
1960 | ; | ||
1961 | finally { | ||
1962 | restoreStackSize(stackSize); | ||
1963 | } | ||
1964 | |||
1965 | rule__KOfMGateDefinition__Group__3__Impl | ||
1966 | @init { | ||
1967 | int stackSize = keepStackSize(); | ||
1968 | } | ||
1969 | : | ||
1970 | ( | ||
1971 | { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); } | ||
1972 | (rule__KOfMGateDefinition__InputEventsAssignment_3)* | ||
1973 | { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); } | ||
1974 | ) | ||
1975 | ; | ||
1976 | finally { | ||
1977 | restoreStackSize(stackSize); | ||
1978 | } | ||
1979 | |||
1980 | |||
1981 | rule__KOfMGateDefinition__Group_2_0__0 | ||
1982 | @init { | ||
1983 | int stackSize = keepStackSize(); | ||
1984 | } | ||
1985 | : | ||
1986 | rule__KOfMGateDefinition__Group_2_0__0__Impl | ||
1987 | rule__KOfMGateDefinition__Group_2_0__1 | ||
1988 | ; | ||
1989 | finally { | ||
1990 | restoreStackSize(stackSize); | ||
1991 | } | ||
1992 | |||
1993 | rule__KOfMGateDefinition__Group_2_0__0__Impl | ||
1994 | @init { | ||
1995 | int stackSize = keepStackSize(); | ||
1996 | } | ||
1997 | : | ||
1998 | ( | ||
1999 | { before(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); } | ||
2000 | 'of' | ||
2001 | { after(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); } | ||
1492 | ) | 2002 | ) |
1493 | ; | 2003 | ; |
1494 | finally { | 2004 | finally { |
1495 | restoreStackSize(stackSize); | 2005 | restoreStackSize(stackSize); |
1496 | } | 2006 | } |
1497 | 2007 | ||
1498 | rule__OrGate__Group__2 | 2008 | rule__KOfMGateDefinition__Group_2_0__1 |
1499 | @init { | 2009 | @init { |
1500 | int stackSize = keepStackSize(); | 2010 | int stackSize = keepStackSize(); |
1501 | } | 2011 | } |
1502 | : | 2012 | : |
1503 | rule__OrGate__Group__2__Impl | 2013 | rule__KOfMGateDefinition__Group_2_0__1__Impl |
1504 | ; | 2014 | ; |
1505 | finally { | 2015 | finally { |
1506 | restoreStackSize(stackSize); | 2016 | restoreStackSize(stackSize); |
1507 | } | 2017 | } |
1508 | 2018 | ||
1509 | rule__OrGate__Group__2__Impl | 2019 | rule__KOfMGateDefinition__Group_2_0__1__Impl |
1510 | @init { | 2020 | @init { |
1511 | int stackSize = keepStackSize(); | 2021 | int stackSize = keepStackSize(); |
1512 | } | 2022 | } |
1513 | : | 2023 | : |
1514 | ( | 2024 | ( |
1515 | { before(grammarAccess.getOrGateAccess().getInputEventsAssignment_2()); } | 2025 | { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); } |
1516 | (rule__OrGate__InputEventsAssignment_2)* | 2026 | (rule__KOfMGateDefinition__MAssignment_2_0_1) |
1517 | { after(grammarAccess.getOrGateAccess().getInputEventsAssignment_2()); } | 2027 | { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); } |
1518 | ) | 2028 | ) |
1519 | ; | 2029 | ; |
1520 | finally { | 2030 | finally { |
@@ -2620,9 +3130,9 @@ rule__QualifiedName__Group__0__Impl | |||
2620 | } | 3130 | } |
2621 | : | 3131 | : |
2622 | ( | 3132 | ( |
2623 | { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } | 3133 | { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); } |
2624 | RULE_ID | 3134 | ruleValidId |
2625 | { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } | 3135 | { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); } |
2626 | ) | 3136 | ) |
2627 | ; | 3137 | ; |
2628 | finally { | 3138 | finally { |
@@ -2700,9 +3210,9 @@ rule__QualifiedName__Group_1__1__Impl | |||
2700 | } | 3210 | } |
2701 | : | 3211 | : |
2702 | ( | 3212 | ( |
2703 | { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } | 3213 | { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); } |
2704 | RULE_ID | 3214 | ruleValidId |
2705 | { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } | 3215 | { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); } |
2706 | ) | 3216 | ) |
2707 | ; | 3217 | ; |
2708 | finally { | 3218 | finally { |
@@ -2982,9 +3492,9 @@ rule__ComponentDefinition__NameAssignment_1 | |||
2982 | } | 3492 | } |
2983 | : | 3493 | : |
2984 | ( | 3494 | ( |
2985 | { before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } | 3495 | { before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } |
2986 | RULE_ID | 3496 | ruleValidId |
2987 | { after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } | 3497 | { after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } |
2988 | ) | 3498 | ) |
2989 | ; | 3499 | ; |
2990 | finally { | 3500 | finally { |
@@ -3014,9 +3524,9 @@ rule__ComponentDefinition__OutputEventsAssignment_3_1_1 | |||
3014 | ( | 3524 | ( |
3015 | { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } | 3525 | { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } |
3016 | ( | 3526 | ( |
3017 | { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1()); } | 3527 | { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); } |
3018 | RULE_ID | 3528 | ruleValidId |
3019 | { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1()); } | 3529 | { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); } |
3020 | ) | 3530 | ) |
3021 | { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } | 3531 | { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } |
3022 | ) | 3532 | ) |
@@ -3046,9 +3556,9 @@ rule__InputEvent__NameAssignment_0 | |||
3046 | } | 3556 | } |
3047 | : | 3557 | : |
3048 | ( | 3558 | ( |
3049 | { before(grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); } | 3559 | { before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); } |
3050 | RULE_ID | 3560 | ruleValidId |
3051 | { after(grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); } | 3561 | { after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); } |
3052 | ) | 3562 | ) |
3053 | ; | 3563 | ; |
3054 | finally { | 3564 | finally { |
@@ -3080,92 +3590,201 @@ rule__BasicEventDefinition__NameAssignment_0 | |||
3080 | } | 3590 | } |
3081 | : | 3591 | : |
3082 | ( | 3592 | ( |
3083 | { before(grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); } | 3593 | { before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } |
3084 | RULE_ID | 3594 | ruleValidId |
3085 | { after(grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); } | 3595 | { after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } |
3086 | ) | 3596 | ) |
3087 | ; | 3597 | ; |
3088 | finally { | 3598 | finally { |
3089 | restoreStackSize(stackSize); | 3599 | restoreStackSize(stackSize); |
3090 | } | 3600 | } |
3091 | 3601 | ||
3092 | rule__BasicEventDefinition__RateAssignment_3 | 3602 | rule__BasicEventDefinition__DistributionAssignment_1 |
3093 | @init { | 3603 | @init { |
3094 | int stackSize = keepStackSize(); | 3604 | int stackSize = keepStackSize(); |
3095 | } | 3605 | } |
3096 | : | 3606 | : |
3097 | ( | 3607 | ( |
3098 | { before(grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); } | 3608 | { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); } |
3099 | RULE_DOULBE | 3609 | ruleDistribution |
3100 | { after(grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); } | 3610 | { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); } |
3101 | ) | 3611 | ) |
3102 | ; | 3612 | ; |
3103 | finally { | 3613 | finally { |
3104 | restoreStackSize(stackSize); | 3614 | restoreStackSize(stackSize); |
3105 | } | 3615 | } |
3106 | 3616 | ||
3107 | rule__AndGate__NameAssignment_0 | 3617 | rule__ConstantDistribution__PAssignment_2 |
3108 | @init { | 3618 | @init { |
3109 | int stackSize = keepStackSize(); | 3619 | int stackSize = keepStackSize(); |
3110 | } | 3620 | } |
3111 | : | 3621 | : |
3112 | ( | 3622 | ( |
3113 | { before(grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); } | 3623 | { before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); } |
3114 | RULE_ID | 3624 | ruleDouble |
3115 | { after(grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); } | 3625 | { after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); } |
3626 | ) | ||
3627 | ; | ||
3628 | finally { | ||
3629 | restoreStackSize(stackSize); | ||
3630 | } | ||
3631 | |||
3632 | rule__ExponentialDistribution__LambdaAssignment_2 | ||
3633 | @init { | ||
3634 | int stackSize = keepStackSize(); | ||
3635 | } | ||
3636 | : | ||
3637 | ( | ||
3638 | { before(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); } | ||
3639 | ruleDouble | ||
3640 | { after(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); } | ||
3641 | ) | ||
3642 | ; | ||
3643 | finally { | ||
3644 | restoreStackSize(stackSize); | ||
3645 | } | ||
3646 | |||
3647 | rule__AndGateDefinition__NameAssignment_0 | ||
3648 | @init { | ||
3649 | int stackSize = keepStackSize(); | ||
3650 | } | ||
3651 | : | ||
3652 | ( | ||
3653 | { before(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } | ||
3654 | ruleValidId | ||
3655 | { after(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } | ||
3116 | ) | 3656 | ) |
3117 | ; | 3657 | ; |
3118 | finally { | 3658 | finally { |
3119 | restoreStackSize(stackSize); | 3659 | restoreStackSize(stackSize); |
3120 | } | 3660 | } |
3121 | 3661 | ||
3122 | rule__AndGate__InputEventsAssignment_2 | 3662 | rule__AndGateDefinition__InputEventsAssignment_2 |
3123 | @init { | 3663 | @init { |
3124 | int stackSize = keepStackSize(); | 3664 | int stackSize = keepStackSize(); |
3125 | } | 3665 | } |
3126 | : | 3666 | : |
3127 | ( | 3667 | ( |
3128 | { before(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); } | 3668 | { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } |
3129 | ( | 3669 | ( |
3130 | { before(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); } | 3670 | { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3131 | RULE_ID | 3671 | ruleValidId |
3132 | { after(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); } | 3672 | { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3133 | ) | 3673 | ) |
3134 | { after(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); } | 3674 | { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } |
3135 | ) | 3675 | ) |
3136 | ; | 3676 | ; |
3137 | finally { | 3677 | finally { |
3138 | restoreStackSize(stackSize); | 3678 | restoreStackSize(stackSize); |
3139 | } | 3679 | } |
3140 | 3680 | ||
3141 | rule__OrGate__NameAssignment_0 | 3681 | rule__OrGateDefinition__NameAssignment_0 |
3142 | @init { | 3682 | @init { |
3143 | int stackSize = keepStackSize(); | 3683 | int stackSize = keepStackSize(); |
3144 | } | 3684 | } |
3145 | : | 3685 | : |
3146 | ( | 3686 | ( |
3147 | { before(grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); } | 3687 | { before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } |
3148 | RULE_ID | 3688 | ruleValidId |
3149 | { after(grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); } | 3689 | { after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } |
3150 | ) | 3690 | ) |
3151 | ; | 3691 | ; |
3152 | finally { | 3692 | finally { |
3153 | restoreStackSize(stackSize); | 3693 | restoreStackSize(stackSize); |
3154 | } | 3694 | } |
3155 | 3695 | ||
3156 | rule__OrGate__InputEventsAssignment_2 | 3696 | rule__OrGateDefinition__InputEventsAssignment_2 |
3157 | @init { | 3697 | @init { |
3158 | int stackSize = keepStackSize(); | 3698 | int stackSize = keepStackSize(); |
3159 | } | 3699 | } |
3160 | : | 3700 | : |
3161 | ( | 3701 | ( |
3162 | { before(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); } | 3702 | { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } |
3163 | ( | 3703 | ( |
3164 | { before(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); } | 3704 | { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3165 | RULE_ID | 3705 | ruleValidId |
3166 | { after(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); } | 3706 | { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3167 | ) | 3707 | ) |
3168 | { after(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); } | 3708 | { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } |
3709 | ) | ||
3710 | ; | ||
3711 | finally { | ||
3712 | restoreStackSize(stackSize); | ||
3713 | } | ||
3714 | |||
3715 | rule__KOfMGateDefinition__NameAssignment_0 | ||
3716 | @init { | ||
3717 | int stackSize = keepStackSize(); | ||
3718 | } | ||
3719 | : | ||
3720 | ( | ||
3721 | { before(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } | ||
3722 | ruleValidId | ||
3723 | { after(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } | ||
3724 | ) | ||
3725 | ; | ||
3726 | finally { | ||
3727 | restoreStackSize(stackSize); | ||
3728 | } | ||
3729 | |||
3730 | rule__KOfMGateDefinition__KAssignment_1 | ||
3731 | @init { | ||
3732 | int stackSize = keepStackSize(); | ||
3733 | } | ||
3734 | : | ||
3735 | ( | ||
3736 | { before(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); } | ||
3737 | RULE_INT | ||
3738 | { after(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); } | ||
3739 | ) | ||
3740 | ; | ||
3741 | finally { | ||
3742 | restoreStackSize(stackSize); | ||
3743 | } | ||
3744 | |||
3745 | rule__KOfMGateDefinition__MAssignment_2_0_1 | ||
3746 | @init { | ||
3747 | int stackSize = keepStackSize(); | ||
3748 | } | ||
3749 | : | ||
3750 | ( | ||
3751 | { before(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); } | ||
3752 | RULE_INT | ||
3753 | { after(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); } | ||
3754 | ) | ||
3755 | ; | ||
3756 | finally { | ||
3757 | restoreStackSize(stackSize); | ||
3758 | } | ||
3759 | |||
3760 | rule__KOfMGateDefinition__MAssignment_2_1 | ||
3761 | @init { | ||
3762 | int stackSize = keepStackSize(); | ||
3763 | } | ||
3764 | : | ||
3765 | ( | ||
3766 | { before(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); } | ||
3767 | RULE_OF_INT | ||
3768 | { after(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); } | ||
3769 | ) | ||
3770 | ; | ||
3771 | finally { | ||
3772 | restoreStackSize(stackSize); | ||
3773 | } | ||
3774 | |||
3775 | rule__KOfMGateDefinition__InputEventsAssignment_3 | ||
3776 | @init { | ||
3777 | int stackSize = keepStackSize(); | ||
3778 | } | ||
3779 | : | ||
3780 | ( | ||
3781 | { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); } | ||
3782 | ( | ||
3783 | { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); } | ||
3784 | ruleValidId | ||
3785 | { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); } | ||
3786 | ) | ||
3787 | { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); } | ||
3169 | ) | 3788 | ) |
3170 | ; | 3789 | ; |
3171 | finally { | 3790 | finally { |
@@ -3178,9 +3797,9 @@ rule__TransformationDefinition__NameAssignment_1 | |||
3178 | } | 3797 | } |
3179 | : | 3798 | : |
3180 | ( | 3799 | ( |
3181 | { before(grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } | 3800 | { before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } |
3182 | RULE_ID | 3801 | ruleValidId |
3183 | { after(grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } | 3802 | { after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } |
3184 | ) | 3803 | ) |
3185 | ; | 3804 | ; |
3186 | finally { | 3805 | finally { |
@@ -3321,9 +3940,9 @@ rule__MappingParameter__NameAssignment | |||
3321 | } | 3940 | } |
3322 | : | 3941 | : |
3323 | ( | 3942 | ( |
3324 | { before(grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); } | 3943 | { before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); } |
3325 | RULE_ID | 3944 | ruleValidId |
3326 | { after(grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); } | 3945 | { after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); } |
3327 | ) | 3946 | ) |
3328 | ; | 3947 | ; |
3329 | finally { | 3948 | finally { |
@@ -3338,9 +3957,9 @@ rule__LookupDefinition__MappingAssignment_1 | |||
3338 | ( | 3957 | ( |
3339 | { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } | 3958 | { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } |
3340 | ( | 3959 | ( |
3341 | { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionIDTerminalRuleCall_1_0_1()); } | 3960 | { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); } |
3342 | RULE_ID | 3961 | ruleQualifiedName |
3343 | { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionIDTerminalRuleCall_1_0_1()); } | 3962 | { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); } |
3344 | ) | 3963 | ) |
3345 | { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } | 3964 | { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } |
3346 | ) | 3965 | ) |
@@ -3357,9 +3976,9 @@ rule__LookupDefinition__ArgumentsAssignment_3 | |||
3357 | ( | 3976 | ( |
3358 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } | 3977 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } |
3359 | ( | 3978 | ( |
3360 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_3_0_1()); } | 3979 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); } |
3361 | RULE_ID | 3980 | ruleValidId |
3362 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_3_0_1()); } | 3981 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); } |
3363 | ) | 3982 | ) |
3364 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } | 3983 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } |
3365 | ) | 3984 | ) |
@@ -3376,9 +3995,9 @@ rule__LookupDefinition__ArgumentsAssignment_4_1 | |||
3376 | ( | 3995 | ( |
3377 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } | 3996 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } |
3378 | ( | 3997 | ( |
3379 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1()); } | 3998 | { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); } |
3380 | RULE_ID | 3999 | ruleValidId |
3381 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1()); } | 4000 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); } |
3382 | ) | 4001 | ) |
3383 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } | 4002 | { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } |
3384 | ) | 4003 | ) |
@@ -3393,9 +4012,9 @@ rule__LookupDefinition__NameAssignment_7 | |||
3393 | } | 4012 | } |
3394 | : | 4013 | : |
3395 | ( | 4014 | ( |
3396 | { before(grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); } | 4015 | { before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); } |
3397 | RULE_ID | 4016 | ruleValidId |
3398 | { after(grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); } | 4017 | { after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); } |
3399 | ) | 4018 | ) |
3400 | ; | 4019 | ; |
3401 | finally { | 4020 | finally { |
@@ -3459,9 +4078,9 @@ rule__EventReference__ComponentAssignment_0 | |||
3459 | ( | 4078 | ( |
3460 | { before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } | 4079 | { before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } |
3461 | ( | 4080 | ( |
3462 | { before(grammarAccess.getEventReferenceAccess().getComponentVariableIDTerminalRuleCall_0_0_1()); } | 4081 | { before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); } |
3463 | RULE_ID | 4082 | ruleValidId |
3464 | { after(grammarAccess.getEventReferenceAccess().getComponentVariableIDTerminalRuleCall_0_0_1()); } | 4083 | { after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); } |
3465 | ) | 4084 | ) |
3466 | { after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } | 4085 | { after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } |
3467 | ) | 4086 | ) |
@@ -3478,9 +4097,9 @@ rule__EventReference__EventAssignment_2 | |||
3478 | ( | 4097 | ( |
3479 | { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } | 4098 | { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } |
3480 | ( | 4099 | ( |
3481 | { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationIDTerminalRuleCall_2_0_1()); } | 4100 | { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3482 | RULE_ID | 4101 | ruleValidId |
3483 | { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationIDTerminalRuleCall_2_0_1()); } | 4102 | { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); } |
3484 | ) | 4103 | ) |
3485 | { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } | 4104 | { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } |
3486 | ) | 4105 | ) |
@@ -3523,7 +4142,9 @@ finally { | |||
3523 | restoreStackSize(stackSize); | 4142 | restoreStackSize(stackSize); |
3524 | } | 4143 | } |
3525 | 4144 | ||
3526 | RULE_DOULBE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); | 4145 | RULE_OF_INT : 'o' 'f' ('0'..'9')+; |
4146 | |||
4147 | RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); | ||
3527 | 4148 | ||
3528 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | 4149 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; |
3529 | 4150 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens index 77eb6696..ee87b574 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens | |||
@@ -1,38 +1,40 @@ | |||
1 | '('=27 | 1 | '('=30 |
2 | ')'=28 | 2 | ')'=31 |
3 | '*'=34 | 3 | '*'=37 |
4 | '+='=37 | 4 | '+='=40 |
5 | ','=29 | 5 | ','=32 |
6 | '.'=32 | 6 | '.'=35 |
7 | ':='=12 | 7 | ':='=13 |
8 | ';'=14 | 8 | ';'=15 |
9 | '='=22 | 9 | '='=23 |
10 | '=>'=33 | 10 | '=>'=36 |
11 | '[]'=35 | 11 | '[]'=38 |
12 | 'and'=23 | 12 | 'and'=25 |
13 | 'as'=31 | 13 | 'as'=34 |
14 | 'cft'=16 | 14 | 'cft'=17 |
15 | 'import'=15 | 15 | 'import'=16 |
16 | 'in'=19 | 16 | 'in'=20 |
17 | 'lambda'=21 | 17 | 'lambda'=24 |
18 | 'lookup'=30 | 18 | 'lookup'=33 |
19 | 'mapping'=26 | 19 | 'mapping'=29 |
20 | 'or'=24 | 20 | 'of'=27 |
21 | 'out'=20 | 21 | 'or'=26 |
22 | 'package'=13 | 22 | 'out'=21 |
23 | 'toplevel'=36 | 23 | 'p'=22 |
24 | 'transformation'=25 | 24 | 'package'=14 |
25 | '{'=17 | 25 | 'toplevel'=39 |
26 | '}'=18 | 26 | 'transformation'=28 |
27 | RULE_ANY_OTHER=11 | 27 | '{'=18 |
28 | RULE_DOULBE=5 | 28 | '}'=19 |
29 | RULE_ANY_OTHER=12 | ||
29 | RULE_ID=4 | 30 | RULE_ID=4 |
30 | RULE_INT=6 | 31 | RULE_INT=6 |
31 | RULE_ML_COMMENT=8 | 32 | RULE_ML_COMMENT=9 |
32 | RULE_SL_COMMENT=9 | 33 | RULE_OF_INT=5 |
33 | RULE_STRING=7 | 34 | RULE_SL_COMMENT=10 |
34 | RULE_WS=10 | 35 | RULE_STRING=8 |
35 | T__12=12 | 36 | RULE_T_DOUBLE=7 |
37 | RULE_WS=11 | ||
36 | T__13=13 | 38 | T__13=13 |
37 | T__14=14 | 39 | T__14=14 |
38 | T__15=15 | 40 | T__15=15 |
@@ -58,3 +60,6 @@ T__34=34 | |||
58 | T__35=35 | 60 | T__35=35 |
59 | T__36=36 | 61 | T__36=36 |
60 | T__37=37 | 62 | T__37=37 |
63 | T__38=38 | ||
64 | T__39=39 | ||
65 | T__40=40 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java index d80b13c6..21e09c33 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java | |||
@@ -12,17 +12,19 @@ import java.util.ArrayList; | |||
12 | 12 | ||
13 | @SuppressWarnings("all") | 13 | @SuppressWarnings("all") |
14 | public class InternalCftLanguageLexer extends Lexer { | 14 | public class InternalCftLanguageLexer extends Lexer { |
15 | public static final int RULE_STRING=7; | 15 | public static final int RULE_STRING=8; |
16 | public static final int RULE_SL_COMMENT=9; | 16 | public static final int RULE_SL_COMMENT=10; |
17 | public static final int T__19=19; | 17 | public static final int T__19=19; |
18 | public static final int T__15=15; | 18 | public static final int T__15=15; |
19 | public static final int T__37=37; | 19 | public static final int T__37=37; |
20 | public static final int T__16=16; | 20 | public static final int T__16=16; |
21 | public static final int T__38=38; | ||
21 | public static final int T__17=17; | 22 | public static final int T__17=17; |
23 | public static final int T__39=39; | ||
22 | public static final int T__18=18; | 24 | public static final int T__18=18; |
23 | public static final int T__33=33; | 25 | public static final int T__33=33; |
24 | public static final int T__12=12; | ||
25 | public static final int T__34=34; | 26 | public static final int T__34=34; |
27 | public static final int RULE_T_DOUBLE=7; | ||
26 | public static final int T__13=13; | 28 | public static final int T__13=13; |
27 | public static final int T__35=35; | 29 | public static final int T__35=35; |
28 | public static final int T__14=14; | 30 | public static final int T__14=14; |
@@ -31,20 +33,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
31 | public static final int T__30=30; | 33 | public static final int T__30=30; |
32 | public static final int T__31=31; | 34 | public static final int T__31=31; |
33 | public static final int T__32=32; | 35 | public static final int T__32=32; |
36 | public static final int RULE_OF_INT=5; | ||
34 | public static final int RULE_ID=4; | 37 | public static final int RULE_ID=4; |
35 | public static final int RULE_WS=10; | 38 | public static final int RULE_WS=11; |
36 | public static final int RULE_DOULBE=5; | 39 | public static final int RULE_ANY_OTHER=12; |
37 | public static final int RULE_ANY_OTHER=11; | ||
38 | public static final int T__26=26; | 40 | public static final int T__26=26; |
39 | public static final int T__27=27; | 41 | public static final int T__27=27; |
40 | public static final int T__28=28; | 42 | public static final int T__28=28; |
41 | public static final int RULE_INT=6; | 43 | public static final int RULE_INT=6; |
42 | public static final int T__29=29; | 44 | public static final int T__29=29; |
43 | public static final int T__22=22; | 45 | public static final int T__22=22; |
44 | public static final int RULE_ML_COMMENT=8; | 46 | public static final int RULE_ML_COMMENT=9; |
45 | public static final int T__23=23; | 47 | public static final int T__23=23; |
46 | public static final int T__24=24; | 48 | public static final int T__24=24; |
47 | public static final int T__25=25; | 49 | public static final int T__25=25; |
50 | public static final int T__40=40; | ||
48 | public static final int T__20=20; | 51 | public static final int T__20=20; |
49 | public static final int T__21=21; | 52 | public static final int T__21=21; |
50 | 53 | ||
@@ -61,36 +64,15 @@ public class InternalCftLanguageLexer extends Lexer { | |||
61 | } | 64 | } |
62 | public String getGrammarFileName() { return "InternalCftLanguage.g"; } | 65 | public String getGrammarFileName() { return "InternalCftLanguage.g"; } |
63 | 66 | ||
64 | // $ANTLR start "T__12" | ||
65 | public final void mT__12() throws RecognitionException { | ||
66 | try { | ||
67 | int _type = T__12; | ||
68 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
69 | // InternalCftLanguage.g:11:7: ( ':=' ) | ||
70 | // InternalCftLanguage.g:11:9: ':=' | ||
71 | { | ||
72 | match(":="); | ||
73 | |||
74 | |||
75 | } | ||
76 | |||
77 | state.type = _type; | ||
78 | state.channel = _channel; | ||
79 | } | ||
80 | finally { | ||
81 | } | ||
82 | } | ||
83 | // $ANTLR end "T__12" | ||
84 | |||
85 | // $ANTLR start "T__13" | 67 | // $ANTLR start "T__13" |
86 | public final void mT__13() throws RecognitionException { | 68 | public final void mT__13() throws RecognitionException { |
87 | try { | 69 | try { |
88 | int _type = T__13; | 70 | int _type = T__13; |
89 | int _channel = DEFAULT_TOKEN_CHANNEL; | 71 | int _channel = DEFAULT_TOKEN_CHANNEL; |
90 | // InternalCftLanguage.g:12:7: ( 'package' ) | 72 | // InternalCftLanguage.g:11:7: ( ':=' ) |
91 | // InternalCftLanguage.g:12:9: 'package' | 73 | // InternalCftLanguage.g:11:9: ':=' |
92 | { | 74 | { |
93 | match("package"); | 75 | match(":="); |
94 | 76 | ||
95 | 77 | ||
96 | } | 78 | } |
@@ -108,10 +90,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
108 | try { | 90 | try { |
109 | int _type = T__14; | 91 | int _type = T__14; |
110 | int _channel = DEFAULT_TOKEN_CHANNEL; | 92 | int _channel = DEFAULT_TOKEN_CHANNEL; |
111 | // InternalCftLanguage.g:13:7: ( ';' ) | 93 | // InternalCftLanguage.g:12:7: ( 'package' ) |
112 | // InternalCftLanguage.g:13:9: ';' | 94 | // InternalCftLanguage.g:12:9: 'package' |
113 | { | 95 | { |
114 | match(';'); | 96 | match("package"); |
97 | |||
115 | 98 | ||
116 | } | 99 | } |
117 | 100 | ||
@@ -128,11 +111,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
128 | try { | 111 | try { |
129 | int _type = T__15; | 112 | int _type = T__15; |
130 | int _channel = DEFAULT_TOKEN_CHANNEL; | 113 | int _channel = DEFAULT_TOKEN_CHANNEL; |
131 | // InternalCftLanguage.g:14:7: ( 'import' ) | 114 | // InternalCftLanguage.g:13:7: ( ';' ) |
132 | // InternalCftLanguage.g:14:9: 'import' | 115 | // InternalCftLanguage.g:13:9: ';' |
133 | { | 116 | { |
134 | match("import"); | 117 | match(';'); |
135 | |||
136 | 118 | ||
137 | } | 119 | } |
138 | 120 | ||
@@ -149,10 +131,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
149 | try { | 131 | try { |
150 | int _type = T__16; | 132 | int _type = T__16; |
151 | int _channel = DEFAULT_TOKEN_CHANNEL; | 133 | int _channel = DEFAULT_TOKEN_CHANNEL; |
152 | // InternalCftLanguage.g:15:7: ( 'cft' ) | 134 | // InternalCftLanguage.g:14:7: ( 'import' ) |
153 | // InternalCftLanguage.g:15:9: 'cft' | 135 | // InternalCftLanguage.g:14:9: 'import' |
154 | { | 136 | { |
155 | match("cft"); | 137 | match("import"); |
156 | 138 | ||
157 | 139 | ||
158 | } | 140 | } |
@@ -170,10 +152,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
170 | try { | 152 | try { |
171 | int _type = T__17; | 153 | int _type = T__17; |
172 | int _channel = DEFAULT_TOKEN_CHANNEL; | 154 | int _channel = DEFAULT_TOKEN_CHANNEL; |
173 | // InternalCftLanguage.g:16:7: ( '{' ) | 155 | // InternalCftLanguage.g:15:7: ( 'cft' ) |
174 | // InternalCftLanguage.g:16:9: '{' | 156 | // InternalCftLanguage.g:15:9: 'cft' |
175 | { | 157 | { |
176 | match('{'); | 158 | match("cft"); |
159 | |||
177 | 160 | ||
178 | } | 161 | } |
179 | 162 | ||
@@ -190,10 +173,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
190 | try { | 173 | try { |
191 | int _type = T__18; | 174 | int _type = T__18; |
192 | int _channel = DEFAULT_TOKEN_CHANNEL; | 175 | int _channel = DEFAULT_TOKEN_CHANNEL; |
193 | // InternalCftLanguage.g:17:7: ( '}' ) | 176 | // InternalCftLanguage.g:16:7: ( '{' ) |
194 | // InternalCftLanguage.g:17:9: '}' | 177 | // InternalCftLanguage.g:16:9: '{' |
195 | { | 178 | { |
196 | match('}'); | 179 | match('{'); |
197 | 180 | ||
198 | } | 181 | } |
199 | 182 | ||
@@ -210,11 +193,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
210 | try { | 193 | try { |
211 | int _type = T__19; | 194 | int _type = T__19; |
212 | int _channel = DEFAULT_TOKEN_CHANNEL; | 195 | int _channel = DEFAULT_TOKEN_CHANNEL; |
213 | // InternalCftLanguage.g:18:7: ( 'in' ) | 196 | // InternalCftLanguage.g:17:7: ( '}' ) |
214 | // InternalCftLanguage.g:18:9: 'in' | 197 | // InternalCftLanguage.g:17:9: '}' |
215 | { | 198 | { |
216 | match("in"); | 199 | match('}'); |
217 | |||
218 | 200 | ||
219 | } | 201 | } |
220 | 202 | ||
@@ -231,10 +213,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
231 | try { | 213 | try { |
232 | int _type = T__20; | 214 | int _type = T__20; |
233 | int _channel = DEFAULT_TOKEN_CHANNEL; | 215 | int _channel = DEFAULT_TOKEN_CHANNEL; |
234 | // InternalCftLanguage.g:19:7: ( 'out' ) | 216 | // InternalCftLanguage.g:18:7: ( 'in' ) |
235 | // InternalCftLanguage.g:19:9: 'out' | 217 | // InternalCftLanguage.g:18:9: 'in' |
236 | { | 218 | { |
237 | match("out"); | 219 | match("in"); |
238 | 220 | ||
239 | 221 | ||
240 | } | 222 | } |
@@ -252,10 +234,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
252 | try { | 234 | try { |
253 | int _type = T__21; | 235 | int _type = T__21; |
254 | int _channel = DEFAULT_TOKEN_CHANNEL; | 236 | int _channel = DEFAULT_TOKEN_CHANNEL; |
255 | // InternalCftLanguage.g:20:7: ( 'lambda' ) | 237 | // InternalCftLanguage.g:19:7: ( 'out' ) |
256 | // InternalCftLanguage.g:20:9: 'lambda' | 238 | // InternalCftLanguage.g:19:9: 'out' |
257 | { | 239 | { |
258 | match("lambda"); | 240 | match("out"); |
259 | 241 | ||
260 | 242 | ||
261 | } | 243 | } |
@@ -273,10 +255,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
273 | try { | 255 | try { |
274 | int _type = T__22; | 256 | int _type = T__22; |
275 | int _channel = DEFAULT_TOKEN_CHANNEL; | 257 | int _channel = DEFAULT_TOKEN_CHANNEL; |
276 | // InternalCftLanguage.g:21:7: ( '=' ) | 258 | // InternalCftLanguage.g:20:7: ( 'p' ) |
277 | // InternalCftLanguage.g:21:9: '=' | 259 | // InternalCftLanguage.g:20:9: 'p' |
278 | { | 260 | { |
279 | match('='); | 261 | match('p'); |
280 | 262 | ||
281 | } | 263 | } |
282 | 264 | ||
@@ -293,11 +275,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
293 | try { | 275 | try { |
294 | int _type = T__23; | 276 | int _type = T__23; |
295 | int _channel = DEFAULT_TOKEN_CHANNEL; | 277 | int _channel = DEFAULT_TOKEN_CHANNEL; |
296 | // InternalCftLanguage.g:22:7: ( 'and' ) | 278 | // InternalCftLanguage.g:21:7: ( '=' ) |
297 | // InternalCftLanguage.g:22:9: 'and' | 279 | // InternalCftLanguage.g:21:9: '=' |
298 | { | 280 | { |
299 | match("and"); | 281 | match('='); |
300 | |||
301 | 282 | ||
302 | } | 283 | } |
303 | 284 | ||
@@ -314,10 +295,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
314 | try { | 295 | try { |
315 | int _type = T__24; | 296 | int _type = T__24; |
316 | int _channel = DEFAULT_TOKEN_CHANNEL; | 297 | int _channel = DEFAULT_TOKEN_CHANNEL; |
317 | // InternalCftLanguage.g:23:7: ( 'or' ) | 298 | // InternalCftLanguage.g:22:7: ( 'lambda' ) |
318 | // InternalCftLanguage.g:23:9: 'or' | 299 | // InternalCftLanguage.g:22:9: 'lambda' |
319 | { | 300 | { |
320 | match("or"); | 301 | match("lambda"); |
321 | 302 | ||
322 | 303 | ||
323 | } | 304 | } |
@@ -335,10 +316,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
335 | try { | 316 | try { |
336 | int _type = T__25; | 317 | int _type = T__25; |
337 | int _channel = DEFAULT_TOKEN_CHANNEL; | 318 | int _channel = DEFAULT_TOKEN_CHANNEL; |
338 | // InternalCftLanguage.g:24:7: ( 'transformation' ) | 319 | // InternalCftLanguage.g:23:7: ( 'and' ) |
339 | // InternalCftLanguage.g:24:9: 'transformation' | 320 | // InternalCftLanguage.g:23:9: 'and' |
340 | { | 321 | { |
341 | match("transformation"); | 322 | match("and"); |
342 | 323 | ||
343 | 324 | ||
344 | } | 325 | } |
@@ -356,10 +337,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
356 | try { | 337 | try { |
357 | int _type = T__26; | 338 | int _type = T__26; |
358 | int _channel = DEFAULT_TOKEN_CHANNEL; | 339 | int _channel = DEFAULT_TOKEN_CHANNEL; |
359 | // InternalCftLanguage.g:25:7: ( 'mapping' ) | 340 | // InternalCftLanguage.g:24:7: ( 'or' ) |
360 | // InternalCftLanguage.g:25:9: 'mapping' | 341 | // InternalCftLanguage.g:24:9: 'or' |
361 | { | 342 | { |
362 | match("mapping"); | 343 | match("or"); |
363 | 344 | ||
364 | 345 | ||
365 | } | 346 | } |
@@ -377,10 +358,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
377 | try { | 358 | try { |
378 | int _type = T__27; | 359 | int _type = T__27; |
379 | int _channel = DEFAULT_TOKEN_CHANNEL; | 360 | int _channel = DEFAULT_TOKEN_CHANNEL; |
380 | // InternalCftLanguage.g:26:7: ( '(' ) | 361 | // InternalCftLanguage.g:25:7: ( 'of' ) |
381 | // InternalCftLanguage.g:26:9: '(' | 362 | // InternalCftLanguage.g:25:9: 'of' |
382 | { | 363 | { |
383 | match('('); | 364 | match("of"); |
365 | |||
384 | 366 | ||
385 | } | 367 | } |
386 | 368 | ||
@@ -397,10 +379,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
397 | try { | 379 | try { |
398 | int _type = T__28; | 380 | int _type = T__28; |
399 | int _channel = DEFAULT_TOKEN_CHANNEL; | 381 | int _channel = DEFAULT_TOKEN_CHANNEL; |
400 | // InternalCftLanguage.g:27:7: ( ')' ) | 382 | // InternalCftLanguage.g:26:7: ( 'transformation' ) |
401 | // InternalCftLanguage.g:27:9: ')' | 383 | // InternalCftLanguage.g:26:9: 'transformation' |
402 | { | 384 | { |
403 | match(')'); | 385 | match("transformation"); |
386 | |||
404 | 387 | ||
405 | } | 388 | } |
406 | 389 | ||
@@ -417,10 +400,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
417 | try { | 400 | try { |
418 | int _type = T__29; | 401 | int _type = T__29; |
419 | int _channel = DEFAULT_TOKEN_CHANNEL; | 402 | int _channel = DEFAULT_TOKEN_CHANNEL; |
420 | // InternalCftLanguage.g:28:7: ( ',' ) | 403 | // InternalCftLanguage.g:27:7: ( 'mapping' ) |
421 | // InternalCftLanguage.g:28:9: ',' | 404 | // InternalCftLanguage.g:27:9: 'mapping' |
422 | { | 405 | { |
423 | match(','); | 406 | match("mapping"); |
407 | |||
424 | 408 | ||
425 | } | 409 | } |
426 | 410 | ||
@@ -437,11 +421,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
437 | try { | 421 | try { |
438 | int _type = T__30; | 422 | int _type = T__30; |
439 | int _channel = DEFAULT_TOKEN_CHANNEL; | 423 | int _channel = DEFAULT_TOKEN_CHANNEL; |
440 | // InternalCftLanguage.g:29:7: ( 'lookup' ) | 424 | // InternalCftLanguage.g:28:7: ( '(' ) |
441 | // InternalCftLanguage.g:29:9: 'lookup' | 425 | // InternalCftLanguage.g:28:9: '(' |
442 | { | 426 | { |
443 | match("lookup"); | 427 | match('('); |
444 | |||
445 | 428 | ||
446 | } | 429 | } |
447 | 430 | ||
@@ -458,11 +441,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
458 | try { | 441 | try { |
459 | int _type = T__31; | 442 | int _type = T__31; |
460 | int _channel = DEFAULT_TOKEN_CHANNEL; | 443 | int _channel = DEFAULT_TOKEN_CHANNEL; |
461 | // InternalCftLanguage.g:30:7: ( 'as' ) | 444 | // InternalCftLanguage.g:29:7: ( ')' ) |
462 | // InternalCftLanguage.g:30:9: 'as' | 445 | // InternalCftLanguage.g:29:9: ')' |
463 | { | 446 | { |
464 | match("as"); | 447 | match(')'); |
465 | |||
466 | 448 | ||
467 | } | 449 | } |
468 | 450 | ||
@@ -479,10 +461,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
479 | try { | 461 | try { |
480 | int _type = T__32; | 462 | int _type = T__32; |
481 | int _channel = DEFAULT_TOKEN_CHANNEL; | 463 | int _channel = DEFAULT_TOKEN_CHANNEL; |
482 | // InternalCftLanguage.g:31:7: ( '.' ) | 464 | // InternalCftLanguage.g:30:7: ( ',' ) |
483 | // InternalCftLanguage.g:31:9: '.' | 465 | // InternalCftLanguage.g:30:9: ',' |
484 | { | 466 | { |
485 | match('.'); | 467 | match(','); |
486 | 468 | ||
487 | } | 469 | } |
488 | 470 | ||
@@ -499,10 +481,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
499 | try { | 481 | try { |
500 | int _type = T__33; | 482 | int _type = T__33; |
501 | int _channel = DEFAULT_TOKEN_CHANNEL; | 483 | int _channel = DEFAULT_TOKEN_CHANNEL; |
502 | // InternalCftLanguage.g:32:7: ( '=>' ) | 484 | // InternalCftLanguage.g:31:7: ( 'lookup' ) |
503 | // InternalCftLanguage.g:32:9: '=>' | 485 | // InternalCftLanguage.g:31:9: 'lookup' |
504 | { | 486 | { |
505 | match("=>"); | 487 | match("lookup"); |
506 | 488 | ||
507 | 489 | ||
508 | } | 490 | } |
@@ -520,10 +502,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
520 | try { | 502 | try { |
521 | int _type = T__34; | 503 | int _type = T__34; |
522 | int _channel = DEFAULT_TOKEN_CHANNEL; | 504 | int _channel = DEFAULT_TOKEN_CHANNEL; |
523 | // InternalCftLanguage.g:33:7: ( '*' ) | 505 | // InternalCftLanguage.g:32:7: ( 'as' ) |
524 | // InternalCftLanguage.g:33:9: '*' | 506 | // InternalCftLanguage.g:32:9: 'as' |
525 | { | 507 | { |
526 | match('*'); | 508 | match("as"); |
509 | |||
527 | 510 | ||
528 | } | 511 | } |
529 | 512 | ||
@@ -540,11 +523,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
540 | try { | 523 | try { |
541 | int _type = T__35; | 524 | int _type = T__35; |
542 | int _channel = DEFAULT_TOKEN_CHANNEL; | 525 | int _channel = DEFAULT_TOKEN_CHANNEL; |
543 | // InternalCftLanguage.g:34:7: ( '[]' ) | 526 | // InternalCftLanguage.g:33:7: ( '.' ) |
544 | // InternalCftLanguage.g:34:9: '[]' | 527 | // InternalCftLanguage.g:33:9: '.' |
545 | { | 528 | { |
546 | match("[]"); | 529 | match('.'); |
547 | |||
548 | 530 | ||
549 | } | 531 | } |
550 | 532 | ||
@@ -561,10 +543,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
561 | try { | 543 | try { |
562 | int _type = T__36; | 544 | int _type = T__36; |
563 | int _channel = DEFAULT_TOKEN_CHANNEL; | 545 | int _channel = DEFAULT_TOKEN_CHANNEL; |
564 | // InternalCftLanguage.g:35:7: ( 'toplevel' ) | 546 | // InternalCftLanguage.g:34:7: ( '=>' ) |
565 | // InternalCftLanguage.g:35:9: 'toplevel' | 547 | // InternalCftLanguage.g:34:9: '=>' |
566 | { | 548 | { |
567 | match("toplevel"); | 549 | match("=>"); |
568 | 550 | ||
569 | 551 | ||
570 | } | 552 | } |
@@ -582,8 +564,70 @@ public class InternalCftLanguageLexer extends Lexer { | |||
582 | try { | 564 | try { |
583 | int _type = T__37; | 565 | int _type = T__37; |
584 | int _channel = DEFAULT_TOKEN_CHANNEL; | 566 | int _channel = DEFAULT_TOKEN_CHANNEL; |
585 | // InternalCftLanguage.g:36:7: ( '+=' ) | 567 | // InternalCftLanguage.g:35:7: ( '*' ) |
586 | // InternalCftLanguage.g:36:9: '+=' | 568 | // InternalCftLanguage.g:35:9: '*' |
569 | { | ||
570 | match('*'); | ||
571 | |||
572 | } | ||
573 | |||
574 | state.type = _type; | ||
575 | state.channel = _channel; | ||
576 | } | ||
577 | finally { | ||
578 | } | ||
579 | } | ||
580 | // $ANTLR end "T__37" | ||
581 | |||
582 | // $ANTLR start "T__38" | ||
583 | public final void mT__38() throws RecognitionException { | ||
584 | try { | ||
585 | int _type = T__38; | ||
586 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
587 | // InternalCftLanguage.g:36:7: ( '[]' ) | ||
588 | // InternalCftLanguage.g:36:9: '[]' | ||
589 | { | ||
590 | match("[]"); | ||
591 | |||
592 | |||
593 | } | ||
594 | |||
595 | state.type = _type; | ||
596 | state.channel = _channel; | ||
597 | } | ||
598 | finally { | ||
599 | } | ||
600 | } | ||
601 | // $ANTLR end "T__38" | ||
602 | |||
603 | // $ANTLR start "T__39" | ||
604 | public final void mT__39() throws RecognitionException { | ||
605 | try { | ||
606 | int _type = T__39; | ||
607 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
608 | // InternalCftLanguage.g:37:7: ( 'toplevel' ) | ||
609 | // InternalCftLanguage.g:37:9: 'toplevel' | ||
610 | { | ||
611 | match("toplevel"); | ||
612 | |||
613 | |||
614 | } | ||
615 | |||
616 | state.type = _type; | ||
617 | state.channel = _channel; | ||
618 | } | ||
619 | finally { | ||
620 | } | ||
621 | } | ||
622 | // $ANTLR end "T__39" | ||
623 | |||
624 | // $ANTLR start "T__40" | ||
625 | public final void mT__40() throws RecognitionException { | ||
626 | try { | ||
627 | int _type = T__40; | ||
628 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
629 | // InternalCftLanguage.g:38:7: ( '+=' ) | ||
630 | // InternalCftLanguage.g:38:9: '+=' | ||
587 | { | 631 | { |
588 | match("+="); | 632 | match("+="); |
589 | 633 | ||
@@ -596,17 +640,19 @@ public class InternalCftLanguageLexer extends Lexer { | |||
596 | finally { | 640 | finally { |
597 | } | 641 | } |
598 | } | 642 | } |
599 | // $ANTLR end "T__37" | 643 | // $ANTLR end "T__40" |
600 | 644 | ||
601 | // $ANTLR start "RULE_DOULBE" | 645 | // $ANTLR start "RULE_OF_INT" |
602 | public final void mRULE_DOULBE() throws RecognitionException { | 646 | public final void mRULE_OF_INT() throws RecognitionException { |
603 | try { | 647 | try { |
604 | int _type = RULE_DOULBE; | 648 | int _type = RULE_OF_INT; |
605 | int _channel = DEFAULT_TOKEN_CHANNEL; | 649 | int _channel = DEFAULT_TOKEN_CHANNEL; |
606 | // InternalCftLanguage.g:3526:13: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | 650 | // InternalCftLanguage.g:4145:13: ( 'o' 'f' ( '0' .. '9' )+ ) |
607 | // InternalCftLanguage.g:3526:15: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 651 | // InternalCftLanguage.g:4145:15: 'o' 'f' ( '0' .. '9' )+ |
608 | { | 652 | { |
609 | // InternalCftLanguage.g:3526:15: ( '0' .. '9' )+ | 653 | match('o'); |
654 | match('f'); | ||
655 | // InternalCftLanguage.g:4145:23: ( '0' .. '9' )+ | ||
610 | int cnt1=0; | 656 | int cnt1=0; |
611 | loop1: | 657 | loop1: |
612 | do { | 658 | do { |
@@ -620,7 +666,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
620 | 666 | ||
621 | switch (alt1) { | 667 | switch (alt1) { |
622 | case 1 : | 668 | case 1 : |
623 | // InternalCftLanguage.g:3526:16: '0' .. '9' | 669 | // InternalCftLanguage.g:4145:24: '0' .. '9' |
624 | { | 670 | { |
625 | matchRange('0','9'); | 671 | matchRange('0','9'); |
626 | 672 | ||
@@ -636,29 +682,78 @@ public class InternalCftLanguageLexer extends Lexer { | |||
636 | cnt1++; | 682 | cnt1++; |
637 | } while (true); | 683 | } while (true); |
638 | 684 | ||
639 | // InternalCftLanguage.g:3526:27: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 685 | |
640 | int alt7=2; | 686 | } |
641 | alt7 = dfa7.predict(input); | 687 | |
642 | switch (alt7) { | 688 | state.type = _type; |
689 | state.channel = _channel; | ||
690 | } | ||
691 | finally { | ||
692 | } | ||
693 | } | ||
694 | // $ANTLR end "RULE_OF_INT" | ||
695 | |||
696 | // $ANTLR start "RULE_T_DOUBLE" | ||
697 | public final void mRULE_T_DOUBLE() throws RecognitionException { | ||
698 | try { | ||
699 | int _type = RULE_T_DOUBLE; | ||
700 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
701 | // InternalCftLanguage.g:4147:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | ||
702 | // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
703 | { | ||
704 | // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+ | ||
705 | int cnt2=0; | ||
706 | loop2: | ||
707 | do { | ||
708 | int alt2=2; | ||
709 | int LA2_0 = input.LA(1); | ||
710 | |||
711 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | ||
712 | alt2=1; | ||
713 | } | ||
714 | |||
715 | |||
716 | switch (alt2) { | ||
717 | case 1 : | ||
718 | // InternalCftLanguage.g:4147:18: '0' .. '9' | ||
719 | { | ||
720 | matchRange('0','9'); | ||
721 | |||
722 | } | ||
723 | break; | ||
724 | |||
725 | default : | ||
726 | if ( cnt2 >= 1 ) break loop2; | ||
727 | EarlyExitException eee = | ||
728 | new EarlyExitException(2, input); | ||
729 | throw eee; | ||
730 | } | ||
731 | cnt2++; | ||
732 | } while (true); | ||
733 | |||
734 | // InternalCftLanguage.g:4147:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
735 | int alt8=2; | ||
736 | alt8 = dfa8.predict(input); | ||
737 | switch (alt8) { | ||
643 | case 1 : | 738 | case 1 : |
644 | // InternalCftLanguage.g:3526:28: '.' ( '0' .. '9' )+ | 739 | // InternalCftLanguage.g:4147:30: '.' ( '0' .. '9' )+ |
645 | { | 740 | { |
646 | match('.'); | 741 | match('.'); |
647 | // InternalCftLanguage.g:3526:32: ( '0' .. '9' )+ | 742 | // InternalCftLanguage.g:4147:34: ( '0' .. '9' )+ |
648 | int cnt2=0; | 743 | int cnt3=0; |
649 | loop2: | 744 | loop3: |
650 | do { | 745 | do { |
651 | int alt2=2; | 746 | int alt3=2; |
652 | int LA2_0 = input.LA(1); | 747 | int LA3_0 = input.LA(1); |
653 | 748 | ||
654 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | 749 | if ( ((LA3_0>='0' && LA3_0<='9')) ) { |
655 | alt2=1; | 750 | alt3=1; |
656 | } | 751 | } |
657 | 752 | ||
658 | 753 | ||
659 | switch (alt2) { | 754 | switch (alt3) { |
660 | case 1 : | 755 | case 1 : |
661 | // InternalCftLanguage.g:3526:33: '0' .. '9' | 756 | // InternalCftLanguage.g:4147:35: '0' .. '9' |
662 | { | 757 | { |
663 | matchRange('0','9'); | 758 | matchRange('0','9'); |
664 | 759 | ||
@@ -666,47 +761,47 @@ public class InternalCftLanguageLexer extends Lexer { | |||
666 | break; | 761 | break; |
667 | 762 | ||
668 | default : | 763 | default : |
669 | if ( cnt2 >= 1 ) break loop2; | 764 | if ( cnt3 >= 1 ) break loop3; |
670 | EarlyExitException eee = | 765 | EarlyExitException eee = |
671 | new EarlyExitException(2, input); | 766 | new EarlyExitException(3, input); |
672 | throw eee; | 767 | throw eee; |
673 | } | 768 | } |
674 | cnt2++; | 769 | cnt3++; |
675 | } while (true); | 770 | } while (true); |
676 | 771 | ||
677 | 772 | ||
678 | } | 773 | } |
679 | break; | 774 | break; |
680 | case 2 : | 775 | case 2 : |
681 | // InternalCftLanguage.g:3526:44: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ | 776 | // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ |
682 | { | 777 | { |
683 | // InternalCftLanguage.g:3526:44: ( '.' ( '0' .. '9' )+ )? | 778 | // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )? |
684 | int alt4=2; | 779 | int alt5=2; |
685 | int LA4_0 = input.LA(1); | 780 | int LA5_0 = input.LA(1); |
686 | 781 | ||
687 | if ( (LA4_0=='.') ) { | 782 | if ( (LA5_0=='.') ) { |
688 | alt4=1; | 783 | alt5=1; |
689 | } | 784 | } |
690 | switch (alt4) { | 785 | switch (alt5) { |
691 | case 1 : | 786 | case 1 : |
692 | // InternalCftLanguage.g:3526:45: '.' ( '0' .. '9' )+ | 787 | // InternalCftLanguage.g:4147:47: '.' ( '0' .. '9' )+ |
693 | { | 788 | { |
694 | match('.'); | 789 | match('.'); |
695 | // InternalCftLanguage.g:3526:49: ( '0' .. '9' )+ | 790 | // InternalCftLanguage.g:4147:51: ( '0' .. '9' )+ |
696 | int cnt3=0; | 791 | int cnt4=0; |
697 | loop3: | 792 | loop4: |
698 | do { | 793 | do { |
699 | int alt3=2; | 794 | int alt4=2; |
700 | int LA3_0 = input.LA(1); | 795 | int LA4_0 = input.LA(1); |
701 | 796 | ||
702 | if ( ((LA3_0>='0' && LA3_0<='9')) ) { | 797 | if ( ((LA4_0>='0' && LA4_0<='9')) ) { |
703 | alt3=1; | 798 | alt4=1; |
704 | } | 799 | } |
705 | 800 | ||
706 | 801 | ||
707 | switch (alt3) { | 802 | switch (alt4) { |
708 | case 1 : | 803 | case 1 : |
709 | // InternalCftLanguage.g:3526:50: '0' .. '9' | 804 | // InternalCftLanguage.g:4147:52: '0' .. '9' |
710 | { | 805 | { |
711 | matchRange('0','9'); | 806 | matchRange('0','9'); |
712 | 807 | ||
@@ -714,12 +809,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
714 | break; | 809 | break; |
715 | 810 | ||
716 | default : | 811 | default : |
717 | if ( cnt3 >= 1 ) break loop3; | 812 | if ( cnt4 >= 1 ) break loop4; |
718 | EarlyExitException eee = | 813 | EarlyExitException eee = |
719 | new EarlyExitException(3, input); | 814 | new EarlyExitException(4, input); |
720 | throw eee; | 815 | throw eee; |
721 | } | 816 | } |
722 | cnt3++; | 817 | cnt4++; |
723 | } while (true); | 818 | } while (true); |
724 | 819 | ||
725 | 820 | ||
@@ -737,14 +832,14 @@ public class InternalCftLanguageLexer extends Lexer { | |||
737 | recover(mse); | 832 | recover(mse); |
738 | throw mse;} | 833 | throw mse;} |
739 | 834 | ||
740 | // InternalCftLanguage.g:3526:73: ( '+' | '-' )? | 835 | // InternalCftLanguage.g:4147:75: ( '+' | '-' )? |
741 | int alt5=2; | 836 | int alt6=2; |
742 | int LA5_0 = input.LA(1); | 837 | int LA6_0 = input.LA(1); |
743 | 838 | ||
744 | if ( (LA5_0=='+'||LA5_0=='-') ) { | 839 | if ( (LA6_0=='+'||LA6_0=='-') ) { |
745 | alt5=1; | 840 | alt6=1; |
746 | } | 841 | } |
747 | switch (alt5) { | 842 | switch (alt6) { |
748 | case 1 : | 843 | case 1 : |
749 | // InternalCftLanguage.g: | 844 | // InternalCftLanguage.g: |
750 | { | 845 | { |
@@ -763,21 +858,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
763 | 858 | ||
764 | } | 859 | } |
765 | 860 | ||
766 | // InternalCftLanguage.g:3526:84: ( '0' .. '9' )+ | 861 | // InternalCftLanguage.g:4147:86: ( '0' .. '9' )+ |
767 | int cnt6=0; | 862 | int cnt7=0; |
768 | loop6: | 863 | loop7: |
769 | do { | 864 | do { |
770 | int alt6=2; | 865 | int alt7=2; |
771 | int LA6_0 = input.LA(1); | 866 | int LA7_0 = input.LA(1); |
772 | 867 | ||
773 | if ( ((LA6_0>='0' && LA6_0<='9')) ) { | 868 | if ( ((LA7_0>='0' && LA7_0<='9')) ) { |
774 | alt6=1; | 869 | alt7=1; |
775 | } | 870 | } |
776 | 871 | ||
777 | 872 | ||
778 | switch (alt6) { | 873 | switch (alt7) { |
779 | case 1 : | 874 | case 1 : |
780 | // InternalCftLanguage.g:3526:85: '0' .. '9' | 875 | // InternalCftLanguage.g:4147:87: '0' .. '9' |
781 | { | 876 | { |
782 | matchRange('0','9'); | 877 | matchRange('0','9'); |
783 | 878 | ||
@@ -785,12 +880,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
785 | break; | 880 | break; |
786 | 881 | ||
787 | default : | 882 | default : |
788 | if ( cnt6 >= 1 ) break loop6; | 883 | if ( cnt7 >= 1 ) break loop7; |
789 | EarlyExitException eee = | 884 | EarlyExitException eee = |
790 | new EarlyExitException(6, input); | 885 | new EarlyExitException(7, input); |
791 | throw eee; | 886 | throw eee; |
792 | } | 887 | } |
793 | cnt6++; | 888 | cnt7++; |
794 | } while (true); | 889 | } while (true); |
795 | 890 | ||
796 | 891 | ||
@@ -808,26 +903,26 @@ public class InternalCftLanguageLexer extends Lexer { | |||
808 | finally { | 903 | finally { |
809 | } | 904 | } |
810 | } | 905 | } |
811 | // $ANTLR end "RULE_DOULBE" | 906 | // $ANTLR end "RULE_T_DOUBLE" |
812 | 907 | ||
813 | // $ANTLR start "RULE_ID" | 908 | // $ANTLR start "RULE_ID" |
814 | public final void mRULE_ID() throws RecognitionException { | 909 | public final void mRULE_ID() throws RecognitionException { |
815 | try { | 910 | try { |
816 | int _type = RULE_ID; | 911 | int _type = RULE_ID; |
817 | int _channel = DEFAULT_TOKEN_CHANNEL; | 912 | int _channel = DEFAULT_TOKEN_CHANNEL; |
818 | // InternalCftLanguage.g:3528:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 913 | // InternalCftLanguage.g:4149:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
819 | // InternalCftLanguage.g:3528:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 914 | // InternalCftLanguage.g:4149:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
820 | { | 915 | { |
821 | // InternalCftLanguage.g:3528:11: ( '^' )? | 916 | // InternalCftLanguage.g:4149:11: ( '^' )? |
822 | int alt8=2; | 917 | int alt9=2; |
823 | int LA8_0 = input.LA(1); | 918 | int LA9_0 = input.LA(1); |
824 | 919 | ||
825 | if ( (LA8_0=='^') ) { | 920 | if ( (LA9_0=='^') ) { |
826 | alt8=1; | 921 | alt9=1; |
827 | } | 922 | } |
828 | switch (alt8) { | 923 | switch (alt9) { |
829 | case 1 : | 924 | case 1 : |
830 | // InternalCftLanguage.g:3528:11: '^' | 925 | // InternalCftLanguage.g:4149:11: '^' |
831 | { | 926 | { |
832 | match('^'); | 927 | match('^'); |
833 | 928 | ||
@@ -845,18 +940,18 @@ public class InternalCftLanguageLexer extends Lexer { | |||
845 | recover(mse); | 940 | recover(mse); |
846 | throw mse;} | 941 | throw mse;} |
847 | 942 | ||
848 | // InternalCftLanguage.g:3528:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 943 | // InternalCftLanguage.g:4149:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
849 | loop9: | 944 | loop10: |
850 | do { | 945 | do { |
851 | int alt9=2; | 946 | int alt10=2; |
852 | int LA9_0 = input.LA(1); | 947 | int LA10_0 = input.LA(1); |
853 | 948 | ||
854 | if ( ((LA9_0>='0' && LA9_0<='9')||(LA9_0>='A' && LA9_0<='Z')||LA9_0=='_'||(LA9_0>='a' && LA9_0<='z')) ) { | 949 | if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { |
855 | alt9=1; | 950 | alt10=1; |
856 | } | 951 | } |
857 | 952 | ||
858 | 953 | ||
859 | switch (alt9) { | 954 | switch (alt10) { |
860 | case 1 : | 955 | case 1 : |
861 | // InternalCftLanguage.g: | 956 | // InternalCftLanguage.g: |
862 | { | 957 | { |
@@ -874,7 +969,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
874 | break; | 969 | break; |
875 | 970 | ||
876 | default : | 971 | default : |
877 | break loop9; | 972 | break loop10; |
878 | } | 973 | } |
879 | } while (true); | 974 | } while (true); |
880 | 975 | ||
@@ -894,24 +989,24 @@ public class InternalCftLanguageLexer extends Lexer { | |||
894 | try { | 989 | try { |
895 | int _type = RULE_INT; | 990 | int _type = RULE_INT; |
896 | int _channel = DEFAULT_TOKEN_CHANNEL; | 991 | int _channel = DEFAULT_TOKEN_CHANNEL; |
897 | // InternalCftLanguage.g:3530:10: ( ( '0' .. '9' )+ ) | 992 | // InternalCftLanguage.g:4151:10: ( ( '0' .. '9' )+ ) |
898 | // InternalCftLanguage.g:3530:12: ( '0' .. '9' )+ | 993 | // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+ |
899 | { | 994 | { |
900 | // InternalCftLanguage.g:3530:12: ( '0' .. '9' )+ | 995 | // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+ |
901 | int cnt10=0; | 996 | int cnt11=0; |
902 | loop10: | 997 | loop11: |
903 | do { | 998 | do { |
904 | int alt10=2; | 999 | int alt11=2; |
905 | int LA10_0 = input.LA(1); | 1000 | int LA11_0 = input.LA(1); |
906 | 1001 | ||
907 | if ( ((LA10_0>='0' && LA10_0<='9')) ) { | 1002 | if ( ((LA11_0>='0' && LA11_0<='9')) ) { |
908 | alt10=1; | 1003 | alt11=1; |
909 | } | 1004 | } |
910 | 1005 | ||
911 | 1006 | ||
912 | switch (alt10) { | 1007 | switch (alt11) { |
913 | case 1 : | 1008 | case 1 : |
914 | // InternalCftLanguage.g:3530:13: '0' .. '9' | 1009 | // InternalCftLanguage.g:4151:13: '0' .. '9' |
915 | { | 1010 | { |
916 | matchRange('0','9'); | 1011 | matchRange('0','9'); |
917 | 1012 | ||
@@ -919,12 +1014,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
919 | break; | 1014 | break; |
920 | 1015 | ||
921 | default : | 1016 | default : |
922 | if ( cnt10 >= 1 ) break loop10; | 1017 | if ( cnt11 >= 1 ) break loop11; |
923 | EarlyExitException eee = | 1018 | EarlyExitException eee = |
924 | new EarlyExitException(10, input); | 1019 | new EarlyExitException(11, input); |
925 | throw eee; | 1020 | throw eee; |
926 | } | 1021 | } |
927 | cnt10++; | 1022 | cnt11++; |
928 | } while (true); | 1023 | } while (true); |
929 | 1024 | ||
930 | 1025 | ||
@@ -943,47 +1038,47 @@ public class InternalCftLanguageLexer extends Lexer { | |||
943 | try { | 1038 | try { |
944 | int _type = RULE_STRING; | 1039 | int _type = RULE_STRING; |
945 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1040 | int _channel = DEFAULT_TOKEN_CHANNEL; |
946 | // InternalCftLanguage.g:3532:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1041 | // InternalCftLanguage.g:4153:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
947 | // InternalCftLanguage.g:3532:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1042 | // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
948 | { | 1043 | { |
949 | // InternalCftLanguage.g:3532:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1044 | // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
950 | int alt13=2; | 1045 | int alt14=2; |
951 | int LA13_0 = input.LA(1); | 1046 | int LA14_0 = input.LA(1); |
952 | 1047 | ||
953 | if ( (LA13_0=='\"') ) { | 1048 | if ( (LA14_0=='\"') ) { |
954 | alt13=1; | 1049 | alt14=1; |
955 | } | 1050 | } |
956 | else if ( (LA13_0=='\'') ) { | 1051 | else if ( (LA14_0=='\'') ) { |
957 | alt13=2; | 1052 | alt14=2; |
958 | } | 1053 | } |
959 | else { | 1054 | else { |
960 | NoViableAltException nvae = | 1055 | NoViableAltException nvae = |
961 | new NoViableAltException("", 13, 0, input); | 1056 | new NoViableAltException("", 14, 0, input); |
962 | 1057 | ||
963 | throw nvae; | 1058 | throw nvae; |
964 | } | 1059 | } |
965 | switch (alt13) { | 1060 | switch (alt14) { |
966 | case 1 : | 1061 | case 1 : |
967 | // InternalCftLanguage.g:3532:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1062 | // InternalCftLanguage.g:4153:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
968 | { | 1063 | { |
969 | match('\"'); | 1064 | match('\"'); |
970 | // InternalCftLanguage.g:3532:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 1065 | // InternalCftLanguage.g:4153:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
971 | loop11: | 1066 | loop12: |
972 | do { | 1067 | do { |
973 | int alt11=3; | 1068 | int alt12=3; |
974 | int LA11_0 = input.LA(1); | 1069 | int LA12_0 = input.LA(1); |
975 | 1070 | ||
976 | if ( (LA11_0=='\\') ) { | 1071 | if ( (LA12_0=='\\') ) { |
977 | alt11=1; | 1072 | alt12=1; |
978 | } | 1073 | } |
979 | else if ( ((LA11_0>='\u0000' && LA11_0<='!')||(LA11_0>='#' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\uFFFF')) ) { | 1074 | else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { |
980 | alt11=2; | 1075 | alt12=2; |
981 | } | 1076 | } |
982 | 1077 | ||
983 | 1078 | ||
984 | switch (alt11) { | 1079 | switch (alt12) { |
985 | case 1 : | 1080 | case 1 : |
986 | // InternalCftLanguage.g:3532:21: '\\\\' . | 1081 | // InternalCftLanguage.g:4153:21: '\\\\' . |
987 | { | 1082 | { |
988 | match('\\'); | 1083 | match('\\'); |
989 | matchAny(); | 1084 | matchAny(); |
@@ -991,7 +1086,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
991 | } | 1086 | } |
992 | break; | 1087 | break; |
993 | case 2 : | 1088 | case 2 : |
994 | // InternalCftLanguage.g:3532:28: ~ ( ( '\\\\' | '\"' ) ) | 1089 | // InternalCftLanguage.g:4153:28: ~ ( ( '\\\\' | '\"' ) ) |
995 | { | 1090 | { |
996 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1091 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
997 | input.consume(); | 1092 | input.consume(); |
@@ -1007,7 +1102,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1007 | break; | 1102 | break; |
1008 | 1103 | ||
1009 | default : | 1104 | default : |
1010 | break loop11; | 1105 | break loop12; |
1011 | } | 1106 | } |
1012 | } while (true); | 1107 | } while (true); |
1013 | 1108 | ||
@@ -1016,26 +1111,26 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1016 | } | 1111 | } |
1017 | break; | 1112 | break; |
1018 | case 2 : | 1113 | case 2 : |
1019 | // InternalCftLanguage.g:3532:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 1114 | // InternalCftLanguage.g:4153:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
1020 | { | 1115 | { |
1021 | match('\''); | 1116 | match('\''); |
1022 | // InternalCftLanguage.g:3532:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 1117 | // InternalCftLanguage.g:4153:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
1023 | loop12: | 1118 | loop13: |
1024 | do { | 1119 | do { |
1025 | int alt12=3; | 1120 | int alt13=3; |
1026 | int LA12_0 = input.LA(1); | 1121 | int LA13_0 = input.LA(1); |
1027 | 1122 | ||
1028 | if ( (LA12_0=='\\') ) { | 1123 | if ( (LA13_0=='\\') ) { |
1029 | alt12=1; | 1124 | alt13=1; |
1030 | } | 1125 | } |
1031 | else if ( ((LA12_0>='\u0000' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { | 1126 | else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { |
1032 | alt12=2; | 1127 | alt13=2; |
1033 | } | 1128 | } |
1034 | 1129 | ||
1035 | 1130 | ||
1036 | switch (alt12) { | 1131 | switch (alt13) { |
1037 | case 1 : | 1132 | case 1 : |
1038 | // InternalCftLanguage.g:3532:54: '\\\\' . | 1133 | // InternalCftLanguage.g:4153:54: '\\\\' . |
1039 | { | 1134 | { |
1040 | match('\\'); | 1135 | match('\\'); |
1041 | matchAny(); | 1136 | matchAny(); |
@@ -1043,7 +1138,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1043 | } | 1138 | } |
1044 | break; | 1139 | break; |
1045 | case 2 : | 1140 | case 2 : |
1046 | // InternalCftLanguage.g:3532:61: ~ ( ( '\\\\' | '\\'' ) ) | 1141 | // InternalCftLanguage.g:4153:61: ~ ( ( '\\\\' | '\\'' ) ) |
1047 | { | 1142 | { |
1048 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1143 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1049 | input.consume(); | 1144 | input.consume(); |
@@ -1059,7 +1154,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1059 | break; | 1154 | break; |
1060 | 1155 | ||
1061 | default : | 1156 | default : |
1062 | break loop12; | 1157 | break loop13; |
1063 | } | 1158 | } |
1064 | } while (true); | 1159 | } while (true); |
1065 | 1160 | ||
@@ -1086,37 +1181,37 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1086 | try { | 1181 | try { |
1087 | int _type = RULE_ML_COMMENT; | 1182 | int _type = RULE_ML_COMMENT; |
1088 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1183 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1089 | // InternalCftLanguage.g:3534:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1184 | // InternalCftLanguage.g:4155:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
1090 | // InternalCftLanguage.g:3534:19: '/*' ( options {greedy=false; } : . )* '*/' | 1185 | // InternalCftLanguage.g:4155:19: '/*' ( options {greedy=false; } : . )* '*/' |
1091 | { | 1186 | { |
1092 | match("/*"); | 1187 | match("/*"); |
1093 | 1188 | ||
1094 | // InternalCftLanguage.g:3534:24: ( options {greedy=false; } : . )* | 1189 | // InternalCftLanguage.g:4155:24: ( options {greedy=false; } : . )* |
1095 | loop14: | 1190 | loop15: |
1096 | do { | 1191 | do { |
1097 | int alt14=2; | 1192 | int alt15=2; |
1098 | int LA14_0 = input.LA(1); | 1193 | int LA15_0 = input.LA(1); |
1099 | 1194 | ||
1100 | if ( (LA14_0=='*') ) { | 1195 | if ( (LA15_0=='*') ) { |
1101 | int LA14_1 = input.LA(2); | 1196 | int LA15_1 = input.LA(2); |
1102 | 1197 | ||
1103 | if ( (LA14_1=='/') ) { | 1198 | if ( (LA15_1=='/') ) { |
1104 | alt14=2; | 1199 | alt15=2; |
1105 | } | 1200 | } |
1106 | else if ( ((LA14_1>='\u0000' && LA14_1<='.')||(LA14_1>='0' && LA14_1<='\uFFFF')) ) { | 1201 | else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) { |
1107 | alt14=1; | 1202 | alt15=1; |
1108 | } | 1203 | } |
1109 | 1204 | ||
1110 | 1205 | ||
1111 | } | 1206 | } |
1112 | else if ( ((LA14_0>='\u0000' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='\uFFFF')) ) { | 1207 | else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) { |
1113 | alt14=1; | 1208 | alt15=1; |
1114 | } | 1209 | } |
1115 | 1210 | ||
1116 | 1211 | ||
1117 | switch (alt14) { | 1212 | switch (alt15) { |
1118 | case 1 : | 1213 | case 1 : |
1119 | // InternalCftLanguage.g:3534:52: . | 1214 | // InternalCftLanguage.g:4155:52: . |
1120 | { | 1215 | { |
1121 | matchAny(); | 1216 | matchAny(); |
1122 | 1217 | ||
@@ -1124,7 +1219,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1124 | break; | 1219 | break; |
1125 | 1220 | ||
1126 | default : | 1221 | default : |
1127 | break loop14; | 1222 | break loop15; |
1128 | } | 1223 | } |
1129 | } while (true); | 1224 | } while (true); |
1130 | 1225 | ||
@@ -1146,25 +1241,25 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1146 | try { | 1241 | try { |
1147 | int _type = RULE_SL_COMMENT; | 1242 | int _type = RULE_SL_COMMENT; |
1148 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1243 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1149 | // InternalCftLanguage.g:3536:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1244 | // InternalCftLanguage.g:4157:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1150 | // InternalCftLanguage.g:3536:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1245 | // InternalCftLanguage.g:4157:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1151 | { | 1246 | { |
1152 | match("//"); | 1247 | match("//"); |
1153 | 1248 | ||
1154 | // InternalCftLanguage.g:3536:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1249 | // InternalCftLanguage.g:4157:24: (~ ( ( '\\n' | '\\r' ) ) )* |
1155 | loop15: | 1250 | loop16: |
1156 | do { | 1251 | do { |
1157 | int alt15=2; | 1252 | int alt16=2; |
1158 | int LA15_0 = input.LA(1); | 1253 | int LA16_0 = input.LA(1); |
1159 | 1254 | ||
1160 | if ( ((LA15_0>='\u0000' && LA15_0<='\t')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\uFFFF')) ) { | 1255 | if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) { |
1161 | alt15=1; | 1256 | alt16=1; |
1162 | } | 1257 | } |
1163 | 1258 | ||
1164 | 1259 | ||
1165 | switch (alt15) { | 1260 | switch (alt16) { |
1166 | case 1 : | 1261 | case 1 : |
1167 | // InternalCftLanguage.g:3536:24: ~ ( ( '\\n' | '\\r' ) ) | 1262 | // InternalCftLanguage.g:4157:24: ~ ( ( '\\n' | '\\r' ) ) |
1168 | { | 1263 | { |
1169 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1264 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1170 | input.consume(); | 1265 | input.consume(); |
@@ -1180,31 +1275,31 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1180 | break; | 1275 | break; |
1181 | 1276 | ||
1182 | default : | 1277 | default : |
1183 | break loop15; | 1278 | break loop16; |
1184 | } | 1279 | } |
1185 | } while (true); | 1280 | } while (true); |
1186 | 1281 | ||
1187 | // InternalCftLanguage.g:3536:40: ( ( '\\r' )? '\\n' )? | 1282 | // InternalCftLanguage.g:4157:40: ( ( '\\r' )? '\\n' )? |
1188 | int alt17=2; | 1283 | int alt18=2; |
1189 | int LA17_0 = input.LA(1); | 1284 | int LA18_0 = input.LA(1); |
1190 | 1285 | ||
1191 | if ( (LA17_0=='\n'||LA17_0=='\r') ) { | 1286 | if ( (LA18_0=='\n'||LA18_0=='\r') ) { |
1192 | alt17=1; | 1287 | alt18=1; |
1193 | } | 1288 | } |
1194 | switch (alt17) { | 1289 | switch (alt18) { |
1195 | case 1 : | 1290 | case 1 : |
1196 | // InternalCftLanguage.g:3536:41: ( '\\r' )? '\\n' | 1291 | // InternalCftLanguage.g:4157:41: ( '\\r' )? '\\n' |
1197 | { | 1292 | { |
1198 | // InternalCftLanguage.g:3536:41: ( '\\r' )? | 1293 | // InternalCftLanguage.g:4157:41: ( '\\r' )? |
1199 | int alt16=2; | 1294 | int alt17=2; |
1200 | int LA16_0 = input.LA(1); | 1295 | int LA17_0 = input.LA(1); |
1201 | 1296 | ||
1202 | if ( (LA16_0=='\r') ) { | 1297 | if ( (LA17_0=='\r') ) { |
1203 | alt16=1; | 1298 | alt17=1; |
1204 | } | 1299 | } |
1205 | switch (alt16) { | 1300 | switch (alt17) { |
1206 | case 1 : | 1301 | case 1 : |
1207 | // InternalCftLanguage.g:3536:41: '\\r' | 1302 | // InternalCftLanguage.g:4157:41: '\\r' |
1208 | { | 1303 | { |
1209 | match('\r'); | 1304 | match('\r'); |
1210 | 1305 | ||
@@ -1236,22 +1331,22 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1236 | try { | 1331 | try { |
1237 | int _type = RULE_WS; | 1332 | int _type = RULE_WS; |
1238 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1333 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1239 | // InternalCftLanguage.g:3538:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1334 | // InternalCftLanguage.g:4159:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1240 | // InternalCftLanguage.g:3538:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1335 | // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1241 | { | 1336 | { |
1242 | // InternalCftLanguage.g:3538:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1337 | // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1243 | int cnt18=0; | 1338 | int cnt19=0; |
1244 | loop18: | 1339 | loop19: |
1245 | do { | 1340 | do { |
1246 | int alt18=2; | 1341 | int alt19=2; |
1247 | int LA18_0 = input.LA(1); | 1342 | int LA19_0 = input.LA(1); |
1248 | 1343 | ||
1249 | if ( ((LA18_0>='\t' && LA18_0<='\n')||LA18_0=='\r'||LA18_0==' ') ) { | 1344 | if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) { |
1250 | alt18=1; | 1345 | alt19=1; |
1251 | } | 1346 | } |
1252 | 1347 | ||
1253 | 1348 | ||
1254 | switch (alt18) { | 1349 | switch (alt19) { |
1255 | case 1 : | 1350 | case 1 : |
1256 | // InternalCftLanguage.g: | 1351 | // InternalCftLanguage.g: |
1257 | { | 1352 | { |
@@ -1269,12 +1364,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1269 | break; | 1364 | break; |
1270 | 1365 | ||
1271 | default : | 1366 | default : |
1272 | if ( cnt18 >= 1 ) break loop18; | 1367 | if ( cnt19 >= 1 ) break loop19; |
1273 | EarlyExitException eee = | 1368 | EarlyExitException eee = |
1274 | new EarlyExitException(18, input); | 1369 | new EarlyExitException(19, input); |
1275 | throw eee; | 1370 | throw eee; |
1276 | } | 1371 | } |
1277 | cnt18++; | 1372 | cnt19++; |
1278 | } while (true); | 1373 | } while (true); |
1279 | 1374 | ||
1280 | 1375 | ||
@@ -1293,8 +1388,8 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1293 | try { | 1388 | try { |
1294 | int _type = RULE_ANY_OTHER; | 1389 | int _type = RULE_ANY_OTHER; |
1295 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1390 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1296 | // InternalCftLanguage.g:3540:16: ( . ) | 1391 | // InternalCftLanguage.g:4161:16: ( . ) |
1297 | // InternalCftLanguage.g:3540:18: . | 1392 | // InternalCftLanguage.g:4161:18: . |
1298 | { | 1393 | { |
1299 | matchAny(); | 1394 | matchAny(); |
1300 | 1395 | ||
@@ -1309,243 +1404,264 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1309 | // $ANTLR end "RULE_ANY_OTHER" | 1404 | // $ANTLR end "RULE_ANY_OTHER" |
1310 | 1405 | ||
1311 | public void mTokens() throws RecognitionException { | 1406 | public void mTokens() throws RecognitionException { |
1312 | // InternalCftLanguage.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_DOULBE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | 1407 | // InternalCftLanguage.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
1313 | int alt19=34; | 1408 | int alt20=37; |
1314 | alt19 = dfa19.predict(input); | 1409 | alt20 = dfa20.predict(input); |
1315 | switch (alt19) { | 1410 | switch (alt20) { |
1316 | case 1 : | 1411 | case 1 : |
1317 | // InternalCftLanguage.g:1:10: T__12 | 1412 | // InternalCftLanguage.g:1:10: T__13 |
1318 | { | 1413 | { |
1319 | mT__12(); | 1414 | mT__13(); |
1320 | 1415 | ||
1321 | } | 1416 | } |
1322 | break; | 1417 | break; |
1323 | case 2 : | 1418 | case 2 : |
1324 | // InternalCftLanguage.g:1:16: T__13 | 1419 | // InternalCftLanguage.g:1:16: T__14 |
1325 | { | 1420 | { |
1326 | mT__13(); | 1421 | mT__14(); |
1327 | 1422 | ||
1328 | } | 1423 | } |
1329 | break; | 1424 | break; |
1330 | case 3 : | 1425 | case 3 : |
1331 | // InternalCftLanguage.g:1:22: T__14 | 1426 | // InternalCftLanguage.g:1:22: T__15 |
1332 | { | 1427 | { |
1333 | mT__14(); | 1428 | mT__15(); |
1334 | 1429 | ||
1335 | } | 1430 | } |
1336 | break; | 1431 | break; |
1337 | case 4 : | 1432 | case 4 : |
1338 | // InternalCftLanguage.g:1:28: T__15 | 1433 | // InternalCftLanguage.g:1:28: T__16 |
1339 | { | 1434 | { |
1340 | mT__15(); | 1435 | mT__16(); |
1341 | 1436 | ||
1342 | } | 1437 | } |
1343 | break; | 1438 | break; |
1344 | case 5 : | 1439 | case 5 : |
1345 | // InternalCftLanguage.g:1:34: T__16 | 1440 | // InternalCftLanguage.g:1:34: T__17 |
1346 | { | 1441 | { |
1347 | mT__16(); | 1442 | mT__17(); |
1348 | 1443 | ||
1349 | } | 1444 | } |
1350 | break; | 1445 | break; |
1351 | case 6 : | 1446 | case 6 : |
1352 | // InternalCftLanguage.g:1:40: T__17 | 1447 | // InternalCftLanguage.g:1:40: T__18 |
1353 | { | 1448 | { |
1354 | mT__17(); | 1449 | mT__18(); |
1355 | 1450 | ||
1356 | } | 1451 | } |
1357 | break; | 1452 | break; |
1358 | case 7 : | 1453 | case 7 : |
1359 | // InternalCftLanguage.g:1:46: T__18 | 1454 | // InternalCftLanguage.g:1:46: T__19 |
1360 | { | 1455 | { |
1361 | mT__18(); | 1456 | mT__19(); |
1362 | 1457 | ||
1363 | } | 1458 | } |
1364 | break; | 1459 | break; |
1365 | case 8 : | 1460 | case 8 : |
1366 | // InternalCftLanguage.g:1:52: T__19 | 1461 | // InternalCftLanguage.g:1:52: T__20 |
1367 | { | 1462 | { |
1368 | mT__19(); | 1463 | mT__20(); |
1369 | 1464 | ||
1370 | } | 1465 | } |
1371 | break; | 1466 | break; |
1372 | case 9 : | 1467 | case 9 : |
1373 | // InternalCftLanguage.g:1:58: T__20 | 1468 | // InternalCftLanguage.g:1:58: T__21 |
1374 | { | 1469 | { |
1375 | mT__20(); | 1470 | mT__21(); |
1376 | 1471 | ||
1377 | } | 1472 | } |
1378 | break; | 1473 | break; |
1379 | case 10 : | 1474 | case 10 : |
1380 | // InternalCftLanguage.g:1:64: T__21 | 1475 | // InternalCftLanguage.g:1:64: T__22 |
1381 | { | 1476 | { |
1382 | mT__21(); | 1477 | mT__22(); |
1383 | 1478 | ||
1384 | } | 1479 | } |
1385 | break; | 1480 | break; |
1386 | case 11 : | 1481 | case 11 : |
1387 | // InternalCftLanguage.g:1:70: T__22 | 1482 | // InternalCftLanguage.g:1:70: T__23 |
1388 | { | 1483 | { |
1389 | mT__22(); | 1484 | mT__23(); |
1390 | 1485 | ||
1391 | } | 1486 | } |
1392 | break; | 1487 | break; |
1393 | case 12 : | 1488 | case 12 : |
1394 | // InternalCftLanguage.g:1:76: T__23 | 1489 | // InternalCftLanguage.g:1:76: T__24 |
1395 | { | 1490 | { |
1396 | mT__23(); | 1491 | mT__24(); |
1397 | 1492 | ||
1398 | } | 1493 | } |
1399 | break; | 1494 | break; |
1400 | case 13 : | 1495 | case 13 : |
1401 | // InternalCftLanguage.g:1:82: T__24 | 1496 | // InternalCftLanguage.g:1:82: T__25 |
1402 | { | 1497 | { |
1403 | mT__24(); | 1498 | mT__25(); |
1404 | 1499 | ||
1405 | } | 1500 | } |
1406 | break; | 1501 | break; |
1407 | case 14 : | 1502 | case 14 : |
1408 | // InternalCftLanguage.g:1:88: T__25 | 1503 | // InternalCftLanguage.g:1:88: T__26 |
1409 | { | 1504 | { |
1410 | mT__25(); | 1505 | mT__26(); |
1411 | 1506 | ||
1412 | } | 1507 | } |
1413 | break; | 1508 | break; |
1414 | case 15 : | 1509 | case 15 : |
1415 | // InternalCftLanguage.g:1:94: T__26 | 1510 | // InternalCftLanguage.g:1:94: T__27 |
1416 | { | 1511 | { |
1417 | mT__26(); | 1512 | mT__27(); |
1418 | 1513 | ||
1419 | } | 1514 | } |
1420 | break; | 1515 | break; |
1421 | case 16 : | 1516 | case 16 : |
1422 | // InternalCftLanguage.g:1:100: T__27 | 1517 | // InternalCftLanguage.g:1:100: T__28 |
1423 | { | 1518 | { |
1424 | mT__27(); | 1519 | mT__28(); |
1425 | 1520 | ||
1426 | } | 1521 | } |
1427 | break; | 1522 | break; |
1428 | case 17 : | 1523 | case 17 : |
1429 | // InternalCftLanguage.g:1:106: T__28 | 1524 | // InternalCftLanguage.g:1:106: T__29 |
1430 | { | 1525 | { |
1431 | mT__28(); | 1526 | mT__29(); |
1432 | 1527 | ||
1433 | } | 1528 | } |
1434 | break; | 1529 | break; |
1435 | case 18 : | 1530 | case 18 : |
1436 | // InternalCftLanguage.g:1:112: T__29 | 1531 | // InternalCftLanguage.g:1:112: T__30 |
1437 | { | 1532 | { |
1438 | mT__29(); | 1533 | mT__30(); |
1439 | 1534 | ||
1440 | } | 1535 | } |
1441 | break; | 1536 | break; |
1442 | case 19 : | 1537 | case 19 : |
1443 | // InternalCftLanguage.g:1:118: T__30 | 1538 | // InternalCftLanguage.g:1:118: T__31 |
1444 | { | 1539 | { |
1445 | mT__30(); | 1540 | mT__31(); |
1446 | 1541 | ||
1447 | } | 1542 | } |
1448 | break; | 1543 | break; |
1449 | case 20 : | 1544 | case 20 : |
1450 | // InternalCftLanguage.g:1:124: T__31 | 1545 | // InternalCftLanguage.g:1:124: T__32 |
1451 | { | 1546 | { |
1452 | mT__31(); | 1547 | mT__32(); |
1453 | 1548 | ||
1454 | } | 1549 | } |
1455 | break; | 1550 | break; |
1456 | case 21 : | 1551 | case 21 : |
1457 | // InternalCftLanguage.g:1:130: T__32 | 1552 | // InternalCftLanguage.g:1:130: T__33 |
1458 | { | 1553 | { |
1459 | mT__32(); | 1554 | mT__33(); |
1460 | 1555 | ||
1461 | } | 1556 | } |
1462 | break; | 1557 | break; |
1463 | case 22 : | 1558 | case 22 : |
1464 | // InternalCftLanguage.g:1:136: T__33 | 1559 | // InternalCftLanguage.g:1:136: T__34 |
1465 | { | 1560 | { |
1466 | mT__33(); | 1561 | mT__34(); |
1467 | 1562 | ||
1468 | } | 1563 | } |
1469 | break; | 1564 | break; |
1470 | case 23 : | 1565 | case 23 : |
1471 | // InternalCftLanguage.g:1:142: T__34 | 1566 | // InternalCftLanguage.g:1:142: T__35 |
1472 | { | 1567 | { |
1473 | mT__34(); | 1568 | mT__35(); |
1474 | 1569 | ||
1475 | } | 1570 | } |
1476 | break; | 1571 | break; |
1477 | case 24 : | 1572 | case 24 : |
1478 | // InternalCftLanguage.g:1:148: T__35 | 1573 | // InternalCftLanguage.g:1:148: T__36 |
1479 | { | 1574 | { |
1480 | mT__35(); | 1575 | mT__36(); |
1481 | 1576 | ||
1482 | } | 1577 | } |
1483 | break; | 1578 | break; |
1484 | case 25 : | 1579 | case 25 : |
1485 | // InternalCftLanguage.g:1:154: T__36 | 1580 | // InternalCftLanguage.g:1:154: T__37 |
1486 | { | 1581 | { |
1487 | mT__36(); | 1582 | mT__37(); |
1488 | 1583 | ||
1489 | } | 1584 | } |
1490 | break; | 1585 | break; |
1491 | case 26 : | 1586 | case 26 : |
1492 | // InternalCftLanguage.g:1:160: T__37 | 1587 | // InternalCftLanguage.g:1:160: T__38 |
1493 | { | 1588 | { |
1494 | mT__37(); | 1589 | mT__38(); |
1495 | 1590 | ||
1496 | } | 1591 | } |
1497 | break; | 1592 | break; |
1498 | case 27 : | 1593 | case 27 : |
1499 | // InternalCftLanguage.g:1:166: RULE_DOULBE | 1594 | // InternalCftLanguage.g:1:166: T__39 |
1500 | { | 1595 | { |
1501 | mRULE_DOULBE(); | 1596 | mT__39(); |
1502 | 1597 | ||
1503 | } | 1598 | } |
1504 | break; | 1599 | break; |
1505 | case 28 : | 1600 | case 28 : |
1506 | // InternalCftLanguage.g:1:178: RULE_ID | 1601 | // InternalCftLanguage.g:1:172: T__40 |
1507 | { | 1602 | { |
1508 | mRULE_ID(); | 1603 | mT__40(); |
1509 | 1604 | ||
1510 | } | 1605 | } |
1511 | break; | 1606 | break; |
1512 | case 29 : | 1607 | case 29 : |
1513 | // InternalCftLanguage.g:1:186: RULE_INT | 1608 | // InternalCftLanguage.g:1:178: RULE_OF_INT |
1514 | { | 1609 | { |
1515 | mRULE_INT(); | 1610 | mRULE_OF_INT(); |
1516 | 1611 | ||
1517 | } | 1612 | } |
1518 | break; | 1613 | break; |
1519 | case 30 : | 1614 | case 30 : |
1520 | // InternalCftLanguage.g:1:195: RULE_STRING | 1615 | // InternalCftLanguage.g:1:190: RULE_T_DOUBLE |
1521 | { | 1616 | { |
1522 | mRULE_STRING(); | 1617 | mRULE_T_DOUBLE(); |
1523 | 1618 | ||
1524 | } | 1619 | } |
1525 | break; | 1620 | break; |
1526 | case 31 : | 1621 | case 31 : |
1527 | // InternalCftLanguage.g:1:207: RULE_ML_COMMENT | 1622 | // InternalCftLanguage.g:1:204: RULE_ID |
1528 | { | 1623 | { |
1529 | mRULE_ML_COMMENT(); | 1624 | mRULE_ID(); |
1530 | 1625 | ||
1531 | } | 1626 | } |
1532 | break; | 1627 | break; |
1533 | case 32 : | 1628 | case 32 : |
1534 | // InternalCftLanguage.g:1:223: RULE_SL_COMMENT | 1629 | // InternalCftLanguage.g:1:212: RULE_INT |
1535 | { | 1630 | { |
1536 | mRULE_SL_COMMENT(); | 1631 | mRULE_INT(); |
1537 | 1632 | ||
1538 | } | 1633 | } |
1539 | break; | 1634 | break; |
1540 | case 33 : | 1635 | case 33 : |
1541 | // InternalCftLanguage.g:1:239: RULE_WS | 1636 | // InternalCftLanguage.g:1:221: RULE_STRING |
1542 | { | 1637 | { |
1543 | mRULE_WS(); | 1638 | mRULE_STRING(); |
1544 | 1639 | ||
1545 | } | 1640 | } |
1546 | break; | 1641 | break; |
1547 | case 34 : | 1642 | case 34 : |
1548 | // InternalCftLanguage.g:1:247: RULE_ANY_OTHER | 1643 | // InternalCftLanguage.g:1:233: RULE_ML_COMMENT |
1644 | { | ||
1645 | mRULE_ML_COMMENT(); | ||
1646 | |||
1647 | } | ||
1648 | break; | ||
1649 | case 35 : | ||
1650 | // InternalCftLanguage.g:1:249: RULE_SL_COMMENT | ||
1651 | { | ||
1652 | mRULE_SL_COMMENT(); | ||
1653 | |||
1654 | } | ||
1655 | break; | ||
1656 | case 36 : | ||
1657 | // InternalCftLanguage.g:1:265: RULE_WS | ||
1658 | { | ||
1659 | mRULE_WS(); | ||
1660 | |||
1661 | } | ||
1662 | break; | ||
1663 | case 37 : | ||
1664 | // InternalCftLanguage.g:1:273: RULE_ANY_OTHER | ||
1549 | { | 1665 | { |
1550 | mRULE_ANY_OTHER(); | 1666 | mRULE_ANY_OTHER(); |
1551 | 1667 | ||
@@ -1557,21 +1673,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1557 | } | 1673 | } |
1558 | 1674 | ||
1559 | 1675 | ||
1560 | protected DFA7 dfa7 = new DFA7(this); | 1676 | protected DFA8 dfa8 = new DFA8(this); |
1561 | protected DFA19 dfa19 = new DFA19(this); | 1677 | protected DFA20 dfa20 = new DFA20(this); |
1562 | static final String DFA7_eotS = | 1678 | static final String DFA8_eotS = |
1563 | "\3\uffff\1\4\1\uffff"; | 1679 | "\3\uffff\1\4\1\uffff"; |
1564 | static final String DFA7_eofS = | 1680 | static final String DFA8_eofS = |
1565 | "\5\uffff"; | 1681 | "\5\uffff"; |
1566 | static final String DFA7_minS = | 1682 | static final String DFA8_minS = |
1567 | "\1\56\1\60\1\uffff\1\60\1\uffff"; | 1683 | "\1\56\1\60\1\uffff\1\60\1\uffff"; |
1568 | static final String DFA7_maxS = | 1684 | static final String DFA8_maxS = |
1569 | "\1\145\1\71\1\uffff\1\145\1\uffff"; | 1685 | "\1\145\1\71\1\uffff\1\145\1\uffff"; |
1570 | static final String DFA7_acceptS = | 1686 | static final String DFA8_acceptS = |
1571 | "\2\uffff\1\2\1\uffff\1\1"; | 1687 | "\2\uffff\1\2\1\uffff\1\1"; |
1572 | static final String DFA7_specialS = | 1688 | static final String DFA8_specialS = |
1573 | "\5\uffff}>"; | 1689 | "\5\uffff}>"; |
1574 | static final String[] DFA7_transitionS = { | 1690 | static final String[] DFA8_transitionS = { |
1575 | "\1\1\26\uffff\1\2\37\uffff\1\2", | 1691 | "\1\1\26\uffff\1\2\37\uffff\1\2", |
1576 | "\12\3", | 1692 | "\12\3", |
1577 | "", | 1693 | "", |
@@ -1579,101 +1695,103 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1579 | "" | 1695 | "" |
1580 | }; | 1696 | }; |
1581 | 1697 | ||
1582 | static final short[] DFA7_eot = DFA.unpackEncodedString(DFA7_eotS); | 1698 | static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS); |
1583 | static final short[] DFA7_eof = DFA.unpackEncodedString(DFA7_eofS); | 1699 | static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS); |
1584 | static final char[] DFA7_min = DFA.unpackEncodedStringToUnsignedChars(DFA7_minS); | 1700 | static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS); |
1585 | static final char[] DFA7_max = DFA.unpackEncodedStringToUnsignedChars(DFA7_maxS); | 1701 | static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS); |
1586 | static final short[] DFA7_accept = DFA.unpackEncodedString(DFA7_acceptS); | 1702 | static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS); |
1587 | static final short[] DFA7_special = DFA.unpackEncodedString(DFA7_specialS); | 1703 | static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS); |
1588 | static final short[][] DFA7_transition; | 1704 | static final short[][] DFA8_transition; |
1589 | 1705 | ||
1590 | static { | 1706 | static { |
1591 | int numStates = DFA7_transitionS.length; | 1707 | int numStates = DFA8_transitionS.length; |
1592 | DFA7_transition = new short[numStates][]; | 1708 | DFA8_transition = new short[numStates][]; |
1593 | for (int i=0; i<numStates; i++) { | 1709 | for (int i=0; i<numStates; i++) { |
1594 | DFA7_transition[i] = DFA.unpackEncodedString(DFA7_transitionS[i]); | 1710 | DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]); |
1595 | } | 1711 | } |
1596 | } | 1712 | } |
1597 | 1713 | ||
1598 | class DFA7 extends DFA { | 1714 | class DFA8 extends DFA { |
1599 | 1715 | ||
1600 | public DFA7(BaseRecognizer recognizer) { | 1716 | public DFA8(BaseRecognizer recognizer) { |
1601 | this.recognizer = recognizer; | 1717 | this.recognizer = recognizer; |
1602 | this.decisionNumber = 7; | 1718 | this.decisionNumber = 8; |
1603 | this.eot = DFA7_eot; | 1719 | this.eot = DFA8_eot; |
1604 | this.eof = DFA7_eof; | 1720 | this.eof = DFA8_eof; |
1605 | this.min = DFA7_min; | 1721 | this.min = DFA8_min; |
1606 | this.max = DFA7_max; | 1722 | this.max = DFA8_max; |
1607 | this.accept = DFA7_accept; | 1723 | this.accept = DFA8_accept; |
1608 | this.special = DFA7_special; | 1724 | this.special = DFA8_special; |
1609 | this.transition = DFA7_transition; | 1725 | this.transition = DFA8_transition; |
1610 | } | 1726 | } |
1611 | public String getDescription() { | 1727 | public String getDescription() { |
1612 | return "3526:27: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; | 1728 | return "4147:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; |
1613 | } | 1729 | } |
1614 | } | 1730 | } |
1615 | static final String DFA19_eotS = | 1731 | static final String DFA20_eotS = |
1616 | "\1\uffff\1\34\1\37\1\uffff\2\37\2\uffff\2\37\1\53\3\37\5\uffff\2\34\1\72\1\34\1\uffff\3\34\3\uffff\1\37\2\uffff\1\37\1\101\1\37\2\uffff\1\37\1\104\2\37\2\uffff\1\37\1\110\3\37\10\uffff\1\72\5\uffff\2\37\1\uffff\1\116\1\117\1\uffff\2\37\1\122\1\uffff\5\37\2\uffff\2\37\1\uffff\13\37\1\145\1\146\1\147\3\37\1\153\3\uffff\2\37\1\156\1\uffff\1\37\1\160\1\uffff\1\37\1\uffff\4\37\1\166\1\uffff"; | 1732 | "\1\uffff\1\34\1\37\1\uffff\2\40\2\uffff\1\40\1\53\4\40\5\uffff\2\34\1\72\1\34\1\uffff\3\34\3\uffff\1\40\3\uffff\1\40\1\103\1\40\2\uffff\1\40\1\106\1\110\2\uffff\3\40\1\114\3\40\10\uffff\1\72\5\uffff\2\40\1\uffff\1\122\1\123\1\uffff\1\124\1\uffff\2\40\1\127\1\uffff\5\40\3\uffff\2\40\1\uffff\13\40\1\152\1\153\1\154\3\40\1\160\3\uffff\2\40\1\163\1\uffff\1\40\1\165\1\uffff\1\40\1\uffff\4\40\1\173\1\uffff"; |
1617 | static final String DFA19_eofS = | 1733 | static final String DFA20_eofS = |
1618 | "\167\uffff"; | 1734 | "\174\uffff"; |
1619 | static final String DFA19_minS = | 1735 | static final String DFA20_minS = |
1620 | "\1\0\1\75\1\141\1\uffff\1\155\1\146\2\uffff\1\162\1\141\1\76\1\156\1\157\1\141\5\uffff\1\135\1\75\1\56\1\101\1\uffff\2\0\1\52\3\uffff\1\143\2\uffff\1\160\1\60\1\164\2\uffff\1\164\1\60\1\155\1\157\2\uffff\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\2\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; | 1736 | "\1\0\1\75\1\60\1\uffff\1\155\1\146\2\uffff\1\146\1\76\1\141\1\156\1\157\1\141\5\uffff\1\135\1\75\1\56\1\101\1\uffff\2\0\1\52\3\uffff\1\143\3\uffff\1\160\1\60\1\164\2\uffff\1\164\2\60\2\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; |
1621 | static final String DFA19_maxS = | 1737 | static final String DFA20_maxS = |
1622 | "\1\uffff\1\75\1\141\1\uffff\1\156\1\146\2\uffff\1\165\1\157\1\76\1\163\1\162\1\141\5\uffff\1\135\1\75\1\145\1\172\1\uffff\2\uffff\1\57\3\uffff\1\143\2\uffff\1\160\1\172\1\164\2\uffff\1\164\1\172\1\155\1\157\2\uffff\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\2\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; | 1738 | "\1\uffff\1\75\1\172\1\uffff\1\156\1\146\2\uffff\1\165\1\76\1\157\1\163\1\162\1\141\5\uffff\1\135\1\75\1\145\1\172\1\uffff\2\uffff\1\57\3\uffff\1\143\3\uffff\1\160\1\172\1\164\2\uffff\1\164\2\172\2\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; |
1623 | static final String DFA19_acceptS = | 1739 | static final String DFA20_acceptS = |
1624 | "\3\uffff\1\3\2\uffff\1\6\1\7\6\uffff\1\20\1\21\1\22\1\25\1\27\4\uffff\1\34\3\uffff\1\41\1\42\1\1\1\uffff\1\34\1\3\3\uffff\1\6\1\7\4\uffff\1\26\1\13\5\uffff\1\20\1\21\1\22\1\25\1\27\1\30\1\32\1\33\1\uffff\1\35\1\36\1\37\1\40\1\41\2\uffff\1\10\2\uffff\1\15\3\uffff\1\24\5\uffff\1\5\1\11\2\uffff\1\14\22\uffff\1\4\1\12\1\23\3\uffff\1\2\2\uffff\1\17\1\uffff\1\31\5\uffff\1\16"; | 1740 | "\3\uffff\1\3\2\uffff\1\6\1\7\6\uffff\1\22\1\23\1\24\1\27\1\31\4\uffff\1\37\3\uffff\1\44\1\45\1\1\1\uffff\1\12\1\37\1\3\3\uffff\1\6\1\7\3\uffff\1\30\1\13\7\uffff\1\22\1\23\1\24\1\27\1\31\1\32\1\34\1\40\1\uffff\1\36\1\41\1\42\1\43\1\44\2\uffff\1\10\2\uffff\1\16\1\uffff\1\17\3\uffff\1\26\5\uffff\1\5\1\11\1\35\2\uffff\1\15\22\uffff\1\4\1\14\1\25\3\uffff\1\2\2\uffff\1\21\1\uffff\1\33\5\uffff\1\20"; |
1625 | static final String DFA19_specialS = | 1741 | static final String DFA20_specialS = |
1626 | "\1\2\27\uffff\1\1\1\0\135\uffff}>"; | 1742 | "\1\2\27\uffff\1\1\1\0\142\uffff}>"; |
1627 | static final String[] DFA19_transitionS = { | 1743 | static final String[] DFA20_transitionS = { |
1628 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\17\1\22\1\24\1\20\1\34\1\21\1\32\12\25\1\1\1\3\1\34\1\12\3\34\32\27\1\23\2\34\1\26\1\27\1\34\1\13\1\27\1\5\5\27\1\4\2\27\1\11\1\15\1\27\1\10\1\2\3\27\1\14\6\27\1\6\1\34\1\7\uff82\34", | 1744 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\17\1\22\1\24\1\20\1\34\1\21\1\32\12\25\1\1\1\3\1\34\1\11\3\34\32\27\1\23\2\34\1\26\1\27\1\34\1\13\1\27\1\5\5\27\1\4\2\27\1\12\1\15\1\27\1\10\1\2\3\27\1\14\6\27\1\6\1\34\1\7\uff82\34", |
1629 | "\1\35", | 1745 | "\1\35", |
1630 | "\1\36", | 1746 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\1\36\31\40", |
1631 | "", | 1747 | "", |
1632 | "\1\41\1\42", | 1748 | "\1\42\1\43", |
1633 | "\1\43", | 1749 | "\1\44", |
1634 | "", | 1750 | "", |
1635 | "", | 1751 | "", |
1636 | "\1\47\2\uffff\1\46", | 1752 | "\1\51\13\uffff\1\50\2\uffff\1\47", |
1637 | "\1\50\15\uffff\1\51", | ||
1638 | "\1\52", | 1753 | "\1\52", |
1639 | "\1\54\4\uffff\1\55", | 1754 | "\1\54\15\uffff\1\55", |
1640 | "\1\57\2\uffff\1\56", | 1755 | "\1\56\4\uffff\1\57", |
1641 | "\1\60", | 1756 | "\1\61\2\uffff\1\60", |
1757 | "\1\62", | ||
1642 | "", | 1758 | "", |
1643 | "", | 1759 | "", |
1644 | "", | 1760 | "", |
1645 | "", | 1761 | "", |
1646 | "", | 1762 | "", |
1647 | "\1\66", | 1763 | "\1\70", |
1648 | "\1\67", | 1764 | "\1\71", |
1649 | "\1\70\1\uffff\12\71\13\uffff\1\70\37\uffff\1\70", | 1765 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", |
1650 | "\32\37\4\uffff\1\37\1\uffff\32\37", | 1766 | "\32\40\4\uffff\1\40\1\uffff\32\40", |
1651 | "", | 1767 | "", |
1652 | "\0\73", | 1768 | "\0\75", |
1653 | "\0\73", | 1769 | "\0\75", |
1654 | "\1\74\4\uffff\1\75", | 1770 | "\1\76\4\uffff\1\77", |
1655 | "", | 1771 | "", |
1656 | "", | 1772 | "", |
1657 | "", | 1773 | "", |
1658 | "\1\77", | 1774 | "\1\101", |
1775 | "", | ||
1659 | "", | 1776 | "", |
1660 | "", | 1777 | "", |
1661 | "\1\100", | ||
1662 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1663 | "\1\102", | 1778 | "\1\102", |
1779 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", | ||
1780 | "\1\104", | ||
1664 | "", | 1781 | "", |
1665 | "", | 1782 | "", |
1666 | "\1\103", | ||
1667 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1668 | "\1\105", | 1783 | "\1\105", |
1669 | "\1\106", | 1784 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1785 | "\12\107\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", | ||
1670 | "", | 1786 | "", |
1671 | "", | 1787 | "", |
1672 | "\1\107", | ||
1673 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1674 | "\1\111", | 1788 | "\1\111", |
1675 | "\1\112", | 1789 | "\1\112", |
1676 | "\1\113", | 1790 | "\1\113", |
1791 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", | ||
1792 | "\1\115", | ||
1793 | "\1\116", | ||
1794 | "\1\117", | ||
1677 | "", | 1795 | "", |
1678 | "", | 1796 | "", |
1679 | "", | 1797 | "", |
@@ -1682,191 +1800,194 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1682 | "", | 1800 | "", |
1683 | "", | 1801 | "", |
1684 | "", | 1802 | "", |
1685 | "\1\70\1\uffff\12\71\13\uffff\1\70\37\uffff\1\70", | 1803 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", |
1686 | "", | ||
1687 | "", | ||
1688 | "", | 1804 | "", |
1689 | "", | 1805 | "", |
1690 | "", | 1806 | "", |
1691 | "\1\114", | ||
1692 | "\1\115", | ||
1693 | "", | 1807 | "", |
1694 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1695 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1696 | "", | 1808 | "", |
1697 | "\1\120", | 1809 | "\1\120", |
1698 | "\1\121", | 1810 | "\1\121", |
1699 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1700 | "", | 1811 | "", |
1701 | "\1\123", | 1812 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1702 | "\1\124", | 1813 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1814 | "", | ||
1815 | "\12\107\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", | ||
1816 | "", | ||
1703 | "\1\125", | 1817 | "\1\125", |
1704 | "\1\126", | 1818 | "\1\126", |
1705 | "\1\127", | 1819 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1706 | "", | ||
1707 | "", | 1820 | "", |
1708 | "\1\130", | 1821 | "\1\130", |
1709 | "\1\131", | 1822 | "\1\131", |
1710 | "", | ||
1711 | "\1\132", | 1823 | "\1\132", |
1712 | "\1\133", | 1824 | "\1\133", |
1713 | "\1\134", | 1825 | "\1\134", |
1826 | "", | ||
1827 | "", | ||
1828 | "", | ||
1714 | "\1\135", | 1829 | "\1\135", |
1715 | "\1\136", | 1830 | "\1\136", |
1831 | "", | ||
1716 | "\1\137", | 1832 | "\1\137", |
1717 | "\1\140", | 1833 | "\1\140", |
1718 | "\1\141", | 1834 | "\1\141", |
1719 | "\1\142", | 1835 | "\1\142", |
1720 | "\1\143", | 1836 | "\1\143", |
1721 | "\1\144", | 1837 | "\1\144", |
1722 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1838 | "\1\145", |
1723 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1839 | "\1\146", |
1724 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1840 | "\1\147", |
1725 | "\1\150", | 1841 | "\1\150", |
1726 | "\1\151", | 1842 | "\1\151", |
1727 | "\1\152", | 1843 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1728 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1844 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1729 | "", | 1845 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1730 | "", | ||
1731 | "", | ||
1732 | "\1\154", | ||
1733 | "\1\155", | 1846 | "\1\155", |
1734 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1847 | "\1\156", |
1735 | "", | ||
1736 | "\1\157", | 1848 | "\1\157", |
1737 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1849 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1738 | "", | 1850 | "", |
1739 | "\1\161", | ||
1740 | "", | 1851 | "", |
1852 | "", | ||
1853 | "\1\161", | ||
1741 | "\1\162", | 1854 | "\1\162", |
1742 | "\1\163", | 1855 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1856 | "", | ||
1743 | "\1\164", | 1857 | "\1\164", |
1744 | "\1\165", | 1858 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", |
1745 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1859 | "", |
1860 | "\1\166", | ||
1861 | "", | ||
1862 | "\1\167", | ||
1863 | "\1\170", | ||
1864 | "\1\171", | ||
1865 | "\1\172", | ||
1866 | "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", | ||
1746 | "" | 1867 | "" |
1747 | }; | 1868 | }; |
1748 | 1869 | ||
1749 | static final short[] DFA19_eot = DFA.unpackEncodedString(DFA19_eotS); | 1870 | static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); |
1750 | static final short[] DFA19_eof = DFA.unpackEncodedString(DFA19_eofS); | 1871 | static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); |
1751 | static final char[] DFA19_min = DFA.unpackEncodedStringToUnsignedChars(DFA19_minS); | 1872 | static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); |
1752 | static final char[] DFA19_max = DFA.unpackEncodedStringToUnsignedChars(DFA19_maxS); | 1873 | static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); |
1753 | static final short[] DFA19_accept = DFA.unpackEncodedString(DFA19_acceptS); | 1874 | static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); |
1754 | static final short[] DFA19_special = DFA.unpackEncodedString(DFA19_specialS); | 1875 | static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); |
1755 | static final short[][] DFA19_transition; | 1876 | static final short[][] DFA20_transition; |
1756 | 1877 | ||
1757 | static { | 1878 | static { |
1758 | int numStates = DFA19_transitionS.length; | 1879 | int numStates = DFA20_transitionS.length; |
1759 | DFA19_transition = new short[numStates][]; | 1880 | DFA20_transition = new short[numStates][]; |
1760 | for (int i=0; i<numStates; i++) { | 1881 | for (int i=0; i<numStates; i++) { |
1761 | DFA19_transition[i] = DFA.unpackEncodedString(DFA19_transitionS[i]); | 1882 | DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]); |
1762 | } | 1883 | } |
1763 | } | 1884 | } |
1764 | 1885 | ||
1765 | class DFA19 extends DFA { | 1886 | class DFA20 extends DFA { |
1766 | 1887 | ||
1767 | public DFA19(BaseRecognizer recognizer) { | 1888 | public DFA20(BaseRecognizer recognizer) { |
1768 | this.recognizer = recognizer; | 1889 | this.recognizer = recognizer; |
1769 | this.decisionNumber = 19; | 1890 | this.decisionNumber = 20; |
1770 | this.eot = DFA19_eot; | 1891 | this.eot = DFA20_eot; |
1771 | this.eof = DFA19_eof; | 1892 | this.eof = DFA20_eof; |
1772 | this.min = DFA19_min; | 1893 | this.min = DFA20_min; |
1773 | this.max = DFA19_max; | 1894 | this.max = DFA20_max; |
1774 | this.accept = DFA19_accept; | 1895 | this.accept = DFA20_accept; |
1775 | this.special = DFA19_special; | 1896 | this.special = DFA20_special; |
1776 | this.transition = DFA19_transition; | 1897 | this.transition = DFA20_transition; |
1777 | } | 1898 | } |
1778 | public String getDescription() { | 1899 | public String getDescription() { |
1779 | return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_DOULBE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | 1900 | return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
1780 | } | 1901 | } |
1781 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 1902 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
1782 | IntStream input = _input; | 1903 | IntStream input = _input; |
1783 | int _s = s; | 1904 | int _s = s; |
1784 | switch ( s ) { | 1905 | switch ( s ) { |
1785 | case 0 : | 1906 | case 0 : |
1786 | int LA19_25 = input.LA(1); | 1907 | int LA20_25 = input.LA(1); |
1787 | 1908 | ||
1788 | s = -1; | 1909 | s = -1; |
1789 | if ( ((LA19_25>='\u0000' && LA19_25<='\uFFFF')) ) {s = 59;} | 1910 | if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} |
1790 | 1911 | ||
1791 | else s = 28; | 1912 | else s = 28; |
1792 | 1913 | ||
1793 | if ( s>=0 ) return s; | 1914 | if ( s>=0 ) return s; |
1794 | break; | 1915 | break; |
1795 | case 1 : | 1916 | case 1 : |
1796 | int LA19_24 = input.LA(1); | 1917 | int LA20_24 = input.LA(1); |
1797 | 1918 | ||
1798 | s = -1; | 1919 | s = -1; |
1799 | if ( ((LA19_24>='\u0000' && LA19_24<='\uFFFF')) ) {s = 59;} | 1920 | if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} |
1800 | 1921 | ||
1801 | else s = 28; | 1922 | else s = 28; |
1802 | 1923 | ||
1803 | if ( s>=0 ) return s; | 1924 | if ( s>=0 ) return s; |
1804 | break; | 1925 | break; |
1805 | case 2 : | 1926 | case 2 : |
1806 | int LA19_0 = input.LA(1); | 1927 | int LA20_0 = input.LA(1); |
1807 | 1928 | ||
1808 | s = -1; | 1929 | s = -1; |
1809 | if ( (LA19_0==':') ) {s = 1;} | 1930 | if ( (LA20_0==':') ) {s = 1;} |
1810 | 1931 | ||
1811 | else if ( (LA19_0=='p') ) {s = 2;} | 1932 | else if ( (LA20_0=='p') ) {s = 2;} |
1812 | 1933 | ||
1813 | else if ( (LA19_0==';') ) {s = 3;} | 1934 | else if ( (LA20_0==';') ) {s = 3;} |
1814 | 1935 | ||
1815 | else if ( (LA19_0=='i') ) {s = 4;} | 1936 | else if ( (LA20_0=='i') ) {s = 4;} |
1816 | 1937 | ||
1817 | else if ( (LA19_0=='c') ) {s = 5;} | 1938 | else if ( (LA20_0=='c') ) {s = 5;} |
1818 | 1939 | ||
1819 | else if ( (LA19_0=='{') ) {s = 6;} | 1940 | else if ( (LA20_0=='{') ) {s = 6;} |
1820 | 1941 | ||
1821 | else if ( (LA19_0=='}') ) {s = 7;} | 1942 | else if ( (LA20_0=='}') ) {s = 7;} |
1822 | 1943 | ||
1823 | else if ( (LA19_0=='o') ) {s = 8;} | 1944 | else if ( (LA20_0=='o') ) {s = 8;} |
1824 | 1945 | ||
1825 | else if ( (LA19_0=='l') ) {s = 9;} | 1946 | else if ( (LA20_0=='=') ) {s = 9;} |
1826 | 1947 | ||
1827 | else if ( (LA19_0=='=') ) {s = 10;} | 1948 | else if ( (LA20_0=='l') ) {s = 10;} |
1828 | 1949 | ||
1829 | else if ( (LA19_0=='a') ) {s = 11;} | 1950 | else if ( (LA20_0=='a') ) {s = 11;} |
1830 | 1951 | ||
1831 | else if ( (LA19_0=='t') ) {s = 12;} | 1952 | else if ( (LA20_0=='t') ) {s = 12;} |
1832 | 1953 | ||
1833 | else if ( (LA19_0=='m') ) {s = 13;} | 1954 | else if ( (LA20_0=='m') ) {s = 13;} |
1834 | 1955 | ||
1835 | else if ( (LA19_0=='(') ) {s = 14;} | 1956 | else if ( (LA20_0=='(') ) {s = 14;} |
1836 | 1957 | ||
1837 | else if ( (LA19_0==')') ) {s = 15;} | 1958 | else if ( (LA20_0==')') ) {s = 15;} |
1838 | 1959 | ||
1839 | else if ( (LA19_0==',') ) {s = 16;} | 1960 | else if ( (LA20_0==',') ) {s = 16;} |
1840 | 1961 | ||
1841 | else if ( (LA19_0=='.') ) {s = 17;} | 1962 | else if ( (LA20_0=='.') ) {s = 17;} |
1842 | 1963 | ||
1843 | else if ( (LA19_0=='*') ) {s = 18;} | 1964 | else if ( (LA20_0=='*') ) {s = 18;} |
1844 | 1965 | ||
1845 | else if ( (LA19_0=='[') ) {s = 19;} | 1966 | else if ( (LA20_0=='[') ) {s = 19;} |
1846 | 1967 | ||
1847 | else if ( (LA19_0=='+') ) {s = 20;} | 1968 | else if ( (LA20_0=='+') ) {s = 20;} |
1848 | 1969 | ||
1849 | else if ( ((LA19_0>='0' && LA19_0<='9')) ) {s = 21;} | 1970 | else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;} |
1850 | 1971 | ||
1851 | else if ( (LA19_0=='^') ) {s = 22;} | 1972 | else if ( (LA20_0=='^') ) {s = 22;} |
1852 | 1973 | ||
1853 | else if ( ((LA19_0>='A' && LA19_0<='Z')||LA19_0=='_'||LA19_0=='b'||(LA19_0>='d' && LA19_0<='h')||(LA19_0>='j' && LA19_0<='k')||LA19_0=='n'||(LA19_0>='q' && LA19_0<='s')||(LA19_0>='u' && LA19_0<='z')) ) {s = 23;} | 1974 | else if ( ((LA20_0>='A' && LA20_0<='Z')||LA20_0=='_'||LA20_0=='b'||(LA20_0>='d' && LA20_0<='h')||(LA20_0>='j' && LA20_0<='k')||LA20_0=='n'||(LA20_0>='q' && LA20_0<='s')||(LA20_0>='u' && LA20_0<='z')) ) {s = 23;} |
1854 | 1975 | ||
1855 | else if ( (LA19_0=='\"') ) {s = 24;} | 1976 | else if ( (LA20_0=='\"') ) {s = 24;} |
1856 | 1977 | ||
1857 | else if ( (LA19_0=='\'') ) {s = 25;} | 1978 | else if ( (LA20_0=='\'') ) {s = 25;} |
1858 | 1979 | ||
1859 | else if ( (LA19_0=='/') ) {s = 26;} | 1980 | else if ( (LA20_0=='/') ) {s = 26;} |
1860 | 1981 | ||
1861 | else if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) {s = 27;} | 1982 | else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;} |
1862 | 1983 | ||
1863 | else if ( ((LA19_0>='\u0000' && LA19_0<='\b')||(LA19_0>='\u000B' && LA19_0<='\f')||(LA19_0>='\u000E' && LA19_0<='\u001F')||LA19_0=='!'||(LA19_0>='#' && LA19_0<='&')||LA19_0=='-'||LA19_0=='<'||(LA19_0>='>' && LA19_0<='@')||(LA19_0>='\\' && LA19_0<=']')||LA19_0=='`'||LA19_0=='|'||(LA19_0>='~' && LA19_0<='\uFFFF')) ) {s = 28;} | 1984 | else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} |
1864 | 1985 | ||
1865 | if ( s>=0 ) return s; | 1986 | if ( s>=0 ) return s; |
1866 | break; | 1987 | break; |
1867 | } | 1988 | } |
1868 | NoViableAltException nvae = | 1989 | NoViableAltException nvae = |
1869 | new NoViableAltException(getDescription(), 19, _s, input); | 1990 | new NoViableAltException(getDescription(), 20, _s, input); |
1870 | error(nvae); | 1991 | error(nvae); |
1871 | throw nvae; | 1992 | throw nvae; |
1872 | } | 1993 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java index a12d9fd8..be5e3140 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java | |||
@@ -22,19 +22,21 @@ import java.util.ArrayList; | |||
22 | @SuppressWarnings("all") | 22 | @SuppressWarnings("all") |
23 | public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { | 23 | public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { |
24 | public static final String[] tokenNames = new String[] { | 24 | public static final String[] tokenNames = new String[] { |
25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_DOULBE", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':='", "'package'", "';'", "'import'", "'cft'", "'{'", "'}'", "'in'", "'out'", "'lambda'", "'='", "'and'", "'or'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" | 25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_OF_INT", "RULE_INT", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':='", "'package'", "';'", "'import'", "'cft'", "'{'", "'}'", "'in'", "'out'", "'p'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" |
26 | }; | 26 | }; |
27 | public static final int RULE_STRING=7; | 27 | public static final int RULE_STRING=8; |
28 | public static final int RULE_SL_COMMENT=9; | 28 | public static final int RULE_SL_COMMENT=10; |
29 | public static final int T__19=19; | 29 | public static final int T__19=19; |
30 | public static final int T__15=15; | 30 | public static final int T__15=15; |
31 | public static final int T__37=37; | 31 | public static final int T__37=37; |
32 | public static final int T__16=16; | 32 | public static final int T__16=16; |
33 | public static final int T__38=38; | ||
33 | public static final int T__17=17; | 34 | public static final int T__17=17; |
35 | public static final int T__39=39; | ||
34 | public static final int T__18=18; | 36 | public static final int T__18=18; |
35 | public static final int T__33=33; | 37 | public static final int T__33=33; |
36 | public static final int T__12=12; | ||
37 | public static final int T__34=34; | 38 | public static final int T__34=34; |
39 | public static final int RULE_T_DOUBLE=7; | ||
38 | public static final int T__13=13; | 40 | public static final int T__13=13; |
39 | public static final int T__35=35; | 41 | public static final int T__35=35; |
40 | public static final int T__14=14; | 42 | public static final int T__14=14; |
@@ -43,20 +45,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
43 | public static final int T__30=30; | 45 | public static final int T__30=30; |
44 | public static final int T__31=31; | 46 | public static final int T__31=31; |
45 | public static final int T__32=32; | 47 | public static final int T__32=32; |
48 | public static final int RULE_OF_INT=5; | ||
46 | public static final int RULE_ID=4; | 49 | public static final int RULE_ID=4; |
47 | public static final int RULE_WS=10; | 50 | public static final int RULE_WS=11; |
48 | public static final int RULE_DOULBE=5; | 51 | public static final int RULE_ANY_OTHER=12; |
49 | public static final int RULE_ANY_OTHER=11; | ||
50 | public static final int T__26=26; | 52 | public static final int T__26=26; |
51 | public static final int T__27=27; | 53 | public static final int T__27=27; |
52 | public static final int T__28=28; | 54 | public static final int T__28=28; |
53 | public static final int RULE_INT=6; | 55 | public static final int RULE_INT=6; |
54 | public static final int T__29=29; | 56 | public static final int T__29=29; |
55 | public static final int T__22=22; | 57 | public static final int T__22=22; |
56 | public static final int RULE_ML_COMMENT=8; | 58 | public static final int RULE_ML_COMMENT=9; |
57 | public static final int T__23=23; | 59 | public static final int T__23=23; |
58 | public static final int T__24=24; | 60 | public static final int T__24=24; |
59 | public static final int T__25=25; | 61 | public static final int T__25=25; |
62 | public static final int T__40=40; | ||
60 | public static final int T__20=20; | 63 | public static final int T__20=20; |
61 | public static final int T__21=21; | 64 | public static final int T__21=21; |
62 | 65 | ||
@@ -557,12 +560,243 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
557 | // $ANTLR end "ruleBasicEventDefinition" | 560 | // $ANTLR end "ruleBasicEventDefinition" |
558 | 561 | ||
559 | 562 | ||
563 | // $ANTLR start "entryRuleDistribution" | ||
564 | // InternalCftLanguage.g:203:1: entryRuleDistribution : ruleDistribution EOF ; | ||
565 | public final void entryRuleDistribution() throws RecognitionException { | ||
566 | try { | ||
567 | // InternalCftLanguage.g:204:1: ( ruleDistribution EOF ) | ||
568 | // InternalCftLanguage.g:205:1: ruleDistribution EOF | ||
569 | { | ||
570 | before(grammarAccess.getDistributionRule()); | ||
571 | pushFollow(FOLLOW_1); | ||
572 | ruleDistribution(); | ||
573 | |||
574 | state._fsp--; | ||
575 | |||
576 | after(grammarAccess.getDistributionRule()); | ||
577 | match(input,EOF,FOLLOW_2); | ||
578 | |||
579 | } | ||
580 | |||
581 | } | ||
582 | catch (RecognitionException re) { | ||
583 | reportError(re); | ||
584 | recover(input,re); | ||
585 | } | ||
586 | finally { | ||
587 | } | ||
588 | return ; | ||
589 | } | ||
590 | // $ANTLR end "entryRuleDistribution" | ||
591 | |||
592 | |||
593 | // $ANTLR start "ruleDistribution" | ||
594 | // InternalCftLanguage.g:212:1: ruleDistribution : ( ( rule__Distribution__Alternatives ) ) ; | ||
595 | public final void ruleDistribution() throws RecognitionException { | ||
596 | |||
597 | int stackSize = keepStackSize(); | ||
598 | |||
599 | try { | ||
600 | // InternalCftLanguage.g:216:2: ( ( ( rule__Distribution__Alternatives ) ) ) | ||
601 | // InternalCftLanguage.g:217:2: ( ( rule__Distribution__Alternatives ) ) | ||
602 | { | ||
603 | // InternalCftLanguage.g:217:2: ( ( rule__Distribution__Alternatives ) ) | ||
604 | // InternalCftLanguage.g:218:3: ( rule__Distribution__Alternatives ) | ||
605 | { | ||
606 | before(grammarAccess.getDistributionAccess().getAlternatives()); | ||
607 | // InternalCftLanguage.g:219:3: ( rule__Distribution__Alternatives ) | ||
608 | // InternalCftLanguage.g:219:4: rule__Distribution__Alternatives | ||
609 | { | ||
610 | pushFollow(FOLLOW_2); | ||
611 | rule__Distribution__Alternatives(); | ||
612 | |||
613 | state._fsp--; | ||
614 | |||
615 | |||
616 | } | ||
617 | |||
618 | after(grammarAccess.getDistributionAccess().getAlternatives()); | ||
619 | |||
620 | } | ||
621 | |||
622 | |||
623 | } | ||
624 | |||
625 | } | ||
626 | catch (RecognitionException re) { | ||
627 | reportError(re); | ||
628 | recover(input,re); | ||
629 | } | ||
630 | finally { | ||
631 | |||
632 | restoreStackSize(stackSize); | ||
633 | |||
634 | } | ||
635 | return ; | ||
636 | } | ||
637 | // $ANTLR end "ruleDistribution" | ||
638 | |||
639 | |||
640 | // $ANTLR start "entryRuleConstantDistribution" | ||
641 | // InternalCftLanguage.g:228:1: entryRuleConstantDistribution : ruleConstantDistribution EOF ; | ||
642 | public final void entryRuleConstantDistribution() throws RecognitionException { | ||
643 | try { | ||
644 | // InternalCftLanguage.g:229:1: ( ruleConstantDistribution EOF ) | ||
645 | // InternalCftLanguage.g:230:1: ruleConstantDistribution EOF | ||
646 | { | ||
647 | before(grammarAccess.getConstantDistributionRule()); | ||
648 | pushFollow(FOLLOW_1); | ||
649 | ruleConstantDistribution(); | ||
650 | |||
651 | state._fsp--; | ||
652 | |||
653 | after(grammarAccess.getConstantDistributionRule()); | ||
654 | match(input,EOF,FOLLOW_2); | ||
655 | |||
656 | } | ||
657 | |||
658 | } | ||
659 | catch (RecognitionException re) { | ||
660 | reportError(re); | ||
661 | recover(input,re); | ||
662 | } | ||
663 | finally { | ||
664 | } | ||
665 | return ; | ||
666 | } | ||
667 | // $ANTLR end "entryRuleConstantDistribution" | ||
668 | |||
669 | |||
670 | // $ANTLR start "ruleConstantDistribution" | ||
671 | // InternalCftLanguage.g:237:1: ruleConstantDistribution : ( ( rule__ConstantDistribution__Group__0 ) ) ; | ||
672 | public final void ruleConstantDistribution() throws RecognitionException { | ||
673 | |||
674 | int stackSize = keepStackSize(); | ||
675 | |||
676 | try { | ||
677 | // InternalCftLanguage.g:241:2: ( ( ( rule__ConstantDistribution__Group__0 ) ) ) | ||
678 | // InternalCftLanguage.g:242:2: ( ( rule__ConstantDistribution__Group__0 ) ) | ||
679 | { | ||
680 | // InternalCftLanguage.g:242:2: ( ( rule__ConstantDistribution__Group__0 ) ) | ||
681 | // InternalCftLanguage.g:243:3: ( rule__ConstantDistribution__Group__0 ) | ||
682 | { | ||
683 | before(grammarAccess.getConstantDistributionAccess().getGroup()); | ||
684 | // InternalCftLanguage.g:244:3: ( rule__ConstantDistribution__Group__0 ) | ||
685 | // InternalCftLanguage.g:244:4: rule__ConstantDistribution__Group__0 | ||
686 | { | ||
687 | pushFollow(FOLLOW_2); | ||
688 | rule__ConstantDistribution__Group__0(); | ||
689 | |||
690 | state._fsp--; | ||
691 | |||
692 | |||
693 | } | ||
694 | |||
695 | after(grammarAccess.getConstantDistributionAccess().getGroup()); | ||
696 | |||
697 | } | ||
698 | |||
699 | |||
700 | } | ||
701 | |||
702 | } | ||
703 | catch (RecognitionException re) { | ||
704 | reportError(re); | ||
705 | recover(input,re); | ||
706 | } | ||
707 | finally { | ||
708 | |||
709 | restoreStackSize(stackSize); | ||
710 | |||
711 | } | ||
712 | return ; | ||
713 | } | ||
714 | // $ANTLR end "ruleConstantDistribution" | ||
715 | |||
716 | |||
717 | // $ANTLR start "entryRuleExponentialDistribution" | ||
718 | // InternalCftLanguage.g:253:1: entryRuleExponentialDistribution : ruleExponentialDistribution EOF ; | ||
719 | public final void entryRuleExponentialDistribution() throws RecognitionException { | ||
720 | try { | ||
721 | // InternalCftLanguage.g:254:1: ( ruleExponentialDistribution EOF ) | ||
722 | // InternalCftLanguage.g:255:1: ruleExponentialDistribution EOF | ||
723 | { | ||
724 | before(grammarAccess.getExponentialDistributionRule()); | ||
725 | pushFollow(FOLLOW_1); | ||
726 | ruleExponentialDistribution(); | ||
727 | |||
728 | state._fsp--; | ||
729 | |||
730 | after(grammarAccess.getExponentialDistributionRule()); | ||
731 | match(input,EOF,FOLLOW_2); | ||
732 | |||
733 | } | ||
734 | |||
735 | } | ||
736 | catch (RecognitionException re) { | ||
737 | reportError(re); | ||
738 | recover(input,re); | ||
739 | } | ||
740 | finally { | ||
741 | } | ||
742 | return ; | ||
743 | } | ||
744 | // $ANTLR end "entryRuleExponentialDistribution" | ||
745 | |||
746 | |||
747 | // $ANTLR start "ruleExponentialDistribution" | ||
748 | // InternalCftLanguage.g:262:1: ruleExponentialDistribution : ( ( rule__ExponentialDistribution__Group__0 ) ) ; | ||
749 | public final void ruleExponentialDistribution() throws RecognitionException { | ||
750 | |||
751 | int stackSize = keepStackSize(); | ||
752 | |||
753 | try { | ||
754 | // InternalCftLanguage.g:266:2: ( ( ( rule__ExponentialDistribution__Group__0 ) ) ) | ||
755 | // InternalCftLanguage.g:267:2: ( ( rule__ExponentialDistribution__Group__0 ) ) | ||
756 | { | ||
757 | // InternalCftLanguage.g:267:2: ( ( rule__ExponentialDistribution__Group__0 ) ) | ||
758 | // InternalCftLanguage.g:268:3: ( rule__ExponentialDistribution__Group__0 ) | ||
759 | { | ||
760 | before(grammarAccess.getExponentialDistributionAccess().getGroup()); | ||
761 | // InternalCftLanguage.g:269:3: ( rule__ExponentialDistribution__Group__0 ) | ||
762 | // InternalCftLanguage.g:269:4: rule__ExponentialDistribution__Group__0 | ||
763 | { | ||
764 | pushFollow(FOLLOW_2); | ||
765 | rule__ExponentialDistribution__Group__0(); | ||
766 | |||
767 | state._fsp--; | ||
768 | |||
769 | |||
770 | } | ||
771 | |||
772 | after(grammarAccess.getExponentialDistributionAccess().getGroup()); | ||
773 | |||
774 | } | ||
775 | |||
776 | |||
777 | } | ||
778 | |||
779 | } | ||
780 | catch (RecognitionException re) { | ||
781 | reportError(re); | ||
782 | recover(input,re); | ||
783 | } | ||
784 | finally { | ||
785 | |||
786 | restoreStackSize(stackSize); | ||
787 | |||
788 | } | ||
789 | return ; | ||
790 | } | ||
791 | // $ANTLR end "ruleExponentialDistribution" | ||
792 | |||
793 | |||
560 | // $ANTLR start "entryRuleGateDefinition" | 794 | // $ANTLR start "entryRuleGateDefinition" |
561 | // InternalCftLanguage.g:203:1: entryRuleGateDefinition : ruleGateDefinition EOF ; | 795 | // InternalCftLanguage.g:278:1: entryRuleGateDefinition : ruleGateDefinition EOF ; |
562 | public final void entryRuleGateDefinition() throws RecognitionException { | 796 | public final void entryRuleGateDefinition() throws RecognitionException { |
563 | try { | 797 | try { |
564 | // InternalCftLanguage.g:204:1: ( ruleGateDefinition EOF ) | 798 | // InternalCftLanguage.g:279:1: ( ruleGateDefinition EOF ) |
565 | // InternalCftLanguage.g:205:1: ruleGateDefinition EOF | 799 | // InternalCftLanguage.g:280:1: ruleGateDefinition EOF |
566 | { | 800 | { |
567 | before(grammarAccess.getGateDefinitionRule()); | 801 | before(grammarAccess.getGateDefinitionRule()); |
568 | pushFollow(FOLLOW_1); | 802 | pushFollow(FOLLOW_1); |
@@ -588,21 +822,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
588 | 822 | ||
589 | 823 | ||
590 | // $ANTLR start "ruleGateDefinition" | 824 | // $ANTLR start "ruleGateDefinition" |
591 | // InternalCftLanguage.g:212:1: ruleGateDefinition : ( ( rule__GateDefinition__Alternatives ) ) ; | 825 | // InternalCftLanguage.g:287:1: ruleGateDefinition : ( ( rule__GateDefinition__Alternatives ) ) ; |
592 | public final void ruleGateDefinition() throws RecognitionException { | 826 | public final void ruleGateDefinition() throws RecognitionException { |
593 | 827 | ||
594 | int stackSize = keepStackSize(); | 828 | int stackSize = keepStackSize(); |
595 | 829 | ||
596 | try { | 830 | try { |
597 | // InternalCftLanguage.g:216:2: ( ( ( rule__GateDefinition__Alternatives ) ) ) | 831 | // InternalCftLanguage.g:291:2: ( ( ( rule__GateDefinition__Alternatives ) ) ) |
598 | // InternalCftLanguage.g:217:2: ( ( rule__GateDefinition__Alternatives ) ) | 832 | // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) ) |
599 | { | 833 | { |
600 | // InternalCftLanguage.g:217:2: ( ( rule__GateDefinition__Alternatives ) ) | 834 | // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) ) |
601 | // InternalCftLanguage.g:218:3: ( rule__GateDefinition__Alternatives ) | 835 | // InternalCftLanguage.g:293:3: ( rule__GateDefinition__Alternatives ) |
602 | { | 836 | { |
603 | before(grammarAccess.getGateDefinitionAccess().getAlternatives()); | 837 | before(grammarAccess.getGateDefinitionAccess().getAlternatives()); |
604 | // InternalCftLanguage.g:219:3: ( rule__GateDefinition__Alternatives ) | 838 | // InternalCftLanguage.g:294:3: ( rule__GateDefinition__Alternatives ) |
605 | // InternalCftLanguage.g:219:4: rule__GateDefinition__Alternatives | 839 | // InternalCftLanguage.g:294:4: rule__GateDefinition__Alternatives |
606 | { | 840 | { |
607 | pushFollow(FOLLOW_2); | 841 | pushFollow(FOLLOW_2); |
608 | rule__GateDefinition__Alternatives(); | 842 | rule__GateDefinition__Alternatives(); |
@@ -634,20 +868,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
634 | // $ANTLR end "ruleGateDefinition" | 868 | // $ANTLR end "ruleGateDefinition" |
635 | 869 | ||
636 | 870 | ||
637 | // $ANTLR start "entryRuleAndGate" | 871 | // $ANTLR start "entryRuleAndGateDefinition" |
638 | // InternalCftLanguage.g:228:1: entryRuleAndGate : ruleAndGate EOF ; | 872 | // InternalCftLanguage.g:303:1: entryRuleAndGateDefinition : ruleAndGateDefinition EOF ; |
639 | public final void entryRuleAndGate() throws RecognitionException { | 873 | public final void entryRuleAndGateDefinition() throws RecognitionException { |
640 | try { | 874 | try { |
641 | // InternalCftLanguage.g:229:1: ( ruleAndGate EOF ) | 875 | // InternalCftLanguage.g:304:1: ( ruleAndGateDefinition EOF ) |
642 | // InternalCftLanguage.g:230:1: ruleAndGate EOF | 876 | // InternalCftLanguage.g:305:1: ruleAndGateDefinition EOF |
643 | { | 877 | { |
644 | before(grammarAccess.getAndGateRule()); | 878 | before(grammarAccess.getAndGateDefinitionRule()); |
645 | pushFollow(FOLLOW_1); | 879 | pushFollow(FOLLOW_1); |
646 | ruleAndGate(); | 880 | ruleAndGateDefinition(); |
647 | 881 | ||
648 | state._fsp--; | 882 | state._fsp--; |
649 | 883 | ||
650 | after(grammarAccess.getAndGateRule()); | 884 | after(grammarAccess.getAndGateDefinitionRule()); |
651 | match(input,EOF,FOLLOW_2); | 885 | match(input,EOF,FOLLOW_2); |
652 | 886 | ||
653 | } | 887 | } |
@@ -661,35 +895,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
661 | } | 895 | } |
662 | return ; | 896 | return ; |
663 | } | 897 | } |
664 | // $ANTLR end "entryRuleAndGate" | 898 | // $ANTLR end "entryRuleAndGateDefinition" |
665 | 899 | ||
666 | 900 | ||
667 | // $ANTLR start "ruleAndGate" | 901 | // $ANTLR start "ruleAndGateDefinition" |
668 | // InternalCftLanguage.g:237:1: ruleAndGate : ( ( rule__AndGate__Group__0 ) ) ; | 902 | // InternalCftLanguage.g:312:1: ruleAndGateDefinition : ( ( rule__AndGateDefinition__Group__0 ) ) ; |
669 | public final void ruleAndGate() throws RecognitionException { | 903 | public final void ruleAndGateDefinition() throws RecognitionException { |
670 | 904 | ||
671 | int stackSize = keepStackSize(); | 905 | int stackSize = keepStackSize(); |
672 | 906 | ||
673 | try { | 907 | try { |
674 | // InternalCftLanguage.g:241:2: ( ( ( rule__AndGate__Group__0 ) ) ) | 908 | // InternalCftLanguage.g:316:2: ( ( ( rule__AndGateDefinition__Group__0 ) ) ) |
675 | // InternalCftLanguage.g:242:2: ( ( rule__AndGate__Group__0 ) ) | 909 | // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) ) |
676 | { | 910 | { |
677 | // InternalCftLanguage.g:242:2: ( ( rule__AndGate__Group__0 ) ) | 911 | // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) ) |
678 | // InternalCftLanguage.g:243:3: ( rule__AndGate__Group__0 ) | 912 | // InternalCftLanguage.g:318:3: ( rule__AndGateDefinition__Group__0 ) |
679 | { | 913 | { |
680 | before(grammarAccess.getAndGateAccess().getGroup()); | 914 | before(grammarAccess.getAndGateDefinitionAccess().getGroup()); |
681 | // InternalCftLanguage.g:244:3: ( rule__AndGate__Group__0 ) | 915 | // InternalCftLanguage.g:319:3: ( rule__AndGateDefinition__Group__0 ) |
682 | // InternalCftLanguage.g:244:4: rule__AndGate__Group__0 | 916 | // InternalCftLanguage.g:319:4: rule__AndGateDefinition__Group__0 |
683 | { | 917 | { |
684 | pushFollow(FOLLOW_2); | 918 | pushFollow(FOLLOW_2); |
685 | rule__AndGate__Group__0(); | 919 | rule__AndGateDefinition__Group__0(); |
686 | 920 | ||
687 | state._fsp--; | 921 | state._fsp--; |
688 | 922 | ||
689 | 923 | ||
690 | } | 924 | } |
691 | 925 | ||
692 | after(grammarAccess.getAndGateAccess().getGroup()); | 926 | after(grammarAccess.getAndGateDefinitionAccess().getGroup()); |
693 | 927 | ||
694 | } | 928 | } |
695 | 929 | ||
@@ -708,23 +942,23 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
708 | } | 942 | } |
709 | return ; | 943 | return ; |
710 | } | 944 | } |
711 | // $ANTLR end "ruleAndGate" | 945 | // $ANTLR end "ruleAndGateDefinition" |
712 | 946 | ||
713 | 947 | ||
714 | // $ANTLR start "entryRuleOrGate" | 948 | // $ANTLR start "entryRuleOrGateDefinition" |
715 | // InternalCftLanguage.g:253:1: entryRuleOrGate : ruleOrGate EOF ; | 949 | // InternalCftLanguage.g:328:1: entryRuleOrGateDefinition : ruleOrGateDefinition EOF ; |
716 | public final void entryRuleOrGate() throws RecognitionException { | 950 | public final void entryRuleOrGateDefinition() throws RecognitionException { |
717 | try { | 951 | try { |
718 | // InternalCftLanguage.g:254:1: ( ruleOrGate EOF ) | 952 | // InternalCftLanguage.g:329:1: ( ruleOrGateDefinition EOF ) |
719 | // InternalCftLanguage.g:255:1: ruleOrGate EOF | 953 | // InternalCftLanguage.g:330:1: ruleOrGateDefinition EOF |
720 | { | 954 | { |
721 | before(grammarAccess.getOrGateRule()); | 955 | before(grammarAccess.getOrGateDefinitionRule()); |
722 | pushFollow(FOLLOW_1); | 956 | pushFollow(FOLLOW_1); |
723 | ruleOrGate(); | 957 | ruleOrGateDefinition(); |
724 | 958 | ||
725 | state._fsp--; | 959 | state._fsp--; |
726 | 960 | ||
727 | after(grammarAccess.getOrGateRule()); | 961 | after(grammarAccess.getOrGateDefinitionRule()); |
728 | match(input,EOF,FOLLOW_2); | 962 | match(input,EOF,FOLLOW_2); |
729 | 963 | ||
730 | } | 964 | } |
@@ -738,35 +972,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
738 | } | 972 | } |
739 | return ; | 973 | return ; |
740 | } | 974 | } |
741 | // $ANTLR end "entryRuleOrGate" | 975 | // $ANTLR end "entryRuleOrGateDefinition" |
742 | 976 | ||
743 | 977 | ||
744 | // $ANTLR start "ruleOrGate" | 978 | // $ANTLR start "ruleOrGateDefinition" |
745 | // InternalCftLanguage.g:262:1: ruleOrGate : ( ( rule__OrGate__Group__0 ) ) ; | 979 | // InternalCftLanguage.g:337:1: ruleOrGateDefinition : ( ( rule__OrGateDefinition__Group__0 ) ) ; |
746 | public final void ruleOrGate() throws RecognitionException { | 980 | public final void ruleOrGateDefinition() throws RecognitionException { |
747 | 981 | ||
748 | int stackSize = keepStackSize(); | 982 | int stackSize = keepStackSize(); |
749 | 983 | ||
750 | try { | 984 | try { |
751 | // InternalCftLanguage.g:266:2: ( ( ( rule__OrGate__Group__0 ) ) ) | 985 | // InternalCftLanguage.g:341:2: ( ( ( rule__OrGateDefinition__Group__0 ) ) ) |
752 | // InternalCftLanguage.g:267:2: ( ( rule__OrGate__Group__0 ) ) | 986 | // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) ) |
753 | { | 987 | { |
754 | // InternalCftLanguage.g:267:2: ( ( rule__OrGate__Group__0 ) ) | 988 | // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) ) |
755 | // InternalCftLanguage.g:268:3: ( rule__OrGate__Group__0 ) | 989 | // InternalCftLanguage.g:343:3: ( rule__OrGateDefinition__Group__0 ) |
756 | { | 990 | { |
757 | before(grammarAccess.getOrGateAccess().getGroup()); | 991 | before(grammarAccess.getOrGateDefinitionAccess().getGroup()); |
758 | // InternalCftLanguage.g:269:3: ( rule__OrGate__Group__0 ) | 992 | // InternalCftLanguage.g:344:3: ( rule__OrGateDefinition__Group__0 ) |
759 | // InternalCftLanguage.g:269:4: rule__OrGate__Group__0 | 993 | // InternalCftLanguage.g:344:4: rule__OrGateDefinition__Group__0 |
760 | { | 994 | { |
761 | pushFollow(FOLLOW_2); | 995 | pushFollow(FOLLOW_2); |
762 | rule__OrGate__Group__0(); | 996 | rule__OrGateDefinition__Group__0(); |
763 | 997 | ||
764 | state._fsp--; | 998 | state._fsp--; |
765 | 999 | ||
766 | 1000 | ||
767 | } | 1001 | } |
768 | 1002 | ||
769 | after(grammarAccess.getOrGateAccess().getGroup()); | 1003 | after(grammarAccess.getOrGateDefinitionAccess().getGroup()); |
770 | 1004 | ||
771 | } | 1005 | } |
772 | 1006 | ||
@@ -785,15 +1019,92 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
785 | } | 1019 | } |
786 | return ; | 1020 | return ; |
787 | } | 1021 | } |
788 | // $ANTLR end "ruleOrGate" | 1022 | // $ANTLR end "ruleOrGateDefinition" |
1023 | |||
1024 | |||
1025 | // $ANTLR start "entryRuleKOfMGateDefinition" | ||
1026 | // InternalCftLanguage.g:353:1: entryRuleKOfMGateDefinition : ruleKOfMGateDefinition EOF ; | ||
1027 | public final void entryRuleKOfMGateDefinition() throws RecognitionException { | ||
1028 | try { | ||
1029 | // InternalCftLanguage.g:354:1: ( ruleKOfMGateDefinition EOF ) | ||
1030 | // InternalCftLanguage.g:355:1: ruleKOfMGateDefinition EOF | ||
1031 | { | ||
1032 | before(grammarAccess.getKOfMGateDefinitionRule()); | ||
1033 | pushFollow(FOLLOW_1); | ||
1034 | ruleKOfMGateDefinition(); | ||
1035 | |||
1036 | state._fsp--; | ||
1037 | |||
1038 | after(grammarAccess.getKOfMGateDefinitionRule()); | ||
1039 | match(input,EOF,FOLLOW_2); | ||
1040 | |||
1041 | } | ||
1042 | |||
1043 | } | ||
1044 | catch (RecognitionException re) { | ||
1045 | reportError(re); | ||
1046 | recover(input,re); | ||
1047 | } | ||
1048 | finally { | ||
1049 | } | ||
1050 | return ; | ||
1051 | } | ||
1052 | // $ANTLR end "entryRuleKOfMGateDefinition" | ||
1053 | |||
1054 | |||
1055 | // $ANTLR start "ruleKOfMGateDefinition" | ||
1056 | // InternalCftLanguage.g:362:1: ruleKOfMGateDefinition : ( ( rule__KOfMGateDefinition__Group__0 ) ) ; | ||
1057 | public final void ruleKOfMGateDefinition() throws RecognitionException { | ||
1058 | |||
1059 | int stackSize = keepStackSize(); | ||
1060 | |||
1061 | try { | ||
1062 | // InternalCftLanguage.g:366:2: ( ( ( rule__KOfMGateDefinition__Group__0 ) ) ) | ||
1063 | // InternalCftLanguage.g:367:2: ( ( rule__KOfMGateDefinition__Group__0 ) ) | ||
1064 | { | ||
1065 | // InternalCftLanguage.g:367:2: ( ( rule__KOfMGateDefinition__Group__0 ) ) | ||
1066 | // InternalCftLanguage.g:368:3: ( rule__KOfMGateDefinition__Group__0 ) | ||
1067 | { | ||
1068 | before(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); | ||
1069 | // InternalCftLanguage.g:369:3: ( rule__KOfMGateDefinition__Group__0 ) | ||
1070 | // InternalCftLanguage.g:369:4: rule__KOfMGateDefinition__Group__0 | ||
1071 | { | ||
1072 | pushFollow(FOLLOW_2); | ||
1073 | rule__KOfMGateDefinition__Group__0(); | ||
1074 | |||
1075 | state._fsp--; | ||
1076 | |||
1077 | |||
1078 | } | ||
1079 | |||
1080 | after(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); | ||
1081 | |||
1082 | } | ||
1083 | |||
1084 | |||
1085 | } | ||
1086 | |||
1087 | } | ||
1088 | catch (RecognitionException re) { | ||
1089 | reportError(re); | ||
1090 | recover(input,re); | ||
1091 | } | ||
1092 | finally { | ||
1093 | |||
1094 | restoreStackSize(stackSize); | ||
1095 | |||
1096 | } | ||
1097 | return ; | ||
1098 | } | ||
1099 | // $ANTLR end "ruleKOfMGateDefinition" | ||
789 | 1100 | ||
790 | 1101 | ||
791 | // $ANTLR start "entryRuleTransformationDefinition" | 1102 | // $ANTLR start "entryRuleTransformationDefinition" |
792 | // InternalCftLanguage.g:278:1: entryRuleTransformationDefinition : ruleTransformationDefinition EOF ; | 1103 | // InternalCftLanguage.g:378:1: entryRuleTransformationDefinition : ruleTransformationDefinition EOF ; |
793 | public final void entryRuleTransformationDefinition() throws RecognitionException { | 1104 | public final void entryRuleTransformationDefinition() throws RecognitionException { |
794 | try { | 1105 | try { |
795 | // InternalCftLanguage.g:279:1: ( ruleTransformationDefinition EOF ) | 1106 | // InternalCftLanguage.g:379:1: ( ruleTransformationDefinition EOF ) |
796 | // InternalCftLanguage.g:280:1: ruleTransformationDefinition EOF | 1107 | // InternalCftLanguage.g:380:1: ruleTransformationDefinition EOF |
797 | { | 1108 | { |
798 | before(grammarAccess.getTransformationDefinitionRule()); | 1109 | before(grammarAccess.getTransformationDefinitionRule()); |
799 | pushFollow(FOLLOW_1); | 1110 | pushFollow(FOLLOW_1); |
@@ -819,21 +1130,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
819 | 1130 | ||
820 | 1131 | ||
821 | // $ANTLR start "ruleTransformationDefinition" | 1132 | // $ANTLR start "ruleTransformationDefinition" |
822 | // InternalCftLanguage.g:287:1: ruleTransformationDefinition : ( ( rule__TransformationDefinition__Group__0 ) ) ; | 1133 | // InternalCftLanguage.g:387:1: ruleTransformationDefinition : ( ( rule__TransformationDefinition__Group__0 ) ) ; |
823 | public final void ruleTransformationDefinition() throws RecognitionException { | 1134 | public final void ruleTransformationDefinition() throws RecognitionException { |
824 | 1135 | ||
825 | int stackSize = keepStackSize(); | 1136 | int stackSize = keepStackSize(); |
826 | 1137 | ||
827 | try { | 1138 | try { |
828 | // InternalCftLanguage.g:291:2: ( ( ( rule__TransformationDefinition__Group__0 ) ) ) | 1139 | // InternalCftLanguage.g:391:2: ( ( ( rule__TransformationDefinition__Group__0 ) ) ) |
829 | // InternalCftLanguage.g:292:2: ( ( rule__TransformationDefinition__Group__0 ) ) | 1140 | // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) ) |
830 | { | 1141 | { |
831 | // InternalCftLanguage.g:292:2: ( ( rule__TransformationDefinition__Group__0 ) ) | 1142 | // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) ) |
832 | // InternalCftLanguage.g:293:3: ( rule__TransformationDefinition__Group__0 ) | 1143 | // InternalCftLanguage.g:393:3: ( rule__TransformationDefinition__Group__0 ) |
833 | { | 1144 | { |
834 | before(grammarAccess.getTransformationDefinitionAccess().getGroup()); | 1145 | before(grammarAccess.getTransformationDefinitionAccess().getGroup()); |
835 | // InternalCftLanguage.g:294:3: ( rule__TransformationDefinition__Group__0 ) | 1146 | // InternalCftLanguage.g:394:3: ( rule__TransformationDefinition__Group__0 ) |
836 | // InternalCftLanguage.g:294:4: rule__TransformationDefinition__Group__0 | 1147 | // InternalCftLanguage.g:394:4: rule__TransformationDefinition__Group__0 |
837 | { | 1148 | { |
838 | pushFollow(FOLLOW_2); | 1149 | pushFollow(FOLLOW_2); |
839 | rule__TransformationDefinition__Group__0(); | 1150 | rule__TransformationDefinition__Group__0(); |
@@ -866,11 +1177,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
866 | 1177 | ||
867 | 1178 | ||
868 | // $ANTLR start "entryRuleMappingDefinition" | 1179 | // $ANTLR start "entryRuleMappingDefinition" |
869 | // InternalCftLanguage.g:303:1: entryRuleMappingDefinition : ruleMappingDefinition EOF ; | 1180 | // InternalCftLanguage.g:403:1: entryRuleMappingDefinition : ruleMappingDefinition EOF ; |
870 | public final void entryRuleMappingDefinition() throws RecognitionException { | 1181 | public final void entryRuleMappingDefinition() throws RecognitionException { |
871 | try { | 1182 | try { |
872 | // InternalCftLanguage.g:304:1: ( ruleMappingDefinition EOF ) | 1183 | // InternalCftLanguage.g:404:1: ( ruleMappingDefinition EOF ) |
873 | // InternalCftLanguage.g:305:1: ruleMappingDefinition EOF | 1184 | // InternalCftLanguage.g:405:1: ruleMappingDefinition EOF |
874 | { | 1185 | { |
875 | before(grammarAccess.getMappingDefinitionRule()); | 1186 | before(grammarAccess.getMappingDefinitionRule()); |
876 | pushFollow(FOLLOW_1); | 1187 | pushFollow(FOLLOW_1); |
@@ -896,21 +1207,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
896 | 1207 | ||
897 | 1208 | ||
898 | // $ANTLR start "ruleMappingDefinition" | 1209 | // $ANTLR start "ruleMappingDefinition" |
899 | // InternalCftLanguage.g:312:1: ruleMappingDefinition : ( ( rule__MappingDefinition__Group__0 ) ) ; | 1210 | // InternalCftLanguage.g:412:1: ruleMappingDefinition : ( ( rule__MappingDefinition__Group__0 ) ) ; |
900 | public final void ruleMappingDefinition() throws RecognitionException { | 1211 | public final void ruleMappingDefinition() throws RecognitionException { |
901 | 1212 | ||
902 | int stackSize = keepStackSize(); | 1213 | int stackSize = keepStackSize(); |
903 | 1214 | ||
904 | try { | 1215 | try { |
905 | // InternalCftLanguage.g:316:2: ( ( ( rule__MappingDefinition__Group__0 ) ) ) | 1216 | // InternalCftLanguage.g:416:2: ( ( ( rule__MappingDefinition__Group__0 ) ) ) |
906 | // InternalCftLanguage.g:317:2: ( ( rule__MappingDefinition__Group__0 ) ) | 1217 | // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) ) |
907 | { | 1218 | { |
908 | // InternalCftLanguage.g:317:2: ( ( rule__MappingDefinition__Group__0 ) ) | 1219 | // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) ) |
909 | // InternalCftLanguage.g:318:3: ( rule__MappingDefinition__Group__0 ) | 1220 | // InternalCftLanguage.g:418:3: ( rule__MappingDefinition__Group__0 ) |
910 | { | 1221 | { |
911 | before(grammarAccess.getMappingDefinitionAccess().getGroup()); | 1222 | before(grammarAccess.getMappingDefinitionAccess().getGroup()); |
912 | // InternalCftLanguage.g:319:3: ( rule__MappingDefinition__Group__0 ) | 1223 | // InternalCftLanguage.g:419:3: ( rule__MappingDefinition__Group__0 ) |
913 | // InternalCftLanguage.g:319:4: rule__MappingDefinition__Group__0 | 1224 | // InternalCftLanguage.g:419:4: rule__MappingDefinition__Group__0 |
914 | { | 1225 | { |
915 | pushFollow(FOLLOW_2); | 1226 | pushFollow(FOLLOW_2); |
916 | rule__MappingDefinition__Group__0(); | 1227 | rule__MappingDefinition__Group__0(); |
@@ -943,11 +1254,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
943 | 1254 | ||
944 | 1255 | ||
945 | // $ANTLR start "entryRuleMappingParameter" | 1256 | // $ANTLR start "entryRuleMappingParameter" |
946 | // InternalCftLanguage.g:328:1: entryRuleMappingParameter : ruleMappingParameter EOF ; | 1257 | // InternalCftLanguage.g:428:1: entryRuleMappingParameter : ruleMappingParameter EOF ; |
947 | public final void entryRuleMappingParameter() throws RecognitionException { | 1258 | public final void entryRuleMappingParameter() throws RecognitionException { |
948 | try { | 1259 | try { |
949 | // InternalCftLanguage.g:329:1: ( ruleMappingParameter EOF ) | 1260 | // InternalCftLanguage.g:429:1: ( ruleMappingParameter EOF ) |
950 | // InternalCftLanguage.g:330:1: ruleMappingParameter EOF | 1261 | // InternalCftLanguage.g:430:1: ruleMappingParameter EOF |
951 | { | 1262 | { |
952 | before(grammarAccess.getMappingParameterRule()); | 1263 | before(grammarAccess.getMappingParameterRule()); |
953 | pushFollow(FOLLOW_1); | 1264 | pushFollow(FOLLOW_1); |
@@ -973,21 +1284,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
973 | 1284 | ||
974 | 1285 | ||
975 | // $ANTLR start "ruleMappingParameter" | 1286 | // $ANTLR start "ruleMappingParameter" |
976 | // InternalCftLanguage.g:337:1: ruleMappingParameter : ( ( rule__MappingParameter__NameAssignment ) ) ; | 1287 | // InternalCftLanguage.g:437:1: ruleMappingParameter : ( ( rule__MappingParameter__NameAssignment ) ) ; |
977 | public final void ruleMappingParameter() throws RecognitionException { | 1288 | public final void ruleMappingParameter() throws RecognitionException { |
978 | 1289 | ||
979 | int stackSize = keepStackSize(); | 1290 | int stackSize = keepStackSize(); |
980 | 1291 | ||
981 | try { | 1292 | try { |
982 | // InternalCftLanguage.g:341:2: ( ( ( rule__MappingParameter__NameAssignment ) ) ) | 1293 | // InternalCftLanguage.g:441:2: ( ( ( rule__MappingParameter__NameAssignment ) ) ) |
983 | // InternalCftLanguage.g:342:2: ( ( rule__MappingParameter__NameAssignment ) ) | 1294 | // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) ) |
984 | { | 1295 | { |
985 | // InternalCftLanguage.g:342:2: ( ( rule__MappingParameter__NameAssignment ) ) | 1296 | // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) ) |
986 | // InternalCftLanguage.g:343:3: ( rule__MappingParameter__NameAssignment ) | 1297 | // InternalCftLanguage.g:443:3: ( rule__MappingParameter__NameAssignment ) |
987 | { | 1298 | { |
988 | before(grammarAccess.getMappingParameterAccess().getNameAssignment()); | 1299 | before(grammarAccess.getMappingParameterAccess().getNameAssignment()); |
989 | // InternalCftLanguage.g:344:3: ( rule__MappingParameter__NameAssignment ) | 1300 | // InternalCftLanguage.g:444:3: ( rule__MappingParameter__NameAssignment ) |
990 | // InternalCftLanguage.g:344:4: rule__MappingParameter__NameAssignment | 1301 | // InternalCftLanguage.g:444:4: rule__MappingParameter__NameAssignment |
991 | { | 1302 | { |
992 | pushFollow(FOLLOW_2); | 1303 | pushFollow(FOLLOW_2); |
993 | rule__MappingParameter__NameAssignment(); | 1304 | rule__MappingParameter__NameAssignment(); |
@@ -1020,11 +1331,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1020 | 1331 | ||
1021 | 1332 | ||
1022 | // $ANTLR start "entryRuleLookupDefinition" | 1333 | // $ANTLR start "entryRuleLookupDefinition" |
1023 | // InternalCftLanguage.g:353:1: entryRuleLookupDefinition : ruleLookupDefinition EOF ; | 1334 | // InternalCftLanguage.g:453:1: entryRuleLookupDefinition : ruleLookupDefinition EOF ; |
1024 | public final void entryRuleLookupDefinition() throws RecognitionException { | 1335 | public final void entryRuleLookupDefinition() throws RecognitionException { |
1025 | try { | 1336 | try { |
1026 | // InternalCftLanguage.g:354:1: ( ruleLookupDefinition EOF ) | 1337 | // InternalCftLanguage.g:454:1: ( ruleLookupDefinition EOF ) |
1027 | // InternalCftLanguage.g:355:1: ruleLookupDefinition EOF | 1338 | // InternalCftLanguage.g:455:1: ruleLookupDefinition EOF |
1028 | { | 1339 | { |
1029 | before(grammarAccess.getLookupDefinitionRule()); | 1340 | before(grammarAccess.getLookupDefinitionRule()); |
1030 | pushFollow(FOLLOW_1); | 1341 | pushFollow(FOLLOW_1); |
@@ -1050,21 +1361,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1050 | 1361 | ||
1051 | 1362 | ||
1052 | // $ANTLR start "ruleLookupDefinition" | 1363 | // $ANTLR start "ruleLookupDefinition" |
1053 | // InternalCftLanguage.g:362:1: ruleLookupDefinition : ( ( rule__LookupDefinition__Group__0 ) ) ; | 1364 | // InternalCftLanguage.g:462:1: ruleLookupDefinition : ( ( rule__LookupDefinition__Group__0 ) ) ; |
1054 | public final void ruleLookupDefinition() throws RecognitionException { | 1365 | public final void ruleLookupDefinition() throws RecognitionException { |
1055 | 1366 | ||
1056 | int stackSize = keepStackSize(); | 1367 | int stackSize = keepStackSize(); |
1057 | 1368 | ||
1058 | try { | 1369 | try { |
1059 | // InternalCftLanguage.g:366:2: ( ( ( rule__LookupDefinition__Group__0 ) ) ) | 1370 | // InternalCftLanguage.g:466:2: ( ( ( rule__LookupDefinition__Group__0 ) ) ) |
1060 | // InternalCftLanguage.g:367:2: ( ( rule__LookupDefinition__Group__0 ) ) | 1371 | // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) ) |
1061 | { | 1372 | { |
1062 | // InternalCftLanguage.g:367:2: ( ( rule__LookupDefinition__Group__0 ) ) | 1373 | // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) ) |
1063 | // InternalCftLanguage.g:368:3: ( rule__LookupDefinition__Group__0 ) | 1374 | // InternalCftLanguage.g:468:3: ( rule__LookupDefinition__Group__0 ) |
1064 | { | 1375 | { |
1065 | before(grammarAccess.getLookupDefinitionAccess().getGroup()); | 1376 | before(grammarAccess.getLookupDefinitionAccess().getGroup()); |
1066 | // InternalCftLanguage.g:369:3: ( rule__LookupDefinition__Group__0 ) | 1377 | // InternalCftLanguage.g:469:3: ( rule__LookupDefinition__Group__0 ) |
1067 | // InternalCftLanguage.g:369:4: rule__LookupDefinition__Group__0 | 1378 | // InternalCftLanguage.g:469:4: rule__LookupDefinition__Group__0 |
1068 | { | 1379 | { |
1069 | pushFollow(FOLLOW_2); | 1380 | pushFollow(FOLLOW_2); |
1070 | rule__LookupDefinition__Group__0(); | 1381 | rule__LookupDefinition__Group__0(); |
@@ -1097,11 +1408,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1097 | 1408 | ||
1098 | 1409 | ||
1099 | // $ANTLR start "entryRuleAssignment" | 1410 | // $ANTLR start "entryRuleAssignment" |
1100 | // InternalCftLanguage.g:378:1: entryRuleAssignment : ruleAssignment EOF ; | 1411 | // InternalCftLanguage.g:478:1: entryRuleAssignment : ruleAssignment EOF ; |
1101 | public final void entryRuleAssignment() throws RecognitionException { | 1412 | public final void entryRuleAssignment() throws RecognitionException { |
1102 | try { | 1413 | try { |
1103 | // InternalCftLanguage.g:379:1: ( ruleAssignment EOF ) | 1414 | // InternalCftLanguage.g:479:1: ( ruleAssignment EOF ) |
1104 | // InternalCftLanguage.g:380:1: ruleAssignment EOF | 1415 | // InternalCftLanguage.g:480:1: ruleAssignment EOF |
1105 | { | 1416 | { |
1106 | before(grammarAccess.getAssignmentRule()); | 1417 | before(grammarAccess.getAssignmentRule()); |
1107 | pushFollow(FOLLOW_1); | 1418 | pushFollow(FOLLOW_1); |
@@ -1127,21 +1438,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1127 | 1438 | ||
1128 | 1439 | ||
1129 | // $ANTLR start "ruleAssignment" | 1440 | // $ANTLR start "ruleAssignment" |
1130 | // InternalCftLanguage.g:387:1: ruleAssignment : ( ( rule__Assignment__Group__0 ) ) ; | 1441 | // InternalCftLanguage.g:487:1: ruleAssignment : ( ( rule__Assignment__Group__0 ) ) ; |
1131 | public final void ruleAssignment() throws RecognitionException { | 1442 | public final void ruleAssignment() throws RecognitionException { |
1132 | 1443 | ||
1133 | int stackSize = keepStackSize(); | 1444 | int stackSize = keepStackSize(); |
1134 | 1445 | ||
1135 | try { | 1446 | try { |
1136 | // InternalCftLanguage.g:391:2: ( ( ( rule__Assignment__Group__0 ) ) ) | 1447 | // InternalCftLanguage.g:491:2: ( ( ( rule__Assignment__Group__0 ) ) ) |
1137 | // InternalCftLanguage.g:392:2: ( ( rule__Assignment__Group__0 ) ) | 1448 | // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) ) |
1138 | { | 1449 | { |
1139 | // InternalCftLanguage.g:392:2: ( ( rule__Assignment__Group__0 ) ) | 1450 | // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) ) |
1140 | // InternalCftLanguage.g:393:3: ( rule__Assignment__Group__0 ) | 1451 | // InternalCftLanguage.g:493:3: ( rule__Assignment__Group__0 ) |
1141 | { | 1452 | { |
1142 | before(grammarAccess.getAssignmentAccess().getGroup()); | 1453 | before(grammarAccess.getAssignmentAccess().getGroup()); |
1143 | // InternalCftLanguage.g:394:3: ( rule__Assignment__Group__0 ) | 1454 | // InternalCftLanguage.g:494:3: ( rule__Assignment__Group__0 ) |
1144 | // InternalCftLanguage.g:394:4: rule__Assignment__Group__0 | 1455 | // InternalCftLanguage.g:494:4: rule__Assignment__Group__0 |
1145 | { | 1456 | { |
1146 | pushFollow(FOLLOW_2); | 1457 | pushFollow(FOLLOW_2); |
1147 | rule__Assignment__Group__0(); | 1458 | rule__Assignment__Group__0(); |
@@ -1174,11 +1485,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1174 | 1485 | ||
1175 | 1486 | ||
1176 | // $ANTLR start "entryRuleEventReference" | 1487 | // $ANTLR start "entryRuleEventReference" |
1177 | // InternalCftLanguage.g:403:1: entryRuleEventReference : ruleEventReference EOF ; | 1488 | // InternalCftLanguage.g:503:1: entryRuleEventReference : ruleEventReference EOF ; |
1178 | public final void entryRuleEventReference() throws RecognitionException { | 1489 | public final void entryRuleEventReference() throws RecognitionException { |
1179 | try { | 1490 | try { |
1180 | // InternalCftLanguage.g:404:1: ( ruleEventReference EOF ) | 1491 | // InternalCftLanguage.g:504:1: ( ruleEventReference EOF ) |
1181 | // InternalCftLanguage.g:405:1: ruleEventReference EOF | 1492 | // InternalCftLanguage.g:505:1: ruleEventReference EOF |
1182 | { | 1493 | { |
1183 | before(grammarAccess.getEventReferenceRule()); | 1494 | before(grammarAccess.getEventReferenceRule()); |
1184 | pushFollow(FOLLOW_1); | 1495 | pushFollow(FOLLOW_1); |
@@ -1204,21 +1515,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1204 | 1515 | ||
1205 | 1516 | ||
1206 | // $ANTLR start "ruleEventReference" | 1517 | // $ANTLR start "ruleEventReference" |
1207 | // InternalCftLanguage.g:412:1: ruleEventReference : ( ( rule__EventReference__Group__0 ) ) ; | 1518 | // InternalCftLanguage.g:512:1: ruleEventReference : ( ( rule__EventReference__Group__0 ) ) ; |
1208 | public final void ruleEventReference() throws RecognitionException { | 1519 | public final void ruleEventReference() throws RecognitionException { |
1209 | 1520 | ||
1210 | int stackSize = keepStackSize(); | 1521 | int stackSize = keepStackSize(); |
1211 | 1522 | ||
1212 | try { | 1523 | try { |
1213 | // InternalCftLanguage.g:416:2: ( ( ( rule__EventReference__Group__0 ) ) ) | 1524 | // InternalCftLanguage.g:516:2: ( ( ( rule__EventReference__Group__0 ) ) ) |
1214 | // InternalCftLanguage.g:417:2: ( ( rule__EventReference__Group__0 ) ) | 1525 | // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) ) |
1215 | { | 1526 | { |
1216 | // InternalCftLanguage.g:417:2: ( ( rule__EventReference__Group__0 ) ) | 1527 | // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) ) |
1217 | // InternalCftLanguage.g:418:3: ( rule__EventReference__Group__0 ) | 1528 | // InternalCftLanguage.g:518:3: ( rule__EventReference__Group__0 ) |
1218 | { | 1529 | { |
1219 | before(grammarAccess.getEventReferenceAccess().getGroup()); | 1530 | before(grammarAccess.getEventReferenceAccess().getGroup()); |
1220 | // InternalCftLanguage.g:419:3: ( rule__EventReference__Group__0 ) | 1531 | // InternalCftLanguage.g:519:3: ( rule__EventReference__Group__0 ) |
1221 | // InternalCftLanguage.g:419:4: rule__EventReference__Group__0 | 1532 | // InternalCftLanguage.g:519:4: rule__EventReference__Group__0 |
1222 | { | 1533 | { |
1223 | pushFollow(FOLLOW_2); | 1534 | pushFollow(FOLLOW_2); |
1224 | rule__EventReference__Group__0(); | 1535 | rule__EventReference__Group__0(); |
@@ -1251,11 +1562,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1251 | 1562 | ||
1252 | 1563 | ||
1253 | // $ANTLR start "entryRuleComponentInstance" | 1564 | // $ANTLR start "entryRuleComponentInstance" |
1254 | // InternalCftLanguage.g:428:1: entryRuleComponentInstance : ruleComponentInstance EOF ; | 1565 | // InternalCftLanguage.g:528:1: entryRuleComponentInstance : ruleComponentInstance EOF ; |
1255 | public final void entryRuleComponentInstance() throws RecognitionException { | 1566 | public final void entryRuleComponentInstance() throws RecognitionException { |
1256 | try { | 1567 | try { |
1257 | // InternalCftLanguage.g:429:1: ( ruleComponentInstance EOF ) | 1568 | // InternalCftLanguage.g:529:1: ( ruleComponentInstance EOF ) |
1258 | // InternalCftLanguage.g:430:1: ruleComponentInstance EOF | 1569 | // InternalCftLanguage.g:530:1: ruleComponentInstance EOF |
1259 | { | 1570 | { |
1260 | before(grammarAccess.getComponentInstanceRule()); | 1571 | before(grammarAccess.getComponentInstanceRule()); |
1261 | pushFollow(FOLLOW_1); | 1572 | pushFollow(FOLLOW_1); |
@@ -1281,21 +1592,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1281 | 1592 | ||
1282 | 1593 | ||
1283 | // $ANTLR start "ruleComponentInstance" | 1594 | // $ANTLR start "ruleComponentInstance" |
1284 | // InternalCftLanguage.g:437:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ; | 1595 | // InternalCftLanguage.g:537:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ; |
1285 | public final void ruleComponentInstance() throws RecognitionException { | 1596 | public final void ruleComponentInstance() throws RecognitionException { |
1286 | 1597 | ||
1287 | int stackSize = keepStackSize(); | 1598 | int stackSize = keepStackSize(); |
1288 | 1599 | ||
1289 | try { | 1600 | try { |
1290 | // InternalCftLanguage.g:441:2: ( ( ( rule__ComponentInstance__Group__0 ) ) ) | 1601 | // InternalCftLanguage.g:541:2: ( ( ( rule__ComponentInstance__Group__0 ) ) ) |
1291 | // InternalCftLanguage.g:442:2: ( ( rule__ComponentInstance__Group__0 ) ) | 1602 | // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) ) |
1292 | { | 1603 | { |
1293 | // InternalCftLanguage.g:442:2: ( ( rule__ComponentInstance__Group__0 ) ) | 1604 | // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) ) |
1294 | // InternalCftLanguage.g:443:3: ( rule__ComponentInstance__Group__0 ) | 1605 | // InternalCftLanguage.g:543:3: ( rule__ComponentInstance__Group__0 ) |
1295 | { | 1606 | { |
1296 | before(grammarAccess.getComponentInstanceAccess().getGroup()); | 1607 | before(grammarAccess.getComponentInstanceAccess().getGroup()); |
1297 | // InternalCftLanguage.g:444:3: ( rule__ComponentInstance__Group__0 ) | 1608 | // InternalCftLanguage.g:544:3: ( rule__ComponentInstance__Group__0 ) |
1298 | // InternalCftLanguage.g:444:4: rule__ComponentInstance__Group__0 | 1609 | // InternalCftLanguage.g:544:4: rule__ComponentInstance__Group__0 |
1299 | { | 1610 | { |
1300 | pushFollow(FOLLOW_2); | 1611 | pushFollow(FOLLOW_2); |
1301 | rule__ComponentInstance__Group__0(); | 1612 | rule__ComponentInstance__Group__0(); |
@@ -1328,11 +1639,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1328 | 1639 | ||
1329 | 1640 | ||
1330 | // $ANTLR start "entryRuleQualifiedName" | 1641 | // $ANTLR start "entryRuleQualifiedName" |
1331 | // InternalCftLanguage.g:453:1: entryRuleQualifiedName : ruleQualifiedName EOF ; | 1642 | // InternalCftLanguage.g:553:1: entryRuleQualifiedName : ruleQualifiedName EOF ; |
1332 | public final void entryRuleQualifiedName() throws RecognitionException { | 1643 | public final void entryRuleQualifiedName() throws RecognitionException { |
1333 | try { | 1644 | try { |
1334 | // InternalCftLanguage.g:454:1: ( ruleQualifiedName EOF ) | 1645 | // InternalCftLanguage.g:554:1: ( ruleQualifiedName EOF ) |
1335 | // InternalCftLanguage.g:455:1: ruleQualifiedName EOF | 1646 | // InternalCftLanguage.g:555:1: ruleQualifiedName EOF |
1336 | { | 1647 | { |
1337 | before(grammarAccess.getQualifiedNameRule()); | 1648 | before(grammarAccess.getQualifiedNameRule()); |
1338 | pushFollow(FOLLOW_1); | 1649 | pushFollow(FOLLOW_1); |
@@ -1358,21 +1669,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1358 | 1669 | ||
1359 | 1670 | ||
1360 | // $ANTLR start "ruleQualifiedName" | 1671 | // $ANTLR start "ruleQualifiedName" |
1361 | // InternalCftLanguage.g:462:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; | 1672 | // InternalCftLanguage.g:562:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; |
1362 | public final void ruleQualifiedName() throws RecognitionException { | 1673 | public final void ruleQualifiedName() throws RecognitionException { |
1363 | 1674 | ||
1364 | int stackSize = keepStackSize(); | 1675 | int stackSize = keepStackSize(); |
1365 | 1676 | ||
1366 | try { | 1677 | try { |
1367 | // InternalCftLanguage.g:466:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) | 1678 | // InternalCftLanguage.g:566:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) |
1368 | // InternalCftLanguage.g:467:2: ( ( rule__QualifiedName__Group__0 ) ) | 1679 | // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) ) |
1369 | { | 1680 | { |
1370 | // InternalCftLanguage.g:467:2: ( ( rule__QualifiedName__Group__0 ) ) | 1681 | // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) ) |
1371 | // InternalCftLanguage.g:468:3: ( rule__QualifiedName__Group__0 ) | 1682 | // InternalCftLanguage.g:568:3: ( rule__QualifiedName__Group__0 ) |
1372 | { | 1683 | { |
1373 | before(grammarAccess.getQualifiedNameAccess().getGroup()); | 1684 | before(grammarAccess.getQualifiedNameAccess().getGroup()); |
1374 | // InternalCftLanguage.g:469:3: ( rule__QualifiedName__Group__0 ) | 1685 | // InternalCftLanguage.g:569:3: ( rule__QualifiedName__Group__0 ) |
1375 | // InternalCftLanguage.g:469:4: rule__QualifiedName__Group__0 | 1686 | // InternalCftLanguage.g:569:4: rule__QualifiedName__Group__0 |
1376 | { | 1687 | { |
1377 | pushFollow(FOLLOW_2); | 1688 | pushFollow(FOLLOW_2); |
1378 | rule__QualifiedName__Group__0(); | 1689 | rule__QualifiedName__Group__0(); |
@@ -1405,11 +1716,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1405 | 1716 | ||
1406 | 1717 | ||
1407 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" | 1718 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" |
1408 | // InternalCftLanguage.g:478:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ; | 1719 | // InternalCftLanguage.g:578:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ; |
1409 | public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException { | 1720 | public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException { |
1410 | try { | 1721 | try { |
1411 | // InternalCftLanguage.g:479:1: ( ruleQualifiedNameWithWildcard EOF ) | 1722 | // InternalCftLanguage.g:579:1: ( ruleQualifiedNameWithWildcard EOF ) |
1412 | // InternalCftLanguage.g:480:1: ruleQualifiedNameWithWildcard EOF | 1723 | // InternalCftLanguage.g:580:1: ruleQualifiedNameWithWildcard EOF |
1413 | { | 1724 | { |
1414 | before(grammarAccess.getQualifiedNameWithWildcardRule()); | 1725 | before(grammarAccess.getQualifiedNameWithWildcardRule()); |
1415 | pushFollow(FOLLOW_1); | 1726 | pushFollow(FOLLOW_1); |
@@ -1435,21 +1746,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1435 | 1746 | ||
1436 | 1747 | ||
1437 | // $ANTLR start "ruleQualifiedNameWithWildcard" | 1748 | // $ANTLR start "ruleQualifiedNameWithWildcard" |
1438 | // InternalCftLanguage.g:487:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ; | 1749 | // InternalCftLanguage.g:587:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ; |
1439 | public final void ruleQualifiedNameWithWildcard() throws RecognitionException { | 1750 | public final void ruleQualifiedNameWithWildcard() throws RecognitionException { |
1440 | 1751 | ||
1441 | int stackSize = keepStackSize(); | 1752 | int stackSize = keepStackSize(); |
1442 | 1753 | ||
1443 | try { | 1754 | try { |
1444 | // InternalCftLanguage.g:491:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ) | 1755 | // InternalCftLanguage.g:591:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ) |
1445 | // InternalCftLanguage.g:492:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) | 1756 | // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) |
1446 | { | 1757 | { |
1447 | // InternalCftLanguage.g:492:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) | 1758 | // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) |
1448 | // InternalCftLanguage.g:493:3: ( rule__QualifiedNameWithWildcard__Group__0 ) | 1759 | // InternalCftLanguage.g:593:3: ( rule__QualifiedNameWithWildcard__Group__0 ) |
1449 | { | 1760 | { |
1450 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); | 1761 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); |
1451 | // InternalCftLanguage.g:494:3: ( rule__QualifiedNameWithWildcard__Group__0 ) | 1762 | // InternalCftLanguage.g:594:3: ( rule__QualifiedNameWithWildcard__Group__0 ) |
1452 | // InternalCftLanguage.g:494:4: rule__QualifiedNameWithWildcard__Group__0 | 1763 | // InternalCftLanguage.g:594:4: rule__QualifiedNameWithWildcard__Group__0 |
1453 | { | 1764 | { |
1454 | pushFollow(FOLLOW_2); | 1765 | pushFollow(FOLLOW_2); |
1455 | rule__QualifiedNameWithWildcard__Group__0(); | 1766 | rule__QualifiedNameWithWildcard__Group__0(); |
@@ -1481,21 +1792,175 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1481 | // $ANTLR end "ruleQualifiedNameWithWildcard" | 1792 | // $ANTLR end "ruleQualifiedNameWithWildcard" |
1482 | 1793 | ||
1483 | 1794 | ||
1795 | // $ANTLR start "entryRuleValidId" | ||
1796 | // InternalCftLanguage.g:603:1: entryRuleValidId : ruleValidId EOF ; | ||
1797 | public final void entryRuleValidId() throws RecognitionException { | ||
1798 | try { | ||
1799 | // InternalCftLanguage.g:604:1: ( ruleValidId EOF ) | ||
1800 | // InternalCftLanguage.g:605:1: ruleValidId EOF | ||
1801 | { | ||
1802 | before(grammarAccess.getValidIdRule()); | ||
1803 | pushFollow(FOLLOW_1); | ||
1804 | ruleValidId(); | ||
1805 | |||
1806 | state._fsp--; | ||
1807 | |||
1808 | after(grammarAccess.getValidIdRule()); | ||
1809 | match(input,EOF,FOLLOW_2); | ||
1810 | |||
1811 | } | ||
1812 | |||
1813 | } | ||
1814 | catch (RecognitionException re) { | ||
1815 | reportError(re); | ||
1816 | recover(input,re); | ||
1817 | } | ||
1818 | finally { | ||
1819 | } | ||
1820 | return ; | ||
1821 | } | ||
1822 | // $ANTLR end "entryRuleValidId" | ||
1823 | |||
1824 | |||
1825 | // $ANTLR start "ruleValidId" | ||
1826 | // InternalCftLanguage.g:612:1: ruleValidId : ( ( rule__ValidId__Alternatives ) ) ; | ||
1827 | public final void ruleValidId() throws RecognitionException { | ||
1828 | |||
1829 | int stackSize = keepStackSize(); | ||
1830 | |||
1831 | try { | ||
1832 | // InternalCftLanguage.g:616:2: ( ( ( rule__ValidId__Alternatives ) ) ) | ||
1833 | // InternalCftLanguage.g:617:2: ( ( rule__ValidId__Alternatives ) ) | ||
1834 | { | ||
1835 | // InternalCftLanguage.g:617:2: ( ( rule__ValidId__Alternatives ) ) | ||
1836 | // InternalCftLanguage.g:618:3: ( rule__ValidId__Alternatives ) | ||
1837 | { | ||
1838 | before(grammarAccess.getValidIdAccess().getAlternatives()); | ||
1839 | // InternalCftLanguage.g:619:3: ( rule__ValidId__Alternatives ) | ||
1840 | // InternalCftLanguage.g:619:4: rule__ValidId__Alternatives | ||
1841 | { | ||
1842 | pushFollow(FOLLOW_2); | ||
1843 | rule__ValidId__Alternatives(); | ||
1844 | |||
1845 | state._fsp--; | ||
1846 | |||
1847 | |||
1848 | } | ||
1849 | |||
1850 | after(grammarAccess.getValidIdAccess().getAlternatives()); | ||
1851 | |||
1852 | } | ||
1853 | |||
1854 | |||
1855 | } | ||
1856 | |||
1857 | } | ||
1858 | catch (RecognitionException re) { | ||
1859 | reportError(re); | ||
1860 | recover(input,re); | ||
1861 | } | ||
1862 | finally { | ||
1863 | |||
1864 | restoreStackSize(stackSize); | ||
1865 | |||
1866 | } | ||
1867 | return ; | ||
1868 | } | ||
1869 | // $ANTLR end "ruleValidId" | ||
1870 | |||
1871 | |||
1872 | // $ANTLR start "entryRuleDouble" | ||
1873 | // InternalCftLanguage.g:628:1: entryRuleDouble : ruleDouble EOF ; | ||
1874 | public final void entryRuleDouble() throws RecognitionException { | ||
1875 | try { | ||
1876 | // InternalCftLanguage.g:629:1: ( ruleDouble EOF ) | ||
1877 | // InternalCftLanguage.g:630:1: ruleDouble EOF | ||
1878 | { | ||
1879 | before(grammarAccess.getDoubleRule()); | ||
1880 | pushFollow(FOLLOW_1); | ||
1881 | ruleDouble(); | ||
1882 | |||
1883 | state._fsp--; | ||
1884 | |||
1885 | after(grammarAccess.getDoubleRule()); | ||
1886 | match(input,EOF,FOLLOW_2); | ||
1887 | |||
1888 | } | ||
1889 | |||
1890 | } | ||
1891 | catch (RecognitionException re) { | ||
1892 | reportError(re); | ||
1893 | recover(input,re); | ||
1894 | } | ||
1895 | finally { | ||
1896 | } | ||
1897 | return ; | ||
1898 | } | ||
1899 | // $ANTLR end "entryRuleDouble" | ||
1900 | |||
1901 | |||
1902 | // $ANTLR start "ruleDouble" | ||
1903 | // InternalCftLanguage.g:637:1: ruleDouble : ( ( rule__Double__Alternatives ) ) ; | ||
1904 | public final void ruleDouble() throws RecognitionException { | ||
1905 | |||
1906 | int stackSize = keepStackSize(); | ||
1907 | |||
1908 | try { | ||
1909 | // InternalCftLanguage.g:641:2: ( ( ( rule__Double__Alternatives ) ) ) | ||
1910 | // InternalCftLanguage.g:642:2: ( ( rule__Double__Alternatives ) ) | ||
1911 | { | ||
1912 | // InternalCftLanguage.g:642:2: ( ( rule__Double__Alternatives ) ) | ||
1913 | // InternalCftLanguage.g:643:3: ( rule__Double__Alternatives ) | ||
1914 | { | ||
1915 | before(grammarAccess.getDoubleAccess().getAlternatives()); | ||
1916 | // InternalCftLanguage.g:644:3: ( rule__Double__Alternatives ) | ||
1917 | // InternalCftLanguage.g:644:4: rule__Double__Alternatives | ||
1918 | { | ||
1919 | pushFollow(FOLLOW_2); | ||
1920 | rule__Double__Alternatives(); | ||
1921 | |||
1922 | state._fsp--; | ||
1923 | |||
1924 | |||
1925 | } | ||
1926 | |||
1927 | after(grammarAccess.getDoubleAccess().getAlternatives()); | ||
1928 | |||
1929 | } | ||
1930 | |||
1931 | |||
1932 | } | ||
1933 | |||
1934 | } | ||
1935 | catch (RecognitionException re) { | ||
1936 | reportError(re); | ||
1937 | recover(input,re); | ||
1938 | } | ||
1939 | finally { | ||
1940 | |||
1941 | restoreStackSize(stackSize); | ||
1942 | |||
1943 | } | ||
1944 | return ; | ||
1945 | } | ||
1946 | // $ANTLR end "ruleDouble" | ||
1947 | |||
1948 | |||
1484 | // $ANTLR start "rule__CftModel__Alternatives_4" | 1949 | // $ANTLR start "rule__CftModel__Alternatives_4" |
1485 | // InternalCftLanguage.g:502:1: rule__CftModel__Alternatives_4 : ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ); | 1950 | // InternalCftLanguage.g:652:1: rule__CftModel__Alternatives_4 : ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ); |
1486 | public final void rule__CftModel__Alternatives_4() throws RecognitionException { | 1951 | public final void rule__CftModel__Alternatives_4() throws RecognitionException { |
1487 | 1952 | ||
1488 | int stackSize = keepStackSize(); | 1953 | int stackSize = keepStackSize(); |
1489 | 1954 | ||
1490 | try { | 1955 | try { |
1491 | // InternalCftLanguage.g:506:1: ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ) | 1956 | // InternalCftLanguage.g:656:1: ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ) |
1492 | int alt1=2; | 1957 | int alt1=2; |
1493 | int LA1_0 = input.LA(1); | 1958 | int LA1_0 = input.LA(1); |
1494 | 1959 | ||
1495 | if ( (LA1_0==16) ) { | 1960 | if ( (LA1_0==17) ) { |
1496 | alt1=1; | 1961 | alt1=1; |
1497 | } | 1962 | } |
1498 | else if ( (LA1_0==25) ) { | 1963 | else if ( (LA1_0==28) ) { |
1499 | alt1=2; | 1964 | alt1=2; |
1500 | } | 1965 | } |
1501 | else { | 1966 | else { |
@@ -1506,14 +1971,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1506 | } | 1971 | } |
1507 | switch (alt1) { | 1972 | switch (alt1) { |
1508 | case 1 : | 1973 | case 1 : |
1509 | // InternalCftLanguage.g:507:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | 1974 | // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) |
1510 | { | 1975 | { |
1511 | // InternalCftLanguage.g:507:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | 1976 | // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) |
1512 | // InternalCftLanguage.g:508:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) | 1977 | // InternalCftLanguage.g:658:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) |
1513 | { | 1978 | { |
1514 | before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); | 1979 | before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); |
1515 | // InternalCftLanguage.g:509:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) | 1980 | // InternalCftLanguage.g:659:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) |
1516 | // InternalCftLanguage.g:509:4: rule__CftModel__ComponentDefinitionsAssignment_4_0 | 1981 | // InternalCftLanguage.g:659:4: rule__CftModel__ComponentDefinitionsAssignment_4_0 |
1517 | { | 1982 | { |
1518 | pushFollow(FOLLOW_2); | 1983 | pushFollow(FOLLOW_2); |
1519 | rule__CftModel__ComponentDefinitionsAssignment_4_0(); | 1984 | rule__CftModel__ComponentDefinitionsAssignment_4_0(); |
@@ -1531,14 +1996,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1531 | } | 1996 | } |
1532 | break; | 1997 | break; |
1533 | case 2 : | 1998 | case 2 : |
1534 | // InternalCftLanguage.g:513:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) | 1999 | // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) |
1535 | { | 2000 | { |
1536 | // InternalCftLanguage.g:513:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) | 2001 | // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) |
1537 | // InternalCftLanguage.g:514:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) | 2002 | // InternalCftLanguage.g:664:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) |
1538 | { | 2003 | { |
1539 | before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); | 2004 | before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); |
1540 | // InternalCftLanguage.g:515:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) | 2005 | // InternalCftLanguage.g:665:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) |
1541 | // InternalCftLanguage.g:515:4: rule__CftModel__TransformationDefinitionsAssignment_4_1 | 2006 | // InternalCftLanguage.g:665:4: rule__CftModel__TransformationDefinitionsAssignment_4_1 |
1542 | { | 2007 | { |
1543 | pushFollow(FOLLOW_2); | 2008 | pushFollow(FOLLOW_2); |
1544 | rule__CftModel__TransformationDefinitionsAssignment_4_1(); | 2009 | rule__CftModel__TransformationDefinitionsAssignment_4_1(); |
@@ -1573,28 +2038,44 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1573 | 2038 | ||
1574 | 2039 | ||
1575 | // $ANTLR start "rule__EventDefinition__Alternatives" | 2040 | // $ANTLR start "rule__EventDefinition__Alternatives" |
1576 | // InternalCftLanguage.g:523:1: rule__EventDefinition__Alternatives : ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ); | 2041 | // InternalCftLanguage.g:673:1: rule__EventDefinition__Alternatives : ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ); |
1577 | public final void rule__EventDefinition__Alternatives() throws RecognitionException { | 2042 | public final void rule__EventDefinition__Alternatives() throws RecognitionException { |
1578 | 2043 | ||
1579 | int stackSize = keepStackSize(); | 2044 | int stackSize = keepStackSize(); |
1580 | 2045 | ||
1581 | try { | 2046 | try { |
1582 | // InternalCftLanguage.g:527:1: ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ) | 2047 | // InternalCftLanguage.g:677:1: ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ) |
1583 | int alt2=2; | 2048 | int alt2=2; |
1584 | int LA2_0 = input.LA(1); | 2049 | int LA2_0 = input.LA(1); |
1585 | 2050 | ||
1586 | if ( (LA2_0==RULE_ID) ) { | 2051 | if ( (LA2_0==RULE_ID) ) { |
1587 | int LA2_1 = input.LA(2); | 2052 | int LA2_1 = input.LA(2); |
1588 | 2053 | ||
1589 | if ( (LA2_1==21) ) { | 2054 | if ( (LA2_1==RULE_INT||(LA2_1>=25 && LA2_1<=26)) ) { |
2055 | alt2=2; | ||
2056 | } | ||
2057 | else if ( (LA2_1==22||LA2_1==24) ) { | ||
1590 | alt2=1; | 2058 | alt2=1; |
1591 | } | 2059 | } |
1592 | else if ( ((LA2_1>=23 && LA2_1<=24)) ) { | 2060 | else { |
2061 | NoViableAltException nvae = | ||
2062 | new NoViableAltException("", 2, 1, input); | ||
2063 | |||
2064 | throw nvae; | ||
2065 | } | ||
2066 | } | ||
2067 | else if ( (LA2_0==RULE_OF_INT) ) { | ||
2068 | int LA2_2 = input.LA(2); | ||
2069 | |||
2070 | if ( (LA2_2==22||LA2_2==24) ) { | ||
2071 | alt2=1; | ||
2072 | } | ||
2073 | else if ( (LA2_2==RULE_INT||(LA2_2>=25 && LA2_2<=26)) ) { | ||
1593 | alt2=2; | 2074 | alt2=2; |
1594 | } | 2075 | } |
1595 | else { | 2076 | else { |
1596 | NoViableAltException nvae = | 2077 | NoViableAltException nvae = |
1597 | new NoViableAltException("", 2, 1, input); | 2078 | new NoViableAltException("", 2, 2, input); |
1598 | 2079 | ||
1599 | throw nvae; | 2080 | throw nvae; |
1600 | } | 2081 | } |
@@ -1607,10 +2088,10 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1607 | } | 2088 | } |
1608 | switch (alt2) { | 2089 | switch (alt2) { |
1609 | case 1 : | 2090 | case 1 : |
1610 | // InternalCftLanguage.g:528:2: ( ruleBasicEventDefinition ) | 2091 | // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition ) |
1611 | { | 2092 | { |
1612 | // InternalCftLanguage.g:528:2: ( ruleBasicEventDefinition ) | 2093 | // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition ) |
1613 | // InternalCftLanguage.g:529:3: ruleBasicEventDefinition | 2094 | // InternalCftLanguage.g:679:3: ruleBasicEventDefinition |
1614 | { | 2095 | { |
1615 | before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); | 2096 | before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); |
1616 | pushFollow(FOLLOW_2); | 2097 | pushFollow(FOLLOW_2); |
@@ -1626,10 +2107,10 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1626 | } | 2107 | } |
1627 | break; | 2108 | break; |
1628 | case 2 : | 2109 | case 2 : |
1629 | // InternalCftLanguage.g:534:2: ( ruleGateDefinition ) | 2110 | // InternalCftLanguage.g:684:2: ( ruleGateDefinition ) |
1630 | { | 2111 | { |
1631 | // InternalCftLanguage.g:534:2: ( ruleGateDefinition ) | 2112 | // InternalCftLanguage.g:684:2: ( ruleGateDefinition ) |
1632 | // InternalCftLanguage.g:535:3: ruleGateDefinition | 2113 | // InternalCftLanguage.g:685:3: ruleGateDefinition |
1633 | { | 2114 | { |
1634 | before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); | 2115 | before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); |
1635 | pushFollow(FOLLOW_2); | 2116 | pushFollow(FOLLOW_2); |
@@ -1661,53 +2142,166 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1661 | // $ANTLR end "rule__EventDefinition__Alternatives" | 2142 | // $ANTLR end "rule__EventDefinition__Alternatives" |
1662 | 2143 | ||
1663 | 2144 | ||
1664 | // $ANTLR start "rule__GateDefinition__Alternatives" | 2145 | // $ANTLR start "rule__Distribution__Alternatives" |
1665 | // InternalCftLanguage.g:544:1: rule__GateDefinition__Alternatives : ( ( ruleAndGate ) | ( ruleOrGate ) ); | 2146 | // InternalCftLanguage.g:694:1: rule__Distribution__Alternatives : ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) ); |
1666 | public final void rule__GateDefinition__Alternatives() throws RecognitionException { | 2147 | public final void rule__Distribution__Alternatives() throws RecognitionException { |
1667 | 2148 | ||
1668 | int stackSize = keepStackSize(); | 2149 | int stackSize = keepStackSize(); |
1669 | 2150 | ||
1670 | try { | 2151 | try { |
1671 | // InternalCftLanguage.g:548:1: ( ( ruleAndGate ) | ( ruleOrGate ) ) | 2152 | // InternalCftLanguage.g:698:1: ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) ) |
1672 | int alt3=2; | 2153 | int alt3=2; |
1673 | int LA3_0 = input.LA(1); | 2154 | int LA3_0 = input.LA(1); |
1674 | 2155 | ||
1675 | if ( (LA3_0==RULE_ID) ) { | 2156 | if ( (LA3_0==22) ) { |
1676 | int LA3_1 = input.LA(2); | 2157 | alt3=1; |
2158 | } | ||
2159 | else if ( (LA3_0==24) ) { | ||
2160 | alt3=2; | ||
2161 | } | ||
2162 | else { | ||
2163 | NoViableAltException nvae = | ||
2164 | new NoViableAltException("", 3, 0, input); | ||
2165 | |||
2166 | throw nvae; | ||
2167 | } | ||
2168 | switch (alt3) { | ||
2169 | case 1 : | ||
2170 | // InternalCftLanguage.g:699:2: ( ruleConstantDistribution ) | ||
2171 | { | ||
2172 | // InternalCftLanguage.g:699:2: ( ruleConstantDistribution ) | ||
2173 | // InternalCftLanguage.g:700:3: ruleConstantDistribution | ||
2174 | { | ||
2175 | before(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); | ||
2176 | pushFollow(FOLLOW_2); | ||
2177 | ruleConstantDistribution(); | ||
2178 | |||
2179 | state._fsp--; | ||
1677 | 2180 | ||
1678 | if ( (LA3_1==23) ) { | 2181 | after(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); |
1679 | alt3=1; | 2182 | |
1680 | } | 2183 | } |
1681 | else if ( (LA3_1==24) ) { | 2184 | |
1682 | alt3=2; | 2185 | |
2186 | } | ||
2187 | break; | ||
2188 | case 2 : | ||
2189 | // InternalCftLanguage.g:705:2: ( ruleExponentialDistribution ) | ||
2190 | { | ||
2191 | // InternalCftLanguage.g:705:2: ( ruleExponentialDistribution ) | ||
2192 | // InternalCftLanguage.g:706:3: ruleExponentialDistribution | ||
2193 | { | ||
2194 | before(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); | ||
2195 | pushFollow(FOLLOW_2); | ||
2196 | ruleExponentialDistribution(); | ||
2197 | |||
2198 | state._fsp--; | ||
2199 | |||
2200 | after(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); | ||
2201 | |||
2202 | } | ||
2203 | |||
2204 | |||
2205 | } | ||
2206 | break; | ||
2207 | |||
2208 | } | ||
2209 | } | ||
2210 | catch (RecognitionException re) { | ||
2211 | reportError(re); | ||
2212 | recover(input,re); | ||
2213 | } | ||
2214 | finally { | ||
2215 | |||
2216 | restoreStackSize(stackSize); | ||
2217 | |||
2218 | } | ||
2219 | return ; | ||
2220 | } | ||
2221 | // $ANTLR end "rule__Distribution__Alternatives" | ||
2222 | |||
2223 | |||
2224 | // $ANTLR start "rule__GateDefinition__Alternatives" | ||
2225 | // InternalCftLanguage.g:715:1: rule__GateDefinition__Alternatives : ( ( ruleAndGateDefinition ) | ( ruleOrGateDefinition ) | ( ruleKOfMGateDefinition ) ); | ||
2226 | public final void rule__GateDefinition__Alternatives() throws RecognitionException { | ||
2227 | |||
2228 | int stackSize = keepStackSize(); | ||
2229 | |||
2230 | try { | ||
2231 | // InternalCftLanguage.g:719:1: ( ( ruleAndGateDefinition ) | ( ruleOrGateDefinition ) | ( ruleKOfMGateDefinition ) ) | ||
2232 | int alt4=3; | ||
2233 | int LA4_0 = input.LA(1); | ||
2234 | |||
2235 | if ( (LA4_0==RULE_ID) ) { | ||
2236 | switch ( input.LA(2) ) { | ||
2237 | case 26: | ||
2238 | { | ||
2239 | alt4=2; | ||
2240 | } | ||
2241 | break; | ||
2242 | case RULE_INT: | ||
2243 | { | ||
2244 | alt4=3; | ||
2245 | } | ||
2246 | break; | ||
2247 | case 25: | ||
2248 | { | ||
2249 | alt4=1; | ||
2250 | } | ||
2251 | break; | ||
2252 | default: | ||
2253 | NoViableAltException nvae = | ||
2254 | new NoViableAltException("", 4, 1, input); | ||
2255 | |||
2256 | throw nvae; | ||
1683 | } | 2257 | } |
1684 | else { | 2258 | |
2259 | } | ||
2260 | else if ( (LA4_0==RULE_OF_INT) ) { | ||
2261 | switch ( input.LA(2) ) { | ||
2262 | case RULE_INT: | ||
2263 | { | ||
2264 | alt4=3; | ||
2265 | } | ||
2266 | break; | ||
2267 | case 25: | ||
2268 | { | ||
2269 | alt4=1; | ||
2270 | } | ||
2271 | break; | ||
2272 | case 26: | ||
2273 | { | ||
2274 | alt4=2; | ||
2275 | } | ||
2276 | break; | ||
2277 | default: | ||
1685 | NoViableAltException nvae = | 2278 | NoViableAltException nvae = |
1686 | new NoViableAltException("", 3, 1, input); | 2279 | new NoViableAltException("", 4, 2, input); |
1687 | 2280 | ||
1688 | throw nvae; | 2281 | throw nvae; |
1689 | } | 2282 | } |
2283 | |||
1690 | } | 2284 | } |
1691 | else { | 2285 | else { |
1692 | NoViableAltException nvae = | 2286 | NoViableAltException nvae = |
1693 | new NoViableAltException("", 3, 0, input); | 2287 | new NoViableAltException("", 4, 0, input); |
1694 | 2288 | ||
1695 | throw nvae; | 2289 | throw nvae; |
1696 | } | 2290 | } |
1697 | switch (alt3) { | 2291 | switch (alt4) { |
1698 | case 1 : | 2292 | case 1 : |
1699 | // InternalCftLanguage.g:549:2: ( ruleAndGate ) | 2293 | // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition ) |
1700 | { | 2294 | { |
1701 | // InternalCftLanguage.g:549:2: ( ruleAndGate ) | 2295 | // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition ) |
1702 | // InternalCftLanguage.g:550:3: ruleAndGate | 2296 | // InternalCftLanguage.g:721:3: ruleAndGateDefinition |
1703 | { | 2297 | { |
1704 | before(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); | 2298 | before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); |
1705 | pushFollow(FOLLOW_2); | 2299 | pushFollow(FOLLOW_2); |
1706 | ruleAndGate(); | 2300 | ruleAndGateDefinition(); |
1707 | 2301 | ||
1708 | state._fsp--; | 2302 | state._fsp--; |
1709 | 2303 | ||
1710 | after(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); | 2304 | after(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); |
1711 | 2305 | ||
1712 | } | 2306 | } |
1713 | 2307 | ||
@@ -1715,18 +2309,37 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1715 | } | 2309 | } |
1716 | break; | 2310 | break; |
1717 | case 2 : | 2311 | case 2 : |
1718 | // InternalCftLanguage.g:555:2: ( ruleOrGate ) | 2312 | // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition ) |
1719 | { | 2313 | { |
1720 | // InternalCftLanguage.g:555:2: ( ruleOrGate ) | 2314 | // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition ) |
1721 | // InternalCftLanguage.g:556:3: ruleOrGate | 2315 | // InternalCftLanguage.g:727:3: ruleOrGateDefinition |
1722 | { | 2316 | { |
1723 | before(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); | 2317 | before(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); |
1724 | pushFollow(FOLLOW_2); | 2318 | pushFollow(FOLLOW_2); |
1725 | ruleOrGate(); | 2319 | ruleOrGateDefinition(); |
1726 | 2320 | ||
1727 | state._fsp--; | 2321 | state._fsp--; |
1728 | 2322 | ||
1729 | after(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); | 2323 | after(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); |
2324 | |||
2325 | } | ||
2326 | |||
2327 | |||
2328 | } | ||
2329 | break; | ||
2330 | case 3 : | ||
2331 | // InternalCftLanguage.g:732:2: ( ruleKOfMGateDefinition ) | ||
2332 | { | ||
2333 | // InternalCftLanguage.g:732:2: ( ruleKOfMGateDefinition ) | ||
2334 | // InternalCftLanguage.g:733:3: ruleKOfMGateDefinition | ||
2335 | { | ||
2336 | before(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); | ||
2337 | pushFollow(FOLLOW_2); | ||
2338 | ruleKOfMGateDefinition(); | ||
2339 | |||
2340 | state._fsp--; | ||
2341 | |||
2342 | after(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); | ||
1730 | 2343 | ||
1731 | } | 2344 | } |
1732 | 2345 | ||
@@ -1750,39 +2363,130 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1750 | // $ANTLR end "rule__GateDefinition__Alternatives" | 2363 | // $ANTLR end "rule__GateDefinition__Alternatives" |
1751 | 2364 | ||
1752 | 2365 | ||
2366 | // $ANTLR start "rule__KOfMGateDefinition__Alternatives_2" | ||
2367 | // InternalCftLanguage.g:742:1: rule__KOfMGateDefinition__Alternatives_2 : ( ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) ); | ||
2368 | public final void rule__KOfMGateDefinition__Alternatives_2() throws RecognitionException { | ||
2369 | |||
2370 | int stackSize = keepStackSize(); | ||
2371 | |||
2372 | try { | ||
2373 | // InternalCftLanguage.g:746:1: ( ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) ) | ||
2374 | int alt5=2; | ||
2375 | int LA5_0 = input.LA(1); | ||
2376 | |||
2377 | if ( (LA5_0==27) ) { | ||
2378 | alt5=1; | ||
2379 | } | ||
2380 | else if ( (LA5_0==RULE_OF_INT) ) { | ||
2381 | alt5=2; | ||
2382 | } | ||
2383 | else { | ||
2384 | NoViableAltException nvae = | ||
2385 | new NoViableAltException("", 5, 0, input); | ||
2386 | |||
2387 | throw nvae; | ||
2388 | } | ||
2389 | switch (alt5) { | ||
2390 | case 1 : | ||
2391 | // InternalCftLanguage.g:747:2: ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ||
2392 | { | ||
2393 | // InternalCftLanguage.g:747:2: ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ||
2394 | // InternalCftLanguage.g:748:3: ( rule__KOfMGateDefinition__Group_2_0__0 ) | ||
2395 | { | ||
2396 | before(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); | ||
2397 | // InternalCftLanguage.g:749:3: ( rule__KOfMGateDefinition__Group_2_0__0 ) | ||
2398 | // InternalCftLanguage.g:749:4: rule__KOfMGateDefinition__Group_2_0__0 | ||
2399 | { | ||
2400 | pushFollow(FOLLOW_2); | ||
2401 | rule__KOfMGateDefinition__Group_2_0__0(); | ||
2402 | |||
2403 | state._fsp--; | ||
2404 | |||
2405 | |||
2406 | } | ||
2407 | |||
2408 | after(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); | ||
2409 | |||
2410 | } | ||
2411 | |||
2412 | |||
2413 | } | ||
2414 | break; | ||
2415 | case 2 : | ||
2416 | // InternalCftLanguage.g:753:2: ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) | ||
2417 | { | ||
2418 | // InternalCftLanguage.g:753:2: ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) | ||
2419 | // InternalCftLanguage.g:754:3: ( rule__KOfMGateDefinition__MAssignment_2_1 ) | ||
2420 | { | ||
2421 | before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); | ||
2422 | // InternalCftLanguage.g:755:3: ( rule__KOfMGateDefinition__MAssignment_2_1 ) | ||
2423 | // InternalCftLanguage.g:755:4: rule__KOfMGateDefinition__MAssignment_2_1 | ||
2424 | { | ||
2425 | pushFollow(FOLLOW_2); | ||
2426 | rule__KOfMGateDefinition__MAssignment_2_1(); | ||
2427 | |||
2428 | state._fsp--; | ||
2429 | |||
2430 | |||
2431 | } | ||
2432 | |||
2433 | after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); | ||
2434 | |||
2435 | } | ||
2436 | |||
2437 | |||
2438 | } | ||
2439 | break; | ||
2440 | |||
2441 | } | ||
2442 | } | ||
2443 | catch (RecognitionException re) { | ||
2444 | reportError(re); | ||
2445 | recover(input,re); | ||
2446 | } | ||
2447 | finally { | ||
2448 | |||
2449 | restoreStackSize(stackSize); | ||
2450 | |||
2451 | } | ||
2452 | return ; | ||
2453 | } | ||
2454 | // $ANTLR end "rule__KOfMGateDefinition__Alternatives_2" | ||
2455 | |||
2456 | |||
1753 | // $ANTLR start "rule__MappingDefinition__Alternatives_8_1_0" | 2457 | // $ANTLR start "rule__MappingDefinition__Alternatives_8_1_0" |
1754 | // InternalCftLanguage.g:565:1: rule__MappingDefinition__Alternatives_8_1_0 : ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ); | 2458 | // InternalCftLanguage.g:763:1: rule__MappingDefinition__Alternatives_8_1_0 : ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ); |
1755 | public final void rule__MappingDefinition__Alternatives_8_1_0() throws RecognitionException { | 2459 | public final void rule__MappingDefinition__Alternatives_8_1_0() throws RecognitionException { |
1756 | 2460 | ||
1757 | int stackSize = keepStackSize(); | 2461 | int stackSize = keepStackSize(); |
1758 | 2462 | ||
1759 | try { | 2463 | try { |
1760 | // InternalCftLanguage.g:569:1: ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ) | 2464 | // InternalCftLanguage.g:767:1: ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ) |
1761 | int alt4=2; | 2465 | int alt6=2; |
1762 | int LA4_0 = input.LA(1); | 2466 | int LA6_0 = input.LA(1); |
1763 | 2467 | ||
1764 | if ( (LA4_0==30) ) { | 2468 | if ( (LA6_0==33) ) { |
1765 | alt4=1; | 2469 | alt6=1; |
1766 | } | 2470 | } |
1767 | else if ( (LA4_0==RULE_ID) ) { | 2471 | else if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_OF_INT)) ) { |
1768 | alt4=2; | 2472 | alt6=2; |
1769 | } | 2473 | } |
1770 | else { | 2474 | else { |
1771 | NoViableAltException nvae = | 2475 | NoViableAltException nvae = |
1772 | new NoViableAltException("", 4, 0, input); | 2476 | new NoViableAltException("", 6, 0, input); |
1773 | 2477 | ||
1774 | throw nvae; | 2478 | throw nvae; |
1775 | } | 2479 | } |
1776 | switch (alt4) { | 2480 | switch (alt6) { |
1777 | case 1 : | 2481 | case 1 : |
1778 | // InternalCftLanguage.g:570:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | 2482 | // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) |
1779 | { | 2483 | { |
1780 | // InternalCftLanguage.g:570:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | 2484 | // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) |
1781 | // InternalCftLanguage.g:571:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) | 2485 | // InternalCftLanguage.g:769:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) |
1782 | { | 2486 | { |
1783 | before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); | 2487 | before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); |
1784 | // InternalCftLanguage.g:572:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) | 2488 | // InternalCftLanguage.g:770:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) |
1785 | // InternalCftLanguage.g:572:4: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 | 2489 | // InternalCftLanguage.g:770:4: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 |
1786 | { | 2490 | { |
1787 | pushFollow(FOLLOW_2); | 2491 | pushFollow(FOLLOW_2); |
1788 | rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0(); | 2492 | rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0(); |
@@ -1800,14 +2504,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1800 | } | 2504 | } |
1801 | break; | 2505 | break; |
1802 | case 2 : | 2506 | case 2 : |
1803 | // InternalCftLanguage.g:576:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) | 2507 | // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) |
1804 | { | 2508 | { |
1805 | // InternalCftLanguage.g:576:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) | 2509 | // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) |
1806 | // InternalCftLanguage.g:577:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) | 2510 | // InternalCftLanguage.g:775:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) |
1807 | { | 2511 | { |
1808 | before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); | 2512 | before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); |
1809 | // InternalCftLanguage.g:578:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) | 2513 | // InternalCftLanguage.g:776:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) |
1810 | // InternalCftLanguage.g:578:4: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 | 2514 | // InternalCftLanguage.g:776:4: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 |
1811 | { | 2515 | { |
1812 | pushFollow(FOLLOW_2); | 2516 | pushFollow(FOLLOW_2); |
1813 | rule__MappingDefinition__AssignmentsAssignment_8_1_0_1(); | 2517 | rule__MappingDefinition__AssignmentsAssignment_8_1_0_1(); |
@@ -1842,38 +2546,38 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1842 | 2546 | ||
1843 | 2547 | ||
1844 | // $ANTLR start "rule__Assignment__Alternatives_1" | 2548 | // $ANTLR start "rule__Assignment__Alternatives_1" |
1845 | // InternalCftLanguage.g:586:1: rule__Assignment__Alternatives_1 : ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ); | 2549 | // InternalCftLanguage.g:784:1: rule__Assignment__Alternatives_1 : ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ); |
1846 | public final void rule__Assignment__Alternatives_1() throws RecognitionException { | 2550 | public final void rule__Assignment__Alternatives_1() throws RecognitionException { |
1847 | 2551 | ||
1848 | int stackSize = keepStackSize(); | 2552 | int stackSize = keepStackSize(); |
1849 | 2553 | ||
1850 | try { | 2554 | try { |
1851 | // InternalCftLanguage.g:590:1: ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ) | 2555 | // InternalCftLanguage.g:788:1: ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ) |
1852 | int alt5=2; | 2556 | int alt7=2; |
1853 | int LA5_0 = input.LA(1); | 2557 | int LA7_0 = input.LA(1); |
1854 | 2558 | ||
1855 | if ( (LA5_0==37) ) { | 2559 | if ( (LA7_0==40) ) { |
1856 | alt5=1; | 2560 | alt7=1; |
1857 | } | 2561 | } |
1858 | else if ( (LA5_0==12) ) { | 2562 | else if ( (LA7_0==13) ) { |
1859 | alt5=2; | 2563 | alt7=2; |
1860 | } | 2564 | } |
1861 | else { | 2565 | else { |
1862 | NoViableAltException nvae = | 2566 | NoViableAltException nvae = |
1863 | new NoViableAltException("", 5, 0, input); | 2567 | new NoViableAltException("", 7, 0, input); |
1864 | 2568 | ||
1865 | throw nvae; | 2569 | throw nvae; |
1866 | } | 2570 | } |
1867 | switch (alt5) { | 2571 | switch (alt7) { |
1868 | case 1 : | 2572 | case 1 : |
1869 | // InternalCftLanguage.g:591:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | 2573 | // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) |
1870 | { | 2574 | { |
1871 | // InternalCftLanguage.g:591:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | 2575 | // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) |
1872 | // InternalCftLanguage.g:592:3: ( rule__Assignment__MultipleAssignment_1_0 ) | 2576 | // InternalCftLanguage.g:790:3: ( rule__Assignment__MultipleAssignment_1_0 ) |
1873 | { | 2577 | { |
1874 | before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); | 2578 | before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); |
1875 | // InternalCftLanguage.g:593:3: ( rule__Assignment__MultipleAssignment_1_0 ) | 2579 | // InternalCftLanguage.g:791:3: ( rule__Assignment__MultipleAssignment_1_0 ) |
1876 | // InternalCftLanguage.g:593:4: rule__Assignment__MultipleAssignment_1_0 | 2580 | // InternalCftLanguage.g:791:4: rule__Assignment__MultipleAssignment_1_0 |
1877 | { | 2581 | { |
1878 | pushFollow(FOLLOW_2); | 2582 | pushFollow(FOLLOW_2); |
1879 | rule__Assignment__MultipleAssignment_1_0(); | 2583 | rule__Assignment__MultipleAssignment_1_0(); |
@@ -1891,13 +2595,13 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1891 | } | 2595 | } |
1892 | break; | 2596 | break; |
1893 | case 2 : | 2597 | case 2 : |
1894 | // InternalCftLanguage.g:597:2: ( ':=' ) | 2598 | // InternalCftLanguage.g:795:2: ( ':=' ) |
1895 | { | 2599 | { |
1896 | // InternalCftLanguage.g:597:2: ( ':=' ) | 2600 | // InternalCftLanguage.g:795:2: ( ':=' ) |
1897 | // InternalCftLanguage.g:598:3: ':=' | 2601 | // InternalCftLanguage.g:796:3: ':=' |
1898 | { | 2602 | { |
1899 | before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); | 2603 | before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); |
1900 | match(input,12,FOLLOW_2); | 2604 | match(input,13,FOLLOW_2); |
1901 | after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); | 2605 | after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); |
1902 | 2606 | ||
1903 | } | 2607 | } |
@@ -1922,15 +2626,157 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1922 | // $ANTLR end "rule__Assignment__Alternatives_1" | 2626 | // $ANTLR end "rule__Assignment__Alternatives_1" |
1923 | 2627 | ||
1924 | 2628 | ||
2629 | // $ANTLR start "rule__ValidId__Alternatives" | ||
2630 | // InternalCftLanguage.g:805:1: rule__ValidId__Alternatives : ( ( RULE_ID ) | ( RULE_OF_INT ) ); | ||
2631 | public final void rule__ValidId__Alternatives() throws RecognitionException { | ||
2632 | |||
2633 | int stackSize = keepStackSize(); | ||
2634 | |||
2635 | try { | ||
2636 | // InternalCftLanguage.g:809:1: ( ( RULE_ID ) | ( RULE_OF_INT ) ) | ||
2637 | int alt8=2; | ||
2638 | int LA8_0 = input.LA(1); | ||
2639 | |||
2640 | if ( (LA8_0==RULE_ID) ) { | ||
2641 | alt8=1; | ||
2642 | } | ||
2643 | else if ( (LA8_0==RULE_OF_INT) ) { | ||
2644 | alt8=2; | ||
2645 | } | ||
2646 | else { | ||
2647 | NoViableAltException nvae = | ||
2648 | new NoViableAltException("", 8, 0, input); | ||
2649 | |||
2650 | throw nvae; | ||
2651 | } | ||
2652 | switch (alt8) { | ||
2653 | case 1 : | ||
2654 | // InternalCftLanguage.g:810:2: ( RULE_ID ) | ||
2655 | { | ||
2656 | // InternalCftLanguage.g:810:2: ( RULE_ID ) | ||
2657 | // InternalCftLanguage.g:811:3: RULE_ID | ||
2658 | { | ||
2659 | before(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); | ||
2660 | match(input,RULE_ID,FOLLOW_2); | ||
2661 | after(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); | ||
2662 | |||
2663 | } | ||
2664 | |||
2665 | |||
2666 | } | ||
2667 | break; | ||
2668 | case 2 : | ||
2669 | // InternalCftLanguage.g:816:2: ( RULE_OF_INT ) | ||
2670 | { | ||
2671 | // InternalCftLanguage.g:816:2: ( RULE_OF_INT ) | ||
2672 | // InternalCftLanguage.g:817:3: RULE_OF_INT | ||
2673 | { | ||
2674 | before(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); | ||
2675 | match(input,RULE_OF_INT,FOLLOW_2); | ||
2676 | after(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); | ||
2677 | |||
2678 | } | ||
2679 | |||
2680 | |||
2681 | } | ||
2682 | break; | ||
2683 | |||
2684 | } | ||
2685 | } | ||
2686 | catch (RecognitionException re) { | ||
2687 | reportError(re); | ||
2688 | recover(input,re); | ||
2689 | } | ||
2690 | finally { | ||
2691 | |||
2692 | restoreStackSize(stackSize); | ||
2693 | |||
2694 | } | ||
2695 | return ; | ||
2696 | } | ||
2697 | // $ANTLR end "rule__ValidId__Alternatives" | ||
2698 | |||
2699 | |||
2700 | // $ANTLR start "rule__Double__Alternatives" | ||
2701 | // InternalCftLanguage.g:826:1: rule__Double__Alternatives : ( ( RULE_INT ) | ( RULE_T_DOUBLE ) ); | ||
2702 | public final void rule__Double__Alternatives() throws RecognitionException { | ||
2703 | |||
2704 | int stackSize = keepStackSize(); | ||
2705 | |||
2706 | try { | ||
2707 | // InternalCftLanguage.g:830:1: ( ( RULE_INT ) | ( RULE_T_DOUBLE ) ) | ||
2708 | int alt9=2; | ||
2709 | int LA9_0 = input.LA(1); | ||
2710 | |||
2711 | if ( (LA9_0==RULE_INT) ) { | ||
2712 | alt9=1; | ||
2713 | } | ||
2714 | else if ( (LA9_0==RULE_T_DOUBLE) ) { | ||
2715 | alt9=2; | ||
2716 | } | ||
2717 | else { | ||
2718 | NoViableAltException nvae = | ||
2719 | new NoViableAltException("", 9, 0, input); | ||
2720 | |||
2721 | throw nvae; | ||
2722 | } | ||
2723 | switch (alt9) { | ||
2724 | case 1 : | ||
2725 | // InternalCftLanguage.g:831:2: ( RULE_INT ) | ||
2726 | { | ||
2727 | // InternalCftLanguage.g:831:2: ( RULE_INT ) | ||
2728 | // InternalCftLanguage.g:832:3: RULE_INT | ||
2729 | { | ||
2730 | before(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); | ||
2731 | match(input,RULE_INT,FOLLOW_2); | ||
2732 | after(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); | ||
2733 | |||
2734 | } | ||
2735 | |||
2736 | |||
2737 | } | ||
2738 | break; | ||
2739 | case 2 : | ||
2740 | // InternalCftLanguage.g:837:2: ( RULE_T_DOUBLE ) | ||
2741 | { | ||
2742 | // InternalCftLanguage.g:837:2: ( RULE_T_DOUBLE ) | ||
2743 | // InternalCftLanguage.g:838:3: RULE_T_DOUBLE | ||
2744 | { | ||
2745 | before(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); | ||
2746 | match(input,RULE_T_DOUBLE,FOLLOW_2); | ||
2747 | after(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); | ||
2748 | |||
2749 | } | ||
2750 | |||
2751 | |||
2752 | } | ||
2753 | break; | ||
2754 | |||
2755 | } | ||
2756 | } | ||
2757 | catch (RecognitionException re) { | ||
2758 | reportError(re); | ||
2759 | recover(input,re); | ||
2760 | } | ||
2761 | finally { | ||
2762 | |||
2763 | restoreStackSize(stackSize); | ||
2764 | |||
2765 | } | ||
2766 | return ; | ||
2767 | } | ||
2768 | // $ANTLR end "rule__Double__Alternatives" | ||
2769 | |||
2770 | |||
1925 | // $ANTLR start "rule__CftModel__Group__0" | 2771 | // $ANTLR start "rule__CftModel__Group__0" |
1926 | // InternalCftLanguage.g:607:1: rule__CftModel__Group__0 : rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ; | 2772 | // InternalCftLanguage.g:847:1: rule__CftModel__Group__0 : rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ; |
1927 | public final void rule__CftModel__Group__0() throws RecognitionException { | 2773 | public final void rule__CftModel__Group__0() throws RecognitionException { |
1928 | 2774 | ||
1929 | int stackSize = keepStackSize(); | 2775 | int stackSize = keepStackSize(); |
1930 | 2776 | ||
1931 | try { | 2777 | try { |
1932 | // InternalCftLanguage.g:611:1: ( rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ) | 2778 | // InternalCftLanguage.g:851:1: ( rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ) |
1933 | // InternalCftLanguage.g:612:2: rule__CftModel__Group__0__Impl rule__CftModel__Group__1 | 2779 | // InternalCftLanguage.g:852:2: rule__CftModel__Group__0__Impl rule__CftModel__Group__1 |
1934 | { | 2780 | { |
1935 | pushFollow(FOLLOW_3); | 2781 | pushFollow(FOLLOW_3); |
1936 | rule__CftModel__Group__0__Impl(); | 2782 | rule__CftModel__Group__0__Impl(); |
@@ -1961,20 +2807,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1961 | 2807 | ||
1962 | 2808 | ||
1963 | // $ANTLR start "rule__CftModel__Group__0__Impl" | 2809 | // $ANTLR start "rule__CftModel__Group__0__Impl" |
1964 | // InternalCftLanguage.g:619:1: rule__CftModel__Group__0__Impl : ( 'package' ) ; | 2810 | // InternalCftLanguage.g:859:1: rule__CftModel__Group__0__Impl : ( 'package' ) ; |
1965 | public final void rule__CftModel__Group__0__Impl() throws RecognitionException { | 2811 | public final void rule__CftModel__Group__0__Impl() throws RecognitionException { |
1966 | 2812 | ||
1967 | int stackSize = keepStackSize(); | 2813 | int stackSize = keepStackSize(); |
1968 | 2814 | ||
1969 | try { | 2815 | try { |
1970 | // InternalCftLanguage.g:623:1: ( ( 'package' ) ) | 2816 | // InternalCftLanguage.g:863:1: ( ( 'package' ) ) |
1971 | // InternalCftLanguage.g:624:1: ( 'package' ) | 2817 | // InternalCftLanguage.g:864:1: ( 'package' ) |
1972 | { | 2818 | { |
1973 | // InternalCftLanguage.g:624:1: ( 'package' ) | 2819 | // InternalCftLanguage.g:864:1: ( 'package' ) |
1974 | // InternalCftLanguage.g:625:2: 'package' | 2820 | // InternalCftLanguage.g:865:2: 'package' |
1975 | { | 2821 | { |
1976 | before(grammarAccess.getCftModelAccess().getPackageKeyword_0()); | 2822 | before(grammarAccess.getCftModelAccess().getPackageKeyword_0()); |
1977 | match(input,13,FOLLOW_2); | 2823 | match(input,14,FOLLOW_2); |
1978 | after(grammarAccess.getCftModelAccess().getPackageKeyword_0()); | 2824 | after(grammarAccess.getCftModelAccess().getPackageKeyword_0()); |
1979 | 2825 | ||
1980 | } | 2826 | } |
@@ -1998,14 +2844,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
1998 | 2844 | ||
1999 | 2845 | ||
2000 | // $ANTLR start "rule__CftModel__Group__1" | 2846 | // $ANTLR start "rule__CftModel__Group__1" |
2001 | // InternalCftLanguage.g:634:1: rule__CftModel__Group__1 : rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ; | 2847 | // InternalCftLanguage.g:874:1: rule__CftModel__Group__1 : rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ; |
2002 | public final void rule__CftModel__Group__1() throws RecognitionException { | 2848 | public final void rule__CftModel__Group__1() throws RecognitionException { |
2003 | 2849 | ||
2004 | int stackSize = keepStackSize(); | 2850 | int stackSize = keepStackSize(); |
2005 | 2851 | ||
2006 | try { | 2852 | try { |
2007 | // InternalCftLanguage.g:638:1: ( rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ) | 2853 | // InternalCftLanguage.g:878:1: ( rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ) |
2008 | // InternalCftLanguage.g:639:2: rule__CftModel__Group__1__Impl rule__CftModel__Group__2 | 2854 | // InternalCftLanguage.g:879:2: rule__CftModel__Group__1__Impl rule__CftModel__Group__2 |
2009 | { | 2855 | { |
2010 | pushFollow(FOLLOW_4); | 2856 | pushFollow(FOLLOW_4); |
2011 | rule__CftModel__Group__1__Impl(); | 2857 | rule__CftModel__Group__1__Impl(); |
@@ -2036,21 +2882,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2036 | 2882 | ||
2037 | 2883 | ||
2038 | // $ANTLR start "rule__CftModel__Group__1__Impl" | 2884 | // $ANTLR start "rule__CftModel__Group__1__Impl" |
2039 | // InternalCftLanguage.g:646:1: rule__CftModel__Group__1__Impl : ( ( rule__CftModel__PackageNameAssignment_1 ) ) ; | 2885 | // InternalCftLanguage.g:886:1: rule__CftModel__Group__1__Impl : ( ( rule__CftModel__PackageNameAssignment_1 ) ) ; |
2040 | public final void rule__CftModel__Group__1__Impl() throws RecognitionException { | 2886 | public final void rule__CftModel__Group__1__Impl() throws RecognitionException { |
2041 | 2887 | ||
2042 | int stackSize = keepStackSize(); | 2888 | int stackSize = keepStackSize(); |
2043 | 2889 | ||
2044 | try { | 2890 | try { |
2045 | // InternalCftLanguage.g:650:1: ( ( ( rule__CftModel__PackageNameAssignment_1 ) ) ) | 2891 | // InternalCftLanguage.g:890:1: ( ( ( rule__CftModel__PackageNameAssignment_1 ) ) ) |
2046 | // InternalCftLanguage.g:651:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) | 2892 | // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) |
2047 | { | 2893 | { |
2048 | // InternalCftLanguage.g:651:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) | 2894 | // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) |
2049 | // InternalCftLanguage.g:652:2: ( rule__CftModel__PackageNameAssignment_1 ) | 2895 | // InternalCftLanguage.g:892:2: ( rule__CftModel__PackageNameAssignment_1 ) |
2050 | { | 2896 | { |
2051 | before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); | 2897 | before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); |
2052 | // InternalCftLanguage.g:653:2: ( rule__CftModel__PackageNameAssignment_1 ) | 2898 | // InternalCftLanguage.g:893:2: ( rule__CftModel__PackageNameAssignment_1 ) |
2053 | // InternalCftLanguage.g:653:3: rule__CftModel__PackageNameAssignment_1 | 2899 | // InternalCftLanguage.g:893:3: rule__CftModel__PackageNameAssignment_1 |
2054 | { | 2900 | { |
2055 | pushFollow(FOLLOW_2); | 2901 | pushFollow(FOLLOW_2); |
2056 | rule__CftModel__PackageNameAssignment_1(); | 2902 | rule__CftModel__PackageNameAssignment_1(); |
@@ -2083,14 +2929,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2083 | 2929 | ||
2084 | 2930 | ||
2085 | // $ANTLR start "rule__CftModel__Group__2" | 2931 | // $ANTLR start "rule__CftModel__Group__2" |
2086 | // InternalCftLanguage.g:661:1: rule__CftModel__Group__2 : rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ; | 2932 | // InternalCftLanguage.g:901:1: rule__CftModel__Group__2 : rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ; |
2087 | public final void rule__CftModel__Group__2() throws RecognitionException { | 2933 | public final void rule__CftModel__Group__2() throws RecognitionException { |
2088 | 2934 | ||
2089 | int stackSize = keepStackSize(); | 2935 | int stackSize = keepStackSize(); |
2090 | 2936 | ||
2091 | try { | 2937 | try { |
2092 | // InternalCftLanguage.g:665:1: ( rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ) | 2938 | // InternalCftLanguage.g:905:1: ( rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ) |
2093 | // InternalCftLanguage.g:666:2: rule__CftModel__Group__2__Impl rule__CftModel__Group__3 | 2939 | // InternalCftLanguage.g:906:2: rule__CftModel__Group__2__Impl rule__CftModel__Group__3 |
2094 | { | 2940 | { |
2095 | pushFollow(FOLLOW_4); | 2941 | pushFollow(FOLLOW_4); |
2096 | rule__CftModel__Group__2__Impl(); | 2942 | rule__CftModel__Group__2__Impl(); |
@@ -2121,31 +2967,31 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2121 | 2967 | ||
2122 | 2968 | ||
2123 | // $ANTLR start "rule__CftModel__Group__2__Impl" | 2969 | // $ANTLR start "rule__CftModel__Group__2__Impl" |
2124 | // InternalCftLanguage.g:673:1: rule__CftModel__Group__2__Impl : ( ( ';' )? ) ; | 2970 | // InternalCftLanguage.g:913:1: rule__CftModel__Group__2__Impl : ( ( ';' )? ) ; |
2125 | public final void rule__CftModel__Group__2__Impl() throws RecognitionException { | 2971 | public final void rule__CftModel__Group__2__Impl() throws RecognitionException { |
2126 | 2972 | ||
2127 | int stackSize = keepStackSize(); | 2973 | int stackSize = keepStackSize(); |
2128 | 2974 | ||
2129 | try { | 2975 | try { |
2130 | // InternalCftLanguage.g:677:1: ( ( ( ';' )? ) ) | 2976 | // InternalCftLanguage.g:917:1: ( ( ( ';' )? ) ) |
2131 | // InternalCftLanguage.g:678:1: ( ( ';' )? ) | 2977 | // InternalCftLanguage.g:918:1: ( ( ';' )? ) |
2132 | { | 2978 | { |
2133 | // InternalCftLanguage.g:678:1: ( ( ';' )? ) | 2979 | // InternalCftLanguage.g:918:1: ( ( ';' )? ) |
2134 | // InternalCftLanguage.g:679:2: ( ';' )? | 2980 | // InternalCftLanguage.g:919:2: ( ';' )? |
2135 | { | 2981 | { |
2136 | before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); | 2982 | before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); |
2137 | // InternalCftLanguage.g:680:2: ( ';' )? | 2983 | // InternalCftLanguage.g:920:2: ( ';' )? |
2138 | int alt6=2; | 2984 | int alt10=2; |
2139 | int LA6_0 = input.LA(1); | 2985 | int LA10_0 = input.LA(1); |
2140 | 2986 | ||
2141 | if ( (LA6_0==14) ) { | 2987 | if ( (LA10_0==15) ) { |
2142 | alt6=1; | 2988 | alt10=1; |
2143 | } | 2989 | } |
2144 | switch (alt6) { | 2990 | switch (alt10) { |
2145 | case 1 : | 2991 | case 1 : |
2146 | // InternalCftLanguage.g:680:3: ';' | 2992 | // InternalCftLanguage.g:920:3: ';' |
2147 | { | 2993 | { |
2148 | match(input,14,FOLLOW_2); | 2994 | match(input,15,FOLLOW_2); |
2149 | 2995 | ||
2150 | } | 2996 | } |
2151 | break; | 2997 | break; |
@@ -2175,14 +3021,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2175 | 3021 | ||
2176 | 3022 | ||
2177 | // $ANTLR start "rule__CftModel__Group__3" | 3023 | // $ANTLR start "rule__CftModel__Group__3" |
2178 | // InternalCftLanguage.g:688:1: rule__CftModel__Group__3 : rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ; | 3024 | // InternalCftLanguage.g:928:1: rule__CftModel__Group__3 : rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ; |
2179 | public final void rule__CftModel__Group__3() throws RecognitionException { | 3025 | public final void rule__CftModel__Group__3() throws RecognitionException { |
2180 | 3026 | ||
2181 | int stackSize = keepStackSize(); | 3027 | int stackSize = keepStackSize(); |
2182 | 3028 | ||
2183 | try { | 3029 | try { |
2184 | // InternalCftLanguage.g:692:1: ( rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ) | 3030 | // InternalCftLanguage.g:932:1: ( rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ) |
2185 | // InternalCftLanguage.g:693:2: rule__CftModel__Group__3__Impl rule__CftModel__Group__4 | 3031 | // InternalCftLanguage.g:933:2: rule__CftModel__Group__3__Impl rule__CftModel__Group__4 |
2186 | { | 3032 | { |
2187 | pushFollow(FOLLOW_4); | 3033 | pushFollow(FOLLOW_4); |
2188 | rule__CftModel__Group__3__Impl(); | 3034 | rule__CftModel__Group__3__Impl(); |
@@ -2213,33 +3059,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2213 | 3059 | ||
2214 | 3060 | ||
2215 | // $ANTLR start "rule__CftModel__Group__3__Impl" | 3061 | // $ANTLR start "rule__CftModel__Group__3__Impl" |
2216 | // InternalCftLanguage.g:700:1: rule__CftModel__Group__3__Impl : ( ( rule__CftModel__ImportsAssignment_3 )* ) ; | 3062 | // InternalCftLanguage.g:940:1: rule__CftModel__Group__3__Impl : ( ( rule__CftModel__ImportsAssignment_3 )* ) ; |
2217 | public final void rule__CftModel__Group__3__Impl() throws RecognitionException { | 3063 | public final void rule__CftModel__Group__3__Impl() throws RecognitionException { |
2218 | 3064 | ||
2219 | int stackSize = keepStackSize(); | 3065 | int stackSize = keepStackSize(); |
2220 | 3066 | ||
2221 | try { | 3067 | try { |
2222 | // InternalCftLanguage.g:704:1: ( ( ( rule__CftModel__ImportsAssignment_3 )* ) ) | 3068 | // InternalCftLanguage.g:944:1: ( ( ( rule__CftModel__ImportsAssignment_3 )* ) ) |
2223 | // InternalCftLanguage.g:705:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) | 3069 | // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) |
2224 | { | 3070 | { |
2225 | // InternalCftLanguage.g:705:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) | 3071 | // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) |
2226 | // InternalCftLanguage.g:706:2: ( rule__CftModel__ImportsAssignment_3 )* | 3072 | // InternalCftLanguage.g:946:2: ( rule__CftModel__ImportsAssignment_3 )* |
2227 | { | 3073 | { |
2228 | before(grammarAccess.getCftModelAccess().getImportsAssignment_3()); | 3074 | before(grammarAccess.getCftModelAccess().getImportsAssignment_3()); |
2229 | // InternalCftLanguage.g:707:2: ( rule__CftModel__ImportsAssignment_3 )* | 3075 | // InternalCftLanguage.g:947:2: ( rule__CftModel__ImportsAssignment_3 )* |
2230 | loop7: | 3076 | loop11: |
2231 | do { | 3077 | do { |
2232 | int alt7=2; | 3078 | int alt11=2; |
2233 | int LA7_0 = input.LA(1); | 3079 | int LA11_0 = input.LA(1); |
2234 | 3080 | ||
2235 | if ( (LA7_0==15) ) { | 3081 | if ( (LA11_0==16) ) { |
2236 | alt7=1; | 3082 | alt11=1; |
2237 | } | 3083 | } |
2238 | 3084 | ||
2239 | 3085 | ||
2240 | switch (alt7) { | 3086 | switch (alt11) { |
2241 | case 1 : | 3087 | case 1 : |
2242 | // InternalCftLanguage.g:707:3: rule__CftModel__ImportsAssignment_3 | 3088 | // InternalCftLanguage.g:947:3: rule__CftModel__ImportsAssignment_3 |
2243 | { | 3089 | { |
2244 | pushFollow(FOLLOW_5); | 3090 | pushFollow(FOLLOW_5); |
2245 | rule__CftModel__ImportsAssignment_3(); | 3091 | rule__CftModel__ImportsAssignment_3(); |
@@ -2251,7 +3097,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2251 | break; | 3097 | break; |
2252 | 3098 | ||
2253 | default : | 3099 | default : |
2254 | break loop7; | 3100 | break loop11; |
2255 | } | 3101 | } |
2256 | } while (true); | 3102 | } while (true); |
2257 | 3103 | ||
@@ -2278,14 +3124,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2278 | 3124 | ||
2279 | 3125 | ||
2280 | // $ANTLR start "rule__CftModel__Group__4" | 3126 | // $ANTLR start "rule__CftModel__Group__4" |
2281 | // InternalCftLanguage.g:715:1: rule__CftModel__Group__4 : rule__CftModel__Group__4__Impl ; | 3127 | // InternalCftLanguage.g:955:1: rule__CftModel__Group__4 : rule__CftModel__Group__4__Impl ; |
2282 | public final void rule__CftModel__Group__4() throws RecognitionException { | 3128 | public final void rule__CftModel__Group__4() throws RecognitionException { |
2283 | 3129 | ||
2284 | int stackSize = keepStackSize(); | 3130 | int stackSize = keepStackSize(); |
2285 | 3131 | ||
2286 | try { | 3132 | try { |
2287 | // InternalCftLanguage.g:719:1: ( rule__CftModel__Group__4__Impl ) | 3133 | // InternalCftLanguage.g:959:1: ( rule__CftModel__Group__4__Impl ) |
2288 | // InternalCftLanguage.g:720:2: rule__CftModel__Group__4__Impl | 3134 | // InternalCftLanguage.g:960:2: rule__CftModel__Group__4__Impl |
2289 | { | 3135 | { |
2290 | pushFollow(FOLLOW_2); | 3136 | pushFollow(FOLLOW_2); |
2291 | rule__CftModel__Group__4__Impl(); | 3137 | rule__CftModel__Group__4__Impl(); |
@@ -2311,33 +3157,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2311 | 3157 | ||
2312 | 3158 | ||
2313 | // $ANTLR start "rule__CftModel__Group__4__Impl" | 3159 | // $ANTLR start "rule__CftModel__Group__4__Impl" |
2314 | // InternalCftLanguage.g:726:1: rule__CftModel__Group__4__Impl : ( ( rule__CftModel__Alternatives_4 )* ) ; | 3160 | // InternalCftLanguage.g:966:1: rule__CftModel__Group__4__Impl : ( ( rule__CftModel__Alternatives_4 )* ) ; |
2315 | public final void rule__CftModel__Group__4__Impl() throws RecognitionException { | 3161 | public final void rule__CftModel__Group__4__Impl() throws RecognitionException { |
2316 | 3162 | ||
2317 | int stackSize = keepStackSize(); | 3163 | int stackSize = keepStackSize(); |
2318 | 3164 | ||
2319 | try { | 3165 | try { |
2320 | // InternalCftLanguage.g:730:1: ( ( ( rule__CftModel__Alternatives_4 )* ) ) | 3166 | // InternalCftLanguage.g:970:1: ( ( ( rule__CftModel__Alternatives_4 )* ) ) |
2321 | // InternalCftLanguage.g:731:1: ( ( rule__CftModel__Alternatives_4 )* ) | 3167 | // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* ) |
2322 | { | 3168 | { |
2323 | // InternalCftLanguage.g:731:1: ( ( rule__CftModel__Alternatives_4 )* ) | 3169 | // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* ) |
2324 | // InternalCftLanguage.g:732:2: ( rule__CftModel__Alternatives_4 )* | 3170 | // InternalCftLanguage.g:972:2: ( rule__CftModel__Alternatives_4 )* |
2325 | { | 3171 | { |
2326 | before(grammarAccess.getCftModelAccess().getAlternatives_4()); | 3172 | before(grammarAccess.getCftModelAccess().getAlternatives_4()); |
2327 | // InternalCftLanguage.g:733:2: ( rule__CftModel__Alternatives_4 )* | 3173 | // InternalCftLanguage.g:973:2: ( rule__CftModel__Alternatives_4 )* |
2328 | loop8: | 3174 | loop12: |
2329 | do { | 3175 | do { |
2330 | int alt8=2; | 3176 | int alt12=2; |
2331 | int LA8_0 = input.LA(1); | 3177 | int LA12_0 = input.LA(1); |
2332 | 3178 | ||
2333 | if ( (LA8_0==16||LA8_0==25) ) { | 3179 | if ( (LA12_0==17||LA12_0==28) ) { |
2334 | alt8=1; | 3180 | alt12=1; |
2335 | } | 3181 | } |
2336 | 3182 | ||
2337 | 3183 | ||
2338 | switch (alt8) { | 3184 | switch (alt12) { |
2339 | case 1 : | 3185 | case 1 : |
2340 | // InternalCftLanguage.g:733:3: rule__CftModel__Alternatives_4 | 3186 | // InternalCftLanguage.g:973:3: rule__CftModel__Alternatives_4 |
2341 | { | 3187 | { |
2342 | pushFollow(FOLLOW_6); | 3188 | pushFollow(FOLLOW_6); |
2343 | rule__CftModel__Alternatives_4(); | 3189 | rule__CftModel__Alternatives_4(); |
@@ -2349,7 +3195,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2349 | break; | 3195 | break; |
2350 | 3196 | ||
2351 | default : | 3197 | default : |
2352 | break loop8; | 3198 | break loop12; |
2353 | } | 3199 | } |
2354 | } while (true); | 3200 | } while (true); |
2355 | 3201 | ||
@@ -2376,14 +3222,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2376 | 3222 | ||
2377 | 3223 | ||
2378 | // $ANTLR start "rule__ImportDeclaration__Group__0" | 3224 | // $ANTLR start "rule__ImportDeclaration__Group__0" |
2379 | // InternalCftLanguage.g:742:1: rule__ImportDeclaration__Group__0 : rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ; | 3225 | // InternalCftLanguage.g:982:1: rule__ImportDeclaration__Group__0 : rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ; |
2380 | public final void rule__ImportDeclaration__Group__0() throws RecognitionException { | 3226 | public final void rule__ImportDeclaration__Group__0() throws RecognitionException { |
2381 | 3227 | ||
2382 | int stackSize = keepStackSize(); | 3228 | int stackSize = keepStackSize(); |
2383 | 3229 | ||
2384 | try { | 3230 | try { |
2385 | // InternalCftLanguage.g:746:1: ( rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ) | 3231 | // InternalCftLanguage.g:986:1: ( rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ) |
2386 | // InternalCftLanguage.g:747:2: rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 | 3232 | // InternalCftLanguage.g:987:2: rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 |
2387 | { | 3233 | { |
2388 | pushFollow(FOLLOW_3); | 3234 | pushFollow(FOLLOW_3); |
2389 | rule__ImportDeclaration__Group__0__Impl(); | 3235 | rule__ImportDeclaration__Group__0__Impl(); |
@@ -2414,20 +3260,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2414 | 3260 | ||
2415 | 3261 | ||
2416 | // $ANTLR start "rule__ImportDeclaration__Group__0__Impl" | 3262 | // $ANTLR start "rule__ImportDeclaration__Group__0__Impl" |
2417 | // InternalCftLanguage.g:754:1: rule__ImportDeclaration__Group__0__Impl : ( 'import' ) ; | 3263 | // InternalCftLanguage.g:994:1: rule__ImportDeclaration__Group__0__Impl : ( 'import' ) ; |
2418 | public final void rule__ImportDeclaration__Group__0__Impl() throws RecognitionException { | 3264 | public final void rule__ImportDeclaration__Group__0__Impl() throws RecognitionException { |
2419 | 3265 | ||
2420 | int stackSize = keepStackSize(); | 3266 | int stackSize = keepStackSize(); |
2421 | 3267 | ||
2422 | try { | 3268 | try { |
2423 | // InternalCftLanguage.g:758:1: ( ( 'import' ) ) | 3269 | // InternalCftLanguage.g:998:1: ( ( 'import' ) ) |
2424 | // InternalCftLanguage.g:759:1: ( 'import' ) | 3270 | // InternalCftLanguage.g:999:1: ( 'import' ) |
2425 | { | 3271 | { |
2426 | // InternalCftLanguage.g:759:1: ( 'import' ) | 3272 | // InternalCftLanguage.g:999:1: ( 'import' ) |
2427 | // InternalCftLanguage.g:760:2: 'import' | 3273 | // InternalCftLanguage.g:1000:2: 'import' |
2428 | { | 3274 | { |
2429 | before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); | 3275 | before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); |
2430 | match(input,15,FOLLOW_2); | 3276 | match(input,16,FOLLOW_2); |
2431 | after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); | 3277 | after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); |
2432 | 3278 | ||
2433 | } | 3279 | } |
@@ -2451,14 +3297,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2451 | 3297 | ||
2452 | 3298 | ||
2453 | // $ANTLR start "rule__ImportDeclaration__Group__1" | 3299 | // $ANTLR start "rule__ImportDeclaration__Group__1" |
2454 | // InternalCftLanguage.g:769:1: rule__ImportDeclaration__Group__1 : rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ; | 3300 | // InternalCftLanguage.g:1009:1: rule__ImportDeclaration__Group__1 : rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ; |
2455 | public final void rule__ImportDeclaration__Group__1() throws RecognitionException { | 3301 | public final void rule__ImportDeclaration__Group__1() throws RecognitionException { |
2456 | 3302 | ||
2457 | int stackSize = keepStackSize(); | 3303 | int stackSize = keepStackSize(); |
2458 | 3304 | ||
2459 | try { | 3305 | try { |
2460 | // InternalCftLanguage.g:773:1: ( rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ) | 3306 | // InternalCftLanguage.g:1013:1: ( rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ) |
2461 | // InternalCftLanguage.g:774:2: rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 | 3307 | // InternalCftLanguage.g:1014:2: rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 |
2462 | { | 3308 | { |
2463 | pushFollow(FOLLOW_7); | 3309 | pushFollow(FOLLOW_7); |
2464 | rule__ImportDeclaration__Group__1__Impl(); | 3310 | rule__ImportDeclaration__Group__1__Impl(); |
@@ -2489,21 +3335,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2489 | 3335 | ||
2490 | 3336 | ||
2491 | // $ANTLR start "rule__ImportDeclaration__Group__1__Impl" | 3337 | // $ANTLR start "rule__ImportDeclaration__Group__1__Impl" |
2492 | // InternalCftLanguage.g:781:1: rule__ImportDeclaration__Group__1__Impl : ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ; | 3338 | // InternalCftLanguage.g:1021:1: rule__ImportDeclaration__Group__1__Impl : ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ; |
2493 | public final void rule__ImportDeclaration__Group__1__Impl() throws RecognitionException { | 3339 | public final void rule__ImportDeclaration__Group__1__Impl() throws RecognitionException { |
2494 | 3340 | ||
2495 | int stackSize = keepStackSize(); | 3341 | int stackSize = keepStackSize(); |
2496 | 3342 | ||
2497 | try { | 3343 | try { |
2498 | // InternalCftLanguage.g:785:1: ( ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ) | 3344 | // InternalCftLanguage.g:1025:1: ( ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ) |
2499 | // InternalCftLanguage.g:786:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) | 3345 | // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) |
2500 | { | 3346 | { |
2501 | // InternalCftLanguage.g:786:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) | 3347 | // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) |
2502 | // InternalCftLanguage.g:787:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) | 3348 | // InternalCftLanguage.g:1027:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) |
2503 | { | 3349 | { |
2504 | before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); | 3350 | before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); |
2505 | // InternalCftLanguage.g:788:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) | 3351 | // InternalCftLanguage.g:1028:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) |
2506 | // InternalCftLanguage.g:788:3: rule__ImportDeclaration__ImportedNamespaceAssignment_1 | 3352 | // InternalCftLanguage.g:1028:3: rule__ImportDeclaration__ImportedNamespaceAssignment_1 |
2507 | { | 3353 | { |
2508 | pushFollow(FOLLOW_2); | 3354 | pushFollow(FOLLOW_2); |
2509 | rule__ImportDeclaration__ImportedNamespaceAssignment_1(); | 3355 | rule__ImportDeclaration__ImportedNamespaceAssignment_1(); |
@@ -2536,14 +3382,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2536 | 3382 | ||
2537 | 3383 | ||
2538 | // $ANTLR start "rule__ImportDeclaration__Group__2" | 3384 | // $ANTLR start "rule__ImportDeclaration__Group__2" |
2539 | // InternalCftLanguage.g:796:1: rule__ImportDeclaration__Group__2 : rule__ImportDeclaration__Group__2__Impl ; | 3385 | // InternalCftLanguage.g:1036:1: rule__ImportDeclaration__Group__2 : rule__ImportDeclaration__Group__2__Impl ; |
2540 | public final void rule__ImportDeclaration__Group__2() throws RecognitionException { | 3386 | public final void rule__ImportDeclaration__Group__2() throws RecognitionException { |
2541 | 3387 | ||
2542 | int stackSize = keepStackSize(); | 3388 | int stackSize = keepStackSize(); |
2543 | 3389 | ||
2544 | try { | 3390 | try { |
2545 | // InternalCftLanguage.g:800:1: ( rule__ImportDeclaration__Group__2__Impl ) | 3391 | // InternalCftLanguage.g:1040:1: ( rule__ImportDeclaration__Group__2__Impl ) |
2546 | // InternalCftLanguage.g:801:2: rule__ImportDeclaration__Group__2__Impl | 3392 | // InternalCftLanguage.g:1041:2: rule__ImportDeclaration__Group__2__Impl |
2547 | { | 3393 | { |
2548 | pushFollow(FOLLOW_2); | 3394 | pushFollow(FOLLOW_2); |
2549 | rule__ImportDeclaration__Group__2__Impl(); | 3395 | rule__ImportDeclaration__Group__2__Impl(); |
@@ -2569,31 +3415,31 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2569 | 3415 | ||
2570 | 3416 | ||
2571 | // $ANTLR start "rule__ImportDeclaration__Group__2__Impl" | 3417 | // $ANTLR start "rule__ImportDeclaration__Group__2__Impl" |
2572 | // InternalCftLanguage.g:807:1: rule__ImportDeclaration__Group__2__Impl : ( ( ';' )? ) ; | 3418 | // InternalCftLanguage.g:1047:1: rule__ImportDeclaration__Group__2__Impl : ( ( ';' )? ) ; |
2573 | public final void rule__ImportDeclaration__Group__2__Impl() throws RecognitionException { | 3419 | public final void rule__ImportDeclaration__Group__2__Impl() throws RecognitionException { |
2574 | 3420 | ||
2575 | int stackSize = keepStackSize(); | 3421 | int stackSize = keepStackSize(); |
2576 | 3422 | ||
2577 | try { | 3423 | try { |
2578 | // InternalCftLanguage.g:811:1: ( ( ( ';' )? ) ) | 3424 | // InternalCftLanguage.g:1051:1: ( ( ( ';' )? ) ) |
2579 | // InternalCftLanguage.g:812:1: ( ( ';' )? ) | 3425 | // InternalCftLanguage.g:1052:1: ( ( ';' )? ) |
2580 | { | 3426 | { |
2581 | // InternalCftLanguage.g:812:1: ( ( ';' )? ) | 3427 | // InternalCftLanguage.g:1052:1: ( ( ';' )? ) |
2582 | // InternalCftLanguage.g:813:2: ( ';' )? | 3428 | // InternalCftLanguage.g:1053:2: ( ';' )? |
2583 | { | 3429 | { |
2584 | before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); | 3430 | before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); |
2585 | // InternalCftLanguage.g:814:2: ( ';' )? | 3431 | // InternalCftLanguage.g:1054:2: ( ';' )? |
2586 | int alt9=2; | 3432 | int alt13=2; |
2587 | int LA9_0 = input.LA(1); | 3433 | int LA13_0 = input.LA(1); |
2588 | 3434 | ||
2589 | if ( (LA9_0==14) ) { | 3435 | if ( (LA13_0==15) ) { |
2590 | alt9=1; | 3436 | alt13=1; |
2591 | } | 3437 | } |
2592 | switch (alt9) { | 3438 | switch (alt13) { |
2593 | case 1 : | 3439 | case 1 : |
2594 | // InternalCftLanguage.g:814:3: ';' | 3440 | // InternalCftLanguage.g:1054:3: ';' |
2595 | { | 3441 | { |
2596 | match(input,14,FOLLOW_2); | 3442 | match(input,15,FOLLOW_2); |
2597 | 3443 | ||
2598 | } | 3444 | } |
2599 | break; | 3445 | break; |
@@ -2623,14 +3469,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2623 | 3469 | ||
2624 | 3470 | ||
2625 | // $ANTLR start "rule__ComponentDefinition__Group__0" | 3471 | // $ANTLR start "rule__ComponentDefinition__Group__0" |
2626 | // InternalCftLanguage.g:823:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ; | 3472 | // InternalCftLanguage.g:1063:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ; |
2627 | public final void rule__ComponentDefinition__Group__0() throws RecognitionException { | 3473 | public final void rule__ComponentDefinition__Group__0() throws RecognitionException { |
2628 | 3474 | ||
2629 | int stackSize = keepStackSize(); | 3475 | int stackSize = keepStackSize(); |
2630 | 3476 | ||
2631 | try { | 3477 | try { |
2632 | // InternalCftLanguage.g:827:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ) | 3478 | // InternalCftLanguage.g:1067:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ) |
2633 | // InternalCftLanguage.g:828:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 | 3479 | // InternalCftLanguage.g:1068:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 |
2634 | { | 3480 | { |
2635 | pushFollow(FOLLOW_3); | 3481 | pushFollow(FOLLOW_3); |
2636 | rule__ComponentDefinition__Group__0__Impl(); | 3482 | rule__ComponentDefinition__Group__0__Impl(); |
@@ -2661,20 +3507,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2661 | 3507 | ||
2662 | 3508 | ||
2663 | // $ANTLR start "rule__ComponentDefinition__Group__0__Impl" | 3509 | // $ANTLR start "rule__ComponentDefinition__Group__0__Impl" |
2664 | // InternalCftLanguage.g:835:1: rule__ComponentDefinition__Group__0__Impl : ( 'cft' ) ; | 3510 | // InternalCftLanguage.g:1075:1: rule__ComponentDefinition__Group__0__Impl : ( 'cft' ) ; |
2665 | public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException { | 3511 | public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException { |
2666 | 3512 | ||
2667 | int stackSize = keepStackSize(); | 3513 | int stackSize = keepStackSize(); |
2668 | 3514 | ||
2669 | try { | 3515 | try { |
2670 | // InternalCftLanguage.g:839:1: ( ( 'cft' ) ) | 3516 | // InternalCftLanguage.g:1079:1: ( ( 'cft' ) ) |
2671 | // InternalCftLanguage.g:840:1: ( 'cft' ) | 3517 | // InternalCftLanguage.g:1080:1: ( 'cft' ) |
2672 | { | 3518 | { |
2673 | // InternalCftLanguage.g:840:1: ( 'cft' ) | 3519 | // InternalCftLanguage.g:1080:1: ( 'cft' ) |
2674 | // InternalCftLanguage.g:841:2: 'cft' | 3520 | // InternalCftLanguage.g:1081:2: 'cft' |
2675 | { | 3521 | { |
2676 | before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); | 3522 | before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); |
2677 | match(input,16,FOLLOW_2); | 3523 | match(input,17,FOLLOW_2); |
2678 | after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); | 3524 | after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); |
2679 | 3525 | ||
2680 | } | 3526 | } |
@@ -2698,14 +3544,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2698 | 3544 | ||
2699 | 3545 | ||
2700 | // $ANTLR start "rule__ComponentDefinition__Group__1" | 3546 | // $ANTLR start "rule__ComponentDefinition__Group__1" |
2701 | // InternalCftLanguage.g:850:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ; | 3547 | // InternalCftLanguage.g:1090:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ; |
2702 | public final void rule__ComponentDefinition__Group__1() throws RecognitionException { | 3548 | public final void rule__ComponentDefinition__Group__1() throws RecognitionException { |
2703 | 3549 | ||
2704 | int stackSize = keepStackSize(); | 3550 | int stackSize = keepStackSize(); |
2705 | 3551 | ||
2706 | try { | 3552 | try { |
2707 | // InternalCftLanguage.g:854:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ) | 3553 | // InternalCftLanguage.g:1094:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ) |
2708 | // InternalCftLanguage.g:855:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 | 3554 | // InternalCftLanguage.g:1095:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 |
2709 | { | 3555 | { |
2710 | pushFollow(FOLLOW_8); | 3556 | pushFollow(FOLLOW_8); |
2711 | rule__ComponentDefinition__Group__1__Impl(); | 3557 | rule__ComponentDefinition__Group__1__Impl(); |
@@ -2736,21 +3582,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2736 | 3582 | ||
2737 | 3583 | ||
2738 | // $ANTLR start "rule__ComponentDefinition__Group__1__Impl" | 3584 | // $ANTLR start "rule__ComponentDefinition__Group__1__Impl" |
2739 | // InternalCftLanguage.g:862:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ; | 3585 | // InternalCftLanguage.g:1102:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ; |
2740 | public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException { | 3586 | public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException { |
2741 | 3587 | ||
2742 | int stackSize = keepStackSize(); | 3588 | int stackSize = keepStackSize(); |
2743 | 3589 | ||
2744 | try { | 3590 | try { |
2745 | // InternalCftLanguage.g:866:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ) | 3591 | // InternalCftLanguage.g:1106:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ) |
2746 | // InternalCftLanguage.g:867:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) | 3592 | // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) |
2747 | { | 3593 | { |
2748 | // InternalCftLanguage.g:867:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) | 3594 | // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) |
2749 | // InternalCftLanguage.g:868:2: ( rule__ComponentDefinition__NameAssignment_1 ) | 3595 | // InternalCftLanguage.g:1108:2: ( rule__ComponentDefinition__NameAssignment_1 ) |
2750 | { | 3596 | { |
2751 | before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); | 3597 | before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); |
2752 | // InternalCftLanguage.g:869:2: ( rule__ComponentDefinition__NameAssignment_1 ) | 3598 | // InternalCftLanguage.g:1109:2: ( rule__ComponentDefinition__NameAssignment_1 ) |
2753 | // InternalCftLanguage.g:869:3: rule__ComponentDefinition__NameAssignment_1 | 3599 | // InternalCftLanguage.g:1109:3: rule__ComponentDefinition__NameAssignment_1 |
2754 | { | 3600 | { |
2755 | pushFollow(FOLLOW_2); | 3601 | pushFollow(FOLLOW_2); |
2756 | rule__ComponentDefinition__NameAssignment_1(); | 3602 | rule__ComponentDefinition__NameAssignment_1(); |
@@ -2783,14 +3629,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2783 | 3629 | ||
2784 | 3630 | ||
2785 | // $ANTLR start "rule__ComponentDefinition__Group__2" | 3631 | // $ANTLR start "rule__ComponentDefinition__Group__2" |
2786 | // InternalCftLanguage.g:877:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ; | 3632 | // InternalCftLanguage.g:1117:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ; |
2787 | public final void rule__ComponentDefinition__Group__2() throws RecognitionException { | 3633 | public final void rule__ComponentDefinition__Group__2() throws RecognitionException { |
2788 | 3634 | ||
2789 | int stackSize = keepStackSize(); | 3635 | int stackSize = keepStackSize(); |
2790 | 3636 | ||
2791 | try { | 3637 | try { |
2792 | // InternalCftLanguage.g:881:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ) | 3638 | // InternalCftLanguage.g:1121:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ) |
2793 | // InternalCftLanguage.g:882:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 | 3639 | // InternalCftLanguage.g:1122:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 |
2794 | { | 3640 | { |
2795 | pushFollow(FOLLOW_9); | 3641 | pushFollow(FOLLOW_9); |
2796 | rule__ComponentDefinition__Group__2__Impl(); | 3642 | rule__ComponentDefinition__Group__2__Impl(); |
@@ -2821,20 +3667,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2821 | 3667 | ||
2822 | 3668 | ||
2823 | // $ANTLR start "rule__ComponentDefinition__Group__2__Impl" | 3669 | // $ANTLR start "rule__ComponentDefinition__Group__2__Impl" |
2824 | // InternalCftLanguage.g:889:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ; | 3670 | // InternalCftLanguage.g:1129:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ; |
2825 | public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException { | 3671 | public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException { |
2826 | 3672 | ||
2827 | int stackSize = keepStackSize(); | 3673 | int stackSize = keepStackSize(); |
2828 | 3674 | ||
2829 | try { | 3675 | try { |
2830 | // InternalCftLanguage.g:893:1: ( ( '{' ) ) | 3676 | // InternalCftLanguage.g:1133:1: ( ( '{' ) ) |
2831 | // InternalCftLanguage.g:894:1: ( '{' ) | 3677 | // InternalCftLanguage.g:1134:1: ( '{' ) |
2832 | { | 3678 | { |
2833 | // InternalCftLanguage.g:894:1: ( '{' ) | 3679 | // InternalCftLanguage.g:1134:1: ( '{' ) |
2834 | // InternalCftLanguage.g:895:2: '{' | 3680 | // InternalCftLanguage.g:1135:2: '{' |
2835 | { | 3681 | { |
2836 | before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 3682 | before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
2837 | match(input,17,FOLLOW_2); | 3683 | match(input,18,FOLLOW_2); |
2838 | after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 3684 | after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
2839 | 3685 | ||
2840 | } | 3686 | } |
@@ -2858,14 +3704,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2858 | 3704 | ||
2859 | 3705 | ||
2860 | // $ANTLR start "rule__ComponentDefinition__Group__3" | 3706 | // $ANTLR start "rule__ComponentDefinition__Group__3" |
2861 | // InternalCftLanguage.g:904:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ; | 3707 | // InternalCftLanguage.g:1144:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ; |
2862 | public final void rule__ComponentDefinition__Group__3() throws RecognitionException { | 3708 | public final void rule__ComponentDefinition__Group__3() throws RecognitionException { |
2863 | 3709 | ||
2864 | int stackSize = keepStackSize(); | 3710 | int stackSize = keepStackSize(); |
2865 | 3711 | ||
2866 | try { | 3712 | try { |
2867 | // InternalCftLanguage.g:908:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ) | 3713 | // InternalCftLanguage.g:1148:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ) |
2868 | // InternalCftLanguage.g:909:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 | 3714 | // InternalCftLanguage.g:1149:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 |
2869 | { | 3715 | { |
2870 | pushFollow(FOLLOW_10); | 3716 | pushFollow(FOLLOW_10); |
2871 | rule__ComponentDefinition__Group__3__Impl(); | 3717 | rule__ComponentDefinition__Group__3__Impl(); |
@@ -2896,21 +3742,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2896 | 3742 | ||
2897 | 3743 | ||
2898 | // $ANTLR start "rule__ComponentDefinition__Group__3__Impl" | 3744 | // $ANTLR start "rule__ComponentDefinition__Group__3__Impl" |
2899 | // InternalCftLanguage.g:916:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ; | 3745 | // InternalCftLanguage.g:1156:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ; |
2900 | public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException { | 3746 | public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException { |
2901 | 3747 | ||
2902 | int stackSize = keepStackSize(); | 3748 | int stackSize = keepStackSize(); |
2903 | 3749 | ||
2904 | try { | 3750 | try { |
2905 | // InternalCftLanguage.g:920:1: ( ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ) | 3751 | // InternalCftLanguage.g:1160:1: ( ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ) |
2906 | // InternalCftLanguage.g:921:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) | 3752 | // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) |
2907 | { | 3753 | { |
2908 | // InternalCftLanguage.g:921:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) | 3754 | // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) |
2909 | // InternalCftLanguage.g:922:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) | 3755 | // InternalCftLanguage.g:1162:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) |
2910 | { | 3756 | { |
2911 | before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); | 3757 | before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); |
2912 | // InternalCftLanguage.g:923:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) | 3758 | // InternalCftLanguage.g:1163:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) |
2913 | // InternalCftLanguage.g:923:3: rule__ComponentDefinition__UnorderedGroup_3 | 3759 | // InternalCftLanguage.g:1163:3: rule__ComponentDefinition__UnorderedGroup_3 |
2914 | { | 3760 | { |
2915 | pushFollow(FOLLOW_2); | 3761 | pushFollow(FOLLOW_2); |
2916 | rule__ComponentDefinition__UnorderedGroup_3(); | 3762 | rule__ComponentDefinition__UnorderedGroup_3(); |
@@ -2943,14 +3789,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2943 | 3789 | ||
2944 | 3790 | ||
2945 | // $ANTLR start "rule__ComponentDefinition__Group__4" | 3791 | // $ANTLR start "rule__ComponentDefinition__Group__4" |
2946 | // InternalCftLanguage.g:931:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ; | 3792 | // InternalCftLanguage.g:1171:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ; |
2947 | public final void rule__ComponentDefinition__Group__4() throws RecognitionException { | 3793 | public final void rule__ComponentDefinition__Group__4() throws RecognitionException { |
2948 | 3794 | ||
2949 | int stackSize = keepStackSize(); | 3795 | int stackSize = keepStackSize(); |
2950 | 3796 | ||
2951 | try { | 3797 | try { |
2952 | // InternalCftLanguage.g:935:1: ( rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ) | 3798 | // InternalCftLanguage.g:1175:1: ( rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ) |
2953 | // InternalCftLanguage.g:936:2: rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 | 3799 | // InternalCftLanguage.g:1176:2: rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 |
2954 | { | 3800 | { |
2955 | pushFollow(FOLLOW_10); | 3801 | pushFollow(FOLLOW_10); |
2956 | rule__ComponentDefinition__Group__4__Impl(); | 3802 | rule__ComponentDefinition__Group__4__Impl(); |
@@ -2981,33 +3827,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
2981 | 3827 | ||
2982 | 3828 | ||
2983 | // $ANTLR start "rule__ComponentDefinition__Group__4__Impl" | 3829 | // $ANTLR start "rule__ComponentDefinition__Group__4__Impl" |
2984 | // InternalCftLanguage.g:943:1: rule__ComponentDefinition__Group__4__Impl : ( ( rule__ComponentDefinition__Group_4__0 )* ) ; | 3830 | // InternalCftLanguage.g:1183:1: rule__ComponentDefinition__Group__4__Impl : ( ( rule__ComponentDefinition__Group_4__0 )* ) ; |
2985 | public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException { | 3831 | public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException { |
2986 | 3832 | ||
2987 | int stackSize = keepStackSize(); | 3833 | int stackSize = keepStackSize(); |
2988 | 3834 | ||
2989 | try { | 3835 | try { |
2990 | // InternalCftLanguage.g:947:1: ( ( ( rule__ComponentDefinition__Group_4__0 )* ) ) | 3836 | // InternalCftLanguage.g:1187:1: ( ( ( rule__ComponentDefinition__Group_4__0 )* ) ) |
2991 | // InternalCftLanguage.g:948:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) | 3837 | // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) |
2992 | { | 3838 | { |
2993 | // InternalCftLanguage.g:948:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) | 3839 | // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) |
2994 | // InternalCftLanguage.g:949:2: ( rule__ComponentDefinition__Group_4__0 )* | 3840 | // InternalCftLanguage.g:1189:2: ( rule__ComponentDefinition__Group_4__0 )* |
2995 | { | 3841 | { |
2996 | before(grammarAccess.getComponentDefinitionAccess().getGroup_4()); | 3842 | before(grammarAccess.getComponentDefinitionAccess().getGroup_4()); |
2997 | // InternalCftLanguage.g:950:2: ( rule__ComponentDefinition__Group_4__0 )* | 3843 | // InternalCftLanguage.g:1190:2: ( rule__ComponentDefinition__Group_4__0 )* |
2998 | loop10: | 3844 | loop14: |
2999 | do { | 3845 | do { |
3000 | int alt10=2; | 3846 | int alt14=2; |
3001 | int LA10_0 = input.LA(1); | 3847 | int LA14_0 = input.LA(1); |
3002 | 3848 | ||
3003 | if ( (LA10_0==RULE_ID) ) { | 3849 | if ( ((LA14_0>=RULE_ID && LA14_0<=RULE_OF_INT)) ) { |
3004 | alt10=1; | 3850 | alt14=1; |
3005 | } | 3851 | } |
3006 | 3852 | ||
3007 | 3853 | ||
3008 | switch (alt10) { | 3854 | switch (alt14) { |
3009 | case 1 : | 3855 | case 1 : |
3010 | // InternalCftLanguage.g:950:3: rule__ComponentDefinition__Group_4__0 | 3856 | // InternalCftLanguage.g:1190:3: rule__ComponentDefinition__Group_4__0 |
3011 | { | 3857 | { |
3012 | pushFollow(FOLLOW_11); | 3858 | pushFollow(FOLLOW_11); |
3013 | rule__ComponentDefinition__Group_4__0(); | 3859 | rule__ComponentDefinition__Group_4__0(); |
@@ -3019,7 +3865,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3019 | break; | 3865 | break; |
3020 | 3866 | ||
3021 | default : | 3867 | default : |
3022 | break loop10; | 3868 | break loop14; |
3023 | } | 3869 | } |
3024 | } while (true); | 3870 | } while (true); |
3025 | 3871 | ||
@@ -3046,14 +3892,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3046 | 3892 | ||
3047 | 3893 | ||
3048 | // $ANTLR start "rule__ComponentDefinition__Group__5" | 3894 | // $ANTLR start "rule__ComponentDefinition__Group__5" |
3049 | // InternalCftLanguage.g:958:1: rule__ComponentDefinition__Group__5 : rule__ComponentDefinition__Group__5__Impl ; | 3895 | // InternalCftLanguage.g:1198:1: rule__ComponentDefinition__Group__5 : rule__ComponentDefinition__Group__5__Impl ; |
3050 | public final void rule__ComponentDefinition__Group__5() throws RecognitionException { | 3896 | public final void rule__ComponentDefinition__Group__5() throws RecognitionException { |
3051 | 3897 | ||
3052 | int stackSize = keepStackSize(); | 3898 | int stackSize = keepStackSize(); |
3053 | 3899 | ||
3054 | try { | 3900 | try { |
3055 | // InternalCftLanguage.g:962:1: ( rule__ComponentDefinition__Group__5__Impl ) | 3901 | // InternalCftLanguage.g:1202:1: ( rule__ComponentDefinition__Group__5__Impl ) |
3056 | // InternalCftLanguage.g:963:2: rule__ComponentDefinition__Group__5__Impl | 3902 | // InternalCftLanguage.g:1203:2: rule__ComponentDefinition__Group__5__Impl |
3057 | { | 3903 | { |
3058 | pushFollow(FOLLOW_2); | 3904 | pushFollow(FOLLOW_2); |
3059 | rule__ComponentDefinition__Group__5__Impl(); | 3905 | rule__ComponentDefinition__Group__5__Impl(); |
@@ -3079,20 +3925,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3079 | 3925 | ||
3080 | 3926 | ||
3081 | // $ANTLR start "rule__ComponentDefinition__Group__5__Impl" | 3927 | // $ANTLR start "rule__ComponentDefinition__Group__5__Impl" |
3082 | // InternalCftLanguage.g:969:1: rule__ComponentDefinition__Group__5__Impl : ( '}' ) ; | 3928 | // InternalCftLanguage.g:1209:1: rule__ComponentDefinition__Group__5__Impl : ( '}' ) ; |
3083 | public final void rule__ComponentDefinition__Group__5__Impl() throws RecognitionException { | 3929 | public final void rule__ComponentDefinition__Group__5__Impl() throws RecognitionException { |
3084 | 3930 | ||
3085 | int stackSize = keepStackSize(); | 3931 | int stackSize = keepStackSize(); |
3086 | 3932 | ||
3087 | try { | 3933 | try { |
3088 | // InternalCftLanguage.g:973:1: ( ( '}' ) ) | 3934 | // InternalCftLanguage.g:1213:1: ( ( '}' ) ) |
3089 | // InternalCftLanguage.g:974:1: ( '}' ) | 3935 | // InternalCftLanguage.g:1214:1: ( '}' ) |
3090 | { | 3936 | { |
3091 | // InternalCftLanguage.g:974:1: ( '}' ) | 3937 | // InternalCftLanguage.g:1214:1: ( '}' ) |
3092 | // InternalCftLanguage.g:975:2: '}' | 3938 | // InternalCftLanguage.g:1215:2: '}' |
3093 | { | 3939 | { |
3094 | before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); | 3940 | before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); |
3095 | match(input,18,FOLLOW_2); | 3941 | match(input,19,FOLLOW_2); |
3096 | after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); | 3942 | after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); |
3097 | 3943 | ||
3098 | } | 3944 | } |
@@ -3116,14 +3962,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3116 | 3962 | ||
3117 | 3963 | ||
3118 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__0" | 3964 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__0" |
3119 | // InternalCftLanguage.g:985:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ; | 3965 | // InternalCftLanguage.g:1225:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ; |
3120 | public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException { | 3966 | public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException { |
3121 | 3967 | ||
3122 | int stackSize = keepStackSize(); | 3968 | int stackSize = keepStackSize(); |
3123 | 3969 | ||
3124 | try { | 3970 | try { |
3125 | // InternalCftLanguage.g:989:1: ( rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ) | 3971 | // InternalCftLanguage.g:1229:1: ( rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ) |
3126 | // InternalCftLanguage.g:990:2: rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 | 3972 | // InternalCftLanguage.g:1230:2: rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 |
3127 | { | 3973 | { |
3128 | pushFollow(FOLLOW_12); | 3974 | pushFollow(FOLLOW_12); |
3129 | rule__ComponentDefinition__Group_3_0__0__Impl(); | 3975 | rule__ComponentDefinition__Group_3_0__0__Impl(); |
@@ -3154,20 +4000,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3154 | 4000 | ||
3155 | 4001 | ||
3156 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl" | 4002 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl" |
3157 | // InternalCftLanguage.g:997:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( 'in' ) ; | 4003 | // InternalCftLanguage.g:1237:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( 'in' ) ; |
3158 | public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException { | 4004 | public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException { |
3159 | 4005 | ||
3160 | int stackSize = keepStackSize(); | 4006 | int stackSize = keepStackSize(); |
3161 | 4007 | ||
3162 | try { | 4008 | try { |
3163 | // InternalCftLanguage.g:1001:1: ( ( 'in' ) ) | 4009 | // InternalCftLanguage.g:1241:1: ( ( 'in' ) ) |
3164 | // InternalCftLanguage.g:1002:1: ( 'in' ) | 4010 | // InternalCftLanguage.g:1242:1: ( 'in' ) |
3165 | { | 4011 | { |
3166 | // InternalCftLanguage.g:1002:1: ( 'in' ) | 4012 | // InternalCftLanguage.g:1242:1: ( 'in' ) |
3167 | // InternalCftLanguage.g:1003:2: 'in' | 4013 | // InternalCftLanguage.g:1243:2: 'in' |
3168 | { | 4014 | { |
3169 | before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); | 4015 | before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); |
3170 | match(input,19,FOLLOW_2); | 4016 | match(input,20,FOLLOW_2); |
3171 | after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); | 4017 | after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); |
3172 | 4018 | ||
3173 | } | 4019 | } |
@@ -3191,14 +4037,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3191 | 4037 | ||
3192 | 4038 | ||
3193 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__1" | 4039 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__1" |
3194 | // InternalCftLanguage.g:1012:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ; | 4040 | // InternalCftLanguage.g:1252:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ; |
3195 | public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException { | 4041 | public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException { |
3196 | 4042 | ||
3197 | int stackSize = keepStackSize(); | 4043 | int stackSize = keepStackSize(); |
3198 | 4044 | ||
3199 | try { | 4045 | try { |
3200 | // InternalCftLanguage.g:1016:1: ( rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ) | 4046 | // InternalCftLanguage.g:1256:1: ( rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ) |
3201 | // InternalCftLanguage.g:1017:2: rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 | 4047 | // InternalCftLanguage.g:1257:2: rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 |
3202 | { | 4048 | { |
3203 | pushFollow(FOLLOW_12); | 4049 | pushFollow(FOLLOW_12); |
3204 | rule__ComponentDefinition__Group_3_0__1__Impl(); | 4050 | rule__ComponentDefinition__Group_3_0__1__Impl(); |
@@ -3229,33 +4075,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3229 | 4075 | ||
3230 | 4076 | ||
3231 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl" | 4077 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl" |
3232 | // InternalCftLanguage.g:1024:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ; | 4078 | // InternalCftLanguage.g:1264:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ; |
3233 | public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException { | 4079 | public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException { |
3234 | 4080 | ||
3235 | int stackSize = keepStackSize(); | 4081 | int stackSize = keepStackSize(); |
3236 | 4082 | ||
3237 | try { | 4083 | try { |
3238 | // InternalCftLanguage.g:1028:1: ( ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ) | 4084 | // InternalCftLanguage.g:1268:1: ( ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ) |
3239 | // InternalCftLanguage.g:1029:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) | 4085 | // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) |
3240 | { | 4086 | { |
3241 | // InternalCftLanguage.g:1029:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) | 4087 | // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) |
3242 | // InternalCftLanguage.g:1030:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* | 4088 | // InternalCftLanguage.g:1270:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* |
3243 | { | 4089 | { |
3244 | before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); | 4090 | before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); |
3245 | // InternalCftLanguage.g:1031:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* | 4091 | // InternalCftLanguage.g:1271:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* |
3246 | loop11: | 4092 | loop15: |
3247 | do { | 4093 | do { |
3248 | int alt11=2; | 4094 | int alt15=2; |
3249 | int LA11_0 = input.LA(1); | 4095 | int LA15_0 = input.LA(1); |
3250 | 4096 | ||
3251 | if ( (LA11_0==RULE_ID) ) { | 4097 | if ( ((LA15_0>=RULE_ID && LA15_0<=RULE_OF_INT)) ) { |
3252 | alt11=1; | 4098 | alt15=1; |
3253 | } | 4099 | } |
3254 | 4100 | ||
3255 | 4101 | ||
3256 | switch (alt11) { | 4102 | switch (alt15) { |
3257 | case 1 : | 4103 | case 1 : |
3258 | // InternalCftLanguage.g:1031:3: rule__ComponentDefinition__InputEventsAssignment_3_0_1 | 4104 | // InternalCftLanguage.g:1271:3: rule__ComponentDefinition__InputEventsAssignment_3_0_1 |
3259 | { | 4105 | { |
3260 | pushFollow(FOLLOW_11); | 4106 | pushFollow(FOLLOW_11); |
3261 | rule__ComponentDefinition__InputEventsAssignment_3_0_1(); | 4107 | rule__ComponentDefinition__InputEventsAssignment_3_0_1(); |
@@ -3267,7 +4113,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3267 | break; | 4113 | break; |
3268 | 4114 | ||
3269 | default : | 4115 | default : |
3270 | break loop11; | 4116 | break loop15; |
3271 | } | 4117 | } |
3272 | } while (true); | 4118 | } while (true); |
3273 | 4119 | ||
@@ -3294,14 +4140,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3294 | 4140 | ||
3295 | 4141 | ||
3296 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__2" | 4142 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__2" |
3297 | // InternalCftLanguage.g:1039:1: rule__ComponentDefinition__Group_3_0__2 : rule__ComponentDefinition__Group_3_0__2__Impl ; | 4143 | // InternalCftLanguage.g:1279:1: rule__ComponentDefinition__Group_3_0__2 : rule__ComponentDefinition__Group_3_0__2__Impl ; |
3298 | public final void rule__ComponentDefinition__Group_3_0__2() throws RecognitionException { | 4144 | public final void rule__ComponentDefinition__Group_3_0__2() throws RecognitionException { |
3299 | 4145 | ||
3300 | int stackSize = keepStackSize(); | 4146 | int stackSize = keepStackSize(); |
3301 | 4147 | ||
3302 | try { | 4148 | try { |
3303 | // InternalCftLanguage.g:1043:1: ( rule__ComponentDefinition__Group_3_0__2__Impl ) | 4149 | // InternalCftLanguage.g:1283:1: ( rule__ComponentDefinition__Group_3_0__2__Impl ) |
3304 | // InternalCftLanguage.g:1044:2: rule__ComponentDefinition__Group_3_0__2__Impl | 4150 | // InternalCftLanguage.g:1284:2: rule__ComponentDefinition__Group_3_0__2__Impl |
3305 | { | 4151 | { |
3306 | pushFollow(FOLLOW_2); | 4152 | pushFollow(FOLLOW_2); |
3307 | rule__ComponentDefinition__Group_3_0__2__Impl(); | 4153 | rule__ComponentDefinition__Group_3_0__2__Impl(); |
@@ -3327,20 +4173,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3327 | 4173 | ||
3328 | 4174 | ||
3329 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__2__Impl" | 4175 | // $ANTLR start "rule__ComponentDefinition__Group_3_0__2__Impl" |
3330 | // InternalCftLanguage.g:1050:1: rule__ComponentDefinition__Group_3_0__2__Impl : ( ';' ) ; | 4176 | // InternalCftLanguage.g:1290:1: rule__ComponentDefinition__Group_3_0__2__Impl : ( ';' ) ; |
3331 | public final void rule__ComponentDefinition__Group_3_0__2__Impl() throws RecognitionException { | 4177 | public final void rule__ComponentDefinition__Group_3_0__2__Impl() throws RecognitionException { |
3332 | 4178 | ||
3333 | int stackSize = keepStackSize(); | 4179 | int stackSize = keepStackSize(); |
3334 | 4180 | ||
3335 | try { | 4181 | try { |
3336 | // InternalCftLanguage.g:1054:1: ( ( ';' ) ) | 4182 | // InternalCftLanguage.g:1294:1: ( ( ';' ) ) |
3337 | // InternalCftLanguage.g:1055:1: ( ';' ) | 4183 | // InternalCftLanguage.g:1295:1: ( ';' ) |
3338 | { | 4184 | { |
3339 | // InternalCftLanguage.g:1055:1: ( ';' ) | 4185 | // InternalCftLanguage.g:1295:1: ( ';' ) |
3340 | // InternalCftLanguage.g:1056:2: ';' | 4186 | // InternalCftLanguage.g:1296:2: ';' |
3341 | { | 4187 | { |
3342 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); | 4188 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); |
3343 | match(input,14,FOLLOW_2); | 4189 | match(input,15,FOLLOW_2); |
3344 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); | 4190 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); |
3345 | 4191 | ||
3346 | } | 4192 | } |
@@ -3364,14 +4210,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3364 | 4210 | ||
3365 | 4211 | ||
3366 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__0" | 4212 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__0" |
3367 | // InternalCftLanguage.g:1066:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ; | 4213 | // InternalCftLanguage.g:1306:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ; |
3368 | public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException { | 4214 | public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException { |
3369 | 4215 | ||
3370 | int stackSize = keepStackSize(); | 4216 | int stackSize = keepStackSize(); |
3371 | 4217 | ||
3372 | try { | 4218 | try { |
3373 | // InternalCftLanguage.g:1070:1: ( rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ) | 4219 | // InternalCftLanguage.g:1310:1: ( rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ) |
3374 | // InternalCftLanguage.g:1071:2: rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 | 4220 | // InternalCftLanguage.g:1311:2: rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 |
3375 | { | 4221 | { |
3376 | pushFollow(FOLLOW_12); | 4222 | pushFollow(FOLLOW_12); |
3377 | rule__ComponentDefinition__Group_3_1__0__Impl(); | 4223 | rule__ComponentDefinition__Group_3_1__0__Impl(); |
@@ -3402,20 +4248,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3402 | 4248 | ||
3403 | 4249 | ||
3404 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl" | 4250 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl" |
3405 | // InternalCftLanguage.g:1078:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( 'out' ) ; | 4251 | // InternalCftLanguage.g:1318:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( 'out' ) ; |
3406 | public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException { | 4252 | public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException { |
3407 | 4253 | ||
3408 | int stackSize = keepStackSize(); | 4254 | int stackSize = keepStackSize(); |
3409 | 4255 | ||
3410 | try { | 4256 | try { |
3411 | // InternalCftLanguage.g:1082:1: ( ( 'out' ) ) | 4257 | // InternalCftLanguage.g:1322:1: ( ( 'out' ) ) |
3412 | // InternalCftLanguage.g:1083:1: ( 'out' ) | 4258 | // InternalCftLanguage.g:1323:1: ( 'out' ) |
3413 | { | 4259 | { |
3414 | // InternalCftLanguage.g:1083:1: ( 'out' ) | 4260 | // InternalCftLanguage.g:1323:1: ( 'out' ) |
3415 | // InternalCftLanguage.g:1084:2: 'out' | 4261 | // InternalCftLanguage.g:1324:2: 'out' |
3416 | { | 4262 | { |
3417 | before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); | 4263 | before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); |
3418 | match(input,20,FOLLOW_2); | 4264 | match(input,21,FOLLOW_2); |
3419 | after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); | 4265 | after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); |
3420 | 4266 | ||
3421 | } | 4267 | } |
@@ -3439,14 +4285,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3439 | 4285 | ||
3440 | 4286 | ||
3441 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__1" | 4287 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__1" |
3442 | // InternalCftLanguage.g:1093:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ; | 4288 | // InternalCftLanguage.g:1333:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ; |
3443 | public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException { | 4289 | public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException { |
3444 | 4290 | ||
3445 | int stackSize = keepStackSize(); | 4291 | int stackSize = keepStackSize(); |
3446 | 4292 | ||
3447 | try { | 4293 | try { |
3448 | // InternalCftLanguage.g:1097:1: ( rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ) | 4294 | // InternalCftLanguage.g:1337:1: ( rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ) |
3449 | // InternalCftLanguage.g:1098:2: rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 | 4295 | // InternalCftLanguage.g:1338:2: rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 |
3450 | { | 4296 | { |
3451 | pushFollow(FOLLOW_12); | 4297 | pushFollow(FOLLOW_12); |
3452 | rule__ComponentDefinition__Group_3_1__1__Impl(); | 4298 | rule__ComponentDefinition__Group_3_1__1__Impl(); |
@@ -3477,33 +4323,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3477 | 4323 | ||
3478 | 4324 | ||
3479 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl" | 4325 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl" |
3480 | // InternalCftLanguage.g:1105:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ; | 4326 | // InternalCftLanguage.g:1345:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ; |
3481 | public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException { | 4327 | public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException { |
3482 | 4328 | ||
3483 | int stackSize = keepStackSize(); | 4329 | int stackSize = keepStackSize(); |
3484 | 4330 | ||
3485 | try { | 4331 | try { |
3486 | // InternalCftLanguage.g:1109:1: ( ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ) | 4332 | // InternalCftLanguage.g:1349:1: ( ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ) |
3487 | // InternalCftLanguage.g:1110:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) | 4333 | // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) |
3488 | { | 4334 | { |
3489 | // InternalCftLanguage.g:1110:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) | 4335 | // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) |
3490 | // InternalCftLanguage.g:1111:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* | 4336 | // InternalCftLanguage.g:1351:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* |
3491 | { | 4337 | { |
3492 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); | 4338 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); |
3493 | // InternalCftLanguage.g:1112:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* | 4339 | // InternalCftLanguage.g:1352:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* |
3494 | loop12: | 4340 | loop16: |
3495 | do { | 4341 | do { |
3496 | int alt12=2; | 4342 | int alt16=2; |
3497 | int LA12_0 = input.LA(1); | 4343 | int LA16_0 = input.LA(1); |
3498 | 4344 | ||
3499 | if ( (LA12_0==RULE_ID) ) { | 4345 | if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_OF_INT)) ) { |
3500 | alt12=1; | 4346 | alt16=1; |
3501 | } | 4347 | } |
3502 | 4348 | ||
3503 | 4349 | ||
3504 | switch (alt12) { | 4350 | switch (alt16) { |
3505 | case 1 : | 4351 | case 1 : |
3506 | // InternalCftLanguage.g:1112:3: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 | 4352 | // InternalCftLanguage.g:1352:3: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 |
3507 | { | 4353 | { |
3508 | pushFollow(FOLLOW_11); | 4354 | pushFollow(FOLLOW_11); |
3509 | rule__ComponentDefinition__OutputEventsAssignment_3_1_1(); | 4355 | rule__ComponentDefinition__OutputEventsAssignment_3_1_1(); |
@@ -3515,7 +4361,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3515 | break; | 4361 | break; |
3516 | 4362 | ||
3517 | default : | 4363 | default : |
3518 | break loop12; | 4364 | break loop16; |
3519 | } | 4365 | } |
3520 | } while (true); | 4366 | } while (true); |
3521 | 4367 | ||
@@ -3542,14 +4388,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3542 | 4388 | ||
3543 | 4389 | ||
3544 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__2" | 4390 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__2" |
3545 | // InternalCftLanguage.g:1120:1: rule__ComponentDefinition__Group_3_1__2 : rule__ComponentDefinition__Group_3_1__2__Impl ; | 4391 | // InternalCftLanguage.g:1360:1: rule__ComponentDefinition__Group_3_1__2 : rule__ComponentDefinition__Group_3_1__2__Impl ; |
3546 | public final void rule__ComponentDefinition__Group_3_1__2() throws RecognitionException { | 4392 | public final void rule__ComponentDefinition__Group_3_1__2() throws RecognitionException { |
3547 | 4393 | ||
3548 | int stackSize = keepStackSize(); | 4394 | int stackSize = keepStackSize(); |
3549 | 4395 | ||
3550 | try { | 4396 | try { |
3551 | // InternalCftLanguage.g:1124:1: ( rule__ComponentDefinition__Group_3_1__2__Impl ) | 4397 | // InternalCftLanguage.g:1364:1: ( rule__ComponentDefinition__Group_3_1__2__Impl ) |
3552 | // InternalCftLanguage.g:1125:2: rule__ComponentDefinition__Group_3_1__2__Impl | 4398 | // InternalCftLanguage.g:1365:2: rule__ComponentDefinition__Group_3_1__2__Impl |
3553 | { | 4399 | { |
3554 | pushFollow(FOLLOW_2); | 4400 | pushFollow(FOLLOW_2); |
3555 | rule__ComponentDefinition__Group_3_1__2__Impl(); | 4401 | rule__ComponentDefinition__Group_3_1__2__Impl(); |
@@ -3575,20 +4421,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3575 | 4421 | ||
3576 | 4422 | ||
3577 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__2__Impl" | 4423 | // $ANTLR start "rule__ComponentDefinition__Group_3_1__2__Impl" |
3578 | // InternalCftLanguage.g:1131:1: rule__ComponentDefinition__Group_3_1__2__Impl : ( ';' ) ; | 4424 | // InternalCftLanguage.g:1371:1: rule__ComponentDefinition__Group_3_1__2__Impl : ( ';' ) ; |
3579 | public final void rule__ComponentDefinition__Group_3_1__2__Impl() throws RecognitionException { | 4425 | public final void rule__ComponentDefinition__Group_3_1__2__Impl() throws RecognitionException { |
3580 | 4426 | ||
3581 | int stackSize = keepStackSize(); | 4427 | int stackSize = keepStackSize(); |
3582 | 4428 | ||
3583 | try { | 4429 | try { |
3584 | // InternalCftLanguage.g:1135:1: ( ( ';' ) ) | 4430 | // InternalCftLanguage.g:1375:1: ( ( ';' ) ) |
3585 | // InternalCftLanguage.g:1136:1: ( ';' ) | 4431 | // InternalCftLanguage.g:1376:1: ( ';' ) |
3586 | { | 4432 | { |
3587 | // InternalCftLanguage.g:1136:1: ( ';' ) | 4433 | // InternalCftLanguage.g:1376:1: ( ';' ) |
3588 | // InternalCftLanguage.g:1137:2: ';' | 4434 | // InternalCftLanguage.g:1377:2: ';' |
3589 | { | 4435 | { |
3590 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); | 4436 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); |
3591 | match(input,14,FOLLOW_2); | 4437 | match(input,15,FOLLOW_2); |
3592 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); | 4438 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); |
3593 | 4439 | ||
3594 | } | 4440 | } |
@@ -3612,14 +4458,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3612 | 4458 | ||
3613 | 4459 | ||
3614 | // $ANTLR start "rule__ComponentDefinition__Group_4__0" | 4460 | // $ANTLR start "rule__ComponentDefinition__Group_4__0" |
3615 | // InternalCftLanguage.g:1147:1: rule__ComponentDefinition__Group_4__0 : rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ; | 4461 | // InternalCftLanguage.g:1387:1: rule__ComponentDefinition__Group_4__0 : rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ; |
3616 | public final void rule__ComponentDefinition__Group_4__0() throws RecognitionException { | 4462 | public final void rule__ComponentDefinition__Group_4__0() throws RecognitionException { |
3617 | 4463 | ||
3618 | int stackSize = keepStackSize(); | 4464 | int stackSize = keepStackSize(); |
3619 | 4465 | ||
3620 | try { | 4466 | try { |
3621 | // InternalCftLanguage.g:1151:1: ( rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ) | 4467 | // InternalCftLanguage.g:1391:1: ( rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ) |
3622 | // InternalCftLanguage.g:1152:2: rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 | 4468 | // InternalCftLanguage.g:1392:2: rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 |
3623 | { | 4469 | { |
3624 | pushFollow(FOLLOW_7); | 4470 | pushFollow(FOLLOW_7); |
3625 | rule__ComponentDefinition__Group_4__0__Impl(); | 4471 | rule__ComponentDefinition__Group_4__0__Impl(); |
@@ -3650,21 +4496,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3650 | 4496 | ||
3651 | 4497 | ||
3652 | // $ANTLR start "rule__ComponentDefinition__Group_4__0__Impl" | 4498 | // $ANTLR start "rule__ComponentDefinition__Group_4__0__Impl" |
3653 | // InternalCftLanguage.g:1159:1: rule__ComponentDefinition__Group_4__0__Impl : ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ; | 4499 | // InternalCftLanguage.g:1399:1: rule__ComponentDefinition__Group_4__0__Impl : ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ; |
3654 | public final void rule__ComponentDefinition__Group_4__0__Impl() throws RecognitionException { | 4500 | public final void rule__ComponentDefinition__Group_4__0__Impl() throws RecognitionException { |
3655 | 4501 | ||
3656 | int stackSize = keepStackSize(); | 4502 | int stackSize = keepStackSize(); |
3657 | 4503 | ||
3658 | try { | 4504 | try { |
3659 | // InternalCftLanguage.g:1163:1: ( ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ) | 4505 | // InternalCftLanguage.g:1403:1: ( ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ) |
3660 | // InternalCftLanguage.g:1164:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) | 4506 | // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) |
3661 | { | 4507 | { |
3662 | // InternalCftLanguage.g:1164:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) | 4508 | // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) |
3663 | // InternalCftLanguage.g:1165:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) | 4509 | // InternalCftLanguage.g:1405:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) |
3664 | { | 4510 | { |
3665 | before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); | 4511 | before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); |
3666 | // InternalCftLanguage.g:1166:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) | 4512 | // InternalCftLanguage.g:1406:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) |
3667 | // InternalCftLanguage.g:1166:3: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 | 4513 | // InternalCftLanguage.g:1406:3: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 |
3668 | { | 4514 | { |
3669 | pushFollow(FOLLOW_2); | 4515 | pushFollow(FOLLOW_2); |
3670 | rule__ComponentDefinition__EventDefinitionsAssignment_4_0(); | 4516 | rule__ComponentDefinition__EventDefinitionsAssignment_4_0(); |
@@ -3697,14 +4543,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3697 | 4543 | ||
3698 | 4544 | ||
3699 | // $ANTLR start "rule__ComponentDefinition__Group_4__1" | 4545 | // $ANTLR start "rule__ComponentDefinition__Group_4__1" |
3700 | // InternalCftLanguage.g:1174:1: rule__ComponentDefinition__Group_4__1 : rule__ComponentDefinition__Group_4__1__Impl ; | 4546 | // InternalCftLanguage.g:1414:1: rule__ComponentDefinition__Group_4__1 : rule__ComponentDefinition__Group_4__1__Impl ; |
3701 | public final void rule__ComponentDefinition__Group_4__1() throws RecognitionException { | 4547 | public final void rule__ComponentDefinition__Group_4__1() throws RecognitionException { |
3702 | 4548 | ||
3703 | int stackSize = keepStackSize(); | 4549 | int stackSize = keepStackSize(); |
3704 | 4550 | ||
3705 | try { | 4551 | try { |
3706 | // InternalCftLanguage.g:1178:1: ( rule__ComponentDefinition__Group_4__1__Impl ) | 4552 | // InternalCftLanguage.g:1418:1: ( rule__ComponentDefinition__Group_4__1__Impl ) |
3707 | // InternalCftLanguage.g:1179:2: rule__ComponentDefinition__Group_4__1__Impl | 4553 | // InternalCftLanguage.g:1419:2: rule__ComponentDefinition__Group_4__1__Impl |
3708 | { | 4554 | { |
3709 | pushFollow(FOLLOW_2); | 4555 | pushFollow(FOLLOW_2); |
3710 | rule__ComponentDefinition__Group_4__1__Impl(); | 4556 | rule__ComponentDefinition__Group_4__1__Impl(); |
@@ -3730,20 +4576,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3730 | 4576 | ||
3731 | 4577 | ||
3732 | // $ANTLR start "rule__ComponentDefinition__Group_4__1__Impl" | 4578 | // $ANTLR start "rule__ComponentDefinition__Group_4__1__Impl" |
3733 | // InternalCftLanguage.g:1185:1: rule__ComponentDefinition__Group_4__1__Impl : ( ';' ) ; | 4579 | // InternalCftLanguage.g:1425:1: rule__ComponentDefinition__Group_4__1__Impl : ( ';' ) ; |
3734 | public final void rule__ComponentDefinition__Group_4__1__Impl() throws RecognitionException { | 4580 | public final void rule__ComponentDefinition__Group_4__1__Impl() throws RecognitionException { |
3735 | 4581 | ||
3736 | int stackSize = keepStackSize(); | 4582 | int stackSize = keepStackSize(); |
3737 | 4583 | ||
3738 | try { | 4584 | try { |
3739 | // InternalCftLanguage.g:1189:1: ( ( ';' ) ) | 4585 | // InternalCftLanguage.g:1429:1: ( ( ';' ) ) |
3740 | // InternalCftLanguage.g:1190:1: ( ';' ) | 4586 | // InternalCftLanguage.g:1430:1: ( ';' ) |
3741 | { | 4587 | { |
3742 | // InternalCftLanguage.g:1190:1: ( ';' ) | 4588 | // InternalCftLanguage.g:1430:1: ( ';' ) |
3743 | // InternalCftLanguage.g:1191:2: ';' | 4589 | // InternalCftLanguage.g:1431:2: ';' |
3744 | { | 4590 | { |
3745 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); | 4591 | before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); |
3746 | match(input,14,FOLLOW_2); | 4592 | match(input,15,FOLLOW_2); |
3747 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); | 4593 | after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); |
3748 | 4594 | ||
3749 | } | 4595 | } |
@@ -3767,14 +4613,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3767 | 4613 | ||
3768 | 4614 | ||
3769 | // $ANTLR start "rule__InputEvent__Group__0" | 4615 | // $ANTLR start "rule__InputEvent__Group__0" |
3770 | // InternalCftLanguage.g:1201:1: rule__InputEvent__Group__0 : rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ; | 4616 | // InternalCftLanguage.g:1441:1: rule__InputEvent__Group__0 : rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ; |
3771 | public final void rule__InputEvent__Group__0() throws RecognitionException { | 4617 | public final void rule__InputEvent__Group__0() throws RecognitionException { |
3772 | 4618 | ||
3773 | int stackSize = keepStackSize(); | 4619 | int stackSize = keepStackSize(); |
3774 | 4620 | ||
3775 | try { | 4621 | try { |
3776 | // InternalCftLanguage.g:1205:1: ( rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ) | 4622 | // InternalCftLanguage.g:1445:1: ( rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ) |
3777 | // InternalCftLanguage.g:1206:2: rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 | 4623 | // InternalCftLanguage.g:1446:2: rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 |
3778 | { | 4624 | { |
3779 | pushFollow(FOLLOW_13); | 4625 | pushFollow(FOLLOW_13); |
3780 | rule__InputEvent__Group__0__Impl(); | 4626 | rule__InputEvent__Group__0__Impl(); |
@@ -3805,21 +4651,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3805 | 4651 | ||
3806 | 4652 | ||
3807 | // $ANTLR start "rule__InputEvent__Group__0__Impl" | 4653 | // $ANTLR start "rule__InputEvent__Group__0__Impl" |
3808 | // InternalCftLanguage.g:1213:1: rule__InputEvent__Group__0__Impl : ( ( rule__InputEvent__NameAssignment_0 ) ) ; | 4654 | // InternalCftLanguage.g:1453:1: rule__InputEvent__Group__0__Impl : ( ( rule__InputEvent__NameAssignment_0 ) ) ; |
3809 | public final void rule__InputEvent__Group__0__Impl() throws RecognitionException { | 4655 | public final void rule__InputEvent__Group__0__Impl() throws RecognitionException { |
3810 | 4656 | ||
3811 | int stackSize = keepStackSize(); | 4657 | int stackSize = keepStackSize(); |
3812 | 4658 | ||
3813 | try { | 4659 | try { |
3814 | // InternalCftLanguage.g:1217:1: ( ( ( rule__InputEvent__NameAssignment_0 ) ) ) | 4660 | // InternalCftLanguage.g:1457:1: ( ( ( rule__InputEvent__NameAssignment_0 ) ) ) |
3815 | // InternalCftLanguage.g:1218:1: ( ( rule__InputEvent__NameAssignment_0 ) ) | 4661 | // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) ) |
3816 | { | 4662 | { |
3817 | // InternalCftLanguage.g:1218:1: ( ( rule__InputEvent__NameAssignment_0 ) ) | 4663 | // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) ) |
3818 | // InternalCftLanguage.g:1219:2: ( rule__InputEvent__NameAssignment_0 ) | 4664 | // InternalCftLanguage.g:1459:2: ( rule__InputEvent__NameAssignment_0 ) |
3819 | { | 4665 | { |
3820 | before(grammarAccess.getInputEventAccess().getNameAssignment_0()); | 4666 | before(grammarAccess.getInputEventAccess().getNameAssignment_0()); |
3821 | // InternalCftLanguage.g:1220:2: ( rule__InputEvent__NameAssignment_0 ) | 4667 | // InternalCftLanguage.g:1460:2: ( rule__InputEvent__NameAssignment_0 ) |
3822 | // InternalCftLanguage.g:1220:3: rule__InputEvent__NameAssignment_0 | 4668 | // InternalCftLanguage.g:1460:3: rule__InputEvent__NameAssignment_0 |
3823 | { | 4669 | { |
3824 | pushFollow(FOLLOW_2); | 4670 | pushFollow(FOLLOW_2); |
3825 | rule__InputEvent__NameAssignment_0(); | 4671 | rule__InputEvent__NameAssignment_0(); |
@@ -3852,14 +4698,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3852 | 4698 | ||
3853 | 4699 | ||
3854 | // $ANTLR start "rule__InputEvent__Group__1" | 4700 | // $ANTLR start "rule__InputEvent__Group__1" |
3855 | // InternalCftLanguage.g:1228:1: rule__InputEvent__Group__1 : rule__InputEvent__Group__1__Impl ; | 4701 | // InternalCftLanguage.g:1468:1: rule__InputEvent__Group__1 : rule__InputEvent__Group__1__Impl ; |
3856 | public final void rule__InputEvent__Group__1() throws RecognitionException { | 4702 | public final void rule__InputEvent__Group__1() throws RecognitionException { |
3857 | 4703 | ||
3858 | int stackSize = keepStackSize(); | 4704 | int stackSize = keepStackSize(); |
3859 | 4705 | ||
3860 | try { | 4706 | try { |
3861 | // InternalCftLanguage.g:1232:1: ( rule__InputEvent__Group__1__Impl ) | 4707 | // InternalCftLanguage.g:1472:1: ( rule__InputEvent__Group__1__Impl ) |
3862 | // InternalCftLanguage.g:1233:2: rule__InputEvent__Group__1__Impl | 4708 | // InternalCftLanguage.g:1473:2: rule__InputEvent__Group__1__Impl |
3863 | { | 4709 | { |
3864 | pushFollow(FOLLOW_2); | 4710 | pushFollow(FOLLOW_2); |
3865 | rule__InputEvent__Group__1__Impl(); | 4711 | rule__InputEvent__Group__1__Impl(); |
@@ -3885,29 +4731,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3885 | 4731 | ||
3886 | 4732 | ||
3887 | // $ANTLR start "rule__InputEvent__Group__1__Impl" | 4733 | // $ANTLR start "rule__InputEvent__Group__1__Impl" |
3888 | // InternalCftLanguage.g:1239:1: rule__InputEvent__Group__1__Impl : ( ( rule__InputEvent__MultipleAssignment_1 )? ) ; | 4734 | // InternalCftLanguage.g:1479:1: rule__InputEvent__Group__1__Impl : ( ( rule__InputEvent__MultipleAssignment_1 )? ) ; |
3889 | public final void rule__InputEvent__Group__1__Impl() throws RecognitionException { | 4735 | public final void rule__InputEvent__Group__1__Impl() throws RecognitionException { |
3890 | 4736 | ||
3891 | int stackSize = keepStackSize(); | 4737 | int stackSize = keepStackSize(); |
3892 | 4738 | ||
3893 | try { | 4739 | try { |
3894 | // InternalCftLanguage.g:1243:1: ( ( ( rule__InputEvent__MultipleAssignment_1 )? ) ) | 4740 | // InternalCftLanguage.g:1483:1: ( ( ( rule__InputEvent__MultipleAssignment_1 )? ) ) |
3895 | // InternalCftLanguage.g:1244:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) | 4741 | // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) |
3896 | { | 4742 | { |
3897 | // InternalCftLanguage.g:1244:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) | 4743 | // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) |
3898 | // InternalCftLanguage.g:1245:2: ( rule__InputEvent__MultipleAssignment_1 )? | 4744 | // InternalCftLanguage.g:1485:2: ( rule__InputEvent__MultipleAssignment_1 )? |
3899 | { | 4745 | { |
3900 | before(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); | 4746 | before(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); |
3901 | // InternalCftLanguage.g:1246:2: ( rule__InputEvent__MultipleAssignment_1 )? | 4747 | // InternalCftLanguage.g:1486:2: ( rule__InputEvent__MultipleAssignment_1 )? |
3902 | int alt13=2; | 4748 | int alt17=2; |
3903 | int LA13_0 = input.LA(1); | 4749 | int LA17_0 = input.LA(1); |
3904 | 4750 | ||
3905 | if ( (LA13_0==35) ) { | 4751 | if ( (LA17_0==38) ) { |
3906 | alt13=1; | 4752 | alt17=1; |
3907 | } | 4753 | } |
3908 | switch (alt13) { | 4754 | switch (alt17) { |
3909 | case 1 : | 4755 | case 1 : |
3910 | // InternalCftLanguage.g:1246:3: rule__InputEvent__MultipleAssignment_1 | 4756 | // InternalCftLanguage.g:1486:3: rule__InputEvent__MultipleAssignment_1 |
3911 | { | 4757 | { |
3912 | pushFollow(FOLLOW_2); | 4758 | pushFollow(FOLLOW_2); |
3913 | rule__InputEvent__MultipleAssignment_1(); | 4759 | rule__InputEvent__MultipleAssignment_1(); |
@@ -3943,14 +4789,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3943 | 4789 | ||
3944 | 4790 | ||
3945 | // $ANTLR start "rule__BasicEventDefinition__Group__0" | 4791 | // $ANTLR start "rule__BasicEventDefinition__Group__0" |
3946 | // InternalCftLanguage.g:1255:1: rule__BasicEventDefinition__Group__0 : rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ; | 4792 | // InternalCftLanguage.g:1495:1: rule__BasicEventDefinition__Group__0 : rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ; |
3947 | public final void rule__BasicEventDefinition__Group__0() throws RecognitionException { | 4793 | public final void rule__BasicEventDefinition__Group__0() throws RecognitionException { |
3948 | 4794 | ||
3949 | int stackSize = keepStackSize(); | 4795 | int stackSize = keepStackSize(); |
3950 | 4796 | ||
3951 | try { | 4797 | try { |
3952 | // InternalCftLanguage.g:1259:1: ( rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ) | 4798 | // InternalCftLanguage.g:1499:1: ( rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ) |
3953 | // InternalCftLanguage.g:1260:2: rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 | 4799 | // InternalCftLanguage.g:1500:2: rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 |
3954 | { | 4800 | { |
3955 | pushFollow(FOLLOW_14); | 4801 | pushFollow(FOLLOW_14); |
3956 | rule__BasicEventDefinition__Group__0__Impl(); | 4802 | rule__BasicEventDefinition__Group__0__Impl(); |
@@ -3981,21 +4827,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
3981 | 4827 | ||
3982 | 4828 | ||
3983 | // $ANTLR start "rule__BasicEventDefinition__Group__0__Impl" | 4829 | // $ANTLR start "rule__BasicEventDefinition__Group__0__Impl" |
3984 | // InternalCftLanguage.g:1267:1: rule__BasicEventDefinition__Group__0__Impl : ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ; | 4830 | // InternalCftLanguage.g:1507:1: rule__BasicEventDefinition__Group__0__Impl : ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ; |
3985 | public final void rule__BasicEventDefinition__Group__0__Impl() throws RecognitionException { | 4831 | public final void rule__BasicEventDefinition__Group__0__Impl() throws RecognitionException { |
3986 | 4832 | ||
3987 | int stackSize = keepStackSize(); | 4833 | int stackSize = keepStackSize(); |
3988 | 4834 | ||
3989 | try { | 4835 | try { |
3990 | // InternalCftLanguage.g:1271:1: ( ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ) | 4836 | // InternalCftLanguage.g:1511:1: ( ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ) |
3991 | // InternalCftLanguage.g:1272:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) | 4837 | // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) |
3992 | { | 4838 | { |
3993 | // InternalCftLanguage.g:1272:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) | 4839 | // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) |
3994 | // InternalCftLanguage.g:1273:2: ( rule__BasicEventDefinition__NameAssignment_0 ) | 4840 | // InternalCftLanguage.g:1513:2: ( rule__BasicEventDefinition__NameAssignment_0 ) |
3995 | { | 4841 | { |
3996 | before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); | 4842 | before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); |
3997 | // InternalCftLanguage.g:1274:2: ( rule__BasicEventDefinition__NameAssignment_0 ) | 4843 | // InternalCftLanguage.g:1514:2: ( rule__BasicEventDefinition__NameAssignment_0 ) |
3998 | // InternalCftLanguage.g:1274:3: rule__BasicEventDefinition__NameAssignment_0 | 4844 | // InternalCftLanguage.g:1514:3: rule__BasicEventDefinition__NameAssignment_0 |
3999 | { | 4845 | { |
4000 | pushFollow(FOLLOW_2); | 4846 | pushFollow(FOLLOW_2); |
4001 | rule__BasicEventDefinition__NameAssignment_0(); | 4847 | rule__BasicEventDefinition__NameAssignment_0(); |
@@ -4028,22 +4874,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4028 | 4874 | ||
4029 | 4875 | ||
4030 | // $ANTLR start "rule__BasicEventDefinition__Group__1" | 4876 | // $ANTLR start "rule__BasicEventDefinition__Group__1" |
4031 | // InternalCftLanguage.g:1282:1: rule__BasicEventDefinition__Group__1 : rule__BasicEventDefinition__Group__1__Impl rule__BasicEventDefinition__Group__2 ; | 4877 | // InternalCftLanguage.g:1522:1: rule__BasicEventDefinition__Group__1 : rule__BasicEventDefinition__Group__1__Impl ; |
4032 | public final void rule__BasicEventDefinition__Group__1() throws RecognitionException { | 4878 | public final void rule__BasicEventDefinition__Group__1() throws RecognitionException { |
4033 | 4879 | ||
4034 | int stackSize = keepStackSize(); | 4880 | int stackSize = keepStackSize(); |
4035 | 4881 | ||
4036 | try { | 4882 | try { |
4037 | // InternalCftLanguage.g:1286:1: ( rule__BasicEventDefinition__Group__1__Impl rule__BasicEventDefinition__Group__2 ) | 4883 | // InternalCftLanguage.g:1526:1: ( rule__BasicEventDefinition__Group__1__Impl ) |
4038 | // InternalCftLanguage.g:1287:2: rule__BasicEventDefinition__Group__1__Impl rule__BasicEventDefinition__Group__2 | 4884 | // InternalCftLanguage.g:1527:2: rule__BasicEventDefinition__Group__1__Impl |
4039 | { | 4885 | { |
4040 | pushFollow(FOLLOW_15); | ||
4041 | rule__BasicEventDefinition__Group__1__Impl(); | ||
4042 | |||
4043 | state._fsp--; | ||
4044 | |||
4045 | pushFollow(FOLLOW_2); | 4886 | pushFollow(FOLLOW_2); |
4046 | rule__BasicEventDefinition__Group__2(); | 4887 | rule__BasicEventDefinition__Group__1__Impl(); |
4047 | 4888 | ||
4048 | state._fsp--; | 4889 | state._fsp--; |
4049 | 4890 | ||
@@ -4066,21 +4907,31 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4066 | 4907 | ||
4067 | 4908 | ||
4068 | // $ANTLR start "rule__BasicEventDefinition__Group__1__Impl" | 4909 | // $ANTLR start "rule__BasicEventDefinition__Group__1__Impl" |
4069 | // InternalCftLanguage.g:1294:1: rule__BasicEventDefinition__Group__1__Impl : ( 'lambda' ) ; | 4910 | // InternalCftLanguage.g:1533:1: rule__BasicEventDefinition__Group__1__Impl : ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) ; |
4070 | public final void rule__BasicEventDefinition__Group__1__Impl() throws RecognitionException { | 4911 | public final void rule__BasicEventDefinition__Group__1__Impl() throws RecognitionException { |
4071 | 4912 | ||
4072 | int stackSize = keepStackSize(); | 4913 | int stackSize = keepStackSize(); |
4073 | 4914 | ||
4074 | try { | 4915 | try { |
4075 | // InternalCftLanguage.g:1298:1: ( ( 'lambda' ) ) | 4916 | // InternalCftLanguage.g:1537:1: ( ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) ) |
4076 | // InternalCftLanguage.g:1299:1: ( 'lambda' ) | 4917 | // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) |
4077 | { | 4918 | { |
4078 | // InternalCftLanguage.g:1299:1: ( 'lambda' ) | 4919 | // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) |
4079 | // InternalCftLanguage.g:1300:2: 'lambda' | 4920 | // InternalCftLanguage.g:1539:2: ( rule__BasicEventDefinition__DistributionAssignment_1 ) |
4080 | { | 4921 | { |
4081 | before(grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); | 4922 | before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); |
4082 | match(input,21,FOLLOW_2); | 4923 | // InternalCftLanguage.g:1540:2: ( rule__BasicEventDefinition__DistributionAssignment_1 ) |
4083 | after(grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); | 4924 | // InternalCftLanguage.g:1540:3: rule__BasicEventDefinition__DistributionAssignment_1 |
4925 | { | ||
4926 | pushFollow(FOLLOW_2); | ||
4927 | rule__BasicEventDefinition__DistributionAssignment_1(); | ||
4928 | |||
4929 | state._fsp--; | ||
4930 | |||
4931 | |||
4932 | } | ||
4933 | |||
4934 | after(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); | ||
4084 | 4935 | ||
4085 | } | 4936 | } |
4086 | 4937 | ||
@@ -4102,23 +4953,23 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4102 | // $ANTLR end "rule__BasicEventDefinition__Group__1__Impl" | 4953 | // $ANTLR end "rule__BasicEventDefinition__Group__1__Impl" |
4103 | 4954 | ||
4104 | 4955 | ||
4105 | // $ANTLR start "rule__BasicEventDefinition__Group__2" | 4956 | // $ANTLR start "rule__ConstantDistribution__Group__0" |
4106 | // InternalCftLanguage.g:1309:1: rule__BasicEventDefinition__Group__2 : rule__BasicEventDefinition__Group__2__Impl rule__BasicEventDefinition__Group__3 ; | 4957 | // InternalCftLanguage.g:1549:1: rule__ConstantDistribution__Group__0 : rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 ; |
4107 | public final void rule__BasicEventDefinition__Group__2() throws RecognitionException { | 4958 | public final void rule__ConstantDistribution__Group__0() throws RecognitionException { |
4108 | 4959 | ||
4109 | int stackSize = keepStackSize(); | 4960 | int stackSize = keepStackSize(); |
4110 | 4961 | ||
4111 | try { | 4962 | try { |
4112 | // InternalCftLanguage.g:1313:1: ( rule__BasicEventDefinition__Group__2__Impl rule__BasicEventDefinition__Group__3 ) | 4963 | // InternalCftLanguage.g:1553:1: ( rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 ) |
4113 | // InternalCftLanguage.g:1314:2: rule__BasicEventDefinition__Group__2__Impl rule__BasicEventDefinition__Group__3 | 4964 | // InternalCftLanguage.g:1554:2: rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 |
4114 | { | 4965 | { |
4115 | pushFollow(FOLLOW_16); | 4966 | pushFollow(FOLLOW_15); |
4116 | rule__BasicEventDefinition__Group__2__Impl(); | 4967 | rule__ConstantDistribution__Group__0__Impl(); |
4117 | 4968 | ||
4118 | state._fsp--; | 4969 | state._fsp--; |
4119 | 4970 | ||
4120 | pushFollow(FOLLOW_2); | 4971 | pushFollow(FOLLOW_2); |
4121 | rule__BasicEventDefinition__Group__3(); | 4972 | rule__ConstantDistribution__Group__1(); |
4122 | 4973 | ||
4123 | state._fsp--; | 4974 | state._fsp--; |
4124 | 4975 | ||
@@ -4137,25 +4988,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4137 | } | 4988 | } |
4138 | return ; | 4989 | return ; |
4139 | } | 4990 | } |
4140 | // $ANTLR end "rule__BasicEventDefinition__Group__2" | 4991 | // $ANTLR end "rule__ConstantDistribution__Group__0" |
4141 | 4992 | ||
4142 | 4993 | ||
4143 | // $ANTLR start "rule__BasicEventDefinition__Group__2__Impl" | 4994 | // $ANTLR start "rule__ConstantDistribution__Group__0__Impl" |
4144 | // InternalCftLanguage.g:1321:1: rule__BasicEventDefinition__Group__2__Impl : ( '=' ) ; | 4995 | // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'p' ) ; |
4145 | public final void rule__BasicEventDefinition__Group__2__Impl() throws RecognitionException { | 4996 | public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException { |
4146 | 4997 | ||
4147 | int stackSize = keepStackSize(); | 4998 | int stackSize = keepStackSize(); |
4148 | 4999 | ||
4149 | try { | 5000 | try { |
4150 | // InternalCftLanguage.g:1325:1: ( ( '=' ) ) | 5001 | // InternalCftLanguage.g:1565:1: ( ( 'p' ) ) |
4151 | // InternalCftLanguage.g:1326:1: ( '=' ) | 5002 | // InternalCftLanguage.g:1566:1: ( 'p' ) |
4152 | { | 5003 | { |
4153 | // InternalCftLanguage.g:1326:1: ( '=' ) | 5004 | // InternalCftLanguage.g:1566:1: ( 'p' ) |
4154 | // InternalCftLanguage.g:1327:2: '=' | 5005 | // InternalCftLanguage.g:1567:2: 'p' |
4155 | { | 5006 | { |
4156 | before(grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); | 5007 | before(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); |
4157 | match(input,22,FOLLOW_2); | 5008 | match(input,22,FOLLOW_2); |
4158 | after(grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); | 5009 | after(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); |
4159 | 5010 | ||
4160 | } | 5011 | } |
4161 | 5012 | ||
@@ -4174,21 +5025,26 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4174 | } | 5025 | } |
4175 | return ; | 5026 | return ; |
4176 | } | 5027 | } |
4177 | // $ANTLR end "rule__BasicEventDefinition__Group__2__Impl" | 5028 | // $ANTLR end "rule__ConstantDistribution__Group__0__Impl" |
4178 | 5029 | ||
4179 | 5030 | ||
4180 | // $ANTLR start "rule__BasicEventDefinition__Group__3" | 5031 | // $ANTLR start "rule__ConstantDistribution__Group__1" |
4181 | // InternalCftLanguage.g:1336:1: rule__BasicEventDefinition__Group__3 : rule__BasicEventDefinition__Group__3__Impl ; | 5032 | // InternalCftLanguage.g:1576:1: rule__ConstantDistribution__Group__1 : rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 ; |
4182 | public final void rule__BasicEventDefinition__Group__3() throws RecognitionException { | 5033 | public final void rule__ConstantDistribution__Group__1() throws RecognitionException { |
4183 | 5034 | ||
4184 | int stackSize = keepStackSize(); | 5035 | int stackSize = keepStackSize(); |
4185 | 5036 | ||
4186 | try { | 5037 | try { |
4187 | // InternalCftLanguage.g:1340:1: ( rule__BasicEventDefinition__Group__3__Impl ) | 5038 | // InternalCftLanguage.g:1580:1: ( rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 ) |
4188 | // InternalCftLanguage.g:1341:2: rule__BasicEventDefinition__Group__3__Impl | 5039 | // InternalCftLanguage.g:1581:2: rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 |
4189 | { | 5040 | { |
5041 | pushFollow(FOLLOW_16); | ||
5042 | rule__ConstantDistribution__Group__1__Impl(); | ||
5043 | |||
5044 | state._fsp--; | ||
5045 | |||
4190 | pushFollow(FOLLOW_2); | 5046 | pushFollow(FOLLOW_2); |
4191 | rule__BasicEventDefinition__Group__3__Impl(); | 5047 | rule__ConstantDistribution__Group__2(); |
4192 | 5048 | ||
4193 | state._fsp--; | 5049 | state._fsp--; |
4194 | 5050 | ||
@@ -4207,35 +5063,180 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4207 | } | 5063 | } |
4208 | return ; | 5064 | return ; |
4209 | } | 5065 | } |
4210 | // $ANTLR end "rule__BasicEventDefinition__Group__3" | 5066 | // $ANTLR end "rule__ConstantDistribution__Group__1" |
4211 | 5067 | ||
4212 | 5068 | ||
4213 | // $ANTLR start "rule__BasicEventDefinition__Group__3__Impl" | 5069 | // $ANTLR start "rule__ConstantDistribution__Group__1__Impl" |
4214 | // InternalCftLanguage.g:1347:1: rule__BasicEventDefinition__Group__3__Impl : ( ( rule__BasicEventDefinition__RateAssignment_3 ) ) ; | 5070 | // InternalCftLanguage.g:1588:1: rule__ConstantDistribution__Group__1__Impl : ( '=' ) ; |
4215 | public final void rule__BasicEventDefinition__Group__3__Impl() throws RecognitionException { | 5071 | public final void rule__ConstantDistribution__Group__1__Impl() throws RecognitionException { |
4216 | 5072 | ||
4217 | int stackSize = keepStackSize(); | 5073 | int stackSize = keepStackSize(); |
4218 | 5074 | ||
4219 | try { | 5075 | try { |
4220 | // InternalCftLanguage.g:1351:1: ( ( ( rule__BasicEventDefinition__RateAssignment_3 ) ) ) | 5076 | // InternalCftLanguage.g:1592:1: ( ( '=' ) ) |
4221 | // InternalCftLanguage.g:1352:1: ( ( rule__BasicEventDefinition__RateAssignment_3 ) ) | 5077 | // InternalCftLanguage.g:1593:1: ( '=' ) |
4222 | { | 5078 | { |
4223 | // InternalCftLanguage.g:1352:1: ( ( rule__BasicEventDefinition__RateAssignment_3 ) ) | 5079 | // InternalCftLanguage.g:1593:1: ( '=' ) |
4224 | // InternalCftLanguage.g:1353:2: ( rule__BasicEventDefinition__RateAssignment_3 ) | 5080 | // InternalCftLanguage.g:1594:2: '=' |
4225 | { | 5081 | { |
4226 | before(grammarAccess.getBasicEventDefinitionAccess().getRateAssignment_3()); | 5082 | before(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); |
4227 | // InternalCftLanguage.g:1354:2: ( rule__BasicEventDefinition__RateAssignment_3 ) | 5083 | match(input,23,FOLLOW_2); |
4228 | // InternalCftLanguage.g:1354:3: rule__BasicEventDefinition__RateAssignment_3 | 5084 | after(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); |
5085 | |||
5086 | } | ||
5087 | |||
5088 | |||
5089 | } | ||
5090 | |||
5091 | } | ||
5092 | catch (RecognitionException re) { | ||
5093 | reportError(re); | ||
5094 | recover(input,re); | ||
5095 | } | ||
5096 | finally { | ||
5097 | |||
5098 | restoreStackSize(stackSize); | ||
5099 | |||
5100 | } | ||
5101 | return ; | ||
5102 | } | ||
5103 | // $ANTLR end "rule__ConstantDistribution__Group__1__Impl" | ||
5104 | |||
5105 | |||
5106 | // $ANTLR start "rule__ConstantDistribution__Group__2" | ||
5107 | // InternalCftLanguage.g:1603:1: rule__ConstantDistribution__Group__2 : rule__ConstantDistribution__Group__2__Impl ; | ||
5108 | public final void rule__ConstantDistribution__Group__2() throws RecognitionException { | ||
5109 | |||
5110 | int stackSize = keepStackSize(); | ||
5111 | |||
5112 | try { | ||
5113 | // InternalCftLanguage.g:1607:1: ( rule__ConstantDistribution__Group__2__Impl ) | ||
5114 | // InternalCftLanguage.g:1608:2: rule__ConstantDistribution__Group__2__Impl | ||
4229 | { | 5115 | { |
4230 | pushFollow(FOLLOW_2); | 5116 | pushFollow(FOLLOW_2); |
4231 | rule__BasicEventDefinition__RateAssignment_3(); | 5117 | rule__ConstantDistribution__Group__2__Impl(); |
4232 | 5118 | ||
4233 | state._fsp--; | 5119 | state._fsp--; |
4234 | 5120 | ||
4235 | 5121 | ||
4236 | } | 5122 | } |
4237 | 5123 | ||
4238 | after(grammarAccess.getBasicEventDefinitionAccess().getRateAssignment_3()); | 5124 | } |
5125 | catch (RecognitionException re) { | ||
5126 | reportError(re); | ||
5127 | recover(input,re); | ||
5128 | } | ||
5129 | finally { | ||
5130 | |||
5131 | restoreStackSize(stackSize); | ||
5132 | |||
5133 | } | ||
5134 | return ; | ||
5135 | } | ||
5136 | // $ANTLR end "rule__ConstantDistribution__Group__2" | ||
5137 | |||
5138 | |||
5139 | // $ANTLR start "rule__ConstantDistribution__Group__2__Impl" | ||
5140 | // InternalCftLanguage.g:1614:1: rule__ConstantDistribution__Group__2__Impl : ( ( rule__ConstantDistribution__PAssignment_2 ) ) ; | ||
5141 | public final void rule__ConstantDistribution__Group__2__Impl() throws RecognitionException { | ||
5142 | |||
5143 | int stackSize = keepStackSize(); | ||
5144 | |||
5145 | try { | ||
5146 | // InternalCftLanguage.g:1618:1: ( ( ( rule__ConstantDistribution__PAssignment_2 ) ) ) | ||
5147 | // InternalCftLanguage.g:1619:1: ( ( rule__ConstantDistribution__PAssignment_2 ) ) | ||
5148 | { | ||
5149 | // InternalCftLanguage.g:1619:1: ( ( rule__ConstantDistribution__PAssignment_2 ) ) | ||
5150 | // InternalCftLanguage.g:1620:2: ( rule__ConstantDistribution__PAssignment_2 ) | ||
5151 | { | ||
5152 | before(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); | ||
5153 | // InternalCftLanguage.g:1621:2: ( rule__ConstantDistribution__PAssignment_2 ) | ||
5154 | // InternalCftLanguage.g:1621:3: rule__ConstantDistribution__PAssignment_2 | ||
5155 | { | ||
5156 | pushFollow(FOLLOW_2); | ||
5157 | rule__ConstantDistribution__PAssignment_2(); | ||
5158 | |||
5159 | state._fsp--; | ||
5160 | |||
5161 | |||
5162 | } | ||
5163 | |||
5164 | after(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); | ||
5165 | |||
5166 | } | ||
5167 | |||
5168 | |||
5169 | } | ||
5170 | |||
5171 | } | ||
5172 | catch (RecognitionException re) { | ||
5173 | reportError(re); | ||
5174 | recover(input,re); | ||
5175 | } | ||
5176 | finally { | ||
5177 | |||
5178 | restoreStackSize(stackSize); | ||
5179 | |||
5180 | } | ||
5181 | return ; | ||
5182 | } | ||
5183 | // $ANTLR end "rule__ConstantDistribution__Group__2__Impl" | ||
5184 | |||
5185 | |||
5186 | // $ANTLR start "rule__ExponentialDistribution__Group__0" | ||
5187 | // InternalCftLanguage.g:1630:1: rule__ExponentialDistribution__Group__0 : rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 ; | ||
5188 | public final void rule__ExponentialDistribution__Group__0() throws RecognitionException { | ||
5189 | |||
5190 | int stackSize = keepStackSize(); | ||
5191 | |||
5192 | try { | ||
5193 | // InternalCftLanguage.g:1634:1: ( rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 ) | ||
5194 | // InternalCftLanguage.g:1635:2: rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 | ||
5195 | { | ||
5196 | pushFollow(FOLLOW_15); | ||
5197 | rule__ExponentialDistribution__Group__0__Impl(); | ||
5198 | |||
5199 | state._fsp--; | ||
5200 | |||
5201 | pushFollow(FOLLOW_2); | ||
5202 | rule__ExponentialDistribution__Group__1(); | ||
5203 | |||
5204 | state._fsp--; | ||
5205 | |||
5206 | |||
5207 | } | ||
5208 | |||
5209 | } | ||
5210 | catch (RecognitionException re) { | ||
5211 | reportError(re); | ||
5212 | recover(input,re); | ||
5213 | } | ||
5214 | finally { | ||
5215 | |||
5216 | restoreStackSize(stackSize); | ||
5217 | |||
5218 | } | ||
5219 | return ; | ||
5220 | } | ||
5221 | // $ANTLR end "rule__ExponentialDistribution__Group__0" | ||
5222 | |||
5223 | |||
5224 | // $ANTLR start "rule__ExponentialDistribution__Group__0__Impl" | ||
5225 | // InternalCftLanguage.g:1642:1: rule__ExponentialDistribution__Group__0__Impl : ( 'lambda' ) ; | ||
5226 | public final void rule__ExponentialDistribution__Group__0__Impl() throws RecognitionException { | ||
5227 | |||
5228 | int stackSize = keepStackSize(); | ||
5229 | |||
5230 | try { | ||
5231 | // InternalCftLanguage.g:1646:1: ( ( 'lambda' ) ) | ||
5232 | // InternalCftLanguage.g:1647:1: ( 'lambda' ) | ||
5233 | { | ||
5234 | // InternalCftLanguage.g:1647:1: ( 'lambda' ) | ||
5235 | // InternalCftLanguage.g:1648:2: 'lambda' | ||
5236 | { | ||
5237 | before(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); | ||
5238 | match(input,24,FOLLOW_2); | ||
5239 | after(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); | ||
4239 | 5240 | ||
4240 | } | 5241 | } |
4241 | 5242 | ||
@@ -4254,26 +5255,181 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4254 | } | 5255 | } |
4255 | return ; | 5256 | return ; |
4256 | } | 5257 | } |
4257 | // $ANTLR end "rule__BasicEventDefinition__Group__3__Impl" | 5258 | // $ANTLR end "rule__ExponentialDistribution__Group__0__Impl" |
4258 | 5259 | ||
4259 | 5260 | ||
4260 | // $ANTLR start "rule__AndGate__Group__0" | 5261 | // $ANTLR start "rule__ExponentialDistribution__Group__1" |
4261 | // InternalCftLanguage.g:1363:1: rule__AndGate__Group__0 : rule__AndGate__Group__0__Impl rule__AndGate__Group__1 ; | 5262 | // InternalCftLanguage.g:1657:1: rule__ExponentialDistribution__Group__1 : rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 ; |
4262 | public final void rule__AndGate__Group__0() throws RecognitionException { | 5263 | public final void rule__ExponentialDistribution__Group__1() throws RecognitionException { |
4263 | 5264 | ||
4264 | int stackSize = keepStackSize(); | 5265 | int stackSize = keepStackSize(); |
4265 | 5266 | ||
4266 | try { | 5267 | try { |
4267 | // InternalCftLanguage.g:1367:1: ( rule__AndGate__Group__0__Impl rule__AndGate__Group__1 ) | 5268 | // InternalCftLanguage.g:1661:1: ( rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 ) |
4268 | // InternalCftLanguage.g:1368:2: rule__AndGate__Group__0__Impl rule__AndGate__Group__1 | 5269 | // InternalCftLanguage.g:1662:2: rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 |
5270 | { | ||
5271 | pushFollow(FOLLOW_16); | ||
5272 | rule__ExponentialDistribution__Group__1__Impl(); | ||
5273 | |||
5274 | state._fsp--; | ||
5275 | |||
5276 | pushFollow(FOLLOW_2); | ||
5277 | rule__ExponentialDistribution__Group__2(); | ||
5278 | |||
5279 | state._fsp--; | ||
5280 | |||
5281 | |||
5282 | } | ||
5283 | |||
5284 | } | ||
5285 | catch (RecognitionException re) { | ||
5286 | reportError(re); | ||
5287 | recover(input,re); | ||
5288 | } | ||
5289 | finally { | ||
5290 | |||
5291 | restoreStackSize(stackSize); | ||
5292 | |||
5293 | } | ||
5294 | return ; | ||
5295 | } | ||
5296 | // $ANTLR end "rule__ExponentialDistribution__Group__1" | ||
5297 | |||
5298 | |||
5299 | // $ANTLR start "rule__ExponentialDistribution__Group__1__Impl" | ||
5300 | // InternalCftLanguage.g:1669:1: rule__ExponentialDistribution__Group__1__Impl : ( '=' ) ; | ||
5301 | public final void rule__ExponentialDistribution__Group__1__Impl() throws RecognitionException { | ||
5302 | |||
5303 | int stackSize = keepStackSize(); | ||
5304 | |||
5305 | try { | ||
5306 | // InternalCftLanguage.g:1673:1: ( ( '=' ) ) | ||
5307 | // InternalCftLanguage.g:1674:1: ( '=' ) | ||
5308 | { | ||
5309 | // InternalCftLanguage.g:1674:1: ( '=' ) | ||
5310 | // InternalCftLanguage.g:1675:2: '=' | ||
5311 | { | ||
5312 | before(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); | ||
5313 | match(input,23,FOLLOW_2); | ||
5314 | after(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); | ||
5315 | |||
5316 | } | ||
5317 | |||
5318 | |||
5319 | } | ||
5320 | |||
5321 | } | ||
5322 | catch (RecognitionException re) { | ||
5323 | reportError(re); | ||
5324 | recover(input,re); | ||
5325 | } | ||
5326 | finally { | ||
5327 | |||
5328 | restoreStackSize(stackSize); | ||
5329 | |||
5330 | } | ||
5331 | return ; | ||
5332 | } | ||
5333 | // $ANTLR end "rule__ExponentialDistribution__Group__1__Impl" | ||
5334 | |||
5335 | |||
5336 | // $ANTLR start "rule__ExponentialDistribution__Group__2" | ||
5337 | // InternalCftLanguage.g:1684:1: rule__ExponentialDistribution__Group__2 : rule__ExponentialDistribution__Group__2__Impl ; | ||
5338 | public final void rule__ExponentialDistribution__Group__2() throws RecognitionException { | ||
5339 | |||
5340 | int stackSize = keepStackSize(); | ||
5341 | |||
5342 | try { | ||
5343 | // InternalCftLanguage.g:1688:1: ( rule__ExponentialDistribution__Group__2__Impl ) | ||
5344 | // InternalCftLanguage.g:1689:2: rule__ExponentialDistribution__Group__2__Impl | ||
5345 | { | ||
5346 | pushFollow(FOLLOW_2); | ||
5347 | rule__ExponentialDistribution__Group__2__Impl(); | ||
5348 | |||
5349 | state._fsp--; | ||
5350 | |||
5351 | |||
5352 | } | ||
5353 | |||
5354 | } | ||
5355 | catch (RecognitionException re) { | ||
5356 | reportError(re); | ||
5357 | recover(input,re); | ||
5358 | } | ||
5359 | finally { | ||
5360 | |||
5361 | restoreStackSize(stackSize); | ||
5362 | |||
5363 | } | ||
5364 | return ; | ||
5365 | } | ||
5366 | // $ANTLR end "rule__ExponentialDistribution__Group__2" | ||
5367 | |||
5368 | |||
5369 | // $ANTLR start "rule__ExponentialDistribution__Group__2__Impl" | ||
5370 | // InternalCftLanguage.g:1695:1: rule__ExponentialDistribution__Group__2__Impl : ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) ; | ||
5371 | public final void rule__ExponentialDistribution__Group__2__Impl() throws RecognitionException { | ||
5372 | |||
5373 | int stackSize = keepStackSize(); | ||
5374 | |||
5375 | try { | ||
5376 | // InternalCftLanguage.g:1699:1: ( ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) ) | ||
5377 | // InternalCftLanguage.g:1700:1: ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) | ||
5378 | { | ||
5379 | // InternalCftLanguage.g:1700:1: ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) | ||
5380 | // InternalCftLanguage.g:1701:2: ( rule__ExponentialDistribution__LambdaAssignment_2 ) | ||
5381 | { | ||
5382 | before(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); | ||
5383 | // InternalCftLanguage.g:1702:2: ( rule__ExponentialDistribution__LambdaAssignment_2 ) | ||
5384 | // InternalCftLanguage.g:1702:3: rule__ExponentialDistribution__LambdaAssignment_2 | ||
5385 | { | ||
5386 | pushFollow(FOLLOW_2); | ||
5387 | rule__ExponentialDistribution__LambdaAssignment_2(); | ||
5388 | |||
5389 | state._fsp--; | ||
5390 | |||
5391 | |||
5392 | } | ||
5393 | |||
5394 | after(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); | ||
5395 | |||
5396 | } | ||
5397 | |||
5398 | |||
5399 | } | ||
5400 | |||
5401 | } | ||
5402 | catch (RecognitionException re) { | ||
5403 | reportError(re); | ||
5404 | recover(input,re); | ||
5405 | } | ||
5406 | finally { | ||
5407 | |||
5408 | restoreStackSize(stackSize); | ||
5409 | |||
5410 | } | ||
5411 | return ; | ||
5412 | } | ||
5413 | // $ANTLR end "rule__ExponentialDistribution__Group__2__Impl" | ||
5414 | |||
5415 | |||
5416 | // $ANTLR start "rule__AndGateDefinition__Group__0" | ||
5417 | // InternalCftLanguage.g:1711:1: rule__AndGateDefinition__Group__0 : rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 ; | ||
5418 | public final void rule__AndGateDefinition__Group__0() throws RecognitionException { | ||
5419 | |||
5420 | int stackSize = keepStackSize(); | ||
5421 | |||
5422 | try { | ||
5423 | // InternalCftLanguage.g:1715:1: ( rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 ) | ||
5424 | // InternalCftLanguage.g:1716:2: rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 | ||
4269 | { | 5425 | { |
4270 | pushFollow(FOLLOW_17); | 5426 | pushFollow(FOLLOW_17); |
4271 | rule__AndGate__Group__0__Impl(); | 5427 | rule__AndGateDefinition__Group__0__Impl(); |
4272 | 5428 | ||
4273 | state._fsp--; | 5429 | state._fsp--; |
4274 | 5430 | ||
4275 | pushFollow(FOLLOW_2); | 5431 | pushFollow(FOLLOW_2); |
4276 | rule__AndGate__Group__1(); | 5432 | rule__AndGateDefinition__Group__1(); |
4277 | 5433 | ||
4278 | state._fsp--; | 5434 | state._fsp--; |
4279 | 5435 | ||
@@ -4292,35 +5448,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4292 | } | 5448 | } |
4293 | return ; | 5449 | return ; |
4294 | } | 5450 | } |
4295 | // $ANTLR end "rule__AndGate__Group__0" | 5451 | // $ANTLR end "rule__AndGateDefinition__Group__0" |
4296 | 5452 | ||
4297 | 5453 | ||
4298 | // $ANTLR start "rule__AndGate__Group__0__Impl" | 5454 | // $ANTLR start "rule__AndGateDefinition__Group__0__Impl" |
4299 | // InternalCftLanguage.g:1375:1: rule__AndGate__Group__0__Impl : ( ( rule__AndGate__NameAssignment_0 ) ) ; | 5455 | // InternalCftLanguage.g:1723:1: rule__AndGateDefinition__Group__0__Impl : ( ( rule__AndGateDefinition__NameAssignment_0 ) ) ; |
4300 | public final void rule__AndGate__Group__0__Impl() throws RecognitionException { | 5456 | public final void rule__AndGateDefinition__Group__0__Impl() throws RecognitionException { |
4301 | 5457 | ||
4302 | int stackSize = keepStackSize(); | 5458 | int stackSize = keepStackSize(); |
4303 | 5459 | ||
4304 | try { | 5460 | try { |
4305 | // InternalCftLanguage.g:1379:1: ( ( ( rule__AndGate__NameAssignment_0 ) ) ) | 5461 | // InternalCftLanguage.g:1727:1: ( ( ( rule__AndGateDefinition__NameAssignment_0 ) ) ) |
4306 | // InternalCftLanguage.g:1380:1: ( ( rule__AndGate__NameAssignment_0 ) ) | 5462 | // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) ) |
4307 | { | 5463 | { |
4308 | // InternalCftLanguage.g:1380:1: ( ( rule__AndGate__NameAssignment_0 ) ) | 5464 | // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) ) |
4309 | // InternalCftLanguage.g:1381:2: ( rule__AndGate__NameAssignment_0 ) | 5465 | // InternalCftLanguage.g:1729:2: ( rule__AndGateDefinition__NameAssignment_0 ) |
4310 | { | 5466 | { |
4311 | before(grammarAccess.getAndGateAccess().getNameAssignment_0()); | 5467 | before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); |
4312 | // InternalCftLanguage.g:1382:2: ( rule__AndGate__NameAssignment_0 ) | 5468 | // InternalCftLanguage.g:1730:2: ( rule__AndGateDefinition__NameAssignment_0 ) |
4313 | // InternalCftLanguage.g:1382:3: rule__AndGate__NameAssignment_0 | 5469 | // InternalCftLanguage.g:1730:3: rule__AndGateDefinition__NameAssignment_0 |
4314 | { | 5470 | { |
4315 | pushFollow(FOLLOW_2); | 5471 | pushFollow(FOLLOW_2); |
4316 | rule__AndGate__NameAssignment_0(); | 5472 | rule__AndGateDefinition__NameAssignment_0(); |
4317 | 5473 | ||
4318 | state._fsp--; | 5474 | state._fsp--; |
4319 | 5475 | ||
4320 | 5476 | ||
4321 | } | 5477 | } |
4322 | 5478 | ||
4323 | after(grammarAccess.getAndGateAccess().getNameAssignment_0()); | 5479 | after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); |
4324 | 5480 | ||
4325 | } | 5481 | } |
4326 | 5482 | ||
@@ -4339,26 +5495,26 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4339 | } | 5495 | } |
4340 | return ; | 5496 | return ; |
4341 | } | 5497 | } |
4342 | // $ANTLR end "rule__AndGate__Group__0__Impl" | 5498 | // $ANTLR end "rule__AndGateDefinition__Group__0__Impl" |
4343 | 5499 | ||
4344 | 5500 | ||
4345 | // $ANTLR start "rule__AndGate__Group__1" | 5501 | // $ANTLR start "rule__AndGateDefinition__Group__1" |
4346 | // InternalCftLanguage.g:1390:1: rule__AndGate__Group__1 : rule__AndGate__Group__1__Impl rule__AndGate__Group__2 ; | 5502 | // InternalCftLanguage.g:1738:1: rule__AndGateDefinition__Group__1 : rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 ; |
4347 | public final void rule__AndGate__Group__1() throws RecognitionException { | 5503 | public final void rule__AndGateDefinition__Group__1() throws RecognitionException { |
4348 | 5504 | ||
4349 | int stackSize = keepStackSize(); | 5505 | int stackSize = keepStackSize(); |
4350 | 5506 | ||
4351 | try { | 5507 | try { |
4352 | // InternalCftLanguage.g:1394:1: ( rule__AndGate__Group__1__Impl rule__AndGate__Group__2 ) | 5508 | // InternalCftLanguage.g:1742:1: ( rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 ) |
4353 | // InternalCftLanguage.g:1395:2: rule__AndGate__Group__1__Impl rule__AndGate__Group__2 | 5509 | // InternalCftLanguage.g:1743:2: rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 |
4354 | { | 5510 | { |
4355 | pushFollow(FOLLOW_3); | 5511 | pushFollow(FOLLOW_3); |
4356 | rule__AndGate__Group__1__Impl(); | 5512 | rule__AndGateDefinition__Group__1__Impl(); |
4357 | 5513 | ||
4358 | state._fsp--; | 5514 | state._fsp--; |
4359 | 5515 | ||
4360 | pushFollow(FOLLOW_2); | 5516 | pushFollow(FOLLOW_2); |
4361 | rule__AndGate__Group__2(); | 5517 | rule__AndGateDefinition__Group__2(); |
4362 | 5518 | ||
4363 | state._fsp--; | 5519 | state._fsp--; |
4364 | 5520 | ||
@@ -4377,25 +5533,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4377 | } | 5533 | } |
4378 | return ; | 5534 | return ; |
4379 | } | 5535 | } |
4380 | // $ANTLR end "rule__AndGate__Group__1" | 5536 | // $ANTLR end "rule__AndGateDefinition__Group__1" |
4381 | 5537 | ||
4382 | 5538 | ||
4383 | // $ANTLR start "rule__AndGate__Group__1__Impl" | 5539 | // $ANTLR start "rule__AndGateDefinition__Group__1__Impl" |
4384 | // InternalCftLanguage.g:1402:1: rule__AndGate__Group__1__Impl : ( 'and' ) ; | 5540 | // InternalCftLanguage.g:1750:1: rule__AndGateDefinition__Group__1__Impl : ( 'and' ) ; |
4385 | public final void rule__AndGate__Group__1__Impl() throws RecognitionException { | 5541 | public final void rule__AndGateDefinition__Group__1__Impl() throws RecognitionException { |
4386 | 5542 | ||
4387 | int stackSize = keepStackSize(); | 5543 | int stackSize = keepStackSize(); |
4388 | 5544 | ||
4389 | try { | 5545 | try { |
4390 | // InternalCftLanguage.g:1406:1: ( ( 'and' ) ) | 5546 | // InternalCftLanguage.g:1754:1: ( ( 'and' ) ) |
4391 | // InternalCftLanguage.g:1407:1: ( 'and' ) | 5547 | // InternalCftLanguage.g:1755:1: ( 'and' ) |
4392 | { | 5548 | { |
4393 | // InternalCftLanguage.g:1407:1: ( 'and' ) | 5549 | // InternalCftLanguage.g:1755:1: ( 'and' ) |
4394 | // InternalCftLanguage.g:1408:2: 'and' | 5550 | // InternalCftLanguage.g:1756:2: 'and' |
4395 | { | 5551 | { |
4396 | before(grammarAccess.getAndGateAccess().getAndKeyword_1()); | 5552 | before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); |
4397 | match(input,23,FOLLOW_2); | 5553 | match(input,25,FOLLOW_2); |
4398 | after(grammarAccess.getAndGateAccess().getAndKeyword_1()); | 5554 | after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); |
4399 | 5555 | ||
4400 | } | 5556 | } |
4401 | 5557 | ||
@@ -4414,21 +5570,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4414 | } | 5570 | } |
4415 | return ; | 5571 | return ; |
4416 | } | 5572 | } |
4417 | // $ANTLR end "rule__AndGate__Group__1__Impl" | 5573 | // $ANTLR end "rule__AndGateDefinition__Group__1__Impl" |
4418 | 5574 | ||
4419 | 5575 | ||
4420 | // $ANTLR start "rule__AndGate__Group__2" | 5576 | // $ANTLR start "rule__AndGateDefinition__Group__2" |
4421 | // InternalCftLanguage.g:1417:1: rule__AndGate__Group__2 : rule__AndGate__Group__2__Impl ; | 5577 | // InternalCftLanguage.g:1765:1: rule__AndGateDefinition__Group__2 : rule__AndGateDefinition__Group__2__Impl ; |
4422 | public final void rule__AndGate__Group__2() throws RecognitionException { | 5578 | public final void rule__AndGateDefinition__Group__2() throws RecognitionException { |
4423 | 5579 | ||
4424 | int stackSize = keepStackSize(); | 5580 | int stackSize = keepStackSize(); |
4425 | 5581 | ||
4426 | try { | 5582 | try { |
4427 | // InternalCftLanguage.g:1421:1: ( rule__AndGate__Group__2__Impl ) | 5583 | // InternalCftLanguage.g:1769:1: ( rule__AndGateDefinition__Group__2__Impl ) |
4428 | // InternalCftLanguage.g:1422:2: rule__AndGate__Group__2__Impl | 5584 | // InternalCftLanguage.g:1770:2: rule__AndGateDefinition__Group__2__Impl |
4429 | { | 5585 | { |
4430 | pushFollow(FOLLOW_2); | 5586 | pushFollow(FOLLOW_2); |
4431 | rule__AndGate__Group__2__Impl(); | 5587 | rule__AndGateDefinition__Group__2__Impl(); |
4432 | 5588 | ||
4433 | state._fsp--; | 5589 | state._fsp--; |
4434 | 5590 | ||
@@ -4447,40 +5603,40 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4447 | } | 5603 | } |
4448 | return ; | 5604 | return ; |
4449 | } | 5605 | } |
4450 | // $ANTLR end "rule__AndGate__Group__2" | 5606 | // $ANTLR end "rule__AndGateDefinition__Group__2" |
4451 | 5607 | ||
4452 | 5608 | ||
4453 | // $ANTLR start "rule__AndGate__Group__2__Impl" | 5609 | // $ANTLR start "rule__AndGateDefinition__Group__2__Impl" |
4454 | // InternalCftLanguage.g:1428:1: rule__AndGate__Group__2__Impl : ( ( rule__AndGate__InputEventsAssignment_2 )* ) ; | 5610 | // InternalCftLanguage.g:1776:1: rule__AndGateDefinition__Group__2__Impl : ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) ; |
4455 | public final void rule__AndGate__Group__2__Impl() throws RecognitionException { | 5611 | public final void rule__AndGateDefinition__Group__2__Impl() throws RecognitionException { |
4456 | 5612 | ||
4457 | int stackSize = keepStackSize(); | 5613 | int stackSize = keepStackSize(); |
4458 | 5614 | ||
4459 | try { | 5615 | try { |
4460 | // InternalCftLanguage.g:1432:1: ( ( ( rule__AndGate__InputEventsAssignment_2 )* ) ) | 5616 | // InternalCftLanguage.g:1780:1: ( ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) ) |
4461 | // InternalCftLanguage.g:1433:1: ( ( rule__AndGate__InputEventsAssignment_2 )* ) | 5617 | // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) |
4462 | { | 5618 | { |
4463 | // InternalCftLanguage.g:1433:1: ( ( rule__AndGate__InputEventsAssignment_2 )* ) | 5619 | // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) |
4464 | // InternalCftLanguage.g:1434:2: ( rule__AndGate__InputEventsAssignment_2 )* | 5620 | // InternalCftLanguage.g:1782:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )* |
4465 | { | 5621 | { |
4466 | before(grammarAccess.getAndGateAccess().getInputEventsAssignment_2()); | 5622 | before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); |
4467 | // InternalCftLanguage.g:1435:2: ( rule__AndGate__InputEventsAssignment_2 )* | 5623 | // InternalCftLanguage.g:1783:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )* |
4468 | loop14: | 5624 | loop18: |
4469 | do { | 5625 | do { |
4470 | int alt14=2; | 5626 | int alt18=2; |
4471 | int LA14_0 = input.LA(1); | 5627 | int LA18_0 = input.LA(1); |
4472 | 5628 | ||
4473 | if ( (LA14_0==RULE_ID) ) { | 5629 | if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_OF_INT)) ) { |
4474 | alt14=1; | 5630 | alt18=1; |
4475 | } | 5631 | } |
4476 | 5632 | ||
4477 | 5633 | ||
4478 | switch (alt14) { | 5634 | switch (alt18) { |
4479 | case 1 : | 5635 | case 1 : |
4480 | // InternalCftLanguage.g:1435:3: rule__AndGate__InputEventsAssignment_2 | 5636 | // InternalCftLanguage.g:1783:3: rule__AndGateDefinition__InputEventsAssignment_2 |
4481 | { | 5637 | { |
4482 | pushFollow(FOLLOW_11); | 5638 | pushFollow(FOLLOW_11); |
4483 | rule__AndGate__InputEventsAssignment_2(); | 5639 | rule__AndGateDefinition__InputEventsAssignment_2(); |
4484 | 5640 | ||
4485 | state._fsp--; | 5641 | state._fsp--; |
4486 | 5642 | ||
@@ -4489,11 +5645,11 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4489 | break; | 5645 | break; |
4490 | 5646 | ||
4491 | default : | 5647 | default : |
4492 | break loop14; | 5648 | break loop18; |
4493 | } | 5649 | } |
4494 | } while (true); | 5650 | } while (true); |
4495 | 5651 | ||
4496 | after(grammarAccess.getAndGateAccess().getInputEventsAssignment_2()); | 5652 | after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); |
4497 | 5653 | ||
4498 | } | 5654 | } |
4499 | 5655 | ||
@@ -4512,26 +5668,26 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4512 | } | 5668 | } |
4513 | return ; | 5669 | return ; |
4514 | } | 5670 | } |
4515 | // $ANTLR end "rule__AndGate__Group__2__Impl" | 5671 | // $ANTLR end "rule__AndGateDefinition__Group__2__Impl" |
4516 | 5672 | ||
4517 | 5673 | ||
4518 | // $ANTLR start "rule__OrGate__Group__0" | 5674 | // $ANTLR start "rule__OrGateDefinition__Group__0" |
4519 | // InternalCftLanguage.g:1444:1: rule__OrGate__Group__0 : rule__OrGate__Group__0__Impl rule__OrGate__Group__1 ; | 5675 | // InternalCftLanguage.g:1792:1: rule__OrGateDefinition__Group__0 : rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 ; |
4520 | public final void rule__OrGate__Group__0() throws RecognitionException { | 5676 | public final void rule__OrGateDefinition__Group__0() throws RecognitionException { |
4521 | 5677 | ||
4522 | int stackSize = keepStackSize(); | 5678 | int stackSize = keepStackSize(); |
4523 | 5679 | ||
4524 | try { | 5680 | try { |
4525 | // InternalCftLanguage.g:1448:1: ( rule__OrGate__Group__0__Impl rule__OrGate__Group__1 ) | 5681 | // InternalCftLanguage.g:1796:1: ( rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 ) |
4526 | // InternalCftLanguage.g:1449:2: rule__OrGate__Group__0__Impl rule__OrGate__Group__1 | 5682 | // InternalCftLanguage.g:1797:2: rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 |
4527 | { | 5683 | { |
4528 | pushFollow(FOLLOW_18); | 5684 | pushFollow(FOLLOW_18); |
4529 | rule__OrGate__Group__0__Impl(); | 5685 | rule__OrGateDefinition__Group__0__Impl(); |
4530 | 5686 | ||
4531 | state._fsp--; | 5687 | state._fsp--; |
4532 | 5688 | ||
4533 | pushFollow(FOLLOW_2); | 5689 | pushFollow(FOLLOW_2); |
4534 | rule__OrGate__Group__1(); | 5690 | rule__OrGateDefinition__Group__1(); |
4535 | 5691 | ||
4536 | state._fsp--; | 5692 | state._fsp--; |
4537 | 5693 | ||
@@ -4550,35 +5706,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4550 | } | 5706 | } |
4551 | return ; | 5707 | return ; |
4552 | } | 5708 | } |
4553 | // $ANTLR end "rule__OrGate__Group__0" | 5709 | // $ANTLR end "rule__OrGateDefinition__Group__0" |
4554 | 5710 | ||
4555 | 5711 | ||
4556 | // $ANTLR start "rule__OrGate__Group__0__Impl" | 5712 | // $ANTLR start "rule__OrGateDefinition__Group__0__Impl" |
4557 | // InternalCftLanguage.g:1456:1: rule__OrGate__Group__0__Impl : ( ( rule__OrGate__NameAssignment_0 ) ) ; | 5713 | // InternalCftLanguage.g:1804:1: rule__OrGateDefinition__Group__0__Impl : ( ( rule__OrGateDefinition__NameAssignment_0 ) ) ; |
4558 | public final void rule__OrGate__Group__0__Impl() throws RecognitionException { | 5714 | public final void rule__OrGateDefinition__Group__0__Impl() throws RecognitionException { |
4559 | 5715 | ||
4560 | int stackSize = keepStackSize(); | 5716 | int stackSize = keepStackSize(); |
4561 | 5717 | ||
4562 | try { | 5718 | try { |
4563 | // InternalCftLanguage.g:1460:1: ( ( ( rule__OrGate__NameAssignment_0 ) ) ) | 5719 | // InternalCftLanguage.g:1808:1: ( ( ( rule__OrGateDefinition__NameAssignment_0 ) ) ) |
4564 | // InternalCftLanguage.g:1461:1: ( ( rule__OrGate__NameAssignment_0 ) ) | 5720 | // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) ) |
4565 | { | 5721 | { |
4566 | // InternalCftLanguage.g:1461:1: ( ( rule__OrGate__NameAssignment_0 ) ) | 5722 | // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) ) |
4567 | // InternalCftLanguage.g:1462:2: ( rule__OrGate__NameAssignment_0 ) | 5723 | // InternalCftLanguage.g:1810:2: ( rule__OrGateDefinition__NameAssignment_0 ) |
4568 | { | 5724 | { |
4569 | before(grammarAccess.getOrGateAccess().getNameAssignment_0()); | 5725 | before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); |
4570 | // InternalCftLanguage.g:1463:2: ( rule__OrGate__NameAssignment_0 ) | 5726 | // InternalCftLanguage.g:1811:2: ( rule__OrGateDefinition__NameAssignment_0 ) |
4571 | // InternalCftLanguage.g:1463:3: rule__OrGate__NameAssignment_0 | 5727 | // InternalCftLanguage.g:1811:3: rule__OrGateDefinition__NameAssignment_0 |
4572 | { | 5728 | { |
4573 | pushFollow(FOLLOW_2); | 5729 | pushFollow(FOLLOW_2); |
4574 | rule__OrGate__NameAssignment_0(); | 5730 | rule__OrGateDefinition__NameAssignment_0(); |
4575 | 5731 | ||
4576 | state._fsp--; | 5732 | state._fsp--; |
4577 | 5733 | ||
4578 | 5734 | ||
4579 | } | 5735 | } |
4580 | 5736 | ||
4581 | after(grammarAccess.getOrGateAccess().getNameAssignment_0()); | 5737 | after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); |
4582 | 5738 | ||
4583 | } | 5739 | } |
4584 | 5740 | ||
@@ -4597,26 +5753,26 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4597 | } | 5753 | } |
4598 | return ; | 5754 | return ; |
4599 | } | 5755 | } |
4600 | // $ANTLR end "rule__OrGate__Group__0__Impl" | 5756 | // $ANTLR end "rule__OrGateDefinition__Group__0__Impl" |
4601 | 5757 | ||
4602 | 5758 | ||
4603 | // $ANTLR start "rule__OrGate__Group__1" | 5759 | // $ANTLR start "rule__OrGateDefinition__Group__1" |
4604 | // InternalCftLanguage.g:1471:1: rule__OrGate__Group__1 : rule__OrGate__Group__1__Impl rule__OrGate__Group__2 ; | 5760 | // InternalCftLanguage.g:1819:1: rule__OrGateDefinition__Group__1 : rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 ; |
4605 | public final void rule__OrGate__Group__1() throws RecognitionException { | 5761 | public final void rule__OrGateDefinition__Group__1() throws RecognitionException { |
4606 | 5762 | ||
4607 | int stackSize = keepStackSize(); | 5763 | int stackSize = keepStackSize(); |
4608 | 5764 | ||
4609 | try { | 5765 | try { |
4610 | // InternalCftLanguage.g:1475:1: ( rule__OrGate__Group__1__Impl rule__OrGate__Group__2 ) | 5766 | // InternalCftLanguage.g:1823:1: ( rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 ) |
4611 | // InternalCftLanguage.g:1476:2: rule__OrGate__Group__1__Impl rule__OrGate__Group__2 | 5767 | // InternalCftLanguage.g:1824:2: rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 |
4612 | { | 5768 | { |
4613 | pushFollow(FOLLOW_3); | 5769 | pushFollow(FOLLOW_3); |
4614 | rule__OrGate__Group__1__Impl(); | 5770 | rule__OrGateDefinition__Group__1__Impl(); |
4615 | 5771 | ||
4616 | state._fsp--; | 5772 | state._fsp--; |
4617 | 5773 | ||
4618 | pushFollow(FOLLOW_2); | 5774 | pushFollow(FOLLOW_2); |
4619 | rule__OrGate__Group__2(); | 5775 | rule__OrGateDefinition__Group__2(); |
4620 | 5776 | ||
4621 | state._fsp--; | 5777 | state._fsp--; |
4622 | 5778 | ||
@@ -4635,25 +5791,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4635 | } | 5791 | } |
4636 | return ; | 5792 | return ; |
4637 | } | 5793 | } |
4638 | // $ANTLR end "rule__OrGate__Group__1" | 5794 | // $ANTLR end "rule__OrGateDefinition__Group__1" |
4639 | 5795 | ||
4640 | 5796 | ||
4641 | // $ANTLR start "rule__OrGate__Group__1__Impl" | 5797 | // $ANTLR start "rule__OrGateDefinition__Group__1__Impl" |
4642 | // InternalCftLanguage.g:1483:1: rule__OrGate__Group__1__Impl : ( 'or' ) ; | 5798 | // InternalCftLanguage.g:1831:1: rule__OrGateDefinition__Group__1__Impl : ( 'or' ) ; |
4643 | public final void rule__OrGate__Group__1__Impl() throws RecognitionException { | 5799 | public final void rule__OrGateDefinition__Group__1__Impl() throws RecognitionException { |
4644 | 5800 | ||
4645 | int stackSize = keepStackSize(); | 5801 | int stackSize = keepStackSize(); |
4646 | 5802 | ||
4647 | try { | 5803 | try { |
4648 | // InternalCftLanguage.g:1487:1: ( ( 'or' ) ) | 5804 | // InternalCftLanguage.g:1835:1: ( ( 'or' ) ) |
4649 | // InternalCftLanguage.g:1488:1: ( 'or' ) | 5805 | // InternalCftLanguage.g:1836:1: ( 'or' ) |
4650 | { | 5806 | { |
4651 | // InternalCftLanguage.g:1488:1: ( 'or' ) | 5807 | // InternalCftLanguage.g:1836:1: ( 'or' ) |
4652 | // InternalCftLanguage.g:1489:2: 'or' | 5808 | // InternalCftLanguage.g:1837:2: 'or' |
4653 | { | 5809 | { |
4654 | before(grammarAccess.getOrGateAccess().getOrKeyword_1()); | 5810 | before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); |
4655 | match(input,24,FOLLOW_2); | 5811 | match(input,26,FOLLOW_2); |
4656 | after(grammarAccess.getOrGateAccess().getOrKeyword_1()); | 5812 | after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); |
4657 | 5813 | ||
4658 | } | 5814 | } |
4659 | 5815 | ||
@@ -4672,21 +5828,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4672 | } | 5828 | } |
4673 | return ; | 5829 | return ; |
4674 | } | 5830 | } |
4675 | // $ANTLR end "rule__OrGate__Group__1__Impl" | 5831 | // $ANTLR end "rule__OrGateDefinition__Group__1__Impl" |
4676 | 5832 | ||
4677 | 5833 | ||
4678 | // $ANTLR start "rule__OrGate__Group__2" | 5834 | // $ANTLR start "rule__OrGateDefinition__Group__2" |
4679 | // InternalCftLanguage.g:1498:1: rule__OrGate__Group__2 : rule__OrGate__Group__2__Impl ; | 5835 | // InternalCftLanguage.g:1846:1: rule__OrGateDefinition__Group__2 : rule__OrGateDefinition__Group__2__Impl ; |
4680 | public final void rule__OrGate__Group__2() throws RecognitionException { | 5836 | public final void rule__OrGateDefinition__Group__2() throws RecognitionException { |
4681 | 5837 | ||
4682 | int stackSize = keepStackSize(); | 5838 | int stackSize = keepStackSize(); |
4683 | 5839 | ||
4684 | try { | 5840 | try { |
4685 | // InternalCftLanguage.g:1502:1: ( rule__OrGate__Group__2__Impl ) | 5841 | // InternalCftLanguage.g:1850:1: ( rule__OrGateDefinition__Group__2__Impl ) |
4686 | // InternalCftLanguage.g:1503:2: rule__OrGate__Group__2__Impl | 5842 | // InternalCftLanguage.g:1851:2: rule__OrGateDefinition__Group__2__Impl |
4687 | { | 5843 | { |
4688 | pushFollow(FOLLOW_2); | 5844 | pushFollow(FOLLOW_2); |
4689 | rule__OrGate__Group__2__Impl(); | 5845 | rule__OrGateDefinition__Group__2__Impl(); |
4690 | 5846 | ||
4691 | state._fsp--; | 5847 | state._fsp--; |
4692 | 5848 | ||
@@ -4705,40 +5861,40 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4705 | } | 5861 | } |
4706 | return ; | 5862 | return ; |
4707 | } | 5863 | } |
4708 | // $ANTLR end "rule__OrGate__Group__2" | 5864 | // $ANTLR end "rule__OrGateDefinition__Group__2" |
4709 | 5865 | ||
4710 | 5866 | ||
4711 | // $ANTLR start "rule__OrGate__Group__2__Impl" | 5867 | // $ANTLR start "rule__OrGateDefinition__Group__2__Impl" |
4712 | // InternalCftLanguage.g:1509:1: rule__OrGate__Group__2__Impl : ( ( rule__OrGate__InputEventsAssignment_2 )* ) ; | 5868 | // InternalCftLanguage.g:1857:1: rule__OrGateDefinition__Group__2__Impl : ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) ; |
4713 | public final void rule__OrGate__Group__2__Impl() throws RecognitionException { | 5869 | public final void rule__OrGateDefinition__Group__2__Impl() throws RecognitionException { |
4714 | 5870 | ||
4715 | int stackSize = keepStackSize(); | 5871 | int stackSize = keepStackSize(); |
4716 | 5872 | ||
4717 | try { | 5873 | try { |
4718 | // InternalCftLanguage.g:1513:1: ( ( ( rule__OrGate__InputEventsAssignment_2 )* ) ) | 5874 | // InternalCftLanguage.g:1861:1: ( ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) ) |
4719 | // InternalCftLanguage.g:1514:1: ( ( rule__OrGate__InputEventsAssignment_2 )* ) | 5875 | // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) |
4720 | { | 5876 | { |
4721 | // InternalCftLanguage.g:1514:1: ( ( rule__OrGate__InputEventsAssignment_2 )* ) | 5877 | // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) |
4722 | // InternalCftLanguage.g:1515:2: ( rule__OrGate__InputEventsAssignment_2 )* | 5878 | // InternalCftLanguage.g:1863:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )* |
4723 | { | 5879 | { |
4724 | before(grammarAccess.getOrGateAccess().getInputEventsAssignment_2()); | 5880 | before(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); |
4725 | // InternalCftLanguage.g:1516:2: ( rule__OrGate__InputEventsAssignment_2 )* | 5881 | // InternalCftLanguage.g:1864:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )* |
4726 | loop15: | 5882 | loop19: |
4727 | do { | 5883 | do { |
4728 | int alt15=2; | 5884 | int alt19=2; |
4729 | int LA15_0 = input.LA(1); | 5885 | int LA19_0 = input.LA(1); |
4730 | 5886 | ||
4731 | if ( (LA15_0==RULE_ID) ) { | 5887 | if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_OF_INT)) ) { |
4732 | alt15=1; | 5888 | alt19=1; |
4733 | } | 5889 | } |
4734 | 5890 | ||
4735 | 5891 | ||
4736 | switch (alt15) { | 5892 | switch (alt19) { |
4737 | case 1 : | 5893 | case 1 : |
4738 | // InternalCftLanguage.g:1516:3: rule__OrGate__InputEventsAssignment_2 | 5894 | // InternalCftLanguage.g:1864:3: rule__OrGateDefinition__InputEventsAssignment_2 |
4739 | { | 5895 | { |
4740 | pushFollow(FOLLOW_11); | 5896 | pushFollow(FOLLOW_11); |
4741 | rule__OrGate__InputEventsAssignment_2(); | 5897 | rule__OrGateDefinition__InputEventsAssignment_2(); |
4742 | 5898 | ||
4743 | state._fsp--; | 5899 | state._fsp--; |
4744 | 5900 | ||
@@ -4747,11 +5903,519 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4747 | break; | 5903 | break; |
4748 | 5904 | ||
4749 | default : | 5905 | default : |
4750 | break loop15; | 5906 | break loop19; |
5907 | } | ||
5908 | } while (true); | ||
5909 | |||
5910 | after(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); | ||
5911 | |||
5912 | } | ||
5913 | |||
5914 | |||
5915 | } | ||
5916 | |||
5917 | } | ||
5918 | catch (RecognitionException re) { | ||
5919 | reportError(re); | ||
5920 | recover(input,re); | ||
5921 | } | ||
5922 | finally { | ||
5923 | |||
5924 | restoreStackSize(stackSize); | ||
5925 | |||
5926 | } | ||
5927 | return ; | ||
5928 | } | ||
5929 | // $ANTLR end "rule__OrGateDefinition__Group__2__Impl" | ||
5930 | |||
5931 | |||
5932 | // $ANTLR start "rule__KOfMGateDefinition__Group__0" | ||
5933 | // InternalCftLanguage.g:1873:1: rule__KOfMGateDefinition__Group__0 : rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 ; | ||
5934 | public final void rule__KOfMGateDefinition__Group__0() throws RecognitionException { | ||
5935 | |||
5936 | int stackSize = keepStackSize(); | ||
5937 | |||
5938 | try { | ||
5939 | // InternalCftLanguage.g:1877:1: ( rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 ) | ||
5940 | // InternalCftLanguage.g:1878:2: rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 | ||
5941 | { | ||
5942 | pushFollow(FOLLOW_19); | ||
5943 | rule__KOfMGateDefinition__Group__0__Impl(); | ||
5944 | |||
5945 | state._fsp--; | ||
5946 | |||
5947 | pushFollow(FOLLOW_2); | ||
5948 | rule__KOfMGateDefinition__Group__1(); | ||
5949 | |||
5950 | state._fsp--; | ||
5951 | |||
5952 | |||
5953 | } | ||
5954 | |||
5955 | } | ||
5956 | catch (RecognitionException re) { | ||
5957 | reportError(re); | ||
5958 | recover(input,re); | ||
5959 | } | ||
5960 | finally { | ||
5961 | |||
5962 | restoreStackSize(stackSize); | ||
5963 | |||
5964 | } | ||
5965 | return ; | ||
5966 | } | ||
5967 | // $ANTLR end "rule__KOfMGateDefinition__Group__0" | ||
5968 | |||
5969 | |||
5970 | // $ANTLR start "rule__KOfMGateDefinition__Group__0__Impl" | ||
5971 | // InternalCftLanguage.g:1885:1: rule__KOfMGateDefinition__Group__0__Impl : ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) ; | ||
5972 | public final void rule__KOfMGateDefinition__Group__0__Impl() throws RecognitionException { | ||
5973 | |||
5974 | int stackSize = keepStackSize(); | ||
5975 | |||
5976 | try { | ||
5977 | // InternalCftLanguage.g:1889:1: ( ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) ) | ||
5978 | // InternalCftLanguage.g:1890:1: ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) | ||
5979 | { | ||
5980 | // InternalCftLanguage.g:1890:1: ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) | ||
5981 | // InternalCftLanguage.g:1891:2: ( rule__KOfMGateDefinition__NameAssignment_0 ) | ||
5982 | { | ||
5983 | before(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); | ||
5984 | // InternalCftLanguage.g:1892:2: ( rule__KOfMGateDefinition__NameAssignment_0 ) | ||
5985 | // InternalCftLanguage.g:1892:3: rule__KOfMGateDefinition__NameAssignment_0 | ||
5986 | { | ||
5987 | pushFollow(FOLLOW_2); | ||
5988 | rule__KOfMGateDefinition__NameAssignment_0(); | ||
5989 | |||
5990 | state._fsp--; | ||
5991 | |||
5992 | |||
5993 | } | ||
5994 | |||
5995 | after(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); | ||
5996 | |||
5997 | } | ||
5998 | |||
5999 | |||
6000 | } | ||
6001 | |||
6002 | } | ||
6003 | catch (RecognitionException re) { | ||
6004 | reportError(re); | ||
6005 | recover(input,re); | ||
6006 | } | ||
6007 | finally { | ||
6008 | |||
6009 | restoreStackSize(stackSize); | ||
6010 | |||
6011 | } | ||
6012 | return ; | ||
6013 | } | ||
6014 | // $ANTLR end "rule__KOfMGateDefinition__Group__0__Impl" | ||
6015 | |||
6016 | |||
6017 | // $ANTLR start "rule__KOfMGateDefinition__Group__1" | ||
6018 | // InternalCftLanguage.g:1900:1: rule__KOfMGateDefinition__Group__1 : rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 ; | ||
6019 | public final void rule__KOfMGateDefinition__Group__1() throws RecognitionException { | ||
6020 | |||
6021 | int stackSize = keepStackSize(); | ||
6022 | |||
6023 | try { | ||
6024 | // InternalCftLanguage.g:1904:1: ( rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 ) | ||
6025 | // InternalCftLanguage.g:1905:2: rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 | ||
6026 | { | ||
6027 | pushFollow(FOLLOW_20); | ||
6028 | rule__KOfMGateDefinition__Group__1__Impl(); | ||
6029 | |||
6030 | state._fsp--; | ||
6031 | |||
6032 | pushFollow(FOLLOW_2); | ||
6033 | rule__KOfMGateDefinition__Group__2(); | ||
6034 | |||
6035 | state._fsp--; | ||
6036 | |||
6037 | |||
6038 | } | ||
6039 | |||
6040 | } | ||
6041 | catch (RecognitionException re) { | ||
6042 | reportError(re); | ||
6043 | recover(input,re); | ||
6044 | } | ||
6045 | finally { | ||
6046 | |||
6047 | restoreStackSize(stackSize); | ||
6048 | |||
6049 | } | ||
6050 | return ; | ||
6051 | } | ||
6052 | // $ANTLR end "rule__KOfMGateDefinition__Group__1" | ||
6053 | |||
6054 | |||
6055 | // $ANTLR start "rule__KOfMGateDefinition__Group__1__Impl" | ||
6056 | // InternalCftLanguage.g:1912:1: rule__KOfMGateDefinition__Group__1__Impl : ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) ; | ||
6057 | public final void rule__KOfMGateDefinition__Group__1__Impl() throws RecognitionException { | ||
6058 | |||
6059 | int stackSize = keepStackSize(); | ||
6060 | |||
6061 | try { | ||
6062 | // InternalCftLanguage.g:1916:1: ( ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) ) | ||
6063 | // InternalCftLanguage.g:1917:1: ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) | ||
6064 | { | ||
6065 | // InternalCftLanguage.g:1917:1: ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) | ||
6066 | // InternalCftLanguage.g:1918:2: ( rule__KOfMGateDefinition__KAssignment_1 ) | ||
6067 | { | ||
6068 | before(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); | ||
6069 | // InternalCftLanguage.g:1919:2: ( rule__KOfMGateDefinition__KAssignment_1 ) | ||
6070 | // InternalCftLanguage.g:1919:3: rule__KOfMGateDefinition__KAssignment_1 | ||
6071 | { | ||
6072 | pushFollow(FOLLOW_2); | ||
6073 | rule__KOfMGateDefinition__KAssignment_1(); | ||
6074 | |||
6075 | state._fsp--; | ||
6076 | |||
6077 | |||
6078 | } | ||
6079 | |||
6080 | after(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); | ||
6081 | |||
6082 | } | ||
6083 | |||
6084 | |||
6085 | } | ||
6086 | |||
6087 | } | ||
6088 | catch (RecognitionException re) { | ||
6089 | reportError(re); | ||
6090 | recover(input,re); | ||
6091 | } | ||
6092 | finally { | ||
6093 | |||
6094 | restoreStackSize(stackSize); | ||
6095 | |||
6096 | } | ||
6097 | return ; | ||
6098 | } | ||
6099 | // $ANTLR end "rule__KOfMGateDefinition__Group__1__Impl" | ||
6100 | |||
6101 | |||
6102 | // $ANTLR start "rule__KOfMGateDefinition__Group__2" | ||
6103 | // InternalCftLanguage.g:1927:1: rule__KOfMGateDefinition__Group__2 : rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 ; | ||
6104 | public final void rule__KOfMGateDefinition__Group__2() throws RecognitionException { | ||
6105 | |||
6106 | int stackSize = keepStackSize(); | ||
6107 | |||
6108 | try { | ||
6109 | // InternalCftLanguage.g:1931:1: ( rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 ) | ||
6110 | // InternalCftLanguage.g:1932:2: rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 | ||
6111 | { | ||
6112 | pushFollow(FOLLOW_3); | ||
6113 | rule__KOfMGateDefinition__Group__2__Impl(); | ||
6114 | |||
6115 | state._fsp--; | ||
6116 | |||
6117 | pushFollow(FOLLOW_2); | ||
6118 | rule__KOfMGateDefinition__Group__3(); | ||
6119 | |||
6120 | state._fsp--; | ||
6121 | |||
6122 | |||
6123 | } | ||
6124 | |||
6125 | } | ||
6126 | catch (RecognitionException re) { | ||
6127 | reportError(re); | ||
6128 | recover(input,re); | ||
6129 | } | ||
6130 | finally { | ||
6131 | |||
6132 | restoreStackSize(stackSize); | ||
6133 | |||
6134 | } | ||
6135 | return ; | ||
6136 | } | ||
6137 | // $ANTLR end "rule__KOfMGateDefinition__Group__2" | ||
6138 | |||
6139 | |||
6140 | // $ANTLR start "rule__KOfMGateDefinition__Group__2__Impl" | ||
6141 | // InternalCftLanguage.g:1939:1: rule__KOfMGateDefinition__Group__2__Impl : ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) ; | ||
6142 | public final void rule__KOfMGateDefinition__Group__2__Impl() throws RecognitionException { | ||
6143 | |||
6144 | int stackSize = keepStackSize(); | ||
6145 | |||
6146 | try { | ||
6147 | // InternalCftLanguage.g:1943:1: ( ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) ) | ||
6148 | // InternalCftLanguage.g:1944:1: ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) | ||
6149 | { | ||
6150 | // InternalCftLanguage.g:1944:1: ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) | ||
6151 | // InternalCftLanguage.g:1945:2: ( rule__KOfMGateDefinition__Alternatives_2 ) | ||
6152 | { | ||
6153 | before(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); | ||
6154 | // InternalCftLanguage.g:1946:2: ( rule__KOfMGateDefinition__Alternatives_2 ) | ||
6155 | // InternalCftLanguage.g:1946:3: rule__KOfMGateDefinition__Alternatives_2 | ||
6156 | { | ||
6157 | pushFollow(FOLLOW_2); | ||
6158 | rule__KOfMGateDefinition__Alternatives_2(); | ||
6159 | |||
6160 | state._fsp--; | ||
6161 | |||
6162 | |||
6163 | } | ||
6164 | |||
6165 | after(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); | ||
6166 | |||
6167 | } | ||
6168 | |||
6169 | |||
6170 | } | ||
6171 | |||
6172 | } | ||
6173 | catch (RecognitionException re) { | ||
6174 | reportError(re); | ||
6175 | recover(input,re); | ||
6176 | } | ||
6177 | finally { | ||
6178 | |||
6179 | restoreStackSize(stackSize); | ||
6180 | |||
6181 | } | ||
6182 | return ; | ||
6183 | } | ||
6184 | // $ANTLR end "rule__KOfMGateDefinition__Group__2__Impl" | ||
6185 | |||
6186 | |||
6187 | // $ANTLR start "rule__KOfMGateDefinition__Group__3" | ||
6188 | // InternalCftLanguage.g:1954:1: rule__KOfMGateDefinition__Group__3 : rule__KOfMGateDefinition__Group__3__Impl ; | ||
6189 | public final void rule__KOfMGateDefinition__Group__3() throws RecognitionException { | ||
6190 | |||
6191 | int stackSize = keepStackSize(); | ||
6192 | |||
6193 | try { | ||
6194 | // InternalCftLanguage.g:1958:1: ( rule__KOfMGateDefinition__Group__3__Impl ) | ||
6195 | // InternalCftLanguage.g:1959:2: rule__KOfMGateDefinition__Group__3__Impl | ||
6196 | { | ||
6197 | pushFollow(FOLLOW_2); | ||
6198 | rule__KOfMGateDefinition__Group__3__Impl(); | ||
6199 | |||
6200 | state._fsp--; | ||
6201 | |||
6202 | |||
6203 | } | ||
6204 | |||
6205 | } | ||
6206 | catch (RecognitionException re) { | ||
6207 | reportError(re); | ||
6208 | recover(input,re); | ||
6209 | } | ||
6210 | finally { | ||
6211 | |||
6212 | restoreStackSize(stackSize); | ||
6213 | |||
6214 | } | ||
6215 | return ; | ||
6216 | } | ||
6217 | // $ANTLR end "rule__KOfMGateDefinition__Group__3" | ||
6218 | |||
6219 | |||
6220 | // $ANTLR start "rule__KOfMGateDefinition__Group__3__Impl" | ||
6221 | // InternalCftLanguage.g:1965:1: rule__KOfMGateDefinition__Group__3__Impl : ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) ; | ||
6222 | public final void rule__KOfMGateDefinition__Group__3__Impl() throws RecognitionException { | ||
6223 | |||
6224 | int stackSize = keepStackSize(); | ||
6225 | |||
6226 | try { | ||
6227 | // InternalCftLanguage.g:1969:1: ( ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) ) | ||
6228 | // InternalCftLanguage.g:1970:1: ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) | ||
6229 | { | ||
6230 | // InternalCftLanguage.g:1970:1: ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) | ||
6231 | // InternalCftLanguage.g:1971:2: ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* | ||
6232 | { | ||
6233 | before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); | ||
6234 | // InternalCftLanguage.g:1972:2: ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* | ||
6235 | loop20: | ||
6236 | do { | ||
6237 | int alt20=2; | ||
6238 | int LA20_0 = input.LA(1); | ||
6239 | |||
6240 | if ( ((LA20_0>=RULE_ID && LA20_0<=RULE_OF_INT)) ) { | ||
6241 | alt20=1; | ||
6242 | } | ||
6243 | |||
6244 | |||
6245 | switch (alt20) { | ||
6246 | case 1 : | ||
6247 | // InternalCftLanguage.g:1972:3: rule__KOfMGateDefinition__InputEventsAssignment_3 | ||
6248 | { | ||
6249 | pushFollow(FOLLOW_11); | ||
6250 | rule__KOfMGateDefinition__InputEventsAssignment_3(); | ||
6251 | |||
6252 | state._fsp--; | ||
6253 | |||
6254 | |||
6255 | } | ||
6256 | break; | ||
6257 | |||
6258 | default : | ||
6259 | break loop20; | ||
4751 | } | 6260 | } |
4752 | } while (true); | 6261 | } while (true); |
4753 | 6262 | ||
4754 | after(grammarAccess.getOrGateAccess().getInputEventsAssignment_2()); | 6263 | after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); |
6264 | |||
6265 | } | ||
6266 | |||
6267 | |||
6268 | } | ||
6269 | |||
6270 | } | ||
6271 | catch (RecognitionException re) { | ||
6272 | reportError(re); | ||
6273 | recover(input,re); | ||
6274 | } | ||
6275 | finally { | ||
6276 | |||
6277 | restoreStackSize(stackSize); | ||
6278 | |||
6279 | } | ||
6280 | return ; | ||
6281 | } | ||
6282 | // $ANTLR end "rule__KOfMGateDefinition__Group__3__Impl" | ||
6283 | |||
6284 | |||
6285 | // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__0" | ||
6286 | // InternalCftLanguage.g:1981:1: rule__KOfMGateDefinition__Group_2_0__0 : rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 ; | ||
6287 | public final void rule__KOfMGateDefinition__Group_2_0__0() throws RecognitionException { | ||
6288 | |||
6289 | int stackSize = keepStackSize(); | ||
6290 | |||
6291 | try { | ||
6292 | // InternalCftLanguage.g:1985:1: ( rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 ) | ||
6293 | // InternalCftLanguage.g:1986:2: rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 | ||
6294 | { | ||
6295 | pushFollow(FOLLOW_19); | ||
6296 | rule__KOfMGateDefinition__Group_2_0__0__Impl(); | ||
6297 | |||
6298 | state._fsp--; | ||
6299 | |||
6300 | pushFollow(FOLLOW_2); | ||
6301 | rule__KOfMGateDefinition__Group_2_0__1(); | ||
6302 | |||
6303 | state._fsp--; | ||
6304 | |||
6305 | |||
6306 | } | ||
6307 | |||
6308 | } | ||
6309 | catch (RecognitionException re) { | ||
6310 | reportError(re); | ||
6311 | recover(input,re); | ||
6312 | } | ||
6313 | finally { | ||
6314 | |||
6315 | restoreStackSize(stackSize); | ||
6316 | |||
6317 | } | ||
6318 | return ; | ||
6319 | } | ||
6320 | // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__0" | ||
6321 | |||
6322 | |||
6323 | // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__0__Impl" | ||
6324 | // InternalCftLanguage.g:1993:1: rule__KOfMGateDefinition__Group_2_0__0__Impl : ( 'of' ) ; | ||
6325 | public final void rule__KOfMGateDefinition__Group_2_0__0__Impl() throws RecognitionException { | ||
6326 | |||
6327 | int stackSize = keepStackSize(); | ||
6328 | |||
6329 | try { | ||
6330 | // InternalCftLanguage.g:1997:1: ( ( 'of' ) ) | ||
6331 | // InternalCftLanguage.g:1998:1: ( 'of' ) | ||
6332 | { | ||
6333 | // InternalCftLanguage.g:1998:1: ( 'of' ) | ||
6334 | // InternalCftLanguage.g:1999:2: 'of' | ||
6335 | { | ||
6336 | before(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); | ||
6337 | match(input,27,FOLLOW_2); | ||
6338 | after(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); | ||
6339 | |||
6340 | } | ||
6341 | |||
6342 | |||
6343 | } | ||
6344 | |||
6345 | } | ||
6346 | catch (RecognitionException re) { | ||
6347 | reportError(re); | ||
6348 | recover(input,re); | ||
6349 | } | ||
6350 | finally { | ||
6351 | |||
6352 | restoreStackSize(stackSize); | ||
6353 | |||
6354 | } | ||
6355 | return ; | ||
6356 | } | ||
6357 | // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__0__Impl" | ||
6358 | |||
6359 | |||
6360 | // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__1" | ||
6361 | // InternalCftLanguage.g:2008:1: rule__KOfMGateDefinition__Group_2_0__1 : rule__KOfMGateDefinition__Group_2_0__1__Impl ; | ||
6362 | public final void rule__KOfMGateDefinition__Group_2_0__1() throws RecognitionException { | ||
6363 | |||
6364 | int stackSize = keepStackSize(); | ||
6365 | |||
6366 | try { | ||
6367 | // InternalCftLanguage.g:2012:1: ( rule__KOfMGateDefinition__Group_2_0__1__Impl ) | ||
6368 | // InternalCftLanguage.g:2013:2: rule__KOfMGateDefinition__Group_2_0__1__Impl | ||
6369 | { | ||
6370 | pushFollow(FOLLOW_2); | ||
6371 | rule__KOfMGateDefinition__Group_2_0__1__Impl(); | ||
6372 | |||
6373 | state._fsp--; | ||
6374 | |||
6375 | |||
6376 | } | ||
6377 | |||
6378 | } | ||
6379 | catch (RecognitionException re) { | ||
6380 | reportError(re); | ||
6381 | recover(input,re); | ||
6382 | } | ||
6383 | finally { | ||
6384 | |||
6385 | restoreStackSize(stackSize); | ||
6386 | |||
6387 | } | ||
6388 | return ; | ||
6389 | } | ||
6390 | // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__1" | ||
6391 | |||
6392 | |||
6393 | // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__1__Impl" | ||
6394 | // InternalCftLanguage.g:2019:1: rule__KOfMGateDefinition__Group_2_0__1__Impl : ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) ; | ||
6395 | public final void rule__KOfMGateDefinition__Group_2_0__1__Impl() throws RecognitionException { | ||
6396 | |||
6397 | int stackSize = keepStackSize(); | ||
6398 | |||
6399 | try { | ||
6400 | // InternalCftLanguage.g:2023:1: ( ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) ) | ||
6401 | // InternalCftLanguage.g:2024:1: ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) | ||
6402 | { | ||
6403 | // InternalCftLanguage.g:2024:1: ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) | ||
6404 | // InternalCftLanguage.g:2025:2: ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) | ||
6405 | { | ||
6406 | before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); | ||
6407 | // InternalCftLanguage.g:2026:2: ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) | ||
6408 | // InternalCftLanguage.g:2026:3: rule__KOfMGateDefinition__MAssignment_2_0_1 | ||
6409 | { | ||
6410 | pushFollow(FOLLOW_2); | ||
6411 | rule__KOfMGateDefinition__MAssignment_2_0_1(); | ||
6412 | |||
6413 | state._fsp--; | ||
6414 | |||
6415 | |||
6416 | } | ||
6417 | |||
6418 | after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); | ||
4755 | 6419 | ||
4756 | } | 6420 | } |
4757 | 6421 | ||
@@ -4770,18 +6434,18 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4770 | } | 6434 | } |
4771 | return ; | 6435 | return ; |
4772 | } | 6436 | } |
4773 | // $ANTLR end "rule__OrGate__Group__2__Impl" | 6437 | // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__1__Impl" |
4774 | 6438 | ||
4775 | 6439 | ||
4776 | // $ANTLR start "rule__TransformationDefinition__Group__0" | 6440 | // $ANTLR start "rule__TransformationDefinition__Group__0" |
4777 | // InternalCftLanguage.g:1525:1: rule__TransformationDefinition__Group__0 : rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ; | 6441 | // InternalCftLanguage.g:2035:1: rule__TransformationDefinition__Group__0 : rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ; |
4778 | public final void rule__TransformationDefinition__Group__0() throws RecognitionException { | 6442 | public final void rule__TransformationDefinition__Group__0() throws RecognitionException { |
4779 | 6443 | ||
4780 | int stackSize = keepStackSize(); | 6444 | int stackSize = keepStackSize(); |
4781 | 6445 | ||
4782 | try { | 6446 | try { |
4783 | // InternalCftLanguage.g:1529:1: ( rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ) | 6447 | // InternalCftLanguage.g:2039:1: ( rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ) |
4784 | // InternalCftLanguage.g:1530:2: rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 | 6448 | // InternalCftLanguage.g:2040:2: rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 |
4785 | { | 6449 | { |
4786 | pushFollow(FOLLOW_3); | 6450 | pushFollow(FOLLOW_3); |
4787 | rule__TransformationDefinition__Group__0__Impl(); | 6451 | rule__TransformationDefinition__Group__0__Impl(); |
@@ -4812,20 +6476,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4812 | 6476 | ||
4813 | 6477 | ||
4814 | // $ANTLR start "rule__TransformationDefinition__Group__0__Impl" | 6478 | // $ANTLR start "rule__TransformationDefinition__Group__0__Impl" |
4815 | // InternalCftLanguage.g:1537:1: rule__TransformationDefinition__Group__0__Impl : ( 'transformation' ) ; | 6479 | // InternalCftLanguage.g:2047:1: rule__TransformationDefinition__Group__0__Impl : ( 'transformation' ) ; |
4816 | public final void rule__TransformationDefinition__Group__0__Impl() throws RecognitionException { | 6480 | public final void rule__TransformationDefinition__Group__0__Impl() throws RecognitionException { |
4817 | 6481 | ||
4818 | int stackSize = keepStackSize(); | 6482 | int stackSize = keepStackSize(); |
4819 | 6483 | ||
4820 | try { | 6484 | try { |
4821 | // InternalCftLanguage.g:1541:1: ( ( 'transformation' ) ) | 6485 | // InternalCftLanguage.g:2051:1: ( ( 'transformation' ) ) |
4822 | // InternalCftLanguage.g:1542:1: ( 'transformation' ) | 6486 | // InternalCftLanguage.g:2052:1: ( 'transformation' ) |
4823 | { | 6487 | { |
4824 | // InternalCftLanguage.g:1542:1: ( 'transformation' ) | 6488 | // InternalCftLanguage.g:2052:1: ( 'transformation' ) |
4825 | // InternalCftLanguage.g:1543:2: 'transformation' | 6489 | // InternalCftLanguage.g:2053:2: 'transformation' |
4826 | { | 6490 | { |
4827 | before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); | 6491 | before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); |
4828 | match(input,25,FOLLOW_2); | 6492 | match(input,28,FOLLOW_2); |
4829 | after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); | 6493 | after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); |
4830 | 6494 | ||
4831 | } | 6495 | } |
@@ -4849,14 +6513,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4849 | 6513 | ||
4850 | 6514 | ||
4851 | // $ANTLR start "rule__TransformationDefinition__Group__1" | 6515 | // $ANTLR start "rule__TransformationDefinition__Group__1" |
4852 | // InternalCftLanguage.g:1552:1: rule__TransformationDefinition__Group__1 : rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ; | 6516 | // InternalCftLanguage.g:2062:1: rule__TransformationDefinition__Group__1 : rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ; |
4853 | public final void rule__TransformationDefinition__Group__1() throws RecognitionException { | 6517 | public final void rule__TransformationDefinition__Group__1() throws RecognitionException { |
4854 | 6518 | ||
4855 | int stackSize = keepStackSize(); | 6519 | int stackSize = keepStackSize(); |
4856 | 6520 | ||
4857 | try { | 6521 | try { |
4858 | // InternalCftLanguage.g:1556:1: ( rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ) | 6522 | // InternalCftLanguage.g:2066:1: ( rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ) |
4859 | // InternalCftLanguage.g:1557:2: rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 | 6523 | // InternalCftLanguage.g:2067:2: rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 |
4860 | { | 6524 | { |
4861 | pushFollow(FOLLOW_8); | 6525 | pushFollow(FOLLOW_8); |
4862 | rule__TransformationDefinition__Group__1__Impl(); | 6526 | rule__TransformationDefinition__Group__1__Impl(); |
@@ -4887,21 +6551,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4887 | 6551 | ||
4888 | 6552 | ||
4889 | // $ANTLR start "rule__TransformationDefinition__Group__1__Impl" | 6553 | // $ANTLR start "rule__TransformationDefinition__Group__1__Impl" |
4890 | // InternalCftLanguage.g:1564:1: rule__TransformationDefinition__Group__1__Impl : ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ; | 6554 | // InternalCftLanguage.g:2074:1: rule__TransformationDefinition__Group__1__Impl : ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ; |
4891 | public final void rule__TransformationDefinition__Group__1__Impl() throws RecognitionException { | 6555 | public final void rule__TransformationDefinition__Group__1__Impl() throws RecognitionException { |
4892 | 6556 | ||
4893 | int stackSize = keepStackSize(); | 6557 | int stackSize = keepStackSize(); |
4894 | 6558 | ||
4895 | try { | 6559 | try { |
4896 | // InternalCftLanguage.g:1568:1: ( ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ) | 6560 | // InternalCftLanguage.g:2078:1: ( ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ) |
4897 | // InternalCftLanguage.g:1569:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) | 6561 | // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) |
4898 | { | 6562 | { |
4899 | // InternalCftLanguage.g:1569:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) | 6563 | // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) |
4900 | // InternalCftLanguage.g:1570:2: ( rule__TransformationDefinition__NameAssignment_1 ) | 6564 | // InternalCftLanguage.g:2080:2: ( rule__TransformationDefinition__NameAssignment_1 ) |
4901 | { | 6565 | { |
4902 | before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); | 6566 | before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); |
4903 | // InternalCftLanguage.g:1571:2: ( rule__TransformationDefinition__NameAssignment_1 ) | 6567 | // InternalCftLanguage.g:2081:2: ( rule__TransformationDefinition__NameAssignment_1 ) |
4904 | // InternalCftLanguage.g:1571:3: rule__TransformationDefinition__NameAssignment_1 | 6568 | // InternalCftLanguage.g:2081:3: rule__TransformationDefinition__NameAssignment_1 |
4905 | { | 6569 | { |
4906 | pushFollow(FOLLOW_2); | 6570 | pushFollow(FOLLOW_2); |
4907 | rule__TransformationDefinition__NameAssignment_1(); | 6571 | rule__TransformationDefinition__NameAssignment_1(); |
@@ -4934,16 +6598,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4934 | 6598 | ||
4935 | 6599 | ||
4936 | // $ANTLR start "rule__TransformationDefinition__Group__2" | 6600 | // $ANTLR start "rule__TransformationDefinition__Group__2" |
4937 | // InternalCftLanguage.g:1579:1: rule__TransformationDefinition__Group__2 : rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ; | 6601 | // InternalCftLanguage.g:2089:1: rule__TransformationDefinition__Group__2 : rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ; |
4938 | public final void rule__TransformationDefinition__Group__2() throws RecognitionException { | 6602 | public final void rule__TransformationDefinition__Group__2() throws RecognitionException { |
4939 | 6603 | ||
4940 | int stackSize = keepStackSize(); | 6604 | int stackSize = keepStackSize(); |
4941 | 6605 | ||
4942 | try { | 6606 | try { |
4943 | // InternalCftLanguage.g:1583:1: ( rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ) | 6607 | // InternalCftLanguage.g:2093:1: ( rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ) |
4944 | // InternalCftLanguage.g:1584:2: rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 | 6608 | // InternalCftLanguage.g:2094:2: rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 |
4945 | { | 6609 | { |
4946 | pushFollow(FOLLOW_19); | 6610 | pushFollow(FOLLOW_21); |
4947 | rule__TransformationDefinition__Group__2__Impl(); | 6611 | rule__TransformationDefinition__Group__2__Impl(); |
4948 | 6612 | ||
4949 | state._fsp--; | 6613 | state._fsp--; |
@@ -4972,20 +6636,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4972 | 6636 | ||
4973 | 6637 | ||
4974 | // $ANTLR start "rule__TransformationDefinition__Group__2__Impl" | 6638 | // $ANTLR start "rule__TransformationDefinition__Group__2__Impl" |
4975 | // InternalCftLanguage.g:1591:1: rule__TransformationDefinition__Group__2__Impl : ( '{' ) ; | 6639 | // InternalCftLanguage.g:2101:1: rule__TransformationDefinition__Group__2__Impl : ( '{' ) ; |
4976 | public final void rule__TransformationDefinition__Group__2__Impl() throws RecognitionException { | 6640 | public final void rule__TransformationDefinition__Group__2__Impl() throws RecognitionException { |
4977 | 6641 | ||
4978 | int stackSize = keepStackSize(); | 6642 | int stackSize = keepStackSize(); |
4979 | 6643 | ||
4980 | try { | 6644 | try { |
4981 | // InternalCftLanguage.g:1595:1: ( ( '{' ) ) | 6645 | // InternalCftLanguage.g:2105:1: ( ( '{' ) ) |
4982 | // InternalCftLanguage.g:1596:1: ( '{' ) | 6646 | // InternalCftLanguage.g:2106:1: ( '{' ) |
4983 | { | 6647 | { |
4984 | // InternalCftLanguage.g:1596:1: ( '{' ) | 6648 | // InternalCftLanguage.g:2106:1: ( '{' ) |
4985 | // InternalCftLanguage.g:1597:2: '{' | 6649 | // InternalCftLanguage.g:2107:2: '{' |
4986 | { | 6650 | { |
4987 | before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 6651 | before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
4988 | match(input,17,FOLLOW_2); | 6652 | match(input,18,FOLLOW_2); |
4989 | after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 6653 | after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
4990 | 6654 | ||
4991 | } | 6655 | } |
@@ -5009,16 +6673,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5009 | 6673 | ||
5010 | 6674 | ||
5011 | // $ANTLR start "rule__TransformationDefinition__Group__3" | 6675 | // $ANTLR start "rule__TransformationDefinition__Group__3" |
5012 | // InternalCftLanguage.g:1606:1: rule__TransformationDefinition__Group__3 : rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ; | 6676 | // InternalCftLanguage.g:2116:1: rule__TransformationDefinition__Group__3 : rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ; |
5013 | public final void rule__TransformationDefinition__Group__3() throws RecognitionException { | 6677 | public final void rule__TransformationDefinition__Group__3() throws RecognitionException { |
5014 | 6678 | ||
5015 | int stackSize = keepStackSize(); | 6679 | int stackSize = keepStackSize(); |
5016 | 6680 | ||
5017 | try { | 6681 | try { |
5018 | // InternalCftLanguage.g:1610:1: ( rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ) | 6682 | // InternalCftLanguage.g:2120:1: ( rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ) |
5019 | // InternalCftLanguage.g:1611:2: rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 | 6683 | // InternalCftLanguage.g:2121:2: rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 |
5020 | { | 6684 | { |
5021 | pushFollow(FOLLOW_19); | 6685 | pushFollow(FOLLOW_21); |
5022 | rule__TransformationDefinition__Group__3__Impl(); | 6686 | rule__TransformationDefinition__Group__3__Impl(); |
5023 | 6687 | ||
5024 | state._fsp--; | 6688 | state._fsp--; |
@@ -5047,35 +6711,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5047 | 6711 | ||
5048 | 6712 | ||
5049 | // $ANTLR start "rule__TransformationDefinition__Group__3__Impl" | 6713 | // $ANTLR start "rule__TransformationDefinition__Group__3__Impl" |
5050 | // InternalCftLanguage.g:1618:1: rule__TransformationDefinition__Group__3__Impl : ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ; | 6714 | // InternalCftLanguage.g:2128:1: rule__TransformationDefinition__Group__3__Impl : ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ; |
5051 | public final void rule__TransformationDefinition__Group__3__Impl() throws RecognitionException { | 6715 | public final void rule__TransformationDefinition__Group__3__Impl() throws RecognitionException { |
5052 | 6716 | ||
5053 | int stackSize = keepStackSize(); | 6717 | int stackSize = keepStackSize(); |
5054 | 6718 | ||
5055 | try { | 6719 | try { |
5056 | // InternalCftLanguage.g:1622:1: ( ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ) | 6720 | // InternalCftLanguage.g:2132:1: ( ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ) |
5057 | // InternalCftLanguage.g:1623:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) | 6721 | // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) |
5058 | { | 6722 | { |
5059 | // InternalCftLanguage.g:1623:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) | 6723 | // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) |
5060 | // InternalCftLanguage.g:1624:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* | 6724 | // InternalCftLanguage.g:2134:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* |
5061 | { | 6725 | { |
5062 | before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); | 6726 | before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); |
5063 | // InternalCftLanguage.g:1625:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* | 6727 | // InternalCftLanguage.g:2135:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* |
5064 | loop16: | 6728 | loop21: |
5065 | do { | 6729 | do { |
5066 | int alt16=2; | 6730 | int alt21=2; |
5067 | int LA16_0 = input.LA(1); | 6731 | int LA21_0 = input.LA(1); |
5068 | 6732 | ||
5069 | if ( (LA16_0==26||LA16_0==36) ) { | 6733 | if ( (LA21_0==29||LA21_0==39) ) { |
5070 | alt16=1; | 6734 | alt21=1; |
5071 | } | 6735 | } |
5072 | 6736 | ||
5073 | 6737 | ||
5074 | switch (alt16) { | 6738 | switch (alt21) { |
5075 | case 1 : | 6739 | case 1 : |
5076 | // InternalCftLanguage.g:1625:3: rule__TransformationDefinition__MappingDefinitionsAssignment_3 | 6740 | // InternalCftLanguage.g:2135:3: rule__TransformationDefinition__MappingDefinitionsAssignment_3 |
5077 | { | 6741 | { |
5078 | pushFollow(FOLLOW_20); | 6742 | pushFollow(FOLLOW_22); |
5079 | rule__TransformationDefinition__MappingDefinitionsAssignment_3(); | 6743 | rule__TransformationDefinition__MappingDefinitionsAssignment_3(); |
5080 | 6744 | ||
5081 | state._fsp--; | 6745 | state._fsp--; |
@@ -5085,7 +6749,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5085 | break; | 6749 | break; |
5086 | 6750 | ||
5087 | default : | 6751 | default : |
5088 | break loop16; | 6752 | break loop21; |
5089 | } | 6753 | } |
5090 | } while (true); | 6754 | } while (true); |
5091 | 6755 | ||
@@ -5112,14 +6776,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5112 | 6776 | ||
5113 | 6777 | ||
5114 | // $ANTLR start "rule__TransformationDefinition__Group__4" | 6778 | // $ANTLR start "rule__TransformationDefinition__Group__4" |
5115 | // InternalCftLanguage.g:1633:1: rule__TransformationDefinition__Group__4 : rule__TransformationDefinition__Group__4__Impl ; | 6779 | // InternalCftLanguage.g:2143:1: rule__TransformationDefinition__Group__4 : rule__TransformationDefinition__Group__4__Impl ; |
5116 | public final void rule__TransformationDefinition__Group__4() throws RecognitionException { | 6780 | public final void rule__TransformationDefinition__Group__4() throws RecognitionException { |
5117 | 6781 | ||
5118 | int stackSize = keepStackSize(); | 6782 | int stackSize = keepStackSize(); |
5119 | 6783 | ||
5120 | try { | 6784 | try { |
5121 | // InternalCftLanguage.g:1637:1: ( rule__TransformationDefinition__Group__4__Impl ) | 6785 | // InternalCftLanguage.g:2147:1: ( rule__TransformationDefinition__Group__4__Impl ) |
5122 | // InternalCftLanguage.g:1638:2: rule__TransformationDefinition__Group__4__Impl | 6786 | // InternalCftLanguage.g:2148:2: rule__TransformationDefinition__Group__4__Impl |
5123 | { | 6787 | { |
5124 | pushFollow(FOLLOW_2); | 6788 | pushFollow(FOLLOW_2); |
5125 | rule__TransformationDefinition__Group__4__Impl(); | 6789 | rule__TransformationDefinition__Group__4__Impl(); |
@@ -5145,20 +6809,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5145 | 6809 | ||
5146 | 6810 | ||
5147 | // $ANTLR start "rule__TransformationDefinition__Group__4__Impl" | 6811 | // $ANTLR start "rule__TransformationDefinition__Group__4__Impl" |
5148 | // InternalCftLanguage.g:1644:1: rule__TransformationDefinition__Group__4__Impl : ( '}' ) ; | 6812 | // InternalCftLanguage.g:2154:1: rule__TransformationDefinition__Group__4__Impl : ( '}' ) ; |
5149 | public final void rule__TransformationDefinition__Group__4__Impl() throws RecognitionException { | 6813 | public final void rule__TransformationDefinition__Group__4__Impl() throws RecognitionException { |
5150 | 6814 | ||
5151 | int stackSize = keepStackSize(); | 6815 | int stackSize = keepStackSize(); |
5152 | 6816 | ||
5153 | try { | 6817 | try { |
5154 | // InternalCftLanguage.g:1648:1: ( ( '}' ) ) | 6818 | // InternalCftLanguage.g:2158:1: ( ( '}' ) ) |
5155 | // InternalCftLanguage.g:1649:1: ( '}' ) | 6819 | // InternalCftLanguage.g:2159:1: ( '}' ) |
5156 | { | 6820 | { |
5157 | // InternalCftLanguage.g:1649:1: ( '}' ) | 6821 | // InternalCftLanguage.g:2159:1: ( '}' ) |
5158 | // InternalCftLanguage.g:1650:2: '}' | 6822 | // InternalCftLanguage.g:2160:2: '}' |
5159 | { | 6823 | { |
5160 | before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); | 6824 | before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); |
5161 | match(input,18,FOLLOW_2); | 6825 | match(input,19,FOLLOW_2); |
5162 | after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); | 6826 | after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); |
5163 | 6827 | ||
5164 | } | 6828 | } |
@@ -5182,16 +6846,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5182 | 6846 | ||
5183 | 6847 | ||
5184 | // $ANTLR start "rule__MappingDefinition__Group__0" | 6848 | // $ANTLR start "rule__MappingDefinition__Group__0" |
5185 | // InternalCftLanguage.g:1660:1: rule__MappingDefinition__Group__0 : rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ; | 6849 | // InternalCftLanguage.g:2170:1: rule__MappingDefinition__Group__0 : rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ; |
5186 | public final void rule__MappingDefinition__Group__0() throws RecognitionException { | 6850 | public final void rule__MappingDefinition__Group__0() throws RecognitionException { |
5187 | 6851 | ||
5188 | int stackSize = keepStackSize(); | 6852 | int stackSize = keepStackSize(); |
5189 | 6853 | ||
5190 | try { | 6854 | try { |
5191 | // InternalCftLanguage.g:1664:1: ( rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ) | 6855 | // InternalCftLanguage.g:2174:1: ( rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ) |
5192 | // InternalCftLanguage.g:1665:2: rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 | 6856 | // InternalCftLanguage.g:2175:2: rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 |
5193 | { | 6857 | { |
5194 | pushFollow(FOLLOW_21); | 6858 | pushFollow(FOLLOW_23); |
5195 | rule__MappingDefinition__Group__0__Impl(); | 6859 | rule__MappingDefinition__Group__0__Impl(); |
5196 | 6860 | ||
5197 | state._fsp--; | 6861 | state._fsp--; |
@@ -5220,29 +6884,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5220 | 6884 | ||
5221 | 6885 | ||
5222 | // $ANTLR start "rule__MappingDefinition__Group__0__Impl" | 6886 | // $ANTLR start "rule__MappingDefinition__Group__0__Impl" |
5223 | // InternalCftLanguage.g:1672:1: rule__MappingDefinition__Group__0__Impl : ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ; | 6887 | // InternalCftLanguage.g:2182:1: rule__MappingDefinition__Group__0__Impl : ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ; |
5224 | public final void rule__MappingDefinition__Group__0__Impl() throws RecognitionException { | 6888 | public final void rule__MappingDefinition__Group__0__Impl() throws RecognitionException { |
5225 | 6889 | ||
5226 | int stackSize = keepStackSize(); | 6890 | int stackSize = keepStackSize(); |
5227 | 6891 | ||
5228 | try { | 6892 | try { |
5229 | // InternalCftLanguage.g:1676:1: ( ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ) | 6893 | // InternalCftLanguage.g:2186:1: ( ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ) |
5230 | // InternalCftLanguage.g:1677:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) | 6894 | // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) |
5231 | { | 6895 | { |
5232 | // InternalCftLanguage.g:1677:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) | 6896 | // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) |
5233 | // InternalCftLanguage.g:1678:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? | 6897 | // InternalCftLanguage.g:2188:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? |
5234 | { | 6898 | { |
5235 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); | 6899 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); |
5236 | // InternalCftLanguage.g:1679:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? | 6900 | // InternalCftLanguage.g:2189:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? |
5237 | int alt17=2; | 6901 | int alt22=2; |
5238 | int LA17_0 = input.LA(1); | 6902 | int LA22_0 = input.LA(1); |
5239 | 6903 | ||
5240 | if ( (LA17_0==36) ) { | 6904 | if ( (LA22_0==39) ) { |
5241 | alt17=1; | 6905 | alt22=1; |
5242 | } | 6906 | } |
5243 | switch (alt17) { | 6907 | switch (alt22) { |
5244 | case 1 : | 6908 | case 1 : |
5245 | // InternalCftLanguage.g:1679:3: rule__MappingDefinition__TopLevelAssignment_0 | 6909 | // InternalCftLanguage.g:2189:3: rule__MappingDefinition__TopLevelAssignment_0 |
5246 | { | 6910 | { |
5247 | pushFollow(FOLLOW_2); | 6911 | pushFollow(FOLLOW_2); |
5248 | rule__MappingDefinition__TopLevelAssignment_0(); | 6912 | rule__MappingDefinition__TopLevelAssignment_0(); |
@@ -5278,14 +6942,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5278 | 6942 | ||
5279 | 6943 | ||
5280 | // $ANTLR start "rule__MappingDefinition__Group__1" | 6944 | // $ANTLR start "rule__MappingDefinition__Group__1" |
5281 | // InternalCftLanguage.g:1687:1: rule__MappingDefinition__Group__1 : rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ; | 6945 | // InternalCftLanguage.g:2197:1: rule__MappingDefinition__Group__1 : rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ; |
5282 | public final void rule__MappingDefinition__Group__1() throws RecognitionException { | 6946 | public final void rule__MappingDefinition__Group__1() throws RecognitionException { |
5283 | 6947 | ||
5284 | int stackSize = keepStackSize(); | 6948 | int stackSize = keepStackSize(); |
5285 | 6949 | ||
5286 | try { | 6950 | try { |
5287 | // InternalCftLanguage.g:1691:1: ( rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ) | 6951 | // InternalCftLanguage.g:2201:1: ( rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ) |
5288 | // InternalCftLanguage.g:1692:2: rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 | 6952 | // InternalCftLanguage.g:2202:2: rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 |
5289 | { | 6953 | { |
5290 | pushFollow(FOLLOW_3); | 6954 | pushFollow(FOLLOW_3); |
5291 | rule__MappingDefinition__Group__1__Impl(); | 6955 | rule__MappingDefinition__Group__1__Impl(); |
@@ -5316,20 +6980,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5316 | 6980 | ||
5317 | 6981 | ||
5318 | // $ANTLR start "rule__MappingDefinition__Group__1__Impl" | 6982 | // $ANTLR start "rule__MappingDefinition__Group__1__Impl" |
5319 | // InternalCftLanguage.g:1699:1: rule__MappingDefinition__Group__1__Impl : ( 'mapping' ) ; | 6983 | // InternalCftLanguage.g:2209:1: rule__MappingDefinition__Group__1__Impl : ( 'mapping' ) ; |
5320 | public final void rule__MappingDefinition__Group__1__Impl() throws RecognitionException { | 6984 | public final void rule__MappingDefinition__Group__1__Impl() throws RecognitionException { |
5321 | 6985 | ||
5322 | int stackSize = keepStackSize(); | 6986 | int stackSize = keepStackSize(); |
5323 | 6987 | ||
5324 | try { | 6988 | try { |
5325 | // InternalCftLanguage.g:1703:1: ( ( 'mapping' ) ) | 6989 | // InternalCftLanguage.g:2213:1: ( ( 'mapping' ) ) |
5326 | // InternalCftLanguage.g:1704:1: ( 'mapping' ) | 6990 | // InternalCftLanguage.g:2214:1: ( 'mapping' ) |
5327 | { | 6991 | { |
5328 | // InternalCftLanguage.g:1704:1: ( 'mapping' ) | 6992 | // InternalCftLanguage.g:2214:1: ( 'mapping' ) |
5329 | // InternalCftLanguage.g:1705:2: 'mapping' | 6993 | // InternalCftLanguage.g:2215:2: 'mapping' |
5330 | { | 6994 | { |
5331 | before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); | 6995 | before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); |
5332 | match(input,26,FOLLOW_2); | 6996 | match(input,29,FOLLOW_2); |
5333 | after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); | 6997 | after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); |
5334 | 6998 | ||
5335 | } | 6999 | } |
@@ -5353,16 +7017,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5353 | 7017 | ||
5354 | 7018 | ||
5355 | // $ANTLR start "rule__MappingDefinition__Group__2" | 7019 | // $ANTLR start "rule__MappingDefinition__Group__2" |
5356 | // InternalCftLanguage.g:1714:1: rule__MappingDefinition__Group__2 : rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ; | 7020 | // InternalCftLanguage.g:2224:1: rule__MappingDefinition__Group__2 : rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ; |
5357 | public final void rule__MappingDefinition__Group__2() throws RecognitionException { | 7021 | public final void rule__MappingDefinition__Group__2() throws RecognitionException { |
5358 | 7022 | ||
5359 | int stackSize = keepStackSize(); | 7023 | int stackSize = keepStackSize(); |
5360 | 7024 | ||
5361 | try { | 7025 | try { |
5362 | // InternalCftLanguage.g:1718:1: ( rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ) | 7026 | // InternalCftLanguage.g:2228:1: ( rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ) |
5363 | // InternalCftLanguage.g:1719:2: rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 | 7027 | // InternalCftLanguage.g:2229:2: rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 |
5364 | { | 7028 | { |
5365 | pushFollow(FOLLOW_22); | 7029 | pushFollow(FOLLOW_24); |
5366 | rule__MappingDefinition__Group__2__Impl(); | 7030 | rule__MappingDefinition__Group__2__Impl(); |
5367 | 7031 | ||
5368 | state._fsp--; | 7032 | state._fsp--; |
@@ -5391,21 +7055,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5391 | 7055 | ||
5392 | 7056 | ||
5393 | // $ANTLR start "rule__MappingDefinition__Group__2__Impl" | 7057 | // $ANTLR start "rule__MappingDefinition__Group__2__Impl" |
5394 | // InternalCftLanguage.g:1726:1: rule__MappingDefinition__Group__2__Impl : ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ; | 7058 | // InternalCftLanguage.g:2236:1: rule__MappingDefinition__Group__2__Impl : ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ; |
5395 | public final void rule__MappingDefinition__Group__2__Impl() throws RecognitionException { | 7059 | public final void rule__MappingDefinition__Group__2__Impl() throws RecognitionException { |
5396 | 7060 | ||
5397 | int stackSize = keepStackSize(); | 7061 | int stackSize = keepStackSize(); |
5398 | 7062 | ||
5399 | try { | 7063 | try { |
5400 | // InternalCftLanguage.g:1730:1: ( ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ) | 7064 | // InternalCftLanguage.g:2240:1: ( ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ) |
5401 | // InternalCftLanguage.g:1731:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) | 7065 | // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) |
5402 | { | 7066 | { |
5403 | // InternalCftLanguage.g:1731:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) | 7067 | // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) |
5404 | // InternalCftLanguage.g:1732:2: ( rule__MappingDefinition__PatternAssignment_2 ) | 7068 | // InternalCftLanguage.g:2242:2: ( rule__MappingDefinition__PatternAssignment_2 ) |
5405 | { | 7069 | { |
5406 | before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); | 7070 | before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); |
5407 | // InternalCftLanguage.g:1733:2: ( rule__MappingDefinition__PatternAssignment_2 ) | 7071 | // InternalCftLanguage.g:2243:2: ( rule__MappingDefinition__PatternAssignment_2 ) |
5408 | // InternalCftLanguage.g:1733:3: rule__MappingDefinition__PatternAssignment_2 | 7072 | // InternalCftLanguage.g:2243:3: rule__MappingDefinition__PatternAssignment_2 |
5409 | { | 7073 | { |
5410 | pushFollow(FOLLOW_2); | 7074 | pushFollow(FOLLOW_2); |
5411 | rule__MappingDefinition__PatternAssignment_2(); | 7075 | rule__MappingDefinition__PatternAssignment_2(); |
@@ -5438,14 +7102,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5438 | 7102 | ||
5439 | 7103 | ||
5440 | // $ANTLR start "rule__MappingDefinition__Group__3" | 7104 | // $ANTLR start "rule__MappingDefinition__Group__3" |
5441 | // InternalCftLanguage.g:1741:1: rule__MappingDefinition__Group__3 : rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ; | 7105 | // InternalCftLanguage.g:2251:1: rule__MappingDefinition__Group__3 : rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ; |
5442 | public final void rule__MappingDefinition__Group__3() throws RecognitionException { | 7106 | public final void rule__MappingDefinition__Group__3() throws RecognitionException { |
5443 | 7107 | ||
5444 | int stackSize = keepStackSize(); | 7108 | int stackSize = keepStackSize(); |
5445 | 7109 | ||
5446 | try { | 7110 | try { |
5447 | // InternalCftLanguage.g:1745:1: ( rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ) | 7111 | // InternalCftLanguage.g:2255:1: ( rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ) |
5448 | // InternalCftLanguage.g:1746:2: rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 | 7112 | // InternalCftLanguage.g:2256:2: rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 |
5449 | { | 7113 | { |
5450 | pushFollow(FOLLOW_3); | 7114 | pushFollow(FOLLOW_3); |
5451 | rule__MappingDefinition__Group__3__Impl(); | 7115 | rule__MappingDefinition__Group__3__Impl(); |
@@ -5476,20 +7140,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5476 | 7140 | ||
5477 | 7141 | ||
5478 | // $ANTLR start "rule__MappingDefinition__Group__3__Impl" | 7142 | // $ANTLR start "rule__MappingDefinition__Group__3__Impl" |
5479 | // InternalCftLanguage.g:1753:1: rule__MappingDefinition__Group__3__Impl : ( '(' ) ; | 7143 | // InternalCftLanguage.g:2263:1: rule__MappingDefinition__Group__3__Impl : ( '(' ) ; |
5480 | public final void rule__MappingDefinition__Group__3__Impl() throws RecognitionException { | 7144 | public final void rule__MappingDefinition__Group__3__Impl() throws RecognitionException { |
5481 | 7145 | ||
5482 | int stackSize = keepStackSize(); | 7146 | int stackSize = keepStackSize(); |
5483 | 7147 | ||
5484 | try { | 7148 | try { |
5485 | // InternalCftLanguage.g:1757:1: ( ( '(' ) ) | 7149 | // InternalCftLanguage.g:2267:1: ( ( '(' ) ) |
5486 | // InternalCftLanguage.g:1758:1: ( '(' ) | 7150 | // InternalCftLanguage.g:2268:1: ( '(' ) |
5487 | { | 7151 | { |
5488 | // InternalCftLanguage.g:1758:1: ( '(' ) | 7152 | // InternalCftLanguage.g:2268:1: ( '(' ) |
5489 | // InternalCftLanguage.g:1759:2: '(' | 7153 | // InternalCftLanguage.g:2269:2: '(' |
5490 | { | 7154 | { |
5491 | before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); | 7155 | before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); |
5492 | match(input,27,FOLLOW_2); | 7156 | match(input,30,FOLLOW_2); |
5493 | after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); | 7157 | after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); |
5494 | 7158 | ||
5495 | } | 7159 | } |
@@ -5513,16 +7177,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5513 | 7177 | ||
5514 | 7178 | ||
5515 | // $ANTLR start "rule__MappingDefinition__Group__4" | 7179 | // $ANTLR start "rule__MappingDefinition__Group__4" |
5516 | // InternalCftLanguage.g:1768:1: rule__MappingDefinition__Group__4 : rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ; | 7180 | // InternalCftLanguage.g:2278:1: rule__MappingDefinition__Group__4 : rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ; |
5517 | public final void rule__MappingDefinition__Group__4() throws RecognitionException { | 7181 | public final void rule__MappingDefinition__Group__4() throws RecognitionException { |
5518 | 7182 | ||
5519 | int stackSize = keepStackSize(); | 7183 | int stackSize = keepStackSize(); |
5520 | 7184 | ||
5521 | try { | 7185 | try { |
5522 | // InternalCftLanguage.g:1772:1: ( rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ) | 7186 | // InternalCftLanguage.g:2282:1: ( rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ) |
5523 | // InternalCftLanguage.g:1773:2: rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 | 7187 | // InternalCftLanguage.g:2283:2: rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 |
5524 | { | 7188 | { |
5525 | pushFollow(FOLLOW_23); | 7189 | pushFollow(FOLLOW_25); |
5526 | rule__MappingDefinition__Group__4__Impl(); | 7190 | rule__MappingDefinition__Group__4__Impl(); |
5527 | 7191 | ||
5528 | state._fsp--; | 7192 | state._fsp--; |
@@ -5551,21 +7215,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5551 | 7215 | ||
5552 | 7216 | ||
5553 | // $ANTLR start "rule__MappingDefinition__Group__4__Impl" | 7217 | // $ANTLR start "rule__MappingDefinition__Group__4__Impl" |
5554 | // InternalCftLanguage.g:1780:1: rule__MappingDefinition__Group__4__Impl : ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ; | 7218 | // InternalCftLanguage.g:2290:1: rule__MappingDefinition__Group__4__Impl : ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ; |
5555 | public final void rule__MappingDefinition__Group__4__Impl() throws RecognitionException { | 7219 | public final void rule__MappingDefinition__Group__4__Impl() throws RecognitionException { |
5556 | 7220 | ||
5557 | int stackSize = keepStackSize(); | 7221 | int stackSize = keepStackSize(); |
5558 | 7222 | ||
5559 | try { | 7223 | try { |
5560 | // InternalCftLanguage.g:1784:1: ( ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ) | 7224 | // InternalCftLanguage.g:2294:1: ( ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ) |
5561 | // InternalCftLanguage.g:1785:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) | 7225 | // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) |
5562 | { | 7226 | { |
5563 | // InternalCftLanguage.g:1785:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) | 7227 | // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) |
5564 | // InternalCftLanguage.g:1786:2: ( rule__MappingDefinition__ParametersAssignment_4 ) | 7228 | // InternalCftLanguage.g:2296:2: ( rule__MappingDefinition__ParametersAssignment_4 ) |
5565 | { | 7229 | { |
5566 | before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); | 7230 | before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); |
5567 | // InternalCftLanguage.g:1787:2: ( rule__MappingDefinition__ParametersAssignment_4 ) | 7231 | // InternalCftLanguage.g:2297:2: ( rule__MappingDefinition__ParametersAssignment_4 ) |
5568 | // InternalCftLanguage.g:1787:3: rule__MappingDefinition__ParametersAssignment_4 | 7232 | // InternalCftLanguage.g:2297:3: rule__MappingDefinition__ParametersAssignment_4 |
5569 | { | 7233 | { |
5570 | pushFollow(FOLLOW_2); | 7234 | pushFollow(FOLLOW_2); |
5571 | rule__MappingDefinition__ParametersAssignment_4(); | 7235 | rule__MappingDefinition__ParametersAssignment_4(); |
@@ -5598,16 +7262,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5598 | 7262 | ||
5599 | 7263 | ||
5600 | // $ANTLR start "rule__MappingDefinition__Group__5" | 7264 | // $ANTLR start "rule__MappingDefinition__Group__5" |
5601 | // InternalCftLanguage.g:1795:1: rule__MappingDefinition__Group__5 : rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ; | 7265 | // InternalCftLanguage.g:2305:1: rule__MappingDefinition__Group__5 : rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ; |
5602 | public final void rule__MappingDefinition__Group__5() throws RecognitionException { | 7266 | public final void rule__MappingDefinition__Group__5() throws RecognitionException { |
5603 | 7267 | ||
5604 | int stackSize = keepStackSize(); | 7268 | int stackSize = keepStackSize(); |
5605 | 7269 | ||
5606 | try { | 7270 | try { |
5607 | // InternalCftLanguage.g:1799:1: ( rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ) | 7271 | // InternalCftLanguage.g:2309:1: ( rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ) |
5608 | // InternalCftLanguage.g:1800:2: rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 | 7272 | // InternalCftLanguage.g:2310:2: rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 |
5609 | { | 7273 | { |
5610 | pushFollow(FOLLOW_23); | 7274 | pushFollow(FOLLOW_25); |
5611 | rule__MappingDefinition__Group__5__Impl(); | 7275 | rule__MappingDefinition__Group__5__Impl(); |
5612 | 7276 | ||
5613 | state._fsp--; | 7277 | state._fsp--; |
@@ -5636,35 +7300,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5636 | 7300 | ||
5637 | 7301 | ||
5638 | // $ANTLR start "rule__MappingDefinition__Group__5__Impl" | 7302 | // $ANTLR start "rule__MappingDefinition__Group__5__Impl" |
5639 | // InternalCftLanguage.g:1807:1: rule__MappingDefinition__Group__5__Impl : ( ( rule__MappingDefinition__Group_5__0 )* ) ; | 7303 | // InternalCftLanguage.g:2317:1: rule__MappingDefinition__Group__5__Impl : ( ( rule__MappingDefinition__Group_5__0 )* ) ; |
5640 | public final void rule__MappingDefinition__Group__5__Impl() throws RecognitionException { | 7304 | public final void rule__MappingDefinition__Group__5__Impl() throws RecognitionException { |
5641 | 7305 | ||
5642 | int stackSize = keepStackSize(); | 7306 | int stackSize = keepStackSize(); |
5643 | 7307 | ||
5644 | try { | 7308 | try { |
5645 | // InternalCftLanguage.g:1811:1: ( ( ( rule__MappingDefinition__Group_5__0 )* ) ) | 7309 | // InternalCftLanguage.g:2321:1: ( ( ( rule__MappingDefinition__Group_5__0 )* ) ) |
5646 | // InternalCftLanguage.g:1812:1: ( ( rule__MappingDefinition__Group_5__0 )* ) | 7310 | // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* ) |
5647 | { | 7311 | { |
5648 | // InternalCftLanguage.g:1812:1: ( ( rule__MappingDefinition__Group_5__0 )* ) | 7312 | // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* ) |
5649 | // InternalCftLanguage.g:1813:2: ( rule__MappingDefinition__Group_5__0 )* | 7313 | // InternalCftLanguage.g:2323:2: ( rule__MappingDefinition__Group_5__0 )* |
5650 | { | 7314 | { |
5651 | before(grammarAccess.getMappingDefinitionAccess().getGroup_5()); | 7315 | before(grammarAccess.getMappingDefinitionAccess().getGroup_5()); |
5652 | // InternalCftLanguage.g:1814:2: ( rule__MappingDefinition__Group_5__0 )* | 7316 | // InternalCftLanguage.g:2324:2: ( rule__MappingDefinition__Group_5__0 )* |
5653 | loop18: | 7317 | loop23: |
5654 | do { | 7318 | do { |
5655 | int alt18=2; | 7319 | int alt23=2; |
5656 | int LA18_0 = input.LA(1); | 7320 | int LA23_0 = input.LA(1); |
5657 | 7321 | ||
5658 | if ( (LA18_0==29) ) { | 7322 | if ( (LA23_0==32) ) { |
5659 | alt18=1; | 7323 | alt23=1; |
5660 | } | 7324 | } |
5661 | 7325 | ||
5662 | 7326 | ||
5663 | switch (alt18) { | 7327 | switch (alt23) { |
5664 | case 1 : | 7328 | case 1 : |
5665 | // InternalCftLanguage.g:1814:3: rule__MappingDefinition__Group_5__0 | 7329 | // InternalCftLanguage.g:2324:3: rule__MappingDefinition__Group_5__0 |
5666 | { | 7330 | { |
5667 | pushFollow(FOLLOW_24); | 7331 | pushFollow(FOLLOW_26); |
5668 | rule__MappingDefinition__Group_5__0(); | 7332 | rule__MappingDefinition__Group_5__0(); |
5669 | 7333 | ||
5670 | state._fsp--; | 7334 | state._fsp--; |
@@ -5674,7 +7338,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5674 | break; | 7338 | break; |
5675 | 7339 | ||
5676 | default : | 7340 | default : |
5677 | break loop18; | 7341 | break loop23; |
5678 | } | 7342 | } |
5679 | } while (true); | 7343 | } while (true); |
5680 | 7344 | ||
@@ -5701,16 +7365,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5701 | 7365 | ||
5702 | 7366 | ||
5703 | // $ANTLR start "rule__MappingDefinition__Group__6" | 7367 | // $ANTLR start "rule__MappingDefinition__Group__6" |
5704 | // InternalCftLanguage.g:1822:1: rule__MappingDefinition__Group__6 : rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ; | 7368 | // InternalCftLanguage.g:2332:1: rule__MappingDefinition__Group__6 : rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ; |
5705 | public final void rule__MappingDefinition__Group__6() throws RecognitionException { | 7369 | public final void rule__MappingDefinition__Group__6() throws RecognitionException { |
5706 | 7370 | ||
5707 | int stackSize = keepStackSize(); | 7371 | int stackSize = keepStackSize(); |
5708 | 7372 | ||
5709 | try { | 7373 | try { |
5710 | // InternalCftLanguage.g:1826:1: ( rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ) | 7374 | // InternalCftLanguage.g:2336:1: ( rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ) |
5711 | // InternalCftLanguage.g:1827:2: rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 | 7375 | // InternalCftLanguage.g:2337:2: rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 |
5712 | { | 7376 | { |
5713 | pushFollow(FOLLOW_25); | 7377 | pushFollow(FOLLOW_27); |
5714 | rule__MappingDefinition__Group__6__Impl(); | 7378 | rule__MappingDefinition__Group__6__Impl(); |
5715 | 7379 | ||
5716 | state._fsp--; | 7380 | state._fsp--; |
@@ -5739,20 +7403,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5739 | 7403 | ||
5740 | 7404 | ||
5741 | // $ANTLR start "rule__MappingDefinition__Group__6__Impl" | 7405 | // $ANTLR start "rule__MappingDefinition__Group__6__Impl" |
5742 | // InternalCftLanguage.g:1834:1: rule__MappingDefinition__Group__6__Impl : ( ')' ) ; | 7406 | // InternalCftLanguage.g:2344:1: rule__MappingDefinition__Group__6__Impl : ( ')' ) ; |
5743 | public final void rule__MappingDefinition__Group__6__Impl() throws RecognitionException { | 7407 | public final void rule__MappingDefinition__Group__6__Impl() throws RecognitionException { |
5744 | 7408 | ||
5745 | int stackSize = keepStackSize(); | 7409 | int stackSize = keepStackSize(); |
5746 | 7410 | ||
5747 | try { | 7411 | try { |
5748 | // InternalCftLanguage.g:1838:1: ( ( ')' ) ) | 7412 | // InternalCftLanguage.g:2348:1: ( ( ')' ) ) |
5749 | // InternalCftLanguage.g:1839:1: ( ')' ) | 7413 | // InternalCftLanguage.g:2349:1: ( ')' ) |
5750 | { | 7414 | { |
5751 | // InternalCftLanguage.g:1839:1: ( ')' ) | 7415 | // InternalCftLanguage.g:2349:1: ( ')' ) |
5752 | // InternalCftLanguage.g:1840:2: ')' | 7416 | // InternalCftLanguage.g:2350:2: ')' |
5753 | { | 7417 | { |
5754 | before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); | 7418 | before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); |
5755 | match(input,28,FOLLOW_2); | 7419 | match(input,31,FOLLOW_2); |
5756 | after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); | 7420 | after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); |
5757 | 7421 | ||
5758 | } | 7422 | } |
@@ -5776,16 +7440,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5776 | 7440 | ||
5777 | 7441 | ||
5778 | // $ANTLR start "rule__MappingDefinition__Group__7" | 7442 | // $ANTLR start "rule__MappingDefinition__Group__7" |
5779 | // InternalCftLanguage.g:1849:1: rule__MappingDefinition__Group__7 : rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ; | 7443 | // InternalCftLanguage.g:2359:1: rule__MappingDefinition__Group__7 : rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ; |
5780 | public final void rule__MappingDefinition__Group__7() throws RecognitionException { | 7444 | public final void rule__MappingDefinition__Group__7() throws RecognitionException { |
5781 | 7445 | ||
5782 | int stackSize = keepStackSize(); | 7446 | int stackSize = keepStackSize(); |
5783 | 7447 | ||
5784 | try { | 7448 | try { |
5785 | // InternalCftLanguage.g:1853:1: ( rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ) | 7449 | // InternalCftLanguage.g:2363:1: ( rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ) |
5786 | // InternalCftLanguage.g:1854:2: rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 | 7450 | // InternalCftLanguage.g:2364:2: rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 |
5787 | { | 7451 | { |
5788 | pushFollow(FOLLOW_25); | 7452 | pushFollow(FOLLOW_27); |
5789 | rule__MappingDefinition__Group__7__Impl(); | 7453 | rule__MappingDefinition__Group__7__Impl(); |
5790 | 7454 | ||
5791 | state._fsp--; | 7455 | state._fsp--; |
@@ -5814,29 +7478,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5814 | 7478 | ||
5815 | 7479 | ||
5816 | // $ANTLR start "rule__MappingDefinition__Group__7__Impl" | 7480 | // $ANTLR start "rule__MappingDefinition__Group__7__Impl" |
5817 | // InternalCftLanguage.g:1861:1: rule__MappingDefinition__Group__7__Impl : ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ; | 7481 | // InternalCftLanguage.g:2371:1: rule__MappingDefinition__Group__7__Impl : ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ; |
5818 | public final void rule__MappingDefinition__Group__7__Impl() throws RecognitionException { | 7482 | public final void rule__MappingDefinition__Group__7__Impl() throws RecognitionException { |
5819 | 7483 | ||
5820 | int stackSize = keepStackSize(); | 7484 | int stackSize = keepStackSize(); |
5821 | 7485 | ||
5822 | try { | 7486 | try { |
5823 | // InternalCftLanguage.g:1865:1: ( ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ) | 7487 | // InternalCftLanguage.g:2375:1: ( ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ) |
5824 | // InternalCftLanguage.g:1866:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) | 7488 | // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) |
5825 | { | 7489 | { |
5826 | // InternalCftLanguage.g:1866:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) | 7490 | // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) |
5827 | // InternalCftLanguage.g:1867:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? | 7491 | // InternalCftLanguage.g:2377:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? |
5828 | { | 7492 | { |
5829 | before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); | 7493 | before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); |
5830 | // InternalCftLanguage.g:1868:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? | 7494 | // InternalCftLanguage.g:2378:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? |
5831 | int alt19=2; | 7495 | int alt24=2; |
5832 | int LA19_0 = input.LA(1); | 7496 | int LA24_0 = input.LA(1); |
5833 | 7497 | ||
5834 | if ( (LA19_0==33) ) { | 7498 | if ( (LA24_0==36) ) { |
5835 | alt19=1; | 7499 | alt24=1; |
5836 | } | 7500 | } |
5837 | switch (alt19) { | 7501 | switch (alt24) { |
5838 | case 1 : | 7502 | case 1 : |
5839 | // InternalCftLanguage.g:1868:3: rule__MappingDefinition__ComponentInstanceAssignment_7 | 7503 | // InternalCftLanguage.g:2378:3: rule__MappingDefinition__ComponentInstanceAssignment_7 |
5840 | { | 7504 | { |
5841 | pushFollow(FOLLOW_2); | 7505 | pushFollow(FOLLOW_2); |
5842 | rule__MappingDefinition__ComponentInstanceAssignment_7(); | 7506 | rule__MappingDefinition__ComponentInstanceAssignment_7(); |
@@ -5872,14 +7536,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5872 | 7536 | ||
5873 | 7537 | ||
5874 | // $ANTLR start "rule__MappingDefinition__Group__8" | 7538 | // $ANTLR start "rule__MappingDefinition__Group__8" |
5875 | // InternalCftLanguage.g:1876:1: rule__MappingDefinition__Group__8 : rule__MappingDefinition__Group__8__Impl ; | 7539 | // InternalCftLanguage.g:2386:1: rule__MappingDefinition__Group__8 : rule__MappingDefinition__Group__8__Impl ; |
5876 | public final void rule__MappingDefinition__Group__8() throws RecognitionException { | 7540 | public final void rule__MappingDefinition__Group__8() throws RecognitionException { |
5877 | 7541 | ||
5878 | int stackSize = keepStackSize(); | 7542 | int stackSize = keepStackSize(); |
5879 | 7543 | ||
5880 | try { | 7544 | try { |
5881 | // InternalCftLanguage.g:1880:1: ( rule__MappingDefinition__Group__8__Impl ) | 7545 | // InternalCftLanguage.g:2390:1: ( rule__MappingDefinition__Group__8__Impl ) |
5882 | // InternalCftLanguage.g:1881:2: rule__MappingDefinition__Group__8__Impl | 7546 | // InternalCftLanguage.g:2391:2: rule__MappingDefinition__Group__8__Impl |
5883 | { | 7547 | { |
5884 | pushFollow(FOLLOW_2); | 7548 | pushFollow(FOLLOW_2); |
5885 | rule__MappingDefinition__Group__8__Impl(); | 7549 | rule__MappingDefinition__Group__8__Impl(); |
@@ -5905,29 +7569,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5905 | 7569 | ||
5906 | 7570 | ||
5907 | // $ANTLR start "rule__MappingDefinition__Group__8__Impl" | 7571 | // $ANTLR start "rule__MappingDefinition__Group__8__Impl" |
5908 | // InternalCftLanguage.g:1887:1: rule__MappingDefinition__Group__8__Impl : ( ( rule__MappingDefinition__Group_8__0 )? ) ; | 7572 | // InternalCftLanguage.g:2397:1: rule__MappingDefinition__Group__8__Impl : ( ( rule__MappingDefinition__Group_8__0 )? ) ; |
5909 | public final void rule__MappingDefinition__Group__8__Impl() throws RecognitionException { | 7573 | public final void rule__MappingDefinition__Group__8__Impl() throws RecognitionException { |
5910 | 7574 | ||
5911 | int stackSize = keepStackSize(); | 7575 | int stackSize = keepStackSize(); |
5912 | 7576 | ||
5913 | try { | 7577 | try { |
5914 | // InternalCftLanguage.g:1891:1: ( ( ( rule__MappingDefinition__Group_8__0 )? ) ) | 7578 | // InternalCftLanguage.g:2401:1: ( ( ( rule__MappingDefinition__Group_8__0 )? ) ) |
5915 | // InternalCftLanguage.g:1892:1: ( ( rule__MappingDefinition__Group_8__0 )? ) | 7579 | // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? ) |
5916 | { | 7580 | { |
5917 | // InternalCftLanguage.g:1892:1: ( ( rule__MappingDefinition__Group_8__0 )? ) | 7581 | // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? ) |
5918 | // InternalCftLanguage.g:1893:2: ( rule__MappingDefinition__Group_8__0 )? | 7582 | // InternalCftLanguage.g:2403:2: ( rule__MappingDefinition__Group_8__0 )? |
5919 | { | 7583 | { |
5920 | before(grammarAccess.getMappingDefinitionAccess().getGroup_8()); | 7584 | before(grammarAccess.getMappingDefinitionAccess().getGroup_8()); |
5921 | // InternalCftLanguage.g:1894:2: ( rule__MappingDefinition__Group_8__0 )? | 7585 | // InternalCftLanguage.g:2404:2: ( rule__MappingDefinition__Group_8__0 )? |
5922 | int alt20=2; | 7586 | int alt25=2; |
5923 | int LA20_0 = input.LA(1); | 7587 | int LA25_0 = input.LA(1); |
5924 | 7588 | ||
5925 | if ( (LA20_0==17) ) { | 7589 | if ( (LA25_0==18) ) { |
5926 | alt20=1; | 7590 | alt25=1; |
5927 | } | 7591 | } |
5928 | switch (alt20) { | 7592 | switch (alt25) { |
5929 | case 1 : | 7593 | case 1 : |
5930 | // InternalCftLanguage.g:1894:3: rule__MappingDefinition__Group_8__0 | 7594 | // InternalCftLanguage.g:2404:3: rule__MappingDefinition__Group_8__0 |
5931 | { | 7595 | { |
5932 | pushFollow(FOLLOW_2); | 7596 | pushFollow(FOLLOW_2); |
5933 | rule__MappingDefinition__Group_8__0(); | 7597 | rule__MappingDefinition__Group_8__0(); |
@@ -5963,14 +7627,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
5963 | 7627 | ||
5964 | 7628 | ||
5965 | // $ANTLR start "rule__MappingDefinition__Group_5__0" | 7629 | // $ANTLR start "rule__MappingDefinition__Group_5__0" |
5966 | // InternalCftLanguage.g:1903:1: rule__MappingDefinition__Group_5__0 : rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ; | 7630 | // InternalCftLanguage.g:2413:1: rule__MappingDefinition__Group_5__0 : rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ; |
5967 | public final void rule__MappingDefinition__Group_5__0() throws RecognitionException { | 7631 | public final void rule__MappingDefinition__Group_5__0() throws RecognitionException { |
5968 | 7632 | ||
5969 | int stackSize = keepStackSize(); | 7633 | int stackSize = keepStackSize(); |
5970 | 7634 | ||
5971 | try { | 7635 | try { |
5972 | // InternalCftLanguage.g:1907:1: ( rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ) | 7636 | // InternalCftLanguage.g:2417:1: ( rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ) |
5973 | // InternalCftLanguage.g:1908:2: rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 | 7637 | // InternalCftLanguage.g:2418:2: rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 |
5974 | { | 7638 | { |
5975 | pushFollow(FOLLOW_3); | 7639 | pushFollow(FOLLOW_3); |
5976 | rule__MappingDefinition__Group_5__0__Impl(); | 7640 | rule__MappingDefinition__Group_5__0__Impl(); |
@@ -6001,20 +7665,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6001 | 7665 | ||
6002 | 7666 | ||
6003 | // $ANTLR start "rule__MappingDefinition__Group_5__0__Impl" | 7667 | // $ANTLR start "rule__MappingDefinition__Group_5__0__Impl" |
6004 | // InternalCftLanguage.g:1915:1: rule__MappingDefinition__Group_5__0__Impl : ( ',' ) ; | 7668 | // InternalCftLanguage.g:2425:1: rule__MappingDefinition__Group_5__0__Impl : ( ',' ) ; |
6005 | public final void rule__MappingDefinition__Group_5__0__Impl() throws RecognitionException { | 7669 | public final void rule__MappingDefinition__Group_5__0__Impl() throws RecognitionException { |
6006 | 7670 | ||
6007 | int stackSize = keepStackSize(); | 7671 | int stackSize = keepStackSize(); |
6008 | 7672 | ||
6009 | try { | 7673 | try { |
6010 | // InternalCftLanguage.g:1919:1: ( ( ',' ) ) | 7674 | // InternalCftLanguage.g:2429:1: ( ( ',' ) ) |
6011 | // InternalCftLanguage.g:1920:1: ( ',' ) | 7675 | // InternalCftLanguage.g:2430:1: ( ',' ) |
6012 | { | 7676 | { |
6013 | // InternalCftLanguage.g:1920:1: ( ',' ) | 7677 | // InternalCftLanguage.g:2430:1: ( ',' ) |
6014 | // InternalCftLanguage.g:1921:2: ',' | 7678 | // InternalCftLanguage.g:2431:2: ',' |
6015 | { | 7679 | { |
6016 | before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); | 7680 | before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); |
6017 | match(input,29,FOLLOW_2); | 7681 | match(input,32,FOLLOW_2); |
6018 | after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); | 7682 | after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); |
6019 | 7683 | ||
6020 | } | 7684 | } |
@@ -6038,14 +7702,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6038 | 7702 | ||
6039 | 7703 | ||
6040 | // $ANTLR start "rule__MappingDefinition__Group_5__1" | 7704 | // $ANTLR start "rule__MappingDefinition__Group_5__1" |
6041 | // InternalCftLanguage.g:1930:1: rule__MappingDefinition__Group_5__1 : rule__MappingDefinition__Group_5__1__Impl ; | 7705 | // InternalCftLanguage.g:2440:1: rule__MappingDefinition__Group_5__1 : rule__MappingDefinition__Group_5__1__Impl ; |
6042 | public final void rule__MappingDefinition__Group_5__1() throws RecognitionException { | 7706 | public final void rule__MappingDefinition__Group_5__1() throws RecognitionException { |
6043 | 7707 | ||
6044 | int stackSize = keepStackSize(); | 7708 | int stackSize = keepStackSize(); |
6045 | 7709 | ||
6046 | try { | 7710 | try { |
6047 | // InternalCftLanguage.g:1934:1: ( rule__MappingDefinition__Group_5__1__Impl ) | 7711 | // InternalCftLanguage.g:2444:1: ( rule__MappingDefinition__Group_5__1__Impl ) |
6048 | // InternalCftLanguage.g:1935:2: rule__MappingDefinition__Group_5__1__Impl | 7712 | // InternalCftLanguage.g:2445:2: rule__MappingDefinition__Group_5__1__Impl |
6049 | { | 7713 | { |
6050 | pushFollow(FOLLOW_2); | 7714 | pushFollow(FOLLOW_2); |
6051 | rule__MappingDefinition__Group_5__1__Impl(); | 7715 | rule__MappingDefinition__Group_5__1__Impl(); |
@@ -6071,21 +7735,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6071 | 7735 | ||
6072 | 7736 | ||
6073 | // $ANTLR start "rule__MappingDefinition__Group_5__1__Impl" | 7737 | // $ANTLR start "rule__MappingDefinition__Group_5__1__Impl" |
6074 | // InternalCftLanguage.g:1941:1: rule__MappingDefinition__Group_5__1__Impl : ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ; | 7738 | // InternalCftLanguage.g:2451:1: rule__MappingDefinition__Group_5__1__Impl : ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ; |
6075 | public final void rule__MappingDefinition__Group_5__1__Impl() throws RecognitionException { | 7739 | public final void rule__MappingDefinition__Group_5__1__Impl() throws RecognitionException { |
6076 | 7740 | ||
6077 | int stackSize = keepStackSize(); | 7741 | int stackSize = keepStackSize(); |
6078 | 7742 | ||
6079 | try { | 7743 | try { |
6080 | // InternalCftLanguage.g:1945:1: ( ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ) | 7744 | // InternalCftLanguage.g:2455:1: ( ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ) |
6081 | // InternalCftLanguage.g:1946:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) | 7745 | // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) |
6082 | { | 7746 | { |
6083 | // InternalCftLanguage.g:1946:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) | 7747 | // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) |
6084 | // InternalCftLanguage.g:1947:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) | 7748 | // InternalCftLanguage.g:2457:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) |
6085 | { | 7749 | { |
6086 | before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); | 7750 | before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); |
6087 | // InternalCftLanguage.g:1948:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) | 7751 | // InternalCftLanguage.g:2458:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) |
6088 | // InternalCftLanguage.g:1948:3: rule__MappingDefinition__ParametersAssignment_5_1 | 7752 | // InternalCftLanguage.g:2458:3: rule__MappingDefinition__ParametersAssignment_5_1 |
6089 | { | 7753 | { |
6090 | pushFollow(FOLLOW_2); | 7754 | pushFollow(FOLLOW_2); |
6091 | rule__MappingDefinition__ParametersAssignment_5_1(); | 7755 | rule__MappingDefinition__ParametersAssignment_5_1(); |
@@ -6118,16 +7782,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6118 | 7782 | ||
6119 | 7783 | ||
6120 | // $ANTLR start "rule__MappingDefinition__Group_8__0" | 7784 | // $ANTLR start "rule__MappingDefinition__Group_8__0" |
6121 | // InternalCftLanguage.g:1957:1: rule__MappingDefinition__Group_8__0 : rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ; | 7785 | // InternalCftLanguage.g:2467:1: rule__MappingDefinition__Group_8__0 : rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ; |
6122 | public final void rule__MappingDefinition__Group_8__0() throws RecognitionException { | 7786 | public final void rule__MappingDefinition__Group_8__0() throws RecognitionException { |
6123 | 7787 | ||
6124 | int stackSize = keepStackSize(); | 7788 | int stackSize = keepStackSize(); |
6125 | 7789 | ||
6126 | try { | 7790 | try { |
6127 | // InternalCftLanguage.g:1961:1: ( rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ) | 7791 | // InternalCftLanguage.g:2471:1: ( rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ) |
6128 | // InternalCftLanguage.g:1962:2: rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 | 7792 | // InternalCftLanguage.g:2472:2: rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 |
6129 | { | 7793 | { |
6130 | pushFollow(FOLLOW_26); | 7794 | pushFollow(FOLLOW_28); |
6131 | rule__MappingDefinition__Group_8__0__Impl(); | 7795 | rule__MappingDefinition__Group_8__0__Impl(); |
6132 | 7796 | ||
6133 | state._fsp--; | 7797 | state._fsp--; |
@@ -6156,20 +7820,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6156 | 7820 | ||
6157 | 7821 | ||
6158 | // $ANTLR start "rule__MappingDefinition__Group_8__0__Impl" | 7822 | // $ANTLR start "rule__MappingDefinition__Group_8__0__Impl" |
6159 | // InternalCftLanguage.g:1969:1: rule__MappingDefinition__Group_8__0__Impl : ( '{' ) ; | 7823 | // InternalCftLanguage.g:2479:1: rule__MappingDefinition__Group_8__0__Impl : ( '{' ) ; |
6160 | public final void rule__MappingDefinition__Group_8__0__Impl() throws RecognitionException { | 7824 | public final void rule__MappingDefinition__Group_8__0__Impl() throws RecognitionException { |
6161 | 7825 | ||
6162 | int stackSize = keepStackSize(); | 7826 | int stackSize = keepStackSize(); |
6163 | 7827 | ||
6164 | try { | 7828 | try { |
6165 | // InternalCftLanguage.g:1973:1: ( ( '{' ) ) | 7829 | // InternalCftLanguage.g:2483:1: ( ( '{' ) ) |
6166 | // InternalCftLanguage.g:1974:1: ( '{' ) | 7830 | // InternalCftLanguage.g:2484:1: ( '{' ) |
6167 | { | 7831 | { |
6168 | // InternalCftLanguage.g:1974:1: ( '{' ) | 7832 | // InternalCftLanguage.g:2484:1: ( '{' ) |
6169 | // InternalCftLanguage.g:1975:2: '{' | 7833 | // InternalCftLanguage.g:2485:2: '{' |
6170 | { | 7834 | { |
6171 | before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); | 7835 | before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); |
6172 | match(input,17,FOLLOW_2); | 7836 | match(input,18,FOLLOW_2); |
6173 | after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); | 7837 | after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); |
6174 | 7838 | ||
6175 | } | 7839 | } |
@@ -6193,16 +7857,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6193 | 7857 | ||
6194 | 7858 | ||
6195 | // $ANTLR start "rule__MappingDefinition__Group_8__1" | 7859 | // $ANTLR start "rule__MappingDefinition__Group_8__1" |
6196 | // InternalCftLanguage.g:1984:1: rule__MappingDefinition__Group_8__1 : rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ; | 7860 | // InternalCftLanguage.g:2494:1: rule__MappingDefinition__Group_8__1 : rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ; |
6197 | public final void rule__MappingDefinition__Group_8__1() throws RecognitionException { | 7861 | public final void rule__MappingDefinition__Group_8__1() throws RecognitionException { |
6198 | 7862 | ||
6199 | int stackSize = keepStackSize(); | 7863 | int stackSize = keepStackSize(); |
6200 | 7864 | ||
6201 | try { | 7865 | try { |
6202 | // InternalCftLanguage.g:1988:1: ( rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ) | 7866 | // InternalCftLanguage.g:2498:1: ( rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ) |
6203 | // InternalCftLanguage.g:1989:2: rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 | 7867 | // InternalCftLanguage.g:2499:2: rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 |
6204 | { | 7868 | { |
6205 | pushFollow(FOLLOW_26); | 7869 | pushFollow(FOLLOW_28); |
6206 | rule__MappingDefinition__Group_8__1__Impl(); | 7870 | rule__MappingDefinition__Group_8__1__Impl(); |
6207 | 7871 | ||
6208 | state._fsp--; | 7872 | state._fsp--; |
@@ -6231,35 +7895,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6231 | 7895 | ||
6232 | 7896 | ||
6233 | // $ANTLR start "rule__MappingDefinition__Group_8__1__Impl" | 7897 | // $ANTLR start "rule__MappingDefinition__Group_8__1__Impl" |
6234 | // InternalCftLanguage.g:1996:1: rule__MappingDefinition__Group_8__1__Impl : ( ( rule__MappingDefinition__Group_8_1__0 )* ) ; | 7898 | // InternalCftLanguage.g:2506:1: rule__MappingDefinition__Group_8__1__Impl : ( ( rule__MappingDefinition__Group_8_1__0 )* ) ; |
6235 | public final void rule__MappingDefinition__Group_8__1__Impl() throws RecognitionException { | 7899 | public final void rule__MappingDefinition__Group_8__1__Impl() throws RecognitionException { |
6236 | 7900 | ||
6237 | int stackSize = keepStackSize(); | 7901 | int stackSize = keepStackSize(); |
6238 | 7902 | ||
6239 | try { | 7903 | try { |
6240 | // InternalCftLanguage.g:2000:1: ( ( ( rule__MappingDefinition__Group_8_1__0 )* ) ) | 7904 | // InternalCftLanguage.g:2510:1: ( ( ( rule__MappingDefinition__Group_8_1__0 )* ) ) |
6241 | // InternalCftLanguage.g:2001:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) | 7905 | // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) |
6242 | { | 7906 | { |
6243 | // InternalCftLanguage.g:2001:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) | 7907 | // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) |
6244 | // InternalCftLanguage.g:2002:2: ( rule__MappingDefinition__Group_8_1__0 )* | 7908 | // InternalCftLanguage.g:2512:2: ( rule__MappingDefinition__Group_8_1__0 )* |
6245 | { | 7909 | { |
6246 | before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); | 7910 | before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); |
6247 | // InternalCftLanguage.g:2003:2: ( rule__MappingDefinition__Group_8_1__0 )* | 7911 | // InternalCftLanguage.g:2513:2: ( rule__MappingDefinition__Group_8_1__0 )* |
6248 | loop21: | 7912 | loop26: |
6249 | do { | 7913 | do { |
6250 | int alt21=2; | 7914 | int alt26=2; |
6251 | int LA21_0 = input.LA(1); | 7915 | int LA26_0 = input.LA(1); |
6252 | 7916 | ||
6253 | if ( (LA21_0==RULE_ID||LA21_0==30) ) { | 7917 | if ( ((LA26_0>=RULE_ID && LA26_0<=RULE_OF_INT)||LA26_0==33) ) { |
6254 | alt21=1; | 7918 | alt26=1; |
6255 | } | 7919 | } |
6256 | 7920 | ||
6257 | 7921 | ||
6258 | switch (alt21) { | 7922 | switch (alt26) { |
6259 | case 1 : | 7923 | case 1 : |
6260 | // InternalCftLanguage.g:2003:3: rule__MappingDefinition__Group_8_1__0 | 7924 | // InternalCftLanguage.g:2513:3: rule__MappingDefinition__Group_8_1__0 |
6261 | { | 7925 | { |
6262 | pushFollow(FOLLOW_27); | 7926 | pushFollow(FOLLOW_29); |
6263 | rule__MappingDefinition__Group_8_1__0(); | 7927 | rule__MappingDefinition__Group_8_1__0(); |
6264 | 7928 | ||
6265 | state._fsp--; | 7929 | state._fsp--; |
@@ -6269,7 +7933,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6269 | break; | 7933 | break; |
6270 | 7934 | ||
6271 | default : | 7935 | default : |
6272 | break loop21; | 7936 | break loop26; |
6273 | } | 7937 | } |
6274 | } while (true); | 7938 | } while (true); |
6275 | 7939 | ||
@@ -6296,14 +7960,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6296 | 7960 | ||
6297 | 7961 | ||
6298 | // $ANTLR start "rule__MappingDefinition__Group_8__2" | 7962 | // $ANTLR start "rule__MappingDefinition__Group_8__2" |
6299 | // InternalCftLanguage.g:2011:1: rule__MappingDefinition__Group_8__2 : rule__MappingDefinition__Group_8__2__Impl ; | 7963 | // InternalCftLanguage.g:2521:1: rule__MappingDefinition__Group_8__2 : rule__MappingDefinition__Group_8__2__Impl ; |
6300 | public final void rule__MappingDefinition__Group_8__2() throws RecognitionException { | 7964 | public final void rule__MappingDefinition__Group_8__2() throws RecognitionException { |
6301 | 7965 | ||
6302 | int stackSize = keepStackSize(); | 7966 | int stackSize = keepStackSize(); |
6303 | 7967 | ||
6304 | try { | 7968 | try { |
6305 | // InternalCftLanguage.g:2015:1: ( rule__MappingDefinition__Group_8__2__Impl ) | 7969 | // InternalCftLanguage.g:2525:1: ( rule__MappingDefinition__Group_8__2__Impl ) |
6306 | // InternalCftLanguage.g:2016:2: rule__MappingDefinition__Group_8__2__Impl | 7970 | // InternalCftLanguage.g:2526:2: rule__MappingDefinition__Group_8__2__Impl |
6307 | { | 7971 | { |
6308 | pushFollow(FOLLOW_2); | 7972 | pushFollow(FOLLOW_2); |
6309 | rule__MappingDefinition__Group_8__2__Impl(); | 7973 | rule__MappingDefinition__Group_8__2__Impl(); |
@@ -6329,20 +7993,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6329 | 7993 | ||
6330 | 7994 | ||
6331 | // $ANTLR start "rule__MappingDefinition__Group_8__2__Impl" | 7995 | // $ANTLR start "rule__MappingDefinition__Group_8__2__Impl" |
6332 | // InternalCftLanguage.g:2022:1: rule__MappingDefinition__Group_8__2__Impl : ( '}' ) ; | 7996 | // InternalCftLanguage.g:2532:1: rule__MappingDefinition__Group_8__2__Impl : ( '}' ) ; |
6333 | public final void rule__MappingDefinition__Group_8__2__Impl() throws RecognitionException { | 7997 | public final void rule__MappingDefinition__Group_8__2__Impl() throws RecognitionException { |
6334 | 7998 | ||
6335 | int stackSize = keepStackSize(); | 7999 | int stackSize = keepStackSize(); |
6336 | 8000 | ||
6337 | try { | 8001 | try { |
6338 | // InternalCftLanguage.g:2026:1: ( ( '}' ) ) | 8002 | // InternalCftLanguage.g:2536:1: ( ( '}' ) ) |
6339 | // InternalCftLanguage.g:2027:1: ( '}' ) | 8003 | // InternalCftLanguage.g:2537:1: ( '}' ) |
6340 | { | 8004 | { |
6341 | // InternalCftLanguage.g:2027:1: ( '}' ) | 8005 | // InternalCftLanguage.g:2537:1: ( '}' ) |
6342 | // InternalCftLanguage.g:2028:2: '}' | 8006 | // InternalCftLanguage.g:2538:2: '}' |
6343 | { | 8007 | { |
6344 | before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); | 8008 | before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); |
6345 | match(input,18,FOLLOW_2); | 8009 | match(input,19,FOLLOW_2); |
6346 | after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); | 8010 | after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); |
6347 | 8011 | ||
6348 | } | 8012 | } |
@@ -6366,14 +8030,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6366 | 8030 | ||
6367 | 8031 | ||
6368 | // $ANTLR start "rule__MappingDefinition__Group_8_1__0" | 8032 | // $ANTLR start "rule__MappingDefinition__Group_8_1__0" |
6369 | // InternalCftLanguage.g:2038:1: rule__MappingDefinition__Group_8_1__0 : rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ; | 8033 | // InternalCftLanguage.g:2548:1: rule__MappingDefinition__Group_8_1__0 : rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ; |
6370 | public final void rule__MappingDefinition__Group_8_1__0() throws RecognitionException { | 8034 | public final void rule__MappingDefinition__Group_8_1__0() throws RecognitionException { |
6371 | 8035 | ||
6372 | int stackSize = keepStackSize(); | 8036 | int stackSize = keepStackSize(); |
6373 | 8037 | ||
6374 | try { | 8038 | try { |
6375 | // InternalCftLanguage.g:2042:1: ( rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ) | 8039 | // InternalCftLanguage.g:2552:1: ( rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ) |
6376 | // InternalCftLanguage.g:2043:2: rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 | 8040 | // InternalCftLanguage.g:2553:2: rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 |
6377 | { | 8041 | { |
6378 | pushFollow(FOLLOW_7); | 8042 | pushFollow(FOLLOW_7); |
6379 | rule__MappingDefinition__Group_8_1__0__Impl(); | 8043 | rule__MappingDefinition__Group_8_1__0__Impl(); |
@@ -6404,21 +8068,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6404 | 8068 | ||
6405 | 8069 | ||
6406 | // $ANTLR start "rule__MappingDefinition__Group_8_1__0__Impl" | 8070 | // $ANTLR start "rule__MappingDefinition__Group_8_1__0__Impl" |
6407 | // InternalCftLanguage.g:2050:1: rule__MappingDefinition__Group_8_1__0__Impl : ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ; | 8071 | // InternalCftLanguage.g:2560:1: rule__MappingDefinition__Group_8_1__0__Impl : ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ; |
6408 | public final void rule__MappingDefinition__Group_8_1__0__Impl() throws RecognitionException { | 8072 | public final void rule__MappingDefinition__Group_8_1__0__Impl() throws RecognitionException { |
6409 | 8073 | ||
6410 | int stackSize = keepStackSize(); | 8074 | int stackSize = keepStackSize(); |
6411 | 8075 | ||
6412 | try { | 8076 | try { |
6413 | // InternalCftLanguage.g:2054:1: ( ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ) | 8077 | // InternalCftLanguage.g:2564:1: ( ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ) |
6414 | // InternalCftLanguage.g:2055:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) | 8078 | // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) |
6415 | { | 8079 | { |
6416 | // InternalCftLanguage.g:2055:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) | 8080 | // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) |
6417 | // InternalCftLanguage.g:2056:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) | 8081 | // InternalCftLanguage.g:2566:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) |
6418 | { | 8082 | { |
6419 | before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); | 8083 | before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); |
6420 | // InternalCftLanguage.g:2057:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) | 8084 | // InternalCftLanguage.g:2567:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) |
6421 | // InternalCftLanguage.g:2057:3: rule__MappingDefinition__Alternatives_8_1_0 | 8085 | // InternalCftLanguage.g:2567:3: rule__MappingDefinition__Alternatives_8_1_0 |
6422 | { | 8086 | { |
6423 | pushFollow(FOLLOW_2); | 8087 | pushFollow(FOLLOW_2); |
6424 | rule__MappingDefinition__Alternatives_8_1_0(); | 8088 | rule__MappingDefinition__Alternatives_8_1_0(); |
@@ -6451,14 +8115,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6451 | 8115 | ||
6452 | 8116 | ||
6453 | // $ANTLR start "rule__MappingDefinition__Group_8_1__1" | 8117 | // $ANTLR start "rule__MappingDefinition__Group_8_1__1" |
6454 | // InternalCftLanguage.g:2065:1: rule__MappingDefinition__Group_8_1__1 : rule__MappingDefinition__Group_8_1__1__Impl ; | 8118 | // InternalCftLanguage.g:2575:1: rule__MappingDefinition__Group_8_1__1 : rule__MappingDefinition__Group_8_1__1__Impl ; |
6455 | public final void rule__MappingDefinition__Group_8_1__1() throws RecognitionException { | 8119 | public final void rule__MappingDefinition__Group_8_1__1() throws RecognitionException { |
6456 | 8120 | ||
6457 | int stackSize = keepStackSize(); | 8121 | int stackSize = keepStackSize(); |
6458 | 8122 | ||
6459 | try { | 8123 | try { |
6460 | // InternalCftLanguage.g:2069:1: ( rule__MappingDefinition__Group_8_1__1__Impl ) | 8124 | // InternalCftLanguage.g:2579:1: ( rule__MappingDefinition__Group_8_1__1__Impl ) |
6461 | // InternalCftLanguage.g:2070:2: rule__MappingDefinition__Group_8_1__1__Impl | 8125 | // InternalCftLanguage.g:2580:2: rule__MappingDefinition__Group_8_1__1__Impl |
6462 | { | 8126 | { |
6463 | pushFollow(FOLLOW_2); | 8127 | pushFollow(FOLLOW_2); |
6464 | rule__MappingDefinition__Group_8_1__1__Impl(); | 8128 | rule__MappingDefinition__Group_8_1__1__Impl(); |
@@ -6484,20 +8148,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6484 | 8148 | ||
6485 | 8149 | ||
6486 | // $ANTLR start "rule__MappingDefinition__Group_8_1__1__Impl" | 8150 | // $ANTLR start "rule__MappingDefinition__Group_8_1__1__Impl" |
6487 | // InternalCftLanguage.g:2076:1: rule__MappingDefinition__Group_8_1__1__Impl : ( ';' ) ; | 8151 | // InternalCftLanguage.g:2586:1: rule__MappingDefinition__Group_8_1__1__Impl : ( ';' ) ; |
6488 | public final void rule__MappingDefinition__Group_8_1__1__Impl() throws RecognitionException { | 8152 | public final void rule__MappingDefinition__Group_8_1__1__Impl() throws RecognitionException { |
6489 | 8153 | ||
6490 | int stackSize = keepStackSize(); | 8154 | int stackSize = keepStackSize(); |
6491 | 8155 | ||
6492 | try { | 8156 | try { |
6493 | // InternalCftLanguage.g:2080:1: ( ( ';' ) ) | 8157 | // InternalCftLanguage.g:2590:1: ( ( ';' ) ) |
6494 | // InternalCftLanguage.g:2081:1: ( ';' ) | 8158 | // InternalCftLanguage.g:2591:1: ( ';' ) |
6495 | { | 8159 | { |
6496 | // InternalCftLanguage.g:2081:1: ( ';' ) | 8160 | // InternalCftLanguage.g:2591:1: ( ';' ) |
6497 | // InternalCftLanguage.g:2082:2: ';' | 8161 | // InternalCftLanguage.g:2592:2: ';' |
6498 | { | 8162 | { |
6499 | before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); | 8163 | before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); |
6500 | match(input,14,FOLLOW_2); | 8164 | match(input,15,FOLLOW_2); |
6501 | after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); | 8165 | after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); |
6502 | 8166 | ||
6503 | } | 8167 | } |
@@ -6521,14 +8185,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6521 | 8185 | ||
6522 | 8186 | ||
6523 | // $ANTLR start "rule__LookupDefinition__Group__0" | 8187 | // $ANTLR start "rule__LookupDefinition__Group__0" |
6524 | // InternalCftLanguage.g:2092:1: rule__LookupDefinition__Group__0 : rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ; | 8188 | // InternalCftLanguage.g:2602:1: rule__LookupDefinition__Group__0 : rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ; |
6525 | public final void rule__LookupDefinition__Group__0() throws RecognitionException { | 8189 | public final void rule__LookupDefinition__Group__0() throws RecognitionException { |
6526 | 8190 | ||
6527 | int stackSize = keepStackSize(); | 8191 | int stackSize = keepStackSize(); |
6528 | 8192 | ||
6529 | try { | 8193 | try { |
6530 | // InternalCftLanguage.g:2096:1: ( rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ) | 8194 | // InternalCftLanguage.g:2606:1: ( rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ) |
6531 | // InternalCftLanguage.g:2097:2: rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 | 8195 | // InternalCftLanguage.g:2607:2: rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 |
6532 | { | 8196 | { |
6533 | pushFollow(FOLLOW_3); | 8197 | pushFollow(FOLLOW_3); |
6534 | rule__LookupDefinition__Group__0__Impl(); | 8198 | rule__LookupDefinition__Group__0__Impl(); |
@@ -6559,20 +8223,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6559 | 8223 | ||
6560 | 8224 | ||
6561 | // $ANTLR start "rule__LookupDefinition__Group__0__Impl" | 8225 | // $ANTLR start "rule__LookupDefinition__Group__0__Impl" |
6562 | // InternalCftLanguage.g:2104:1: rule__LookupDefinition__Group__0__Impl : ( 'lookup' ) ; | 8226 | // InternalCftLanguage.g:2614:1: rule__LookupDefinition__Group__0__Impl : ( 'lookup' ) ; |
6563 | public final void rule__LookupDefinition__Group__0__Impl() throws RecognitionException { | 8227 | public final void rule__LookupDefinition__Group__0__Impl() throws RecognitionException { |
6564 | 8228 | ||
6565 | int stackSize = keepStackSize(); | 8229 | int stackSize = keepStackSize(); |
6566 | 8230 | ||
6567 | try { | 8231 | try { |
6568 | // InternalCftLanguage.g:2108:1: ( ( 'lookup' ) ) | 8232 | // InternalCftLanguage.g:2618:1: ( ( 'lookup' ) ) |
6569 | // InternalCftLanguage.g:2109:1: ( 'lookup' ) | 8233 | // InternalCftLanguage.g:2619:1: ( 'lookup' ) |
6570 | { | 8234 | { |
6571 | // InternalCftLanguage.g:2109:1: ( 'lookup' ) | 8235 | // InternalCftLanguage.g:2619:1: ( 'lookup' ) |
6572 | // InternalCftLanguage.g:2110:2: 'lookup' | 8236 | // InternalCftLanguage.g:2620:2: 'lookup' |
6573 | { | 8237 | { |
6574 | before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); | 8238 | before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); |
6575 | match(input,30,FOLLOW_2); | 8239 | match(input,33,FOLLOW_2); |
6576 | after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); | 8240 | after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); |
6577 | 8241 | ||
6578 | } | 8242 | } |
@@ -6596,16 +8260,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6596 | 8260 | ||
6597 | 8261 | ||
6598 | // $ANTLR start "rule__LookupDefinition__Group__1" | 8262 | // $ANTLR start "rule__LookupDefinition__Group__1" |
6599 | // InternalCftLanguage.g:2119:1: rule__LookupDefinition__Group__1 : rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ; | 8263 | // InternalCftLanguage.g:2629:1: rule__LookupDefinition__Group__1 : rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ; |
6600 | public final void rule__LookupDefinition__Group__1() throws RecognitionException { | 8264 | public final void rule__LookupDefinition__Group__1() throws RecognitionException { |
6601 | 8265 | ||
6602 | int stackSize = keepStackSize(); | 8266 | int stackSize = keepStackSize(); |
6603 | 8267 | ||
6604 | try { | 8268 | try { |
6605 | // InternalCftLanguage.g:2123:1: ( rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ) | 8269 | // InternalCftLanguage.g:2633:1: ( rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ) |
6606 | // InternalCftLanguage.g:2124:2: rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 | 8270 | // InternalCftLanguage.g:2634:2: rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 |
6607 | { | 8271 | { |
6608 | pushFollow(FOLLOW_22); | 8272 | pushFollow(FOLLOW_24); |
6609 | rule__LookupDefinition__Group__1__Impl(); | 8273 | rule__LookupDefinition__Group__1__Impl(); |
6610 | 8274 | ||
6611 | state._fsp--; | 8275 | state._fsp--; |
@@ -6634,21 +8298,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6634 | 8298 | ||
6635 | 8299 | ||
6636 | // $ANTLR start "rule__LookupDefinition__Group__1__Impl" | 8300 | // $ANTLR start "rule__LookupDefinition__Group__1__Impl" |
6637 | // InternalCftLanguage.g:2131:1: rule__LookupDefinition__Group__1__Impl : ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ; | 8301 | // InternalCftLanguage.g:2641:1: rule__LookupDefinition__Group__1__Impl : ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ; |
6638 | public final void rule__LookupDefinition__Group__1__Impl() throws RecognitionException { | 8302 | public final void rule__LookupDefinition__Group__1__Impl() throws RecognitionException { |
6639 | 8303 | ||
6640 | int stackSize = keepStackSize(); | 8304 | int stackSize = keepStackSize(); |
6641 | 8305 | ||
6642 | try { | 8306 | try { |
6643 | // InternalCftLanguage.g:2135:1: ( ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ) | 8307 | // InternalCftLanguage.g:2645:1: ( ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ) |
6644 | // InternalCftLanguage.g:2136:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) | 8308 | // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) |
6645 | { | 8309 | { |
6646 | // InternalCftLanguage.g:2136:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) | 8310 | // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) |
6647 | // InternalCftLanguage.g:2137:2: ( rule__LookupDefinition__MappingAssignment_1 ) | 8311 | // InternalCftLanguage.g:2647:2: ( rule__LookupDefinition__MappingAssignment_1 ) |
6648 | { | 8312 | { |
6649 | before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); | 8313 | before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); |
6650 | // InternalCftLanguage.g:2138:2: ( rule__LookupDefinition__MappingAssignment_1 ) | 8314 | // InternalCftLanguage.g:2648:2: ( rule__LookupDefinition__MappingAssignment_1 ) |
6651 | // InternalCftLanguage.g:2138:3: rule__LookupDefinition__MappingAssignment_1 | 8315 | // InternalCftLanguage.g:2648:3: rule__LookupDefinition__MappingAssignment_1 |
6652 | { | 8316 | { |
6653 | pushFollow(FOLLOW_2); | 8317 | pushFollow(FOLLOW_2); |
6654 | rule__LookupDefinition__MappingAssignment_1(); | 8318 | rule__LookupDefinition__MappingAssignment_1(); |
@@ -6681,14 +8345,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6681 | 8345 | ||
6682 | 8346 | ||
6683 | // $ANTLR start "rule__LookupDefinition__Group__2" | 8347 | // $ANTLR start "rule__LookupDefinition__Group__2" |
6684 | // InternalCftLanguage.g:2146:1: rule__LookupDefinition__Group__2 : rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ; | 8348 | // InternalCftLanguage.g:2656:1: rule__LookupDefinition__Group__2 : rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ; |
6685 | public final void rule__LookupDefinition__Group__2() throws RecognitionException { | 8349 | public final void rule__LookupDefinition__Group__2() throws RecognitionException { |
6686 | 8350 | ||
6687 | int stackSize = keepStackSize(); | 8351 | int stackSize = keepStackSize(); |
6688 | 8352 | ||
6689 | try { | 8353 | try { |
6690 | // InternalCftLanguage.g:2150:1: ( rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ) | 8354 | // InternalCftLanguage.g:2660:1: ( rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ) |
6691 | // InternalCftLanguage.g:2151:2: rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 | 8355 | // InternalCftLanguage.g:2661:2: rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 |
6692 | { | 8356 | { |
6693 | pushFollow(FOLLOW_3); | 8357 | pushFollow(FOLLOW_3); |
6694 | rule__LookupDefinition__Group__2__Impl(); | 8358 | rule__LookupDefinition__Group__2__Impl(); |
@@ -6719,20 +8383,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6719 | 8383 | ||
6720 | 8384 | ||
6721 | // $ANTLR start "rule__LookupDefinition__Group__2__Impl" | 8385 | // $ANTLR start "rule__LookupDefinition__Group__2__Impl" |
6722 | // InternalCftLanguage.g:2158:1: rule__LookupDefinition__Group__2__Impl : ( '(' ) ; | 8386 | // InternalCftLanguage.g:2668:1: rule__LookupDefinition__Group__2__Impl : ( '(' ) ; |
6723 | public final void rule__LookupDefinition__Group__2__Impl() throws RecognitionException { | 8387 | public final void rule__LookupDefinition__Group__2__Impl() throws RecognitionException { |
6724 | 8388 | ||
6725 | int stackSize = keepStackSize(); | 8389 | int stackSize = keepStackSize(); |
6726 | 8390 | ||
6727 | try { | 8391 | try { |
6728 | // InternalCftLanguage.g:2162:1: ( ( '(' ) ) | 8392 | // InternalCftLanguage.g:2672:1: ( ( '(' ) ) |
6729 | // InternalCftLanguage.g:2163:1: ( '(' ) | 8393 | // InternalCftLanguage.g:2673:1: ( '(' ) |
6730 | { | 8394 | { |
6731 | // InternalCftLanguage.g:2163:1: ( '(' ) | 8395 | // InternalCftLanguage.g:2673:1: ( '(' ) |
6732 | // InternalCftLanguage.g:2164:2: '(' | 8396 | // InternalCftLanguage.g:2674:2: '(' |
6733 | { | 8397 | { |
6734 | before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); | 8398 | before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); |
6735 | match(input,27,FOLLOW_2); | 8399 | match(input,30,FOLLOW_2); |
6736 | after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); | 8400 | after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); |
6737 | 8401 | ||
6738 | } | 8402 | } |
@@ -6756,16 +8420,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6756 | 8420 | ||
6757 | 8421 | ||
6758 | // $ANTLR start "rule__LookupDefinition__Group__3" | 8422 | // $ANTLR start "rule__LookupDefinition__Group__3" |
6759 | // InternalCftLanguage.g:2173:1: rule__LookupDefinition__Group__3 : rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ; | 8423 | // InternalCftLanguage.g:2683:1: rule__LookupDefinition__Group__3 : rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ; |
6760 | public final void rule__LookupDefinition__Group__3() throws RecognitionException { | 8424 | public final void rule__LookupDefinition__Group__3() throws RecognitionException { |
6761 | 8425 | ||
6762 | int stackSize = keepStackSize(); | 8426 | int stackSize = keepStackSize(); |
6763 | 8427 | ||
6764 | try { | 8428 | try { |
6765 | // InternalCftLanguage.g:2177:1: ( rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ) | 8429 | // InternalCftLanguage.g:2687:1: ( rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ) |
6766 | // InternalCftLanguage.g:2178:2: rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 | 8430 | // InternalCftLanguage.g:2688:2: rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 |
6767 | { | 8431 | { |
6768 | pushFollow(FOLLOW_23); | 8432 | pushFollow(FOLLOW_25); |
6769 | rule__LookupDefinition__Group__3__Impl(); | 8433 | rule__LookupDefinition__Group__3__Impl(); |
6770 | 8434 | ||
6771 | state._fsp--; | 8435 | state._fsp--; |
@@ -6794,21 +8458,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6794 | 8458 | ||
6795 | 8459 | ||
6796 | // $ANTLR start "rule__LookupDefinition__Group__3__Impl" | 8460 | // $ANTLR start "rule__LookupDefinition__Group__3__Impl" |
6797 | // InternalCftLanguage.g:2185:1: rule__LookupDefinition__Group__3__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ; | 8461 | // InternalCftLanguage.g:2695:1: rule__LookupDefinition__Group__3__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ; |
6798 | public final void rule__LookupDefinition__Group__3__Impl() throws RecognitionException { | 8462 | public final void rule__LookupDefinition__Group__3__Impl() throws RecognitionException { |
6799 | 8463 | ||
6800 | int stackSize = keepStackSize(); | 8464 | int stackSize = keepStackSize(); |
6801 | 8465 | ||
6802 | try { | 8466 | try { |
6803 | // InternalCftLanguage.g:2189:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ) | 8467 | // InternalCftLanguage.g:2699:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ) |
6804 | // InternalCftLanguage.g:2190:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) | 8468 | // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) |
6805 | { | 8469 | { |
6806 | // InternalCftLanguage.g:2190:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) | 8470 | // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) |
6807 | // InternalCftLanguage.g:2191:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) | 8471 | // InternalCftLanguage.g:2701:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) |
6808 | { | 8472 | { |
6809 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); | 8473 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); |
6810 | // InternalCftLanguage.g:2192:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) | 8474 | // InternalCftLanguage.g:2702:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) |
6811 | // InternalCftLanguage.g:2192:3: rule__LookupDefinition__ArgumentsAssignment_3 | 8475 | // InternalCftLanguage.g:2702:3: rule__LookupDefinition__ArgumentsAssignment_3 |
6812 | { | 8476 | { |
6813 | pushFollow(FOLLOW_2); | 8477 | pushFollow(FOLLOW_2); |
6814 | rule__LookupDefinition__ArgumentsAssignment_3(); | 8478 | rule__LookupDefinition__ArgumentsAssignment_3(); |
@@ -6841,16 +8505,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6841 | 8505 | ||
6842 | 8506 | ||
6843 | // $ANTLR start "rule__LookupDefinition__Group__4" | 8507 | // $ANTLR start "rule__LookupDefinition__Group__4" |
6844 | // InternalCftLanguage.g:2200:1: rule__LookupDefinition__Group__4 : rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ; | 8508 | // InternalCftLanguage.g:2710:1: rule__LookupDefinition__Group__4 : rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ; |
6845 | public final void rule__LookupDefinition__Group__4() throws RecognitionException { | 8509 | public final void rule__LookupDefinition__Group__4() throws RecognitionException { |
6846 | 8510 | ||
6847 | int stackSize = keepStackSize(); | 8511 | int stackSize = keepStackSize(); |
6848 | 8512 | ||
6849 | try { | 8513 | try { |
6850 | // InternalCftLanguage.g:2204:1: ( rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ) | 8514 | // InternalCftLanguage.g:2714:1: ( rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ) |
6851 | // InternalCftLanguage.g:2205:2: rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 | 8515 | // InternalCftLanguage.g:2715:2: rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 |
6852 | { | 8516 | { |
6853 | pushFollow(FOLLOW_23); | 8517 | pushFollow(FOLLOW_25); |
6854 | rule__LookupDefinition__Group__4__Impl(); | 8518 | rule__LookupDefinition__Group__4__Impl(); |
6855 | 8519 | ||
6856 | state._fsp--; | 8520 | state._fsp--; |
@@ -6879,35 +8543,35 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6879 | 8543 | ||
6880 | 8544 | ||
6881 | // $ANTLR start "rule__LookupDefinition__Group__4__Impl" | 8545 | // $ANTLR start "rule__LookupDefinition__Group__4__Impl" |
6882 | // InternalCftLanguage.g:2212:1: rule__LookupDefinition__Group__4__Impl : ( ( rule__LookupDefinition__Group_4__0 )* ) ; | 8546 | // InternalCftLanguage.g:2722:1: rule__LookupDefinition__Group__4__Impl : ( ( rule__LookupDefinition__Group_4__0 )* ) ; |
6883 | public final void rule__LookupDefinition__Group__4__Impl() throws RecognitionException { | 8547 | public final void rule__LookupDefinition__Group__4__Impl() throws RecognitionException { |
6884 | 8548 | ||
6885 | int stackSize = keepStackSize(); | 8549 | int stackSize = keepStackSize(); |
6886 | 8550 | ||
6887 | try { | 8551 | try { |
6888 | // InternalCftLanguage.g:2216:1: ( ( ( rule__LookupDefinition__Group_4__0 )* ) ) | 8552 | // InternalCftLanguage.g:2726:1: ( ( ( rule__LookupDefinition__Group_4__0 )* ) ) |
6889 | // InternalCftLanguage.g:2217:1: ( ( rule__LookupDefinition__Group_4__0 )* ) | 8553 | // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* ) |
6890 | { | 8554 | { |
6891 | // InternalCftLanguage.g:2217:1: ( ( rule__LookupDefinition__Group_4__0 )* ) | 8555 | // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* ) |
6892 | // InternalCftLanguage.g:2218:2: ( rule__LookupDefinition__Group_4__0 )* | 8556 | // InternalCftLanguage.g:2728:2: ( rule__LookupDefinition__Group_4__0 )* |
6893 | { | 8557 | { |
6894 | before(grammarAccess.getLookupDefinitionAccess().getGroup_4()); | 8558 | before(grammarAccess.getLookupDefinitionAccess().getGroup_4()); |
6895 | // InternalCftLanguage.g:2219:2: ( rule__LookupDefinition__Group_4__0 )* | 8559 | // InternalCftLanguage.g:2729:2: ( rule__LookupDefinition__Group_4__0 )* |
6896 | loop22: | 8560 | loop27: |
6897 | do { | 8561 | do { |
6898 | int alt22=2; | 8562 | int alt27=2; |
6899 | int LA22_0 = input.LA(1); | 8563 | int LA27_0 = input.LA(1); |
6900 | 8564 | ||
6901 | if ( (LA22_0==29) ) { | 8565 | if ( (LA27_0==32) ) { |
6902 | alt22=1; | 8566 | alt27=1; |
6903 | } | 8567 | } |
6904 | 8568 | ||
6905 | 8569 | ||
6906 | switch (alt22) { | 8570 | switch (alt27) { |
6907 | case 1 : | 8571 | case 1 : |
6908 | // InternalCftLanguage.g:2219:3: rule__LookupDefinition__Group_4__0 | 8572 | // InternalCftLanguage.g:2729:3: rule__LookupDefinition__Group_4__0 |
6909 | { | 8573 | { |
6910 | pushFollow(FOLLOW_24); | 8574 | pushFollow(FOLLOW_26); |
6911 | rule__LookupDefinition__Group_4__0(); | 8575 | rule__LookupDefinition__Group_4__0(); |
6912 | 8576 | ||
6913 | state._fsp--; | 8577 | state._fsp--; |
@@ -6917,7 +8581,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6917 | break; | 8581 | break; |
6918 | 8582 | ||
6919 | default : | 8583 | default : |
6920 | break loop22; | 8584 | break loop27; |
6921 | } | 8585 | } |
6922 | } while (true); | 8586 | } while (true); |
6923 | 8587 | ||
@@ -6944,16 +8608,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6944 | 8608 | ||
6945 | 8609 | ||
6946 | // $ANTLR start "rule__LookupDefinition__Group__5" | 8610 | // $ANTLR start "rule__LookupDefinition__Group__5" |
6947 | // InternalCftLanguage.g:2227:1: rule__LookupDefinition__Group__5 : rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ; | 8611 | // InternalCftLanguage.g:2737:1: rule__LookupDefinition__Group__5 : rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ; |
6948 | public final void rule__LookupDefinition__Group__5() throws RecognitionException { | 8612 | public final void rule__LookupDefinition__Group__5() throws RecognitionException { |
6949 | 8613 | ||
6950 | int stackSize = keepStackSize(); | 8614 | int stackSize = keepStackSize(); |
6951 | 8615 | ||
6952 | try { | 8616 | try { |
6953 | // InternalCftLanguage.g:2231:1: ( rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ) | 8617 | // InternalCftLanguage.g:2741:1: ( rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ) |
6954 | // InternalCftLanguage.g:2232:2: rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 | 8618 | // InternalCftLanguage.g:2742:2: rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 |
6955 | { | 8619 | { |
6956 | pushFollow(FOLLOW_28); | 8620 | pushFollow(FOLLOW_30); |
6957 | rule__LookupDefinition__Group__5__Impl(); | 8621 | rule__LookupDefinition__Group__5__Impl(); |
6958 | 8622 | ||
6959 | state._fsp--; | 8623 | state._fsp--; |
@@ -6982,20 +8646,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
6982 | 8646 | ||
6983 | 8647 | ||
6984 | // $ANTLR start "rule__LookupDefinition__Group__5__Impl" | 8648 | // $ANTLR start "rule__LookupDefinition__Group__5__Impl" |
6985 | // InternalCftLanguage.g:2239:1: rule__LookupDefinition__Group__5__Impl : ( ')' ) ; | 8649 | // InternalCftLanguage.g:2749:1: rule__LookupDefinition__Group__5__Impl : ( ')' ) ; |
6986 | public final void rule__LookupDefinition__Group__5__Impl() throws RecognitionException { | 8650 | public final void rule__LookupDefinition__Group__5__Impl() throws RecognitionException { |
6987 | 8651 | ||
6988 | int stackSize = keepStackSize(); | 8652 | int stackSize = keepStackSize(); |
6989 | 8653 | ||
6990 | try { | 8654 | try { |
6991 | // InternalCftLanguage.g:2243:1: ( ( ')' ) ) | 8655 | // InternalCftLanguage.g:2753:1: ( ( ')' ) ) |
6992 | // InternalCftLanguage.g:2244:1: ( ')' ) | 8656 | // InternalCftLanguage.g:2754:1: ( ')' ) |
6993 | { | 8657 | { |
6994 | // InternalCftLanguage.g:2244:1: ( ')' ) | 8658 | // InternalCftLanguage.g:2754:1: ( ')' ) |
6995 | // InternalCftLanguage.g:2245:2: ')' | 8659 | // InternalCftLanguage.g:2755:2: ')' |
6996 | { | 8660 | { |
6997 | before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); | 8661 | before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); |
6998 | match(input,28,FOLLOW_2); | 8662 | match(input,31,FOLLOW_2); |
6999 | after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); | 8663 | after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); |
7000 | 8664 | ||
7001 | } | 8665 | } |
@@ -7019,14 +8683,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7019 | 8683 | ||
7020 | 8684 | ||
7021 | // $ANTLR start "rule__LookupDefinition__Group__6" | 8685 | // $ANTLR start "rule__LookupDefinition__Group__6" |
7022 | // InternalCftLanguage.g:2254:1: rule__LookupDefinition__Group__6 : rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ; | 8686 | // InternalCftLanguage.g:2764:1: rule__LookupDefinition__Group__6 : rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ; |
7023 | public final void rule__LookupDefinition__Group__6() throws RecognitionException { | 8687 | public final void rule__LookupDefinition__Group__6() throws RecognitionException { |
7024 | 8688 | ||
7025 | int stackSize = keepStackSize(); | 8689 | int stackSize = keepStackSize(); |
7026 | 8690 | ||
7027 | try { | 8691 | try { |
7028 | // InternalCftLanguage.g:2258:1: ( rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ) | 8692 | // InternalCftLanguage.g:2768:1: ( rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ) |
7029 | // InternalCftLanguage.g:2259:2: rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 | 8693 | // InternalCftLanguage.g:2769:2: rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 |
7030 | { | 8694 | { |
7031 | pushFollow(FOLLOW_3); | 8695 | pushFollow(FOLLOW_3); |
7032 | rule__LookupDefinition__Group__6__Impl(); | 8696 | rule__LookupDefinition__Group__6__Impl(); |
@@ -7057,20 +8721,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7057 | 8721 | ||
7058 | 8722 | ||
7059 | // $ANTLR start "rule__LookupDefinition__Group__6__Impl" | 8723 | // $ANTLR start "rule__LookupDefinition__Group__6__Impl" |
7060 | // InternalCftLanguage.g:2266:1: rule__LookupDefinition__Group__6__Impl : ( 'as' ) ; | 8724 | // InternalCftLanguage.g:2776:1: rule__LookupDefinition__Group__6__Impl : ( 'as' ) ; |
7061 | public final void rule__LookupDefinition__Group__6__Impl() throws RecognitionException { | 8725 | public final void rule__LookupDefinition__Group__6__Impl() throws RecognitionException { |
7062 | 8726 | ||
7063 | int stackSize = keepStackSize(); | 8727 | int stackSize = keepStackSize(); |
7064 | 8728 | ||
7065 | try { | 8729 | try { |
7066 | // InternalCftLanguage.g:2270:1: ( ( 'as' ) ) | 8730 | // InternalCftLanguage.g:2780:1: ( ( 'as' ) ) |
7067 | // InternalCftLanguage.g:2271:1: ( 'as' ) | 8731 | // InternalCftLanguage.g:2781:1: ( 'as' ) |
7068 | { | 8732 | { |
7069 | // InternalCftLanguage.g:2271:1: ( 'as' ) | 8733 | // InternalCftLanguage.g:2781:1: ( 'as' ) |
7070 | // InternalCftLanguage.g:2272:2: 'as' | 8734 | // InternalCftLanguage.g:2782:2: 'as' |
7071 | { | 8735 | { |
7072 | before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); | 8736 | before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); |
7073 | match(input,31,FOLLOW_2); | 8737 | match(input,34,FOLLOW_2); |
7074 | after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); | 8738 | after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); |
7075 | 8739 | ||
7076 | } | 8740 | } |
@@ -7094,14 +8758,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7094 | 8758 | ||
7095 | 8759 | ||
7096 | // $ANTLR start "rule__LookupDefinition__Group__7" | 8760 | // $ANTLR start "rule__LookupDefinition__Group__7" |
7097 | // InternalCftLanguage.g:2281:1: rule__LookupDefinition__Group__7 : rule__LookupDefinition__Group__7__Impl ; | 8761 | // InternalCftLanguage.g:2791:1: rule__LookupDefinition__Group__7 : rule__LookupDefinition__Group__7__Impl ; |
7098 | public final void rule__LookupDefinition__Group__7() throws RecognitionException { | 8762 | public final void rule__LookupDefinition__Group__7() throws RecognitionException { |
7099 | 8763 | ||
7100 | int stackSize = keepStackSize(); | 8764 | int stackSize = keepStackSize(); |
7101 | 8765 | ||
7102 | try { | 8766 | try { |
7103 | // InternalCftLanguage.g:2285:1: ( rule__LookupDefinition__Group__7__Impl ) | 8767 | // InternalCftLanguage.g:2795:1: ( rule__LookupDefinition__Group__7__Impl ) |
7104 | // InternalCftLanguage.g:2286:2: rule__LookupDefinition__Group__7__Impl | 8768 | // InternalCftLanguage.g:2796:2: rule__LookupDefinition__Group__7__Impl |
7105 | { | 8769 | { |
7106 | pushFollow(FOLLOW_2); | 8770 | pushFollow(FOLLOW_2); |
7107 | rule__LookupDefinition__Group__7__Impl(); | 8771 | rule__LookupDefinition__Group__7__Impl(); |
@@ -7127,21 +8791,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7127 | 8791 | ||
7128 | 8792 | ||
7129 | // $ANTLR start "rule__LookupDefinition__Group__7__Impl" | 8793 | // $ANTLR start "rule__LookupDefinition__Group__7__Impl" |
7130 | // InternalCftLanguage.g:2292:1: rule__LookupDefinition__Group__7__Impl : ( ( rule__LookupDefinition__NameAssignment_7 ) ) ; | 8794 | // InternalCftLanguage.g:2802:1: rule__LookupDefinition__Group__7__Impl : ( ( rule__LookupDefinition__NameAssignment_7 ) ) ; |
7131 | public final void rule__LookupDefinition__Group__7__Impl() throws RecognitionException { | 8795 | public final void rule__LookupDefinition__Group__7__Impl() throws RecognitionException { |
7132 | 8796 | ||
7133 | int stackSize = keepStackSize(); | 8797 | int stackSize = keepStackSize(); |
7134 | 8798 | ||
7135 | try { | 8799 | try { |
7136 | // InternalCftLanguage.g:2296:1: ( ( ( rule__LookupDefinition__NameAssignment_7 ) ) ) | 8800 | // InternalCftLanguage.g:2806:1: ( ( ( rule__LookupDefinition__NameAssignment_7 ) ) ) |
7137 | // InternalCftLanguage.g:2297:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) | 8801 | // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) |
7138 | { | 8802 | { |
7139 | // InternalCftLanguage.g:2297:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) | 8803 | // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) |
7140 | // InternalCftLanguage.g:2298:2: ( rule__LookupDefinition__NameAssignment_7 ) | 8804 | // InternalCftLanguage.g:2808:2: ( rule__LookupDefinition__NameAssignment_7 ) |
7141 | { | 8805 | { |
7142 | before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); | 8806 | before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); |
7143 | // InternalCftLanguage.g:2299:2: ( rule__LookupDefinition__NameAssignment_7 ) | 8807 | // InternalCftLanguage.g:2809:2: ( rule__LookupDefinition__NameAssignment_7 ) |
7144 | // InternalCftLanguage.g:2299:3: rule__LookupDefinition__NameAssignment_7 | 8808 | // InternalCftLanguage.g:2809:3: rule__LookupDefinition__NameAssignment_7 |
7145 | { | 8809 | { |
7146 | pushFollow(FOLLOW_2); | 8810 | pushFollow(FOLLOW_2); |
7147 | rule__LookupDefinition__NameAssignment_7(); | 8811 | rule__LookupDefinition__NameAssignment_7(); |
@@ -7174,14 +8838,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7174 | 8838 | ||
7175 | 8839 | ||
7176 | // $ANTLR start "rule__LookupDefinition__Group_4__0" | 8840 | // $ANTLR start "rule__LookupDefinition__Group_4__0" |
7177 | // InternalCftLanguage.g:2308:1: rule__LookupDefinition__Group_4__0 : rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ; | 8841 | // InternalCftLanguage.g:2818:1: rule__LookupDefinition__Group_4__0 : rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ; |
7178 | public final void rule__LookupDefinition__Group_4__0() throws RecognitionException { | 8842 | public final void rule__LookupDefinition__Group_4__0() throws RecognitionException { |
7179 | 8843 | ||
7180 | int stackSize = keepStackSize(); | 8844 | int stackSize = keepStackSize(); |
7181 | 8845 | ||
7182 | try { | 8846 | try { |
7183 | // InternalCftLanguage.g:2312:1: ( rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ) | 8847 | // InternalCftLanguage.g:2822:1: ( rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ) |
7184 | // InternalCftLanguage.g:2313:2: rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 | 8848 | // InternalCftLanguage.g:2823:2: rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 |
7185 | { | 8849 | { |
7186 | pushFollow(FOLLOW_3); | 8850 | pushFollow(FOLLOW_3); |
7187 | rule__LookupDefinition__Group_4__0__Impl(); | 8851 | rule__LookupDefinition__Group_4__0__Impl(); |
@@ -7212,20 +8876,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7212 | 8876 | ||
7213 | 8877 | ||
7214 | // $ANTLR start "rule__LookupDefinition__Group_4__0__Impl" | 8878 | // $ANTLR start "rule__LookupDefinition__Group_4__0__Impl" |
7215 | // InternalCftLanguage.g:2320:1: rule__LookupDefinition__Group_4__0__Impl : ( ',' ) ; | 8879 | // InternalCftLanguage.g:2830:1: rule__LookupDefinition__Group_4__0__Impl : ( ',' ) ; |
7216 | public final void rule__LookupDefinition__Group_4__0__Impl() throws RecognitionException { | 8880 | public final void rule__LookupDefinition__Group_4__0__Impl() throws RecognitionException { |
7217 | 8881 | ||
7218 | int stackSize = keepStackSize(); | 8882 | int stackSize = keepStackSize(); |
7219 | 8883 | ||
7220 | try { | 8884 | try { |
7221 | // InternalCftLanguage.g:2324:1: ( ( ',' ) ) | 8885 | // InternalCftLanguage.g:2834:1: ( ( ',' ) ) |
7222 | // InternalCftLanguage.g:2325:1: ( ',' ) | 8886 | // InternalCftLanguage.g:2835:1: ( ',' ) |
7223 | { | 8887 | { |
7224 | // InternalCftLanguage.g:2325:1: ( ',' ) | 8888 | // InternalCftLanguage.g:2835:1: ( ',' ) |
7225 | // InternalCftLanguage.g:2326:2: ',' | 8889 | // InternalCftLanguage.g:2836:2: ',' |
7226 | { | 8890 | { |
7227 | before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); | 8891 | before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); |
7228 | match(input,29,FOLLOW_2); | 8892 | match(input,32,FOLLOW_2); |
7229 | after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); | 8893 | after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); |
7230 | 8894 | ||
7231 | } | 8895 | } |
@@ -7249,14 +8913,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7249 | 8913 | ||
7250 | 8914 | ||
7251 | // $ANTLR start "rule__LookupDefinition__Group_4__1" | 8915 | // $ANTLR start "rule__LookupDefinition__Group_4__1" |
7252 | // InternalCftLanguage.g:2335:1: rule__LookupDefinition__Group_4__1 : rule__LookupDefinition__Group_4__1__Impl ; | 8916 | // InternalCftLanguage.g:2845:1: rule__LookupDefinition__Group_4__1 : rule__LookupDefinition__Group_4__1__Impl ; |
7253 | public final void rule__LookupDefinition__Group_4__1() throws RecognitionException { | 8917 | public final void rule__LookupDefinition__Group_4__1() throws RecognitionException { |
7254 | 8918 | ||
7255 | int stackSize = keepStackSize(); | 8919 | int stackSize = keepStackSize(); |
7256 | 8920 | ||
7257 | try { | 8921 | try { |
7258 | // InternalCftLanguage.g:2339:1: ( rule__LookupDefinition__Group_4__1__Impl ) | 8922 | // InternalCftLanguage.g:2849:1: ( rule__LookupDefinition__Group_4__1__Impl ) |
7259 | // InternalCftLanguage.g:2340:2: rule__LookupDefinition__Group_4__1__Impl | 8923 | // InternalCftLanguage.g:2850:2: rule__LookupDefinition__Group_4__1__Impl |
7260 | { | 8924 | { |
7261 | pushFollow(FOLLOW_2); | 8925 | pushFollow(FOLLOW_2); |
7262 | rule__LookupDefinition__Group_4__1__Impl(); | 8926 | rule__LookupDefinition__Group_4__1__Impl(); |
@@ -7282,21 +8946,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7282 | 8946 | ||
7283 | 8947 | ||
7284 | // $ANTLR start "rule__LookupDefinition__Group_4__1__Impl" | 8948 | // $ANTLR start "rule__LookupDefinition__Group_4__1__Impl" |
7285 | // InternalCftLanguage.g:2346:1: rule__LookupDefinition__Group_4__1__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ; | 8949 | // InternalCftLanguage.g:2856:1: rule__LookupDefinition__Group_4__1__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ; |
7286 | public final void rule__LookupDefinition__Group_4__1__Impl() throws RecognitionException { | 8950 | public final void rule__LookupDefinition__Group_4__1__Impl() throws RecognitionException { |
7287 | 8951 | ||
7288 | int stackSize = keepStackSize(); | 8952 | int stackSize = keepStackSize(); |
7289 | 8953 | ||
7290 | try { | 8954 | try { |
7291 | // InternalCftLanguage.g:2350:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ) | 8955 | // InternalCftLanguage.g:2860:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ) |
7292 | // InternalCftLanguage.g:2351:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) | 8956 | // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) |
7293 | { | 8957 | { |
7294 | // InternalCftLanguage.g:2351:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) | 8958 | // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) |
7295 | // InternalCftLanguage.g:2352:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) | 8959 | // InternalCftLanguage.g:2862:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) |
7296 | { | 8960 | { |
7297 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); | 8961 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); |
7298 | // InternalCftLanguage.g:2353:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) | 8962 | // InternalCftLanguage.g:2863:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) |
7299 | // InternalCftLanguage.g:2353:3: rule__LookupDefinition__ArgumentsAssignment_4_1 | 8963 | // InternalCftLanguage.g:2863:3: rule__LookupDefinition__ArgumentsAssignment_4_1 |
7300 | { | 8964 | { |
7301 | pushFollow(FOLLOW_2); | 8965 | pushFollow(FOLLOW_2); |
7302 | rule__LookupDefinition__ArgumentsAssignment_4_1(); | 8966 | rule__LookupDefinition__ArgumentsAssignment_4_1(); |
@@ -7329,16 +8993,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7329 | 8993 | ||
7330 | 8994 | ||
7331 | // $ANTLR start "rule__Assignment__Group__0" | 8995 | // $ANTLR start "rule__Assignment__Group__0" |
7332 | // InternalCftLanguage.g:2362:1: rule__Assignment__Group__0 : rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ; | 8996 | // InternalCftLanguage.g:2872:1: rule__Assignment__Group__0 : rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ; |
7333 | public final void rule__Assignment__Group__0() throws RecognitionException { | 8997 | public final void rule__Assignment__Group__0() throws RecognitionException { |
7334 | 8998 | ||
7335 | int stackSize = keepStackSize(); | 8999 | int stackSize = keepStackSize(); |
7336 | 9000 | ||
7337 | try { | 9001 | try { |
7338 | // InternalCftLanguage.g:2366:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ) | 9002 | // InternalCftLanguage.g:2876:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ) |
7339 | // InternalCftLanguage.g:2367:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1 | 9003 | // InternalCftLanguage.g:2877:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1 |
7340 | { | 9004 | { |
7341 | pushFollow(FOLLOW_29); | 9005 | pushFollow(FOLLOW_31); |
7342 | rule__Assignment__Group__0__Impl(); | 9006 | rule__Assignment__Group__0__Impl(); |
7343 | 9007 | ||
7344 | state._fsp--; | 9008 | state._fsp--; |
@@ -7367,21 +9031,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7367 | 9031 | ||
7368 | 9032 | ||
7369 | // $ANTLR start "rule__Assignment__Group__0__Impl" | 9033 | // $ANTLR start "rule__Assignment__Group__0__Impl" |
7370 | // InternalCftLanguage.g:2374:1: rule__Assignment__Group__0__Impl : ( ( rule__Assignment__InputAssignment_0 ) ) ; | 9034 | // InternalCftLanguage.g:2884:1: rule__Assignment__Group__0__Impl : ( ( rule__Assignment__InputAssignment_0 ) ) ; |
7371 | public final void rule__Assignment__Group__0__Impl() throws RecognitionException { | 9035 | public final void rule__Assignment__Group__0__Impl() throws RecognitionException { |
7372 | 9036 | ||
7373 | int stackSize = keepStackSize(); | 9037 | int stackSize = keepStackSize(); |
7374 | 9038 | ||
7375 | try { | 9039 | try { |
7376 | // InternalCftLanguage.g:2378:1: ( ( ( rule__Assignment__InputAssignment_0 ) ) ) | 9040 | // InternalCftLanguage.g:2888:1: ( ( ( rule__Assignment__InputAssignment_0 ) ) ) |
7377 | // InternalCftLanguage.g:2379:1: ( ( rule__Assignment__InputAssignment_0 ) ) | 9041 | // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) ) |
7378 | { | 9042 | { |
7379 | // InternalCftLanguage.g:2379:1: ( ( rule__Assignment__InputAssignment_0 ) ) | 9043 | // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) ) |
7380 | // InternalCftLanguage.g:2380:2: ( rule__Assignment__InputAssignment_0 ) | 9044 | // InternalCftLanguage.g:2890:2: ( rule__Assignment__InputAssignment_0 ) |
7381 | { | 9045 | { |
7382 | before(grammarAccess.getAssignmentAccess().getInputAssignment_0()); | 9046 | before(grammarAccess.getAssignmentAccess().getInputAssignment_0()); |
7383 | // InternalCftLanguage.g:2381:2: ( rule__Assignment__InputAssignment_0 ) | 9047 | // InternalCftLanguage.g:2891:2: ( rule__Assignment__InputAssignment_0 ) |
7384 | // InternalCftLanguage.g:2381:3: rule__Assignment__InputAssignment_0 | 9048 | // InternalCftLanguage.g:2891:3: rule__Assignment__InputAssignment_0 |
7385 | { | 9049 | { |
7386 | pushFollow(FOLLOW_2); | 9050 | pushFollow(FOLLOW_2); |
7387 | rule__Assignment__InputAssignment_0(); | 9051 | rule__Assignment__InputAssignment_0(); |
@@ -7414,16 +9078,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7414 | 9078 | ||
7415 | 9079 | ||
7416 | // $ANTLR start "rule__Assignment__Group__1" | 9080 | // $ANTLR start "rule__Assignment__Group__1" |
7417 | // InternalCftLanguage.g:2389:1: rule__Assignment__Group__1 : rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ; | 9081 | // InternalCftLanguage.g:2899:1: rule__Assignment__Group__1 : rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ; |
7418 | public final void rule__Assignment__Group__1() throws RecognitionException { | 9082 | public final void rule__Assignment__Group__1() throws RecognitionException { |
7419 | 9083 | ||
7420 | int stackSize = keepStackSize(); | 9084 | int stackSize = keepStackSize(); |
7421 | 9085 | ||
7422 | try { | 9086 | try { |
7423 | // InternalCftLanguage.g:2393:1: ( rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ) | 9087 | // InternalCftLanguage.g:2903:1: ( rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ) |
7424 | // InternalCftLanguage.g:2394:2: rule__Assignment__Group__1__Impl rule__Assignment__Group__2 | 9088 | // InternalCftLanguage.g:2904:2: rule__Assignment__Group__1__Impl rule__Assignment__Group__2 |
7425 | { | 9089 | { |
7426 | pushFollow(FOLLOW_30); | 9090 | pushFollow(FOLLOW_32); |
7427 | rule__Assignment__Group__1__Impl(); | 9091 | rule__Assignment__Group__1__Impl(); |
7428 | 9092 | ||
7429 | state._fsp--; | 9093 | state._fsp--; |
@@ -7452,21 +9116,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7452 | 9116 | ||
7453 | 9117 | ||
7454 | // $ANTLR start "rule__Assignment__Group__1__Impl" | 9118 | // $ANTLR start "rule__Assignment__Group__1__Impl" |
7455 | // InternalCftLanguage.g:2401:1: rule__Assignment__Group__1__Impl : ( ( rule__Assignment__Alternatives_1 ) ) ; | 9119 | // InternalCftLanguage.g:2911:1: rule__Assignment__Group__1__Impl : ( ( rule__Assignment__Alternatives_1 ) ) ; |
7456 | public final void rule__Assignment__Group__1__Impl() throws RecognitionException { | 9120 | public final void rule__Assignment__Group__1__Impl() throws RecognitionException { |
7457 | 9121 | ||
7458 | int stackSize = keepStackSize(); | 9122 | int stackSize = keepStackSize(); |
7459 | 9123 | ||
7460 | try { | 9124 | try { |
7461 | // InternalCftLanguage.g:2405:1: ( ( ( rule__Assignment__Alternatives_1 ) ) ) | 9125 | // InternalCftLanguage.g:2915:1: ( ( ( rule__Assignment__Alternatives_1 ) ) ) |
7462 | // InternalCftLanguage.g:2406:1: ( ( rule__Assignment__Alternatives_1 ) ) | 9126 | // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) ) |
7463 | { | 9127 | { |
7464 | // InternalCftLanguage.g:2406:1: ( ( rule__Assignment__Alternatives_1 ) ) | 9128 | // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) ) |
7465 | // InternalCftLanguage.g:2407:2: ( rule__Assignment__Alternatives_1 ) | 9129 | // InternalCftLanguage.g:2917:2: ( rule__Assignment__Alternatives_1 ) |
7466 | { | 9130 | { |
7467 | before(grammarAccess.getAssignmentAccess().getAlternatives_1()); | 9131 | before(grammarAccess.getAssignmentAccess().getAlternatives_1()); |
7468 | // InternalCftLanguage.g:2408:2: ( rule__Assignment__Alternatives_1 ) | 9132 | // InternalCftLanguage.g:2918:2: ( rule__Assignment__Alternatives_1 ) |
7469 | // InternalCftLanguage.g:2408:3: rule__Assignment__Alternatives_1 | 9133 | // InternalCftLanguage.g:2918:3: rule__Assignment__Alternatives_1 |
7470 | { | 9134 | { |
7471 | pushFollow(FOLLOW_2); | 9135 | pushFollow(FOLLOW_2); |
7472 | rule__Assignment__Alternatives_1(); | 9136 | rule__Assignment__Alternatives_1(); |
@@ -7499,14 +9163,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7499 | 9163 | ||
7500 | 9164 | ||
7501 | // $ANTLR start "rule__Assignment__Group__2" | 9165 | // $ANTLR start "rule__Assignment__Group__2" |
7502 | // InternalCftLanguage.g:2416:1: rule__Assignment__Group__2 : rule__Assignment__Group__2__Impl ; | 9166 | // InternalCftLanguage.g:2926:1: rule__Assignment__Group__2 : rule__Assignment__Group__2__Impl ; |
7503 | public final void rule__Assignment__Group__2() throws RecognitionException { | 9167 | public final void rule__Assignment__Group__2() throws RecognitionException { |
7504 | 9168 | ||
7505 | int stackSize = keepStackSize(); | 9169 | int stackSize = keepStackSize(); |
7506 | 9170 | ||
7507 | try { | 9171 | try { |
7508 | // InternalCftLanguage.g:2420:1: ( rule__Assignment__Group__2__Impl ) | 9172 | // InternalCftLanguage.g:2930:1: ( rule__Assignment__Group__2__Impl ) |
7509 | // InternalCftLanguage.g:2421:2: rule__Assignment__Group__2__Impl | 9173 | // InternalCftLanguage.g:2931:2: rule__Assignment__Group__2__Impl |
7510 | { | 9174 | { |
7511 | pushFollow(FOLLOW_2); | 9175 | pushFollow(FOLLOW_2); |
7512 | rule__Assignment__Group__2__Impl(); | 9176 | rule__Assignment__Group__2__Impl(); |
@@ -7532,21 +9196,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7532 | 9196 | ||
7533 | 9197 | ||
7534 | // $ANTLR start "rule__Assignment__Group__2__Impl" | 9198 | // $ANTLR start "rule__Assignment__Group__2__Impl" |
7535 | // InternalCftLanguage.g:2427:1: rule__Assignment__Group__2__Impl : ( ( rule__Assignment__OutputAssignment_2 ) ) ; | 9199 | // InternalCftLanguage.g:2937:1: rule__Assignment__Group__2__Impl : ( ( rule__Assignment__OutputAssignment_2 ) ) ; |
7536 | public final void rule__Assignment__Group__2__Impl() throws RecognitionException { | 9200 | public final void rule__Assignment__Group__2__Impl() throws RecognitionException { |
7537 | 9201 | ||
7538 | int stackSize = keepStackSize(); | 9202 | int stackSize = keepStackSize(); |
7539 | 9203 | ||
7540 | try { | 9204 | try { |
7541 | // InternalCftLanguage.g:2431:1: ( ( ( rule__Assignment__OutputAssignment_2 ) ) ) | 9205 | // InternalCftLanguage.g:2941:1: ( ( ( rule__Assignment__OutputAssignment_2 ) ) ) |
7542 | // InternalCftLanguage.g:2432:1: ( ( rule__Assignment__OutputAssignment_2 ) ) | 9206 | // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) ) |
7543 | { | 9207 | { |
7544 | // InternalCftLanguage.g:2432:1: ( ( rule__Assignment__OutputAssignment_2 ) ) | 9208 | // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) ) |
7545 | // InternalCftLanguage.g:2433:2: ( rule__Assignment__OutputAssignment_2 ) | 9209 | // InternalCftLanguage.g:2943:2: ( rule__Assignment__OutputAssignment_2 ) |
7546 | { | 9210 | { |
7547 | before(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); | 9211 | before(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); |
7548 | // InternalCftLanguage.g:2434:2: ( rule__Assignment__OutputAssignment_2 ) | 9212 | // InternalCftLanguage.g:2944:2: ( rule__Assignment__OutputAssignment_2 ) |
7549 | // InternalCftLanguage.g:2434:3: rule__Assignment__OutputAssignment_2 | 9213 | // InternalCftLanguage.g:2944:3: rule__Assignment__OutputAssignment_2 |
7550 | { | 9214 | { |
7551 | pushFollow(FOLLOW_2); | 9215 | pushFollow(FOLLOW_2); |
7552 | rule__Assignment__OutputAssignment_2(); | 9216 | rule__Assignment__OutputAssignment_2(); |
@@ -7579,16 +9243,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7579 | 9243 | ||
7580 | 9244 | ||
7581 | // $ANTLR start "rule__EventReference__Group__0" | 9245 | // $ANTLR start "rule__EventReference__Group__0" |
7582 | // InternalCftLanguage.g:2443:1: rule__EventReference__Group__0 : rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ; | 9246 | // InternalCftLanguage.g:2953:1: rule__EventReference__Group__0 : rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ; |
7583 | public final void rule__EventReference__Group__0() throws RecognitionException { | 9247 | public final void rule__EventReference__Group__0() throws RecognitionException { |
7584 | 9248 | ||
7585 | int stackSize = keepStackSize(); | 9249 | int stackSize = keepStackSize(); |
7586 | 9250 | ||
7587 | try { | 9251 | try { |
7588 | // InternalCftLanguage.g:2447:1: ( rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ) | 9252 | // InternalCftLanguage.g:2957:1: ( rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ) |
7589 | // InternalCftLanguage.g:2448:2: rule__EventReference__Group__0__Impl rule__EventReference__Group__1 | 9253 | // InternalCftLanguage.g:2958:2: rule__EventReference__Group__0__Impl rule__EventReference__Group__1 |
7590 | { | 9254 | { |
7591 | pushFollow(FOLLOW_31); | 9255 | pushFollow(FOLLOW_33); |
7592 | rule__EventReference__Group__0__Impl(); | 9256 | rule__EventReference__Group__0__Impl(); |
7593 | 9257 | ||
7594 | state._fsp--; | 9258 | state._fsp--; |
@@ -7617,21 +9281,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7617 | 9281 | ||
7618 | 9282 | ||
7619 | // $ANTLR start "rule__EventReference__Group__0__Impl" | 9283 | // $ANTLR start "rule__EventReference__Group__0__Impl" |
7620 | // InternalCftLanguage.g:2455:1: rule__EventReference__Group__0__Impl : ( ( rule__EventReference__ComponentAssignment_0 ) ) ; | 9284 | // InternalCftLanguage.g:2965:1: rule__EventReference__Group__0__Impl : ( ( rule__EventReference__ComponentAssignment_0 ) ) ; |
7621 | public final void rule__EventReference__Group__0__Impl() throws RecognitionException { | 9285 | public final void rule__EventReference__Group__0__Impl() throws RecognitionException { |
7622 | 9286 | ||
7623 | int stackSize = keepStackSize(); | 9287 | int stackSize = keepStackSize(); |
7624 | 9288 | ||
7625 | try { | 9289 | try { |
7626 | // InternalCftLanguage.g:2459:1: ( ( ( rule__EventReference__ComponentAssignment_0 ) ) ) | 9290 | // InternalCftLanguage.g:2969:1: ( ( ( rule__EventReference__ComponentAssignment_0 ) ) ) |
7627 | // InternalCftLanguage.g:2460:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) | 9291 | // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) |
7628 | { | 9292 | { |
7629 | // InternalCftLanguage.g:2460:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) | 9293 | // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) |
7630 | // InternalCftLanguage.g:2461:2: ( rule__EventReference__ComponentAssignment_0 ) | 9294 | // InternalCftLanguage.g:2971:2: ( rule__EventReference__ComponentAssignment_0 ) |
7631 | { | 9295 | { |
7632 | before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); | 9296 | before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); |
7633 | // InternalCftLanguage.g:2462:2: ( rule__EventReference__ComponentAssignment_0 ) | 9297 | // InternalCftLanguage.g:2972:2: ( rule__EventReference__ComponentAssignment_0 ) |
7634 | // InternalCftLanguage.g:2462:3: rule__EventReference__ComponentAssignment_0 | 9298 | // InternalCftLanguage.g:2972:3: rule__EventReference__ComponentAssignment_0 |
7635 | { | 9299 | { |
7636 | pushFollow(FOLLOW_2); | 9300 | pushFollow(FOLLOW_2); |
7637 | rule__EventReference__ComponentAssignment_0(); | 9301 | rule__EventReference__ComponentAssignment_0(); |
@@ -7664,14 +9328,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7664 | 9328 | ||
7665 | 9329 | ||
7666 | // $ANTLR start "rule__EventReference__Group__1" | 9330 | // $ANTLR start "rule__EventReference__Group__1" |
7667 | // InternalCftLanguage.g:2470:1: rule__EventReference__Group__1 : rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ; | 9331 | // InternalCftLanguage.g:2980:1: rule__EventReference__Group__1 : rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ; |
7668 | public final void rule__EventReference__Group__1() throws RecognitionException { | 9332 | public final void rule__EventReference__Group__1() throws RecognitionException { |
7669 | 9333 | ||
7670 | int stackSize = keepStackSize(); | 9334 | int stackSize = keepStackSize(); |
7671 | 9335 | ||
7672 | try { | 9336 | try { |
7673 | // InternalCftLanguage.g:2474:1: ( rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ) | 9337 | // InternalCftLanguage.g:2984:1: ( rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ) |
7674 | // InternalCftLanguage.g:2475:2: rule__EventReference__Group__1__Impl rule__EventReference__Group__2 | 9338 | // InternalCftLanguage.g:2985:2: rule__EventReference__Group__1__Impl rule__EventReference__Group__2 |
7675 | { | 9339 | { |
7676 | pushFollow(FOLLOW_3); | 9340 | pushFollow(FOLLOW_3); |
7677 | rule__EventReference__Group__1__Impl(); | 9341 | rule__EventReference__Group__1__Impl(); |
@@ -7702,20 +9366,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7702 | 9366 | ||
7703 | 9367 | ||
7704 | // $ANTLR start "rule__EventReference__Group__1__Impl" | 9368 | // $ANTLR start "rule__EventReference__Group__1__Impl" |
7705 | // InternalCftLanguage.g:2482:1: rule__EventReference__Group__1__Impl : ( '.' ) ; | 9369 | // InternalCftLanguage.g:2992:1: rule__EventReference__Group__1__Impl : ( '.' ) ; |
7706 | public final void rule__EventReference__Group__1__Impl() throws RecognitionException { | 9370 | public final void rule__EventReference__Group__1__Impl() throws RecognitionException { |
7707 | 9371 | ||
7708 | int stackSize = keepStackSize(); | 9372 | int stackSize = keepStackSize(); |
7709 | 9373 | ||
7710 | try { | 9374 | try { |
7711 | // InternalCftLanguage.g:2486:1: ( ( '.' ) ) | 9375 | // InternalCftLanguage.g:2996:1: ( ( '.' ) ) |
7712 | // InternalCftLanguage.g:2487:1: ( '.' ) | 9376 | // InternalCftLanguage.g:2997:1: ( '.' ) |
7713 | { | 9377 | { |
7714 | // InternalCftLanguage.g:2487:1: ( '.' ) | 9378 | // InternalCftLanguage.g:2997:1: ( '.' ) |
7715 | // InternalCftLanguage.g:2488:2: '.' | 9379 | // InternalCftLanguage.g:2998:2: '.' |
7716 | { | 9380 | { |
7717 | before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); | 9381 | before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); |
7718 | match(input,32,FOLLOW_2); | 9382 | match(input,35,FOLLOW_2); |
7719 | after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); | 9383 | after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); |
7720 | 9384 | ||
7721 | } | 9385 | } |
@@ -7739,14 +9403,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7739 | 9403 | ||
7740 | 9404 | ||
7741 | // $ANTLR start "rule__EventReference__Group__2" | 9405 | // $ANTLR start "rule__EventReference__Group__2" |
7742 | // InternalCftLanguage.g:2497:1: rule__EventReference__Group__2 : rule__EventReference__Group__2__Impl ; | 9406 | // InternalCftLanguage.g:3007:1: rule__EventReference__Group__2 : rule__EventReference__Group__2__Impl ; |
7743 | public final void rule__EventReference__Group__2() throws RecognitionException { | 9407 | public final void rule__EventReference__Group__2() throws RecognitionException { |
7744 | 9408 | ||
7745 | int stackSize = keepStackSize(); | 9409 | int stackSize = keepStackSize(); |
7746 | 9410 | ||
7747 | try { | 9411 | try { |
7748 | // InternalCftLanguage.g:2501:1: ( rule__EventReference__Group__2__Impl ) | 9412 | // InternalCftLanguage.g:3011:1: ( rule__EventReference__Group__2__Impl ) |
7749 | // InternalCftLanguage.g:2502:2: rule__EventReference__Group__2__Impl | 9413 | // InternalCftLanguage.g:3012:2: rule__EventReference__Group__2__Impl |
7750 | { | 9414 | { |
7751 | pushFollow(FOLLOW_2); | 9415 | pushFollow(FOLLOW_2); |
7752 | rule__EventReference__Group__2__Impl(); | 9416 | rule__EventReference__Group__2__Impl(); |
@@ -7772,21 +9436,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7772 | 9436 | ||
7773 | 9437 | ||
7774 | // $ANTLR start "rule__EventReference__Group__2__Impl" | 9438 | // $ANTLR start "rule__EventReference__Group__2__Impl" |
7775 | // InternalCftLanguage.g:2508:1: rule__EventReference__Group__2__Impl : ( ( rule__EventReference__EventAssignment_2 ) ) ; | 9439 | // InternalCftLanguage.g:3018:1: rule__EventReference__Group__2__Impl : ( ( rule__EventReference__EventAssignment_2 ) ) ; |
7776 | public final void rule__EventReference__Group__2__Impl() throws RecognitionException { | 9440 | public final void rule__EventReference__Group__2__Impl() throws RecognitionException { |
7777 | 9441 | ||
7778 | int stackSize = keepStackSize(); | 9442 | int stackSize = keepStackSize(); |
7779 | 9443 | ||
7780 | try { | 9444 | try { |
7781 | // InternalCftLanguage.g:2512:1: ( ( ( rule__EventReference__EventAssignment_2 ) ) ) | 9445 | // InternalCftLanguage.g:3022:1: ( ( ( rule__EventReference__EventAssignment_2 ) ) ) |
7782 | // InternalCftLanguage.g:2513:1: ( ( rule__EventReference__EventAssignment_2 ) ) | 9446 | // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) ) |
7783 | { | 9447 | { |
7784 | // InternalCftLanguage.g:2513:1: ( ( rule__EventReference__EventAssignment_2 ) ) | 9448 | // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) ) |
7785 | // InternalCftLanguage.g:2514:2: ( rule__EventReference__EventAssignment_2 ) | 9449 | // InternalCftLanguage.g:3024:2: ( rule__EventReference__EventAssignment_2 ) |
7786 | { | 9450 | { |
7787 | before(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); | 9451 | before(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); |
7788 | // InternalCftLanguage.g:2515:2: ( rule__EventReference__EventAssignment_2 ) | 9452 | // InternalCftLanguage.g:3025:2: ( rule__EventReference__EventAssignment_2 ) |
7789 | // InternalCftLanguage.g:2515:3: rule__EventReference__EventAssignment_2 | 9453 | // InternalCftLanguage.g:3025:3: rule__EventReference__EventAssignment_2 |
7790 | { | 9454 | { |
7791 | pushFollow(FOLLOW_2); | 9455 | pushFollow(FOLLOW_2); |
7792 | rule__EventReference__EventAssignment_2(); | 9456 | rule__EventReference__EventAssignment_2(); |
@@ -7819,14 +9483,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7819 | 9483 | ||
7820 | 9484 | ||
7821 | // $ANTLR start "rule__ComponentInstance__Group__0" | 9485 | // $ANTLR start "rule__ComponentInstance__Group__0" |
7822 | // InternalCftLanguage.g:2524:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ; | 9486 | // InternalCftLanguage.g:3034:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ; |
7823 | public final void rule__ComponentInstance__Group__0() throws RecognitionException { | 9487 | public final void rule__ComponentInstance__Group__0() throws RecognitionException { |
7824 | 9488 | ||
7825 | int stackSize = keepStackSize(); | 9489 | int stackSize = keepStackSize(); |
7826 | 9490 | ||
7827 | try { | 9491 | try { |
7828 | // InternalCftLanguage.g:2528:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ) | 9492 | // InternalCftLanguage.g:3038:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ) |
7829 | // InternalCftLanguage.g:2529:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 | 9493 | // InternalCftLanguage.g:3039:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 |
7830 | { | 9494 | { |
7831 | pushFollow(FOLLOW_3); | 9495 | pushFollow(FOLLOW_3); |
7832 | rule__ComponentInstance__Group__0__Impl(); | 9496 | rule__ComponentInstance__Group__0__Impl(); |
@@ -7857,20 +9521,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7857 | 9521 | ||
7858 | 9522 | ||
7859 | // $ANTLR start "rule__ComponentInstance__Group__0__Impl" | 9523 | // $ANTLR start "rule__ComponentInstance__Group__0__Impl" |
7860 | // InternalCftLanguage.g:2536:1: rule__ComponentInstance__Group__0__Impl : ( '=>' ) ; | 9524 | // InternalCftLanguage.g:3046:1: rule__ComponentInstance__Group__0__Impl : ( '=>' ) ; |
7861 | public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException { | 9525 | public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException { |
7862 | 9526 | ||
7863 | int stackSize = keepStackSize(); | 9527 | int stackSize = keepStackSize(); |
7864 | 9528 | ||
7865 | try { | 9529 | try { |
7866 | // InternalCftLanguage.g:2540:1: ( ( '=>' ) ) | 9530 | // InternalCftLanguage.g:3050:1: ( ( '=>' ) ) |
7867 | // InternalCftLanguage.g:2541:1: ( '=>' ) | 9531 | // InternalCftLanguage.g:3051:1: ( '=>' ) |
7868 | { | 9532 | { |
7869 | // InternalCftLanguage.g:2541:1: ( '=>' ) | 9533 | // InternalCftLanguage.g:3051:1: ( '=>' ) |
7870 | // InternalCftLanguage.g:2542:2: '=>' | 9534 | // InternalCftLanguage.g:3052:2: '=>' |
7871 | { | 9535 | { |
7872 | before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); | 9536 | before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); |
7873 | match(input,33,FOLLOW_2); | 9537 | match(input,36,FOLLOW_2); |
7874 | after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); | 9538 | after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); |
7875 | 9539 | ||
7876 | } | 9540 | } |
@@ -7894,16 +9558,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7894 | 9558 | ||
7895 | 9559 | ||
7896 | // $ANTLR start "rule__ComponentInstance__Group__1" | 9560 | // $ANTLR start "rule__ComponentInstance__Group__1" |
7897 | // InternalCftLanguage.g:2551:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ; | 9561 | // InternalCftLanguage.g:3061:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ; |
7898 | public final void rule__ComponentInstance__Group__1() throws RecognitionException { | 9562 | public final void rule__ComponentInstance__Group__1() throws RecognitionException { |
7899 | 9563 | ||
7900 | int stackSize = keepStackSize(); | 9564 | int stackSize = keepStackSize(); |
7901 | 9565 | ||
7902 | try { | 9566 | try { |
7903 | // InternalCftLanguage.g:2555:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) | 9567 | // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) |
7904 | // InternalCftLanguage.g:2556:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 | 9568 | // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 |
7905 | { | 9569 | { |
7906 | pushFollow(FOLLOW_3); | 9570 | pushFollow(FOLLOW_34); |
7907 | rule__ComponentInstance__Group__1__Impl(); | 9571 | rule__ComponentInstance__Group__1__Impl(); |
7908 | 9572 | ||
7909 | state._fsp--; | 9573 | state._fsp--; |
@@ -7932,21 +9596,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7932 | 9596 | ||
7933 | 9597 | ||
7934 | // $ANTLR start "rule__ComponentInstance__Group__1__Impl" | 9598 | // $ANTLR start "rule__ComponentInstance__Group__1__Impl" |
7935 | // InternalCftLanguage.g:2563:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ; | 9599 | // InternalCftLanguage.g:3073:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ; |
7936 | public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException { | 9600 | public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException { |
7937 | 9601 | ||
7938 | int stackSize = keepStackSize(); | 9602 | int stackSize = keepStackSize(); |
7939 | 9603 | ||
7940 | try { | 9604 | try { |
7941 | // InternalCftLanguage.g:2567:1: ( ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ) | 9605 | // InternalCftLanguage.g:3077:1: ( ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ) |
7942 | // InternalCftLanguage.g:2568:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) | 9606 | // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) |
7943 | { | 9607 | { |
7944 | // InternalCftLanguage.g:2568:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) | 9608 | // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) |
7945 | // InternalCftLanguage.g:2569:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) | 9609 | // InternalCftLanguage.g:3079:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) |
7946 | { | 9610 | { |
7947 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); | 9611 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); |
7948 | // InternalCftLanguage.g:2570:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) | 9612 | // InternalCftLanguage.g:3080:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) |
7949 | // InternalCftLanguage.g:2570:3: rule__ComponentInstance__ComponentTypeAssignment_1 | 9613 | // InternalCftLanguage.g:3080:3: rule__ComponentInstance__ComponentTypeAssignment_1 |
7950 | { | 9614 | { |
7951 | pushFollow(FOLLOW_2); | 9615 | pushFollow(FOLLOW_2); |
7952 | rule__ComponentInstance__ComponentTypeAssignment_1(); | 9616 | rule__ComponentInstance__ComponentTypeAssignment_1(); |
@@ -7979,14 +9643,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
7979 | 9643 | ||
7980 | 9644 | ||
7981 | // $ANTLR start "rule__ComponentInstance__Group__2" | 9645 | // $ANTLR start "rule__ComponentInstance__Group__2" |
7982 | // InternalCftLanguage.g:2578:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl ; | 9646 | // InternalCftLanguage.g:3088:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl ; |
7983 | public final void rule__ComponentInstance__Group__2() throws RecognitionException { | 9647 | public final void rule__ComponentInstance__Group__2() throws RecognitionException { |
7984 | 9648 | ||
7985 | int stackSize = keepStackSize(); | 9649 | int stackSize = keepStackSize(); |
7986 | 9650 | ||
7987 | try { | 9651 | try { |
7988 | // InternalCftLanguage.g:2582:1: ( rule__ComponentInstance__Group__2__Impl ) | 9652 | // InternalCftLanguage.g:3092:1: ( rule__ComponentInstance__Group__2__Impl ) |
7989 | // InternalCftLanguage.g:2583:2: rule__ComponentInstance__Group__2__Impl | 9653 | // InternalCftLanguage.g:3093:2: rule__ComponentInstance__Group__2__Impl |
7990 | { | 9654 | { |
7991 | pushFollow(FOLLOW_2); | 9655 | pushFollow(FOLLOW_2); |
7992 | rule__ComponentInstance__Group__2__Impl(); | 9656 | rule__ComponentInstance__Group__2__Impl(); |
@@ -8012,29 +9676,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8012 | 9676 | ||
8013 | 9677 | ||
8014 | // $ANTLR start "rule__ComponentInstance__Group__2__Impl" | 9678 | // $ANTLR start "rule__ComponentInstance__Group__2__Impl" |
8015 | // InternalCftLanguage.g:2589:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__NameAssignment_2 )? ) ; | 9679 | // InternalCftLanguage.g:3099:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__NameAssignment_2 )? ) ; |
8016 | public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException { | 9680 | public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException { |
8017 | 9681 | ||
8018 | int stackSize = keepStackSize(); | 9682 | int stackSize = keepStackSize(); |
8019 | 9683 | ||
8020 | try { | 9684 | try { |
8021 | // InternalCftLanguage.g:2593:1: ( ( ( rule__ComponentInstance__NameAssignment_2 )? ) ) | 9685 | // InternalCftLanguage.g:3103:1: ( ( ( rule__ComponentInstance__NameAssignment_2 )? ) ) |
8022 | // InternalCftLanguage.g:2594:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) | 9686 | // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) |
8023 | { | 9687 | { |
8024 | // InternalCftLanguage.g:2594:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) | 9688 | // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) |
8025 | // InternalCftLanguage.g:2595:2: ( rule__ComponentInstance__NameAssignment_2 )? | 9689 | // InternalCftLanguage.g:3105:2: ( rule__ComponentInstance__NameAssignment_2 )? |
8026 | { | 9690 | { |
8027 | before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); | 9691 | before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); |
8028 | // InternalCftLanguage.g:2596:2: ( rule__ComponentInstance__NameAssignment_2 )? | 9692 | // InternalCftLanguage.g:3106:2: ( rule__ComponentInstance__NameAssignment_2 )? |
8029 | int alt23=2; | 9693 | int alt28=2; |
8030 | int LA23_0 = input.LA(1); | 9694 | int LA28_0 = input.LA(1); |
8031 | 9695 | ||
8032 | if ( (LA23_0==RULE_ID) ) { | 9696 | if ( (LA28_0==RULE_ID) ) { |
8033 | alt23=1; | 9697 | alt28=1; |
8034 | } | 9698 | } |
8035 | switch (alt23) { | 9699 | switch (alt28) { |
8036 | case 1 : | 9700 | case 1 : |
8037 | // InternalCftLanguage.g:2596:3: rule__ComponentInstance__NameAssignment_2 | 9701 | // InternalCftLanguage.g:3106:3: rule__ComponentInstance__NameAssignment_2 |
8038 | { | 9702 | { |
8039 | pushFollow(FOLLOW_2); | 9703 | pushFollow(FOLLOW_2); |
8040 | rule__ComponentInstance__NameAssignment_2(); | 9704 | rule__ComponentInstance__NameAssignment_2(); |
@@ -8070,16 +9734,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8070 | 9734 | ||
8071 | 9735 | ||
8072 | // $ANTLR start "rule__QualifiedName__Group__0" | 9736 | // $ANTLR start "rule__QualifiedName__Group__0" |
8073 | // InternalCftLanguage.g:2605:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; | 9737 | // InternalCftLanguage.g:3115:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; |
8074 | public final void rule__QualifiedName__Group__0() throws RecognitionException { | 9738 | public final void rule__QualifiedName__Group__0() throws RecognitionException { |
8075 | 9739 | ||
8076 | int stackSize = keepStackSize(); | 9740 | int stackSize = keepStackSize(); |
8077 | 9741 | ||
8078 | try { | 9742 | try { |
8079 | // InternalCftLanguage.g:2609:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) | 9743 | // InternalCftLanguage.g:3119:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) |
8080 | // InternalCftLanguage.g:2610:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 | 9744 | // InternalCftLanguage.g:3120:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 |
8081 | { | 9745 | { |
8082 | pushFollow(FOLLOW_31); | 9746 | pushFollow(FOLLOW_33); |
8083 | rule__QualifiedName__Group__0__Impl(); | 9747 | rule__QualifiedName__Group__0__Impl(); |
8084 | 9748 | ||
8085 | state._fsp--; | 9749 | state._fsp--; |
@@ -8108,21 +9772,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8108 | 9772 | ||
8109 | 9773 | ||
8110 | // $ANTLR start "rule__QualifiedName__Group__0__Impl" | 9774 | // $ANTLR start "rule__QualifiedName__Group__0__Impl" |
8111 | // InternalCftLanguage.g:2617:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; | 9775 | // InternalCftLanguage.g:3127:1: rule__QualifiedName__Group__0__Impl : ( ruleValidId ) ; |
8112 | public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { | 9776 | public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { |
8113 | 9777 | ||
8114 | int stackSize = keepStackSize(); | 9778 | int stackSize = keepStackSize(); |
8115 | 9779 | ||
8116 | try { | 9780 | try { |
8117 | // InternalCftLanguage.g:2621:1: ( ( RULE_ID ) ) | 9781 | // InternalCftLanguage.g:3131:1: ( ( ruleValidId ) ) |
8118 | // InternalCftLanguage.g:2622:1: ( RULE_ID ) | 9782 | // InternalCftLanguage.g:3132:1: ( ruleValidId ) |
8119 | { | 9783 | { |
8120 | // InternalCftLanguage.g:2622:1: ( RULE_ID ) | 9784 | // InternalCftLanguage.g:3132:1: ( ruleValidId ) |
8121 | // InternalCftLanguage.g:2623:2: RULE_ID | 9785 | // InternalCftLanguage.g:3133:2: ruleValidId |
8122 | { | 9786 | { |
8123 | before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 9787 | before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); |
8124 | match(input,RULE_ID,FOLLOW_2); | 9788 | pushFollow(FOLLOW_2); |
8125 | after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 9789 | ruleValidId(); |
9790 | |||
9791 | state._fsp--; | ||
9792 | |||
9793 | after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); | ||
8126 | 9794 | ||
8127 | } | 9795 | } |
8128 | 9796 | ||
@@ -8145,14 +9813,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8145 | 9813 | ||
8146 | 9814 | ||
8147 | // $ANTLR start "rule__QualifiedName__Group__1" | 9815 | // $ANTLR start "rule__QualifiedName__Group__1" |
8148 | // InternalCftLanguage.g:2632:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; | 9816 | // InternalCftLanguage.g:3142:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; |
8149 | public final void rule__QualifiedName__Group__1() throws RecognitionException { | 9817 | public final void rule__QualifiedName__Group__1() throws RecognitionException { |
8150 | 9818 | ||
8151 | int stackSize = keepStackSize(); | 9819 | int stackSize = keepStackSize(); |
8152 | 9820 | ||
8153 | try { | 9821 | try { |
8154 | // InternalCftLanguage.g:2636:1: ( rule__QualifiedName__Group__1__Impl ) | 9822 | // InternalCftLanguage.g:3146:1: ( rule__QualifiedName__Group__1__Impl ) |
8155 | // InternalCftLanguage.g:2637:2: rule__QualifiedName__Group__1__Impl | 9823 | // InternalCftLanguage.g:3147:2: rule__QualifiedName__Group__1__Impl |
8156 | { | 9824 | { |
8157 | pushFollow(FOLLOW_2); | 9825 | pushFollow(FOLLOW_2); |
8158 | rule__QualifiedName__Group__1__Impl(); | 9826 | rule__QualifiedName__Group__1__Impl(); |
@@ -8178,41 +9846,41 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8178 | 9846 | ||
8179 | 9847 | ||
8180 | // $ANTLR start "rule__QualifiedName__Group__1__Impl" | 9848 | // $ANTLR start "rule__QualifiedName__Group__1__Impl" |
8181 | // InternalCftLanguage.g:2643:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; | 9849 | // InternalCftLanguage.g:3153:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; |
8182 | public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { | 9850 | public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { |
8183 | 9851 | ||
8184 | int stackSize = keepStackSize(); | 9852 | int stackSize = keepStackSize(); |
8185 | 9853 | ||
8186 | try { | 9854 | try { |
8187 | // InternalCftLanguage.g:2647:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) | 9855 | // InternalCftLanguage.g:3157:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) |
8188 | // InternalCftLanguage.g:2648:1: ( ( rule__QualifiedName__Group_1__0 )* ) | 9856 | // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* ) |
8189 | { | 9857 | { |
8190 | // InternalCftLanguage.g:2648:1: ( ( rule__QualifiedName__Group_1__0 )* ) | 9858 | // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* ) |
8191 | // InternalCftLanguage.g:2649:2: ( rule__QualifiedName__Group_1__0 )* | 9859 | // InternalCftLanguage.g:3159:2: ( rule__QualifiedName__Group_1__0 )* |
8192 | { | 9860 | { |
8193 | before(grammarAccess.getQualifiedNameAccess().getGroup_1()); | 9861 | before(grammarAccess.getQualifiedNameAccess().getGroup_1()); |
8194 | // InternalCftLanguage.g:2650:2: ( rule__QualifiedName__Group_1__0 )* | 9862 | // InternalCftLanguage.g:3160:2: ( rule__QualifiedName__Group_1__0 )* |
8195 | loop24: | 9863 | loop29: |
8196 | do { | 9864 | do { |
8197 | int alt24=2; | 9865 | int alt29=2; |
8198 | int LA24_0 = input.LA(1); | 9866 | int LA29_0 = input.LA(1); |
8199 | 9867 | ||
8200 | if ( (LA24_0==32) ) { | 9868 | if ( (LA29_0==35) ) { |
8201 | int LA24_2 = input.LA(2); | 9869 | int LA29_2 = input.LA(2); |
8202 | 9870 | ||
8203 | if ( (LA24_2==RULE_ID) ) { | 9871 | if ( ((LA29_2>=RULE_ID && LA29_2<=RULE_OF_INT)) ) { |
8204 | alt24=1; | 9872 | alt29=1; |
8205 | } | 9873 | } |
8206 | 9874 | ||
8207 | 9875 | ||
8208 | } | 9876 | } |
8209 | 9877 | ||
8210 | 9878 | ||
8211 | switch (alt24) { | 9879 | switch (alt29) { |
8212 | case 1 : | 9880 | case 1 : |
8213 | // InternalCftLanguage.g:2650:3: rule__QualifiedName__Group_1__0 | 9881 | // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0 |
8214 | { | 9882 | { |
8215 | pushFollow(FOLLOW_32); | 9883 | pushFollow(FOLLOW_35); |
8216 | rule__QualifiedName__Group_1__0(); | 9884 | rule__QualifiedName__Group_1__0(); |
8217 | 9885 | ||
8218 | state._fsp--; | 9886 | state._fsp--; |
@@ -8222,7 +9890,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8222 | break; | 9890 | break; |
8223 | 9891 | ||
8224 | default : | 9892 | default : |
8225 | break loop24; | 9893 | break loop29; |
8226 | } | 9894 | } |
8227 | } while (true); | 9895 | } while (true); |
8228 | 9896 | ||
@@ -8249,14 +9917,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8249 | 9917 | ||
8250 | 9918 | ||
8251 | // $ANTLR start "rule__QualifiedName__Group_1__0" | 9919 | // $ANTLR start "rule__QualifiedName__Group_1__0" |
8252 | // InternalCftLanguage.g:2659:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; | 9920 | // InternalCftLanguage.g:3169:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; |
8253 | public final void rule__QualifiedName__Group_1__0() throws RecognitionException { | 9921 | public final void rule__QualifiedName__Group_1__0() throws RecognitionException { |
8254 | 9922 | ||
8255 | int stackSize = keepStackSize(); | 9923 | int stackSize = keepStackSize(); |
8256 | 9924 | ||
8257 | try { | 9925 | try { |
8258 | // InternalCftLanguage.g:2663:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) | 9926 | // InternalCftLanguage.g:3173:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) |
8259 | // InternalCftLanguage.g:2664:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 | 9927 | // InternalCftLanguage.g:3174:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 |
8260 | { | 9928 | { |
8261 | pushFollow(FOLLOW_3); | 9929 | pushFollow(FOLLOW_3); |
8262 | rule__QualifiedName__Group_1__0__Impl(); | 9930 | rule__QualifiedName__Group_1__0__Impl(); |
@@ -8287,20 +9955,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8287 | 9955 | ||
8288 | 9956 | ||
8289 | // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" | 9957 | // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" |
8290 | // InternalCftLanguage.g:2671:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; | 9958 | // InternalCftLanguage.g:3181:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; |
8291 | public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { | 9959 | public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { |
8292 | 9960 | ||
8293 | int stackSize = keepStackSize(); | 9961 | int stackSize = keepStackSize(); |
8294 | 9962 | ||
8295 | try { | 9963 | try { |
8296 | // InternalCftLanguage.g:2675:1: ( ( '.' ) ) | 9964 | // InternalCftLanguage.g:3185:1: ( ( '.' ) ) |
8297 | // InternalCftLanguage.g:2676:1: ( '.' ) | 9965 | // InternalCftLanguage.g:3186:1: ( '.' ) |
8298 | { | 9966 | { |
8299 | // InternalCftLanguage.g:2676:1: ( '.' ) | 9967 | // InternalCftLanguage.g:3186:1: ( '.' ) |
8300 | // InternalCftLanguage.g:2677:2: '.' | 9968 | // InternalCftLanguage.g:3187:2: '.' |
8301 | { | 9969 | { |
8302 | before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | 9970 | before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
8303 | match(input,32,FOLLOW_2); | 9971 | match(input,35,FOLLOW_2); |
8304 | after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | 9972 | after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
8305 | 9973 | ||
8306 | } | 9974 | } |
@@ -8324,14 +9992,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8324 | 9992 | ||
8325 | 9993 | ||
8326 | // $ANTLR start "rule__QualifiedName__Group_1__1" | 9994 | // $ANTLR start "rule__QualifiedName__Group_1__1" |
8327 | // InternalCftLanguage.g:2686:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; | 9995 | // InternalCftLanguage.g:3196:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; |
8328 | public final void rule__QualifiedName__Group_1__1() throws RecognitionException { | 9996 | public final void rule__QualifiedName__Group_1__1() throws RecognitionException { |
8329 | 9997 | ||
8330 | int stackSize = keepStackSize(); | 9998 | int stackSize = keepStackSize(); |
8331 | 9999 | ||
8332 | try { | 10000 | try { |
8333 | // InternalCftLanguage.g:2690:1: ( rule__QualifiedName__Group_1__1__Impl ) | 10001 | // InternalCftLanguage.g:3200:1: ( rule__QualifiedName__Group_1__1__Impl ) |
8334 | // InternalCftLanguage.g:2691:2: rule__QualifiedName__Group_1__1__Impl | 10002 | // InternalCftLanguage.g:3201:2: rule__QualifiedName__Group_1__1__Impl |
8335 | { | 10003 | { |
8336 | pushFollow(FOLLOW_2); | 10004 | pushFollow(FOLLOW_2); |
8337 | rule__QualifiedName__Group_1__1__Impl(); | 10005 | rule__QualifiedName__Group_1__1__Impl(); |
@@ -8357,21 +10025,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8357 | 10025 | ||
8358 | 10026 | ||
8359 | // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" | 10027 | // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" |
8360 | // InternalCftLanguage.g:2697:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; | 10028 | // InternalCftLanguage.g:3207:1: rule__QualifiedName__Group_1__1__Impl : ( ruleValidId ) ; |
8361 | public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { | 10029 | public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { |
8362 | 10030 | ||
8363 | int stackSize = keepStackSize(); | 10031 | int stackSize = keepStackSize(); |
8364 | 10032 | ||
8365 | try { | 10033 | try { |
8366 | // InternalCftLanguage.g:2701:1: ( ( RULE_ID ) ) | 10034 | // InternalCftLanguage.g:3211:1: ( ( ruleValidId ) ) |
8367 | // InternalCftLanguage.g:2702:1: ( RULE_ID ) | 10035 | // InternalCftLanguage.g:3212:1: ( ruleValidId ) |
8368 | { | 10036 | { |
8369 | // InternalCftLanguage.g:2702:1: ( RULE_ID ) | 10037 | // InternalCftLanguage.g:3212:1: ( ruleValidId ) |
8370 | // InternalCftLanguage.g:2703:2: RULE_ID | 10038 | // InternalCftLanguage.g:3213:2: ruleValidId |
8371 | { | 10039 | { |
8372 | before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | 10040 | before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); |
8373 | match(input,RULE_ID,FOLLOW_2); | 10041 | pushFollow(FOLLOW_2); |
8374 | after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | 10042 | ruleValidId(); |
10043 | |||
10044 | state._fsp--; | ||
10045 | |||
10046 | after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); | ||
8375 | 10047 | ||
8376 | } | 10048 | } |
8377 | 10049 | ||
@@ -8394,16 +10066,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8394 | 10066 | ||
8395 | 10067 | ||
8396 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0" | 10068 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0" |
8397 | // InternalCftLanguage.g:2713:1: rule__QualifiedNameWithWildcard__Group__0 : rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ; | 10069 | // InternalCftLanguage.g:3223:1: rule__QualifiedNameWithWildcard__Group__0 : rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ; |
8398 | public final void rule__QualifiedNameWithWildcard__Group__0() throws RecognitionException { | 10070 | public final void rule__QualifiedNameWithWildcard__Group__0() throws RecognitionException { |
8399 | 10071 | ||
8400 | int stackSize = keepStackSize(); | 10072 | int stackSize = keepStackSize(); |
8401 | 10073 | ||
8402 | try { | 10074 | try { |
8403 | // InternalCftLanguage.g:2717:1: ( rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ) | 10075 | // InternalCftLanguage.g:3227:1: ( rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ) |
8404 | // InternalCftLanguage.g:2718:2: rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 | 10076 | // InternalCftLanguage.g:3228:2: rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 |
8405 | { | 10077 | { |
8406 | pushFollow(FOLLOW_31); | 10078 | pushFollow(FOLLOW_33); |
8407 | rule__QualifiedNameWithWildcard__Group__0__Impl(); | 10079 | rule__QualifiedNameWithWildcard__Group__0__Impl(); |
8408 | 10080 | ||
8409 | state._fsp--; | 10081 | state._fsp--; |
@@ -8432,17 +10104,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8432 | 10104 | ||
8433 | 10105 | ||
8434 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0__Impl" | 10106 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0__Impl" |
8435 | // InternalCftLanguage.g:2725:1: rule__QualifiedNameWithWildcard__Group__0__Impl : ( ruleQualifiedName ) ; | 10107 | // InternalCftLanguage.g:3235:1: rule__QualifiedNameWithWildcard__Group__0__Impl : ( ruleQualifiedName ) ; |
8436 | public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws RecognitionException { | 10108 | public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws RecognitionException { |
8437 | 10109 | ||
8438 | int stackSize = keepStackSize(); | 10110 | int stackSize = keepStackSize(); |
8439 | 10111 | ||
8440 | try { | 10112 | try { |
8441 | // InternalCftLanguage.g:2729:1: ( ( ruleQualifiedName ) ) | 10113 | // InternalCftLanguage.g:3239:1: ( ( ruleQualifiedName ) ) |
8442 | // InternalCftLanguage.g:2730:1: ( ruleQualifiedName ) | 10114 | // InternalCftLanguage.g:3240:1: ( ruleQualifiedName ) |
8443 | { | 10115 | { |
8444 | // InternalCftLanguage.g:2730:1: ( ruleQualifiedName ) | 10116 | // InternalCftLanguage.g:3240:1: ( ruleQualifiedName ) |
8445 | // InternalCftLanguage.g:2731:2: ruleQualifiedName | 10117 | // InternalCftLanguage.g:3241:2: ruleQualifiedName |
8446 | { | 10118 | { |
8447 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); | 10119 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); |
8448 | pushFollow(FOLLOW_2); | 10120 | pushFollow(FOLLOW_2); |
@@ -8473,14 +10145,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8473 | 10145 | ||
8474 | 10146 | ||
8475 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1" | 10147 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1" |
8476 | // InternalCftLanguage.g:2740:1: rule__QualifiedNameWithWildcard__Group__1 : rule__QualifiedNameWithWildcard__Group__1__Impl ; | 10148 | // InternalCftLanguage.g:3250:1: rule__QualifiedNameWithWildcard__Group__1 : rule__QualifiedNameWithWildcard__Group__1__Impl ; |
8477 | public final void rule__QualifiedNameWithWildcard__Group__1() throws RecognitionException { | 10149 | public final void rule__QualifiedNameWithWildcard__Group__1() throws RecognitionException { |
8478 | 10150 | ||
8479 | int stackSize = keepStackSize(); | 10151 | int stackSize = keepStackSize(); |
8480 | 10152 | ||
8481 | try { | 10153 | try { |
8482 | // InternalCftLanguage.g:2744:1: ( rule__QualifiedNameWithWildcard__Group__1__Impl ) | 10154 | // InternalCftLanguage.g:3254:1: ( rule__QualifiedNameWithWildcard__Group__1__Impl ) |
8483 | // InternalCftLanguage.g:2745:2: rule__QualifiedNameWithWildcard__Group__1__Impl | 10155 | // InternalCftLanguage.g:3255:2: rule__QualifiedNameWithWildcard__Group__1__Impl |
8484 | { | 10156 | { |
8485 | pushFollow(FOLLOW_2); | 10157 | pushFollow(FOLLOW_2); |
8486 | rule__QualifiedNameWithWildcard__Group__1__Impl(); | 10158 | rule__QualifiedNameWithWildcard__Group__1__Impl(); |
@@ -8506,29 +10178,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8506 | 10178 | ||
8507 | 10179 | ||
8508 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1__Impl" | 10180 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1__Impl" |
8509 | // InternalCftLanguage.g:2751:1: rule__QualifiedNameWithWildcard__Group__1__Impl : ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ; | 10181 | // InternalCftLanguage.g:3261:1: rule__QualifiedNameWithWildcard__Group__1__Impl : ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ; |
8510 | public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws RecognitionException { | 10182 | public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws RecognitionException { |
8511 | 10183 | ||
8512 | int stackSize = keepStackSize(); | 10184 | int stackSize = keepStackSize(); |
8513 | 10185 | ||
8514 | try { | 10186 | try { |
8515 | // InternalCftLanguage.g:2755:1: ( ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ) | 10187 | // InternalCftLanguage.g:3265:1: ( ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ) |
8516 | // InternalCftLanguage.g:2756:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) | 10188 | // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) |
8517 | { | 10189 | { |
8518 | // InternalCftLanguage.g:2756:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) | 10190 | // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) |
8519 | // InternalCftLanguage.g:2757:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? | 10191 | // InternalCftLanguage.g:3267:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? |
8520 | { | 10192 | { |
8521 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); | 10193 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); |
8522 | // InternalCftLanguage.g:2758:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? | 10194 | // InternalCftLanguage.g:3268:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? |
8523 | int alt25=2; | 10195 | int alt30=2; |
8524 | int LA25_0 = input.LA(1); | 10196 | int LA30_0 = input.LA(1); |
8525 | 10197 | ||
8526 | if ( (LA25_0==32) ) { | 10198 | if ( (LA30_0==35) ) { |
8527 | alt25=1; | 10199 | alt30=1; |
8528 | } | 10200 | } |
8529 | switch (alt25) { | 10201 | switch (alt30) { |
8530 | case 1 : | 10202 | case 1 : |
8531 | // InternalCftLanguage.g:2758:3: rule__QualifiedNameWithWildcard__Group_1__0 | 10203 | // InternalCftLanguage.g:3268:3: rule__QualifiedNameWithWildcard__Group_1__0 |
8532 | { | 10204 | { |
8533 | pushFollow(FOLLOW_2); | 10205 | pushFollow(FOLLOW_2); |
8534 | rule__QualifiedNameWithWildcard__Group_1__0(); | 10206 | rule__QualifiedNameWithWildcard__Group_1__0(); |
@@ -8564,16 +10236,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8564 | 10236 | ||
8565 | 10237 | ||
8566 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0" | 10238 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0" |
8567 | // InternalCftLanguage.g:2767:1: rule__QualifiedNameWithWildcard__Group_1__0 : rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ; | 10239 | // InternalCftLanguage.g:3277:1: rule__QualifiedNameWithWildcard__Group_1__0 : rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ; |
8568 | public final void rule__QualifiedNameWithWildcard__Group_1__0() throws RecognitionException { | 10240 | public final void rule__QualifiedNameWithWildcard__Group_1__0() throws RecognitionException { |
8569 | 10241 | ||
8570 | int stackSize = keepStackSize(); | 10242 | int stackSize = keepStackSize(); |
8571 | 10243 | ||
8572 | try { | 10244 | try { |
8573 | // InternalCftLanguage.g:2771:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) | 10245 | // InternalCftLanguage.g:3281:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) |
8574 | // InternalCftLanguage.g:2772:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 | 10246 | // InternalCftLanguage.g:3282:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 |
8575 | { | 10247 | { |
8576 | pushFollow(FOLLOW_33); | 10248 | pushFollow(FOLLOW_36); |
8577 | rule__QualifiedNameWithWildcard__Group_1__0__Impl(); | 10249 | rule__QualifiedNameWithWildcard__Group_1__0__Impl(); |
8578 | 10250 | ||
8579 | state._fsp--; | 10251 | state._fsp--; |
@@ -8602,20 +10274,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8602 | 10274 | ||
8603 | 10275 | ||
8604 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0__Impl" | 10276 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0__Impl" |
8605 | // InternalCftLanguage.g:2779:1: rule__QualifiedNameWithWildcard__Group_1__0__Impl : ( '.' ) ; | 10277 | // InternalCftLanguage.g:3289:1: rule__QualifiedNameWithWildcard__Group_1__0__Impl : ( '.' ) ; |
8606 | public final void rule__QualifiedNameWithWildcard__Group_1__0__Impl() throws RecognitionException { | 10278 | public final void rule__QualifiedNameWithWildcard__Group_1__0__Impl() throws RecognitionException { |
8607 | 10279 | ||
8608 | int stackSize = keepStackSize(); | 10280 | int stackSize = keepStackSize(); |
8609 | 10281 | ||
8610 | try { | 10282 | try { |
8611 | // InternalCftLanguage.g:2783:1: ( ( '.' ) ) | 10283 | // InternalCftLanguage.g:3293:1: ( ( '.' ) ) |
8612 | // InternalCftLanguage.g:2784:1: ( '.' ) | 10284 | // InternalCftLanguage.g:3294:1: ( '.' ) |
8613 | { | 10285 | { |
8614 | // InternalCftLanguage.g:2784:1: ( '.' ) | 10286 | // InternalCftLanguage.g:3294:1: ( '.' ) |
8615 | // InternalCftLanguage.g:2785:2: '.' | 10287 | // InternalCftLanguage.g:3295:2: '.' |
8616 | { | 10288 | { |
8617 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); | 10289 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); |
8618 | match(input,32,FOLLOW_2); | 10290 | match(input,35,FOLLOW_2); |
8619 | after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); | 10291 | after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); |
8620 | 10292 | ||
8621 | } | 10293 | } |
@@ -8639,14 +10311,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8639 | 10311 | ||
8640 | 10312 | ||
8641 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1" | 10313 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1" |
8642 | // InternalCftLanguage.g:2794:1: rule__QualifiedNameWithWildcard__Group_1__1 : rule__QualifiedNameWithWildcard__Group_1__1__Impl ; | 10314 | // InternalCftLanguage.g:3304:1: rule__QualifiedNameWithWildcard__Group_1__1 : rule__QualifiedNameWithWildcard__Group_1__1__Impl ; |
8643 | public final void rule__QualifiedNameWithWildcard__Group_1__1() throws RecognitionException { | 10315 | public final void rule__QualifiedNameWithWildcard__Group_1__1() throws RecognitionException { |
8644 | 10316 | ||
8645 | int stackSize = keepStackSize(); | 10317 | int stackSize = keepStackSize(); |
8646 | 10318 | ||
8647 | try { | 10319 | try { |
8648 | // InternalCftLanguage.g:2798:1: ( rule__QualifiedNameWithWildcard__Group_1__1__Impl ) | 10320 | // InternalCftLanguage.g:3308:1: ( rule__QualifiedNameWithWildcard__Group_1__1__Impl ) |
8649 | // InternalCftLanguage.g:2799:2: rule__QualifiedNameWithWildcard__Group_1__1__Impl | 10321 | // InternalCftLanguage.g:3309:2: rule__QualifiedNameWithWildcard__Group_1__1__Impl |
8650 | { | 10322 | { |
8651 | pushFollow(FOLLOW_2); | 10323 | pushFollow(FOLLOW_2); |
8652 | rule__QualifiedNameWithWildcard__Group_1__1__Impl(); | 10324 | rule__QualifiedNameWithWildcard__Group_1__1__Impl(); |
@@ -8672,20 +10344,20 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8672 | 10344 | ||
8673 | 10345 | ||
8674 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1__Impl" | 10346 | // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1__Impl" |
8675 | // InternalCftLanguage.g:2805:1: rule__QualifiedNameWithWildcard__Group_1__1__Impl : ( '*' ) ; | 10347 | // InternalCftLanguage.g:3315:1: rule__QualifiedNameWithWildcard__Group_1__1__Impl : ( '*' ) ; |
8676 | public final void rule__QualifiedNameWithWildcard__Group_1__1__Impl() throws RecognitionException { | 10348 | public final void rule__QualifiedNameWithWildcard__Group_1__1__Impl() throws RecognitionException { |
8677 | 10349 | ||
8678 | int stackSize = keepStackSize(); | 10350 | int stackSize = keepStackSize(); |
8679 | 10351 | ||
8680 | try { | 10352 | try { |
8681 | // InternalCftLanguage.g:2809:1: ( ( '*' ) ) | 10353 | // InternalCftLanguage.g:3319:1: ( ( '*' ) ) |
8682 | // InternalCftLanguage.g:2810:1: ( '*' ) | 10354 | // InternalCftLanguage.g:3320:1: ( '*' ) |
8683 | { | 10355 | { |
8684 | // InternalCftLanguage.g:2810:1: ( '*' ) | 10356 | // InternalCftLanguage.g:3320:1: ( '*' ) |
8685 | // InternalCftLanguage.g:2811:2: '*' | 10357 | // InternalCftLanguage.g:3321:2: '*' |
8686 | { | 10358 | { |
8687 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); | 10359 | before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); |
8688 | match(input,34,FOLLOW_2); | 10360 | match(input,37,FOLLOW_2); |
8689 | after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); | 10361 | after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); |
8690 | 10362 | ||
8691 | } | 10363 | } |
@@ -8709,29 +10381,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8709 | 10381 | ||
8710 | 10382 | ||
8711 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3" | 10383 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3" |
8712 | // InternalCftLanguage.g:2821:1: rule__ComponentDefinition__UnorderedGroup_3 : ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ; | 10384 | // InternalCftLanguage.g:3331:1: rule__ComponentDefinition__UnorderedGroup_3 : ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ; |
8713 | public final void rule__ComponentDefinition__UnorderedGroup_3() throws RecognitionException { | 10385 | public final void rule__ComponentDefinition__UnorderedGroup_3() throws RecognitionException { |
8714 | 10386 | ||
8715 | int stackSize = keepStackSize(); | 10387 | int stackSize = keepStackSize(); |
8716 | getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); | 10388 | getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); |
8717 | 10389 | ||
8718 | try { | 10390 | try { |
8719 | // InternalCftLanguage.g:2826:1: ( ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ) | 10391 | // InternalCftLanguage.g:3336:1: ( ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ) |
8720 | // InternalCftLanguage.g:2827:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? | 10392 | // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? |
8721 | { | 10393 | { |
8722 | // InternalCftLanguage.g:2827:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? | 10394 | // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? |
8723 | int alt26=2; | 10395 | int alt31=2; |
8724 | int LA26_0 = input.LA(1); | 10396 | int LA31_0 = input.LA(1); |
8725 | 10397 | ||
8726 | if ( LA26_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 10398 | if ( LA31_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
8727 | alt26=1; | 10399 | alt31=1; |
8728 | } | 10400 | } |
8729 | else if ( LA26_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 10401 | else if ( LA31_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
8730 | alt26=1; | 10402 | alt31=1; |
8731 | } | 10403 | } |
8732 | switch (alt26) { | 10404 | switch (alt31) { |
8733 | case 1 : | 10405 | case 1 : |
8734 | // InternalCftLanguage.g:2827:2: rule__ComponentDefinition__UnorderedGroup_3__0 | 10406 | // InternalCftLanguage.g:3337:2: rule__ComponentDefinition__UnorderedGroup_3__0 |
8735 | { | 10407 | { |
8736 | pushFollow(FOLLOW_2); | 10408 | pushFollow(FOLLOW_2); |
8737 | rule__ComponentDefinition__UnorderedGroup_3__0(); | 10409 | rule__ComponentDefinition__UnorderedGroup_3__0(); |
@@ -8764,44 +10436,44 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8764 | 10436 | ||
8765 | 10437 | ||
8766 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__Impl" | 10438 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__Impl" |
8767 | // InternalCftLanguage.g:2835:1: rule__ComponentDefinition__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ; | 10439 | // InternalCftLanguage.g:3345:1: rule__ComponentDefinition__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ; |
8768 | public final void rule__ComponentDefinition__UnorderedGroup_3__Impl() throws RecognitionException { | 10440 | public final void rule__ComponentDefinition__UnorderedGroup_3__Impl() throws RecognitionException { |
8769 | 10441 | ||
8770 | int stackSize = keepStackSize(); | 10442 | int stackSize = keepStackSize(); |
8771 | boolean selected = false; | 10443 | boolean selected = false; |
8772 | 10444 | ||
8773 | try { | 10445 | try { |
8774 | // InternalCftLanguage.g:2840:1: ( ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ) | 10446 | // InternalCftLanguage.g:3350:1: ( ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ) |
8775 | // InternalCftLanguage.g:2841:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) | 10447 | // InternalCftLanguage.g:3351:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) |
8776 | { | 10448 | { |
8777 | // InternalCftLanguage.g:2841:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) | 10449 | // InternalCftLanguage.g:3351:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) |
8778 | int alt27=2; | 10450 | int alt32=2; |
8779 | int LA27_0 = input.LA(1); | 10451 | int LA32_0 = input.LA(1); |
8780 | 10452 | ||
8781 | if ( LA27_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 10453 | if ( LA32_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
8782 | alt27=1; | 10454 | alt32=1; |
8783 | } | 10455 | } |
8784 | else if ( LA27_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 10456 | else if ( LA32_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
8785 | alt27=2; | 10457 | alt32=2; |
8786 | } | 10458 | } |
8787 | else { | 10459 | else { |
8788 | NoViableAltException nvae = | 10460 | NoViableAltException nvae = |
8789 | new NoViableAltException("", 27, 0, input); | 10461 | new NoViableAltException("", 32, 0, input); |
8790 | 10462 | ||
8791 | throw nvae; | 10463 | throw nvae; |
8792 | } | 10464 | } |
8793 | switch (alt27) { | 10465 | switch (alt32) { |
8794 | case 1 : | 10466 | case 1 : |
8795 | // InternalCftLanguage.g:2842:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | 10467 | // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) |
8796 | { | 10468 | { |
8797 | // InternalCftLanguage.g:2842:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | 10469 | // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) |
8798 | // InternalCftLanguage.g:2843:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) | 10470 | // InternalCftLanguage.g:3353:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) |
8799 | { | 10471 | { |
8800 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 10472 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
8801 | throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); | 10473 | throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); |
8802 | } | 10474 | } |
8803 | // InternalCftLanguage.g:2843:115: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) | 10475 | // InternalCftLanguage.g:3353:115: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) |
8804 | // InternalCftLanguage.g:2844:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | 10476 | // InternalCftLanguage.g:3354:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) |
8805 | { | 10477 | { |
8806 | 10478 | ||
8807 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); | 10479 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); |
@@ -8809,12 +10481,12 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8809 | 10481 | ||
8810 | selected = true; | 10482 | selected = true; |
8811 | 10483 | ||
8812 | // InternalCftLanguage.g:2850:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | 10484 | // InternalCftLanguage.g:3360:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) |
8813 | // InternalCftLanguage.g:2851:6: ( rule__ComponentDefinition__Group_3_0__0 ) | 10485 | // InternalCftLanguage.g:3361:6: ( rule__ComponentDefinition__Group_3_0__0 ) |
8814 | { | 10486 | { |
8815 | before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); | 10487 | before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); |
8816 | // InternalCftLanguage.g:2852:6: ( rule__ComponentDefinition__Group_3_0__0 ) | 10488 | // InternalCftLanguage.g:3362:6: ( rule__ComponentDefinition__Group_3_0__0 ) |
8817 | // InternalCftLanguage.g:2852:7: rule__ComponentDefinition__Group_3_0__0 | 10489 | // InternalCftLanguage.g:3362:7: rule__ComponentDefinition__Group_3_0__0 |
8818 | { | 10490 | { |
8819 | pushFollow(FOLLOW_2); | 10491 | pushFollow(FOLLOW_2); |
8820 | rule__ComponentDefinition__Group_3_0__0(); | 10492 | rule__ComponentDefinition__Group_3_0__0(); |
@@ -8838,16 +10510,16 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8838 | } | 10510 | } |
8839 | break; | 10511 | break; |
8840 | case 2 : | 10512 | case 2 : |
8841 | // InternalCftLanguage.g:2857:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) | 10513 | // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) |
8842 | { | 10514 | { |
8843 | // InternalCftLanguage.g:2857:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) | 10515 | // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) |
8844 | // InternalCftLanguage.g:2858:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) | 10516 | // InternalCftLanguage.g:3368:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) |
8845 | { | 10517 | { |
8846 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 10518 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
8847 | throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); | 10519 | throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); |
8848 | } | 10520 | } |
8849 | // InternalCftLanguage.g:2858:115: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) | 10521 | // InternalCftLanguage.g:3368:115: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) |
8850 | // InternalCftLanguage.g:2859:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | 10522 | // InternalCftLanguage.g:3369:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) |
8851 | { | 10523 | { |
8852 | 10524 | ||
8853 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); | 10525 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); |
@@ -8855,12 +10527,12 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8855 | 10527 | ||
8856 | selected = true; | 10528 | selected = true; |
8857 | 10529 | ||
8858 | // InternalCftLanguage.g:2865:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | 10530 | // InternalCftLanguage.g:3375:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) |
8859 | // InternalCftLanguage.g:2866:6: ( rule__ComponentDefinition__Group_3_1__0 ) | 10531 | // InternalCftLanguage.g:3376:6: ( rule__ComponentDefinition__Group_3_1__0 ) |
8860 | { | 10532 | { |
8861 | before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); | 10533 | before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); |
8862 | // InternalCftLanguage.g:2867:6: ( rule__ComponentDefinition__Group_3_1__0 ) | 10534 | // InternalCftLanguage.g:3377:6: ( rule__ComponentDefinition__Group_3_1__0 ) |
8863 | // InternalCftLanguage.g:2867:7: rule__ComponentDefinition__Group_3_1__0 | 10535 | // InternalCftLanguage.g:3377:7: rule__ComponentDefinition__Group_3_1__0 |
8864 | { | 10536 | { |
8865 | pushFollow(FOLLOW_2); | 10537 | pushFollow(FOLLOW_2); |
8866 | rule__ComponentDefinition__Group_3_1__0(); | 10538 | rule__ComponentDefinition__Group_3_1__0(); |
@@ -8907,33 +10579,33 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8907 | 10579 | ||
8908 | 10580 | ||
8909 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__0" | 10581 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__0" |
8910 | // InternalCftLanguage.g:2880:1: rule__ComponentDefinition__UnorderedGroup_3__0 : rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ; | 10582 | // InternalCftLanguage.g:3390:1: rule__ComponentDefinition__UnorderedGroup_3__0 : rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ; |
8911 | public final void rule__ComponentDefinition__UnorderedGroup_3__0() throws RecognitionException { | 10583 | public final void rule__ComponentDefinition__UnorderedGroup_3__0() throws RecognitionException { |
8912 | 10584 | ||
8913 | int stackSize = keepStackSize(); | 10585 | int stackSize = keepStackSize(); |
8914 | 10586 | ||
8915 | try { | 10587 | try { |
8916 | // InternalCftLanguage.g:2884:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) | 10588 | // InternalCftLanguage.g:3394:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) |
8917 | // InternalCftLanguage.g:2885:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? | 10589 | // InternalCftLanguage.g:3395:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? |
8918 | { | 10590 | { |
8919 | pushFollow(FOLLOW_34); | 10591 | pushFollow(FOLLOW_37); |
8920 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); | 10592 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); |
8921 | 10593 | ||
8922 | state._fsp--; | 10594 | state._fsp--; |
8923 | 10595 | ||
8924 | // InternalCftLanguage.g:2886:2: ( rule__ComponentDefinition__UnorderedGroup_3__1 )? | 10596 | // InternalCftLanguage.g:3396:2: ( rule__ComponentDefinition__UnorderedGroup_3__1 )? |
8925 | int alt28=2; | 10597 | int alt33=2; |
8926 | int LA28_0 = input.LA(1); | 10598 | int LA33_0 = input.LA(1); |
8927 | 10599 | ||
8928 | if ( LA28_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 10600 | if ( LA33_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
8929 | alt28=1; | 10601 | alt33=1; |
8930 | } | 10602 | } |
8931 | else if ( LA28_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 10603 | else if ( LA33_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
8932 | alt28=1; | 10604 | alt33=1; |
8933 | } | 10605 | } |
8934 | switch (alt28) { | 10606 | switch (alt33) { |
8935 | case 1 : | 10607 | case 1 : |
8936 | // InternalCftLanguage.g:2886:2: rule__ComponentDefinition__UnorderedGroup_3__1 | 10608 | // InternalCftLanguage.g:3396:2: rule__ComponentDefinition__UnorderedGroup_3__1 |
8937 | { | 10609 | { |
8938 | pushFollow(FOLLOW_2); | 10610 | pushFollow(FOLLOW_2); |
8939 | rule__ComponentDefinition__UnorderedGroup_3__1(); | 10611 | rule__ComponentDefinition__UnorderedGroup_3__1(); |
@@ -8965,14 +10637,14 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8965 | 10637 | ||
8966 | 10638 | ||
8967 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__1" | 10639 | // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__1" |
8968 | // InternalCftLanguage.g:2892:1: rule__ComponentDefinition__UnorderedGroup_3__1 : rule__ComponentDefinition__UnorderedGroup_3__Impl ; | 10640 | // InternalCftLanguage.g:3402:1: rule__ComponentDefinition__UnorderedGroup_3__1 : rule__ComponentDefinition__UnorderedGroup_3__Impl ; |
8969 | public final void rule__ComponentDefinition__UnorderedGroup_3__1() throws RecognitionException { | 10641 | public final void rule__ComponentDefinition__UnorderedGroup_3__1() throws RecognitionException { |
8970 | 10642 | ||
8971 | int stackSize = keepStackSize(); | 10643 | int stackSize = keepStackSize(); |
8972 | 10644 | ||
8973 | try { | 10645 | try { |
8974 | // InternalCftLanguage.g:2896:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ) | 10646 | // InternalCftLanguage.g:3406:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ) |
8975 | // InternalCftLanguage.g:2897:2: rule__ComponentDefinition__UnorderedGroup_3__Impl | 10647 | // InternalCftLanguage.g:3407:2: rule__ComponentDefinition__UnorderedGroup_3__Impl |
8976 | { | 10648 | { |
8977 | pushFollow(FOLLOW_2); | 10649 | pushFollow(FOLLOW_2); |
8978 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); | 10650 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); |
@@ -8998,17 +10670,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
8998 | 10670 | ||
8999 | 10671 | ||
9000 | // $ANTLR start "rule__CftModel__PackageNameAssignment_1" | 10672 | // $ANTLR start "rule__CftModel__PackageNameAssignment_1" |
9001 | // InternalCftLanguage.g:2904:1: rule__CftModel__PackageNameAssignment_1 : ( ruleQualifiedName ) ; | 10673 | // InternalCftLanguage.g:3414:1: rule__CftModel__PackageNameAssignment_1 : ( ruleQualifiedName ) ; |
9002 | public final void rule__CftModel__PackageNameAssignment_1() throws RecognitionException { | 10674 | public final void rule__CftModel__PackageNameAssignment_1() throws RecognitionException { |
9003 | 10675 | ||
9004 | int stackSize = keepStackSize(); | 10676 | int stackSize = keepStackSize(); |
9005 | 10677 | ||
9006 | try { | 10678 | try { |
9007 | // InternalCftLanguage.g:2908:1: ( ( ruleQualifiedName ) ) | 10679 | // InternalCftLanguage.g:3418:1: ( ( ruleQualifiedName ) ) |
9008 | // InternalCftLanguage.g:2909:2: ( ruleQualifiedName ) | 10680 | // InternalCftLanguage.g:3419:2: ( ruleQualifiedName ) |
9009 | { | 10681 | { |
9010 | // InternalCftLanguage.g:2909:2: ( ruleQualifiedName ) | 10682 | // InternalCftLanguage.g:3419:2: ( ruleQualifiedName ) |
9011 | // InternalCftLanguage.g:2910:3: ruleQualifiedName | 10683 | // InternalCftLanguage.g:3420:3: ruleQualifiedName |
9012 | { | 10684 | { |
9013 | before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); | 10685 | before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); |
9014 | pushFollow(FOLLOW_2); | 10686 | pushFollow(FOLLOW_2); |
@@ -9039,17 +10711,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9039 | 10711 | ||
9040 | 10712 | ||
9041 | // $ANTLR start "rule__CftModel__ImportsAssignment_3" | 10713 | // $ANTLR start "rule__CftModel__ImportsAssignment_3" |
9042 | // InternalCftLanguage.g:2919:1: rule__CftModel__ImportsAssignment_3 : ( ruleImportDeclaration ) ; | 10714 | // InternalCftLanguage.g:3429:1: rule__CftModel__ImportsAssignment_3 : ( ruleImportDeclaration ) ; |
9043 | public final void rule__CftModel__ImportsAssignment_3() throws RecognitionException { | 10715 | public final void rule__CftModel__ImportsAssignment_3() throws RecognitionException { |
9044 | 10716 | ||
9045 | int stackSize = keepStackSize(); | 10717 | int stackSize = keepStackSize(); |
9046 | 10718 | ||
9047 | try { | 10719 | try { |
9048 | // InternalCftLanguage.g:2923:1: ( ( ruleImportDeclaration ) ) | 10720 | // InternalCftLanguage.g:3433:1: ( ( ruleImportDeclaration ) ) |
9049 | // InternalCftLanguage.g:2924:2: ( ruleImportDeclaration ) | 10721 | // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration ) |
9050 | { | 10722 | { |
9051 | // InternalCftLanguage.g:2924:2: ( ruleImportDeclaration ) | 10723 | // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration ) |
9052 | // InternalCftLanguage.g:2925:3: ruleImportDeclaration | 10724 | // InternalCftLanguage.g:3435:3: ruleImportDeclaration |
9053 | { | 10725 | { |
9054 | before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); | 10726 | before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); |
9055 | pushFollow(FOLLOW_2); | 10727 | pushFollow(FOLLOW_2); |
@@ -9080,17 +10752,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9080 | 10752 | ||
9081 | 10753 | ||
9082 | // $ANTLR start "rule__CftModel__ComponentDefinitionsAssignment_4_0" | 10754 | // $ANTLR start "rule__CftModel__ComponentDefinitionsAssignment_4_0" |
9083 | // InternalCftLanguage.g:2934:1: rule__CftModel__ComponentDefinitionsAssignment_4_0 : ( ruleComponentDefinition ) ; | 10755 | // InternalCftLanguage.g:3444:1: rule__CftModel__ComponentDefinitionsAssignment_4_0 : ( ruleComponentDefinition ) ; |
9084 | public final void rule__CftModel__ComponentDefinitionsAssignment_4_0() throws RecognitionException { | 10756 | public final void rule__CftModel__ComponentDefinitionsAssignment_4_0() throws RecognitionException { |
9085 | 10757 | ||
9086 | int stackSize = keepStackSize(); | 10758 | int stackSize = keepStackSize(); |
9087 | 10759 | ||
9088 | try { | 10760 | try { |
9089 | // InternalCftLanguage.g:2938:1: ( ( ruleComponentDefinition ) ) | 10761 | // InternalCftLanguage.g:3448:1: ( ( ruleComponentDefinition ) ) |
9090 | // InternalCftLanguage.g:2939:2: ( ruleComponentDefinition ) | 10762 | // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition ) |
9091 | { | 10763 | { |
9092 | // InternalCftLanguage.g:2939:2: ( ruleComponentDefinition ) | 10764 | // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition ) |
9093 | // InternalCftLanguage.g:2940:3: ruleComponentDefinition | 10765 | // InternalCftLanguage.g:3450:3: ruleComponentDefinition |
9094 | { | 10766 | { |
9095 | before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); | 10767 | before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); |
9096 | pushFollow(FOLLOW_2); | 10768 | pushFollow(FOLLOW_2); |
@@ -9121,17 +10793,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9121 | 10793 | ||
9122 | 10794 | ||
9123 | // $ANTLR start "rule__CftModel__TransformationDefinitionsAssignment_4_1" | 10795 | // $ANTLR start "rule__CftModel__TransformationDefinitionsAssignment_4_1" |
9124 | // InternalCftLanguage.g:2949:1: rule__CftModel__TransformationDefinitionsAssignment_4_1 : ( ruleTransformationDefinition ) ; | 10796 | // InternalCftLanguage.g:3459:1: rule__CftModel__TransformationDefinitionsAssignment_4_1 : ( ruleTransformationDefinition ) ; |
9125 | public final void rule__CftModel__TransformationDefinitionsAssignment_4_1() throws RecognitionException { | 10797 | public final void rule__CftModel__TransformationDefinitionsAssignment_4_1() throws RecognitionException { |
9126 | 10798 | ||
9127 | int stackSize = keepStackSize(); | 10799 | int stackSize = keepStackSize(); |
9128 | 10800 | ||
9129 | try { | 10801 | try { |
9130 | // InternalCftLanguage.g:2953:1: ( ( ruleTransformationDefinition ) ) | 10802 | // InternalCftLanguage.g:3463:1: ( ( ruleTransformationDefinition ) ) |
9131 | // InternalCftLanguage.g:2954:2: ( ruleTransformationDefinition ) | 10803 | // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition ) |
9132 | { | 10804 | { |
9133 | // InternalCftLanguage.g:2954:2: ( ruleTransformationDefinition ) | 10805 | // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition ) |
9134 | // InternalCftLanguage.g:2955:3: ruleTransformationDefinition | 10806 | // InternalCftLanguage.g:3465:3: ruleTransformationDefinition |
9135 | { | 10807 | { |
9136 | before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); | 10808 | before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); |
9137 | pushFollow(FOLLOW_2); | 10809 | pushFollow(FOLLOW_2); |
@@ -9162,17 +10834,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9162 | 10834 | ||
9163 | 10835 | ||
9164 | // $ANTLR start "rule__ImportDeclaration__ImportedNamespaceAssignment_1" | 10836 | // $ANTLR start "rule__ImportDeclaration__ImportedNamespaceAssignment_1" |
9165 | // InternalCftLanguage.g:2964:1: rule__ImportDeclaration__ImportedNamespaceAssignment_1 : ( ruleQualifiedNameWithWildcard ) ; | 10837 | // InternalCftLanguage.g:3474:1: rule__ImportDeclaration__ImportedNamespaceAssignment_1 : ( ruleQualifiedNameWithWildcard ) ; |
9166 | public final void rule__ImportDeclaration__ImportedNamespaceAssignment_1() throws RecognitionException { | 10838 | public final void rule__ImportDeclaration__ImportedNamespaceAssignment_1() throws RecognitionException { |
9167 | 10839 | ||
9168 | int stackSize = keepStackSize(); | 10840 | int stackSize = keepStackSize(); |
9169 | 10841 | ||
9170 | try { | 10842 | try { |
9171 | // InternalCftLanguage.g:2968:1: ( ( ruleQualifiedNameWithWildcard ) ) | 10843 | // InternalCftLanguage.g:3478:1: ( ( ruleQualifiedNameWithWildcard ) ) |
9172 | // InternalCftLanguage.g:2969:2: ( ruleQualifiedNameWithWildcard ) | 10844 | // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard ) |
9173 | { | 10845 | { |
9174 | // InternalCftLanguage.g:2969:2: ( ruleQualifiedNameWithWildcard ) | 10846 | // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard ) |
9175 | // InternalCftLanguage.g:2970:3: ruleQualifiedNameWithWildcard | 10847 | // InternalCftLanguage.g:3480:3: ruleQualifiedNameWithWildcard |
9176 | { | 10848 | { |
9177 | before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); | 10849 | before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); |
9178 | pushFollow(FOLLOW_2); | 10850 | pushFollow(FOLLOW_2); |
@@ -9203,21 +10875,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9203 | 10875 | ||
9204 | 10876 | ||
9205 | // $ANTLR start "rule__ComponentDefinition__NameAssignment_1" | 10877 | // $ANTLR start "rule__ComponentDefinition__NameAssignment_1" |
9206 | // InternalCftLanguage.g:2979:1: rule__ComponentDefinition__NameAssignment_1 : ( RULE_ID ) ; | 10878 | // InternalCftLanguage.g:3489:1: rule__ComponentDefinition__NameAssignment_1 : ( ruleValidId ) ; |
9207 | public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException { | 10879 | public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException { |
9208 | 10880 | ||
9209 | int stackSize = keepStackSize(); | 10881 | int stackSize = keepStackSize(); |
9210 | 10882 | ||
9211 | try { | 10883 | try { |
9212 | // InternalCftLanguage.g:2983:1: ( ( RULE_ID ) ) | 10884 | // InternalCftLanguage.g:3493:1: ( ( ruleValidId ) ) |
9213 | // InternalCftLanguage.g:2984:2: ( RULE_ID ) | 10885 | // InternalCftLanguage.g:3494:2: ( ruleValidId ) |
9214 | { | 10886 | { |
9215 | // InternalCftLanguage.g:2984:2: ( RULE_ID ) | 10887 | // InternalCftLanguage.g:3494:2: ( ruleValidId ) |
9216 | // InternalCftLanguage.g:2985:3: RULE_ID | 10888 | // InternalCftLanguage.g:3495:3: ruleValidId |
9217 | { | 10889 | { |
9218 | before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 10890 | before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
9219 | match(input,RULE_ID,FOLLOW_2); | 10891 | pushFollow(FOLLOW_2); |
9220 | after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 10892 | ruleValidId(); |
10893 | |||
10894 | state._fsp--; | ||
10895 | |||
10896 | after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); | ||
9221 | 10897 | ||
9222 | } | 10898 | } |
9223 | 10899 | ||
@@ -9240,17 +10916,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9240 | 10916 | ||
9241 | 10917 | ||
9242 | // $ANTLR start "rule__ComponentDefinition__InputEventsAssignment_3_0_1" | 10918 | // $ANTLR start "rule__ComponentDefinition__InputEventsAssignment_3_0_1" |
9243 | // InternalCftLanguage.g:2994:1: rule__ComponentDefinition__InputEventsAssignment_3_0_1 : ( ruleInputEvent ) ; | 10919 | // InternalCftLanguage.g:3504:1: rule__ComponentDefinition__InputEventsAssignment_3_0_1 : ( ruleInputEvent ) ; |
9244 | public final void rule__ComponentDefinition__InputEventsAssignment_3_0_1() throws RecognitionException { | 10920 | public final void rule__ComponentDefinition__InputEventsAssignment_3_0_1() throws RecognitionException { |
9245 | 10921 | ||
9246 | int stackSize = keepStackSize(); | 10922 | int stackSize = keepStackSize(); |
9247 | 10923 | ||
9248 | try { | 10924 | try { |
9249 | // InternalCftLanguage.g:2998:1: ( ( ruleInputEvent ) ) | 10925 | // InternalCftLanguage.g:3508:1: ( ( ruleInputEvent ) ) |
9250 | // InternalCftLanguage.g:2999:2: ( ruleInputEvent ) | 10926 | // InternalCftLanguage.g:3509:2: ( ruleInputEvent ) |
9251 | { | 10927 | { |
9252 | // InternalCftLanguage.g:2999:2: ( ruleInputEvent ) | 10928 | // InternalCftLanguage.g:3509:2: ( ruleInputEvent ) |
9253 | // InternalCftLanguage.g:3000:3: ruleInputEvent | 10929 | // InternalCftLanguage.g:3510:3: ruleInputEvent |
9254 | { | 10930 | { |
9255 | before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); | 10931 | before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); |
9256 | pushFollow(FOLLOW_2); | 10932 | pushFollow(FOLLOW_2); |
@@ -9281,25 +10957,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9281 | 10957 | ||
9282 | 10958 | ||
9283 | // $ANTLR start "rule__ComponentDefinition__OutputEventsAssignment_3_1_1" | 10959 | // $ANTLR start "rule__ComponentDefinition__OutputEventsAssignment_3_1_1" |
9284 | // InternalCftLanguage.g:3009:1: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 : ( ( RULE_ID ) ) ; | 10960 | // InternalCftLanguage.g:3519:1: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 : ( ( ruleValidId ) ) ; |
9285 | public final void rule__ComponentDefinition__OutputEventsAssignment_3_1_1() throws RecognitionException { | 10961 | public final void rule__ComponentDefinition__OutputEventsAssignment_3_1_1() throws RecognitionException { |
9286 | 10962 | ||
9287 | int stackSize = keepStackSize(); | 10963 | int stackSize = keepStackSize(); |
9288 | 10964 | ||
9289 | try { | 10965 | try { |
9290 | // InternalCftLanguage.g:3013:1: ( ( ( RULE_ID ) ) ) | 10966 | // InternalCftLanguage.g:3523:1: ( ( ( ruleValidId ) ) ) |
9291 | // InternalCftLanguage.g:3014:2: ( ( RULE_ID ) ) | 10967 | // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) ) |
9292 | { | 10968 | { |
9293 | // InternalCftLanguage.g:3014:2: ( ( RULE_ID ) ) | 10969 | // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) ) |
9294 | // InternalCftLanguage.g:3015:3: ( RULE_ID ) | 10970 | // InternalCftLanguage.g:3525:3: ( ruleValidId ) |
9295 | { | 10971 | { |
9296 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); | 10972 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); |
9297 | // InternalCftLanguage.g:3016:3: ( RULE_ID ) | 10973 | // InternalCftLanguage.g:3526:3: ( ruleValidId ) |
9298 | // InternalCftLanguage.g:3017:4: RULE_ID | 10974 | // InternalCftLanguage.g:3527:4: ruleValidId |
9299 | { | 10975 | { |
9300 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1()); | 10976 | before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); |
9301 | match(input,RULE_ID,FOLLOW_2); | 10977 | pushFollow(FOLLOW_2); |
9302 | after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1()); | 10978 | ruleValidId(); |
10979 | |||
10980 | state._fsp--; | ||
10981 | |||
10982 | after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); | ||
9303 | 10983 | ||
9304 | } | 10984 | } |
9305 | 10985 | ||
@@ -9326,17 +11006,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9326 | 11006 | ||
9327 | 11007 | ||
9328 | // $ANTLR start "rule__ComponentDefinition__EventDefinitionsAssignment_4_0" | 11008 | // $ANTLR start "rule__ComponentDefinition__EventDefinitionsAssignment_4_0" |
9329 | // InternalCftLanguage.g:3028:1: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 : ( ruleEventDefinition ) ; | 11009 | // InternalCftLanguage.g:3538:1: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 : ( ruleEventDefinition ) ; |
9330 | public final void rule__ComponentDefinition__EventDefinitionsAssignment_4_0() throws RecognitionException { | 11010 | public final void rule__ComponentDefinition__EventDefinitionsAssignment_4_0() throws RecognitionException { |
9331 | 11011 | ||
9332 | int stackSize = keepStackSize(); | 11012 | int stackSize = keepStackSize(); |
9333 | 11013 | ||
9334 | try { | 11014 | try { |
9335 | // InternalCftLanguage.g:3032:1: ( ( ruleEventDefinition ) ) | 11015 | // InternalCftLanguage.g:3542:1: ( ( ruleEventDefinition ) ) |
9336 | // InternalCftLanguage.g:3033:2: ( ruleEventDefinition ) | 11016 | // InternalCftLanguage.g:3543:2: ( ruleEventDefinition ) |
9337 | { | 11017 | { |
9338 | // InternalCftLanguage.g:3033:2: ( ruleEventDefinition ) | 11018 | // InternalCftLanguage.g:3543:2: ( ruleEventDefinition ) |
9339 | // InternalCftLanguage.g:3034:3: ruleEventDefinition | 11019 | // InternalCftLanguage.g:3544:3: ruleEventDefinition |
9340 | { | 11020 | { |
9341 | before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); | 11021 | before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); |
9342 | pushFollow(FOLLOW_2); | 11022 | pushFollow(FOLLOW_2); |
@@ -9367,21 +11047,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9367 | 11047 | ||
9368 | 11048 | ||
9369 | // $ANTLR start "rule__InputEvent__NameAssignment_0" | 11049 | // $ANTLR start "rule__InputEvent__NameAssignment_0" |
9370 | // InternalCftLanguage.g:3043:1: rule__InputEvent__NameAssignment_0 : ( RULE_ID ) ; | 11050 | // InternalCftLanguage.g:3553:1: rule__InputEvent__NameAssignment_0 : ( ruleValidId ) ; |
9371 | public final void rule__InputEvent__NameAssignment_0() throws RecognitionException { | 11051 | public final void rule__InputEvent__NameAssignment_0() throws RecognitionException { |
9372 | 11052 | ||
9373 | int stackSize = keepStackSize(); | 11053 | int stackSize = keepStackSize(); |
9374 | 11054 | ||
9375 | try { | 11055 | try { |
9376 | // InternalCftLanguage.g:3047:1: ( ( RULE_ID ) ) | 11056 | // InternalCftLanguage.g:3557:1: ( ( ruleValidId ) ) |
9377 | // InternalCftLanguage.g:3048:2: ( RULE_ID ) | 11057 | // InternalCftLanguage.g:3558:2: ( ruleValidId ) |
9378 | { | 11058 | { |
9379 | // InternalCftLanguage.g:3048:2: ( RULE_ID ) | 11059 | // InternalCftLanguage.g:3558:2: ( ruleValidId ) |
9380 | // InternalCftLanguage.g:3049:3: RULE_ID | 11060 | // InternalCftLanguage.g:3559:3: ruleValidId |
9381 | { | 11061 | { |
9382 | before(grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); | 11062 | before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); |
9383 | match(input,RULE_ID,FOLLOW_2); | 11063 | pushFollow(FOLLOW_2); |
9384 | after(grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); | 11064 | ruleValidId(); |
11065 | |||
11066 | state._fsp--; | ||
11067 | |||
11068 | after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); | ||
9385 | 11069 | ||
9386 | } | 11070 | } |
9387 | 11071 | ||
@@ -9404,24 +11088,24 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9404 | 11088 | ||
9405 | 11089 | ||
9406 | // $ANTLR start "rule__InputEvent__MultipleAssignment_1" | 11090 | // $ANTLR start "rule__InputEvent__MultipleAssignment_1" |
9407 | // InternalCftLanguage.g:3058:1: rule__InputEvent__MultipleAssignment_1 : ( ( '[]' ) ) ; | 11091 | // InternalCftLanguage.g:3568:1: rule__InputEvent__MultipleAssignment_1 : ( ( '[]' ) ) ; |
9408 | public final void rule__InputEvent__MultipleAssignment_1() throws RecognitionException { | 11092 | public final void rule__InputEvent__MultipleAssignment_1() throws RecognitionException { |
9409 | 11093 | ||
9410 | int stackSize = keepStackSize(); | 11094 | int stackSize = keepStackSize(); |
9411 | 11095 | ||
9412 | try { | 11096 | try { |
9413 | // InternalCftLanguage.g:3062:1: ( ( ( '[]' ) ) ) | 11097 | // InternalCftLanguage.g:3572:1: ( ( ( '[]' ) ) ) |
9414 | // InternalCftLanguage.g:3063:2: ( ( '[]' ) ) | 11098 | // InternalCftLanguage.g:3573:2: ( ( '[]' ) ) |
9415 | { | 11099 | { |
9416 | // InternalCftLanguage.g:3063:2: ( ( '[]' ) ) | 11100 | // InternalCftLanguage.g:3573:2: ( ( '[]' ) ) |
9417 | // InternalCftLanguage.g:3064:3: ( '[]' ) | 11101 | // InternalCftLanguage.g:3574:3: ( '[]' ) |
9418 | { | 11102 | { |
9419 | before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); | 11103 | before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); |
9420 | // InternalCftLanguage.g:3065:3: ( '[]' ) | 11104 | // InternalCftLanguage.g:3575:3: ( '[]' ) |
9421 | // InternalCftLanguage.g:3066:4: '[]' | 11105 | // InternalCftLanguage.g:3576:4: '[]' |
9422 | { | 11106 | { |
9423 | before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); | 11107 | before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); |
9424 | match(input,35,FOLLOW_2); | 11108 | match(input,38,FOLLOW_2); |
9425 | after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); | 11109 | after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); |
9426 | 11110 | ||
9427 | } | 11111 | } |
@@ -9449,21 +11133,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9449 | 11133 | ||
9450 | 11134 | ||
9451 | // $ANTLR start "rule__BasicEventDefinition__NameAssignment_0" | 11135 | // $ANTLR start "rule__BasicEventDefinition__NameAssignment_0" |
9452 | // InternalCftLanguage.g:3077:1: rule__BasicEventDefinition__NameAssignment_0 : ( RULE_ID ) ; | 11136 | // InternalCftLanguage.g:3587:1: rule__BasicEventDefinition__NameAssignment_0 : ( ruleValidId ) ; |
9453 | public final void rule__BasicEventDefinition__NameAssignment_0() throws RecognitionException { | 11137 | public final void rule__BasicEventDefinition__NameAssignment_0() throws RecognitionException { |
9454 | 11138 | ||
9455 | int stackSize = keepStackSize(); | 11139 | int stackSize = keepStackSize(); |
9456 | 11140 | ||
9457 | try { | 11141 | try { |
9458 | // InternalCftLanguage.g:3081:1: ( ( RULE_ID ) ) | 11142 | // InternalCftLanguage.g:3591:1: ( ( ruleValidId ) ) |
9459 | // InternalCftLanguage.g:3082:2: ( RULE_ID ) | 11143 | // InternalCftLanguage.g:3592:2: ( ruleValidId ) |
9460 | { | 11144 | { |
9461 | // InternalCftLanguage.g:3082:2: ( RULE_ID ) | 11145 | // InternalCftLanguage.g:3592:2: ( ruleValidId ) |
9462 | // InternalCftLanguage.g:3083:3: RULE_ID | 11146 | // InternalCftLanguage.g:3593:3: ruleValidId |
9463 | { | 11147 | { |
9464 | before(grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); | 11148 | before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
9465 | match(input,RULE_ID,FOLLOW_2); | 11149 | pushFollow(FOLLOW_2); |
9466 | after(grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); | 11150 | ruleValidId(); |
11151 | |||
11152 | state._fsp--; | ||
11153 | |||
11154 | after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
9467 | 11155 | ||
9468 | } | 11156 | } |
9469 | 11157 | ||
@@ -9485,22 +11173,26 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9485 | // $ANTLR end "rule__BasicEventDefinition__NameAssignment_0" | 11173 | // $ANTLR end "rule__BasicEventDefinition__NameAssignment_0" |
9486 | 11174 | ||
9487 | 11175 | ||
9488 | // $ANTLR start "rule__BasicEventDefinition__RateAssignment_3" | 11176 | // $ANTLR start "rule__BasicEventDefinition__DistributionAssignment_1" |
9489 | // InternalCftLanguage.g:3092:1: rule__BasicEventDefinition__RateAssignment_3 : ( RULE_DOULBE ) ; | 11177 | // InternalCftLanguage.g:3602:1: rule__BasicEventDefinition__DistributionAssignment_1 : ( ruleDistribution ) ; |
9490 | public final void rule__BasicEventDefinition__RateAssignment_3() throws RecognitionException { | 11178 | public final void rule__BasicEventDefinition__DistributionAssignment_1() throws RecognitionException { |
9491 | 11179 | ||
9492 | int stackSize = keepStackSize(); | 11180 | int stackSize = keepStackSize(); |
9493 | 11181 | ||
9494 | try { | 11182 | try { |
9495 | // InternalCftLanguage.g:3096:1: ( ( RULE_DOULBE ) ) | 11183 | // InternalCftLanguage.g:3606:1: ( ( ruleDistribution ) ) |
9496 | // InternalCftLanguage.g:3097:2: ( RULE_DOULBE ) | 11184 | // InternalCftLanguage.g:3607:2: ( ruleDistribution ) |
9497 | { | 11185 | { |
9498 | // InternalCftLanguage.g:3097:2: ( RULE_DOULBE ) | 11186 | // InternalCftLanguage.g:3607:2: ( ruleDistribution ) |
9499 | // InternalCftLanguage.g:3098:3: RULE_DOULBE | 11187 | // InternalCftLanguage.g:3608:3: ruleDistribution |
9500 | { | 11188 | { |
9501 | before(grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); | 11189 | before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); |
9502 | match(input,RULE_DOULBE,FOLLOW_2); | 11190 | pushFollow(FOLLOW_2); |
9503 | after(grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); | 11191 | ruleDistribution(); |
11192 | |||
11193 | state._fsp--; | ||
11194 | |||
11195 | after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); | ||
9504 | 11196 | ||
9505 | } | 11197 | } |
9506 | 11198 | ||
@@ -9519,25 +11211,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9519 | } | 11211 | } |
9520 | return ; | 11212 | return ; |
9521 | } | 11213 | } |
9522 | // $ANTLR end "rule__BasicEventDefinition__RateAssignment_3" | 11214 | // $ANTLR end "rule__BasicEventDefinition__DistributionAssignment_1" |
9523 | 11215 | ||
9524 | 11216 | ||
9525 | // $ANTLR start "rule__AndGate__NameAssignment_0" | 11217 | // $ANTLR start "rule__ConstantDistribution__PAssignment_2" |
9526 | // InternalCftLanguage.g:3107:1: rule__AndGate__NameAssignment_0 : ( RULE_ID ) ; | 11218 | // InternalCftLanguage.g:3617:1: rule__ConstantDistribution__PAssignment_2 : ( ruleDouble ) ; |
9527 | public final void rule__AndGate__NameAssignment_0() throws RecognitionException { | 11219 | public final void rule__ConstantDistribution__PAssignment_2() throws RecognitionException { |
9528 | 11220 | ||
9529 | int stackSize = keepStackSize(); | 11221 | int stackSize = keepStackSize(); |
9530 | 11222 | ||
9531 | try { | 11223 | try { |
9532 | // InternalCftLanguage.g:3111:1: ( ( RULE_ID ) ) | 11224 | // InternalCftLanguage.g:3621:1: ( ( ruleDouble ) ) |
9533 | // InternalCftLanguage.g:3112:2: ( RULE_ID ) | 11225 | // InternalCftLanguage.g:3622:2: ( ruleDouble ) |
9534 | { | 11226 | { |
9535 | // InternalCftLanguage.g:3112:2: ( RULE_ID ) | 11227 | // InternalCftLanguage.g:3622:2: ( ruleDouble ) |
9536 | // InternalCftLanguage.g:3113:3: RULE_ID | 11228 | // InternalCftLanguage.g:3623:3: ruleDouble |
9537 | { | 11229 | { |
9538 | before(grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); | 11230 | before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); |
9539 | match(input,RULE_ID,FOLLOW_2); | 11231 | pushFollow(FOLLOW_2); |
9540 | after(grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); | 11232 | ruleDouble(); |
11233 | |||
11234 | state._fsp--; | ||
11235 | |||
11236 | after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); | ||
9541 | 11237 | ||
9542 | } | 11238 | } |
9543 | 11239 | ||
@@ -9556,33 +11252,119 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9556 | } | 11252 | } |
9557 | return ; | 11253 | return ; |
9558 | } | 11254 | } |
9559 | // $ANTLR end "rule__AndGate__NameAssignment_0" | 11255 | // $ANTLR end "rule__ConstantDistribution__PAssignment_2" |
9560 | 11256 | ||
9561 | 11257 | ||
9562 | // $ANTLR start "rule__AndGate__InputEventsAssignment_2" | 11258 | // $ANTLR start "rule__ExponentialDistribution__LambdaAssignment_2" |
9563 | // InternalCftLanguage.g:3122:1: rule__AndGate__InputEventsAssignment_2 : ( ( RULE_ID ) ) ; | 11259 | // InternalCftLanguage.g:3632:1: rule__ExponentialDistribution__LambdaAssignment_2 : ( ruleDouble ) ; |
9564 | public final void rule__AndGate__InputEventsAssignment_2() throws RecognitionException { | 11260 | public final void rule__ExponentialDistribution__LambdaAssignment_2() throws RecognitionException { |
9565 | 11261 | ||
9566 | int stackSize = keepStackSize(); | 11262 | int stackSize = keepStackSize(); |
9567 | 11263 | ||
9568 | try { | 11264 | try { |
9569 | // InternalCftLanguage.g:3126:1: ( ( ( RULE_ID ) ) ) | 11265 | // InternalCftLanguage.g:3636:1: ( ( ruleDouble ) ) |
9570 | // InternalCftLanguage.g:3127:2: ( ( RULE_ID ) ) | 11266 | // InternalCftLanguage.g:3637:2: ( ruleDouble ) |
9571 | { | 11267 | { |
9572 | // InternalCftLanguage.g:3127:2: ( ( RULE_ID ) ) | 11268 | // InternalCftLanguage.g:3637:2: ( ruleDouble ) |
9573 | // InternalCftLanguage.g:3128:3: ( RULE_ID ) | 11269 | // InternalCftLanguage.g:3638:3: ruleDouble |
9574 | { | 11270 | { |
9575 | before(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 11271 | before(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); |
9576 | // InternalCftLanguage.g:3129:3: ( RULE_ID ) | 11272 | pushFollow(FOLLOW_2); |
9577 | // InternalCftLanguage.g:3130:4: RULE_ID | 11273 | ruleDouble(); |
11274 | |||
11275 | state._fsp--; | ||
11276 | |||
11277 | after(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); | ||
11278 | |||
11279 | } | ||
11280 | |||
11281 | |||
11282 | } | ||
11283 | |||
11284 | } | ||
11285 | catch (RecognitionException re) { | ||
11286 | reportError(re); | ||
11287 | recover(input,re); | ||
11288 | } | ||
11289 | finally { | ||
11290 | |||
11291 | restoreStackSize(stackSize); | ||
11292 | |||
11293 | } | ||
11294 | return ; | ||
11295 | } | ||
11296 | // $ANTLR end "rule__ExponentialDistribution__LambdaAssignment_2" | ||
11297 | |||
11298 | |||
11299 | // $ANTLR start "rule__AndGateDefinition__NameAssignment_0" | ||
11300 | // InternalCftLanguage.g:3647:1: rule__AndGateDefinition__NameAssignment_0 : ( ruleValidId ) ; | ||
11301 | public final void rule__AndGateDefinition__NameAssignment_0() throws RecognitionException { | ||
11302 | |||
11303 | int stackSize = keepStackSize(); | ||
11304 | |||
11305 | try { | ||
11306 | // InternalCftLanguage.g:3651:1: ( ( ruleValidId ) ) | ||
11307 | // InternalCftLanguage.g:3652:2: ( ruleValidId ) | ||
9578 | { | 11308 | { |
9579 | before(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); | 11309 | // InternalCftLanguage.g:3652:2: ( ruleValidId ) |
9580 | match(input,RULE_ID,FOLLOW_2); | 11310 | // InternalCftLanguage.g:3653:3: ruleValidId |
9581 | after(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); | 11311 | { |
11312 | before(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
11313 | pushFollow(FOLLOW_2); | ||
11314 | ruleValidId(); | ||
11315 | |||
11316 | state._fsp--; | ||
11317 | |||
11318 | after(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
11319 | |||
11320 | } | ||
11321 | |||
11322 | |||
11323 | } | ||
11324 | |||
11325 | } | ||
11326 | catch (RecognitionException re) { | ||
11327 | reportError(re); | ||
11328 | recover(input,re); | ||
11329 | } | ||
11330 | finally { | ||
11331 | |||
11332 | restoreStackSize(stackSize); | ||
11333 | |||
11334 | } | ||
11335 | return ; | ||
11336 | } | ||
11337 | // $ANTLR end "rule__AndGateDefinition__NameAssignment_0" | ||
11338 | |||
11339 | |||
11340 | // $ANTLR start "rule__AndGateDefinition__InputEventsAssignment_2" | ||
11341 | // InternalCftLanguage.g:3662:1: rule__AndGateDefinition__InputEventsAssignment_2 : ( ( ruleValidId ) ) ; | ||
11342 | public final void rule__AndGateDefinition__InputEventsAssignment_2() throws RecognitionException { | ||
11343 | |||
11344 | int stackSize = keepStackSize(); | ||
11345 | |||
11346 | try { | ||
11347 | // InternalCftLanguage.g:3666:1: ( ( ( ruleValidId ) ) ) | ||
11348 | // InternalCftLanguage.g:3667:2: ( ( ruleValidId ) ) | ||
11349 | { | ||
11350 | // InternalCftLanguage.g:3667:2: ( ( ruleValidId ) ) | ||
11351 | // InternalCftLanguage.g:3668:3: ( ruleValidId ) | ||
11352 | { | ||
11353 | before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); | ||
11354 | // InternalCftLanguage.g:3669:3: ( ruleValidId ) | ||
11355 | // InternalCftLanguage.g:3670:4: ruleValidId | ||
11356 | { | ||
11357 | before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); | ||
11358 | pushFollow(FOLLOW_2); | ||
11359 | ruleValidId(); | ||
11360 | |||
11361 | state._fsp--; | ||
11362 | |||
11363 | after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); | ||
9582 | 11364 | ||
9583 | } | 11365 | } |
9584 | 11366 | ||
9585 | after(grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 11367 | after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
9586 | 11368 | ||
9587 | } | 11369 | } |
9588 | 11370 | ||
@@ -9601,25 +11383,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9601 | } | 11383 | } |
9602 | return ; | 11384 | return ; |
9603 | } | 11385 | } |
9604 | // $ANTLR end "rule__AndGate__InputEventsAssignment_2" | 11386 | // $ANTLR end "rule__AndGateDefinition__InputEventsAssignment_2" |
9605 | 11387 | ||
9606 | 11388 | ||
9607 | // $ANTLR start "rule__OrGate__NameAssignment_0" | 11389 | // $ANTLR start "rule__OrGateDefinition__NameAssignment_0" |
9608 | // InternalCftLanguage.g:3141:1: rule__OrGate__NameAssignment_0 : ( RULE_ID ) ; | 11390 | // InternalCftLanguage.g:3681:1: rule__OrGateDefinition__NameAssignment_0 : ( ruleValidId ) ; |
9609 | public final void rule__OrGate__NameAssignment_0() throws RecognitionException { | 11391 | public final void rule__OrGateDefinition__NameAssignment_0() throws RecognitionException { |
9610 | 11392 | ||
9611 | int stackSize = keepStackSize(); | 11393 | int stackSize = keepStackSize(); |
9612 | 11394 | ||
9613 | try { | 11395 | try { |
9614 | // InternalCftLanguage.g:3145:1: ( ( RULE_ID ) ) | 11396 | // InternalCftLanguage.g:3685:1: ( ( ruleValidId ) ) |
9615 | // InternalCftLanguage.g:3146:2: ( RULE_ID ) | 11397 | // InternalCftLanguage.g:3686:2: ( ruleValidId ) |
9616 | { | 11398 | { |
9617 | // InternalCftLanguage.g:3146:2: ( RULE_ID ) | 11399 | // InternalCftLanguage.g:3686:2: ( ruleValidId ) |
9618 | // InternalCftLanguage.g:3147:3: RULE_ID | 11400 | // InternalCftLanguage.g:3687:3: ruleValidId |
9619 | { | 11401 | { |
9620 | before(grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); | 11402 | before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
9621 | match(input,RULE_ID,FOLLOW_2); | 11403 | pushFollow(FOLLOW_2); |
9622 | after(grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); | 11404 | ruleValidId(); |
11405 | |||
11406 | state._fsp--; | ||
11407 | |||
11408 | after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
9623 | 11409 | ||
9624 | } | 11410 | } |
9625 | 11411 | ||
@@ -9638,33 +11424,37 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9638 | } | 11424 | } |
9639 | return ; | 11425 | return ; |
9640 | } | 11426 | } |
9641 | // $ANTLR end "rule__OrGate__NameAssignment_0" | 11427 | // $ANTLR end "rule__OrGateDefinition__NameAssignment_0" |
9642 | 11428 | ||
9643 | 11429 | ||
9644 | // $ANTLR start "rule__OrGate__InputEventsAssignment_2" | 11430 | // $ANTLR start "rule__OrGateDefinition__InputEventsAssignment_2" |
9645 | // InternalCftLanguage.g:3156:1: rule__OrGate__InputEventsAssignment_2 : ( ( RULE_ID ) ) ; | 11431 | // InternalCftLanguage.g:3696:1: rule__OrGateDefinition__InputEventsAssignment_2 : ( ( ruleValidId ) ) ; |
9646 | public final void rule__OrGate__InputEventsAssignment_2() throws RecognitionException { | 11432 | public final void rule__OrGateDefinition__InputEventsAssignment_2() throws RecognitionException { |
9647 | 11433 | ||
9648 | int stackSize = keepStackSize(); | 11434 | int stackSize = keepStackSize(); |
9649 | 11435 | ||
9650 | try { | 11436 | try { |
9651 | // InternalCftLanguage.g:3160:1: ( ( ( RULE_ID ) ) ) | 11437 | // InternalCftLanguage.g:3700:1: ( ( ( ruleValidId ) ) ) |
9652 | // InternalCftLanguage.g:3161:2: ( ( RULE_ID ) ) | 11438 | // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) ) |
9653 | { | 11439 | { |
9654 | // InternalCftLanguage.g:3161:2: ( ( RULE_ID ) ) | 11440 | // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) ) |
9655 | // InternalCftLanguage.g:3162:3: ( RULE_ID ) | 11441 | // InternalCftLanguage.g:3702:3: ( ruleValidId ) |
9656 | { | 11442 | { |
9657 | before(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 11443 | before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
9658 | // InternalCftLanguage.g:3163:3: ( RULE_ID ) | 11444 | // InternalCftLanguage.g:3703:3: ( ruleValidId ) |
9659 | // InternalCftLanguage.g:3164:4: RULE_ID | 11445 | // InternalCftLanguage.g:3704:4: ruleValidId |
9660 | { | 11446 | { |
9661 | before(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); | 11447 | before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); |
9662 | match(input,RULE_ID,FOLLOW_2); | 11448 | pushFollow(FOLLOW_2); |
9663 | after(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1()); | 11449 | ruleValidId(); |
11450 | |||
11451 | state._fsp--; | ||
11452 | |||
11453 | after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); | ||
9664 | 11454 | ||
9665 | } | 11455 | } |
9666 | 11456 | ||
9667 | after(grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 11457 | after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
9668 | 11458 | ||
9669 | } | 11459 | } |
9670 | 11460 | ||
@@ -9683,25 +11473,230 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9683 | } | 11473 | } |
9684 | return ; | 11474 | return ; |
9685 | } | 11475 | } |
9686 | // $ANTLR end "rule__OrGate__InputEventsAssignment_2" | 11476 | // $ANTLR end "rule__OrGateDefinition__InputEventsAssignment_2" |
11477 | |||
11478 | |||
11479 | // $ANTLR start "rule__KOfMGateDefinition__NameAssignment_0" | ||
11480 | // InternalCftLanguage.g:3715:1: rule__KOfMGateDefinition__NameAssignment_0 : ( ruleValidId ) ; | ||
11481 | public final void rule__KOfMGateDefinition__NameAssignment_0() throws RecognitionException { | ||
11482 | |||
11483 | int stackSize = keepStackSize(); | ||
11484 | |||
11485 | try { | ||
11486 | // InternalCftLanguage.g:3719:1: ( ( ruleValidId ) ) | ||
11487 | // InternalCftLanguage.g:3720:2: ( ruleValidId ) | ||
11488 | { | ||
11489 | // InternalCftLanguage.g:3720:2: ( ruleValidId ) | ||
11490 | // InternalCftLanguage.g:3721:3: ruleValidId | ||
11491 | { | ||
11492 | before(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
11493 | pushFollow(FOLLOW_2); | ||
11494 | ruleValidId(); | ||
11495 | |||
11496 | state._fsp--; | ||
11497 | |||
11498 | after(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
11499 | |||
11500 | } | ||
11501 | |||
11502 | |||
11503 | } | ||
11504 | |||
11505 | } | ||
11506 | catch (RecognitionException re) { | ||
11507 | reportError(re); | ||
11508 | recover(input,re); | ||
11509 | } | ||
11510 | finally { | ||
11511 | |||
11512 | restoreStackSize(stackSize); | ||
11513 | |||
11514 | } | ||
11515 | return ; | ||
11516 | } | ||
11517 | // $ANTLR end "rule__KOfMGateDefinition__NameAssignment_0" | ||
11518 | |||
11519 | |||
11520 | // $ANTLR start "rule__KOfMGateDefinition__KAssignment_1" | ||
11521 | // InternalCftLanguage.g:3730:1: rule__KOfMGateDefinition__KAssignment_1 : ( RULE_INT ) ; | ||
11522 | public final void rule__KOfMGateDefinition__KAssignment_1() throws RecognitionException { | ||
11523 | |||
11524 | int stackSize = keepStackSize(); | ||
11525 | |||
11526 | try { | ||
11527 | // InternalCftLanguage.g:3734:1: ( ( RULE_INT ) ) | ||
11528 | // InternalCftLanguage.g:3735:2: ( RULE_INT ) | ||
11529 | { | ||
11530 | // InternalCftLanguage.g:3735:2: ( RULE_INT ) | ||
11531 | // InternalCftLanguage.g:3736:3: RULE_INT | ||
11532 | { | ||
11533 | before(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); | ||
11534 | match(input,RULE_INT,FOLLOW_2); | ||
11535 | after(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); | ||
11536 | |||
11537 | } | ||
11538 | |||
11539 | |||
11540 | } | ||
11541 | |||
11542 | } | ||
11543 | catch (RecognitionException re) { | ||
11544 | reportError(re); | ||
11545 | recover(input,re); | ||
11546 | } | ||
11547 | finally { | ||
11548 | |||
11549 | restoreStackSize(stackSize); | ||
11550 | |||
11551 | } | ||
11552 | return ; | ||
11553 | } | ||
11554 | // $ANTLR end "rule__KOfMGateDefinition__KAssignment_1" | ||
11555 | |||
11556 | |||
11557 | // $ANTLR start "rule__KOfMGateDefinition__MAssignment_2_0_1" | ||
11558 | // InternalCftLanguage.g:3745:1: rule__KOfMGateDefinition__MAssignment_2_0_1 : ( RULE_INT ) ; | ||
11559 | public final void rule__KOfMGateDefinition__MAssignment_2_0_1() throws RecognitionException { | ||
11560 | |||
11561 | int stackSize = keepStackSize(); | ||
11562 | |||
11563 | try { | ||
11564 | // InternalCftLanguage.g:3749:1: ( ( RULE_INT ) ) | ||
11565 | // InternalCftLanguage.g:3750:2: ( RULE_INT ) | ||
11566 | { | ||
11567 | // InternalCftLanguage.g:3750:2: ( RULE_INT ) | ||
11568 | // InternalCftLanguage.g:3751:3: RULE_INT | ||
11569 | { | ||
11570 | before(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); | ||
11571 | match(input,RULE_INT,FOLLOW_2); | ||
11572 | after(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); | ||
11573 | |||
11574 | } | ||
11575 | |||
11576 | |||
11577 | } | ||
11578 | |||
11579 | } | ||
11580 | catch (RecognitionException re) { | ||
11581 | reportError(re); | ||
11582 | recover(input,re); | ||
11583 | } | ||
11584 | finally { | ||
11585 | |||
11586 | restoreStackSize(stackSize); | ||
11587 | |||
11588 | } | ||
11589 | return ; | ||
11590 | } | ||
11591 | // $ANTLR end "rule__KOfMGateDefinition__MAssignment_2_0_1" | ||
11592 | |||
11593 | |||
11594 | // $ANTLR start "rule__KOfMGateDefinition__MAssignment_2_1" | ||
11595 | // InternalCftLanguage.g:3760:1: rule__KOfMGateDefinition__MAssignment_2_1 : ( RULE_OF_INT ) ; | ||
11596 | public final void rule__KOfMGateDefinition__MAssignment_2_1() throws RecognitionException { | ||
11597 | |||
11598 | int stackSize = keepStackSize(); | ||
11599 | |||
11600 | try { | ||
11601 | // InternalCftLanguage.g:3764:1: ( ( RULE_OF_INT ) ) | ||
11602 | // InternalCftLanguage.g:3765:2: ( RULE_OF_INT ) | ||
11603 | { | ||
11604 | // InternalCftLanguage.g:3765:2: ( RULE_OF_INT ) | ||
11605 | // InternalCftLanguage.g:3766:3: RULE_OF_INT | ||
11606 | { | ||
11607 | before(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); | ||
11608 | match(input,RULE_OF_INT,FOLLOW_2); | ||
11609 | after(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); | ||
11610 | |||
11611 | } | ||
11612 | |||
11613 | |||
11614 | } | ||
11615 | |||
11616 | } | ||
11617 | catch (RecognitionException re) { | ||
11618 | reportError(re); | ||
11619 | recover(input,re); | ||
11620 | } | ||
11621 | finally { | ||
11622 | |||
11623 | restoreStackSize(stackSize); | ||
11624 | |||
11625 | } | ||
11626 | return ; | ||
11627 | } | ||
11628 | // $ANTLR end "rule__KOfMGateDefinition__MAssignment_2_1" | ||
11629 | |||
11630 | |||
11631 | // $ANTLR start "rule__KOfMGateDefinition__InputEventsAssignment_3" | ||
11632 | // InternalCftLanguage.g:3775:1: rule__KOfMGateDefinition__InputEventsAssignment_3 : ( ( ruleValidId ) ) ; | ||
11633 | public final void rule__KOfMGateDefinition__InputEventsAssignment_3() throws RecognitionException { | ||
11634 | |||
11635 | int stackSize = keepStackSize(); | ||
11636 | |||
11637 | try { | ||
11638 | // InternalCftLanguage.g:3779:1: ( ( ( ruleValidId ) ) ) | ||
11639 | // InternalCftLanguage.g:3780:2: ( ( ruleValidId ) ) | ||
11640 | { | ||
11641 | // InternalCftLanguage.g:3780:2: ( ( ruleValidId ) ) | ||
11642 | // InternalCftLanguage.g:3781:3: ( ruleValidId ) | ||
11643 | { | ||
11644 | before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); | ||
11645 | // InternalCftLanguage.g:3782:3: ( ruleValidId ) | ||
11646 | // InternalCftLanguage.g:3783:4: ruleValidId | ||
11647 | { | ||
11648 | before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); | ||
11649 | pushFollow(FOLLOW_2); | ||
11650 | ruleValidId(); | ||
11651 | |||
11652 | state._fsp--; | ||
11653 | |||
11654 | after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); | ||
11655 | |||
11656 | } | ||
11657 | |||
11658 | after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); | ||
11659 | |||
11660 | } | ||
11661 | |||
11662 | |||
11663 | } | ||
11664 | |||
11665 | } | ||
11666 | catch (RecognitionException re) { | ||
11667 | reportError(re); | ||
11668 | recover(input,re); | ||
11669 | } | ||
11670 | finally { | ||
11671 | |||
11672 | restoreStackSize(stackSize); | ||
11673 | |||
11674 | } | ||
11675 | return ; | ||
11676 | } | ||
11677 | // $ANTLR end "rule__KOfMGateDefinition__InputEventsAssignment_3" | ||
9687 | 11678 | ||
9688 | 11679 | ||
9689 | // $ANTLR start "rule__TransformationDefinition__NameAssignment_1" | 11680 | // $ANTLR start "rule__TransformationDefinition__NameAssignment_1" |
9690 | // InternalCftLanguage.g:3175:1: rule__TransformationDefinition__NameAssignment_1 : ( RULE_ID ) ; | 11681 | // InternalCftLanguage.g:3794:1: rule__TransformationDefinition__NameAssignment_1 : ( ruleValidId ) ; |
9691 | public final void rule__TransformationDefinition__NameAssignment_1() throws RecognitionException { | 11682 | public final void rule__TransformationDefinition__NameAssignment_1() throws RecognitionException { |
9692 | 11683 | ||
9693 | int stackSize = keepStackSize(); | 11684 | int stackSize = keepStackSize(); |
9694 | 11685 | ||
9695 | try { | 11686 | try { |
9696 | // InternalCftLanguage.g:3179:1: ( ( RULE_ID ) ) | 11687 | // InternalCftLanguage.g:3798:1: ( ( ruleValidId ) ) |
9697 | // InternalCftLanguage.g:3180:2: ( RULE_ID ) | 11688 | // InternalCftLanguage.g:3799:2: ( ruleValidId ) |
9698 | { | 11689 | { |
9699 | // InternalCftLanguage.g:3180:2: ( RULE_ID ) | 11690 | // InternalCftLanguage.g:3799:2: ( ruleValidId ) |
9700 | // InternalCftLanguage.g:3181:3: RULE_ID | 11691 | // InternalCftLanguage.g:3800:3: ruleValidId |
9701 | { | 11692 | { |
9702 | before(grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 11693 | before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
9703 | match(input,RULE_ID,FOLLOW_2); | 11694 | pushFollow(FOLLOW_2); |
9704 | after(grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 11695 | ruleValidId(); |
11696 | |||
11697 | state._fsp--; | ||
11698 | |||
11699 | after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); | ||
9705 | 11700 | ||
9706 | } | 11701 | } |
9707 | 11702 | ||
@@ -9724,17 +11719,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9724 | 11719 | ||
9725 | 11720 | ||
9726 | // $ANTLR start "rule__TransformationDefinition__MappingDefinitionsAssignment_3" | 11721 | // $ANTLR start "rule__TransformationDefinition__MappingDefinitionsAssignment_3" |
9727 | // InternalCftLanguage.g:3190:1: rule__TransformationDefinition__MappingDefinitionsAssignment_3 : ( ruleMappingDefinition ) ; | 11722 | // InternalCftLanguage.g:3809:1: rule__TransformationDefinition__MappingDefinitionsAssignment_3 : ( ruleMappingDefinition ) ; |
9728 | public final void rule__TransformationDefinition__MappingDefinitionsAssignment_3() throws RecognitionException { | 11723 | public final void rule__TransformationDefinition__MappingDefinitionsAssignment_3() throws RecognitionException { |
9729 | 11724 | ||
9730 | int stackSize = keepStackSize(); | 11725 | int stackSize = keepStackSize(); |
9731 | 11726 | ||
9732 | try { | 11727 | try { |
9733 | // InternalCftLanguage.g:3194:1: ( ( ruleMappingDefinition ) ) | 11728 | // InternalCftLanguage.g:3813:1: ( ( ruleMappingDefinition ) ) |
9734 | // InternalCftLanguage.g:3195:2: ( ruleMappingDefinition ) | 11729 | // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition ) |
9735 | { | 11730 | { |
9736 | // InternalCftLanguage.g:3195:2: ( ruleMappingDefinition ) | 11731 | // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition ) |
9737 | // InternalCftLanguage.g:3196:3: ruleMappingDefinition | 11732 | // InternalCftLanguage.g:3815:3: ruleMappingDefinition |
9738 | { | 11733 | { |
9739 | before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); | 11734 | before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); |
9740 | pushFollow(FOLLOW_2); | 11735 | pushFollow(FOLLOW_2); |
@@ -9765,24 +11760,24 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9765 | 11760 | ||
9766 | 11761 | ||
9767 | // $ANTLR start "rule__MappingDefinition__TopLevelAssignment_0" | 11762 | // $ANTLR start "rule__MappingDefinition__TopLevelAssignment_0" |
9768 | // InternalCftLanguage.g:3205:1: rule__MappingDefinition__TopLevelAssignment_0 : ( ( 'toplevel' ) ) ; | 11763 | // InternalCftLanguage.g:3824:1: rule__MappingDefinition__TopLevelAssignment_0 : ( ( 'toplevel' ) ) ; |
9769 | public final void rule__MappingDefinition__TopLevelAssignment_0() throws RecognitionException { | 11764 | public final void rule__MappingDefinition__TopLevelAssignment_0() throws RecognitionException { |
9770 | 11765 | ||
9771 | int stackSize = keepStackSize(); | 11766 | int stackSize = keepStackSize(); |
9772 | 11767 | ||
9773 | try { | 11768 | try { |
9774 | // InternalCftLanguage.g:3209:1: ( ( ( 'toplevel' ) ) ) | 11769 | // InternalCftLanguage.g:3828:1: ( ( ( 'toplevel' ) ) ) |
9775 | // InternalCftLanguage.g:3210:2: ( ( 'toplevel' ) ) | 11770 | // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) ) |
9776 | { | 11771 | { |
9777 | // InternalCftLanguage.g:3210:2: ( ( 'toplevel' ) ) | 11772 | // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) ) |
9778 | // InternalCftLanguage.g:3211:3: ( 'toplevel' ) | 11773 | // InternalCftLanguage.g:3830:3: ( 'toplevel' ) |
9779 | { | 11774 | { |
9780 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); | 11775 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); |
9781 | // InternalCftLanguage.g:3212:3: ( 'toplevel' ) | 11776 | // InternalCftLanguage.g:3831:3: ( 'toplevel' ) |
9782 | // InternalCftLanguage.g:3213:4: 'toplevel' | 11777 | // InternalCftLanguage.g:3832:4: 'toplevel' |
9783 | { | 11778 | { |
9784 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); | 11779 | before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); |
9785 | match(input,36,FOLLOW_2); | 11780 | match(input,39,FOLLOW_2); |
9786 | after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); | 11781 | after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); |
9787 | 11782 | ||
9788 | } | 11783 | } |
@@ -9810,21 +11805,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9810 | 11805 | ||
9811 | 11806 | ||
9812 | // $ANTLR start "rule__MappingDefinition__PatternAssignment_2" | 11807 | // $ANTLR start "rule__MappingDefinition__PatternAssignment_2" |
9813 | // InternalCftLanguage.g:3224:1: rule__MappingDefinition__PatternAssignment_2 : ( ( ruleQualifiedName ) ) ; | 11808 | // InternalCftLanguage.g:3843:1: rule__MappingDefinition__PatternAssignment_2 : ( ( ruleQualifiedName ) ) ; |
9814 | public final void rule__MappingDefinition__PatternAssignment_2() throws RecognitionException { | 11809 | public final void rule__MappingDefinition__PatternAssignment_2() throws RecognitionException { |
9815 | 11810 | ||
9816 | int stackSize = keepStackSize(); | 11811 | int stackSize = keepStackSize(); |
9817 | 11812 | ||
9818 | try { | 11813 | try { |
9819 | // InternalCftLanguage.g:3228:1: ( ( ( ruleQualifiedName ) ) ) | 11814 | // InternalCftLanguage.g:3847:1: ( ( ( ruleQualifiedName ) ) ) |
9820 | // InternalCftLanguage.g:3229:2: ( ( ruleQualifiedName ) ) | 11815 | // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) ) |
9821 | { | 11816 | { |
9822 | // InternalCftLanguage.g:3229:2: ( ( ruleQualifiedName ) ) | 11817 | // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) ) |
9823 | // InternalCftLanguage.g:3230:3: ( ruleQualifiedName ) | 11818 | // InternalCftLanguage.g:3849:3: ( ruleQualifiedName ) |
9824 | { | 11819 | { |
9825 | before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); | 11820 | before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); |
9826 | // InternalCftLanguage.g:3231:3: ( ruleQualifiedName ) | 11821 | // InternalCftLanguage.g:3850:3: ( ruleQualifiedName ) |
9827 | // InternalCftLanguage.g:3232:4: ruleQualifiedName | 11822 | // InternalCftLanguage.g:3851:4: ruleQualifiedName |
9828 | { | 11823 | { |
9829 | before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); | 11824 | before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); |
9830 | pushFollow(FOLLOW_2); | 11825 | pushFollow(FOLLOW_2); |
@@ -9859,17 +11854,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9859 | 11854 | ||
9860 | 11855 | ||
9861 | // $ANTLR start "rule__MappingDefinition__ParametersAssignment_4" | 11856 | // $ANTLR start "rule__MappingDefinition__ParametersAssignment_4" |
9862 | // InternalCftLanguage.g:3243:1: rule__MappingDefinition__ParametersAssignment_4 : ( ruleMappingParameter ) ; | 11857 | // InternalCftLanguage.g:3862:1: rule__MappingDefinition__ParametersAssignment_4 : ( ruleMappingParameter ) ; |
9863 | public final void rule__MappingDefinition__ParametersAssignment_4() throws RecognitionException { | 11858 | public final void rule__MappingDefinition__ParametersAssignment_4() throws RecognitionException { |
9864 | 11859 | ||
9865 | int stackSize = keepStackSize(); | 11860 | int stackSize = keepStackSize(); |
9866 | 11861 | ||
9867 | try { | 11862 | try { |
9868 | // InternalCftLanguage.g:3247:1: ( ( ruleMappingParameter ) ) | 11863 | // InternalCftLanguage.g:3866:1: ( ( ruleMappingParameter ) ) |
9869 | // InternalCftLanguage.g:3248:2: ( ruleMappingParameter ) | 11864 | // InternalCftLanguage.g:3867:2: ( ruleMappingParameter ) |
9870 | { | 11865 | { |
9871 | // InternalCftLanguage.g:3248:2: ( ruleMappingParameter ) | 11866 | // InternalCftLanguage.g:3867:2: ( ruleMappingParameter ) |
9872 | // InternalCftLanguage.g:3249:3: ruleMappingParameter | 11867 | // InternalCftLanguage.g:3868:3: ruleMappingParameter |
9873 | { | 11868 | { |
9874 | before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); | 11869 | before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); |
9875 | pushFollow(FOLLOW_2); | 11870 | pushFollow(FOLLOW_2); |
@@ -9900,17 +11895,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9900 | 11895 | ||
9901 | 11896 | ||
9902 | // $ANTLR start "rule__MappingDefinition__ParametersAssignment_5_1" | 11897 | // $ANTLR start "rule__MappingDefinition__ParametersAssignment_5_1" |
9903 | // InternalCftLanguage.g:3258:1: rule__MappingDefinition__ParametersAssignment_5_1 : ( ruleMappingParameter ) ; | 11898 | // InternalCftLanguage.g:3877:1: rule__MappingDefinition__ParametersAssignment_5_1 : ( ruleMappingParameter ) ; |
9904 | public final void rule__MappingDefinition__ParametersAssignment_5_1() throws RecognitionException { | 11899 | public final void rule__MappingDefinition__ParametersAssignment_5_1() throws RecognitionException { |
9905 | 11900 | ||
9906 | int stackSize = keepStackSize(); | 11901 | int stackSize = keepStackSize(); |
9907 | 11902 | ||
9908 | try { | 11903 | try { |
9909 | // InternalCftLanguage.g:3262:1: ( ( ruleMappingParameter ) ) | 11904 | // InternalCftLanguage.g:3881:1: ( ( ruleMappingParameter ) ) |
9910 | // InternalCftLanguage.g:3263:2: ( ruleMappingParameter ) | 11905 | // InternalCftLanguage.g:3882:2: ( ruleMappingParameter ) |
9911 | { | 11906 | { |
9912 | // InternalCftLanguage.g:3263:2: ( ruleMappingParameter ) | 11907 | // InternalCftLanguage.g:3882:2: ( ruleMappingParameter ) |
9913 | // InternalCftLanguage.g:3264:3: ruleMappingParameter | 11908 | // InternalCftLanguage.g:3883:3: ruleMappingParameter |
9914 | { | 11909 | { |
9915 | before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); | 11910 | before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); |
9916 | pushFollow(FOLLOW_2); | 11911 | pushFollow(FOLLOW_2); |
@@ -9941,17 +11936,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9941 | 11936 | ||
9942 | 11937 | ||
9943 | // $ANTLR start "rule__MappingDefinition__ComponentInstanceAssignment_7" | 11938 | // $ANTLR start "rule__MappingDefinition__ComponentInstanceAssignment_7" |
9944 | // InternalCftLanguage.g:3273:1: rule__MappingDefinition__ComponentInstanceAssignment_7 : ( ruleComponentInstance ) ; | 11939 | // InternalCftLanguage.g:3892:1: rule__MappingDefinition__ComponentInstanceAssignment_7 : ( ruleComponentInstance ) ; |
9945 | public final void rule__MappingDefinition__ComponentInstanceAssignment_7() throws RecognitionException { | 11940 | public final void rule__MappingDefinition__ComponentInstanceAssignment_7() throws RecognitionException { |
9946 | 11941 | ||
9947 | int stackSize = keepStackSize(); | 11942 | int stackSize = keepStackSize(); |
9948 | 11943 | ||
9949 | try { | 11944 | try { |
9950 | // InternalCftLanguage.g:3277:1: ( ( ruleComponentInstance ) ) | 11945 | // InternalCftLanguage.g:3896:1: ( ( ruleComponentInstance ) ) |
9951 | // InternalCftLanguage.g:3278:2: ( ruleComponentInstance ) | 11946 | // InternalCftLanguage.g:3897:2: ( ruleComponentInstance ) |
9952 | { | 11947 | { |
9953 | // InternalCftLanguage.g:3278:2: ( ruleComponentInstance ) | 11948 | // InternalCftLanguage.g:3897:2: ( ruleComponentInstance ) |
9954 | // InternalCftLanguage.g:3279:3: ruleComponentInstance | 11949 | // InternalCftLanguage.g:3898:3: ruleComponentInstance |
9955 | { | 11950 | { |
9956 | before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); | 11951 | before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); |
9957 | pushFollow(FOLLOW_2); | 11952 | pushFollow(FOLLOW_2); |
@@ -9982,17 +11977,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9982 | 11977 | ||
9983 | 11978 | ||
9984 | // $ANTLR start "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0" | 11979 | // $ANTLR start "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0" |
9985 | // InternalCftLanguage.g:3288:1: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 : ( ruleLookupDefinition ) ; | 11980 | // InternalCftLanguage.g:3907:1: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 : ( ruleLookupDefinition ) ; |
9986 | public final void rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0() throws RecognitionException { | 11981 | public final void rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0() throws RecognitionException { |
9987 | 11982 | ||
9988 | int stackSize = keepStackSize(); | 11983 | int stackSize = keepStackSize(); |
9989 | 11984 | ||
9990 | try { | 11985 | try { |
9991 | // InternalCftLanguage.g:3292:1: ( ( ruleLookupDefinition ) ) | 11986 | // InternalCftLanguage.g:3911:1: ( ( ruleLookupDefinition ) ) |
9992 | // InternalCftLanguage.g:3293:2: ( ruleLookupDefinition ) | 11987 | // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition ) |
9993 | { | 11988 | { |
9994 | // InternalCftLanguage.g:3293:2: ( ruleLookupDefinition ) | 11989 | // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition ) |
9995 | // InternalCftLanguage.g:3294:3: ruleLookupDefinition | 11990 | // InternalCftLanguage.g:3913:3: ruleLookupDefinition |
9996 | { | 11991 | { |
9997 | before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); | 11992 | before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); |
9998 | pushFollow(FOLLOW_2); | 11993 | pushFollow(FOLLOW_2); |
@@ -10023,17 +12018,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10023 | 12018 | ||
10024 | 12019 | ||
10025 | // $ANTLR start "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1" | 12020 | // $ANTLR start "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1" |
10026 | // InternalCftLanguage.g:3303:1: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 : ( ruleAssignment ) ; | 12021 | // InternalCftLanguage.g:3922:1: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 : ( ruleAssignment ) ; |
10027 | public final void rule__MappingDefinition__AssignmentsAssignment_8_1_0_1() throws RecognitionException { | 12022 | public final void rule__MappingDefinition__AssignmentsAssignment_8_1_0_1() throws RecognitionException { |
10028 | 12023 | ||
10029 | int stackSize = keepStackSize(); | 12024 | int stackSize = keepStackSize(); |
10030 | 12025 | ||
10031 | try { | 12026 | try { |
10032 | // InternalCftLanguage.g:3307:1: ( ( ruleAssignment ) ) | 12027 | // InternalCftLanguage.g:3926:1: ( ( ruleAssignment ) ) |
10033 | // InternalCftLanguage.g:3308:2: ( ruleAssignment ) | 12028 | // InternalCftLanguage.g:3927:2: ( ruleAssignment ) |
10034 | { | 12029 | { |
10035 | // InternalCftLanguage.g:3308:2: ( ruleAssignment ) | 12030 | // InternalCftLanguage.g:3927:2: ( ruleAssignment ) |
10036 | // InternalCftLanguage.g:3309:3: ruleAssignment | 12031 | // InternalCftLanguage.g:3928:3: ruleAssignment |
10037 | { | 12032 | { |
10038 | before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); | 12033 | before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); |
10039 | pushFollow(FOLLOW_2); | 12034 | pushFollow(FOLLOW_2); |
@@ -10064,21 +12059,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10064 | 12059 | ||
10065 | 12060 | ||
10066 | // $ANTLR start "rule__MappingParameter__NameAssignment" | 12061 | // $ANTLR start "rule__MappingParameter__NameAssignment" |
10067 | // InternalCftLanguage.g:3318:1: rule__MappingParameter__NameAssignment : ( RULE_ID ) ; | 12062 | // InternalCftLanguage.g:3937:1: rule__MappingParameter__NameAssignment : ( ruleValidId ) ; |
10068 | public final void rule__MappingParameter__NameAssignment() throws RecognitionException { | 12063 | public final void rule__MappingParameter__NameAssignment() throws RecognitionException { |
10069 | 12064 | ||
10070 | int stackSize = keepStackSize(); | 12065 | int stackSize = keepStackSize(); |
10071 | 12066 | ||
10072 | try { | 12067 | try { |
10073 | // InternalCftLanguage.g:3322:1: ( ( RULE_ID ) ) | 12068 | // InternalCftLanguage.g:3941:1: ( ( ruleValidId ) ) |
10074 | // InternalCftLanguage.g:3323:2: ( RULE_ID ) | 12069 | // InternalCftLanguage.g:3942:2: ( ruleValidId ) |
10075 | { | 12070 | { |
10076 | // InternalCftLanguage.g:3323:2: ( RULE_ID ) | 12071 | // InternalCftLanguage.g:3942:2: ( ruleValidId ) |
10077 | // InternalCftLanguage.g:3324:3: RULE_ID | 12072 | // InternalCftLanguage.g:3943:3: ruleValidId |
10078 | { | 12073 | { |
10079 | before(grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); | 12074 | before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); |
10080 | match(input,RULE_ID,FOLLOW_2); | 12075 | pushFollow(FOLLOW_2); |
10081 | after(grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); | 12076 | ruleValidId(); |
12077 | |||
12078 | state._fsp--; | ||
12079 | |||
12080 | after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); | ||
10082 | 12081 | ||
10083 | } | 12082 | } |
10084 | 12083 | ||
@@ -10101,25 +12100,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10101 | 12100 | ||
10102 | 12101 | ||
10103 | // $ANTLR start "rule__LookupDefinition__MappingAssignment_1" | 12102 | // $ANTLR start "rule__LookupDefinition__MappingAssignment_1" |
10104 | // InternalCftLanguage.g:3333:1: rule__LookupDefinition__MappingAssignment_1 : ( ( RULE_ID ) ) ; | 12103 | // InternalCftLanguage.g:3952:1: rule__LookupDefinition__MappingAssignment_1 : ( ( ruleQualifiedName ) ) ; |
10105 | public final void rule__LookupDefinition__MappingAssignment_1() throws RecognitionException { | 12104 | public final void rule__LookupDefinition__MappingAssignment_1() throws RecognitionException { |
10106 | 12105 | ||
10107 | int stackSize = keepStackSize(); | 12106 | int stackSize = keepStackSize(); |
10108 | 12107 | ||
10109 | try { | 12108 | try { |
10110 | // InternalCftLanguage.g:3337:1: ( ( ( RULE_ID ) ) ) | 12109 | // InternalCftLanguage.g:3956:1: ( ( ( ruleQualifiedName ) ) ) |
10111 | // InternalCftLanguage.g:3338:2: ( ( RULE_ID ) ) | 12110 | // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) ) |
10112 | { | 12111 | { |
10113 | // InternalCftLanguage.g:3338:2: ( ( RULE_ID ) ) | 12112 | // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) ) |
10114 | // InternalCftLanguage.g:3339:3: ( RULE_ID ) | 12113 | // InternalCftLanguage.g:3958:3: ( ruleQualifiedName ) |
10115 | { | 12114 | { |
10116 | before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); | 12115 | before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); |
10117 | // InternalCftLanguage.g:3340:3: ( RULE_ID ) | 12116 | // InternalCftLanguage.g:3959:3: ( ruleQualifiedName ) |
10118 | // InternalCftLanguage.g:3341:4: RULE_ID | 12117 | // InternalCftLanguage.g:3960:4: ruleQualifiedName |
10119 | { | 12118 | { |
10120 | before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionIDTerminalRuleCall_1_0_1()); | 12119 | before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); |
10121 | match(input,RULE_ID,FOLLOW_2); | 12120 | pushFollow(FOLLOW_2); |
10122 | after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionIDTerminalRuleCall_1_0_1()); | 12121 | ruleQualifiedName(); |
12122 | |||
12123 | state._fsp--; | ||
12124 | |||
12125 | after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); | ||
10123 | 12126 | ||
10124 | } | 12127 | } |
10125 | 12128 | ||
@@ -10146,25 +12149,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10146 | 12149 | ||
10147 | 12150 | ||
10148 | // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_3" | 12151 | // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_3" |
10149 | // InternalCftLanguage.g:3352:1: rule__LookupDefinition__ArgumentsAssignment_3 : ( ( RULE_ID ) ) ; | 12152 | // InternalCftLanguage.g:3971:1: rule__LookupDefinition__ArgumentsAssignment_3 : ( ( ruleValidId ) ) ; |
10150 | public final void rule__LookupDefinition__ArgumentsAssignment_3() throws RecognitionException { | 12153 | public final void rule__LookupDefinition__ArgumentsAssignment_3() throws RecognitionException { |
10151 | 12154 | ||
10152 | int stackSize = keepStackSize(); | 12155 | int stackSize = keepStackSize(); |
10153 | 12156 | ||
10154 | try { | 12157 | try { |
10155 | // InternalCftLanguage.g:3356:1: ( ( ( RULE_ID ) ) ) | 12158 | // InternalCftLanguage.g:3975:1: ( ( ( ruleValidId ) ) ) |
10156 | // InternalCftLanguage.g:3357:2: ( ( RULE_ID ) ) | 12159 | // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) ) |
10157 | { | 12160 | { |
10158 | // InternalCftLanguage.g:3357:2: ( ( RULE_ID ) ) | 12161 | // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) ) |
10159 | // InternalCftLanguage.g:3358:3: ( RULE_ID ) | 12162 | // InternalCftLanguage.g:3977:3: ( ruleValidId ) |
10160 | { | 12163 | { |
10161 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); | 12164 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); |
10162 | // InternalCftLanguage.g:3359:3: ( RULE_ID ) | 12165 | // InternalCftLanguage.g:3978:3: ( ruleValidId ) |
10163 | // InternalCftLanguage.g:3360:4: RULE_ID | 12166 | // InternalCftLanguage.g:3979:4: ruleValidId |
10164 | { | 12167 | { |
10165 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_3_0_1()); | 12168 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); |
10166 | match(input,RULE_ID,FOLLOW_2); | 12169 | pushFollow(FOLLOW_2); |
10167 | after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_3_0_1()); | 12170 | ruleValidId(); |
12171 | |||
12172 | state._fsp--; | ||
12173 | |||
12174 | after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); | ||
10168 | 12175 | ||
10169 | } | 12176 | } |
10170 | 12177 | ||
@@ -10191,25 +12198,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10191 | 12198 | ||
10192 | 12199 | ||
10193 | // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_4_1" | 12200 | // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_4_1" |
10194 | // InternalCftLanguage.g:3371:1: rule__LookupDefinition__ArgumentsAssignment_4_1 : ( ( RULE_ID ) ) ; | 12201 | // InternalCftLanguage.g:3990:1: rule__LookupDefinition__ArgumentsAssignment_4_1 : ( ( ruleValidId ) ) ; |
10195 | public final void rule__LookupDefinition__ArgumentsAssignment_4_1() throws RecognitionException { | 12202 | public final void rule__LookupDefinition__ArgumentsAssignment_4_1() throws RecognitionException { |
10196 | 12203 | ||
10197 | int stackSize = keepStackSize(); | 12204 | int stackSize = keepStackSize(); |
10198 | 12205 | ||
10199 | try { | 12206 | try { |
10200 | // InternalCftLanguage.g:3375:1: ( ( ( RULE_ID ) ) ) | 12207 | // InternalCftLanguage.g:3994:1: ( ( ( ruleValidId ) ) ) |
10201 | // InternalCftLanguage.g:3376:2: ( ( RULE_ID ) ) | 12208 | // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) ) |
10202 | { | 12209 | { |
10203 | // InternalCftLanguage.g:3376:2: ( ( RULE_ID ) ) | 12210 | // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) ) |
10204 | // InternalCftLanguage.g:3377:3: ( RULE_ID ) | 12211 | // InternalCftLanguage.g:3996:3: ( ruleValidId ) |
10205 | { | 12212 | { |
10206 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); | 12213 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); |
10207 | // InternalCftLanguage.g:3378:3: ( RULE_ID ) | 12214 | // InternalCftLanguage.g:3997:3: ( ruleValidId ) |
10208 | // InternalCftLanguage.g:3379:4: RULE_ID | 12215 | // InternalCftLanguage.g:3998:4: ruleValidId |
10209 | { | 12216 | { |
10210 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1()); | 12217 | before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); |
10211 | match(input,RULE_ID,FOLLOW_2); | 12218 | pushFollow(FOLLOW_2); |
10212 | after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1()); | 12219 | ruleValidId(); |
12220 | |||
12221 | state._fsp--; | ||
12222 | |||
12223 | after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); | ||
10213 | 12224 | ||
10214 | } | 12225 | } |
10215 | 12226 | ||
@@ -10236,21 +12247,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10236 | 12247 | ||
10237 | 12248 | ||
10238 | // $ANTLR start "rule__LookupDefinition__NameAssignment_7" | 12249 | // $ANTLR start "rule__LookupDefinition__NameAssignment_7" |
10239 | // InternalCftLanguage.g:3390:1: rule__LookupDefinition__NameAssignment_7 : ( RULE_ID ) ; | 12250 | // InternalCftLanguage.g:4009:1: rule__LookupDefinition__NameAssignment_7 : ( ruleValidId ) ; |
10240 | public final void rule__LookupDefinition__NameAssignment_7() throws RecognitionException { | 12251 | public final void rule__LookupDefinition__NameAssignment_7() throws RecognitionException { |
10241 | 12252 | ||
10242 | int stackSize = keepStackSize(); | 12253 | int stackSize = keepStackSize(); |
10243 | 12254 | ||
10244 | try { | 12255 | try { |
10245 | // InternalCftLanguage.g:3394:1: ( ( RULE_ID ) ) | 12256 | // InternalCftLanguage.g:4013:1: ( ( ruleValidId ) ) |
10246 | // InternalCftLanguage.g:3395:2: ( RULE_ID ) | 12257 | // InternalCftLanguage.g:4014:2: ( ruleValidId ) |
10247 | { | 12258 | { |
10248 | // InternalCftLanguage.g:3395:2: ( RULE_ID ) | 12259 | // InternalCftLanguage.g:4014:2: ( ruleValidId ) |
10249 | // InternalCftLanguage.g:3396:3: RULE_ID | 12260 | // InternalCftLanguage.g:4015:3: ruleValidId |
10250 | { | 12261 | { |
10251 | before(grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); | 12262 | before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); |
10252 | match(input,RULE_ID,FOLLOW_2); | 12263 | pushFollow(FOLLOW_2); |
10253 | after(grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); | 12264 | ruleValidId(); |
12265 | |||
12266 | state._fsp--; | ||
12267 | |||
12268 | after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); | ||
10254 | 12269 | ||
10255 | } | 12270 | } |
10256 | 12271 | ||
@@ -10273,17 +12288,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10273 | 12288 | ||
10274 | 12289 | ||
10275 | // $ANTLR start "rule__Assignment__InputAssignment_0" | 12290 | // $ANTLR start "rule__Assignment__InputAssignment_0" |
10276 | // InternalCftLanguage.g:3405:1: rule__Assignment__InputAssignment_0 : ( ruleEventReference ) ; | 12291 | // InternalCftLanguage.g:4024:1: rule__Assignment__InputAssignment_0 : ( ruleEventReference ) ; |
10277 | public final void rule__Assignment__InputAssignment_0() throws RecognitionException { | 12292 | public final void rule__Assignment__InputAssignment_0() throws RecognitionException { |
10278 | 12293 | ||
10279 | int stackSize = keepStackSize(); | 12294 | int stackSize = keepStackSize(); |
10280 | 12295 | ||
10281 | try { | 12296 | try { |
10282 | // InternalCftLanguage.g:3409:1: ( ( ruleEventReference ) ) | 12297 | // InternalCftLanguage.g:4028:1: ( ( ruleEventReference ) ) |
10283 | // InternalCftLanguage.g:3410:2: ( ruleEventReference ) | 12298 | // InternalCftLanguage.g:4029:2: ( ruleEventReference ) |
10284 | { | 12299 | { |
10285 | // InternalCftLanguage.g:3410:2: ( ruleEventReference ) | 12300 | // InternalCftLanguage.g:4029:2: ( ruleEventReference ) |
10286 | // InternalCftLanguage.g:3411:3: ruleEventReference | 12301 | // InternalCftLanguage.g:4030:3: ruleEventReference |
10287 | { | 12302 | { |
10288 | before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); | 12303 | before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); |
10289 | pushFollow(FOLLOW_2); | 12304 | pushFollow(FOLLOW_2); |
@@ -10314,24 +12329,24 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10314 | 12329 | ||
10315 | 12330 | ||
10316 | // $ANTLR start "rule__Assignment__MultipleAssignment_1_0" | 12331 | // $ANTLR start "rule__Assignment__MultipleAssignment_1_0" |
10317 | // InternalCftLanguage.g:3420:1: rule__Assignment__MultipleAssignment_1_0 : ( ( '+=' ) ) ; | 12332 | // InternalCftLanguage.g:4039:1: rule__Assignment__MultipleAssignment_1_0 : ( ( '+=' ) ) ; |
10318 | public final void rule__Assignment__MultipleAssignment_1_0() throws RecognitionException { | 12333 | public final void rule__Assignment__MultipleAssignment_1_0() throws RecognitionException { |
10319 | 12334 | ||
10320 | int stackSize = keepStackSize(); | 12335 | int stackSize = keepStackSize(); |
10321 | 12336 | ||
10322 | try { | 12337 | try { |
10323 | // InternalCftLanguage.g:3424:1: ( ( ( '+=' ) ) ) | 12338 | // InternalCftLanguage.g:4043:1: ( ( ( '+=' ) ) ) |
10324 | // InternalCftLanguage.g:3425:2: ( ( '+=' ) ) | 12339 | // InternalCftLanguage.g:4044:2: ( ( '+=' ) ) |
10325 | { | 12340 | { |
10326 | // InternalCftLanguage.g:3425:2: ( ( '+=' ) ) | 12341 | // InternalCftLanguage.g:4044:2: ( ( '+=' ) ) |
10327 | // InternalCftLanguage.g:3426:3: ( '+=' ) | 12342 | // InternalCftLanguage.g:4045:3: ( '+=' ) |
10328 | { | 12343 | { |
10329 | before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); | 12344 | before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); |
10330 | // InternalCftLanguage.g:3427:3: ( '+=' ) | 12345 | // InternalCftLanguage.g:4046:3: ( '+=' ) |
10331 | // InternalCftLanguage.g:3428:4: '+=' | 12346 | // InternalCftLanguage.g:4047:4: '+=' |
10332 | { | 12347 | { |
10333 | before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); | 12348 | before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); |
10334 | match(input,37,FOLLOW_2); | 12349 | match(input,40,FOLLOW_2); |
10335 | after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); | 12350 | after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); |
10336 | 12351 | ||
10337 | } | 12352 | } |
@@ -10359,17 +12374,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10359 | 12374 | ||
10360 | 12375 | ||
10361 | // $ANTLR start "rule__Assignment__OutputAssignment_2" | 12376 | // $ANTLR start "rule__Assignment__OutputAssignment_2" |
10362 | // InternalCftLanguage.g:3439:1: rule__Assignment__OutputAssignment_2 : ( ruleEventReference ) ; | 12377 | // InternalCftLanguage.g:4058:1: rule__Assignment__OutputAssignment_2 : ( ruleEventReference ) ; |
10363 | public final void rule__Assignment__OutputAssignment_2() throws RecognitionException { | 12378 | public final void rule__Assignment__OutputAssignment_2() throws RecognitionException { |
10364 | 12379 | ||
10365 | int stackSize = keepStackSize(); | 12380 | int stackSize = keepStackSize(); |
10366 | 12381 | ||
10367 | try { | 12382 | try { |
10368 | // InternalCftLanguage.g:3443:1: ( ( ruleEventReference ) ) | 12383 | // InternalCftLanguage.g:4062:1: ( ( ruleEventReference ) ) |
10369 | // InternalCftLanguage.g:3444:2: ( ruleEventReference ) | 12384 | // InternalCftLanguage.g:4063:2: ( ruleEventReference ) |
10370 | { | 12385 | { |
10371 | // InternalCftLanguage.g:3444:2: ( ruleEventReference ) | 12386 | // InternalCftLanguage.g:4063:2: ( ruleEventReference ) |
10372 | // InternalCftLanguage.g:3445:3: ruleEventReference | 12387 | // InternalCftLanguage.g:4064:3: ruleEventReference |
10373 | { | 12388 | { |
10374 | before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); | 12389 | before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); |
10375 | pushFollow(FOLLOW_2); | 12390 | pushFollow(FOLLOW_2); |
@@ -10400,25 +12415,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10400 | 12415 | ||
10401 | 12416 | ||
10402 | // $ANTLR start "rule__EventReference__ComponentAssignment_0" | 12417 | // $ANTLR start "rule__EventReference__ComponentAssignment_0" |
10403 | // InternalCftLanguage.g:3454:1: rule__EventReference__ComponentAssignment_0 : ( ( RULE_ID ) ) ; | 12418 | // InternalCftLanguage.g:4073:1: rule__EventReference__ComponentAssignment_0 : ( ( ruleValidId ) ) ; |
10404 | public final void rule__EventReference__ComponentAssignment_0() throws RecognitionException { | 12419 | public final void rule__EventReference__ComponentAssignment_0() throws RecognitionException { |
10405 | 12420 | ||
10406 | int stackSize = keepStackSize(); | 12421 | int stackSize = keepStackSize(); |
10407 | 12422 | ||
10408 | try { | 12423 | try { |
10409 | // InternalCftLanguage.g:3458:1: ( ( ( RULE_ID ) ) ) | 12424 | // InternalCftLanguage.g:4077:1: ( ( ( ruleValidId ) ) ) |
10410 | // InternalCftLanguage.g:3459:2: ( ( RULE_ID ) ) | 12425 | // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) ) |
10411 | { | 12426 | { |
10412 | // InternalCftLanguage.g:3459:2: ( ( RULE_ID ) ) | 12427 | // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) ) |
10413 | // InternalCftLanguage.g:3460:3: ( RULE_ID ) | 12428 | // InternalCftLanguage.g:4079:3: ( ruleValidId ) |
10414 | { | 12429 | { |
10415 | before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); | 12430 | before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); |
10416 | // InternalCftLanguage.g:3461:3: ( RULE_ID ) | 12431 | // InternalCftLanguage.g:4080:3: ( ruleValidId ) |
10417 | // InternalCftLanguage.g:3462:4: RULE_ID | 12432 | // InternalCftLanguage.g:4081:4: ruleValidId |
10418 | { | 12433 | { |
10419 | before(grammarAccess.getEventReferenceAccess().getComponentVariableIDTerminalRuleCall_0_0_1()); | 12434 | before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); |
10420 | match(input,RULE_ID,FOLLOW_2); | 12435 | pushFollow(FOLLOW_2); |
10421 | after(grammarAccess.getEventReferenceAccess().getComponentVariableIDTerminalRuleCall_0_0_1()); | 12436 | ruleValidId(); |
12437 | |||
12438 | state._fsp--; | ||
12439 | |||
12440 | after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); | ||
10422 | 12441 | ||
10423 | } | 12442 | } |
10424 | 12443 | ||
@@ -10445,25 +12464,29 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10445 | 12464 | ||
10446 | 12465 | ||
10447 | // $ANTLR start "rule__EventReference__EventAssignment_2" | 12466 | // $ANTLR start "rule__EventReference__EventAssignment_2" |
10448 | // InternalCftLanguage.g:3473:1: rule__EventReference__EventAssignment_2 : ( ( RULE_ID ) ) ; | 12467 | // InternalCftLanguage.g:4092:1: rule__EventReference__EventAssignment_2 : ( ( ruleValidId ) ) ; |
10449 | public final void rule__EventReference__EventAssignment_2() throws RecognitionException { | 12468 | public final void rule__EventReference__EventAssignment_2() throws RecognitionException { |
10450 | 12469 | ||
10451 | int stackSize = keepStackSize(); | 12470 | int stackSize = keepStackSize(); |
10452 | 12471 | ||
10453 | try { | 12472 | try { |
10454 | // InternalCftLanguage.g:3477:1: ( ( ( RULE_ID ) ) ) | 12473 | // InternalCftLanguage.g:4096:1: ( ( ( ruleValidId ) ) ) |
10455 | // InternalCftLanguage.g:3478:2: ( ( RULE_ID ) ) | 12474 | // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) ) |
10456 | { | 12475 | { |
10457 | // InternalCftLanguage.g:3478:2: ( ( RULE_ID ) ) | 12476 | // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) ) |
10458 | // InternalCftLanguage.g:3479:3: ( RULE_ID ) | 12477 | // InternalCftLanguage.g:4098:3: ( ruleValidId ) |
10459 | { | 12478 | { |
10460 | before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); | 12479 | before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); |
10461 | // InternalCftLanguage.g:3480:3: ( RULE_ID ) | 12480 | // InternalCftLanguage.g:4099:3: ( ruleValidId ) |
10462 | // InternalCftLanguage.g:3481:4: RULE_ID | 12481 | // InternalCftLanguage.g:4100:4: ruleValidId |
10463 | { | 12482 | { |
10464 | before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationIDTerminalRuleCall_2_0_1()); | 12483 | before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); |
10465 | match(input,RULE_ID,FOLLOW_2); | 12484 | pushFollow(FOLLOW_2); |
10466 | after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationIDTerminalRuleCall_2_0_1()); | 12485 | ruleValidId(); |
12486 | |||
12487 | state._fsp--; | ||
12488 | |||
12489 | after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); | ||
10467 | 12490 | ||
10468 | } | 12491 | } |
10469 | 12492 | ||
@@ -10490,21 +12513,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10490 | 12513 | ||
10491 | 12514 | ||
10492 | // $ANTLR start "rule__ComponentInstance__ComponentTypeAssignment_1" | 12515 | // $ANTLR start "rule__ComponentInstance__ComponentTypeAssignment_1" |
10493 | // InternalCftLanguage.g:3492:1: rule__ComponentInstance__ComponentTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; | 12516 | // InternalCftLanguage.g:4111:1: rule__ComponentInstance__ComponentTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; |
10494 | public final void rule__ComponentInstance__ComponentTypeAssignment_1() throws RecognitionException { | 12517 | public final void rule__ComponentInstance__ComponentTypeAssignment_1() throws RecognitionException { |
10495 | 12518 | ||
10496 | int stackSize = keepStackSize(); | 12519 | int stackSize = keepStackSize(); |
10497 | 12520 | ||
10498 | try { | 12521 | try { |
10499 | // InternalCftLanguage.g:3496:1: ( ( ( ruleQualifiedName ) ) ) | 12522 | // InternalCftLanguage.g:4115:1: ( ( ( ruleQualifiedName ) ) ) |
10500 | // InternalCftLanguage.g:3497:2: ( ( ruleQualifiedName ) ) | 12523 | // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) ) |
10501 | { | 12524 | { |
10502 | // InternalCftLanguage.g:3497:2: ( ( ruleQualifiedName ) ) | 12525 | // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) ) |
10503 | // InternalCftLanguage.g:3498:3: ( ruleQualifiedName ) | 12526 | // InternalCftLanguage.g:4117:3: ( ruleQualifiedName ) |
10504 | { | 12527 | { |
10505 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); | 12528 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); |
10506 | // InternalCftLanguage.g:3499:3: ( ruleQualifiedName ) | 12529 | // InternalCftLanguage.g:4118:3: ( ruleQualifiedName ) |
10507 | // InternalCftLanguage.g:3500:4: ruleQualifiedName | 12530 | // InternalCftLanguage.g:4119:4: ruleQualifiedName |
10508 | { | 12531 | { |
10509 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); | 12532 | before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); |
10510 | pushFollow(FOLLOW_2); | 12533 | pushFollow(FOLLOW_2); |
@@ -10539,17 +12562,17 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10539 | 12562 | ||
10540 | 12563 | ||
10541 | // $ANTLR start "rule__ComponentInstance__NameAssignment_2" | 12564 | // $ANTLR start "rule__ComponentInstance__NameAssignment_2" |
10542 | // InternalCftLanguage.g:3511:1: rule__ComponentInstance__NameAssignment_2 : ( RULE_ID ) ; | 12565 | // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( RULE_ID ) ; |
10543 | public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { | 12566 | public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { |
10544 | 12567 | ||
10545 | int stackSize = keepStackSize(); | 12568 | int stackSize = keepStackSize(); |
10546 | 12569 | ||
10547 | try { | 12570 | try { |
10548 | // InternalCftLanguage.g:3515:1: ( ( RULE_ID ) ) | 12571 | // InternalCftLanguage.g:4134:1: ( ( RULE_ID ) ) |
10549 | // InternalCftLanguage.g:3516:2: ( RULE_ID ) | 12572 | // InternalCftLanguage.g:4135:2: ( RULE_ID ) |
10550 | { | 12573 | { |
10551 | // InternalCftLanguage.g:3516:2: ( RULE_ID ) | 12574 | // InternalCftLanguage.g:4135:2: ( RULE_ID ) |
10552 | // InternalCftLanguage.g:3517:3: RULE_ID | 12575 | // InternalCftLanguage.g:4136:3: RULE_ID |
10553 | { | 12576 | { |
10554 | before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); | 12577 | before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); |
10555 | match(input,RULE_ID,FOLLOW_2); | 12578 | match(input,RULE_ID,FOLLOW_2); |
@@ -10581,37 +12604,40 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10581 | 12604 | ||
10582 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); | 12605 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); |
10583 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); | 12606 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); |
10584 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); | 12607 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000030L}); |
10585 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000000201C000L}); | 12608 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000010038000L}); |
10586 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000008002L}); | 12609 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000010002L}); |
10587 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000002010002L}); | 12610 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010020002L}); |
10588 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000004000L}); | 12611 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008000L}); |
10589 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020000L}); | 12612 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000040000L}); |
10590 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000180000L}); | 12613 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000300000L}); |
10591 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000040010L}); | 12614 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000080030L}); |
10592 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000012L}); | 12615 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000032L}); |
10593 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000004010L}); | 12616 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000008030L}); |
10594 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000800000000L}); | 12617 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000004000000000L}); |
10595 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000200000L}); | 12618 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L}); |
10596 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400000L}); | 12619 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L}); |
10597 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000020L}); | 12620 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000000000C0L}); |
10598 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); | 12621 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L}); |
10599 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L}); | 12622 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L}); |
10600 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000001004040000L}); | 12623 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000040L}); |
10601 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000001004000002L}); | 12624 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000008000020L}); |
10602 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000001004000000L}); | 12625 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000008020080000L}); |
10603 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000008000000L}); | 12626 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000008020000002L}); |
10604 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000030000000L}); | 12627 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000008020000000L}); |
10605 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000020000002L}); | 12628 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000040000000L}); |
10606 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000200020000L}); | 12629 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000180000000L}); |
10607 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000040040010L}); | 12630 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000100000002L}); |
10608 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000040000012L}); | 12631 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001000040000L}); |
10609 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000080000000L}); | 12632 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200080030L}); |
10610 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000002000001000L}); | 12633 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000032L}); |
10611 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000040000010L}); | 12634 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000400000000L}); |
10612 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000100000000L}); | 12635 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L}); |
10613 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000100000002L}); | 12636 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L}); |
10614 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000400000000L}); | 12637 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L}); |
10615 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000180002L}); | 12638 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000010L}); |
12639 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000800000002L}); | ||
12640 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000002000000000L}); | ||
12641 | public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000300002L}); | ||
10616 | 12642 | ||
10617 | } | 12643 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin index 728a6549..b146c48b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin index 9bb35edd..8fc21e17 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java index 89cd0833..7d5c8f8e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java | |||
@@ -54,19 +54,37 @@ public abstract class AbstractCftLanguageProposalProvider extends TerminalsPropo | |||
54 | public void completeBasicEventDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 54 | public void completeBasicEventDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
55 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 55 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
56 | } | 56 | } |
57 | public void completeBasicEventDefinition_Rate(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 57 | public void completeBasicEventDefinition_Distribution(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
58 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 58 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
59 | } | 59 | } |
60 | public void completeAndGate_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 60 | public void completeConstantDistribution_P(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
61 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 61 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
62 | } | 62 | } |
63 | public void completeAndGate_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 63 | public void completeExponentialDistribution_Lambda(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
64 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
65 | } | ||
66 | public void completeAndGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
67 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
68 | } | ||
69 | public void completeAndGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
70 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | ||
71 | } | ||
72 | public void completeOrGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
73 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
74 | } | ||
75 | public void completeOrGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
64 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 76 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
65 | } | 77 | } |
66 | public void completeOrGate_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 78 | public void completeKOfMGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
79 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
80 | } | ||
81 | public void completeKOfMGateDefinition_K(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
67 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 82 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
68 | } | 83 | } |
69 | public void completeOrGate_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 84 | public void completeKOfMGateDefinition_M(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
85 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
86 | } | ||
87 | public void completeKOfMGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
70 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 88 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
71 | } | 89 | } |
72 | public void completeTransformationDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 90 | public void completeTransformationDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
@@ -136,9 +154,6 @@ public abstract class AbstractCftLanguageProposalProvider extends TerminalsPropo | |||
136 | public void complete_ComponentDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 154 | public void complete_ComponentDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
137 | // subclasses may override | 155 | // subclasses may override |
138 | } | 156 | } |
139 | public void complete_EventDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
140 | // subclasses may override | ||
141 | } | ||
142 | public void complete_InputEvent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 157 | public void complete_InputEvent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
143 | // subclasses may override | 158 | // subclasses may override |
144 | } | 159 | } |
@@ -148,13 +163,25 @@ public abstract class AbstractCftLanguageProposalProvider extends TerminalsPropo | |||
148 | public void complete_BasicEventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 163 | public void complete_BasicEventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
149 | // subclasses may override | 164 | // subclasses may override |
150 | } | 165 | } |
166 | public void complete_Distribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
167 | // subclasses may override | ||
168 | } | ||
169 | public void complete_ConstantDistribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
170 | // subclasses may override | ||
171 | } | ||
172 | public void complete_ExponentialDistribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
173 | // subclasses may override | ||
174 | } | ||
151 | public void complete_GateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 175 | public void complete_GateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
152 | // subclasses may override | 176 | // subclasses may override |
153 | } | 177 | } |
154 | public void complete_AndGate(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 178 | public void complete_AndGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
179 | // subclasses may override | ||
180 | } | ||
181 | public void complete_OrGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
155 | // subclasses may override | 182 | // subclasses may override |
156 | } | 183 | } |
157 | public void complete_OrGate(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 184 | public void complete_KOfMGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
158 | // subclasses may override | 185 | // subclasses may override |
159 | } | 186 | } |
160 | public void complete_TransformationDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 187 | public void complete_TransformationDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
@@ -187,7 +214,16 @@ public abstract class AbstractCftLanguageProposalProvider extends TerminalsPropo | |||
187 | public void complete_QualifiedNameWithWildcard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 214 | public void complete_QualifiedNameWithWildcard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
188 | // subclasses may override | 215 | // subclasses may override |
189 | } | 216 | } |
190 | public void complete_DOULBE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 217 | public void complete_ValidId(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
218 | // subclasses may override | ||
219 | } | ||
220 | public void complete_Double(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
221 | // subclasses may override | ||
222 | } | ||
223 | public void complete_OF_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
224 | // subclasses may override | ||
225 | } | ||
226 | public void complete_T_DOUBLE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
191 | // subclasses may override | 227 | // subclasses may override |
192 | } | 228 | } |
193 | } | 229 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend index 9aa9ba9c..6558d759 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend | |||
@@ -3,11 +3,22 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper | ||
6 | import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor | 8 | import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor |
9 | import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper | ||
10 | import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator | ||
7 | 11 | ||
8 | /** | 12 | /** |
9 | * Use this class to register components to be used within the Eclipse IDE. | 13 | * Use this class to register components to be used within the Eclipse IDE. |
10 | */ | 14 | */ |
11 | @FinalFieldsConstructor | 15 | @FinalFieldsConstructor |
12 | class CftLanguageUiModule extends AbstractCftLanguageUiModule { | 16 | class CftLanguageUiModule extends AbstractCftLanguageUiModule { |
17 | def Class<? extends AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper() { | ||
18 | CftLanguageTokenToAttributeIdMapper | ||
19 | } | ||
20 | |||
21 | def Class<? extends ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator() { | ||
22 | CftLanguageSemanticHighlightingCalculator | ||
23 | } | ||
13 | } | 24 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend index a6ea8f90..f111c553 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend | |||
@@ -4,6 +4,7 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling |
5 | 5 | ||
6 | import com.google.inject.Inject | 6 | import com.google.inject.Inject |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition | ||
7 | import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider | 8 | import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider |
8 | import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider | 9 | import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider |
9 | 10 | ||
@@ -19,13 +20,7 @@ class CftLanguageLabelProvider extends DefaultEObjectLabelProvider { | |||
19 | super(delegate); | 20 | super(delegate); |
20 | } | 21 | } |
21 | 22 | ||
22 | // Labels and icons can be computed like this: | 23 | def text(MappingDefinition mappingDefinition) { |
23 | 24 | mappingDefinition.pattern?.name | |
24 | // def text(Greeting ele) { | 25 | } |
25 | // 'A greeting to ' + ele.name | ||
26 | // } | ||
27 | // | ||
28 | // def image(Greeting ele) { | ||
29 | // 'Greeting.gif' | ||
30 | // } | ||
31 | } | 26 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend index 5ffa82ad..3a75a639 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend | |||
@@ -3,6 +3,8 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition | ||
6 | import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider | 8 | import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider |
7 | 9 | ||
8 | /** | 10 | /** |
@@ -11,5 +13,11 @@ import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider | |||
11 | * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline | 13 | * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline |
12 | */ | 14 | */ |
13 | class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { | 15 | class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { |
14 | 16 | def _isLeaf(EventDefinition eventDefinition) { | |
17 | true | ||
18 | } | ||
19 | |||
20 | def _isLeaf(MappingDefinition mappingDefinition) { | ||
21 | true | ||
22 | } | ||
15 | } | 23 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend new file mode 100644 index 00000000..47c9ebdf --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend | |||
@@ -0,0 +1,24 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring | ||
2 | |||
3 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition | ||
4 | import org.eclipse.emf.ecore.EObject | ||
5 | import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator | ||
6 | import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor | ||
7 | import org.eclipse.xtext.util.CancelIndicator | ||
8 | |||
9 | import static hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage.Literals.* | ||
10 | import static org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration.* | ||
11 | |||
12 | class CftLanguageSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { | ||
13 | protected dispatch def highlightElement(KOfMGateDefinition gate, IHighlightedPositionAcceptor acceptor, | ||
14 | CancelIndicator cancelIndicator) { | ||
15 | acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__K, KEYWORD_ID) | ||
16 | acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__M, KEYWORD_ID) | ||
17 | false | ||
18 | } | ||
19 | |||
20 | protected dispatch def highlightElement(EObject eObject, IHighlightedPositionAcceptor acceptor, | ||
21 | CancelIndicator cancelIndicator) { | ||
22 | super.highlightElement(eObject, acceptor, cancelIndicator) | ||
23 | } | ||
24 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend new file mode 100644 index 00000000..4656d0a0 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend | |||
@@ -0,0 +1,15 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring | ||
2 | |||
3 | import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper | ||
4 | import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles | ||
5 | |||
6 | class CftLanguageTokenToAttributeIdMapper extends DefaultAntlrTokenToAttributeIdMapper { | ||
7 | override protected calculateId(String tokenName, int tokenType) { | ||
8 | switch (tokenName) { | ||
9 | case "RULE_T_DOUBLE": | ||
10 | HighlightingStyles.NUMBER_ID | ||
11 | default: | ||
12 | super.calculateId(tokenName, tokenType) | ||
13 | } | ||
14 | } | ||
15 | } \ No newline at end of file | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin index 7eb6190d..ff2238f7 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java index 4f1409d9..be796ba2 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java | |||
@@ -4,8 +4,12 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.AbstractCftLanguageUiModule; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.AbstractCftLanguageUiModule; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper; | ||
7 | import org.eclipse.ui.plugin.AbstractUIPlugin; | 9 | import org.eclipse.ui.plugin.AbstractUIPlugin; |
8 | import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; | 10 | import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; |
11 | import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper; | ||
12 | import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator; | ||
9 | 13 | ||
10 | /** | 14 | /** |
11 | * Use this class to register components to be used within the Eclipse IDE. | 15 | * Use this class to register components to be used within the Eclipse IDE. |
@@ -13,6 +17,14 @@ import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; | |||
13 | @FinalFieldsConstructor | 17 | @FinalFieldsConstructor |
14 | @SuppressWarnings("all") | 18 | @SuppressWarnings("all") |
15 | public class CftLanguageUiModule extends AbstractCftLanguageUiModule { | 19 | public class CftLanguageUiModule extends AbstractCftLanguageUiModule { |
20 | public Class<? extends AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper() { | ||
21 | return CftLanguageTokenToAttributeIdMapper.class; | ||
22 | } | ||
23 | |||
24 | public Class<? extends ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator() { | ||
25 | return CftLanguageSemanticHighlightingCalculator.class; | ||
26 | } | ||
27 | |||
16 | public CftLanguageUiModule(final AbstractUIPlugin plugin) { | 28 | public CftLanguageUiModule(final AbstractUIPlugin plugin) { |
17 | super(plugin); | 29 | super(plugin); |
18 | } | 30 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin index a6a68b91..c62e6652 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin index e2a540db..21bd15b6 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin index 58dd1f71..ae92f324 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java index 3a03868d..103bb114 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java | |||
@@ -4,7 +4,9 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling; |
5 | 5 | ||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | ||
7 | import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; | 8 | import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; |
9 | import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; | ||
8 | import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; | 10 | import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; |
9 | 11 | ||
10 | /** | 12 | /** |
@@ -18,4 +20,13 @@ public class CftLanguageLabelProvider extends DefaultEObjectLabelProvider { | |||
18 | public CftLanguageLabelProvider(final AdapterFactoryLabelProvider delegate) { | 20 | public CftLanguageLabelProvider(final AdapterFactoryLabelProvider delegate) { |
19 | super(delegate); | 21 | super(delegate); |
20 | } | 22 | } |
23 | |||
24 | public String text(final MappingDefinition mappingDefinition) { | ||
25 | Pattern _pattern = mappingDefinition.getPattern(); | ||
26 | String _name = null; | ||
27 | if (_pattern!=null) { | ||
28 | _name=_pattern.getName(); | ||
29 | } | ||
30 | return _name; | ||
31 | } | ||
21 | } | 32 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin index b785c6e2..91137ae1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java index 76ea64c4..b8da3d93 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java | |||
@@ -3,6 +3,8 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | ||
6 | import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; | 8 | import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; |
7 | 9 | ||
8 | /** | 10 | /** |
@@ -12,4 +14,11 @@ import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; | |||
12 | */ | 14 | */ |
13 | @SuppressWarnings("all") | 15 | @SuppressWarnings("all") |
14 | public class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { | 16 | public class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { |
17 | public boolean _isLeaf(final EventDefinition eventDefinition) { | ||
18 | return true; | ||
19 | } | ||
20 | |||
21 | public boolean _isLeaf(final MappingDefinition mappingDefinition) { | ||
22 | return true; | ||
23 | } | ||
15 | } | 24 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin index d199f277..637b4e7e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin new file mode 100644 index 00000000..81585f8b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin new file mode 100644 index 00000000..d8af5320 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore new file mode 100644 index 00000000..3fdf4894 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | /.CftLanguageSemanticHighlightingCalculator.java._trace | ||
2 | /.CftLanguageTokenToAttributeIdMapper.java._trace | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java new file mode 100644 index 00000000..268faba3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java | |||
@@ -0,0 +1,38 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring; | ||
2 | |||
3 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
4 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; | ||
5 | import java.util.Arrays; | ||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator; | ||
8 | import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor; | ||
9 | import org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration; | ||
10 | import org.eclipse.xtext.util.CancelIndicator; | ||
11 | |||
12 | @SuppressWarnings("all") | ||
13 | public class CftLanguageSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { | ||
14 | protected boolean _highlightElement(final KOfMGateDefinition gate, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { | ||
15 | boolean _xblockexpression = false; | ||
16 | { | ||
17 | this.highlightFeature(acceptor, gate, CftPackage.Literals.KOF_MGATE_DEFINITION__K, DefaultHighlightingConfiguration.KEYWORD_ID); | ||
18 | this.highlightFeature(acceptor, gate, CftPackage.Literals.KOF_MGATE_DEFINITION__M, DefaultHighlightingConfiguration.KEYWORD_ID); | ||
19 | _xblockexpression = false; | ||
20 | } | ||
21 | return _xblockexpression; | ||
22 | } | ||
23 | |||
24 | protected boolean _highlightElement(final EObject eObject, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { | ||
25 | return super.highlightElement(eObject, acceptor, cancelIndicator); | ||
26 | } | ||
27 | |||
28 | protected boolean highlightElement(final EObject gate, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { | ||
29 | if (gate instanceof KOfMGateDefinition) { | ||
30 | return _highlightElement((KOfMGateDefinition)gate, acceptor, cancelIndicator); | ||
31 | } else if (gate != null) { | ||
32 | return _highlightElement(gate, acceptor, cancelIndicator); | ||
33 | } else { | ||
34 | throw new IllegalArgumentException("Unhandled parameter types: " + | ||
35 | Arrays.<Object>asList(gate, acceptor, cancelIndicator).toString()); | ||
36 | } | ||
37 | } | ||
38 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java new file mode 100644 index 00000000..9ad4afda --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java | |||
@@ -0,0 +1,25 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring; | ||
2 | |||
3 | import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper; | ||
4 | import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles; | ||
5 | |||
6 | @SuppressWarnings("all") | ||
7 | public class CftLanguageTokenToAttributeIdMapper extends DefaultAntlrTokenToAttributeIdMapper { | ||
8 | @Override | ||
9 | protected String calculateId(final String tokenName, final int tokenType) { | ||
10 | String _switchResult = null; | ||
11 | if (tokenName != null) { | ||
12 | switch (tokenName) { | ||
13 | case "RULE_T_DOUBLE": | ||
14 | _switchResult = HighlightingStyles.NUMBER_ID; | ||
15 | break; | ||
16 | default: | ||
17 | _switchResult = super.calculateId(tokenName, tokenType); | ||
18 | break; | ||
19 | } | ||
20 | } else { | ||
21 | _switchResult = super.calculateId(tokenName, tokenType); | ||
22 | } | ||
23 | return _switchResult; | ||
24 | } | ||
25 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF index 66be4b49..8511add4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF | |||
@@ -9,13 +9,14 @@ Bundle-ActivationPolicy: lazy | |||
9 | Require-Bundle: org.eclipse.xtext, | 9 | Require-Bundle: org.eclipse.xtext, |
10 | org.eclipse.xtext.xbase, | 10 | org.eclipse.xtext.xbase, |
11 | org.eclipse.equinox.common;bundle-version="3.5.0", | 11 | org.eclipse.equinox.common;bundle-version="3.5.0", |
12 | org.eclipse.viatra.query.patternlanguage.emf, | ||
13 | org.eclipse.emf.ecore, | 12 | org.eclipse.emf.ecore, |
14 | org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", | 13 | org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", |
15 | org.eclipse.xtext.util, | 14 | org.eclipse.xtext.util, |
16 | org.eclipse.emf.common, | 15 | org.eclipse.emf.common, |
17 | org.eclipse.xtend.lib;bundle-version="2.14.0", | 16 | org.eclipse.xtend.lib;bundle-version="2.14.0", |
18 | org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" | 17 | org.antlr.runtime;bundle-version="[3.2.0,3.2.1)", |
18 | org.eclipse.viatra.query.patternlanguage.emf;visibility:=reexport, | ||
19 | hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport | ||
19 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | 20 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 |
20 | Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components, | 21 | Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components, |
21 | hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage, | 22 | hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage, |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore index a86e503e..ecfaa84b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore | |||
@@ -7,38 +7,14 @@ | |||
7 | <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" | 7 | <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" |
8 | eType="#//ImportDeclaration" containment="true"/> | 8 | eType="#//ImportDeclaration" containment="true"/> |
9 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinitions" upperBound="-1" | 9 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinitions" upperBound="-1" |
10 | eType="#//ComponentDefinition" containment="true"/> | 10 | eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//ComponentDefinition" |
11 | containment="true"/> | ||
11 | <eStructuralFeatures xsi:type="ecore:EReference" name="transformationDefinitions" | 12 | <eStructuralFeatures xsi:type="ecore:EReference" name="transformationDefinitions" |
12 | upperBound="-1" eType="#//TransformationDefinition" containment="true"/> | 13 | upperBound="-1" eType="#//TransformationDefinition" containment="true"/> |
13 | </eClassifiers> | 14 | </eClassifiers> |
14 | <eClassifiers xsi:type="ecore:EClass" name="ImportDeclaration"> | 15 | <eClassifiers xsi:type="ecore:EClass" name="ImportDeclaration"> |
15 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> | 16 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
16 | </eClassifiers> | 17 | </eClassifiers> |
17 | <eClassifiers xsi:type="ecore:EClass" name="ComponentDefinition"> | ||
18 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> | ||
19 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" | ||
20 | eType="#//InputEvent" containment="true"/> | ||
21 | <eStructuralFeatures xsi:type="ecore:EReference" name="outputEvents" unique="false" | ||
22 | upperBound="-1" eType="#//EventDeclaration"/> | ||
23 | <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" upperBound="-1" | ||
24 | eType="#//EventDefinition" containment="true"/> | ||
25 | </eClassifiers> | ||
26 | <eClassifiers xsi:type="ecore:EClass" name="EventDeclaration"> | ||
27 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> | ||
28 | </eClassifiers> | ||
29 | <eClassifiers xsi:type="ecore:EClass" name="InputEvent" eSuperTypes="#//EventDeclaration"> | ||
30 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiple" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> | ||
31 | </eClassifiers> | ||
32 | <eClassifiers xsi:type="ecore:EClass" name="EventDefinition" eSuperTypes="#//EventDeclaration"/> | ||
33 | <eClassifiers xsi:type="ecore:EClass" name="BasicEventDefinition" eSuperTypes="#//EventDefinition"> | ||
34 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rate" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/> | ||
35 | </eClassifiers> | ||
36 | <eClassifiers xsi:type="ecore:EClass" name="GateDefinition" eSuperTypes="#//EventDefinition"> | ||
37 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" unique="false" | ||
38 | upperBound="-1" eType="#//EventDeclaration"/> | ||
39 | </eClassifiers> | ||
40 | <eClassifiers xsi:type="ecore:EClass" name="AndGate" eSuperTypes="#//GateDefinition"/> | ||
41 | <eClassifiers xsi:type="ecore:EClass" name="OrGate" eSuperTypes="#//GateDefinition"/> | ||
42 | <eClassifiers xsi:type="ecore:EClass" name="TransformationDefinition"> | 18 | <eClassifiers xsi:type="ecore:EClass" name="TransformationDefinition"> |
43 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> | 19 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> |
44 | <eStructuralFeatures xsi:type="ecore:EReference" name="mappingDefinitions" upperBound="-1" | 20 | <eStructuralFeatures xsi:type="ecore:EReference" name="mappingDefinitions" upperBound="-1" |
@@ -76,9 +52,9 @@ | |||
76 | </eClassifiers> | 52 | </eClassifiers> |
77 | <eClassifiers xsi:type="ecore:EClass" name="EventReference"> | 53 | <eClassifiers xsi:type="ecore:EClass" name="EventReference"> |
78 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" eType="#//Variable"/> | 54 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" eType="#//Variable"/> |
79 | <eStructuralFeatures xsi:type="ecore:EReference" name="event" eType="#//EventDeclaration"/> | 55 | <eStructuralFeatures xsi:type="ecore:EReference" name="event" eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//EventDeclaration"/> |
80 | </eClassifiers> | 56 | </eClassifiers> |
81 | <eClassifiers xsi:type="ecore:EClass" name="ComponentInstance" eSuperTypes="#//Variable"> | 57 | <eClassifiers xsi:type="ecore:EClass" name="ComponentInstance" eSuperTypes="#//Variable"> |
82 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentType" eType="#//ComponentDefinition"/> | 58 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentType" eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//ComponentDefinition"/> |
83 | </eClassifiers> | 59 | </eClassifiers> |
84 | </ecore:EPackage> | 60 | </ecore:EPackage> |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel index c2208adc..1b857035 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel | |||
@@ -3,7 +3,7 @@ | |||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext 2.16.0" modelDirectory="/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen" | 3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext 2.16.0" modelDirectory="/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen" |
4 | modelPluginID="hu.bme.mit.inf.dslreasoner.faulttree.components" forceOverwrite="true" | 4 | modelPluginID="hu.bme.mit.inf.dslreasoner.faulttree.components" forceOverwrite="true" |
5 | modelName="CftLanguage" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | 5 | modelName="CftLanguage" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" |
6 | complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.16" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel#//vql"> | 6 | complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.16" usedGenPackages="platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel#//cft platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel#//vql"> |
7 | <genPackages prefix="CftLanguage" basePackage="hu.bme.mit.inf.dslreasoner.faulttree.components" | 7 | <genPackages prefix="CftLanguage" basePackage="hu.bme.mit.inf.dslreasoner.faulttree.components" |
8 | disposableProviderFactory="true" fileExtensions="cft" ecorePackage="CftLanguage.ecore#/"> | 8 | disposableProviderFactory="true" fileExtensions="cft" ecorePackage="CftLanguage.ecore#/"> |
9 | <genClasses ecoreClass="CftLanguage.ecore#//CftModel"> | 9 | <genClasses ecoreClass="CftLanguage.ecore#//CftModel"> |
@@ -15,27 +15,6 @@ | |||
15 | <genClasses ecoreClass="CftLanguage.ecore#//ImportDeclaration"> | 15 | <genClasses ecoreClass="CftLanguage.ecore#//ImportDeclaration"> |
16 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//ImportDeclaration/importedNamespace"/> | 16 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//ImportDeclaration/importedNamespace"/> |
17 | </genClasses> | 17 | </genClasses> |
18 | <genClasses ecoreClass="CftLanguage.ecore#//ComponentDefinition"> | ||
19 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//ComponentDefinition/name"/> | ||
20 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//ComponentDefinition/inputEvents"/> | ||
21 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//ComponentDefinition/outputEvents"/> | ||
22 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//ComponentDefinition/eventDefinitions"/> | ||
23 | </genClasses> | ||
24 | <genClasses ecoreClass="CftLanguage.ecore#//EventDeclaration"> | ||
25 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//EventDeclaration/name"/> | ||
26 | </genClasses> | ||
27 | <genClasses ecoreClass="CftLanguage.ecore#//InputEvent"> | ||
28 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//InputEvent/multiple"/> | ||
29 | </genClasses> | ||
30 | <genClasses ecoreClass="CftLanguage.ecore#//EventDefinition"/> | ||
31 | <genClasses ecoreClass="CftLanguage.ecore#//BasicEventDefinition"> | ||
32 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//BasicEventDefinition/rate"/> | ||
33 | </genClasses> | ||
34 | <genClasses ecoreClass="CftLanguage.ecore#//GateDefinition"> | ||
35 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//GateDefinition/inputEvents"/> | ||
36 | </genClasses> | ||
37 | <genClasses ecoreClass="CftLanguage.ecore#//AndGate"/> | ||
38 | <genClasses ecoreClass="CftLanguage.ecore#//OrGate"/> | ||
39 | <genClasses ecoreClass="CftLanguage.ecore#//TransformationDefinition"> | 18 | <genClasses ecoreClass="CftLanguage.ecore#//TransformationDefinition"> |
40 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//TransformationDefinition/name"/> | 19 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//TransformationDefinition/name"/> |
41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//TransformationDefinition/mappingDefinitions"/> | 20 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//TransformationDefinition/mappingDefinitions"/> |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin index b39c9074..6eb4d2c2 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/AndGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/AndGate.java deleted file mode 100644 index 6d197233..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/AndGate.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>And Gate</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAndGate() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface AndGate extends GateDefinition | ||
18 | { | ||
19 | } // AndGate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/BasicEventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/BasicEventDefinition.java deleted file mode 100644 index 9a564a57..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/BasicEventDefinition.java +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Basic Event Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition#getRate <em>Rate</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getBasicEventDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface BasicEventDefinition extends EventDefinition | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Rate</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Rate</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Rate</em>' attribute. | ||
34 | * @see #setRate(double) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getBasicEventDefinition_Rate() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | double getRate(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition#getRate <em>Rate</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Rate</em>' attribute. | ||
46 | * @see #getRate() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setRate(double value); | ||
50 | |||
51 | } // BasicEventDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java index 07c5786f..3420d578 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java | |||
@@ -42,78 +42,6 @@ public interface CftLanguageFactory extends EFactory | |||
42 | ImportDeclaration createImportDeclaration(); | 42 | ImportDeclaration createImportDeclaration(); |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * Returns a new object of class '<em>Component Definition</em>'. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return a new object of class '<em>Component Definition</em>'. | ||
49 | * @generated | ||
50 | */ | ||
51 | ComponentDefinition createComponentDefinition(); | ||
52 | |||
53 | /** | ||
54 | * Returns a new object of class '<em>Event Declaration</em>'. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @return a new object of class '<em>Event Declaration</em>'. | ||
58 | * @generated | ||
59 | */ | ||
60 | EventDeclaration createEventDeclaration(); | ||
61 | |||
62 | /** | ||
63 | * Returns a new object of class '<em>Input Event</em>'. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @return a new object of class '<em>Input Event</em>'. | ||
67 | * @generated | ||
68 | */ | ||
69 | InputEvent createInputEvent(); | ||
70 | |||
71 | /** | ||
72 | * Returns a new object of class '<em>Event Definition</em>'. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return a new object of class '<em>Event Definition</em>'. | ||
76 | * @generated | ||
77 | */ | ||
78 | EventDefinition createEventDefinition(); | ||
79 | |||
80 | /** | ||
81 | * Returns a new object of class '<em>Basic Event Definition</em>'. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @return a new object of class '<em>Basic Event Definition</em>'. | ||
85 | * @generated | ||
86 | */ | ||
87 | BasicEventDefinition createBasicEventDefinition(); | ||
88 | |||
89 | /** | ||
90 | * Returns a new object of class '<em>Gate Definition</em>'. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @return a new object of class '<em>Gate Definition</em>'. | ||
94 | * @generated | ||
95 | */ | ||
96 | GateDefinition createGateDefinition(); | ||
97 | |||
98 | /** | ||
99 | * Returns a new object of class '<em>And Gate</em>'. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @return a new object of class '<em>And Gate</em>'. | ||
103 | * @generated | ||
104 | */ | ||
105 | AndGate createAndGate(); | ||
106 | |||
107 | /** | ||
108 | * Returns a new object of class '<em>Or Gate</em>'. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @return a new object of class '<em>Or Gate</em>'. | ||
112 | * @generated | ||
113 | */ | ||
114 | OrGate createOrGate(); | ||
115 | |||
116 | /** | ||
117 | * Returns a new object of class '<em>Transformation Definition</em>'. | 45 | * Returns a new object of class '<em>Transformation Definition</em>'. |
118 | * <!-- begin-user-doc --> | 46 | * <!-- begin-user-doc --> |
119 | * <!-- end-user-doc --> | 47 | * <!-- end-user-doc --> |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java index 405a8691..7aab46c2 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java | |||
@@ -141,302 +141,6 @@ public interface CftLanguagePackage extends EPackage | |||
141 | int IMPORT_DECLARATION_FEATURE_COUNT = 1; | 141 | int IMPORT_DECLARATION_FEATURE_COUNT = 1; |
142 | 142 | ||
143 | /** | 143 | /** |
144 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl | ||
148 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentDefinition() | ||
149 | * @generated | ||
150 | */ | ||
151 | int COMPONENT_DEFINITION = 2; | ||
152 | |||
153 | /** | ||
154 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | * @ordered | ||
159 | */ | ||
160 | int COMPONENT_DEFINITION__NAME = 0; | ||
161 | |||
162 | /** | ||
163 | * The feature id for the '<em><b>Input Events</b></em>' containment reference list. | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | * @ordered | ||
168 | */ | ||
169 | int COMPONENT_DEFINITION__INPUT_EVENTS = 1; | ||
170 | |||
171 | /** | ||
172 | * The feature id for the '<em><b>Output Events</b></em>' reference list. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | * @ordered | ||
177 | */ | ||
178 | int COMPONENT_DEFINITION__OUTPUT_EVENTS = 2; | ||
179 | |||
180 | /** | ||
181 | * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | * @ordered | ||
186 | */ | ||
187 | int COMPONENT_DEFINITION__EVENT_DEFINITIONS = 3; | ||
188 | |||
189 | /** | ||
190 | * The number of structural features of the '<em>Component Definition</em>' class. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | * @ordered | ||
195 | */ | ||
196 | int COMPONENT_DEFINITION_FEATURE_COUNT = 4; | ||
197 | |||
198 | /** | ||
199 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDeclarationImpl <em>Event Declaration</em>}' class. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDeclarationImpl | ||
203 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventDeclaration() | ||
204 | * @generated | ||
205 | */ | ||
206 | int EVENT_DECLARATION = 3; | ||
207 | |||
208 | /** | ||
209 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | * @ordered | ||
214 | */ | ||
215 | int EVENT_DECLARATION__NAME = 0; | ||
216 | |||
217 | /** | ||
218 | * The number of structural features of the '<em>Event Declaration</em>' class. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | * @ordered | ||
223 | */ | ||
224 | int EVENT_DECLARATION_FEATURE_COUNT = 1; | ||
225 | |||
226 | /** | ||
227 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.InputEventImpl <em>Input Event</em>}' class. | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.InputEventImpl | ||
231 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getInputEvent() | ||
232 | * @generated | ||
233 | */ | ||
234 | int INPUT_EVENT = 4; | ||
235 | |||
236 | /** | ||
237 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | * @ordered | ||
242 | */ | ||
243 | int INPUT_EVENT__NAME = EVENT_DECLARATION__NAME; | ||
244 | |||
245 | /** | ||
246 | * The feature id for the '<em><b>Multiple</b></em>' attribute. | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | * @ordered | ||
251 | */ | ||
252 | int INPUT_EVENT__MULTIPLE = EVENT_DECLARATION_FEATURE_COUNT + 0; | ||
253 | |||
254 | /** | ||
255 | * The number of structural features of the '<em>Input Event</em>' class. | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | * @ordered | ||
260 | */ | ||
261 | int INPUT_EVENT_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 1; | ||
262 | |||
263 | /** | ||
264 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDefinitionImpl <em>Event Definition</em>}' class. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDefinitionImpl | ||
268 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventDefinition() | ||
269 | * @generated | ||
270 | */ | ||
271 | int EVENT_DEFINITION = 5; | ||
272 | |||
273 | /** | ||
274 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | * @ordered | ||
279 | */ | ||
280 | int EVENT_DEFINITION__NAME = EVENT_DECLARATION__NAME; | ||
281 | |||
282 | /** | ||
283 | * The number of structural features of the '<em>Event Definition</em>' class. | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | * @ordered | ||
288 | */ | ||
289 | int EVENT_DEFINITION_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 0; | ||
290 | |||
291 | /** | ||
292 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class. | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.BasicEventDefinitionImpl | ||
296 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getBasicEventDefinition() | ||
297 | * @generated | ||
298 | */ | ||
299 | int BASIC_EVENT_DEFINITION = 6; | ||
300 | |||
301 | /** | ||
302 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | * @ordered | ||
307 | */ | ||
308 | int BASIC_EVENT_DEFINITION__NAME = EVENT_DEFINITION__NAME; | ||
309 | |||
310 | /** | ||
311 | * The feature id for the '<em><b>Rate</b></em>' attribute. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | * @ordered | ||
316 | */ | ||
317 | int BASIC_EVENT_DEFINITION__RATE = EVENT_DEFINITION_FEATURE_COUNT + 0; | ||
318 | |||
319 | /** | ||
320 | * The number of structural features of the '<em>Basic Event Definition</em>' class. | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @generated | ||
324 | * @ordered | ||
325 | */ | ||
326 | int BASIC_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; | ||
327 | |||
328 | /** | ||
329 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.GateDefinitionImpl <em>Gate Definition</em>}' class. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * <!-- end-user-doc --> | ||
332 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.GateDefinitionImpl | ||
333 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getGateDefinition() | ||
334 | * @generated | ||
335 | */ | ||
336 | int GATE_DEFINITION = 7; | ||
337 | |||
338 | /** | ||
339 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | * @ordered | ||
344 | */ | ||
345 | int GATE_DEFINITION__NAME = EVENT_DEFINITION__NAME; | ||
346 | |||
347 | /** | ||
348 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | * @ordered | ||
353 | */ | ||
354 | int GATE_DEFINITION__INPUT_EVENTS = EVENT_DEFINITION_FEATURE_COUNT + 0; | ||
355 | |||
356 | /** | ||
357 | * The number of structural features of the '<em>Gate Definition</em>' class. | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | * @ordered | ||
362 | */ | ||
363 | int GATE_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; | ||
364 | |||
365 | /** | ||
366 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AndGateImpl <em>And Gate</em>}' class. | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AndGateImpl | ||
370 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAndGate() | ||
371 | * @generated | ||
372 | */ | ||
373 | int AND_GATE = 8; | ||
374 | |||
375 | /** | ||
376 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | * @ordered | ||
381 | */ | ||
382 | int AND_GATE__NAME = GATE_DEFINITION__NAME; | ||
383 | |||
384 | /** | ||
385 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | * @ordered | ||
390 | */ | ||
391 | int AND_GATE__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; | ||
392 | |||
393 | /** | ||
394 | * The number of structural features of the '<em>And Gate</em>' class. | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @generated | ||
398 | * @ordered | ||
399 | */ | ||
400 | int AND_GATE_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; | ||
401 | |||
402 | /** | ||
403 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.OrGateImpl <em>Or Gate</em>}' class. | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.OrGateImpl | ||
407 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getOrGate() | ||
408 | * @generated | ||
409 | */ | ||
410 | int OR_GATE = 9; | ||
411 | |||
412 | /** | ||
413 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @generated | ||
417 | * @ordered | ||
418 | */ | ||
419 | int OR_GATE__NAME = GATE_DEFINITION__NAME; | ||
420 | |||
421 | /** | ||
422 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | * @ordered | ||
427 | */ | ||
428 | int OR_GATE__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; | ||
429 | |||
430 | /** | ||
431 | * The number of structural features of the '<em>Or Gate</em>' class. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @generated | ||
435 | * @ordered | ||
436 | */ | ||
437 | int OR_GATE_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; | ||
438 | |||
439 | /** | ||
440 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class. | 144 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class. |
441 | * <!-- begin-user-doc --> | 145 | * <!-- begin-user-doc --> |
442 | * <!-- end-user-doc --> | 146 | * <!-- end-user-doc --> |
@@ -444,7 +148,7 @@ public interface CftLanguagePackage extends EPackage | |||
444 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition() | 148 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition() |
445 | * @generated | 149 | * @generated |
446 | */ | 150 | */ |
447 | int TRANSFORMATION_DEFINITION = 10; | 151 | int TRANSFORMATION_DEFINITION = 2; |
448 | 152 | ||
449 | /** | 153 | /** |
450 | * The feature id for the '<em><b>Name</b></em>' attribute. | 154 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -481,7 +185,7 @@ public interface CftLanguagePackage extends EPackage | |||
481 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition() | 185 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition() |
482 | * @generated | 186 | * @generated |
483 | */ | 187 | */ |
484 | int MAPPING_DEFINITION = 11; | 188 | int MAPPING_DEFINITION = 3; |
485 | 189 | ||
486 | /** | 190 | /** |
487 | * The feature id for the '<em><b>Top Level</b></em>' attribute. | 191 | * The feature id for the '<em><b>Top Level</b></em>' attribute. |
@@ -554,7 +258,7 @@ public interface CftLanguagePackage extends EPackage | |||
554 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter() | 258 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter() |
555 | * @generated | 259 | * @generated |
556 | */ | 260 | */ |
557 | int MAPPING_PARAMETER = 12; | 261 | int MAPPING_PARAMETER = 4; |
558 | 262 | ||
559 | /** | 263 | /** |
560 | * The feature id for the '<em><b>Name</b></em>' attribute. | 264 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -582,7 +286,7 @@ public interface CftLanguagePackage extends EPackage | |||
582 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable() | 286 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable() |
583 | * @generated | 287 | * @generated |
584 | */ | 288 | */ |
585 | int VARIABLE = 14; | 289 | int VARIABLE = 6; |
586 | 290 | ||
587 | /** | 291 | /** |
588 | * The feature id for the '<em><b>Name</b></em>' attribute. | 292 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -610,7 +314,7 @@ public interface CftLanguagePackage extends EPackage | |||
610 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition() | 314 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition() |
611 | * @generated | 315 | * @generated |
612 | */ | 316 | */ |
613 | int LOOKUP_DEFINITION = 13; | 317 | int LOOKUP_DEFINITION = 5; |
614 | 318 | ||
615 | /** | 319 | /** |
616 | * The feature id for the '<em><b>Name</b></em>' attribute. | 320 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -656,7 +360,7 @@ public interface CftLanguagePackage extends EPackage | |||
656 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment() | 360 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment() |
657 | * @generated | 361 | * @generated |
658 | */ | 362 | */ |
659 | int ASSIGNMENT = 15; | 363 | int ASSIGNMENT = 7; |
660 | 364 | ||
661 | /** | 365 | /** |
662 | * The feature id for the '<em><b>Input</b></em>' containment reference. | 366 | * The feature id for the '<em><b>Input</b></em>' containment reference. |
@@ -702,7 +406,7 @@ public interface CftLanguagePackage extends EPackage | |||
702 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference() | 406 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference() |
703 | * @generated | 407 | * @generated |
704 | */ | 408 | */ |
705 | int EVENT_REFERENCE = 16; | 409 | int EVENT_REFERENCE = 8; |
706 | 410 | ||
707 | /** | 411 | /** |
708 | * The feature id for the '<em><b>Component</b></em>' reference. | 412 | * The feature id for the '<em><b>Component</b></em>' reference. |
@@ -739,7 +443,7 @@ public interface CftLanguagePackage extends EPackage | |||
739 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance() | 443 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance() |
740 | * @generated | 444 | * @generated |
741 | */ | 445 | */ |
742 | int COMPONENT_INSTANCE = 17; | 446 | int COMPONENT_INSTANCE = 9; |
743 | 447 | ||
744 | /** | 448 | /** |
745 | * The feature id for the '<em><b>Name</b></em>' attribute. | 449 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -845,174 +549,6 @@ public interface CftLanguagePackage extends EPackage | |||
845 | EAttribute getImportDeclaration_ImportedNamespace(); | 549 | EAttribute getImportDeclaration_ImportedNamespace(); |
846 | 550 | ||
847 | /** | 551 | /** |
848 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition <em>Component Definition</em>}'. | ||
849 | * <!-- begin-user-doc --> | ||
850 | * <!-- end-user-doc --> | ||
851 | * @return the meta object for class '<em>Component Definition</em>'. | ||
852 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition | ||
853 | * @generated | ||
854 | */ | ||
855 | EClass getComponentDefinition(); | ||
856 | |||
857 | /** | ||
858 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getName <em>Name</em>}'. | ||
859 | * <!-- begin-user-doc --> | ||
860 | * <!-- end-user-doc --> | ||
861 | * @return the meta object for the attribute '<em>Name</em>'. | ||
862 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getName() | ||
863 | * @see #getComponentDefinition() | ||
864 | * @generated | ||
865 | */ | ||
866 | EAttribute getComponentDefinition_Name(); | ||
867 | |||
868 | /** | ||
869 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getInputEvents <em>Input Events</em>}'. | ||
870 | * <!-- begin-user-doc --> | ||
871 | * <!-- end-user-doc --> | ||
872 | * @return the meta object for the containment reference list '<em>Input Events</em>'. | ||
873 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getInputEvents() | ||
874 | * @see #getComponentDefinition() | ||
875 | * @generated | ||
876 | */ | ||
877 | EReference getComponentDefinition_InputEvents(); | ||
878 | |||
879 | /** | ||
880 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getOutputEvents <em>Output Events</em>}'. | ||
881 | * <!-- begin-user-doc --> | ||
882 | * <!-- end-user-doc --> | ||
883 | * @return the meta object for the reference list '<em>Output Events</em>'. | ||
884 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getOutputEvents() | ||
885 | * @see #getComponentDefinition() | ||
886 | * @generated | ||
887 | */ | ||
888 | EReference getComponentDefinition_OutputEvents(); | ||
889 | |||
890 | /** | ||
891 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getEventDefinitions <em>Event Definitions</em>}'. | ||
892 | * <!-- begin-user-doc --> | ||
893 | * <!-- end-user-doc --> | ||
894 | * @return the meta object for the containment reference list '<em>Event Definitions</em>'. | ||
895 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getEventDefinitions() | ||
896 | * @see #getComponentDefinition() | ||
897 | * @generated | ||
898 | */ | ||
899 | EReference getComponentDefinition_EventDefinitions(); | ||
900 | |||
901 | /** | ||
902 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration <em>Event Declaration</em>}'. | ||
903 | * <!-- begin-user-doc --> | ||
904 | * <!-- end-user-doc --> | ||
905 | * @return the meta object for class '<em>Event Declaration</em>'. | ||
906 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration | ||
907 | * @generated | ||
908 | */ | ||
909 | EClass getEventDeclaration(); | ||
910 | |||
911 | /** | ||
912 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration#getName <em>Name</em>}'. | ||
913 | * <!-- begin-user-doc --> | ||
914 | * <!-- end-user-doc --> | ||
915 | * @return the meta object for the attribute '<em>Name</em>'. | ||
916 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration#getName() | ||
917 | * @see #getEventDeclaration() | ||
918 | * @generated | ||
919 | */ | ||
920 | EAttribute getEventDeclaration_Name(); | ||
921 | |||
922 | /** | ||
923 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent <em>Input Event</em>}'. | ||
924 | * <!-- begin-user-doc --> | ||
925 | * <!-- end-user-doc --> | ||
926 | * @return the meta object for class '<em>Input Event</em>'. | ||
927 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent | ||
928 | * @generated | ||
929 | */ | ||
930 | EClass getInputEvent(); | ||
931 | |||
932 | /** | ||
933 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent#isMultiple <em>Multiple</em>}'. | ||
934 | * <!-- begin-user-doc --> | ||
935 | * <!-- end-user-doc --> | ||
936 | * @return the meta object for the attribute '<em>Multiple</em>'. | ||
937 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent#isMultiple() | ||
938 | * @see #getInputEvent() | ||
939 | * @generated | ||
940 | */ | ||
941 | EAttribute getInputEvent_Multiple(); | ||
942 | |||
943 | /** | ||
944 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition <em>Event Definition</em>}'. | ||
945 | * <!-- begin-user-doc --> | ||
946 | * <!-- end-user-doc --> | ||
947 | * @return the meta object for class '<em>Event Definition</em>'. | ||
948 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition | ||
949 | * @generated | ||
950 | */ | ||
951 | EClass getEventDefinition(); | ||
952 | |||
953 | /** | ||
954 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * <!-- end-user-doc --> | ||
957 | * @return the meta object for class '<em>Basic Event Definition</em>'. | ||
958 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition | ||
959 | * @generated | ||
960 | */ | ||
961 | EClass getBasicEventDefinition(); | ||
962 | |||
963 | /** | ||
964 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition#getRate <em>Rate</em>}'. | ||
965 | * <!-- begin-user-doc --> | ||
966 | * <!-- end-user-doc --> | ||
967 | * @return the meta object for the attribute '<em>Rate</em>'. | ||
968 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition#getRate() | ||
969 | * @see #getBasicEventDefinition() | ||
970 | * @generated | ||
971 | */ | ||
972 | EAttribute getBasicEventDefinition_Rate(); | ||
973 | |||
974 | /** | ||
975 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition <em>Gate Definition</em>}'. | ||
976 | * <!-- begin-user-doc --> | ||
977 | * <!-- end-user-doc --> | ||
978 | * @return the meta object for class '<em>Gate Definition</em>'. | ||
979 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition | ||
980 | * @generated | ||
981 | */ | ||
982 | EClass getGateDefinition(); | ||
983 | |||
984 | /** | ||
985 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition#getInputEvents <em>Input Events</em>}'. | ||
986 | * <!-- begin-user-doc --> | ||
987 | * <!-- end-user-doc --> | ||
988 | * @return the meta object for the reference list '<em>Input Events</em>'. | ||
989 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition#getInputEvents() | ||
990 | * @see #getGateDefinition() | ||
991 | * @generated | ||
992 | */ | ||
993 | EReference getGateDefinition_InputEvents(); | ||
994 | |||
995 | /** | ||
996 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate <em>And Gate</em>}'. | ||
997 | * <!-- begin-user-doc --> | ||
998 | * <!-- end-user-doc --> | ||
999 | * @return the meta object for class '<em>And Gate</em>'. | ||
1000 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate | ||
1001 | * @generated | ||
1002 | */ | ||
1003 | EClass getAndGate(); | ||
1004 | |||
1005 | /** | ||
1006 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate <em>Or Gate</em>}'. | ||
1007 | * <!-- begin-user-doc --> | ||
1008 | * <!-- end-user-doc --> | ||
1009 | * @return the meta object for class '<em>Or Gate</em>'. | ||
1010 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate | ||
1011 | * @generated | ||
1012 | */ | ||
1013 | EClass getOrGate(); | ||
1014 | |||
1015 | /** | ||
1016 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'. | 552 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'. |
1017 | * <!-- begin-user-doc --> | 553 | * <!-- begin-user-doc --> |
1018 | * <!-- end-user-doc --> | 554 | * <!-- end-user-doc --> |
@@ -1374,150 +910,6 @@ public interface CftLanguagePackage extends EPackage | |||
1374 | EAttribute IMPORT_DECLARATION__IMPORTED_NAMESPACE = eINSTANCE.getImportDeclaration_ImportedNamespace(); | 910 | EAttribute IMPORT_DECLARATION__IMPORTED_NAMESPACE = eINSTANCE.getImportDeclaration_ImportedNamespace(); |
1375 | 911 | ||
1376 | /** | 912 | /** |
1377 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class. | ||
1378 | * <!-- begin-user-doc --> | ||
1379 | * <!-- end-user-doc --> | ||
1380 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl | ||
1381 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentDefinition() | ||
1382 | * @generated | ||
1383 | */ | ||
1384 | EClass COMPONENT_DEFINITION = eINSTANCE.getComponentDefinition(); | ||
1385 | |||
1386 | /** | ||
1387 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
1388 | * <!-- begin-user-doc --> | ||
1389 | * <!-- end-user-doc --> | ||
1390 | * @generated | ||
1391 | */ | ||
1392 | EAttribute COMPONENT_DEFINITION__NAME = eINSTANCE.getComponentDefinition_Name(); | ||
1393 | |||
1394 | /** | ||
1395 | * The meta object literal for the '<em><b>Input Events</b></em>' containment reference list feature. | ||
1396 | * <!-- begin-user-doc --> | ||
1397 | * <!-- end-user-doc --> | ||
1398 | * @generated | ||
1399 | */ | ||
1400 | EReference COMPONENT_DEFINITION__INPUT_EVENTS = eINSTANCE.getComponentDefinition_InputEvents(); | ||
1401 | |||
1402 | /** | ||
1403 | * The meta object literal for the '<em><b>Output Events</b></em>' reference list feature. | ||
1404 | * <!-- begin-user-doc --> | ||
1405 | * <!-- end-user-doc --> | ||
1406 | * @generated | ||
1407 | */ | ||
1408 | EReference COMPONENT_DEFINITION__OUTPUT_EVENTS = eINSTANCE.getComponentDefinition_OutputEvents(); | ||
1409 | |||
1410 | /** | ||
1411 | * The meta object literal for the '<em><b>Event Definitions</b></em>' containment reference list feature. | ||
1412 | * <!-- begin-user-doc --> | ||
1413 | * <!-- end-user-doc --> | ||
1414 | * @generated | ||
1415 | */ | ||
1416 | EReference COMPONENT_DEFINITION__EVENT_DEFINITIONS = eINSTANCE.getComponentDefinition_EventDefinitions(); | ||
1417 | |||
1418 | /** | ||
1419 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDeclarationImpl <em>Event Declaration</em>}' class. | ||
1420 | * <!-- begin-user-doc --> | ||
1421 | * <!-- end-user-doc --> | ||
1422 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDeclarationImpl | ||
1423 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventDeclaration() | ||
1424 | * @generated | ||
1425 | */ | ||
1426 | EClass EVENT_DECLARATION = eINSTANCE.getEventDeclaration(); | ||
1427 | |||
1428 | /** | ||
1429 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
1430 | * <!-- begin-user-doc --> | ||
1431 | * <!-- end-user-doc --> | ||
1432 | * @generated | ||
1433 | */ | ||
1434 | EAttribute EVENT_DECLARATION__NAME = eINSTANCE.getEventDeclaration_Name(); | ||
1435 | |||
1436 | /** | ||
1437 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.InputEventImpl <em>Input Event</em>}' class. | ||
1438 | * <!-- begin-user-doc --> | ||
1439 | * <!-- end-user-doc --> | ||
1440 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.InputEventImpl | ||
1441 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getInputEvent() | ||
1442 | * @generated | ||
1443 | */ | ||
1444 | EClass INPUT_EVENT = eINSTANCE.getInputEvent(); | ||
1445 | |||
1446 | /** | ||
1447 | * The meta object literal for the '<em><b>Multiple</b></em>' attribute feature. | ||
1448 | * <!-- begin-user-doc --> | ||
1449 | * <!-- end-user-doc --> | ||
1450 | * @generated | ||
1451 | */ | ||
1452 | EAttribute INPUT_EVENT__MULTIPLE = eINSTANCE.getInputEvent_Multiple(); | ||
1453 | |||
1454 | /** | ||
1455 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDefinitionImpl <em>Event Definition</em>}' class. | ||
1456 | * <!-- begin-user-doc --> | ||
1457 | * <!-- end-user-doc --> | ||
1458 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDefinitionImpl | ||
1459 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventDefinition() | ||
1460 | * @generated | ||
1461 | */ | ||
1462 | EClass EVENT_DEFINITION = eINSTANCE.getEventDefinition(); | ||
1463 | |||
1464 | /** | ||
1465 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class. | ||
1466 | * <!-- begin-user-doc --> | ||
1467 | * <!-- end-user-doc --> | ||
1468 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.BasicEventDefinitionImpl | ||
1469 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getBasicEventDefinition() | ||
1470 | * @generated | ||
1471 | */ | ||
1472 | EClass BASIC_EVENT_DEFINITION = eINSTANCE.getBasicEventDefinition(); | ||
1473 | |||
1474 | /** | ||
1475 | * The meta object literal for the '<em><b>Rate</b></em>' attribute feature. | ||
1476 | * <!-- begin-user-doc --> | ||
1477 | * <!-- end-user-doc --> | ||
1478 | * @generated | ||
1479 | */ | ||
1480 | EAttribute BASIC_EVENT_DEFINITION__RATE = eINSTANCE.getBasicEventDefinition_Rate(); | ||
1481 | |||
1482 | /** | ||
1483 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.GateDefinitionImpl <em>Gate Definition</em>}' class. | ||
1484 | * <!-- begin-user-doc --> | ||
1485 | * <!-- end-user-doc --> | ||
1486 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.GateDefinitionImpl | ||
1487 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getGateDefinition() | ||
1488 | * @generated | ||
1489 | */ | ||
1490 | EClass GATE_DEFINITION = eINSTANCE.getGateDefinition(); | ||
1491 | |||
1492 | /** | ||
1493 | * The meta object literal for the '<em><b>Input Events</b></em>' reference list feature. | ||
1494 | * <!-- begin-user-doc --> | ||
1495 | * <!-- end-user-doc --> | ||
1496 | * @generated | ||
1497 | */ | ||
1498 | EReference GATE_DEFINITION__INPUT_EVENTS = eINSTANCE.getGateDefinition_InputEvents(); | ||
1499 | |||
1500 | /** | ||
1501 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AndGateImpl <em>And Gate</em>}' class. | ||
1502 | * <!-- begin-user-doc --> | ||
1503 | * <!-- end-user-doc --> | ||
1504 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AndGateImpl | ||
1505 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAndGate() | ||
1506 | * @generated | ||
1507 | */ | ||
1508 | EClass AND_GATE = eINSTANCE.getAndGate(); | ||
1509 | |||
1510 | /** | ||
1511 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.OrGateImpl <em>Or Gate</em>}' class. | ||
1512 | * <!-- begin-user-doc --> | ||
1513 | * <!-- end-user-doc --> | ||
1514 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.OrGateImpl | ||
1515 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getOrGate() | ||
1516 | * @generated | ||
1517 | */ | ||
1518 | EClass OR_GATE = eINSTANCE.getOrGate(); | ||
1519 | |||
1520 | /** | ||
1521 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class. | 913 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class. |
1522 | * <!-- begin-user-doc --> | 914 | * <!-- begin-user-doc --> |
1523 | * <!-- end-user-doc --> | 915 | * <!-- end-user-doc --> |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java index 5291e747..0b384084 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java | |||
@@ -3,6 +3,8 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
7 | |||
6 | import org.eclipse.emf.common.util.EList; | 8 | import org.eclipse.emf.common.util.EList; |
7 | 9 | ||
8 | import org.eclipse.emf.ecore.EObject; | 10 | import org.eclipse.emf.ecore.EObject; |
@@ -72,7 +74,7 @@ public interface CftModel extends EObject | |||
72 | 74 | ||
73 | /** | 75 | /** |
74 | * Returns the value of the '<em><b>Component Definitions</b></em>' containment reference list. | 76 | * Returns the value of the '<em><b>Component Definitions</b></em>' containment reference list. |
75 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition}. | 77 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition}. |
76 | * <!-- begin-user-doc --> | 78 | * <!-- begin-user-doc --> |
77 | * <p> | 79 | * <p> |
78 | * If the meaning of the '<em>Component Definitions</em>' containment reference list isn't clear, | 80 | * If the meaning of the '<em>Component Definitions</em>' containment reference list isn't clear, |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentDefinition.java deleted file mode 100644 index dae78e7e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentDefinition.java +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Component Definition</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getName <em>Name</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getInputEvents <em>Input Events</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getOutputEvents <em>Output Events</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getEventDefinitions <em>Event Definitions</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentDefinition() | ||
26 | * @model | ||
27 | * @generated | ||
28 | */ | ||
29 | public interface ComponentDefinition extends EObject | ||
30 | { | ||
31 | /** | ||
32 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <p> | ||
35 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
36 | * there really should be more of a description here... | ||
37 | * </p> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @return the value of the '<em>Name</em>' attribute. | ||
40 | * @see #setName(String) | ||
41 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentDefinition_Name() | ||
42 | * @model | ||
43 | * @generated | ||
44 | */ | ||
45 | String getName(); | ||
46 | |||
47 | /** | ||
48 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition#getName <em>Name</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @param value the new value of the '<em>Name</em>' attribute. | ||
52 | * @see #getName() | ||
53 | * @generated | ||
54 | */ | ||
55 | void setName(String value); | ||
56 | |||
57 | /** | ||
58 | * Returns the value of the '<em><b>Input Events</b></em>' containment reference list. | ||
59 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent}. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <p> | ||
62 | * If the meaning of the '<em>Input Events</em>' containment reference list isn't clear, | ||
63 | * there really should be more of a description here... | ||
64 | * </p> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @return the value of the '<em>Input Events</em>' containment reference list. | ||
67 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentDefinition_InputEvents() | ||
68 | * @model containment="true" | ||
69 | * @generated | ||
70 | */ | ||
71 | EList<InputEvent> getInputEvents(); | ||
72 | |||
73 | /** | ||
74 | * Returns the value of the '<em><b>Output Events</b></em>' reference list. | ||
75 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration}. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <p> | ||
78 | * If the meaning of the '<em>Output Events</em>' reference list isn't clear, | ||
79 | * there really should be more of a description here... | ||
80 | * </p> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return the value of the '<em>Output Events</em>' reference list. | ||
83 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentDefinition_OutputEvents() | ||
84 | * @model | ||
85 | * @generated | ||
86 | */ | ||
87 | EList<EventDeclaration> getOutputEvents(); | ||
88 | |||
89 | /** | ||
90 | * Returns the value of the '<em><b>Event Definitions</b></em>' containment reference list. | ||
91 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition}. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <p> | ||
94 | * If the meaning of the '<em>Event Definitions</em>' containment reference list isn't clear, | ||
95 | * there really should be more of a description here... | ||
96 | * </p> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @return the value of the '<em>Event Definitions</em>' containment reference list. | ||
99 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentDefinition_EventDefinitions() | ||
100 | * @model containment="true" | ||
101 | * @generated | ||
102 | */ | ||
103 | EList<EventDefinition> getEventDefinitions(); | ||
104 | |||
105 | } // ComponentDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java index f9f0f57b..0c80849d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java | |||
@@ -3,6 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
6 | 7 | ||
7 | /** | 8 | /** |
8 | * <!-- begin-user-doc --> | 9 | * <!-- begin-user-doc --> |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDeclaration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDeclaration.java deleted file mode 100644 index c03c117e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDeclaration.java +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Event Declaration</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration#getName <em>Name</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventDeclaration() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface EventDeclaration extends EObject | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Name</em>' attribute. | ||
35 | * @see #setName(String) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventDeclaration_Name() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | String getName(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration#getName <em>Name</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Name</em>' attribute. | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setName(String value); | ||
51 | |||
52 | } // EventDeclaration | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDefinition.java deleted file mode 100644 index 0d4f7f95..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventDefinition.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Event Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventDefinition() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface EventDefinition extends EventDeclaration | ||
18 | { | ||
19 | } // EventDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java index b351b185..bf7b7263 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java | |||
@@ -3,6 +3,8 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
7 | |||
6 | import org.eclipse.emf.ecore.EObject; | 8 | import org.eclipse.emf.ecore.EObject; |
7 | 9 | ||
8 | /** | 10 | /** |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/GateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/GateDefinition.java deleted file mode 100644 index 3020f2ca..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/GateDefinition.java +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Gate Definition</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition#getInputEvents <em>Input Events</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getGateDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface GateDefinition extends EventDefinition | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Input Events</b></em>' reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Input Events</em>' reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Input Events</em>' reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getGateDefinition_InputEvents() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<EventDeclaration> getInputEvents(); | ||
41 | |||
42 | } // GateDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/InputEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/InputEvent.java deleted file mode 100644 index 4269fa10..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/InputEvent.java +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Input Event</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent#isMultiple <em>Multiple</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getInputEvent() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface InputEvent extends EventDeclaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Multiple</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Multiple</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Multiple</em>' attribute. | ||
34 | * @see #setMultiple(boolean) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getInputEvent_Multiple() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | boolean isMultiple(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent#isMultiple <em>Multiple</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Multiple</em>' attribute. | ||
46 | * @see #isMultiple() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setMultiple(boolean value); | ||
50 | |||
51 | } // InputEvent | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/OrGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/OrGate.java deleted file mode 100644 index 44a2bc07..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/OrGate.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Or Gate</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getOrGate() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface OrGate extends GateDefinition | ||
18 | { | ||
19 | } // OrGate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AndGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AndGateImpl.java deleted file mode 100644 index d38a9fcd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AndGateImpl.java +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>And Gate</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class AndGateImpl extends GateDefinitionImpl implements AndGate | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected AndGateImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return CftLanguagePackage.Literals.AND_GATE; | ||
39 | } | ||
40 | |||
41 | } //AndGateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/BasicEventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/BasicEventDefinitionImpl.java deleted file mode 100644 index 34c865c3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/BasicEventDefinitionImpl.java +++ /dev/null | |||
@@ -1,179 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Basic Event Definition</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.BasicEventDefinitionImpl#getRate <em>Rate</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class BasicEventDefinitionImpl extends EventDefinitionImpl implements BasicEventDefinition | ||
29 | { | ||
30 | /** | ||
31 | * The default value of the '{@link #getRate() <em>Rate</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getRate() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final double RATE_EDEFAULT = 0.0; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getRate() <em>Rate</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getRate() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected double rate = RATE_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected BasicEventDefinitionImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return CftLanguagePackage.Literals.BASIC_EVENT_DEFINITION; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public double getRate() | ||
78 | { | ||
79 | return rate; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public void setRate(double newRate) | ||
89 | { | ||
90 | double oldRate = rate; | ||
91 | rate = newRate; | ||
92 | if (eNotificationRequired()) | ||
93 | eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.BASIC_EVENT_DEFINITION__RATE, oldRate, rate)); | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | @Override | ||
102 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
103 | { | ||
104 | switch (featureID) | ||
105 | { | ||
106 | case CftLanguagePackage.BASIC_EVENT_DEFINITION__RATE: | ||
107 | return getRate(); | ||
108 | } | ||
109 | return super.eGet(featureID, resolve, coreType); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eSet(int featureID, Object newValue) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case CftLanguagePackage.BASIC_EVENT_DEFINITION__RATE: | ||
123 | setRate((Double)newValue); | ||
124 | return; | ||
125 | } | ||
126 | super.eSet(featureID, newValue); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public void eUnset(int featureID) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case CftLanguagePackage.BASIC_EVENT_DEFINITION__RATE: | ||
140 | setRate(RATE_EDEFAULT); | ||
141 | return; | ||
142 | } | ||
143 | super.eUnset(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public boolean eIsSet(int featureID) | ||
153 | { | ||
154 | switch (featureID) | ||
155 | { | ||
156 | case CftLanguagePackage.BASIC_EVENT_DEFINITION__RATE: | ||
157 | return rate != RATE_EDEFAULT; | ||
158 | } | ||
159 | return super.eIsSet(featureID); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public String toString() | ||
169 | { | ||
170 | if (eIsProxy()) return super.toString(); | ||
171 | |||
172 | StringBuilder result = new StringBuilder(super.toString()); | ||
173 | result.append(" (rate: "); | ||
174 | result.append(rate); | ||
175 | result.append(')'); | ||
176 | return result.toString(); | ||
177 | } | ||
178 | |||
179 | } //BasicEventDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java index 04b066b2..db604384 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java | |||
@@ -67,14 +67,6 @@ public class CftLanguageFactoryImpl extends EFactoryImpl implements CftLanguageF | |||
67 | { | 67 | { |
68 | case CftLanguagePackage.CFT_MODEL: return createCftModel(); | 68 | case CftLanguagePackage.CFT_MODEL: return createCftModel(); |
69 | case CftLanguagePackage.IMPORT_DECLARATION: return createImportDeclaration(); | 69 | case CftLanguagePackage.IMPORT_DECLARATION: return createImportDeclaration(); |
70 | case CftLanguagePackage.COMPONENT_DEFINITION: return createComponentDefinition(); | ||
71 | case CftLanguagePackage.EVENT_DECLARATION: return createEventDeclaration(); | ||
72 | case CftLanguagePackage.INPUT_EVENT: return createInputEvent(); | ||
73 | case CftLanguagePackage.EVENT_DEFINITION: return createEventDefinition(); | ||
74 | case CftLanguagePackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition(); | ||
75 | case CftLanguagePackage.GATE_DEFINITION: return createGateDefinition(); | ||
76 | case CftLanguagePackage.AND_GATE: return createAndGate(); | ||
77 | case CftLanguagePackage.OR_GATE: return createOrGate(); | ||
78 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: return createTransformationDefinition(); | 70 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: return createTransformationDefinition(); |
79 | case CftLanguagePackage.MAPPING_DEFINITION: return createMappingDefinition(); | 71 | case CftLanguagePackage.MAPPING_DEFINITION: return createMappingDefinition(); |
80 | case CftLanguagePackage.MAPPING_PARAMETER: return createMappingParameter(); | 72 | case CftLanguagePackage.MAPPING_PARAMETER: return createMappingParameter(); |
@@ -118,102 +110,6 @@ public class CftLanguageFactoryImpl extends EFactoryImpl implements CftLanguageF | |||
118 | * @generated | 110 | * @generated |
119 | */ | 111 | */ |
120 | @Override | 112 | @Override |
121 | public ComponentDefinition createComponentDefinition() | ||
122 | { | ||
123 | ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl(); | ||
124 | return componentDefinition; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public EventDeclaration createEventDeclaration() | ||
134 | { | ||
135 | EventDeclarationImpl eventDeclaration = new EventDeclarationImpl(); | ||
136 | return eventDeclaration; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public InputEvent createInputEvent() | ||
146 | { | ||
147 | InputEventImpl inputEvent = new InputEventImpl(); | ||
148 | return inputEvent; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public EventDefinition createEventDefinition() | ||
158 | { | ||
159 | EventDefinitionImpl eventDefinition = new EventDefinitionImpl(); | ||
160 | return eventDefinition; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public BasicEventDefinition createBasicEventDefinition() | ||
170 | { | ||
171 | BasicEventDefinitionImpl basicEventDefinition = new BasicEventDefinitionImpl(); | ||
172 | return basicEventDefinition; | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | @Override | ||
181 | public GateDefinition createGateDefinition() | ||
182 | { | ||
183 | GateDefinitionImpl gateDefinition = new GateDefinitionImpl(); | ||
184 | return gateDefinition; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public AndGate createAndGate() | ||
194 | { | ||
195 | AndGateImpl andGate = new AndGateImpl(); | ||
196 | return andGate; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public OrGate createOrGate() | ||
206 | { | ||
207 | OrGateImpl orGate = new OrGateImpl(); | ||
208 | return orGate; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public TransformationDefinition createTransformationDefinition() | 113 | public TransformationDefinition createTransformationDefinition() |
218 | { | 114 | { |
219 | TransformationDefinitionImpl transformationDefinition = new TransformationDefinitionImpl(); | 115 | TransformationDefinitionImpl transformationDefinition = new TransformationDefinitionImpl(); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java index 95520ab8..d4e06dde 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java | |||
@@ -3,27 +3,23 @@ | |||
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory; |
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; |
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; |
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition; | ||
16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | 11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; |
17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition; | ||
18 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; | 12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; |
19 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; | ||
20 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; | 13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; |
21 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | 14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; |
22 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; | 15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; |
23 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate; | ||
24 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | 16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; |
25 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; | 17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; |
26 | 18 | ||
19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
20 | |||
21 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
22 | |||
27 | import org.eclipse.emf.ecore.EAttribute; | 23 | import org.eclipse.emf.ecore.EAttribute; |
28 | import org.eclipse.emf.ecore.EClass; | 24 | import org.eclipse.emf.ecore.EClass; |
29 | import org.eclipse.emf.ecore.EPackage; | 25 | import org.eclipse.emf.ecore.EPackage; |
@@ -67,62 +63,6 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
67 | * <!-- end-user-doc --> | 63 | * <!-- end-user-doc --> |
68 | * @generated | 64 | * @generated |
69 | */ | 65 | */ |
70 | private EClass componentDefinitionEClass = null; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | private EClass eventDeclarationEClass = null; | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | private EClass inputEventEClass = null; | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private EClass eventDefinitionEClass = null; | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | private EClass basicEventDefinitionEClass = null; | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | private EClass gateDefinitionEClass = null; | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | private EClass andGateEClass = null; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | private EClass orGateEClass = null; | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | private EClass transformationDefinitionEClass = null; | 66 | private EClass transformationDefinitionEClass = null; |
127 | 67 | ||
128 | /** | 68 | /** |
@@ -224,8 +164,10 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
224 | isInited = true; | 164 | isInited = true; |
225 | 165 | ||
226 | // Initialize simple dependencies | 166 | // Initialize simple dependencies |
167 | CftPackage.eINSTANCE.eClass(); | ||
227 | EcorePackage.eINSTANCE.eClass(); | 168 | EcorePackage.eINSTANCE.eClass(); |
228 | PatternLanguagePackage.eINSTANCE.eClass(); | 169 | PatternLanguagePackage.eINSTANCE.eClass(); |
170 | FtPackage.eINSTANCE.eClass(); | ||
229 | XtypePackage.eINSTANCE.eClass(); | 171 | XtypePackage.eINSTANCE.eClass(); |
230 | TypesPackage.eINSTANCE.eClass(); | 172 | TypesPackage.eINSTANCE.eClass(); |
231 | XbasePackage.eINSTANCE.eClass(); | 173 | XbasePackage.eINSTANCE.eClass(); |
@@ -327,182 +269,6 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
327 | * @generated | 269 | * @generated |
328 | */ | 270 | */ |
329 | @Override | 271 | @Override |
330 | public EClass getComponentDefinition() | ||
331 | { | ||
332 | return componentDefinitionEClass; | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | @Override | ||
341 | public EAttribute getComponentDefinition_Name() | ||
342 | { | ||
343 | return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(0); | ||
344 | } | ||
345 | |||
346 | /** | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | */ | ||
351 | @Override | ||
352 | public EReference getComponentDefinition_InputEvents() | ||
353 | { | ||
354 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1); | ||
355 | } | ||
356 | |||
357 | /** | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | */ | ||
362 | @Override | ||
363 | public EReference getComponentDefinition_OutputEvents() | ||
364 | { | ||
365 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | @Override | ||
374 | public EReference getComponentDefinition_EventDefinitions() | ||
375 | { | ||
376 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3); | ||
377 | } | ||
378 | |||
379 | /** | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | */ | ||
384 | @Override | ||
385 | public EClass getEventDeclaration() | ||
386 | { | ||
387 | return eventDeclarationEClass; | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | */ | ||
395 | @Override | ||
396 | public EAttribute getEventDeclaration_Name() | ||
397 | { | ||
398 | return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0); | ||
399 | } | ||
400 | |||
401 | /** | ||
402 | * <!-- begin-user-doc --> | ||
403 | * <!-- end-user-doc --> | ||
404 | * @generated | ||
405 | */ | ||
406 | @Override | ||
407 | public EClass getInputEvent() | ||
408 | { | ||
409 | return inputEventEClass; | ||
410 | } | ||
411 | |||
412 | /** | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | */ | ||
417 | @Override | ||
418 | public EAttribute getInputEvent_Multiple() | ||
419 | { | ||
420 | return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0); | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | @Override | ||
429 | public EClass getEventDefinition() | ||
430 | { | ||
431 | return eventDefinitionEClass; | ||
432 | } | ||
433 | |||
434 | /** | ||
435 | * <!-- begin-user-doc --> | ||
436 | * <!-- end-user-doc --> | ||
437 | * @generated | ||
438 | */ | ||
439 | @Override | ||
440 | public EClass getBasicEventDefinition() | ||
441 | { | ||
442 | return basicEventDefinitionEClass; | ||
443 | } | ||
444 | |||
445 | /** | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @generated | ||
449 | */ | ||
450 | @Override | ||
451 | public EAttribute getBasicEventDefinition_Rate() | ||
452 | { | ||
453 | return (EAttribute)basicEventDefinitionEClass.getEStructuralFeatures().get(0); | ||
454 | } | ||
455 | |||
456 | /** | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | */ | ||
461 | @Override | ||
462 | public EClass getGateDefinition() | ||
463 | { | ||
464 | return gateDefinitionEClass; | ||
465 | } | ||
466 | |||
467 | /** | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @generated | ||
471 | */ | ||
472 | @Override | ||
473 | public EReference getGateDefinition_InputEvents() | ||
474 | { | ||
475 | return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0); | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * <!-- begin-user-doc --> | ||
480 | * <!-- end-user-doc --> | ||
481 | * @generated | ||
482 | */ | ||
483 | @Override | ||
484 | public EClass getAndGate() | ||
485 | { | ||
486 | return andGateEClass; | ||
487 | } | ||
488 | |||
489 | /** | ||
490 | * <!-- begin-user-doc --> | ||
491 | * <!-- end-user-doc --> | ||
492 | * @generated | ||
493 | */ | ||
494 | @Override | ||
495 | public EClass getOrGate() | ||
496 | { | ||
497 | return orGateEClass; | ||
498 | } | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | @Override | ||
506 | public EClass getTransformationDefinition() | 272 | public EClass getTransformationDefinition() |
507 | { | 273 | { |
508 | return transformationDefinitionEClass; | 274 | return transformationDefinitionEClass; |
@@ -823,30 +589,6 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
823 | importDeclarationEClass = createEClass(IMPORT_DECLARATION); | 589 | importDeclarationEClass = createEClass(IMPORT_DECLARATION); |
824 | createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE); | 590 | createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE); |
825 | 591 | ||
826 | componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); | ||
827 | createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME); | ||
828 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS); | ||
829 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS); | ||
830 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS); | ||
831 | |||
832 | eventDeclarationEClass = createEClass(EVENT_DECLARATION); | ||
833 | createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); | ||
834 | |||
835 | inputEventEClass = createEClass(INPUT_EVENT); | ||
836 | createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE); | ||
837 | |||
838 | eventDefinitionEClass = createEClass(EVENT_DEFINITION); | ||
839 | |||
840 | basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); | ||
841 | createEAttribute(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__RATE); | ||
842 | |||
843 | gateDefinitionEClass = createEClass(GATE_DEFINITION); | ||
844 | createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS); | ||
845 | |||
846 | andGateEClass = createEClass(AND_GATE); | ||
847 | |||
848 | orGateEClass = createEClass(OR_GATE); | ||
849 | |||
850 | transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION); | 592 | transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION); |
851 | createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME); | 593 | createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME); |
852 | createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); | 594 | createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); |
@@ -908,6 +650,7 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
908 | 650 | ||
909 | // Obtain other dependent packages | 651 | // Obtain other dependent packages |
910 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); | 652 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); |
653 | CftPackage theCftPackage = (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI); | ||
911 | PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); | 654 | PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); |
912 | 655 | ||
913 | // Create type parameters | 656 | // Create type parameters |
@@ -915,12 +658,6 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
915 | // Set bounds for type parameters | 658 | // Set bounds for type parameters |
916 | 659 | ||
917 | // Add supertypes to classes | 660 | // Add supertypes to classes |
918 | inputEventEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
919 | eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
920 | basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
921 | gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
922 | andGateEClass.getESuperTypes().add(this.getGateDefinition()); | ||
923 | orGateEClass.getESuperTypes().add(this.getGateDefinition()); | ||
924 | lookupDefinitionEClass.getESuperTypes().add(this.getVariable()); | 661 | lookupDefinitionEClass.getESuperTypes().add(this.getVariable()); |
925 | componentInstanceEClass.getESuperTypes().add(this.getVariable()); | 662 | componentInstanceEClass.getESuperTypes().add(this.getVariable()); |
926 | 663 | ||
@@ -928,36 +665,12 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
928 | initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 665 | initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
929 | initEAttribute(getCftModel_PackageName(), theEcorePackage.getEString(), "packageName", null, 0, 1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 666 | initEAttribute(getCftModel_PackageName(), theEcorePackage.getEString(), "packageName", null, 0, 1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
930 | initEReference(getCftModel_Imports(), this.getImportDeclaration(), null, "imports", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 667 | initEReference(getCftModel_Imports(), this.getImportDeclaration(), null, "imports", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
931 | initEReference(getCftModel_ComponentDefinitions(), this.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 668 | initEReference(getCftModel_ComponentDefinitions(), theCftPackage.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
932 | initEReference(getCftModel_TransformationDefinitions(), this.getTransformationDefinition(), null, "transformationDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 669 | initEReference(getCftModel_TransformationDefinitions(), this.getTransformationDefinition(), null, "transformationDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
933 | 670 | ||
934 | initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 671 | initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
935 | initEAttribute(getImportDeclaration_ImportedNamespace(), theEcorePackage.getEString(), "importedNamespace", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 672 | initEAttribute(getImportDeclaration_ImportedNamespace(), theEcorePackage.getEString(), "importedNamespace", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
936 | 673 | ||
937 | initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
938 | initEAttribute(getComponentDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
939 | initEReference(getComponentDefinition_InputEvents(), this.getInputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
940 | initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
941 | initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
942 | |||
943 | initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
944 | initEAttribute(getEventDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
945 | |||
946 | initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
947 | initEAttribute(getInputEvent_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
948 | |||
949 | initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
950 | |||
951 | initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
952 | initEAttribute(getBasicEventDefinition_Rate(), theEcorePackage.getEDouble(), "rate", null, 0, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
953 | |||
954 | initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
955 | initEReference(getGateDefinition_InputEvents(), this.getEventDeclaration(), null, "inputEvents", null, 0, -1, GateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
956 | |||
957 | initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
958 | |||
959 | initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
960 | |||
961 | initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 674 | initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
962 | initEAttribute(getTransformationDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 675 | initEAttribute(getTransformationDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
963 | initEReference(getTransformationDefinition_MappingDefinitions(), this.getMappingDefinition(), null, "mappingDefinitions", null, 0, -1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 676 | initEReference(getTransformationDefinition_MappingDefinitions(), this.getMappingDefinition(), null, "mappingDefinitions", null, 0, -1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -987,10 +700,10 @@ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguageP | |||
987 | 700 | ||
988 | initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 701 | initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
989 | initEReference(getEventReference_Component(), this.getVariable(), null, "component", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 702 | initEReference(getEventReference_Component(), this.getVariable(), null, "component", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
990 | initEReference(getEventReference_Event(), this.getEventDeclaration(), null, "event", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 703 | initEReference(getEventReference_Event(), theCftPackage.getEventDeclaration(), null, "event", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
991 | 704 | ||
992 | initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 705 | initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
993 | initEReference(getComponentInstance_ComponentType(), this.getComponentDefinition(), null, "componentType", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 706 | initEReference(getComponentInstance_ComponentType(), theCftPackage.getComponentDefinition(), null, "componentType", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
994 | 707 | ||
995 | // Create resource | 708 | // Create resource |
996 | createResource(eNS_URI); | 709 | createResource(eNS_URI); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java index b51f54ab..1a5a8c16 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java | |||
@@ -5,10 +5,11 @@ package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | |||
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; |
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; |
11 | 10 | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
12 | |||
12 | import java.util.Collection; | 13 | import java.util.Collection; |
13 | 14 | ||
14 | import org.eclipse.emf.common.notify.Notification; | 15 | import org.eclipse.emf.common.notify.Notification; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentDefinitionImpl.java deleted file mode 100644 index 4633d839..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentDefinitionImpl.java +++ /dev/null | |||
@@ -1,323 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; | ||
11 | |||
12 | import java.util.Collection; | ||
13 | |||
14 | import org.eclipse.emf.common.notify.Notification; | ||
15 | import org.eclipse.emf.common.notify.NotificationChain; | ||
16 | |||
17 | import org.eclipse.emf.common.util.EList; | ||
18 | |||
19 | import org.eclipse.emf.ecore.EClass; | ||
20 | import org.eclipse.emf.ecore.InternalEObject; | ||
21 | |||
22 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
23 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
24 | |||
25 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
26 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
27 | import org.eclipse.emf.ecore.util.InternalEList; | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * An implementation of the model object '<em><b>Component Definition</b></em>'. | ||
32 | * <!-- end-user-doc --> | ||
33 | * <p> | ||
34 | * The following features are implemented: | ||
35 | * </p> | ||
36 | * <ul> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl#getName <em>Name</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl#getInputEvents <em>Input Events</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl#getOutputEvents <em>Output Events</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentDefinitionImpl#getEventDefinitions <em>Event Definitions</em>}</li> | ||
41 | * </ul> | ||
42 | * | ||
43 | * @generated | ||
44 | */ | ||
45 | public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implements ComponentDefinition | ||
46 | { | ||
47 | /** | ||
48 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @see #getName() | ||
52 | * @generated | ||
53 | * @ordered | ||
54 | */ | ||
55 | protected static final String NAME_EDEFAULT = null; | ||
56 | |||
57 | /** | ||
58 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #getName() | ||
62 | * @generated | ||
63 | * @ordered | ||
64 | */ | ||
65 | protected String name = NAME_EDEFAULT; | ||
66 | |||
67 | /** | ||
68 | * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' containment reference list. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @see #getInputEvents() | ||
72 | * @generated | ||
73 | * @ordered | ||
74 | */ | ||
75 | protected EList<InputEvent> inputEvents; | ||
76 | |||
77 | /** | ||
78 | * The cached value of the '{@link #getOutputEvents() <em>Output Events</em>}' reference list. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @see #getOutputEvents() | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | protected EList<EventDeclaration> outputEvents; | ||
86 | |||
87 | /** | ||
88 | * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @see #getEventDefinitions() | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | protected EList<EventDefinition> eventDefinitions; | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | protected ComponentDefinitionImpl() | ||
103 | { | ||
104 | super(); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | protected EClass eStaticClass() | ||
114 | { | ||
115 | return CftLanguagePackage.Literals.COMPONENT_DEFINITION; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public String getName() | ||
125 | { | ||
126 | return name; | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public void setName(String newName) | ||
136 | { | ||
137 | String oldName = name; | ||
138 | name = newName; | ||
139 | if (eNotificationRequired()) | ||
140 | eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.COMPONENT_DEFINITION__NAME, oldName, name)); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public EList<InputEvent> getInputEvents() | ||
150 | { | ||
151 | if (inputEvents == null) | ||
152 | { | ||
153 | inputEvents = new EObjectContainmentEList<InputEvent>(InputEvent.class, this, CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS); | ||
154 | } | ||
155 | return inputEvents; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public EList<EventDeclaration> getOutputEvents() | ||
165 | { | ||
166 | if (outputEvents == null) | ||
167 | { | ||
168 | outputEvents = new EObjectResolvingEList<EventDeclaration>(EventDeclaration.class, this, CftLanguagePackage.COMPONENT_DEFINITION__OUTPUT_EVENTS); | ||
169 | } | ||
170 | return outputEvents; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public EList<EventDefinition> getEventDefinitions() | ||
180 | { | ||
181 | if (eventDefinitions == null) | ||
182 | { | ||
183 | eventDefinitions = new EObjectContainmentEList<EventDefinition>(EventDefinition.class, this, CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS); | ||
184 | } | ||
185 | return eventDefinitions; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
199 | return ((InternalEList<?>)getInputEvents()).basicRemove(otherEnd, msgs); | ||
200 | case CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
201 | return ((InternalEList<?>)getEventDefinitions()).basicRemove(otherEnd, msgs); | ||
202 | } | ||
203 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case CftLanguagePackage.COMPONENT_DEFINITION__NAME: | ||
217 | return getName(); | ||
218 | case CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
219 | return getInputEvents(); | ||
220 | case CftLanguagePackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
221 | return getOutputEvents(); | ||
222 | case CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
223 | return getEventDefinitions(); | ||
224 | } | ||
225 | return super.eGet(featureID, resolve, coreType); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | @SuppressWarnings("unchecked") | ||
234 | @Override | ||
235 | public void eSet(int featureID, Object newValue) | ||
236 | { | ||
237 | switch (featureID) | ||
238 | { | ||
239 | case CftLanguagePackage.COMPONENT_DEFINITION__NAME: | ||
240 | setName((String)newValue); | ||
241 | return; | ||
242 | case CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
243 | getInputEvents().clear(); | ||
244 | getInputEvents().addAll((Collection<? extends InputEvent>)newValue); | ||
245 | return; | ||
246 | case CftLanguagePackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
247 | getOutputEvents().clear(); | ||
248 | getOutputEvents().addAll((Collection<? extends EventDeclaration>)newValue); | ||
249 | return; | ||
250 | case CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
251 | getEventDefinitions().clear(); | ||
252 | getEventDefinitions().addAll((Collection<? extends EventDefinition>)newValue); | ||
253 | return; | ||
254 | } | ||
255 | super.eSet(featureID, newValue); | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public void eUnset(int featureID) | ||
265 | { | ||
266 | switch (featureID) | ||
267 | { | ||
268 | case CftLanguagePackage.COMPONENT_DEFINITION__NAME: | ||
269 | setName(NAME_EDEFAULT); | ||
270 | return; | ||
271 | case CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
272 | getInputEvents().clear(); | ||
273 | return; | ||
274 | case CftLanguagePackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
275 | getOutputEvents().clear(); | ||
276 | return; | ||
277 | case CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
278 | getEventDefinitions().clear(); | ||
279 | return; | ||
280 | } | ||
281 | super.eUnset(featureID); | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | @Override | ||
290 | public boolean eIsSet(int featureID) | ||
291 | { | ||
292 | switch (featureID) | ||
293 | { | ||
294 | case CftLanguagePackage.COMPONENT_DEFINITION__NAME: | ||
295 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
296 | case CftLanguagePackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
297 | return inputEvents != null && !inputEvents.isEmpty(); | ||
298 | case CftLanguagePackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
299 | return outputEvents != null && !outputEvents.isEmpty(); | ||
300 | case CftLanguagePackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
301 | return eventDefinitions != null && !eventDefinitions.isEmpty(); | ||
302 | } | ||
303 | return super.eIsSet(featureID); | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * <!-- begin-user-doc --> | ||
308 | * <!-- end-user-doc --> | ||
309 | * @generated | ||
310 | */ | ||
311 | @Override | ||
312 | public String toString() | ||
313 | { | ||
314 | if (eIsProxy()) return super.toString(); | ||
315 | |||
316 | StringBuilder result = new StringBuilder(super.toString()); | ||
317 | result.append(" (name: "); | ||
318 | result.append(name); | ||
319 | result.append(')'); | ||
320 | return result.toString(); | ||
321 | } | ||
322 | |||
323 | } //ComponentDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java index 5966e55c..d1c22199 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java | |||
@@ -4,9 +4,10 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; |
9 | 8 | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
10 | |||
10 | import org.eclipse.emf.common.notify.Notification; | 11 | import org.eclipse.emf.common.notify.Notification; |
11 | 12 | ||
12 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDeclarationImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDeclarationImpl.java deleted file mode 100644 index c9964c20..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDeclarationImpl.java +++ /dev/null | |||
@@ -1,180 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Event Declaration</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventDeclarationImpl#getName <em>Name</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class EventDeclarationImpl extends MinimalEObjectImpl.Container implements EventDeclaration | ||
30 | { | ||
31 | /** | ||
32 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getName() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected static final String NAME_EDEFAULT = null; | ||
40 | |||
41 | /** | ||
42 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getName() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected String name = NAME_EDEFAULT; | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | protected EventDeclarationImpl() | ||
57 | { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() | ||
68 | { | ||
69 | return CftLanguagePackage.Literals.EVENT_DECLARATION; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public String getName() | ||
79 | { | ||
80 | return name; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public void setName(String newName) | ||
90 | { | ||
91 | String oldName = name; | ||
92 | name = newName; | ||
93 | if (eNotificationRequired()) | ||
94 | eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.EVENT_DECLARATION__NAME, oldName, name)); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case CftLanguagePackage.EVENT_DECLARATION__NAME: | ||
108 | return getName(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @Override | ||
119 | public void eSet(int featureID, Object newValue) | ||
120 | { | ||
121 | switch (featureID) | ||
122 | { | ||
123 | case CftLanguagePackage.EVENT_DECLARATION__NAME: | ||
124 | setName((String)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) | ||
137 | { | ||
138 | switch (featureID) | ||
139 | { | ||
140 | case CftLanguagePackage.EVENT_DECLARATION__NAME: | ||
141 | setName(NAME_EDEFAULT); | ||
142 | return; | ||
143 | } | ||
144 | super.eUnset(featureID); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public boolean eIsSet(int featureID) | ||
154 | { | ||
155 | switch (featureID) | ||
156 | { | ||
157 | case CftLanguagePackage.EVENT_DECLARATION__NAME: | ||
158 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
159 | } | ||
160 | return super.eIsSet(featureID); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public String toString() | ||
170 | { | ||
171 | if (eIsProxy()) return super.toString(); | ||
172 | |||
173 | StringBuilder result = new StringBuilder(super.toString()); | ||
174 | result.append(" (name: "); | ||
175 | result.append(name); | ||
176 | result.append(')'); | ||
177 | return result.toString(); | ||
178 | } | ||
179 | |||
180 | } //EventDeclarationImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDefinitionImpl.java deleted file mode 100644 index 0c03504b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventDefinitionImpl.java +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Event Definition</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class EventDefinitionImpl extends EventDeclarationImpl implements EventDefinition | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected EventDefinitionImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return CftLanguagePackage.Literals.EVENT_DEFINITION; | ||
39 | } | ||
40 | |||
41 | } //EventDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java index f10ae8a2..2f4835a3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java | |||
@@ -4,10 +4,11 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; |
10 | 9 | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
11 | |||
11 | import org.eclipse.emf.common.notify.Notification; | 12 | import org.eclipse.emf.common.notify.Notification; |
12 | 13 | ||
13 | import org.eclipse.emf.ecore.EClass; | 14 | import org.eclipse.emf.ecore.EClass; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/GateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/GateDefinitionImpl.java deleted file mode 100644 index 76b12fc2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/GateDefinitionImpl.java +++ /dev/null | |||
@@ -1,147 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.util.EList; | ||
13 | |||
14 | import org.eclipse.emf.ecore.EClass; | ||
15 | |||
16 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Gate Definition</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.GateDefinitionImpl#getInputEvents <em>Input Events</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class GateDefinitionImpl extends EventDefinitionImpl implements GateDefinition | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' reference list. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getInputEvents() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected EList<EventDeclaration> inputEvents; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected GateDefinitionImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return CftLanguagePackage.Literals.GATE_DEFINITION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | @Override | ||
70 | public EList<EventDeclaration> getInputEvents() | ||
71 | { | ||
72 | if (inputEvents == null) | ||
73 | { | ||
74 | inputEvents = new EObjectResolvingEList<EventDeclaration>(EventDeclaration.class, this, CftLanguagePackage.GATE_DEFINITION__INPUT_EVENTS); | ||
75 | } | ||
76 | return inputEvents; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
86 | { | ||
87 | switch (featureID) | ||
88 | { | ||
89 | case CftLanguagePackage.GATE_DEFINITION__INPUT_EVENTS: | ||
90 | return getInputEvents(); | ||
91 | } | ||
92 | return super.eGet(featureID, resolve, coreType); | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | @SuppressWarnings("unchecked") | ||
101 | @Override | ||
102 | public void eSet(int featureID, Object newValue) | ||
103 | { | ||
104 | switch (featureID) | ||
105 | { | ||
106 | case CftLanguagePackage.GATE_DEFINITION__INPUT_EVENTS: | ||
107 | getInputEvents().clear(); | ||
108 | getInputEvents().addAll((Collection<? extends EventDeclaration>)newValue); | ||
109 | return; | ||
110 | } | ||
111 | super.eSet(featureID, newValue); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public void eUnset(int featureID) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case CftLanguagePackage.GATE_DEFINITION__INPUT_EVENTS: | ||
125 | getInputEvents().clear(); | ||
126 | return; | ||
127 | } | ||
128 | super.eUnset(featureID); | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public boolean eIsSet(int featureID) | ||
138 | { | ||
139 | switch (featureID) | ||
140 | { | ||
141 | case CftLanguagePackage.GATE_DEFINITION__INPUT_EVENTS: | ||
142 | return inputEvents != null && !inputEvents.isEmpty(); | ||
143 | } | ||
144 | return super.eIsSet(featureID); | ||
145 | } | ||
146 | |||
147 | } //GateDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/InputEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/InputEventImpl.java deleted file mode 100644 index edb03bdc..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/InputEventImpl.java +++ /dev/null | |||
@@ -1,179 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Input Event</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.InputEventImpl#isMultiple <em>Multiple</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class InputEventImpl extends EventDeclarationImpl implements InputEvent | ||
29 | { | ||
30 | /** | ||
31 | * The default value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #isMultiple() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final boolean MULTIPLE_EDEFAULT = false; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #isMultiple() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected boolean multiple = MULTIPLE_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected InputEventImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return CftLanguagePackage.Literals.INPUT_EVENT; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public boolean isMultiple() | ||
78 | { | ||
79 | return multiple; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public void setMultiple(boolean newMultiple) | ||
89 | { | ||
90 | boolean oldMultiple = multiple; | ||
91 | multiple = newMultiple; | ||
92 | if (eNotificationRequired()) | ||
93 | eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.INPUT_EVENT__MULTIPLE, oldMultiple, multiple)); | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | @Override | ||
102 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
103 | { | ||
104 | switch (featureID) | ||
105 | { | ||
106 | case CftLanguagePackage.INPUT_EVENT__MULTIPLE: | ||
107 | return isMultiple(); | ||
108 | } | ||
109 | return super.eGet(featureID, resolve, coreType); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eSet(int featureID, Object newValue) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case CftLanguagePackage.INPUT_EVENT__MULTIPLE: | ||
123 | setMultiple((Boolean)newValue); | ||
124 | return; | ||
125 | } | ||
126 | super.eSet(featureID, newValue); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public void eUnset(int featureID) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case CftLanguagePackage.INPUT_EVENT__MULTIPLE: | ||
140 | setMultiple(MULTIPLE_EDEFAULT); | ||
141 | return; | ||
142 | } | ||
143 | super.eUnset(featureID); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public boolean eIsSet(int featureID) | ||
153 | { | ||
154 | switch (featureID) | ||
155 | { | ||
156 | case CftLanguagePackage.INPUT_EVENT__MULTIPLE: | ||
157 | return multiple != MULTIPLE_EDEFAULT; | ||
158 | } | ||
159 | return super.eIsSet(featureID); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public String toString() | ||
169 | { | ||
170 | if (eIsProxy()) return super.toString(); | ||
171 | |||
172 | StringBuilder result = new StringBuilder(super.toString()); | ||
173 | result.append(" (multiple: "); | ||
174 | result.append(multiple); | ||
175 | result.append(')'); | ||
176 | return result.toString(); | ||
177 | } | ||
178 | |||
179 | } //InputEventImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/OrGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/OrGateImpl.java deleted file mode 100644 index eaaf1686..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/OrGateImpl.java +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Or Gate</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class OrGateImpl extends GateDefinitionImpl implements OrGate | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected OrGateImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return CftLanguagePackage.Literals.OR_GATE; | ||
39 | } | ||
40 | |||
41 | } //OrGateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java index 035b1191..99fa656d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java | |||
@@ -86,46 +86,6 @@ public class CftLanguageAdapterFactory extends AdapterFactoryImpl | |||
86 | return createImportDeclarationAdapter(); | 86 | return createImportDeclarationAdapter(); |
87 | } | 87 | } |
88 | @Override | 88 | @Override |
89 | public Adapter caseComponentDefinition(ComponentDefinition object) | ||
90 | { | ||
91 | return createComponentDefinitionAdapter(); | ||
92 | } | ||
93 | @Override | ||
94 | public Adapter caseEventDeclaration(EventDeclaration object) | ||
95 | { | ||
96 | return createEventDeclarationAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseInputEvent(InputEvent object) | ||
100 | { | ||
101 | return createInputEventAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseEventDefinition(EventDefinition object) | ||
105 | { | ||
106 | return createEventDefinitionAdapter(); | ||
107 | } | ||
108 | @Override | ||
109 | public Adapter caseBasicEventDefinition(BasicEventDefinition object) | ||
110 | { | ||
111 | return createBasicEventDefinitionAdapter(); | ||
112 | } | ||
113 | @Override | ||
114 | public Adapter caseGateDefinition(GateDefinition object) | ||
115 | { | ||
116 | return createGateDefinitionAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseAndGate(AndGate object) | ||
120 | { | ||
121 | return createAndGateAdapter(); | ||
122 | } | ||
123 | @Override | ||
124 | public Adapter caseOrGate(OrGate object) | ||
125 | { | ||
126 | return createOrGateAdapter(); | ||
127 | } | ||
128 | @Override | ||
129 | public Adapter caseTransformationDefinition(TransformationDefinition object) | 89 | public Adapter caseTransformationDefinition(TransformationDefinition object) |
130 | { | 90 | { |
131 | return createTransformationDefinitionAdapter(); | 91 | return createTransformationDefinitionAdapter(); |
@@ -218,126 +178,6 @@ public class CftLanguageAdapterFactory extends AdapterFactoryImpl | |||
218 | } | 178 | } |
219 | 179 | ||
220 | /** | 180 | /** |
221 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition <em>Component Definition</em>}'. | ||
222 | * <!-- begin-user-doc --> | ||
223 | * This default implementation returns null so that we can easily ignore cases; | ||
224 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
225 | * <!-- end-user-doc --> | ||
226 | * @return the new adapter. | ||
227 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition | ||
228 | * @generated | ||
229 | */ | ||
230 | public Adapter createComponentDefinitionAdapter() | ||
231 | { | ||
232 | return null; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration <em>Event Declaration</em>}'. | ||
237 | * <!-- begin-user-doc --> | ||
238 | * This default implementation returns null so that we can easily ignore cases; | ||
239 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
240 | * <!-- end-user-doc --> | ||
241 | * @return the new adapter. | ||
242 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration | ||
243 | * @generated | ||
244 | */ | ||
245 | public Adapter createEventDeclarationAdapter() | ||
246 | { | ||
247 | return null; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent <em>Input Event</em>}'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * This default implementation returns null so that we can easily ignore cases; | ||
254 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
255 | * <!-- end-user-doc --> | ||
256 | * @return the new adapter. | ||
257 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent | ||
258 | * @generated | ||
259 | */ | ||
260 | public Adapter createInputEventAdapter() | ||
261 | { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition <em>Event Definition</em>}'. | ||
267 | * <!-- begin-user-doc --> | ||
268 | * This default implementation returns null so that we can easily ignore cases; | ||
269 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
270 | * <!-- end-user-doc --> | ||
271 | * @return the new adapter. | ||
272 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition | ||
273 | * @generated | ||
274 | */ | ||
275 | public Adapter createEventDefinitionAdapter() | ||
276 | { | ||
277 | return null; | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
282 | * <!-- begin-user-doc --> | ||
283 | * This default implementation returns null so that we can easily ignore cases; | ||
284 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
285 | * <!-- end-user-doc --> | ||
286 | * @return the new adapter. | ||
287 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition | ||
288 | * @generated | ||
289 | */ | ||
290 | public Adapter createBasicEventDefinitionAdapter() | ||
291 | { | ||
292 | return null; | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition <em>Gate Definition</em>}'. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * This default implementation returns null so that we can easily ignore cases; | ||
299 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
300 | * <!-- end-user-doc --> | ||
301 | * @return the new adapter. | ||
302 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition | ||
303 | * @generated | ||
304 | */ | ||
305 | public Adapter createGateDefinitionAdapter() | ||
306 | { | ||
307 | return null; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate <em>And Gate</em>}'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This default implementation returns null so that we can easily ignore cases; | ||
314 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @return the new adapter. | ||
317 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate | ||
318 | * @generated | ||
319 | */ | ||
320 | public Adapter createAndGateAdapter() | ||
321 | { | ||
322 | return null; | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate <em>Or Gate</em>}'. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * This default implementation returns null so that we can easily ignore cases; | ||
329 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
330 | * <!-- end-user-doc --> | ||
331 | * @return the new adapter. | ||
332 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate | ||
333 | * @generated | ||
334 | */ | ||
335 | public Adapter createOrGateAdapter() | ||
336 | { | ||
337 | return null; | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'. | 181 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'. |
342 | * <!-- begin-user-doc --> | 182 | * <!-- begin-user-doc --> |
343 | * This default implementation returns null so that we can easily ignore cases; | 183 | * This default implementation returns null so that we can easily ignore cases; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java index 29266601..b3de106b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java | |||
@@ -87,74 +87,6 @@ public class CftLanguageSwitch<T> extends Switch<T> | |||
87 | if (result == null) result = defaultCase(theEObject); | 87 | if (result == null) result = defaultCase(theEObject); |
88 | return result; | 88 | return result; |
89 | } | 89 | } |
90 | case CftLanguagePackage.COMPONENT_DEFINITION: | ||
91 | { | ||
92 | ComponentDefinition componentDefinition = (ComponentDefinition)theEObject; | ||
93 | T result = caseComponentDefinition(componentDefinition); | ||
94 | if (result == null) result = defaultCase(theEObject); | ||
95 | return result; | ||
96 | } | ||
97 | case CftLanguagePackage.EVENT_DECLARATION: | ||
98 | { | ||
99 | EventDeclaration eventDeclaration = (EventDeclaration)theEObject; | ||
100 | T result = caseEventDeclaration(eventDeclaration); | ||
101 | if (result == null) result = defaultCase(theEObject); | ||
102 | return result; | ||
103 | } | ||
104 | case CftLanguagePackage.INPUT_EVENT: | ||
105 | { | ||
106 | InputEvent inputEvent = (InputEvent)theEObject; | ||
107 | T result = caseInputEvent(inputEvent); | ||
108 | if (result == null) result = caseEventDeclaration(inputEvent); | ||
109 | if (result == null) result = defaultCase(theEObject); | ||
110 | return result; | ||
111 | } | ||
112 | case CftLanguagePackage.EVENT_DEFINITION: | ||
113 | { | ||
114 | EventDefinition eventDefinition = (EventDefinition)theEObject; | ||
115 | T result = caseEventDefinition(eventDefinition); | ||
116 | if (result == null) result = caseEventDeclaration(eventDefinition); | ||
117 | if (result == null) result = defaultCase(theEObject); | ||
118 | return result; | ||
119 | } | ||
120 | case CftLanguagePackage.BASIC_EVENT_DEFINITION: | ||
121 | { | ||
122 | BasicEventDefinition basicEventDefinition = (BasicEventDefinition)theEObject; | ||
123 | T result = caseBasicEventDefinition(basicEventDefinition); | ||
124 | if (result == null) result = caseEventDefinition(basicEventDefinition); | ||
125 | if (result == null) result = caseEventDeclaration(basicEventDefinition); | ||
126 | if (result == null) result = defaultCase(theEObject); | ||
127 | return result; | ||
128 | } | ||
129 | case CftLanguagePackage.GATE_DEFINITION: | ||
130 | { | ||
131 | GateDefinition gateDefinition = (GateDefinition)theEObject; | ||
132 | T result = caseGateDefinition(gateDefinition); | ||
133 | if (result == null) result = caseEventDefinition(gateDefinition); | ||
134 | if (result == null) result = caseEventDeclaration(gateDefinition); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case CftLanguagePackage.AND_GATE: | ||
139 | { | ||
140 | AndGate andGate = (AndGate)theEObject; | ||
141 | T result = caseAndGate(andGate); | ||
142 | if (result == null) result = caseGateDefinition(andGate); | ||
143 | if (result == null) result = caseEventDefinition(andGate); | ||
144 | if (result == null) result = caseEventDeclaration(andGate); | ||
145 | if (result == null) result = defaultCase(theEObject); | ||
146 | return result; | ||
147 | } | ||
148 | case CftLanguagePackage.OR_GATE: | ||
149 | { | ||
150 | OrGate orGate = (OrGate)theEObject; | ||
151 | T result = caseOrGate(orGate); | ||
152 | if (result == null) result = caseGateDefinition(orGate); | ||
153 | if (result == null) result = caseEventDefinition(orGate); | ||
154 | if (result == null) result = caseEventDeclaration(orGate); | ||
155 | if (result == null) result = defaultCase(theEObject); | ||
156 | return result; | ||
157 | } | ||
158 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: | 90 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: |
159 | { | 91 | { |
160 | TransformationDefinition transformationDefinition = (TransformationDefinition)theEObject; | 92 | TransformationDefinition transformationDefinition = (TransformationDefinition)theEObject; |
@@ -250,134 +182,6 @@ public class CftLanguageSwitch<T> extends Switch<T> | |||
250 | } | 182 | } |
251 | 183 | ||
252 | /** | 184 | /** |
253 | * Returns the result of interpreting the object as an instance of '<em>Component Definition</em>'. | ||
254 | * <!-- begin-user-doc --> | ||
255 | * This implementation returns null; | ||
256 | * returning a non-null result will terminate the switch. | ||
257 | * <!-- end-user-doc --> | ||
258 | * @param object the target of the switch. | ||
259 | * @return the result of interpreting the object as an instance of '<em>Component Definition</em>'. | ||
260 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
261 | * @generated | ||
262 | */ | ||
263 | public T caseComponentDefinition(ComponentDefinition object) | ||
264 | { | ||
265 | return null; | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * Returns the result of interpreting the object as an instance of '<em>Event Declaration</em>'. | ||
270 | * <!-- begin-user-doc --> | ||
271 | * This implementation returns null; | ||
272 | * returning a non-null result will terminate the switch. | ||
273 | * <!-- end-user-doc --> | ||
274 | * @param object the target of the switch. | ||
275 | * @return the result of interpreting the object as an instance of '<em>Event Declaration</em>'. | ||
276 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
277 | * @generated | ||
278 | */ | ||
279 | public T caseEventDeclaration(EventDeclaration object) | ||
280 | { | ||
281 | return null; | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * Returns the result of interpreting the object as an instance of '<em>Input Event</em>'. | ||
286 | * <!-- begin-user-doc --> | ||
287 | * This implementation returns null; | ||
288 | * returning a non-null result will terminate the switch. | ||
289 | * <!-- end-user-doc --> | ||
290 | * @param object the target of the switch. | ||
291 | * @return the result of interpreting the object as an instance of '<em>Input Event</em>'. | ||
292 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
293 | * @generated | ||
294 | */ | ||
295 | public T caseInputEvent(InputEvent object) | ||
296 | { | ||
297 | return null; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * Returns the result of interpreting the object as an instance of '<em>Event Definition</em>'. | ||
302 | * <!-- begin-user-doc --> | ||
303 | * This implementation returns null; | ||
304 | * returning a non-null result will terminate the switch. | ||
305 | * <!-- end-user-doc --> | ||
306 | * @param object the target of the switch. | ||
307 | * @return the result of interpreting the object as an instance of '<em>Event Definition</em>'. | ||
308 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
309 | * @generated | ||
310 | */ | ||
311 | public T caseEventDefinition(EventDefinition object) | ||
312 | { | ||
313 | return null; | ||
314 | } | ||
315 | |||
316 | /** | ||
317 | * Returns the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'. | ||
318 | * <!-- begin-user-doc --> | ||
319 | * This implementation returns null; | ||
320 | * returning a non-null result will terminate the switch. | ||
321 | * <!-- end-user-doc --> | ||
322 | * @param object the target of the switch. | ||
323 | * @return the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'. | ||
324 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
325 | * @generated | ||
326 | */ | ||
327 | public T caseBasicEventDefinition(BasicEventDefinition object) | ||
328 | { | ||
329 | return null; | ||
330 | } | ||
331 | |||
332 | /** | ||
333 | * Returns the result of interpreting the object as an instance of '<em>Gate Definition</em>'. | ||
334 | * <!-- begin-user-doc --> | ||
335 | * This implementation returns null; | ||
336 | * returning a non-null result will terminate the switch. | ||
337 | * <!-- end-user-doc --> | ||
338 | * @param object the target of the switch. | ||
339 | * @return the result of interpreting the object as an instance of '<em>Gate Definition</em>'. | ||
340 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
341 | * @generated | ||
342 | */ | ||
343 | public T caseGateDefinition(GateDefinition object) | ||
344 | { | ||
345 | return null; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * Returns the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
350 | * <!-- begin-user-doc --> | ||
351 | * This implementation returns null; | ||
352 | * returning a non-null result will terminate the switch. | ||
353 | * <!-- end-user-doc --> | ||
354 | * @param object the target of the switch. | ||
355 | * @return the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
356 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
357 | * @generated | ||
358 | */ | ||
359 | public T caseAndGate(AndGate object) | ||
360 | { | ||
361 | return null; | ||
362 | } | ||
363 | |||
364 | /** | ||
365 | * Returns the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
366 | * <!-- begin-user-doc --> | ||
367 | * This implementation returns null; | ||
368 | * returning a non-null result will terminate the switch. | ||
369 | * <!-- end-user-doc --> | ||
370 | * @param object the target of the switch. | ||
371 | * @return the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
372 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
373 | * @generated | ||
374 | */ | ||
375 | public T caseOrGate(OrGate object) | ||
376 | { | ||
377 | return null; | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * Returns the result of interpreting the object as an instance of '<em>Transformation Definition</em>'. | 185 | * Returns the result of interpreting the object as an instance of '<em>Transformation Definition</em>'. |
382 | * <!-- begin-user-doc --> | 186 | * <!-- begin-user-doc --> |
383 | * This implementation returns null; | 187 | * This implementation returns null; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g index ff509b0a..2d1b9490 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g | |||
@@ -238,19 +238,20 @@ ruleComponentDefinition returns [EObject current=null] | |||
238 | } | 238 | } |
239 | ( | 239 | ( |
240 | ( | 240 | ( |
241 | lv_name_1_0=RULE_ID | ||
242 | { | 241 | { |
243 | newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 242 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
244 | } | 243 | } |
244 | lv_name_1_0=ruleValidId | ||
245 | { | 245 | { |
246 | if ($current==null) { | 246 | if ($current==null) { |
247 | $current = createModelElement(grammarAccess.getComponentDefinitionRule()); | 247 | $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); |
248 | } | 248 | } |
249 | setWithLastConsumed( | 249 | set( |
250 | $current, | 250 | $current, |
251 | "name", | 251 | "name", |
252 | lv_name_1_0, | 252 | lv_name_1_0, |
253 | "org.eclipse.xtext.common.Terminals.ID"); | 253 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
254 | afterParserOrEnumRuleCall(); | ||
254 | } | 255 | } |
255 | ) | 256 | ) |
256 | ) | 257 | ) |
@@ -319,9 +320,12 @@ ruleComponentDefinition returns [EObject current=null] | |||
319 | $current = createModelElement(grammarAccess.getComponentDefinitionRule()); | 320 | $current = createModelElement(grammarAccess.getComponentDefinitionRule()); |
320 | } | 321 | } |
321 | } | 322 | } |
322 | otherlv_8=RULE_ID | ||
323 | { | 323 | { |
324 | newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); | 324 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); |
325 | } | ||
326 | ruleValidId | ||
327 | { | ||
328 | afterParserOrEnumRuleCall(); | ||
325 | } | 329 | } |
326 | ) | 330 | ) |
327 | )* | 331 | )* |
@@ -392,19 +396,20 @@ ruleInputEvent returns [EObject current=null] | |||
392 | ( | 396 | ( |
393 | ( | 397 | ( |
394 | ( | 398 | ( |
395 | lv_name_0_0=RULE_ID | ||
396 | { | 399 | { |
397 | newLeafNode(lv_name_0_0, grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); | 400 | newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); |
398 | } | 401 | } |
402 | lv_name_0_0=ruleValidId | ||
399 | { | 403 | { |
400 | if ($current==null) { | 404 | if ($current==null) { |
401 | $current = createModelElement(grammarAccess.getInputEventRule()); | 405 | $current = createModelElementForParent(grammarAccess.getInputEventRule()); |
402 | } | 406 | } |
403 | setWithLastConsumed( | 407 | set( |
404 | $current, | 408 | $current, |
405 | "name", | 409 | "name", |
406 | lv_name_0_0, | 410 | lv_name_0_0, |
407 | "org.eclipse.xtext.common.Terminals.ID"); | 411 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
412 | afterParserOrEnumRuleCall(); | ||
408 | } | 413 | } |
409 | ) | 414 | ) |
410 | ) | 415 | ) |
@@ -479,45 +484,167 @@ ruleBasicEventDefinition returns [EObject current=null] | |||
479 | ( | 484 | ( |
480 | ( | 485 | ( |
481 | ( | 486 | ( |
482 | lv_name_0_0=RULE_ID | ||
483 | { | 487 | { |
484 | newLeafNode(lv_name_0_0, grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); | 488 | newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
485 | } | 489 | } |
490 | lv_name_0_0=ruleValidId | ||
486 | { | 491 | { |
487 | if ($current==null) { | 492 | if ($current==null) { |
488 | $current = createModelElement(grammarAccess.getBasicEventDefinitionRule()); | 493 | $current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); |
489 | } | 494 | } |
490 | setWithLastConsumed( | 495 | set( |
491 | $current, | 496 | $current, |
492 | "name", | 497 | "name", |
493 | lv_name_0_0, | 498 | lv_name_0_0, |
494 | "org.eclipse.xtext.common.Terminals.ID"); | 499 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
500 | afterParserOrEnumRuleCall(); | ||
501 | } | ||
502 | ) | ||
503 | ) | ||
504 | ( | ||
505 | ( | ||
506 | { | ||
507 | newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); | ||
508 | } | ||
509 | lv_distribution_1_0=ruleDistribution | ||
510 | { | ||
511 | if ($current==null) { | ||
512 | $current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); | ||
513 | } | ||
514 | set( | ||
515 | $current, | ||
516 | "distribution", | ||
517 | lv_distribution_1_0, | ||
518 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); | ||
519 | afterParserOrEnumRuleCall(); | ||
495 | } | 520 | } |
496 | ) | 521 | ) |
497 | ) | 522 | ) |
498 | otherlv_1='lambda' | 523 | ) |
524 | ; | ||
525 | |||
526 | // Entry rule entryRuleDistribution | ||
527 | entryRuleDistribution returns [EObject current=null]: | ||
528 | { newCompositeNode(grammarAccess.getDistributionRule()); } | ||
529 | iv_ruleDistribution=ruleDistribution | ||
530 | { $current=$iv_ruleDistribution.current; } | ||
531 | EOF; | ||
532 | |||
533 | // Rule Distribution | ||
534 | ruleDistribution returns [EObject current=null] | ||
535 | @init { | ||
536 | enterRule(); | ||
537 | } | ||
538 | @after { | ||
539 | leaveRule(); | ||
540 | }: | ||
541 | ( | ||
542 | { | ||
543 | newCompositeNode(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); | ||
544 | } | ||
545 | this_ConstantDistribution_0=ruleConstantDistribution | ||
546 | { | ||
547 | $current = $this_ConstantDistribution_0.current; | ||
548 | afterParserOrEnumRuleCall(); | ||
549 | } | ||
550 | | | ||
551 | { | ||
552 | newCompositeNode(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); | ||
553 | } | ||
554 | this_ExponentialDistribution_1=ruleExponentialDistribution | ||
555 | { | ||
556 | $current = $this_ExponentialDistribution_1.current; | ||
557 | afterParserOrEnumRuleCall(); | ||
558 | } | ||
559 | ) | ||
560 | ; | ||
561 | |||
562 | // Entry rule entryRuleConstantDistribution | ||
563 | entryRuleConstantDistribution returns [EObject current=null]: | ||
564 | { newCompositeNode(grammarAccess.getConstantDistributionRule()); } | ||
565 | iv_ruleConstantDistribution=ruleConstantDistribution | ||
566 | { $current=$iv_ruleConstantDistribution.current; } | ||
567 | EOF; | ||
568 | |||
569 | // Rule ConstantDistribution | ||
570 | ruleConstantDistribution returns [EObject current=null] | ||
571 | @init { | ||
572 | enterRule(); | ||
573 | } | ||
574 | @after { | ||
575 | leaveRule(); | ||
576 | }: | ||
577 | ( | ||
578 | otherlv_0='p' | ||
499 | { | 579 | { |
500 | newLeafNode(otherlv_1, grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); | 580 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); |
501 | } | 581 | } |
502 | otherlv_2='=' | 582 | otherlv_1='=' |
503 | { | 583 | { |
504 | newLeafNode(otherlv_2, grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); | 584 | newLeafNode(otherlv_1, grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); |
505 | } | 585 | } |
506 | ( | 586 | ( |
507 | ( | 587 | ( |
508 | lv_rate_3_0=RULE_DOULBE | ||
509 | { | 588 | { |
510 | newLeafNode(lv_rate_3_0, grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); | 589 | newCompositeNode(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); |
511 | } | 590 | } |
591 | lv_p_2_0=ruleDouble | ||
512 | { | 592 | { |
513 | if ($current==null) { | 593 | if ($current==null) { |
514 | $current = createModelElement(grammarAccess.getBasicEventDefinitionRule()); | 594 | $current = createModelElementForParent(grammarAccess.getConstantDistributionRule()); |
515 | } | 595 | } |
516 | setWithLastConsumed( | 596 | set( |
597 | $current, | ||
598 | "p", | ||
599 | lv_p_2_0, | ||
600 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); | ||
601 | afterParserOrEnumRuleCall(); | ||
602 | } | ||
603 | ) | ||
604 | ) | ||
605 | ) | ||
606 | ; | ||
607 | |||
608 | // Entry rule entryRuleExponentialDistribution | ||
609 | entryRuleExponentialDistribution returns [EObject current=null]: | ||
610 | { newCompositeNode(grammarAccess.getExponentialDistributionRule()); } | ||
611 | iv_ruleExponentialDistribution=ruleExponentialDistribution | ||
612 | { $current=$iv_ruleExponentialDistribution.current; } | ||
613 | EOF; | ||
614 | |||
615 | // Rule ExponentialDistribution | ||
616 | ruleExponentialDistribution returns [EObject current=null] | ||
617 | @init { | ||
618 | enterRule(); | ||
619 | } | ||
620 | @after { | ||
621 | leaveRule(); | ||
622 | }: | ||
623 | ( | ||
624 | otherlv_0='lambda' | ||
625 | { | ||
626 | newLeafNode(otherlv_0, grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); | ||
627 | } | ||
628 | otherlv_1='=' | ||
629 | { | ||
630 | newLeafNode(otherlv_1, grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); | ||
631 | } | ||
632 | ( | ||
633 | ( | ||
634 | { | ||
635 | newCompositeNode(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); | ||
636 | } | ||
637 | lv_lambda_2_0=ruleDouble | ||
638 | { | ||
639 | if ($current==null) { | ||
640 | $current = createModelElementForParent(grammarAccess.getExponentialDistributionRule()); | ||
641 | } | ||
642 | set( | ||
517 | $current, | 643 | $current, |
518 | "rate", | 644 | "lambda", |
519 | lv_rate_3_0, | 645 | lv_lambda_2_0, |
520 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.DOULBE"); | 646 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); |
647 | afterParserOrEnumRuleCall(); | ||
521 | } | 648 | } |
522 | ) | 649 | ) |
523 | ) | 650 | ) |
@@ -541,34 +668,43 @@ ruleGateDefinition returns [EObject current=null] | |||
541 | }: | 668 | }: |
542 | ( | 669 | ( |
543 | { | 670 | { |
544 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); | 671 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); |
672 | } | ||
673 | this_AndGateDefinition_0=ruleAndGateDefinition | ||
674 | { | ||
675 | $current = $this_AndGateDefinition_0.current; | ||
676 | afterParserOrEnumRuleCall(); | ||
677 | } | ||
678 | | | ||
679 | { | ||
680 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); | ||
545 | } | 681 | } |
546 | this_AndGate_0=ruleAndGate | 682 | this_OrGateDefinition_1=ruleOrGateDefinition |
547 | { | 683 | { |
548 | $current = $this_AndGate_0.current; | 684 | $current = $this_OrGateDefinition_1.current; |
549 | afterParserOrEnumRuleCall(); | 685 | afterParserOrEnumRuleCall(); |
550 | } | 686 | } |
551 | | | 687 | | |
552 | { | 688 | { |
553 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); | 689 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); |
554 | } | 690 | } |
555 | this_OrGate_1=ruleOrGate | 691 | this_KOfMGateDefinition_2=ruleKOfMGateDefinition |
556 | { | 692 | { |
557 | $current = $this_OrGate_1.current; | 693 | $current = $this_KOfMGateDefinition_2.current; |
558 | afterParserOrEnumRuleCall(); | 694 | afterParserOrEnumRuleCall(); |
559 | } | 695 | } |
560 | ) | 696 | ) |
561 | ; | 697 | ; |
562 | 698 | ||
563 | // Entry rule entryRuleAndGate | 699 | // Entry rule entryRuleAndGateDefinition |
564 | entryRuleAndGate returns [EObject current=null]: | 700 | entryRuleAndGateDefinition returns [EObject current=null]: |
565 | { newCompositeNode(grammarAccess.getAndGateRule()); } | 701 | { newCompositeNode(grammarAccess.getAndGateDefinitionRule()); } |
566 | iv_ruleAndGate=ruleAndGate | 702 | iv_ruleAndGateDefinition=ruleAndGateDefinition |
567 | { $current=$iv_ruleAndGate.current; } | 703 | { $current=$iv_ruleAndGateDefinition.current; } |
568 | EOF; | 704 | EOF; |
569 | 705 | ||
570 | // Rule AndGate | 706 | // Rule AndGateDefinition |
571 | ruleAndGate returns [EObject current=null] | 707 | ruleAndGateDefinition returns [EObject current=null] |
572 | @init { | 708 | @init { |
573 | enterRule(); | 709 | enterRule(); |
574 | } | 710 | } |
@@ -578,51 +714,55 @@ ruleAndGate returns [EObject current=null] | |||
578 | ( | 714 | ( |
579 | ( | 715 | ( |
580 | ( | 716 | ( |
581 | lv_name_0_0=RULE_ID | ||
582 | { | 717 | { |
583 | newLeafNode(lv_name_0_0, grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); | 718 | newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
584 | } | 719 | } |
720 | lv_name_0_0=ruleValidId | ||
585 | { | 721 | { |
586 | if ($current==null) { | 722 | if ($current==null) { |
587 | $current = createModelElement(grammarAccess.getAndGateRule()); | 723 | $current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule()); |
588 | } | 724 | } |
589 | setWithLastConsumed( | 725 | set( |
590 | $current, | 726 | $current, |
591 | "name", | 727 | "name", |
592 | lv_name_0_0, | 728 | lv_name_0_0, |
593 | "org.eclipse.xtext.common.Terminals.ID"); | 729 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
730 | afterParserOrEnumRuleCall(); | ||
594 | } | 731 | } |
595 | ) | 732 | ) |
596 | ) | 733 | ) |
597 | otherlv_1='and' | 734 | otherlv_1='and' |
598 | { | 735 | { |
599 | newLeafNode(otherlv_1, grammarAccess.getAndGateAccess().getAndKeyword_1()); | 736 | newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); |
600 | } | 737 | } |
601 | ( | 738 | ( |
602 | ( | 739 | ( |
603 | { | 740 | { |
604 | if ($current==null) { | 741 | if ($current==null) { |
605 | $current = createModelElement(grammarAccess.getAndGateRule()); | 742 | $current = createModelElement(grammarAccess.getAndGateDefinitionRule()); |
606 | } | 743 | } |
607 | } | 744 | } |
608 | otherlv_2=RULE_ID | ||
609 | { | 745 | { |
610 | newLeafNode(otherlv_2, grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 746 | newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
747 | } | ||
748 | ruleValidId | ||
749 | { | ||
750 | afterParserOrEnumRuleCall(); | ||
611 | } | 751 | } |
612 | ) | 752 | ) |
613 | )* | 753 | )* |
614 | ) | 754 | ) |
615 | ; | 755 | ; |
616 | 756 | ||
617 | // Entry rule entryRuleOrGate | 757 | // Entry rule entryRuleOrGateDefinition |
618 | entryRuleOrGate returns [EObject current=null]: | 758 | entryRuleOrGateDefinition returns [EObject current=null]: |
619 | { newCompositeNode(grammarAccess.getOrGateRule()); } | 759 | { newCompositeNode(grammarAccess.getOrGateDefinitionRule()); } |
620 | iv_ruleOrGate=ruleOrGate | 760 | iv_ruleOrGateDefinition=ruleOrGateDefinition |
621 | { $current=$iv_ruleOrGate.current; } | 761 | { $current=$iv_ruleOrGateDefinition.current; } |
622 | EOF; | 762 | EOF; |
623 | 763 | ||
624 | // Rule OrGate | 764 | // Rule OrGateDefinition |
625 | ruleOrGate returns [EObject current=null] | 765 | ruleOrGateDefinition returns [EObject current=null] |
626 | @init { | 766 | @init { |
627 | enterRule(); | 767 | enterRule(); |
628 | } | 768 | } |
@@ -632,36 +772,157 @@ ruleOrGate returns [EObject current=null] | |||
632 | ( | 772 | ( |
633 | ( | 773 | ( |
634 | ( | 774 | ( |
635 | lv_name_0_0=RULE_ID | ||
636 | { | 775 | { |
637 | newLeafNode(lv_name_0_0, grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); | 776 | newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
638 | } | 777 | } |
778 | lv_name_0_0=ruleValidId | ||
639 | { | 779 | { |
640 | if ($current==null) { | 780 | if ($current==null) { |
641 | $current = createModelElement(grammarAccess.getOrGateRule()); | 781 | $current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule()); |
642 | } | 782 | } |
643 | setWithLastConsumed( | 783 | set( |
644 | $current, | 784 | $current, |
645 | "name", | 785 | "name", |
646 | lv_name_0_0, | 786 | lv_name_0_0, |
647 | "org.eclipse.xtext.common.Terminals.ID"); | 787 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
788 | afterParserOrEnumRuleCall(); | ||
648 | } | 789 | } |
649 | ) | 790 | ) |
650 | ) | 791 | ) |
651 | otherlv_1='or' | 792 | otherlv_1='or' |
652 | { | 793 | { |
653 | newLeafNode(otherlv_1, grammarAccess.getOrGateAccess().getOrKeyword_1()); | 794 | newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); |
654 | } | 795 | } |
655 | ( | 796 | ( |
656 | ( | 797 | ( |
657 | { | 798 | { |
658 | if ($current==null) { | 799 | if ($current==null) { |
659 | $current = createModelElement(grammarAccess.getOrGateRule()); | 800 | $current = createModelElement(grammarAccess.getOrGateDefinitionRule()); |
660 | } | 801 | } |
661 | } | 802 | } |
662 | otherlv_2=RULE_ID | ||
663 | { | 803 | { |
664 | newLeafNode(otherlv_2, grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 804 | newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
805 | } | ||
806 | ruleValidId | ||
807 | { | ||
808 | afterParserOrEnumRuleCall(); | ||
809 | } | ||
810 | ) | ||
811 | )* | ||
812 | ) | ||
813 | ; | ||
814 | |||
815 | // Entry rule entryRuleKOfMGateDefinition | ||
816 | entryRuleKOfMGateDefinition returns [EObject current=null]: | ||
817 | { newCompositeNode(grammarAccess.getKOfMGateDefinitionRule()); } | ||
818 | iv_ruleKOfMGateDefinition=ruleKOfMGateDefinition | ||
819 | { $current=$iv_ruleKOfMGateDefinition.current; } | ||
820 | EOF; | ||
821 | |||
822 | // Rule KOfMGateDefinition | ||
823 | ruleKOfMGateDefinition returns [EObject current=null] | ||
824 | @init { | ||
825 | enterRule(); | ||
826 | } | ||
827 | @after { | ||
828 | leaveRule(); | ||
829 | }: | ||
830 | ( | ||
831 | ( | ||
832 | ( | ||
833 | { | ||
834 | newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
835 | } | ||
836 | lv_name_0_0=ruleValidId | ||
837 | { | ||
838 | if ($current==null) { | ||
839 | $current = createModelElementForParent(grammarAccess.getKOfMGateDefinitionRule()); | ||
840 | } | ||
841 | set( | ||
842 | $current, | ||
843 | "name", | ||
844 | lv_name_0_0, | ||
845 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); | ||
846 | afterParserOrEnumRuleCall(); | ||
847 | } | ||
848 | ) | ||
849 | ) | ||
850 | ( | ||
851 | ( | ||
852 | lv_k_1_0=RULE_INT | ||
853 | { | ||
854 | newLeafNode(lv_k_1_0, grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); | ||
855 | } | ||
856 | { | ||
857 | if ($current==null) { | ||
858 | $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
859 | } | ||
860 | setWithLastConsumed( | ||
861 | $current, | ||
862 | "k", | ||
863 | lv_k_1_0, | ||
864 | "org.eclipse.xtext.common.Terminals.INT"); | ||
865 | } | ||
866 | ) | ||
867 | ) | ||
868 | ( | ||
869 | ( | ||
870 | otherlv_2='of' | ||
871 | { | ||
872 | newLeafNode(otherlv_2, grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); | ||
873 | } | ||
874 | ( | ||
875 | ( | ||
876 | lv_m_3_0=RULE_INT | ||
877 | { | ||
878 | newLeafNode(lv_m_3_0, grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); | ||
879 | } | ||
880 | { | ||
881 | if ($current==null) { | ||
882 | $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
883 | } | ||
884 | setWithLastConsumed( | ||
885 | $current, | ||
886 | "m", | ||
887 | lv_m_3_0, | ||
888 | "org.eclipse.xtext.common.Terminals.INT"); | ||
889 | } | ||
890 | ) | ||
891 | ) | ||
892 | ) | ||
893 | | | ||
894 | ( | ||
895 | ( | ||
896 | lv_m_4_0=RULE_OF_INT | ||
897 | { | ||
898 | newLeafNode(lv_m_4_0, grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); | ||
899 | } | ||
900 | { | ||
901 | if ($current==null) { | ||
902 | $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
903 | } | ||
904 | setWithLastConsumed( | ||
905 | $current, | ||
906 | "m", | ||
907 | lv_m_4_0, | ||
908 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); | ||
909 | } | ||
910 | ) | ||
911 | ) | ||
912 | ) | ||
913 | ( | ||
914 | ( | ||
915 | { | ||
916 | if ($current==null) { | ||
917 | $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
918 | } | ||
919 | } | ||
920 | { | ||
921 | newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); | ||
922 | } | ||
923 | ruleValidId | ||
924 | { | ||
925 | afterParserOrEnumRuleCall(); | ||
665 | } | 926 | } |
666 | ) | 927 | ) |
667 | )* | 928 | )* |
@@ -690,19 +951,20 @@ ruleTransformationDefinition returns [EObject current=null] | |||
690 | } | 951 | } |
691 | ( | 952 | ( |
692 | ( | 953 | ( |
693 | lv_name_1_0=RULE_ID | ||
694 | { | 954 | { |
695 | newLeafNode(lv_name_1_0, grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 955 | newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
696 | } | 956 | } |
957 | lv_name_1_0=ruleValidId | ||
697 | { | 958 | { |
698 | if ($current==null) { | 959 | if ($current==null) { |
699 | $current = createModelElement(grammarAccess.getTransformationDefinitionRule()); | 960 | $current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); |
700 | } | 961 | } |
701 | setWithLastConsumed( | 962 | set( |
702 | $current, | 963 | $current, |
703 | "name", | 964 | "name", |
704 | lv_name_1_0, | 965 | lv_name_1_0, |
705 | "org.eclipse.xtext.common.Terminals.ID"); | 966 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
967 | afterParserOrEnumRuleCall(); | ||
706 | } | 968 | } |
707 | ) | 969 | ) |
708 | ) | 970 | ) |
@@ -934,19 +1196,20 @@ ruleMappingParameter returns [EObject current=null] | |||
934 | }: | 1196 | }: |
935 | ( | 1197 | ( |
936 | ( | 1198 | ( |
937 | lv_name_0_0=RULE_ID | ||
938 | { | 1199 | { |
939 | newLeafNode(lv_name_0_0, grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); | 1200 | newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); |
940 | } | 1201 | } |
1202 | lv_name_0_0=ruleValidId | ||
941 | { | 1203 | { |
942 | if ($current==null) { | 1204 | if ($current==null) { |
943 | $current = createModelElement(grammarAccess.getMappingParameterRule()); | 1205 | $current = createModelElementForParent(grammarAccess.getMappingParameterRule()); |
944 | } | 1206 | } |
945 | setWithLastConsumed( | 1207 | set( |
946 | $current, | 1208 | $current, |
947 | "name", | 1209 | "name", |
948 | lv_name_0_0, | 1210 | lv_name_0_0, |
949 | "org.eclipse.xtext.common.Terminals.ID"); | 1211 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
1212 | afterParserOrEnumRuleCall(); | ||
950 | } | 1213 | } |
951 | ) | 1214 | ) |
952 | ) | 1215 | ) |
@@ -979,9 +1242,12 @@ ruleLookupDefinition returns [EObject current=null] | |||
979 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 1242 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
980 | } | 1243 | } |
981 | } | 1244 | } |
982 | otherlv_1=RULE_ID | ||
983 | { | 1245 | { |
984 | newLeafNode(otherlv_1, grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); | 1246 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); |
1247 | } | ||
1248 | ruleQualifiedName | ||
1249 | { | ||
1250 | afterParserOrEnumRuleCall(); | ||
985 | } | 1251 | } |
986 | ) | 1252 | ) |
987 | ) | 1253 | ) |
@@ -996,9 +1262,12 @@ ruleLookupDefinition returns [EObject current=null] | |||
996 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 1262 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
997 | } | 1263 | } |
998 | } | 1264 | } |
999 | otherlv_3=RULE_ID | ||
1000 | { | 1265 | { |
1001 | newLeafNode(otherlv_3, grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); | 1266 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); |
1267 | } | ||
1268 | ruleValidId | ||
1269 | { | ||
1270 | afterParserOrEnumRuleCall(); | ||
1002 | } | 1271 | } |
1003 | ) | 1272 | ) |
1004 | ) | 1273 | ) |
@@ -1014,9 +1283,12 @@ ruleLookupDefinition returns [EObject current=null] | |||
1014 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 1283 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
1015 | } | 1284 | } |
1016 | } | 1285 | } |
1017 | otherlv_5=RULE_ID | ||
1018 | { | 1286 | { |
1019 | newLeafNode(otherlv_5, grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); | 1287 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); |
1288 | } | ||
1289 | ruleValidId | ||
1290 | { | ||
1291 | afterParserOrEnumRuleCall(); | ||
1020 | } | 1292 | } |
1021 | ) | 1293 | ) |
1022 | ) | 1294 | ) |
@@ -1031,19 +1303,20 @@ ruleLookupDefinition returns [EObject current=null] | |||
1031 | } | 1303 | } |
1032 | ( | 1304 | ( |
1033 | ( | 1305 | ( |
1034 | lv_name_8_0=RULE_ID | ||
1035 | { | 1306 | { |
1036 | newLeafNode(lv_name_8_0, grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); | 1307 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); |
1037 | } | 1308 | } |
1309 | lv_name_8_0=ruleValidId | ||
1038 | { | 1310 | { |
1039 | if ($current==null) { | 1311 | if ($current==null) { |
1040 | $current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 1312 | $current = createModelElementForParent(grammarAccess.getLookupDefinitionRule()); |
1041 | } | 1313 | } |
1042 | setWithLastConsumed( | 1314 | set( |
1043 | $current, | 1315 | $current, |
1044 | "name", | 1316 | "name", |
1045 | lv_name_8_0, | 1317 | lv_name_8_0, |
1046 | "org.eclipse.xtext.common.Terminals.ID"); | 1318 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
1319 | afterParserOrEnumRuleCall(); | ||
1047 | } | 1320 | } |
1048 | ) | 1321 | ) |
1049 | ) | 1322 | ) |
@@ -1151,9 +1424,12 @@ ruleEventReference returns [EObject current=null] | |||
1151 | $current = createModelElement(grammarAccess.getEventReferenceRule()); | 1424 | $current = createModelElement(grammarAccess.getEventReferenceRule()); |
1152 | } | 1425 | } |
1153 | } | 1426 | } |
1154 | otherlv_0=RULE_ID | ||
1155 | { | 1427 | { |
1156 | newLeafNode(otherlv_0, grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); | 1428 | newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); |
1429 | } | ||
1430 | ruleValidId | ||
1431 | { | ||
1432 | afterParserOrEnumRuleCall(); | ||
1157 | } | 1433 | } |
1158 | ) | 1434 | ) |
1159 | ) | 1435 | ) |
@@ -1168,9 +1444,12 @@ ruleEventReference returns [EObject current=null] | |||
1168 | $current = createModelElement(grammarAccess.getEventReferenceRule()); | 1444 | $current = createModelElement(grammarAccess.getEventReferenceRule()); |
1169 | } | 1445 | } |
1170 | } | 1446 | } |
1171 | otherlv_2=RULE_ID | ||
1172 | { | 1447 | { |
1173 | newLeafNode(otherlv_2, grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); | 1448 | newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); |
1449 | } | ||
1450 | ruleValidId | ||
1451 | { | ||
1452 | afterParserOrEnumRuleCall(); | ||
1174 | } | 1453 | } |
1175 | ) | 1454 | ) |
1176 | ) | 1455 | ) |
@@ -1250,12 +1529,15 @@ ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleT | |||
1250 | leaveRule(); | 1529 | leaveRule(); |
1251 | }: | 1530 | }: |
1252 | ( | 1531 | ( |
1253 | this_ID_0=RULE_ID | ||
1254 | { | 1532 | { |
1255 | $current.merge(this_ID_0); | 1533 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); |
1256 | } | 1534 | } |
1535 | this_ValidId_0=ruleValidId | ||
1257 | { | 1536 | { |
1258 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 1537 | $current.merge(this_ValidId_0); |
1538 | } | ||
1539 | { | ||
1540 | afterParserOrEnumRuleCall(); | ||
1259 | } | 1541 | } |
1260 | ( | 1542 | ( |
1261 | kw='.' | 1543 | kw='.' |
@@ -1263,12 +1545,15 @@ ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleT | |||
1263 | $current.merge(kw); | 1545 | $current.merge(kw); |
1264 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | 1546 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
1265 | } | 1547 | } |
1266 | this_ID_2=RULE_ID | ||
1267 | { | 1548 | { |
1268 | $current.merge(this_ID_2); | 1549 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); |
1550 | } | ||
1551 | this_ValidId_2=ruleValidId | ||
1552 | { | ||
1553 | $current.merge(this_ValidId_2); | ||
1269 | } | 1554 | } |
1270 | { | 1555 | { |
1271 | newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | 1556 | afterParserOrEnumRuleCall(); |
1272 | } | 1557 | } |
1273 | )* | 1558 | )* |
1274 | ) | 1559 | ) |
@@ -1315,7 +1600,77 @@ ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrD | |||
1315 | ) | 1600 | ) |
1316 | ; | 1601 | ; |
1317 | 1602 | ||
1318 | RULE_DOULBE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); | 1603 | // Entry rule entryRuleValidId |
1604 | entryRuleValidId returns [String current=null]: | ||
1605 | { newCompositeNode(grammarAccess.getValidIdRule()); } | ||
1606 | iv_ruleValidId=ruleValidId | ||
1607 | { $current=$iv_ruleValidId.current.getText(); } | ||
1608 | EOF; | ||
1609 | |||
1610 | // Rule ValidId | ||
1611 | ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
1612 | @init { | ||
1613 | enterRule(); | ||
1614 | } | ||
1615 | @after { | ||
1616 | leaveRule(); | ||
1617 | }: | ||
1618 | ( | ||
1619 | this_ID_0=RULE_ID | ||
1620 | { | ||
1621 | $current.merge(this_ID_0); | ||
1622 | } | ||
1623 | { | ||
1624 | newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); | ||
1625 | } | ||
1626 | | | ||
1627 | this_OF_INT_1=RULE_OF_INT | ||
1628 | { | ||
1629 | $current.merge(this_OF_INT_1); | ||
1630 | } | ||
1631 | { | ||
1632 | newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); | ||
1633 | } | ||
1634 | ) | ||
1635 | ; | ||
1636 | |||
1637 | // Entry rule entryRuleDouble | ||
1638 | entryRuleDouble returns [String current=null]: | ||
1639 | { newCompositeNode(grammarAccess.getDoubleRule()); } | ||
1640 | iv_ruleDouble=ruleDouble | ||
1641 | { $current=$iv_ruleDouble.current.getText(); } | ||
1642 | EOF; | ||
1643 | |||
1644 | // Rule Double | ||
1645 | ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
1646 | @init { | ||
1647 | enterRule(); | ||
1648 | } | ||
1649 | @after { | ||
1650 | leaveRule(); | ||
1651 | }: | ||
1652 | ( | ||
1653 | this_INT_0=RULE_INT | ||
1654 | { | ||
1655 | $current.merge(this_INT_0); | ||
1656 | } | ||
1657 | { | ||
1658 | newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); | ||
1659 | } | ||
1660 | | | ||
1661 | this_T_DOUBLE_1=RULE_T_DOUBLE | ||
1662 | { | ||
1663 | $current.merge(this_T_DOUBLE_1); | ||
1664 | } | ||
1665 | { | ||
1666 | newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); | ||
1667 | } | ||
1668 | ) | ||
1669 | ; | ||
1670 | |||
1671 | RULE_OF_INT : 'o' 'f' ('0'..'9')+; | ||
1672 | |||
1673 | RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); | ||
1319 | 1674 | ||
1320 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | 1675 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; |
1321 | 1676 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens index 1c8b296f..2183a28f 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens | |||
@@ -1,38 +1,40 @@ | |||
1 | '('=28 | 1 | '('=31 |
2 | ')'=30 | 2 | ')'=33 |
3 | '*'=37 | 3 | '*'=40 |
4 | '+='=33 | 4 | '+='=36 |
5 | ','=29 | 5 | ','=32 |
6 | '.'=35 | 6 | '.'=38 |
7 | ':='=34 | 7 | ':='=37 |
8 | ';'=13 | 8 | ';'=14 |
9 | '='=22 | 9 | '='=23 |
10 | '=>'=36 | 10 | '=>'=39 |
11 | '[]'=20 | 11 | '[]'=21 |
12 | 'and'=23 | 12 | 'and'=25 |
13 | 'as'=32 | 13 | 'as'=35 |
14 | 'cft'=15 | 14 | 'cft'=16 |
15 | 'import'=14 | 15 | 'import'=15 |
16 | 'in'=17 | 16 | 'in'=18 |
17 | 'lambda'=21 | 17 | 'lambda'=24 |
18 | 'lookup'=31 | 18 | 'lookup'=34 |
19 | 'mapping'=27 | 19 | 'mapping'=30 |
20 | 'or'=24 | 20 | 'of'=27 |
21 | 'out'=18 | 21 | 'or'=26 |
22 | 'package'=12 | 22 | 'out'=19 |
23 | 'toplevel'=26 | 23 | 'p'=22 |
24 | 'transformation'=25 | 24 | 'package'=13 |
25 | '{'=16 | 25 | 'toplevel'=29 |
26 | '}'=19 | 26 | 'transformation'=28 |
27 | RULE_ANY_OTHER=11 | 27 | '{'=17 |
28 | RULE_DOULBE=5 | 28 | '}'=20 |
29 | RULE_ID=4 | 29 | RULE_ANY_OTHER=12 |
30 | RULE_INT=6 | 30 | RULE_ID=6 |
31 | RULE_ML_COMMENT=8 | 31 | RULE_INT=4 |
32 | RULE_SL_COMMENT=9 | 32 | RULE_ML_COMMENT=9 |
33 | RULE_STRING=7 | 33 | RULE_OF_INT=5 |
34 | RULE_WS=10 | 34 | RULE_SL_COMMENT=10 |
35 | T__12=12 | 35 | RULE_STRING=8 |
36 | RULE_T_DOUBLE=7 | ||
37 | RULE_WS=11 | ||
36 | T__13=13 | 38 | T__13=13 |
37 | T__14=14 | 39 | T__14=14 |
38 | T__15=15 | 40 | T__15=15 |
@@ -58,3 +60,6 @@ T__34=34 | |||
58 | T__35=35 | 60 | T__35=35 |
59 | T__36=36 | 61 | T__36=36 |
60 | T__37=37 | 62 | T__37=37 |
63 | T__38=38 | ||
64 | T__39=39 | ||
65 | T__40=40 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java index 22a96234..d7e9807d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java | |||
@@ -12,17 +12,19 @@ import java.util.ArrayList; | |||
12 | 12 | ||
13 | @SuppressWarnings("all") | 13 | @SuppressWarnings("all") |
14 | public class InternalCftLanguageLexer extends Lexer { | 14 | public class InternalCftLanguageLexer extends Lexer { |
15 | public static final int RULE_STRING=7; | 15 | public static final int RULE_STRING=8; |
16 | public static final int RULE_SL_COMMENT=9; | 16 | public static final int RULE_SL_COMMENT=10; |
17 | public static final int T__19=19; | 17 | public static final int T__19=19; |
18 | public static final int T__15=15; | 18 | public static final int T__15=15; |
19 | public static final int T__37=37; | 19 | public static final int T__37=37; |
20 | public static final int T__16=16; | 20 | public static final int T__16=16; |
21 | public static final int T__38=38; | ||
21 | public static final int T__17=17; | 22 | public static final int T__17=17; |
23 | public static final int T__39=39; | ||
22 | public static final int T__18=18; | 24 | public static final int T__18=18; |
23 | public static final int T__33=33; | 25 | public static final int T__33=33; |
24 | public static final int T__12=12; | ||
25 | public static final int T__34=34; | 26 | public static final int T__34=34; |
27 | public static final int RULE_T_DOUBLE=7; | ||
26 | public static final int T__13=13; | 28 | public static final int T__13=13; |
27 | public static final int T__35=35; | 29 | public static final int T__35=35; |
28 | public static final int T__14=14; | 30 | public static final int T__14=14; |
@@ -31,20 +33,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
31 | public static final int T__30=30; | 33 | public static final int T__30=30; |
32 | public static final int T__31=31; | 34 | public static final int T__31=31; |
33 | public static final int T__32=32; | 35 | public static final int T__32=32; |
34 | public static final int RULE_ID=4; | 36 | public static final int RULE_OF_INT=5; |
35 | public static final int RULE_WS=10; | 37 | public static final int RULE_ID=6; |
36 | public static final int RULE_DOULBE=5; | 38 | public static final int RULE_WS=11; |
37 | public static final int RULE_ANY_OTHER=11; | 39 | public static final int RULE_ANY_OTHER=12; |
38 | public static final int T__26=26; | 40 | public static final int T__26=26; |
39 | public static final int T__27=27; | 41 | public static final int T__27=27; |
40 | public static final int T__28=28; | 42 | public static final int T__28=28; |
41 | public static final int RULE_INT=6; | 43 | public static final int RULE_INT=4; |
42 | public static final int T__29=29; | 44 | public static final int T__29=29; |
43 | public static final int T__22=22; | 45 | public static final int T__22=22; |
44 | public static final int RULE_ML_COMMENT=8; | 46 | public static final int RULE_ML_COMMENT=9; |
45 | public static final int T__23=23; | 47 | public static final int T__23=23; |
46 | public static final int T__24=24; | 48 | public static final int T__24=24; |
47 | public static final int T__25=25; | 49 | public static final int T__25=25; |
50 | public static final int T__40=40; | ||
48 | public static final int T__20=20; | 51 | public static final int T__20=20; |
49 | public static final int T__21=21; | 52 | public static final int T__21=21; |
50 | 53 | ||
@@ -61,10 +64,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
61 | } | 64 | } |
62 | public String getGrammarFileName() { return "InternalCftLanguage.g"; } | 65 | public String getGrammarFileName() { return "InternalCftLanguage.g"; } |
63 | 66 | ||
64 | // $ANTLR start "T__12" | 67 | // $ANTLR start "T__13" |
65 | public final void mT__12() throws RecognitionException { | 68 | public final void mT__13() throws RecognitionException { |
66 | try { | 69 | try { |
67 | int _type = T__12; | 70 | int _type = T__13; |
68 | int _channel = DEFAULT_TOKEN_CHANNEL; | 71 | int _channel = DEFAULT_TOKEN_CHANNEL; |
69 | // InternalCftLanguage.g:11:7: ( 'package' ) | 72 | // InternalCftLanguage.g:11:7: ( 'package' ) |
70 | // InternalCftLanguage.g:11:9: 'package' | 73 | // InternalCftLanguage.g:11:9: 'package' |
@@ -80,26 +83,6 @@ public class InternalCftLanguageLexer extends Lexer { | |||
80 | finally { | 83 | finally { |
81 | } | 84 | } |
82 | } | 85 | } |
83 | // $ANTLR end "T__12" | ||
84 | |||
85 | // $ANTLR start "T__13" | ||
86 | public final void mT__13() throws RecognitionException { | ||
87 | try { | ||
88 | int _type = T__13; | ||
89 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
90 | // InternalCftLanguage.g:12:7: ( ';' ) | ||
91 | // InternalCftLanguage.g:12:9: ';' | ||
92 | { | ||
93 | match(';'); | ||
94 | |||
95 | } | ||
96 | |||
97 | state.type = _type; | ||
98 | state.channel = _channel; | ||
99 | } | ||
100 | finally { | ||
101 | } | ||
102 | } | ||
103 | // $ANTLR end "T__13" | 86 | // $ANTLR end "T__13" |
104 | 87 | ||
105 | // $ANTLR start "T__14" | 88 | // $ANTLR start "T__14" |
@@ -107,11 +90,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
107 | try { | 90 | try { |
108 | int _type = T__14; | 91 | int _type = T__14; |
109 | int _channel = DEFAULT_TOKEN_CHANNEL; | 92 | int _channel = DEFAULT_TOKEN_CHANNEL; |
110 | // InternalCftLanguage.g:13:7: ( 'import' ) | 93 | // InternalCftLanguage.g:12:7: ( ';' ) |
111 | // InternalCftLanguage.g:13:9: 'import' | 94 | // InternalCftLanguage.g:12:9: ';' |
112 | { | 95 | { |
113 | match("import"); | 96 | match(';'); |
114 | |||
115 | 97 | ||
116 | } | 98 | } |
117 | 99 | ||
@@ -128,10 +110,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
128 | try { | 110 | try { |
129 | int _type = T__15; | 111 | int _type = T__15; |
130 | int _channel = DEFAULT_TOKEN_CHANNEL; | 112 | int _channel = DEFAULT_TOKEN_CHANNEL; |
131 | // InternalCftLanguage.g:14:7: ( 'cft' ) | 113 | // InternalCftLanguage.g:13:7: ( 'import' ) |
132 | // InternalCftLanguage.g:14:9: 'cft' | 114 | // InternalCftLanguage.g:13:9: 'import' |
133 | { | 115 | { |
134 | match("cft"); | 116 | match("import"); |
135 | 117 | ||
136 | 118 | ||
137 | } | 119 | } |
@@ -149,10 +131,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
149 | try { | 131 | try { |
150 | int _type = T__16; | 132 | int _type = T__16; |
151 | int _channel = DEFAULT_TOKEN_CHANNEL; | 133 | int _channel = DEFAULT_TOKEN_CHANNEL; |
152 | // InternalCftLanguage.g:15:7: ( '{' ) | 134 | // InternalCftLanguage.g:14:7: ( 'cft' ) |
153 | // InternalCftLanguage.g:15:9: '{' | 135 | // InternalCftLanguage.g:14:9: 'cft' |
154 | { | 136 | { |
155 | match('{'); | 137 | match("cft"); |
138 | |||
156 | 139 | ||
157 | } | 140 | } |
158 | 141 | ||
@@ -169,11 +152,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
169 | try { | 152 | try { |
170 | int _type = T__17; | 153 | int _type = T__17; |
171 | int _channel = DEFAULT_TOKEN_CHANNEL; | 154 | int _channel = DEFAULT_TOKEN_CHANNEL; |
172 | // InternalCftLanguage.g:16:7: ( 'in' ) | 155 | // InternalCftLanguage.g:15:7: ( '{' ) |
173 | // InternalCftLanguage.g:16:9: 'in' | 156 | // InternalCftLanguage.g:15:9: '{' |
174 | { | 157 | { |
175 | match("in"); | 158 | match('{'); |
176 | |||
177 | 159 | ||
178 | } | 160 | } |
179 | 161 | ||
@@ -190,10 +172,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
190 | try { | 172 | try { |
191 | int _type = T__18; | 173 | int _type = T__18; |
192 | int _channel = DEFAULT_TOKEN_CHANNEL; | 174 | int _channel = DEFAULT_TOKEN_CHANNEL; |
193 | // InternalCftLanguage.g:17:7: ( 'out' ) | 175 | // InternalCftLanguage.g:16:7: ( 'in' ) |
194 | // InternalCftLanguage.g:17:9: 'out' | 176 | // InternalCftLanguage.g:16:9: 'in' |
195 | { | 177 | { |
196 | match("out"); | 178 | match("in"); |
197 | 179 | ||
198 | 180 | ||
199 | } | 181 | } |
@@ -211,10 +193,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
211 | try { | 193 | try { |
212 | int _type = T__19; | 194 | int _type = T__19; |
213 | int _channel = DEFAULT_TOKEN_CHANNEL; | 195 | int _channel = DEFAULT_TOKEN_CHANNEL; |
214 | // InternalCftLanguage.g:18:7: ( '}' ) | 196 | // InternalCftLanguage.g:17:7: ( 'out' ) |
215 | // InternalCftLanguage.g:18:9: '}' | 197 | // InternalCftLanguage.g:17:9: 'out' |
216 | { | 198 | { |
217 | match('}'); | 199 | match("out"); |
200 | |||
218 | 201 | ||
219 | } | 202 | } |
220 | 203 | ||
@@ -231,11 +214,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
231 | try { | 214 | try { |
232 | int _type = T__20; | 215 | int _type = T__20; |
233 | int _channel = DEFAULT_TOKEN_CHANNEL; | 216 | int _channel = DEFAULT_TOKEN_CHANNEL; |
234 | // InternalCftLanguage.g:19:7: ( '[]' ) | 217 | // InternalCftLanguage.g:18:7: ( '}' ) |
235 | // InternalCftLanguage.g:19:9: '[]' | 218 | // InternalCftLanguage.g:18:9: '}' |
236 | { | 219 | { |
237 | match("[]"); | 220 | match('}'); |
238 | |||
239 | 221 | ||
240 | } | 222 | } |
241 | 223 | ||
@@ -252,10 +234,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
252 | try { | 234 | try { |
253 | int _type = T__21; | 235 | int _type = T__21; |
254 | int _channel = DEFAULT_TOKEN_CHANNEL; | 236 | int _channel = DEFAULT_TOKEN_CHANNEL; |
255 | // InternalCftLanguage.g:20:7: ( 'lambda' ) | 237 | // InternalCftLanguage.g:19:7: ( '[]' ) |
256 | // InternalCftLanguage.g:20:9: 'lambda' | 238 | // InternalCftLanguage.g:19:9: '[]' |
257 | { | 239 | { |
258 | match("lambda"); | 240 | match("[]"); |
259 | 241 | ||
260 | 242 | ||
261 | } | 243 | } |
@@ -273,10 +255,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
273 | try { | 255 | try { |
274 | int _type = T__22; | 256 | int _type = T__22; |
275 | int _channel = DEFAULT_TOKEN_CHANNEL; | 257 | int _channel = DEFAULT_TOKEN_CHANNEL; |
276 | // InternalCftLanguage.g:21:7: ( '=' ) | 258 | // InternalCftLanguage.g:20:7: ( 'p' ) |
277 | // InternalCftLanguage.g:21:9: '=' | 259 | // InternalCftLanguage.g:20:9: 'p' |
278 | { | 260 | { |
279 | match('='); | 261 | match('p'); |
280 | 262 | ||
281 | } | 263 | } |
282 | 264 | ||
@@ -293,11 +275,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
293 | try { | 275 | try { |
294 | int _type = T__23; | 276 | int _type = T__23; |
295 | int _channel = DEFAULT_TOKEN_CHANNEL; | 277 | int _channel = DEFAULT_TOKEN_CHANNEL; |
296 | // InternalCftLanguage.g:22:7: ( 'and' ) | 278 | // InternalCftLanguage.g:21:7: ( '=' ) |
297 | // InternalCftLanguage.g:22:9: 'and' | 279 | // InternalCftLanguage.g:21:9: '=' |
298 | { | 280 | { |
299 | match("and"); | 281 | match('='); |
300 | |||
301 | 282 | ||
302 | } | 283 | } |
303 | 284 | ||
@@ -314,10 +295,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
314 | try { | 295 | try { |
315 | int _type = T__24; | 296 | int _type = T__24; |
316 | int _channel = DEFAULT_TOKEN_CHANNEL; | 297 | int _channel = DEFAULT_TOKEN_CHANNEL; |
317 | // InternalCftLanguage.g:23:7: ( 'or' ) | 298 | // InternalCftLanguage.g:22:7: ( 'lambda' ) |
318 | // InternalCftLanguage.g:23:9: 'or' | 299 | // InternalCftLanguage.g:22:9: 'lambda' |
319 | { | 300 | { |
320 | match("or"); | 301 | match("lambda"); |
321 | 302 | ||
322 | 303 | ||
323 | } | 304 | } |
@@ -335,10 +316,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
335 | try { | 316 | try { |
336 | int _type = T__25; | 317 | int _type = T__25; |
337 | int _channel = DEFAULT_TOKEN_CHANNEL; | 318 | int _channel = DEFAULT_TOKEN_CHANNEL; |
338 | // InternalCftLanguage.g:24:7: ( 'transformation' ) | 319 | // InternalCftLanguage.g:23:7: ( 'and' ) |
339 | // InternalCftLanguage.g:24:9: 'transformation' | 320 | // InternalCftLanguage.g:23:9: 'and' |
340 | { | 321 | { |
341 | match("transformation"); | 322 | match("and"); |
342 | 323 | ||
343 | 324 | ||
344 | } | 325 | } |
@@ -356,10 +337,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
356 | try { | 337 | try { |
357 | int _type = T__26; | 338 | int _type = T__26; |
358 | int _channel = DEFAULT_TOKEN_CHANNEL; | 339 | int _channel = DEFAULT_TOKEN_CHANNEL; |
359 | // InternalCftLanguage.g:25:7: ( 'toplevel' ) | 340 | // InternalCftLanguage.g:24:7: ( 'or' ) |
360 | // InternalCftLanguage.g:25:9: 'toplevel' | 341 | // InternalCftLanguage.g:24:9: 'or' |
361 | { | 342 | { |
362 | match("toplevel"); | 343 | match("or"); |
363 | 344 | ||
364 | 345 | ||
365 | } | 346 | } |
@@ -377,10 +358,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
377 | try { | 358 | try { |
378 | int _type = T__27; | 359 | int _type = T__27; |
379 | int _channel = DEFAULT_TOKEN_CHANNEL; | 360 | int _channel = DEFAULT_TOKEN_CHANNEL; |
380 | // InternalCftLanguage.g:26:7: ( 'mapping' ) | 361 | // InternalCftLanguage.g:25:7: ( 'of' ) |
381 | // InternalCftLanguage.g:26:9: 'mapping' | 362 | // InternalCftLanguage.g:25:9: 'of' |
382 | { | 363 | { |
383 | match("mapping"); | 364 | match("of"); |
384 | 365 | ||
385 | 366 | ||
386 | } | 367 | } |
@@ -398,10 +379,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
398 | try { | 379 | try { |
399 | int _type = T__28; | 380 | int _type = T__28; |
400 | int _channel = DEFAULT_TOKEN_CHANNEL; | 381 | int _channel = DEFAULT_TOKEN_CHANNEL; |
401 | // InternalCftLanguage.g:27:7: ( '(' ) | 382 | // InternalCftLanguage.g:26:7: ( 'transformation' ) |
402 | // InternalCftLanguage.g:27:9: '(' | 383 | // InternalCftLanguage.g:26:9: 'transformation' |
403 | { | 384 | { |
404 | match('('); | 385 | match("transformation"); |
386 | |||
405 | 387 | ||
406 | } | 388 | } |
407 | 389 | ||
@@ -418,10 +400,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
418 | try { | 400 | try { |
419 | int _type = T__29; | 401 | int _type = T__29; |
420 | int _channel = DEFAULT_TOKEN_CHANNEL; | 402 | int _channel = DEFAULT_TOKEN_CHANNEL; |
421 | // InternalCftLanguage.g:28:7: ( ',' ) | 403 | // InternalCftLanguage.g:27:7: ( 'toplevel' ) |
422 | // InternalCftLanguage.g:28:9: ',' | 404 | // InternalCftLanguage.g:27:9: 'toplevel' |
423 | { | 405 | { |
424 | match(','); | 406 | match("toplevel"); |
407 | |||
425 | 408 | ||
426 | } | 409 | } |
427 | 410 | ||
@@ -438,10 +421,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
438 | try { | 421 | try { |
439 | int _type = T__30; | 422 | int _type = T__30; |
440 | int _channel = DEFAULT_TOKEN_CHANNEL; | 423 | int _channel = DEFAULT_TOKEN_CHANNEL; |
441 | // InternalCftLanguage.g:29:7: ( ')' ) | 424 | // InternalCftLanguage.g:28:7: ( 'mapping' ) |
442 | // InternalCftLanguage.g:29:9: ')' | 425 | // InternalCftLanguage.g:28:9: 'mapping' |
443 | { | 426 | { |
444 | match(')'); | 427 | match("mapping"); |
428 | |||
445 | 429 | ||
446 | } | 430 | } |
447 | 431 | ||
@@ -458,11 +442,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
458 | try { | 442 | try { |
459 | int _type = T__31; | 443 | int _type = T__31; |
460 | int _channel = DEFAULT_TOKEN_CHANNEL; | 444 | int _channel = DEFAULT_TOKEN_CHANNEL; |
461 | // InternalCftLanguage.g:30:7: ( 'lookup' ) | 445 | // InternalCftLanguage.g:29:7: ( '(' ) |
462 | // InternalCftLanguage.g:30:9: 'lookup' | 446 | // InternalCftLanguage.g:29:9: '(' |
463 | { | 447 | { |
464 | match("lookup"); | 448 | match('('); |
465 | |||
466 | 449 | ||
467 | } | 450 | } |
468 | 451 | ||
@@ -479,11 +462,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
479 | try { | 462 | try { |
480 | int _type = T__32; | 463 | int _type = T__32; |
481 | int _channel = DEFAULT_TOKEN_CHANNEL; | 464 | int _channel = DEFAULT_TOKEN_CHANNEL; |
482 | // InternalCftLanguage.g:31:7: ( 'as' ) | 465 | // InternalCftLanguage.g:30:7: ( ',' ) |
483 | // InternalCftLanguage.g:31:9: 'as' | 466 | // InternalCftLanguage.g:30:9: ',' |
484 | { | 467 | { |
485 | match("as"); | 468 | match(','); |
486 | |||
487 | 469 | ||
488 | } | 470 | } |
489 | 471 | ||
@@ -500,11 +482,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
500 | try { | 482 | try { |
501 | int _type = T__33; | 483 | int _type = T__33; |
502 | int _channel = DEFAULT_TOKEN_CHANNEL; | 484 | int _channel = DEFAULT_TOKEN_CHANNEL; |
503 | // InternalCftLanguage.g:32:7: ( '+=' ) | 485 | // InternalCftLanguage.g:31:7: ( ')' ) |
504 | // InternalCftLanguage.g:32:9: '+=' | 486 | // InternalCftLanguage.g:31:9: ')' |
505 | { | 487 | { |
506 | match("+="); | 488 | match(')'); |
507 | |||
508 | 489 | ||
509 | } | 490 | } |
510 | 491 | ||
@@ -521,10 +502,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
521 | try { | 502 | try { |
522 | int _type = T__34; | 503 | int _type = T__34; |
523 | int _channel = DEFAULT_TOKEN_CHANNEL; | 504 | int _channel = DEFAULT_TOKEN_CHANNEL; |
524 | // InternalCftLanguage.g:33:7: ( ':=' ) | 505 | // InternalCftLanguage.g:32:7: ( 'lookup' ) |
525 | // InternalCftLanguage.g:33:9: ':=' | 506 | // InternalCftLanguage.g:32:9: 'lookup' |
526 | { | 507 | { |
527 | match(":="); | 508 | match("lookup"); |
528 | 509 | ||
529 | 510 | ||
530 | } | 511 | } |
@@ -542,10 +523,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
542 | try { | 523 | try { |
543 | int _type = T__35; | 524 | int _type = T__35; |
544 | int _channel = DEFAULT_TOKEN_CHANNEL; | 525 | int _channel = DEFAULT_TOKEN_CHANNEL; |
545 | // InternalCftLanguage.g:34:7: ( '.' ) | 526 | // InternalCftLanguage.g:33:7: ( 'as' ) |
546 | // InternalCftLanguage.g:34:9: '.' | 527 | // InternalCftLanguage.g:33:9: 'as' |
547 | { | 528 | { |
548 | match('.'); | 529 | match("as"); |
530 | |||
549 | 531 | ||
550 | } | 532 | } |
551 | 533 | ||
@@ -562,10 +544,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
562 | try { | 544 | try { |
563 | int _type = T__36; | 545 | int _type = T__36; |
564 | int _channel = DEFAULT_TOKEN_CHANNEL; | 546 | int _channel = DEFAULT_TOKEN_CHANNEL; |
565 | // InternalCftLanguage.g:35:7: ( '=>' ) | 547 | // InternalCftLanguage.g:34:7: ( '+=' ) |
566 | // InternalCftLanguage.g:35:9: '=>' | 548 | // InternalCftLanguage.g:34:9: '+=' |
567 | { | 549 | { |
568 | match("=>"); | 550 | match("+="); |
569 | 551 | ||
570 | 552 | ||
571 | } | 553 | } |
@@ -583,10 +565,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
583 | try { | 565 | try { |
584 | int _type = T__37; | 566 | int _type = T__37; |
585 | int _channel = DEFAULT_TOKEN_CHANNEL; | 567 | int _channel = DEFAULT_TOKEN_CHANNEL; |
586 | // InternalCftLanguage.g:36:7: ( '*' ) | 568 | // InternalCftLanguage.g:35:7: ( ':=' ) |
587 | // InternalCftLanguage.g:36:9: '*' | 569 | // InternalCftLanguage.g:35:9: ':=' |
588 | { | 570 | { |
589 | match('*'); | 571 | match(":="); |
572 | |||
590 | 573 | ||
591 | } | 574 | } |
592 | 575 | ||
@@ -598,15 +581,78 @@ public class InternalCftLanguageLexer extends Lexer { | |||
598 | } | 581 | } |
599 | // $ANTLR end "T__37" | 582 | // $ANTLR end "T__37" |
600 | 583 | ||
601 | // $ANTLR start "RULE_DOULBE" | 584 | // $ANTLR start "T__38" |
602 | public final void mRULE_DOULBE() throws RecognitionException { | 585 | public final void mT__38() throws RecognitionException { |
586 | try { | ||
587 | int _type = T__38; | ||
588 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
589 | // InternalCftLanguage.g:36:7: ( '.' ) | ||
590 | // InternalCftLanguage.g:36:9: '.' | ||
591 | { | ||
592 | match('.'); | ||
593 | |||
594 | } | ||
595 | |||
596 | state.type = _type; | ||
597 | state.channel = _channel; | ||
598 | } | ||
599 | finally { | ||
600 | } | ||
601 | } | ||
602 | // $ANTLR end "T__38" | ||
603 | |||
604 | // $ANTLR start "T__39" | ||
605 | public final void mT__39() throws RecognitionException { | ||
603 | try { | 606 | try { |
604 | int _type = RULE_DOULBE; | 607 | int _type = T__39; |
605 | int _channel = DEFAULT_TOKEN_CHANNEL; | 608 | int _channel = DEFAULT_TOKEN_CHANNEL; |
606 | // InternalCftLanguage.g:1318:13: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | 609 | // InternalCftLanguage.g:37:7: ( '=>' ) |
607 | // InternalCftLanguage.g:1318:15: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 610 | // InternalCftLanguage.g:37:9: '=>' |
608 | { | 611 | { |
609 | // InternalCftLanguage.g:1318:15: ( '0' .. '9' )+ | 612 | match("=>"); |
613 | |||
614 | |||
615 | } | ||
616 | |||
617 | state.type = _type; | ||
618 | state.channel = _channel; | ||
619 | } | ||
620 | finally { | ||
621 | } | ||
622 | } | ||
623 | // $ANTLR end "T__39" | ||
624 | |||
625 | // $ANTLR start "T__40" | ||
626 | public final void mT__40() throws RecognitionException { | ||
627 | try { | ||
628 | int _type = T__40; | ||
629 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
630 | // InternalCftLanguage.g:38:7: ( '*' ) | ||
631 | // InternalCftLanguage.g:38:9: '*' | ||
632 | { | ||
633 | match('*'); | ||
634 | |||
635 | } | ||
636 | |||
637 | state.type = _type; | ||
638 | state.channel = _channel; | ||
639 | } | ||
640 | finally { | ||
641 | } | ||
642 | } | ||
643 | // $ANTLR end "T__40" | ||
644 | |||
645 | // $ANTLR start "RULE_OF_INT" | ||
646 | public final void mRULE_OF_INT() throws RecognitionException { | ||
647 | try { | ||
648 | int _type = RULE_OF_INT; | ||
649 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
650 | // InternalCftLanguage.g:1671:13: ( 'o' 'f' ( '0' .. '9' )+ ) | ||
651 | // InternalCftLanguage.g:1671:15: 'o' 'f' ( '0' .. '9' )+ | ||
652 | { | ||
653 | match('o'); | ||
654 | match('f'); | ||
655 | // InternalCftLanguage.g:1671:23: ( '0' .. '9' )+ | ||
610 | int cnt1=0; | 656 | int cnt1=0; |
611 | loop1: | 657 | loop1: |
612 | do { | 658 | do { |
@@ -620,7 +666,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
620 | 666 | ||
621 | switch (alt1) { | 667 | switch (alt1) { |
622 | case 1 : | 668 | case 1 : |
623 | // InternalCftLanguage.g:1318:16: '0' .. '9' | 669 | // InternalCftLanguage.g:1671:24: '0' .. '9' |
624 | { | 670 | { |
625 | matchRange('0','9'); | 671 | matchRange('0','9'); |
626 | 672 | ||
@@ -636,29 +682,78 @@ public class InternalCftLanguageLexer extends Lexer { | |||
636 | cnt1++; | 682 | cnt1++; |
637 | } while (true); | 683 | } while (true); |
638 | 684 | ||
639 | // InternalCftLanguage.g:1318:27: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 685 | |
640 | int alt7=2; | 686 | } |
641 | alt7 = dfa7.predict(input); | 687 | |
642 | switch (alt7) { | 688 | state.type = _type; |
689 | state.channel = _channel; | ||
690 | } | ||
691 | finally { | ||
692 | } | ||
693 | } | ||
694 | // $ANTLR end "RULE_OF_INT" | ||
695 | |||
696 | // $ANTLR start "RULE_T_DOUBLE" | ||
697 | public final void mRULE_T_DOUBLE() throws RecognitionException { | ||
698 | try { | ||
699 | int _type = RULE_T_DOUBLE; | ||
700 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
701 | // InternalCftLanguage.g:1673:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | ||
702 | // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
703 | { | ||
704 | // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ | ||
705 | int cnt2=0; | ||
706 | loop2: | ||
707 | do { | ||
708 | int alt2=2; | ||
709 | int LA2_0 = input.LA(1); | ||
710 | |||
711 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | ||
712 | alt2=1; | ||
713 | } | ||
714 | |||
715 | |||
716 | switch (alt2) { | ||
717 | case 1 : | ||
718 | // InternalCftLanguage.g:1673:18: '0' .. '9' | ||
719 | { | ||
720 | matchRange('0','9'); | ||
721 | |||
722 | } | ||
723 | break; | ||
724 | |||
725 | default : | ||
726 | if ( cnt2 >= 1 ) break loop2; | ||
727 | EarlyExitException eee = | ||
728 | new EarlyExitException(2, input); | ||
729 | throw eee; | ||
730 | } | ||
731 | cnt2++; | ||
732 | } while (true); | ||
733 | |||
734 | // InternalCftLanguage.g:1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
735 | int alt8=2; | ||
736 | alt8 = dfa8.predict(input); | ||
737 | switch (alt8) { | ||
643 | case 1 : | 738 | case 1 : |
644 | // InternalCftLanguage.g:1318:28: '.' ( '0' .. '9' )+ | 739 | // InternalCftLanguage.g:1673:30: '.' ( '0' .. '9' )+ |
645 | { | 740 | { |
646 | match('.'); | 741 | match('.'); |
647 | // InternalCftLanguage.g:1318:32: ( '0' .. '9' )+ | 742 | // InternalCftLanguage.g:1673:34: ( '0' .. '9' )+ |
648 | int cnt2=0; | 743 | int cnt3=0; |
649 | loop2: | 744 | loop3: |
650 | do { | 745 | do { |
651 | int alt2=2; | 746 | int alt3=2; |
652 | int LA2_0 = input.LA(1); | 747 | int LA3_0 = input.LA(1); |
653 | 748 | ||
654 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | 749 | if ( ((LA3_0>='0' && LA3_0<='9')) ) { |
655 | alt2=1; | 750 | alt3=1; |
656 | } | 751 | } |
657 | 752 | ||
658 | 753 | ||
659 | switch (alt2) { | 754 | switch (alt3) { |
660 | case 1 : | 755 | case 1 : |
661 | // InternalCftLanguage.g:1318:33: '0' .. '9' | 756 | // InternalCftLanguage.g:1673:35: '0' .. '9' |
662 | { | 757 | { |
663 | matchRange('0','9'); | 758 | matchRange('0','9'); |
664 | 759 | ||
@@ -666,47 +761,47 @@ public class InternalCftLanguageLexer extends Lexer { | |||
666 | break; | 761 | break; |
667 | 762 | ||
668 | default : | 763 | default : |
669 | if ( cnt2 >= 1 ) break loop2; | 764 | if ( cnt3 >= 1 ) break loop3; |
670 | EarlyExitException eee = | 765 | EarlyExitException eee = |
671 | new EarlyExitException(2, input); | 766 | new EarlyExitException(3, input); |
672 | throw eee; | 767 | throw eee; |
673 | } | 768 | } |
674 | cnt2++; | 769 | cnt3++; |
675 | } while (true); | 770 | } while (true); |
676 | 771 | ||
677 | 772 | ||
678 | } | 773 | } |
679 | break; | 774 | break; |
680 | case 2 : | 775 | case 2 : |
681 | // InternalCftLanguage.g:1318:44: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ | 776 | // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ |
682 | { | 777 | { |
683 | // InternalCftLanguage.g:1318:44: ( '.' ( '0' .. '9' )+ )? | 778 | // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? |
684 | int alt4=2; | 779 | int alt5=2; |
685 | int LA4_0 = input.LA(1); | 780 | int LA5_0 = input.LA(1); |
686 | 781 | ||
687 | if ( (LA4_0=='.') ) { | 782 | if ( (LA5_0=='.') ) { |
688 | alt4=1; | 783 | alt5=1; |
689 | } | 784 | } |
690 | switch (alt4) { | 785 | switch (alt5) { |
691 | case 1 : | 786 | case 1 : |
692 | // InternalCftLanguage.g:1318:45: '.' ( '0' .. '9' )+ | 787 | // InternalCftLanguage.g:1673:47: '.' ( '0' .. '9' )+ |
693 | { | 788 | { |
694 | match('.'); | 789 | match('.'); |
695 | // InternalCftLanguage.g:1318:49: ( '0' .. '9' )+ | 790 | // InternalCftLanguage.g:1673:51: ( '0' .. '9' )+ |
696 | int cnt3=0; | 791 | int cnt4=0; |
697 | loop3: | 792 | loop4: |
698 | do { | 793 | do { |
699 | int alt3=2; | 794 | int alt4=2; |
700 | int LA3_0 = input.LA(1); | 795 | int LA4_0 = input.LA(1); |
701 | 796 | ||
702 | if ( ((LA3_0>='0' && LA3_0<='9')) ) { | 797 | if ( ((LA4_0>='0' && LA4_0<='9')) ) { |
703 | alt3=1; | 798 | alt4=1; |
704 | } | 799 | } |
705 | 800 | ||
706 | 801 | ||
707 | switch (alt3) { | 802 | switch (alt4) { |
708 | case 1 : | 803 | case 1 : |
709 | // InternalCftLanguage.g:1318:50: '0' .. '9' | 804 | // InternalCftLanguage.g:1673:52: '0' .. '9' |
710 | { | 805 | { |
711 | matchRange('0','9'); | 806 | matchRange('0','9'); |
712 | 807 | ||
@@ -714,12 +809,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
714 | break; | 809 | break; |
715 | 810 | ||
716 | default : | 811 | default : |
717 | if ( cnt3 >= 1 ) break loop3; | 812 | if ( cnt4 >= 1 ) break loop4; |
718 | EarlyExitException eee = | 813 | EarlyExitException eee = |
719 | new EarlyExitException(3, input); | 814 | new EarlyExitException(4, input); |
720 | throw eee; | 815 | throw eee; |
721 | } | 816 | } |
722 | cnt3++; | 817 | cnt4++; |
723 | } while (true); | 818 | } while (true); |
724 | 819 | ||
725 | 820 | ||
@@ -737,14 +832,14 @@ public class InternalCftLanguageLexer extends Lexer { | |||
737 | recover(mse); | 832 | recover(mse); |
738 | throw mse;} | 833 | throw mse;} |
739 | 834 | ||
740 | // InternalCftLanguage.g:1318:73: ( '+' | '-' )? | 835 | // InternalCftLanguage.g:1673:75: ( '+' | '-' )? |
741 | int alt5=2; | 836 | int alt6=2; |
742 | int LA5_0 = input.LA(1); | 837 | int LA6_0 = input.LA(1); |
743 | 838 | ||
744 | if ( (LA5_0=='+'||LA5_0=='-') ) { | 839 | if ( (LA6_0=='+'||LA6_0=='-') ) { |
745 | alt5=1; | 840 | alt6=1; |
746 | } | 841 | } |
747 | switch (alt5) { | 842 | switch (alt6) { |
748 | case 1 : | 843 | case 1 : |
749 | // InternalCftLanguage.g: | 844 | // InternalCftLanguage.g: |
750 | { | 845 | { |
@@ -763,21 +858,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
763 | 858 | ||
764 | } | 859 | } |
765 | 860 | ||
766 | // InternalCftLanguage.g:1318:84: ( '0' .. '9' )+ | 861 | // InternalCftLanguage.g:1673:86: ( '0' .. '9' )+ |
767 | int cnt6=0; | 862 | int cnt7=0; |
768 | loop6: | 863 | loop7: |
769 | do { | 864 | do { |
770 | int alt6=2; | 865 | int alt7=2; |
771 | int LA6_0 = input.LA(1); | 866 | int LA7_0 = input.LA(1); |
772 | 867 | ||
773 | if ( ((LA6_0>='0' && LA6_0<='9')) ) { | 868 | if ( ((LA7_0>='0' && LA7_0<='9')) ) { |
774 | alt6=1; | 869 | alt7=1; |
775 | } | 870 | } |
776 | 871 | ||
777 | 872 | ||
778 | switch (alt6) { | 873 | switch (alt7) { |
779 | case 1 : | 874 | case 1 : |
780 | // InternalCftLanguage.g:1318:85: '0' .. '9' | 875 | // InternalCftLanguage.g:1673:87: '0' .. '9' |
781 | { | 876 | { |
782 | matchRange('0','9'); | 877 | matchRange('0','9'); |
783 | 878 | ||
@@ -785,12 +880,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
785 | break; | 880 | break; |
786 | 881 | ||
787 | default : | 882 | default : |
788 | if ( cnt6 >= 1 ) break loop6; | 883 | if ( cnt7 >= 1 ) break loop7; |
789 | EarlyExitException eee = | 884 | EarlyExitException eee = |
790 | new EarlyExitException(6, input); | 885 | new EarlyExitException(7, input); |
791 | throw eee; | 886 | throw eee; |
792 | } | 887 | } |
793 | cnt6++; | 888 | cnt7++; |
794 | } while (true); | 889 | } while (true); |
795 | 890 | ||
796 | 891 | ||
@@ -808,26 +903,26 @@ public class InternalCftLanguageLexer extends Lexer { | |||
808 | finally { | 903 | finally { |
809 | } | 904 | } |
810 | } | 905 | } |
811 | // $ANTLR end "RULE_DOULBE" | 906 | // $ANTLR end "RULE_T_DOUBLE" |
812 | 907 | ||
813 | // $ANTLR start "RULE_ID" | 908 | // $ANTLR start "RULE_ID" |
814 | public final void mRULE_ID() throws RecognitionException { | 909 | public final void mRULE_ID() throws RecognitionException { |
815 | try { | 910 | try { |
816 | int _type = RULE_ID; | 911 | int _type = RULE_ID; |
817 | int _channel = DEFAULT_TOKEN_CHANNEL; | 912 | int _channel = DEFAULT_TOKEN_CHANNEL; |
818 | // InternalCftLanguage.g:1320:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 913 | // InternalCftLanguage.g:1675:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
819 | // InternalCftLanguage.g:1320:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 914 | // InternalCftLanguage.g:1675:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
820 | { | 915 | { |
821 | // InternalCftLanguage.g:1320:11: ( '^' )? | 916 | // InternalCftLanguage.g:1675:11: ( '^' )? |
822 | int alt8=2; | 917 | int alt9=2; |
823 | int LA8_0 = input.LA(1); | 918 | int LA9_0 = input.LA(1); |
824 | 919 | ||
825 | if ( (LA8_0=='^') ) { | 920 | if ( (LA9_0=='^') ) { |
826 | alt8=1; | 921 | alt9=1; |
827 | } | 922 | } |
828 | switch (alt8) { | 923 | switch (alt9) { |
829 | case 1 : | 924 | case 1 : |
830 | // InternalCftLanguage.g:1320:11: '^' | 925 | // InternalCftLanguage.g:1675:11: '^' |
831 | { | 926 | { |
832 | match('^'); | 927 | match('^'); |
833 | 928 | ||
@@ -845,18 +940,18 @@ public class InternalCftLanguageLexer extends Lexer { | |||
845 | recover(mse); | 940 | recover(mse); |
846 | throw mse;} | 941 | throw mse;} |
847 | 942 | ||
848 | // InternalCftLanguage.g:1320:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 943 | // InternalCftLanguage.g:1675:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
849 | loop9: | 944 | loop10: |
850 | do { | 945 | do { |
851 | int alt9=2; | 946 | int alt10=2; |
852 | int LA9_0 = input.LA(1); | 947 | int LA10_0 = input.LA(1); |
853 | 948 | ||
854 | if ( ((LA9_0>='0' && LA9_0<='9')||(LA9_0>='A' && LA9_0<='Z')||LA9_0=='_'||(LA9_0>='a' && LA9_0<='z')) ) { | 949 | if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { |
855 | alt9=1; | 950 | alt10=1; |
856 | } | 951 | } |
857 | 952 | ||
858 | 953 | ||
859 | switch (alt9) { | 954 | switch (alt10) { |
860 | case 1 : | 955 | case 1 : |
861 | // InternalCftLanguage.g: | 956 | // InternalCftLanguage.g: |
862 | { | 957 | { |
@@ -874,7 +969,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
874 | break; | 969 | break; |
875 | 970 | ||
876 | default : | 971 | default : |
877 | break loop9; | 972 | break loop10; |
878 | } | 973 | } |
879 | } while (true); | 974 | } while (true); |
880 | 975 | ||
@@ -894,24 +989,24 @@ public class InternalCftLanguageLexer extends Lexer { | |||
894 | try { | 989 | try { |
895 | int _type = RULE_INT; | 990 | int _type = RULE_INT; |
896 | int _channel = DEFAULT_TOKEN_CHANNEL; | 991 | int _channel = DEFAULT_TOKEN_CHANNEL; |
897 | // InternalCftLanguage.g:1322:10: ( ( '0' .. '9' )+ ) | 992 | // InternalCftLanguage.g:1677:10: ( ( '0' .. '9' )+ ) |
898 | // InternalCftLanguage.g:1322:12: ( '0' .. '9' )+ | 993 | // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ |
899 | { | 994 | { |
900 | // InternalCftLanguage.g:1322:12: ( '0' .. '9' )+ | 995 | // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ |
901 | int cnt10=0; | 996 | int cnt11=0; |
902 | loop10: | 997 | loop11: |
903 | do { | 998 | do { |
904 | int alt10=2; | 999 | int alt11=2; |
905 | int LA10_0 = input.LA(1); | 1000 | int LA11_0 = input.LA(1); |
906 | 1001 | ||
907 | if ( ((LA10_0>='0' && LA10_0<='9')) ) { | 1002 | if ( ((LA11_0>='0' && LA11_0<='9')) ) { |
908 | alt10=1; | 1003 | alt11=1; |
909 | } | 1004 | } |
910 | 1005 | ||
911 | 1006 | ||
912 | switch (alt10) { | 1007 | switch (alt11) { |
913 | case 1 : | 1008 | case 1 : |
914 | // InternalCftLanguage.g:1322:13: '0' .. '9' | 1009 | // InternalCftLanguage.g:1677:13: '0' .. '9' |
915 | { | 1010 | { |
916 | matchRange('0','9'); | 1011 | matchRange('0','9'); |
917 | 1012 | ||
@@ -919,12 +1014,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
919 | break; | 1014 | break; |
920 | 1015 | ||
921 | default : | 1016 | default : |
922 | if ( cnt10 >= 1 ) break loop10; | 1017 | if ( cnt11 >= 1 ) break loop11; |
923 | EarlyExitException eee = | 1018 | EarlyExitException eee = |
924 | new EarlyExitException(10, input); | 1019 | new EarlyExitException(11, input); |
925 | throw eee; | 1020 | throw eee; |
926 | } | 1021 | } |
927 | cnt10++; | 1022 | cnt11++; |
928 | } while (true); | 1023 | } while (true); |
929 | 1024 | ||
930 | 1025 | ||
@@ -943,47 +1038,47 @@ public class InternalCftLanguageLexer extends Lexer { | |||
943 | try { | 1038 | try { |
944 | int _type = RULE_STRING; | 1039 | int _type = RULE_STRING; |
945 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1040 | int _channel = DEFAULT_TOKEN_CHANNEL; |
946 | // InternalCftLanguage.g:1324:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1041 | // InternalCftLanguage.g:1679:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
947 | // InternalCftLanguage.g:1324:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1042 | // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
948 | { | 1043 | { |
949 | // InternalCftLanguage.g:1324:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1044 | // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
950 | int alt13=2; | 1045 | int alt14=2; |
951 | int LA13_0 = input.LA(1); | 1046 | int LA14_0 = input.LA(1); |
952 | 1047 | ||
953 | if ( (LA13_0=='\"') ) { | 1048 | if ( (LA14_0=='\"') ) { |
954 | alt13=1; | 1049 | alt14=1; |
955 | } | 1050 | } |
956 | else if ( (LA13_0=='\'') ) { | 1051 | else if ( (LA14_0=='\'') ) { |
957 | alt13=2; | 1052 | alt14=2; |
958 | } | 1053 | } |
959 | else { | 1054 | else { |
960 | NoViableAltException nvae = | 1055 | NoViableAltException nvae = |
961 | new NoViableAltException("", 13, 0, input); | 1056 | new NoViableAltException("", 14, 0, input); |
962 | 1057 | ||
963 | throw nvae; | 1058 | throw nvae; |
964 | } | 1059 | } |
965 | switch (alt13) { | 1060 | switch (alt14) { |
966 | case 1 : | 1061 | case 1 : |
967 | // InternalCftLanguage.g:1324:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1062 | // InternalCftLanguage.g:1679:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
968 | { | 1063 | { |
969 | match('\"'); | 1064 | match('\"'); |
970 | // InternalCftLanguage.g:1324:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 1065 | // InternalCftLanguage.g:1679:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
971 | loop11: | 1066 | loop12: |
972 | do { | 1067 | do { |
973 | int alt11=3; | 1068 | int alt12=3; |
974 | int LA11_0 = input.LA(1); | 1069 | int LA12_0 = input.LA(1); |
975 | 1070 | ||
976 | if ( (LA11_0=='\\') ) { | 1071 | if ( (LA12_0=='\\') ) { |
977 | alt11=1; | 1072 | alt12=1; |
978 | } | 1073 | } |
979 | else if ( ((LA11_0>='\u0000' && LA11_0<='!')||(LA11_0>='#' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\uFFFF')) ) { | 1074 | else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { |
980 | alt11=2; | 1075 | alt12=2; |
981 | } | 1076 | } |
982 | 1077 | ||
983 | 1078 | ||
984 | switch (alt11) { | 1079 | switch (alt12) { |
985 | case 1 : | 1080 | case 1 : |
986 | // InternalCftLanguage.g:1324:21: '\\\\' . | 1081 | // InternalCftLanguage.g:1679:21: '\\\\' . |
987 | { | 1082 | { |
988 | match('\\'); | 1083 | match('\\'); |
989 | matchAny(); | 1084 | matchAny(); |
@@ -991,7 +1086,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
991 | } | 1086 | } |
992 | break; | 1087 | break; |
993 | case 2 : | 1088 | case 2 : |
994 | // InternalCftLanguage.g:1324:28: ~ ( ( '\\\\' | '\"' ) ) | 1089 | // InternalCftLanguage.g:1679:28: ~ ( ( '\\\\' | '\"' ) ) |
995 | { | 1090 | { |
996 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1091 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
997 | input.consume(); | 1092 | input.consume(); |
@@ -1007,7 +1102,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1007 | break; | 1102 | break; |
1008 | 1103 | ||
1009 | default : | 1104 | default : |
1010 | break loop11; | 1105 | break loop12; |
1011 | } | 1106 | } |
1012 | } while (true); | 1107 | } while (true); |
1013 | 1108 | ||
@@ -1016,26 +1111,26 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1016 | } | 1111 | } |
1017 | break; | 1112 | break; |
1018 | case 2 : | 1113 | case 2 : |
1019 | // InternalCftLanguage.g:1324:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 1114 | // InternalCftLanguage.g:1679:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
1020 | { | 1115 | { |
1021 | match('\''); | 1116 | match('\''); |
1022 | // InternalCftLanguage.g:1324:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 1117 | // InternalCftLanguage.g:1679:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
1023 | loop12: | 1118 | loop13: |
1024 | do { | 1119 | do { |
1025 | int alt12=3; | 1120 | int alt13=3; |
1026 | int LA12_0 = input.LA(1); | 1121 | int LA13_0 = input.LA(1); |
1027 | 1122 | ||
1028 | if ( (LA12_0=='\\') ) { | 1123 | if ( (LA13_0=='\\') ) { |
1029 | alt12=1; | 1124 | alt13=1; |
1030 | } | 1125 | } |
1031 | else if ( ((LA12_0>='\u0000' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { | 1126 | else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { |
1032 | alt12=2; | 1127 | alt13=2; |
1033 | } | 1128 | } |
1034 | 1129 | ||
1035 | 1130 | ||
1036 | switch (alt12) { | 1131 | switch (alt13) { |
1037 | case 1 : | 1132 | case 1 : |
1038 | // InternalCftLanguage.g:1324:54: '\\\\' . | 1133 | // InternalCftLanguage.g:1679:54: '\\\\' . |
1039 | { | 1134 | { |
1040 | match('\\'); | 1135 | match('\\'); |
1041 | matchAny(); | 1136 | matchAny(); |
@@ -1043,7 +1138,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1043 | } | 1138 | } |
1044 | break; | 1139 | break; |
1045 | case 2 : | 1140 | case 2 : |
1046 | // InternalCftLanguage.g:1324:61: ~ ( ( '\\\\' | '\\'' ) ) | 1141 | // InternalCftLanguage.g:1679:61: ~ ( ( '\\\\' | '\\'' ) ) |
1047 | { | 1142 | { |
1048 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1143 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1049 | input.consume(); | 1144 | input.consume(); |
@@ -1059,7 +1154,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1059 | break; | 1154 | break; |
1060 | 1155 | ||
1061 | default : | 1156 | default : |
1062 | break loop12; | 1157 | break loop13; |
1063 | } | 1158 | } |
1064 | } while (true); | 1159 | } while (true); |
1065 | 1160 | ||
@@ -1086,37 +1181,37 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1086 | try { | 1181 | try { |
1087 | int _type = RULE_ML_COMMENT; | 1182 | int _type = RULE_ML_COMMENT; |
1088 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1183 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1089 | // InternalCftLanguage.g:1326:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1184 | // InternalCftLanguage.g:1681:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
1090 | // InternalCftLanguage.g:1326:19: '/*' ( options {greedy=false; } : . )* '*/' | 1185 | // InternalCftLanguage.g:1681:19: '/*' ( options {greedy=false; } : . )* '*/' |
1091 | { | 1186 | { |
1092 | match("/*"); | 1187 | match("/*"); |
1093 | 1188 | ||
1094 | // InternalCftLanguage.g:1326:24: ( options {greedy=false; } : . )* | 1189 | // InternalCftLanguage.g:1681:24: ( options {greedy=false; } : . )* |
1095 | loop14: | 1190 | loop15: |
1096 | do { | 1191 | do { |
1097 | int alt14=2; | 1192 | int alt15=2; |
1098 | int LA14_0 = input.LA(1); | 1193 | int LA15_0 = input.LA(1); |
1099 | 1194 | ||
1100 | if ( (LA14_0=='*') ) { | 1195 | if ( (LA15_0=='*') ) { |
1101 | int LA14_1 = input.LA(2); | 1196 | int LA15_1 = input.LA(2); |
1102 | 1197 | ||
1103 | if ( (LA14_1=='/') ) { | 1198 | if ( (LA15_1=='/') ) { |
1104 | alt14=2; | 1199 | alt15=2; |
1105 | } | 1200 | } |
1106 | else if ( ((LA14_1>='\u0000' && LA14_1<='.')||(LA14_1>='0' && LA14_1<='\uFFFF')) ) { | 1201 | else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) { |
1107 | alt14=1; | 1202 | alt15=1; |
1108 | } | 1203 | } |
1109 | 1204 | ||
1110 | 1205 | ||
1111 | } | 1206 | } |
1112 | else if ( ((LA14_0>='\u0000' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='\uFFFF')) ) { | 1207 | else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) { |
1113 | alt14=1; | 1208 | alt15=1; |
1114 | } | 1209 | } |
1115 | 1210 | ||
1116 | 1211 | ||
1117 | switch (alt14) { | 1212 | switch (alt15) { |
1118 | case 1 : | 1213 | case 1 : |
1119 | // InternalCftLanguage.g:1326:52: . | 1214 | // InternalCftLanguage.g:1681:52: . |
1120 | { | 1215 | { |
1121 | matchAny(); | 1216 | matchAny(); |
1122 | 1217 | ||
@@ -1124,7 +1219,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1124 | break; | 1219 | break; |
1125 | 1220 | ||
1126 | default : | 1221 | default : |
1127 | break loop14; | 1222 | break loop15; |
1128 | } | 1223 | } |
1129 | } while (true); | 1224 | } while (true); |
1130 | 1225 | ||
@@ -1146,25 +1241,25 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1146 | try { | 1241 | try { |
1147 | int _type = RULE_SL_COMMENT; | 1242 | int _type = RULE_SL_COMMENT; |
1148 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1243 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1149 | // InternalCftLanguage.g:1328:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1244 | // InternalCftLanguage.g:1683:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1150 | // InternalCftLanguage.g:1328:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1245 | // InternalCftLanguage.g:1683:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1151 | { | 1246 | { |
1152 | match("//"); | 1247 | match("//"); |
1153 | 1248 | ||
1154 | // InternalCftLanguage.g:1328:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1249 | // InternalCftLanguage.g:1683:24: (~ ( ( '\\n' | '\\r' ) ) )* |
1155 | loop15: | 1250 | loop16: |
1156 | do { | 1251 | do { |
1157 | int alt15=2; | 1252 | int alt16=2; |
1158 | int LA15_0 = input.LA(1); | 1253 | int LA16_0 = input.LA(1); |
1159 | 1254 | ||
1160 | if ( ((LA15_0>='\u0000' && LA15_0<='\t')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\uFFFF')) ) { | 1255 | if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) { |
1161 | alt15=1; | 1256 | alt16=1; |
1162 | } | 1257 | } |
1163 | 1258 | ||
1164 | 1259 | ||
1165 | switch (alt15) { | 1260 | switch (alt16) { |
1166 | case 1 : | 1261 | case 1 : |
1167 | // InternalCftLanguage.g:1328:24: ~ ( ( '\\n' | '\\r' ) ) | 1262 | // InternalCftLanguage.g:1683:24: ~ ( ( '\\n' | '\\r' ) ) |
1168 | { | 1263 | { |
1169 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1264 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1170 | input.consume(); | 1265 | input.consume(); |
@@ -1180,31 +1275,31 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1180 | break; | 1275 | break; |
1181 | 1276 | ||
1182 | default : | 1277 | default : |
1183 | break loop15; | 1278 | break loop16; |
1184 | } | 1279 | } |
1185 | } while (true); | 1280 | } while (true); |
1186 | 1281 | ||
1187 | // InternalCftLanguage.g:1328:40: ( ( '\\r' )? '\\n' )? | 1282 | // InternalCftLanguage.g:1683:40: ( ( '\\r' )? '\\n' )? |
1188 | int alt17=2; | 1283 | int alt18=2; |
1189 | int LA17_0 = input.LA(1); | 1284 | int LA18_0 = input.LA(1); |
1190 | 1285 | ||
1191 | if ( (LA17_0=='\n'||LA17_0=='\r') ) { | 1286 | if ( (LA18_0=='\n'||LA18_0=='\r') ) { |
1192 | alt17=1; | 1287 | alt18=1; |
1193 | } | 1288 | } |
1194 | switch (alt17) { | 1289 | switch (alt18) { |
1195 | case 1 : | 1290 | case 1 : |
1196 | // InternalCftLanguage.g:1328:41: ( '\\r' )? '\\n' | 1291 | // InternalCftLanguage.g:1683:41: ( '\\r' )? '\\n' |
1197 | { | 1292 | { |
1198 | // InternalCftLanguage.g:1328:41: ( '\\r' )? | 1293 | // InternalCftLanguage.g:1683:41: ( '\\r' )? |
1199 | int alt16=2; | 1294 | int alt17=2; |
1200 | int LA16_0 = input.LA(1); | 1295 | int LA17_0 = input.LA(1); |
1201 | 1296 | ||
1202 | if ( (LA16_0=='\r') ) { | 1297 | if ( (LA17_0=='\r') ) { |
1203 | alt16=1; | 1298 | alt17=1; |
1204 | } | 1299 | } |
1205 | switch (alt16) { | 1300 | switch (alt17) { |
1206 | case 1 : | 1301 | case 1 : |
1207 | // InternalCftLanguage.g:1328:41: '\\r' | 1302 | // InternalCftLanguage.g:1683:41: '\\r' |
1208 | { | 1303 | { |
1209 | match('\r'); | 1304 | match('\r'); |
1210 | 1305 | ||
@@ -1236,22 +1331,22 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1236 | try { | 1331 | try { |
1237 | int _type = RULE_WS; | 1332 | int _type = RULE_WS; |
1238 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1333 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1239 | // InternalCftLanguage.g:1330:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1334 | // InternalCftLanguage.g:1685:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1240 | // InternalCftLanguage.g:1330:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1335 | // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1241 | { | 1336 | { |
1242 | // InternalCftLanguage.g:1330:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1337 | // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1243 | int cnt18=0; | 1338 | int cnt19=0; |
1244 | loop18: | 1339 | loop19: |
1245 | do { | 1340 | do { |
1246 | int alt18=2; | 1341 | int alt19=2; |
1247 | int LA18_0 = input.LA(1); | 1342 | int LA19_0 = input.LA(1); |
1248 | 1343 | ||
1249 | if ( ((LA18_0>='\t' && LA18_0<='\n')||LA18_0=='\r'||LA18_0==' ') ) { | 1344 | if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) { |
1250 | alt18=1; | 1345 | alt19=1; |
1251 | } | 1346 | } |
1252 | 1347 | ||
1253 | 1348 | ||
1254 | switch (alt18) { | 1349 | switch (alt19) { |
1255 | case 1 : | 1350 | case 1 : |
1256 | // InternalCftLanguage.g: | 1351 | // InternalCftLanguage.g: |
1257 | { | 1352 | { |
@@ -1269,12 +1364,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1269 | break; | 1364 | break; |
1270 | 1365 | ||
1271 | default : | 1366 | default : |
1272 | if ( cnt18 >= 1 ) break loop18; | 1367 | if ( cnt19 >= 1 ) break loop19; |
1273 | EarlyExitException eee = | 1368 | EarlyExitException eee = |
1274 | new EarlyExitException(18, input); | 1369 | new EarlyExitException(19, input); |
1275 | throw eee; | 1370 | throw eee; |
1276 | } | 1371 | } |
1277 | cnt18++; | 1372 | cnt19++; |
1278 | } while (true); | 1373 | } while (true); |
1279 | 1374 | ||
1280 | 1375 | ||
@@ -1293,8 +1388,8 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1293 | try { | 1388 | try { |
1294 | int _type = RULE_ANY_OTHER; | 1389 | int _type = RULE_ANY_OTHER; |
1295 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1390 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1296 | // InternalCftLanguage.g:1332:16: ( . ) | 1391 | // InternalCftLanguage.g:1687:16: ( . ) |
1297 | // InternalCftLanguage.g:1332:18: . | 1392 | // InternalCftLanguage.g:1687:18: . |
1298 | { | 1393 | { |
1299 | matchAny(); | 1394 | matchAny(); |
1300 | 1395 | ||
@@ -1309,243 +1404,264 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1309 | // $ANTLR end "RULE_ANY_OTHER" | 1404 | // $ANTLR end "RULE_ANY_OTHER" |
1310 | 1405 | ||
1311 | public void mTokens() throws RecognitionException { | 1406 | public void mTokens() throws RecognitionException { |
1312 | // InternalCftLanguage.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_DOULBE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | 1407 | // InternalCftLanguage.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
1313 | int alt19=34; | 1408 | int alt20=37; |
1314 | alt19 = dfa19.predict(input); | 1409 | alt20 = dfa20.predict(input); |
1315 | switch (alt19) { | 1410 | switch (alt20) { |
1316 | case 1 : | 1411 | case 1 : |
1317 | // InternalCftLanguage.g:1:10: T__12 | 1412 | // InternalCftLanguage.g:1:10: T__13 |
1318 | { | 1413 | { |
1319 | mT__12(); | 1414 | mT__13(); |
1320 | 1415 | ||
1321 | } | 1416 | } |
1322 | break; | 1417 | break; |
1323 | case 2 : | 1418 | case 2 : |
1324 | // InternalCftLanguage.g:1:16: T__13 | 1419 | // InternalCftLanguage.g:1:16: T__14 |
1325 | { | 1420 | { |
1326 | mT__13(); | 1421 | mT__14(); |
1327 | 1422 | ||
1328 | } | 1423 | } |
1329 | break; | 1424 | break; |
1330 | case 3 : | 1425 | case 3 : |
1331 | // InternalCftLanguage.g:1:22: T__14 | 1426 | // InternalCftLanguage.g:1:22: T__15 |
1332 | { | 1427 | { |
1333 | mT__14(); | 1428 | mT__15(); |
1334 | 1429 | ||
1335 | } | 1430 | } |
1336 | break; | 1431 | break; |
1337 | case 4 : | 1432 | case 4 : |
1338 | // InternalCftLanguage.g:1:28: T__15 | 1433 | // InternalCftLanguage.g:1:28: T__16 |
1339 | { | 1434 | { |
1340 | mT__15(); | 1435 | mT__16(); |
1341 | 1436 | ||
1342 | } | 1437 | } |
1343 | break; | 1438 | break; |
1344 | case 5 : | 1439 | case 5 : |
1345 | // InternalCftLanguage.g:1:34: T__16 | 1440 | // InternalCftLanguage.g:1:34: T__17 |
1346 | { | 1441 | { |
1347 | mT__16(); | 1442 | mT__17(); |
1348 | 1443 | ||
1349 | } | 1444 | } |
1350 | break; | 1445 | break; |
1351 | case 6 : | 1446 | case 6 : |
1352 | // InternalCftLanguage.g:1:40: T__17 | 1447 | // InternalCftLanguage.g:1:40: T__18 |
1353 | { | 1448 | { |
1354 | mT__17(); | 1449 | mT__18(); |
1355 | 1450 | ||
1356 | } | 1451 | } |
1357 | break; | 1452 | break; |
1358 | case 7 : | 1453 | case 7 : |
1359 | // InternalCftLanguage.g:1:46: T__18 | 1454 | // InternalCftLanguage.g:1:46: T__19 |
1360 | { | 1455 | { |
1361 | mT__18(); | 1456 | mT__19(); |
1362 | 1457 | ||
1363 | } | 1458 | } |
1364 | break; | 1459 | break; |
1365 | case 8 : | 1460 | case 8 : |
1366 | // InternalCftLanguage.g:1:52: T__19 | 1461 | // InternalCftLanguage.g:1:52: T__20 |
1367 | { | 1462 | { |
1368 | mT__19(); | 1463 | mT__20(); |
1369 | 1464 | ||
1370 | } | 1465 | } |
1371 | break; | 1466 | break; |
1372 | case 9 : | 1467 | case 9 : |
1373 | // InternalCftLanguage.g:1:58: T__20 | 1468 | // InternalCftLanguage.g:1:58: T__21 |
1374 | { | 1469 | { |
1375 | mT__20(); | 1470 | mT__21(); |
1376 | 1471 | ||
1377 | } | 1472 | } |
1378 | break; | 1473 | break; |
1379 | case 10 : | 1474 | case 10 : |
1380 | // InternalCftLanguage.g:1:64: T__21 | 1475 | // InternalCftLanguage.g:1:64: T__22 |
1381 | { | 1476 | { |
1382 | mT__21(); | 1477 | mT__22(); |
1383 | 1478 | ||
1384 | } | 1479 | } |
1385 | break; | 1480 | break; |
1386 | case 11 : | 1481 | case 11 : |
1387 | // InternalCftLanguage.g:1:70: T__22 | 1482 | // InternalCftLanguage.g:1:70: T__23 |
1388 | { | 1483 | { |
1389 | mT__22(); | 1484 | mT__23(); |
1390 | 1485 | ||
1391 | } | 1486 | } |
1392 | break; | 1487 | break; |
1393 | case 12 : | 1488 | case 12 : |
1394 | // InternalCftLanguage.g:1:76: T__23 | 1489 | // InternalCftLanguage.g:1:76: T__24 |
1395 | { | 1490 | { |
1396 | mT__23(); | 1491 | mT__24(); |
1397 | 1492 | ||
1398 | } | 1493 | } |
1399 | break; | 1494 | break; |
1400 | case 13 : | 1495 | case 13 : |
1401 | // InternalCftLanguage.g:1:82: T__24 | 1496 | // InternalCftLanguage.g:1:82: T__25 |
1402 | { | 1497 | { |
1403 | mT__24(); | 1498 | mT__25(); |
1404 | 1499 | ||
1405 | } | 1500 | } |
1406 | break; | 1501 | break; |
1407 | case 14 : | 1502 | case 14 : |
1408 | // InternalCftLanguage.g:1:88: T__25 | 1503 | // InternalCftLanguage.g:1:88: T__26 |
1409 | { | 1504 | { |
1410 | mT__25(); | 1505 | mT__26(); |
1411 | 1506 | ||
1412 | } | 1507 | } |
1413 | break; | 1508 | break; |
1414 | case 15 : | 1509 | case 15 : |
1415 | // InternalCftLanguage.g:1:94: T__26 | 1510 | // InternalCftLanguage.g:1:94: T__27 |
1416 | { | 1511 | { |
1417 | mT__26(); | 1512 | mT__27(); |
1418 | 1513 | ||
1419 | } | 1514 | } |
1420 | break; | 1515 | break; |
1421 | case 16 : | 1516 | case 16 : |
1422 | // InternalCftLanguage.g:1:100: T__27 | 1517 | // InternalCftLanguage.g:1:100: T__28 |
1423 | { | 1518 | { |
1424 | mT__27(); | 1519 | mT__28(); |
1425 | 1520 | ||
1426 | } | 1521 | } |
1427 | break; | 1522 | break; |
1428 | case 17 : | 1523 | case 17 : |
1429 | // InternalCftLanguage.g:1:106: T__28 | 1524 | // InternalCftLanguage.g:1:106: T__29 |
1430 | { | 1525 | { |
1431 | mT__28(); | 1526 | mT__29(); |
1432 | 1527 | ||
1433 | } | 1528 | } |
1434 | break; | 1529 | break; |
1435 | case 18 : | 1530 | case 18 : |
1436 | // InternalCftLanguage.g:1:112: T__29 | 1531 | // InternalCftLanguage.g:1:112: T__30 |
1437 | { | 1532 | { |
1438 | mT__29(); | 1533 | mT__30(); |
1439 | 1534 | ||
1440 | } | 1535 | } |
1441 | break; | 1536 | break; |
1442 | case 19 : | 1537 | case 19 : |
1443 | // InternalCftLanguage.g:1:118: T__30 | 1538 | // InternalCftLanguage.g:1:118: T__31 |
1444 | { | 1539 | { |
1445 | mT__30(); | 1540 | mT__31(); |
1446 | 1541 | ||
1447 | } | 1542 | } |
1448 | break; | 1543 | break; |
1449 | case 20 : | 1544 | case 20 : |
1450 | // InternalCftLanguage.g:1:124: T__31 | 1545 | // InternalCftLanguage.g:1:124: T__32 |
1451 | { | 1546 | { |
1452 | mT__31(); | 1547 | mT__32(); |
1453 | 1548 | ||
1454 | } | 1549 | } |
1455 | break; | 1550 | break; |
1456 | case 21 : | 1551 | case 21 : |
1457 | // InternalCftLanguage.g:1:130: T__32 | 1552 | // InternalCftLanguage.g:1:130: T__33 |
1458 | { | 1553 | { |
1459 | mT__32(); | 1554 | mT__33(); |
1460 | 1555 | ||
1461 | } | 1556 | } |
1462 | break; | 1557 | break; |
1463 | case 22 : | 1558 | case 22 : |
1464 | // InternalCftLanguage.g:1:136: T__33 | 1559 | // InternalCftLanguage.g:1:136: T__34 |
1465 | { | 1560 | { |
1466 | mT__33(); | 1561 | mT__34(); |
1467 | 1562 | ||
1468 | } | 1563 | } |
1469 | break; | 1564 | break; |
1470 | case 23 : | 1565 | case 23 : |
1471 | // InternalCftLanguage.g:1:142: T__34 | 1566 | // InternalCftLanguage.g:1:142: T__35 |
1472 | { | 1567 | { |
1473 | mT__34(); | 1568 | mT__35(); |
1474 | 1569 | ||
1475 | } | 1570 | } |
1476 | break; | 1571 | break; |
1477 | case 24 : | 1572 | case 24 : |
1478 | // InternalCftLanguage.g:1:148: T__35 | 1573 | // InternalCftLanguage.g:1:148: T__36 |
1479 | { | 1574 | { |
1480 | mT__35(); | 1575 | mT__36(); |
1481 | 1576 | ||
1482 | } | 1577 | } |
1483 | break; | 1578 | break; |
1484 | case 25 : | 1579 | case 25 : |
1485 | // InternalCftLanguage.g:1:154: T__36 | 1580 | // InternalCftLanguage.g:1:154: T__37 |
1486 | { | 1581 | { |
1487 | mT__36(); | 1582 | mT__37(); |
1488 | 1583 | ||
1489 | } | 1584 | } |
1490 | break; | 1585 | break; |
1491 | case 26 : | 1586 | case 26 : |
1492 | // InternalCftLanguage.g:1:160: T__37 | 1587 | // InternalCftLanguage.g:1:160: T__38 |
1493 | { | 1588 | { |
1494 | mT__37(); | 1589 | mT__38(); |
1495 | 1590 | ||
1496 | } | 1591 | } |
1497 | break; | 1592 | break; |
1498 | case 27 : | 1593 | case 27 : |
1499 | // InternalCftLanguage.g:1:166: RULE_DOULBE | 1594 | // InternalCftLanguage.g:1:166: T__39 |
1500 | { | 1595 | { |
1501 | mRULE_DOULBE(); | 1596 | mT__39(); |
1502 | 1597 | ||
1503 | } | 1598 | } |
1504 | break; | 1599 | break; |
1505 | case 28 : | 1600 | case 28 : |
1506 | // InternalCftLanguage.g:1:178: RULE_ID | 1601 | // InternalCftLanguage.g:1:172: T__40 |
1507 | { | 1602 | { |
1508 | mRULE_ID(); | 1603 | mT__40(); |
1509 | 1604 | ||
1510 | } | 1605 | } |
1511 | break; | 1606 | break; |
1512 | case 29 : | 1607 | case 29 : |
1513 | // InternalCftLanguage.g:1:186: RULE_INT | 1608 | // InternalCftLanguage.g:1:178: RULE_OF_INT |
1514 | { | 1609 | { |
1515 | mRULE_INT(); | 1610 | mRULE_OF_INT(); |
1516 | 1611 | ||
1517 | } | 1612 | } |
1518 | break; | 1613 | break; |
1519 | case 30 : | 1614 | case 30 : |
1520 | // InternalCftLanguage.g:1:195: RULE_STRING | 1615 | // InternalCftLanguage.g:1:190: RULE_T_DOUBLE |
1521 | { | 1616 | { |
1522 | mRULE_STRING(); | 1617 | mRULE_T_DOUBLE(); |
1523 | 1618 | ||
1524 | } | 1619 | } |
1525 | break; | 1620 | break; |
1526 | case 31 : | 1621 | case 31 : |
1527 | // InternalCftLanguage.g:1:207: RULE_ML_COMMENT | 1622 | // InternalCftLanguage.g:1:204: RULE_ID |
1528 | { | 1623 | { |
1529 | mRULE_ML_COMMENT(); | 1624 | mRULE_ID(); |
1530 | 1625 | ||
1531 | } | 1626 | } |
1532 | break; | 1627 | break; |
1533 | case 32 : | 1628 | case 32 : |
1534 | // InternalCftLanguage.g:1:223: RULE_SL_COMMENT | 1629 | // InternalCftLanguage.g:1:212: RULE_INT |
1535 | { | 1630 | { |
1536 | mRULE_SL_COMMENT(); | 1631 | mRULE_INT(); |
1537 | 1632 | ||
1538 | } | 1633 | } |
1539 | break; | 1634 | break; |
1540 | case 33 : | 1635 | case 33 : |
1541 | // InternalCftLanguage.g:1:239: RULE_WS | 1636 | // InternalCftLanguage.g:1:221: RULE_STRING |
1542 | { | 1637 | { |
1543 | mRULE_WS(); | 1638 | mRULE_STRING(); |
1544 | 1639 | ||
1545 | } | 1640 | } |
1546 | break; | 1641 | break; |
1547 | case 34 : | 1642 | case 34 : |
1548 | // InternalCftLanguage.g:1:247: RULE_ANY_OTHER | 1643 | // InternalCftLanguage.g:1:233: RULE_ML_COMMENT |
1644 | { | ||
1645 | mRULE_ML_COMMENT(); | ||
1646 | |||
1647 | } | ||
1648 | break; | ||
1649 | case 35 : | ||
1650 | // InternalCftLanguage.g:1:249: RULE_SL_COMMENT | ||
1651 | { | ||
1652 | mRULE_SL_COMMENT(); | ||
1653 | |||
1654 | } | ||
1655 | break; | ||
1656 | case 36 : | ||
1657 | // InternalCftLanguage.g:1:265: RULE_WS | ||
1658 | { | ||
1659 | mRULE_WS(); | ||
1660 | |||
1661 | } | ||
1662 | break; | ||
1663 | case 37 : | ||
1664 | // InternalCftLanguage.g:1:273: RULE_ANY_OTHER | ||
1549 | { | 1665 | { |
1550 | mRULE_ANY_OTHER(); | 1666 | mRULE_ANY_OTHER(); |
1551 | 1667 | ||
@@ -1557,21 +1673,21 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1557 | } | 1673 | } |
1558 | 1674 | ||
1559 | 1675 | ||
1560 | protected DFA7 dfa7 = new DFA7(this); | 1676 | protected DFA8 dfa8 = new DFA8(this); |
1561 | protected DFA19 dfa19 = new DFA19(this); | 1677 | protected DFA20 dfa20 = new DFA20(this); |
1562 | static final String DFA7_eotS = | 1678 | static final String DFA8_eotS = |
1563 | "\3\uffff\1\4\1\uffff"; | 1679 | "\3\uffff\1\4\1\uffff"; |
1564 | static final String DFA7_eofS = | 1680 | static final String DFA8_eofS = |
1565 | "\5\uffff"; | 1681 | "\5\uffff"; |
1566 | static final String DFA7_minS = | 1682 | static final String DFA8_minS = |
1567 | "\1\56\1\60\1\uffff\1\60\1\uffff"; | 1683 | "\1\56\1\60\1\uffff\1\60\1\uffff"; |
1568 | static final String DFA7_maxS = | 1684 | static final String DFA8_maxS = |
1569 | "\1\145\1\71\1\uffff\1\145\1\uffff"; | 1685 | "\1\145\1\71\1\uffff\1\145\1\uffff"; |
1570 | static final String DFA7_acceptS = | 1686 | static final String DFA8_acceptS = |
1571 | "\2\uffff\1\2\1\uffff\1\1"; | 1687 | "\2\uffff\1\2\1\uffff\1\1"; |
1572 | static final String DFA7_specialS = | 1688 | static final String DFA8_specialS = |
1573 | "\5\uffff}>"; | 1689 | "\5\uffff}>"; |
1574 | static final String[] DFA7_transitionS = { | 1690 | static final String[] DFA8_transitionS = { |
1575 | "\1\1\26\uffff\1\2\37\uffff\1\2", | 1691 | "\1\1\26\uffff\1\2\37\uffff\1\2", |
1576 | "\12\3", | 1692 | "\12\3", |
1577 | "", | 1693 | "", |
@@ -1579,101 +1695,103 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1579 | "" | 1695 | "" |
1580 | }; | 1696 | }; |
1581 | 1697 | ||
1582 | static final short[] DFA7_eot = DFA.unpackEncodedString(DFA7_eotS); | 1698 | static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS); |
1583 | static final short[] DFA7_eof = DFA.unpackEncodedString(DFA7_eofS); | 1699 | static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS); |
1584 | static final char[] DFA7_min = DFA.unpackEncodedStringToUnsignedChars(DFA7_minS); | 1700 | static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS); |
1585 | static final char[] DFA7_max = DFA.unpackEncodedStringToUnsignedChars(DFA7_maxS); | 1701 | static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS); |
1586 | static final short[] DFA7_accept = DFA.unpackEncodedString(DFA7_acceptS); | 1702 | static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS); |
1587 | static final short[] DFA7_special = DFA.unpackEncodedString(DFA7_specialS); | 1703 | static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS); |
1588 | static final short[][] DFA7_transition; | 1704 | static final short[][] DFA8_transition; |
1589 | 1705 | ||
1590 | static { | 1706 | static { |
1591 | int numStates = DFA7_transitionS.length; | 1707 | int numStates = DFA8_transitionS.length; |
1592 | DFA7_transition = new short[numStates][]; | 1708 | DFA8_transition = new short[numStates][]; |
1593 | for (int i=0; i<numStates; i++) { | 1709 | for (int i=0; i<numStates; i++) { |
1594 | DFA7_transition[i] = DFA.unpackEncodedString(DFA7_transitionS[i]); | 1710 | DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]); |
1595 | } | 1711 | } |
1596 | } | 1712 | } |
1597 | 1713 | ||
1598 | class DFA7 extends DFA { | 1714 | class DFA8 extends DFA { |
1599 | 1715 | ||
1600 | public DFA7(BaseRecognizer recognizer) { | 1716 | public DFA8(BaseRecognizer recognizer) { |
1601 | this.recognizer = recognizer; | 1717 | this.recognizer = recognizer; |
1602 | this.decisionNumber = 7; | 1718 | this.decisionNumber = 8; |
1603 | this.eot = DFA7_eot; | 1719 | this.eot = DFA8_eot; |
1604 | this.eof = DFA7_eof; | 1720 | this.eof = DFA8_eof; |
1605 | this.min = DFA7_min; | 1721 | this.min = DFA8_min; |
1606 | this.max = DFA7_max; | 1722 | this.max = DFA8_max; |
1607 | this.accept = DFA7_accept; | 1723 | this.accept = DFA8_accept; |
1608 | this.special = DFA7_special; | 1724 | this.special = DFA8_special; |
1609 | this.transition = DFA7_transition; | 1725 | this.transition = DFA8_transition; |
1610 | } | 1726 | } |
1611 | public String getDescription() { | 1727 | public String getDescription() { |
1612 | return "1318:27: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; | 1728 | return "1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; |
1613 | } | 1729 | } |
1614 | } | 1730 | } |
1615 | static final String DFA19_eotS = | 1731 | static final String DFA20_eotS = |
1616 | "\1\uffff\1\36\1\uffff\2\36\1\uffff\1\36\1\uffff\1\34\1\36\1\53\3\36\3\uffff\2\34\2\uffff\1\72\1\34\1\uffff\3\34\2\uffff\1\36\2\uffff\1\36\1\101\1\36\1\uffff\1\36\1\104\2\uffff\2\36\2\uffff\1\36\1\110\3\36\10\uffff\1\72\5\uffff\2\36\1\uffff\1\116\1\117\1\uffff\2\36\1\122\1\uffff\5\36\2\uffff\2\36\1\uffff\13\36\1\145\1\146\1\147\3\36\1\153\3\uffff\2\36\1\156\1\uffff\1\36\1\160\1\uffff\1\36\1\uffff\4\36\1\166\1\uffff"; | 1732 | "\1\uffff\1\36\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\72\1\34\1\uffff\3\34\2\uffff\1\37\3\uffff\1\37\1\103\1\37\1\uffff\1\37\1\106\1\110\4\uffff\3\37\1\114\3\37\10\uffff\1\72\5\uffff\2\37\1\uffff\1\122\1\123\1\uffff\1\124\1\uffff\2\37\1\127\1\uffff\5\37\3\uffff\2\37\1\uffff\13\37\1\152\1\153\1\154\3\37\1\160\3\uffff\2\37\1\163\1\uffff\1\37\1\165\1\uffff\1\37\1\uffff\4\37\1\173\1\uffff"; |
1617 | static final String DFA19_eofS = | 1733 | static final String DFA20_eofS = |
1618 | "\167\uffff"; | 1734 | "\174\uffff"; |
1619 | static final String DFA19_minS = | 1735 | static final String DFA20_minS = |
1620 | "\1\0\1\141\1\uffff\1\155\1\146\1\uffff\1\162\1\uffff\1\135\1\141\1\76\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\2\uffff\1\160\1\60\1\164\1\uffff\1\164\1\60\2\uffff\1\155\1\157\2\uffff\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\2\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; | 1736 | "\1\0\1\60\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\3\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; |
1621 | static final String DFA19_maxS = | 1737 | static final String DFA20_maxS = |
1622 | "\1\uffff\1\141\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\157\1\76\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\2\uffff\1\160\1\172\1\164\1\uffff\1\164\1\172\2\uffff\1\155\1\157\2\uffff\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\2\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; | 1738 | "\1\uffff\1\172\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\3\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; |
1623 | static final String DFA19_acceptS = | 1739 | static final String DFA20_acceptS = |
1624 | "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\21\1\22\1\23\2\uffff\1\30\1\32\2\uffff\1\34\3\uffff\1\41\1\42\1\uffff\1\34\1\2\3\uffff\1\5\2\uffff\1\10\1\11\2\uffff\1\31\1\13\5\uffff\1\21\1\22\1\23\1\26\1\27\1\30\1\32\1\33\1\uffff\1\35\1\36\1\37\1\40\1\41\2\uffff\1\6\2\uffff\1\15\3\uffff\1\25\5\uffff\1\4\1\7\2\uffff\1\14\22\uffff\1\3\1\12\1\24\3\uffff\1\1\2\uffff\1\20\1\uffff\1\17\5\uffff\1\16"; | 1740 | "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\1\uffff\1\12\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\40\1\uffff\1\36\1\41\1\42\1\43\1\44\2\uffff\1\6\2\uffff\1\16\1\uffff\1\17\3\uffff\1\27\5\uffff\1\4\1\7\1\35\2\uffff\1\15\22\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; |
1625 | static final String DFA19_specialS = | 1741 | static final String DFA20_specialS = |
1626 | "\1\0\27\uffff\1\2\1\1\135\uffff}>"; | 1742 | "\1\1\27\uffff\1\2\1\0\142\uffff}>"; |
1627 | static final String[] DFA19_transitionS = { | 1743 | static final String[] DFA20_transitionS = { |
1628 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\12\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\11\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", | 1744 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", |
1629 | "\1\35", | 1745 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\1\35\31\37", |
1630 | "", | 1746 | "", |
1631 | "\1\40\1\41", | 1747 | "\1\41\1\42", |
1632 | "\1\42", | 1748 | "\1\43", |
1633 | "", | 1749 | "", |
1634 | "\1\45\2\uffff\1\44", | 1750 | "\1\47\13\uffff\1\46\2\uffff\1\45", |
1635 | "", | 1751 | "", |
1636 | "\1\47", | 1752 | "\1\51", |
1637 | "\1\50\15\uffff\1\51", | ||
1638 | "\1\52", | 1753 | "\1\52", |
1639 | "\1\54\4\uffff\1\55", | 1754 | "\1\54\15\uffff\1\55", |
1640 | "\1\57\2\uffff\1\56", | 1755 | "\1\56\4\uffff\1\57", |
1641 | "\1\60", | 1756 | "\1\61\2\uffff\1\60", |
1757 | "\1\62", | ||
1758 | "", | ||
1642 | "", | 1759 | "", |
1643 | "", | 1760 | "", |
1761 | "\1\66", | ||
1762 | "\1\67", | ||
1644 | "", | 1763 | "", |
1645 | "\1\64", | ||
1646 | "\1\65", | ||
1647 | "", | 1764 | "", |
1765 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", | ||
1766 | "\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1648 | "", | 1767 | "", |
1649 | "\1\70\1\uffff\12\71\13\uffff\1\70\37\uffff\1\70", | 1768 | "\0\75", |
1650 | "\32\36\4\uffff\1\36\1\uffff\32\36", | 1769 | "\0\75", |
1770 | "\1\76\4\uffff\1\77", | ||
1651 | "", | 1771 | "", |
1652 | "\0\73", | ||
1653 | "\0\73", | ||
1654 | "\1\74\4\uffff\1\75", | ||
1655 | "", | 1772 | "", |
1773 | "\1\101", | ||
1656 | "", | 1774 | "", |
1657 | "\1\77", | ||
1658 | "", | 1775 | "", |
1659 | "", | 1776 | "", |
1660 | "\1\100", | ||
1661 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | ||
1662 | "\1\102", | 1777 | "\1\102", |
1778 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1779 | "\1\104", | ||
1663 | "", | 1780 | "", |
1664 | "\1\103", | 1781 | "\1\105", |
1665 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1782 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1783 | "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1666 | "", | 1784 | "", |
1667 | "", | 1785 | "", |
1668 | "\1\105", | ||
1669 | "\1\106", | ||
1670 | "", | 1786 | "", |
1671 | "", | 1787 | "", |
1672 | "\1\107", | ||
1673 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | ||
1674 | "\1\111", | 1788 | "\1\111", |
1675 | "\1\112", | 1789 | "\1\112", |
1676 | "\1\113", | 1790 | "\1\113", |
1791 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1792 | "\1\115", | ||
1793 | "\1\116", | ||
1794 | "\1\117", | ||
1677 | "", | 1795 | "", |
1678 | "", | 1796 | "", |
1679 | "", | 1797 | "", |
@@ -1682,183 +1800,186 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1682 | "", | 1800 | "", |
1683 | "", | 1801 | "", |
1684 | "", | 1802 | "", |
1685 | "\1\70\1\uffff\12\71\13\uffff\1\70\37\uffff\1\70", | 1803 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", |
1686 | "", | ||
1687 | "", | ||
1688 | "", | 1804 | "", |
1689 | "", | 1805 | "", |
1690 | "", | 1806 | "", |
1691 | "\1\114", | ||
1692 | "\1\115", | ||
1693 | "", | 1807 | "", |
1694 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | ||
1695 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | ||
1696 | "", | 1808 | "", |
1697 | "\1\120", | 1809 | "\1\120", |
1698 | "\1\121", | 1810 | "\1\121", |
1699 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | ||
1700 | "", | 1811 | "", |
1701 | "\1\123", | 1812 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1702 | "\1\124", | 1813 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1814 | "", | ||
1815 | "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1816 | "", | ||
1703 | "\1\125", | 1817 | "\1\125", |
1704 | "\1\126", | 1818 | "\1\126", |
1705 | "\1\127", | 1819 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1706 | "", | ||
1707 | "", | 1820 | "", |
1708 | "\1\130", | 1821 | "\1\130", |
1709 | "\1\131", | 1822 | "\1\131", |
1710 | "", | ||
1711 | "\1\132", | 1823 | "\1\132", |
1712 | "\1\133", | 1824 | "\1\133", |
1713 | "\1\134", | 1825 | "\1\134", |
1826 | "", | ||
1827 | "", | ||
1828 | "", | ||
1714 | "\1\135", | 1829 | "\1\135", |
1715 | "\1\136", | 1830 | "\1\136", |
1831 | "", | ||
1716 | "\1\137", | 1832 | "\1\137", |
1717 | "\1\140", | 1833 | "\1\140", |
1718 | "\1\141", | 1834 | "\1\141", |
1719 | "\1\142", | 1835 | "\1\142", |
1720 | "\1\143", | 1836 | "\1\143", |
1721 | "\1\144", | 1837 | "\1\144", |
1722 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1838 | "\1\145", |
1723 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1839 | "\1\146", |
1724 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1840 | "\1\147", |
1725 | "\1\150", | 1841 | "\1\150", |
1726 | "\1\151", | 1842 | "\1\151", |
1727 | "\1\152", | 1843 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1728 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1844 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1729 | "", | 1845 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1730 | "", | ||
1731 | "", | ||
1732 | "\1\154", | ||
1733 | "\1\155", | 1846 | "\1\155", |
1734 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1847 | "\1\156", |
1735 | "", | ||
1736 | "\1\157", | 1848 | "\1\157", |
1737 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1849 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1738 | "", | 1850 | "", |
1739 | "\1\161", | ||
1740 | "", | 1851 | "", |
1852 | "", | ||
1853 | "\1\161", | ||
1741 | "\1\162", | 1854 | "\1\162", |
1742 | "\1\163", | 1855 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1856 | "", | ||
1743 | "\1\164", | 1857 | "\1\164", |
1744 | "\1\165", | 1858 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1745 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", | 1859 | "", |
1860 | "\1\166", | ||
1861 | "", | ||
1862 | "\1\167", | ||
1863 | "\1\170", | ||
1864 | "\1\171", | ||
1865 | "\1\172", | ||
1866 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1746 | "" | 1867 | "" |
1747 | }; | 1868 | }; |
1748 | 1869 | ||
1749 | static final short[] DFA19_eot = DFA.unpackEncodedString(DFA19_eotS); | 1870 | static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); |
1750 | static final short[] DFA19_eof = DFA.unpackEncodedString(DFA19_eofS); | 1871 | static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); |
1751 | static final char[] DFA19_min = DFA.unpackEncodedStringToUnsignedChars(DFA19_minS); | 1872 | static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); |
1752 | static final char[] DFA19_max = DFA.unpackEncodedStringToUnsignedChars(DFA19_maxS); | 1873 | static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); |
1753 | static final short[] DFA19_accept = DFA.unpackEncodedString(DFA19_acceptS); | 1874 | static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); |
1754 | static final short[] DFA19_special = DFA.unpackEncodedString(DFA19_specialS); | 1875 | static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); |
1755 | static final short[][] DFA19_transition; | 1876 | static final short[][] DFA20_transition; |
1756 | 1877 | ||
1757 | static { | 1878 | static { |
1758 | int numStates = DFA19_transitionS.length; | 1879 | int numStates = DFA20_transitionS.length; |
1759 | DFA19_transition = new short[numStates][]; | 1880 | DFA20_transition = new short[numStates][]; |
1760 | for (int i=0; i<numStates; i++) { | 1881 | for (int i=0; i<numStates; i++) { |
1761 | DFA19_transition[i] = DFA.unpackEncodedString(DFA19_transitionS[i]); | 1882 | DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]); |
1762 | } | 1883 | } |
1763 | } | 1884 | } |
1764 | 1885 | ||
1765 | class DFA19 extends DFA { | 1886 | class DFA20 extends DFA { |
1766 | 1887 | ||
1767 | public DFA19(BaseRecognizer recognizer) { | 1888 | public DFA20(BaseRecognizer recognizer) { |
1768 | this.recognizer = recognizer; | 1889 | this.recognizer = recognizer; |
1769 | this.decisionNumber = 19; | 1890 | this.decisionNumber = 20; |
1770 | this.eot = DFA19_eot; | 1891 | this.eot = DFA20_eot; |
1771 | this.eof = DFA19_eof; | 1892 | this.eof = DFA20_eof; |
1772 | this.min = DFA19_min; | 1893 | this.min = DFA20_min; |
1773 | this.max = DFA19_max; | 1894 | this.max = DFA20_max; |
1774 | this.accept = DFA19_accept; | 1895 | this.accept = DFA20_accept; |
1775 | this.special = DFA19_special; | 1896 | this.special = DFA20_special; |
1776 | this.transition = DFA19_transition; | 1897 | this.transition = DFA20_transition; |
1777 | } | 1898 | } |
1778 | public String getDescription() { | 1899 | public String getDescription() { |
1779 | return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_DOULBE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | 1900 | return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
1780 | } | 1901 | } |
1781 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 1902 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
1782 | IntStream input = _input; | 1903 | IntStream input = _input; |
1783 | int _s = s; | 1904 | int _s = s; |
1784 | switch ( s ) { | 1905 | switch ( s ) { |
1785 | case 0 : | 1906 | case 0 : |
1786 | int LA19_0 = input.LA(1); | 1907 | int LA20_25 = input.LA(1); |
1787 | 1908 | ||
1788 | s = -1; | 1909 | s = -1; |
1789 | if ( (LA19_0=='p') ) {s = 1;} | 1910 | if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} |
1790 | 1911 | ||
1791 | else if ( (LA19_0==';') ) {s = 2;} | 1912 | else s = 28; |
1792 | 1913 | ||
1793 | else if ( (LA19_0=='i') ) {s = 3;} | 1914 | if ( s>=0 ) return s; |
1915 | break; | ||
1916 | case 1 : | ||
1917 | int LA20_0 = input.LA(1); | ||
1794 | 1918 | ||
1795 | else if ( (LA19_0=='c') ) {s = 4;} | 1919 | s = -1; |
1920 | if ( (LA20_0=='p') ) {s = 1;} | ||
1796 | 1921 | ||
1797 | else if ( (LA19_0=='{') ) {s = 5;} | 1922 | else if ( (LA20_0==';') ) {s = 2;} |
1798 | 1923 | ||
1799 | else if ( (LA19_0=='o') ) {s = 6;} | 1924 | else if ( (LA20_0=='i') ) {s = 3;} |
1800 | 1925 | ||
1801 | else if ( (LA19_0=='}') ) {s = 7;} | 1926 | else if ( (LA20_0=='c') ) {s = 4;} |
1802 | 1927 | ||
1803 | else if ( (LA19_0=='[') ) {s = 8;} | 1928 | else if ( (LA20_0=='{') ) {s = 5;} |
1804 | 1929 | ||
1805 | else if ( (LA19_0=='l') ) {s = 9;} | 1930 | else if ( (LA20_0=='o') ) {s = 6;} |
1806 | 1931 | ||
1807 | else if ( (LA19_0=='=') ) {s = 10;} | 1932 | else if ( (LA20_0=='}') ) {s = 7;} |
1808 | 1933 | ||
1809 | else if ( (LA19_0=='a') ) {s = 11;} | 1934 | else if ( (LA20_0=='[') ) {s = 8;} |
1810 | 1935 | ||
1811 | else if ( (LA19_0=='t') ) {s = 12;} | 1936 | else if ( (LA20_0=='=') ) {s = 9;} |
1812 | 1937 | ||
1813 | else if ( (LA19_0=='m') ) {s = 13;} | 1938 | else if ( (LA20_0=='l') ) {s = 10;} |
1814 | 1939 | ||
1815 | else if ( (LA19_0=='(') ) {s = 14;} | 1940 | else if ( (LA20_0=='a') ) {s = 11;} |
1816 | 1941 | ||
1817 | else if ( (LA19_0==',') ) {s = 15;} | 1942 | else if ( (LA20_0=='t') ) {s = 12;} |
1818 | 1943 | ||
1819 | else if ( (LA19_0==')') ) {s = 16;} | 1944 | else if ( (LA20_0=='m') ) {s = 13;} |
1820 | 1945 | ||
1821 | else if ( (LA19_0=='+') ) {s = 17;} | 1946 | else if ( (LA20_0=='(') ) {s = 14;} |
1822 | 1947 | ||
1823 | else if ( (LA19_0==':') ) {s = 18;} | 1948 | else if ( (LA20_0==',') ) {s = 15;} |
1824 | 1949 | ||
1825 | else if ( (LA19_0=='.') ) {s = 19;} | 1950 | else if ( (LA20_0==')') ) {s = 16;} |
1826 | 1951 | ||
1827 | else if ( (LA19_0=='*') ) {s = 20;} | 1952 | else if ( (LA20_0=='+') ) {s = 17;} |
1828 | 1953 | ||
1829 | else if ( ((LA19_0>='0' && LA19_0<='9')) ) {s = 21;} | 1954 | else if ( (LA20_0==':') ) {s = 18;} |
1830 | 1955 | ||
1831 | else if ( (LA19_0=='^') ) {s = 22;} | 1956 | else if ( (LA20_0=='.') ) {s = 19;} |
1832 | 1957 | ||
1833 | else if ( ((LA19_0>='A' && LA19_0<='Z')||LA19_0=='_'||LA19_0=='b'||(LA19_0>='d' && LA19_0<='h')||(LA19_0>='j' && LA19_0<='k')||LA19_0=='n'||(LA19_0>='q' && LA19_0<='s')||(LA19_0>='u' && LA19_0<='z')) ) {s = 23;} | 1958 | else if ( (LA20_0=='*') ) {s = 20;} |
1834 | 1959 | ||
1835 | else if ( (LA19_0=='\"') ) {s = 24;} | 1960 | else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;} |
1836 | 1961 | ||
1837 | else if ( (LA19_0=='\'') ) {s = 25;} | 1962 | else if ( (LA20_0=='^') ) {s = 22;} |
1838 | 1963 | ||
1839 | else if ( (LA19_0=='/') ) {s = 26;} | 1964 | else if ( ((LA20_0>='A' && LA20_0<='Z')||LA20_0=='_'||LA20_0=='b'||(LA20_0>='d' && LA20_0<='h')||(LA20_0>='j' && LA20_0<='k')||LA20_0=='n'||(LA20_0>='q' && LA20_0<='s')||(LA20_0>='u' && LA20_0<='z')) ) {s = 23;} |
1840 | 1965 | ||
1841 | else if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) {s = 27;} | 1966 | else if ( (LA20_0=='\"') ) {s = 24;} |
1842 | 1967 | ||
1843 | else if ( ((LA19_0>='\u0000' && LA19_0<='\b')||(LA19_0>='\u000B' && LA19_0<='\f')||(LA19_0>='\u000E' && LA19_0<='\u001F')||LA19_0=='!'||(LA19_0>='#' && LA19_0<='&')||LA19_0=='-'||LA19_0=='<'||(LA19_0>='>' && LA19_0<='@')||(LA19_0>='\\' && LA19_0<=']')||LA19_0=='`'||LA19_0=='|'||(LA19_0>='~' && LA19_0<='\uFFFF')) ) {s = 28;} | 1968 | else if ( (LA20_0=='\'') ) {s = 25;} |
1844 | 1969 | ||
1845 | if ( s>=0 ) return s; | 1970 | else if ( (LA20_0=='/') ) {s = 26;} |
1846 | break; | ||
1847 | case 1 : | ||
1848 | int LA19_25 = input.LA(1); | ||
1849 | 1971 | ||
1850 | s = -1; | 1972 | else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;} |
1851 | if ( ((LA19_25>='\u0000' && LA19_25<='\uFFFF')) ) {s = 59;} | ||
1852 | 1973 | ||
1853 | else s = 28; | 1974 | else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} |
1854 | 1975 | ||
1855 | if ( s>=0 ) return s; | 1976 | if ( s>=0 ) return s; |
1856 | break; | 1977 | break; |
1857 | case 2 : | 1978 | case 2 : |
1858 | int LA19_24 = input.LA(1); | 1979 | int LA20_24 = input.LA(1); |
1859 | 1980 | ||
1860 | s = -1; | 1981 | s = -1; |
1861 | if ( ((LA19_24>='\u0000' && LA19_24<='\uFFFF')) ) {s = 59;} | 1982 | if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} |
1862 | 1983 | ||
1863 | else s = 28; | 1984 | else s = 28; |
1864 | 1985 | ||
@@ -1866,7 +1987,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1866 | break; | 1987 | break; |
1867 | } | 1988 | } |
1868 | NoViableAltException nvae = | 1989 | NoViableAltException nvae = |
1869 | new NoViableAltException(getDescription(), 19, _s, input); | 1990 | new NoViableAltException(getDescription(), 20, _s, input); |
1870 | error(nvae); | 1991 | error(nvae); |
1871 | throw nvae; | 1992 | throw nvae; |
1872 | } | 1993 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java index 29c15563..4727763e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java | |||
@@ -21,19 +21,21 @@ import java.util.ArrayList; | |||
21 | @SuppressWarnings("all") | 21 | @SuppressWarnings("all") |
22 | public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | 22 | public class InternalCftLanguageParser extends AbstractInternalAntlrParser { |
23 | public static final String[] tokenNames = new String[] { | 23 | public static final String[] tokenNames = new String[] { |
24 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_DOULBE", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'lambda'", "'='", "'and'", "'or'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" | 24 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'p'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" |
25 | }; | 25 | }; |
26 | public static final int RULE_STRING=7; | 26 | public static final int RULE_STRING=8; |
27 | public static final int RULE_SL_COMMENT=9; | 27 | public static final int RULE_SL_COMMENT=10; |
28 | public static final int T__19=19; | 28 | public static final int T__19=19; |
29 | public static final int T__15=15; | 29 | public static final int T__15=15; |
30 | public static final int T__37=37; | 30 | public static final int T__37=37; |
31 | public static final int T__16=16; | 31 | public static final int T__16=16; |
32 | public static final int T__38=38; | ||
32 | public static final int T__17=17; | 33 | public static final int T__17=17; |
34 | public static final int T__39=39; | ||
33 | public static final int T__18=18; | 35 | public static final int T__18=18; |
34 | public static final int T__33=33; | 36 | public static final int T__33=33; |
35 | public static final int T__12=12; | ||
36 | public static final int T__34=34; | 37 | public static final int T__34=34; |
38 | public static final int RULE_T_DOUBLE=7; | ||
37 | public static final int T__13=13; | 39 | public static final int T__13=13; |
38 | public static final int T__35=35; | 40 | public static final int T__35=35; |
39 | public static final int T__14=14; | 41 | public static final int T__14=14; |
@@ -42,20 +44,21 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
42 | public static final int T__30=30; | 44 | public static final int T__30=30; |
43 | public static final int T__31=31; | 45 | public static final int T__31=31; |
44 | public static final int T__32=32; | 46 | public static final int T__32=32; |
45 | public static final int RULE_ID=4; | 47 | public static final int RULE_OF_INT=5; |
46 | public static final int RULE_WS=10; | 48 | public static final int RULE_ID=6; |
47 | public static final int RULE_DOULBE=5; | 49 | public static final int RULE_WS=11; |
48 | public static final int RULE_ANY_OTHER=11; | 50 | public static final int RULE_ANY_OTHER=12; |
49 | public static final int T__26=26; | 51 | public static final int T__26=26; |
50 | public static final int T__27=27; | 52 | public static final int T__27=27; |
51 | public static final int T__28=28; | 53 | public static final int T__28=28; |
52 | public static final int RULE_INT=6; | 54 | public static final int RULE_INT=4; |
53 | public static final int T__29=29; | 55 | public static final int T__29=29; |
54 | public static final int T__22=22; | 56 | public static final int T__22=22; |
55 | public static final int RULE_ML_COMMENT=8; | 57 | public static final int RULE_ML_COMMENT=9; |
56 | public static final int T__23=23; | 58 | public static final int T__23=23; |
57 | public static final int T__24=24; | 59 | public static final int T__24=24; |
58 | public static final int T__25=25; | 60 | public static final int T__25=25; |
61 | public static final int T__40=40; | ||
59 | public static final int T__20=20; | 62 | public static final int T__20=20; |
60 | public static final int T__21=21; | 63 | public static final int T__21=21; |
61 | 64 | ||
@@ -160,7 +163,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
160 | // InternalCftLanguage.g:78:2: (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) | 163 | // InternalCftLanguage.g:78:2: (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) |
161 | // InternalCftLanguage.g:79:3: otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* | 164 | // InternalCftLanguage.g:79:3: otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* |
162 | { | 165 | { |
163 | otherlv_0=(Token)match(input,12,FOLLOW_3); | 166 | otherlv_0=(Token)match(input,13,FOLLOW_3); |
164 | 167 | ||
165 | newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0()); | 168 | newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0()); |
166 | 169 | ||
@@ -199,14 +202,14 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
199 | int alt1=2; | 202 | int alt1=2; |
200 | int LA1_0 = input.LA(1); | 203 | int LA1_0 = input.LA(1); |
201 | 204 | ||
202 | if ( (LA1_0==13) ) { | 205 | if ( (LA1_0==14) ) { |
203 | alt1=1; | 206 | alt1=1; |
204 | } | 207 | } |
205 | switch (alt1) { | 208 | switch (alt1) { |
206 | case 1 : | 209 | case 1 : |
207 | // InternalCftLanguage.g:103:4: otherlv_2= ';' | 210 | // InternalCftLanguage.g:103:4: otherlv_2= ';' |
208 | { | 211 | { |
209 | otherlv_2=(Token)match(input,13,FOLLOW_5); | 212 | otherlv_2=(Token)match(input,14,FOLLOW_5); |
210 | 213 | ||
211 | newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); | 214 | newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); |
212 | 215 | ||
@@ -222,7 +225,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
222 | int alt2=2; | 225 | int alt2=2; |
223 | int LA2_0 = input.LA(1); | 226 | int LA2_0 = input.LA(1); |
224 | 227 | ||
225 | if ( (LA2_0==14) ) { | 228 | if ( (LA2_0==15) ) { |
226 | alt2=1; | 229 | alt2=1; |
227 | } | 230 | } |
228 | 231 | ||
@@ -271,10 +274,10 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
271 | int alt3=3; | 274 | int alt3=3; |
272 | int LA3_0 = input.LA(1); | 275 | int LA3_0 = input.LA(1); |
273 | 276 | ||
274 | if ( (LA3_0==15) ) { | 277 | if ( (LA3_0==16) ) { |
275 | alt3=1; | 278 | alt3=1; |
276 | } | 279 | } |
277 | else if ( (LA3_0==25) ) { | 280 | else if ( (LA3_0==28) ) { |
278 | alt3=2; | 281 | alt3=2; |
279 | } | 282 | } |
280 | 283 | ||
@@ -438,7 +441,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
438 | // InternalCftLanguage.g:186:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) | 441 | // InternalCftLanguage.g:186:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) |
439 | // InternalCftLanguage.g:187:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? | 442 | // InternalCftLanguage.g:187:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? |
440 | { | 443 | { |
441 | otherlv_0=(Token)match(input,14,FOLLOW_3); | 444 | otherlv_0=(Token)match(input,15,FOLLOW_3); |
442 | 445 | ||
443 | newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); | 446 | newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); |
444 | 447 | ||
@@ -477,14 +480,14 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
477 | int alt4=2; | 480 | int alt4=2; |
478 | int LA4_0 = input.LA(1); | 481 | int LA4_0 = input.LA(1); |
479 | 482 | ||
480 | if ( (LA4_0==13) ) { | 483 | if ( (LA4_0==14) ) { |
481 | alt4=1; | 484 | alt4=1; |
482 | } | 485 | } |
483 | switch (alt4) { | 486 | switch (alt4) { |
484 | case 1 : | 487 | case 1 : |
485 | // InternalCftLanguage.g:211:4: otherlv_2= ';' | 488 | // InternalCftLanguage.g:211:4: otherlv_2= ';' |
486 | { | 489 | { |
487 | otherlv_2=(Token)match(input,13,FOLLOW_2); | 490 | otherlv_2=(Token)match(input,14,FOLLOW_2); |
488 | 491 | ||
489 | newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); | 492 | newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); |
490 | 493 | ||
@@ -553,20 +556,20 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
553 | 556 | ||
554 | 557 | ||
555 | // $ANTLR start "ruleComponentDefinition" | 558 | // $ANTLR start "ruleComponentDefinition" |
556 | // InternalCftLanguage.g:227:1: ruleComponentDefinition returns [EObject current=null] : (otherlv_0= 'cft' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ; | 559 | // InternalCftLanguage.g:227:1: ruleComponentDefinition returns [EObject current=null] : (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ; |
557 | public final EObject ruleComponentDefinition() throws RecognitionException { | 560 | public final EObject ruleComponentDefinition() throws RecognitionException { |
558 | EObject current = null; | 561 | EObject current = null; |
559 | 562 | ||
560 | Token otherlv_0=null; | 563 | Token otherlv_0=null; |
561 | Token lv_name_1_0=null; | ||
562 | Token otherlv_2=null; | 564 | Token otherlv_2=null; |
563 | Token otherlv_4=null; | 565 | Token otherlv_4=null; |
564 | Token otherlv_6=null; | 566 | Token otherlv_6=null; |
565 | Token otherlv_7=null; | 567 | Token otherlv_7=null; |
566 | Token otherlv_8=null; | ||
567 | Token otherlv_9=null; | 568 | Token otherlv_9=null; |
568 | Token otherlv_11=null; | 569 | Token otherlv_11=null; |
569 | Token otherlv_12=null; | 570 | Token otherlv_12=null; |
571 | AntlrDatatypeRuleToken lv_name_1_0 = null; | ||
572 | |||
570 | EObject lv_inputEvents_5_0 = null; | 573 | EObject lv_inputEvents_5_0 = null; |
571 | 574 | ||
572 | EObject lv_eventDefinitions_10_0 = null; | 575 | EObject lv_eventDefinitions_10_0 = null; |
@@ -576,35 +579,40 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
576 | enterRule(); | 579 | enterRule(); |
577 | 580 | ||
578 | try { | 581 | try { |
579 | // InternalCftLanguage.g:233:2: ( (otherlv_0= 'cft' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ) | 582 | // InternalCftLanguage.g:233:2: ( (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ) |
580 | // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) | 583 | // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) |
581 | { | 584 | { |
582 | // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) | 585 | // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) |
583 | // InternalCftLanguage.g:235:3: otherlv_0= 'cft' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' | 586 | // InternalCftLanguage.g:235:3: otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' |
584 | { | 587 | { |
585 | otherlv_0=(Token)match(input,15,FOLLOW_3); | 588 | otherlv_0=(Token)match(input,16,FOLLOW_3); |
586 | 589 | ||
587 | newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); | 590 | newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); |
588 | 591 | ||
589 | // InternalCftLanguage.g:239:3: ( (lv_name_1_0= RULE_ID ) ) | 592 | // InternalCftLanguage.g:239:3: ( (lv_name_1_0= ruleValidId ) ) |
590 | // InternalCftLanguage.g:240:4: (lv_name_1_0= RULE_ID ) | 593 | // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId ) |
591 | { | 594 | { |
592 | // InternalCftLanguage.g:240:4: (lv_name_1_0= RULE_ID ) | 595 | // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId ) |
593 | // InternalCftLanguage.g:241:5: lv_name_1_0= RULE_ID | 596 | // InternalCftLanguage.g:241:5: lv_name_1_0= ruleValidId |
594 | { | 597 | { |
595 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); | ||
596 | 598 | ||
597 | newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 599 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
598 | 600 | ||
601 | pushFollow(FOLLOW_8); | ||
602 | lv_name_1_0=ruleValidId(); | ||
603 | |||
604 | state._fsp--; | ||
605 | |||
599 | 606 | ||
600 | if (current==null) { | 607 | if (current==null) { |
601 | current = createModelElement(grammarAccess.getComponentDefinitionRule()); | 608 | current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); |
602 | } | 609 | } |
603 | setWithLastConsumed( | 610 | set( |
604 | current, | 611 | current, |
605 | "name", | 612 | "name", |
606 | lv_name_1_0, | 613 | lv_name_1_0, |
607 | "org.eclipse.xtext.common.Terminals.ID"); | 614 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
615 | afterParserOrEnumRuleCall(); | ||
608 | 616 | ||
609 | 617 | ||
610 | } | 618 | } |
@@ -612,82 +620,82 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
612 | 620 | ||
613 | } | 621 | } |
614 | 622 | ||
615 | otherlv_2=(Token)match(input,16,FOLLOW_9); | 623 | otherlv_2=(Token)match(input,17,FOLLOW_9); |
616 | 624 | ||
617 | newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 625 | newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
618 | 626 | ||
619 | // InternalCftLanguage.g:261:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) | 627 | // InternalCftLanguage.g:262:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) |
620 | // InternalCftLanguage.g:262:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) | 628 | // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) |
621 | { | 629 | { |
622 | // InternalCftLanguage.g:262:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) ) | 630 | // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) |
623 | // InternalCftLanguage.g:263:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) | 631 | // InternalCftLanguage.g:264:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) |
624 | { | 632 | { |
625 | 633 | ||
626 | getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); | 634 | getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); |
627 | 635 | ||
628 | // InternalCftLanguage.g:266:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* ) | 636 | // InternalCftLanguage.g:267:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) |
629 | // InternalCftLanguage.g:267:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* | 637 | // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* |
630 | { | 638 | { |
631 | // InternalCftLanguage.g:267:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) )* | 639 | // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* |
632 | loop7: | 640 | loop7: |
633 | do { | 641 | do { |
634 | int alt7=3; | 642 | int alt7=3; |
635 | int LA7_0 = input.LA(1); | 643 | int LA7_0 = input.LA(1); |
636 | 644 | ||
637 | if ( LA7_0 == 17 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 645 | if ( LA7_0 == 18 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
638 | alt7=1; | 646 | alt7=1; |
639 | } | 647 | } |
640 | else if ( LA7_0 == 18 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 648 | else if ( LA7_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
641 | alt7=2; | 649 | alt7=2; |
642 | } | 650 | } |
643 | 651 | ||
644 | 652 | ||
645 | switch (alt7) { | 653 | switch (alt7) { |
646 | case 1 : | 654 | case 1 : |
647 | // InternalCftLanguage.g:268:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | 655 | // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) |
648 | { | 656 | { |
649 | // InternalCftLanguage.g:268:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | 657 | // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) |
650 | // InternalCftLanguage.g:269:5: {...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) | 658 | // InternalCftLanguage.g:270:5: {...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) |
651 | { | 659 | { |
652 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { | 660 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { |
653 | throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); | 661 | throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); |
654 | } | 662 | } |
655 | // InternalCftLanguage.g:269:116: ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) | 663 | // InternalCftLanguage.g:270:116: ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) |
656 | // InternalCftLanguage.g:270:6: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) | 664 | // InternalCftLanguage.g:271:6: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) |
657 | { | 665 | { |
658 | 666 | ||
659 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); | 667 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); |
660 | 668 | ||
661 | // InternalCftLanguage.g:273:9: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) | 669 | // InternalCftLanguage.g:274:9: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) |
662 | // InternalCftLanguage.g:273:10: {...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) | 670 | // InternalCftLanguage.g:274:10: {...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) |
663 | { | 671 | { |
664 | if ( !((true)) ) { | 672 | if ( !((true)) ) { |
665 | throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); | 673 | throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); |
666 | } | 674 | } |
667 | // InternalCftLanguage.g:273:19: (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) | 675 | // InternalCftLanguage.g:274:19: (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) |
668 | // InternalCftLanguage.g:273:20: otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' | 676 | // InternalCftLanguage.g:274:20: otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' |
669 | { | 677 | { |
670 | otherlv_4=(Token)match(input,17,FOLLOW_10); | 678 | otherlv_4=(Token)match(input,18,FOLLOW_10); |
671 | 679 | ||
672 | newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); | 680 | newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); |
673 | 681 | ||
674 | // InternalCftLanguage.g:277:9: ( (lv_inputEvents_5_0= ruleInputEvent ) )* | 682 | // InternalCftLanguage.g:278:9: ( (lv_inputEvents_5_0= ruleInputEvent ) )* |
675 | loop5: | 683 | loop5: |
676 | do { | 684 | do { |
677 | int alt5=2; | 685 | int alt5=2; |
678 | int LA5_0 = input.LA(1); | 686 | int LA5_0 = input.LA(1); |
679 | 687 | ||
680 | if ( (LA5_0==RULE_ID) ) { | 688 | if ( ((LA5_0>=RULE_OF_INT && LA5_0<=RULE_ID)) ) { |
681 | alt5=1; | 689 | alt5=1; |
682 | } | 690 | } |
683 | 691 | ||
684 | 692 | ||
685 | switch (alt5) { | 693 | switch (alt5) { |
686 | case 1 : | 694 | case 1 : |
687 | // InternalCftLanguage.g:278:10: (lv_inputEvents_5_0= ruleInputEvent ) | 695 | // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent ) |
688 | { | 696 | { |
689 | // InternalCftLanguage.g:278:10: (lv_inputEvents_5_0= ruleInputEvent ) | 697 | // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent ) |
690 | // InternalCftLanguage.g:279:11: lv_inputEvents_5_0= ruleInputEvent | 698 | // InternalCftLanguage.g:280:11: lv_inputEvents_5_0= ruleInputEvent |
691 | { | 699 | { |
692 | 700 | ||
693 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); | 701 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); |
@@ -720,7 +728,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
720 | } | 728 | } |
721 | } while (true); | 729 | } while (true); |
722 | 730 | ||
723 | otherlv_6=(Token)match(input,13,FOLLOW_9); | 731 | otherlv_6=(Token)match(input,14,FOLLOW_9); |
724 | 732 | ||
725 | newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); | 733 | newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); |
726 | 734 | ||
@@ -743,59 +751,66 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
743 | } | 751 | } |
744 | break; | 752 | break; |
745 | case 2 : | 753 | case 2 : |
746 | // InternalCftLanguage.g:306:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) | 754 | // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) |
747 | { | 755 | { |
748 | // InternalCftLanguage.g:306:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) ) | 756 | // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) |
749 | // InternalCftLanguage.g:307:5: {...}? => ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) | 757 | // InternalCftLanguage.g:308:5: {...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) |
750 | { | 758 | { |
751 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { | 759 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { |
752 | throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); | 760 | throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); |
753 | } | 761 | } |
754 | // InternalCftLanguage.g:307:116: ( ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) ) | 762 | // InternalCftLanguage.g:308:116: ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) |
755 | // InternalCftLanguage.g:308:6: ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) | 763 | // InternalCftLanguage.g:309:6: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) |
756 | { | 764 | { |
757 | 765 | ||
758 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); | 766 | getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); |
759 | 767 | ||
760 | // InternalCftLanguage.g:311:9: ({...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) ) | 768 | // InternalCftLanguage.g:312:9: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) |
761 | // InternalCftLanguage.g:311:10: {...}? => (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) | 769 | // InternalCftLanguage.g:312:10: {...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) |
762 | { | 770 | { |
763 | if ( !((true)) ) { | 771 | if ( !((true)) ) { |
764 | throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); | 772 | throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); |
765 | } | 773 | } |
766 | // InternalCftLanguage.g:311:19: (otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' ) | 774 | // InternalCftLanguage.g:312:19: (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) |
767 | // InternalCftLanguage.g:311:20: otherlv_7= 'out' ( (otherlv_8= RULE_ID ) )* otherlv_9= ';' | 775 | // InternalCftLanguage.g:312:20: otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' |
768 | { | 776 | { |
769 | otherlv_7=(Token)match(input,18,FOLLOW_10); | 777 | otherlv_7=(Token)match(input,19,FOLLOW_10); |
770 | 778 | ||
771 | newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); | 779 | newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); |
772 | 780 | ||
773 | // InternalCftLanguage.g:315:9: ( (otherlv_8= RULE_ID ) )* | 781 | // InternalCftLanguage.g:316:9: ( ( ruleValidId ) )* |
774 | loop6: | 782 | loop6: |
775 | do { | 783 | do { |
776 | int alt6=2; | 784 | int alt6=2; |
777 | int LA6_0 = input.LA(1); | 785 | int LA6_0 = input.LA(1); |
778 | 786 | ||
779 | if ( (LA6_0==RULE_ID) ) { | 787 | if ( ((LA6_0>=RULE_OF_INT && LA6_0<=RULE_ID)) ) { |
780 | alt6=1; | 788 | alt6=1; |
781 | } | 789 | } |
782 | 790 | ||
783 | 791 | ||
784 | switch (alt6) { | 792 | switch (alt6) { |
785 | case 1 : | 793 | case 1 : |
786 | // InternalCftLanguage.g:316:10: (otherlv_8= RULE_ID ) | 794 | // InternalCftLanguage.g:317:10: ( ruleValidId ) |
787 | { | 795 | { |
788 | // InternalCftLanguage.g:316:10: (otherlv_8= RULE_ID ) | 796 | // InternalCftLanguage.g:317:10: ( ruleValidId ) |
789 | // InternalCftLanguage.g:317:11: otherlv_8= RULE_ID | 797 | // InternalCftLanguage.g:318:11: ruleValidId |
790 | { | 798 | { |
791 | 799 | ||
792 | if (current==null) { | 800 | if (current==null) { |
793 | current = createModelElement(grammarAccess.getComponentDefinitionRule()); | 801 | current = createModelElement(grammarAccess.getComponentDefinitionRule()); |
794 | } | 802 | } |
795 | 803 | ||
796 | otherlv_8=(Token)match(input,RULE_ID,FOLLOW_10); | ||
797 | 804 | ||
798 | newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); | 805 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); |
806 | |||
807 | pushFollow(FOLLOW_10); | ||
808 | ruleValidId(); | ||
809 | |||
810 | state._fsp--; | ||
811 | |||
812 | |||
813 | afterParserOrEnumRuleCall(); | ||
799 | 814 | ||
800 | 815 | ||
801 | } | 816 | } |
@@ -809,7 +824,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
809 | } | 824 | } |
810 | } while (true); | 825 | } while (true); |
811 | 826 | ||
812 | otherlv_9=(Token)match(input,13,FOLLOW_9); | 827 | otherlv_9=(Token)match(input,14,FOLLOW_9); |
813 | 828 | ||
814 | newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); | 829 | newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); |
815 | 830 | ||
@@ -849,26 +864,26 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
849 | 864 | ||
850 | } | 865 | } |
851 | 866 | ||
852 | // InternalCftLanguage.g:345:3: ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* | 867 | // InternalCftLanguage.g:349:3: ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* |
853 | loop8: | 868 | loop8: |
854 | do { | 869 | do { |
855 | int alt8=2; | 870 | int alt8=2; |
856 | int LA8_0 = input.LA(1); | 871 | int LA8_0 = input.LA(1); |
857 | 872 | ||
858 | if ( (LA8_0==RULE_ID) ) { | 873 | if ( ((LA8_0>=RULE_OF_INT && LA8_0<=RULE_ID)) ) { |
859 | alt8=1; | 874 | alt8=1; |
860 | } | 875 | } |
861 | 876 | ||
862 | 877 | ||
863 | switch (alt8) { | 878 | switch (alt8) { |
864 | case 1 : | 879 | case 1 : |
865 | // InternalCftLanguage.g:346:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' | 880 | // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' |
866 | { | 881 | { |
867 | // InternalCftLanguage.g:346:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) | 882 | // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) |
868 | // InternalCftLanguage.g:347:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) | 883 | // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) |
869 | { | 884 | { |
870 | // InternalCftLanguage.g:347:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) | 885 | // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) |
871 | // InternalCftLanguage.g:348:6: lv_eventDefinitions_10_0= ruleEventDefinition | 886 | // InternalCftLanguage.g:352:6: lv_eventDefinitions_10_0= ruleEventDefinition |
872 | { | 887 | { |
873 | 888 | ||
874 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); | 889 | newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); |
@@ -895,7 +910,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
895 | 910 | ||
896 | } | 911 | } |
897 | 912 | ||
898 | otherlv_11=(Token)match(input,13,FOLLOW_12); | 913 | otherlv_11=(Token)match(input,14,FOLLOW_12); |
899 | 914 | ||
900 | newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); | 915 | newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); |
901 | 916 | ||
@@ -908,7 +923,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
908 | } | 923 | } |
909 | } while (true); | 924 | } while (true); |
910 | 925 | ||
911 | otherlv_12=(Token)match(input,19,FOLLOW_2); | 926 | otherlv_12=(Token)match(input,20,FOLLOW_2); |
912 | 927 | ||
913 | newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); | 928 | newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); |
914 | 929 | ||
@@ -935,7 +950,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
935 | 950 | ||
936 | 951 | ||
937 | // $ANTLR start "entryRuleInputEvent" | 952 | // $ANTLR start "entryRuleInputEvent" |
938 | // InternalCftLanguage.g:378:1: entryRuleInputEvent returns [EObject current=null] : iv_ruleInputEvent= ruleInputEvent EOF ; | 953 | // InternalCftLanguage.g:382:1: entryRuleInputEvent returns [EObject current=null] : iv_ruleInputEvent= ruleInputEvent EOF ; |
939 | public final EObject entryRuleInputEvent() throws RecognitionException { | 954 | public final EObject entryRuleInputEvent() throws RecognitionException { |
940 | EObject current = null; | 955 | EObject current = null; |
941 | 956 | ||
@@ -943,8 +958,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
943 | 958 | ||
944 | 959 | ||
945 | try { | 960 | try { |
946 | // InternalCftLanguage.g:378:51: (iv_ruleInputEvent= ruleInputEvent EOF ) | 961 | // InternalCftLanguage.g:382:51: (iv_ruleInputEvent= ruleInputEvent EOF ) |
947 | // InternalCftLanguage.g:379:2: iv_ruleInputEvent= ruleInputEvent EOF | 962 | // InternalCftLanguage.g:383:2: iv_ruleInputEvent= ruleInputEvent EOF |
948 | { | 963 | { |
949 | newCompositeNode(grammarAccess.getInputEventRule()); | 964 | newCompositeNode(grammarAccess.getInputEventRule()); |
950 | pushFollow(FOLLOW_1); | 965 | pushFollow(FOLLOW_1); |
@@ -971,42 +986,48 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
971 | 986 | ||
972 | 987 | ||
973 | // $ANTLR start "ruleInputEvent" | 988 | // $ANTLR start "ruleInputEvent" |
974 | // InternalCftLanguage.g:385:1: ruleInputEvent returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_multiple_1_0= '[]' ) )? ) ; | 989 | // InternalCftLanguage.g:389:1: ruleInputEvent returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) ; |
975 | public final EObject ruleInputEvent() throws RecognitionException { | 990 | public final EObject ruleInputEvent() throws RecognitionException { |
976 | EObject current = null; | 991 | EObject current = null; |
977 | 992 | ||
978 | Token lv_name_0_0=null; | ||
979 | Token lv_multiple_1_0=null; | 993 | Token lv_multiple_1_0=null; |
994 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
995 | |||
980 | 996 | ||
981 | 997 | ||
982 | enterRule(); | 998 | enterRule(); |
983 | 999 | ||
984 | try { | 1000 | try { |
985 | // InternalCftLanguage.g:391:2: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_multiple_1_0= '[]' ) )? ) ) | 1001 | // InternalCftLanguage.g:395:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) ) |
986 | // InternalCftLanguage.g:392:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_multiple_1_0= '[]' ) )? ) | 1002 | // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) |
987 | { | 1003 | { |
988 | // InternalCftLanguage.g:392:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_multiple_1_0= '[]' ) )? ) | 1004 | // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) |
989 | // InternalCftLanguage.g:393:3: ( (lv_name_0_0= RULE_ID ) ) ( (lv_multiple_1_0= '[]' ) )? | 1005 | // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? |
990 | { | 1006 | { |
991 | // InternalCftLanguage.g:393:3: ( (lv_name_0_0= RULE_ID ) ) | 1007 | // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) ) |
992 | // InternalCftLanguage.g:394:4: (lv_name_0_0= RULE_ID ) | 1008 | // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId ) |
993 | { | 1009 | { |
994 | // InternalCftLanguage.g:394:4: (lv_name_0_0= RULE_ID ) | 1010 | // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId ) |
995 | // InternalCftLanguage.g:395:5: lv_name_0_0= RULE_ID | 1011 | // InternalCftLanguage.g:399:5: lv_name_0_0= ruleValidId |
996 | { | 1012 | { |
997 | lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_13); | ||
998 | 1013 | ||
999 | newLeafNode(lv_name_0_0, grammarAccess.getInputEventAccess().getNameIDTerminalRuleCall_0_0()); | 1014 | newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); |
1000 | 1015 | ||
1016 | pushFollow(FOLLOW_13); | ||
1017 | lv_name_0_0=ruleValidId(); | ||
1018 | |||
1019 | state._fsp--; | ||
1020 | |||
1001 | 1021 | ||
1002 | if (current==null) { | 1022 | if (current==null) { |
1003 | current = createModelElement(grammarAccess.getInputEventRule()); | 1023 | current = createModelElementForParent(grammarAccess.getInputEventRule()); |
1004 | } | 1024 | } |
1005 | setWithLastConsumed( | 1025 | set( |
1006 | current, | 1026 | current, |
1007 | "name", | 1027 | "name", |
1008 | lv_name_0_0, | 1028 | lv_name_0_0, |
1009 | "org.eclipse.xtext.common.Terminals.ID"); | 1029 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
1030 | afterParserOrEnumRuleCall(); | ||
1010 | 1031 | ||
1011 | 1032 | ||
1012 | } | 1033 | } |
@@ -1014,21 +1035,21 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1014 | 1035 | ||
1015 | } | 1036 | } |
1016 | 1037 | ||
1017 | // InternalCftLanguage.g:411:3: ( (lv_multiple_1_0= '[]' ) )? | 1038 | // InternalCftLanguage.g:416:3: ( (lv_multiple_1_0= '[]' ) )? |
1018 | int alt9=2; | 1039 | int alt9=2; |
1019 | int LA9_0 = input.LA(1); | 1040 | int LA9_0 = input.LA(1); |
1020 | 1041 | ||
1021 | if ( (LA9_0==20) ) { | 1042 | if ( (LA9_0==21) ) { |
1022 | alt9=1; | 1043 | alt9=1; |
1023 | } | 1044 | } |
1024 | switch (alt9) { | 1045 | switch (alt9) { |
1025 | case 1 : | 1046 | case 1 : |
1026 | // InternalCftLanguage.g:412:4: (lv_multiple_1_0= '[]' ) | 1047 | // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' ) |
1027 | { | 1048 | { |
1028 | // InternalCftLanguage.g:412:4: (lv_multiple_1_0= '[]' ) | 1049 | // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' ) |
1029 | // InternalCftLanguage.g:413:5: lv_multiple_1_0= '[]' | 1050 | // InternalCftLanguage.g:418:5: lv_multiple_1_0= '[]' |
1030 | { | 1051 | { |
1031 | lv_multiple_1_0=(Token)match(input,20,FOLLOW_2); | 1052 | lv_multiple_1_0=(Token)match(input,21,FOLLOW_2); |
1032 | 1053 | ||
1033 | newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); | 1054 | newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); |
1034 | 1055 | ||
@@ -1070,7 +1091,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1070 | 1091 | ||
1071 | 1092 | ||
1072 | // $ANTLR start "entryRuleEventDefinition" | 1093 | // $ANTLR start "entryRuleEventDefinition" |
1073 | // InternalCftLanguage.g:429:1: entryRuleEventDefinition returns [EObject current=null] : iv_ruleEventDefinition= ruleEventDefinition EOF ; | 1094 | // InternalCftLanguage.g:434:1: entryRuleEventDefinition returns [EObject current=null] : iv_ruleEventDefinition= ruleEventDefinition EOF ; |
1074 | public final EObject entryRuleEventDefinition() throws RecognitionException { | 1095 | public final EObject entryRuleEventDefinition() throws RecognitionException { |
1075 | EObject current = null; | 1096 | EObject current = null; |
1076 | 1097 | ||
@@ -1078,8 +1099,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1078 | 1099 | ||
1079 | 1100 | ||
1080 | try { | 1101 | try { |
1081 | // InternalCftLanguage.g:429:56: (iv_ruleEventDefinition= ruleEventDefinition EOF ) | 1102 | // InternalCftLanguage.g:434:56: (iv_ruleEventDefinition= ruleEventDefinition EOF ) |
1082 | // InternalCftLanguage.g:430:2: iv_ruleEventDefinition= ruleEventDefinition EOF | 1103 | // InternalCftLanguage.g:435:2: iv_ruleEventDefinition= ruleEventDefinition EOF |
1083 | { | 1104 | { |
1084 | newCompositeNode(grammarAccess.getEventDefinitionRule()); | 1105 | newCompositeNode(grammarAccess.getEventDefinitionRule()); |
1085 | pushFollow(FOLLOW_1); | 1106 | pushFollow(FOLLOW_1); |
@@ -1106,7 +1127,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1106 | 1127 | ||
1107 | 1128 | ||
1108 | // $ANTLR start "ruleEventDefinition" | 1129 | // $ANTLR start "ruleEventDefinition" |
1109 | // InternalCftLanguage.g:436:1: ruleEventDefinition returns [EObject current=null] : (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ; | 1130 | // InternalCftLanguage.g:441:1: ruleEventDefinition returns [EObject current=null] : (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ; |
1110 | public final EObject ruleEventDefinition() throws RecognitionException { | 1131 | public final EObject ruleEventDefinition() throws RecognitionException { |
1111 | EObject current = null; | 1132 | EObject current = null; |
1112 | 1133 | ||
@@ -1119,20 +1140,20 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1119 | enterRule(); | 1140 | enterRule(); |
1120 | 1141 | ||
1121 | try { | 1142 | try { |
1122 | // InternalCftLanguage.g:442:2: ( (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ) | 1143 | // InternalCftLanguage.g:447:2: ( (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ) |
1123 | // InternalCftLanguage.g:443:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) | 1144 | // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) |
1124 | { | 1145 | { |
1125 | // InternalCftLanguage.g:443:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) | 1146 | // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) |
1126 | int alt10=2; | 1147 | int alt10=2; |
1127 | int LA10_0 = input.LA(1); | 1148 | int LA10_0 = input.LA(1); |
1128 | 1149 | ||
1129 | if ( (LA10_0==RULE_ID) ) { | 1150 | if ( (LA10_0==RULE_ID) ) { |
1130 | int LA10_1 = input.LA(2); | 1151 | int LA10_1 = input.LA(2); |
1131 | 1152 | ||
1132 | if ( ((LA10_1>=23 && LA10_1<=24)) ) { | 1153 | if ( (LA10_1==RULE_INT||(LA10_1>=25 && LA10_1<=26)) ) { |
1133 | alt10=2; | 1154 | alt10=2; |
1134 | } | 1155 | } |
1135 | else if ( (LA10_1==21) ) { | 1156 | else if ( (LA10_1==22||LA10_1==24) ) { |
1136 | alt10=1; | 1157 | alt10=1; |
1137 | } | 1158 | } |
1138 | else { | 1159 | else { |
@@ -1142,6 +1163,22 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1142 | throw nvae; | 1163 | throw nvae; |
1143 | } | 1164 | } |
1144 | } | 1165 | } |
1166 | else if ( (LA10_0==RULE_OF_INT) ) { | ||
1167 | int LA10_2 = input.LA(2); | ||
1168 | |||
1169 | if ( (LA10_2==22||LA10_2==24) ) { | ||
1170 | alt10=1; | ||
1171 | } | ||
1172 | else if ( (LA10_2==RULE_INT||(LA10_2>=25 && LA10_2<=26)) ) { | ||
1173 | alt10=2; | ||
1174 | } | ||
1175 | else { | ||
1176 | NoViableAltException nvae = | ||
1177 | new NoViableAltException("", 10, 2, input); | ||
1178 | |||
1179 | throw nvae; | ||
1180 | } | ||
1181 | } | ||
1145 | else { | 1182 | else { |
1146 | NoViableAltException nvae = | 1183 | NoViableAltException nvae = |
1147 | new NoViableAltException("", 10, 0, input); | 1184 | new NoViableAltException("", 10, 0, input); |
@@ -1150,7 +1187,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1150 | } | 1187 | } |
1151 | switch (alt10) { | 1188 | switch (alt10) { |
1152 | case 1 : | 1189 | case 1 : |
1153 | // InternalCftLanguage.g:444:3: this_BasicEventDefinition_0= ruleBasicEventDefinition | 1190 | // InternalCftLanguage.g:449:3: this_BasicEventDefinition_0= ruleBasicEventDefinition |
1154 | { | 1191 | { |
1155 | 1192 | ||
1156 | newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); | 1193 | newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); |
@@ -1168,7 +1205,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1168 | } | 1205 | } |
1169 | break; | 1206 | break; |
1170 | case 2 : | 1207 | case 2 : |
1171 | // InternalCftLanguage.g:453:3: this_GateDefinition_1= ruleGateDefinition | 1208 | // InternalCftLanguage.g:458:3: this_GateDefinition_1= ruleGateDefinition |
1172 | { | 1209 | { |
1173 | 1210 | ||
1174 | newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); | 1211 | newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); |
@@ -1208,7 +1245,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1208 | 1245 | ||
1209 | 1246 | ||
1210 | // $ANTLR start "entryRuleBasicEventDefinition" | 1247 | // $ANTLR start "entryRuleBasicEventDefinition" |
1211 | // InternalCftLanguage.g:465:1: entryRuleBasicEventDefinition returns [EObject current=null] : iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ; | 1248 | // InternalCftLanguage.g:470:1: entryRuleBasicEventDefinition returns [EObject current=null] : iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ; |
1212 | public final EObject entryRuleBasicEventDefinition() throws RecognitionException { | 1249 | public final EObject entryRuleBasicEventDefinition() throws RecognitionException { |
1213 | EObject current = null; | 1250 | EObject current = null; |
1214 | 1251 | ||
@@ -1216,8 +1253,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1216 | 1253 | ||
1217 | 1254 | ||
1218 | try { | 1255 | try { |
1219 | // InternalCftLanguage.g:465:61: (iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ) | 1256 | // InternalCftLanguage.g:470:61: (iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ) |
1220 | // InternalCftLanguage.g:466:2: iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF | 1257 | // InternalCftLanguage.g:471:2: iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF |
1221 | { | 1258 | { |
1222 | newCompositeNode(grammarAccess.getBasicEventDefinitionRule()); | 1259 | newCompositeNode(grammarAccess.getBasicEventDefinitionRule()); |
1223 | pushFollow(FOLLOW_1); | 1260 | pushFollow(FOLLOW_1); |
@@ -1244,44 +1281,325 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1244 | 1281 | ||
1245 | 1282 | ||
1246 | // $ANTLR start "ruleBasicEventDefinition" | 1283 | // $ANTLR start "ruleBasicEventDefinition" |
1247 | // InternalCftLanguage.g:472:1: ruleBasicEventDefinition returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'lambda' otherlv_2= '=' ( (lv_rate_3_0= RULE_DOULBE ) ) ) ; | 1284 | // InternalCftLanguage.g:477:1: ruleBasicEventDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) ; |
1248 | public final EObject ruleBasicEventDefinition() throws RecognitionException { | 1285 | public final EObject ruleBasicEventDefinition() throws RecognitionException { |
1249 | EObject current = null; | 1286 | EObject current = null; |
1250 | 1287 | ||
1251 | Token lv_name_0_0=null; | 1288 | AntlrDatatypeRuleToken lv_name_0_0 = null; |
1252 | Token otherlv_1=null; | 1289 | |
1253 | Token otherlv_2=null; | 1290 | EObject lv_distribution_1_0 = null; |
1254 | Token lv_rate_3_0=null; | 1291 | |
1255 | 1292 | ||
1256 | 1293 | ||
1257 | enterRule(); | 1294 | enterRule(); |
1258 | 1295 | ||
1259 | try { | 1296 | try { |
1260 | // InternalCftLanguage.g:478:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'lambda' otherlv_2= '=' ( (lv_rate_3_0= RULE_DOULBE ) ) ) ) | 1297 | // InternalCftLanguage.g:483:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) ) |
1261 | // InternalCftLanguage.g:479:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'lambda' otherlv_2= '=' ( (lv_rate_3_0= RULE_DOULBE ) ) ) | 1298 | // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) |
1262 | { | 1299 | { |
1263 | // InternalCftLanguage.g:479:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'lambda' otherlv_2= '=' ( (lv_rate_3_0= RULE_DOULBE ) ) ) | 1300 | // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) |
1264 | // InternalCftLanguage.g:480:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'lambda' otherlv_2= '=' ( (lv_rate_3_0= RULE_DOULBE ) ) | 1301 | // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) |
1265 | { | 1302 | { |
1266 | // InternalCftLanguage.g:480:3: ( (lv_name_0_0= RULE_ID ) ) | 1303 | // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) ) |
1267 | // InternalCftLanguage.g:481:4: (lv_name_0_0= RULE_ID ) | 1304 | // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId ) |
1268 | { | 1305 | { |
1269 | // InternalCftLanguage.g:481:4: (lv_name_0_0= RULE_ID ) | 1306 | // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId ) |
1270 | // InternalCftLanguage.g:482:5: lv_name_0_0= RULE_ID | 1307 | // InternalCftLanguage.g:487:5: lv_name_0_0= ruleValidId |
1271 | { | 1308 | { |
1272 | lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_14); | ||
1273 | 1309 | ||
1274 | newLeafNode(lv_name_0_0, grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0()); | 1310 | newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
1275 | 1311 | ||
1312 | pushFollow(FOLLOW_14); | ||
1313 | lv_name_0_0=ruleValidId(); | ||
1314 | |||
1315 | state._fsp--; | ||
1316 | |||
1276 | 1317 | ||
1277 | if (current==null) { | 1318 | if (current==null) { |
1278 | current = createModelElement(grammarAccess.getBasicEventDefinitionRule()); | 1319 | current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); |
1279 | } | 1320 | } |
1280 | setWithLastConsumed( | 1321 | set( |
1281 | current, | 1322 | current, |
1282 | "name", | 1323 | "name", |
1283 | lv_name_0_0, | 1324 | lv_name_0_0, |
1284 | "org.eclipse.xtext.common.Terminals.ID"); | 1325 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
1326 | afterParserOrEnumRuleCall(); | ||
1327 | |||
1328 | |||
1329 | } | ||
1330 | |||
1331 | |||
1332 | } | ||
1333 | |||
1334 | // InternalCftLanguage.g:504:3: ( (lv_distribution_1_0= ruleDistribution ) ) | ||
1335 | // InternalCftLanguage.g:505:4: (lv_distribution_1_0= ruleDistribution ) | ||
1336 | { | ||
1337 | // InternalCftLanguage.g:505:4: (lv_distribution_1_0= ruleDistribution ) | ||
1338 | // InternalCftLanguage.g:506:5: lv_distribution_1_0= ruleDistribution | ||
1339 | { | ||
1340 | |||
1341 | newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); | ||
1342 | |||
1343 | pushFollow(FOLLOW_2); | ||
1344 | lv_distribution_1_0=ruleDistribution(); | ||
1345 | |||
1346 | state._fsp--; | ||
1347 | |||
1348 | |||
1349 | if (current==null) { | ||
1350 | current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); | ||
1351 | } | ||
1352 | set( | ||
1353 | current, | ||
1354 | "distribution", | ||
1355 | lv_distribution_1_0, | ||
1356 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); | ||
1357 | afterParserOrEnumRuleCall(); | ||
1358 | |||
1359 | |||
1360 | } | ||
1361 | |||
1362 | |||
1363 | } | ||
1364 | |||
1365 | |||
1366 | } | ||
1367 | |||
1368 | |||
1369 | } | ||
1370 | |||
1371 | |||
1372 | leaveRule(); | ||
1373 | |||
1374 | } | ||
1375 | |||
1376 | catch (RecognitionException re) { | ||
1377 | recover(input,re); | ||
1378 | appendSkippedTokens(); | ||
1379 | } | ||
1380 | finally { | ||
1381 | } | ||
1382 | return current; | ||
1383 | } | ||
1384 | // $ANTLR end "ruleBasicEventDefinition" | ||
1385 | |||
1386 | |||
1387 | // $ANTLR start "entryRuleDistribution" | ||
1388 | // InternalCftLanguage.g:527:1: entryRuleDistribution returns [EObject current=null] : iv_ruleDistribution= ruleDistribution EOF ; | ||
1389 | public final EObject entryRuleDistribution() throws RecognitionException { | ||
1390 | EObject current = null; | ||
1391 | |||
1392 | EObject iv_ruleDistribution = null; | ||
1393 | |||
1394 | |||
1395 | try { | ||
1396 | // InternalCftLanguage.g:527:53: (iv_ruleDistribution= ruleDistribution EOF ) | ||
1397 | // InternalCftLanguage.g:528:2: iv_ruleDistribution= ruleDistribution EOF | ||
1398 | { | ||
1399 | newCompositeNode(grammarAccess.getDistributionRule()); | ||
1400 | pushFollow(FOLLOW_1); | ||
1401 | iv_ruleDistribution=ruleDistribution(); | ||
1402 | |||
1403 | state._fsp--; | ||
1404 | |||
1405 | current =iv_ruleDistribution; | ||
1406 | match(input,EOF,FOLLOW_2); | ||
1407 | |||
1408 | } | ||
1409 | |||
1410 | } | ||
1411 | |||
1412 | catch (RecognitionException re) { | ||
1413 | recover(input,re); | ||
1414 | appendSkippedTokens(); | ||
1415 | } | ||
1416 | finally { | ||
1417 | } | ||
1418 | return current; | ||
1419 | } | ||
1420 | // $ANTLR end "entryRuleDistribution" | ||
1421 | |||
1422 | |||
1423 | // $ANTLR start "ruleDistribution" | ||
1424 | // InternalCftLanguage.g:534:1: ruleDistribution returns [EObject current=null] : (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) ; | ||
1425 | public final EObject ruleDistribution() throws RecognitionException { | ||
1426 | EObject current = null; | ||
1427 | |||
1428 | EObject this_ConstantDistribution_0 = null; | ||
1429 | |||
1430 | EObject this_ExponentialDistribution_1 = null; | ||
1431 | |||
1432 | |||
1433 | |||
1434 | enterRule(); | ||
1435 | |||
1436 | try { | ||
1437 | // InternalCftLanguage.g:540:2: ( (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) ) | ||
1438 | // InternalCftLanguage.g:541:2: (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) | ||
1439 | { | ||
1440 | // InternalCftLanguage.g:541:2: (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) | ||
1441 | int alt11=2; | ||
1442 | int LA11_0 = input.LA(1); | ||
1443 | |||
1444 | if ( (LA11_0==22) ) { | ||
1445 | alt11=1; | ||
1446 | } | ||
1447 | else if ( (LA11_0==24) ) { | ||
1448 | alt11=2; | ||
1449 | } | ||
1450 | else { | ||
1451 | NoViableAltException nvae = | ||
1452 | new NoViableAltException("", 11, 0, input); | ||
1453 | |||
1454 | throw nvae; | ||
1455 | } | ||
1456 | switch (alt11) { | ||
1457 | case 1 : | ||
1458 | // InternalCftLanguage.g:542:3: this_ConstantDistribution_0= ruleConstantDistribution | ||
1459 | { | ||
1460 | |||
1461 | newCompositeNode(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); | ||
1462 | |||
1463 | pushFollow(FOLLOW_2); | ||
1464 | this_ConstantDistribution_0=ruleConstantDistribution(); | ||
1465 | |||
1466 | state._fsp--; | ||
1467 | |||
1468 | |||
1469 | current = this_ConstantDistribution_0; | ||
1470 | afterParserOrEnumRuleCall(); | ||
1471 | |||
1472 | |||
1473 | } | ||
1474 | break; | ||
1475 | case 2 : | ||
1476 | // InternalCftLanguage.g:551:3: this_ExponentialDistribution_1= ruleExponentialDistribution | ||
1477 | { | ||
1478 | |||
1479 | newCompositeNode(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); | ||
1480 | |||
1481 | pushFollow(FOLLOW_2); | ||
1482 | this_ExponentialDistribution_1=ruleExponentialDistribution(); | ||
1483 | |||
1484 | state._fsp--; | ||
1485 | |||
1486 | |||
1487 | current = this_ExponentialDistribution_1; | ||
1488 | afterParserOrEnumRuleCall(); | ||
1489 | |||
1490 | |||
1491 | } | ||
1492 | break; | ||
1493 | |||
1494 | } | ||
1495 | |||
1496 | |||
1497 | } | ||
1498 | |||
1499 | |||
1500 | leaveRule(); | ||
1501 | |||
1502 | } | ||
1503 | |||
1504 | catch (RecognitionException re) { | ||
1505 | recover(input,re); | ||
1506 | appendSkippedTokens(); | ||
1507 | } | ||
1508 | finally { | ||
1509 | } | ||
1510 | return current; | ||
1511 | } | ||
1512 | // $ANTLR end "ruleDistribution" | ||
1513 | |||
1514 | |||
1515 | // $ANTLR start "entryRuleConstantDistribution" | ||
1516 | // InternalCftLanguage.g:563:1: entryRuleConstantDistribution returns [EObject current=null] : iv_ruleConstantDistribution= ruleConstantDistribution EOF ; | ||
1517 | public final EObject entryRuleConstantDistribution() throws RecognitionException { | ||
1518 | EObject current = null; | ||
1519 | |||
1520 | EObject iv_ruleConstantDistribution = null; | ||
1521 | |||
1522 | |||
1523 | try { | ||
1524 | // InternalCftLanguage.g:563:61: (iv_ruleConstantDistribution= ruleConstantDistribution EOF ) | ||
1525 | // InternalCftLanguage.g:564:2: iv_ruleConstantDistribution= ruleConstantDistribution EOF | ||
1526 | { | ||
1527 | newCompositeNode(grammarAccess.getConstantDistributionRule()); | ||
1528 | pushFollow(FOLLOW_1); | ||
1529 | iv_ruleConstantDistribution=ruleConstantDistribution(); | ||
1530 | |||
1531 | state._fsp--; | ||
1532 | |||
1533 | current =iv_ruleConstantDistribution; | ||
1534 | match(input,EOF,FOLLOW_2); | ||
1535 | |||
1536 | } | ||
1537 | |||
1538 | } | ||
1539 | |||
1540 | catch (RecognitionException re) { | ||
1541 | recover(input,re); | ||
1542 | appendSkippedTokens(); | ||
1543 | } | ||
1544 | finally { | ||
1545 | } | ||
1546 | return current; | ||
1547 | } | ||
1548 | // $ANTLR end "entryRuleConstantDistribution" | ||
1549 | |||
1550 | |||
1551 | // $ANTLR start "ruleConstantDistribution" | ||
1552 | // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; | ||
1553 | public final EObject ruleConstantDistribution() throws RecognitionException { | ||
1554 | EObject current = null; | ||
1555 | |||
1556 | Token otherlv_0=null; | ||
1557 | Token otherlv_1=null; | ||
1558 | AntlrDatatypeRuleToken lv_p_2_0 = null; | ||
1559 | |||
1560 | |||
1561 | |||
1562 | enterRule(); | ||
1563 | |||
1564 | try { | ||
1565 | // InternalCftLanguage.g:576:2: ( (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) | ||
1566 | // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) | ||
1567 | { | ||
1568 | // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) | ||
1569 | // InternalCftLanguage.g:578:3: otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) | ||
1570 | { | ||
1571 | otherlv_0=(Token)match(input,22,FOLLOW_15); | ||
1572 | |||
1573 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); | ||
1574 | |||
1575 | otherlv_1=(Token)match(input,23,FOLLOW_16); | ||
1576 | |||
1577 | newLeafNode(otherlv_1, grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); | ||
1578 | |||
1579 | // InternalCftLanguage.g:586:3: ( (lv_p_2_0= ruleDouble ) ) | ||
1580 | // InternalCftLanguage.g:587:4: (lv_p_2_0= ruleDouble ) | ||
1581 | { | ||
1582 | // InternalCftLanguage.g:587:4: (lv_p_2_0= ruleDouble ) | ||
1583 | // InternalCftLanguage.g:588:5: lv_p_2_0= ruleDouble | ||
1584 | { | ||
1585 | |||
1586 | newCompositeNode(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); | ||
1587 | |||
1588 | pushFollow(FOLLOW_2); | ||
1589 | lv_p_2_0=ruleDouble(); | ||
1590 | |||
1591 | state._fsp--; | ||
1592 | |||
1593 | |||
1594 | if (current==null) { | ||
1595 | current = createModelElementForParent(grammarAccess.getConstantDistributionRule()); | ||
1596 | } | ||
1597 | set( | ||
1598 | current, | ||
1599 | "p", | ||
1600 | lv_p_2_0, | ||
1601 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); | ||
1602 | afterParserOrEnumRuleCall(); | ||
1285 | 1603 | ||
1286 | 1604 | ||
1287 | } | 1605 | } |
@@ -1289,33 +1607,116 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1289 | 1607 | ||
1290 | } | 1608 | } |
1291 | 1609 | ||
1292 | otherlv_1=(Token)match(input,21,FOLLOW_15); | ||
1293 | 1610 | ||
1294 | newLeafNode(otherlv_1, grammarAccess.getBasicEventDefinitionAccess().getLambdaKeyword_1()); | 1611 | } |
1612 | |||
1613 | |||
1614 | } | ||
1615 | |||
1616 | |||
1617 | leaveRule(); | ||
1618 | |||
1619 | } | ||
1620 | |||
1621 | catch (RecognitionException re) { | ||
1622 | recover(input,re); | ||
1623 | appendSkippedTokens(); | ||
1624 | } | ||
1625 | finally { | ||
1626 | } | ||
1627 | return current; | ||
1628 | } | ||
1629 | // $ANTLR end "ruleConstantDistribution" | ||
1630 | |||
1631 | |||
1632 | // $ANTLR start "entryRuleExponentialDistribution" | ||
1633 | // InternalCftLanguage.g:609:1: entryRuleExponentialDistribution returns [EObject current=null] : iv_ruleExponentialDistribution= ruleExponentialDistribution EOF ; | ||
1634 | public final EObject entryRuleExponentialDistribution() throws RecognitionException { | ||
1635 | EObject current = null; | ||
1636 | |||
1637 | EObject iv_ruleExponentialDistribution = null; | ||
1638 | |||
1639 | |||
1640 | try { | ||
1641 | // InternalCftLanguage.g:609:64: (iv_ruleExponentialDistribution= ruleExponentialDistribution EOF ) | ||
1642 | // InternalCftLanguage.g:610:2: iv_ruleExponentialDistribution= ruleExponentialDistribution EOF | ||
1643 | { | ||
1644 | newCompositeNode(grammarAccess.getExponentialDistributionRule()); | ||
1645 | pushFollow(FOLLOW_1); | ||
1646 | iv_ruleExponentialDistribution=ruleExponentialDistribution(); | ||
1647 | |||
1648 | state._fsp--; | ||
1649 | |||
1650 | current =iv_ruleExponentialDistribution; | ||
1651 | match(input,EOF,FOLLOW_2); | ||
1652 | |||
1653 | } | ||
1654 | |||
1655 | } | ||
1656 | |||
1657 | catch (RecognitionException re) { | ||
1658 | recover(input,re); | ||
1659 | appendSkippedTokens(); | ||
1660 | } | ||
1661 | finally { | ||
1662 | } | ||
1663 | return current; | ||
1664 | } | ||
1665 | // $ANTLR end "entryRuleExponentialDistribution" | ||
1666 | |||
1667 | |||
1668 | // $ANTLR start "ruleExponentialDistribution" | ||
1669 | // InternalCftLanguage.g:616:1: ruleExponentialDistribution returns [EObject current=null] : (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) ; | ||
1670 | public final EObject ruleExponentialDistribution() throws RecognitionException { | ||
1671 | EObject current = null; | ||
1672 | |||
1673 | Token otherlv_0=null; | ||
1674 | Token otherlv_1=null; | ||
1675 | AntlrDatatypeRuleToken lv_lambda_2_0 = null; | ||
1676 | |||
1677 | |||
1678 | |||
1679 | enterRule(); | ||
1680 | |||
1681 | try { | ||
1682 | // InternalCftLanguage.g:622:2: ( (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) ) | ||
1683 | // InternalCftLanguage.g:623:2: (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) | ||
1684 | { | ||
1685 | // InternalCftLanguage.g:623:2: (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) | ||
1686 | // InternalCftLanguage.g:624:3: otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) | ||
1687 | { | ||
1688 | otherlv_0=(Token)match(input,24,FOLLOW_15); | ||
1689 | |||
1690 | newLeafNode(otherlv_0, grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); | ||
1295 | 1691 | ||
1296 | otherlv_2=(Token)match(input,22,FOLLOW_16); | 1692 | otherlv_1=(Token)match(input,23,FOLLOW_16); |
1297 | 1693 | ||
1298 | newLeafNode(otherlv_2, grammarAccess.getBasicEventDefinitionAccess().getEqualsSignKeyword_2()); | 1694 | newLeafNode(otherlv_1, grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); |
1299 | 1695 | ||
1300 | // InternalCftLanguage.g:506:3: ( (lv_rate_3_0= RULE_DOULBE ) ) | 1696 | // InternalCftLanguage.g:632:3: ( (lv_lambda_2_0= ruleDouble ) ) |
1301 | // InternalCftLanguage.g:507:4: (lv_rate_3_0= RULE_DOULBE ) | 1697 | // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble ) |
1302 | { | 1698 | { |
1303 | // InternalCftLanguage.g:507:4: (lv_rate_3_0= RULE_DOULBE ) | 1699 | // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble ) |
1304 | // InternalCftLanguage.g:508:5: lv_rate_3_0= RULE_DOULBE | 1700 | // InternalCftLanguage.g:634:5: lv_lambda_2_0= ruleDouble |
1305 | { | 1701 | { |
1306 | lv_rate_3_0=(Token)match(input,RULE_DOULBE,FOLLOW_2); | ||
1307 | 1702 | ||
1308 | newLeafNode(lv_rate_3_0, grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0()); | 1703 | newCompositeNode(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); |
1309 | 1704 | ||
1705 | pushFollow(FOLLOW_2); | ||
1706 | lv_lambda_2_0=ruleDouble(); | ||
1707 | |||
1708 | state._fsp--; | ||
1709 | |||
1310 | 1710 | ||
1311 | if (current==null) { | 1711 | if (current==null) { |
1312 | current = createModelElement(grammarAccess.getBasicEventDefinitionRule()); | 1712 | current = createModelElementForParent(grammarAccess.getExponentialDistributionRule()); |
1313 | } | 1713 | } |
1314 | setWithLastConsumed( | 1714 | set( |
1315 | current, | 1715 | current, |
1316 | "rate", | 1716 | "lambda", |
1317 | lv_rate_3_0, | 1717 | lv_lambda_2_0, |
1318 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.DOULBE"); | 1718 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); |
1719 | afterParserOrEnumRuleCall(); | ||
1319 | 1720 | ||
1320 | 1721 | ||
1321 | } | 1722 | } |
@@ -1342,11 +1743,11 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1342 | } | 1743 | } |
1343 | return current; | 1744 | return current; |
1344 | } | 1745 | } |
1345 | // $ANTLR end "ruleBasicEventDefinition" | 1746 | // $ANTLR end "ruleExponentialDistribution" |
1346 | 1747 | ||
1347 | 1748 | ||
1348 | // $ANTLR start "entryRuleGateDefinition" | 1749 | // $ANTLR start "entryRuleGateDefinition" |
1349 | // InternalCftLanguage.g:528:1: entryRuleGateDefinition returns [EObject current=null] : iv_ruleGateDefinition= ruleGateDefinition EOF ; | 1750 | // InternalCftLanguage.g:655:1: entryRuleGateDefinition returns [EObject current=null] : iv_ruleGateDefinition= ruleGateDefinition EOF ; |
1350 | public final EObject entryRuleGateDefinition() throws RecognitionException { | 1751 | public final EObject entryRuleGateDefinition() throws RecognitionException { |
1351 | EObject current = null; | 1752 | EObject current = null; |
1352 | 1753 | ||
@@ -1354,8 +1755,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1354 | 1755 | ||
1355 | 1756 | ||
1356 | try { | 1757 | try { |
1357 | // InternalCftLanguage.g:528:55: (iv_ruleGateDefinition= ruleGateDefinition EOF ) | 1758 | // InternalCftLanguage.g:655:55: (iv_ruleGateDefinition= ruleGateDefinition EOF ) |
1358 | // InternalCftLanguage.g:529:2: iv_ruleGateDefinition= ruleGateDefinition EOF | 1759 | // InternalCftLanguage.g:656:2: iv_ruleGateDefinition= ruleGateDefinition EOF |
1359 | { | 1760 | { |
1360 | newCompositeNode(grammarAccess.getGateDefinitionRule()); | 1761 | newCompositeNode(grammarAccess.getGateDefinitionRule()); |
1361 | pushFollow(FOLLOW_1); | 1762 | pushFollow(FOLLOW_1); |
@@ -1382,80 +1783,134 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1382 | 1783 | ||
1383 | 1784 | ||
1384 | // $ANTLR start "ruleGateDefinition" | 1785 | // $ANTLR start "ruleGateDefinition" |
1385 | // InternalCftLanguage.g:535:1: ruleGateDefinition returns [EObject current=null] : (this_AndGate_0= ruleAndGate | this_OrGate_1= ruleOrGate ) ; | 1786 | // InternalCftLanguage.g:662:1: ruleGateDefinition returns [EObject current=null] : (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) ; |
1386 | public final EObject ruleGateDefinition() throws RecognitionException { | 1787 | public final EObject ruleGateDefinition() throws RecognitionException { |
1387 | EObject current = null; | 1788 | EObject current = null; |
1388 | 1789 | ||
1389 | EObject this_AndGate_0 = null; | 1790 | EObject this_AndGateDefinition_0 = null; |
1390 | 1791 | ||
1391 | EObject this_OrGate_1 = null; | 1792 | EObject this_OrGateDefinition_1 = null; |
1793 | |||
1794 | EObject this_KOfMGateDefinition_2 = null; | ||
1392 | 1795 | ||
1393 | 1796 | ||
1394 | 1797 | ||
1395 | enterRule(); | 1798 | enterRule(); |
1396 | 1799 | ||
1397 | try { | 1800 | try { |
1398 | // InternalCftLanguage.g:541:2: ( (this_AndGate_0= ruleAndGate | this_OrGate_1= ruleOrGate ) ) | 1801 | // InternalCftLanguage.g:668:2: ( (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) ) |
1399 | // InternalCftLanguage.g:542:2: (this_AndGate_0= ruleAndGate | this_OrGate_1= ruleOrGate ) | 1802 | // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) |
1400 | { | 1803 | { |
1401 | // InternalCftLanguage.g:542:2: (this_AndGate_0= ruleAndGate | this_OrGate_1= ruleOrGate ) | 1804 | // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) |
1402 | int alt11=2; | 1805 | int alt12=3; |
1403 | int LA11_0 = input.LA(1); | 1806 | int LA12_0 = input.LA(1); |
1404 | 1807 | ||
1405 | if ( (LA11_0==RULE_ID) ) { | 1808 | if ( (LA12_0==RULE_ID) ) { |
1406 | int LA11_1 = input.LA(2); | 1809 | switch ( input.LA(2) ) { |
1810 | case RULE_INT: | ||
1811 | { | ||
1812 | alt12=3; | ||
1813 | } | ||
1814 | break; | ||
1815 | case 26: | ||
1816 | { | ||
1817 | alt12=2; | ||
1818 | } | ||
1819 | break; | ||
1820 | case 25: | ||
1821 | { | ||
1822 | alt12=1; | ||
1823 | } | ||
1824 | break; | ||
1825 | default: | ||
1826 | NoViableAltException nvae = | ||
1827 | new NoViableAltException("", 12, 1, input); | ||
1407 | 1828 | ||
1408 | if ( (LA11_1==24) ) { | 1829 | throw nvae; |
1409 | alt11=2; | ||
1410 | } | ||
1411 | else if ( (LA11_1==23) ) { | ||
1412 | alt11=1; | ||
1413 | } | 1830 | } |
1414 | else { | 1831 | |
1832 | } | ||
1833 | else if ( (LA12_0==RULE_OF_INT) ) { | ||
1834 | switch ( input.LA(2) ) { | ||
1835 | case RULE_INT: | ||
1836 | { | ||
1837 | alt12=3; | ||
1838 | } | ||
1839 | break; | ||
1840 | case 26: | ||
1841 | { | ||
1842 | alt12=2; | ||
1843 | } | ||
1844 | break; | ||
1845 | case 25: | ||
1846 | { | ||
1847 | alt12=1; | ||
1848 | } | ||
1849 | break; | ||
1850 | default: | ||
1415 | NoViableAltException nvae = | 1851 | NoViableAltException nvae = |
1416 | new NoViableAltException("", 11, 1, input); | 1852 | new NoViableAltException("", 12, 2, input); |
1417 | 1853 | ||
1418 | throw nvae; | 1854 | throw nvae; |
1419 | } | 1855 | } |
1856 | |||
1420 | } | 1857 | } |
1421 | else { | 1858 | else { |
1422 | NoViableAltException nvae = | 1859 | NoViableAltException nvae = |
1423 | new NoViableAltException("", 11, 0, input); | 1860 | new NoViableAltException("", 12, 0, input); |
1424 | 1861 | ||
1425 | throw nvae; | 1862 | throw nvae; |
1426 | } | 1863 | } |
1427 | switch (alt11) { | 1864 | switch (alt12) { |
1428 | case 1 : | 1865 | case 1 : |
1429 | // InternalCftLanguage.g:543:3: this_AndGate_0= ruleAndGate | 1866 | // InternalCftLanguage.g:670:3: this_AndGateDefinition_0= ruleAndGateDefinition |
1430 | { | 1867 | { |
1431 | 1868 | ||
1432 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateParserRuleCall_0()); | 1869 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); |
1433 | 1870 | ||
1434 | pushFollow(FOLLOW_2); | 1871 | pushFollow(FOLLOW_2); |
1435 | this_AndGate_0=ruleAndGate(); | 1872 | this_AndGateDefinition_0=ruleAndGateDefinition(); |
1436 | 1873 | ||
1437 | state._fsp--; | 1874 | state._fsp--; |
1438 | 1875 | ||
1439 | 1876 | ||
1440 | current = this_AndGate_0; | 1877 | current = this_AndGateDefinition_0; |
1441 | afterParserOrEnumRuleCall(); | 1878 | afterParserOrEnumRuleCall(); |
1442 | 1879 | ||
1443 | 1880 | ||
1444 | } | 1881 | } |
1445 | break; | 1882 | break; |
1446 | case 2 : | 1883 | case 2 : |
1447 | // InternalCftLanguage.g:552:3: this_OrGate_1= ruleOrGate | 1884 | // InternalCftLanguage.g:679:3: this_OrGateDefinition_1= ruleOrGateDefinition |
1448 | { | 1885 | { |
1449 | 1886 | ||
1450 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateParserRuleCall_1()); | 1887 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); |
1451 | 1888 | ||
1452 | pushFollow(FOLLOW_2); | 1889 | pushFollow(FOLLOW_2); |
1453 | this_OrGate_1=ruleOrGate(); | 1890 | this_OrGateDefinition_1=ruleOrGateDefinition(); |
1454 | 1891 | ||
1455 | state._fsp--; | 1892 | state._fsp--; |
1456 | 1893 | ||
1457 | 1894 | ||
1458 | current = this_OrGate_1; | 1895 | current = this_OrGateDefinition_1; |
1896 | afterParserOrEnumRuleCall(); | ||
1897 | |||
1898 | |||
1899 | } | ||
1900 | break; | ||
1901 | case 3 : | ||
1902 | // InternalCftLanguage.g:688:3: this_KOfMGateDefinition_2= ruleKOfMGateDefinition | ||
1903 | { | ||
1904 | |||
1905 | newCompositeNode(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); | ||
1906 | |||
1907 | pushFollow(FOLLOW_2); | ||
1908 | this_KOfMGateDefinition_2=ruleKOfMGateDefinition(); | ||
1909 | |||
1910 | state._fsp--; | ||
1911 | |||
1912 | |||
1913 | current = this_KOfMGateDefinition_2; | ||
1459 | afterParserOrEnumRuleCall(); | 1914 | afterParserOrEnumRuleCall(); |
1460 | 1915 | ||
1461 | 1916 | ||
@@ -1483,25 +1938,25 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1483 | // $ANTLR end "ruleGateDefinition" | 1938 | // $ANTLR end "ruleGateDefinition" |
1484 | 1939 | ||
1485 | 1940 | ||
1486 | // $ANTLR start "entryRuleAndGate" | 1941 | // $ANTLR start "entryRuleAndGateDefinition" |
1487 | // InternalCftLanguage.g:564:1: entryRuleAndGate returns [EObject current=null] : iv_ruleAndGate= ruleAndGate EOF ; | 1942 | // InternalCftLanguage.g:700:1: entryRuleAndGateDefinition returns [EObject current=null] : iv_ruleAndGateDefinition= ruleAndGateDefinition EOF ; |
1488 | public final EObject entryRuleAndGate() throws RecognitionException { | 1943 | public final EObject entryRuleAndGateDefinition() throws RecognitionException { |
1489 | EObject current = null; | 1944 | EObject current = null; |
1490 | 1945 | ||
1491 | EObject iv_ruleAndGate = null; | 1946 | EObject iv_ruleAndGateDefinition = null; |
1492 | 1947 | ||
1493 | 1948 | ||
1494 | try { | 1949 | try { |
1495 | // InternalCftLanguage.g:564:48: (iv_ruleAndGate= ruleAndGate EOF ) | 1950 | // InternalCftLanguage.g:700:58: (iv_ruleAndGateDefinition= ruleAndGateDefinition EOF ) |
1496 | // InternalCftLanguage.g:565:2: iv_ruleAndGate= ruleAndGate EOF | 1951 | // InternalCftLanguage.g:701:2: iv_ruleAndGateDefinition= ruleAndGateDefinition EOF |
1497 | { | 1952 | { |
1498 | newCompositeNode(grammarAccess.getAndGateRule()); | 1953 | newCompositeNode(grammarAccess.getAndGateDefinitionRule()); |
1499 | pushFollow(FOLLOW_1); | 1954 | pushFollow(FOLLOW_1); |
1500 | iv_ruleAndGate=ruleAndGate(); | 1955 | iv_ruleAndGateDefinition=ruleAndGateDefinition(); |
1501 | 1956 | ||
1502 | state._fsp--; | 1957 | state._fsp--; |
1503 | 1958 | ||
1504 | current =iv_ruleAndGate; | 1959 | current =iv_ruleAndGateDefinition; |
1505 | match(input,EOF,FOLLOW_2); | 1960 | match(input,EOF,FOLLOW_2); |
1506 | 1961 | ||
1507 | } | 1962 | } |
@@ -1516,47 +1971,52 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1516 | } | 1971 | } |
1517 | return current; | 1972 | return current; |
1518 | } | 1973 | } |
1519 | // $ANTLR end "entryRuleAndGate" | 1974 | // $ANTLR end "entryRuleAndGateDefinition" |
1520 | 1975 | ||
1521 | 1976 | ||
1522 | // $ANTLR start "ruleAndGate" | 1977 | // $ANTLR start "ruleAndGateDefinition" |
1523 | // InternalCftLanguage.g:571:1: ruleAndGate returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'and' ( (otherlv_2= RULE_ID ) )* ) ; | 1978 | // InternalCftLanguage.g:707:1: ruleAndGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) ; |
1524 | public final EObject ruleAndGate() throws RecognitionException { | 1979 | public final EObject ruleAndGateDefinition() throws RecognitionException { |
1525 | EObject current = null; | 1980 | EObject current = null; |
1526 | 1981 | ||
1527 | Token lv_name_0_0=null; | ||
1528 | Token otherlv_1=null; | 1982 | Token otherlv_1=null; |
1529 | Token otherlv_2=null; | 1983 | AntlrDatatypeRuleToken lv_name_0_0 = null; |
1984 | |||
1530 | 1985 | ||
1531 | 1986 | ||
1532 | enterRule(); | 1987 | enterRule(); |
1533 | 1988 | ||
1534 | try { | 1989 | try { |
1535 | // InternalCftLanguage.g:577:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'and' ( (otherlv_2= RULE_ID ) )* ) ) | 1990 | // InternalCftLanguage.g:713:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) ) |
1536 | // InternalCftLanguage.g:578:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'and' ( (otherlv_2= RULE_ID ) )* ) | 1991 | // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) |
1537 | { | 1992 | { |
1538 | // InternalCftLanguage.g:578:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'and' ( (otherlv_2= RULE_ID ) )* ) | 1993 | // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) |
1539 | // InternalCftLanguage.g:579:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'and' ( (otherlv_2= RULE_ID ) )* | 1994 | // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* |
1540 | { | 1995 | { |
1541 | // InternalCftLanguage.g:579:3: ( (lv_name_0_0= RULE_ID ) ) | 1996 | // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) ) |
1542 | // InternalCftLanguage.g:580:4: (lv_name_0_0= RULE_ID ) | 1997 | // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId ) |
1543 | { | 1998 | { |
1544 | // InternalCftLanguage.g:580:4: (lv_name_0_0= RULE_ID ) | 1999 | // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId ) |
1545 | // InternalCftLanguage.g:581:5: lv_name_0_0= RULE_ID | 2000 | // InternalCftLanguage.g:717:5: lv_name_0_0= ruleValidId |
1546 | { | 2001 | { |
1547 | lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_17); | ||
1548 | 2002 | ||
1549 | newLeafNode(lv_name_0_0, grammarAccess.getAndGateAccess().getNameIDTerminalRuleCall_0_0()); | 2003 | newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
1550 | 2004 | ||
2005 | pushFollow(FOLLOW_17); | ||
2006 | lv_name_0_0=ruleValidId(); | ||
2007 | |||
2008 | state._fsp--; | ||
2009 | |||
1551 | 2010 | ||
1552 | if (current==null) { | 2011 | if (current==null) { |
1553 | current = createModelElement(grammarAccess.getAndGateRule()); | 2012 | current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule()); |
1554 | } | 2013 | } |
1555 | setWithLastConsumed( | 2014 | set( |
1556 | current, | 2015 | current, |
1557 | "name", | 2016 | "name", |
1558 | lv_name_0_0, | 2017 | lv_name_0_0, |
1559 | "org.eclipse.xtext.common.Terminals.ID"); | 2018 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
2019 | afterParserOrEnumRuleCall(); | ||
1560 | 2020 | ||
1561 | 2021 | ||
1562 | } | 2022 | } |
@@ -1564,36 +2024,43 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1564 | 2024 | ||
1565 | } | 2025 | } |
1566 | 2026 | ||
1567 | otherlv_1=(Token)match(input,23,FOLLOW_18); | 2027 | otherlv_1=(Token)match(input,25,FOLLOW_18); |
1568 | 2028 | ||
1569 | newLeafNode(otherlv_1, grammarAccess.getAndGateAccess().getAndKeyword_1()); | 2029 | newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); |
1570 | 2030 | ||
1571 | // InternalCftLanguage.g:601:3: ( (otherlv_2= RULE_ID ) )* | 2031 | // InternalCftLanguage.g:738:3: ( ( ruleValidId ) )* |
1572 | loop12: | 2032 | loop13: |
1573 | do { | 2033 | do { |
1574 | int alt12=2; | 2034 | int alt13=2; |
1575 | int LA12_0 = input.LA(1); | 2035 | int LA13_0 = input.LA(1); |
1576 | 2036 | ||
1577 | if ( (LA12_0==RULE_ID) ) { | 2037 | if ( ((LA13_0>=RULE_OF_INT && LA13_0<=RULE_ID)) ) { |
1578 | alt12=1; | 2038 | alt13=1; |
1579 | } | 2039 | } |
1580 | 2040 | ||
1581 | 2041 | ||
1582 | switch (alt12) { | 2042 | switch (alt13) { |
1583 | case 1 : | 2043 | case 1 : |
1584 | // InternalCftLanguage.g:602:4: (otherlv_2= RULE_ID ) | 2044 | // InternalCftLanguage.g:739:4: ( ruleValidId ) |
1585 | { | 2045 | { |
1586 | // InternalCftLanguage.g:602:4: (otherlv_2= RULE_ID ) | 2046 | // InternalCftLanguage.g:739:4: ( ruleValidId ) |
1587 | // InternalCftLanguage.g:603:5: otherlv_2= RULE_ID | 2047 | // InternalCftLanguage.g:740:5: ruleValidId |
1588 | { | 2048 | { |
1589 | 2049 | ||
1590 | if (current==null) { | 2050 | if (current==null) { |
1591 | current = createModelElement(grammarAccess.getAndGateRule()); | 2051 | current = createModelElement(grammarAccess.getAndGateDefinitionRule()); |
1592 | } | 2052 | } |
1593 | 2053 | ||
1594 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_18); | ||
1595 | 2054 | ||
1596 | newLeafNode(otherlv_2, grammarAccess.getAndGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 2055 | newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
2056 | |||
2057 | pushFollow(FOLLOW_18); | ||
2058 | ruleValidId(); | ||
2059 | |||
2060 | state._fsp--; | ||
2061 | |||
2062 | |||
2063 | afterParserOrEnumRuleCall(); | ||
1597 | 2064 | ||
1598 | 2065 | ||
1599 | } | 2066 | } |
@@ -1603,7 +2070,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1603 | break; | 2070 | break; |
1604 | 2071 | ||
1605 | default : | 2072 | default : |
1606 | break loop12; | 2073 | break loop13; |
1607 | } | 2074 | } |
1608 | } while (true); | 2075 | } while (true); |
1609 | 2076 | ||
@@ -1626,28 +2093,28 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1626 | } | 2093 | } |
1627 | return current; | 2094 | return current; |
1628 | } | 2095 | } |
1629 | // $ANTLR end "ruleAndGate" | 2096 | // $ANTLR end "ruleAndGateDefinition" |
1630 | 2097 | ||
1631 | 2098 | ||
1632 | // $ANTLR start "entryRuleOrGate" | 2099 | // $ANTLR start "entryRuleOrGateDefinition" |
1633 | // InternalCftLanguage.g:618:1: entryRuleOrGate returns [EObject current=null] : iv_ruleOrGate= ruleOrGate EOF ; | 2100 | // InternalCftLanguage.g:758:1: entryRuleOrGateDefinition returns [EObject current=null] : iv_ruleOrGateDefinition= ruleOrGateDefinition EOF ; |
1634 | public final EObject entryRuleOrGate() throws RecognitionException { | 2101 | public final EObject entryRuleOrGateDefinition() throws RecognitionException { |
1635 | EObject current = null; | 2102 | EObject current = null; |
1636 | 2103 | ||
1637 | EObject iv_ruleOrGate = null; | 2104 | EObject iv_ruleOrGateDefinition = null; |
1638 | 2105 | ||
1639 | 2106 | ||
1640 | try { | 2107 | try { |
1641 | // InternalCftLanguage.g:618:47: (iv_ruleOrGate= ruleOrGate EOF ) | 2108 | // InternalCftLanguage.g:758:57: (iv_ruleOrGateDefinition= ruleOrGateDefinition EOF ) |
1642 | // InternalCftLanguage.g:619:2: iv_ruleOrGate= ruleOrGate EOF | 2109 | // InternalCftLanguage.g:759:2: iv_ruleOrGateDefinition= ruleOrGateDefinition EOF |
1643 | { | 2110 | { |
1644 | newCompositeNode(grammarAccess.getOrGateRule()); | 2111 | newCompositeNode(grammarAccess.getOrGateDefinitionRule()); |
1645 | pushFollow(FOLLOW_1); | 2112 | pushFollow(FOLLOW_1); |
1646 | iv_ruleOrGate=ruleOrGate(); | 2113 | iv_ruleOrGateDefinition=ruleOrGateDefinition(); |
1647 | 2114 | ||
1648 | state._fsp--; | 2115 | state._fsp--; |
1649 | 2116 | ||
1650 | current =iv_ruleOrGate; | 2117 | current =iv_ruleOrGateDefinition; |
1651 | match(input,EOF,FOLLOW_2); | 2118 | match(input,EOF,FOLLOW_2); |
1652 | 2119 | ||
1653 | } | 2120 | } |
@@ -1662,47 +2129,52 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1662 | } | 2129 | } |
1663 | return current; | 2130 | return current; |
1664 | } | 2131 | } |
1665 | // $ANTLR end "entryRuleOrGate" | 2132 | // $ANTLR end "entryRuleOrGateDefinition" |
1666 | 2133 | ||
1667 | 2134 | ||
1668 | // $ANTLR start "ruleOrGate" | 2135 | // $ANTLR start "ruleOrGateDefinition" |
1669 | // InternalCftLanguage.g:625:1: ruleOrGate returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'or' ( (otherlv_2= RULE_ID ) )* ) ; | 2136 | // InternalCftLanguage.g:765:1: ruleOrGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) ; |
1670 | public final EObject ruleOrGate() throws RecognitionException { | 2137 | public final EObject ruleOrGateDefinition() throws RecognitionException { |
1671 | EObject current = null; | 2138 | EObject current = null; |
1672 | 2139 | ||
1673 | Token lv_name_0_0=null; | ||
1674 | Token otherlv_1=null; | 2140 | Token otherlv_1=null; |
1675 | Token otherlv_2=null; | 2141 | AntlrDatatypeRuleToken lv_name_0_0 = null; |
2142 | |||
1676 | 2143 | ||
1677 | 2144 | ||
1678 | enterRule(); | 2145 | enterRule(); |
1679 | 2146 | ||
1680 | try { | 2147 | try { |
1681 | // InternalCftLanguage.g:631:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'or' ( (otherlv_2= RULE_ID ) )* ) ) | 2148 | // InternalCftLanguage.g:771:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) ) |
1682 | // InternalCftLanguage.g:632:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'or' ( (otherlv_2= RULE_ID ) )* ) | 2149 | // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) |
1683 | { | 2150 | { |
1684 | // InternalCftLanguage.g:632:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'or' ( (otherlv_2= RULE_ID ) )* ) | 2151 | // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) |
1685 | // InternalCftLanguage.g:633:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'or' ( (otherlv_2= RULE_ID ) )* | 2152 | // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* |
1686 | { | 2153 | { |
1687 | // InternalCftLanguage.g:633:3: ( (lv_name_0_0= RULE_ID ) ) | 2154 | // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) ) |
1688 | // InternalCftLanguage.g:634:4: (lv_name_0_0= RULE_ID ) | 2155 | // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId ) |
1689 | { | 2156 | { |
1690 | // InternalCftLanguage.g:634:4: (lv_name_0_0= RULE_ID ) | 2157 | // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId ) |
1691 | // InternalCftLanguage.g:635:5: lv_name_0_0= RULE_ID | 2158 | // InternalCftLanguage.g:775:5: lv_name_0_0= ruleValidId |
1692 | { | 2159 | { |
1693 | lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_19); | ||
1694 | 2160 | ||
1695 | newLeafNode(lv_name_0_0, grammarAccess.getOrGateAccess().getNameIDTerminalRuleCall_0_0()); | 2161 | newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); |
1696 | 2162 | ||
2163 | pushFollow(FOLLOW_19); | ||
2164 | lv_name_0_0=ruleValidId(); | ||
2165 | |||
2166 | state._fsp--; | ||
2167 | |||
1697 | 2168 | ||
1698 | if (current==null) { | 2169 | if (current==null) { |
1699 | current = createModelElement(grammarAccess.getOrGateRule()); | 2170 | current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule()); |
1700 | } | 2171 | } |
1701 | setWithLastConsumed( | 2172 | set( |
1702 | current, | 2173 | current, |
1703 | "name", | 2174 | "name", |
1704 | lv_name_0_0, | 2175 | lv_name_0_0, |
1705 | "org.eclipse.xtext.common.Terminals.ID"); | 2176 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
2177 | afterParserOrEnumRuleCall(); | ||
1706 | 2178 | ||
1707 | 2179 | ||
1708 | } | 2180 | } |
@@ -1710,36 +2182,43 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1710 | 2182 | ||
1711 | } | 2183 | } |
1712 | 2184 | ||
1713 | otherlv_1=(Token)match(input,24,FOLLOW_18); | 2185 | otherlv_1=(Token)match(input,26,FOLLOW_18); |
1714 | 2186 | ||
1715 | newLeafNode(otherlv_1, grammarAccess.getOrGateAccess().getOrKeyword_1()); | 2187 | newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); |
1716 | 2188 | ||
1717 | // InternalCftLanguage.g:655:3: ( (otherlv_2= RULE_ID ) )* | 2189 | // InternalCftLanguage.g:796:3: ( ( ruleValidId ) )* |
1718 | loop13: | 2190 | loop14: |
1719 | do { | 2191 | do { |
1720 | int alt13=2; | 2192 | int alt14=2; |
1721 | int LA13_0 = input.LA(1); | 2193 | int LA14_0 = input.LA(1); |
1722 | 2194 | ||
1723 | if ( (LA13_0==RULE_ID) ) { | 2195 | if ( ((LA14_0>=RULE_OF_INT && LA14_0<=RULE_ID)) ) { |
1724 | alt13=1; | 2196 | alt14=1; |
1725 | } | 2197 | } |
1726 | 2198 | ||
1727 | 2199 | ||
1728 | switch (alt13) { | 2200 | switch (alt14) { |
1729 | case 1 : | 2201 | case 1 : |
1730 | // InternalCftLanguage.g:656:4: (otherlv_2= RULE_ID ) | 2202 | // InternalCftLanguage.g:797:4: ( ruleValidId ) |
1731 | { | 2203 | { |
1732 | // InternalCftLanguage.g:656:4: (otherlv_2= RULE_ID ) | 2204 | // InternalCftLanguage.g:797:4: ( ruleValidId ) |
1733 | // InternalCftLanguage.g:657:5: otherlv_2= RULE_ID | 2205 | // InternalCftLanguage.g:798:5: ruleValidId |
1734 | { | 2206 | { |
1735 | 2207 | ||
1736 | if (current==null) { | 2208 | if (current==null) { |
1737 | current = createModelElement(grammarAccess.getOrGateRule()); | 2209 | current = createModelElement(grammarAccess.getOrGateDefinitionRule()); |
1738 | } | 2210 | } |
1739 | 2211 | ||
1740 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_18); | ||
1741 | 2212 | ||
1742 | newLeafNode(otherlv_2, grammarAccess.getOrGateAccess().getInputEventsEventDeclarationCrossReference_2_0()); | 2213 | newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); |
2214 | |||
2215 | pushFollow(FOLLOW_18); | ||
2216 | ruleValidId(); | ||
2217 | |||
2218 | state._fsp--; | ||
2219 | |||
2220 | |||
2221 | afterParserOrEnumRuleCall(); | ||
1743 | 2222 | ||
1744 | 2223 | ||
1745 | } | 2224 | } |
@@ -1749,7 +2228,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1749 | break; | 2228 | break; |
1750 | 2229 | ||
1751 | default : | 2230 | default : |
1752 | break loop13; | 2231 | break loop14; |
1753 | } | 2232 | } |
1754 | } while (true); | 2233 | } while (true); |
1755 | 2234 | ||
@@ -1772,11 +2251,288 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1772 | } | 2251 | } |
1773 | return current; | 2252 | return current; |
1774 | } | 2253 | } |
1775 | // $ANTLR end "ruleOrGate" | 2254 | // $ANTLR end "ruleOrGateDefinition" |
2255 | |||
2256 | |||
2257 | // $ANTLR start "entryRuleKOfMGateDefinition" | ||
2258 | // InternalCftLanguage.g:816:1: entryRuleKOfMGateDefinition returns [EObject current=null] : iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF ; | ||
2259 | public final EObject entryRuleKOfMGateDefinition() throws RecognitionException { | ||
2260 | EObject current = null; | ||
2261 | |||
2262 | EObject iv_ruleKOfMGateDefinition = null; | ||
2263 | |||
2264 | |||
2265 | try { | ||
2266 | // InternalCftLanguage.g:816:59: (iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF ) | ||
2267 | // InternalCftLanguage.g:817:2: iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF | ||
2268 | { | ||
2269 | newCompositeNode(grammarAccess.getKOfMGateDefinitionRule()); | ||
2270 | pushFollow(FOLLOW_1); | ||
2271 | iv_ruleKOfMGateDefinition=ruleKOfMGateDefinition(); | ||
2272 | |||
2273 | state._fsp--; | ||
2274 | |||
2275 | current =iv_ruleKOfMGateDefinition; | ||
2276 | match(input,EOF,FOLLOW_2); | ||
2277 | |||
2278 | } | ||
2279 | |||
2280 | } | ||
2281 | |||
2282 | catch (RecognitionException re) { | ||
2283 | recover(input,re); | ||
2284 | appendSkippedTokens(); | ||
2285 | } | ||
2286 | finally { | ||
2287 | } | ||
2288 | return current; | ||
2289 | } | ||
2290 | // $ANTLR end "entryRuleKOfMGateDefinition" | ||
2291 | |||
2292 | |||
2293 | // $ANTLR start "ruleKOfMGateDefinition" | ||
2294 | // InternalCftLanguage.g:823:1: ruleKOfMGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) ; | ||
2295 | public final EObject ruleKOfMGateDefinition() throws RecognitionException { | ||
2296 | EObject current = null; | ||
2297 | |||
2298 | Token lv_k_1_0=null; | ||
2299 | Token otherlv_2=null; | ||
2300 | Token lv_m_3_0=null; | ||
2301 | Token lv_m_4_0=null; | ||
2302 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
2303 | |||
2304 | |||
2305 | |||
2306 | enterRule(); | ||
2307 | |||
2308 | try { | ||
2309 | // InternalCftLanguage.g:829:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) ) | ||
2310 | // InternalCftLanguage.g:830:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) | ||
2311 | { | ||
2312 | // InternalCftLanguage.g:830:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) | ||
2313 | // InternalCftLanguage.g:831:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* | ||
2314 | { | ||
2315 | // InternalCftLanguage.g:831:3: ( (lv_name_0_0= ruleValidId ) ) | ||
2316 | // InternalCftLanguage.g:832:4: (lv_name_0_0= ruleValidId ) | ||
2317 | { | ||
2318 | // InternalCftLanguage.g:832:4: (lv_name_0_0= ruleValidId ) | ||
2319 | // InternalCftLanguage.g:833:5: lv_name_0_0= ruleValidId | ||
2320 | { | ||
2321 | |||
2322 | newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); | ||
2323 | |||
2324 | pushFollow(FOLLOW_20); | ||
2325 | lv_name_0_0=ruleValidId(); | ||
2326 | |||
2327 | state._fsp--; | ||
2328 | |||
2329 | |||
2330 | if (current==null) { | ||
2331 | current = createModelElementForParent(grammarAccess.getKOfMGateDefinitionRule()); | ||
2332 | } | ||
2333 | set( | ||
2334 | current, | ||
2335 | "name", | ||
2336 | lv_name_0_0, | ||
2337 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); | ||
2338 | afterParserOrEnumRuleCall(); | ||
2339 | |||
2340 | |||
2341 | } | ||
2342 | |||
2343 | |||
2344 | } | ||
2345 | |||
2346 | // InternalCftLanguage.g:850:3: ( (lv_k_1_0= RULE_INT ) ) | ||
2347 | // InternalCftLanguage.g:851:4: (lv_k_1_0= RULE_INT ) | ||
2348 | { | ||
2349 | // InternalCftLanguage.g:851:4: (lv_k_1_0= RULE_INT ) | ||
2350 | // InternalCftLanguage.g:852:5: lv_k_1_0= RULE_INT | ||
2351 | { | ||
2352 | lv_k_1_0=(Token)match(input,RULE_INT,FOLLOW_21); | ||
2353 | |||
2354 | newLeafNode(lv_k_1_0, grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); | ||
2355 | |||
2356 | |||
2357 | if (current==null) { | ||
2358 | current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
2359 | } | ||
2360 | setWithLastConsumed( | ||
2361 | current, | ||
2362 | "k", | ||
2363 | lv_k_1_0, | ||
2364 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2365 | |||
2366 | |||
2367 | } | ||
2368 | |||
2369 | |||
2370 | } | ||
2371 | |||
2372 | // InternalCftLanguage.g:868:3: ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) | ||
2373 | int alt15=2; | ||
2374 | int LA15_0 = input.LA(1); | ||
2375 | |||
2376 | if ( (LA15_0==27) ) { | ||
2377 | alt15=1; | ||
2378 | } | ||
2379 | else if ( (LA15_0==RULE_OF_INT) ) { | ||
2380 | alt15=2; | ||
2381 | } | ||
2382 | else { | ||
2383 | NoViableAltException nvae = | ||
2384 | new NoViableAltException("", 15, 0, input); | ||
2385 | |||
2386 | throw nvae; | ||
2387 | } | ||
2388 | switch (alt15) { | ||
2389 | case 1 : | ||
2390 | // InternalCftLanguage.g:869:4: (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ||
2391 | { | ||
2392 | // InternalCftLanguage.g:869:4: (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ||
2393 | // InternalCftLanguage.g:870:5: otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) | ||
2394 | { | ||
2395 | otherlv_2=(Token)match(input,27,FOLLOW_20); | ||
2396 | |||
2397 | newLeafNode(otherlv_2, grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); | ||
2398 | |||
2399 | // InternalCftLanguage.g:874:5: ( (lv_m_3_0= RULE_INT ) ) | ||
2400 | // InternalCftLanguage.g:875:6: (lv_m_3_0= RULE_INT ) | ||
2401 | { | ||
2402 | // InternalCftLanguage.g:875:6: (lv_m_3_0= RULE_INT ) | ||
2403 | // InternalCftLanguage.g:876:7: lv_m_3_0= RULE_INT | ||
2404 | { | ||
2405 | lv_m_3_0=(Token)match(input,RULE_INT,FOLLOW_18); | ||
2406 | |||
2407 | newLeafNode(lv_m_3_0, grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); | ||
2408 | |||
2409 | |||
2410 | if (current==null) { | ||
2411 | current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
2412 | } | ||
2413 | setWithLastConsumed( | ||
2414 | current, | ||
2415 | "m", | ||
2416 | lv_m_3_0, | ||
2417 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2418 | |||
2419 | |||
2420 | } | ||
2421 | |||
2422 | |||
2423 | } | ||
2424 | |||
2425 | |||
2426 | } | ||
2427 | |||
2428 | |||
2429 | } | ||
2430 | break; | ||
2431 | case 2 : | ||
2432 | // InternalCftLanguage.g:894:4: ( (lv_m_4_0= RULE_OF_INT ) ) | ||
2433 | { | ||
2434 | // InternalCftLanguage.g:894:4: ( (lv_m_4_0= RULE_OF_INT ) ) | ||
2435 | // InternalCftLanguage.g:895:5: (lv_m_4_0= RULE_OF_INT ) | ||
2436 | { | ||
2437 | // InternalCftLanguage.g:895:5: (lv_m_4_0= RULE_OF_INT ) | ||
2438 | // InternalCftLanguage.g:896:6: lv_m_4_0= RULE_OF_INT | ||
2439 | { | ||
2440 | lv_m_4_0=(Token)match(input,RULE_OF_INT,FOLLOW_18); | ||
2441 | |||
2442 | newLeafNode(lv_m_4_0, grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); | ||
2443 | |||
2444 | |||
2445 | if (current==null) { | ||
2446 | current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
2447 | } | ||
2448 | setWithLastConsumed( | ||
2449 | current, | ||
2450 | "m", | ||
2451 | lv_m_4_0, | ||
2452 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); | ||
2453 | |||
2454 | |||
2455 | } | ||
2456 | |||
2457 | |||
2458 | } | ||
2459 | |||
2460 | |||
2461 | } | ||
2462 | break; | ||
2463 | |||
2464 | } | ||
2465 | |||
2466 | // InternalCftLanguage.g:913:3: ( ( ruleValidId ) )* | ||
2467 | loop16: | ||
2468 | do { | ||
2469 | int alt16=2; | ||
2470 | int LA16_0 = input.LA(1); | ||
2471 | |||
2472 | if ( ((LA16_0>=RULE_OF_INT && LA16_0<=RULE_ID)) ) { | ||
2473 | alt16=1; | ||
2474 | } | ||
2475 | |||
2476 | |||
2477 | switch (alt16) { | ||
2478 | case 1 : | ||
2479 | // InternalCftLanguage.g:914:4: ( ruleValidId ) | ||
2480 | { | ||
2481 | // InternalCftLanguage.g:914:4: ( ruleValidId ) | ||
2482 | // InternalCftLanguage.g:915:5: ruleValidId | ||
2483 | { | ||
2484 | |||
2485 | if (current==null) { | ||
2486 | current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); | ||
2487 | } | ||
2488 | |||
2489 | |||
2490 | newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); | ||
2491 | |||
2492 | pushFollow(FOLLOW_18); | ||
2493 | ruleValidId(); | ||
2494 | |||
2495 | state._fsp--; | ||
2496 | |||
2497 | |||
2498 | afterParserOrEnumRuleCall(); | ||
2499 | |||
2500 | |||
2501 | } | ||
2502 | |||
2503 | |||
2504 | } | ||
2505 | break; | ||
2506 | |||
2507 | default : | ||
2508 | break loop16; | ||
2509 | } | ||
2510 | } while (true); | ||
2511 | |||
2512 | |||
2513 | } | ||
2514 | |||
2515 | |||
2516 | } | ||
2517 | |||
2518 | |||
2519 | leaveRule(); | ||
2520 | |||
2521 | } | ||
2522 | |||
2523 | catch (RecognitionException re) { | ||
2524 | recover(input,re); | ||
2525 | appendSkippedTokens(); | ||
2526 | } | ||
2527 | finally { | ||
2528 | } | ||
2529 | return current; | ||
2530 | } | ||
2531 | // $ANTLR end "ruleKOfMGateDefinition" | ||
1776 | 2532 | ||
1777 | 2533 | ||
1778 | // $ANTLR start "entryRuleTransformationDefinition" | 2534 | // $ANTLR start "entryRuleTransformationDefinition" |
1779 | // InternalCftLanguage.g:672:1: entryRuleTransformationDefinition returns [EObject current=null] : iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ; | 2535 | // InternalCftLanguage.g:933:1: entryRuleTransformationDefinition returns [EObject current=null] : iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ; |
1780 | public final EObject entryRuleTransformationDefinition() throws RecognitionException { | 2536 | public final EObject entryRuleTransformationDefinition() throws RecognitionException { |
1781 | EObject current = null; | 2537 | EObject current = null; |
1782 | 2538 | ||
@@ -1784,8 +2540,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1784 | 2540 | ||
1785 | 2541 | ||
1786 | try { | 2542 | try { |
1787 | // InternalCftLanguage.g:672:65: (iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ) | 2543 | // InternalCftLanguage.g:933:65: (iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ) |
1788 | // InternalCftLanguage.g:673:2: iv_ruleTransformationDefinition= ruleTransformationDefinition EOF | 2544 | // InternalCftLanguage.g:934:2: iv_ruleTransformationDefinition= ruleTransformationDefinition EOF |
1789 | { | 2545 | { |
1790 | newCompositeNode(grammarAccess.getTransformationDefinitionRule()); | 2546 | newCompositeNode(grammarAccess.getTransformationDefinitionRule()); |
1791 | pushFollow(FOLLOW_1); | 2547 | pushFollow(FOLLOW_1); |
@@ -1812,14 +2568,15 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1812 | 2568 | ||
1813 | 2569 | ||
1814 | // $ANTLR start "ruleTransformationDefinition" | 2570 | // $ANTLR start "ruleTransformationDefinition" |
1815 | // InternalCftLanguage.g:679:1: ruleTransformationDefinition returns [EObject current=null] : (otherlv_0= 'transformation' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ; | 2571 | // InternalCftLanguage.g:940:1: ruleTransformationDefinition returns [EObject current=null] : (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ; |
1816 | public final EObject ruleTransformationDefinition() throws RecognitionException { | 2572 | public final EObject ruleTransformationDefinition() throws RecognitionException { |
1817 | EObject current = null; | 2573 | EObject current = null; |
1818 | 2574 | ||
1819 | Token otherlv_0=null; | 2575 | Token otherlv_0=null; |
1820 | Token lv_name_1_0=null; | ||
1821 | Token otherlv_2=null; | 2576 | Token otherlv_2=null; |
1822 | Token otherlv_4=null; | 2577 | Token otherlv_4=null; |
2578 | AntlrDatatypeRuleToken lv_name_1_0 = null; | ||
2579 | |||
1823 | EObject lv_mappingDefinitions_3_0 = null; | 2580 | EObject lv_mappingDefinitions_3_0 = null; |
1824 | 2581 | ||
1825 | 2582 | ||
@@ -1827,35 +2584,40 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1827 | enterRule(); | 2584 | enterRule(); |
1828 | 2585 | ||
1829 | try { | 2586 | try { |
1830 | // InternalCftLanguage.g:685:2: ( (otherlv_0= 'transformation' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ) | 2587 | // InternalCftLanguage.g:946:2: ( (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ) |
1831 | // InternalCftLanguage.g:686:2: (otherlv_0= 'transformation' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) | 2588 | // InternalCftLanguage.g:947:2: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) |
1832 | { | 2589 | { |
1833 | // InternalCftLanguage.g:686:2: (otherlv_0= 'transformation' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) | 2590 | // InternalCftLanguage.g:947:2: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) |
1834 | // InternalCftLanguage.g:687:3: otherlv_0= 'transformation' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' | 2591 | // InternalCftLanguage.g:948:3: otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' |
1835 | { | 2592 | { |
1836 | otherlv_0=(Token)match(input,25,FOLLOW_3); | 2593 | otherlv_0=(Token)match(input,28,FOLLOW_3); |
1837 | 2594 | ||
1838 | newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); | 2595 | newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); |
1839 | 2596 | ||
1840 | // InternalCftLanguage.g:691:3: ( (lv_name_1_0= RULE_ID ) ) | 2597 | // InternalCftLanguage.g:952:3: ( (lv_name_1_0= ruleValidId ) ) |
1841 | // InternalCftLanguage.g:692:4: (lv_name_1_0= RULE_ID ) | 2598 | // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId ) |
1842 | { | 2599 | { |
1843 | // InternalCftLanguage.g:692:4: (lv_name_1_0= RULE_ID ) | 2600 | // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId ) |
1844 | // InternalCftLanguage.g:693:5: lv_name_1_0= RULE_ID | 2601 | // InternalCftLanguage.g:954:5: lv_name_1_0= ruleValidId |
1845 | { | 2602 | { |
1846 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); | ||
1847 | 2603 | ||
1848 | newLeafNode(lv_name_1_0, grammarAccess.getTransformationDefinitionAccess().getNameIDTerminalRuleCall_1_0()); | 2604 | newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); |
1849 | 2605 | ||
2606 | pushFollow(FOLLOW_8); | ||
2607 | lv_name_1_0=ruleValidId(); | ||
2608 | |||
2609 | state._fsp--; | ||
2610 | |||
1850 | 2611 | ||
1851 | if (current==null) { | 2612 | if (current==null) { |
1852 | current = createModelElement(grammarAccess.getTransformationDefinitionRule()); | 2613 | current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); |
1853 | } | 2614 | } |
1854 | setWithLastConsumed( | 2615 | set( |
1855 | current, | 2616 | current, |
1856 | "name", | 2617 | "name", |
1857 | lv_name_1_0, | 2618 | lv_name_1_0, |
1858 | "org.eclipse.xtext.common.Terminals.ID"); | 2619 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
2620 | afterParserOrEnumRuleCall(); | ||
1859 | 2621 | ||
1860 | 2622 | ||
1861 | } | 2623 | } |
@@ -1863,32 +2625,32 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1863 | 2625 | ||
1864 | } | 2626 | } |
1865 | 2627 | ||
1866 | otherlv_2=(Token)match(input,16,FOLLOW_20); | 2628 | otherlv_2=(Token)match(input,17,FOLLOW_22); |
1867 | 2629 | ||
1868 | newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); | 2630 | newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); |
1869 | 2631 | ||
1870 | // InternalCftLanguage.g:713:3: ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* | 2632 | // InternalCftLanguage.g:975:3: ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* |
1871 | loop14: | 2633 | loop17: |
1872 | do { | 2634 | do { |
1873 | int alt14=2; | 2635 | int alt17=2; |
1874 | int LA14_0 = input.LA(1); | 2636 | int LA17_0 = input.LA(1); |
1875 | 2637 | ||
1876 | if ( ((LA14_0>=26 && LA14_0<=27)) ) { | 2638 | if ( ((LA17_0>=29 && LA17_0<=30)) ) { |
1877 | alt14=1; | 2639 | alt17=1; |
1878 | } | 2640 | } |
1879 | 2641 | ||
1880 | 2642 | ||
1881 | switch (alt14) { | 2643 | switch (alt17) { |
1882 | case 1 : | 2644 | case 1 : |
1883 | // InternalCftLanguage.g:714:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) | 2645 | // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) |
1884 | { | 2646 | { |
1885 | // InternalCftLanguage.g:714:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) | 2647 | // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) |
1886 | // InternalCftLanguage.g:715:5: lv_mappingDefinitions_3_0= ruleMappingDefinition | 2648 | // InternalCftLanguage.g:977:5: lv_mappingDefinitions_3_0= ruleMappingDefinition |
1887 | { | 2649 | { |
1888 | 2650 | ||
1889 | newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); | 2651 | newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); |
1890 | 2652 | ||
1891 | pushFollow(FOLLOW_20); | 2653 | pushFollow(FOLLOW_22); |
1892 | lv_mappingDefinitions_3_0=ruleMappingDefinition(); | 2654 | lv_mappingDefinitions_3_0=ruleMappingDefinition(); |
1893 | 2655 | ||
1894 | state._fsp--; | 2656 | state._fsp--; |
@@ -1912,11 +2674,11 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1912 | break; | 2674 | break; |
1913 | 2675 | ||
1914 | default : | 2676 | default : |
1915 | break loop14; | 2677 | break loop17; |
1916 | } | 2678 | } |
1917 | } while (true); | 2679 | } while (true); |
1918 | 2680 | ||
1919 | otherlv_4=(Token)match(input,19,FOLLOW_2); | 2681 | otherlv_4=(Token)match(input,20,FOLLOW_2); |
1920 | 2682 | ||
1921 | newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); | 2683 | newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); |
1922 | 2684 | ||
@@ -1943,7 +2705,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1943 | 2705 | ||
1944 | 2706 | ||
1945 | // $ANTLR start "entryRuleMappingDefinition" | 2707 | // $ANTLR start "entryRuleMappingDefinition" |
1946 | // InternalCftLanguage.g:740:1: entryRuleMappingDefinition returns [EObject current=null] : iv_ruleMappingDefinition= ruleMappingDefinition EOF ; | 2708 | // InternalCftLanguage.g:1002:1: entryRuleMappingDefinition returns [EObject current=null] : iv_ruleMappingDefinition= ruleMappingDefinition EOF ; |
1947 | public final EObject entryRuleMappingDefinition() throws RecognitionException { | 2709 | public final EObject entryRuleMappingDefinition() throws RecognitionException { |
1948 | EObject current = null; | 2710 | EObject current = null; |
1949 | 2711 | ||
@@ -1951,8 +2713,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1951 | 2713 | ||
1952 | 2714 | ||
1953 | try { | 2715 | try { |
1954 | // InternalCftLanguage.g:740:58: (iv_ruleMappingDefinition= ruleMappingDefinition EOF ) | 2716 | // InternalCftLanguage.g:1002:58: (iv_ruleMappingDefinition= ruleMappingDefinition EOF ) |
1955 | // InternalCftLanguage.g:741:2: iv_ruleMappingDefinition= ruleMappingDefinition EOF | 2717 | // InternalCftLanguage.g:1003:2: iv_ruleMappingDefinition= ruleMappingDefinition EOF |
1956 | { | 2718 | { |
1957 | newCompositeNode(grammarAccess.getMappingDefinitionRule()); | 2719 | newCompositeNode(grammarAccess.getMappingDefinitionRule()); |
1958 | pushFollow(FOLLOW_1); | 2720 | pushFollow(FOLLOW_1); |
@@ -1979,7 +2741,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1979 | 2741 | ||
1980 | 2742 | ||
1981 | // $ANTLR start "ruleMappingDefinition" | 2743 | // $ANTLR start "ruleMappingDefinition" |
1982 | // InternalCftLanguage.g:747:1: ruleMappingDefinition returns [EObject current=null] : ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ; | 2744 | // InternalCftLanguage.g:1009:1: ruleMappingDefinition returns [EObject current=null] : ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ; |
1983 | public final EObject ruleMappingDefinition() throws RecognitionException { | 2745 | public final EObject ruleMappingDefinition() throws RecognitionException { |
1984 | EObject current = null; | 2746 | EObject current = null; |
1985 | 2747 | ||
@@ -2006,27 +2768,27 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2006 | enterRule(); | 2768 | enterRule(); |
2007 | 2769 | ||
2008 | try { | 2770 | try { |
2009 | // InternalCftLanguage.g:753:2: ( ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ) | 2771 | // InternalCftLanguage.g:1015:2: ( ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ) |
2010 | // InternalCftLanguage.g:754:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) | 2772 | // InternalCftLanguage.g:1016:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) |
2011 | { | 2773 | { |
2012 | // InternalCftLanguage.g:754:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) | 2774 | // InternalCftLanguage.g:1016:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) |
2013 | // InternalCftLanguage.g:755:3: ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? | 2775 | // InternalCftLanguage.g:1017:3: ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? |
2014 | { | 2776 | { |
2015 | // InternalCftLanguage.g:755:3: ( (lv_topLevel_0_0= 'toplevel' ) )? | 2777 | // InternalCftLanguage.g:1017:3: ( (lv_topLevel_0_0= 'toplevel' ) )? |
2016 | int alt15=2; | 2778 | int alt18=2; |
2017 | int LA15_0 = input.LA(1); | 2779 | int LA18_0 = input.LA(1); |
2018 | 2780 | ||
2019 | if ( (LA15_0==26) ) { | 2781 | if ( (LA18_0==29) ) { |
2020 | alt15=1; | 2782 | alt18=1; |
2021 | } | 2783 | } |
2022 | switch (alt15) { | 2784 | switch (alt18) { |
2023 | case 1 : | 2785 | case 1 : |
2024 | // InternalCftLanguage.g:756:4: (lv_topLevel_0_0= 'toplevel' ) | 2786 | // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' ) |
2025 | { | 2787 | { |
2026 | // InternalCftLanguage.g:756:4: (lv_topLevel_0_0= 'toplevel' ) | 2788 | // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' ) |
2027 | // InternalCftLanguage.g:757:5: lv_topLevel_0_0= 'toplevel' | 2789 | // InternalCftLanguage.g:1019:5: lv_topLevel_0_0= 'toplevel' |
2028 | { | 2790 | { |
2029 | lv_topLevel_0_0=(Token)match(input,26,FOLLOW_21); | 2791 | lv_topLevel_0_0=(Token)match(input,29,FOLLOW_23); |
2030 | 2792 | ||
2031 | newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); | 2793 | newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); |
2032 | 2794 | ||
@@ -2045,15 +2807,15 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2045 | 2807 | ||
2046 | } | 2808 | } |
2047 | 2809 | ||
2048 | otherlv_1=(Token)match(input,27,FOLLOW_3); | 2810 | otherlv_1=(Token)match(input,30,FOLLOW_3); |
2049 | 2811 | ||
2050 | newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); | 2812 | newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); |
2051 | 2813 | ||
2052 | // InternalCftLanguage.g:773:3: ( ( ruleQualifiedName ) ) | 2814 | // InternalCftLanguage.g:1035:3: ( ( ruleQualifiedName ) ) |
2053 | // InternalCftLanguage.g:774:4: ( ruleQualifiedName ) | 2815 | // InternalCftLanguage.g:1036:4: ( ruleQualifiedName ) |
2054 | { | 2816 | { |
2055 | // InternalCftLanguage.g:774:4: ( ruleQualifiedName ) | 2817 | // InternalCftLanguage.g:1036:4: ( ruleQualifiedName ) |
2056 | // InternalCftLanguage.g:775:5: ruleQualifiedName | 2818 | // InternalCftLanguage.g:1037:5: ruleQualifiedName |
2057 | { | 2819 | { |
2058 | 2820 | ||
2059 | if (current==null) { | 2821 | if (current==null) { |
@@ -2063,7 +2825,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2063 | 2825 | ||
2064 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); | 2826 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); |
2065 | 2827 | ||
2066 | pushFollow(FOLLOW_22); | 2828 | pushFollow(FOLLOW_24); |
2067 | ruleQualifiedName(); | 2829 | ruleQualifiedName(); |
2068 | 2830 | ||
2069 | state._fsp--; | 2831 | state._fsp--; |
@@ -2077,20 +2839,20 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2077 | 2839 | ||
2078 | } | 2840 | } |
2079 | 2841 | ||
2080 | otherlv_3=(Token)match(input,28,FOLLOW_3); | 2842 | otherlv_3=(Token)match(input,31,FOLLOW_3); |
2081 | 2843 | ||
2082 | newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); | 2844 | newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); |
2083 | 2845 | ||
2084 | // InternalCftLanguage.g:793:3: ( (lv_parameters_4_0= ruleMappingParameter ) ) | 2846 | // InternalCftLanguage.g:1055:3: ( (lv_parameters_4_0= ruleMappingParameter ) ) |
2085 | // InternalCftLanguage.g:794:4: (lv_parameters_4_0= ruleMappingParameter ) | 2847 | // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter ) |
2086 | { | 2848 | { |
2087 | // InternalCftLanguage.g:794:4: (lv_parameters_4_0= ruleMappingParameter ) | 2849 | // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter ) |
2088 | // InternalCftLanguage.g:795:5: lv_parameters_4_0= ruleMappingParameter | 2850 | // InternalCftLanguage.g:1057:5: lv_parameters_4_0= ruleMappingParameter |
2089 | { | 2851 | { |
2090 | 2852 | ||
2091 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); | 2853 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); |
2092 | 2854 | ||
2093 | pushFollow(FOLLOW_23); | 2855 | pushFollow(FOLLOW_25); |
2094 | lv_parameters_4_0=ruleMappingParameter(); | 2856 | lv_parameters_4_0=ruleMappingParameter(); |
2095 | 2857 | ||
2096 | state._fsp--; | 2858 | state._fsp--; |
@@ -2112,35 +2874,35 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2112 | 2874 | ||
2113 | } | 2875 | } |
2114 | 2876 | ||
2115 | // InternalCftLanguage.g:812:3: (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* | 2877 | // InternalCftLanguage.g:1074:3: (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* |
2116 | loop16: | 2878 | loop19: |
2117 | do { | 2879 | do { |
2118 | int alt16=2; | 2880 | int alt19=2; |
2119 | int LA16_0 = input.LA(1); | 2881 | int LA19_0 = input.LA(1); |
2120 | 2882 | ||
2121 | if ( (LA16_0==29) ) { | 2883 | if ( (LA19_0==32) ) { |
2122 | alt16=1; | 2884 | alt19=1; |
2123 | } | 2885 | } |
2124 | 2886 | ||
2125 | 2887 | ||
2126 | switch (alt16) { | 2888 | switch (alt19) { |
2127 | case 1 : | 2889 | case 1 : |
2128 | // InternalCftLanguage.g:813:4: otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) | 2890 | // InternalCftLanguage.g:1075:4: otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) |
2129 | { | 2891 | { |
2130 | otherlv_5=(Token)match(input,29,FOLLOW_3); | 2892 | otherlv_5=(Token)match(input,32,FOLLOW_3); |
2131 | 2893 | ||
2132 | newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); | 2894 | newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); |
2133 | 2895 | ||
2134 | // InternalCftLanguage.g:817:4: ( (lv_parameters_6_0= ruleMappingParameter ) ) | 2896 | // InternalCftLanguage.g:1079:4: ( (lv_parameters_6_0= ruleMappingParameter ) ) |
2135 | // InternalCftLanguage.g:818:5: (lv_parameters_6_0= ruleMappingParameter ) | 2897 | // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter ) |
2136 | { | 2898 | { |
2137 | // InternalCftLanguage.g:818:5: (lv_parameters_6_0= ruleMappingParameter ) | 2899 | // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter ) |
2138 | // InternalCftLanguage.g:819:6: lv_parameters_6_0= ruleMappingParameter | 2900 | // InternalCftLanguage.g:1081:6: lv_parameters_6_0= ruleMappingParameter |
2139 | { | 2901 | { |
2140 | 2902 | ||
2141 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); | 2903 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); |
2142 | 2904 | ||
2143 | pushFollow(FOLLOW_23); | 2905 | pushFollow(FOLLOW_25); |
2144 | lv_parameters_6_0=ruleMappingParameter(); | 2906 | lv_parameters_6_0=ruleMappingParameter(); |
2145 | 2907 | ||
2146 | state._fsp--; | 2908 | state._fsp--; |
@@ -2167,32 +2929,32 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2167 | break; | 2929 | break; |
2168 | 2930 | ||
2169 | default : | 2931 | default : |
2170 | break loop16; | 2932 | break loop19; |
2171 | } | 2933 | } |
2172 | } while (true); | 2934 | } while (true); |
2173 | 2935 | ||
2174 | otherlv_7=(Token)match(input,30,FOLLOW_24); | 2936 | otherlv_7=(Token)match(input,33,FOLLOW_26); |
2175 | 2937 | ||
2176 | newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); | 2938 | newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); |
2177 | 2939 | ||
2178 | // InternalCftLanguage.g:841:3: ( (lv_componentInstance_8_0= ruleComponentInstance ) )? | 2940 | // InternalCftLanguage.g:1103:3: ( (lv_componentInstance_8_0= ruleComponentInstance ) )? |
2179 | int alt17=2; | 2941 | int alt20=2; |
2180 | int LA17_0 = input.LA(1); | 2942 | int LA20_0 = input.LA(1); |
2181 | 2943 | ||
2182 | if ( (LA17_0==36) ) { | 2944 | if ( (LA20_0==39) ) { |
2183 | alt17=1; | 2945 | alt20=1; |
2184 | } | 2946 | } |
2185 | switch (alt17) { | 2947 | switch (alt20) { |
2186 | case 1 : | 2948 | case 1 : |
2187 | // InternalCftLanguage.g:842:4: (lv_componentInstance_8_0= ruleComponentInstance ) | 2949 | // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance ) |
2188 | { | 2950 | { |
2189 | // InternalCftLanguage.g:842:4: (lv_componentInstance_8_0= ruleComponentInstance ) | 2951 | // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance ) |
2190 | // InternalCftLanguage.g:843:5: lv_componentInstance_8_0= ruleComponentInstance | 2952 | // InternalCftLanguage.g:1105:5: lv_componentInstance_8_0= ruleComponentInstance |
2191 | { | 2953 | { |
2192 | 2954 | ||
2193 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); | 2955 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); |
2194 | 2956 | ||
2195 | pushFollow(FOLLOW_25); | 2957 | pushFollow(FOLLOW_27); |
2196 | lv_componentInstance_8_0=ruleComponentInstance(); | 2958 | lv_componentInstance_8_0=ruleComponentInstance(); |
2197 | 2959 | ||
2198 | state._fsp--; | 2960 | state._fsp--; |
@@ -2217,61 +2979,61 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2217 | 2979 | ||
2218 | } | 2980 | } |
2219 | 2981 | ||
2220 | // InternalCftLanguage.g:860:3: (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? | 2982 | // InternalCftLanguage.g:1122:3: (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? |
2221 | int alt20=2; | 2983 | int alt23=2; |
2222 | int LA20_0 = input.LA(1); | 2984 | int LA23_0 = input.LA(1); |
2223 | 2985 | ||
2224 | if ( (LA20_0==16) ) { | 2986 | if ( (LA23_0==17) ) { |
2225 | alt20=1; | 2987 | alt23=1; |
2226 | } | 2988 | } |
2227 | switch (alt20) { | 2989 | switch (alt23) { |
2228 | case 1 : | 2990 | case 1 : |
2229 | // InternalCftLanguage.g:861:4: otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' | 2991 | // InternalCftLanguage.g:1123:4: otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' |
2230 | { | 2992 | { |
2231 | otherlv_9=(Token)match(input,16,FOLLOW_26); | 2993 | otherlv_9=(Token)match(input,17,FOLLOW_28); |
2232 | 2994 | ||
2233 | newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); | 2995 | newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); |
2234 | 2996 | ||
2235 | // InternalCftLanguage.g:865:4: ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* | 2997 | // InternalCftLanguage.g:1127:4: ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* |
2236 | loop19: | 2998 | loop22: |
2237 | do { | 2999 | do { |
2238 | int alt19=2; | 3000 | int alt22=2; |
2239 | int LA19_0 = input.LA(1); | 3001 | int LA22_0 = input.LA(1); |
2240 | 3002 | ||
2241 | if ( (LA19_0==RULE_ID||LA19_0==31) ) { | 3003 | if ( ((LA22_0>=RULE_OF_INT && LA22_0<=RULE_ID)||LA22_0==34) ) { |
2242 | alt19=1; | 3004 | alt22=1; |
2243 | } | 3005 | } |
2244 | 3006 | ||
2245 | 3007 | ||
2246 | switch (alt19) { | 3008 | switch (alt22) { |
2247 | case 1 : | 3009 | case 1 : |
2248 | // InternalCftLanguage.g:866:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' | 3010 | // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' |
2249 | { | 3011 | { |
2250 | // InternalCftLanguage.g:866:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) | 3012 | // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) |
2251 | int alt18=2; | 3013 | int alt21=2; |
2252 | int LA18_0 = input.LA(1); | 3014 | int LA21_0 = input.LA(1); |
2253 | 3015 | ||
2254 | if ( (LA18_0==31) ) { | 3016 | if ( (LA21_0==34) ) { |
2255 | alt18=1; | 3017 | alt21=1; |
2256 | } | 3018 | } |
2257 | else if ( (LA18_0==RULE_ID) ) { | 3019 | else if ( ((LA21_0>=RULE_OF_INT && LA21_0<=RULE_ID)) ) { |
2258 | alt18=2; | 3020 | alt21=2; |
2259 | } | 3021 | } |
2260 | else { | 3022 | else { |
2261 | NoViableAltException nvae = | 3023 | NoViableAltException nvae = |
2262 | new NoViableAltException("", 18, 0, input); | 3024 | new NoViableAltException("", 21, 0, input); |
2263 | 3025 | ||
2264 | throw nvae; | 3026 | throw nvae; |
2265 | } | 3027 | } |
2266 | switch (alt18) { | 3028 | switch (alt21) { |
2267 | case 1 : | 3029 | case 1 : |
2268 | // InternalCftLanguage.g:867:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | 3030 | // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) |
2269 | { | 3031 | { |
2270 | // InternalCftLanguage.g:867:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | 3032 | // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) |
2271 | // InternalCftLanguage.g:868:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) | 3033 | // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) |
2272 | { | 3034 | { |
2273 | // InternalCftLanguage.g:868:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) | 3035 | // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) |
2274 | // InternalCftLanguage.g:869:8: lv_lookupDefinitions_10_0= ruleLookupDefinition | 3036 | // InternalCftLanguage.g:1131:8: lv_lookupDefinitions_10_0= ruleLookupDefinition |
2275 | { | 3037 | { |
2276 | 3038 | ||
2277 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); | 3039 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); |
@@ -2302,13 +3064,13 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2302 | } | 3064 | } |
2303 | break; | 3065 | break; |
2304 | case 2 : | 3066 | case 2 : |
2305 | // InternalCftLanguage.g:887:6: ( (lv_assignments_11_0= ruleAssignment ) ) | 3067 | // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) ) |
2306 | { | 3068 | { |
2307 | // InternalCftLanguage.g:887:6: ( (lv_assignments_11_0= ruleAssignment ) ) | 3069 | // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) ) |
2308 | // InternalCftLanguage.g:888:7: (lv_assignments_11_0= ruleAssignment ) | 3070 | // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment ) |
2309 | { | 3071 | { |
2310 | // InternalCftLanguage.g:888:7: (lv_assignments_11_0= ruleAssignment ) | 3072 | // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment ) |
2311 | // InternalCftLanguage.g:889:8: lv_assignments_11_0= ruleAssignment | 3073 | // InternalCftLanguage.g:1151:8: lv_assignments_11_0= ruleAssignment |
2312 | { | 3074 | { |
2313 | 3075 | ||
2314 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); | 3076 | newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); |
@@ -2341,7 +3103,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2341 | 3103 | ||
2342 | } | 3104 | } |
2343 | 3105 | ||
2344 | otherlv_12=(Token)match(input,13,FOLLOW_26); | 3106 | otherlv_12=(Token)match(input,14,FOLLOW_28); |
2345 | 3107 | ||
2346 | newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); | 3108 | newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); |
2347 | 3109 | ||
@@ -2350,11 +3112,11 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2350 | break; | 3112 | break; |
2351 | 3113 | ||
2352 | default : | 3114 | default : |
2353 | break loop19; | 3115 | break loop22; |
2354 | } | 3116 | } |
2355 | } while (true); | 3117 | } while (true); |
2356 | 3118 | ||
2357 | otherlv_13=(Token)match(input,19,FOLLOW_2); | 3119 | otherlv_13=(Token)match(input,20,FOLLOW_2); |
2358 | 3120 | ||
2359 | newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); | 3121 | newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); |
2360 | 3122 | ||
@@ -2387,7 +3149,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2387 | 3149 | ||
2388 | 3150 | ||
2389 | // $ANTLR start "entryRuleMappingParameter" | 3151 | // $ANTLR start "entryRuleMappingParameter" |
2390 | // InternalCftLanguage.g:921:1: entryRuleMappingParameter returns [EObject current=null] : iv_ruleMappingParameter= ruleMappingParameter EOF ; | 3152 | // InternalCftLanguage.g:1183:1: entryRuleMappingParameter returns [EObject current=null] : iv_ruleMappingParameter= ruleMappingParameter EOF ; |
2391 | public final EObject entryRuleMappingParameter() throws RecognitionException { | 3153 | public final EObject entryRuleMappingParameter() throws RecognitionException { |
2392 | EObject current = null; | 3154 | EObject current = null; |
2393 | 3155 | ||
@@ -2395,8 +3157,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2395 | 3157 | ||
2396 | 3158 | ||
2397 | try { | 3159 | try { |
2398 | // InternalCftLanguage.g:921:57: (iv_ruleMappingParameter= ruleMappingParameter EOF ) | 3160 | // InternalCftLanguage.g:1183:57: (iv_ruleMappingParameter= ruleMappingParameter EOF ) |
2399 | // InternalCftLanguage.g:922:2: iv_ruleMappingParameter= ruleMappingParameter EOF | 3161 | // InternalCftLanguage.g:1184:2: iv_ruleMappingParameter= ruleMappingParameter EOF |
2400 | { | 3162 | { |
2401 | newCompositeNode(grammarAccess.getMappingParameterRule()); | 3163 | newCompositeNode(grammarAccess.getMappingParameterRule()); |
2402 | pushFollow(FOLLOW_1); | 3164 | pushFollow(FOLLOW_1); |
@@ -2423,38 +3185,44 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2423 | 3185 | ||
2424 | 3186 | ||
2425 | // $ANTLR start "ruleMappingParameter" | 3187 | // $ANTLR start "ruleMappingParameter" |
2426 | // InternalCftLanguage.g:928:1: ruleMappingParameter returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ; | 3188 | // InternalCftLanguage.g:1190:1: ruleMappingParameter returns [EObject current=null] : ( (lv_name_0_0= ruleValidId ) ) ; |
2427 | public final EObject ruleMappingParameter() throws RecognitionException { | 3189 | public final EObject ruleMappingParameter() throws RecognitionException { |
2428 | EObject current = null; | 3190 | EObject current = null; |
2429 | 3191 | ||
2430 | Token lv_name_0_0=null; | 3192 | AntlrDatatypeRuleToken lv_name_0_0 = null; |
3193 | |||
2431 | 3194 | ||
2432 | 3195 | ||
2433 | enterRule(); | 3196 | enterRule(); |
2434 | 3197 | ||
2435 | try { | 3198 | try { |
2436 | // InternalCftLanguage.g:934:2: ( ( (lv_name_0_0= RULE_ID ) ) ) | 3199 | // InternalCftLanguage.g:1196:2: ( ( (lv_name_0_0= ruleValidId ) ) ) |
2437 | // InternalCftLanguage.g:935:2: ( (lv_name_0_0= RULE_ID ) ) | 3200 | // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) ) |
2438 | { | 3201 | { |
2439 | // InternalCftLanguage.g:935:2: ( (lv_name_0_0= RULE_ID ) ) | 3202 | // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) ) |
2440 | // InternalCftLanguage.g:936:3: (lv_name_0_0= RULE_ID ) | 3203 | // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId ) |
2441 | { | 3204 | { |
2442 | // InternalCftLanguage.g:936:3: (lv_name_0_0= RULE_ID ) | 3205 | // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId ) |
2443 | // InternalCftLanguage.g:937:4: lv_name_0_0= RULE_ID | 3206 | // InternalCftLanguage.g:1199:4: lv_name_0_0= ruleValidId |
2444 | { | 3207 | { |
2445 | lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_2); | ||
2446 | 3208 | ||
2447 | newLeafNode(lv_name_0_0, grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0()); | 3209 | newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); |
2448 | 3210 | ||
3211 | pushFollow(FOLLOW_2); | ||
3212 | lv_name_0_0=ruleValidId(); | ||
3213 | |||
3214 | state._fsp--; | ||
3215 | |||
2449 | 3216 | ||
2450 | if (current==null) { | 3217 | if (current==null) { |
2451 | current = createModelElement(grammarAccess.getMappingParameterRule()); | 3218 | current = createModelElementForParent(grammarAccess.getMappingParameterRule()); |
2452 | } | 3219 | } |
2453 | setWithLastConsumed( | 3220 | set( |
2454 | current, | 3221 | current, |
2455 | "name", | 3222 | "name", |
2456 | lv_name_0_0, | 3223 | lv_name_0_0, |
2457 | "org.eclipse.xtext.common.Terminals.ID"); | 3224 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
3225 | afterParserOrEnumRuleCall(); | ||
2458 | 3226 | ||
2459 | 3227 | ||
2460 | } | 3228 | } |
@@ -2482,7 +3250,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2482 | 3250 | ||
2483 | 3251 | ||
2484 | // $ANTLR start "entryRuleLookupDefinition" | 3252 | // $ANTLR start "entryRuleLookupDefinition" |
2485 | // InternalCftLanguage.g:956:1: entryRuleLookupDefinition returns [EObject current=null] : iv_ruleLookupDefinition= ruleLookupDefinition EOF ; | 3253 | // InternalCftLanguage.g:1219:1: entryRuleLookupDefinition returns [EObject current=null] : iv_ruleLookupDefinition= ruleLookupDefinition EOF ; |
2486 | public final EObject entryRuleLookupDefinition() throws RecognitionException { | 3254 | public final EObject entryRuleLookupDefinition() throws RecognitionException { |
2487 | EObject current = null; | 3255 | EObject current = null; |
2488 | 3256 | ||
@@ -2490,8 +3258,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2490 | 3258 | ||
2491 | 3259 | ||
2492 | try { | 3260 | try { |
2493 | // InternalCftLanguage.g:956:57: (iv_ruleLookupDefinition= ruleLookupDefinition EOF ) | 3261 | // InternalCftLanguage.g:1219:57: (iv_ruleLookupDefinition= ruleLookupDefinition EOF ) |
2494 | // InternalCftLanguage.g:957:2: iv_ruleLookupDefinition= ruleLookupDefinition EOF | 3262 | // InternalCftLanguage.g:1220:2: iv_ruleLookupDefinition= ruleLookupDefinition EOF |
2495 | { | 3263 | { |
2496 | newCompositeNode(grammarAccess.getLookupDefinitionRule()); | 3264 | newCompositeNode(grammarAccess.getLookupDefinitionRule()); |
2497 | pushFollow(FOLLOW_1); | 3265 | pushFollow(FOLLOW_1); |
@@ -2518,48 +3286,53 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2518 | 3286 | ||
2519 | 3287 | ||
2520 | // $ANTLR start "ruleLookupDefinition" | 3288 | // $ANTLR start "ruleLookupDefinition" |
2521 | // InternalCftLanguage.g:963:1: ruleLookupDefinition returns [EObject current=null] : (otherlv_0= 'lookup' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( (otherlv_3= RULE_ID ) ) (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= RULE_ID ) ) ) ; | 3289 | // InternalCftLanguage.g:1226:1: ruleLookupDefinition returns [EObject current=null] : (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) ; |
2522 | public final EObject ruleLookupDefinition() throws RecognitionException { | 3290 | public final EObject ruleLookupDefinition() throws RecognitionException { |
2523 | EObject current = null; | 3291 | EObject current = null; |
2524 | 3292 | ||
2525 | Token otherlv_0=null; | 3293 | Token otherlv_0=null; |
2526 | Token otherlv_1=null; | ||
2527 | Token otherlv_2=null; | 3294 | Token otherlv_2=null; |
2528 | Token otherlv_3=null; | ||
2529 | Token otherlv_4=null; | 3295 | Token otherlv_4=null; |
2530 | Token otherlv_5=null; | ||
2531 | Token otherlv_6=null; | 3296 | Token otherlv_6=null; |
2532 | Token otherlv_7=null; | 3297 | Token otherlv_7=null; |
2533 | Token lv_name_8_0=null; | 3298 | AntlrDatatypeRuleToken lv_name_8_0 = null; |
3299 | |||
2534 | 3300 | ||
2535 | 3301 | ||
2536 | enterRule(); | 3302 | enterRule(); |
2537 | 3303 | ||
2538 | try { | 3304 | try { |
2539 | // InternalCftLanguage.g:969:2: ( (otherlv_0= 'lookup' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( (otherlv_3= RULE_ID ) ) (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= RULE_ID ) ) ) ) | 3305 | // InternalCftLanguage.g:1232:2: ( (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) ) |
2540 | // InternalCftLanguage.g:970:2: (otherlv_0= 'lookup' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( (otherlv_3= RULE_ID ) ) (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= RULE_ID ) ) ) | 3306 | // InternalCftLanguage.g:1233:2: (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) |
2541 | { | 3307 | { |
2542 | // InternalCftLanguage.g:970:2: (otherlv_0= 'lookup' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( (otherlv_3= RULE_ID ) ) (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= RULE_ID ) ) ) | 3308 | // InternalCftLanguage.g:1233:2: (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) |
2543 | // InternalCftLanguage.g:971:3: otherlv_0= 'lookup' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( (otherlv_3= RULE_ID ) ) (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= RULE_ID ) ) | 3309 | // InternalCftLanguage.g:1234:3: otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) |
2544 | { | 3310 | { |
2545 | otherlv_0=(Token)match(input,31,FOLLOW_3); | 3311 | otherlv_0=(Token)match(input,34,FOLLOW_3); |
2546 | 3312 | ||
2547 | newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); | 3313 | newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); |
2548 | 3314 | ||
2549 | // InternalCftLanguage.g:975:3: ( (otherlv_1= RULE_ID ) ) | 3315 | // InternalCftLanguage.g:1238:3: ( ( ruleQualifiedName ) ) |
2550 | // InternalCftLanguage.g:976:4: (otherlv_1= RULE_ID ) | 3316 | // InternalCftLanguage.g:1239:4: ( ruleQualifiedName ) |
2551 | { | 3317 | { |
2552 | // InternalCftLanguage.g:976:4: (otherlv_1= RULE_ID ) | 3318 | // InternalCftLanguage.g:1239:4: ( ruleQualifiedName ) |
2553 | // InternalCftLanguage.g:977:5: otherlv_1= RULE_ID | 3319 | // InternalCftLanguage.g:1240:5: ruleQualifiedName |
2554 | { | 3320 | { |
2555 | 3321 | ||
2556 | if (current==null) { | 3322 | if (current==null) { |
2557 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 3323 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
2558 | } | 3324 | } |
2559 | 3325 | ||
2560 | otherlv_1=(Token)match(input,RULE_ID,FOLLOW_22); | ||
2561 | 3326 | ||
2562 | newLeafNode(otherlv_1, grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); | 3327 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); |
3328 | |||
3329 | pushFollow(FOLLOW_24); | ||
3330 | ruleQualifiedName(); | ||
3331 | |||
3332 | state._fsp--; | ||
3333 | |||
3334 | |||
3335 | afterParserOrEnumRuleCall(); | ||
2563 | 3336 | ||
2564 | 3337 | ||
2565 | } | 3338 | } |
@@ -2567,24 +3340,31 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2567 | 3340 | ||
2568 | } | 3341 | } |
2569 | 3342 | ||
2570 | otherlv_2=(Token)match(input,28,FOLLOW_3); | 3343 | otherlv_2=(Token)match(input,31,FOLLOW_3); |
2571 | 3344 | ||
2572 | newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); | 3345 | newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); |
2573 | 3346 | ||
2574 | // InternalCftLanguage.g:992:3: ( (otherlv_3= RULE_ID ) ) | 3347 | // InternalCftLanguage.g:1258:3: ( ( ruleValidId ) ) |
2575 | // InternalCftLanguage.g:993:4: (otherlv_3= RULE_ID ) | 3348 | // InternalCftLanguage.g:1259:4: ( ruleValidId ) |
2576 | { | 3349 | { |
2577 | // InternalCftLanguage.g:993:4: (otherlv_3= RULE_ID ) | 3350 | // InternalCftLanguage.g:1259:4: ( ruleValidId ) |
2578 | // InternalCftLanguage.g:994:5: otherlv_3= RULE_ID | 3351 | // InternalCftLanguage.g:1260:5: ruleValidId |
2579 | { | 3352 | { |
2580 | 3353 | ||
2581 | if (current==null) { | 3354 | if (current==null) { |
2582 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 3355 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
2583 | } | 3356 | } |
2584 | 3357 | ||
2585 | otherlv_3=(Token)match(input,RULE_ID,FOLLOW_23); | ||
2586 | 3358 | ||
2587 | newLeafNode(otherlv_3, grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); | 3359 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); |
3360 | |||
3361 | pushFollow(FOLLOW_25); | ||
3362 | ruleValidId(); | ||
3363 | |||
3364 | state._fsp--; | ||
3365 | |||
3366 | |||
3367 | afterParserOrEnumRuleCall(); | ||
2588 | 3368 | ||
2589 | 3369 | ||
2590 | } | 3370 | } |
@@ -2592,39 +3372,46 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2592 | 3372 | ||
2593 | } | 3373 | } |
2594 | 3374 | ||
2595 | // InternalCftLanguage.g:1005:3: (otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) )* | 3375 | // InternalCftLanguage.g:1274:3: (otherlv_4= ',' ( ( ruleValidId ) ) )* |
2596 | loop21: | 3376 | loop24: |
2597 | do { | 3377 | do { |
2598 | int alt21=2; | 3378 | int alt24=2; |
2599 | int LA21_0 = input.LA(1); | 3379 | int LA24_0 = input.LA(1); |
2600 | 3380 | ||
2601 | if ( (LA21_0==29) ) { | 3381 | if ( (LA24_0==32) ) { |
2602 | alt21=1; | 3382 | alt24=1; |
2603 | } | 3383 | } |
2604 | 3384 | ||
2605 | 3385 | ||
2606 | switch (alt21) { | 3386 | switch (alt24) { |
2607 | case 1 : | 3387 | case 1 : |
2608 | // InternalCftLanguage.g:1006:4: otherlv_4= ',' ( (otherlv_5= RULE_ID ) ) | 3388 | // InternalCftLanguage.g:1275:4: otherlv_4= ',' ( ( ruleValidId ) ) |
2609 | { | 3389 | { |
2610 | otherlv_4=(Token)match(input,29,FOLLOW_3); | 3390 | otherlv_4=(Token)match(input,32,FOLLOW_3); |
2611 | 3391 | ||
2612 | newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); | 3392 | newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); |
2613 | 3393 | ||
2614 | // InternalCftLanguage.g:1010:4: ( (otherlv_5= RULE_ID ) ) | 3394 | // InternalCftLanguage.g:1279:4: ( ( ruleValidId ) ) |
2615 | // InternalCftLanguage.g:1011:5: (otherlv_5= RULE_ID ) | 3395 | // InternalCftLanguage.g:1280:5: ( ruleValidId ) |
2616 | { | 3396 | { |
2617 | // InternalCftLanguage.g:1011:5: (otherlv_5= RULE_ID ) | 3397 | // InternalCftLanguage.g:1280:5: ( ruleValidId ) |
2618 | // InternalCftLanguage.g:1012:6: otherlv_5= RULE_ID | 3398 | // InternalCftLanguage.g:1281:6: ruleValidId |
2619 | { | 3399 | { |
2620 | 3400 | ||
2621 | if (current==null) { | 3401 | if (current==null) { |
2622 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 3402 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); |
2623 | } | 3403 | } |
2624 | 3404 | ||
2625 | otherlv_5=(Token)match(input,RULE_ID,FOLLOW_23); | ||
2626 | 3405 | ||
2627 | newLeafNode(otherlv_5, grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); | 3406 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); |
3407 | |||
3408 | pushFollow(FOLLOW_25); | ||
3409 | ruleValidId(); | ||
3410 | |||
3411 | state._fsp--; | ||
3412 | |||
3413 | |||
3414 | afterParserOrEnumRuleCall(); | ||
2628 | 3415 | ||
2629 | 3416 | ||
2630 | } | 3417 | } |
@@ -2637,37 +3424,42 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2637 | break; | 3424 | break; |
2638 | 3425 | ||
2639 | default : | 3426 | default : |
2640 | break loop21; | 3427 | break loop24; |
2641 | } | 3428 | } |
2642 | } while (true); | 3429 | } while (true); |
2643 | 3430 | ||
2644 | otherlv_6=(Token)match(input,30,FOLLOW_27); | 3431 | otherlv_6=(Token)match(input,33,FOLLOW_29); |
2645 | 3432 | ||
2646 | newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); | 3433 | newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); |
2647 | 3434 | ||
2648 | otherlv_7=(Token)match(input,32,FOLLOW_3); | 3435 | otherlv_7=(Token)match(input,35,FOLLOW_3); |
2649 | 3436 | ||
2650 | newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); | 3437 | newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); |
2651 | 3438 | ||
2652 | // InternalCftLanguage.g:1032:3: ( (lv_name_8_0= RULE_ID ) ) | 3439 | // InternalCftLanguage.g:1304:3: ( (lv_name_8_0= ruleValidId ) ) |
2653 | // InternalCftLanguage.g:1033:4: (lv_name_8_0= RULE_ID ) | 3440 | // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId ) |
2654 | { | 3441 | { |
2655 | // InternalCftLanguage.g:1033:4: (lv_name_8_0= RULE_ID ) | 3442 | // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId ) |
2656 | // InternalCftLanguage.g:1034:5: lv_name_8_0= RULE_ID | 3443 | // InternalCftLanguage.g:1306:5: lv_name_8_0= ruleValidId |
2657 | { | 3444 | { |
2658 | lv_name_8_0=(Token)match(input,RULE_ID,FOLLOW_2); | ||
2659 | 3445 | ||
2660 | newLeafNode(lv_name_8_0, grammarAccess.getLookupDefinitionAccess().getNameIDTerminalRuleCall_7_0()); | 3446 | newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); |
2661 | 3447 | ||
3448 | pushFollow(FOLLOW_2); | ||
3449 | lv_name_8_0=ruleValidId(); | ||
3450 | |||
3451 | state._fsp--; | ||
3452 | |||
2662 | 3453 | ||
2663 | if (current==null) { | 3454 | if (current==null) { |
2664 | current = createModelElement(grammarAccess.getLookupDefinitionRule()); | 3455 | current = createModelElementForParent(grammarAccess.getLookupDefinitionRule()); |
2665 | } | 3456 | } |
2666 | setWithLastConsumed( | 3457 | set( |
2667 | current, | 3458 | current, |
2668 | "name", | 3459 | "name", |
2669 | lv_name_8_0, | 3460 | lv_name_8_0, |
2670 | "org.eclipse.xtext.common.Terminals.ID"); | 3461 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
3462 | afterParserOrEnumRuleCall(); | ||
2671 | 3463 | ||
2672 | 3464 | ||
2673 | } | 3465 | } |
@@ -2698,7 +3490,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2698 | 3490 | ||
2699 | 3491 | ||
2700 | // $ANTLR start "entryRuleAssignment" | 3492 | // $ANTLR start "entryRuleAssignment" |
2701 | // InternalCftLanguage.g:1054:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ; | 3493 | // InternalCftLanguage.g:1327:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ; |
2702 | public final EObject entryRuleAssignment() throws RecognitionException { | 3494 | public final EObject entryRuleAssignment() throws RecognitionException { |
2703 | EObject current = null; | 3495 | EObject current = null; |
2704 | 3496 | ||
@@ -2706,8 +3498,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2706 | 3498 | ||
2707 | 3499 | ||
2708 | try { | 3500 | try { |
2709 | // InternalCftLanguage.g:1054:51: (iv_ruleAssignment= ruleAssignment EOF ) | 3501 | // InternalCftLanguage.g:1327:51: (iv_ruleAssignment= ruleAssignment EOF ) |
2710 | // InternalCftLanguage.g:1055:2: iv_ruleAssignment= ruleAssignment EOF | 3502 | // InternalCftLanguage.g:1328:2: iv_ruleAssignment= ruleAssignment EOF |
2711 | { | 3503 | { |
2712 | newCompositeNode(grammarAccess.getAssignmentRule()); | 3504 | newCompositeNode(grammarAccess.getAssignmentRule()); |
2713 | pushFollow(FOLLOW_1); | 3505 | pushFollow(FOLLOW_1); |
@@ -2734,7 +3526,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2734 | 3526 | ||
2735 | 3527 | ||
2736 | // $ANTLR start "ruleAssignment" | 3528 | // $ANTLR start "ruleAssignment" |
2737 | // InternalCftLanguage.g:1061:1: ruleAssignment returns [EObject current=null] : ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ; | 3529 | // InternalCftLanguage.g:1334:1: ruleAssignment returns [EObject current=null] : ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ; |
2738 | public final EObject ruleAssignment() throws RecognitionException { | 3530 | public final EObject ruleAssignment() throws RecognitionException { |
2739 | EObject current = null; | 3531 | EObject current = null; |
2740 | 3532 | ||
@@ -2749,22 +3541,22 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2749 | enterRule(); | 3541 | enterRule(); |
2750 | 3542 | ||
2751 | try { | 3543 | try { |
2752 | // InternalCftLanguage.g:1067:2: ( ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ) | 3544 | // InternalCftLanguage.g:1340:2: ( ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ) |
2753 | // InternalCftLanguage.g:1068:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) | 3545 | // InternalCftLanguage.g:1341:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) |
2754 | { | 3546 | { |
2755 | // InternalCftLanguage.g:1068:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) | 3547 | // InternalCftLanguage.g:1341:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) |
2756 | // InternalCftLanguage.g:1069:3: ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) | 3548 | // InternalCftLanguage.g:1342:3: ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) |
2757 | { | 3549 | { |
2758 | // InternalCftLanguage.g:1069:3: ( (lv_input_0_0= ruleEventReference ) ) | 3550 | // InternalCftLanguage.g:1342:3: ( (lv_input_0_0= ruleEventReference ) ) |
2759 | // InternalCftLanguage.g:1070:4: (lv_input_0_0= ruleEventReference ) | 3551 | // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference ) |
2760 | { | 3552 | { |
2761 | // InternalCftLanguage.g:1070:4: (lv_input_0_0= ruleEventReference ) | 3553 | // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference ) |
2762 | // InternalCftLanguage.g:1071:5: lv_input_0_0= ruleEventReference | 3554 | // InternalCftLanguage.g:1344:5: lv_input_0_0= ruleEventReference |
2763 | { | 3555 | { |
2764 | 3556 | ||
2765 | newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); | 3557 | newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); |
2766 | 3558 | ||
2767 | pushFollow(FOLLOW_28); | 3559 | pushFollow(FOLLOW_30); |
2768 | lv_input_0_0=ruleEventReference(); | 3560 | lv_input_0_0=ruleEventReference(); |
2769 | 3561 | ||
2770 | state._fsp--; | 3562 | state._fsp--; |
@@ -2786,33 +3578,33 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2786 | 3578 | ||
2787 | } | 3579 | } |
2788 | 3580 | ||
2789 | // InternalCftLanguage.g:1088:3: ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) | 3581 | // InternalCftLanguage.g:1361:3: ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) |
2790 | int alt22=2; | 3582 | int alt25=2; |
2791 | int LA22_0 = input.LA(1); | 3583 | int LA25_0 = input.LA(1); |
2792 | 3584 | ||
2793 | if ( (LA22_0==33) ) { | 3585 | if ( (LA25_0==36) ) { |
2794 | alt22=1; | 3586 | alt25=1; |
2795 | } | 3587 | } |
2796 | else if ( (LA22_0==34) ) { | 3588 | else if ( (LA25_0==37) ) { |
2797 | alt22=2; | 3589 | alt25=2; |
2798 | } | 3590 | } |
2799 | else { | 3591 | else { |
2800 | NoViableAltException nvae = | 3592 | NoViableAltException nvae = |
2801 | new NoViableAltException("", 22, 0, input); | 3593 | new NoViableAltException("", 25, 0, input); |
2802 | 3594 | ||
2803 | throw nvae; | 3595 | throw nvae; |
2804 | } | 3596 | } |
2805 | switch (alt22) { | 3597 | switch (alt25) { |
2806 | case 1 : | 3598 | case 1 : |
2807 | // InternalCftLanguage.g:1089:4: ( (lv_multiple_1_0= '+=' ) ) | 3599 | // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) ) |
2808 | { | 3600 | { |
2809 | // InternalCftLanguage.g:1089:4: ( (lv_multiple_1_0= '+=' ) ) | 3601 | // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) ) |
2810 | // InternalCftLanguage.g:1090:5: (lv_multiple_1_0= '+=' ) | 3602 | // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' ) |
2811 | { | 3603 | { |
2812 | // InternalCftLanguage.g:1090:5: (lv_multiple_1_0= '+=' ) | 3604 | // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' ) |
2813 | // InternalCftLanguage.g:1091:6: lv_multiple_1_0= '+=' | 3605 | // InternalCftLanguage.g:1364:6: lv_multiple_1_0= '+=' |
2814 | { | 3606 | { |
2815 | lv_multiple_1_0=(Token)match(input,33,FOLLOW_29); | 3607 | lv_multiple_1_0=(Token)match(input,36,FOLLOW_31); |
2816 | 3608 | ||
2817 | newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); | 3609 | newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); |
2818 | 3610 | ||
@@ -2832,9 +3624,9 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2832 | } | 3624 | } |
2833 | break; | 3625 | break; |
2834 | case 2 : | 3626 | case 2 : |
2835 | // InternalCftLanguage.g:1104:4: otherlv_2= ':=' | 3627 | // InternalCftLanguage.g:1377:4: otherlv_2= ':=' |
2836 | { | 3628 | { |
2837 | otherlv_2=(Token)match(input,34,FOLLOW_29); | 3629 | otherlv_2=(Token)match(input,37,FOLLOW_31); |
2838 | 3630 | ||
2839 | newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); | 3631 | newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); |
2840 | 3632 | ||
@@ -2844,11 +3636,11 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2844 | 3636 | ||
2845 | } | 3637 | } |
2846 | 3638 | ||
2847 | // InternalCftLanguage.g:1109:3: ( (lv_output_3_0= ruleEventReference ) ) | 3639 | // InternalCftLanguage.g:1382:3: ( (lv_output_3_0= ruleEventReference ) ) |
2848 | // InternalCftLanguage.g:1110:4: (lv_output_3_0= ruleEventReference ) | 3640 | // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference ) |
2849 | { | 3641 | { |
2850 | // InternalCftLanguage.g:1110:4: (lv_output_3_0= ruleEventReference ) | 3642 | // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference ) |
2851 | // InternalCftLanguage.g:1111:5: lv_output_3_0= ruleEventReference | 3643 | // InternalCftLanguage.g:1384:5: lv_output_3_0= ruleEventReference |
2852 | { | 3644 | { |
2853 | 3645 | ||
2854 | newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); | 3646 | newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); |
@@ -2898,7 +3690,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2898 | 3690 | ||
2899 | 3691 | ||
2900 | // $ANTLR start "entryRuleEventReference" | 3692 | // $ANTLR start "entryRuleEventReference" |
2901 | // InternalCftLanguage.g:1132:1: entryRuleEventReference returns [EObject current=null] : iv_ruleEventReference= ruleEventReference EOF ; | 3693 | // InternalCftLanguage.g:1405:1: entryRuleEventReference returns [EObject current=null] : iv_ruleEventReference= ruleEventReference EOF ; |
2902 | public final EObject entryRuleEventReference() throws RecognitionException { | 3694 | public final EObject entryRuleEventReference() throws RecognitionException { |
2903 | EObject current = null; | 3695 | EObject current = null; |
2904 | 3696 | ||
@@ -2906,8 +3698,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2906 | 3698 | ||
2907 | 3699 | ||
2908 | try { | 3700 | try { |
2909 | // InternalCftLanguage.g:1132:55: (iv_ruleEventReference= ruleEventReference EOF ) | 3701 | // InternalCftLanguage.g:1405:55: (iv_ruleEventReference= ruleEventReference EOF ) |
2910 | // InternalCftLanguage.g:1133:2: iv_ruleEventReference= ruleEventReference EOF | 3702 | // InternalCftLanguage.g:1406:2: iv_ruleEventReference= ruleEventReference EOF |
2911 | { | 3703 | { |
2912 | newCompositeNode(grammarAccess.getEventReferenceRule()); | 3704 | newCompositeNode(grammarAccess.getEventReferenceRule()); |
2913 | pushFollow(FOLLOW_1); | 3705 | pushFollow(FOLLOW_1); |
@@ -2934,38 +3726,43 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2934 | 3726 | ||
2935 | 3727 | ||
2936 | // $ANTLR start "ruleEventReference" | 3728 | // $ANTLR start "ruleEventReference" |
2937 | // InternalCftLanguage.g:1139:1: ruleEventReference returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ) ; | 3729 | // InternalCftLanguage.g:1412:1: ruleEventReference returns [EObject current=null] : ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) ; |
2938 | public final EObject ruleEventReference() throws RecognitionException { | 3730 | public final EObject ruleEventReference() throws RecognitionException { |
2939 | EObject current = null; | 3731 | EObject current = null; |
2940 | 3732 | ||
2941 | Token otherlv_0=null; | ||
2942 | Token otherlv_1=null; | 3733 | Token otherlv_1=null; |
2943 | Token otherlv_2=null; | ||
2944 | 3734 | ||
2945 | 3735 | ||
2946 | enterRule(); | 3736 | enterRule(); |
2947 | 3737 | ||
2948 | try { | 3738 | try { |
2949 | // InternalCftLanguage.g:1145:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ) ) | 3739 | // InternalCftLanguage.g:1418:2: ( ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) ) |
2950 | // InternalCftLanguage.g:1146:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ) | 3740 | // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) |
2951 | { | 3741 | { |
2952 | // InternalCftLanguage.g:1146:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ) | 3742 | // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) |
2953 | // InternalCftLanguage.g:1147:3: ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) | 3743 | // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) |
2954 | { | 3744 | { |
2955 | // InternalCftLanguage.g:1147:3: ( (otherlv_0= RULE_ID ) ) | 3745 | // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) ) |
2956 | // InternalCftLanguage.g:1148:4: (otherlv_0= RULE_ID ) | 3746 | // InternalCftLanguage.g:1421:4: ( ruleValidId ) |
2957 | { | 3747 | { |
2958 | // InternalCftLanguage.g:1148:4: (otherlv_0= RULE_ID ) | 3748 | // InternalCftLanguage.g:1421:4: ( ruleValidId ) |
2959 | // InternalCftLanguage.g:1149:5: otherlv_0= RULE_ID | 3749 | // InternalCftLanguage.g:1422:5: ruleValidId |
2960 | { | 3750 | { |
2961 | 3751 | ||
2962 | if (current==null) { | 3752 | if (current==null) { |
2963 | current = createModelElement(grammarAccess.getEventReferenceRule()); | 3753 | current = createModelElement(grammarAccess.getEventReferenceRule()); |
2964 | } | 3754 | } |
2965 | 3755 | ||
2966 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_30); | ||
2967 | 3756 | ||
2968 | newLeafNode(otherlv_0, grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); | 3757 | newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); |
3758 | |||
3759 | pushFollow(FOLLOW_32); | ||
3760 | ruleValidId(); | ||
3761 | |||
3762 | state._fsp--; | ||
3763 | |||
3764 | |||
3765 | afterParserOrEnumRuleCall(); | ||
2969 | 3766 | ||
2970 | 3767 | ||
2971 | } | 3768 | } |
@@ -2973,24 +3770,31 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
2973 | 3770 | ||
2974 | } | 3771 | } |
2975 | 3772 | ||
2976 | otherlv_1=(Token)match(input,35,FOLLOW_3); | 3773 | otherlv_1=(Token)match(input,38,FOLLOW_3); |
2977 | 3774 | ||
2978 | newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); | 3775 | newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); |
2979 | 3776 | ||
2980 | // InternalCftLanguage.g:1164:3: ( (otherlv_2= RULE_ID ) ) | 3777 | // InternalCftLanguage.g:1440:3: ( ( ruleValidId ) ) |
2981 | // InternalCftLanguage.g:1165:4: (otherlv_2= RULE_ID ) | 3778 | // InternalCftLanguage.g:1441:4: ( ruleValidId ) |
2982 | { | 3779 | { |
2983 | // InternalCftLanguage.g:1165:4: (otherlv_2= RULE_ID ) | 3780 | // InternalCftLanguage.g:1441:4: ( ruleValidId ) |
2984 | // InternalCftLanguage.g:1166:5: otherlv_2= RULE_ID | 3781 | // InternalCftLanguage.g:1442:5: ruleValidId |
2985 | { | 3782 | { |
2986 | 3783 | ||
2987 | if (current==null) { | 3784 | if (current==null) { |
2988 | current = createModelElement(grammarAccess.getEventReferenceRule()); | 3785 | current = createModelElement(grammarAccess.getEventReferenceRule()); |
2989 | } | 3786 | } |
2990 | 3787 | ||
2991 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); | ||
2992 | 3788 | ||
2993 | newLeafNode(otherlv_2, grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); | 3789 | newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); |
3790 | |||
3791 | pushFollow(FOLLOW_2); | ||
3792 | ruleValidId(); | ||
3793 | |||
3794 | state._fsp--; | ||
3795 | |||
3796 | |||
3797 | afterParserOrEnumRuleCall(); | ||
2994 | 3798 | ||
2995 | 3799 | ||
2996 | } | 3800 | } |
@@ -3021,7 +3825,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3021 | 3825 | ||
3022 | 3826 | ||
3023 | // $ANTLR start "entryRuleComponentInstance" | 3827 | // $ANTLR start "entryRuleComponentInstance" |
3024 | // InternalCftLanguage.g:1181:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ; | 3828 | // InternalCftLanguage.g:1460:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ; |
3025 | public final EObject entryRuleComponentInstance() throws RecognitionException { | 3829 | public final EObject entryRuleComponentInstance() throws RecognitionException { |
3026 | EObject current = null; | 3830 | EObject current = null; |
3027 | 3831 | ||
@@ -3029,8 +3833,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3029 | 3833 | ||
3030 | 3834 | ||
3031 | try { | 3835 | try { |
3032 | // InternalCftLanguage.g:1181:58: (iv_ruleComponentInstance= ruleComponentInstance EOF ) | 3836 | // InternalCftLanguage.g:1460:58: (iv_ruleComponentInstance= ruleComponentInstance EOF ) |
3033 | // InternalCftLanguage.g:1182:2: iv_ruleComponentInstance= ruleComponentInstance EOF | 3837 | // InternalCftLanguage.g:1461:2: iv_ruleComponentInstance= ruleComponentInstance EOF |
3034 | { | 3838 | { |
3035 | newCompositeNode(grammarAccess.getComponentInstanceRule()); | 3839 | newCompositeNode(grammarAccess.getComponentInstanceRule()); |
3036 | pushFollow(FOLLOW_1); | 3840 | pushFollow(FOLLOW_1); |
@@ -3057,7 +3861,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3057 | 3861 | ||
3058 | 3862 | ||
3059 | // $ANTLR start "ruleComponentInstance" | 3863 | // $ANTLR start "ruleComponentInstance" |
3060 | // InternalCftLanguage.g:1188:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ; | 3864 | // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ; |
3061 | public final EObject ruleComponentInstance() throws RecognitionException { | 3865 | public final EObject ruleComponentInstance() throws RecognitionException { |
3062 | EObject current = null; | 3866 | EObject current = null; |
3063 | 3867 | ||
@@ -3068,21 +3872,21 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3068 | enterRule(); | 3872 | enterRule(); |
3069 | 3873 | ||
3070 | try { | 3874 | try { |
3071 | // InternalCftLanguage.g:1194:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ) | 3875 | // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ) |
3072 | // InternalCftLanguage.g:1195:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) | 3876 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) |
3073 | { | 3877 | { |
3074 | // InternalCftLanguage.g:1195:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) | 3878 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) |
3075 | // InternalCftLanguage.g:1196:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? | 3879 | // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? |
3076 | { | 3880 | { |
3077 | otherlv_0=(Token)match(input,36,FOLLOW_3); | 3881 | otherlv_0=(Token)match(input,39,FOLLOW_3); |
3078 | 3882 | ||
3079 | newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); | 3883 | newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); |
3080 | 3884 | ||
3081 | // InternalCftLanguage.g:1200:3: ( ( ruleQualifiedName ) ) | 3885 | // InternalCftLanguage.g:1479:3: ( ( ruleQualifiedName ) ) |
3082 | // InternalCftLanguage.g:1201:4: ( ruleQualifiedName ) | 3886 | // InternalCftLanguage.g:1480:4: ( ruleQualifiedName ) |
3083 | { | 3887 | { |
3084 | // InternalCftLanguage.g:1201:4: ( ruleQualifiedName ) | 3888 | // InternalCftLanguage.g:1480:4: ( ruleQualifiedName ) |
3085 | // InternalCftLanguage.g:1202:5: ruleQualifiedName | 3889 | // InternalCftLanguage.g:1481:5: ruleQualifiedName |
3086 | { | 3890 | { |
3087 | 3891 | ||
3088 | if (current==null) { | 3892 | if (current==null) { |
@@ -3092,7 +3896,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3092 | 3896 | ||
3093 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); | 3897 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); |
3094 | 3898 | ||
3095 | pushFollow(FOLLOW_18); | 3899 | pushFollow(FOLLOW_33); |
3096 | ruleQualifiedName(); | 3900 | ruleQualifiedName(); |
3097 | 3901 | ||
3098 | state._fsp--; | 3902 | state._fsp--; |
@@ -3106,19 +3910,19 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3106 | 3910 | ||
3107 | } | 3911 | } |
3108 | 3912 | ||
3109 | // InternalCftLanguage.g:1216:3: ( (lv_name_2_0= RULE_ID ) )? | 3913 | // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= RULE_ID ) )? |
3110 | int alt23=2; | 3914 | int alt26=2; |
3111 | int LA23_0 = input.LA(1); | 3915 | int LA26_0 = input.LA(1); |
3112 | 3916 | ||
3113 | if ( (LA23_0==RULE_ID) ) { | 3917 | if ( (LA26_0==RULE_ID) ) { |
3114 | alt23=1; | 3918 | alt26=1; |
3115 | } | 3919 | } |
3116 | switch (alt23) { | 3920 | switch (alt26) { |
3117 | case 1 : | 3921 | case 1 : |
3118 | // InternalCftLanguage.g:1217:4: (lv_name_2_0= RULE_ID ) | 3922 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) |
3119 | { | 3923 | { |
3120 | // InternalCftLanguage.g:1217:4: (lv_name_2_0= RULE_ID ) | 3924 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) |
3121 | // InternalCftLanguage.g:1218:5: lv_name_2_0= RULE_ID | 3925 | // InternalCftLanguage.g:1497:5: lv_name_2_0= RULE_ID |
3122 | { | 3926 | { |
3123 | lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_2); | 3927 | lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_2); |
3124 | 3928 | ||
@@ -3166,7 +3970,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3166 | 3970 | ||
3167 | 3971 | ||
3168 | // $ANTLR start "entryRuleQualifiedName" | 3972 | // $ANTLR start "entryRuleQualifiedName" |
3169 | // InternalCftLanguage.g:1238:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; | 3973 | // InternalCftLanguage.g:1517:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; |
3170 | public final String entryRuleQualifiedName() throws RecognitionException { | 3974 | public final String entryRuleQualifiedName() throws RecognitionException { |
3171 | String current = null; | 3975 | String current = null; |
3172 | 3976 | ||
@@ -3174,8 +3978,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3174 | 3978 | ||
3175 | 3979 | ||
3176 | try { | 3980 | try { |
3177 | // InternalCftLanguage.g:1238:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) | 3981 | // InternalCftLanguage.g:1517:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) |
3178 | // InternalCftLanguage.g:1239:2: iv_ruleQualifiedName= ruleQualifiedName EOF | 3982 | // InternalCftLanguage.g:1518:2: iv_ruleQualifiedName= ruleQualifiedName EOF |
3179 | { | 3983 | { |
3180 | newCompositeNode(grammarAccess.getQualifiedNameRule()); | 3984 | newCompositeNode(grammarAccess.getQualifiedNameRule()); |
3181 | pushFollow(FOLLOW_1); | 3985 | pushFollow(FOLLOW_1); |
@@ -3202,70 +4006,86 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3202 | 4006 | ||
3203 | 4007 | ||
3204 | // $ANTLR start "ruleQualifiedName" | 4008 | // $ANTLR start "ruleQualifiedName" |
3205 | // InternalCftLanguage.g:1245:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; | 4009 | // InternalCftLanguage.g:1524:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; |
3206 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { | 4010 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { |
3207 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4011 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
3208 | 4012 | ||
3209 | Token this_ID_0=null; | ||
3210 | Token kw=null; | 4013 | Token kw=null; |
3211 | Token this_ID_2=null; | 4014 | AntlrDatatypeRuleToken this_ValidId_0 = null; |
4015 | |||
4016 | AntlrDatatypeRuleToken this_ValidId_2 = null; | ||
4017 | |||
3212 | 4018 | ||
3213 | 4019 | ||
3214 | enterRule(); | 4020 | enterRule(); |
3215 | 4021 | ||
3216 | try { | 4022 | try { |
3217 | // InternalCftLanguage.g:1251:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) | 4023 | // InternalCftLanguage.g:1530:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) |
3218 | // InternalCftLanguage.g:1252:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | 4024 | // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) |
3219 | { | 4025 | { |
3220 | // InternalCftLanguage.g:1252:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | 4026 | // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) |
3221 | // InternalCftLanguage.g:1253:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* | 4027 | // InternalCftLanguage.g:1532:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* |
3222 | { | 4028 | { |
3223 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_31); | ||
3224 | 4029 | ||
3225 | current.merge(this_ID_0); | 4030 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); |
3226 | 4031 | ||
4032 | pushFollow(FOLLOW_34); | ||
4033 | this_ValidId_0=ruleValidId(); | ||
4034 | |||
4035 | state._fsp--; | ||
4036 | |||
3227 | 4037 | ||
3228 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 4038 | current.merge(this_ValidId_0); |
3229 | 4039 | ||
3230 | // InternalCftLanguage.g:1260:3: (kw= '.' this_ID_2= RULE_ID )* | 4040 | |
3231 | loop24: | 4041 | afterParserOrEnumRuleCall(); |
4042 | |||
4043 | // InternalCftLanguage.g:1542:3: (kw= '.' this_ValidId_2= ruleValidId )* | ||
4044 | loop27: | ||
3232 | do { | 4045 | do { |
3233 | int alt24=2; | 4046 | int alt27=2; |
3234 | int LA24_0 = input.LA(1); | 4047 | int LA27_0 = input.LA(1); |
3235 | 4048 | ||
3236 | if ( (LA24_0==35) ) { | 4049 | if ( (LA27_0==38) ) { |
3237 | int LA24_2 = input.LA(2); | 4050 | int LA27_2 = input.LA(2); |
3238 | 4051 | ||
3239 | if ( (LA24_2==RULE_ID) ) { | 4052 | if ( ((LA27_2>=RULE_OF_INT && LA27_2<=RULE_ID)) ) { |
3240 | alt24=1; | 4053 | alt27=1; |
3241 | } | 4054 | } |
3242 | 4055 | ||
3243 | 4056 | ||
3244 | } | 4057 | } |
3245 | 4058 | ||
3246 | 4059 | ||
3247 | switch (alt24) { | 4060 | switch (alt27) { |
3248 | case 1 : | 4061 | case 1 : |
3249 | // InternalCftLanguage.g:1261:4: kw= '.' this_ID_2= RULE_ID | 4062 | // InternalCftLanguage.g:1543:4: kw= '.' this_ValidId_2= ruleValidId |
3250 | { | 4063 | { |
3251 | kw=(Token)match(input,35,FOLLOW_3); | 4064 | kw=(Token)match(input,38,FOLLOW_3); |
3252 | 4065 | ||
3253 | current.merge(kw); | 4066 | current.merge(kw); |
3254 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | 4067 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
3255 | 4068 | ||
3256 | this_ID_2=(Token)match(input,RULE_ID,FOLLOW_31); | ||
3257 | 4069 | ||
3258 | current.merge(this_ID_2); | 4070 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); |
3259 | 4071 | ||
4072 | pushFollow(FOLLOW_34); | ||
4073 | this_ValidId_2=ruleValidId(); | ||
4074 | |||
4075 | state._fsp--; | ||
4076 | |||
3260 | 4077 | ||
3261 | newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | 4078 | current.merge(this_ValidId_2); |
4079 | |||
4080 | |||
4081 | afterParserOrEnumRuleCall(); | ||
3262 | 4082 | ||
3263 | 4083 | ||
3264 | } | 4084 | } |
3265 | break; | 4085 | break; |
3266 | 4086 | ||
3267 | default : | 4087 | default : |
3268 | break loop24; | 4088 | break loop27; |
3269 | } | 4089 | } |
3270 | } while (true); | 4090 | } while (true); |
3271 | 4091 | ||
@@ -3292,7 +4112,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3292 | 4112 | ||
3293 | 4113 | ||
3294 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" | 4114 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" |
3295 | // InternalCftLanguage.g:1278:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; | 4115 | // InternalCftLanguage.g:1563:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; |
3296 | public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { | 4116 | public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { |
3297 | String current = null; | 4117 | String current = null; |
3298 | 4118 | ||
@@ -3300,8 +4120,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3300 | 4120 | ||
3301 | 4121 | ||
3302 | try { | 4122 | try { |
3303 | // InternalCftLanguage.g:1278:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) | 4123 | // InternalCftLanguage.g:1563:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) |
3304 | // InternalCftLanguage.g:1279:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF | 4124 | // InternalCftLanguage.g:1564:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF |
3305 | { | 4125 | { |
3306 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); | 4126 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); |
3307 | pushFollow(FOLLOW_1); | 4127 | pushFollow(FOLLOW_1); |
@@ -3328,7 +4148,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3328 | 4148 | ||
3329 | 4149 | ||
3330 | // $ANTLR start "ruleQualifiedNameWithWildcard" | 4150 | // $ANTLR start "ruleQualifiedNameWithWildcard" |
3331 | // InternalCftLanguage.g:1285:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; | 4151 | // InternalCftLanguage.g:1570:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; |
3332 | public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { | 4152 | public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { |
3333 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4153 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
3334 | 4154 | ||
@@ -3340,16 +4160,16 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3340 | enterRule(); | 4160 | enterRule(); |
3341 | 4161 | ||
3342 | try { | 4162 | try { |
3343 | // InternalCftLanguage.g:1291:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) | 4163 | // InternalCftLanguage.g:1576:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) |
3344 | // InternalCftLanguage.g:1292:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) | 4164 | // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
3345 | { | 4165 | { |
3346 | // InternalCftLanguage.g:1292:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) | 4166 | // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
3347 | // InternalCftLanguage.g:1293:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? | 4167 | // InternalCftLanguage.g:1578:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? |
3348 | { | 4168 | { |
3349 | 4169 | ||
3350 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); | 4170 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); |
3351 | 4171 | ||
3352 | pushFollow(FOLLOW_31); | 4172 | pushFollow(FOLLOW_34); |
3353 | this_QualifiedName_0=ruleQualifiedName(); | 4173 | this_QualifiedName_0=ruleQualifiedName(); |
3354 | 4174 | ||
3355 | state._fsp--; | 4175 | state._fsp--; |
@@ -3360,23 +4180,23 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3360 | 4180 | ||
3361 | afterParserOrEnumRuleCall(); | 4181 | afterParserOrEnumRuleCall(); |
3362 | 4182 | ||
3363 | // InternalCftLanguage.g:1303:3: (kw= '.' kw= '*' )? | 4183 | // InternalCftLanguage.g:1588:3: (kw= '.' kw= '*' )? |
3364 | int alt25=2; | 4184 | int alt28=2; |
3365 | int LA25_0 = input.LA(1); | 4185 | int LA28_0 = input.LA(1); |
3366 | 4186 | ||
3367 | if ( (LA25_0==35) ) { | 4187 | if ( (LA28_0==38) ) { |
3368 | alt25=1; | 4188 | alt28=1; |
3369 | } | 4189 | } |
3370 | switch (alt25) { | 4190 | switch (alt28) { |
3371 | case 1 : | 4191 | case 1 : |
3372 | // InternalCftLanguage.g:1304:4: kw= '.' kw= '*' | 4192 | // InternalCftLanguage.g:1589:4: kw= '.' kw= '*' |
3373 | { | 4193 | { |
3374 | kw=(Token)match(input,35,FOLLOW_32); | 4194 | kw=(Token)match(input,38,FOLLOW_35); |
3375 | 4195 | ||
3376 | current.merge(kw); | 4196 | current.merge(kw); |
3377 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); | 4197 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); |
3378 | 4198 | ||
3379 | kw=(Token)match(input,37,FOLLOW_2); | 4199 | kw=(Token)match(input,40,FOLLOW_2); |
3380 | 4200 | ||
3381 | current.merge(kw); | 4201 | current.merge(kw); |
3382 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); | 4202 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); |
@@ -3408,6 +4228,238 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3408 | } | 4228 | } |
3409 | // $ANTLR end "ruleQualifiedNameWithWildcard" | 4229 | // $ANTLR end "ruleQualifiedNameWithWildcard" |
3410 | 4230 | ||
4231 | |||
4232 | // $ANTLR start "entryRuleValidId" | ||
4233 | // InternalCftLanguage.g:1604:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; | ||
4234 | public final String entryRuleValidId() throws RecognitionException { | ||
4235 | String current = null; | ||
4236 | |||
4237 | AntlrDatatypeRuleToken iv_ruleValidId = null; | ||
4238 | |||
4239 | |||
4240 | try { | ||
4241 | // InternalCftLanguage.g:1604:47: (iv_ruleValidId= ruleValidId EOF ) | ||
4242 | // InternalCftLanguage.g:1605:2: iv_ruleValidId= ruleValidId EOF | ||
4243 | { | ||
4244 | newCompositeNode(grammarAccess.getValidIdRule()); | ||
4245 | pushFollow(FOLLOW_1); | ||
4246 | iv_ruleValidId=ruleValidId(); | ||
4247 | |||
4248 | state._fsp--; | ||
4249 | |||
4250 | current =iv_ruleValidId.getText(); | ||
4251 | match(input,EOF,FOLLOW_2); | ||
4252 | |||
4253 | } | ||
4254 | |||
4255 | } | ||
4256 | |||
4257 | catch (RecognitionException re) { | ||
4258 | recover(input,re); | ||
4259 | appendSkippedTokens(); | ||
4260 | } | ||
4261 | finally { | ||
4262 | } | ||
4263 | return current; | ||
4264 | } | ||
4265 | // $ANTLR end "entryRuleValidId" | ||
4266 | |||
4267 | |||
4268 | // $ANTLR start "ruleValidId" | ||
4269 | // InternalCftLanguage.g:1611:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; | ||
4270 | public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException { | ||
4271 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | ||
4272 | |||
4273 | Token this_ID_0=null; | ||
4274 | Token this_OF_INT_1=null; | ||
4275 | |||
4276 | |||
4277 | enterRule(); | ||
4278 | |||
4279 | try { | ||
4280 | // InternalCftLanguage.g:1617:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) | ||
4281 | // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) | ||
4282 | { | ||
4283 | // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) | ||
4284 | int alt29=2; | ||
4285 | int LA29_0 = input.LA(1); | ||
4286 | |||
4287 | if ( (LA29_0==RULE_ID) ) { | ||
4288 | alt29=1; | ||
4289 | } | ||
4290 | else if ( (LA29_0==RULE_OF_INT) ) { | ||
4291 | alt29=2; | ||
4292 | } | ||
4293 | else { | ||
4294 | NoViableAltException nvae = | ||
4295 | new NoViableAltException("", 29, 0, input); | ||
4296 | |||
4297 | throw nvae; | ||
4298 | } | ||
4299 | switch (alt29) { | ||
4300 | case 1 : | ||
4301 | // InternalCftLanguage.g:1619:3: this_ID_0= RULE_ID | ||
4302 | { | ||
4303 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); | ||
4304 | |||
4305 | current.merge(this_ID_0); | ||
4306 | |||
4307 | |||
4308 | newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); | ||
4309 | |||
4310 | |||
4311 | } | ||
4312 | break; | ||
4313 | case 2 : | ||
4314 | // InternalCftLanguage.g:1627:3: this_OF_INT_1= RULE_OF_INT | ||
4315 | { | ||
4316 | this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2); | ||
4317 | |||
4318 | current.merge(this_OF_INT_1); | ||
4319 | |||
4320 | |||
4321 | newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); | ||
4322 | |||
4323 | |||
4324 | } | ||
4325 | break; | ||
4326 | |||
4327 | } | ||
4328 | |||
4329 | |||
4330 | } | ||
4331 | |||
4332 | |||
4333 | leaveRule(); | ||
4334 | |||
4335 | } | ||
4336 | |||
4337 | catch (RecognitionException re) { | ||
4338 | recover(input,re); | ||
4339 | appendSkippedTokens(); | ||
4340 | } | ||
4341 | finally { | ||
4342 | } | ||
4343 | return current; | ||
4344 | } | ||
4345 | // $ANTLR end "ruleValidId" | ||
4346 | |||
4347 | |||
4348 | // $ANTLR start "entryRuleDouble" | ||
4349 | // InternalCftLanguage.g:1638:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; | ||
4350 | public final String entryRuleDouble() throws RecognitionException { | ||
4351 | String current = null; | ||
4352 | |||
4353 | AntlrDatatypeRuleToken iv_ruleDouble = null; | ||
4354 | |||
4355 | |||
4356 | try { | ||
4357 | // InternalCftLanguage.g:1638:46: (iv_ruleDouble= ruleDouble EOF ) | ||
4358 | // InternalCftLanguage.g:1639:2: iv_ruleDouble= ruleDouble EOF | ||
4359 | { | ||
4360 | newCompositeNode(grammarAccess.getDoubleRule()); | ||
4361 | pushFollow(FOLLOW_1); | ||
4362 | iv_ruleDouble=ruleDouble(); | ||
4363 | |||
4364 | state._fsp--; | ||
4365 | |||
4366 | current =iv_ruleDouble.getText(); | ||
4367 | match(input,EOF,FOLLOW_2); | ||
4368 | |||
4369 | } | ||
4370 | |||
4371 | } | ||
4372 | |||
4373 | catch (RecognitionException re) { | ||
4374 | recover(input,re); | ||
4375 | appendSkippedTokens(); | ||
4376 | } | ||
4377 | finally { | ||
4378 | } | ||
4379 | return current; | ||
4380 | } | ||
4381 | // $ANTLR end "entryRuleDouble" | ||
4382 | |||
4383 | |||
4384 | // $ANTLR start "ruleDouble" | ||
4385 | // InternalCftLanguage.g:1645:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; | ||
4386 | public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException { | ||
4387 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | ||
4388 | |||
4389 | Token this_INT_0=null; | ||
4390 | Token this_T_DOUBLE_1=null; | ||
4391 | |||
4392 | |||
4393 | enterRule(); | ||
4394 | |||
4395 | try { | ||
4396 | // InternalCftLanguage.g:1651:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) | ||
4397 | // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) | ||
4398 | { | ||
4399 | // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) | ||
4400 | int alt30=2; | ||
4401 | int LA30_0 = input.LA(1); | ||
4402 | |||
4403 | if ( (LA30_0==RULE_INT) ) { | ||
4404 | alt30=1; | ||
4405 | } | ||
4406 | else if ( (LA30_0==RULE_T_DOUBLE) ) { | ||
4407 | alt30=2; | ||
4408 | } | ||
4409 | else { | ||
4410 | NoViableAltException nvae = | ||
4411 | new NoViableAltException("", 30, 0, input); | ||
4412 | |||
4413 | throw nvae; | ||
4414 | } | ||
4415 | switch (alt30) { | ||
4416 | case 1 : | ||
4417 | // InternalCftLanguage.g:1653:3: this_INT_0= RULE_INT | ||
4418 | { | ||
4419 | this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); | ||
4420 | |||
4421 | current.merge(this_INT_0); | ||
4422 | |||
4423 | |||
4424 | newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); | ||
4425 | |||
4426 | |||
4427 | } | ||
4428 | break; | ||
4429 | case 2 : | ||
4430 | // InternalCftLanguage.g:1661:3: this_T_DOUBLE_1= RULE_T_DOUBLE | ||
4431 | { | ||
4432 | this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2); | ||
4433 | |||
4434 | current.merge(this_T_DOUBLE_1); | ||
4435 | |||
4436 | |||
4437 | newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); | ||
4438 | |||
4439 | |||
4440 | } | ||
4441 | break; | ||
4442 | |||
4443 | } | ||
4444 | |||
4445 | |||
4446 | } | ||
4447 | |||
4448 | |||
4449 | leaveRule(); | ||
4450 | |||
4451 | } | ||
4452 | |||
4453 | catch (RecognitionException re) { | ||
4454 | recover(input,re); | ||
4455 | appendSkippedTokens(); | ||
4456 | } | ||
4457 | finally { | ||
4458 | } | ||
4459 | return current; | ||
4460 | } | ||
4461 | // $ANTLR end "ruleDouble" | ||
4462 | |||
3411 | // Delegated rules | 4463 | // Delegated rules |
3412 | 4464 | ||
3413 | 4465 | ||
@@ -3415,35 +4467,38 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3415 | 4467 | ||
3416 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); | 4468 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); |
3417 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); | 4469 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); |
3418 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); | 4470 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000060L}); |
3419 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000000200E002L}); | 4471 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000001001C002L}); |
3420 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000000200C002L}); | 4472 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000010018002L}); |
3421 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000002008002L}); | 4473 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010010002L}); |
3422 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000002002L}); | 4474 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000004002L}); |
3423 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000010000L}); | 4475 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020000L}); |
3424 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000E0010L}); | 4476 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000001C0060L}); |
3425 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000002010L}); | 4477 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004060L}); |
3426 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000002000L}); | 4478 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000004000L}); |
3427 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000080010L}); | 4479 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000100060L}); |
3428 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000100002L}); | 4480 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200002L}); |
3429 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000200000L}); | 4481 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L}); |
3430 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400000L}); | 4482 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L}); |
3431 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000020L}); | 4483 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000090L}); |
3432 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); | 4484 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L}); |
3433 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000012L}); | 4485 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000062L}); |
3434 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000001000000L}); | 4486 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L}); |
3435 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x000000000C080000L}); | 4487 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000010L}); |
3436 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000008000000L}); | 4488 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000008000020L}); |
3437 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000010000000L}); | 4489 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000060100000L}); |
3438 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000060000000L}); | 4490 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L}); |
3439 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001000010002L}); | 4491 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080000000L}); |
3440 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000010002L}); | 4492 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000300000000L}); |
3441 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000080080010L}); | 4493 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000008000020002L}); |
3442 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000100000000L}); | 4494 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000020002L}); |
3443 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000600000000L}); | 4495 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400100060L}); |
3444 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000080000010L}); | 4496 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000800000000L}); |
3445 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800000000L}); | 4497 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L}); |
3446 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800000002L}); | 4498 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L}); |
3447 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000002000000000L}); | 4499 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); |
4500 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000042L}); | ||
4501 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000004000000002L}); | ||
4502 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L}); | ||
3448 | 4503 | ||
3449 | } | 4504 | } |
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 index 18682f69..835bb8cc 100644 --- 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 | |||
@@ -4,22 +4,27 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; | 4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; |
5 | 5 | ||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; |
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; |
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | 11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; |
15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; | 12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; |
16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; | ||
17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; | 13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; |
18 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | 14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; |
19 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; | 15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; |
20 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate; | ||
21 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | 16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; |
22 | import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; | 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.IntputEvent; | ||
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; | ||
23 | import java.util.Set; | 28 | import java.util.Set; |
24 | import org.eclipse.emf.ecore.EObject; | 29 | import org.eclipse.emf.ecore.EObject; |
25 | import org.eclipse.emf.ecore.EPackage; | 30 | import org.eclipse.emf.ecore.EPackage; |
@@ -43,23 +48,35 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
43 | ParserRule rule = context.getParserRule(); | 48 | ParserRule rule = context.getParserRule(); |
44 | Action action = context.getAssignedAction(); | 49 | Action action = context.getAssignedAction(); |
45 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); | 50 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); |
46 | if (epackage == CftLanguagePackage.eINSTANCE) | 51 | if (epackage == CftPackage.eINSTANCE) |
47 | switch (semanticObject.eClass().getClassifierID()) { | 52 | switch (semanticObject.eClass().getClassifierID()) { |
48 | case CftLanguagePackage.AND_GATE: | 53 | case CftPackage.AND_GATE_DEFINITION: |
49 | sequence_AndGate(context, (AndGate) semanticObject); | 54 | sequence_AndGateDefinition(context, (AndGateDefinition) semanticObject); |
50 | return; | 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.INTPUT_EVENT: | ||
63 | sequence_InputEvent(context, (IntputEvent) 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()) { | ||
51 | case CftLanguagePackage.ASSIGNMENT: | 74 | case CftLanguagePackage.ASSIGNMENT: |
52 | sequence_Assignment(context, (Assignment) semanticObject); | 75 | sequence_Assignment(context, (Assignment) semanticObject); |
53 | return; | 76 | return; |
54 | case CftLanguagePackage.BASIC_EVENT_DEFINITION: | ||
55 | sequence_BasicEventDefinition(context, (BasicEventDefinition) semanticObject); | ||
56 | return; | ||
57 | case CftLanguagePackage.CFT_MODEL: | 77 | case CftLanguagePackage.CFT_MODEL: |
58 | sequence_CftModel(context, (CftModel) semanticObject); | 78 | sequence_CftModel(context, (CftModel) semanticObject); |
59 | return; | 79 | return; |
60 | case CftLanguagePackage.COMPONENT_DEFINITION: | ||
61 | sequence_ComponentDefinition(context, (ComponentDefinition) semanticObject); | ||
62 | return; | ||
63 | case CftLanguagePackage.COMPONENT_INSTANCE: | 80 | case CftLanguagePackage.COMPONENT_INSTANCE: |
64 | sequence_ComponentInstance(context, (ComponentInstance) semanticObject); | 81 | sequence_ComponentInstance(context, (ComponentInstance) semanticObject); |
65 | return; | 82 | return; |
@@ -69,9 +86,6 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
69 | case CftLanguagePackage.IMPORT_DECLARATION: | 86 | case CftLanguagePackage.IMPORT_DECLARATION: |
70 | sequence_ImportDeclaration(context, (ImportDeclaration) semanticObject); | 87 | sequence_ImportDeclaration(context, (ImportDeclaration) semanticObject); |
71 | return; | 88 | return; |
72 | case CftLanguagePackage.INPUT_EVENT: | ||
73 | sequence_InputEvent(context, (InputEvent) semanticObject); | ||
74 | return; | ||
75 | case CftLanguagePackage.LOOKUP_DEFINITION: | 89 | case CftLanguagePackage.LOOKUP_DEFINITION: |
76 | sequence_LookupDefinition(context, (LookupDefinition) semanticObject); | 90 | sequence_LookupDefinition(context, (LookupDefinition) semanticObject); |
77 | return; | 91 | return; |
@@ -81,28 +95,33 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
81 | case CftLanguagePackage.MAPPING_PARAMETER: | 95 | case CftLanguagePackage.MAPPING_PARAMETER: |
82 | sequence_MappingParameter(context, (MappingParameter) semanticObject); | 96 | sequence_MappingParameter(context, (MappingParameter) semanticObject); |
83 | return; | 97 | return; |
84 | case CftLanguagePackage.OR_GATE: | ||
85 | sequence_OrGate(context, (OrGate) semanticObject); | ||
86 | return; | ||
87 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: | 98 | case CftLanguagePackage.TRANSFORMATION_DEFINITION: |
88 | sequence_TransformationDefinition(context, (TransformationDefinition) semanticObject); | 99 | sequence_TransformationDefinition(context, (TransformationDefinition) semanticObject); |
89 | return; | 100 | return; |
90 | } | 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 | } | ||
91 | if (errorAcceptor != null) | 111 | if (errorAcceptor != null) |
92 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); | 112 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); |
93 | } | 113 | } |
94 | 114 | ||
95 | /** | 115 | /** |
96 | * Contexts: | 116 | * Contexts: |
97 | * EventDeclaration returns AndGate | 117 | * EventDefinition returns AndGateDefinition |
98 | * EventDefinition returns AndGate | 118 | * GateDefinition returns AndGateDefinition |
99 | * GateDefinition returns AndGate | 119 | * AndGateDefinition returns AndGateDefinition |
100 | * AndGate returns AndGate | ||
101 | * | 120 | * |
102 | * Constraint: | 121 | * Constraint: |
103 | * (name=ID inputEvents+=[EventDeclaration|ID]*) | 122 | * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) |
104 | */ | 123 | */ |
105 | protected void sequence_AndGate(ISerializationContext context, AndGate semanticObject) { | 124 | protected void sequence_AndGateDefinition(ISerializationContext context, AndGateDefinition semanticObject) { |
106 | genericSequencer.createSequence(context, semanticObject); | 125 | genericSequencer.createSequence(context, semanticObject); |
107 | } | 126 | } |
108 | 127 | ||
@@ -121,23 +140,22 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
121 | 140 | ||
122 | /** | 141 | /** |
123 | * Contexts: | 142 | * Contexts: |
124 | * EventDeclaration returns BasicEventDefinition | ||
125 | * EventDefinition returns BasicEventDefinition | 143 | * EventDefinition returns BasicEventDefinition |
126 | * BasicEventDefinition returns BasicEventDefinition | 144 | * BasicEventDefinition returns BasicEventDefinition |
127 | * | 145 | * |
128 | * Constraint: | 146 | * Constraint: |
129 | * (name=ID rate=DOULBE) | 147 | * (name=ValidId distribution=Distribution) |
130 | */ | 148 | */ |
131 | protected void sequence_BasicEventDefinition(ISerializationContext context, BasicEventDefinition semanticObject) { | 149 | protected void sequence_BasicEventDefinition(ISerializationContext context, BasicEventDefinition semanticObject) { |
132 | if (errorAcceptor != null) { | 150 | if (errorAcceptor != null) { |
133 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_DECLARATION__NAME) == ValueTransient.YES) | 151 | if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME) == ValueTransient.YES) |
134 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_DECLARATION__NAME)); | 152 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME)); |
135 | if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.BASIC_EVENT_DEFINITION__RATE) == ValueTransient.YES) | 153 | if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION) == ValueTransient.YES) |
136 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.BASIC_EVENT_DEFINITION__RATE)); | 154 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION)); |
137 | } | 155 | } |
138 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 156 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
139 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getNameIDTerminalRuleCall_0_0(), semanticObject.getName()); | 157 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0(), semanticObject.getName()); |
140 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getRateDOULBETerminalRuleCall_3_0(), semanticObject.getRate()); | 158 | feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0(), semanticObject.getDistribution()); |
141 | feeder.finish(); | 159 | feeder.finish(); |
142 | } | 160 | } |
143 | 161 | ||
@@ -163,7 +181,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
163 | * ComponentDefinition returns ComponentDefinition | 181 | * ComponentDefinition returns ComponentDefinition |
164 | * | 182 | * |
165 | * Constraint: | 183 | * Constraint: |
166 | * (name=ID (inputEvents+=InputEvent | outputEvents+=[EventDeclaration|ID])* eventDefinitions+=EventDefinition*) | 184 | * (name=ValidId (inputEvents+=InputEvent | outputEvents+=[EventDeclaration|ValidId])* eventDefinitions+=EventDefinition*) |
167 | */ | 185 | */ |
168 | protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) { | 186 | protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) { |
169 | genericSequencer.createSequence(context, semanticObject); | 187 | genericSequencer.createSequence(context, semanticObject); |
@@ -185,10 +203,29 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
185 | 203 | ||
186 | /** | 204 | /** |
187 | * Contexts: | 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: | ||
188 | * EventReference returns EventReference | 225 | * EventReference returns EventReference |
189 | * | 226 | * |
190 | * Constraint: | 227 | * Constraint: |
191 | * (component=[Variable|ID] event=[EventDeclaration|ID]) | 228 | * (component=[Variable|ValidId] event=[EventDeclaration|ValidId]) |
192 | */ | 229 | */ |
193 | protected void sequence_EventReference(ISerializationContext context, EventReference semanticObject) { | 230 | protected void sequence_EventReference(ISerializationContext context, EventReference semanticObject) { |
194 | if (errorAcceptor != null) { | 231 | if (errorAcceptor != null) { |
@@ -198,8 +235,27 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
198 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)); | 235 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)); |
199 | } | 236 | } |
200 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 237 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
201 | feeder.accept(grammarAccess.getEventReferenceAccess().getComponentVariableIDTerminalRuleCall_0_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT, false)); | 238 | feeder.accept(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT, false)); |
202 | feeder.accept(grammarAccess.getEventReferenceAccess().getEventEventDeclarationIDTerminalRuleCall_2_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT, 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()); | ||
203 | feeder.finish(); | 259 | feeder.finish(); |
204 | } | 260 | } |
205 | 261 | ||
@@ -224,13 +280,26 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
224 | 280 | ||
225 | /** | 281 | /** |
226 | * Contexts: | 282 | * Contexts: |
227 | * EventDeclaration returns InputEvent | 283 | * InputEvent returns IntputEvent |
228 | * InputEvent returns InputEvent | 284 | * |
285 | * Constraint: | ||
286 | * (name=ValidId multiple?='[]'?) | ||
287 | */ | ||
288 | protected void sequence_InputEvent(ISerializationContext context, IntputEvent semanticObject) { | ||
289 | genericSequencer.createSequence(context, semanticObject); | ||
290 | } | ||
291 | |||
292 | |||
293 | /** | ||
294 | * Contexts: | ||
295 | * EventDefinition returns KOfMGateDefinition | ||
296 | * GateDefinition returns KOfMGateDefinition | ||
297 | * KOfMGateDefinition returns KOfMGateDefinition | ||
229 | * | 298 | * |
230 | * Constraint: | 299 | * Constraint: |
231 | * (name=ID multiple?='[]'?) | 300 | * (name=ValidId k=INT (m=INT | m=OF_INT) inputEvents+=[EventDeclaration|ValidId]*) |
232 | */ | 301 | */ |
233 | protected void sequence_InputEvent(ISerializationContext context, InputEvent semanticObject) { | 302 | protected void sequence_KOfMGateDefinition(ISerializationContext context, KOfMGateDefinition semanticObject) { |
234 | genericSequencer.createSequence(context, semanticObject); | 303 | genericSequencer.createSequence(context, semanticObject); |
235 | } | 304 | } |
236 | 305 | ||
@@ -241,7 +310,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
241 | * Variable returns LookupDefinition | 310 | * Variable returns LookupDefinition |
242 | * | 311 | * |
243 | * Constraint: | 312 | * Constraint: |
244 | * (mapping=[MappingDefinition|ID] arguments+=[MappingParameter|ID] arguments+=[MappingParameter|ID]* name=ID) | 313 | * (mapping=[MappingDefinition|QualifiedName] arguments+=[MappingParameter|ValidId] arguments+=[MappingParameter|ValidId]* name=ValidId) |
245 | */ | 314 | */ |
246 | protected void sequence_LookupDefinition(ISerializationContext context, LookupDefinition semanticObject) { | 315 | protected void sequence_LookupDefinition(ISerializationContext context, LookupDefinition semanticObject) { |
247 | genericSequencer.createSequence(context, semanticObject); | 316 | genericSequencer.createSequence(context, semanticObject); |
@@ -272,7 +341,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
272 | * MappingParameter returns MappingParameter | 341 | * MappingParameter returns MappingParameter |
273 | * | 342 | * |
274 | * Constraint: | 343 | * Constraint: |
275 | * name=ID | 344 | * name=ValidId |
276 | */ | 345 | */ |
277 | protected void sequence_MappingParameter(ISerializationContext context, MappingParameter semanticObject) { | 346 | protected void sequence_MappingParameter(ISerializationContext context, MappingParameter semanticObject) { |
278 | if (errorAcceptor != null) { | 347 | if (errorAcceptor != null) { |
@@ -280,22 +349,21 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
280 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME)); | 349 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME)); |
281 | } | 350 | } |
282 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | 351 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); |
283 | feeder.accept(grammarAccess.getMappingParameterAccess().getNameIDTerminalRuleCall_0(), semanticObject.getName()); | 352 | feeder.accept(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0(), semanticObject.getName()); |
284 | feeder.finish(); | 353 | feeder.finish(); |
285 | } | 354 | } |
286 | 355 | ||
287 | 356 | ||
288 | /** | 357 | /** |
289 | * Contexts: | 358 | * Contexts: |
290 | * EventDeclaration returns OrGate | 359 | * EventDefinition returns OrGateDefinition |
291 | * EventDefinition returns OrGate | 360 | * GateDefinition returns OrGateDefinition |
292 | * GateDefinition returns OrGate | 361 | * OrGateDefinition returns OrGateDefinition |
293 | * OrGate returns OrGate | ||
294 | * | 362 | * |
295 | * Constraint: | 363 | * Constraint: |
296 | * (name=ID inputEvents+=[EventDeclaration|ID]*) | 364 | * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) |
297 | */ | 365 | */ |
298 | protected void sequence_OrGate(ISerializationContext context, OrGate semanticObject) { | 366 | protected void sequence_OrGateDefinition(ISerializationContext context, OrGateDefinition semanticObject) { |
299 | genericSequencer.createSequence(context, semanticObject); | 367 | genericSequencer.createSequence(context, semanticObject); |
300 | } | 368 | } |
301 | 369 | ||
@@ -305,7 +373,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
305 | * TransformationDefinition returns TransformationDefinition | 373 | * TransformationDefinition returns TransformationDefinition |
306 | * | 374 | * |
307 | * Constraint: | 375 | * Constraint: |
308 | * (name=ID mappingDefinitions+=MappingDefinition*) | 376 | * (name=ValidId mappingDefinitions+=MappingDefinition*) |
309 | */ | 377 | */ |
310 | protected void sequence_TransformationDefinition(ISerializationContext context, TransformationDefinition semanticObject) { | 378 | protected void sequence_TransformationDefinition(ISerializationContext context, TransformationDefinition semanticObject) { |
311 | genericSequencer.createSequence(context, semanticObject); | 379 | genericSequencer.createSequence(context, semanticObject); |
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 index 65b39fb2..62a80a00 100644 --- 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 | |||
@@ -123,10 +123,10 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
123 | * ('in' ';')* | 123 | * ('in' ';')* |
124 | * | 124 | * |
125 | * This ambiguous syntax occurs at: | 125 | * This ambiguous syntax occurs at: |
126 | * inputEvents+=InputEvent ';' (ambiguity) (('out' ';')? ('out' ';' 'in' ';')?)+ 'out' outputEvents+=[EventDeclaration|ID] | 126 | * inputEvents+=InputEvent ';' (ambiguity) (('out' ';')? ('out' ';' 'in' ';')?)+ 'out' outputEvents+=[EventDeclaration|ValidId] |
127 | * name=ID '{' (ambiguity) 'out' (';' (ambiguity) 'out')* outputEvents+=[EventDeclaration|ID] | 127 | * name=ValidId '{' (ambiguity) 'out' (';' (ambiguity) 'out')* outputEvents+=[EventDeclaration|ValidId] |
128 | * outputEvents+=[EventDeclaration|ID] ';' (ambiguity) ('out' ';' (ambiguity))* '}' (rule end) | 128 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* '}' (rule end) |
129 | * outputEvents+=[EventDeclaration|ID] ';' (ambiguity) ('out' ';' (ambiguity))* eventDefinitions+=EventDefinition | 129 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* eventDefinitions+=EventDefinition |
130 | */ | 130 | */ |
131 | protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | 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); | 132 | acceptNodes(transition, nodes); |
@@ -137,8 +137,8 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
137 | * ('out' ';' ('in' ';')*)* | 137 | * ('out' ';' ('in' ';')*)* |
138 | * | 138 | * |
139 | * This ambiguous syntax occurs at: | 139 | * This ambiguous syntax occurs at: |
140 | * outputEvents+=[EventDeclaration|ID] ';' ('in' ';')* (ambiguity) '}' (rule end) | 140 | * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) '}' (rule end) |
141 | * outputEvents+=[EventDeclaration|ID] ';' ('in' ';')* (ambiguity) eventDefinitions+=EventDefinition | 141 | * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) eventDefinitions+=EventDefinition |
142 | */ | 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) { | 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); | 144 | acceptNodes(transition, nodes); |
@@ -151,8 +151,8 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
151 | * This ambiguous syntax occurs at: | 151 | * This ambiguous syntax occurs at: |
152 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* '}' (rule end) | 152 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* '}' (rule end) |
153 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* eventDefinitions+=EventDefinition | 153 | * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* eventDefinitions+=EventDefinition |
154 | * name=ID '{' (ambiguity) 'in' (';' (ambiguity) 'in')* inputEvents+=InputEvent | 154 | * name=ValidId '{' (ambiguity) 'in' (';' (ambiguity) 'in')* inputEvents+=InputEvent |
155 | * outputEvents+=[EventDeclaration|ID] ';' (ambiguity) (('in' ';')? ('in' ';' 'out' ';')?)+ 'in' inputEvents+=InputEvent | 155 | * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) (('in' ';')? ('in' ';' 'out' ';')?)+ 'in' inputEvents+=InputEvent |
156 | */ | 156 | */ |
157 | protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | 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); | 158 | acceptNodes(transition, nodes); |
@@ -164,7 +164,7 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
164 | * | 164 | * |
165 | * This ambiguous syntax occurs at: | 165 | * This ambiguous syntax occurs at: |
166 | * inputEvents+=InputEvent (ambiguity) inputEvents+=InputEvent | 166 | * inputEvents+=InputEvent (ambiguity) inputEvents+=InputEvent |
167 | * name=ID '{' ('out' ';')* 'in' (ambiguity) inputEvents+=InputEvent | 167 | * name=ValidId '{' ('out' ';')* 'in' (ambiguity) inputEvents+=InputEvent |
168 | */ | 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) { | 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); | 170 | acceptNodes(transition, nodes); |
@@ -175,8 +175,8 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
175 | * (';' ('in' ';')* 'out')* | 175 | * (';' ('in' ';')* 'out')* |
176 | * | 176 | * |
177 | * This ambiguous syntax occurs at: | 177 | * This ambiguous syntax occurs at: |
178 | * name=ID '{' ('in' ';')* 'out' (ambiguity) outputEvents+=[EventDeclaration|ID] | 178 | * name=ValidId '{' ('in' ';')* 'out' (ambiguity) outputEvents+=[EventDeclaration|ValidId] |
179 | * outputEvents+=[EventDeclaration|ID] (ambiguity) outputEvents+=[EventDeclaration|ID] | 179 | * outputEvents+=[EventDeclaration|ValidId] (ambiguity) outputEvents+=[EventDeclaration|ValidId] |
180 | */ | 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) { | 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); | 182 | acceptNodes(transition, nodes); |
@@ -187,8 +187,8 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
187 | * (('in' ';') | ('out' ';'))* | 187 | * (('in' ';') | ('out' ';'))* |
188 | * | 188 | * |
189 | * This ambiguous syntax occurs at: | 189 | * This ambiguous syntax occurs at: |
190 | * name=ID '{' (ambiguity) '}' (rule end) | 190 | * name=ValidId '{' (ambiguity) '}' (rule end) |
191 | * name=ID '{' (ambiguity) eventDefinitions+=EventDefinition | 191 | * name=ValidId '{' (ambiguity) eventDefinitions+=EventDefinition |
192 | */ | 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) { | 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); | 194 | acceptNodes(transition, nodes); |
@@ -199,7 +199,7 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
199 | * (('in' ';')? ('in' ';' 'out' ';')?)+ | 199 | * (('in' ';')? ('in' ';' 'out' ';')?)+ |
200 | * | 200 | * |
201 | * This ambiguous syntax occurs at: | 201 | * This ambiguous syntax occurs at: |
202 | * outputEvents+=[EventDeclaration|ID] ';' ('out' ';')* (ambiguity) 'in' inputEvents+=InputEvent | 202 | * outputEvents+=[EventDeclaration|ValidId] ';' ('out' ';')* (ambiguity) 'in' inputEvents+=InputEvent |
203 | */ | 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) { | 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); | 205 | acceptNodes(transition, nodes); |
@@ -210,7 +210,7 @@ public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | |||
210 | * (('out' ';')? ('out' ';' 'in' ';')?)+ | 210 | * (('out' ';')? ('out' ';' 'in' ';')?)+ |
211 | * | 211 | * |
212 | * This ambiguous syntax occurs at: | 212 | * This ambiguous syntax occurs at: |
213 | * inputEvents+=InputEvent ';' ('in' ';')* (ambiguity) 'out' outputEvents+=[EventDeclaration|ID] | 213 | * inputEvents+=InputEvent ';' ('in' ';')* (ambiguity) 'out' outputEvents+=[EventDeclaration|ValidId] |
214 | */ | 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) { | 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); | 216 | acceptNodes(transition, nodes); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java index 1ca0cf8e..69f00bb3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java | |||
@@ -114,7 +114,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
114 | private final Group cGroup = (Group)rule.eContents().get(1); | 114 | private final Group cGroup = (Group)rule.eContents().get(1); |
115 | private final Keyword cCftKeyword_0 = (Keyword)cGroup.eContents().get(0); | 115 | private final Keyword cCftKeyword_0 = (Keyword)cGroup.eContents().get(0); |
116 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | 116 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
117 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | 117 | private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
118 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | 118 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
119 | private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); | 119 | private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); |
120 | private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); | 120 | private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); |
@@ -126,7 +126,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
126 | private final Keyword cOutKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); | 126 | private final Keyword cOutKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); |
127 | private final Assignment cOutputEventsAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); | 127 | private final Assignment cOutputEventsAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); |
128 | private final CrossReference cOutputEventsEventDeclarationCrossReference_3_1_1_0 = (CrossReference)cOutputEventsAssignment_3_1_1.eContents().get(0); | 128 | private final CrossReference cOutputEventsEventDeclarationCrossReference_3_1_1_0 = (CrossReference)cOutputEventsAssignment_3_1_1.eContents().get(0); |
129 | private final RuleCall cOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1 = (RuleCall)cOutputEventsEventDeclarationCrossReference_3_1_1_0.eContents().get(1); | 129 | private final RuleCall cOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1 = (RuleCall)cOutputEventsEventDeclarationCrossReference_3_1_1_0.eContents().get(1); |
130 | private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); | 130 | private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); |
131 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | 131 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
132 | private final Assignment cEventDefinitionsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); | 132 | private final Assignment cEventDefinitionsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); |
@@ -134,29 +134,29 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
134 | private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); | 134 | private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); |
135 | private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | 135 | private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); |
136 | 136 | ||
137 | //ComponentDefinition: | 137 | //ComponentDefinition cft::ComponentDefinition: |
138 | // "cft" name=ID "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[EventDeclaration]* ";")?) | 138 | // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* |
139 | // (eventDefinitions+=EventDefinition ";")* | 139 | // ";")?) (eventDefinitions+=EventDefinition ";")* |
140 | // "}"; | 140 | // "}"; |
141 | @Override public ParserRule getRule() { return rule; } | 141 | @Override public ParserRule getRule() { return rule; } |
142 | 142 | ||
143 | //"cft" name=ID "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[EventDeclaration]* ";")?) | 143 | //"cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* |
144 | //(eventDefinitions+=EventDefinition ";")* "}" | 144 | //";")?) (eventDefinitions+=EventDefinition ";")* "}" |
145 | public Group getGroup() { return cGroup; } | 145 | public Group getGroup() { return cGroup; } |
146 | 146 | ||
147 | //"cft" | 147 | //"cft" |
148 | public Keyword getCftKeyword_0() { return cCftKeyword_0; } | 148 | public Keyword getCftKeyword_0() { return cCftKeyword_0; } |
149 | 149 | ||
150 | //name=ID | 150 | //name=ValidId |
151 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | 151 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
152 | 152 | ||
153 | //ID | 153 | //ValidId |
154 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | 154 | public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; } |
155 | 155 | ||
156 | //"{" | 156 | //"{" |
157 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | 157 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
158 | 158 | ||
159 | //("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[EventDeclaration]* ";")? | 159 | //("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")? |
160 | public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } | 160 | public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } |
161 | 161 | ||
162 | //("in" inputEvents+=InputEvent* ";")? | 162 | //("in" inputEvents+=InputEvent* ";")? |
@@ -174,20 +174,20 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
174 | //";" | 174 | //";" |
175 | public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } | 175 | public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } |
176 | 176 | ||
177 | //("out" outputEvents+=[EventDeclaration]* ";")? | 177 | //("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")? |
178 | public Group getGroup_3_1() { return cGroup_3_1; } | 178 | public Group getGroup_3_1() { return cGroup_3_1; } |
179 | 179 | ||
180 | //"out" | 180 | //"out" |
181 | public Keyword getOutKeyword_3_1_0() { return cOutKeyword_3_1_0; } | 181 | public Keyword getOutKeyword_3_1_0() { return cOutKeyword_3_1_0; } |
182 | 182 | ||
183 | //outputEvents+=[EventDeclaration]* | 183 | //outputEvents+=[cft::EventDeclaration|ValidId]* |
184 | public Assignment getOutputEventsAssignment_3_1_1() { return cOutputEventsAssignment_3_1_1; } | 184 | public Assignment getOutputEventsAssignment_3_1_1() { return cOutputEventsAssignment_3_1_1; } |
185 | 185 | ||
186 | //[EventDeclaration] | 186 | //[cft::EventDeclaration|ValidId] |
187 | public CrossReference getOutputEventsEventDeclarationCrossReference_3_1_1_0() { return cOutputEventsEventDeclarationCrossReference_3_1_1_0; } | 187 | public CrossReference getOutputEventsEventDeclarationCrossReference_3_1_1_0() { return cOutputEventsEventDeclarationCrossReference_3_1_1_0; } |
188 | 188 | ||
189 | //ID | 189 | //ValidId |
190 | public RuleCall getOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1() { return cOutputEventsEventDeclarationIDTerminalRuleCall_3_1_1_0_1; } | 190 | public RuleCall getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1() { return cOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1; } |
191 | 191 | ||
192 | //";" | 192 | //";" |
193 | public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } | 193 | public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } |
@@ -207,45 +207,26 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
207 | //"}" | 207 | //"}" |
208 | public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } | 208 | public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } |
209 | } | 209 | } |
210 | public class EventDeclarationElements extends AbstractParserRuleElementFinder { | ||
211 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDeclaration"); | ||
212 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
213 | private final RuleCall cInputEventParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
214 | private final RuleCall cEventDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
215 | |||
216 | //EventDeclaration: | ||
217 | // InputEvent | EventDefinition; | ||
218 | @Override public ParserRule getRule() { return rule; } | ||
219 | |||
220 | //InputEvent | EventDefinition | ||
221 | public Alternatives getAlternatives() { return cAlternatives; } | ||
222 | |||
223 | //InputEvent | ||
224 | public RuleCall getInputEventParserRuleCall_0() { return cInputEventParserRuleCall_0; } | ||
225 | |||
226 | //EventDefinition | ||
227 | public RuleCall getEventDefinitionParserRuleCall_1() { return cEventDefinitionParserRuleCall_1; } | ||
228 | } | ||
229 | public class InputEventElements extends AbstractParserRuleElementFinder { | 210 | public class InputEventElements extends AbstractParserRuleElementFinder { |
230 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent"); | 211 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent"); |
231 | private final Group cGroup = (Group)rule.eContents().get(1); | 212 | private final Group cGroup = (Group)rule.eContents().get(1); |
232 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | 213 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
233 | private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | 214 | private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); |
234 | private final Assignment cMultipleAssignment_1 = (Assignment)cGroup.eContents().get(1); | 215 | private final Assignment cMultipleAssignment_1 = (Assignment)cGroup.eContents().get(1); |
235 | private final Keyword cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0 = (Keyword)cMultipleAssignment_1.eContents().get(0); | 216 | private final Keyword cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0 = (Keyword)cMultipleAssignment_1.eContents().get(0); |
236 | 217 | ||
237 | //InputEvent: | 218 | //InputEvent cft::IntputEvent: |
238 | // name=ID multiple?="[]"?; | 219 | // name=ValidId multiple?="[]"?; |
239 | @Override public ParserRule getRule() { return rule; } | 220 | @Override public ParserRule getRule() { return rule; } |
240 | 221 | ||
241 | //name=ID multiple?="[]"? | 222 | //name=ValidId multiple?="[]"? |
242 | public Group getGroup() { return cGroup; } | 223 | public Group getGroup() { return cGroup; } |
243 | 224 | ||
244 | //name=ID | 225 | //name=ValidId |
245 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | 226 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } |
246 | 227 | ||
247 | //ID | 228 | //ValidId |
248 | public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } | 229 | public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } |
249 | 230 | ||
250 | //multiple?="[]"? | 231 | //multiple?="[]"? |
251 | public Assignment getMultipleAssignment_1() { return cMultipleAssignment_1; } | 232 | public Assignment getMultipleAssignment_1() { return cMultipleAssignment_1; } |
@@ -259,7 +240,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
259 | private final RuleCall cBasicEventDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | 240 | private final RuleCall cBasicEventDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
260 | private final RuleCall cGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | 241 | private final RuleCall cGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
261 | 242 | ||
262 | //EventDefinition: | 243 | //EventDefinition cft::EventDefinition: |
263 | // BasicEventDefinition | GateDefinition; | 244 | // BasicEventDefinition | GateDefinition; |
264 | @Override public ParserRule getRule() { return rule; } | 245 | @Override public ParserRule getRule() { return rule; } |
265 | 246 | ||
@@ -276,154 +257,290 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
276 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.BasicEventDefinition"); | 257 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.BasicEventDefinition"); |
277 | private final Group cGroup = (Group)rule.eContents().get(1); | 258 | private final Group cGroup = (Group)rule.eContents().get(1); |
278 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | 259 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
279 | private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | 260 | private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); |
280 | private final Keyword cLambdaKeyword_1 = (Keyword)cGroup.eContents().get(1); | 261 | private final Assignment cDistributionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
281 | private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); | 262 | private final RuleCall cDistributionDistributionParserRuleCall_1_0 = (RuleCall)cDistributionAssignment_1.eContents().get(0); |
282 | private final Assignment cRateAssignment_3 = (Assignment)cGroup.eContents().get(3); | 263 | |
283 | private final RuleCall cRateDOULBETerminalRuleCall_3_0 = (RuleCall)cRateAssignment_3.eContents().get(0); | 264 | //BasicEventDefinition cft::BasicEventDefinition: |
284 | 265 | // name=ValidId distribution=Distribution; | |
285 | //BasicEventDefinition: | ||
286 | // name=ID "lambda" "=" rate=DOULBE; | ||
287 | @Override public ParserRule getRule() { return rule; } | 266 | @Override public ParserRule getRule() { return rule; } |
288 | 267 | ||
289 | //name=ID "lambda" "=" rate=DOULBE | 268 | //name=ValidId distribution=Distribution |
290 | public Group getGroup() { return cGroup; } | 269 | public Group getGroup() { return cGroup; } |
291 | 270 | ||
292 | //name=ID | 271 | //name=ValidId |
293 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | 272 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } |
294 | 273 | ||
295 | //ID | 274 | //ValidId |
296 | public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } | 275 | public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } |
276 | |||
277 | //distribution=Distribution | ||
278 | public Assignment getDistributionAssignment_1() { return cDistributionAssignment_1; } | ||
279 | |||
280 | //Distribution | ||
281 | public RuleCall getDistributionDistributionParserRuleCall_1_0() { return cDistributionDistributionParserRuleCall_1_0; } | ||
282 | } | ||
283 | public class DistributionElements extends AbstractParserRuleElementFinder { | ||
284 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); | ||
285 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
286 | private final RuleCall cConstantDistributionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
287 | private final RuleCall cExponentialDistributionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
288 | |||
289 | //Distribution ft::Distribution: | ||
290 | // ConstantDistribution | ExponentialDistribution; | ||
291 | @Override public ParserRule getRule() { return rule; } | ||
292 | |||
293 | //ConstantDistribution | ExponentialDistribution | ||
294 | public Alternatives getAlternatives() { return cAlternatives; } | ||
295 | |||
296 | //ConstantDistribution | ||
297 | public RuleCall getConstantDistributionParserRuleCall_0() { return cConstantDistributionParserRuleCall_0; } | ||
298 | |||
299 | //ExponentialDistribution | ||
300 | public RuleCall getExponentialDistributionParserRuleCall_1() { return cExponentialDistributionParserRuleCall_1; } | ||
301 | } | ||
302 | public class ConstantDistributionElements extends AbstractParserRuleElementFinder { | ||
303 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ConstantDistribution"); | ||
304 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
305 | private final Keyword cPKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
306 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
307 | private final Assignment cPAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
308 | private final RuleCall cPDoubleParserRuleCall_2_0 = (RuleCall)cPAssignment_2.eContents().get(0); | ||
309 | |||
310 | //ConstantDistribution ft::ConstantDistribution: | ||
311 | // "p" "=" p=Double; | ||
312 | @Override public ParserRule getRule() { return rule; } | ||
313 | |||
314 | //"p" "=" p=Double | ||
315 | public Group getGroup() { return cGroup; } | ||
316 | |||
317 | //"p" | ||
318 | public Keyword getPKeyword_0() { return cPKeyword_0; } | ||
319 | |||
320 | //"=" | ||
321 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | ||
322 | |||
323 | //p=Double | ||
324 | public Assignment getPAssignment_2() { return cPAssignment_2; } | ||
325 | |||
326 | //Double | ||
327 | public RuleCall getPDoubleParserRuleCall_2_0() { return cPDoubleParserRuleCall_2_0; } | ||
328 | } | ||
329 | public class ExponentialDistributionElements extends AbstractParserRuleElementFinder { | ||
330 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ExponentialDistribution"); | ||
331 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
332 | private final Keyword cLambdaKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
333 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
334 | private final Assignment cLambdaAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
335 | private final RuleCall cLambdaDoubleParserRuleCall_2_0 = (RuleCall)cLambdaAssignment_2.eContents().get(0); | ||
336 | |||
337 | //ExponentialDistribution ft::ExponentialDistribution: | ||
338 | // "lambda" "=" lambda=Double; | ||
339 | @Override public ParserRule getRule() { return rule; } | ||
340 | |||
341 | //"lambda" "=" lambda=Double | ||
342 | public Group getGroup() { return cGroup; } | ||
297 | 343 | ||
298 | //"lambda" | 344 | //"lambda" |
299 | public Keyword getLambdaKeyword_1() { return cLambdaKeyword_1; } | 345 | public Keyword getLambdaKeyword_0() { return cLambdaKeyword_0; } |
300 | 346 | ||
301 | //"=" | 347 | //"=" |
302 | public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } | 348 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } |
303 | 349 | ||
304 | //rate=DOULBE | 350 | //lambda=Double |
305 | public Assignment getRateAssignment_3() { return cRateAssignment_3; } | 351 | public Assignment getLambdaAssignment_2() { return cLambdaAssignment_2; } |
306 | 352 | ||
307 | //DOULBE | 353 | //Double |
308 | public RuleCall getRateDOULBETerminalRuleCall_3_0() { return cRateDOULBETerminalRuleCall_3_0; } | 354 | public RuleCall getLambdaDoubleParserRuleCall_2_0() { return cLambdaDoubleParserRuleCall_2_0; } |
309 | } | 355 | } |
310 | public class GateDefinitionElements extends AbstractParserRuleElementFinder { | 356 | public class GateDefinitionElements extends AbstractParserRuleElementFinder { |
311 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.GateDefinition"); | 357 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.GateDefinition"); |
312 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | 358 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
313 | private final RuleCall cAndGateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | 359 | private final RuleCall cAndGateDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
314 | private final RuleCall cOrGateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | 360 | private final RuleCall cOrGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
361 | private final RuleCall cKOfMGateDefinitionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
315 | 362 | ||
316 | //GateDefinition: | 363 | //GateDefinition cft::GateDefinition: |
317 | // AndGate | OrGate; | 364 | // AndGateDefinition | OrGateDefinition | KOfMGateDefinition; |
318 | @Override public ParserRule getRule() { return rule; } | 365 | @Override public ParserRule getRule() { return rule; } |
319 | 366 | ||
320 | //AndGate | OrGate | 367 | //AndGateDefinition | OrGateDefinition | KOfMGateDefinition |
321 | public Alternatives getAlternatives() { return cAlternatives; } | 368 | public Alternatives getAlternatives() { return cAlternatives; } |
322 | 369 | ||
323 | //AndGate | 370 | //AndGateDefinition |
324 | public RuleCall getAndGateParserRuleCall_0() { return cAndGateParserRuleCall_0; } | 371 | public RuleCall getAndGateDefinitionParserRuleCall_0() { return cAndGateDefinitionParserRuleCall_0; } |
325 | 372 | ||
326 | //OrGate | 373 | //OrGateDefinition |
327 | public RuleCall getOrGateParserRuleCall_1() { return cOrGateParserRuleCall_1; } | 374 | public RuleCall getOrGateDefinitionParserRuleCall_1() { return cOrGateDefinitionParserRuleCall_1; } |
375 | |||
376 | //KOfMGateDefinition | ||
377 | public RuleCall getKOfMGateDefinitionParserRuleCall_2() { return cKOfMGateDefinitionParserRuleCall_2; } | ||
328 | } | 378 | } |
329 | public class AndGateElements extends AbstractParserRuleElementFinder { | 379 | public class AndGateDefinitionElements extends AbstractParserRuleElementFinder { |
330 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.AndGate"); | 380 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.AndGateDefinition"); |
331 | private final Group cGroup = (Group)rule.eContents().get(1); | 381 | private final Group cGroup = (Group)rule.eContents().get(1); |
332 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | 382 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
333 | private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | 383 | private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); |
334 | private final Keyword cAndKeyword_1 = (Keyword)cGroup.eContents().get(1); | 384 | private final Keyword cAndKeyword_1 = (Keyword)cGroup.eContents().get(1); |
335 | private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); | 385 | private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
336 | private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); | 386 | private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); |
337 | private final RuleCall cInputEventsEventDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); | 387 | private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); |
338 | 388 | ||
339 | //AndGate: | 389 | //AndGateDefinition cft::AndGateDefinition: |
340 | // name=ID "and" inputEvents+=[EventDeclaration]*; | 390 | // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; |
341 | @Override public ParserRule getRule() { return rule; } | 391 | @Override public ParserRule getRule() { return rule; } |
342 | 392 | ||
343 | //name=ID "and" inputEvents+=[EventDeclaration]* | 393 | //name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]* |
344 | public Group getGroup() { return cGroup; } | 394 | public Group getGroup() { return cGroup; } |
345 | 395 | ||
346 | //name=ID | 396 | //name=ValidId |
347 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | 397 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } |
348 | 398 | ||
349 | //ID | 399 | //ValidId |
350 | public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } | 400 | public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } |
351 | 401 | ||
352 | //"and" | 402 | //"and" |
353 | public Keyword getAndKeyword_1() { return cAndKeyword_1; } | 403 | public Keyword getAndKeyword_1() { return cAndKeyword_1; } |
354 | 404 | ||
355 | //inputEvents+=[EventDeclaration]* | 405 | //inputEvents+=[cft::EventDeclaration|ValidId]* |
356 | public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } | 406 | public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } |
357 | 407 | ||
358 | //[EventDeclaration] | 408 | //[cft::EventDeclaration|ValidId] |
359 | public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } | 409 | public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } |
360 | 410 | ||
361 | //ID | 411 | //ValidId |
362 | public RuleCall getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1() { return cInputEventsEventDeclarationIDTerminalRuleCall_2_0_1; } | 412 | public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1; } |
363 | } | 413 | } |
364 | public class OrGateElements extends AbstractParserRuleElementFinder { | 414 | public class OrGateDefinitionElements extends AbstractParserRuleElementFinder { |
365 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OrGate"); | 415 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OrGateDefinition"); |
366 | private final Group cGroup = (Group)rule.eContents().get(1); | 416 | private final Group cGroup = (Group)rule.eContents().get(1); |
367 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | 417 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
368 | private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | 418 | private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); |
369 | private final Keyword cOrKeyword_1 = (Keyword)cGroup.eContents().get(1); | 419 | private final Keyword cOrKeyword_1 = (Keyword)cGroup.eContents().get(1); |
370 | private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); | 420 | private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
371 | private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); | 421 | private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); |
372 | private final RuleCall cInputEventsEventDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); | 422 | private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); |
373 | 423 | ||
374 | //OrGate: | 424 | //OrGateDefinition cft::OrGateDefinition: |
375 | // name=ID "or" inputEvents+=[EventDeclaration]*; | 425 | // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; |
376 | @Override public ParserRule getRule() { return rule; } | 426 | @Override public ParserRule getRule() { return rule; } |
377 | 427 | ||
378 | //name=ID "or" inputEvents+=[EventDeclaration]* | 428 | //name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]* |
379 | public Group getGroup() { return cGroup; } | 429 | public Group getGroup() { return cGroup; } |
380 | 430 | ||
381 | //name=ID | 431 | //name=ValidId |
382 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | 432 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } |
383 | 433 | ||
384 | //ID | 434 | //ValidId |
385 | public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } | 435 | public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } |
386 | 436 | ||
387 | //"or" | 437 | //"or" |
388 | public Keyword getOrKeyword_1() { return cOrKeyword_1; } | 438 | public Keyword getOrKeyword_1() { return cOrKeyword_1; } |
389 | 439 | ||
390 | //inputEvents+=[EventDeclaration]* | 440 | //inputEvents+=[cft::EventDeclaration|ValidId]* |
391 | public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } | 441 | public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } |
392 | 442 | ||
393 | //[EventDeclaration] | 443 | //[cft::EventDeclaration|ValidId] |
394 | public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } | 444 | public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } |
395 | 445 | ||
396 | //ID | 446 | //ValidId |
397 | public RuleCall getInputEventsEventDeclarationIDTerminalRuleCall_2_0_1() { return cInputEventsEventDeclarationIDTerminalRuleCall_2_0_1; } | 447 | public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1; } |
448 | } | ||
449 | public class KOfMGateDefinitionElements extends AbstractParserRuleElementFinder { | ||
450 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.KOfMGateDefinition"); | ||
451 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
452 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
453 | private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | ||
454 | private final Assignment cKAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
455 | private final RuleCall cKINTTerminalRuleCall_1_0 = (RuleCall)cKAssignment_1.eContents().get(0); | ||
456 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
457 | private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); | ||
458 | private final Keyword cOfKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0); | ||
459 | private final Assignment cMAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1); | ||
460 | private final RuleCall cMINTTerminalRuleCall_2_0_1_0 = (RuleCall)cMAssignment_2_0_1.eContents().get(0); | ||
461 | private final Assignment cMAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
462 | private final RuleCall cMOF_INTTerminalRuleCall_2_1_0 = (RuleCall)cMAssignment_2_1.eContents().get(0); | ||
463 | private final Assignment cInputEventsAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
464 | private final CrossReference cInputEventsEventDeclarationCrossReference_3_0 = (CrossReference)cInputEventsAssignment_3.eContents().get(0); | ||
465 | private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_3_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_3_0.eContents().get(1); | ||
466 | |||
467 | //KOfMGateDefinition cft::KOfMGateDefinition: | ||
468 | // name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; | ||
469 | @Override public ParserRule getRule() { return rule; } | ||
470 | |||
471 | //name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]* | ||
472 | public Group getGroup() { return cGroup; } | ||
473 | |||
474 | //name=ValidId | ||
475 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | ||
476 | |||
477 | //ValidId | ||
478 | public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } | ||
479 | |||
480 | //k=INT | ||
481 | public Assignment getKAssignment_1() { return cKAssignment_1; } | ||
482 | |||
483 | //INT | ||
484 | public RuleCall getKINTTerminalRuleCall_1_0() { return cKINTTerminalRuleCall_1_0; } | ||
485 | |||
486 | //"of" m=INT | m=OF_INT | ||
487 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
488 | |||
489 | //"of" m=INT | ||
490 | public Group getGroup_2_0() { return cGroup_2_0; } | ||
491 | |||
492 | //"of" | ||
493 | public Keyword getOfKeyword_2_0_0() { return cOfKeyword_2_0_0; } | ||
494 | |||
495 | //m=INT | ||
496 | public Assignment getMAssignment_2_0_1() { return cMAssignment_2_0_1; } | ||
497 | |||
498 | //INT | ||
499 | public RuleCall getMINTTerminalRuleCall_2_0_1_0() { return cMINTTerminalRuleCall_2_0_1_0; } | ||
500 | |||
501 | //m=OF_INT | ||
502 | public Assignment getMAssignment_2_1() { return cMAssignment_2_1; } | ||
503 | |||
504 | //OF_INT | ||
505 | public RuleCall getMOF_INTTerminalRuleCall_2_1_0() { return cMOF_INTTerminalRuleCall_2_1_0; } | ||
506 | |||
507 | //inputEvents+=[cft::EventDeclaration|ValidId]* | ||
508 | public Assignment getInputEventsAssignment_3() { return cInputEventsAssignment_3; } | ||
509 | |||
510 | //[cft::EventDeclaration|ValidId] | ||
511 | public CrossReference getInputEventsEventDeclarationCrossReference_3_0() { return cInputEventsEventDeclarationCrossReference_3_0; } | ||
512 | |||
513 | //ValidId | ||
514 | public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_3_0_1; } | ||
398 | } | 515 | } |
399 | public class TransformationDefinitionElements extends AbstractParserRuleElementFinder { | 516 | public class TransformationDefinitionElements extends AbstractParserRuleElementFinder { |
400 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition"); | 517 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition"); |
401 | private final Group cGroup = (Group)rule.eContents().get(1); | 518 | private final Group cGroup = (Group)rule.eContents().get(1); |
402 | private final Keyword cTransformationKeyword_0 = (Keyword)cGroup.eContents().get(0); | 519 | private final Keyword cTransformationKeyword_0 = (Keyword)cGroup.eContents().get(0); |
403 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | 520 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
404 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | 521 | private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
405 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | 522 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
406 | private final Assignment cMappingDefinitionsAssignment_3 = (Assignment)cGroup.eContents().get(3); | 523 | private final Assignment cMappingDefinitionsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
407 | private final RuleCall cMappingDefinitionsMappingDefinitionParserRuleCall_3_0 = (RuleCall)cMappingDefinitionsAssignment_3.eContents().get(0); | 524 | private final RuleCall cMappingDefinitionsMappingDefinitionParserRuleCall_3_0 = (RuleCall)cMappingDefinitionsAssignment_3.eContents().get(0); |
408 | private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); | 525 | private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
409 | 526 | ||
410 | //TransformationDefinition: | 527 | //TransformationDefinition: |
411 | // "transformation" name=ID "{" | 528 | // "transformation" name=ValidId "{" |
412 | // mappingDefinitions+=MappingDefinition* | 529 | // mappingDefinitions+=MappingDefinition* |
413 | // "}"; | 530 | // "}"; |
414 | @Override public ParserRule getRule() { return rule; } | 531 | @Override public ParserRule getRule() { return rule; } |
415 | 532 | ||
416 | //"transformation" name=ID "{" mappingDefinitions+=MappingDefinition* "}" | 533 | //"transformation" name=ValidId "{" mappingDefinitions+=MappingDefinition* "}" |
417 | public Group getGroup() { return cGroup; } | 534 | public Group getGroup() { return cGroup; } |
418 | 535 | ||
419 | //"transformation" | 536 | //"transformation" |
420 | public Keyword getTransformationKeyword_0() { return cTransformationKeyword_0; } | 537 | public Keyword getTransformationKeyword_0() { return cTransformationKeyword_0; } |
421 | 538 | ||
422 | //name=ID | 539 | //name=ValidId |
423 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | 540 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
424 | 541 | ||
425 | //ID | 542 | //ValidId |
426 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | 543 | public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; } |
427 | 544 | ||
428 | //"{" | 545 | //"{" |
429 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | 546 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
@@ -560,17 +677,17 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
560 | public class MappingParameterElements extends AbstractParserRuleElementFinder { | 677 | public class MappingParameterElements extends AbstractParserRuleElementFinder { |
561 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); | 678 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); |
562 | private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); | 679 | private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); |
563 | private final RuleCall cNameIDTerminalRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); | 680 | private final RuleCall cNameValidIdParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); |
564 | 681 | ||
565 | //MappingParameter: | 682 | //MappingParameter: |
566 | // name=ID; | 683 | // name=ValidId; |
567 | @Override public ParserRule getRule() { return rule; } | 684 | @Override public ParserRule getRule() { return rule; } |
568 | 685 | ||
569 | //name=ID | 686 | //name=ValidId |
570 | public Assignment getNameAssignment() { return cNameAssignment; } | 687 | public Assignment getNameAssignment() { return cNameAssignment; } |
571 | 688 | ||
572 | //ID | 689 | //ValidId |
573 | public RuleCall getNameIDTerminalRuleCall_0() { return cNameIDTerminalRuleCall_0; } | 690 | public RuleCall getNameValidIdParserRuleCall_0() { return cNameValidIdParserRuleCall_0; } |
574 | } | 691 | } |
575 | public class LookupDefinitionElements extends AbstractParserRuleElementFinder { | 692 | public class LookupDefinitionElements extends AbstractParserRuleElementFinder { |
576 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition"); | 693 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition"); |
@@ -578,69 +695,69 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
578 | private final Keyword cLookupKeyword_0 = (Keyword)cGroup.eContents().get(0); | 695 | private final Keyword cLookupKeyword_0 = (Keyword)cGroup.eContents().get(0); |
579 | private final Assignment cMappingAssignment_1 = (Assignment)cGroup.eContents().get(1); | 696 | private final Assignment cMappingAssignment_1 = (Assignment)cGroup.eContents().get(1); |
580 | private final CrossReference cMappingMappingDefinitionCrossReference_1_0 = (CrossReference)cMappingAssignment_1.eContents().get(0); | 697 | private final CrossReference cMappingMappingDefinitionCrossReference_1_0 = (CrossReference)cMappingAssignment_1.eContents().get(0); |
581 | private final RuleCall cMappingMappingDefinitionIDTerminalRuleCall_1_0_1 = (RuleCall)cMappingMappingDefinitionCrossReference_1_0.eContents().get(1); | 698 | private final RuleCall cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cMappingMappingDefinitionCrossReference_1_0.eContents().get(1); |
582 | private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); | 699 | private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); |
583 | private final Assignment cArgumentsAssignment_3 = (Assignment)cGroup.eContents().get(3); | 700 | private final Assignment cArgumentsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
584 | private final CrossReference cArgumentsMappingParameterCrossReference_3_0 = (CrossReference)cArgumentsAssignment_3.eContents().get(0); | 701 | private final CrossReference cArgumentsMappingParameterCrossReference_3_0 = (CrossReference)cArgumentsAssignment_3.eContents().get(0); |
585 | private final RuleCall cArgumentsMappingParameterIDTerminalRuleCall_3_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_3_0.eContents().get(1); | 702 | private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_3_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_3_0.eContents().get(1); |
586 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | 703 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
587 | private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | 704 | private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
588 | private final Assignment cArgumentsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); | 705 | private final Assignment cArgumentsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
589 | private final CrossReference cArgumentsMappingParameterCrossReference_4_1_0 = (CrossReference)cArgumentsAssignment_4_1.eContents().get(0); | 706 | private final CrossReference cArgumentsMappingParameterCrossReference_4_1_0 = (CrossReference)cArgumentsAssignment_4_1.eContents().get(0); |
590 | private final RuleCall cArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_4_1_0.eContents().get(1); | 707 | private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_4_1_0.eContents().get(1); |
591 | private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); | 708 | private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); |
592 | private final Keyword cAsKeyword_6 = (Keyword)cGroup.eContents().get(6); | 709 | private final Keyword cAsKeyword_6 = (Keyword)cGroup.eContents().get(6); |
593 | private final Assignment cNameAssignment_7 = (Assignment)cGroup.eContents().get(7); | 710 | private final Assignment cNameAssignment_7 = (Assignment)cGroup.eContents().get(7); |
594 | private final RuleCall cNameIDTerminalRuleCall_7_0 = (RuleCall)cNameAssignment_7.eContents().get(0); | 711 | private final RuleCall cNameValidIdParserRuleCall_7_0 = (RuleCall)cNameAssignment_7.eContents().get(0); |
595 | 712 | ||
596 | //LookupDefinition: | 713 | //LookupDefinition: |
597 | // "lookup" mapping=[MappingDefinition] | 714 | // "lookup" mapping=[MappingDefinition|QualifiedName] |
598 | // "(" arguments+=[MappingParameter] ("," arguments+=[MappingParameter])* ")" | 715 | // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" |
599 | // "as" name=ID; | 716 | // "as" name=ValidId; |
600 | @Override public ParserRule getRule() { return rule; } | 717 | @Override public ParserRule getRule() { return rule; } |
601 | 718 | ||
602 | //"lookup" mapping=[MappingDefinition] "(" arguments+=[MappingParameter] ("," arguments+=[MappingParameter])* ")" "as" | 719 | //"lookup" mapping=[MappingDefinition|QualifiedName] "(" arguments+=[MappingParameter|ValidId] ("," |
603 | //name=ID | 720 | //arguments+=[MappingParameter|ValidId])* ")" "as" name=ValidId |
604 | public Group getGroup() { return cGroup; } | 721 | public Group getGroup() { return cGroup; } |
605 | 722 | ||
606 | //"lookup" | 723 | //"lookup" |
607 | public Keyword getLookupKeyword_0() { return cLookupKeyword_0; } | 724 | public Keyword getLookupKeyword_0() { return cLookupKeyword_0; } |
608 | 725 | ||
609 | //mapping=[MappingDefinition] | 726 | //mapping=[MappingDefinition|QualifiedName] |
610 | public Assignment getMappingAssignment_1() { return cMappingAssignment_1; } | 727 | public Assignment getMappingAssignment_1() { return cMappingAssignment_1; } |
611 | 728 | ||
612 | //[MappingDefinition] | 729 | //[MappingDefinition|QualifiedName] |
613 | public CrossReference getMappingMappingDefinitionCrossReference_1_0() { return cMappingMappingDefinitionCrossReference_1_0; } | 730 | public CrossReference getMappingMappingDefinitionCrossReference_1_0() { return cMappingMappingDefinitionCrossReference_1_0; } |
614 | 731 | ||
615 | //ID | 732 | //QualifiedName |
616 | public RuleCall getMappingMappingDefinitionIDTerminalRuleCall_1_0_1() { return cMappingMappingDefinitionIDTerminalRuleCall_1_0_1; } | 733 | public RuleCall getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1() { return cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1; } |
617 | 734 | ||
618 | //"(" | 735 | //"(" |
619 | public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } | 736 | public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } |
620 | 737 | ||
621 | //arguments+=[MappingParameter] | 738 | //arguments+=[MappingParameter|ValidId] |
622 | public Assignment getArgumentsAssignment_3() { return cArgumentsAssignment_3; } | 739 | public Assignment getArgumentsAssignment_3() { return cArgumentsAssignment_3; } |
623 | 740 | ||
624 | //[MappingParameter] | 741 | //[MappingParameter|ValidId] |
625 | public CrossReference getArgumentsMappingParameterCrossReference_3_0() { return cArgumentsMappingParameterCrossReference_3_0; } | 742 | public CrossReference getArgumentsMappingParameterCrossReference_3_0() { return cArgumentsMappingParameterCrossReference_3_0; } |
626 | 743 | ||
627 | //ID | 744 | //ValidId |
628 | public RuleCall getArgumentsMappingParameterIDTerminalRuleCall_3_0_1() { return cArgumentsMappingParameterIDTerminalRuleCall_3_0_1; } | 745 | public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_3_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_3_0_1; } |
629 | 746 | ||
630 | //("," arguments+=[MappingParameter])* | 747 | //("," arguments+=[MappingParameter|ValidId])* |
631 | public Group getGroup_4() { return cGroup_4; } | 748 | public Group getGroup_4() { return cGroup_4; } |
632 | 749 | ||
633 | //"," | 750 | //"," |
634 | public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } | 751 | public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } |
635 | 752 | ||
636 | //arguments+=[MappingParameter] | 753 | //arguments+=[MappingParameter|ValidId] |
637 | public Assignment getArgumentsAssignment_4_1() { return cArgumentsAssignment_4_1; } | 754 | public Assignment getArgumentsAssignment_4_1() { return cArgumentsAssignment_4_1; } |
638 | 755 | ||
639 | //[MappingParameter] | 756 | //[MappingParameter|ValidId] |
640 | public CrossReference getArgumentsMappingParameterCrossReference_4_1_0() { return cArgumentsMappingParameterCrossReference_4_1_0; } | 757 | public CrossReference getArgumentsMappingParameterCrossReference_4_1_0() { return cArgumentsMappingParameterCrossReference_4_1_0; } |
641 | 758 | ||
642 | //ID | 759 | //ValidId |
643 | public RuleCall getArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1() { return cArgumentsMappingParameterIDTerminalRuleCall_4_1_0_1; } | 760 | public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1; } |
644 | 761 | ||
645 | //")" | 762 | //")" |
646 | public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; } | 763 | public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; } |
@@ -648,11 +765,11 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
648 | //"as" | 765 | //"as" |
649 | public Keyword getAsKeyword_6() { return cAsKeyword_6; } | 766 | public Keyword getAsKeyword_6() { return cAsKeyword_6; } |
650 | 767 | ||
651 | //name=ID | 768 | //name=ValidId |
652 | public Assignment getNameAssignment_7() { return cNameAssignment_7; } | 769 | public Assignment getNameAssignment_7() { return cNameAssignment_7; } |
653 | 770 | ||
654 | //ID | 771 | //ValidId |
655 | public RuleCall getNameIDTerminalRuleCall_7_0() { return cNameIDTerminalRuleCall_7_0; } | 772 | public RuleCall getNameValidIdParserRuleCall_7_0() { return cNameValidIdParserRuleCall_7_0; } |
656 | } | 773 | } |
657 | public class VariableElements extends AbstractParserRuleElementFinder { | 774 | public class VariableElements extends AbstractParserRuleElementFinder { |
658 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Variable"); | 775 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Variable"); |
@@ -721,39 +838,39 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
721 | private final Group cGroup = (Group)rule.eContents().get(1); | 838 | private final Group cGroup = (Group)rule.eContents().get(1); |
722 | private final Assignment cComponentAssignment_0 = (Assignment)cGroup.eContents().get(0); | 839 | private final Assignment cComponentAssignment_0 = (Assignment)cGroup.eContents().get(0); |
723 | private final CrossReference cComponentVariableCrossReference_0_0 = (CrossReference)cComponentAssignment_0.eContents().get(0); | 840 | private final CrossReference cComponentVariableCrossReference_0_0 = (CrossReference)cComponentAssignment_0.eContents().get(0); |
724 | private final RuleCall cComponentVariableIDTerminalRuleCall_0_0_1 = (RuleCall)cComponentVariableCrossReference_0_0.eContents().get(1); | 841 | private final RuleCall cComponentVariableValidIdParserRuleCall_0_0_1 = (RuleCall)cComponentVariableCrossReference_0_0.eContents().get(1); |
725 | private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); | 842 | private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); |
726 | private final Assignment cEventAssignment_2 = (Assignment)cGroup.eContents().get(2); | 843 | private final Assignment cEventAssignment_2 = (Assignment)cGroup.eContents().get(2); |
727 | private final CrossReference cEventEventDeclarationCrossReference_2_0 = (CrossReference)cEventAssignment_2.eContents().get(0); | 844 | private final CrossReference cEventEventDeclarationCrossReference_2_0 = (CrossReference)cEventAssignment_2.eContents().get(0); |
728 | private final RuleCall cEventEventDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cEventEventDeclarationCrossReference_2_0.eContents().get(1); | 845 | private final RuleCall cEventEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cEventEventDeclarationCrossReference_2_0.eContents().get(1); |
729 | 846 | ||
730 | //EventReference: | 847 | //EventReference: |
731 | // component=[Variable] "." event=[EventDeclaration]; | 848 | // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; |
732 | @Override public ParserRule getRule() { return rule; } | 849 | @Override public ParserRule getRule() { return rule; } |
733 | 850 | ||
734 | //component=[Variable] "." event=[EventDeclaration] | 851 | //component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId] |
735 | public Group getGroup() { return cGroup; } | 852 | public Group getGroup() { return cGroup; } |
736 | 853 | ||
737 | //component=[Variable] | 854 | //component=[Variable|ValidId] |
738 | public Assignment getComponentAssignment_0() { return cComponentAssignment_0; } | 855 | public Assignment getComponentAssignment_0() { return cComponentAssignment_0; } |
739 | 856 | ||
740 | //[Variable] | 857 | //[Variable|ValidId] |
741 | public CrossReference getComponentVariableCrossReference_0_0() { return cComponentVariableCrossReference_0_0; } | 858 | public CrossReference getComponentVariableCrossReference_0_0() { return cComponentVariableCrossReference_0_0; } |
742 | 859 | ||
743 | //ID | 860 | //ValidId |
744 | public RuleCall getComponentVariableIDTerminalRuleCall_0_0_1() { return cComponentVariableIDTerminalRuleCall_0_0_1; } | 861 | public RuleCall getComponentVariableValidIdParserRuleCall_0_0_1() { return cComponentVariableValidIdParserRuleCall_0_0_1; } |
745 | 862 | ||
746 | //"." | 863 | //"." |
747 | public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; } | 864 | public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; } |
748 | 865 | ||
749 | //event=[EventDeclaration] | 866 | //event=[cft::EventDeclaration|ValidId] |
750 | public Assignment getEventAssignment_2() { return cEventAssignment_2; } | 867 | public Assignment getEventAssignment_2() { return cEventAssignment_2; } |
751 | 868 | ||
752 | //[EventDeclaration] | 869 | //[cft::EventDeclaration|ValidId] |
753 | public CrossReference getEventEventDeclarationCrossReference_2_0() { return cEventEventDeclarationCrossReference_2_0; } | 870 | public CrossReference getEventEventDeclarationCrossReference_2_0() { return cEventEventDeclarationCrossReference_2_0; } |
754 | 871 | ||
755 | //ID | 872 | //ValidId |
756 | public RuleCall getEventEventDeclarationIDTerminalRuleCall_2_0_1() { return cEventEventDeclarationIDTerminalRuleCall_2_0_1; } | 873 | public RuleCall getEventEventDeclarationValidIdParserRuleCall_2_0_1() { return cEventEventDeclarationValidIdParserRuleCall_2_0_1; } |
757 | } | 874 | } |
758 | public class ComponentInstanceElements extends AbstractParserRuleElementFinder { | 875 | public class ComponentInstanceElements extends AbstractParserRuleElementFinder { |
759 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance"); | 876 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance"); |
@@ -766,19 +883,19 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
766 | private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); | 883 | private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); |
767 | 884 | ||
768 | //ComponentInstance: | 885 | //ComponentInstance: |
769 | // "=>" componentType=[ComponentDefinition|QualifiedName] name=ID?; | 886 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; |
770 | @Override public ParserRule getRule() { return rule; } | 887 | @Override public ParserRule getRule() { return rule; } |
771 | 888 | ||
772 | //"=>" componentType=[ComponentDefinition|QualifiedName] name=ID? | 889 | //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID? |
773 | public Group getGroup() { return cGroup; } | 890 | public Group getGroup() { return cGroup; } |
774 | 891 | ||
775 | //"=>" | 892 | //"=>" |
776 | public Keyword getEqualsSignGreaterThanSignKeyword_0() { return cEqualsSignGreaterThanSignKeyword_0; } | 893 | public Keyword getEqualsSignGreaterThanSignKeyword_0() { return cEqualsSignGreaterThanSignKeyword_0; } |
777 | 894 | ||
778 | //componentType=[ComponentDefinition|QualifiedName] | 895 | //componentType=[cft::ComponentDefinition|QualifiedName] |
779 | public Assignment getComponentTypeAssignment_1() { return cComponentTypeAssignment_1; } | 896 | public Assignment getComponentTypeAssignment_1() { return cComponentTypeAssignment_1; } |
780 | 897 | ||
781 | //[ComponentDefinition|QualifiedName] | 898 | //[cft::ComponentDefinition|QualifiedName] |
782 | public CrossReference getComponentTypeComponentDefinitionCrossReference_1_0() { return cComponentTypeComponentDefinitionCrossReference_1_0; } | 899 | public CrossReference getComponentTypeComponentDefinitionCrossReference_1_0() { return cComponentTypeComponentDefinitionCrossReference_1_0; } |
783 | 900 | ||
784 | //QualifiedName | 901 | //QualifiedName |
@@ -793,29 +910,29 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
793 | public class QualifiedNameElements extends AbstractParserRuleElementFinder { | 910 | public class QualifiedNameElements extends AbstractParserRuleElementFinder { |
794 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); | 911 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); |
795 | private final Group cGroup = (Group)rule.eContents().get(1); | 912 | private final Group cGroup = (Group)rule.eContents().get(1); |
796 | private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | 913 | private final RuleCall cValidIdParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
797 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | 914 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
798 | private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); | 915 | private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
799 | private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); | 916 | private final RuleCall cValidIdParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
800 | 917 | ||
801 | //QualifiedName: | 918 | //QualifiedName: |
802 | // ID ("." ID)*; | 919 | // ValidId ("." ValidId)*; |
803 | @Override public ParserRule getRule() { return rule; } | 920 | @Override public ParserRule getRule() { return rule; } |
804 | 921 | ||
805 | //ID ("." ID)* | 922 | //ValidId ("." ValidId)* |
806 | public Group getGroup() { return cGroup; } | 923 | public Group getGroup() { return cGroup; } |
807 | 924 | ||
808 | //ID | 925 | //ValidId |
809 | public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } | 926 | public RuleCall getValidIdParserRuleCall_0() { return cValidIdParserRuleCall_0; } |
810 | 927 | ||
811 | //("." ID)* | 928 | //("." ValidId)* |
812 | public Group getGroup_1() { return cGroup_1; } | 929 | public Group getGroup_1() { return cGroup_1; } |
813 | 930 | ||
814 | //"." | 931 | //"." |
815 | public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } | 932 | public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
816 | 933 | ||
817 | //ID | 934 | //ValidId |
818 | public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } | 935 | public RuleCall getValidIdParserRuleCall_1_1() { return cValidIdParserRuleCall_1_1; } |
819 | } | 936 | } |
820 | public class QualifiedNameWithWildcardElements extends AbstractParserRuleElementFinder { | 937 | public class QualifiedNameWithWildcardElements extends AbstractParserRuleElementFinder { |
821 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard"); | 938 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard"); |
@@ -844,18 +961,59 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
844 | //"*" | 961 | //"*" |
845 | public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } | 962 | public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } |
846 | } | 963 | } |
964 | public class ValidIdElements extends AbstractParserRuleElementFinder { | ||
965 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); | ||
966 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
967 | private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
968 | private final RuleCall cOF_INTTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
969 | |||
970 | //ValidId: | ||
971 | // ID | OF_INT; | ||
972 | @Override public ParserRule getRule() { return rule; } | ||
973 | |||
974 | //ID | OF_INT | ||
975 | public Alternatives getAlternatives() { return cAlternatives; } | ||
976 | |||
977 | //ID | ||
978 | public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } | ||
979 | |||
980 | //OF_INT | ||
981 | public RuleCall getOF_INTTerminalRuleCall_1() { return cOF_INTTerminalRuleCall_1; } | ||
982 | } | ||
983 | public class DoubleElements extends AbstractParserRuleElementFinder { | ||
984 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); | ||
985 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
986 | private final RuleCall cINTTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
987 | private final RuleCall cT_DOUBLETerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
988 | |||
989 | //Double ecore::EDouble: | ||
990 | // INT | T_DOUBLE; | ||
991 | @Override public ParserRule getRule() { return rule; } | ||
992 | |||
993 | //INT | T_DOUBLE | ||
994 | public Alternatives getAlternatives() { return cAlternatives; } | ||
995 | |||
996 | //INT | ||
997 | public RuleCall getINTTerminalRuleCall_0() { return cINTTerminalRuleCall_0; } | ||
998 | |||
999 | //T_DOUBLE | ||
1000 | public RuleCall getT_DOUBLETerminalRuleCall_1() { return cT_DOUBLETerminalRuleCall_1; } | ||
1001 | } | ||
847 | 1002 | ||
848 | 1003 | ||
849 | private final CftModelElements pCftModel; | 1004 | private final CftModelElements pCftModel; |
850 | private final ImportDeclarationElements pImportDeclaration; | 1005 | private final ImportDeclarationElements pImportDeclaration; |
851 | private final ComponentDefinitionElements pComponentDefinition; | 1006 | private final ComponentDefinitionElements pComponentDefinition; |
852 | private final EventDeclarationElements pEventDeclaration; | ||
853 | private final InputEventElements pInputEvent; | 1007 | private final InputEventElements pInputEvent; |
854 | private final EventDefinitionElements pEventDefinition; | 1008 | private final EventDefinitionElements pEventDefinition; |
855 | private final BasicEventDefinitionElements pBasicEventDefinition; | 1009 | private final BasicEventDefinitionElements pBasicEventDefinition; |
1010 | private final DistributionElements pDistribution; | ||
1011 | private final ConstantDistributionElements pConstantDistribution; | ||
1012 | private final ExponentialDistributionElements pExponentialDistribution; | ||
856 | private final GateDefinitionElements pGateDefinition; | 1013 | private final GateDefinitionElements pGateDefinition; |
857 | private final AndGateElements pAndGate; | 1014 | private final AndGateDefinitionElements pAndGateDefinition; |
858 | private final OrGateElements pOrGate; | 1015 | private final OrGateDefinitionElements pOrGateDefinition; |
1016 | private final KOfMGateDefinitionElements pKOfMGateDefinition; | ||
859 | private final TransformationDefinitionElements pTransformationDefinition; | 1017 | private final TransformationDefinitionElements pTransformationDefinition; |
860 | private final MappingDefinitionElements pMappingDefinition; | 1018 | private final MappingDefinitionElements pMappingDefinition; |
861 | private final MappingParameterElements pMappingParameter; | 1019 | private final MappingParameterElements pMappingParameter; |
@@ -866,7 +1024,10 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
866 | private final ComponentInstanceElements pComponentInstance; | 1024 | private final ComponentInstanceElements pComponentInstance; |
867 | private final QualifiedNameElements pQualifiedName; | 1025 | private final QualifiedNameElements pQualifiedName; |
868 | private final QualifiedNameWithWildcardElements pQualifiedNameWithWildcard; | 1026 | private final QualifiedNameWithWildcardElements pQualifiedNameWithWildcard; |
869 | private final TerminalRule tDOULBE; | 1027 | private final ValidIdElements pValidId; |
1028 | private final DoubleElements pDouble; | ||
1029 | private final TerminalRule tOF_INT; | ||
1030 | private final TerminalRule tT_DOUBLE; | ||
870 | 1031 | ||
871 | private final Grammar grammar; | 1032 | private final Grammar grammar; |
872 | 1033 | ||
@@ -880,13 +1041,16 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
880 | this.pCftModel = new CftModelElements(); | 1041 | this.pCftModel = new CftModelElements(); |
881 | this.pImportDeclaration = new ImportDeclarationElements(); | 1042 | this.pImportDeclaration = new ImportDeclarationElements(); |
882 | this.pComponentDefinition = new ComponentDefinitionElements(); | 1043 | this.pComponentDefinition = new ComponentDefinitionElements(); |
883 | this.pEventDeclaration = new EventDeclarationElements(); | ||
884 | this.pInputEvent = new InputEventElements(); | 1044 | this.pInputEvent = new InputEventElements(); |
885 | this.pEventDefinition = new EventDefinitionElements(); | 1045 | this.pEventDefinition = new EventDefinitionElements(); |
886 | this.pBasicEventDefinition = new BasicEventDefinitionElements(); | 1046 | this.pBasicEventDefinition = new BasicEventDefinitionElements(); |
1047 | this.pDistribution = new DistributionElements(); | ||
1048 | this.pConstantDistribution = new ConstantDistributionElements(); | ||
1049 | this.pExponentialDistribution = new ExponentialDistributionElements(); | ||
887 | this.pGateDefinition = new GateDefinitionElements(); | 1050 | this.pGateDefinition = new GateDefinitionElements(); |
888 | this.pAndGate = new AndGateElements(); | 1051 | this.pAndGateDefinition = new AndGateDefinitionElements(); |
889 | this.pOrGate = new OrGateElements(); | 1052 | this.pOrGateDefinition = new OrGateDefinitionElements(); |
1053 | this.pKOfMGateDefinition = new KOfMGateDefinitionElements(); | ||
890 | this.pTransformationDefinition = new TransformationDefinitionElements(); | 1054 | this.pTransformationDefinition = new TransformationDefinitionElements(); |
891 | this.pMappingDefinition = new MappingDefinitionElements(); | 1055 | this.pMappingDefinition = new MappingDefinitionElements(); |
892 | this.pMappingParameter = new MappingParameterElements(); | 1056 | this.pMappingParameter = new MappingParameterElements(); |
@@ -897,7 +1061,10 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
897 | this.pComponentInstance = new ComponentInstanceElements(); | 1061 | this.pComponentInstance = new ComponentInstanceElements(); |
898 | this.pQualifiedName = new QualifiedNameElements(); | 1062 | this.pQualifiedName = new QualifiedNameElements(); |
899 | this.pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElements(); | 1063 | this.pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElements(); |
900 | this.tDOULBE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.DOULBE"); | 1064 | this.pValidId = new ValidIdElements(); |
1065 | this.pDouble = new DoubleElements(); | ||
1066 | this.tOF_INT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); | ||
1067 | this.tT_DOUBLE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.T_DOUBLE"); | ||
901 | } | 1068 | } |
902 | 1069 | ||
903 | protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { | 1070 | protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { |
@@ -949,9 +1116,9 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
949 | return getImportDeclarationAccess().getRule(); | 1116 | return getImportDeclarationAccess().getRule(); |
950 | } | 1117 | } |
951 | 1118 | ||
952 | //ComponentDefinition: | 1119 | //ComponentDefinition cft::ComponentDefinition: |
953 | // "cft" name=ID "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[EventDeclaration]* ";")?) | 1120 | // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* |
954 | // (eventDefinitions+=EventDefinition ";")* | 1121 | // ";")?) (eventDefinitions+=EventDefinition ";")* |
955 | // "}"; | 1122 | // "}"; |
956 | public ComponentDefinitionElements getComponentDefinitionAccess() { | 1123 | public ComponentDefinitionElements getComponentDefinitionAccess() { |
957 | return pComponentDefinition; | 1124 | return pComponentDefinition; |
@@ -961,18 +1128,8 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
961 | return getComponentDefinitionAccess().getRule(); | 1128 | return getComponentDefinitionAccess().getRule(); |
962 | } | 1129 | } |
963 | 1130 | ||
964 | //EventDeclaration: | 1131 | //InputEvent cft::IntputEvent: |
965 | // InputEvent | EventDefinition; | 1132 | // name=ValidId multiple?="[]"?; |
966 | public EventDeclarationElements getEventDeclarationAccess() { | ||
967 | return pEventDeclaration; | ||
968 | } | ||
969 | |||
970 | public ParserRule getEventDeclarationRule() { | ||
971 | return getEventDeclarationAccess().getRule(); | ||
972 | } | ||
973 | |||
974 | //InputEvent: | ||
975 | // name=ID multiple?="[]"?; | ||
976 | public InputEventElements getInputEventAccess() { | 1133 | public InputEventElements getInputEventAccess() { |
977 | return pInputEvent; | 1134 | return pInputEvent; |
978 | } | 1135 | } |
@@ -981,7 +1138,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
981 | return getInputEventAccess().getRule(); | 1138 | return getInputEventAccess().getRule(); |
982 | } | 1139 | } |
983 | 1140 | ||
984 | //EventDefinition: | 1141 | //EventDefinition cft::EventDefinition: |
985 | // BasicEventDefinition | GateDefinition; | 1142 | // BasicEventDefinition | GateDefinition; |
986 | public EventDefinitionElements getEventDefinitionAccess() { | 1143 | public EventDefinitionElements getEventDefinitionAccess() { |
987 | return pEventDefinition; | 1144 | return pEventDefinition; |
@@ -991,8 +1148,8 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
991 | return getEventDefinitionAccess().getRule(); | 1148 | return getEventDefinitionAccess().getRule(); |
992 | } | 1149 | } |
993 | 1150 | ||
994 | //BasicEventDefinition: | 1151 | //BasicEventDefinition cft::BasicEventDefinition: |
995 | // name=ID "lambda" "=" rate=DOULBE; | 1152 | // name=ValidId distribution=Distribution; |
996 | public BasicEventDefinitionElements getBasicEventDefinitionAccess() { | 1153 | public BasicEventDefinitionElements getBasicEventDefinitionAccess() { |
997 | return pBasicEventDefinition; | 1154 | return pBasicEventDefinition; |
998 | } | 1155 | } |
@@ -1001,8 +1158,38 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1001 | return getBasicEventDefinitionAccess().getRule(); | 1158 | return getBasicEventDefinitionAccess().getRule(); |
1002 | } | 1159 | } |
1003 | 1160 | ||
1004 | //GateDefinition: | 1161 | //Distribution ft::Distribution: |
1005 | // AndGate | OrGate; | 1162 | // ConstantDistribution | ExponentialDistribution; |
1163 | public DistributionElements getDistributionAccess() { | ||
1164 | return pDistribution; | ||
1165 | } | ||
1166 | |||
1167 | public ParserRule getDistributionRule() { | ||
1168 | return getDistributionAccess().getRule(); | ||
1169 | } | ||
1170 | |||
1171 | //ConstantDistribution ft::ConstantDistribution: | ||
1172 | // "p" "=" p=Double; | ||
1173 | public ConstantDistributionElements getConstantDistributionAccess() { | ||
1174 | return pConstantDistribution; | ||
1175 | } | ||
1176 | |||
1177 | public ParserRule getConstantDistributionRule() { | ||
1178 | return getConstantDistributionAccess().getRule(); | ||
1179 | } | ||
1180 | |||
1181 | //ExponentialDistribution ft::ExponentialDistribution: | ||
1182 | // "lambda" "=" lambda=Double; | ||
1183 | public ExponentialDistributionElements getExponentialDistributionAccess() { | ||
1184 | return pExponentialDistribution; | ||
1185 | } | ||
1186 | |||
1187 | public ParserRule getExponentialDistributionRule() { | ||
1188 | return getExponentialDistributionAccess().getRule(); | ||
1189 | } | ||
1190 | |||
1191 | //GateDefinition cft::GateDefinition: | ||
1192 | // AndGateDefinition | OrGateDefinition | KOfMGateDefinition; | ||
1006 | public GateDefinitionElements getGateDefinitionAccess() { | 1193 | public GateDefinitionElements getGateDefinitionAccess() { |
1007 | return pGateDefinition; | 1194 | return pGateDefinition; |
1008 | } | 1195 | } |
@@ -1011,28 +1198,38 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1011 | return getGateDefinitionAccess().getRule(); | 1198 | return getGateDefinitionAccess().getRule(); |
1012 | } | 1199 | } |
1013 | 1200 | ||
1014 | //AndGate: | 1201 | //AndGateDefinition cft::AndGateDefinition: |
1015 | // name=ID "and" inputEvents+=[EventDeclaration]*; | 1202 | // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; |
1016 | public AndGateElements getAndGateAccess() { | 1203 | public AndGateDefinitionElements getAndGateDefinitionAccess() { |
1017 | return pAndGate; | 1204 | return pAndGateDefinition; |
1205 | } | ||
1206 | |||
1207 | public ParserRule getAndGateDefinitionRule() { | ||
1208 | return getAndGateDefinitionAccess().getRule(); | ||
1018 | } | 1209 | } |
1019 | 1210 | ||
1020 | public ParserRule getAndGateRule() { | 1211 | //OrGateDefinition cft::OrGateDefinition: |
1021 | return getAndGateAccess().getRule(); | 1212 | // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; |
1213 | public OrGateDefinitionElements getOrGateDefinitionAccess() { | ||
1214 | return pOrGateDefinition; | ||
1022 | } | 1215 | } |
1023 | 1216 | ||
1024 | //OrGate: | 1217 | public ParserRule getOrGateDefinitionRule() { |
1025 | // name=ID "or" inputEvents+=[EventDeclaration]*; | 1218 | return getOrGateDefinitionAccess().getRule(); |
1026 | public OrGateElements getOrGateAccess() { | ||
1027 | return pOrGate; | ||
1028 | } | 1219 | } |
1029 | 1220 | ||
1030 | public ParserRule getOrGateRule() { | 1221 | //KOfMGateDefinition cft::KOfMGateDefinition: |
1031 | return getOrGateAccess().getRule(); | 1222 | // name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; |
1223 | public KOfMGateDefinitionElements getKOfMGateDefinitionAccess() { | ||
1224 | return pKOfMGateDefinition; | ||
1225 | } | ||
1226 | |||
1227 | public ParserRule getKOfMGateDefinitionRule() { | ||
1228 | return getKOfMGateDefinitionAccess().getRule(); | ||
1032 | } | 1229 | } |
1033 | 1230 | ||
1034 | //TransformationDefinition: | 1231 | //TransformationDefinition: |
1035 | // "transformation" name=ID "{" | 1232 | // "transformation" name=ValidId "{" |
1036 | // mappingDefinitions+=MappingDefinition* | 1233 | // mappingDefinitions+=MappingDefinition* |
1037 | // "}"; | 1234 | // "}"; |
1038 | public TransformationDefinitionElements getTransformationDefinitionAccess() { | 1235 | public TransformationDefinitionElements getTransformationDefinitionAccess() { |
@@ -1057,7 +1254,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1057 | } | 1254 | } |
1058 | 1255 | ||
1059 | //MappingParameter: | 1256 | //MappingParameter: |
1060 | // name=ID; | 1257 | // name=ValidId; |
1061 | public MappingParameterElements getMappingParameterAccess() { | 1258 | public MappingParameterElements getMappingParameterAccess() { |
1062 | return pMappingParameter; | 1259 | return pMappingParameter; |
1063 | } | 1260 | } |
@@ -1067,9 +1264,9 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1067 | } | 1264 | } |
1068 | 1265 | ||
1069 | //LookupDefinition: | 1266 | //LookupDefinition: |
1070 | // "lookup" mapping=[MappingDefinition] | 1267 | // "lookup" mapping=[MappingDefinition|QualifiedName] |
1071 | // "(" arguments+=[MappingParameter] ("," arguments+=[MappingParameter])* ")" | 1268 | // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" |
1072 | // "as" name=ID; | 1269 | // "as" name=ValidId; |
1073 | public LookupDefinitionElements getLookupDefinitionAccess() { | 1270 | public LookupDefinitionElements getLookupDefinitionAccess() { |
1074 | return pLookupDefinition; | 1271 | return pLookupDefinition; |
1075 | } | 1272 | } |
@@ -1099,7 +1296,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1099 | } | 1296 | } |
1100 | 1297 | ||
1101 | //EventReference: | 1298 | //EventReference: |
1102 | // component=[Variable] "." event=[EventDeclaration]; | 1299 | // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; |
1103 | public EventReferenceElements getEventReferenceAccess() { | 1300 | public EventReferenceElements getEventReferenceAccess() { |
1104 | return pEventReference; | 1301 | return pEventReference; |
1105 | } | 1302 | } |
@@ -1109,7 +1306,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1109 | } | 1306 | } |
1110 | 1307 | ||
1111 | //ComponentInstance: | 1308 | //ComponentInstance: |
1112 | // "=>" componentType=[ComponentDefinition|QualifiedName] name=ID?; | 1309 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; |
1113 | public ComponentInstanceElements getComponentInstanceAccess() { | 1310 | public ComponentInstanceElements getComponentInstanceAccess() { |
1114 | return pComponentInstance; | 1311 | return pComponentInstance; |
1115 | } | 1312 | } |
@@ -1119,7 +1316,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1119 | } | 1316 | } |
1120 | 1317 | ||
1121 | //QualifiedName: | 1318 | //QualifiedName: |
1122 | // ID ("." ID)*; | 1319 | // ValidId ("." ValidId)*; |
1123 | public QualifiedNameElements getQualifiedNameAccess() { | 1320 | public QualifiedNameElements getQualifiedNameAccess() { |
1124 | return pQualifiedName; | 1321 | return pQualifiedName; |
1125 | } | 1322 | } |
@@ -1138,10 +1335,36 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1138 | return getQualifiedNameWithWildcardAccess().getRule(); | 1335 | return getQualifiedNameWithWildcardAccess().getRule(); |
1139 | } | 1336 | } |
1140 | 1337 | ||
1141 | //terminal DOULBE returns ecore::EDouble: | 1338 | //ValidId: |
1339 | // ID | OF_INT; | ||
1340 | public ValidIdElements getValidIdAccess() { | ||
1341 | return pValidId; | ||
1342 | } | ||
1343 | |||
1344 | public ParserRule getValidIdRule() { | ||
1345 | return getValidIdAccess().getRule(); | ||
1346 | } | ||
1347 | |||
1348 | //Double ecore::EDouble: | ||
1349 | // INT | T_DOUBLE; | ||
1350 | public DoubleElements getDoubleAccess() { | ||
1351 | return pDouble; | ||
1352 | } | ||
1353 | |||
1354 | public ParserRule getDoubleRule() { | ||
1355 | return getDoubleAccess().getRule(); | ||
1356 | } | ||
1357 | |||
1358 | //terminal OF_INT returns ecore::EInt: | ||
1359 | // "o" "f" '0'..'9'+; | ||
1360 | public TerminalRule getOF_INTRule() { | ||
1361 | return tOF_INT; | ||
1362 | } | ||
1363 | |||
1364 | //terminal T_DOUBLE: | ||
1142 | // '0'..'9'+ ("." '0'..'9'+ | ("." '0'..'9'+)? ("e" | "E") ("+" | "-")? '0'..'9'+); | 1365 | // '0'..'9'+ ("." '0'..'9'+ | ("." '0'..'9'+)? ("e" | "E") ("+" | "-")? '0'..'9'+); |
1143 | public TerminalRule getDOULBERule() { | 1366 | public TerminalRule getT_DOUBLERule() { |
1144 | return tDOULBE; | 1367 | return tT_DOUBLE; |
1145 | } | 1368 | } |
1146 | 1369 | ||
1147 | //terminal ID: | 1370 | //terminal ID: |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java index a0c1efe7..1c5dbdee 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java | |||
@@ -14,6 +14,8 @@ public abstract class AbstractCftLanguageValidator extends AbstractDeclarativeVa | |||
14 | protected List<EPackage> getEPackages() { | 14 | protected List<EPackage> getEPackages() { |
15 | List<EPackage> result = new ArrayList<EPackage>(); | 15 | List<EPackage> result = new ArrayList<EPackage>(); |
16 | result.add(hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage.eINSTANCE); | 16 | result.add(hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage.eINSTANCE); |
17 | result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft")); | ||
18 | result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft")); | ||
17 | return result; | 19 | return result; |
18 | } | 20 | } |
19 | } | 21 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext index 3d82413f..61ab3359 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext | |||
@@ -2,7 +2,8 @@ grammar hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage with org.ecl | |||
2 | 2 | ||
3 | import "http://www.eclipse.org/emf/2002/Ecore" as ecore | 3 | import "http://www.eclipse.org/emf/2002/Ecore" as ecore |
4 | import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as vql | 4 | import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as vql |
5 | 5 | import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft" as ft | |
6 | import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft" as cft | ||
6 | generate cftLanguage "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage" | 7 | generate cftLanguage "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage" |
7 | 8 | ||
8 | CftModel: | 9 | CftModel: |
@@ -13,35 +14,44 @@ CftModel: | |||
13 | ImportDeclaration: | 14 | ImportDeclaration: |
14 | "import" importedNamespace=QualifiedNameWithWildcard ";"?; | 15 | "import" importedNamespace=QualifiedNameWithWildcard ";"?; |
15 | 16 | ||
16 | ComponentDefinition: | 17 | ComponentDefinition returns cft::ComponentDefinition: |
17 | "cft" name=ID "{" | 18 | "cft" name=ValidId "{" |
18 | (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[EventDeclaration]* ";")?) | 19 | (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")?) |
19 | (eventDefinitions+=EventDefinition ";")* | 20 | (eventDefinitions+=EventDefinition ";")* |
20 | "}"; | 21 | "}"; |
21 | 22 | ||
22 | EventDeclaration: | 23 | InputEvent returns cft::IntputEvent: |
23 | InputEvent | EventDefinition; | 24 | name=ValidId multiple?="[]"?; |
24 | |||
25 | InputEvent: | ||
26 | name=ID multiple?="[]"?; | ||
27 | 25 | ||
28 | EventDefinition: | 26 | EventDefinition returns cft::EventDefinition: |
29 | BasicEventDefinition | GateDefinition; | 27 | BasicEventDefinition | GateDefinition; |
30 | 28 | ||
31 | BasicEventDefinition: | 29 | BasicEventDefinition returns cft::BasicEventDefinition: |
32 | name=ID "lambda" "=" rate=DOULBE; | 30 | name=ValidId distribution=Distribution; |
31 | |||
32 | Distribution returns ft::Distribution: | ||
33 | ConstantDistribution | ExponentialDistribution; | ||
34 | |||
35 | ConstantDistribution returns ft::ConstantDistribution: | ||
36 | "p" "=" p=Double; | ||
37 | |||
38 | ExponentialDistribution returns ft::ExponentialDistribution: | ||
39 | "lambda" "=" lambda=Double; | ||
33 | 40 | ||
34 | GateDefinition: | 41 | GateDefinition returns cft::GateDefinition: |
35 | AndGate | OrGate; | 42 | AndGateDefinition | OrGateDefinition | KOfMGateDefinition; |
36 | 43 | ||
37 | AndGate: | 44 | AndGateDefinition returns cft::AndGateDefinition: |
38 | name=ID "and" inputEvents+=[EventDeclaration]*; | 45 | name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; |
39 | 46 | ||
40 | OrGate: | 47 | OrGateDefinition returns cft::OrGateDefinition: |
41 | name=ID "or" inputEvents+=[EventDeclaration]*; | 48 | name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; |
49 | |||
50 | KOfMGateDefinition returns cft::KOfMGateDefinition: | ||
51 | name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; | ||
42 | 52 | ||
43 | TransformationDefinition: | 53 | TransformationDefinition: |
44 | "transformation" name=ID "{" | 54 | "transformation" name=ValidId "{" |
45 | mappingDefinitions+=MappingDefinition* | 55 | mappingDefinitions+=MappingDefinition* |
46 | "}"; | 56 | "}"; |
47 | 57 | ||
@@ -49,16 +59,16 @@ MappingDefinition: | |||
49 | topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] | 59 | topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] |
50 | "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")" | 60 | "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")" |
51 | (componentInstance=ComponentInstance)? ("{" | 61 | (componentInstance=ComponentInstance)? ("{" |
52 | ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* | 62 | ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* |
53 | "}")?; | 63 | "}")?; |
54 | 64 | ||
55 | MappingParameter: | 65 | MappingParameter: |
56 | name=ID; | 66 | name=ValidId; |
57 | 67 | ||
58 | LookupDefinition: | 68 | LookupDefinition: |
59 | "lookup" mapping=[MappingDefinition] | 69 | "lookup" mapping=[MappingDefinition|QualifiedName] |
60 | "(" arguments+=[MappingParameter] ("," arguments+=[MappingParameter])* ")" | 70 | "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" |
61 | "as" name=ID; | 71 | "as" name=ValidId; |
62 | 72 | ||
63 | Variable: | 73 | Variable: |
64 | ComponentInstance | LookupDefinition; | 74 | ComponentInstance | LookupDefinition; |
@@ -67,16 +77,25 @@ Assignment: | |||
67 | input=EventReference (multiple?="+=" | ":=") output=EventReference; | 77 | input=EventReference (multiple?="+=" | ":=") output=EventReference; |
68 | 78 | ||
69 | EventReference: | 79 | EventReference: |
70 | component=[Variable] "." event=[EventDeclaration]; | 80 | component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; |
71 | 81 | ||
72 | ComponentInstance: | 82 | ComponentInstance: |
73 | "=>" componentType=[ComponentDefinition|QualifiedName] name=ID?; | 83 | "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; |
74 | 84 | ||
75 | QualifiedName returns ecore::EString: | 85 | QualifiedName returns ecore::EString: |
76 | ID ("." ID)*; | 86 | ValidId ("." ValidId)*; |
77 | 87 | ||
78 | QualifiedNameWithWildcard returns ecore::EString: | 88 | QualifiedNameWithWildcard returns ecore::EString: |
79 | QualifiedName ("." "*")?; | 89 | QualifiedName ("." "*")?; |
80 | 90 | ||
81 | terminal DOULBE returns ecore::EDouble: | 91 | ValidId: |
92 | ID | OF_INT; | ||
93 | |||
94 | Double returns ecore::EDouble: | ||
95 | INT | T_DOUBLE; | ||
96 | |||
97 | terminal OF_INT returns ecore::EInt: | ||
98 | "o" "f" ('0'..'9')+; | ||
99 | |||
100 | terminal T_DOUBLE: | ||
82 | ('0'..'9')+ ("." ('0'..'9')+ | ("." ('0'..'9')+)? ("e" | "E") ("+" | "-")? ('0'..'9')+); | 101 | ('0'..'9')+ ("." ('0'..'9')+ | ("." ('0'..'9')+)? ("e" | "E") ("+" | "-")? ('0'..'9')+); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend index f780591d..fe5965fa 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend | |||
@@ -5,6 +5,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.components | |||
5 | 5 | ||
6 | import com.google.inject.Binder | 6 | import com.google.inject.Binder |
7 | import com.google.inject.name.Names | 7 | import com.google.inject.name.Names |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider |
10 | import org.eclipse.xtext.scoping.IScopeProvider | 11 | import org.eclipse.xtext.scoping.IScopeProvider |
@@ -30,4 +31,7 @@ class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule { | |||
30 | CftLanguageQualifiedNameProvider | 31 | CftLanguageQualifiedNameProvider |
31 | } | 32 | } |
32 | 33 | ||
34 | override bindIValueConverterService() { | ||
35 | CftLanguageValueConverterService | ||
36 | } | ||
33 | } | 37 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 index fa383404..89efbb05 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 | |||
@@ -29,6 +29,8 @@ Workflow { | |||
29 | 29 | ||
30 | referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" | 30 | referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" |
31 | referencedResource = "platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel" | 31 | referencedResource = "platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel" |
32 | referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel" | ||
33 | referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel" | ||
32 | 34 | ||
33 | serializer = { | 35 | serializer = { |
34 | generateStub = false | 36 | generateStub = false |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend new file mode 100644 index 00000000..974e0df4 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend | |||
@@ -0,0 +1,15 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion | ||
2 | |||
3 | import com.google.inject.Inject | ||
4 | import org.eclipse.xtext.common.services.DefaultTerminalConverters | ||
5 | import org.eclipse.xtext.conversion.IValueConverter | ||
6 | import org.eclipse.xtext.conversion.ValueConverter | ||
7 | |||
8 | class CftLanguageValueConverterService extends DefaultTerminalConverters { | ||
9 | @Inject OF_INTValueConverter ofIntValueConverter | ||
10 | |||
11 | @ValueConverter(rule="OF_INT") | ||
12 | def IValueConverter<Integer> OF_INT() { | ||
13 | ofIntValueConverter | ||
14 | } | ||
15 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend new file mode 100644 index 00000000..ba3d39e6 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend | |||
@@ -0,0 +1,35 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion | ||
2 | |||
3 | import org.eclipse.xtext.conversion.ValueConverterException | ||
4 | import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter | ||
5 | import org.eclipse.xtext.nodemodel.INode | ||
6 | |||
7 | class OF_INTValueConverter extends AbstractLexerBasedConverter<Integer> { | ||
8 | static val PREFIX = "of" | ||
9 | |||
10 | override toValue(String string, INode node) throws ValueConverterException { | ||
11 | if (string === null) { | ||
12 | return null | ||
13 | } | ||
14 | if (string.length < PREFIX.length || string.substring(0, PREFIX.length) != PREFIX) { | ||
15 | throw new ValueConverterException("'" + string + "' must start with the characters 'of'.", node, null); | ||
16 | } | ||
17 | try { | ||
18 | val intValue = Integer.parseInt(string.substring(PREFIX.length), 10) | ||
19 | Integer.valueOf(intValue) | ||
20 | } catch (NumberFormatException e) { | ||
21 | throw new ValueConverterException("Couldn't convert '" + string + "' to an int value.", node, e); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | override protected toEscapedString(Integer value) { | ||
26 | PREFIX + value | ||
27 | } | ||
28 | |||
29 | override protected assertValidValue(Integer value) { | ||
30 | super.assertValidValue(value) | ||
31 | if (value < 0) { | ||
32 | throw new ValueConverterException(getRuleName() + " may not be negative.", null, null); | ||
33 | } | ||
34 | } | ||
35 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend index eb96901c..db89ebf9 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend | |||
@@ -1,8 +1,8 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.naming | 1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.naming |
2 | 2 | ||
3 | import com.google.inject.Inject | 3 | import com.google.inject.Inject |
4 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition | ||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition | 4 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition |
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition | ||
6 | import org.eclipse.emf.ecore.EObject | 6 | import org.eclipse.emf.ecore.EObject |
7 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider | 7 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider |
8 | 8 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend index ab708087..e95d8c91 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend | |||
@@ -5,13 +5,13 @@ package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping | |||
5 | 5 | ||
6 | import com.google.common.collect.Lists | 6 | import com.google.common.collect.Lists |
7 | import com.google.inject.Inject | 7 | import com.google.inject.Inject |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance |
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference |
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition |
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition | 11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition |
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition | 12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition |
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable | 13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable |
14 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition | ||
15 | import org.eclipse.emf.common.notify.Notifier | 15 | import org.eclipse.emf.common.notify.Notifier |
16 | import org.eclipse.emf.ecore.EObject | 16 | import org.eclipse.emf.ecore.EObject |
17 | import org.eclipse.emf.ecore.EReference | 17 | import org.eclipse.emf.ecore.EReference |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index 5f61bd34..638dac63 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index deb1eee6..414dfa3e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java index c63cd33c..e798e394 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java | |||
@@ -6,8 +6,10 @@ package hu.bme.mit.inf.dslreasoner.faulttree.components; | |||
6 | import com.google.inject.Binder; | 6 | import com.google.inject.Binder; |
7 | import com.google.inject.name.Names; | 7 | import com.google.inject.name.Names; |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.AbstractCftLanguageRuntimeModule; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.AbstractCftLanguageRuntimeModule; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider; | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider; |
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; | 11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; |
12 | import org.eclipse.xtext.conversion.IValueConverterService; | ||
11 | import org.eclipse.xtext.naming.IQualifiedNameProvider; | 13 | import org.eclipse.xtext.naming.IQualifiedNameProvider; |
12 | import org.eclipse.xtext.scoping.IGlobalScopeProvider; | 14 | import org.eclipse.xtext.scoping.IGlobalScopeProvider; |
13 | import org.eclipse.xtext.scoping.IScopeProvider; | 15 | import org.eclipse.xtext.scoping.IScopeProvider; |
@@ -34,4 +36,9 @@ public class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule { | |||
34 | public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { | 36 | public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { |
35 | return CftLanguageQualifiedNameProvider.class; | 37 | return CftLanguageQualifiedNameProvider.class; |
36 | } | 38 | } |
39 | |||
40 | @Override | ||
41 | public Class<? extends IValueConverterService> bindIValueConverterService() { | ||
42 | return CftLanguageValueConverterService.class; | ||
43 | } | ||
37 | } | 44 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin new file mode 100644 index 00000000..80e91ebf --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin new file mode 100644 index 00000000..6787af3f --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore new file mode 100644 index 00000000..1cb9dafb --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | /.OF_INTValueConverter.java._trace | ||
2 | /.CftLanguageValueConverterService.java._trace | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java new file mode 100644 index 00000000..f14362c9 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java | |||
@@ -0,0 +1,18 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion; | ||
2 | |||
3 | import com.google.inject.Inject; | ||
4 | import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.OF_INTValueConverter; | ||
5 | import org.eclipse.xtext.common.services.DefaultTerminalConverters; | ||
6 | import org.eclipse.xtext.conversion.IValueConverter; | ||
7 | import org.eclipse.xtext.conversion.ValueConverter; | ||
8 | |||
9 | @SuppressWarnings("all") | ||
10 | public class CftLanguageValueConverterService extends DefaultTerminalConverters { | ||
11 | @Inject | ||
12 | private OF_INTValueConverter ofIntValueConverter; | ||
13 | |||
14 | @ValueConverter(rule = "OF_INT") | ||
15 | public IValueConverter<Integer> OF_INT() { | ||
16 | return this.ofIntValueConverter; | ||
17 | } | ||
18 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java new file mode 100644 index 00000000..0fd2375e --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java | |||
@@ -0,0 +1,58 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion; | ||
2 | |||
3 | import com.google.common.base.Objects; | ||
4 | import org.eclipse.xtext.conversion.ValueConverterException; | ||
5 | import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; | ||
6 | import org.eclipse.xtext.nodemodel.INode; | ||
7 | import org.eclipse.xtext.xbase.lib.Exceptions; | ||
8 | |||
9 | @SuppressWarnings("all") | ||
10 | public class OF_INTValueConverter extends AbstractLexerBasedConverter<Integer> { | ||
11 | private static final String PREFIX = "of"; | ||
12 | |||
13 | @Override | ||
14 | public Integer toValue(final String string, final INode node) throws ValueConverterException { | ||
15 | Integer _xblockexpression = null; | ||
16 | { | ||
17 | if ((string == null)) { | ||
18 | return null; | ||
19 | } | ||
20 | if (((string.length() < OF_INTValueConverter.PREFIX.length()) || (!Objects.equal(string.substring(0, OF_INTValueConverter.PREFIX.length()), OF_INTValueConverter.PREFIX)))) { | ||
21 | throw new ValueConverterException((("\'" + string) + "\' must start with the characters \'of\'."), node, null); | ||
22 | } | ||
23 | Integer _xtrycatchfinallyexpression = null; | ||
24 | try { | ||
25 | Integer _xblockexpression_1 = null; | ||
26 | { | ||
27 | final int intValue = Integer.parseInt(string.substring(OF_INTValueConverter.PREFIX.length()), 10); | ||
28 | _xblockexpression_1 = Integer.valueOf(intValue); | ||
29 | } | ||
30 | _xtrycatchfinallyexpression = _xblockexpression_1; | ||
31 | } catch (final Throwable _t) { | ||
32 | if (_t instanceof NumberFormatException) { | ||
33 | final NumberFormatException e = (NumberFormatException)_t; | ||
34 | throw new ValueConverterException((("Couldn\'t convert \'" + string) + "\' to an int value."), node, e); | ||
35 | } else { | ||
36 | throw Exceptions.sneakyThrow(_t); | ||
37 | } | ||
38 | } | ||
39 | _xblockexpression = _xtrycatchfinallyexpression; | ||
40 | } | ||
41 | return _xblockexpression; | ||
42 | } | ||
43 | |||
44 | @Override | ||
45 | protected String toEscapedString(final Integer value) { | ||
46 | return (OF_INTValueConverter.PREFIX + value); | ||
47 | } | ||
48 | |||
49 | @Override | ||
50 | protected void assertValidValue(final Integer value) { | ||
51 | super.assertValidValue(value); | ||
52 | if (((value).intValue() < 0)) { | ||
53 | String _ruleName = this.getRuleName(); | ||
54 | String _plus = (_ruleName + " may not be negative."); | ||
55 | throw new ValueConverterException(_plus, null, null); | ||
56 | } | ||
57 | } | ||
58 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index a974921d..0ad3ae5a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index 73ada4f1..6dde8420 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index 6f4eaae7..fc3d90f0 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java index 4e0607dd..24ebaccb 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java | |||
@@ -1,9 +1,9 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.naming; | 1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.naming; |
2 | 2 | ||
3 | import com.google.inject.Inject; | 3 | import com.google.inject.Inject; |
4 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | 4 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; |
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider; | 5 | import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider; |
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
7 | import org.eclipse.emf.ecore.EObject; | 7 | import org.eclipse.emf.ecore.EObject; |
8 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; | 8 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; |
9 | import org.eclipse.xtext.naming.QualifiedName; | 9 | import org.eclipse.xtext.naming.QualifiedName; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index 4a0036bd..c570dbe3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 722c0e58..40e8786a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java index 0149c8d1..9286d5ca 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java | |||
@@ -7,9 +7,7 @@ import com.google.common.base.Objects; | |||
7 | import com.google.common.collect.Lists; | 7 | import com.google.common.collect.Lists; |
8 | import com.google.inject.Inject; | 8 | import com.google.inject.Inject; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; |
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | 10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; |
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | 11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; |
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; | 12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; |
15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | 13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; |
@@ -18,6 +16,8 @@ import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Transformatio | |||
18 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; | 16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; |
19 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.AbstractCftLanguageScopeProvider; | 17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.AbstractCftLanguageScopeProvider; |
20 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; | 18 | import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; |
19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
20 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
21 | import java.util.ArrayList; | 21 | import java.util.ArrayList; |
22 | import org.eclipse.emf.common.notify.Notifier; | 22 | import org.eclipse.emf.common.notify.Notifier; |
23 | import org.eclipse.emf.ecore.EObject; | 23 | import org.eclipse.emf.ecore.EObject; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index c978854b..683ac14e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath new file mode 100644 index 00000000..5bc9ff04 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath | |||
@@ -0,0 +1,8 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <classpath> | ||
3 | <classpathentry kind="src" path="ecore-gen"/> | ||
4 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
5 | <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
6 | <classpathentry kind="src" path="src"/> | ||
7 | <classpathentry kind="output" path="bin"/> | ||
8 | </classpath> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore | |||
@@ -0,0 +1 @@ | |||
/bin/ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project new file mode 100644 index 00000000..a86ce76f --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project | |||
@@ -0,0 +1,35 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>hu.bme.mit.inf.dslreasoner.faulttree.model</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | <buildCommand> | ||
9 | <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> | ||
10 | <arguments> | ||
11 | </arguments> | ||
12 | </buildCommand> | ||
13 | <buildCommand> | ||
14 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
15 | <arguments> | ||
16 | </arguments> | ||
17 | </buildCommand> | ||
18 | <buildCommand> | ||
19 | <name>org.eclipse.pde.ManifestBuilder</name> | ||
20 | <arguments> | ||
21 | </arguments> | ||
22 | </buildCommand> | ||
23 | <buildCommand> | ||
24 | <name>org.eclipse.pde.SchemaBuilder</name> | ||
25 | <arguments> | ||
26 | </arguments> | ||
27 | </buildCommand> | ||
28 | </buildSpec> | ||
29 | <natures> | ||
30 | <nature>org.eclipse.sirius.nature.modelingproject</nature> | ||
31 | <nature>org.eclipse.pde.PluginNature</nature> | ||
32 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
33 | <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> | ||
34 | </natures> | ||
35 | </projectDescription> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..0c68a61d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs | |||
@@ -0,0 +1,7 @@ | |||
1 | eclipse.preferences.version=1 | ||
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
4 | org.eclipse.jdt.core.compiler.compliance=1.8 | ||
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
7 | org.eclipse.jdt.core.compiler.source=1.8 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF new file mode 100644 index 00000000..eeabfee3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF | |||
@@ -0,0 +1,20 @@ | |||
1 | Manifest-Version: 1.0 | ||
2 | Bundle-ManifestVersion: 2 | ||
3 | Bundle-Name: %pluginName | ||
4 | Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.model;singleton:=true | ||
5 | Bundle-Version: 1.0.0.qualifier | ||
6 | Bundle-ClassPath: . | ||
7 | Bundle-Vendor: %providerName | ||
8 | Bundle-Localization: plugin | ||
9 | Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.model | ||
10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
11 | Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.model.ft, | ||
12 | hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl, | ||
13 | hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util, | ||
14 | hu.bme.mit.inf.dslreasoner.faulttree.model.cft, | ||
15 | hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl, | ||
16 | hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util | ||
17 | Require-Bundle: org.eclipse.core.runtime, | ||
18 | org.eclipse.emf.ecore;visibility:=reexport, | ||
19 | hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport | ||
20 | Bundle-ActivationPolicy: lazy | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties new file mode 100644 index 00000000..6d7585eb --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | |||
3 | bin.includes = .,\ | ||
4 | model/,\ | ||
5 | META-INF/,\ | ||
6 | plugin.xml,\ | ||
7 | plugin.properties | ||
8 | jars.compile.order = . | ||
9 | source.. = src/,\ | ||
10 | ecore-gen/ | ||
11 | output.. = bin/ | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java new file mode 100644 index 00000000..cdae0f09 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>And Gate Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getAndGateDefinition() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface AndGateDefinition extends GateDefinition { | ||
17 | } // AndGateDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java new file mode 100644 index 00000000..c963dbfe --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Basic Event Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution <em>Distribution</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getBasicEventDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface BasicEventDefinition extends EventDefinition { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Distribution</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Distribution</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Distribution</em>' containment reference. | ||
33 | * @see #setDistribution(Distribution) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getBasicEventDefinition_Distribution() | ||
35 | * @model containment="true" required="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | Distribution getDistribution(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution <em>Distribution</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Distribution</em>' containment reference. | ||
45 | * @see #getDistribution() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setDistribution(Distribution value); | ||
49 | |||
50 | } // BasicEventDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java new file mode 100644 index 00000000..d5f4cd76 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java | |||
@@ -0,0 +1,132 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface CftFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | CftFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Component Definition</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Component Definition</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | ComponentDefinition createComponentDefinition(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Basic Event Definition</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Basic Event Definition</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | BasicEventDefinition createBasicEventDefinition(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Intput Event</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Intput Event</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | IntputEvent createIntputEvent(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>And Gate Definition</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>And Gate Definition</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | AndGateDefinition createAndGateDefinition(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Or Gate Definition</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Or Gate Definition</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | OrGateDefinition createOrGateDefinition(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>KOf MGate Definition</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>KOf MGate Definition</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | KOfMGateDefinition createKOfMGateDefinition(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Component Fault Tree</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Component Fault Tree</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | ComponentFaultTree createComponentFaultTree(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>Component</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>Component</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | Component createComponent(); | ||
95 | |||
96 | /** | ||
97 | * Returns a new object of class '<em>Input</em>'. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @return a new object of class '<em>Input</em>'. | ||
101 | * @generated | ||
102 | */ | ||
103 | Input createInput(); | ||
104 | |||
105 | /** | ||
106 | * Returns a new object of class '<em>Output</em>'. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @return a new object of class '<em>Output</em>'. | ||
110 | * @generated | ||
111 | */ | ||
112 | Output createOutput(); | ||
113 | |||
114 | /** | ||
115 | * Returns a new object of class '<em>Connection</em>'. | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @return a new object of class '<em>Connection</em>'. | ||
119 | * @generated | ||
120 | */ | ||
121 | Connection createConnection(); | ||
122 | |||
123 | /** | ||
124 | * Returns the package supported by this factory. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @return the package supported by this factory. | ||
128 | * @generated | ||
129 | */ | ||
130 | CftPackage getCftPackage(); | ||
131 | |||
132 | } //CftFactory | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java new file mode 100644 index 00000000..8cf7dbc6 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java | |||
@@ -0,0 +1,1491 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * The <b>Package</b> for the model. | ||
13 | * It contains accessors for the meta objects to represent | ||
14 | * <ul> | ||
15 | * <li>each class,</li> | ||
16 | * <li>each feature of each class,</li> | ||
17 | * <li>each operation of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface CftPackage extends EPackage { | ||
27 | /** | ||
28 | * The package name. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | String eNAME = "cft"; | ||
34 | |||
35 | /** | ||
36 | * The package namespace URI. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft"; | ||
42 | |||
43 | /** | ||
44 | * The package namespace name. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | String eNS_PREFIX = "cft"; | ||
50 | |||
51 | /** | ||
52 | * The singleton instance of the package. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | CftPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl.init(); | ||
58 | |||
59 | /** | ||
60 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl | ||
64 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition() | ||
65 | * @generated | ||
66 | */ | ||
67 | int COMPONENT_DEFINITION = 0; | ||
68 | |||
69 | /** | ||
70 | * The feature id for the '<em><b>Input Events</b></em>' containment reference list. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | int COMPONENT_DEFINITION__INPUT_EVENTS = 0; | ||
77 | |||
78 | /** | ||
79 | * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | int COMPONENT_DEFINITION__EVENT_DEFINITIONS = 1; | ||
86 | |||
87 | /** | ||
88 | * The feature id for the '<em><b>Output Events</b></em>' reference list. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | int COMPONENT_DEFINITION__OUTPUT_EVENTS = 2; | ||
95 | |||
96 | /** | ||
97 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | * @ordered | ||
102 | */ | ||
103 | int COMPONENT_DEFINITION__NAME = 3; | ||
104 | |||
105 | /** | ||
106 | * The number of structural features of the '<em>Component Definition</em>' class. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | * @ordered | ||
111 | */ | ||
112 | int COMPONENT_DEFINITION_FEATURE_COUNT = 4; | ||
113 | |||
114 | /** | ||
115 | * The number of operations of the '<em>Component Definition</em>' class. | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | * @ordered | ||
120 | */ | ||
121 | int COMPONENT_DEFINITION_OPERATION_COUNT = 0; | ||
122 | |||
123 | /** | ||
124 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl <em>Event Declaration</em>}' class. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl | ||
128 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration() | ||
129 | * @generated | ||
130 | */ | ||
131 | int EVENT_DECLARATION = 5; | ||
132 | |||
133 | /** | ||
134 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | int EVENT_DECLARATION__NAME = 0; | ||
141 | |||
142 | /** | ||
143 | * The number of structural features of the '<em>Event Declaration</em>' class. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | * @ordered | ||
148 | */ | ||
149 | int EVENT_DECLARATION_FEATURE_COUNT = 1; | ||
150 | |||
151 | /** | ||
152 | * The number of operations of the '<em>Event Declaration</em>' class. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | * @ordered | ||
157 | */ | ||
158 | int EVENT_DECLARATION_OPERATION_COUNT = 0; | ||
159 | |||
160 | /** | ||
161 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl <em>Event Definition</em>}' class. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl | ||
165 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition() | ||
166 | * @generated | ||
167 | */ | ||
168 | int EVENT_DEFINITION = 1; | ||
169 | |||
170 | /** | ||
171 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | * @ordered | ||
176 | */ | ||
177 | int EVENT_DEFINITION__NAME = EVENT_DECLARATION__NAME; | ||
178 | |||
179 | /** | ||
180 | * The number of structural features of the '<em>Event Definition</em>' class. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | int EVENT_DEFINITION_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 0; | ||
187 | |||
188 | /** | ||
189 | * The number of operations of the '<em>Event Definition</em>' class. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | * @ordered | ||
194 | */ | ||
195 | int EVENT_DEFINITION_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0; | ||
196 | |||
197 | /** | ||
198 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl <em>Gate Definition</em>}' class. | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl | ||
202 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition() | ||
203 | * @generated | ||
204 | */ | ||
205 | int GATE_DEFINITION = 2; | ||
206 | |||
207 | /** | ||
208 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | * @ordered | ||
213 | */ | ||
214 | int GATE_DEFINITION__NAME = EVENT_DEFINITION__NAME; | ||
215 | |||
216 | /** | ||
217 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | * @ordered | ||
222 | */ | ||
223 | int GATE_DEFINITION__INPUT_EVENTS = EVENT_DEFINITION_FEATURE_COUNT + 0; | ||
224 | |||
225 | /** | ||
226 | * The number of structural features of the '<em>Gate Definition</em>' class. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | * @ordered | ||
231 | */ | ||
232 | int GATE_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; | ||
233 | |||
234 | /** | ||
235 | * The number of operations of the '<em>Gate Definition</em>' class. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | * @ordered | ||
240 | */ | ||
241 | int GATE_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0; | ||
242 | |||
243 | /** | ||
244 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class. | ||
245 | * <!-- begin-user-doc --> | ||
246 | * <!-- end-user-doc --> | ||
247 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl | ||
248 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition() | ||
249 | * @generated | ||
250 | */ | ||
251 | int BASIC_EVENT_DEFINITION = 3; | ||
252 | |||
253 | /** | ||
254 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | * @ordered | ||
259 | */ | ||
260 | int BASIC_EVENT_DEFINITION__NAME = EVENT_DEFINITION__NAME; | ||
261 | |||
262 | /** | ||
263 | * The feature id for the '<em><b>Distribution</b></em>' containment reference. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | * @ordered | ||
268 | */ | ||
269 | int BASIC_EVENT_DEFINITION__DISTRIBUTION = EVENT_DEFINITION_FEATURE_COUNT + 0; | ||
270 | |||
271 | /** | ||
272 | * The number of structural features of the '<em>Basic Event Definition</em>' class. | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | * @ordered | ||
277 | */ | ||
278 | int BASIC_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; | ||
279 | |||
280 | /** | ||
281 | * The number of operations of the '<em>Basic Event Definition</em>' class. | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | * @ordered | ||
286 | */ | ||
287 | int BASIC_EVENT_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0; | ||
288 | |||
289 | /** | ||
290 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl <em>Intput Event</em>}' class. | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl | ||
294 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getIntputEvent() | ||
295 | * @generated | ||
296 | */ | ||
297 | int INTPUT_EVENT = 4; | ||
298 | |||
299 | /** | ||
300 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | * @ordered | ||
305 | */ | ||
306 | int INTPUT_EVENT__NAME = EVENT_DECLARATION__NAME; | ||
307 | |||
308 | /** | ||
309 | * The feature id for the '<em><b>Multiple</b></em>' attribute. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | * @ordered | ||
314 | */ | ||
315 | int INTPUT_EVENT__MULTIPLE = EVENT_DECLARATION_FEATURE_COUNT + 0; | ||
316 | |||
317 | /** | ||
318 | * The number of structural features of the '<em>Intput Event</em>' class. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | * @ordered | ||
323 | */ | ||
324 | int INTPUT_EVENT_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 1; | ||
325 | |||
326 | /** | ||
327 | * The number of operations of the '<em>Intput Event</em>' class. | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | * @ordered | ||
332 | */ | ||
333 | int INTPUT_EVENT_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0; | ||
334 | |||
335 | /** | ||
336 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl <em>And Gate Definition</em>}' class. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl | ||
340 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition() | ||
341 | * @generated | ||
342 | */ | ||
343 | int AND_GATE_DEFINITION = 6; | ||
344 | |||
345 | /** | ||
346 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | * @ordered | ||
351 | */ | ||
352 | int AND_GATE_DEFINITION__NAME = GATE_DEFINITION__NAME; | ||
353 | |||
354 | /** | ||
355 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | * @ordered | ||
360 | */ | ||
361 | int AND_GATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; | ||
362 | |||
363 | /** | ||
364 | * The number of structural features of the '<em>And Gate Definition</em>' class. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @generated | ||
368 | * @ordered | ||
369 | */ | ||
370 | int AND_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; | ||
371 | |||
372 | /** | ||
373 | * The number of operations of the '<em>And Gate Definition</em>' class. | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @generated | ||
377 | * @ordered | ||
378 | */ | ||
379 | int AND_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; | ||
380 | |||
381 | /** | ||
382 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl <em>Or Gate Definition</em>}' class. | ||
383 | * <!-- begin-user-doc --> | ||
384 | * <!-- end-user-doc --> | ||
385 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl | ||
386 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition() | ||
387 | * @generated | ||
388 | */ | ||
389 | int OR_GATE_DEFINITION = 7; | ||
390 | |||
391 | /** | ||
392 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | * @ordered | ||
397 | */ | ||
398 | int OR_GATE_DEFINITION__NAME = GATE_DEFINITION__NAME; | ||
399 | |||
400 | /** | ||
401 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
402 | * <!-- begin-user-doc --> | ||
403 | * <!-- end-user-doc --> | ||
404 | * @generated | ||
405 | * @ordered | ||
406 | */ | ||
407 | int OR_GATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; | ||
408 | |||
409 | /** | ||
410 | * The number of structural features of the '<em>Or Gate Definition</em>' class. | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @generated | ||
414 | * @ordered | ||
415 | */ | ||
416 | int OR_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; | ||
417 | |||
418 | /** | ||
419 | * The number of operations of the '<em>Or Gate Definition</em>' class. | ||
420 | * <!-- begin-user-doc --> | ||
421 | * <!-- end-user-doc --> | ||
422 | * @generated | ||
423 | * @ordered | ||
424 | */ | ||
425 | int OR_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; | ||
426 | |||
427 | /** | ||
428 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl <em>KOf MGate Definition</em>}' class. | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl | ||
432 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition() | ||
433 | * @generated | ||
434 | */ | ||
435 | int KOF_MGATE_DEFINITION = 8; | ||
436 | |||
437 | /** | ||
438 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | * @ordered | ||
443 | */ | ||
444 | int KOF_MGATE_DEFINITION__NAME = GATE_DEFINITION__NAME; | ||
445 | |||
446 | /** | ||
447 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
448 | * <!-- begin-user-doc --> | ||
449 | * <!-- end-user-doc --> | ||
450 | * @generated | ||
451 | * @ordered | ||
452 | */ | ||
453 | int KOF_MGATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; | ||
454 | |||
455 | /** | ||
456 | * The feature id for the '<em><b>K</b></em>' attribute. | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | * @ordered | ||
461 | */ | ||
462 | int KOF_MGATE_DEFINITION__K = GATE_DEFINITION_FEATURE_COUNT + 0; | ||
463 | |||
464 | /** | ||
465 | * The feature id for the '<em><b>M</b></em>' attribute. | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | * @ordered | ||
470 | */ | ||
471 | int KOF_MGATE_DEFINITION__M = GATE_DEFINITION_FEATURE_COUNT + 1; | ||
472 | |||
473 | /** | ||
474 | * The number of structural features of the '<em>KOf MGate Definition</em>' class. | ||
475 | * <!-- begin-user-doc --> | ||
476 | * <!-- end-user-doc --> | ||
477 | * @generated | ||
478 | * @ordered | ||
479 | */ | ||
480 | int KOF_MGATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 2; | ||
481 | |||
482 | /** | ||
483 | * The number of operations of the '<em>KOf MGate Definition</em>' class. | ||
484 | * <!-- begin-user-doc --> | ||
485 | * <!-- end-user-doc --> | ||
486 | * @generated | ||
487 | * @ordered | ||
488 | */ | ||
489 | int KOF_MGATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; | ||
490 | |||
491 | /** | ||
492 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl <em>Component Fault Tree</em>}' class. | ||
493 | * <!-- begin-user-doc --> | ||
494 | * <!-- end-user-doc --> | ||
495 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl | ||
496 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree() | ||
497 | * @generated | ||
498 | */ | ||
499 | int COMPONENT_FAULT_TREE = 9; | ||
500 | |||
501 | /** | ||
502 | * The feature id for the '<em><b>Components</b></em>' containment reference list. | ||
503 | * <!-- begin-user-doc --> | ||
504 | * <!-- end-user-doc --> | ||
505 | * @generated | ||
506 | * @ordered | ||
507 | */ | ||
508 | int COMPONENT_FAULT_TREE__COMPONENTS = 0; | ||
509 | |||
510 | /** | ||
511 | * The feature id for the '<em><b>Top Event</b></em>' reference. | ||
512 | * <!-- begin-user-doc --> | ||
513 | * <!-- end-user-doc --> | ||
514 | * @generated | ||
515 | * @ordered | ||
516 | */ | ||
517 | int COMPONENT_FAULT_TREE__TOP_EVENT = 1; | ||
518 | |||
519 | /** | ||
520 | * The number of structural features of the '<em>Component Fault Tree</em>' class. | ||
521 | * <!-- begin-user-doc --> | ||
522 | * <!-- end-user-doc --> | ||
523 | * @generated | ||
524 | * @ordered | ||
525 | */ | ||
526 | int COMPONENT_FAULT_TREE_FEATURE_COUNT = 2; | ||
527 | |||
528 | /** | ||
529 | * The number of operations of the '<em>Component Fault Tree</em>' class. | ||
530 | * <!-- begin-user-doc --> | ||
531 | * <!-- end-user-doc --> | ||
532 | * @generated | ||
533 | * @ordered | ||
534 | */ | ||
535 | int COMPONENT_FAULT_TREE_OPERATION_COUNT = 0; | ||
536 | |||
537 | /** | ||
538 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl <em>Component</em>}' class. | ||
539 | * <!-- begin-user-doc --> | ||
540 | * <!-- end-user-doc --> | ||
541 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl | ||
542 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent() | ||
543 | * @generated | ||
544 | */ | ||
545 | int COMPONENT = 10; | ||
546 | |||
547 | /** | ||
548 | * The feature id for the '<em><b>Inputs</b></em>' containment reference list. | ||
549 | * <!-- begin-user-doc --> | ||
550 | * <!-- end-user-doc --> | ||
551 | * @generated | ||
552 | * @ordered | ||
553 | */ | ||
554 | int COMPONENT__INPUTS = 0; | ||
555 | |||
556 | /** | ||
557 | * The feature id for the '<em><b>Outputs</b></em>' containment reference list. | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | * @ordered | ||
562 | */ | ||
563 | int COMPONENT__OUTPUTS = 1; | ||
564 | |||
565 | /** | ||
566 | * The feature id for the '<em><b>Component Definition</b></em>' reference. | ||
567 | * <!-- begin-user-doc --> | ||
568 | * <!-- end-user-doc --> | ||
569 | * @generated | ||
570 | * @ordered | ||
571 | */ | ||
572 | int COMPONENT__COMPONENT_DEFINITION = 2; | ||
573 | |||
574 | /** | ||
575 | * The number of structural features of the '<em>Component</em>' class. | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | * @ordered | ||
580 | */ | ||
581 | int COMPONENT_FEATURE_COUNT = 3; | ||
582 | |||
583 | /** | ||
584 | * The number of operations of the '<em>Component</em>' class. | ||
585 | * <!-- begin-user-doc --> | ||
586 | * <!-- end-user-doc --> | ||
587 | * @generated | ||
588 | * @ordered | ||
589 | */ | ||
590 | int COMPONENT_OPERATION_COUNT = 0; | ||
591 | |||
592 | /** | ||
593 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl <em>Input</em>}' class. | ||
594 | * <!-- begin-user-doc --> | ||
595 | * <!-- end-user-doc --> | ||
596 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl | ||
597 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput() | ||
598 | * @generated | ||
599 | */ | ||
600 | int INPUT = 11; | ||
601 | |||
602 | /** | ||
603 | * The feature id for the '<em><b>Intput Event</b></em>' reference. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @generated | ||
607 | * @ordered | ||
608 | */ | ||
609 | int INPUT__INTPUT_EVENT = 0; | ||
610 | |||
611 | /** | ||
612 | * The feature id for the '<em><b>Component</b></em>' container reference. | ||
613 | * <!-- begin-user-doc --> | ||
614 | * <!-- end-user-doc --> | ||
615 | * @generated | ||
616 | * @ordered | ||
617 | */ | ||
618 | int INPUT__COMPONENT = 1; | ||
619 | |||
620 | /** | ||
621 | * The feature id for the '<em><b>Incoming Connections</b></em>' containment reference list. | ||
622 | * <!-- begin-user-doc --> | ||
623 | * <!-- end-user-doc --> | ||
624 | * @generated | ||
625 | * @ordered | ||
626 | */ | ||
627 | int INPUT__INCOMING_CONNECTIONS = 2; | ||
628 | |||
629 | /** | ||
630 | * The number of structural features of the '<em>Input</em>' class. | ||
631 | * <!-- begin-user-doc --> | ||
632 | * <!-- end-user-doc --> | ||
633 | * @generated | ||
634 | * @ordered | ||
635 | */ | ||
636 | int INPUT_FEATURE_COUNT = 3; | ||
637 | |||
638 | /** | ||
639 | * The number of operations of the '<em>Input</em>' class. | ||
640 | * <!-- begin-user-doc --> | ||
641 | * <!-- end-user-doc --> | ||
642 | * @generated | ||
643 | * @ordered | ||
644 | */ | ||
645 | int INPUT_OPERATION_COUNT = 0; | ||
646 | |||
647 | /** | ||
648 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl <em>Output</em>}' class. | ||
649 | * <!-- begin-user-doc --> | ||
650 | * <!-- end-user-doc --> | ||
651 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl | ||
652 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput() | ||
653 | * @generated | ||
654 | */ | ||
655 | int OUTPUT = 12; | ||
656 | |||
657 | /** | ||
658 | * The feature id for the '<em><b>Event Declaration</b></em>' reference. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * <!-- end-user-doc --> | ||
661 | * @generated | ||
662 | * @ordered | ||
663 | */ | ||
664 | int OUTPUT__EVENT_DECLARATION = 0; | ||
665 | |||
666 | /** | ||
667 | * The feature id for the '<em><b>Outgoing Connections</b></em>' reference list. | ||
668 | * <!-- begin-user-doc --> | ||
669 | * <!-- end-user-doc --> | ||
670 | * @generated | ||
671 | * @ordered | ||
672 | */ | ||
673 | int OUTPUT__OUTGOING_CONNECTIONS = 1; | ||
674 | |||
675 | /** | ||
676 | * The feature id for the '<em><b>Component</b></em>' container reference. | ||
677 | * <!-- begin-user-doc --> | ||
678 | * <!-- end-user-doc --> | ||
679 | * @generated | ||
680 | * @ordered | ||
681 | */ | ||
682 | int OUTPUT__COMPONENT = 2; | ||
683 | |||
684 | /** | ||
685 | * The number of structural features of the '<em>Output</em>' class. | ||
686 | * <!-- begin-user-doc --> | ||
687 | * <!-- end-user-doc --> | ||
688 | * @generated | ||
689 | * @ordered | ||
690 | */ | ||
691 | int OUTPUT_FEATURE_COUNT = 3; | ||
692 | |||
693 | /** | ||
694 | * The number of operations of the '<em>Output</em>' class. | ||
695 | * <!-- begin-user-doc --> | ||
696 | * <!-- end-user-doc --> | ||
697 | * @generated | ||
698 | * @ordered | ||
699 | */ | ||
700 | int OUTPUT_OPERATION_COUNT = 0; | ||
701 | |||
702 | /** | ||
703 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl <em>Connection</em>}' class. | ||
704 | * <!-- begin-user-doc --> | ||
705 | * <!-- end-user-doc --> | ||
706 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl | ||
707 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection() | ||
708 | * @generated | ||
709 | */ | ||
710 | int CONNECTION = 13; | ||
711 | |||
712 | /** | ||
713 | * The feature id for the '<em><b>Input</b></em>' container reference. | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | * @ordered | ||
718 | */ | ||
719 | int CONNECTION__INPUT = 0; | ||
720 | |||
721 | /** | ||
722 | * The feature id for the '<em><b>Output</b></em>' reference. | ||
723 | * <!-- begin-user-doc --> | ||
724 | * <!-- end-user-doc --> | ||
725 | * @generated | ||
726 | * @ordered | ||
727 | */ | ||
728 | int CONNECTION__OUTPUT = 1; | ||
729 | |||
730 | /** | ||
731 | * The number of structural features of the '<em>Connection</em>' class. | ||
732 | * <!-- begin-user-doc --> | ||
733 | * <!-- end-user-doc --> | ||
734 | * @generated | ||
735 | * @ordered | ||
736 | */ | ||
737 | int CONNECTION_FEATURE_COUNT = 2; | ||
738 | |||
739 | /** | ||
740 | * The number of operations of the '<em>Connection</em>' class. | ||
741 | * <!-- begin-user-doc --> | ||
742 | * <!-- end-user-doc --> | ||
743 | * @generated | ||
744 | * @ordered | ||
745 | */ | ||
746 | int CONNECTION_OPERATION_COUNT = 0; | ||
747 | |||
748 | |||
749 | /** | ||
750 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'. | ||
751 | * <!-- begin-user-doc --> | ||
752 | * <!-- end-user-doc --> | ||
753 | * @return the meta object for class '<em>Component Definition</em>'. | ||
754 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition | ||
755 | * @generated | ||
756 | */ | ||
757 | EClass getComponentDefinition(); | ||
758 | |||
759 | /** | ||
760 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents <em>Input Events</em>}'. | ||
761 | * <!-- begin-user-doc --> | ||
762 | * <!-- end-user-doc --> | ||
763 | * @return the meta object for the containment reference list '<em>Input Events</em>'. | ||
764 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents() | ||
765 | * @see #getComponentDefinition() | ||
766 | * @generated | ||
767 | */ | ||
768 | EReference getComponentDefinition_InputEvents(); | ||
769 | |||
770 | /** | ||
771 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions <em>Event Definitions</em>}'. | ||
772 | * <!-- begin-user-doc --> | ||
773 | * <!-- end-user-doc --> | ||
774 | * @return the meta object for the containment reference list '<em>Event Definitions</em>'. | ||
775 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions() | ||
776 | * @see #getComponentDefinition() | ||
777 | * @generated | ||
778 | */ | ||
779 | EReference getComponentDefinition_EventDefinitions(); | ||
780 | |||
781 | /** | ||
782 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents <em>Output Events</em>}'. | ||
783 | * <!-- begin-user-doc --> | ||
784 | * <!-- end-user-doc --> | ||
785 | * @return the meta object for the reference list '<em>Output Events</em>'. | ||
786 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents() | ||
787 | * @see #getComponentDefinition() | ||
788 | * @generated | ||
789 | */ | ||
790 | EReference getComponentDefinition_OutputEvents(); | ||
791 | |||
792 | /** | ||
793 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName <em>Name</em>}'. | ||
794 | * <!-- begin-user-doc --> | ||
795 | * <!-- end-user-doc --> | ||
796 | * @return the meta object for the attribute '<em>Name</em>'. | ||
797 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName() | ||
798 | * @see #getComponentDefinition() | ||
799 | * @generated | ||
800 | */ | ||
801 | EAttribute getComponentDefinition_Name(); | ||
802 | |||
803 | /** | ||
804 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'. | ||
805 | * <!-- begin-user-doc --> | ||
806 | * <!-- end-user-doc --> | ||
807 | * @return the meta object for class '<em>Event Definition</em>'. | ||
808 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition | ||
809 | * @generated | ||
810 | */ | ||
811 | EClass getEventDefinition(); | ||
812 | |||
813 | /** | ||
814 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'. | ||
815 | * <!-- begin-user-doc --> | ||
816 | * <!-- end-user-doc --> | ||
817 | * @return the meta object for class '<em>Gate Definition</em>'. | ||
818 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition | ||
819 | * @generated | ||
820 | */ | ||
821 | EClass getGateDefinition(); | ||
822 | |||
823 | /** | ||
824 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents <em>Input Events</em>}'. | ||
825 | * <!-- begin-user-doc --> | ||
826 | * <!-- end-user-doc --> | ||
827 | * @return the meta object for the reference list '<em>Input Events</em>'. | ||
828 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents() | ||
829 | * @see #getGateDefinition() | ||
830 | * @generated | ||
831 | */ | ||
832 | EReference getGateDefinition_InputEvents(); | ||
833 | |||
834 | /** | ||
835 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
836 | * <!-- begin-user-doc --> | ||
837 | * <!-- end-user-doc --> | ||
838 | * @return the meta object for class '<em>Basic Event Definition</em>'. | ||
839 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition | ||
840 | * @generated | ||
841 | */ | ||
842 | EClass getBasicEventDefinition(); | ||
843 | |||
844 | /** | ||
845 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution <em>Distribution</em>}'. | ||
846 | * <!-- begin-user-doc --> | ||
847 | * <!-- end-user-doc --> | ||
848 | * @return the meta object for the containment reference '<em>Distribution</em>'. | ||
849 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution() | ||
850 | * @see #getBasicEventDefinition() | ||
851 | * @generated | ||
852 | */ | ||
853 | EReference getBasicEventDefinition_Distribution(); | ||
854 | |||
855 | /** | ||
856 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent <em>Intput Event</em>}'. | ||
857 | * <!-- begin-user-doc --> | ||
858 | * <!-- end-user-doc --> | ||
859 | * @return the meta object for class '<em>Intput Event</em>'. | ||
860 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent | ||
861 | * @generated | ||
862 | */ | ||
863 | EClass getIntputEvent(); | ||
864 | |||
865 | /** | ||
866 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent#isMultiple <em>Multiple</em>}'. | ||
867 | * <!-- begin-user-doc --> | ||
868 | * <!-- end-user-doc --> | ||
869 | * @return the meta object for the attribute '<em>Multiple</em>'. | ||
870 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent#isMultiple() | ||
871 | * @see #getIntputEvent() | ||
872 | * @generated | ||
873 | */ | ||
874 | EAttribute getIntputEvent_Multiple(); | ||
875 | |||
876 | /** | ||
877 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</em>}'. | ||
878 | * <!-- begin-user-doc --> | ||
879 | * <!-- end-user-doc --> | ||
880 | * @return the meta object for class '<em>Event Declaration</em>'. | ||
881 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration | ||
882 | * @generated | ||
883 | */ | ||
884 | EClass getEventDeclaration(); | ||
885 | |||
886 | /** | ||
887 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName <em>Name</em>}'. | ||
888 | * <!-- begin-user-doc --> | ||
889 | * <!-- end-user-doc --> | ||
890 | * @return the meta object for the attribute '<em>Name</em>'. | ||
891 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName() | ||
892 | * @see #getEventDeclaration() | ||
893 | * @generated | ||
894 | */ | ||
895 | EAttribute getEventDeclaration_Name(); | ||
896 | |||
897 | /** | ||
898 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'. | ||
899 | * <!-- begin-user-doc --> | ||
900 | * <!-- end-user-doc --> | ||
901 | * @return the meta object for class '<em>And Gate Definition</em>'. | ||
902 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition | ||
903 | * @generated | ||
904 | */ | ||
905 | EClass getAndGateDefinition(); | ||
906 | |||
907 | /** | ||
908 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'. | ||
909 | * <!-- begin-user-doc --> | ||
910 | * <!-- end-user-doc --> | ||
911 | * @return the meta object for class '<em>Or Gate Definition</em>'. | ||
912 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition | ||
913 | * @generated | ||
914 | */ | ||
915 | EClass getOrGateDefinition(); | ||
916 | |||
917 | /** | ||
918 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'. | ||
919 | * <!-- begin-user-doc --> | ||
920 | * <!-- end-user-doc --> | ||
921 | * @return the meta object for class '<em>KOf MGate Definition</em>'. | ||
922 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition | ||
923 | * @generated | ||
924 | */ | ||
925 | EClass getKOfMGateDefinition(); | ||
926 | |||
927 | /** | ||
928 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK <em>K</em>}'. | ||
929 | * <!-- begin-user-doc --> | ||
930 | * <!-- end-user-doc --> | ||
931 | * @return the meta object for the attribute '<em>K</em>'. | ||
932 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK() | ||
933 | * @see #getKOfMGateDefinition() | ||
934 | * @generated | ||
935 | */ | ||
936 | EAttribute getKOfMGateDefinition_K(); | ||
937 | |||
938 | /** | ||
939 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM <em>M</em>}'. | ||
940 | * <!-- begin-user-doc --> | ||
941 | * <!-- end-user-doc --> | ||
942 | * @return the meta object for the attribute '<em>M</em>'. | ||
943 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM() | ||
944 | * @see #getKOfMGateDefinition() | ||
945 | * @generated | ||
946 | */ | ||
947 | EAttribute getKOfMGateDefinition_M(); | ||
948 | |||
949 | /** | ||
950 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'. | ||
951 | * <!-- begin-user-doc --> | ||
952 | * <!-- end-user-doc --> | ||
953 | * @return the meta object for class '<em>Component Fault Tree</em>'. | ||
954 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree | ||
955 | * @generated | ||
956 | */ | ||
957 | EClass getComponentFaultTree(); | ||
958 | |||
959 | /** | ||
960 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents <em>Components</em>}'. | ||
961 | * <!-- begin-user-doc --> | ||
962 | * <!-- end-user-doc --> | ||
963 | * @return the meta object for the containment reference list '<em>Components</em>'. | ||
964 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents() | ||
965 | * @see #getComponentFaultTree() | ||
966 | * @generated | ||
967 | */ | ||
968 | EReference getComponentFaultTree_Components(); | ||
969 | |||
970 | /** | ||
971 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent <em>Top Event</em>}'. | ||
972 | * <!-- begin-user-doc --> | ||
973 | * <!-- end-user-doc --> | ||
974 | * @return the meta object for the reference '<em>Top Event</em>'. | ||
975 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent() | ||
976 | * @see #getComponentFaultTree() | ||
977 | * @generated | ||
978 | */ | ||
979 | EReference getComponentFaultTree_TopEvent(); | ||
980 | |||
981 | /** | ||
982 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'. | ||
983 | * <!-- begin-user-doc --> | ||
984 | * <!-- end-user-doc --> | ||
985 | * @return the meta object for class '<em>Component</em>'. | ||
986 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component | ||
987 | * @generated | ||
988 | */ | ||
989 | EClass getComponent(); | ||
990 | |||
991 | /** | ||
992 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs <em>Inputs</em>}'. | ||
993 | * <!-- begin-user-doc --> | ||
994 | * <!-- end-user-doc --> | ||
995 | * @return the meta object for the containment reference list '<em>Inputs</em>'. | ||
996 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs() | ||
997 | * @see #getComponent() | ||
998 | * @generated | ||
999 | */ | ||
1000 | EReference getComponent_Inputs(); | ||
1001 | |||
1002 | /** | ||
1003 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs <em>Outputs</em>}'. | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @return the meta object for the containment reference list '<em>Outputs</em>'. | ||
1007 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs() | ||
1008 | * @see #getComponent() | ||
1009 | * @generated | ||
1010 | */ | ||
1011 | EReference getComponent_Outputs(); | ||
1012 | |||
1013 | /** | ||
1014 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition <em>Component Definition</em>}'. | ||
1015 | * <!-- begin-user-doc --> | ||
1016 | * <!-- end-user-doc --> | ||
1017 | * @return the meta object for the reference '<em>Component Definition</em>'. | ||
1018 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition() | ||
1019 | * @see #getComponent() | ||
1020 | * @generated | ||
1021 | */ | ||
1022 | EReference getComponent_ComponentDefinition(); | ||
1023 | |||
1024 | /** | ||
1025 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'. | ||
1026 | * <!-- begin-user-doc --> | ||
1027 | * <!-- end-user-doc --> | ||
1028 | * @return the meta object for class '<em>Input</em>'. | ||
1029 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input | ||
1030 | * @generated | ||
1031 | */ | ||
1032 | EClass getInput(); | ||
1033 | |||
1034 | /** | ||
1035 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIntputEvent <em>Intput Event</em>}'. | ||
1036 | * <!-- begin-user-doc --> | ||
1037 | * <!-- end-user-doc --> | ||
1038 | * @return the meta object for the reference '<em>Intput Event</em>'. | ||
1039 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIntputEvent() | ||
1040 | * @see #getInput() | ||
1041 | * @generated | ||
1042 | */ | ||
1043 | EReference getInput_IntputEvent(); | ||
1044 | |||
1045 | /** | ||
1046 | * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent <em>Component</em>}'. | ||
1047 | * <!-- begin-user-doc --> | ||
1048 | * <!-- end-user-doc --> | ||
1049 | * @return the meta object for the container reference '<em>Component</em>'. | ||
1050 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent() | ||
1051 | * @see #getInput() | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | EReference getInput_Component(); | ||
1055 | |||
1056 | /** | ||
1057 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections <em>Incoming Connections</em>}'. | ||
1058 | * <!-- begin-user-doc --> | ||
1059 | * <!-- end-user-doc --> | ||
1060 | * @return the meta object for the containment reference list '<em>Incoming Connections</em>'. | ||
1061 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections() | ||
1062 | * @see #getInput() | ||
1063 | * @generated | ||
1064 | */ | ||
1065 | EReference getInput_IncomingConnections(); | ||
1066 | |||
1067 | /** | ||
1068 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'. | ||
1069 | * <!-- begin-user-doc --> | ||
1070 | * <!-- end-user-doc --> | ||
1071 | * @return the meta object for class '<em>Output</em>'. | ||
1072 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output | ||
1073 | * @generated | ||
1074 | */ | ||
1075 | EClass getOutput(); | ||
1076 | |||
1077 | /** | ||
1078 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration <em>Event Declaration</em>}'. | ||
1079 | * <!-- begin-user-doc --> | ||
1080 | * <!-- end-user-doc --> | ||
1081 | * @return the meta object for the reference '<em>Event Declaration</em>'. | ||
1082 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration() | ||
1083 | * @see #getOutput() | ||
1084 | * @generated | ||
1085 | */ | ||
1086 | EReference getOutput_EventDeclaration(); | ||
1087 | |||
1088 | /** | ||
1089 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections <em>Outgoing Connections</em>}'. | ||
1090 | * <!-- begin-user-doc --> | ||
1091 | * <!-- end-user-doc --> | ||
1092 | * @return the meta object for the reference list '<em>Outgoing Connections</em>'. | ||
1093 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections() | ||
1094 | * @see #getOutput() | ||
1095 | * @generated | ||
1096 | */ | ||
1097 | EReference getOutput_OutgoingConnections(); | ||
1098 | |||
1099 | /** | ||
1100 | * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent <em>Component</em>}'. | ||
1101 | * <!-- begin-user-doc --> | ||
1102 | * <!-- end-user-doc --> | ||
1103 | * @return the meta object for the container reference '<em>Component</em>'. | ||
1104 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent() | ||
1105 | * @see #getOutput() | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | EReference getOutput_Component(); | ||
1109 | |||
1110 | /** | ||
1111 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'. | ||
1112 | * <!-- begin-user-doc --> | ||
1113 | * <!-- end-user-doc --> | ||
1114 | * @return the meta object for class '<em>Connection</em>'. | ||
1115 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection | ||
1116 | * @generated | ||
1117 | */ | ||
1118 | EClass getConnection(); | ||
1119 | |||
1120 | /** | ||
1121 | * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}'. | ||
1122 | * <!-- begin-user-doc --> | ||
1123 | * <!-- end-user-doc --> | ||
1124 | * @return the meta object for the container reference '<em>Input</em>'. | ||
1125 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput() | ||
1126 | * @see #getConnection() | ||
1127 | * @generated | ||
1128 | */ | ||
1129 | EReference getConnection_Input(); | ||
1130 | |||
1131 | /** | ||
1132 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}'. | ||
1133 | * <!-- begin-user-doc --> | ||
1134 | * <!-- end-user-doc --> | ||
1135 | * @return the meta object for the reference '<em>Output</em>'. | ||
1136 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput() | ||
1137 | * @see #getConnection() | ||
1138 | * @generated | ||
1139 | */ | ||
1140 | EReference getConnection_Output(); | ||
1141 | |||
1142 | /** | ||
1143 | * Returns the factory that creates the instances of the model. | ||
1144 | * <!-- begin-user-doc --> | ||
1145 | * <!-- end-user-doc --> | ||
1146 | * @return the factory that creates the instances of the model. | ||
1147 | * @generated | ||
1148 | */ | ||
1149 | CftFactory getCftFactory(); | ||
1150 | |||
1151 | /** | ||
1152 | * <!-- begin-user-doc --> | ||
1153 | * Defines literals for the meta objects that represent | ||
1154 | * <ul> | ||
1155 | * <li>each class,</li> | ||
1156 | * <li>each feature of each class,</li> | ||
1157 | * <li>each operation of each class,</li> | ||
1158 | * <li>each enum,</li> | ||
1159 | * <li>and each data type</li> | ||
1160 | * </ul> | ||
1161 | * <!-- end-user-doc --> | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | interface Literals { | ||
1165 | /** | ||
1166 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class. | ||
1167 | * <!-- begin-user-doc --> | ||
1168 | * <!-- end-user-doc --> | ||
1169 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl | ||
1170 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition() | ||
1171 | * @generated | ||
1172 | */ | ||
1173 | EClass COMPONENT_DEFINITION = eINSTANCE.getComponentDefinition(); | ||
1174 | |||
1175 | /** | ||
1176 | * The meta object literal for the '<em><b>Input Events</b></em>' containment reference list feature. | ||
1177 | * <!-- begin-user-doc --> | ||
1178 | * <!-- end-user-doc --> | ||
1179 | * @generated | ||
1180 | */ | ||
1181 | EReference COMPONENT_DEFINITION__INPUT_EVENTS = eINSTANCE.getComponentDefinition_InputEvents(); | ||
1182 | |||
1183 | /** | ||
1184 | * The meta object literal for the '<em><b>Event Definitions</b></em>' containment reference list feature. | ||
1185 | * <!-- begin-user-doc --> | ||
1186 | * <!-- end-user-doc --> | ||
1187 | * @generated | ||
1188 | */ | ||
1189 | EReference COMPONENT_DEFINITION__EVENT_DEFINITIONS = eINSTANCE.getComponentDefinition_EventDefinitions(); | ||
1190 | |||
1191 | /** | ||
1192 | * The meta object literal for the '<em><b>Output Events</b></em>' reference list feature. | ||
1193 | * <!-- begin-user-doc --> | ||
1194 | * <!-- end-user-doc --> | ||
1195 | * @generated | ||
1196 | */ | ||
1197 | EReference COMPONENT_DEFINITION__OUTPUT_EVENTS = eINSTANCE.getComponentDefinition_OutputEvents(); | ||
1198 | |||
1199 | /** | ||
1200 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
1201 | * <!-- begin-user-doc --> | ||
1202 | * <!-- end-user-doc --> | ||
1203 | * @generated | ||
1204 | */ | ||
1205 | EAttribute COMPONENT_DEFINITION__NAME = eINSTANCE.getComponentDefinition_Name(); | ||
1206 | |||
1207 | /** | ||
1208 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl <em>Event Definition</em>}' class. | ||
1209 | * <!-- begin-user-doc --> | ||
1210 | * <!-- end-user-doc --> | ||
1211 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl | ||
1212 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition() | ||
1213 | * @generated | ||
1214 | */ | ||
1215 | EClass EVENT_DEFINITION = eINSTANCE.getEventDefinition(); | ||
1216 | |||
1217 | /** | ||
1218 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl <em>Gate Definition</em>}' class. | ||
1219 | * <!-- begin-user-doc --> | ||
1220 | * <!-- end-user-doc --> | ||
1221 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl | ||
1222 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition() | ||
1223 | * @generated | ||
1224 | */ | ||
1225 | EClass GATE_DEFINITION = eINSTANCE.getGateDefinition(); | ||
1226 | |||
1227 | /** | ||
1228 | * The meta object literal for the '<em><b>Input Events</b></em>' reference list feature. | ||
1229 | * <!-- begin-user-doc --> | ||
1230 | * <!-- end-user-doc --> | ||
1231 | * @generated | ||
1232 | */ | ||
1233 | EReference GATE_DEFINITION__INPUT_EVENTS = eINSTANCE.getGateDefinition_InputEvents(); | ||
1234 | |||
1235 | /** | ||
1236 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class. | ||
1237 | * <!-- begin-user-doc --> | ||
1238 | * <!-- end-user-doc --> | ||
1239 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl | ||
1240 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition() | ||
1241 | * @generated | ||
1242 | */ | ||
1243 | EClass BASIC_EVENT_DEFINITION = eINSTANCE.getBasicEventDefinition(); | ||
1244 | |||
1245 | /** | ||
1246 | * The meta object literal for the '<em><b>Distribution</b></em>' containment reference feature. | ||
1247 | * <!-- begin-user-doc --> | ||
1248 | * <!-- end-user-doc --> | ||
1249 | * @generated | ||
1250 | */ | ||
1251 | EReference BASIC_EVENT_DEFINITION__DISTRIBUTION = eINSTANCE.getBasicEventDefinition_Distribution(); | ||
1252 | |||
1253 | /** | ||
1254 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl <em>Intput Event</em>}' class. | ||
1255 | * <!-- begin-user-doc --> | ||
1256 | * <!-- end-user-doc --> | ||
1257 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl | ||
1258 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getIntputEvent() | ||
1259 | * @generated | ||
1260 | */ | ||
1261 | EClass INTPUT_EVENT = eINSTANCE.getIntputEvent(); | ||
1262 | |||
1263 | /** | ||
1264 | * The meta object literal for the '<em><b>Multiple</b></em>' attribute feature. | ||
1265 | * <!-- begin-user-doc --> | ||
1266 | * <!-- end-user-doc --> | ||
1267 | * @generated | ||
1268 | */ | ||
1269 | EAttribute INTPUT_EVENT__MULTIPLE = eINSTANCE.getIntputEvent_Multiple(); | ||
1270 | |||
1271 | /** | ||
1272 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl <em>Event Declaration</em>}' class. | ||
1273 | * <!-- begin-user-doc --> | ||
1274 | * <!-- end-user-doc --> | ||
1275 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl | ||
1276 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration() | ||
1277 | * @generated | ||
1278 | */ | ||
1279 | EClass EVENT_DECLARATION = eINSTANCE.getEventDeclaration(); | ||
1280 | |||
1281 | /** | ||
1282 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
1283 | * <!-- begin-user-doc --> | ||
1284 | * <!-- end-user-doc --> | ||
1285 | * @generated | ||
1286 | */ | ||
1287 | EAttribute EVENT_DECLARATION__NAME = eINSTANCE.getEventDeclaration_Name(); | ||
1288 | |||
1289 | /** | ||
1290 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl <em>And Gate Definition</em>}' class. | ||
1291 | * <!-- begin-user-doc --> | ||
1292 | * <!-- end-user-doc --> | ||
1293 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl | ||
1294 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition() | ||
1295 | * @generated | ||
1296 | */ | ||
1297 | EClass AND_GATE_DEFINITION = eINSTANCE.getAndGateDefinition(); | ||
1298 | |||
1299 | /** | ||
1300 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl <em>Or Gate Definition</em>}' class. | ||
1301 | * <!-- begin-user-doc --> | ||
1302 | * <!-- end-user-doc --> | ||
1303 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl | ||
1304 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition() | ||
1305 | * @generated | ||
1306 | */ | ||
1307 | EClass OR_GATE_DEFINITION = eINSTANCE.getOrGateDefinition(); | ||
1308 | |||
1309 | /** | ||
1310 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl <em>KOf MGate Definition</em>}' class. | ||
1311 | * <!-- begin-user-doc --> | ||
1312 | * <!-- end-user-doc --> | ||
1313 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl | ||
1314 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition() | ||
1315 | * @generated | ||
1316 | */ | ||
1317 | EClass KOF_MGATE_DEFINITION = eINSTANCE.getKOfMGateDefinition(); | ||
1318 | |||
1319 | /** | ||
1320 | * The meta object literal for the '<em><b>K</b></em>' attribute feature. | ||
1321 | * <!-- begin-user-doc --> | ||
1322 | * <!-- end-user-doc --> | ||
1323 | * @generated | ||
1324 | */ | ||
1325 | EAttribute KOF_MGATE_DEFINITION__K = eINSTANCE.getKOfMGateDefinition_K(); | ||
1326 | |||
1327 | /** | ||
1328 | * The meta object literal for the '<em><b>M</b></em>' attribute feature. | ||
1329 | * <!-- begin-user-doc --> | ||
1330 | * <!-- end-user-doc --> | ||
1331 | * @generated | ||
1332 | */ | ||
1333 | EAttribute KOF_MGATE_DEFINITION__M = eINSTANCE.getKOfMGateDefinition_M(); | ||
1334 | |||
1335 | /** | ||
1336 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl <em>Component Fault Tree</em>}' class. | ||
1337 | * <!-- begin-user-doc --> | ||
1338 | * <!-- end-user-doc --> | ||
1339 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl | ||
1340 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree() | ||
1341 | * @generated | ||
1342 | */ | ||
1343 | EClass COMPONENT_FAULT_TREE = eINSTANCE.getComponentFaultTree(); | ||
1344 | |||
1345 | /** | ||
1346 | * The meta object literal for the '<em><b>Components</b></em>' containment reference list feature. | ||
1347 | * <!-- begin-user-doc --> | ||
1348 | * <!-- end-user-doc --> | ||
1349 | * @generated | ||
1350 | */ | ||
1351 | EReference COMPONENT_FAULT_TREE__COMPONENTS = eINSTANCE.getComponentFaultTree_Components(); | ||
1352 | |||
1353 | /** | ||
1354 | * The meta object literal for the '<em><b>Top Event</b></em>' reference feature. | ||
1355 | * <!-- begin-user-doc --> | ||
1356 | * <!-- end-user-doc --> | ||
1357 | * @generated | ||
1358 | */ | ||
1359 | EReference COMPONENT_FAULT_TREE__TOP_EVENT = eINSTANCE.getComponentFaultTree_TopEvent(); | ||
1360 | |||
1361 | /** | ||
1362 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl <em>Component</em>}' class. | ||
1363 | * <!-- begin-user-doc --> | ||
1364 | * <!-- end-user-doc --> | ||
1365 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl | ||
1366 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent() | ||
1367 | * @generated | ||
1368 | */ | ||
1369 | EClass COMPONENT = eINSTANCE.getComponent(); | ||
1370 | |||
1371 | /** | ||
1372 | * The meta object literal for the '<em><b>Inputs</b></em>' containment reference list feature. | ||
1373 | * <!-- begin-user-doc --> | ||
1374 | * <!-- end-user-doc --> | ||
1375 | * @generated | ||
1376 | */ | ||
1377 | EReference COMPONENT__INPUTS = eINSTANCE.getComponent_Inputs(); | ||
1378 | |||
1379 | /** | ||
1380 | * The meta object literal for the '<em><b>Outputs</b></em>' containment reference list feature. | ||
1381 | * <!-- begin-user-doc --> | ||
1382 | * <!-- end-user-doc --> | ||
1383 | * @generated | ||
1384 | */ | ||
1385 | EReference COMPONENT__OUTPUTS = eINSTANCE.getComponent_Outputs(); | ||
1386 | |||
1387 | /** | ||
1388 | * The meta object literal for the '<em><b>Component Definition</b></em>' reference feature. | ||
1389 | * <!-- begin-user-doc --> | ||
1390 | * <!-- end-user-doc --> | ||
1391 | * @generated | ||
1392 | */ | ||
1393 | EReference COMPONENT__COMPONENT_DEFINITION = eINSTANCE.getComponent_ComponentDefinition(); | ||
1394 | |||
1395 | /** | ||
1396 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl <em>Input</em>}' class. | ||
1397 | * <!-- begin-user-doc --> | ||
1398 | * <!-- end-user-doc --> | ||
1399 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl | ||
1400 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput() | ||
1401 | * @generated | ||
1402 | */ | ||
1403 | EClass INPUT = eINSTANCE.getInput(); | ||
1404 | |||
1405 | /** | ||
1406 | * The meta object literal for the '<em><b>Intput Event</b></em>' reference feature. | ||
1407 | * <!-- begin-user-doc --> | ||
1408 | * <!-- end-user-doc --> | ||
1409 | * @generated | ||
1410 | */ | ||
1411 | EReference INPUT__INTPUT_EVENT = eINSTANCE.getInput_IntputEvent(); | ||
1412 | |||
1413 | /** | ||
1414 | * The meta object literal for the '<em><b>Component</b></em>' container reference feature. | ||
1415 | * <!-- begin-user-doc --> | ||
1416 | * <!-- end-user-doc --> | ||
1417 | * @generated | ||
1418 | */ | ||
1419 | EReference INPUT__COMPONENT = eINSTANCE.getInput_Component(); | ||
1420 | |||
1421 | /** | ||
1422 | * The meta object literal for the '<em><b>Incoming Connections</b></em>' containment reference list feature. | ||
1423 | * <!-- begin-user-doc --> | ||
1424 | * <!-- end-user-doc --> | ||
1425 | * @generated | ||
1426 | */ | ||
1427 | EReference INPUT__INCOMING_CONNECTIONS = eINSTANCE.getInput_IncomingConnections(); | ||
1428 | |||
1429 | /** | ||
1430 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl <em>Output</em>}' class. | ||
1431 | * <!-- begin-user-doc --> | ||
1432 | * <!-- end-user-doc --> | ||
1433 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl | ||
1434 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput() | ||
1435 | * @generated | ||
1436 | */ | ||
1437 | EClass OUTPUT = eINSTANCE.getOutput(); | ||
1438 | |||
1439 | /** | ||
1440 | * The meta object literal for the '<em><b>Event Declaration</b></em>' reference feature. | ||
1441 | * <!-- begin-user-doc --> | ||
1442 | * <!-- end-user-doc --> | ||
1443 | * @generated | ||
1444 | */ | ||
1445 | EReference OUTPUT__EVENT_DECLARATION = eINSTANCE.getOutput_EventDeclaration(); | ||
1446 | |||
1447 | /** | ||
1448 | * The meta object literal for the '<em><b>Outgoing Connections</b></em>' reference list feature. | ||
1449 | * <!-- begin-user-doc --> | ||
1450 | * <!-- end-user-doc --> | ||
1451 | * @generated | ||
1452 | */ | ||
1453 | EReference OUTPUT__OUTGOING_CONNECTIONS = eINSTANCE.getOutput_OutgoingConnections(); | ||
1454 | |||
1455 | /** | ||
1456 | * The meta object literal for the '<em><b>Component</b></em>' container reference feature. | ||
1457 | * <!-- begin-user-doc --> | ||
1458 | * <!-- end-user-doc --> | ||
1459 | * @generated | ||
1460 | */ | ||
1461 | EReference OUTPUT__COMPONENT = eINSTANCE.getOutput_Component(); | ||
1462 | |||
1463 | /** | ||
1464 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl <em>Connection</em>}' class. | ||
1465 | * <!-- begin-user-doc --> | ||
1466 | * <!-- end-user-doc --> | ||
1467 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl | ||
1468 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection() | ||
1469 | * @generated | ||
1470 | */ | ||
1471 | EClass CONNECTION = eINSTANCE.getConnection(); | ||
1472 | |||
1473 | /** | ||
1474 | * The meta object literal for the '<em><b>Input</b></em>' container reference feature. | ||
1475 | * <!-- begin-user-doc --> | ||
1476 | * <!-- end-user-doc --> | ||
1477 | * @generated | ||
1478 | */ | ||
1479 | EReference CONNECTION__INPUT = eINSTANCE.getConnection_Input(); | ||
1480 | |||
1481 | /** | ||
1482 | * The meta object literal for the '<em><b>Output</b></em>' reference feature. | ||
1483 | * <!-- begin-user-doc --> | ||
1484 | * <!-- end-user-doc --> | ||
1485 | * @generated | ||
1486 | */ | ||
1487 | EReference CONNECTION__OUTPUT = eINSTANCE.getConnection_Output(); | ||
1488 | |||
1489 | } | ||
1490 | |||
1491 | } //CftPackage | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java new file mode 100644 index 00000000..e1951172 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java | |||
@@ -0,0 +1,90 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Component</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs <em>Inputs</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs <em>Outputs</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition <em>Component Definition</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface Component extends EObject { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Inputs</b></em>' containment reference list. | ||
30 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input}. | ||
31 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent <em>Component</em>}'. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <p> | ||
34 | * If the meaning of the '<em>Inputs</em>' containment reference list isn't clear, | ||
35 | * there really should be more of a description here... | ||
36 | * </p> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Inputs</em>' containment reference list. | ||
39 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Inputs() | ||
40 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent | ||
41 | * @model opposite="component" containment="true" | ||
42 | * @generated | ||
43 | */ | ||
44 | EList<Input> getInputs(); | ||
45 | |||
46 | /** | ||
47 | * Returns the value of the '<em><b>Outputs</b></em>' containment reference list. | ||
48 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output}. | ||
49 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent <em>Component</em>}'. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <p> | ||
52 | * If the meaning of the '<em>Outputs</em>' containment reference list isn't clear, | ||
53 | * there really should be more of a description here... | ||
54 | * </p> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @return the value of the '<em>Outputs</em>' containment reference list. | ||
57 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Outputs() | ||
58 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent | ||
59 | * @model opposite="component" containment="true" | ||
60 | * @generated | ||
61 | */ | ||
62 | EList<Output> getOutputs(); | ||
63 | |||
64 | /** | ||
65 | * Returns the value of the '<em><b>Component Definition</b></em>' reference. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <p> | ||
68 | * If the meaning of the '<em>Component Definition</em>' reference isn't clear, | ||
69 | * there really should be more of a description here... | ||
70 | * </p> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @return the value of the '<em>Component Definition</em>' reference. | ||
73 | * @see #setComponentDefinition(ComponentDefinition) | ||
74 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_ComponentDefinition() | ||
75 | * @model required="true" | ||
76 | * @generated | ||
77 | */ | ||
78 | ComponentDefinition getComponentDefinition(); | ||
79 | |||
80 | /** | ||
81 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition <em>Component Definition</em>}' reference. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @param value the new value of the '<em>Component Definition</em>' reference. | ||
85 | * @see #getComponentDefinition() | ||
86 | * @generated | ||
87 | */ | ||
88 | void setComponentDefinition(ComponentDefinition value); | ||
89 | |||
90 | } // Component | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java new file mode 100644 index 00000000..b3f3b163 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java | |||
@@ -0,0 +1,103 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Component Definition</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents <em>Input Events</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions <em>Event Definitions</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents <em>Output Events</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName <em>Name</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition() | ||
25 | * @model | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface ComponentDefinition extends EObject { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Input Events</b></em>' containment reference list. | ||
31 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent}. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <p> | ||
34 | * If the meaning of the '<em>Input Events</em>' containment reference list isn't clear, | ||
35 | * there really should be more of a description here... | ||
36 | * </p> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Input Events</em>' containment reference list. | ||
39 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_InputEvents() | ||
40 | * @model containment="true" | ||
41 | * @generated | ||
42 | */ | ||
43 | EList<IntputEvent> getInputEvents(); | ||
44 | |||
45 | /** | ||
46 | * Returns the value of the '<em><b>Event Definitions</b></em>' containment reference list. | ||
47 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition}. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <p> | ||
50 | * If the meaning of the '<em>Event Definitions</em>' containment reference list isn't clear, | ||
51 | * there really should be more of a description here... | ||
52 | * </p> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Event Definitions</em>' containment reference list. | ||
55 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_EventDefinitions() | ||
56 | * @model containment="true" | ||
57 | * @generated | ||
58 | */ | ||
59 | EList<EventDefinition> getEventDefinitions(); | ||
60 | |||
61 | /** | ||
62 | * Returns the value of the '<em><b>Output Events</b></em>' reference list. | ||
63 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration}. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <p> | ||
66 | * If the meaning of the '<em>Output Events</em>' reference list isn't clear, | ||
67 | * there really should be more of a description here... | ||
68 | * </p> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @return the value of the '<em>Output Events</em>' reference list. | ||
71 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_OutputEvents() | ||
72 | * @model | ||
73 | * @generated | ||
74 | */ | ||
75 | EList<EventDeclaration> getOutputEvents(); | ||
76 | |||
77 | /** | ||
78 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <p> | ||
81 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
82 | * there really should be more of a description here... | ||
83 | * </p> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @return the value of the '<em>Name</em>' attribute. | ||
86 | * @see #setName(String) | ||
87 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_Name() | ||
88 | * @model | ||
89 | * @generated | ||
90 | */ | ||
91 | String getName(); | ||
92 | |||
93 | /** | ||
94 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName <em>Name</em>}' attribute. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @param value the new value of the '<em>Name</em>' attribute. | ||
98 | * @see #getName() | ||
99 | * @generated | ||
100 | */ | ||
101 | void setName(String value); | ||
102 | |||
103 | } // ComponentDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java new file mode 100644 index 00000000..06554378 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java | |||
@@ -0,0 +1,69 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Component Fault Tree</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents <em>Components</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent <em>Top Event</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ComponentFaultTree extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Components</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Components</em>' containment reference list isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Components</em>' containment reference list. | ||
37 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree_Components() | ||
38 | * @model containment="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | EList<Component> getComponents(); | ||
42 | |||
43 | /** | ||
44 | * Returns the value of the '<em><b>Top Event</b></em>' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <p> | ||
47 | * If the meaning of the '<em>Top Event</em>' reference isn't clear, | ||
48 | * there really should be more of a description here... | ||
49 | * </p> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Top Event</em>' reference. | ||
52 | * @see #setTopEvent(Output) | ||
53 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree_TopEvent() | ||
54 | * @model required="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Output getTopEvent(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent <em>Top Event</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Top Event</em>' reference. | ||
64 | * @see #getTopEvent() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setTopEvent(Output value); | ||
68 | |||
69 | } // ComponentFaultTree | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java new file mode 100644 index 00000000..c05e809b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java | |||
@@ -0,0 +1,81 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Connection</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Connection extends EObject { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Input</b></em>' container reference. | ||
27 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections <em>Incoming Connections</em>}'. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Input</em>' container reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Input</em>' container reference. | ||
35 | * @see #setInput(Input) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Input() | ||
37 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections | ||
38 | * @model opposite="incomingConnections" required="true" transient="false" | ||
39 | * @generated | ||
40 | */ | ||
41 | Input getInput(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}' container reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Input</em>' container reference. | ||
48 | * @see #getInput() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setInput(Input value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Output</b></em>' reference. | ||
55 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections <em>Outgoing Connections</em>}'. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Output</em>' reference isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Output</em>' reference. | ||
63 | * @see #setOutput(Output) | ||
64 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Output() | ||
65 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections | ||
66 | * @model opposite="outgoingConnections" required="true" | ||
67 | * @generated | ||
68 | */ | ||
69 | Output getOutput(); | ||
70 | |||
71 | /** | ||
72 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}' reference. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @param value the new value of the '<em>Output</em>' reference. | ||
76 | * @see #getOutput() | ||
77 | * @generated | ||
78 | */ | ||
79 | void setOutput(Output value); | ||
80 | |||
81 | } // Connection | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java new file mode 100644 index 00000000..1e52a570 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Event Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDeclaration() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface EventDeclaration extends EObject { | ||
24 | |||
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Name</em>' attribute. | ||
34 | * @see #setName(String) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDeclaration_Name() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | String getName(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName <em>Name</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Name</em>' attribute. | ||
46 | * @see #getName() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setName(String value); | ||
50 | } // EventDeclaration | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java new file mode 100644 index 00000000..d279ddfc --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Event Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDefinition() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface EventDefinition extends EventDeclaration { | ||
17 | } // EventDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java new file mode 100644 index 00000000..2173be5c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Gate Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents <em>Input Events</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getGateDefinition() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface GateDefinition extends EventDefinition { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Input Events</b></em>' reference list. | ||
26 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Input Events</em>' reference list isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Input Events</em>' reference list. | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getGateDefinition_InputEvents() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | EList<EventDeclaration> getInputEvents(); | ||
39 | |||
40 | } // GateDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java new file mode 100644 index 00000000..55da3f9a --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java | |||
@@ -0,0 +1,100 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Input</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIntputEvent <em>Intput Event</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent <em>Component</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections <em>Incoming Connections</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface Input extends EObject { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Intput Event</b></em>' reference. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Intput Event</em>' reference isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Intput Event</em>' reference. | ||
37 | * @see #setIntputEvent(IntputEvent) | ||
38 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_IntputEvent() | ||
39 | * @model required="true" | ||
40 | * @generated | ||
41 | */ | ||
42 | IntputEvent getIntputEvent(); | ||
43 | |||
44 | /** | ||
45 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIntputEvent <em>Intput Event</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @param value the new value of the '<em>Intput Event</em>' reference. | ||
49 | * @see #getIntputEvent() | ||
50 | * @generated | ||
51 | */ | ||
52 | void setIntputEvent(IntputEvent value); | ||
53 | |||
54 | /** | ||
55 | * Returns the value of the '<em><b>Component</b></em>' container reference. | ||
56 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs <em>Inputs</em>}'. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <p> | ||
59 | * If the meaning of the '<em>Component</em>' container reference isn't clear, | ||
60 | * there really should be more of a description here... | ||
61 | * </p> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the value of the '<em>Component</em>' container reference. | ||
64 | * @see #setComponent(Component) | ||
65 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_Component() | ||
66 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs | ||
67 | * @model opposite="inputs" required="true" transient="false" | ||
68 | * @generated | ||
69 | */ | ||
70 | Component getComponent(); | ||
71 | |||
72 | /** | ||
73 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent <em>Component</em>}' container reference. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @param value the new value of the '<em>Component</em>' container reference. | ||
77 | * @see #getComponent() | ||
78 | * @generated | ||
79 | */ | ||
80 | void setComponent(Component value); | ||
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Incoming Connections</b></em>' containment reference list. | ||
84 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection}. | ||
85 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}'. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <p> | ||
88 | * If the meaning of the '<em>Incoming Connections</em>' containment reference list isn't clear, | ||
89 | * there really should be more of a description here... | ||
90 | * </p> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @return the value of the '<em>Incoming Connections</em>' containment reference list. | ||
93 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_IncomingConnections() | ||
94 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput | ||
95 | * @model opposite="input" containment="true" | ||
96 | * @generated | ||
97 | */ | ||
98 | EList<Connection> getIncomingConnections(); | ||
99 | |||
100 | } // Input | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/IntputEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/IntputEvent.java new file mode 100644 index 00000000..bec5c487 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/IntputEvent.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Intput Event</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent#isMultiple <em>Multiple</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getIntputEvent() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface IntputEvent extends EventDeclaration { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Multiple</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Multiple</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Multiple</em>' attribute. | ||
32 | * @see #setMultiple(boolean) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getIntputEvent_Multiple() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | boolean isMultiple(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent#isMultiple <em>Multiple</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Multiple</em>' attribute. | ||
44 | * @see #isMultiple() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setMultiple(boolean value); | ||
48 | |||
49 | } // IntputEvent | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java new file mode 100644 index 00000000..6e1bc1c1 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>KOf MGate Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK <em>K</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM <em>M</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface KOfMGateDefinition extends GateDefinition { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>K</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>K</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>K</em>' attribute. | ||
33 | * @see #setK(int) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition_K() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | int getK(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK <em>K</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>K</em>' attribute. | ||
45 | * @see #getK() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setK(int value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>M</b></em>' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>M</em>' attribute isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>M</em>' attribute. | ||
59 | * @see #setM(int) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition_M() | ||
61 | * @model | ||
62 | * @generated | ||
63 | */ | ||
64 | int getM(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM <em>M</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>M</em>' attribute. | ||
71 | * @see #getM() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setM(int value); | ||
75 | |||
76 | } // KOfMGateDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java new file mode 100644 index 00000000..f62d6652 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Or Gate Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOrGateDefinition() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface OrGateDefinition extends GateDefinition { | ||
17 | } // OrGateDefinition | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java new file mode 100644 index 00000000..ffb61b8c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java | |||
@@ -0,0 +1,100 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Output</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration <em>Event Declaration</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections <em>Outgoing Connections</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent <em>Component</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface Output extends EObject { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Event Declaration</b></em>' reference. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Event Declaration</em>' reference isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Event Declaration</em>' reference. | ||
37 | * @see #setEventDeclaration(EventDeclaration) | ||
38 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_EventDeclaration() | ||
39 | * @model required="true" | ||
40 | * @generated | ||
41 | */ | ||
42 | EventDeclaration getEventDeclaration(); | ||
43 | |||
44 | /** | ||
45 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration <em>Event Declaration</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @param value the new value of the '<em>Event Declaration</em>' reference. | ||
49 | * @see #getEventDeclaration() | ||
50 | * @generated | ||
51 | */ | ||
52 | void setEventDeclaration(EventDeclaration value); | ||
53 | |||
54 | /** | ||
55 | * Returns the value of the '<em><b>Outgoing Connections</b></em>' reference list. | ||
56 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection}. | ||
57 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}'. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <p> | ||
60 | * If the meaning of the '<em>Outgoing Connections</em>' reference list isn't clear, | ||
61 | * there really should be more of a description here... | ||
62 | * </p> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return the value of the '<em>Outgoing Connections</em>' reference list. | ||
65 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_OutgoingConnections() | ||
66 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput | ||
67 | * @model opposite="output" | ||
68 | * @generated | ||
69 | */ | ||
70 | EList<Connection> getOutgoingConnections(); | ||
71 | |||
72 | /** | ||
73 | * Returns the value of the '<em><b>Component</b></em>' container reference. | ||
74 | * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs <em>Outputs</em>}'. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <p> | ||
77 | * If the meaning of the '<em>Component</em>' container reference isn't clear, | ||
78 | * there really should be more of a description here... | ||
79 | * </p> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @return the value of the '<em>Component</em>' container reference. | ||
82 | * @see #setComponent(Component) | ||
83 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_Component() | ||
84 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs | ||
85 | * @model opposite="outputs" required="true" transient="false" | ||
86 | * @generated | ||
87 | */ | ||
88 | Component getComponent(); | ||
89 | |||
90 | /** | ||
91 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent <em>Component</em>}' container reference. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @param value the new value of the '<em>Component</em>' container reference. | ||
95 | * @see #getComponent() | ||
96 | * @generated | ||
97 | */ | ||
98 | void setComponent(Component value); | ||
99 | |||
100 | } // Output | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java new file mode 100644 index 00000000..fd716fc9 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>And Gate Definition</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class AndGateDefinitionImpl extends GateDefinitionImpl implements AndGateDefinition { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected AndGateDefinitionImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return CftPackage.Literals.AND_GATE_DEFINITION; | ||
35 | } | ||
36 | |||
37 | } //AndGateDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java new file mode 100644 index 00000000..87fc5d70 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java | |||
@@ -0,0 +1,178 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
7 | |||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Basic Event Definition</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl#getDistribution <em>Distribution</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class BasicEventDefinitionImpl extends EventDefinitionImpl implements BasicEventDefinition { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getDistribution() <em>Distribution</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getDistribution() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Distribution distribution; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected BasicEventDefinitionImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | protected EClass eStaticClass() { | ||
58 | return CftPackage.Literals.BASIC_EVENT_DEFINITION; | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | public Distribution getDistribution() { | ||
68 | return distribution; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public NotificationChain basicSetDistribution(Distribution newDistribution, NotificationChain msgs) { | ||
77 | Distribution oldDistribution = distribution; | ||
78 | distribution = newDistribution; | ||
79 | if (eNotificationRequired()) { | ||
80 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, oldDistribution, newDistribution); | ||
81 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
82 | } | ||
83 | return msgs; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public void setDistribution(Distribution newDistribution) { | ||
93 | if (newDistribution != distribution) { | ||
94 | NotificationChain msgs = null; | ||
95 | if (distribution != null) | ||
96 | msgs = ((InternalEObject)distribution).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, null, msgs); | ||
97 | if (newDistribution != null) | ||
98 | msgs = ((InternalEObject)newDistribution).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, null, msgs); | ||
99 | msgs = basicSetDistribution(newDistribution, msgs); | ||
100 | if (msgs != null) msgs.dispatch(); | ||
101 | } | ||
102 | else if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, newDistribution, newDistribution)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
113 | switch (featureID) { | ||
114 | case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: | ||
115 | return basicSetDistribution(null, msgs); | ||
116 | } | ||
117 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
127 | switch (featureID) { | ||
128 | case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: | ||
129 | return getDistribution(); | ||
130 | } | ||
131 | return super.eGet(featureID, resolve, coreType); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public void eSet(int featureID, Object newValue) { | ||
141 | switch (featureID) { | ||
142 | case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: | ||
143 | setDistribution((Distribution)newValue); | ||
144 | return; | ||
145 | } | ||
146 | super.eSet(featureID, newValue); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public void eUnset(int featureID) { | ||
156 | switch (featureID) { | ||
157 | case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: | ||
158 | setDistribution((Distribution)null); | ||
159 | return; | ||
160 | } | ||
161 | super.eUnset(featureID); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public boolean eIsSet(int featureID) { | ||
171 | switch (featureID) { | ||
172 | case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: | ||
173 | return distribution != null; | ||
174 | } | ||
175 | return super.eIsSet(featureID); | ||
176 | } | ||
177 | |||
178 | } //BasicEventDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java new file mode 100644 index 00000000..33778461 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java | |||
@@ -0,0 +1,217 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class CftFactoryImpl extends EFactoryImpl implements CftFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static CftFactory init() { | ||
29 | try { | ||
30 | CftFactory theCftFactory = (CftFactory)EPackage.Registry.INSTANCE.getEFactory(CftPackage.eNS_URI); | ||
31 | if (theCftFactory != null) { | ||
32 | return theCftFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new CftFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public CftFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case CftPackage.COMPONENT_DEFINITION: return createComponentDefinition(); | ||
60 | case CftPackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition(); | ||
61 | case CftPackage.INTPUT_EVENT: return createIntputEvent(); | ||
62 | case CftPackage.AND_GATE_DEFINITION: return createAndGateDefinition(); | ||
63 | case CftPackage.OR_GATE_DEFINITION: return createOrGateDefinition(); | ||
64 | case CftPackage.KOF_MGATE_DEFINITION: return createKOfMGateDefinition(); | ||
65 | case CftPackage.COMPONENT_FAULT_TREE: return createComponentFaultTree(); | ||
66 | case CftPackage.COMPONENT: return createComponent(); | ||
67 | case CftPackage.INPUT: return createInput(); | ||
68 | case CftPackage.OUTPUT: return createOutput(); | ||
69 | case CftPackage.CONNECTION: return createConnection(); | ||
70 | default: | ||
71 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
72 | } | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | @Override | ||
81 | public ComponentDefinition createComponentDefinition() { | ||
82 | ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl(); | ||
83 | return componentDefinition; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public BasicEventDefinition createBasicEventDefinition() { | ||
93 | BasicEventDefinitionImpl basicEventDefinition = new BasicEventDefinitionImpl(); | ||
94 | return basicEventDefinition; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public IntputEvent createIntputEvent() { | ||
104 | IntputEventImpl intputEvent = new IntputEventImpl(); | ||
105 | return intputEvent; | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @Override | ||
114 | public AndGateDefinition createAndGateDefinition() { | ||
115 | AndGateDefinitionImpl andGateDefinition = new AndGateDefinitionImpl(); | ||
116 | return andGateDefinition; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public OrGateDefinition createOrGateDefinition() { | ||
126 | OrGateDefinitionImpl orGateDefinition = new OrGateDefinitionImpl(); | ||
127 | return orGateDefinition; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public KOfMGateDefinition createKOfMGateDefinition() { | ||
137 | KOfMGateDefinitionImpl kOfMGateDefinition = new KOfMGateDefinitionImpl(); | ||
138 | return kOfMGateDefinition; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public ComponentFaultTree createComponentFaultTree() { | ||
148 | ComponentFaultTreeImpl componentFaultTree = new ComponentFaultTreeImpl(); | ||
149 | return componentFaultTree; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | @Override | ||
158 | public Component createComponent() { | ||
159 | ComponentImpl component = new ComponentImpl(); | ||
160 | return component; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public Input createInput() { | ||
170 | InputImpl input = new InputImpl(); | ||
171 | return input; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public Output createOutput() { | ||
181 | OutputImpl output = new OutputImpl(); | ||
182 | return output; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | @Override | ||
191 | public Connection createConnection() { | ||
192 | ConnectionImpl connection = new ConnectionImpl(); | ||
193 | return connection; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public CftPackage getCftPackage() { | ||
203 | return (CftPackage)getEPackage(); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @deprecated | ||
210 | * @generated | ||
211 | */ | ||
212 | @Deprecated | ||
213 | public static CftPackage getPackage() { | ||
214 | return CftPackage.eINSTANCE; | ||
215 | } | ||
216 | |||
217 | } //CftFactoryImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java new file mode 100644 index 00000000..f03fa0ba --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java | |||
@@ -0,0 +1,746 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; | ||
12 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
14 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | ||
15 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; | ||
16 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | ||
17 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | ||
18 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; | ||
19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; | ||
20 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | ||
21 | |||
22 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
23 | |||
24 | import org.eclipse.emf.ecore.EAttribute; | ||
25 | import org.eclipse.emf.ecore.EClass; | ||
26 | import org.eclipse.emf.ecore.EPackage; | ||
27 | import org.eclipse.emf.ecore.EReference; | ||
28 | |||
29 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * An implementation of the model <b>Package</b>. | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public class CftPackageImpl extends EPackageImpl implements CftPackage { | ||
38 | /** | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @generated | ||
42 | */ | ||
43 | private EClass componentDefinitionEClass = null; | ||
44 | |||
45 | /** | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | private EClass eventDefinitionEClass = null; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | private EClass gateDefinitionEClass = null; | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | private EClass basicEventDefinitionEClass = null; | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | private EClass intputEventEClass = null; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | private EClass eventDeclarationEClass = null; | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | private EClass andGateDefinitionEClass = null; | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | private EClass orGateDefinitionEClass = null; | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | private EClass kOfMGateDefinitionEClass = null; | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | private EClass componentFaultTreeEClass = null; | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | private EClass componentEClass = null; | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | private EClass inputEClass = null; | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | private EClass outputEClass = null; | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | private EClass connectionEClass = null; | ||
135 | |||
136 | /** | ||
137 | * Creates an instance of the model <b>Package</b>, registered with | ||
138 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
139 | * package URI value. | ||
140 | * <p>Note: the correct way to create the package is via the static | ||
141 | * factory method {@link #init init()}, which also performs | ||
142 | * initialization of the package, or returns the registered package, | ||
143 | * if one already exists. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
147 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#eNS_URI | ||
148 | * @see #init() | ||
149 | * @generated | ||
150 | */ | ||
151 | private CftPackageImpl() { | ||
152 | super(eNS_URI, CftFactory.eINSTANCE); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | private static boolean isInited = false; | ||
161 | |||
162 | /** | ||
163 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
164 | * | ||
165 | * <p>This method is used to initialize {@link CftPackage#eINSTANCE} when that field is accessed. | ||
166 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @see #eNS_URI | ||
170 | * @see #createPackageContents() | ||
171 | * @see #initializePackageContents() | ||
172 | * @generated | ||
173 | */ | ||
174 | public static CftPackage init() { | ||
175 | if (isInited) return (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI); | ||
176 | |||
177 | // Obtain or create and register package | ||
178 | Object registeredCftPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
179 | CftPackageImpl theCftPackage = registeredCftPackage instanceof CftPackageImpl ? (CftPackageImpl)registeredCftPackage : new CftPackageImpl(); | ||
180 | |||
181 | isInited = true; | ||
182 | |||
183 | // Initialize simple dependencies | ||
184 | FtPackage.eINSTANCE.eClass(); | ||
185 | |||
186 | // Create package meta-data objects | ||
187 | theCftPackage.createPackageContents(); | ||
188 | |||
189 | // Initialize created meta-data | ||
190 | theCftPackage.initializePackageContents(); | ||
191 | |||
192 | // Mark meta-data to indicate it can't be changed | ||
193 | theCftPackage.freeze(); | ||
194 | |||
195 | // Update the registry and return the package | ||
196 | EPackage.Registry.INSTANCE.put(CftPackage.eNS_URI, theCftPackage); | ||
197 | return theCftPackage; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public EClass getComponentDefinition() { | ||
207 | return componentDefinitionEClass; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public EReference getComponentDefinition_InputEvents() { | ||
217 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(0); | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | @Override | ||
226 | public EReference getComponentDefinition_EventDefinitions() { | ||
227 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public EReference getComponentDefinition_OutputEvents() { | ||
237 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | @Override | ||
246 | public EAttribute getComponentDefinition_Name() { | ||
247 | return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(3); | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | @Override | ||
256 | public EClass getEventDefinition() { | ||
257 | return eventDefinitionEClass; | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | @Override | ||
266 | public EClass getGateDefinition() { | ||
267 | return gateDefinitionEClass; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | @Override | ||
276 | public EReference getGateDefinition_InputEvents() { | ||
277 | return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0); | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | */ | ||
285 | @Override | ||
286 | public EClass getBasicEventDefinition() { | ||
287 | return basicEventDefinitionEClass; | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @generated | ||
294 | */ | ||
295 | @Override | ||
296 | public EReference getBasicEventDefinition_Distribution() { | ||
297 | return (EReference)basicEventDefinitionEClass.getEStructuralFeatures().get(0); | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | */ | ||
305 | @Override | ||
306 | public EClass getIntputEvent() { | ||
307 | return intputEventEClass; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | @Override | ||
316 | public EAttribute getIntputEvent_Multiple() { | ||
317 | return (EAttribute)intputEventEClass.getEStructuralFeatures().get(0); | ||
318 | } | ||
319 | |||
320 | /** | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @generated | ||
324 | */ | ||
325 | @Override | ||
326 | public EClass getEventDeclaration() { | ||
327 | return eventDeclarationEClass; | ||
328 | } | ||
329 | |||
330 | /** | ||
331 | * <!-- begin-user-doc --> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @generated | ||
334 | */ | ||
335 | @Override | ||
336 | public EAttribute getEventDeclaration_Name() { | ||
337 | return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0); | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * <!-- begin-user-doc --> | ||
342 | * <!-- end-user-doc --> | ||
343 | * @generated | ||
344 | */ | ||
345 | @Override | ||
346 | public EClass getAndGateDefinition() { | ||
347 | return andGateDefinitionEClass; | ||
348 | } | ||
349 | |||
350 | /** | ||
351 | * <!-- begin-user-doc --> | ||
352 | * <!-- end-user-doc --> | ||
353 | * @generated | ||
354 | */ | ||
355 | @Override | ||
356 | public EClass getOrGateDefinition() { | ||
357 | return orGateDefinitionEClass; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | @Override | ||
366 | public EClass getKOfMGateDefinition() { | ||
367 | return kOfMGateDefinitionEClass; | ||
368 | } | ||
369 | |||
370 | /** | ||
371 | * <!-- begin-user-doc --> | ||
372 | * <!-- end-user-doc --> | ||
373 | * @generated | ||
374 | */ | ||
375 | @Override | ||
376 | public EAttribute getKOfMGateDefinition_K() { | ||
377 | return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(0); | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * <!-- begin-user-doc --> | ||
382 | * <!-- end-user-doc --> | ||
383 | * @generated | ||
384 | */ | ||
385 | @Override | ||
386 | public EAttribute getKOfMGateDefinition_M() { | ||
387 | return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(1); | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | */ | ||
395 | @Override | ||
396 | public EClass getComponentFaultTree() { | ||
397 | return componentFaultTreeEClass; | ||
398 | } | ||
399 | |||
400 | /** | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | */ | ||
405 | @Override | ||
406 | public EReference getComponentFaultTree_Components() { | ||
407 | return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(0); | ||
408 | } | ||
409 | |||
410 | /** | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @generated | ||
414 | */ | ||
415 | @Override | ||
416 | public EReference getComponentFaultTree_TopEvent() { | ||
417 | return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(1); | ||
418 | } | ||
419 | |||
420 | /** | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | */ | ||
425 | @Override | ||
426 | public EClass getComponent() { | ||
427 | return componentEClass; | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | */ | ||
435 | @Override | ||
436 | public EReference getComponent_Inputs() { | ||
437 | return (EReference)componentEClass.getEStructuralFeatures().get(0); | ||
438 | } | ||
439 | |||
440 | /** | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @generated | ||
444 | */ | ||
445 | @Override | ||
446 | public EReference getComponent_Outputs() { | ||
447 | return (EReference)componentEClass.getEStructuralFeatures().get(1); | ||
448 | } | ||
449 | |||
450 | /** | ||
451 | * <!-- begin-user-doc --> | ||
452 | * <!-- end-user-doc --> | ||
453 | * @generated | ||
454 | */ | ||
455 | @Override | ||
456 | public EReference getComponent_ComponentDefinition() { | ||
457 | return (EReference)componentEClass.getEStructuralFeatures().get(2); | ||
458 | } | ||
459 | |||
460 | /** | ||
461 | * <!-- begin-user-doc --> | ||
462 | * <!-- end-user-doc --> | ||
463 | * @generated | ||
464 | */ | ||
465 | @Override | ||
466 | public EClass getInput() { | ||
467 | return inputEClass; | ||
468 | } | ||
469 | |||
470 | /** | ||
471 | * <!-- begin-user-doc --> | ||
472 | * <!-- end-user-doc --> | ||
473 | * @generated | ||
474 | */ | ||
475 | @Override | ||
476 | public EReference getInput_IntputEvent() { | ||
477 | return (EReference)inputEClass.getEStructuralFeatures().get(0); | ||
478 | } | ||
479 | |||
480 | /** | ||
481 | * <!-- begin-user-doc --> | ||
482 | * <!-- end-user-doc --> | ||
483 | * @generated | ||
484 | */ | ||
485 | @Override | ||
486 | public EReference getInput_Component() { | ||
487 | return (EReference)inputEClass.getEStructuralFeatures().get(1); | ||
488 | } | ||
489 | |||
490 | /** | ||
491 | * <!-- begin-user-doc --> | ||
492 | * <!-- end-user-doc --> | ||
493 | * @generated | ||
494 | */ | ||
495 | @Override | ||
496 | public EReference getInput_IncomingConnections() { | ||
497 | return (EReference)inputEClass.getEStructuralFeatures().get(2); | ||
498 | } | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | @Override | ||
506 | public EClass getOutput() { | ||
507 | return outputEClass; | ||
508 | } | ||
509 | |||
510 | /** | ||
511 | * <!-- begin-user-doc --> | ||
512 | * <!-- end-user-doc --> | ||
513 | * @generated | ||
514 | */ | ||
515 | @Override | ||
516 | public EReference getOutput_EventDeclaration() { | ||
517 | return (EReference)outputEClass.getEStructuralFeatures().get(0); | ||
518 | } | ||
519 | |||
520 | /** | ||
521 | * <!-- begin-user-doc --> | ||
522 | * <!-- end-user-doc --> | ||
523 | * @generated | ||
524 | */ | ||
525 | @Override | ||
526 | public EReference getOutput_OutgoingConnections() { | ||
527 | return (EReference)outputEClass.getEStructuralFeatures().get(1); | ||
528 | } | ||
529 | |||
530 | /** | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @generated | ||
534 | */ | ||
535 | @Override | ||
536 | public EReference getOutput_Component() { | ||
537 | return (EReference)outputEClass.getEStructuralFeatures().get(2); | ||
538 | } | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | */ | ||
545 | @Override | ||
546 | public EClass getConnection() { | ||
547 | return connectionEClass; | ||
548 | } | ||
549 | |||
550 | /** | ||
551 | * <!-- begin-user-doc --> | ||
552 | * <!-- end-user-doc --> | ||
553 | * @generated | ||
554 | */ | ||
555 | @Override | ||
556 | public EReference getConnection_Input() { | ||
557 | return (EReference)connectionEClass.getEStructuralFeatures().get(0); | ||
558 | } | ||
559 | |||
560 | /** | ||
561 | * <!-- begin-user-doc --> | ||
562 | * <!-- end-user-doc --> | ||
563 | * @generated | ||
564 | */ | ||
565 | @Override | ||
566 | public EReference getConnection_Output() { | ||
567 | return (EReference)connectionEClass.getEStructuralFeatures().get(1); | ||
568 | } | ||
569 | |||
570 | /** | ||
571 | * <!-- begin-user-doc --> | ||
572 | * <!-- end-user-doc --> | ||
573 | * @generated | ||
574 | */ | ||
575 | @Override | ||
576 | public CftFactory getCftFactory() { | ||
577 | return (CftFactory)getEFactoryInstance(); | ||
578 | } | ||
579 | |||
580 | /** | ||
581 | * <!-- begin-user-doc --> | ||
582 | * <!-- end-user-doc --> | ||
583 | * @generated | ||
584 | */ | ||
585 | private boolean isCreated = false; | ||
586 | |||
587 | /** | ||
588 | * Creates the meta-model objects for the package. This method is | ||
589 | * guarded to have no affect on any invocation but its first. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | */ | ||
594 | public void createPackageContents() { | ||
595 | if (isCreated) return; | ||
596 | isCreated = true; | ||
597 | |||
598 | // Create classes and their features | ||
599 | componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); | ||
600 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS); | ||
601 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS); | ||
602 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS); | ||
603 | createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME); | ||
604 | |||
605 | eventDefinitionEClass = createEClass(EVENT_DEFINITION); | ||
606 | |||
607 | gateDefinitionEClass = createEClass(GATE_DEFINITION); | ||
608 | createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS); | ||
609 | |||
610 | basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); | ||
611 | createEReference(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__DISTRIBUTION); | ||
612 | |||
613 | intputEventEClass = createEClass(INTPUT_EVENT); | ||
614 | createEAttribute(intputEventEClass, INTPUT_EVENT__MULTIPLE); | ||
615 | |||
616 | eventDeclarationEClass = createEClass(EVENT_DECLARATION); | ||
617 | createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); | ||
618 | |||
619 | andGateDefinitionEClass = createEClass(AND_GATE_DEFINITION); | ||
620 | |||
621 | orGateDefinitionEClass = createEClass(OR_GATE_DEFINITION); | ||
622 | |||
623 | kOfMGateDefinitionEClass = createEClass(KOF_MGATE_DEFINITION); | ||
624 | createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__K); | ||
625 | createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__M); | ||
626 | |||
627 | componentFaultTreeEClass = createEClass(COMPONENT_FAULT_TREE); | ||
628 | createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__COMPONENTS); | ||
629 | createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__TOP_EVENT); | ||
630 | |||
631 | componentEClass = createEClass(COMPONENT); | ||
632 | createEReference(componentEClass, COMPONENT__INPUTS); | ||
633 | createEReference(componentEClass, COMPONENT__OUTPUTS); | ||
634 | createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION); | ||
635 | |||
636 | inputEClass = createEClass(INPUT); | ||
637 | createEReference(inputEClass, INPUT__INTPUT_EVENT); | ||
638 | createEReference(inputEClass, INPUT__COMPONENT); | ||
639 | createEReference(inputEClass, INPUT__INCOMING_CONNECTIONS); | ||
640 | |||
641 | outputEClass = createEClass(OUTPUT); | ||
642 | createEReference(outputEClass, OUTPUT__EVENT_DECLARATION); | ||
643 | createEReference(outputEClass, OUTPUT__OUTGOING_CONNECTIONS); | ||
644 | createEReference(outputEClass, OUTPUT__COMPONENT); | ||
645 | |||
646 | connectionEClass = createEClass(CONNECTION); | ||
647 | createEReference(connectionEClass, CONNECTION__INPUT); | ||
648 | createEReference(connectionEClass, CONNECTION__OUTPUT); | ||
649 | } | ||
650 | |||
651 | /** | ||
652 | * <!-- begin-user-doc --> | ||
653 | * <!-- end-user-doc --> | ||
654 | * @generated | ||
655 | */ | ||
656 | private boolean isInitialized = false; | ||
657 | |||
658 | /** | ||
659 | * Complete the initialization of the package and its meta-model. This | ||
660 | * method is guarded to have no affect on any invocation but its first. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * <!-- end-user-doc --> | ||
663 | * @generated | ||
664 | */ | ||
665 | public void initializePackageContents() { | ||
666 | if (isInitialized) return; | ||
667 | isInitialized = true; | ||
668 | |||
669 | // Initialize package | ||
670 | setName(eNAME); | ||
671 | setNsPrefix(eNS_PREFIX); | ||
672 | setNsURI(eNS_URI); | ||
673 | |||
674 | // Obtain other dependent packages | ||
675 | FtPackage theFtPackage = (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI); | ||
676 | |||
677 | // Create type parameters | ||
678 | |||
679 | // Set bounds for type parameters | ||
680 | |||
681 | // Add supertypes to classes | ||
682 | eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
683 | gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
684 | basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
685 | intputEventEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
686 | andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | ||
687 | orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | ||
688 | kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | ||
689 | |||
690 | // Initialize classes, features, and operations; add parameters | ||
691 | initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
692 | initEReference(getComponentDefinition_InputEvents(), this.getIntputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
693 | initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
694 | initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
695 | initEAttribute(getComponentDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
696 | |||
697 | initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
698 | |||
699 | initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
700 | initEReference(getGateDefinition_InputEvents(), this.getEventDeclaration(), null, "inputEvents", null, 0, -1, GateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
701 | |||
702 | initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
703 | initEReference(getBasicEventDefinition_Distribution(), theFtPackage.getDistribution(), null, "distribution", null, 1, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
704 | |||
705 | initEClass(intputEventEClass, IntputEvent.class, "IntputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
706 | initEAttribute(getIntputEvent_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, IntputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
707 | |||
708 | initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
709 | initEAttribute(getEventDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
710 | |||
711 | initEClass(andGateDefinitionEClass, AndGateDefinition.class, "AndGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
712 | |||
713 | initEClass(orGateDefinitionEClass, OrGateDefinition.class, "OrGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
714 | |||
715 | initEClass(kOfMGateDefinitionEClass, KOfMGateDefinition.class, "KOfMGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
716 | initEAttribute(getKOfMGateDefinition_K(), ecorePackage.getEInt(), "k", null, 0, 1, KOfMGateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
717 | initEAttribute(getKOfMGateDefinition_M(), ecorePackage.getEInt(), "m", null, 0, 1, KOfMGateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
718 | |||
719 | initEClass(componentFaultTreeEClass, ComponentFaultTree.class, "ComponentFaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
720 | initEReference(getComponentFaultTree_Components(), this.getComponent(), null, "components", null, 0, -1, ComponentFaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
721 | initEReference(getComponentFaultTree_TopEvent(), this.getOutput(), null, "topEvent", null, 1, 1, ComponentFaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
722 | |||
723 | initEClass(componentEClass, Component.class, "Component", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
724 | initEReference(getComponent_Inputs(), this.getInput(), this.getInput_Component(), "inputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
725 | initEReference(getComponent_Outputs(), this.getOutput(), this.getOutput_Component(), "outputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
726 | initEReference(getComponent_ComponentDefinition(), this.getComponentDefinition(), null, "componentDefinition", null, 1, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
727 | |||
728 | initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
729 | initEReference(getInput_IntputEvent(), this.getIntputEvent(), null, "intputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
730 | initEReference(getInput_Component(), this.getComponent(), this.getComponent_Inputs(), "component", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
731 | initEReference(getInput_IncomingConnections(), this.getConnection(), this.getConnection_Input(), "incomingConnections", null, 0, -1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
732 | |||
733 | initEClass(outputEClass, Output.class, "Output", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
734 | initEReference(getOutput_EventDeclaration(), this.getEventDeclaration(), null, "eventDeclaration", null, 1, 1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
735 | initEReference(getOutput_OutgoingConnections(), this.getConnection(), this.getConnection_Output(), "outgoingConnections", null, 0, -1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
736 | initEReference(getOutput_Component(), this.getComponent(), this.getComponent_Outputs(), "component", null, 1, 1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
737 | |||
738 | initEClass(connectionEClass, Connection.class, "Connection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
739 | initEReference(getConnection_Input(), this.getInput(), this.getInput_IncomingConnections(), "input", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
740 | initEReference(getConnection_Output(), this.getOutput(), this.getOutput_OutgoingConnections(), "output", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
741 | |||
742 | // Create resource | ||
743 | createResource(eNS_URI); | ||
744 | } | ||
745 | |||
746 | } //CftPackageImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java new file mode 100644 index 00000000..58a476f3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java | |||
@@ -0,0 +1,300 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
23 | |||
24 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
25 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
26 | import org.eclipse.emf.ecore.util.InternalEList; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model object '<em><b>Component Definition</b></em>'. | ||
31 | * <!-- end-user-doc --> | ||
32 | * <p> | ||
33 | * The following features are implemented: | ||
34 | * </p> | ||
35 | * <ul> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getInputEvents <em>Input Events</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getEventDefinitions <em>Event Definitions</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getOutputEvents <em>Output Events</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getName <em>Name</em>}</li> | ||
40 | * </ul> | ||
41 | * | ||
42 | * @generated | ||
43 | */ | ||
44 | public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implements ComponentDefinition { | ||
45 | /** | ||
46 | * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' containment reference list. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getInputEvents() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected EList<IntputEvent> inputEvents; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getEventDefinitions() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected EList<EventDefinition> eventDefinitions; | ||
64 | |||
65 | /** | ||
66 | * The cached value of the '{@link #getOutputEvents() <em>Output Events</em>}' reference list. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @see #getOutputEvents() | ||
70 | * @generated | ||
71 | * @ordered | ||
72 | */ | ||
73 | protected EList<EventDeclaration> outputEvents; | ||
74 | |||
75 | /** | ||
76 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @see #getName() | ||
80 | * @generated | ||
81 | * @ordered | ||
82 | */ | ||
83 | protected static final String NAME_EDEFAULT = null; | ||
84 | |||
85 | /** | ||
86 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @see #getName() | ||
90 | * @generated | ||
91 | * @ordered | ||
92 | */ | ||
93 | protected String name = NAME_EDEFAULT; | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | protected ComponentDefinitionImpl() { | ||
101 | super(); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | protected EClass eStaticClass() { | ||
111 | return CftPackage.Literals.COMPONENT_DEFINITION; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public EList<IntputEvent> getInputEvents() { | ||
121 | if (inputEvents == null) { | ||
122 | inputEvents = new EObjectContainmentEList<IntputEvent>(IntputEvent.class, this, CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS); | ||
123 | } | ||
124 | return inputEvents; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public EList<EventDefinition> getEventDefinitions() { | ||
134 | if (eventDefinitions == null) { | ||
135 | eventDefinitions = new EObjectContainmentEList<EventDefinition>(EventDefinition.class, this, CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS); | ||
136 | } | ||
137 | return eventDefinitions; | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public EList<EventDeclaration> getOutputEvents() { | ||
147 | if (outputEvents == null) { | ||
148 | outputEvents = new EObjectResolvingEList<EventDeclaration>(EventDeclaration.class, this, CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS); | ||
149 | } | ||
150 | return outputEvents; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public String getName() { | ||
160 | return name; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public void setName(String newName) { | ||
170 | String oldName = name; | ||
171 | name = newName; | ||
172 | if (eNotificationRequired()) | ||
173 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT_DEFINITION__NAME, oldName, name)); | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
183 | switch (featureID) { | ||
184 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
185 | return ((InternalEList<?>)getInputEvents()).basicRemove(otherEnd, msgs); | ||
186 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
187 | return ((InternalEList<?>)getEventDefinitions()).basicRemove(otherEnd, msgs); | ||
188 | } | ||
189 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | @Override | ||
198 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
199 | switch (featureID) { | ||
200 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
201 | return getInputEvents(); | ||
202 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
203 | return getEventDefinitions(); | ||
204 | case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
205 | return getOutputEvents(); | ||
206 | case CftPackage.COMPONENT_DEFINITION__NAME: | ||
207 | return getName(); | ||
208 | } | ||
209 | return super.eGet(featureID, resolve, coreType); | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @SuppressWarnings("unchecked") | ||
218 | @Override | ||
219 | public void eSet(int featureID, Object newValue) { | ||
220 | switch (featureID) { | ||
221 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
222 | getInputEvents().clear(); | ||
223 | getInputEvents().addAll((Collection<? extends IntputEvent>)newValue); | ||
224 | return; | ||
225 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
226 | getEventDefinitions().clear(); | ||
227 | getEventDefinitions().addAll((Collection<? extends EventDefinition>)newValue); | ||
228 | return; | ||
229 | case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
230 | getOutputEvents().clear(); | ||
231 | getOutputEvents().addAll((Collection<? extends EventDeclaration>)newValue); | ||
232 | return; | ||
233 | case CftPackage.COMPONENT_DEFINITION__NAME: | ||
234 | setName((String)newValue); | ||
235 | return; | ||
236 | } | ||
237 | super.eSet(featureID, newValue); | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | @Override | ||
246 | public void eUnset(int featureID) { | ||
247 | switch (featureID) { | ||
248 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
249 | getInputEvents().clear(); | ||
250 | return; | ||
251 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
252 | getEventDefinitions().clear(); | ||
253 | return; | ||
254 | case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
255 | getOutputEvents().clear(); | ||
256 | return; | ||
257 | case CftPackage.COMPONENT_DEFINITION__NAME: | ||
258 | setName(NAME_EDEFAULT); | ||
259 | return; | ||
260 | } | ||
261 | super.eUnset(featureID); | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @generated | ||
268 | */ | ||
269 | @Override | ||
270 | public boolean eIsSet(int featureID) { | ||
271 | switch (featureID) { | ||
272 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | ||
273 | return inputEvents != null && !inputEvents.isEmpty(); | ||
274 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | ||
275 | return eventDefinitions != null && !eventDefinitions.isEmpty(); | ||
276 | case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: | ||
277 | return outputEvents != null && !outputEvents.isEmpty(); | ||
278 | case CftPackage.COMPONENT_DEFINITION__NAME: | ||
279 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
280 | } | ||
281 | return super.eIsSet(featureID); | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | @Override | ||
290 | public String toString() { | ||
291 | if (eIsProxy()) return super.toString(); | ||
292 | |||
293 | StringBuilder result = new StringBuilder(super.toString()); | ||
294 | result.append(" (name: "); | ||
295 | result.append(name); | ||
296 | result.append(')'); | ||
297 | return result.toString(); | ||
298 | } | ||
299 | |||
300 | } //ComponentDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java new file mode 100644 index 00000000..b84b6436 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java | |||
@@ -0,0 +1,218 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Component Fault Tree</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl#getComponents <em>Components</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl#getTopEvent <em>Top Event</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class ComponentFaultTreeImpl extends MinimalEObjectImpl.Container implements ComponentFaultTree { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getComponents() <em>Components</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getComponents() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<Component> components; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getTopEvent() <em>Top Event</em>}' reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getTopEvent() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected Output topEvent; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected ComponentFaultTreeImpl() { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() { | ||
77 | return CftPackage.Literals.COMPONENT_FAULT_TREE; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public EList<Component> getComponents() { | ||
87 | if (components == null) { | ||
88 | components = new EObjectContainmentEList<Component>(Component.class, this, CftPackage.COMPONENT_FAULT_TREE__COMPONENTS); | ||
89 | } | ||
90 | return components; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Output getTopEvent() { | ||
100 | if (topEvent != null && topEvent.eIsProxy()) { | ||
101 | InternalEObject oldTopEvent = (InternalEObject)topEvent; | ||
102 | topEvent = (Output)eResolveProxy(oldTopEvent); | ||
103 | if (topEvent != oldTopEvent) { | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); | ||
106 | } | ||
107 | } | ||
108 | return topEvent; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | public Output basicGetTopEvent() { | ||
117 | return topEvent; | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void setTopEvent(Output newTopEvent) { | ||
127 | Output oldTopEvent = topEvent; | ||
128 | topEvent = newTopEvent; | ||
129 | if (eNotificationRequired()) | ||
130 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
140 | switch (featureID) { | ||
141 | case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: | ||
142 | return ((InternalEList<?>)getComponents()).basicRemove(otherEnd, msgs); | ||
143 | } | ||
144 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
154 | switch (featureID) { | ||
155 | case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: | ||
156 | return getComponents(); | ||
157 | case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: | ||
158 | if (resolve) return getTopEvent(); | ||
159 | return basicGetTopEvent(); | ||
160 | } | ||
161 | return super.eGet(featureID, resolve, coreType); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @SuppressWarnings("unchecked") | ||
170 | @Override | ||
171 | public void eSet(int featureID, Object newValue) { | ||
172 | switch (featureID) { | ||
173 | case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: | ||
174 | getComponents().clear(); | ||
175 | getComponents().addAll((Collection<? extends Component>)newValue); | ||
176 | return; | ||
177 | case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: | ||
178 | setTopEvent((Output)newValue); | ||
179 | return; | ||
180 | } | ||
181 | super.eSet(featureID, newValue); | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | @Override | ||
190 | public void eUnset(int featureID) { | ||
191 | switch (featureID) { | ||
192 | case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: | ||
193 | getComponents().clear(); | ||
194 | return; | ||
195 | case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: | ||
196 | setTopEvent((Output)null); | ||
197 | return; | ||
198 | } | ||
199 | super.eUnset(featureID); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public boolean eIsSet(int featureID) { | ||
209 | switch (featureID) { | ||
210 | case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: | ||
211 | return components != null && !components.isEmpty(); | ||
212 | case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: | ||
213 | return topEvent != null; | ||
214 | } | ||
215 | return super.eIsSet(featureID); | ||
216 | } | ||
217 | |||
218 | } //ComponentFaultTreeImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java new file mode 100644 index 00000000..6d23dc78 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java | |||
@@ -0,0 +1,273 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
23 | |||
24 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; | ||
25 | import org.eclipse.emf.ecore.util.InternalEList; | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * An implementation of the model object '<em><b>Component</b></em>'. | ||
30 | * <!-- end-user-doc --> | ||
31 | * <p> | ||
32 | * The following features are implemented: | ||
33 | * </p> | ||
34 | * <ul> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs <em>Inputs</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs <em>Outputs</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition <em>Component Definition</em>}</li> | ||
38 | * </ul> | ||
39 | * | ||
40 | * @generated | ||
41 | */ | ||
42 | public class ComponentImpl extends MinimalEObjectImpl.Container implements Component { | ||
43 | /** | ||
44 | * The cached value of the '{@link #getInputs() <em>Inputs</em>}' containment reference list. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getInputs() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected EList<Input> inputs; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getOutputs() <em>Outputs</em>}' containment reference list. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getOutputs() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected EList<Output> outputs; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getComponentDefinition() <em>Component Definition</em>}' reference. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getComponentDefinition() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected ComponentDefinition componentDefinition; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | protected ComponentImpl() { | ||
79 | super(); | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | protected EClass eStaticClass() { | ||
89 | return CftPackage.Literals.COMPONENT; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public EList<Input> getInputs() { | ||
99 | if (inputs == null) { | ||
100 | inputs = new EObjectContainmentWithInverseEList<Input>(Input.class, this, CftPackage.COMPONENT__INPUTS, CftPackage.INPUT__COMPONENT); | ||
101 | } | ||
102 | return inputs; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public EList<Output> getOutputs() { | ||
112 | if (outputs == null) { | ||
113 | outputs = new EObjectContainmentWithInverseEList<Output>(Output.class, this, CftPackage.COMPONENT__OUTPUTS, CftPackage.OUTPUT__COMPONENT); | ||
114 | } | ||
115 | return outputs; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public ComponentDefinition getComponentDefinition() { | ||
125 | if (componentDefinition != null && componentDefinition.eIsProxy()) { | ||
126 | InternalEObject oldComponentDefinition = (InternalEObject)componentDefinition; | ||
127 | componentDefinition = (ComponentDefinition)eResolveProxy(oldComponentDefinition); | ||
128 | if (componentDefinition != oldComponentDefinition) { | ||
129 | if (eNotificationRequired()) | ||
130 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition)); | ||
131 | } | ||
132 | } | ||
133 | return componentDefinition; | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | public ComponentDefinition basicGetComponentDefinition() { | ||
142 | return componentDefinition; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public void setComponentDefinition(ComponentDefinition newComponentDefinition) { | ||
152 | ComponentDefinition oldComponentDefinition = componentDefinition; | ||
153 | componentDefinition = newComponentDefinition; | ||
154 | if (eNotificationRequired()) | ||
155 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition)); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @SuppressWarnings("unchecked") | ||
164 | @Override | ||
165 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
166 | switch (featureID) { | ||
167 | case CftPackage.COMPONENT__INPUTS: | ||
168 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getInputs()).basicAdd(otherEnd, msgs); | ||
169 | case CftPackage.COMPONENT__OUTPUTS: | ||
170 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutputs()).basicAdd(otherEnd, msgs); | ||
171 | } | ||
172 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | @Override | ||
181 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
182 | switch (featureID) { | ||
183 | case CftPackage.COMPONENT__INPUTS: | ||
184 | return ((InternalEList<?>)getInputs()).basicRemove(otherEnd, msgs); | ||
185 | case CftPackage.COMPONENT__OUTPUTS: | ||
186 | return ((InternalEList<?>)getOutputs()).basicRemove(otherEnd, msgs); | ||
187 | } | ||
188 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | @Override | ||
197 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
198 | switch (featureID) { | ||
199 | case CftPackage.COMPONENT__INPUTS: | ||
200 | return getInputs(); | ||
201 | case CftPackage.COMPONENT__OUTPUTS: | ||
202 | return getOutputs(); | ||
203 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | ||
204 | if (resolve) return getComponentDefinition(); | ||
205 | return basicGetComponentDefinition(); | ||
206 | } | ||
207 | return super.eGet(featureID, resolve, coreType); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @SuppressWarnings("unchecked") | ||
216 | @Override | ||
217 | public void eSet(int featureID, Object newValue) { | ||
218 | switch (featureID) { | ||
219 | case CftPackage.COMPONENT__INPUTS: | ||
220 | getInputs().clear(); | ||
221 | getInputs().addAll((Collection<? extends Input>)newValue); | ||
222 | return; | ||
223 | case CftPackage.COMPONENT__OUTPUTS: | ||
224 | getOutputs().clear(); | ||
225 | getOutputs().addAll((Collection<? extends Output>)newValue); | ||
226 | return; | ||
227 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | ||
228 | setComponentDefinition((ComponentDefinition)newValue); | ||
229 | return; | ||
230 | } | ||
231 | super.eSet(featureID, newValue); | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | @Override | ||
240 | public void eUnset(int featureID) { | ||
241 | switch (featureID) { | ||
242 | case CftPackage.COMPONENT__INPUTS: | ||
243 | getInputs().clear(); | ||
244 | return; | ||
245 | case CftPackage.COMPONENT__OUTPUTS: | ||
246 | getOutputs().clear(); | ||
247 | return; | ||
248 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | ||
249 | setComponentDefinition((ComponentDefinition)null); | ||
250 | return; | ||
251 | } | ||
252 | super.eUnset(featureID); | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | */ | ||
260 | @Override | ||
261 | public boolean eIsSet(int featureID) { | ||
262 | switch (featureID) { | ||
263 | case CftPackage.COMPONENT__INPUTS: | ||
264 | return inputs != null && !inputs.isEmpty(); | ||
265 | case CftPackage.COMPONENT__OUTPUTS: | ||
266 | return outputs != null && !outputs.isEmpty(); | ||
267 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | ||
268 | return componentDefinition != null; | ||
269 | } | ||
270 | return super.eIsSet(featureID); | ||
271 | } | ||
272 | |||
273 | } //ComponentImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java new file mode 100644 index 00000000..7506e4d7 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java | |||
@@ -0,0 +1,289 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>Connection</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getInput <em>Input</em>}</li> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getOutput <em>Output</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class ConnectionImpl extends MinimalEObjectImpl.Container implements Connection { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getOutput() <em>Output</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getOutput() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected Output output; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected ConnectionImpl() { | ||
52 | super(); | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | @Override | ||
61 | protected EClass eStaticClass() { | ||
62 | return CftPackage.Literals.CONNECTION; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | public Input getInput() { | ||
72 | if (eContainerFeatureID() != CftPackage.CONNECTION__INPUT) return null; | ||
73 | return (Input)eInternalContainer(); | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public NotificationChain basicSetInput(Input newInput, NotificationChain msgs) { | ||
82 | msgs = eBasicSetContainer((InternalEObject)newInput, CftPackage.CONNECTION__INPUT, msgs); | ||
83 | return msgs; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public void setInput(Input newInput) { | ||
93 | if (newInput != eInternalContainer() || (eContainerFeatureID() != CftPackage.CONNECTION__INPUT && newInput != null)) { | ||
94 | if (EcoreUtil.isAncestor(this, newInput)) | ||
95 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | ||
96 | NotificationChain msgs = null; | ||
97 | if (eInternalContainer() != null) | ||
98 | msgs = eBasicRemoveFromContainer(msgs); | ||
99 | if (newInput != null) | ||
100 | msgs = ((InternalEObject)newInput).eInverseAdd(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs); | ||
101 | msgs = basicSetInput(newInput, msgs); | ||
102 | if (msgs != null) msgs.dispatch(); | ||
103 | } | ||
104 | else if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__INPUT, newInput, newInput)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @Override | ||
114 | public Output getOutput() { | ||
115 | if (output != null && output.eIsProxy()) { | ||
116 | InternalEObject oldOutput = (InternalEObject)output; | ||
117 | output = (Output)eResolveProxy(oldOutput); | ||
118 | if (output != oldOutput) { | ||
119 | if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.CONNECTION__OUTPUT, oldOutput, output)); | ||
121 | } | ||
122 | } | ||
123 | return output; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public Output basicGetOutput() { | ||
132 | return output; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public NotificationChain basicSetOutput(Output newOutput, NotificationChain msgs) { | ||
141 | Output oldOutput = output; | ||
142 | output = newOutput; | ||
143 | if (eNotificationRequired()) { | ||
144 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, oldOutput, newOutput); | ||
145 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
146 | } | ||
147 | return msgs; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public void setOutput(Output newOutput) { | ||
157 | if (newOutput != output) { | ||
158 | NotificationChain msgs = null; | ||
159 | if (output != null) | ||
160 | msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); | ||
161 | if (newOutput != null) | ||
162 | msgs = ((InternalEObject)newOutput).eInverseAdd(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); | ||
163 | msgs = basicSetOutput(newOutput, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, newOutput, newOutput)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
177 | switch (featureID) { | ||
178 | case CftPackage.CONNECTION__INPUT: | ||
179 | if (eInternalContainer() != null) | ||
180 | msgs = eBasicRemoveFromContainer(msgs); | ||
181 | return basicSetInput((Input)otherEnd, msgs); | ||
182 | case CftPackage.CONNECTION__OUTPUT: | ||
183 | if (output != null) | ||
184 | msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); | ||
185 | return basicSetOutput((Output)otherEnd, msgs); | ||
186 | } | ||
187 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
197 | switch (featureID) { | ||
198 | case CftPackage.CONNECTION__INPUT: | ||
199 | return basicSetInput(null, msgs); | ||
200 | case CftPackage.CONNECTION__OUTPUT: | ||
201 | return basicSetOutput(null, msgs); | ||
202 | } | ||
203 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | ||
213 | switch (eContainerFeatureID()) { | ||
214 | case CftPackage.CONNECTION__INPUT: | ||
215 | return eInternalContainer().eInverseRemove(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs); | ||
216 | } | ||
217 | return super.eBasicRemoveFromContainerFeature(msgs); | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | @Override | ||
226 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
227 | switch (featureID) { | ||
228 | case CftPackage.CONNECTION__INPUT: | ||
229 | return getInput(); | ||
230 | case CftPackage.CONNECTION__OUTPUT: | ||
231 | if (resolve) return getOutput(); | ||
232 | return basicGetOutput(); | ||
233 | } | ||
234 | return super.eGet(featureID, resolve, coreType); | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | */ | ||
242 | @Override | ||
243 | public void eSet(int featureID, Object newValue) { | ||
244 | switch (featureID) { | ||
245 | case CftPackage.CONNECTION__INPUT: | ||
246 | setInput((Input)newValue); | ||
247 | return; | ||
248 | case CftPackage.CONNECTION__OUTPUT: | ||
249 | setOutput((Output)newValue); | ||
250 | return; | ||
251 | } | ||
252 | super.eSet(featureID, newValue); | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | */ | ||
260 | @Override | ||
261 | public void eUnset(int featureID) { | ||
262 | switch (featureID) { | ||
263 | case CftPackage.CONNECTION__INPUT: | ||
264 | setInput((Input)null); | ||
265 | return; | ||
266 | case CftPackage.CONNECTION__OUTPUT: | ||
267 | setOutput((Output)null); | ||
268 | return; | ||
269 | } | ||
270 | super.eUnset(featureID); | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @Override | ||
279 | public boolean eIsSet(int featureID) { | ||
280 | switch (featureID) { | ||
281 | case CftPackage.CONNECTION__INPUT: | ||
282 | return getInput() != null; | ||
283 | case CftPackage.CONNECTION__OUTPUT: | ||
284 | return output != null; | ||
285 | } | ||
286 | return super.eIsSet(featureID); | ||
287 | } | ||
288 | |||
289 | } //ConnectionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java new file mode 100644 index 00000000..e60a9427 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java | |||
@@ -0,0 +1,163 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Event Declaration</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl#getName <em>Name</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public abstract class EventDeclarationImpl extends MinimalEObjectImpl.Container implements EventDeclaration { | ||
28 | /** | ||
29 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getName() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final String NAME_EDEFAULT = null; | ||
37 | /** | ||
38 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getName() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected String name = NAME_EDEFAULT; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected EventDeclarationImpl() { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() { | ||
63 | return CftPackage.Literals.EVENT_DECLARATION; | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | public String getName() { | ||
73 | return name; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | public void setName(String newName) { | ||
83 | String oldName = name; | ||
84 | name = newName; | ||
85 | if (eNotificationRequired()) | ||
86 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.EVENT_DECLARATION__NAME, oldName, name)); | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | @Override | ||
95 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
96 | switch (featureID) { | ||
97 | case CftPackage.EVENT_DECLARATION__NAME: | ||
98 | return getName(); | ||
99 | } | ||
100 | return super.eGet(featureID, resolve, coreType); | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | @Override | ||
109 | public void eSet(int featureID, Object newValue) { | ||
110 | switch (featureID) { | ||
111 | case CftPackage.EVENT_DECLARATION__NAME: | ||
112 | setName((String)newValue); | ||
113 | return; | ||
114 | } | ||
115 | super.eSet(featureID, newValue); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public void eUnset(int featureID) { | ||
125 | switch (featureID) { | ||
126 | case CftPackage.EVENT_DECLARATION__NAME: | ||
127 | setName(NAME_EDEFAULT); | ||
128 | return; | ||
129 | } | ||
130 | super.eUnset(featureID); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public boolean eIsSet(int featureID) { | ||
140 | switch (featureID) { | ||
141 | case CftPackage.EVENT_DECLARATION__NAME: | ||
142 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
143 | } | ||
144 | return super.eIsSet(featureID); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public String toString() { | ||
154 | if (eIsProxy()) return super.toString(); | ||
155 | |||
156 | StringBuilder result = new StringBuilder(super.toString()); | ||
157 | result.append(" (name: "); | ||
158 | result.append(name); | ||
159 | result.append(')'); | ||
160 | return result.toString(); | ||
161 | } | ||
162 | |||
163 | } //EventDeclarationImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java new file mode 100644 index 00000000..76b79f5b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Event Definition</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class EventDefinitionImpl extends EventDeclarationImpl implements EventDefinition { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected EventDefinitionImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return CftPackage.Literals.EVENT_DEFINITION; | ||
35 | } | ||
36 | |||
37 | } //EventDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java new file mode 100644 index 00000000..2fb9a724 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java | |||
@@ -0,0 +1,133 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Gate Definition</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl#getInputEvents <em>Input Events</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public abstract class GateDefinitionImpl extends EventDefinitionImpl implements GateDefinition { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' reference list. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getInputEvents() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected EList<EventDeclaration> inputEvents; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected GateDefinitionImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return CftPackage.Literals.GATE_DEFINITION; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public EList<EventDeclaration> getInputEvents() { | ||
67 | if (inputEvents == null) { | ||
68 | inputEvents = new EObjectResolvingEList<EventDeclaration>(EventDeclaration.class, this, CftPackage.GATE_DEFINITION__INPUT_EVENTS); | ||
69 | } | ||
70 | return inputEvents; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
80 | switch (featureID) { | ||
81 | case CftPackage.GATE_DEFINITION__INPUT_EVENTS: | ||
82 | return getInputEvents(); | ||
83 | } | ||
84 | return super.eGet(featureID, resolve, coreType); | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @SuppressWarnings("unchecked") | ||
93 | @Override | ||
94 | public void eSet(int featureID, Object newValue) { | ||
95 | switch (featureID) { | ||
96 | case CftPackage.GATE_DEFINITION__INPUT_EVENTS: | ||
97 | getInputEvents().clear(); | ||
98 | getInputEvents().addAll((Collection<? extends EventDeclaration>)newValue); | ||
99 | return; | ||
100 | } | ||
101 | super.eSet(featureID, newValue); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eUnset(int featureID) { | ||
111 | switch (featureID) { | ||
112 | case CftPackage.GATE_DEFINITION__INPUT_EVENTS: | ||
113 | getInputEvents().clear(); | ||
114 | return; | ||
115 | } | ||
116 | super.eUnset(featureID); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public boolean eIsSet(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case CftPackage.GATE_DEFINITION__INPUT_EVENTS: | ||
128 | return inputEvents != null && !inputEvents.isEmpty(); | ||
129 | } | ||
130 | return super.eIsSet(featureID); | ||
131 | } | ||
132 | |||
133 | } //GateDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java new file mode 100644 index 00000000..eda5fea0 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java | |||
@@ -0,0 +1,309 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
23 | |||
24 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; | ||
25 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
26 | import org.eclipse.emf.ecore.util.InternalEList; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model object '<em><b>Input</b></em>'. | ||
31 | * <!-- end-user-doc --> | ||
32 | * <p> | ||
33 | * The following features are implemented: | ||
34 | * </p> | ||
35 | * <ul> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIntputEvent <em>Intput Event</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent <em>Component</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections <em>Incoming Connections</em>}</li> | ||
39 | * </ul> | ||
40 | * | ||
41 | * @generated | ||
42 | */ | ||
43 | public class InputImpl extends MinimalEObjectImpl.Container implements Input { | ||
44 | /** | ||
45 | * The cached value of the '{@link #getIntputEvent() <em>Intput Event</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getIntputEvent() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected IntputEvent intputEvent; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getIncomingConnections() <em>Incoming Connections</em>}' containment reference list. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getIncomingConnections() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected EList<Connection> incomingConnections; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected InputImpl() { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() { | ||
80 | return CftPackage.Literals.INPUT; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public IntputEvent getIntputEvent() { | ||
90 | if (intputEvent != null && intputEvent.eIsProxy()) { | ||
91 | InternalEObject oldIntputEvent = (InternalEObject)intputEvent; | ||
92 | intputEvent = (IntputEvent)eResolveProxy(oldIntputEvent); | ||
93 | if (intputEvent != oldIntputEvent) { | ||
94 | if (eNotificationRequired()) | ||
95 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent)); | ||
96 | } | ||
97 | } | ||
98 | return intputEvent; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public IntputEvent basicGetIntputEvent() { | ||
107 | return intputEvent; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void setIntputEvent(IntputEvent newIntputEvent) { | ||
117 | IntputEvent oldIntputEvent = intputEvent; | ||
118 | intputEvent = newIntputEvent; | ||
119 | if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent)); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public Component getComponent() { | ||
130 | if (eContainerFeatureID() != CftPackage.INPUT__COMPONENT) return null; | ||
131 | return (Component)eInternalContainer(); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public NotificationChain basicSetComponent(Component newComponent, NotificationChain msgs) { | ||
140 | msgs = eBasicSetContainer((InternalEObject)newComponent, CftPackage.INPUT__COMPONENT, msgs); | ||
141 | return msgs; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void setComponent(Component newComponent) { | ||
151 | if (newComponent != eInternalContainer() || (eContainerFeatureID() != CftPackage.INPUT__COMPONENT && newComponent != null)) { | ||
152 | if (EcoreUtil.isAncestor(this, newComponent)) | ||
153 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | ||
154 | NotificationChain msgs = null; | ||
155 | if (eInternalContainer() != null) | ||
156 | msgs = eBasicRemoveFromContainer(msgs); | ||
157 | if (newComponent != null) | ||
158 | msgs = ((InternalEObject)newComponent).eInverseAdd(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs); | ||
159 | msgs = basicSetComponent(newComponent, msgs); | ||
160 | if (msgs != null) msgs.dispatch(); | ||
161 | } | ||
162 | else if (eNotificationRequired()) | ||
163 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__COMPONENT, newComponent, newComponent)); | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | @Override | ||
172 | public EList<Connection> getIncomingConnections() { | ||
173 | if (incomingConnections == null) { | ||
174 | incomingConnections = new EObjectContainmentWithInverseEList<Connection>(Connection.class, this, CftPackage.INPUT__INCOMING_CONNECTIONS, CftPackage.CONNECTION__INPUT); | ||
175 | } | ||
176 | return incomingConnections; | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @SuppressWarnings("unchecked") | ||
185 | @Override | ||
186 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
187 | switch (featureID) { | ||
188 | case CftPackage.INPUT__COMPONENT: | ||
189 | if (eInternalContainer() != null) | ||
190 | msgs = eBasicRemoveFromContainer(msgs); | ||
191 | return basicSetComponent((Component)otherEnd, msgs); | ||
192 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
193 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingConnections()).basicAdd(otherEnd, msgs); | ||
194 | } | ||
195 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
205 | switch (featureID) { | ||
206 | case CftPackage.INPUT__COMPONENT: | ||
207 | return basicSetComponent(null, msgs); | ||
208 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
209 | return ((InternalEList<?>)getIncomingConnections()).basicRemove(otherEnd, msgs); | ||
210 | } | ||
211 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | ||
221 | switch (eContainerFeatureID()) { | ||
222 | case CftPackage.INPUT__COMPONENT: | ||
223 | return eInternalContainer().eInverseRemove(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs); | ||
224 | } | ||
225 | return super.eBasicRemoveFromContainerFeature(msgs); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | @Override | ||
234 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
235 | switch (featureID) { | ||
236 | case CftPackage.INPUT__INTPUT_EVENT: | ||
237 | if (resolve) return getIntputEvent(); | ||
238 | return basicGetIntputEvent(); | ||
239 | case CftPackage.INPUT__COMPONENT: | ||
240 | return getComponent(); | ||
241 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
242 | return getIncomingConnections(); | ||
243 | } | ||
244 | return super.eGet(featureID, resolve, coreType); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @SuppressWarnings("unchecked") | ||
253 | @Override | ||
254 | public void eSet(int featureID, Object newValue) { | ||
255 | switch (featureID) { | ||
256 | case CftPackage.INPUT__INTPUT_EVENT: | ||
257 | setIntputEvent((IntputEvent)newValue); | ||
258 | return; | ||
259 | case CftPackage.INPUT__COMPONENT: | ||
260 | setComponent((Component)newValue); | ||
261 | return; | ||
262 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
263 | getIncomingConnections().clear(); | ||
264 | getIncomingConnections().addAll((Collection<? extends Connection>)newValue); | ||
265 | return; | ||
266 | } | ||
267 | super.eSet(featureID, newValue); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | @Override | ||
276 | public void eUnset(int featureID) { | ||
277 | switch (featureID) { | ||
278 | case CftPackage.INPUT__INTPUT_EVENT: | ||
279 | setIntputEvent((IntputEvent)null); | ||
280 | return; | ||
281 | case CftPackage.INPUT__COMPONENT: | ||
282 | setComponent((Component)null); | ||
283 | return; | ||
284 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
285 | getIncomingConnections().clear(); | ||
286 | return; | ||
287 | } | ||
288 | super.eUnset(featureID); | ||
289 | } | ||
290 | |||
291 | /** | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | */ | ||
296 | @Override | ||
297 | public boolean eIsSet(int featureID) { | ||
298 | switch (featureID) { | ||
299 | case CftPackage.INPUT__INTPUT_EVENT: | ||
300 | return intputEvent != null; | ||
301 | case CftPackage.INPUT__COMPONENT: | ||
302 | return getComponent() != null; | ||
303 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | ||
304 | return incomingConnections != null && !incomingConnections.isEmpty(); | ||
305 | } | ||
306 | return super.eIsSet(featureID); | ||
307 | } | ||
308 | |||
309 | } //InputImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/IntputEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/IntputEventImpl.java new file mode 100644 index 00000000..ea22452f --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/IntputEventImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Intput Event</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl#isMultiple <em>Multiple</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent { | ||
28 | /** | ||
29 | * The default value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #isMultiple() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final boolean MULTIPLE_EDEFAULT = false; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #isMultiple() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected boolean multiple = MULTIPLE_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected IntputEventImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return CftPackage.Literals.INTPUT_EVENT; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public boolean isMultiple() { | ||
74 | return multiple; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setMultiple(boolean newMultiple) { | ||
84 | boolean oldMultiple = multiple; | ||
85 | multiple = newMultiple; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INTPUT_EVENT__MULTIPLE, oldMultiple, multiple)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case CftPackage.INTPUT_EVENT__MULTIPLE: | ||
99 | return isMultiple(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case CftPackage.INTPUT_EVENT__MULTIPLE: | ||
113 | setMultiple((Boolean)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case CftPackage.INTPUT_EVENT__MULTIPLE: | ||
128 | setMultiple(MULTIPLE_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case CftPackage.INTPUT_EVENT__MULTIPLE: | ||
143 | return multiple != MULTIPLE_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (multiple: "); | ||
159 | result.append(multiple); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //IntputEventImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java new file mode 100644 index 00000000..fed17513 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java | |||
@@ -0,0 +1,220 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>KOf MGate Definition</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl#getK <em>K</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl#getM <em>M</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class KOfMGateDefinitionImpl extends GateDefinitionImpl implements KOfMGateDefinition { | ||
29 | /** | ||
30 | * The default value of the '{@link #getK() <em>K</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getK() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int K_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getK() <em>K</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getK() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int k = K_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #getM() <em>M</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getM() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final int M_EDEFAULT = 0; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getM() <em>M</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getM() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected int m = M_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected KOfMGateDefinitionImpl() { | ||
75 | super(); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | protected EClass eStaticClass() { | ||
85 | return CftPackage.Literals.KOF_MGATE_DEFINITION; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public int getK() { | ||
95 | return k; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setK(int newK) { | ||
105 | int oldK = k; | ||
106 | k = newK; | ||
107 | if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.KOF_MGATE_DEFINITION__K, oldK, k)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public int getM() { | ||
118 | return m; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void setM(int newM) { | ||
128 | int oldM = m; | ||
129 | m = newM; | ||
130 | if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.KOF_MGATE_DEFINITION__M, oldM, m)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
141 | switch (featureID) { | ||
142 | case CftPackage.KOF_MGATE_DEFINITION__K: | ||
143 | return getK(); | ||
144 | case CftPackage.KOF_MGATE_DEFINITION__M: | ||
145 | return getM(); | ||
146 | } | ||
147 | return super.eGet(featureID, resolve, coreType); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public void eSet(int featureID, Object newValue) { | ||
157 | switch (featureID) { | ||
158 | case CftPackage.KOF_MGATE_DEFINITION__K: | ||
159 | setK((Integer)newValue); | ||
160 | return; | ||
161 | case CftPackage.KOF_MGATE_DEFINITION__M: | ||
162 | setM((Integer)newValue); | ||
163 | return; | ||
164 | } | ||
165 | super.eSet(featureID, newValue); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public void eUnset(int featureID) { | ||
175 | switch (featureID) { | ||
176 | case CftPackage.KOF_MGATE_DEFINITION__K: | ||
177 | setK(K_EDEFAULT); | ||
178 | return; | ||
179 | case CftPackage.KOF_MGATE_DEFINITION__M: | ||
180 | setM(M_EDEFAULT); | ||
181 | return; | ||
182 | } | ||
183 | super.eUnset(featureID); | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | @Override | ||
192 | public boolean eIsSet(int featureID) { | ||
193 | switch (featureID) { | ||
194 | case CftPackage.KOF_MGATE_DEFINITION__K: | ||
195 | return k != K_EDEFAULT; | ||
196 | case CftPackage.KOF_MGATE_DEFINITION__M: | ||
197 | return m != M_EDEFAULT; | ||
198 | } | ||
199 | return super.eIsSet(featureID); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public String toString() { | ||
209 | if (eIsProxy()) return super.toString(); | ||
210 | |||
211 | StringBuilder result = new StringBuilder(super.toString()); | ||
212 | result.append(" (k: "); | ||
213 | result.append(k); | ||
214 | result.append(", m: "); | ||
215 | result.append(m); | ||
216 | result.append(')'); | ||
217 | return result.toString(); | ||
218 | } | ||
219 | |||
220 | } //KOfMGateDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java new file mode 100644 index 00000000..d2275f60 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Or Gate Definition</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class OrGateDefinitionImpl extends GateDefinitionImpl implements OrGateDefinition { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected OrGateDefinitionImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return CftPackage.Literals.OR_GATE_DEFINITION; | ||
35 | } | ||
36 | |||
37 | } //OrGateDefinitionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java new file mode 100644 index 00000000..31a81afe --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java | |||
@@ -0,0 +1,309 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
23 | |||
24 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
25 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
26 | import org.eclipse.emf.ecore.util.InternalEList; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model object '<em><b>Output</b></em>'. | ||
31 | * <!-- end-user-doc --> | ||
32 | * <p> | ||
33 | * The following features are implemented: | ||
34 | * </p> | ||
35 | * <ul> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getEventDeclaration <em>Event Declaration</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getOutgoingConnections <em>Outgoing Connections</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getComponent <em>Component</em>}</li> | ||
39 | * </ul> | ||
40 | * | ||
41 | * @generated | ||
42 | */ | ||
43 | public class OutputImpl extends MinimalEObjectImpl.Container implements Output { | ||
44 | /** | ||
45 | * The cached value of the '{@link #getEventDeclaration() <em>Event Declaration</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getEventDeclaration() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected EventDeclaration eventDeclaration; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getOutgoingConnections() <em>Outgoing Connections</em>}' reference list. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getOutgoingConnections() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected EList<Connection> outgoingConnections; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected OutputImpl() { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() { | ||
80 | return CftPackage.Literals.OUTPUT; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public EventDeclaration getEventDeclaration() { | ||
90 | if (eventDeclaration != null && eventDeclaration.eIsProxy()) { | ||
91 | InternalEObject oldEventDeclaration = (InternalEObject)eventDeclaration; | ||
92 | eventDeclaration = (EventDeclaration)eResolveProxy(oldEventDeclaration); | ||
93 | if (eventDeclaration != oldEventDeclaration) { | ||
94 | if (eNotificationRequired()) | ||
95 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.OUTPUT__EVENT_DECLARATION, oldEventDeclaration, eventDeclaration)); | ||
96 | } | ||
97 | } | ||
98 | return eventDeclaration; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public EventDeclaration basicGetEventDeclaration() { | ||
107 | return eventDeclaration; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void setEventDeclaration(EventDeclaration newEventDeclaration) { | ||
117 | EventDeclaration oldEventDeclaration = eventDeclaration; | ||
118 | eventDeclaration = newEventDeclaration; | ||
119 | if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.OUTPUT__EVENT_DECLARATION, oldEventDeclaration, eventDeclaration)); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public EList<Connection> getOutgoingConnections() { | ||
130 | if (outgoingConnections == null) { | ||
131 | outgoingConnections = new EObjectWithInverseResolvingEList<Connection>(Connection.class, this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, CftPackage.CONNECTION__OUTPUT); | ||
132 | } | ||
133 | return outgoingConnections; | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public Component getComponent() { | ||
143 | if (eContainerFeatureID() != CftPackage.OUTPUT__COMPONENT) return null; | ||
144 | return (Component)eInternalContainer(); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | public NotificationChain basicSetComponent(Component newComponent, NotificationChain msgs) { | ||
153 | msgs = eBasicSetContainer((InternalEObject)newComponent, CftPackage.OUTPUT__COMPONENT, msgs); | ||
154 | return msgs; | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public void setComponent(Component newComponent) { | ||
164 | if (newComponent != eInternalContainer() || (eContainerFeatureID() != CftPackage.OUTPUT__COMPONENT && newComponent != null)) { | ||
165 | if (EcoreUtil.isAncestor(this, newComponent)) | ||
166 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | ||
167 | NotificationChain msgs = null; | ||
168 | if (eInternalContainer() != null) | ||
169 | msgs = eBasicRemoveFromContainer(msgs); | ||
170 | if (newComponent != null) | ||
171 | msgs = ((InternalEObject)newComponent).eInverseAdd(this, CftPackage.COMPONENT__OUTPUTS, Component.class, msgs); | ||
172 | msgs = basicSetComponent(newComponent, msgs); | ||
173 | if (msgs != null) msgs.dispatch(); | ||
174 | } | ||
175 | else if (eNotificationRequired()) | ||
176 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.OUTPUT__COMPONENT, newComponent, newComponent)); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @SuppressWarnings("unchecked") | ||
185 | @Override | ||
186 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
187 | switch (featureID) { | ||
188 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
189 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingConnections()).basicAdd(otherEnd, msgs); | ||
190 | case CftPackage.OUTPUT__COMPONENT: | ||
191 | if (eInternalContainer() != null) | ||
192 | msgs = eBasicRemoveFromContainer(msgs); | ||
193 | return basicSetComponent((Component)otherEnd, msgs); | ||
194 | } | ||
195 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
205 | switch (featureID) { | ||
206 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
207 | return ((InternalEList<?>)getOutgoingConnections()).basicRemove(otherEnd, msgs); | ||
208 | case CftPackage.OUTPUT__COMPONENT: | ||
209 | return basicSetComponent(null, msgs); | ||
210 | } | ||
211 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | ||
221 | switch (eContainerFeatureID()) { | ||
222 | case CftPackage.OUTPUT__COMPONENT: | ||
223 | return eInternalContainer().eInverseRemove(this, CftPackage.COMPONENT__OUTPUTS, Component.class, msgs); | ||
224 | } | ||
225 | return super.eBasicRemoveFromContainerFeature(msgs); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | @Override | ||
234 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
235 | switch (featureID) { | ||
236 | case CftPackage.OUTPUT__EVENT_DECLARATION: | ||
237 | if (resolve) return getEventDeclaration(); | ||
238 | return basicGetEventDeclaration(); | ||
239 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
240 | return getOutgoingConnections(); | ||
241 | case CftPackage.OUTPUT__COMPONENT: | ||
242 | return getComponent(); | ||
243 | } | ||
244 | return super.eGet(featureID, resolve, coreType); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @SuppressWarnings("unchecked") | ||
253 | @Override | ||
254 | public void eSet(int featureID, Object newValue) { | ||
255 | switch (featureID) { | ||
256 | case CftPackage.OUTPUT__EVENT_DECLARATION: | ||
257 | setEventDeclaration((EventDeclaration)newValue); | ||
258 | return; | ||
259 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
260 | getOutgoingConnections().clear(); | ||
261 | getOutgoingConnections().addAll((Collection<? extends Connection>)newValue); | ||
262 | return; | ||
263 | case CftPackage.OUTPUT__COMPONENT: | ||
264 | setComponent((Component)newValue); | ||
265 | return; | ||
266 | } | ||
267 | super.eSet(featureID, newValue); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | @Override | ||
276 | public void eUnset(int featureID) { | ||
277 | switch (featureID) { | ||
278 | case CftPackage.OUTPUT__EVENT_DECLARATION: | ||
279 | setEventDeclaration((EventDeclaration)null); | ||
280 | return; | ||
281 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
282 | getOutgoingConnections().clear(); | ||
283 | return; | ||
284 | case CftPackage.OUTPUT__COMPONENT: | ||
285 | setComponent((Component)null); | ||
286 | return; | ||
287 | } | ||
288 | super.eUnset(featureID); | ||
289 | } | ||
290 | |||
291 | /** | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | */ | ||
296 | @Override | ||
297 | public boolean eIsSet(int featureID) { | ||
298 | switch (featureID) { | ||
299 | case CftPackage.OUTPUT__EVENT_DECLARATION: | ||
300 | return eventDeclaration != null; | ||
301 | case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: | ||
302 | return outgoingConnections != null && !outgoingConnections.isEmpty(); | ||
303 | case CftPackage.OUTPUT__COMPONENT: | ||
304 | return getComponent() != null; | ||
305 | } | ||
306 | return super.eIsSet(featureID); | ||
307 | } | ||
308 | |||
309 | } //OutputImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java new file mode 100644 index 00000000..c6b82734 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java | |||
@@ -0,0 +1,354 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class CftAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static CftPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public CftAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = CftPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected CftSwitch<Adapter> modelSwitch = | ||
69 | new CftSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseComponentDefinition(ComponentDefinition object) { | ||
72 | return createComponentDefinitionAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseEventDefinition(EventDefinition object) { | ||
76 | return createEventDefinitionAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseGateDefinition(GateDefinition object) { | ||
80 | return createGateDefinitionAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseBasicEventDefinition(BasicEventDefinition object) { | ||
84 | return createBasicEventDefinitionAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseIntputEvent(IntputEvent object) { | ||
88 | return createIntputEventAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseEventDeclaration(EventDeclaration object) { | ||
92 | return createEventDeclarationAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseAndGateDefinition(AndGateDefinition object) { | ||
96 | return createAndGateDefinitionAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseOrGateDefinition(OrGateDefinition object) { | ||
100 | return createOrGateDefinitionAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseKOfMGateDefinition(KOfMGateDefinition object) { | ||
104 | return createKOfMGateDefinitionAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseComponentFaultTree(ComponentFaultTree object) { | ||
108 | return createComponentFaultTreeAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseComponent(Component object) { | ||
112 | return createComponentAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseInput(Input object) { | ||
116 | return createInputAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseOutput(Output object) { | ||
120 | return createOutputAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseConnection(Connection object) { | ||
124 | return createConnectionAdapter(); | ||
125 | } | ||
126 | @Override | ||
127 | public Adapter defaultCase(EObject object) { | ||
128 | return createEObjectAdapter(); | ||
129 | } | ||
130 | }; | ||
131 | |||
132 | /** | ||
133 | * Creates an adapter for the <code>target</code>. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @param target the object to adapt. | ||
137 | * @return the adapter for the <code>target</code>. | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public Adapter createAdapter(Notifier target) { | ||
142 | return modelSwitch.doSwitch((EObject)target); | ||
143 | } | ||
144 | |||
145 | |||
146 | /** | ||
147 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'. | ||
148 | * <!-- begin-user-doc --> | ||
149 | * This default implementation returns null so that we can easily ignore cases; | ||
150 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
151 | * <!-- end-user-doc --> | ||
152 | * @return the new adapter. | ||
153 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition | ||
154 | * @generated | ||
155 | */ | ||
156 | public Adapter createComponentDefinitionAdapter() { | ||
157 | return null; | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * This default implementation returns null so that we can easily ignore cases; | ||
164 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
165 | * <!-- end-user-doc --> | ||
166 | * @return the new adapter. | ||
167 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition | ||
168 | * @generated | ||
169 | */ | ||
170 | public Adapter createEventDefinitionAdapter() { | ||
171 | return null; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'. | ||
176 | * <!-- begin-user-doc --> | ||
177 | * This default implementation returns null so that we can easily ignore cases; | ||
178 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
179 | * <!-- end-user-doc --> | ||
180 | * @return the new adapter. | ||
181 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition | ||
182 | * @generated | ||
183 | */ | ||
184 | public Adapter createGateDefinitionAdapter() { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This default implementation returns null so that we can easily ignore cases; | ||
192 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @return the new adapter. | ||
195 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition | ||
196 | * @generated | ||
197 | */ | ||
198 | public Adapter createBasicEventDefinitionAdapter() { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent <em>Intput Event</em>}'. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This default implementation returns null so that we can easily ignore cases; | ||
206 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
207 | * <!-- end-user-doc --> | ||
208 | * @return the new adapter. | ||
209 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent | ||
210 | * @generated | ||
211 | */ | ||
212 | public Adapter createIntputEventAdapter() { | ||
213 | return null; | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</em>}'. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * This default implementation returns null so that we can easily ignore cases; | ||
220 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
221 | * <!-- end-user-doc --> | ||
222 | * @return the new adapter. | ||
223 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration | ||
224 | * @generated | ||
225 | */ | ||
226 | public Adapter createEventDeclarationAdapter() { | ||
227 | return null; | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'. | ||
232 | * <!-- begin-user-doc --> | ||
233 | * This default implementation returns null so that we can easily ignore cases; | ||
234 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
235 | * <!-- end-user-doc --> | ||
236 | * @return the new adapter. | ||
237 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition | ||
238 | * @generated | ||
239 | */ | ||
240 | public Adapter createAndGateDefinitionAdapter() { | ||
241 | return null; | ||
242 | } | ||
243 | |||
244 | /** | ||
245 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * This default implementation returns null so that we can easily ignore cases; | ||
248 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
249 | * <!-- end-user-doc --> | ||
250 | * @return the new adapter. | ||
251 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition | ||
252 | * @generated | ||
253 | */ | ||
254 | public Adapter createOrGateDefinitionAdapter() { | ||
255 | return null; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'. | ||
260 | * <!-- begin-user-doc --> | ||
261 | * This default implementation returns null so that we can easily ignore cases; | ||
262 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
263 | * <!-- end-user-doc --> | ||
264 | * @return the new adapter. | ||
265 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition | ||
266 | * @generated | ||
267 | */ | ||
268 | public Adapter createKOfMGateDefinitionAdapter() { | ||
269 | return null; | ||
270 | } | ||
271 | |||
272 | /** | ||
273 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'. | ||
274 | * <!-- begin-user-doc --> | ||
275 | * This default implementation returns null so that we can easily ignore cases; | ||
276 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
277 | * <!-- end-user-doc --> | ||
278 | * @return the new adapter. | ||
279 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree | ||
280 | * @generated | ||
281 | */ | ||
282 | public Adapter createComponentFaultTreeAdapter() { | ||
283 | return null; | ||
284 | } | ||
285 | |||
286 | /** | ||
287 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'. | ||
288 | * <!-- begin-user-doc --> | ||
289 | * This default implementation returns null so that we can easily ignore cases; | ||
290 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
291 | * <!-- end-user-doc --> | ||
292 | * @return the new adapter. | ||
293 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component | ||
294 | * @generated | ||
295 | */ | ||
296 | public Adapter createComponentAdapter() { | ||
297 | return null; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'. | ||
302 | * <!-- begin-user-doc --> | ||
303 | * This default implementation returns null so that we can easily ignore cases; | ||
304 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
305 | * <!-- end-user-doc --> | ||
306 | * @return the new adapter. | ||
307 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input | ||
308 | * @generated | ||
309 | */ | ||
310 | public Adapter createInputAdapter() { | ||
311 | return null; | ||
312 | } | ||
313 | |||
314 | /** | ||
315 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'. | ||
316 | * <!-- begin-user-doc --> | ||
317 | * This default implementation returns null so that we can easily ignore cases; | ||
318 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
319 | * <!-- end-user-doc --> | ||
320 | * @return the new adapter. | ||
321 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output | ||
322 | * @generated | ||
323 | */ | ||
324 | public Adapter createOutputAdapter() { | ||
325 | return null; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * This default implementation returns null so that we can easily ignore cases; | ||
332 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
333 | * <!-- end-user-doc --> | ||
334 | * @return the new adapter. | ||
335 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection | ||
336 | * @generated | ||
337 | */ | ||
338 | public Adapter createConnectionAdapter() { | ||
339 | return null; | ||
340 | } | ||
341 | |||
342 | /** | ||
343 | * Creates a new adapter for the default case. | ||
344 | * <!-- begin-user-doc --> | ||
345 | * This default implementation returns null. | ||
346 | * <!-- end-user-doc --> | ||
347 | * @return the new adapter. | ||
348 | * @generated | ||
349 | */ | ||
350 | public Adapter createEObjectAdapter() { | ||
351 | return null; | ||
352 | } | ||
353 | |||
354 | } //CftAdapterFactory | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java new file mode 100644 index 00000000..f2ec9ffb --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java | |||
@@ -0,0 +1,398 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class CftSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static CftPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public CftSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = CftPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case CftPackage.COMPONENT_DEFINITION: { | ||
70 | ComponentDefinition componentDefinition = (ComponentDefinition)theEObject; | ||
71 | T result = caseComponentDefinition(componentDefinition); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case CftPackage.EVENT_DEFINITION: { | ||
76 | EventDefinition eventDefinition = (EventDefinition)theEObject; | ||
77 | T result = caseEventDefinition(eventDefinition); | ||
78 | if (result == null) result = caseEventDeclaration(eventDefinition); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case CftPackage.GATE_DEFINITION: { | ||
83 | GateDefinition gateDefinition = (GateDefinition)theEObject; | ||
84 | T result = caseGateDefinition(gateDefinition); | ||
85 | if (result == null) result = caseEventDefinition(gateDefinition); | ||
86 | if (result == null) result = caseEventDeclaration(gateDefinition); | ||
87 | if (result == null) result = defaultCase(theEObject); | ||
88 | return result; | ||
89 | } | ||
90 | case CftPackage.BASIC_EVENT_DEFINITION: { | ||
91 | BasicEventDefinition basicEventDefinition = (BasicEventDefinition)theEObject; | ||
92 | T result = caseBasicEventDefinition(basicEventDefinition); | ||
93 | if (result == null) result = caseEventDefinition(basicEventDefinition); | ||
94 | if (result == null) result = caseEventDeclaration(basicEventDefinition); | ||
95 | if (result == null) result = defaultCase(theEObject); | ||
96 | return result; | ||
97 | } | ||
98 | case CftPackage.INTPUT_EVENT: { | ||
99 | IntputEvent intputEvent = (IntputEvent)theEObject; | ||
100 | T result = caseIntputEvent(intputEvent); | ||
101 | if (result == null) result = caseEventDeclaration(intputEvent); | ||
102 | if (result == null) result = defaultCase(theEObject); | ||
103 | return result; | ||
104 | } | ||
105 | case CftPackage.EVENT_DECLARATION: { | ||
106 | EventDeclaration eventDeclaration = (EventDeclaration)theEObject; | ||
107 | T result = caseEventDeclaration(eventDeclaration); | ||
108 | if (result == null) result = defaultCase(theEObject); | ||
109 | return result; | ||
110 | } | ||
111 | case CftPackage.AND_GATE_DEFINITION: { | ||
112 | AndGateDefinition andGateDefinition = (AndGateDefinition)theEObject; | ||
113 | T result = caseAndGateDefinition(andGateDefinition); | ||
114 | if (result == null) result = caseGateDefinition(andGateDefinition); | ||
115 | if (result == null) result = caseEventDefinition(andGateDefinition); | ||
116 | if (result == null) result = caseEventDeclaration(andGateDefinition); | ||
117 | if (result == null) result = defaultCase(theEObject); | ||
118 | return result; | ||
119 | } | ||
120 | case CftPackage.OR_GATE_DEFINITION: { | ||
121 | OrGateDefinition orGateDefinition = (OrGateDefinition)theEObject; | ||
122 | T result = caseOrGateDefinition(orGateDefinition); | ||
123 | if (result == null) result = caseGateDefinition(orGateDefinition); | ||
124 | if (result == null) result = caseEventDefinition(orGateDefinition); | ||
125 | if (result == null) result = caseEventDeclaration(orGateDefinition); | ||
126 | if (result == null) result = defaultCase(theEObject); | ||
127 | return result; | ||
128 | } | ||
129 | case CftPackage.KOF_MGATE_DEFINITION: { | ||
130 | KOfMGateDefinition kOfMGateDefinition = (KOfMGateDefinition)theEObject; | ||
131 | T result = caseKOfMGateDefinition(kOfMGateDefinition); | ||
132 | if (result == null) result = caseGateDefinition(kOfMGateDefinition); | ||
133 | if (result == null) result = caseEventDefinition(kOfMGateDefinition); | ||
134 | if (result == null) result = caseEventDeclaration(kOfMGateDefinition); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case CftPackage.COMPONENT_FAULT_TREE: { | ||
139 | ComponentFaultTree componentFaultTree = (ComponentFaultTree)theEObject; | ||
140 | T result = caseComponentFaultTree(componentFaultTree); | ||
141 | if (result == null) result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case CftPackage.COMPONENT: { | ||
145 | Component component = (Component)theEObject; | ||
146 | T result = caseComponent(component); | ||
147 | if (result == null) result = defaultCase(theEObject); | ||
148 | return result; | ||
149 | } | ||
150 | case CftPackage.INPUT: { | ||
151 | Input input = (Input)theEObject; | ||
152 | T result = caseInput(input); | ||
153 | if (result == null) result = defaultCase(theEObject); | ||
154 | return result; | ||
155 | } | ||
156 | case CftPackage.OUTPUT: { | ||
157 | Output output = (Output)theEObject; | ||
158 | T result = caseOutput(output); | ||
159 | if (result == null) result = defaultCase(theEObject); | ||
160 | return result; | ||
161 | } | ||
162 | case CftPackage.CONNECTION: { | ||
163 | Connection connection = (Connection)theEObject; | ||
164 | T result = caseConnection(connection); | ||
165 | if (result == null) result = defaultCase(theEObject); | ||
166 | return result; | ||
167 | } | ||
168 | default: return defaultCase(theEObject); | ||
169 | } | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Returns the result of interpreting the object as an instance of '<em>Component Definition</em>'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This implementation returns null; | ||
176 | * returning a non-null result will terminate the switch. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @param object the target of the switch. | ||
179 | * @return the result of interpreting the object as an instance of '<em>Component Definition</em>'. | ||
180 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
181 | * @generated | ||
182 | */ | ||
183 | public T caseComponentDefinition(ComponentDefinition object) { | ||
184 | return null; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * Returns the result of interpreting the object as an instance of '<em>Event Definition</em>'. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * This implementation returns null; | ||
191 | * returning a non-null result will terminate the switch. | ||
192 | * <!-- end-user-doc --> | ||
193 | * @param object the target of the switch. | ||
194 | * @return the result of interpreting the object as an instance of '<em>Event Definition</em>'. | ||
195 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
196 | * @generated | ||
197 | */ | ||
198 | public T caseEventDefinition(EventDefinition object) { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Returns the result of interpreting the object as an instance of '<em>Gate Definition</em>'. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This implementation returns null; | ||
206 | * returning a non-null result will terminate the switch. | ||
207 | * <!-- end-user-doc --> | ||
208 | * @param object the target of the switch. | ||
209 | * @return the result of interpreting the object as an instance of '<em>Gate Definition</em>'. | ||
210 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
211 | * @generated | ||
212 | */ | ||
213 | public T caseGateDefinition(GateDefinition object) { | ||
214 | return null; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * Returns the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * This implementation returns null; | ||
221 | * returning a non-null result will terminate the switch. | ||
222 | * <!-- end-user-doc --> | ||
223 | * @param object the target of the switch. | ||
224 | * @return the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'. | ||
225 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
226 | * @generated | ||
227 | */ | ||
228 | public T caseBasicEventDefinition(BasicEventDefinition object) { | ||
229 | return null; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * Returns the result of interpreting the object as an instance of '<em>Intput Event</em>'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * This implementation returns null; | ||
236 | * returning a non-null result will terminate the switch. | ||
237 | * <!-- end-user-doc --> | ||
238 | * @param object the target of the switch. | ||
239 | * @return the result of interpreting the object as an instance of '<em>Intput Event</em>'. | ||
240 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
241 | * @generated | ||
242 | */ | ||
243 | public T caseIntputEvent(IntputEvent object) { | ||
244 | return null; | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * Returns the result of interpreting the object as an instance of '<em>Event Declaration</em>'. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * This implementation returns null; | ||
251 | * returning a non-null result will terminate the switch. | ||
252 | * <!-- end-user-doc --> | ||
253 | * @param object the target of the switch. | ||
254 | * @return the result of interpreting the object as an instance of '<em>Event Declaration</em>'. | ||
255 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
256 | * @generated | ||
257 | */ | ||
258 | public T caseEventDeclaration(EventDeclaration object) { | ||
259 | return null; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * Returns the result of interpreting the object as an instance of '<em>And Gate Definition</em>'. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * This implementation returns null; | ||
266 | * returning a non-null result will terminate the switch. | ||
267 | * <!-- end-user-doc --> | ||
268 | * @param object the target of the switch. | ||
269 | * @return the result of interpreting the object as an instance of '<em>And Gate Definition</em>'. | ||
270 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
271 | * @generated | ||
272 | */ | ||
273 | public T caseAndGateDefinition(AndGateDefinition object) { | ||
274 | return null; | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * Returns the result of interpreting the object as an instance of '<em>Or Gate Definition</em>'. | ||
279 | * <!-- begin-user-doc --> | ||
280 | * This implementation returns null; | ||
281 | * returning a non-null result will terminate the switch. | ||
282 | * <!-- end-user-doc --> | ||
283 | * @param object the target of the switch. | ||
284 | * @return the result of interpreting the object as an instance of '<em>Or Gate Definition</em>'. | ||
285 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
286 | * @generated | ||
287 | */ | ||
288 | public T caseOrGateDefinition(OrGateDefinition object) { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Returns the result of interpreting the object as an instance of '<em>KOf MGate Definition</em>'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This implementation returns null; | ||
296 | * returning a non-null result will terminate the switch. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @param object the target of the switch. | ||
299 | * @return the result of interpreting the object as an instance of '<em>KOf MGate Definition</em>'. | ||
300 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
301 | * @generated | ||
302 | */ | ||
303 | public T caseKOfMGateDefinition(KOfMGateDefinition object) { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Returns the result of interpreting the object as an instance of '<em>Component Fault Tree</em>'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This implementation returns null; | ||
311 | * returning a non-null result will terminate the switch. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @param object the target of the switch. | ||
314 | * @return the result of interpreting the object as an instance of '<em>Component Fault Tree</em>'. | ||
315 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
316 | * @generated | ||
317 | */ | ||
318 | public T caseComponentFaultTree(ComponentFaultTree object) { | ||
319 | return null; | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * Returns the result of interpreting the object as an instance of '<em>Component</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * This implementation returns null; | ||
326 | * returning a non-null result will terminate the switch. | ||
327 | * <!-- end-user-doc --> | ||
328 | * @param object the target of the switch. | ||
329 | * @return the result of interpreting the object as an instance of '<em>Component</em>'. | ||
330 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
331 | * @generated | ||
332 | */ | ||
333 | public T caseComponent(Component object) { | ||
334 | return null; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * Returns the result of interpreting the object as an instance of '<em>Input</em>'. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * This implementation returns null; | ||
341 | * returning a non-null result will terminate the switch. | ||
342 | * <!-- end-user-doc --> | ||
343 | * @param object the target of the switch. | ||
344 | * @return the result of interpreting the object as an instance of '<em>Input</em>'. | ||
345 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
346 | * @generated | ||
347 | */ | ||
348 | public T caseInput(Input object) { | ||
349 | return null; | ||
350 | } | ||
351 | |||
352 | /** | ||
353 | * Returns the result of interpreting the object as an instance of '<em>Output</em>'. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * This implementation returns null; | ||
356 | * returning a non-null result will terminate the switch. | ||
357 | * <!-- end-user-doc --> | ||
358 | * @param object the target of the switch. | ||
359 | * @return the result of interpreting the object as an instance of '<em>Output</em>'. | ||
360 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
361 | * @generated | ||
362 | */ | ||
363 | public T caseOutput(Output object) { | ||
364 | return null; | ||
365 | } | ||
366 | |||
367 | /** | ||
368 | * Returns the result of interpreting the object as an instance of '<em>Connection</em>'. | ||
369 | * <!-- begin-user-doc --> | ||
370 | * This implementation returns null; | ||
371 | * returning a non-null result will terminate the switch. | ||
372 | * <!-- end-user-doc --> | ||
373 | * @param object the target of the switch. | ||
374 | * @return the result of interpreting the object as an instance of '<em>Connection</em>'. | ||
375 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
376 | * @generated | ||
377 | */ | ||
378 | public T caseConnection(Connection object) { | ||
379 | return null; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * This implementation returns null; | ||
386 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
387 | * <!-- end-user-doc --> | ||
388 | * @param object the target of the switch. | ||
389 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
390 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
391 | * @generated | ||
392 | */ | ||
393 | @Override | ||
394 | public T defaultCase(EObject object) { | ||
395 | return null; | ||
396 | } | ||
397 | |||
398 | } //CftSwitch | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java new file mode 100644 index 00000000..5591557c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>And Gate</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getAndGate() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface AndGate extends Gate { | ||
17 | } // AndGate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java new file mode 100644 index 00000000..acfc635b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Basic Event</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution <em>Distribution</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getBasicEvent() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface BasicEvent extends Event { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Distribution</b></em>' containment reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Distribution</em>' containment reference isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Distribution</em>' containment reference. | ||
32 | * @see #setDistribution(Distribution) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getBasicEvent_Distribution() | ||
34 | * @model containment="true" required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Distribution getDistribution(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution <em>Distribution</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Distribution</em>' containment reference. | ||
44 | * @see #getDistribution() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setDistribution(Distribution value); | ||
48 | |||
49 | } // BasicEvent | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java new file mode 100644 index 00000000..873c1fd3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Constant Distribution</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP <em>P</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantDistribution() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ConstantDistribution extends Distribution { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>P</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>P</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>P</em>' attribute. | ||
32 | * @see #setP(double) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantDistribution_P() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | double getP(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP <em>P</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>P</em>' attribute. | ||
44 | * @see #getP() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setP(double value); | ||
48 | |||
49 | } // ConstantDistribution | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java new file mode 100644 index 00000000..4435f5ef --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Distribution</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getDistribution() | ||
14 | * @model abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Distribution extends EObject { | ||
18 | } // Distribution | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java new file mode 100644 index 00000000..186e23b9 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Event</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Event extends EObject { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Name</em>' attribute. | ||
33 | * @see #setName(String) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent_Name() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | String getName(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName <em>Name</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Name</em>' attribute. | ||
45 | * @see #getName() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setName(String value); | ||
49 | |||
50 | } // Event | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java new file mode 100644 index 00000000..7fdd448b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java | |||
@@ -0,0 +1,49 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Exponential Distribution</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda <em>Lambda</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getExponentialDistribution() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ExponentialDistribution extends Distribution { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Lambda</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <p> | ||
27 | * If the meaning of the '<em>Lambda</em>' attribute isn't clear, | ||
28 | * there really should be more of a description here... | ||
29 | * </p> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Lambda</em>' attribute. | ||
32 | * @see #setLambda(double) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getExponentialDistribution_Lambda() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | double getLambda(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda <em>Lambda</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Lambda</em>' attribute. | ||
44 | * @see #getLambda() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setLambda(double value); | ||
48 | |||
49 | } // ExponentialDistribution | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java new file mode 100644 index 00000000..247a9918 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java | |||
@@ -0,0 +1,69 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Fault Tree</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents <em>Events</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface FaultTree extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Events</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Events</em>' containment reference list isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Events</em>' containment reference list. | ||
37 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_Events() | ||
38 | * @model containment="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | EList<Event> getEvents(); | ||
42 | |||
43 | /** | ||
44 | * Returns the value of the '<em><b>Top Event</b></em>' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <p> | ||
47 | * If the meaning of the '<em>Top Event</em>' reference isn't clear, | ||
48 | * there really should be more of a description here... | ||
49 | * </p> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Top Event</em>' reference. | ||
52 | * @see #setTopEvent(Event) | ||
53 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_TopEvent() | ||
54 | * @model required="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Event getTopEvent(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Top Event</em>' reference. | ||
64 | * @see #getTopEvent() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setTopEvent(Event value); | ||
68 | |||
69 | } // FaultTree | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java new file mode 100644 index 00000000..20b71b1a --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java | |||
@@ -0,0 +1,96 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface FtFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | FtFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Fault Tree</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Fault Tree</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | FaultTree createFaultTree(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Basic Event</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Basic Event</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | BasicEvent createBasicEvent(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Constant Distribution</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Constant Distribution</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | ConstantDistribution createConstantDistribution(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Exponential Distribution</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Exponential Distribution</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | ExponentialDistribution createExponentialDistribution(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>And Gate</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>And Gate</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | AndGate createAndGate(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Or Gate</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Or Gate</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | OrGate createOrGate(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>KOf MGate</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>KOf MGate</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | KOfMGate createKOfMGate(); | ||
86 | |||
87 | /** | ||
88 | * Returns the package supported by this factory. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the package supported by this factory. | ||
92 | * @generated | ||
93 | */ | ||
94 | FtPackage getFtPackage(); | ||
95 | |||
96 | } //FtFactory | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java new file mode 100644 index 00000000..e376063c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java | |||
@@ -0,0 +1,889 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | import org.eclipse.emf.ecore.EReference; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * The <b>Package</b> for the model. | ||
13 | * It contains accessors for the meta objects to represent | ||
14 | * <ul> | ||
15 | * <li>each class,</li> | ||
16 | * <li>each feature of each class,</li> | ||
17 | * <li>each operation of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface FtPackage extends EPackage { | ||
27 | /** | ||
28 | * The package name. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | String eNAME = "ft"; | ||
34 | |||
35 | /** | ||
36 | * The package namespace URI. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft"; | ||
42 | |||
43 | /** | ||
44 | * The package namespace name. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | String eNS_PREFIX = "ft"; | ||
50 | |||
51 | /** | ||
52 | * The singleton instance of the package. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | FtPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl.init(); | ||
58 | |||
59 | /** | ||
60 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl <em>Fault Tree</em>}' class. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl | ||
64 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree() | ||
65 | * @generated | ||
66 | */ | ||
67 | int FAULT_TREE = 0; | ||
68 | |||
69 | /** | ||
70 | * The feature id for the '<em><b>Events</b></em>' containment reference list. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | int FAULT_TREE__EVENTS = 0; | ||
77 | |||
78 | /** | ||
79 | * The feature id for the '<em><b>Top Event</b></em>' reference. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | int FAULT_TREE__TOP_EVENT = 1; | ||
86 | |||
87 | /** | ||
88 | * The number of structural features of the '<em>Fault Tree</em>' class. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | int FAULT_TREE_FEATURE_COUNT = 2; | ||
95 | |||
96 | /** | ||
97 | * The number of operations of the '<em>Fault Tree</em>' class. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | * @ordered | ||
102 | */ | ||
103 | int FAULT_TREE_OPERATION_COUNT = 0; | ||
104 | |||
105 | /** | ||
106 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl <em>Event</em>}' class. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl | ||
110 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() | ||
111 | * @generated | ||
112 | */ | ||
113 | int EVENT = 1; | ||
114 | |||
115 | /** | ||
116 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | * @ordered | ||
121 | */ | ||
122 | int EVENT__NAME = 0; | ||
123 | |||
124 | /** | ||
125 | * The number of structural features of the '<em>Event</em>' class. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | * @ordered | ||
130 | */ | ||
131 | int EVENT_FEATURE_COUNT = 1; | ||
132 | |||
133 | /** | ||
134 | * The number of operations of the '<em>Event</em>' class. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | int EVENT_OPERATION_COUNT = 0; | ||
141 | |||
142 | /** | ||
143 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl <em>Basic Event</em>}' class. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl | ||
147 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent() | ||
148 | * @generated | ||
149 | */ | ||
150 | int BASIC_EVENT = 2; | ||
151 | |||
152 | /** | ||
153 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | * @ordered | ||
158 | */ | ||
159 | int BASIC_EVENT__NAME = EVENT__NAME; | ||
160 | |||
161 | /** | ||
162 | * The feature id for the '<em><b>Distribution</b></em>' containment reference. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | * @ordered | ||
167 | */ | ||
168 | int BASIC_EVENT__DISTRIBUTION = EVENT_FEATURE_COUNT + 0; | ||
169 | |||
170 | /** | ||
171 | * The number of structural features of the '<em>Basic Event</em>' class. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | * @ordered | ||
176 | */ | ||
177 | int BASIC_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; | ||
178 | |||
179 | /** | ||
180 | * The number of operations of the '<em>Basic Event</em>' class. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | int BASIC_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; | ||
187 | |||
188 | /** | ||
189 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl <em>Gate</em>}' class. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl | ||
193 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate() | ||
194 | * @generated | ||
195 | */ | ||
196 | int GATE = 3; | ||
197 | |||
198 | /** | ||
199 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | * @ordered | ||
204 | */ | ||
205 | int GATE__NAME = EVENT__NAME; | ||
206 | |||
207 | /** | ||
208 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | * @ordered | ||
213 | */ | ||
214 | int GATE__INPUT_EVENTS = EVENT_FEATURE_COUNT + 0; | ||
215 | |||
216 | /** | ||
217 | * The number of structural features of the '<em>Gate</em>' class. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | * @ordered | ||
222 | */ | ||
223 | int GATE_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; | ||
224 | |||
225 | /** | ||
226 | * The number of operations of the '<em>Gate</em>' class. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | * @ordered | ||
231 | */ | ||
232 | int GATE_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; | ||
233 | |||
234 | /** | ||
235 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl <em>Distribution</em>}' class. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl | ||
239 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution() | ||
240 | * @generated | ||
241 | */ | ||
242 | int DISTRIBUTION = 4; | ||
243 | |||
244 | /** | ||
245 | * The number of structural features of the '<em>Distribution</em>' class. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | * @ordered | ||
250 | */ | ||
251 | int DISTRIBUTION_FEATURE_COUNT = 0; | ||
252 | |||
253 | /** | ||
254 | * The number of operations of the '<em>Distribution</em>' class. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | * @ordered | ||
259 | */ | ||
260 | int DISTRIBUTION_OPERATION_COUNT = 0; | ||
261 | |||
262 | /** | ||
263 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl <em>Constant Distribution</em>}' class. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl | ||
267 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution() | ||
268 | * @generated | ||
269 | */ | ||
270 | int CONSTANT_DISTRIBUTION = 5; | ||
271 | |||
272 | /** | ||
273 | * The feature id for the '<em><b>P</b></em>' attribute. | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | * @ordered | ||
278 | */ | ||
279 | int CONSTANT_DISTRIBUTION__P = DISTRIBUTION_FEATURE_COUNT + 0; | ||
280 | |||
281 | /** | ||
282 | * The number of structural features of the '<em>Constant Distribution</em>' class. | ||
283 | * <!-- begin-user-doc --> | ||
284 | * <!-- end-user-doc --> | ||
285 | * @generated | ||
286 | * @ordered | ||
287 | */ | ||
288 | int CONSTANT_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1; | ||
289 | |||
290 | /** | ||
291 | * The number of operations of the '<em>Constant Distribution</em>' class. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | * @ordered | ||
296 | */ | ||
297 | int CONSTANT_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0; | ||
298 | |||
299 | /** | ||
300 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl <em>Exponential Distribution</em>}' class. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl | ||
304 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution() | ||
305 | * @generated | ||
306 | */ | ||
307 | int EXPONENTIAL_DISTRIBUTION = 6; | ||
308 | |||
309 | /** | ||
310 | * The feature id for the '<em><b>Lambda</b></em>' attribute. | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | * @ordered | ||
315 | */ | ||
316 | int EXPONENTIAL_DISTRIBUTION__LAMBDA = DISTRIBUTION_FEATURE_COUNT + 0; | ||
317 | |||
318 | /** | ||
319 | * The number of structural features of the '<em>Exponential Distribution</em>' class. | ||
320 | * <!-- begin-user-doc --> | ||
321 | * <!-- end-user-doc --> | ||
322 | * @generated | ||
323 | * @ordered | ||
324 | */ | ||
325 | int EXPONENTIAL_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1; | ||
326 | |||
327 | /** | ||
328 | * The number of operations of the '<em>Exponential Distribution</em>' class. | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | * @ordered | ||
333 | */ | ||
334 | int EXPONENTIAL_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0; | ||
335 | |||
336 | /** | ||
337 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl <em>And Gate</em>}' class. | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl | ||
341 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate() | ||
342 | * @generated | ||
343 | */ | ||
344 | int AND_GATE = 7; | ||
345 | |||
346 | /** | ||
347 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
348 | * <!-- begin-user-doc --> | ||
349 | * <!-- end-user-doc --> | ||
350 | * @generated | ||
351 | * @ordered | ||
352 | */ | ||
353 | int AND_GATE__NAME = GATE__NAME; | ||
354 | |||
355 | /** | ||
356 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
357 | * <!-- begin-user-doc --> | ||
358 | * <!-- end-user-doc --> | ||
359 | * @generated | ||
360 | * @ordered | ||
361 | */ | ||
362 | int AND_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS; | ||
363 | |||
364 | /** | ||
365 | * The number of structural features of the '<em>And Gate</em>' class. | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | * @ordered | ||
370 | */ | ||
371 | int AND_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0; | ||
372 | |||
373 | /** | ||
374 | * The number of operations of the '<em>And Gate</em>' class. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * <!-- end-user-doc --> | ||
377 | * @generated | ||
378 | * @ordered | ||
379 | */ | ||
380 | int AND_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; | ||
381 | |||
382 | /** | ||
383 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl <em>Or Gate</em>}' class. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl | ||
387 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate() | ||
388 | * @generated | ||
389 | */ | ||
390 | int OR_GATE = 8; | ||
391 | |||
392 | /** | ||
393 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | * @ordered | ||
398 | */ | ||
399 | int OR_GATE__NAME = GATE__NAME; | ||
400 | |||
401 | /** | ||
402 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
403 | * <!-- begin-user-doc --> | ||
404 | * <!-- end-user-doc --> | ||
405 | * @generated | ||
406 | * @ordered | ||
407 | */ | ||
408 | int OR_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS; | ||
409 | |||
410 | /** | ||
411 | * The number of structural features of the '<em>Or Gate</em>' class. | ||
412 | * <!-- begin-user-doc --> | ||
413 | * <!-- end-user-doc --> | ||
414 | * @generated | ||
415 | * @ordered | ||
416 | */ | ||
417 | int OR_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0; | ||
418 | |||
419 | /** | ||
420 | * The number of operations of the '<em>Or Gate</em>' class. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | * @ordered | ||
425 | */ | ||
426 | int OR_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; | ||
427 | |||
428 | /** | ||
429 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl <em>KOf MGate</em>}' class. | ||
430 | * <!-- begin-user-doc --> | ||
431 | * <!-- end-user-doc --> | ||
432 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl | ||
433 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate() | ||
434 | * @generated | ||
435 | */ | ||
436 | int KOF_MGATE = 9; | ||
437 | |||
438 | /** | ||
439 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
440 | * <!-- begin-user-doc --> | ||
441 | * <!-- end-user-doc --> | ||
442 | * @generated | ||
443 | * @ordered | ||
444 | */ | ||
445 | int KOF_MGATE__NAME = GATE__NAME; | ||
446 | |||
447 | /** | ||
448 | * The feature id for the '<em><b>Input Events</b></em>' reference list. | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | * @ordered | ||
453 | */ | ||
454 | int KOF_MGATE__INPUT_EVENTS = GATE__INPUT_EVENTS; | ||
455 | |||
456 | /** | ||
457 | * The feature id for the '<em><b>K</b></em>' attribute. | ||
458 | * <!-- begin-user-doc --> | ||
459 | * <!-- end-user-doc --> | ||
460 | * @generated | ||
461 | * @ordered | ||
462 | */ | ||
463 | int KOF_MGATE__K = GATE_FEATURE_COUNT + 0; | ||
464 | |||
465 | /** | ||
466 | * The feature id for the '<em><b>M</b></em>' attribute. | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @generated | ||
470 | * @ordered | ||
471 | */ | ||
472 | int KOF_MGATE__M = GATE_FEATURE_COUNT + 1; | ||
473 | |||
474 | /** | ||
475 | * The number of structural features of the '<em>KOf MGate</em>' class. | ||
476 | * <!-- begin-user-doc --> | ||
477 | * <!-- end-user-doc --> | ||
478 | * @generated | ||
479 | * @ordered | ||
480 | */ | ||
481 | int KOF_MGATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 2; | ||
482 | |||
483 | /** | ||
484 | * The number of operations of the '<em>KOf MGate</em>' class. | ||
485 | * <!-- begin-user-doc --> | ||
486 | * <!-- end-user-doc --> | ||
487 | * @generated | ||
488 | * @ordered | ||
489 | */ | ||
490 | int KOF_MGATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; | ||
491 | |||
492 | |||
493 | /** | ||
494 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree <em>Fault Tree</em>}'. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @return the meta object for class '<em>Fault Tree</em>'. | ||
498 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree | ||
499 | * @generated | ||
500 | */ | ||
501 | EClass getFaultTree(); | ||
502 | |||
503 | /** | ||
504 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents <em>Events</em>}'. | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @return the meta object for the containment reference list '<em>Events</em>'. | ||
508 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents() | ||
509 | * @see #getFaultTree() | ||
510 | * @generated | ||
511 | */ | ||
512 | EReference getFaultTree_Events(); | ||
513 | |||
514 | /** | ||
515 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}'. | ||
516 | * <!-- begin-user-doc --> | ||
517 | * <!-- end-user-doc --> | ||
518 | * @return the meta object for the reference '<em>Top Event</em>'. | ||
519 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent() | ||
520 | * @see #getFaultTree() | ||
521 | * @generated | ||
522 | */ | ||
523 | EReference getFaultTree_TopEvent(); | ||
524 | |||
525 | /** | ||
526 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event <em>Event</em>}'. | ||
527 | * <!-- begin-user-doc --> | ||
528 | * <!-- end-user-doc --> | ||
529 | * @return the meta object for class '<em>Event</em>'. | ||
530 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event | ||
531 | * @generated | ||
532 | */ | ||
533 | EClass getEvent(); | ||
534 | |||
535 | /** | ||
536 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName <em>Name</em>}'. | ||
537 | * <!-- begin-user-doc --> | ||
538 | * <!-- end-user-doc --> | ||
539 | * @return the meta object for the attribute '<em>Name</em>'. | ||
540 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName() | ||
541 | * @see #getEvent() | ||
542 | * @generated | ||
543 | */ | ||
544 | EAttribute getEvent_Name(); | ||
545 | |||
546 | /** | ||
547 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent <em>Basic Event</em>}'. | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @return the meta object for class '<em>Basic Event</em>'. | ||
551 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent | ||
552 | * @generated | ||
553 | */ | ||
554 | EClass getBasicEvent(); | ||
555 | |||
556 | /** | ||
557 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution <em>Distribution</em>}'. | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @return the meta object for the containment reference '<em>Distribution</em>'. | ||
561 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution() | ||
562 | * @see #getBasicEvent() | ||
563 | * @generated | ||
564 | */ | ||
565 | EReference getBasicEvent_Distribution(); | ||
566 | |||
567 | /** | ||
568 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate <em>Gate</em>}'. | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @return the meta object for class '<em>Gate</em>'. | ||
572 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate | ||
573 | * @generated | ||
574 | */ | ||
575 | EClass getGate(); | ||
576 | |||
577 | /** | ||
578 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents <em>Input Events</em>}'. | ||
579 | * <!-- begin-user-doc --> | ||
580 | * <!-- end-user-doc --> | ||
581 | * @return the meta object for the reference list '<em>Input Events</em>'. | ||
582 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents() | ||
583 | * @see #getGate() | ||
584 | * @generated | ||
585 | */ | ||
586 | EReference getGate_InputEvents(); | ||
587 | |||
588 | /** | ||
589 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution <em>Distribution</em>}'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @return the meta object for class '<em>Distribution</em>'. | ||
593 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution | ||
594 | * @generated | ||
595 | */ | ||
596 | EClass getDistribution(); | ||
597 | |||
598 | /** | ||
599 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution <em>Constant Distribution</em>}'. | ||
600 | * <!-- begin-user-doc --> | ||
601 | * <!-- end-user-doc --> | ||
602 | * @return the meta object for class '<em>Constant Distribution</em>'. | ||
603 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution | ||
604 | * @generated | ||
605 | */ | ||
606 | EClass getConstantDistribution(); | ||
607 | |||
608 | /** | ||
609 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP <em>P</em>}'. | ||
610 | * <!-- begin-user-doc --> | ||
611 | * <!-- end-user-doc --> | ||
612 | * @return the meta object for the attribute '<em>P</em>'. | ||
613 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP() | ||
614 | * @see #getConstantDistribution() | ||
615 | * @generated | ||
616 | */ | ||
617 | EAttribute getConstantDistribution_P(); | ||
618 | |||
619 | /** | ||
620 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution <em>Exponential Distribution</em>}'. | ||
621 | * <!-- begin-user-doc --> | ||
622 | * <!-- end-user-doc --> | ||
623 | * @return the meta object for class '<em>Exponential Distribution</em>'. | ||
624 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution | ||
625 | * @generated | ||
626 | */ | ||
627 | EClass getExponentialDistribution(); | ||
628 | |||
629 | /** | ||
630 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda <em>Lambda</em>}'. | ||
631 | * <!-- begin-user-doc --> | ||
632 | * <!-- end-user-doc --> | ||
633 | * @return the meta object for the attribute '<em>Lambda</em>'. | ||
634 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda() | ||
635 | * @see #getExponentialDistribution() | ||
636 | * @generated | ||
637 | */ | ||
638 | EAttribute getExponentialDistribution_Lambda(); | ||
639 | |||
640 | /** | ||
641 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate <em>And Gate</em>}'. | ||
642 | * <!-- begin-user-doc --> | ||
643 | * <!-- end-user-doc --> | ||
644 | * @return the meta object for class '<em>And Gate</em>'. | ||
645 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate | ||
646 | * @generated | ||
647 | */ | ||
648 | EClass getAndGate(); | ||
649 | |||
650 | /** | ||
651 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate <em>Or Gate</em>}'. | ||
652 | * <!-- begin-user-doc --> | ||
653 | * <!-- end-user-doc --> | ||
654 | * @return the meta object for class '<em>Or Gate</em>'. | ||
655 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate | ||
656 | * @generated | ||
657 | */ | ||
658 | EClass getOrGate(); | ||
659 | |||
660 | /** | ||
661 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate <em>KOf MGate</em>}'. | ||
662 | * <!-- begin-user-doc --> | ||
663 | * <!-- end-user-doc --> | ||
664 | * @return the meta object for class '<em>KOf MGate</em>'. | ||
665 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate | ||
666 | * @generated | ||
667 | */ | ||
668 | EClass getKOfMGate(); | ||
669 | |||
670 | /** | ||
671 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK <em>K</em>}'. | ||
672 | * <!-- begin-user-doc --> | ||
673 | * <!-- end-user-doc --> | ||
674 | * @return the meta object for the attribute '<em>K</em>'. | ||
675 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK() | ||
676 | * @see #getKOfMGate() | ||
677 | * @generated | ||
678 | */ | ||
679 | EAttribute getKOfMGate_K(); | ||
680 | |||
681 | /** | ||
682 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM <em>M</em>}'. | ||
683 | * <!-- begin-user-doc --> | ||
684 | * <!-- end-user-doc --> | ||
685 | * @return the meta object for the attribute '<em>M</em>'. | ||
686 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM() | ||
687 | * @see #getKOfMGate() | ||
688 | * @generated | ||
689 | */ | ||
690 | EAttribute getKOfMGate_M(); | ||
691 | |||
692 | /** | ||
693 | * Returns the factory that creates the instances of the model. | ||
694 | * <!-- begin-user-doc --> | ||
695 | * <!-- end-user-doc --> | ||
696 | * @return the factory that creates the instances of the model. | ||
697 | * @generated | ||
698 | */ | ||
699 | FtFactory getFtFactory(); | ||
700 | |||
701 | /** | ||
702 | * <!-- begin-user-doc --> | ||
703 | * Defines literals for the meta objects that represent | ||
704 | * <ul> | ||
705 | * <li>each class,</li> | ||
706 | * <li>each feature of each class,</li> | ||
707 | * <li>each operation of each class,</li> | ||
708 | * <li>each enum,</li> | ||
709 | * <li>and each data type</li> | ||
710 | * </ul> | ||
711 | * <!-- end-user-doc --> | ||
712 | * @generated | ||
713 | */ | ||
714 | interface Literals { | ||
715 | /** | ||
716 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl <em>Fault Tree</em>}' class. | ||
717 | * <!-- begin-user-doc --> | ||
718 | * <!-- end-user-doc --> | ||
719 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl | ||
720 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree() | ||
721 | * @generated | ||
722 | */ | ||
723 | EClass FAULT_TREE = eINSTANCE.getFaultTree(); | ||
724 | |||
725 | /** | ||
726 | * The meta object literal for the '<em><b>Events</b></em>' containment reference list feature. | ||
727 | * <!-- begin-user-doc --> | ||
728 | * <!-- end-user-doc --> | ||
729 | * @generated | ||
730 | */ | ||
731 | EReference FAULT_TREE__EVENTS = eINSTANCE.getFaultTree_Events(); | ||
732 | |||
733 | /** | ||
734 | * The meta object literal for the '<em><b>Top Event</b></em>' reference feature. | ||
735 | * <!-- begin-user-doc --> | ||
736 | * <!-- end-user-doc --> | ||
737 | * @generated | ||
738 | */ | ||
739 | EReference FAULT_TREE__TOP_EVENT = eINSTANCE.getFaultTree_TopEvent(); | ||
740 | |||
741 | /** | ||
742 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl <em>Event</em>}' class. | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl | ||
746 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() | ||
747 | * @generated | ||
748 | */ | ||
749 | EClass EVENT = eINSTANCE.getEvent(); | ||
750 | |||
751 | /** | ||
752 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
753 | * <!-- begin-user-doc --> | ||
754 | * <!-- end-user-doc --> | ||
755 | * @generated | ||
756 | */ | ||
757 | EAttribute EVENT__NAME = eINSTANCE.getEvent_Name(); | ||
758 | |||
759 | /** | ||
760 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl <em>Basic Event</em>}' class. | ||
761 | * <!-- begin-user-doc --> | ||
762 | * <!-- end-user-doc --> | ||
763 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl | ||
764 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent() | ||
765 | * @generated | ||
766 | */ | ||
767 | EClass BASIC_EVENT = eINSTANCE.getBasicEvent(); | ||
768 | |||
769 | /** | ||
770 | * The meta object literal for the '<em><b>Distribution</b></em>' containment reference feature. | ||
771 | * <!-- begin-user-doc --> | ||
772 | * <!-- end-user-doc --> | ||
773 | * @generated | ||
774 | */ | ||
775 | EReference BASIC_EVENT__DISTRIBUTION = eINSTANCE.getBasicEvent_Distribution(); | ||
776 | |||
777 | /** | ||
778 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl <em>Gate</em>}' class. | ||
779 | * <!-- begin-user-doc --> | ||
780 | * <!-- end-user-doc --> | ||
781 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl | ||
782 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate() | ||
783 | * @generated | ||
784 | */ | ||
785 | EClass GATE = eINSTANCE.getGate(); | ||
786 | |||
787 | /** | ||
788 | * The meta object literal for the '<em><b>Input Events</b></em>' reference list feature. | ||
789 | * <!-- begin-user-doc --> | ||
790 | * <!-- end-user-doc --> | ||
791 | * @generated | ||
792 | */ | ||
793 | EReference GATE__INPUT_EVENTS = eINSTANCE.getGate_InputEvents(); | ||
794 | |||
795 | /** | ||
796 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl <em>Distribution</em>}' class. | ||
797 | * <!-- begin-user-doc --> | ||
798 | * <!-- end-user-doc --> | ||
799 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl | ||
800 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution() | ||
801 | * @generated | ||
802 | */ | ||
803 | EClass DISTRIBUTION = eINSTANCE.getDistribution(); | ||
804 | |||
805 | /** | ||
806 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl <em>Constant Distribution</em>}' class. | ||
807 | * <!-- begin-user-doc --> | ||
808 | * <!-- end-user-doc --> | ||
809 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl | ||
810 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution() | ||
811 | * @generated | ||
812 | */ | ||
813 | EClass CONSTANT_DISTRIBUTION = eINSTANCE.getConstantDistribution(); | ||
814 | |||
815 | /** | ||
816 | * The meta object literal for the '<em><b>P</b></em>' attribute feature. | ||
817 | * <!-- begin-user-doc --> | ||
818 | * <!-- end-user-doc --> | ||
819 | * @generated | ||
820 | */ | ||
821 | EAttribute CONSTANT_DISTRIBUTION__P = eINSTANCE.getConstantDistribution_P(); | ||
822 | |||
823 | /** | ||
824 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl <em>Exponential Distribution</em>}' class. | ||
825 | * <!-- begin-user-doc --> | ||
826 | * <!-- end-user-doc --> | ||
827 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl | ||
828 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution() | ||
829 | * @generated | ||
830 | */ | ||
831 | EClass EXPONENTIAL_DISTRIBUTION = eINSTANCE.getExponentialDistribution(); | ||
832 | |||
833 | /** | ||
834 | * The meta object literal for the '<em><b>Lambda</b></em>' attribute feature. | ||
835 | * <!-- begin-user-doc --> | ||
836 | * <!-- end-user-doc --> | ||
837 | * @generated | ||
838 | */ | ||
839 | EAttribute EXPONENTIAL_DISTRIBUTION__LAMBDA = eINSTANCE.getExponentialDistribution_Lambda(); | ||
840 | |||
841 | /** | ||
842 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl <em>And Gate</em>}' class. | ||
843 | * <!-- begin-user-doc --> | ||
844 | * <!-- end-user-doc --> | ||
845 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl | ||
846 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate() | ||
847 | * @generated | ||
848 | */ | ||
849 | EClass AND_GATE = eINSTANCE.getAndGate(); | ||
850 | |||
851 | /** | ||
852 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl <em>Or Gate</em>}' class. | ||
853 | * <!-- begin-user-doc --> | ||
854 | * <!-- end-user-doc --> | ||
855 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl | ||
856 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate() | ||
857 | * @generated | ||
858 | */ | ||
859 | EClass OR_GATE = eINSTANCE.getOrGate(); | ||
860 | |||
861 | /** | ||
862 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl <em>KOf MGate</em>}' class. | ||
863 | * <!-- begin-user-doc --> | ||
864 | * <!-- end-user-doc --> | ||
865 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl | ||
866 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate() | ||
867 | * @generated | ||
868 | */ | ||
869 | EClass KOF_MGATE = eINSTANCE.getKOfMGate(); | ||
870 | |||
871 | /** | ||
872 | * The meta object literal for the '<em><b>K</b></em>' attribute feature. | ||
873 | * <!-- begin-user-doc --> | ||
874 | * <!-- end-user-doc --> | ||
875 | * @generated | ||
876 | */ | ||
877 | EAttribute KOF_MGATE__K = eINSTANCE.getKOfMGate_K(); | ||
878 | |||
879 | /** | ||
880 | * The meta object literal for the '<em><b>M</b></em>' attribute feature. | ||
881 | * <!-- begin-user-doc --> | ||
882 | * <!-- end-user-doc --> | ||
883 | * @generated | ||
884 | */ | ||
885 | EAttribute KOF_MGATE__M = eINSTANCE.getKOfMGate_M(); | ||
886 | |||
887 | } | ||
888 | |||
889 | } //FtPackage | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java new file mode 100644 index 00000000..0df58bb4 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Gate</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents <em>Input Events</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getGate() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Gate extends Event { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Input Events</b></em>' reference list. | ||
26 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Input Events</em>' reference list isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Input Events</em>' reference list. | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getGate_InputEvents() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | EList<Event> getInputEvents(); | ||
39 | |||
40 | } // Gate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java new file mode 100644 index 00000000..33334083 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java | |||
@@ -0,0 +1,76 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>KOf MGate</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK <em>K</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM <em>M</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface KOfMGate extends Gate { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>K</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>K</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>K</em>' attribute. | ||
33 | * @see #setK(int) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate_K() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | int getK(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK <em>K</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>K</em>' attribute. | ||
45 | * @see #getK() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setK(int value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>M</b></em>' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of the '<em>M</em>' attribute isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @return the value of the '<em>M</em>' attribute. | ||
59 | * @see #setM(int) | ||
60 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate_M() | ||
61 | * @model | ||
62 | * @generated | ||
63 | */ | ||
64 | int getM(); | ||
65 | |||
66 | /** | ||
67 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM <em>M</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @param value the new value of the '<em>M</em>' attribute. | ||
71 | * @see #getM() | ||
72 | * @generated | ||
73 | */ | ||
74 | void setM(int value); | ||
75 | |||
76 | } // KOfMGate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java new file mode 100644 index 00000000..278a2d38 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Or Gate</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getOrGate() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface OrGate extends Gate { | ||
17 | } // OrGate | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java new file mode 100644 index 00000000..509843b1 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>And Gate</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class AndGateImpl extends GateImpl implements AndGate { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected AndGateImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return FtPackage.Literals.AND_GATE; | ||
35 | } | ||
36 | |||
37 | } //AndGateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java new file mode 100644 index 00000000..8fd0f613 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Basic Event</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl#getDistribution <em>Distribution</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class BasicEventImpl extends EventImpl implements BasicEvent { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getDistribution() <em>Distribution</em>}' containment reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getDistribution() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected Distribution distribution; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected BasicEventImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return FtPackage.Literals.BASIC_EVENT; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public Distribution getDistribution() { | ||
67 | return distribution; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public NotificationChain basicSetDistribution(Distribution newDistribution, NotificationChain msgs) { | ||
76 | Distribution oldDistribution = distribution; | ||
77 | distribution = newDistribution; | ||
78 | if (eNotificationRequired()) { | ||
79 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FtPackage.BASIC_EVENT__DISTRIBUTION, oldDistribution, newDistribution); | ||
80 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
81 | } | ||
82 | return msgs; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | @Override | ||
91 | public void setDistribution(Distribution newDistribution) { | ||
92 | if (newDistribution != distribution) { | ||
93 | NotificationChain msgs = null; | ||
94 | if (distribution != null) | ||
95 | msgs = ((InternalEObject)distribution).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FtPackage.BASIC_EVENT__DISTRIBUTION, null, msgs); | ||
96 | if (newDistribution != null) | ||
97 | msgs = ((InternalEObject)newDistribution).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FtPackage.BASIC_EVENT__DISTRIBUTION, null, msgs); | ||
98 | msgs = basicSetDistribution(newDistribution, msgs); | ||
99 | if (msgs != null) msgs.dispatch(); | ||
100 | } | ||
101 | else if (eNotificationRequired()) | ||
102 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.BASIC_EVENT__DISTRIBUTION, newDistribution, newDistribution)); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
112 | switch (featureID) { | ||
113 | case FtPackage.BASIC_EVENT__DISTRIBUTION: | ||
114 | return basicSetDistribution(null, msgs); | ||
115 | } | ||
116 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
126 | switch (featureID) { | ||
127 | case FtPackage.BASIC_EVENT__DISTRIBUTION: | ||
128 | return getDistribution(); | ||
129 | } | ||
130 | return super.eGet(featureID, resolve, coreType); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eSet(int featureID, Object newValue) { | ||
140 | switch (featureID) { | ||
141 | case FtPackage.BASIC_EVENT__DISTRIBUTION: | ||
142 | setDistribution((Distribution)newValue); | ||
143 | return; | ||
144 | } | ||
145 | super.eSet(featureID, newValue); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public void eUnset(int featureID) { | ||
155 | switch (featureID) { | ||
156 | case FtPackage.BASIC_EVENT__DISTRIBUTION: | ||
157 | setDistribution((Distribution)null); | ||
158 | return; | ||
159 | } | ||
160 | super.eUnset(featureID); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public boolean eIsSet(int featureID) { | ||
170 | switch (featureID) { | ||
171 | case FtPackage.BASIC_EVENT__DISTRIBUTION: | ||
172 | return distribution != null; | ||
173 | } | ||
174 | return super.eIsSet(featureID); | ||
175 | } | ||
176 | |||
177 | } //BasicEventImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java new file mode 100644 index 00000000..7f85ed32 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Constant Distribution</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl#getP <em>P</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class ConstantDistributionImpl extends DistributionImpl implements ConstantDistribution { | ||
28 | /** | ||
29 | * The default value of the '{@link #getP() <em>P</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getP() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final double P_EDEFAULT = 0.0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getP() <em>P</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getP() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected double p = P_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ConstantDistributionImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return FtPackage.Literals.CONSTANT_DISTRIBUTION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public double getP() { | ||
74 | return p; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setP(double newP) { | ||
84 | double oldP = p; | ||
85 | p = newP; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_DISTRIBUTION__P, oldP, p)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case FtPackage.CONSTANT_DISTRIBUTION__P: | ||
99 | return getP(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case FtPackage.CONSTANT_DISTRIBUTION__P: | ||
113 | setP((Double)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case FtPackage.CONSTANT_DISTRIBUTION__P: | ||
128 | setP(P_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case FtPackage.CONSTANT_DISTRIBUTION__P: | ||
143 | return p != P_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (p: "); | ||
159 | result.append(p); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //ConstantDistributionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java new file mode 100644 index 00000000..171a58cd --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Distribution</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class DistributionImpl extends MinimalEObjectImpl.Container implements Distribution { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected DistributionImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return FtPackage.Literals.DISTRIBUTION; | ||
37 | } | ||
38 | |||
39 | } //DistributionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java new file mode 100644 index 00000000..44ac0eb6 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Event</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl#getName <em>Name</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public abstract class EventImpl extends MinimalEObjectImpl.Container implements Event { | ||
29 | /** | ||
30 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getName() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String NAME_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String name = NAME_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected EventImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return FtPackage.Literals.EVENT; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public String getName() { | ||
75 | return name; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setName(String newName) { | ||
85 | String oldName = name; | ||
86 | name = newName; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.EVENT__NAME, oldName, name)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case FtPackage.EVENT__NAME: | ||
100 | return getName(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case FtPackage.EVENT__NAME: | ||
114 | setName((String)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case FtPackage.EVENT__NAME: | ||
129 | setName(NAME_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case FtPackage.EVENT__NAME: | ||
144 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (name: "); | ||
160 | result.append(name); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //EventImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java new file mode 100644 index 00000000..b3c7bd79 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Exponential Distribution</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl#getLambda <em>Lambda</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class ExponentialDistributionImpl extends DistributionImpl implements ExponentialDistribution { | ||
28 | /** | ||
29 | * The default value of the '{@link #getLambda() <em>Lambda</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getLambda() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final double LAMBDA_EDEFAULT = 0.0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getLambda() <em>Lambda</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getLambda() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected double lambda = LAMBDA_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ExponentialDistributionImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return FtPackage.Literals.EXPONENTIAL_DISTRIBUTION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public double getLambda() { | ||
74 | return lambda; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setLambda(double newLambda) { | ||
84 | double oldLambda = lambda; | ||
85 | lambda = newLambda; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA, oldLambda, lambda)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: | ||
99 | return getLambda(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: | ||
113 | setLambda((Double)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: | ||
128 | setLambda(LAMBDA_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: | ||
143 | return lambda != LAMBDA_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (lambda: "); | ||
159 | result.append(lambda); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //ExponentialDistributionImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java new file mode 100644 index 00000000..9c716c21 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java | |||
@@ -0,0 +1,217 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
20 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Fault Tree</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getEvents <em>Events</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getTopEvent <em>Top Event</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class FaultTreeImpl extends MinimalEObjectImpl.Container implements FaultTree { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getEvents() <em>Events</em>}' containment reference list. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getEvents() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected EList<Event> events; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getTopEvent() <em>Top Event</em>}' reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getTopEvent() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected Event topEvent; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | protected FaultTreeImpl() { | ||
66 | super(); | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | protected EClass eStaticClass() { | ||
76 | return FtPackage.Literals.FAULT_TREE; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | public EList<Event> getEvents() { | ||
86 | if (events == null) { | ||
87 | events = new EObjectContainmentEList<Event>(Event.class, this, FtPackage.FAULT_TREE__EVENTS); | ||
88 | } | ||
89 | return events; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Event getTopEvent() { | ||
99 | if (topEvent != null && topEvent.eIsProxy()) { | ||
100 | InternalEObject oldTopEvent = (InternalEObject)topEvent; | ||
101 | topEvent = (Event)eResolveProxy(oldTopEvent); | ||
102 | if (topEvent != oldTopEvent) { | ||
103 | if (eNotificationRequired()) | ||
104 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); | ||
105 | } | ||
106 | } | ||
107 | return topEvent; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | public Event basicGetTopEvent() { | ||
116 | return topEvent; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void setTopEvent(Event newTopEvent) { | ||
126 | Event oldTopEvent = topEvent; | ||
127 | topEvent = newTopEvent; | ||
128 | if (eNotificationRequired()) | ||
129 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
139 | switch (featureID) { | ||
140 | case FtPackage.FAULT_TREE__EVENTS: | ||
141 | return ((InternalEList<?>)getEvents()).basicRemove(otherEnd, msgs); | ||
142 | } | ||
143 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
153 | switch (featureID) { | ||
154 | case FtPackage.FAULT_TREE__EVENTS: | ||
155 | return getEvents(); | ||
156 | case FtPackage.FAULT_TREE__TOP_EVENT: | ||
157 | if (resolve) return getTopEvent(); | ||
158 | return basicGetTopEvent(); | ||
159 | } | ||
160 | return super.eGet(featureID, resolve, coreType); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @SuppressWarnings("unchecked") | ||
169 | @Override | ||
170 | public void eSet(int featureID, Object newValue) { | ||
171 | switch (featureID) { | ||
172 | case FtPackage.FAULT_TREE__EVENTS: | ||
173 | getEvents().clear(); | ||
174 | getEvents().addAll((Collection<? extends Event>)newValue); | ||
175 | return; | ||
176 | case FtPackage.FAULT_TREE__TOP_EVENT: | ||
177 | setTopEvent((Event)newValue); | ||
178 | return; | ||
179 | } | ||
180 | super.eSet(featureID, newValue); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @Override | ||
189 | public void eUnset(int featureID) { | ||
190 | switch (featureID) { | ||
191 | case FtPackage.FAULT_TREE__EVENTS: | ||
192 | getEvents().clear(); | ||
193 | return; | ||
194 | case FtPackage.FAULT_TREE__TOP_EVENT: | ||
195 | setTopEvent((Event)null); | ||
196 | return; | ||
197 | } | ||
198 | super.eUnset(featureID); | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public boolean eIsSet(int featureID) { | ||
208 | switch (featureID) { | ||
209 | case FtPackage.FAULT_TREE__EVENTS: | ||
210 | return events != null && !events.isEmpty(); | ||
211 | case FtPackage.FAULT_TREE__TOP_EVENT: | ||
212 | return topEvent != null; | ||
213 | } | ||
214 | return super.eIsSet(featureID); | ||
215 | } | ||
216 | |||
217 | } //FaultTreeImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java new file mode 100644 index 00000000..59364443 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java | |||
@@ -0,0 +1,169 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class FtFactoryImpl extends EFactoryImpl implements FtFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static FtFactory init() { | ||
29 | try { | ||
30 | FtFactory theFtFactory = (FtFactory)EPackage.Registry.INSTANCE.getEFactory(FtPackage.eNS_URI); | ||
31 | if (theFtFactory != null) { | ||
32 | return theFtFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new FtFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public FtFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case FtPackage.FAULT_TREE: return createFaultTree(); | ||
60 | case FtPackage.BASIC_EVENT: return createBasicEvent(); | ||
61 | case FtPackage.CONSTANT_DISTRIBUTION: return createConstantDistribution(); | ||
62 | case FtPackage.EXPONENTIAL_DISTRIBUTION: return createExponentialDistribution(); | ||
63 | case FtPackage.AND_GATE: return createAndGate(); | ||
64 | case FtPackage.OR_GATE: return createOrGate(); | ||
65 | case FtPackage.KOF_MGATE: return createKOfMGate(); | ||
66 | default: | ||
67 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
68 | } | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public FaultTree createFaultTree() { | ||
78 | FaultTreeImpl faultTree = new FaultTreeImpl(); | ||
79 | return faultTree; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public BasicEvent createBasicEvent() { | ||
89 | BasicEventImpl basicEvent = new BasicEventImpl(); | ||
90 | return basicEvent; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public ConstantDistribution createConstantDistribution() { | ||
100 | ConstantDistributionImpl constantDistribution = new ConstantDistributionImpl(); | ||
101 | return constantDistribution; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public ExponentialDistribution createExponentialDistribution() { | ||
111 | ExponentialDistributionImpl exponentialDistribution = new ExponentialDistributionImpl(); | ||
112 | return exponentialDistribution; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public AndGate createAndGate() { | ||
122 | AndGateImpl andGate = new AndGateImpl(); | ||
123 | return andGate; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public OrGate createOrGate() { | ||
133 | OrGateImpl orGate = new OrGateImpl(); | ||
134 | return orGate; | ||
135 | } | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | @Override | ||
143 | public KOfMGate createKOfMGate() { | ||
144 | KOfMGateImpl kOfMGate = new KOfMGateImpl(); | ||
145 | return kOfMGate; | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public FtPackage getFtPackage() { | ||
155 | return (FtPackage)getEPackage(); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @deprecated | ||
162 | * @generated | ||
163 | */ | ||
164 | @Deprecated | ||
165 | public static FtPackage getPackage() { | ||
166 | return FtPackage.eINSTANCE; | ||
167 | } | ||
168 | |||
169 | } //FtFactoryImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java new file mode 100644 index 00000000..27ff09df --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java | |||
@@ -0,0 +1,482 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; | ||
12 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
14 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; | ||
15 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; | ||
16 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EAttribute; | ||
19 | import org.eclipse.emf.ecore.EClass; | ||
20 | import org.eclipse.emf.ecore.EPackage; | ||
21 | import org.eclipse.emf.ecore.EReference; | ||
22 | |||
23 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model <b>Package</b>. | ||
28 | * <!-- end-user-doc --> | ||
29 | * @generated | ||
30 | */ | ||
31 | public class FtPackageImpl extends EPackageImpl implements FtPackage { | ||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | private EClass faultTreeEClass = null; | ||
38 | |||
39 | /** | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @generated | ||
43 | */ | ||
44 | private EClass eventEClass = null; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | private EClass basicEventEClass = null; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | private EClass gateEClass = null; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | private EClass distributionEClass = null; | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | private EClass constantDistributionEClass = null; | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | private EClass exponentialDistributionEClass = null; | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | private EClass andGateEClass = null; | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | private EClass orGateEClass = null; | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | private EClass kOfMGateEClass = null; | ||
101 | |||
102 | /** | ||
103 | * Creates an instance of the model <b>Package</b>, registered with | ||
104 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
105 | * package URI value. | ||
106 | * <p>Note: the correct way to create the package is via the static | ||
107 | * factory method {@link #init init()}, which also performs | ||
108 | * initialization of the package, or returns the registered package, | ||
109 | * if one already exists. | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
113 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#eNS_URI | ||
114 | * @see #init() | ||
115 | * @generated | ||
116 | */ | ||
117 | private FtPackageImpl() { | ||
118 | super(eNS_URI, FtFactory.eINSTANCE); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | private static boolean isInited = false; | ||
127 | |||
128 | /** | ||
129 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
130 | * | ||
131 | * <p>This method is used to initialize {@link FtPackage#eINSTANCE} when that field is accessed. | ||
132 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @see #eNS_URI | ||
136 | * @see #createPackageContents() | ||
137 | * @see #initializePackageContents() | ||
138 | * @generated | ||
139 | */ | ||
140 | public static FtPackage init() { | ||
141 | if (isInited) return (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI); | ||
142 | |||
143 | // Obtain or create and register package | ||
144 | Object registeredFtPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
145 | FtPackageImpl theFtPackage = registeredFtPackage instanceof FtPackageImpl ? (FtPackageImpl)registeredFtPackage : new FtPackageImpl(); | ||
146 | |||
147 | isInited = true; | ||
148 | |||
149 | // Create package meta-data objects | ||
150 | theFtPackage.createPackageContents(); | ||
151 | |||
152 | // Initialize created meta-data | ||
153 | theFtPackage.initializePackageContents(); | ||
154 | |||
155 | // Mark meta-data to indicate it can't be changed | ||
156 | theFtPackage.freeze(); | ||
157 | |||
158 | // Update the registry and return the package | ||
159 | EPackage.Registry.INSTANCE.put(FtPackage.eNS_URI, theFtPackage); | ||
160 | return theFtPackage; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public EClass getFaultTree() { | ||
170 | return faultTreeEClass; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public EReference getFaultTree_Events() { | ||
180 | return (EReference)faultTreeEClass.getEStructuralFeatures().get(0); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @Override | ||
189 | public EReference getFaultTree_TopEvent() { | ||
190 | return (EReference)faultTreeEClass.getEStructuralFeatures().get(1); | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | @Override | ||
199 | public EClass getEvent() { | ||
200 | return eventEClass; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public EAttribute getEvent_Name() { | ||
210 | return (EAttribute)eventEClass.getEStructuralFeatures().get(0); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | @Override | ||
219 | public EClass getBasicEvent() { | ||
220 | return basicEventEClass; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public EReference getBasicEvent_Distribution() { | ||
230 | return (EReference)basicEventEClass.getEStructuralFeatures().get(0); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public EClass getGate() { | ||
240 | return gateEClass; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | @Override | ||
249 | public EReference getGate_InputEvents() { | ||
250 | return (EReference)gateEClass.getEStructuralFeatures().get(0); | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | @Override | ||
259 | public EClass getDistribution() { | ||
260 | return distributionEClass; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public EClass getConstantDistribution() { | ||
270 | return constantDistributionEClass; | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @Override | ||
279 | public EAttribute getConstantDistribution_P() { | ||
280 | return (EAttribute)constantDistributionEClass.getEStructuralFeatures().get(0); | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | @Override | ||
289 | public EClass getExponentialDistribution() { | ||
290 | return exponentialDistributionEClass; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public EAttribute getExponentialDistribution_Lambda() { | ||
300 | return (EAttribute)exponentialDistributionEClass.getEStructuralFeatures().get(0); | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * <!-- begin-user-doc --> | ||
305 | * <!-- end-user-doc --> | ||
306 | * @generated | ||
307 | */ | ||
308 | @Override | ||
309 | public EClass getAndGate() { | ||
310 | return andGateEClass; | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @generated | ||
317 | */ | ||
318 | @Override | ||
319 | public EClass getOrGate() { | ||
320 | return orGateEClass; | ||
321 | } | ||
322 | |||
323 | /** | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @generated | ||
327 | */ | ||
328 | @Override | ||
329 | public EClass getKOfMGate() { | ||
330 | return kOfMGateEClass; | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | @Override | ||
339 | public EAttribute getKOfMGate_K() { | ||
340 | return (EAttribute)kOfMGateEClass.getEStructuralFeatures().get(0); | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * <!-- begin-user-doc --> | ||
345 | * <!-- end-user-doc --> | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public EAttribute getKOfMGate_M() { | ||
350 | return (EAttribute)kOfMGateEClass.getEStructuralFeatures().get(1); | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | @Override | ||
359 | public FtFactory getFtFactory() { | ||
360 | return (FtFactory)getEFactoryInstance(); | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | */ | ||
368 | private boolean isCreated = false; | ||
369 | |||
370 | /** | ||
371 | * Creates the meta-model objects for the package. This method is | ||
372 | * guarded to have no affect on any invocation but its first. | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | */ | ||
377 | public void createPackageContents() { | ||
378 | if (isCreated) return; | ||
379 | isCreated = true; | ||
380 | |||
381 | // Create classes and their features | ||
382 | faultTreeEClass = createEClass(FAULT_TREE); | ||
383 | createEReference(faultTreeEClass, FAULT_TREE__EVENTS); | ||
384 | createEReference(faultTreeEClass, FAULT_TREE__TOP_EVENT); | ||
385 | |||
386 | eventEClass = createEClass(EVENT); | ||
387 | createEAttribute(eventEClass, EVENT__NAME); | ||
388 | |||
389 | basicEventEClass = createEClass(BASIC_EVENT); | ||
390 | createEReference(basicEventEClass, BASIC_EVENT__DISTRIBUTION); | ||
391 | |||
392 | gateEClass = createEClass(GATE); | ||
393 | createEReference(gateEClass, GATE__INPUT_EVENTS); | ||
394 | |||
395 | distributionEClass = createEClass(DISTRIBUTION); | ||
396 | |||
397 | constantDistributionEClass = createEClass(CONSTANT_DISTRIBUTION); | ||
398 | createEAttribute(constantDistributionEClass, CONSTANT_DISTRIBUTION__P); | ||
399 | |||
400 | exponentialDistributionEClass = createEClass(EXPONENTIAL_DISTRIBUTION); | ||
401 | createEAttribute(exponentialDistributionEClass, EXPONENTIAL_DISTRIBUTION__LAMBDA); | ||
402 | |||
403 | andGateEClass = createEClass(AND_GATE); | ||
404 | |||
405 | orGateEClass = createEClass(OR_GATE); | ||
406 | |||
407 | kOfMGateEClass = createEClass(KOF_MGATE); | ||
408 | createEAttribute(kOfMGateEClass, KOF_MGATE__K); | ||
409 | createEAttribute(kOfMGateEClass, KOF_MGATE__M); | ||
410 | } | ||
411 | |||
412 | /** | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | */ | ||
417 | private boolean isInitialized = false; | ||
418 | |||
419 | /** | ||
420 | * Complete the initialization of the package and its meta-model. This | ||
421 | * method is guarded to have no affect on any invocation but its first. | ||
422 | * <!-- begin-user-doc --> | ||
423 | * <!-- end-user-doc --> | ||
424 | * @generated | ||
425 | */ | ||
426 | public void initializePackageContents() { | ||
427 | if (isInitialized) return; | ||
428 | isInitialized = true; | ||
429 | |||
430 | // Initialize package | ||
431 | setName(eNAME); | ||
432 | setNsPrefix(eNS_PREFIX); | ||
433 | setNsURI(eNS_URI); | ||
434 | |||
435 | // Create type parameters | ||
436 | |||
437 | // Set bounds for type parameters | ||
438 | |||
439 | // Add supertypes to classes | ||
440 | basicEventEClass.getESuperTypes().add(this.getEvent()); | ||
441 | gateEClass.getESuperTypes().add(this.getEvent()); | ||
442 | constantDistributionEClass.getESuperTypes().add(this.getDistribution()); | ||
443 | exponentialDistributionEClass.getESuperTypes().add(this.getDistribution()); | ||
444 | andGateEClass.getESuperTypes().add(this.getGate()); | ||
445 | orGateEClass.getESuperTypes().add(this.getGate()); | ||
446 | kOfMGateEClass.getESuperTypes().add(this.getGate()); | ||
447 | |||
448 | // Initialize classes, features, and operations; add parameters | ||
449 | initEClass(faultTreeEClass, FaultTree.class, "FaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
450 | initEReference(getFaultTree_Events(), this.getEvent(), null, "events", null, 0, -1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
451 | initEReference(getFaultTree_TopEvent(), this.getEvent(), null, "topEvent", null, 1, 1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
452 | |||
453 | initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
454 | initEAttribute(getEvent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Event.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
455 | |||
456 | initEClass(basicEventEClass, BasicEvent.class, "BasicEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
457 | initEReference(getBasicEvent_Distribution(), this.getDistribution(), null, "distribution", null, 1, 1, BasicEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
458 | |||
459 | initEClass(gateEClass, Gate.class, "Gate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
460 | initEReference(getGate_InputEvents(), this.getEvent(), null, "inputEvents", null, 0, -1, Gate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
461 | |||
462 | initEClass(distributionEClass, Distribution.class, "Distribution", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
463 | |||
464 | initEClass(constantDistributionEClass, ConstantDistribution.class, "ConstantDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
465 | initEAttribute(getConstantDistribution_P(), ecorePackage.getEDouble(), "p", null, 0, 1, ConstantDistribution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
466 | |||
467 | initEClass(exponentialDistributionEClass, ExponentialDistribution.class, "ExponentialDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
468 | initEAttribute(getExponentialDistribution_Lambda(), ecorePackage.getEDouble(), "lambda", null, 0, 1, ExponentialDistribution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
469 | |||
470 | initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
471 | |||
472 | initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
473 | |||
474 | initEClass(kOfMGateEClass, KOfMGate.class, "KOfMGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
475 | initEAttribute(getKOfMGate_K(), ecorePackage.getEInt(), "k", null, 0, 1, KOfMGate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
476 | initEAttribute(getKOfMGate_M(), ecorePackage.getEInt(), "m", null, 0, 1, KOfMGate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
477 | |||
478 | // Create resource | ||
479 | createResource(eNS_URI); | ||
480 | } | ||
481 | |||
482 | } //FtPackageImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java new file mode 100644 index 00000000..ae6d5a8d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java | |||
@@ -0,0 +1,133 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Gate</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl#getInputEvents <em>Input Events</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public abstract class GateImpl extends EventImpl implements Gate { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' reference list. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getInputEvents() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected EList<Event> inputEvents; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected GateImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return FtPackage.Literals.GATE; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public EList<Event> getInputEvents() { | ||
67 | if (inputEvents == null) { | ||
68 | inputEvents = new EObjectResolvingEList<Event>(Event.class, this, FtPackage.GATE__INPUT_EVENTS); | ||
69 | } | ||
70 | return inputEvents; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
80 | switch (featureID) { | ||
81 | case FtPackage.GATE__INPUT_EVENTS: | ||
82 | return getInputEvents(); | ||
83 | } | ||
84 | return super.eGet(featureID, resolve, coreType); | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @SuppressWarnings("unchecked") | ||
93 | @Override | ||
94 | public void eSet(int featureID, Object newValue) { | ||
95 | switch (featureID) { | ||
96 | case FtPackage.GATE__INPUT_EVENTS: | ||
97 | getInputEvents().clear(); | ||
98 | getInputEvents().addAll((Collection<? extends Event>)newValue); | ||
99 | return; | ||
100 | } | ||
101 | super.eSet(featureID, newValue); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eUnset(int featureID) { | ||
111 | switch (featureID) { | ||
112 | case FtPackage.GATE__INPUT_EVENTS: | ||
113 | getInputEvents().clear(); | ||
114 | return; | ||
115 | } | ||
116 | super.eUnset(featureID); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public boolean eIsSet(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case FtPackage.GATE__INPUT_EVENTS: | ||
128 | return inputEvents != null && !inputEvents.isEmpty(); | ||
129 | } | ||
130 | return super.eIsSet(featureID); | ||
131 | } | ||
132 | |||
133 | } //GateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java new file mode 100644 index 00000000..0f0dd205 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java | |||
@@ -0,0 +1,220 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>KOf MGate</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl#getK <em>K</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl#getM <em>M</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class KOfMGateImpl extends GateImpl implements KOfMGate { | ||
29 | /** | ||
30 | * The default value of the '{@link #getK() <em>K</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getK() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int K_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getK() <em>K</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getK() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int k = K_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #getM() <em>M</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getM() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final int M_EDEFAULT = 0; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getM() <em>M</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getM() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected int m = M_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected KOfMGateImpl() { | ||
75 | super(); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | protected EClass eStaticClass() { | ||
85 | return FtPackage.Literals.KOF_MGATE; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public int getK() { | ||
95 | return k; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setK(int newK) { | ||
105 | int oldK = k; | ||
106 | k = newK; | ||
107 | if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__K, oldK, k)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public int getM() { | ||
118 | return m; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void setM(int newM) { | ||
128 | int oldM = m; | ||
129 | m = newM; | ||
130 | if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__M, oldM, m)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
141 | switch (featureID) { | ||
142 | case FtPackage.KOF_MGATE__K: | ||
143 | return getK(); | ||
144 | case FtPackage.KOF_MGATE__M: | ||
145 | return getM(); | ||
146 | } | ||
147 | return super.eGet(featureID, resolve, coreType); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public void eSet(int featureID, Object newValue) { | ||
157 | switch (featureID) { | ||
158 | case FtPackage.KOF_MGATE__K: | ||
159 | setK((Integer)newValue); | ||
160 | return; | ||
161 | case FtPackage.KOF_MGATE__M: | ||
162 | setM((Integer)newValue); | ||
163 | return; | ||
164 | } | ||
165 | super.eSet(featureID, newValue); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public void eUnset(int featureID) { | ||
175 | switch (featureID) { | ||
176 | case FtPackage.KOF_MGATE__K: | ||
177 | setK(K_EDEFAULT); | ||
178 | return; | ||
179 | case FtPackage.KOF_MGATE__M: | ||
180 | setM(M_EDEFAULT); | ||
181 | return; | ||
182 | } | ||
183 | super.eUnset(featureID); | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | @Override | ||
192 | public boolean eIsSet(int featureID) { | ||
193 | switch (featureID) { | ||
194 | case FtPackage.KOF_MGATE__K: | ||
195 | return k != K_EDEFAULT; | ||
196 | case FtPackage.KOF_MGATE__M: | ||
197 | return m != M_EDEFAULT; | ||
198 | } | ||
199 | return super.eIsSet(featureID); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public String toString() { | ||
209 | if (eIsProxy()) return super.toString(); | ||
210 | |||
211 | StringBuilder result = new StringBuilder(super.toString()); | ||
212 | result.append(" (k: "); | ||
213 | result.append(k); | ||
214 | result.append(", m: "); | ||
215 | result.append(m); | ||
216 | result.append(')'); | ||
217 | return result.toString(); | ||
218 | } | ||
219 | |||
220 | } //KOfMGateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java new file mode 100644 index 00000000..88bd2bae --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Or Gate</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class OrGateImpl extends GateImpl implements OrGate { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected OrGateImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return FtPackage.Literals.OR_GATE; | ||
35 | } | ||
36 | |||
37 | } //OrGateImpl | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java new file mode 100644 index 00000000..17daaad3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java | |||
@@ -0,0 +1,282 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class FtAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static FtPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public FtAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = FtPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected FtSwitch<Adapter> modelSwitch = | ||
69 | new FtSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseFaultTree(FaultTree object) { | ||
72 | return createFaultTreeAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseEvent(Event object) { | ||
76 | return createEventAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseBasicEvent(BasicEvent object) { | ||
80 | return createBasicEventAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseGate(Gate object) { | ||
84 | return createGateAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseDistribution(Distribution object) { | ||
88 | return createDistributionAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseConstantDistribution(ConstantDistribution object) { | ||
92 | return createConstantDistributionAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseExponentialDistribution(ExponentialDistribution object) { | ||
96 | return createExponentialDistributionAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseAndGate(AndGate object) { | ||
100 | return createAndGateAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseOrGate(OrGate object) { | ||
104 | return createOrGateAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseKOfMGate(KOfMGate object) { | ||
108 | return createKOfMGateAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter defaultCase(EObject object) { | ||
112 | return createEObjectAdapter(); | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | /** | ||
117 | * Creates an adapter for the <code>target</code>. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param target the object to adapt. | ||
121 | * @return the adapter for the <code>target</code>. | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Adapter createAdapter(Notifier target) { | ||
126 | return modelSwitch.doSwitch((EObject)target); | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree <em>Fault Tree</em>}'. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * This default implementation returns null so that we can easily ignore cases; | ||
134 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
135 | * <!-- end-user-doc --> | ||
136 | * @return the new adapter. | ||
137 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree | ||
138 | * @generated | ||
139 | */ | ||
140 | public Adapter createFaultTreeAdapter() { | ||
141 | return null; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event <em>Event</em>}'. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * This default implementation returns null so that we can easily ignore cases; | ||
148 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
149 | * <!-- end-user-doc --> | ||
150 | * @return the new adapter. | ||
151 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event | ||
152 | * @generated | ||
153 | */ | ||
154 | public Adapter createEventAdapter() { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent <em>Basic Event</em>}'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This default implementation returns null so that we can easily ignore cases; | ||
162 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return the new adapter. | ||
165 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent | ||
166 | * @generated | ||
167 | */ | ||
168 | public Adapter createBasicEventAdapter() { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate <em>Gate</em>}'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This default implementation returns null so that we can easily ignore cases; | ||
176 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @return the new adapter. | ||
179 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate | ||
180 | * @generated | ||
181 | */ | ||
182 | public Adapter createGateAdapter() { | ||
183 | return null; | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution <em>Distribution</em>}'. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * This default implementation returns null so that we can easily ignore cases; | ||
190 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
191 | * <!-- end-user-doc --> | ||
192 | * @return the new adapter. | ||
193 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution | ||
194 | * @generated | ||
195 | */ | ||
196 | public Adapter createDistributionAdapter() { | ||
197 | return null; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution <em>Constant Distribution</em>}'. | ||
202 | * <!-- begin-user-doc --> | ||
203 | * This default implementation returns null so that we can easily ignore cases; | ||
204 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
205 | * <!-- end-user-doc --> | ||
206 | * @return the new adapter. | ||
207 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution | ||
208 | * @generated | ||
209 | */ | ||
210 | public Adapter createConstantDistributionAdapter() { | ||
211 | return null; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution <em>Exponential Distribution</em>}'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * This default implementation returns null so that we can easily ignore cases; | ||
218 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
219 | * <!-- end-user-doc --> | ||
220 | * @return the new adapter. | ||
221 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution | ||
222 | * @generated | ||
223 | */ | ||
224 | public Adapter createExponentialDistributionAdapter() { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate <em>And Gate</em>}'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This default implementation returns null so that we can easily ignore cases; | ||
232 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @return the new adapter. | ||
235 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate | ||
236 | * @generated | ||
237 | */ | ||
238 | public Adapter createAndGateAdapter() { | ||
239 | return null; | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate <em>Or Gate</em>}'. | ||
244 | * <!-- begin-user-doc --> | ||
245 | * This default implementation returns null so that we can easily ignore cases; | ||
246 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
247 | * <!-- end-user-doc --> | ||
248 | * @return the new adapter. | ||
249 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate | ||
250 | * @generated | ||
251 | */ | ||
252 | public Adapter createOrGateAdapter() { | ||
253 | return null; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate <em>KOf MGate</em>}'. | ||
258 | * <!-- begin-user-doc --> | ||
259 | * This default implementation returns null so that we can easily ignore cases; | ||
260 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
261 | * <!-- end-user-doc --> | ||
262 | * @return the new adapter. | ||
263 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate | ||
264 | * @generated | ||
265 | */ | ||
266 | public Adapter createKOfMGateAdapter() { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for the default case. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null. | ||
274 | * <!-- end-user-doc --> | ||
275 | * @return the new adapter. | ||
276 | * @generated | ||
277 | */ | ||
278 | public Adapter createEObjectAdapter() { | ||
279 | return null; | ||
280 | } | ||
281 | |||
282 | } //FtAdapterFactory | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java new file mode 100644 index 00000000..b1846705 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java | |||
@@ -0,0 +1,309 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class FtSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static FtPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public FtSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = FtPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case FtPackage.FAULT_TREE: { | ||
70 | FaultTree faultTree = (FaultTree)theEObject; | ||
71 | T result = caseFaultTree(faultTree); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case FtPackage.EVENT: { | ||
76 | Event event = (Event)theEObject; | ||
77 | T result = caseEvent(event); | ||
78 | if (result == null) result = defaultCase(theEObject); | ||
79 | return result; | ||
80 | } | ||
81 | case FtPackage.BASIC_EVENT: { | ||
82 | BasicEvent basicEvent = (BasicEvent)theEObject; | ||
83 | T result = caseBasicEvent(basicEvent); | ||
84 | if (result == null) result = caseEvent(basicEvent); | ||
85 | if (result == null) result = defaultCase(theEObject); | ||
86 | return result; | ||
87 | } | ||
88 | case FtPackage.GATE: { | ||
89 | Gate gate = (Gate)theEObject; | ||
90 | T result = caseGate(gate); | ||
91 | if (result == null) result = caseEvent(gate); | ||
92 | if (result == null) result = defaultCase(theEObject); | ||
93 | return result; | ||
94 | } | ||
95 | case FtPackage.DISTRIBUTION: { | ||
96 | Distribution distribution = (Distribution)theEObject; | ||
97 | T result = caseDistribution(distribution); | ||
98 | if (result == null) result = defaultCase(theEObject); | ||
99 | return result; | ||
100 | } | ||
101 | case FtPackage.CONSTANT_DISTRIBUTION: { | ||
102 | ConstantDistribution constantDistribution = (ConstantDistribution)theEObject; | ||
103 | T result = caseConstantDistribution(constantDistribution); | ||
104 | if (result == null) result = caseDistribution(constantDistribution); | ||
105 | if (result == null) result = defaultCase(theEObject); | ||
106 | return result; | ||
107 | } | ||
108 | case FtPackage.EXPONENTIAL_DISTRIBUTION: { | ||
109 | ExponentialDistribution exponentialDistribution = (ExponentialDistribution)theEObject; | ||
110 | T result = caseExponentialDistribution(exponentialDistribution); | ||
111 | if (result == null) result = caseDistribution(exponentialDistribution); | ||
112 | if (result == null) result = defaultCase(theEObject); | ||
113 | return result; | ||
114 | } | ||
115 | case FtPackage.AND_GATE: { | ||
116 | AndGate andGate = (AndGate)theEObject; | ||
117 | T result = caseAndGate(andGate); | ||
118 | if (result == null) result = caseGate(andGate); | ||
119 | if (result == null) result = caseEvent(andGate); | ||
120 | if (result == null) result = defaultCase(theEObject); | ||
121 | return result; | ||
122 | } | ||
123 | case FtPackage.OR_GATE: { | ||
124 | OrGate orGate = (OrGate)theEObject; | ||
125 | T result = caseOrGate(orGate); | ||
126 | if (result == null) result = caseGate(orGate); | ||
127 | if (result == null) result = caseEvent(orGate); | ||
128 | if (result == null) result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case FtPackage.KOF_MGATE: { | ||
132 | KOfMGate kOfMGate = (KOfMGate)theEObject; | ||
133 | T result = caseKOfMGate(kOfMGate); | ||
134 | if (result == null) result = caseGate(kOfMGate); | ||
135 | if (result == null) result = caseEvent(kOfMGate); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | default: return defaultCase(theEObject); | ||
140 | } | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * Returns the result of interpreting the object as an instance of '<em>Fault Tree</em>'. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * This implementation returns null; | ||
147 | * returning a non-null result will terminate the switch. | ||
148 | * <!-- end-user-doc --> | ||
149 | * @param object the target of the switch. | ||
150 | * @return the result of interpreting the object as an instance of '<em>Fault Tree</em>'. | ||
151 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
152 | * @generated | ||
153 | */ | ||
154 | public T caseFaultTree(FaultTree object) { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Returns the result of interpreting the object as an instance of '<em>Event</em>'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This implementation returns null; | ||
162 | * returning a non-null result will terminate the switch. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @param object the target of the switch. | ||
165 | * @return the result of interpreting the object as an instance of '<em>Event</em>'. | ||
166 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
167 | * @generated | ||
168 | */ | ||
169 | public T caseEvent(Event object) { | ||
170 | return null; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * Returns the result of interpreting the object as an instance of '<em>Basic Event</em>'. | ||
175 | * <!-- begin-user-doc --> | ||
176 | * This implementation returns null; | ||
177 | * returning a non-null result will terminate the switch. | ||
178 | * <!-- end-user-doc --> | ||
179 | * @param object the target of the switch. | ||
180 | * @return the result of interpreting the object as an instance of '<em>Basic Event</em>'. | ||
181 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
182 | * @generated | ||
183 | */ | ||
184 | public T caseBasicEvent(BasicEvent object) { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Returns the result of interpreting the object as an instance of '<em>Gate</em>'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This implementation returns null; | ||
192 | * returning a non-null result will terminate the switch. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @param object the target of the switch. | ||
195 | * @return the result of interpreting the object as an instance of '<em>Gate</em>'. | ||
196 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
197 | * @generated | ||
198 | */ | ||
199 | public T caseGate(Gate object) { | ||
200 | return null; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * Returns the result of interpreting the object as an instance of '<em>Distribution</em>'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * This implementation returns null; | ||
207 | * returning a non-null result will terminate the switch. | ||
208 | * <!-- end-user-doc --> | ||
209 | * @param object the target of the switch. | ||
210 | * @return the result of interpreting the object as an instance of '<em>Distribution</em>'. | ||
211 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
212 | * @generated | ||
213 | */ | ||
214 | public T caseDistribution(Distribution object) { | ||
215 | return null; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * Returns the result of interpreting the object as an instance of '<em>Constant Distribution</em>'. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * This implementation returns null; | ||
222 | * returning a non-null result will terminate the switch. | ||
223 | * <!-- end-user-doc --> | ||
224 | * @param object the target of the switch. | ||
225 | * @return the result of interpreting the object as an instance of '<em>Constant Distribution</em>'. | ||
226 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
227 | * @generated | ||
228 | */ | ||
229 | public T caseConstantDistribution(ConstantDistribution object) { | ||
230 | return null; | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * Returns the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'. | ||
235 | * <!-- begin-user-doc --> | ||
236 | * This implementation returns null; | ||
237 | * returning a non-null result will terminate the switch. | ||
238 | * <!-- end-user-doc --> | ||
239 | * @param object the target of the switch. | ||
240 | * @return the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'. | ||
241 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
242 | * @generated | ||
243 | */ | ||
244 | public T caseExponentialDistribution(ExponentialDistribution object) { | ||
245 | return null; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * Returns the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * This implementation returns null; | ||
252 | * returning a non-null result will terminate the switch. | ||
253 | * <!-- end-user-doc --> | ||
254 | * @param object the target of the switch. | ||
255 | * @return the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
256 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
257 | * @generated | ||
258 | */ | ||
259 | public T caseAndGate(AndGate object) { | ||
260 | return null; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * Returns the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * This implementation returns null; | ||
267 | * returning a non-null result will terminate the switch. | ||
268 | * <!-- end-user-doc --> | ||
269 | * @param object the target of the switch. | ||
270 | * @return the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
271 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
272 | * @generated | ||
273 | */ | ||
274 | public T caseOrGate(OrGate object) { | ||
275 | return null; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * Returns the result of interpreting the object as an instance of '<em>KOf MGate</em>'. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * This implementation returns null; | ||
282 | * returning a non-null result will terminate the switch. | ||
283 | * <!-- end-user-doc --> | ||
284 | * @param object the target of the switch. | ||
285 | * @return the result of interpreting the object as an instance of '<em>KOf MGate</em>'. | ||
286 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
287 | * @generated | ||
288 | */ | ||
289 | public T caseKOfMGate(KOfMGate object) { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This implementation returns null; | ||
297 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @param object the target of the switch. | ||
300 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
301 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public T defaultCase(EObject object) { | ||
306 | return null; | ||
307 | } | ||
308 | |||
309 | } //FtSwitch | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore new file mode 100644 index 00000000..f9bad301 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore | |||
@@ -0,0 +1,71 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="cft" nsURI="http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft" | ||
4 | nsPrefix="cft"> | ||
5 | <eClassifiers xsi:type="ecore:EClass" name="ComponentDefinition"> | ||
6 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" | ||
7 | eType="#//IntputEvent" containment="true"/> | ||
8 | <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" upperBound="-1" | ||
9 | eType="#//EventDefinition" containment="true"/> | ||
10 | <eStructuralFeatures xsi:type="ecore:EReference" name="outputEvents" upperBound="-1" | ||
11 | eType="#//EventDeclaration"/> | ||
12 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
13 | </eClassifiers> | ||
14 | <eClassifiers xsi:type="ecore:EClass" name="EventDefinition" abstract="true" eSuperTypes="#//EventDeclaration"/> | ||
15 | <eClassifiers xsi:type="ecore:EClass" name="GateDefinition" abstract="true" eSuperTypes="#//EventDefinition"> | ||
16 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" | ||
17 | eType="#//EventDeclaration"/> | ||
18 | </eClassifiers> | ||
19 | <eClassifiers xsi:type="ecore:EClass" name="BasicEventDefinition" eSuperTypes="#//EventDefinition"> | ||
20 | <eStructuralFeatures xsi:type="ecore:EReference" name="distribution" lowerBound="1" | ||
21 | eType="ecore:EClass ft.ecore#//Distribution" containment="true"/> | ||
22 | </eClassifiers> | ||
23 | <eClassifiers xsi:type="ecore:EClass" name="IntputEvent" eSuperTypes="#//EventDeclaration"> | ||
24 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiple" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
25 | </eClassifiers> | ||
26 | <eClassifiers xsi:type="ecore:EClass" name="EventDeclaration" abstract="true"> | ||
27 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
28 | </eClassifiers> | ||
29 | <eClassifiers xsi:type="ecore:EClass" name="AndGateDefinition" eSuperTypes="#//GateDefinition"/> | ||
30 | <eClassifiers xsi:type="ecore:EClass" name="OrGateDefinition" eSuperTypes="#//GateDefinition"/> | ||
31 | <eClassifiers xsi:type="ecore:EClass" name="KOfMGateDefinition" eSuperTypes="#//GateDefinition"> | ||
32 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="k" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
33 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
34 | </eClassifiers> | ||
35 | <eClassifiers xsi:type="ecore:EClass" name="ComponentFaultTree"> | ||
36 | <eStructuralFeatures xsi:type="ecore:EReference" name="components" upperBound="-1" | ||
37 | eType="#//Component" containment="true"/> | ||
38 | <eStructuralFeatures xsi:type="ecore:EReference" name="topEvent" lowerBound="1" | ||
39 | eType="#//Output"/> | ||
40 | </eClassifiers> | ||
41 | <eClassifiers xsi:type="ecore:EClass" name="Component"> | ||
42 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputs" upperBound="-1" | ||
43 | eType="#//Input" containment="true" eOpposite="#//Input/component"/> | ||
44 | <eStructuralFeatures xsi:type="ecore:EReference" name="outputs" upperBound="-1" | ||
45 | eType="#//Output" containment="true" eOpposite="#//Output/component"/> | ||
46 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinition" lowerBound="1" | ||
47 | eType="#//ComponentDefinition"/> | ||
48 | </eClassifiers> | ||
49 | <eClassifiers xsi:type="ecore:EClass" name="Input"> | ||
50 | <eStructuralFeatures xsi:type="ecore:EReference" name="intputEvent" lowerBound="1" | ||
51 | eType="#//IntputEvent"/> | ||
52 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1" | ||
53 | eType="#//Component" eOpposite="#//Component/inputs"/> | ||
54 | <eStructuralFeatures xsi:type="ecore:EReference" name="incomingConnections" upperBound="-1" | ||
55 | eType="#//Connection" containment="true" eOpposite="#//Connection/input"/> | ||
56 | </eClassifiers> | ||
57 | <eClassifiers xsi:type="ecore:EClass" name="Output"> | ||
58 | <eStructuralFeatures xsi:type="ecore:EReference" name="eventDeclaration" lowerBound="1" | ||
59 | eType="#//EventDeclaration"/> | ||
60 | <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingConnections" upperBound="-1" | ||
61 | eType="#//Connection" eOpposite="#//Connection/output"/> | ||
62 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1" | ||
63 | eType="#//Component" eOpposite="#//Component/outputs"/> | ||
64 | </eClassifiers> | ||
65 | <eClassifiers xsi:type="ecore:EClass" name="Connection"> | ||
66 | <eStructuralFeatures xsi:type="ecore:EReference" name="input" lowerBound="1" eType="#//Input" | ||
67 | eOpposite="#//Input/incomingConnections"/> | ||
68 | <eStructuralFeatures xsi:type="ecore:EReference" name="output" lowerBound="1" | ||
69 | eType="#//Output" eOpposite="#//Output/outgoingConnections"/> | ||
70 | </eClassifiers> | ||
71 | </ecore:EPackage> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel new file mode 100644 index 00000000..25b3cd39 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel | |||
@@ -0,0 +1,59 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen" | ||
4 | modelPluginID="hu.bme.mit.inf.dslreasoner.faulttree.model" modelName="Cft" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | usedGenPackages="ft.genmodel#//ft" operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>cft.ecore</foreignModel> | ||
8 | <genPackages prefix="Cft" basePackage="hu.bme.mit.inf.dslreasoner.faulttree.model" | ||
9 | disposableProviderFactory="true" ecorePackage="cft.ecore#/"> | ||
10 | <genClasses ecoreClass="cft.ecore#//ComponentDefinition"> | ||
11 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/inputEvents"/> | ||
12 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/eventDefinitions"/> | ||
13 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/outputEvents"/> | ||
14 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//ComponentDefinition/name"/> | ||
15 | </genClasses> | ||
16 | <genClasses image="false" ecoreClass="cft.ecore#//EventDefinition"/> | ||
17 | <genClasses image="false" ecoreClass="cft.ecore#//GateDefinition"> | ||
18 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//GateDefinition/inputEvents"/> | ||
19 | </genClasses> | ||
20 | <genClasses ecoreClass="cft.ecore#//BasicEventDefinition"> | ||
21 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//BasicEventDefinition/distribution"/> | ||
22 | </genClasses> | ||
23 | <genClasses ecoreClass="cft.ecore#//IntputEvent"> | ||
24 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//IntputEvent/multiple"/> | ||
25 | </genClasses> | ||
26 | <genClasses image="false" ecoreClass="cft.ecore#//EventDeclaration"> | ||
27 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//EventDeclaration/name"/> | ||
28 | </genClasses> | ||
29 | <genClasses ecoreClass="cft.ecore#//AndGateDefinition"/> | ||
30 | <genClasses ecoreClass="cft.ecore#//OrGateDefinition"/> | ||
31 | <genClasses ecoreClass="cft.ecore#//KOfMGateDefinition"> | ||
32 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//KOfMGateDefinition/k"/> | ||
33 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//KOfMGateDefinition/m"/> | ||
34 | </genClasses> | ||
35 | <genClasses ecoreClass="cft.ecore#//ComponentFaultTree"> | ||
36 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentFaultTree/components"/> | ||
37 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentFaultTree/topEvent"/> | ||
38 | </genClasses> | ||
39 | <genClasses ecoreClass="cft.ecore#//Component"> | ||
40 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/inputs"/> | ||
41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/outputs"/> | ||
42 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Component/componentDefinition"/> | ||
43 | </genClasses> | ||
44 | <genClasses ecoreClass="cft.ecore#//Input"> | ||
45 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Input/intputEvent"/> | ||
46 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Input/component"/> | ||
47 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Input/incomingConnections"/> | ||
48 | </genClasses> | ||
49 | <genClasses ecoreClass="cft.ecore#//Output"> | ||
50 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Output/eventDeclaration"/> | ||
51 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Output/outgoingConnections"/> | ||
52 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Output/component"/> | ||
53 | </genClasses> | ||
54 | <genClasses ecoreClass="cft.ecore#//Connection"> | ||
55 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Connection/input"/> | ||
56 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Connection/output"/> | ||
57 | </genClasses> | ||
58 | </genPackages> | ||
59 | </genmodel:GenModel> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore new file mode 100644 index 00000000..f1f410a7 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore | |||
@@ -0,0 +1,35 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="ft" nsURI="http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft" | ||
4 | nsPrefix="ft"> | ||
5 | <eClassifiers xsi:type="ecore:EClass" name="FaultTree"> | ||
6 | <eStructuralFeatures xsi:type="ecore:EReference" name="events" upperBound="-1" | ||
7 | eType="#//Event" containment="true"/> | ||
8 | <eStructuralFeatures xsi:type="ecore:EReference" name="topEvent" lowerBound="1" | ||
9 | eType="#//Event"/> | ||
10 | </eClassifiers> | ||
11 | <eClassifiers xsi:type="ecore:EClass" name="Event" abstract="true"> | ||
12 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
13 | </eClassifiers> | ||
14 | <eClassifiers xsi:type="ecore:EClass" name="BasicEvent" eSuperTypes="#//Event"> | ||
15 | <eStructuralFeatures xsi:type="ecore:EReference" name="distribution" lowerBound="1" | ||
16 | eType="#//Distribution" containment="true"/> | ||
17 | </eClassifiers> | ||
18 | <eClassifiers xsi:type="ecore:EClass" name="Gate" abstract="true" eSuperTypes="#//Event"> | ||
19 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" | ||
20 | eType="#//Event"/> | ||
21 | </eClassifiers> | ||
22 | <eClassifiers xsi:type="ecore:EClass" name="Distribution" abstract="true"/> | ||
23 | <eClassifiers xsi:type="ecore:EClass" name="ConstantDistribution" eSuperTypes="#//Distribution"> | ||
24 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="p" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
25 | </eClassifiers> | ||
26 | <eClassifiers xsi:type="ecore:EClass" name="ExponentialDistribution" eSuperTypes="#//Distribution"> | ||
27 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="lambda" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
28 | </eClassifiers> | ||
29 | <eClassifiers xsi:type="ecore:EClass" name="AndGate" eSuperTypes="#//Gate"/> | ||
30 | <eClassifiers xsi:type="ecore:EClass" name="OrGate" eSuperTypes="#//Gate"/> | ||
31 | <eClassifiers xsi:type="ecore:EClass" name="KOfMGate" eSuperTypes="#//Gate"> | ||
32 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="k" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
33 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
34 | </eClassifiers> | ||
35 | </ecore:EPackage> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel new file mode 100644 index 00000000..b5f63c34 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel | |||
@@ -0,0 +1,37 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen" | ||
4 | modelPluginID="hu.bme.mit.inf.dslreasoner.faulttree.model" modelName="Ft" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>ft.ecore</foreignModel> | ||
8 | <genPackages prefix="Ft" basePackage="hu.bme.mit.inf.dslreasoner.faulttree.model" | ||
9 | disposableProviderFactory="true" ecorePackage="ft.ecore#/"> | ||
10 | <genClasses ecoreClass="ft.ecore#//FaultTree"> | ||
11 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ft.ecore#//FaultTree/events"/> | ||
12 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ft.ecore#//FaultTree/topEvent"/> | ||
13 | </genClasses> | ||
14 | <genClasses image="false" ecoreClass="ft.ecore#//Event"> | ||
15 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//Event/name"/> | ||
16 | </genClasses> | ||
17 | <genClasses ecoreClass="ft.ecore#//BasicEvent"> | ||
18 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ft.ecore#//BasicEvent/distribution"/> | ||
19 | </genClasses> | ||
20 | <genClasses image="false" ecoreClass="ft.ecore#//Gate"> | ||
21 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference ft.ecore#//Gate/inputEvents"/> | ||
22 | </genClasses> | ||
23 | <genClasses image="false" ecoreClass="ft.ecore#//Distribution"/> | ||
24 | <genClasses ecoreClass="ft.ecore#//ConstantDistribution"> | ||
25 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//ConstantDistribution/p"/> | ||
26 | </genClasses> | ||
27 | <genClasses ecoreClass="ft.ecore#//ExponentialDistribution"> | ||
28 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//ExponentialDistribution/lambda"/> | ||
29 | </genClasses> | ||
30 | <genClasses ecoreClass="ft.ecore#//AndGate"/> | ||
31 | <genClasses ecoreClass="ft.ecore#//OrGate"/> | ||
32 | <genClasses ecoreClass="ft.ecore#//KOfMGate"> | ||
33 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//KOfMGate/k"/> | ||
34 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//KOfMGate/m"/> | ||
35 | </genClasses> | ||
36 | </genPackages> | ||
37 | </genmodel:GenModel> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties new file mode 100644 index 00000000..2936b0e7 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties | |||
@@ -0,0 +1,4 @@ | |||
1 | # | ||
2 | |||
3 | pluginName = Model | ||
4 | providerName = www.example.org | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml new file mode 100644 index 00000000..754a53cb --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml | |||
@@ -0,0 +1,25 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <?eclipse version="3.0"?> | ||
3 | |||
4 | <!-- | ||
5 | --> | ||
6 | |||
7 | <plugin> | ||
8 | |||
9 | <extension point="org.eclipse.emf.ecore.generated_package"> | ||
10 | <!-- @generated ft --> | ||
11 | <package | ||
12 | uri="http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft" | ||
13 | class="hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage" | ||
14 | genModel="model/ft.genmodel"/> | ||
15 | </extension> | ||
16 | |||
17 | <extension point="org.eclipse.emf.ecore.generated_package"> | ||
18 | <!-- @generated cft --> | ||
19 | <package | ||
20 | uri="http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft" | ||
21 | class="hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage" | ||
22 | genModel="model/cft.genmodel"/> | ||
23 | </extension> | ||
24 | |||
25 | </plugin> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird new file mode 100644 index 00000000..083705fc --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird | |||
@@ -0,0 +1,1640 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style"> | ||
3 | <viewpoint:DAnalysis uid="_VHfYACoZEemQnOUhg0mU1A" selectedViews="_WH8IYCoZEemQnOUhg0mU1A" version="14.1.0.201810161215"> | ||
4 | <semanticResources>model/cft.ecore</semanticResources> | ||
5 | <semanticResources>model/ft.ecore</semanticResources> | ||
6 | <semanticResources>model/ft.genmodel</semanticResources> | ||
7 | <semanticResources>http://www.eclipse.org/emf/2002/Ecore</semanticResources> | ||
8 | <semanticResources>model/cft.genmodel</semanticResources> | ||
9 | <ownedViews xmi:type="viewpoint:DView" uid="_WH8IYCoZEemQnOUhg0mU1A"> | ||
10 | <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/> | ||
11 | <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_XdtogyoZEemQnOUhg0mU1A" name="cft class diagram" repPath="#_XdoI8CoZEemQnOUhg0mU1A"> | ||
12 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
13 | <target xmi:type="ecore:EPackage" href="model/cft.ecore#/"/> | ||
14 | </ownedRepresentationDescriptors> | ||
15 | <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_BnlJEyohEemQnOUhg0mU1A" name="ft class diagram" repPath="#_Bnj68CohEemQnOUhg0mU1A"> | ||
16 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
17 | <target xmi:type="ecore:EPackage" href="model/ft.ecore#/"/> | ||
18 | </ownedRepresentationDescriptors> | ||
19 | </ownedViews> | ||
20 | </viewpoint:DAnalysis> | ||
21 | <diagram:DSemanticDiagram uid="_XdoI8CoZEemQnOUhg0mU1A" name="cft class diagram"> | ||
22 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_XdtogCoZEemQnOUhg0mU1A" source="DANNOTATION_CUSTOMIZATION_KEY"> | ||
23 | <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_XdtogSoZEemQnOUhg0mU1A"> | ||
24 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
25 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
26 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_lIXL4SofEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
27 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
28 | </centerLabelStyleDescription> | ||
29 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_lIXL4iofEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
30 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
31 | </endLabelStyleDescription> | ||
32 | </computedStyleDescriptions> | ||
33 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_OkCM5iorEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
34 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
35 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_OkCM5yorEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
36 | <labelFormat>bold</labelFormat> | ||
37 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
38 | </centerLabelStyleDescription> | ||
39 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_OkCM6CorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
40 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
41 | </endLabelStyleDescription> | ||
42 | </computedStyleDescriptions> | ||
43 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan"> | ||
44 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
45 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_IXsxGSosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
46 | <labelFormat>bold</labelFormat> | ||
47 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
48 | </centerLabelStyleDescription> | ||
49 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_IXsxGiosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
50 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
51 | </endLabelStyleDescription> | ||
52 | </computedStyleDescriptions> | ||
53 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
54 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
55 | <beginLabelStyleDescription xmi:type="style:BeginLabelStyleDescription" xmi:id="_eyVLCCosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:renderEOpposite"> | ||
56 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
57 | </beginLabelStyleDescription> | ||
58 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_eyVLCSosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
59 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
60 | </endLabelStyleDescription> | ||
61 | </computedStyleDescriptions> | ||
62 | </data> | ||
63 | </ownedAnnotationEntries> | ||
64 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_XduPkCoZEemQnOUhg0mU1A" source="GMF_DIAGRAMS"> | ||
65 | <data xmi:type="notation:Diagram" xmi:id="_XduPkSoZEemQnOUhg0mU1A" type="Sirius" element="_XdoI8CoZEemQnOUhg0mU1A" measurementUnit="Pixel"> | ||
66 | <children xmi:type="notation:Node" xmi:id="_ZqDkQCoZEemQnOUhg0mU1A" type="2003" element="_Zp_54CoZEemQnOUhg0mU1A"> | ||
67 | <children xmi:type="notation:Node" xmi:id="_ZqDkQyoZEemQnOUhg0mU1A" type="5007"/> | ||
68 | <children xmi:type="notation:Node" xmi:id="_ZqELUCoZEemQnOUhg0mU1A" type="7004"> | ||
69 | <children xmi:type="notation:Node" xmi:id="__Erj8CofEemQnOUhg0mU1A" type="3010" element="__EiaACofEemQnOUhg0mU1A"> | ||
70 | <styles xmi:type="notation:FontStyle" xmi:id="__Erj8SofEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
71 | <layoutConstraint xmi:type="notation:Location" xmi:id="__Erj8iofEemQnOUhg0mU1A"/> | ||
72 | </children> | ||
73 | <styles xmi:type="notation:SortingStyle" xmi:id="_ZqELUSoZEemQnOUhg0mU1A"/> | ||
74 | <styles xmi:type="notation:FilteringStyle" xmi:id="_ZqELUioZEemQnOUhg0mU1A"/> | ||
75 | </children> | ||
76 | <styles xmi:type="notation:ShapeStyle" xmi:id="_ZqDkQSoZEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
77 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ZqDkQioZEemQnOUhg0mU1A" x="169" y="195" width="133" height="100"/> | ||
78 | </children> | ||
79 | <children xmi:type="notation:Node" xmi:id="_cTz0wCoZEemQnOUhg0mU1A" type="2003" element="_cTwxcCoZEemQnOUhg0mU1A"> | ||
80 | <children xmi:type="notation:Node" xmi:id="_cTz0wyoZEemQnOUhg0mU1A" type="5007"/> | ||
81 | <children xmi:type="notation:Node" xmi:id="_cTz0xCoZEemQnOUhg0mU1A" type="7004"> | ||
82 | <styles xmi:type="notation:SortingStyle" xmi:id="_cTz0xSoZEemQnOUhg0mU1A"/> | ||
83 | <styles xmi:type="notation:FilteringStyle" xmi:id="_cTz0xioZEemQnOUhg0mU1A"/> | ||
84 | </children> | ||
85 | <styles xmi:type="notation:ShapeStyle" xmi:id="_cTz0wSoZEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
86 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cTz0wioZEemQnOUhg0mU1A" x="273" y="520" width="120" height="100"/> | ||
87 | </children> | ||
88 | <children xmi:type="notation:Node" xmi:id="_C0IYkCodEemQnOUhg0mU1A" type="2003" element="_C0DgECodEemQnOUhg0mU1A"> | ||
89 | <children xmi:type="notation:Node" xmi:id="_C0I_oCodEemQnOUhg0mU1A" type="5007"/> | ||
90 | <children xmi:type="notation:Node" xmi:id="_C0I_oSodEemQnOUhg0mU1A" type="7004"> | ||
91 | <styles xmi:type="notation:SortingStyle" xmi:id="_C0I_oiodEemQnOUhg0mU1A"/> | ||
92 | <styles xmi:type="notation:FilteringStyle" xmi:id="_C0I_oyodEemQnOUhg0mU1A"/> | ||
93 | </children> | ||
94 | <styles xmi:type="notation:ShapeStyle" xmi:id="_C0IYkSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
95 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C0IYkiodEemQnOUhg0mU1A" x="377" y="676" width="120" height="100"/> | ||
96 | </children> | ||
97 | <children xmi:type="notation:Node" xmi:id="_D1vmkCodEemQnOUhg0mU1A" type="2003" element="_D1quECodEemQnOUhg0mU1A"> | ||
98 | <children xmi:type="notation:Node" xmi:id="_D1vmkyodEemQnOUhg0mU1A" type="5007"/> | ||
99 | <children xmi:type="notation:Node" xmi:id="_D1vmlCodEemQnOUhg0mU1A" type="7004"> | ||
100 | <styles xmi:type="notation:SortingStyle" xmi:id="_D1vmlSodEemQnOUhg0mU1A"/> | ||
101 | <styles xmi:type="notation:FilteringStyle" xmi:id="_D1vmliodEemQnOUhg0mU1A"/> | ||
102 | </children> | ||
103 | <styles xmi:type="notation:ShapeStyle" xmi:id="_D1vmkSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
104 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_D1vmkiodEemQnOUhg0mU1A" x="182" y="676" width="133" height="100"/> | ||
105 | </children> | ||
106 | <children xmi:type="notation:Node" xmi:id="_IejkxiodEemQnOUhg0mU1A" type="2003" element="_Iec3ECodEemQnOUhg0mU1A"> | ||
107 | <children xmi:type="notation:Node" xmi:id="_IekL0CodEemQnOUhg0mU1A" type="5007"/> | ||
108 | <children xmi:type="notation:Node" xmi:id="_IekL0SodEemQnOUhg0mU1A" type="7004"> | ||
109 | <children xmi:type="notation:Node" xmi:id="_0AgE0CofEemQnOUhg0mU1A" type="3010" element="_0AT3kCofEemQnOUhg0mU1A"> | ||
110 | <styles xmi:type="notation:FontStyle" xmi:id="_0AgE0SofEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
111 | <layoutConstraint xmi:type="notation:Location" xmi:id="_0AgE0iofEemQnOUhg0mU1A"/> | ||
112 | </children> | ||
113 | <styles xmi:type="notation:SortingStyle" xmi:id="_IekL0iodEemQnOUhg0mU1A"/> | ||
114 | <styles xmi:type="notation:FilteringStyle" xmi:id="_IekL0yodEemQnOUhg0mU1A"/> | ||
115 | </children> | ||
116 | <styles xmi:type="notation:ShapeStyle" xmi:id="_IejkxyodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
117 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IejkyCodEemQnOUhg0mU1A" x="59" y="520" width="120" height="100"/> | ||
118 | </children> | ||
119 | <children xmi:type="notation:Node" xmi:id="_QEEkoCodEemQnOUhg0mU1A" type="2003" element="_QD_FECodEemQnOUhg0mU1A"> | ||
120 | <children xmi:type="notation:Node" xmi:id="_QEFLsCodEemQnOUhg0mU1A" type="5007"/> | ||
121 | <children xmi:type="notation:Node" xmi:id="_QEFLsSodEemQnOUhg0mU1A" type="7004"> | ||
122 | <children xmi:type="notation:Node" xmi:id="_n86ZUCouEemQnOUhg0mU1A" type="3010" element="_n8pTkCouEemQnOUhg0mU1A"> | ||
123 | <styles xmi:type="notation:FontStyle" xmi:id="_n86ZUSouEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
124 | <layoutConstraint xmi:type="notation:Location" xmi:id="_n86ZUiouEemQnOUhg0mU1A"/> | ||
125 | </children> | ||
126 | <styles xmi:type="notation:SortingStyle" xmi:id="_QEFLsiodEemQnOUhg0mU1A"/> | ||
127 | <styles xmi:type="notation:FilteringStyle" xmi:id="_QEFLsyodEemQnOUhg0mU1A"/> | ||
128 | </children> | ||
129 | <styles xmi:type="notation:ShapeStyle" xmi:id="_QEEkoSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
130 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QEEkoiodEemQnOUhg0mU1A" x="176" y="364" width="120" height="100"/> | ||
131 | </children> | ||
132 | <children xmi:type="notation:Node" xmi:id="_CL1lUCokEemQnOUhg0mU1A" type="2003" element="_CLrNQCokEemQnOUhg0mU1A"> | ||
133 | <children xmi:type="notation:Node" xmi:id="_CL1lUyokEemQnOUhg0mU1A" type="5007"/> | ||
134 | <children xmi:type="notation:Node" xmi:id="_CL1lVCokEemQnOUhg0mU1A" type="7004"> | ||
135 | <styles xmi:type="notation:SortingStyle" xmi:id="_CL1lVSokEemQnOUhg0mU1A"/> | ||
136 | <styles xmi:type="notation:FilteringStyle" xmi:id="_CL1lViokEemQnOUhg0mU1A"/> | ||
137 | </children> | ||
138 | <styles xmi:type="notation:ShapeStyle" xmi:id="_CL1lUSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
139 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CL1lUiokEemQnOUhg0mU1A" x="221" y="845" width="120" height="100"/> | ||
140 | </children> | ||
141 | <children xmi:type="notation:Node" xmi:id="_DnK64CokEemQnOUhg0mU1A" type="2003" element="_DnAi0CokEemQnOUhg0mU1A"> | ||
142 | <children xmi:type="notation:Node" xmi:id="_DnLh8CokEemQnOUhg0mU1A" type="5007"/> | ||
143 | <children xmi:type="notation:Node" xmi:id="_DnLh8SokEemQnOUhg0mU1A" type="7004"> | ||
144 | <styles xmi:type="notation:SortingStyle" xmi:id="_DnLh8iokEemQnOUhg0mU1A"/> | ||
145 | <styles xmi:type="notation:FilteringStyle" xmi:id="_DnLh8yokEemQnOUhg0mU1A"/> | ||
146 | </children> | ||
147 | <styles xmi:type="notation:ShapeStyle" xmi:id="_DnK64SokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
148 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DnK64iokEemQnOUhg0mU1A" x="377" y="845" width="120" height="100"/> | ||
149 | </children> | ||
150 | <children xmi:type="notation:Node" xmi:id="_FjmyYCokEemQnOUhg0mU1A" type="2003" element="_FjbzQCokEemQnOUhg0mU1A"> | ||
151 | <children xmi:type="notation:Node" xmi:id="_FjmyYyokEemQnOUhg0mU1A" type="5007"/> | ||
152 | <children xmi:type="notation:Node" xmi:id="_FjmyZCokEemQnOUhg0mU1A" type="7004"> | ||
153 | <children xmi:type="notation:Node" xmi:id="_SuPjgCorEemQnOUhg0mU1A" type="3010" element="_St8BgCorEemQnOUhg0mU1A"> | ||
154 | <styles xmi:type="notation:FontStyle" xmi:id="_SuPjgSorEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
155 | <layoutConstraint xmi:type="notation:Location" xmi:id="_SuPjgiorEemQnOUhg0mU1A"/> | ||
156 | </children> | ||
157 | <children xmi:type="notation:Node" xmi:id="_TnXj4CorEemQnOUhg0mU1A" type="3010" element="_TnPBACorEemQnOUhg0mU1A"> | ||
158 | <styles xmi:type="notation:FontStyle" xmi:id="_TnXj4SorEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
159 | <layoutConstraint xmi:type="notation:Location" xmi:id="_TnXj4iorEemQnOUhg0mU1A"/> | ||
160 | </children> | ||
161 | <styles xmi:type="notation:SortingStyle" xmi:id="_FjmyZSokEemQnOUhg0mU1A"/> | ||
162 | <styles xmi:type="notation:FilteringStyle" xmi:id="_FjmyZiokEemQnOUhg0mU1A"/> | ||
163 | </children> | ||
164 | <styles xmi:type="notation:ShapeStyle" xmi:id="_FjmyYSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
165 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FjmyYiokEemQnOUhg0mU1A" x="533" y="845" width="133" height="100"/> | ||
166 | </children> | ||
167 | <children xmi:type="notation:Node" xmi:id="_UtkzcCoqEemQnOUhg0mU1A" type="2003" element="_Utes0CoqEemQnOUhg0mU1A"> | ||
168 | <children xmi:type="notation:Node" xmi:id="_UtkzcyoqEemQnOUhg0mU1A" type="5007"/> | ||
169 | <children xmi:type="notation:Node" xmi:id="_UtlagCoqEemQnOUhg0mU1A" type="7004"> | ||
170 | <styles xmi:type="notation:SortingStyle" xmi:id="_UtlagSoqEemQnOUhg0mU1A"/> | ||
171 | <styles xmi:type="notation:FilteringStyle" xmi:id="_UtlagioqEemQnOUhg0mU1A"/> | ||
172 | </children> | ||
173 | <styles xmi:type="notation:ShapeStyle" xmi:id="_UtkzcSoqEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8" italic="true"/> | ||
174 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UtkzcioqEemQnOUhg0mU1A" x="39" y="845"/> | ||
175 | </children> | ||
176 | <children xmi:type="notation:Node" xmi:id="_WnAk0CorEemQnOUhg0mU1A" type="2003" element="_Wm0XkCorEemQnOUhg0mU1A"> | ||
177 | <children xmi:type="notation:Node" xmi:id="_WnAk0yorEemQnOUhg0mU1A" type="5007"/> | ||
178 | <children xmi:type="notation:Node" xmi:id="_WnAk1CorEemQnOUhg0mU1A" type="7004"> | ||
179 | <styles xmi:type="notation:SortingStyle" xmi:id="_WnAk1SorEemQnOUhg0mU1A"/> | ||
180 | <styles xmi:type="notation:FilteringStyle" xmi:id="_WnAk1iorEemQnOUhg0mU1A"/> | ||
181 | </children> | ||
182 | <styles xmi:type="notation:ShapeStyle" xmi:id="_WnAk0SorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
183 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WnAk0iorEemQnOUhg0mU1A" x="845" y="26" width="146" height="100"/> | ||
184 | </children> | ||
185 | <children xmi:type="notation:Node" xmi:id="_bLbyQCorEemQnOUhg0mU1A" type="2003" element="_bLPlACorEemQnOUhg0mU1A"> | ||
186 | <children xmi:type="notation:Node" xmi:id="_bLbyQyorEemQnOUhg0mU1A" type="5007"/> | ||
187 | <children xmi:type="notation:Node" xmi:id="_bLbyRCorEemQnOUhg0mU1A" type="7004"> | ||
188 | <styles xmi:type="notation:SortingStyle" xmi:id="_bLbyRSorEemQnOUhg0mU1A"/> | ||
189 | <styles xmi:type="notation:FilteringStyle" xmi:id="_bLbyRiorEemQnOUhg0mU1A"/> | ||
190 | </children> | ||
191 | <styles xmi:type="notation:ShapeStyle" xmi:id="_bLbyQSorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
192 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bLbyQiorEemQnOUhg0mU1A" x="858" y="195" width="120" height="100"/> | ||
193 | </children> | ||
194 | <children xmi:type="notation:Node" xmi:id="_mUP5wCorEemQnOUhg0mU1A" type="2003" element="_mUETkCorEemQnOUhg0mU1A"> | ||
195 | <children xmi:type="notation:Node" xmi:id="_mUP5wyorEemQnOUhg0mU1A" type="5007"/> | ||
196 | <children xmi:type="notation:Node" xmi:id="_mUP5xCorEemQnOUhg0mU1A" type="7004"> | ||
197 | <styles xmi:type="notation:SortingStyle" xmi:id="_mUP5xSorEemQnOUhg0mU1A"/> | ||
198 | <styles xmi:type="notation:FilteringStyle" xmi:id="_mUP5xiorEemQnOUhg0mU1A"/> | ||
199 | </children> | ||
200 | <styles xmi:type="notation:ShapeStyle" xmi:id="_mUP5wSorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
201 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mUP5wiorEemQnOUhg0mU1A" x="767" y="455" width="120" height="100"/> | ||
202 | </children> | ||
203 | <children xmi:type="notation:Node" xmi:id="_nyhOkCorEemQnOUhg0mU1A" type="2003" element="_nyWPcCorEemQnOUhg0mU1A"> | ||
204 | <children xmi:type="notation:Node" xmi:id="_nyh1oiorEemQnOUhg0mU1A" type="5007"/> | ||
205 | <children xmi:type="notation:Node" xmi:id="_nyh1oyorEemQnOUhg0mU1A" type="7004"> | ||
206 | <styles xmi:type="notation:SortingStyle" xmi:id="_nyh1pCorEemQnOUhg0mU1A"/> | ||
207 | <styles xmi:type="notation:FilteringStyle" xmi:id="_nyh1pSorEemQnOUhg0mU1A"/> | ||
208 | </children> | ||
209 | <styles xmi:type="notation:ShapeStyle" xmi:id="_nyh1oCorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
210 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nyh1oSorEemQnOUhg0mU1A" x="949" y="364" width="120" height="100"/> | ||
211 | </children> | ||
212 | <children xmi:type="notation:Node" xmi:id="_Z4VWMCosEemQnOUhg0mU1A" type="2003" element="_Z4MMQCosEemQnOUhg0mU1A"> | ||
213 | <children xmi:type="notation:Node" xmi:id="_Z4VWMyosEemQnOUhg0mU1A" type="5007"/> | ||
214 | <children xmi:type="notation:Node" xmi:id="_Z4VWNCosEemQnOUhg0mU1A" type="7004"> | ||
215 | <styles xmi:type="notation:SortingStyle" xmi:id="_Z4VWNSosEemQnOUhg0mU1A"/> | ||
216 | <styles xmi:type="notation:FilteringStyle" xmi:id="_Z4VWNiosEemQnOUhg0mU1A"/> | ||
217 | </children> | ||
218 | <styles xmi:type="notation:ShapeStyle" xmi:id="_Z4VWMSosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
219 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Z4VWMiosEemQnOUhg0mU1A" x="767" y="617" width="120" height="100"/> | ||
220 | </children> | ||
221 | <styles xmi:type="notation:DiagramStyle" xmi:id="_XduPkioZEemQnOUhg0mU1A"/> | ||
222 | <edges xmi:type="notation:Edge" xmi:id="_F_1fkCodEemQnOUhg0mU1A" type="4001" element="_F_tjwCodEemQnOUhg0mU1A" source="_D1vmkCodEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A"> | ||
223 | <children xmi:type="notation:Node" xmi:id="_F_1flCodEemQnOUhg0mU1A" type="6001"> | ||
224 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1flSodEemQnOUhg0mU1A" y="-10"/> | ||
225 | </children> | ||
226 | <children xmi:type="notation:Node" xmi:id="_F_1fliodEemQnOUhg0mU1A" type="6002"> | ||
227 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1flyodEemQnOUhg0mU1A" y="10"/> | ||
228 | </children> | ||
229 | <children xmi:type="notation:Node" xmi:id="_F_1fmCodEemQnOUhg0mU1A" type="6003"> | ||
230 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1fmSodEemQnOUhg0mU1A" y="10"/> | ||
231 | </children> | ||
232 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_F_1fkSodEemQnOUhg0mU1A" routing="Tree"/> | ||
233 | <styles xmi:type="notation:FontStyle" xmi:id="_F_1fkiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
234 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_F_1fkyodEemQnOUhg0mU1A" points="[0, 0, -58, 58]$[58, -58, 0, 0]"/> | ||
235 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_F_1fmiodEemQnOUhg0mU1A" id="(0.45038167938931295,0.0)"/> | ||
236 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_F_1fmyodEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
237 | </edges> | ||
238 | <edges xmi:type="notation:Edge" xmi:id="_GWPNYCodEemQnOUhg0mU1A" type="4001" element="_GWJt1iodEemQnOUhg0mU1A" source="_C0IYkCodEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A"> | ||
239 | <children xmi:type="notation:Node" xmi:id="_GWPNZCodEemQnOUhg0mU1A" type="6001"> | ||
240 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNZSodEemQnOUhg0mU1A" y="-10"/> | ||
241 | </children> | ||
242 | <children xmi:type="notation:Node" xmi:id="_GWPNZiodEemQnOUhg0mU1A" type="6002"> | ||
243 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNZyodEemQnOUhg0mU1A" y="10"/> | ||
244 | </children> | ||
245 | <children xmi:type="notation:Node" xmi:id="_GWPNaCodEemQnOUhg0mU1A" type="6003"> | ||
246 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNaSodEemQnOUhg0mU1A" y="10"/> | ||
247 | </children> | ||
248 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_GWPNYSodEemQnOUhg0mU1A" routing="Tree"/> | ||
249 | <styles xmi:type="notation:FontStyle" xmi:id="_GWPNYiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
250 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GWPNYyodEemQnOUhg0mU1A" points="[0, 0, 78, 58]$[-78, -58, 0, 0]"/> | ||
251 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GWPNaiodEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/> | ||
252 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GWPNayodEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
253 | </edges> | ||
254 | <edges xmi:type="notation:Edge" xmi:id="_Wl22oCodEemQnOUhg0mU1A" type="4001" element="_Wlx-JiodEemQnOUhg0mU1A" source="_IejkxiodEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A"> | ||
255 | <children xmi:type="notation:Node" xmi:id="_Wl22pCodEemQnOUhg0mU1A" type="6001"> | ||
256 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22pSodEemQnOUhg0mU1A" y="-10"/> | ||
257 | </children> | ||
258 | <children xmi:type="notation:Node" xmi:id="_Wl22piodEemQnOUhg0mU1A" type="6002"> | ||
259 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22pyodEemQnOUhg0mU1A" y="10"/> | ||
260 | </children> | ||
261 | <children xmi:type="notation:Node" xmi:id="_Wl22qCodEemQnOUhg0mU1A" type="6003"> | ||
262 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22qSodEemQnOUhg0mU1A" y="10"/> | ||
263 | </children> | ||
264 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_Wl22oSodEemQnOUhg0mU1A" routing="Tree"/> | ||
265 | <styles xmi:type="notation:FontStyle" xmi:id="_Wl22oiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
266 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wl22oyodEemQnOUhg0mU1A" points="[0, 0, -155, 58]$[155, -58, 0, 0]"/> | ||
267 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wl3dsCodEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
268 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wl3dsSodEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
269 | </edges> | ||
270 | <edges xmi:type="notation:Edge" xmi:id="_W6ebwCodEemQnOUhg0mU1A" type="4001" element="_W6Y8NiodEemQnOUhg0mU1A" source="_cTz0wCoZEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A"> | ||
271 | <children xmi:type="notation:Node" xmi:id="_W6ebxCodEemQnOUhg0mU1A" type="6001"> | ||
272 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebxSodEemQnOUhg0mU1A" y="-10"/> | ||
273 | </children> | ||
274 | <children xmi:type="notation:Node" xmi:id="_W6ebxiodEemQnOUhg0mU1A" type="6002"> | ||
275 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebxyodEemQnOUhg0mU1A" y="10"/> | ||
276 | </children> | ||
277 | <children xmi:type="notation:Node" xmi:id="_W6ebyCodEemQnOUhg0mU1A" type="6003"> | ||
278 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebySodEemQnOUhg0mU1A" y="10"/> | ||
279 | </children> | ||
280 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_W6ebwSodEemQnOUhg0mU1A" routing="Tree"/> | ||
281 | <styles xmi:type="notation:FontStyle" xmi:id="_W6ebwiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
282 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W6ebwyodEemQnOUhg0mU1A" points="[0, 0, 117, 58]$[-117, -58, 0, 0]"/> | ||
283 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W6ebyiodEemQnOUhg0mU1A" id="(0.5508474576271186,0.0)"/> | ||
284 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W6ebyyodEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
285 | </edges> | ||
286 | <edges xmi:type="notation:Edge" xmi:id="_lIdSgCofEemQnOUhg0mU1A" type="4001" element="_lIWk0CofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_IejkxiodEemQnOUhg0mU1A"> | ||
287 | <children xmi:type="notation:Node" xmi:id="_lIdShCofEemQnOUhg0mU1A" type="6001"> | ||
288 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdShSofEemQnOUhg0mU1A" x="-49" y="-49"/> | ||
289 | </children> | ||
290 | <children xmi:type="notation:Node" xmi:id="_lIdShiofEemQnOUhg0mU1A" type="6002"> | ||
291 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdShyofEemQnOUhg0mU1A" x="96" y="-18"/> | ||
292 | </children> | ||
293 | <children xmi:type="notation:Node" xmi:id="_lIdSiCofEemQnOUhg0mU1A" type="6003"> | ||
294 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdSiSofEemQnOUhg0mU1A" y="10"/> | ||
295 | </children> | ||
296 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_lIdSgSofEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
297 | <styles xmi:type="notation:FontStyle" xmi:id="_lIdSgiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
298 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lIdSgyofEemQnOUhg0mU1A" points="[-40, 0, 65, -227]$[-40, 32, 65, -195]$[-144, 32, -39, -195]$[-144, 227, -39, 0]"/> | ||
299 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lIdSiiofEemQnOUhg0mU1A" id="(0.5038167938931297,1.0)"/> | ||
300 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lIdSiyofEemQnOUhg0mU1A" id="(0.6016949152542372,0.0)"/> | ||
301 | </edges> | ||
302 | <edges xmi:type="notation:Edge" xmi:id="_o7eRICofEemQnOUhg0mU1A" type="4001" element="_o7XjcCofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A"> | ||
303 | <children xmi:type="notation:Node" xmi:id="_o7eRJCofEemQnOUhg0mU1A" type="6001"> | ||
304 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRJSofEemQnOUhg0mU1A" x="-55" y="24"/> | ||
305 | </children> | ||
306 | <children xmi:type="notation:Node" xmi:id="_o7eRJiofEemQnOUhg0mU1A" type="6002"> | ||
307 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRJyofEemQnOUhg0mU1A" x="-26"/> | ||
308 | </children> | ||
309 | <children xmi:type="notation:Node" xmi:id="_o7eRKCofEemQnOUhg0mU1A" type="6003"> | ||
310 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRKSofEemQnOUhg0mU1A" x="3" y="10"/> | ||
311 | </children> | ||
312 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_o7eRISofEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
313 | <styles xmi:type="notation:FontStyle" xmi:id="_o7eRIiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
314 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_o7eRIyofEemQnOUhg0mU1A" points="[13, 0, -59, -227]$[13, 32, -59, -195]$[104, 32, 32, -195]$[104, 227, 32, 0]"/> | ||
315 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_o7e4MCofEemQnOUhg0mU1A" id="(0.6946564885496184,1.0)"/> | ||
316 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_o7e4MSofEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
317 | </edges> | ||
318 | <edges xmi:type="notation:Edge" xmi:id="_vO0egCofEemQnOUhg0mU1A" type="4001" element="_vOuX4CofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A"> | ||
319 | <children xmi:type="notation:Node" xmi:id="_vO1FkCofEemQnOUhg0mU1A" type="6001"> | ||
320 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FkSofEemQnOUhg0mU1A" x="16" y="-13"/> | ||
321 | </children> | ||
322 | <children xmi:type="notation:Node" xmi:id="_vO1FkiofEemQnOUhg0mU1A" type="6002"> | ||
323 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FkyofEemQnOUhg0mU1A" y="10"/> | ||
324 | </children> | ||
325 | <children xmi:type="notation:Node" xmi:id="_vO1FlCofEemQnOUhg0mU1A" type="6003"> | ||
326 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FlSofEemQnOUhg0mU1A" y="10"/> | ||
327 | </children> | ||
328 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_vO0egSofEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
329 | <styles xmi:type="notation:FontStyle" xmi:id="_vO0egiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
330 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_vO0egyofEemQnOUhg0mU1A" points="[0, 0, 0, -71]$[0, 71, 0, 0]"/> | ||
331 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vO1FliofEemQnOUhg0mU1A" id="(0.5038167938931297,1.0)"/> | ||
332 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vO1FlyofEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
333 | </edges> | ||
334 | <edges xmi:type="notation:Edge" xmi:id="_oV3NMCogEemQnOUhg0mU1A" type="4001" element="_6qFn9iofEemQnOUhg0mU1A" source="_C0IYkCodEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A"> | ||
335 | <children xmi:type="notation:Node" xmi:id="_oV30QCogEemQnOUhg0mU1A" type="6001"> | ||
336 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV30QSogEemQnOUhg0mU1A" x="56" y="-36"/> | ||
337 | </children> | ||
338 | <children xmi:type="notation:Node" xmi:id="_oV30QiogEemQnOUhg0mU1A" type="6002"> | ||
339 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV30QyogEemQnOUhg0mU1A" x="6" y="10"/> | ||
340 | </children> | ||
341 | <children xmi:type="notation:Node" xmi:id="_oV4bUCogEemQnOUhg0mU1A" type="6003"> | ||
342 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV4bUSogEemQnOUhg0mU1A" x="-7" y="10"/> | ||
343 | </children> | ||
344 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_oV3NMSogEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
345 | <styles xmi:type="notation:FontStyle" xmi:id="_oV3NMiogEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
346 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_oV3NMyogEemQnOUhg0mU1A" points="[1, -18, 189, 261]$[1, -252, 189, 27]$[-159, -252, 29, 27]"/> | ||
347 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_oV9T0CogEemQnOUhg0mU1A" id="(0.65,0.19)"/> | ||
348 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_oV9T0SogEemQnOUhg0mU1A" id="(0.7583333333333333,0.53)"/> | ||
349 | </edges> | ||
350 | <edges xmi:type="notation:Edge" xmi:id="_HmYicCokEemQnOUhg0mU1A" type="4001" element="_HmJR-CokEemQnOUhg0mU1A" source="_CL1lUCokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A"> | ||
351 | <children xmi:type="notation:Node" xmi:id="_HmYidCokEemQnOUhg0mU1A" type="6001"> | ||
352 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmYidSokEemQnOUhg0mU1A" y="-10"/> | ||
353 | </children> | ||
354 | <children xmi:type="notation:Node" xmi:id="_HmYidiokEemQnOUhg0mU1A" type="6002"> | ||
355 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmYidyokEemQnOUhg0mU1A" y="10"/> | ||
356 | </children> | ||
357 | <children xmi:type="notation:Node" xmi:id="_HmZJgCokEemQnOUhg0mU1A" type="6003"> | ||
358 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmZJgSokEemQnOUhg0mU1A" y="10"/> | ||
359 | </children> | ||
360 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_HmYicSokEemQnOUhg0mU1A" routing="Tree"/> | ||
361 | <styles xmi:type="notation:FontStyle" xmi:id="_HmYiciokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
362 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_HmYicyokEemQnOUhg0mU1A" points="[0, 0, -156, 71]$[156, -71, 0, 0]"/> | ||
363 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HmZJgiokEemQnOUhg0mU1A" id="(0.6610169491525424,0.0)"/> | ||
364 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HmZJgyokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
365 | </edges> | ||
366 | <edges xmi:type="notation:Edge" xmi:id="_H9jFQCokEemQnOUhg0mU1A" type="4001" element="_H9bJfCokEemQnOUhg0mU1A" source="_DnK64CokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A"> | ||
367 | <children xmi:type="notation:Node" xmi:id="_H9jsUCokEemQnOUhg0mU1A" type="6001"> | ||
368 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9jsUSokEemQnOUhg0mU1A" y="-10"/> | ||
369 | </children> | ||
370 | <children xmi:type="notation:Node" xmi:id="_H9jsUiokEemQnOUhg0mU1A" type="6002"> | ||
371 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9jsUyokEemQnOUhg0mU1A" y="10"/> | ||
372 | </children> | ||
373 | <children xmi:type="notation:Node" xmi:id="_H9kTYCokEemQnOUhg0mU1A" type="6003"> | ||
374 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9kTYSokEemQnOUhg0mU1A" y="10"/> | ||
375 | </children> | ||
376 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_H9jFQSokEemQnOUhg0mU1A" routing="Tree"/> | ||
377 | <styles xmi:type="notation:FontStyle" xmi:id="_H9jFQiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
378 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_H9jFQyokEemQnOUhg0mU1A" points="[0, 0, 0, 71]$[0, -71, 0, 0]"/> | ||
379 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H9kTYiokEemQnOUhg0mU1A" id="(0.36666666666666664,0.07)"/> | ||
380 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H9kTYyokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
381 | </edges> | ||
382 | <edges xmi:type="notation:Edge" xmi:id="_Ic23cCokEemQnOUhg0mU1A" type="4001" element="_IctGjiokEemQnOUhg0mU1A" source="_FjmyYCokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A"> | ||
383 | <children xmi:type="notation:Node" xmi:id="_Ic3egCokEemQnOUhg0mU1A" type="6001"> | ||
384 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3egSokEemQnOUhg0mU1A" y="-10"/> | ||
385 | </children> | ||
386 | <children xmi:type="notation:Node" xmi:id="_Ic3egiokEemQnOUhg0mU1A" type="6002"> | ||
387 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3egyokEemQnOUhg0mU1A" y="10"/> | ||
388 | </children> | ||
389 | <children xmi:type="notation:Node" xmi:id="_Ic3ehCokEemQnOUhg0mU1A" type="6003"> | ||
390 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3ehSokEemQnOUhg0mU1A" y="10"/> | ||
391 | </children> | ||
392 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ic23cSokEemQnOUhg0mU1A" routing="Tree"/> | ||
393 | <styles xmi:type="notation:FontStyle" xmi:id="_Ic23ciokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
394 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ic23cyokEemQnOUhg0mU1A" points="[0, 0, 129, 143]$[-129, -143, 0, 0]"/> | ||
395 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ic3ehiokEemQnOUhg0mU1A" id="(0.6946564885496184,0.0)"/> | ||
396 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ic3ehyokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
397 | </edges> | ||
398 | <edges xmi:type="notation:Edge" xmi:id="_N72LgCorEemQnOUhg0mU1A" type="4001" element="_N7tBliorEemQnOUhg0mU1A" source="_D1vmkCodEemQnOUhg0mU1A" target="_UtkzcCoqEemQnOUhg0mU1A"> | ||
399 | <children xmi:type="notation:Node" xmi:id="_N72LhCorEemQnOUhg0mU1A" type="6001"> | ||
400 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LhSorEemQnOUhg0mU1A" y="-10"/> | ||
401 | </children> | ||
402 | <children xmi:type="notation:Node" xmi:id="_N72LhiorEemQnOUhg0mU1A" type="6002"> | ||
403 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LhyorEemQnOUhg0mU1A" y="10"/> | ||
404 | </children> | ||
405 | <children xmi:type="notation:Node" xmi:id="_N72LiCorEemQnOUhg0mU1A" type="6003"> | ||
406 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LiSorEemQnOUhg0mU1A" y="10"/> | ||
407 | </children> | ||
408 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_N72LgSorEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
409 | <styles xmi:type="notation:FontStyle" xmi:id="_N72LgiorEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
410 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_N72LgyorEemQnOUhg0mU1A" points="[0, 0, 124, -71]$[0, 35, 124, -36]$[-124, 35, 0, -36]$[-124, 71, 0, 0]"/> | ||
411 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N72LiiorEemQnOUhg0mU1A" id="(0.3053435114503817,1.0)"/> | ||
412 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N72LiyorEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
413 | </edges> | ||
414 | <edges xmi:type="notation:Edge" xmi:id="_dgch0CorEemQnOUhg0mU1A" type="4001" element="_dgSJ2CorEemQnOUhg0mU1A" source="_WnAk0CorEemQnOUhg0mU1A" target="_bLbyQCorEemQnOUhg0mU1A"> | ||
415 | <children xmi:type="notation:Node" xmi:id="_dgch1CorEemQnOUhg0mU1A" type="6001"> | ||
416 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch1SorEemQnOUhg0mU1A" x="3" y="49"/> | ||
417 | </children> | ||
418 | <children xmi:type="notation:Node" xmi:id="_dgch1iorEemQnOUhg0mU1A" type="6002"> | ||
419 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch1yorEemQnOUhg0mU1A" x="-11" y="10"/> | ||
420 | </children> | ||
421 | <children xmi:type="notation:Node" xmi:id="_dgch2CorEemQnOUhg0mU1A" type="6003"> | ||
422 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch2SorEemQnOUhg0mU1A" x="-30" y="10"/> | ||
423 | </children> | ||
424 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_dgch0SorEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
425 | <styles xmi:type="notation:FontStyle" xmi:id="_dgch0iorEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
426 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dgch0yorEemQnOUhg0mU1A" points="[39, 0, 39, -71]$[39, 71, 39, 0]"/> | ||
427 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dgdI4CorEemQnOUhg0mU1A" id="(0.2708333333333333,1.0)"/> | ||
428 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dgdI4SorEemQnOUhg0mU1A" id="(0.22033898305084745,0.0)"/> | ||
429 | </edges> | ||
430 | <edges xmi:type="notation:Edge" xmi:id="_Ek3YkCosEemQnOUhg0mU1A" type="4001" element="_EktnnCosEemQnOUhg0mU1A" source="_WnAk0CorEemQnOUhg0mU1A" target="_nyhOkCorEemQnOUhg0mU1A"> | ||
431 | <children xmi:type="notation:Node" xmi:id="_Ek3YlCosEemQnOUhg0mU1A" type="6001"> | ||
432 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YlSosEemQnOUhg0mU1A" x="-42" y="18"/> | ||
433 | </children> | ||
434 | <children xmi:type="notation:Node" xmi:id="_Ek3YliosEemQnOUhg0mU1A" type="6002"> | ||
435 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YlyosEemQnOUhg0mU1A" x="20" y="-69"/> | ||
436 | </children> | ||
437 | <children xmi:type="notation:Node" xmi:id="_Ek3YmCosEemQnOUhg0mU1A" type="6003"> | ||
438 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YmSosEemQnOUhg0mU1A" x="-6" y="10"/> | ||
439 | </children> | ||
440 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ek3YkSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
441 | <styles xmi:type="notation:FontStyle" xmi:id="_Ek3YkiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
442 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ek3YkyosEemQnOUhg0mU1A" points="[-27, 59, -91, -240]$[-27, 117, -91, -182]$[51, 117, -13, -182]$[51, 299, -13, 0]"/> | ||
443 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ek3YmiosEemQnOUhg0mU1A" id="(1.0,0.3979591836734694)"/> | ||
444 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ek3YmyosEemQnOUhg0mU1A" id="(0.8813559322033898,0.0)"/> | ||
445 | </edges> | ||
446 | <edges xmi:type="notation:Edge" xmi:id="_Ky7dUCosEemQnOUhg0mU1A" type="4001" element="_KyxFRiosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_ZqDkQCoZEemQnOUhg0mU1A"> | ||
447 | <children xmi:type="notation:Node" xmi:id="_Ky8EYCosEemQnOUhg0mU1A" type="6001"> | ||
448 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EYSosEemQnOUhg0mU1A" x="-2" y="15"/> | ||
449 | </children> | ||
450 | <children xmi:type="notation:Node" xmi:id="_Ky8EYiosEemQnOUhg0mU1A" type="6002"> | ||
451 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EYyosEemQnOUhg0mU1A" y="10"/> | ||
452 | </children> | ||
453 | <children xmi:type="notation:Node" xmi:id="_Ky8EZCosEemQnOUhg0mU1A" type="6003"> | ||
454 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EZSosEemQnOUhg0mU1A" y="10"/> | ||
455 | </children> | ||
456 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ky7dUSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
457 | <styles xmi:type="notation:FontStyle" xmi:id="_Ky7dUiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
458 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ky7dUyosEemQnOUhg0mU1A" points="[0, 0, 558, 0]$[-558, 0, 0, 0]"/> | ||
459 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ky8EZiosEemQnOUhg0mU1A" id="(0.0,0.4897959183673469)"/> | ||
460 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ky8EZyosEemQnOUhg0mU1A" id="(1.0,0.4897959183673469)"/> | ||
461 | </edges> | ||
462 | <edges xmi:type="notation:Edge" xmi:id="_QheUgCosEemQnOUhg0mU1A" type="4001" element="_QhSuYiosEemQnOUhg0mU1A" source="_nyhOkCorEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A"> | ||
463 | <children xmi:type="notation:Node" xmi:id="_QheUhCosEemQnOUhg0mU1A" type="6001"> | ||
464 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUhSosEemQnOUhg0mU1A" y="10"/> | ||
465 | </children> | ||
466 | <children xmi:type="notation:Node" xmi:id="_QheUhiosEemQnOUhg0mU1A" type="6002"> | ||
467 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUhyosEemQnOUhg0mU1A" x="2" y="10"/> | ||
468 | </children> | ||
469 | <children xmi:type="notation:Node" xmi:id="_QheUiCosEemQnOUhg0mU1A" type="6003"> | ||
470 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUiSosEemQnOUhg0mU1A" x="-2" y="10"/> | ||
471 | </children> | ||
472 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_QheUgSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
473 | <styles xmi:type="notation:FontStyle" xmi:id="_QheUgiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
474 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QheUgyosEemQnOUhg0mU1A" points="[0, 13, 655, 26]$[-655, 13, 0, 26]"/> | ||
475 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QheUiiosEemQnOUhg0mU1A" id="(0.0,0.2653061224489796)"/> | ||
476 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QheUiyosEemQnOUhg0mU1A" id="(1.0,0.1326530612244898)"/> | ||
477 | </edges> | ||
478 | <edges xmi:type="notation:Edge" xmi:id="_UXEGACosEemQnOUhg0mU1A" type="4001" element="_UW5t9iosEemQnOUhg0mU1A" source="_mUP5wCorEemQnOUhg0mU1A" target="_IejkxiodEemQnOUhg0mU1A"> | ||
479 | <children xmi:type="notation:Node" xmi:id="_UXEGBCosEemQnOUhg0mU1A" type="6001"> | ||
480 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGBSosEemQnOUhg0mU1A" x="-117" y="6"/> | ||
481 | </children> | ||
482 | <children xmi:type="notation:Node" xmi:id="_UXEGBiosEemQnOUhg0mU1A" type="6002"> | ||
483 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGByosEemQnOUhg0mU1A" x="6" y="-10"/> | ||
484 | </children> | ||
485 | <children xmi:type="notation:Node" xmi:id="_UXEGCCosEemQnOUhg0mU1A" type="6003"> | ||
486 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGCSosEemQnOUhg0mU1A" x="-65" y="10"/> | ||
487 | </children> | ||
488 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_UXEGASosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
489 | <styles xmi:type="notation:FontStyle" xmi:id="_UXEGAiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
490 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UXEGAyosEemQnOUhg0mU1A" points="[0, -26, 613, -26]$[-614, -26, -1, -26]$[-614, 0, -1, 0]"/> | ||
491 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UXEtECosEemQnOUhg0mU1A" id="(0.0,0.6632653061224489)"/> | ||
492 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UXEtESosEemQnOUhg0mU1A" id="(0.8083333333333333,0.0)"/> | ||
493 | </edges> | ||
494 | <edges xmi:type="notation:Edge" xmi:id="_eylpsCosEemQnOUhg0mU1A" type="4001" element="_eyVLBiosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_mUP5wCorEemQnOUhg0mU1A"> | ||
495 | <children xmi:type="notation:Node" xmi:id="_eylptCosEemQnOUhg0mU1A" type="6001"> | ||
496 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eylptSosEemQnOUhg0mU1A" x="-37" y="35"/> | ||
497 | </children> | ||
498 | <children xmi:type="notation:Node" xmi:id="_eymQwCosEemQnOUhg0mU1A" type="6002"> | ||
499 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eymQwSosEemQnOUhg0mU1A" x="-7" y="51"/> | ||
500 | </children> | ||
501 | <children xmi:type="notation:Node" xmi:id="_eymQwiosEemQnOUhg0mU1A" type="6003"> | ||
502 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eymQwyosEemQnOUhg0mU1A" x="15" y="37"/> | ||
503 | </children> | ||
504 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_eylpsSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
505 | <styles xmi:type="notation:FontStyle" xmi:id="_eylpsiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
506 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_eylpsyosEemQnOUhg0mU1A" points="[-33, 49, 4, -236]$[-33, 133, 4, -152]$[-92, 133, -55, -152]$[-92, 211, -55, -74]"/> | ||
507 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_eymQxCosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
508 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_eymQxSosEemQnOUhg0mU1A" id="(0.9583333333333334,0.76)"/> | ||
509 | </edges> | ||
510 | <edges xmi:type="notation:Edge" xmi:id="_uHKnACosEemQnOUhg0mU1A" type="4001" element="_uHA2EiosEemQnOUhg0mU1A" source="_mUP5wCorEemQnOUhg0mU1A" target="_Z4VWMCosEemQnOUhg0mU1A"> | ||
511 | <children xmi:type="notation:Node" xmi:id="_uHKnBCosEemQnOUhg0mU1A" type="6001"> | ||
512 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHKnBSosEemQnOUhg0mU1A" x="-3" y="-10"/> | ||
513 | </children> | ||
514 | <children xmi:type="notation:Node" xmi:id="_uHLOECosEemQnOUhg0mU1A" type="6002"> | ||
515 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHLOESosEemQnOUhg0mU1A" x="5" y="-33"/> | ||
516 | </children> | ||
517 | <children xmi:type="notation:Node" xmi:id="_uHLOEiosEemQnOUhg0mU1A" type="6003"> | ||
518 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHLOEyosEemQnOUhg0mU1A" x="-15" y="74"/> | ||
519 | </children> | ||
520 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_uHKnASosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
521 | <styles xmi:type="notation:FontStyle" xmi:id="_uHKnAiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
522 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uHKnAyosEemQnOUhg0mU1A" points="[0, 49, 0, -113]$[0, 113, 0, -49]"/> | ||
523 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uHLOFCosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
524 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uHLOFSosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
525 | </edges> | ||
526 | <edges xmi:type="notation:Edge" xmi:id="_ykSSkCosEemQnOUhg0mU1A" type="4001" element="_ykJIrCosEemQnOUhg0mU1A" source="_nyhOkCorEemQnOUhg0mU1A" target="_Z4VWMCosEemQnOUhg0mU1A"> | ||
527 | <children xmi:type="notation:Node" xmi:id="_ykSSlCosEemQnOUhg0mU1A" type="6001"> | ||
528 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSlSosEemQnOUhg0mU1A" x="-89" y="-10"/> | ||
529 | </children> | ||
530 | <children xmi:type="notation:Node" xmi:id="_ykSSliosEemQnOUhg0mU1A" type="6002"> | ||
531 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSlyosEemQnOUhg0mU1A" x="-36" y="-36"/> | ||
532 | </children> | ||
533 | <children xmi:type="notation:Node" xmi:id="_ykSSmCosEemQnOUhg0mU1A" type="6003"> | ||
534 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSmSosEemQnOUhg0mU1A" x="-26" y="-10"/> | ||
535 | </children> | ||
536 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_ykSSkSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
537 | <styles xmi:type="notation:FontStyle" xmi:id="_ykSSkiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
538 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ykSSkyosEemQnOUhg0mU1A" points="[-1, 49, 181, -204]$[-1, 253, 181, 0]$[-123, 253, 59, 0]"/> | ||
539 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykSSmiosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
540 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykSSmyosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
541 | </edges> | ||
542 | <edges xmi:type="notation:Edge" xmi:id="_6ZWxYCosEemQnOUhg0mU1A" type="4001" element="_6ZNAkCosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_nyhOkCorEemQnOUhg0mU1A"> | ||
543 | <children xmi:type="notation:Node" xmi:id="_6ZXYcCosEemQnOUhg0mU1A" type="6001"> | ||
544 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYcSosEemQnOUhg0mU1A" y="-10"/> | ||
545 | </children> | ||
546 | <children xmi:type="notation:Node" xmi:id="_6ZXYciosEemQnOUhg0mU1A" type="6002"> | ||
547 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYcyosEemQnOUhg0mU1A" x="15" y="-1"/> | ||
548 | </children> | ||
549 | <children xmi:type="notation:Node" xmi:id="_6ZXYdCosEemQnOUhg0mU1A" type="6003"> | ||
550 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYdSosEemQnOUhg0mU1A" x="-8" y="5"/> | ||
551 | </children> | ||
552 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_6ZWxYSosEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
553 | <styles xmi:type="notation:FontStyle" xmi:id="_6ZWxYiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
554 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6ZWxYyosEemQnOUhg0mU1A" points="[26, 0, -65, -169]$[45, 0, -46, -169]$[45, 169, -46, 0]$[64, 169, -27, 0]"/> | ||
555 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6ZXYdiosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
556 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6ZXYdyosEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
557 | </edges> | ||
558 | </data> | ||
559 | </ownedAnnotationEntries> | ||
560 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Zp_54CoZEemQnOUhg0mU1A" name="ComponentDefinition" tooltipText="" outgoingEdges="_lIWk0CofEemQnOUhg0mU1A _o7XjcCofEemQnOUhg0mU1A _vOuX4CofEemQnOUhg0mU1A" incomingEdges="_KyxFRiosEemQnOUhg0mU1A" width="12" height="10"> | ||
561 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentDefinition"/> | ||
562 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentDefinition"/> | ||
563 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
564 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
565 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
566 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="__cBF4SofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
567 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
568 | </ownedStyle> | ||
569 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
570 | <ownedElements xmi:type="diagram:DNodeListElement" uid="__EiaACofEemQnOUhg0mU1A" name="name : EString" tooltipText=""> | ||
571 | <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//ComponentDefinition/name"/> | ||
572 | <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//ComponentDefinition/name"/> | ||
573 | <ownedStyle xmi:type="diagram:BundledImage" uid="__cCUBSofEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
574 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
575 | </ownedStyle> | ||
576 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
577 | </ownedElements> | ||
578 | </ownedDiagramElements> | ||
579 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_cTwxcCoZEemQnOUhg0mU1A" name="EventDefinition" tooltipText="" outgoingEdges="_W6Y8NiodEemQnOUhg0mU1A" incomingEdges="_F_tjwCodEemQnOUhg0mU1A _GWJt1iodEemQnOUhg0mU1A _o7XjcCofEemQnOUhg0mU1A" width="12" height="10"> | ||
580 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/> | ||
581 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/> | ||
582 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
583 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
584 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
585 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_FkfAUSodEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
586 | <labelFormat>italic</labelFormat> | ||
587 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
588 | </ownedStyle> | ||
589 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
590 | </ownedDiagramElements> | ||
591 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C0DgECodEemQnOUhg0mU1A" name="GateDefinition" tooltipText="" outgoingEdges="_GWJt1iodEemQnOUhg0mU1A _6qFn9iofEemQnOUhg0mU1A" incomingEdges="_HmJR-CokEemQnOUhg0mU1A _H9bJfCokEemQnOUhg0mU1A _IctGjiokEemQnOUhg0mU1A" width="12" height="10"> | ||
592 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/> | ||
593 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/> | ||
594 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
595 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
596 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
597 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_JJ48lSokEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
598 | <labelFormat>italic</labelFormat> | ||
599 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
600 | </ownedStyle> | ||
601 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
602 | </ownedDiagramElements> | ||
603 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_D1quECodEemQnOUhg0mU1A" name="BasicEventDefinition" tooltipText="" outgoingEdges="_F_tjwCodEemQnOUhg0mU1A _N7tBliorEemQnOUhg0mU1A" width="12" height="10"> | ||
604 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/> | ||
605 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/> | ||
606 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
607 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
608 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
609 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_2kmZRCofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
610 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
611 | </ownedStyle> | ||
612 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
613 | </ownedDiagramElements> | ||
614 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_F_tjwCodEemQnOUhg0mU1A" sourceNode="_D1quECodEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A"> | ||
615 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/> | ||
616 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/> | ||
617 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_2krRxiofEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
618 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
619 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_2krRxyofEemQnOUhg0mU1A" showIcon="false"> | ||
620 | <labelFormat>italic</labelFormat> | ||
621 | </beginLabelStyle> | ||
622 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_2krRyCofEemQnOUhg0mU1A" showIcon="false"/> | ||
623 | </ownedStyle> | ||
624 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
625 | </ownedDiagramElements> | ||
626 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_GWJt1iodEemQnOUhg0mU1A" sourceNode="_C0DgECodEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A"> | ||
627 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/> | ||
628 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/> | ||
629 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_GWKU4CodEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
630 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
631 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_GWKU4SodEemQnOUhg0mU1A" showIcon="false"> | ||
632 | <labelFormat>italic</labelFormat> | ||
633 | </beginLabelStyle> | ||
634 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_GWKU4iodEemQnOUhg0mU1A" showIcon="false"/> | ||
635 | </ownedStyle> | ||
636 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
637 | </ownedDiagramElements> | ||
638 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Iec3ECodEemQnOUhg0mU1A" name="IntputEvent" tooltipText="" outgoingEdges="_Wlx-JiodEemQnOUhg0mU1A" incomingEdges="_lIWk0CofEemQnOUhg0mU1A _UW5t9iosEemQnOUhg0mU1A" width="12" height="10"> | ||
639 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//IntputEvent"/> | ||
640 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//IntputEvent"/> | ||
641 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
642 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
643 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
644 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_0uB5MyofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
645 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
646 | </ownedStyle> | ||
647 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
648 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_0AT3kCofEemQnOUhg0mU1A" name="multiple : EBoolean = false" tooltipText=""> | ||
649 | <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//IntputEvent/multiple"/> | ||
650 | <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//IntputEvent/multiple"/> | ||
651 | <ownedStyle xmi:type="diagram:BundledImage" uid="_0uDHUSofEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
652 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
653 | </ownedStyle> | ||
654 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
655 | </ownedElements> | ||
656 | </ownedDiagramElements> | ||
657 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_QD_FECodEemQnOUhg0mU1A" name="EventDeclaration" tooltipText="" incomingEdges="_Wlx-JiodEemQnOUhg0mU1A _W6Y8NiodEemQnOUhg0mU1A _vOuX4CofEemQnOUhg0mU1A _6qFn9iofEemQnOUhg0mU1A _QhSuYiosEemQnOUhg0mU1A" width="12" height="10"> | ||
658 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDeclaration"/> | ||
659 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDeclaration"/> | ||
660 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
661 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
662 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
663 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_oZBtmSouEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
664 | <labelFormat>italic</labelFormat> | ||
665 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
666 | </ownedStyle> | ||
667 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
668 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_n8pTkCouEemQnOUhg0mU1A" name="name : EString" tooltipText=""> | ||
669 | <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//EventDeclaration/name"/> | ||
670 | <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//EventDeclaration/name"/> | ||
671 | <ownedStyle xmi:type="diagram:BundledImage" uid="_oZCUoiouEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
672 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
673 | </ownedStyle> | ||
674 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
675 | </ownedElements> | ||
676 | </ownedDiagramElements> | ||
677 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Wlx-JiodEemQnOUhg0mU1A" sourceNode="_Iec3ECodEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A"> | ||
678 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//IntputEvent"/> | ||
679 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//IntputEvent"/> | ||
680 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_0uFjnCofEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
681 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
682 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_0uFjnSofEemQnOUhg0mU1A" showIcon="false"> | ||
683 | <labelFormat>italic</labelFormat> | ||
684 | </beginLabelStyle> | ||
685 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_0uFjniofEemQnOUhg0mU1A" showIcon="false"/> | ||
686 | </ownedStyle> | ||
687 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
688 | </ownedDiagramElements> | ||
689 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_W6Y8NiodEemQnOUhg0mU1A" sourceNode="_cTwxcCoZEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A"> | ||
690 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/> | ||
691 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/> | ||
692 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_W6Y8NyodEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
693 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
694 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_W6Y8OCodEemQnOUhg0mU1A" showIcon="false"> | ||
695 | <labelFormat>italic</labelFormat> | ||
696 | </beginLabelStyle> | ||
697 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_W6Y8OSodEemQnOUhg0mU1A" showIcon="false"/> | ||
698 | </ownedStyle> | ||
699 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
700 | </ownedDiagramElements> | ||
701 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_lIWk0CofEemQnOUhg0mU1A" name="[0..*] inputEvents" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_Iec3ECodEemQnOUhg0mU1A"> | ||
702 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/inputEvents"/> | ||
703 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/inputEvents"/> | ||
704 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_lIXL4yofEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
705 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_lIXL5SofEemQnOUhg0mU1A" showIcon="false"> | ||
706 | <customFeatures>labelSize</customFeatures> | ||
707 | </centerLabelStyle> | ||
708 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_lIXL5CofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
709 | <customFeatures>labelSize</customFeatures> | ||
710 | </endLabelStyle> | ||
711 | </ownedStyle> | ||
712 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
713 | </ownedDiagramElements> | ||
714 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_o7XjcCofEemQnOUhg0mU1A" name="[0..*] eventDefinitions" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A"> | ||
715 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/eventDefinitions"/> | ||
716 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/eventDefinitions"/> | ||
717 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_o7YKgCofEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
718 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_o7YKgiofEemQnOUhg0mU1A" showIcon="false"> | ||
719 | <customFeatures>labelSize</customFeatures> | ||
720 | </centerLabelStyle> | ||
721 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_o7YKgSofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
722 | <customFeatures>labelSize</customFeatures> | ||
723 | </endLabelStyle> | ||
724 | </ownedStyle> | ||
725 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
726 | </ownedDiagramElements> | ||
727 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_vOuX4CofEemQnOUhg0mU1A" name="[0..*] outputEvents" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A"> | ||
728 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/outputEvents"/> | ||
729 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/outputEvents"/> | ||
730 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_vOuX4SofEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
731 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']/@style"/> | ||
732 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_vOuX4yofEemQnOUhg0mU1A" showIcon="false"> | ||
733 | <customFeatures>labelSize</customFeatures> | ||
734 | </centerLabelStyle> | ||
735 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_vOuX4iofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
736 | <customFeatures>labelSize</customFeatures> | ||
737 | </endLabelStyle> | ||
738 | </ownedStyle> | ||
739 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
740 | </ownedDiagramElements> | ||
741 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_6qFn9iofEemQnOUhg0mU1A" name="[0..*] inputEvents" sourceNode="_C0DgECodEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A"> | ||
742 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//GateDefinition/inputEvents"/> | ||
743 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//GateDefinition/inputEvents"/> | ||
744 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_QqzsMiorEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
745 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']/@style"/> | ||
746 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_QqzsNCorEemQnOUhg0mU1A" showIcon="false"/> | ||
747 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_QqzsMyorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
748 | </ownedStyle> | ||
749 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
750 | </ownedDiagramElements> | ||
751 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_CLrNQCokEemQnOUhg0mU1A" name="AndGateDefinition" tooltipText="" outgoingEdges="_HmJR-CokEemQnOUhg0mU1A" width="12" height="10"> | ||
752 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/> | ||
753 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/> | ||
754 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
755 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
756 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
757 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_CLr0UCokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
758 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
759 | </ownedStyle> | ||
760 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
761 | </ownedDiagramElements> | ||
762 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_DnAi0CokEemQnOUhg0mU1A" name="OrGateDefinition" tooltipText="" outgoingEdges="_H9bJfCokEemQnOUhg0mU1A" width="12" height="10"> | ||
763 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/> | ||
764 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/> | ||
765 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
766 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
767 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
768 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_DnAi0SokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
769 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
770 | </ownedStyle> | ||
771 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
772 | </ownedDiagramElements> | ||
773 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_FjbzQCokEemQnOUhg0mU1A" name="KOfMGateDefinition" tooltipText="" outgoingEdges="_IctGjiokEemQnOUhg0mU1A" width="12" height="10"> | ||
774 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/> | ||
775 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/> | ||
776 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
777 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
778 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
779 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_T8ZYwSorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
780 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
781 | </ownedStyle> | ||
782 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
783 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_St8BgCorEemQnOUhg0mU1A" name="k : EInt" tooltipText=""> | ||
784 | <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/k"/> | ||
785 | <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/k"/> | ||
786 | <ownedStyle xmi:type="diagram:BundledImage" uid="_TFT_tSorEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
787 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
788 | </ownedStyle> | ||
789 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
790 | </ownedElements> | ||
791 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_TnPBACorEemQnOUhg0mU1A" name="m : EInt" tooltipText=""> | ||
792 | <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/m"/> | ||
793 | <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/m"/> | ||
794 | <ownedStyle xmi:type="diagram:BundledImage" uid="_T8am0iorEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
795 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
796 | </ownedStyle> | ||
797 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
798 | </ownedElements> | ||
799 | </ownedDiagramElements> | ||
800 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_HmJR-CokEemQnOUhg0mU1A" sourceNode="_CLrNQCokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A"> | ||
801 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/> | ||
802 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/> | ||
803 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_HmJ48CokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
804 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
805 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_HmJ48SokEemQnOUhg0mU1A" showIcon="false"> | ||
806 | <labelFormat>italic</labelFormat> | ||
807 | </beginLabelStyle> | ||
808 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_HmJ48iokEemQnOUhg0mU1A" showIcon="false"/> | ||
809 | </ownedStyle> | ||
810 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
811 | </ownedDiagramElements> | ||
812 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_H9bJfCokEemQnOUhg0mU1A" sourceNode="_DnAi0CokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A"> | ||
813 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/> | ||
814 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/> | ||
815 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_H9bJfSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
816 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
817 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_H9bJfiokEemQnOUhg0mU1A" showIcon="false"> | ||
818 | <labelFormat>italic</labelFormat> | ||
819 | </beginLabelStyle> | ||
820 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_H9bJfyokEemQnOUhg0mU1A" showIcon="false"/> | ||
821 | </ownedStyle> | ||
822 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
823 | </ownedDiagramElements> | ||
824 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_IctGjiokEemQnOUhg0mU1A" sourceNode="_FjbzQCokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A"> | ||
825 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/> | ||
826 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/> | ||
827 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_T8b1DiorEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
828 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
829 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_T8b1DyorEemQnOUhg0mU1A" showIcon="false"> | ||
830 | <labelFormat>italic</labelFormat> | ||
831 | </beginLabelStyle> | ||
832 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_T8b1ECorEemQnOUhg0mU1A" showIcon="false"/> | ||
833 | </ownedStyle> | ||
834 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
835 | </ownedDiagramElements> | ||
836 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Utes0CoqEemQnOUhg0mU1A" name="Distribution" tooltipText="" incomingEdges="_N7tBliorEemQnOUhg0mU1A" width="12" height="10"> | ||
837 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/> | ||
838 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/> | ||
839 | <decorations xmi:type="viewpoint:Decoration" uid="_UtfT4CoqEemQnOUhg0mU1A"> | ||
840 | <description xmi:type="description:SemanticBasedDecoration" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@decorationDescriptionsSet/@decorationDescriptions[name='External']"/> | ||
841 | </decorations> | ||
842 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
843 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
844 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
845 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Utes0SoqEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
846 | <labelFormat>italic</labelFormat> | ||
847 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
848 | </ownedStyle> | ||
849 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
850 | </ownedDiagramElements> | ||
851 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_N7tBliorEemQnOUhg0mU1A" name="[1..1] distribution" sourceNode="_D1quECodEemQnOUhg0mU1A" targetNode="_Utes0CoqEemQnOUhg0mU1A"> | ||
852 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//BasicEventDefinition/distribution"/> | ||
853 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//BasicEventDefinition/distribution"/> | ||
854 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_OkCM6SorEemQnOUhg0mU1A" description="_OkCM5iorEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
855 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_OkCM6yorEemQnOUhg0mU1A" showIcon="false"> | ||
856 | <labelFormat>bold</labelFormat> | ||
857 | </centerLabelStyle> | ||
858 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_OkCM6iorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
859 | </ownedStyle> | ||
860 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
861 | </ownedDiagramElements> | ||
862 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Wm0XkCorEemQnOUhg0mU1A" name="ComponentFaultTree" tooltipText="" outgoingEdges="_dgSJ2CorEemQnOUhg0mU1A _EktnnCosEemQnOUhg0mU1A" width="12" height="10"> | ||
863 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentFaultTree"/> | ||
864 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentFaultTree"/> | ||
865 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
866 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
867 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
868 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Wm0-oCorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
869 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
870 | </ownedStyle> | ||
871 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
872 | </ownedDiagramElements> | ||
873 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_bLPlACorEemQnOUhg0mU1A" name="Component" tooltipText="" outgoingEdges="_KyxFRiosEemQnOUhg0mU1A _eyVLBiosEemQnOUhg0mU1A _6ZNAkCosEemQnOUhg0mU1A" incomingEdges="_dgSJ2CorEemQnOUhg0mU1A" width="12" height="10"> | ||
874 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/> | ||
875 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/> | ||
876 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
877 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
878 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
879 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_bLQzICorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
880 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
881 | </ownedStyle> | ||
882 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
883 | </ownedDiagramElements> | ||
884 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_dgSJ2CorEemQnOUhg0mU1A" name="[0..*] components" sourceNode="_Wm0XkCorEemQnOUhg0mU1A" targetNode="_bLPlACorEemQnOUhg0mU1A"> | ||
885 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/components"/> | ||
886 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/components"/> | ||
887 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_dgSw0CorEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
888 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_dgSw0iorEemQnOUhg0mU1A" showIcon="false"> | ||
889 | <customFeatures>labelSize</customFeatures> | ||
890 | </centerLabelStyle> | ||
891 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_dgSw0SorEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
892 | <customFeatures>labelSize</customFeatures> | ||
893 | </endLabelStyle> | ||
894 | </ownedStyle> | ||
895 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
896 | </ownedDiagramElements> | ||
897 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_mUETkCorEemQnOUhg0mU1A" name="Input" tooltipText="" outgoingEdges="_UW5t9iosEemQnOUhg0mU1A _uHA2EiosEemQnOUhg0mU1A" incomingEdges="_eyVLBiosEemQnOUhg0mU1A" width="12" height="10"> | ||
898 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//Input"/> | ||
899 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Input"/> | ||
900 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
901 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
902 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
903 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_mUETkSorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
904 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
905 | </ownedStyle> | ||
906 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
907 | </ownedDiagramElements> | ||
908 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_nyWPcCorEemQnOUhg0mU1A" name="Output" tooltipText="" outgoingEdges="_QhSuYiosEemQnOUhg0mU1A _ykJIrCosEemQnOUhg0mU1A" incomingEdges="_EktnnCosEemQnOUhg0mU1A _6ZNAkCosEemQnOUhg0mU1A" width="12" height="10"> | ||
909 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//Output"/> | ||
910 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Output"/> | ||
911 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
912 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
913 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
914 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_nyWPcSorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
915 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
916 | </ownedStyle> | ||
917 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
918 | </ownedDiagramElements> | ||
919 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_EktnnCosEemQnOUhg0mU1A" name="[1..1] topEvent" sourceNode="_Wm0XkCorEemQnOUhg0mU1A" targetNode="_nyWPcCorEemQnOUhg0mU1A"> | ||
920 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/topEvent"/> | ||
921 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/topEvent"/> | ||
922 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_IXsxGyosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
923 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_IXsxHSosEemQnOUhg0mU1A" showIcon="false"> | ||
924 | <labelFormat>bold</labelFormat> | ||
925 | </centerLabelStyle> | ||
926 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_IXsxHCosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
927 | </ownedStyle> | ||
928 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
929 | </ownedDiagramElements> | ||
930 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_KyxFRiosEemQnOUhg0mU1A" name="[1..1] componentDefinition" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_Zp_54CoZEemQnOUhg0mU1A"> | ||
931 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/componentDefinition"/> | ||
932 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/componentDefinition"/> | ||
933 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_M32iiCosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
934 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_M32iiiosEemQnOUhg0mU1A" showIcon="false"> | ||
935 | <labelFormat>bold</labelFormat> | ||
936 | </centerLabelStyle> | ||
937 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_M32iiSosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
938 | </ownedStyle> | ||
939 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
940 | </ownedDiagramElements> | ||
941 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_QhSuYiosEemQnOUhg0mU1A" name="[1..1] eventDeclaration" sourceNode="_nyWPcCorEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A"> | ||
942 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Output/eventDeclaration"/> | ||
943 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/eventDeclaration"/> | ||
944 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_YcmYEiosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
945 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_YcmYFCosEemQnOUhg0mU1A" showIcon="false"> | ||
946 | <labelFormat>bold</labelFormat> | ||
947 | </centerLabelStyle> | ||
948 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_YcmYEyosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
949 | </ownedStyle> | ||
950 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
951 | </ownedDiagramElements> | ||
952 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_UW5t9iosEemQnOUhg0mU1A" name="[1..1] intputEvent" sourceNode="_mUETkCorEemQnOUhg0mU1A" targetNode="_Iec3ECodEemQnOUhg0mU1A"> | ||
953 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Input/intputEvent"/> | ||
954 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/intputEvent"/> | ||
955 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Xs4LTCosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
956 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Xs4LTiosEemQnOUhg0mU1A" showIcon="false"> | ||
957 | <labelFormat>bold</labelFormat> | ||
958 | </centerLabelStyle> | ||
959 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_Xs4LTSosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
960 | </ownedStyle> | ||
961 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
962 | </ownedDiagramElements> | ||
963 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Z4MMQCosEemQnOUhg0mU1A" name="Connection" tooltipText="" incomingEdges="_uHA2EiosEemQnOUhg0mU1A _ykJIrCosEemQnOUhg0mU1A" width="12" height="10"> | ||
964 | <target xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/> | ||
965 | <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/> | ||
966 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
967 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
968 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
969 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Z4MMQSosEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
970 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
971 | </ownedStyle> | ||
972 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
973 | </ownedDiagramElements> | ||
974 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_eyVLBiosEemQnOUhg0mU1A" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_mUETkCorEemQnOUhg0mU1A" beginLabel="[1..1] component" endLabel="[0..*] inputs"> | ||
975 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/inputs"/> | ||
976 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/component"/> | ||
977 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/inputs"/> | ||
978 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_eyVLCiosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
979 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_eyVLCyosEemQnOUhg0mU1A" showIcon="false"/> | ||
980 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_eyVLDCosEemQnOUhg0mU1A" showIcon="false"/> | ||
981 | </ownedStyle> | ||
982 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/> | ||
983 | </ownedDiagramElements> | ||
984 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_uHA2EiosEemQnOUhg0mU1A" sourceNode="_mUETkCorEemQnOUhg0mU1A" targetNode="_Z4MMQCosEemQnOUhg0mU1A" beginLabel="[1..1] input" endLabel="[0..*] incomingConnections"> | ||
985 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Input/incomingConnections"/> | ||
986 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/incomingConnections"/> | ||
987 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Connection/input"/> | ||
988 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_uHBdECosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
989 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_uHBdESosEemQnOUhg0mU1A" showIcon="false"/> | ||
990 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_uHBdEiosEemQnOUhg0mU1A" showIcon="false"/> | ||
991 | </ownedStyle> | ||
992 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/> | ||
993 | </ownedDiagramElements> | ||
994 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_ykJIrCosEemQnOUhg0mU1A" sourceNode="_nyWPcCorEemQnOUhg0mU1A" targetNode="_Z4MMQCosEemQnOUhg0mU1A" beginLabel="[1..1] output" endLabel="[0..*] outgoingConnections"> | ||
995 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Output/outgoingConnections"/> | ||
996 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/outgoingConnections"/> | ||
997 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Connection/output"/> | ||
998 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_ykJIrSosEemQnOUhg0mU1A" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0"> | ||
999 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/> | ||
1000 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_ykJIriosEemQnOUhg0mU1A" showIcon="false"/> | ||
1001 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_ykJIryosEemQnOUhg0mU1A" showIcon="false"/> | ||
1002 | </ownedStyle> | ||
1003 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/> | ||
1004 | </ownedDiagramElements> | ||
1005 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_6ZNAkCosEemQnOUhg0mU1A" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_nyWPcCorEemQnOUhg0mU1A" beginLabel="[1..1] component" endLabel="[0..*] outputs"> | ||
1006 | <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/outputs"/> | ||
1007 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/component"/> | ||
1008 | <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/outputs"/> | ||
1009 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_6ZNncCosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1010 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_6ZNncSosEemQnOUhg0mU1A" showIcon="false"/> | ||
1011 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_6ZNnciosEemQnOUhg0mU1A" showIcon="false"/> | ||
1012 | </ownedStyle> | ||
1013 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/> | ||
1014 | </ownedDiagramElements> | ||
1015 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
1016 | <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_XdpXECoZEemQnOUhg0mU1A"/> | ||
1017 | <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/> | ||
1018 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/> | ||
1019 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/> | ||
1020 | <target xmi:type="ecore:EPackage" href="model/cft.ecore#/"/> | ||
1021 | </diagram:DSemanticDiagram> | ||
1022 | <diagram:DSemanticDiagram uid="_Bnj68CohEemQnOUhg0mU1A" name="ft class diagram"> | ||
1023 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_BnlJECohEemQnOUhg0mU1A" source="DANNOTATION_CUSTOMIZATION_KEY"> | ||
1024 | <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_BnlJESohEemQnOUhg0mU1A"> | ||
1025 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_RSXm8CohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
1026 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1027 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_RSXm8SohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
1028 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1029 | </centerLabelStyleDescription> | ||
1030 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_RSXm8iohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
1031 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
1032 | </endLabelStyleDescription> | ||
1033 | </computedStyleDescriptions> | ||
1034 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_Um-LQCohEemQnOUhg0mU1A" routingStyle="manhattan"> | ||
1035 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1036 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_Um-LQSohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
1037 | <labelFormat>bold</labelFormat> | ||
1038 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1039 | </centerLabelStyleDescription> | ||
1040 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_Um-LQiohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
1041 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
1042 | </endLabelStyleDescription> | ||
1043 | </computedStyleDescriptions> | ||
1044 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_n3A4mSohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
1045 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1046 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_n3A4miohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render"> | ||
1047 | <labelFormat>bold</labelFormat> | ||
1048 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
1049 | </centerLabelStyleDescription> | ||
1050 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_n3A4myohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
1051 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
1052 | </endLabelStyleDescription> | ||
1053 | </computedStyleDescriptions> | ||
1054 | </data> | ||
1055 | </ownedAnnotationEntries> | ||
1056 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_BnlwICohEemQnOUhg0mU1A" source="GMF_DIAGRAMS"> | ||
1057 | <data xmi:type="notation:Diagram" xmi:id="_BnlwISohEemQnOUhg0mU1A" type="Sirius" element="_Bnj68CohEemQnOUhg0mU1A" measurementUnit="Pixel"> | ||
1058 | <children xmi:type="notation:Node" xmi:id="_DB1gkCohEemQnOUhg0mU1A" type="2003" element="_DBuy4CohEemQnOUhg0mU1A"> | ||
1059 | <children xmi:type="notation:Node" xmi:id="_DB1gkyohEemQnOUhg0mU1A" type="5007"/> | ||
1060 | <children xmi:type="notation:Node" xmi:id="_DB1glCohEemQnOUhg0mU1A" type="7004"> | ||
1061 | <styles xmi:type="notation:SortingStyle" xmi:id="_DB1glSohEemQnOUhg0mU1A"/> | ||
1062 | <styles xmi:type="notation:FilteringStyle" xmi:id="_DB1gliohEemQnOUhg0mU1A"/> | ||
1063 | </children> | ||
1064 | <styles xmi:type="notation:ShapeStyle" xmi:id="_DB1gkSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1065 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DB1gkiohEemQnOUhg0mU1A" x="351" y="26" width="120" height="100"/> | ||
1066 | </children> | ||
1067 | <children xmi:type="notation:Node" xmi:id="_OHUAMCohEemQnOUhg0mU1A" type="2003" element="_OHKPMCohEemQnOUhg0mU1A"> | ||
1068 | <children xmi:type="notation:Node" xmi:id="_OHUnQCohEemQnOUhg0mU1A" type="5007"/> | ||
1069 | <children xmi:type="notation:Node" xmi:id="_OHUnQSohEemQnOUhg0mU1A" type="7004"> | ||
1070 | <children xmi:type="notation:Node" xmi:id="_WsY_oCohEemQnOUhg0mU1A" type="3010" element="_WsKWICohEemQnOUhg0mU1A"> | ||
1071 | <styles xmi:type="notation:FontStyle" xmi:id="_WsY_oSohEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
1072 | <layoutConstraint xmi:type="notation:Location" xmi:id="_WsY_oiohEemQnOUhg0mU1A"/> | ||
1073 | </children> | ||
1074 | <styles xmi:type="notation:SortingStyle" xmi:id="_OHUnQiohEemQnOUhg0mU1A"/> | ||
1075 | <styles xmi:type="notation:FilteringStyle" xmi:id="_OHUnQyohEemQnOUhg0mU1A"/> | ||
1076 | </children> | ||
1077 | <styles xmi:type="notation:ShapeStyle" xmi:id="_OHUAMSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1078 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OHUAMiohEemQnOUhg0mU1A" x="351" y="208" width="120" height="100"/> | ||
1079 | </children> | ||
1080 | <children xmi:type="notation:Node" xmi:id="_PfLLACohEemQnOUhg0mU1A" type="2003" element="_PfCoICohEemQnOUhg0mU1A"> | ||
1081 | <children xmi:type="notation:Node" xmi:id="_PfLyECohEemQnOUhg0mU1A" type="5007"/> | ||
1082 | <children xmi:type="notation:Node" xmi:id="_PfLyESohEemQnOUhg0mU1A" type="7004"> | ||
1083 | <styles xmi:type="notation:SortingStyle" xmi:id="_PfLyEiohEemQnOUhg0mU1A"/> | ||
1084 | <styles xmi:type="notation:FilteringStyle" xmi:id="_PfLyEyohEemQnOUhg0mU1A"/> | ||
1085 | </children> | ||
1086 | <styles xmi:type="notation:ShapeStyle" xmi:id="_PfLLASohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1087 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PfLLAiohEemQnOUhg0mU1A" x="247" y="377" width="120" height="100"/> | ||
1088 | </children> | ||
1089 | <children xmi:type="notation:Node" xmi:id="_QR5BYCohEemQnOUhg0mU1A" type="2003" element="_QRvQYCohEemQnOUhg0mU1A"> | ||
1090 | <children xmi:type="notation:Node" xmi:id="_QR5BYyohEemQnOUhg0mU1A" type="5007"/> | ||
1091 | <children xmi:type="notation:Node" xmi:id="_QR5ocCohEemQnOUhg0mU1A" type="7004"> | ||
1092 | <styles xmi:type="notation:SortingStyle" xmi:id="_QR5ocSohEemQnOUhg0mU1A"/> | ||
1093 | <styles xmi:type="notation:FilteringStyle" xmi:id="_QR5ociohEemQnOUhg0mU1A"/> | ||
1094 | </children> | ||
1095 | <styles xmi:type="notation:ShapeStyle" xmi:id="_QR5BYSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1096 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QR5BYiohEemQnOUhg0mU1A" x="455" y="377" width="120" height="100"/> | ||
1097 | </children> | ||
1098 | <children xmi:type="notation:Node" xmi:id="_fDJPMCohEemQnOUhg0mU1A" type="2003" element="_fC-3ICohEemQnOUhg0mU1A"> | ||
1099 | <children xmi:type="notation:Node" xmi:id="_fDJPMyohEemQnOUhg0mU1A" type="5007"/> | ||
1100 | <children xmi:type="notation:Node" xmi:id="_fDJPNCohEemQnOUhg0mU1A" type="7004"> | ||
1101 | <styles xmi:type="notation:SortingStyle" xmi:id="_fDJPNSohEemQnOUhg0mU1A"/> | ||
1102 | <styles xmi:type="notation:FilteringStyle" xmi:id="_fDJPNiohEemQnOUhg0mU1A"/> | ||
1103 | </children> | ||
1104 | <styles xmi:type="notation:ShapeStyle" xmi:id="_fDJPMSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1105 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fDJPMiohEemQnOUhg0mU1A" x="143" y="546" width="120" height="100"/> | ||
1106 | </children> | ||
1107 | <children xmi:type="notation:Node" xmi:id="_g_4BoCohEemQnOUhg0mU1A" type="2003" element="_g_tpkCohEemQnOUhg0mU1A"> | ||
1108 | <children xmi:type="notation:Node" xmi:id="_g_4BoyohEemQnOUhg0mU1A" type="5007"/> | ||
1109 | <children xmi:type="notation:Node" xmi:id="_g_4BpCohEemQnOUhg0mU1A" type="7004"> | ||
1110 | <children xmi:type="notation:Node" xmi:id="_UPL2ACokEemQnOUhg0mU1A" type="3010" element="_UPA24CokEemQnOUhg0mU1A"> | ||
1111 | <styles xmi:type="notation:FontStyle" xmi:id="_UPL2ASokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
1112 | <layoutConstraint xmi:type="notation:Location" xmi:id="_UPL2AiokEemQnOUhg0mU1A"/> | ||
1113 | </children> | ||
1114 | <styles xmi:type="notation:SortingStyle" xmi:id="_g_4BpSohEemQnOUhg0mU1A"/> | ||
1115 | <styles xmi:type="notation:FilteringStyle" xmi:id="_g_4BpiohEemQnOUhg0mU1A"/> | ||
1116 | </children> | ||
1117 | <styles xmi:type="notation:ShapeStyle" xmi:id="_g_4BoSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1118 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_g_4BoiohEemQnOUhg0mU1A" x="39" y="715" width="133" height="100"/> | ||
1119 | </children> | ||
1120 | <children xmi:type="notation:Node" xmi:id="_kXPmFiohEemQnOUhg0mU1A" type="2003" element="_kXGcICohEemQnOUhg0mU1A"> | ||
1121 | <children xmi:type="notation:Node" xmi:id="_kXQNICohEemQnOUhg0mU1A" type="5007"/> | ||
1122 | <children xmi:type="notation:Node" xmi:id="_kXQNISohEemQnOUhg0mU1A" type="7004"> | ||
1123 | <children xmi:type="notation:Node" xmi:id="_VVIKYCokEemQnOUhg0mU1A" type="3010" element="_VU8kMCokEemQnOUhg0mU1A"> | ||
1124 | <styles xmi:type="notation:FontStyle" xmi:id="_VVIKYSokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
1125 | <layoutConstraint xmi:type="notation:Location" xmi:id="_VVIKYiokEemQnOUhg0mU1A"/> | ||
1126 | </children> | ||
1127 | <styles xmi:type="notation:SortingStyle" xmi:id="_kXQNIiohEemQnOUhg0mU1A"/> | ||
1128 | <styles xmi:type="notation:FilteringStyle" xmi:id="_kXQNIyohEemQnOUhg0mU1A"/> | ||
1129 | </children> | ||
1130 | <styles xmi:type="notation:ShapeStyle" xmi:id="_kXPmFyohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1131 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kXPmGCohEemQnOUhg0mU1A" x="221" y="715" width="133" height="100"/> | ||
1132 | </children> | ||
1133 | <children xmi:type="notation:Node" xmi:id="_Jn0OsCokEemQnOUhg0mU1A" type="2003" element="_JnsS4CokEemQnOUhg0mU1A"> | ||
1134 | <children xmi:type="notation:Node" xmi:id="_Jn0OsyokEemQnOUhg0mU1A" type="5007"/> | ||
1135 | <children xmi:type="notation:Node" xmi:id="_Jn0OtCokEemQnOUhg0mU1A" type="7004"> | ||
1136 | <styles xmi:type="notation:SortingStyle" xmi:id="_Jn0OtSokEemQnOUhg0mU1A"/> | ||
1137 | <styles xmi:type="notation:FilteringStyle" xmi:id="_Jn0OtiokEemQnOUhg0mU1A"/> | ||
1138 | </children> | ||
1139 | <styles xmi:type="notation:ShapeStyle" xmi:id="_Jn0OsSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1140 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jn0OsiokEemQnOUhg0mU1A" x="312" y="546" width="120" height="100"/> | ||
1141 | </children> | ||
1142 | <children xmi:type="notation:Node" xmi:id="_J8rEYCokEemQnOUhg0mU1A" type="2003" element="_J8gFQCokEemQnOUhg0mU1A"> | ||
1143 | <children xmi:type="notation:Node" xmi:id="_J8rEYyokEemQnOUhg0mU1A" type="5007"/> | ||
1144 | <children xmi:type="notation:Node" xmi:id="_J8rrcCokEemQnOUhg0mU1A" type="7004"> | ||
1145 | <styles xmi:type="notation:SortingStyle" xmi:id="_J8rrcSokEemQnOUhg0mU1A"/> | ||
1146 | <styles xmi:type="notation:FilteringStyle" xmi:id="_J8rrciokEemQnOUhg0mU1A"/> | ||
1147 | </children> | ||
1148 | <styles xmi:type="notation:ShapeStyle" xmi:id="_J8rEYSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1149 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J8rEYiokEemQnOUhg0mU1A" x="455" y="546" width="120" height="100"/> | ||
1150 | </children> | ||
1151 | <children xmi:type="notation:Node" xmi:id="_MS4GwCokEemQnOUhg0mU1A" type="2003" element="_MSuVwCokEemQnOUhg0mU1A"> | ||
1152 | <children xmi:type="notation:Node" xmi:id="_MS4GwyokEemQnOUhg0mU1A" type="5007"/> | ||
1153 | <children xmi:type="notation:Node" xmi:id="_MS4GxCokEemQnOUhg0mU1A" type="7004"> | ||
1154 | <children xmi:type="notation:Node" xmi:id="_O6m-ACokEemQnOUhg0mU1A" type="3010" element="_O6aJsCokEemQnOUhg0mU1A"> | ||
1155 | <styles xmi:type="notation:FontStyle" xmi:id="_O6m-ASokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
1156 | <layoutConstraint xmi:type="notation:Location" xmi:id="_O6m-AiokEemQnOUhg0mU1A"/> | ||
1157 | </children> | ||
1158 | <children xmi:type="notation:Node" xmi:id="_Pi5tECokEemQnOUhg0mU1A" type="3010" element="_Pis4wCokEemQnOUhg0mU1A"> | ||
1159 | <styles xmi:type="notation:FontStyle" xmi:id="_Pi5tESokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/> | ||
1160 | <layoutConstraint xmi:type="notation:Location" xmi:id="_Pi5tEiokEemQnOUhg0mU1A"/> | ||
1161 | </children> | ||
1162 | <styles xmi:type="notation:SortingStyle" xmi:id="_MS4GxSokEemQnOUhg0mU1A"/> | ||
1163 | <styles xmi:type="notation:FilteringStyle" xmi:id="_MS4GxiokEemQnOUhg0mU1A"/> | ||
1164 | </children> | ||
1165 | <styles xmi:type="notation:ShapeStyle" xmi:id="_MS4GwSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1166 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MS4GwiokEemQnOUhg0mU1A" x="598" y="546" width="120" height="100"/> | ||
1167 | </children> | ||
1168 | <styles xmi:type="notation:DiagramStyle" xmi:id="_BnlwIiohEemQnOUhg0mU1A"/> | ||
1169 | <edges xmi:type="notation:Edge" xmi:id="_RSe7sCohEemQnOUhg0mU1A" type="4001" element="_RSW_4CohEemQnOUhg0mU1A" source="_DB1gkCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A"> | ||
1170 | <children xmi:type="notation:Node" xmi:id="_RSe7tCohEemQnOUhg0mU1A" type="6001"> | ||
1171 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSe7tSohEemQnOUhg0mU1A" x="-3" y="37"/> | ||
1172 | </children> | ||
1173 | <children xmi:type="notation:Node" xmi:id="_RSe7tiohEemQnOUhg0mU1A" type="6002"> | ||
1174 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSe7tyohEemQnOUhg0mU1A" y="10"/> | ||
1175 | </children> | ||
1176 | <children xmi:type="notation:Node" xmi:id="_RSfiwCohEemQnOUhg0mU1A" type="6003"> | ||
1177 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSfiwSohEemQnOUhg0mU1A" y="10"/> | ||
1178 | </children> | ||
1179 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_RSe7sSohEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
1180 | <styles xmi:type="notation:FontStyle" xmi:id="_RSe7siohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
1181 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RSe7syohEemQnOUhg0mU1A" points="[-20, 0, -20, -84]$[-20, 84, -20, 0]"/> | ||
1182 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RSfiwiohEemQnOUhg0mU1A" id="(0.5,1.0)"/> | ||
1183 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RSfiwyohEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
1184 | </edges> | ||
1185 | <edges xmi:type="notation:Edge" xmi:id="_Ty_JkCohEemQnOUhg0mU1A" type="4001" element="_Ty0KdiohEemQnOUhg0mU1A" source="_DB1gkCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A"> | ||
1186 | <children xmi:type="notation:Node" xmi:id="_Ty_JlCohEemQnOUhg0mU1A" type="6001"> | ||
1187 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_JlSohEemQnOUhg0mU1A" x="-3" y="-39"/> | ||
1188 | </children> | ||
1189 | <children xmi:type="notation:Node" xmi:id="_Ty_JliohEemQnOUhg0mU1A" type="6002"> | ||
1190 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_JlyohEemQnOUhg0mU1A" y="10"/> | ||
1191 | </children> | ||
1192 | <children xmi:type="notation:Node" xmi:id="_Ty_woCohEemQnOUhg0mU1A" type="6003"> | ||
1193 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_woSohEemQnOUhg0mU1A" y="10"/> | ||
1194 | </children> | ||
1195 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ty_JkSohEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
1196 | <styles xmi:type="notation:FontStyle" xmi:id="_Ty_JkiohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
1197 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ty_JkyohEemQnOUhg0mU1A" points="[-11, 0, -11, -84]$[-11, 84, -11, 0]"/> | ||
1198 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ty_woiohEemQnOUhg0mU1A" id="(0.7542372881355932,1.0)"/> | ||
1199 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ty_woyohEemQnOUhg0mU1A" id="(0.7542372881355932,0.0)"/> | ||
1200 | </edges> | ||
1201 | <edges xmi:type="notation:Edge" xmi:id="_ahmWoCohEemQnOUhg0mU1A" type="4001" element="_ahdMsCohEemQnOUhg0mU1A" source="_PfLLACohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A"> | ||
1202 | <children xmi:type="notation:Node" xmi:id="_ahmWpCohEemQnOUhg0mU1A" type="6001"> | ||
1203 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahmWpSohEemQnOUhg0mU1A" y="-10"/> | ||
1204 | </children> | ||
1205 | <children xmi:type="notation:Node" xmi:id="_ahmWpiohEemQnOUhg0mU1A" type="6002"> | ||
1206 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahm9sCohEemQnOUhg0mU1A" y="10"/> | ||
1207 | </children> | ||
1208 | <children xmi:type="notation:Node" xmi:id="_ahm9sSohEemQnOUhg0mU1A" type="6003"> | ||
1209 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahm9siohEemQnOUhg0mU1A" y="10"/> | ||
1210 | </children> | ||
1211 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_ahmWoSohEemQnOUhg0mU1A" routing="Tree"/> | ||
1212 | <styles xmi:type="notation:FontStyle" xmi:id="_ahmWoiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1213 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ahmWoyohEemQnOUhg0mU1A" points="[0, 0, -117, 71]$[117, -71, 0, 0]"/> | ||
1214 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ahm9syohEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/> | ||
1215 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ahm9tCohEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
1216 | </edges> | ||
1217 | <edges xmi:type="notation:Edge" xmi:id="_a2bXICohEemQnOUhg0mU1A" type="4001" element="_a2TbUyohEemQnOUhg0mU1A" source="_QR5BYCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A"> | ||
1218 | <children xmi:type="notation:Node" xmi:id="_a2b-MCohEemQnOUhg0mU1A" type="6001"> | ||
1219 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-MSohEemQnOUhg0mU1A" y="-10"/> | ||
1220 | </children> | ||
1221 | <children xmi:type="notation:Node" xmi:id="_a2b-MiohEemQnOUhg0mU1A" type="6002"> | ||
1222 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-MyohEemQnOUhg0mU1A" y="10"/> | ||
1223 | </children> | ||
1224 | <children xmi:type="notation:Node" xmi:id="_a2b-NCohEemQnOUhg0mU1A" type="6003"> | ||
1225 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-NSohEemQnOUhg0mU1A" y="10"/> | ||
1226 | </children> | ||
1227 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_a2bXISohEemQnOUhg0mU1A" routing="Tree"/> | ||
1228 | <styles xmi:type="notation:FontStyle" xmi:id="_a2bXIiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1229 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_a2bXIyohEemQnOUhg0mU1A" points="[0, 0, 104, 71]$[-104, -71, 0, 0]"/> | ||
1230 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_a2b-NiohEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
1231 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_a2b-NyohEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
1232 | </edges> | ||
1233 | <edges xmi:type="notation:Edge" xmi:id="_nacRUCohEemQnOUhg0mU1A" type="4001" element="_naRSOSohEemQnOUhg0mU1A" source="_PfLLACohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A"> | ||
1234 | <children xmi:type="notation:Node" xmi:id="_nac4YCohEemQnOUhg0mU1A" type="6001"> | ||
1235 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4YSohEemQnOUhg0mU1A" x="3" y="10"/> | ||
1236 | </children> | ||
1237 | <children xmi:type="notation:Node" xmi:id="_nac4YiohEemQnOUhg0mU1A" type="6002"> | ||
1238 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4YyohEemQnOUhg0mU1A" x="2" y="10"/> | ||
1239 | </children> | ||
1240 | <children xmi:type="notation:Node" xmi:id="_nac4ZCohEemQnOUhg0mU1A" type="6003"> | ||
1241 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4ZSohEemQnOUhg0mU1A" x="-2" y="10"/> | ||
1242 | </children> | ||
1243 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_nacRUSohEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
1244 | <styles xmi:type="notation:FontStyle" xmi:id="_nacRUiohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
1245 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_nacRUyohEemQnOUhg0mU1A" points="[0, 0, 104, -71]$[0, 36, 104, -35]$[-104, 36, 0, -35]$[-104, 71, 0, 0]"/> | ||
1246 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nac4ZiohEemQnOUhg0mU1A" id="(0.5,1.0)"/> | ||
1247 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nac4ZyohEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
1248 | </edges> | ||
1249 | <edges xmi:type="notation:Edge" xmi:id="_qWOtACohEemQnOUhg0mU1A" type="4001" element="_qWGKLCohEemQnOUhg0mU1A" source="_g_4BoCohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A"> | ||
1250 | <children xmi:type="notation:Node" xmi:id="_qWOtBCohEemQnOUhg0mU1A" type="6001"> | ||
1251 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtBSohEemQnOUhg0mU1A" y="-10"/> | ||
1252 | </children> | ||
1253 | <children xmi:type="notation:Node" xmi:id="_qWOtBiohEemQnOUhg0mU1A" type="6002"> | ||
1254 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtByohEemQnOUhg0mU1A" y="10"/> | ||
1255 | </children> | ||
1256 | <children xmi:type="notation:Node" xmi:id="_qWOtCCohEemQnOUhg0mU1A" type="6003"> | ||
1257 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtCSohEemQnOUhg0mU1A" y="10"/> | ||
1258 | </children> | ||
1259 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_qWOtASohEemQnOUhg0mU1A" routing="Tree"/> | ||
1260 | <styles xmi:type="notation:FontStyle" xmi:id="_qWOtAiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1261 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qWOtAyohEemQnOUhg0mU1A" points="[0, 0, -65, 71]$[65, -71, 0, 0]"/> | ||
1262 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qWOtCiohEemQnOUhg0mU1A" id="(0.6946564885496184,0.0)"/> | ||
1263 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qWOtCyohEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
1264 | </edges> | ||
1265 | <edges xmi:type="notation:Edge" xmi:id="_quUc4CohEemQnOUhg0mU1A" type="4001" element="_quKE2SohEemQnOUhg0mU1A" source="_kXPmFiohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A"> | ||
1266 | <children xmi:type="notation:Node" xmi:id="_quUc5CohEemQnOUhg0mU1A" type="6001"> | ||
1267 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc5SohEemQnOUhg0mU1A" y="-10"/> | ||
1268 | </children> | ||
1269 | <children xmi:type="notation:Node" xmi:id="_quUc5iohEemQnOUhg0mU1A" type="6002"> | ||
1270 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc5yohEemQnOUhg0mU1A" y="10"/> | ||
1271 | </children> | ||
1272 | <children xmi:type="notation:Node" xmi:id="_quUc6CohEemQnOUhg0mU1A" type="6003"> | ||
1273 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc6SohEemQnOUhg0mU1A" y="10"/> | ||
1274 | </children> | ||
1275 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_quUc4SohEemQnOUhg0mU1A" routing="Tree"/> | ||
1276 | <styles xmi:type="notation:FontStyle" xmi:id="_quUc4iohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1277 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_quUc4yohEemQnOUhg0mU1A" points="[0, 0, 52, 71]$[-52, -71, 0, 0]"/> | ||
1278 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_quVD8CohEemQnOUhg0mU1A" id="(0.3969465648854962,0.0)"/> | ||
1279 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_quVD8SohEemQnOUhg0mU1A" id="(0.5,0.0)"/> | ||
1280 | </edges> | ||
1281 | <edges xmi:type="notation:Edge" xmi:id="_NOxuUCokEemQnOUhg0mU1A" type="4001" element="_NOpLfCokEemQnOUhg0mU1A" source="_Jn0OsCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A"> | ||
1282 | <children xmi:type="notation:Node" xmi:id="_NOxuVCokEemQnOUhg0mU1A" type="6001"> | ||
1283 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuVSokEemQnOUhg0mU1A" y="-10"/> | ||
1284 | </children> | ||
1285 | <children xmi:type="notation:Node" xmi:id="_NOxuViokEemQnOUhg0mU1A" type="6002"> | ||
1286 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuVyokEemQnOUhg0mU1A" y="10"/> | ||
1287 | </children> | ||
1288 | <children xmi:type="notation:Node" xmi:id="_NOxuWCokEemQnOUhg0mU1A" type="6003"> | ||
1289 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuWSokEemQnOUhg0mU1A" y="10"/> | ||
1290 | </children> | ||
1291 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_NOxuUSokEemQnOUhg0mU1A" routing="Tree"/> | ||
1292 | <styles xmi:type="notation:FontStyle" xmi:id="_NOxuUiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1293 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NOxuUyokEemQnOUhg0mU1A" points="[0, 0, -91, 130]$[91, -130, 0, 0]"/> | ||
1294 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NOxuWiokEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/> | ||
1295 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NOxuWyokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
1296 | </edges> | ||
1297 | <edges xmi:type="notation:Edge" xmi:id="_NhqOECokEemQnOUhg0mU1A" type="4001" element="_NhfO9iokEemQnOUhg0mU1A" source="_J8rEYCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A"> | ||
1298 | <children xmi:type="notation:Node" xmi:id="_NhqOFCokEemQnOUhg0mU1A" type="6001"> | ||
1299 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOFSokEemQnOUhg0mU1A" y="-10"/> | ||
1300 | </children> | ||
1301 | <children xmi:type="notation:Node" xmi:id="_NhqOFiokEemQnOUhg0mU1A" type="6002"> | ||
1302 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOFyokEemQnOUhg0mU1A" y="10"/> | ||
1303 | </children> | ||
1304 | <children xmi:type="notation:Node" xmi:id="_NhqOGCokEemQnOUhg0mU1A" type="6003"> | ||
1305 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOGSokEemQnOUhg0mU1A" y="10"/> | ||
1306 | </children> | ||
1307 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_NhqOESokEemQnOUhg0mU1A" routing="Tree"/> | ||
1308 | <styles xmi:type="notation:FontStyle" xmi:id="_NhqOEiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1309 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NhqOEyokEemQnOUhg0mU1A" points="[0, 0, 0, 71]$[0, -71, 0, 0]"/> | ||
1310 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NhqOGiokEemQnOUhg0mU1A" id="(0.39166666666666666,0.07)"/> | ||
1311 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NhqOGyokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
1312 | </edges> | ||
1313 | <edges xmi:type="notation:Edge" xmi:id="_NxBfwCokEemQnOUhg0mU1A" type="4001" element="_Nw0rfyokEemQnOUhg0mU1A" source="_MS4GwCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A"> | ||
1314 | <children xmi:type="notation:Node" xmi:id="_NxCG0CokEemQnOUhg0mU1A" type="6001"> | ||
1315 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG0SokEemQnOUhg0mU1A" y="-10"/> | ||
1316 | </children> | ||
1317 | <children xmi:type="notation:Node" xmi:id="_NxCG0iokEemQnOUhg0mU1A" type="6002"> | ||
1318 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG0yokEemQnOUhg0mU1A" y="10"/> | ||
1319 | </children> | ||
1320 | <children xmi:type="notation:Node" xmi:id="_NxCG1CokEemQnOUhg0mU1A" type="6003"> | ||
1321 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG1SokEemQnOUhg0mU1A" y="10"/> | ||
1322 | </children> | ||
1323 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_NxBfwSokEemQnOUhg0mU1A" routing="Tree"/> | ||
1324 | <styles xmi:type="notation:FontStyle" xmi:id="_NxBfwiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/> | ||
1325 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NxBfwyokEemQnOUhg0mU1A" points="[0, 0, 91, 71]$[-91, -71, 0, 0]"/> | ||
1326 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NxCG1iokEemQnOUhg0mU1A" id="(0.22033898305084745,0.0)"/> | ||
1327 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NxCG1yokEemQnOUhg0mU1A" id="(0.5,0.5)"/> | ||
1328 | </edges> | ||
1329 | <edges xmi:type="notation:Edge" xmi:id="_RDmDwCokEemQnOUhg0mU1A" type="4001" element="_RDeH_CokEemQnOUhg0mU1A" source="_QR5BYCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A"> | ||
1330 | <children xmi:type="notation:Node" xmi:id="_RDmDxCokEemQnOUhg0mU1A" type="6001"> | ||
1331 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDxSokEemQnOUhg0mU1A" x="31" y="-37"/> | ||
1332 | </children> | ||
1333 | <children xmi:type="notation:Node" xmi:id="_RDmDxiokEemQnOUhg0mU1A" type="6002"> | ||
1334 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDxyokEemQnOUhg0mU1A" y="10"/> | ||
1335 | </children> | ||
1336 | <children xmi:type="notation:Node" xmi:id="_RDmDyCokEemQnOUhg0mU1A" type="6003"> | ||
1337 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDySokEemQnOUhg0mU1A" y="10"/> | ||
1338 | </children> | ||
1339 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_RDmDwSokEemQnOUhg0mU1A" routing="Rectilinear"/> | ||
1340 | <styles xmi:type="notation:FontStyle" xmi:id="_RDmDwiokEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/> | ||
1341 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RDmDwyokEemQnOUhg0mU1A" points="[0, 0, 90, 120]$[0, -120, 90, 0]$[-90, -120, 0, 0]"/> | ||
1342 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RDmq0CokEemQnOUhg0mU1A" id="(0.8813559322033898,0.0)"/> | ||
1343 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RDmq0SokEemQnOUhg0mU1A" id="(1.0,0.5)"/> | ||
1344 | </edges> | ||
1345 | </data> | ||
1346 | </ownedAnnotationEntries> | ||
1347 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_DBuy4CohEemQnOUhg0mU1A" name="FaultTree" tooltipText="" outgoingEdges="_RSW_4CohEemQnOUhg0mU1A _Ty0KdiohEemQnOUhg0mU1A" width="12" height="10"> | ||
1348 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/> | ||
1349 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/> | ||
1350 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1351 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1352 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1353 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_DBuy4SohEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1354 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1355 | </ownedStyle> | ||
1356 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1357 | </ownedDiagramElements> | ||
1358 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_OHKPMCohEemQnOUhg0mU1A" name="Event" tooltipText="" incomingEdges="_RSW_4CohEemQnOUhg0mU1A _Ty0KdiohEemQnOUhg0mU1A _ahdMsCohEemQnOUhg0mU1A _a2TbUyohEemQnOUhg0mU1A _RDeH_CokEemQnOUhg0mU1A" width="12" height="10"> | ||
1359 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//Event"/> | ||
1360 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Event"/> | ||
1361 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1362 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1363 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1364 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_XqltQyohEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
1365 | <labelFormat>italic</labelFormat> | ||
1366 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
1367 | </ownedStyle> | ||
1368 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1369 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_WsKWICohEemQnOUhg0mU1A" name="name : EString" tooltipText=""> | ||
1370 | <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//Event/name"/> | ||
1371 | <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//Event/name"/> | ||
1372 | <ownedStyle xmi:type="diagram:BundledImage" uid="_XqmUVSohEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
1373 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
1374 | </ownedStyle> | ||
1375 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
1376 | </ownedElements> | ||
1377 | </ownedDiagramElements> | ||
1378 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_PfCoICohEemQnOUhg0mU1A" name="BasicEvent" tooltipText="" outgoingEdges="_ahdMsCohEemQnOUhg0mU1A _naRSOSohEemQnOUhg0mU1A" width="12" height="10"> | ||
1379 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/> | ||
1380 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/> | ||
1381 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1382 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1383 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1384 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_PfCoISohEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1385 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1386 | </ownedStyle> | ||
1387 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1388 | </ownedDiagramElements> | ||
1389 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_QRvQYCohEemQnOUhg0mU1A" name="Gate" tooltipText="" outgoingEdges="_a2TbUyohEemQnOUhg0mU1A _RDeH_CokEemQnOUhg0mU1A" incomingEdges="_NOpLfCokEemQnOUhg0mU1A _NhfO9iokEemQnOUhg0mU1A _Nw0rfyokEemQnOUhg0mU1A" width="12" height="10"> | ||
1390 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/> | ||
1391 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/> | ||
1392 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1393 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1394 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1395 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_QRi7xyokEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
1396 | <labelFormat>italic</labelFormat> | ||
1397 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
1398 | </ownedStyle> | ||
1399 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1400 | </ownedDiagramElements> | ||
1401 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_RSW_4CohEemQnOUhg0mU1A" name="[0..*] events" sourceNode="_DBuy4CohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A"> | ||
1402 | <target xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/events"/> | ||
1403 | <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/events"/> | ||
1404 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_RSXm8yohEemQnOUhg0mU1A" description="_RSXm8CohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1405 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_RSXm9SohEemQnOUhg0mU1A" showIcon="false"> | ||
1406 | <customFeatures>labelSize</customFeatures> | ||
1407 | </centerLabelStyle> | ||
1408 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_RSXm9CohEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
1409 | <customFeatures>labelSize</customFeatures> | ||
1410 | </endLabelStyle> | ||
1411 | </ownedStyle> | ||
1412 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1413 | </ownedDiagramElements> | ||
1414 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Ty0KdiohEemQnOUhg0mU1A" name="[1..1] topEvent" sourceNode="_DBuy4CohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A"> | ||
1415 | <target xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/topEvent"/> | ||
1416 | <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/topEvent"/> | ||
1417 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Um-LQyohEemQnOUhg0mU1A" description="_Um-LQCohEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1418 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Um-LRSohEemQnOUhg0mU1A" showIcon="false"> | ||
1419 | <labelFormat>bold</labelFormat> | ||
1420 | </centerLabelStyle> | ||
1421 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_Um-LRCohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
1422 | </ownedStyle> | ||
1423 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1424 | </ownedDiagramElements> | ||
1425 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_ahdMsCohEemQnOUhg0mU1A" sourceNode="_PfCoICohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A"> | ||
1426 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/> | ||
1427 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/> | ||
1428 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_ahdzwCohEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1429 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1430 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_ahdzwSohEemQnOUhg0mU1A" showIcon="false"> | ||
1431 | <labelFormat>italic</labelFormat> | ||
1432 | </beginLabelStyle> | ||
1433 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_ahdzwiohEemQnOUhg0mU1A" showIcon="false"/> | ||
1434 | </ownedStyle> | ||
1435 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1436 | </ownedDiagramElements> | ||
1437 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_a2TbUyohEemQnOUhg0mU1A" sourceNode="_QRvQYCohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A"> | ||
1438 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/> | ||
1439 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/> | ||
1440 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_a2TbVCohEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1441 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1442 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_a2TbVSohEemQnOUhg0mU1A" showIcon="false"> | ||
1443 | <labelFormat>italic</labelFormat> | ||
1444 | </beginLabelStyle> | ||
1445 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_a2TbViohEemQnOUhg0mU1A" showIcon="false"/> | ||
1446 | </ownedStyle> | ||
1447 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1448 | </ownedDiagramElements> | ||
1449 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_fC-3ICohEemQnOUhg0mU1A" name="Distribution" tooltipText="" incomingEdges="_naRSOSohEemQnOUhg0mU1A _qWGKLCohEemQnOUhg0mU1A _quKE2SohEemQnOUhg0mU1A" width="12" height="10"> | ||
1450 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/> | ||
1451 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/> | ||
1452 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1453 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1454 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1455 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_gx2MsyohEemQnOUhg0mU1A" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
1456 | <labelFormat>italic</labelFormat> | ||
1457 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
1458 | </ownedStyle> | ||
1459 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1460 | </ownedDiagramElements> | ||
1461 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_g_tpkCohEemQnOUhg0mU1A" name="ConstantDistribution" tooltipText="" outgoingEdges="_qWGKLCohEemQnOUhg0mU1A" width="12" height="10"> | ||
1462 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/> | ||
1463 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/> | ||
1464 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1465 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1466 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1467 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_UlyYKyokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1468 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1469 | </ownedStyle> | ||
1470 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1471 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_UPA24CokEemQnOUhg0mU1A" name="p : EDouble = 0.0" tooltipText=""> | ||
1472 | <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantDistribution/p"/> | ||
1473 | <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantDistribution/p"/> | ||
1474 | <ownedStyle xmi:type="diagram:BundledImage" uid="_Uly_MiokEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
1475 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
1476 | </ownedStyle> | ||
1477 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
1478 | </ownedElements> | ||
1479 | </ownedDiagramElements> | ||
1480 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_kXGcICohEemQnOUhg0mU1A" name="ExponentialDistribution" tooltipText="" outgoingEdges="_quKE2SohEemQnOUhg0mU1A" width="12" height="10"> | ||
1481 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/> | ||
1482 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/> | ||
1483 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1484 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1485 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1486 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_V06dsyokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1487 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1488 | </ownedStyle> | ||
1489 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1490 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_VU8kMCokEemQnOUhg0mU1A" name="lambda : EDouble = 0.0" tooltipText=""> | ||
1491 | <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ExponentialDistribution/lambda"/> | ||
1492 | <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ExponentialDistribution/lambda"/> | ||
1493 | <ownedStyle xmi:type="diagram:BundledImage" uid="_V07EwyokEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
1494 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
1495 | </ownedStyle> | ||
1496 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
1497 | </ownedElements> | ||
1498 | </ownedDiagramElements> | ||
1499 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_naRSOSohEemQnOUhg0mU1A" name="[1..1] distribution" sourceNode="_PfCoICohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A"> | ||
1500 | <target xmi:type="ecore:EReference" href="model/ft.ecore#//BasicEvent/distribution"/> | ||
1501 | <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//BasicEvent/distribution"/> | ||
1502 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_n3A4nCohEemQnOUhg0mU1A" description="_n3A4mSohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1503 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_n3A4niohEemQnOUhg0mU1A" showIcon="false"> | ||
1504 | <labelFormat>bold</labelFormat> | ||
1505 | </centerLabelStyle> | ||
1506 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_n3A4nSohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
1507 | </ownedStyle> | ||
1508 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1509 | </ownedDiagramElements> | ||
1510 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_qWGKLCohEemQnOUhg0mU1A" sourceNode="_g_tpkCohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A"> | ||
1511 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/> | ||
1512 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/> | ||
1513 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Ul00bCokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1514 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1515 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_Ul00bSokEemQnOUhg0mU1A" showIcon="false"> | ||
1516 | <labelFormat>italic</labelFormat> | ||
1517 | </beginLabelStyle> | ||
1518 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Ul00biokEemQnOUhg0mU1A" showIcon="false"/> | ||
1519 | </ownedStyle> | ||
1520 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1521 | </ownedDiagramElements> | ||
1522 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_quKE2SohEemQnOUhg0mU1A" sourceNode="_kXGcICohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A"> | ||
1523 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/> | ||
1524 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/> | ||
1525 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_V09hCSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1526 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1527 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_V09hCiokEemQnOUhg0mU1A" showIcon="false"> | ||
1528 | <labelFormat>italic</labelFormat> | ||
1529 | </beginLabelStyle> | ||
1530 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_V09hCyokEemQnOUhg0mU1A" showIcon="false"/> | ||
1531 | </ownedStyle> | ||
1532 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1533 | </ownedDiagramElements> | ||
1534 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_JnsS4CokEemQnOUhg0mU1A" name="AndGate" tooltipText="" outgoingEdges="_NOpLfCokEemQnOUhg0mU1A" width="12" height="10"> | ||
1535 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/> | ||
1536 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/> | ||
1537 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1538 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1539 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1540 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Jns58CokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1541 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1542 | </ownedStyle> | ||
1543 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1544 | </ownedDiagramElements> | ||
1545 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8gFQCokEemQnOUhg0mU1A" name="OrGate" tooltipText="" outgoingEdges="_NhfO9iokEemQnOUhg0mU1A" width="12" height="10"> | ||
1546 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/> | ||
1547 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/> | ||
1548 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1549 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1550 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1551 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8gsUCokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1552 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1553 | </ownedStyle> | ||
1554 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1555 | </ownedDiagramElements> | ||
1556 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_MSuVwCokEemQnOUhg0mU1A" name="KOfMGate" tooltipText="" outgoingEdges="_Nw0rfyokEemQnOUhg0mU1A" width="12" height="10"> | ||
1557 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/> | ||
1558 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/> | ||
1559 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1560 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1561 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1562 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_P4gwuSokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
1563 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
1564 | </ownedStyle> | ||
1565 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
1566 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_O6aJsCokEemQnOUhg0mU1A" name="k : EInt" tooltipText=""> | ||
1567 | <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/k"/> | ||
1568 | <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/k"/> | ||
1569 | <ownedStyle xmi:type="diagram:BundledImage" uid="_PNtgMyokEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
1570 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
1571 | </ownedStyle> | ||
1572 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
1573 | </ownedElements> | ||
1574 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_Pis4wCokEemQnOUhg0mU1A" name="m : EInt" tooltipText=""> | ||
1575 | <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/m"/> | ||
1576 | <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/m"/> | ||
1577 | <ownedStyle xmi:type="diagram:BundledImage" uid="_P4hXwiokEemQnOUhg0mU1A" labelAlignment="LEFT"> | ||
1578 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
1579 | </ownedStyle> | ||
1580 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
1581 | </ownedElements> | ||
1582 | </ownedDiagramElements> | ||
1583 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_NOpLfCokEemQnOUhg0mU1A" sourceNode="_JnsS4CokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A"> | ||
1584 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/> | ||
1585 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/> | ||
1586 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_NOpLfSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1587 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1588 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NOpLfiokEemQnOUhg0mU1A" showIcon="false"> | ||
1589 | <labelFormat>italic</labelFormat> | ||
1590 | </beginLabelStyle> | ||
1591 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_NOpLfyokEemQnOUhg0mU1A" showIcon="false"/> | ||
1592 | </ownedStyle> | ||
1593 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1594 | </ownedDiagramElements> | ||
1595 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_NhfO9iokEemQnOUhg0mU1A" sourceNode="_J8gFQCokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A"> | ||
1596 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/> | ||
1597 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/> | ||
1598 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_NhfO9yokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1599 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1600 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NhfO-CokEemQnOUhg0mU1A" showIcon="false"> | ||
1601 | <labelFormat>italic</labelFormat> | ||
1602 | </beginLabelStyle> | ||
1603 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_NhfO-SokEemQnOUhg0mU1A" showIcon="false"/> | ||
1604 | </ownedStyle> | ||
1605 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1606 | </ownedDiagramElements> | ||
1607 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Nw0rfyokEemQnOUhg0mU1A" sourceNode="_MSuVwCokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A"> | ||
1608 | <target xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/> | ||
1609 | <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/> | ||
1610 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_P4il8CokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
1611 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
1612 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_P4il8SokEemQnOUhg0mU1A" showIcon="false"> | ||
1613 | <labelFormat>italic</labelFormat> | ||
1614 | </beginLabelStyle> | ||
1615 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_P4il8iokEemQnOUhg0mU1A" showIcon="false"/> | ||
1616 | </ownedStyle> | ||
1617 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
1618 | </ownedDiagramElements> | ||
1619 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_RDeH_CokEemQnOUhg0mU1A" name="[0..*] inputEvents" sourceNode="_QRvQYCohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A"> | ||
1620 | <target xmi:type="ecore:EReference" href="model/ft.ecore#//Gate/inputEvents"/> | ||
1621 | <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//Gate/inputEvents"/> | ||
1622 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_RDevACokEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1623 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']/@style"/> | ||
1624 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_RDevAiokEemQnOUhg0mU1A" showIcon="false"> | ||
1625 | <customFeatures>labelSize</customFeatures> | ||
1626 | </centerLabelStyle> | ||
1627 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_RDevASokEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114"> | ||
1628 | <customFeatures>labelSize</customFeatures> | ||
1629 | </endLabelStyle> | ||
1630 | </ownedStyle> | ||
1631 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1632 | </ownedDiagramElements> | ||
1633 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
1634 | <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_Bnj68SohEemQnOUhg0mU1A"/> | ||
1635 | <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/> | ||
1636 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/> | ||
1637 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/> | ||
1638 | <target xmi:type="ecore:EPackage" href="model/ft.ecore#/"/> | ||
1639 | </diagram:DSemanticDiagram> | ||
1640 | </xmi:XMI> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath new file mode 100644 index 00000000..eca7bdba --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath | |||
@@ -0,0 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <classpath> | ||
3 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
4 | <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
5 | <classpathentry kind="src" path="src"/> | ||
6 | <classpathentry kind="output" path="bin"/> | ||
7 | </classpath> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore | |||
@@ -0,0 +1 @@ | |||
/bin/ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project new file mode 100644 index 00000000..bd1da900 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>hu.bme.mit.inf.dslreasoner.faulttree.transformation</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | <buildCommand> | ||
9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
10 | <arguments> | ||
11 | </arguments> | ||
12 | </buildCommand> | ||
13 | <buildCommand> | ||
14 | <name>org.eclipse.pde.ManifestBuilder</name> | ||
15 | <arguments> | ||
16 | </arguments> | ||
17 | </buildCommand> | ||
18 | <buildCommand> | ||
19 | <name>org.eclipse.pde.SchemaBuilder</name> | ||
20 | <arguments> | ||
21 | </arguments> | ||
22 | </buildCommand> | ||
23 | </buildSpec> | ||
24 | <natures> | ||
25 | <nature>org.eclipse.pde.PluginNature</nature> | ||
26 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
27 | </natures> | ||
28 | </projectDescription> | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..0c68a61d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs | |||
@@ -0,0 +1,7 @@ | |||
1 | eclipse.preferences.version=1 | ||
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
4 | org.eclipse.jdt.core.compiler.compliance=1.8 | ||
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
7 | org.eclipse.jdt.core.compiler.source=1.8 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF new file mode 100644 index 00000000..ae23171b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF | |||
@@ -0,0 +1,7 @@ | |||
1 | Manifest-Version: 1.0 | ||
2 | Bundle-ManifestVersion: 2 | ||
3 | Bundle-Name: Transformation | ||
4 | Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.transformation | ||
5 | Bundle-Version: 1.0.0.qualifier | ||
6 | Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.transformation | ||
7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties new file mode 100644 index 00000000..34d2e4d2 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties | |||
@@ -0,0 +1,4 @@ | |||
1 | source.. = src/ | ||
2 | output.. = bin/ | ||
3 | bin.includes = META-INF/,\ | ||
4 | . | ||