aboutsummaryrefslogtreecommitdiffstats
path: root/Stochastic
diff options
context:
space:
mode:
Diffstat (limited to 'Stochastic')
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath9
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java60
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java159
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g4161
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens65
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java2001
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java12646
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend11
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend20
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbinbin1712 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbinbin2549 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java13
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath9
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF26
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml434
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java293
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java29
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java229
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java94
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java35
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend12
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend26
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend23
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbinbin3606 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java31
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbinbin1820 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java14
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbinbin1993 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbinbin2885 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java32
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbinbin2451 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbinbin1819 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbinbin3773 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbinbin2740 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java38
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath9
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch18
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF32
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties20
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore60
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel53
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml10
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java208
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbinbin5927 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java42
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java106
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java125
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java1138
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java107
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java52
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java81
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java52
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java69
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java161
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java52
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java71
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java52
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java343
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java226
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java712
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java325
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java176
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java245
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java180
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java220
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java467
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java180
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java244
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java180
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java313
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java329
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java16
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java40
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g1688
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens65
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java2001
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java4509
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java9
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java383
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java242
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java1412
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java21
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java22
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext101
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe248
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend35
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend27
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend30
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend45
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend147
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbinbin3436 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbinbin2015 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java44
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java16
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbinbin3002 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbinbin4411 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java18
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java58
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbinbin2365 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java21
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbinbin3630 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbinbin3283 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore6
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java35
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java46
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbinbin4651 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbinbin9417 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore8
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java63
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java264
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbinbin1760 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java15
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath9
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project35
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties11
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java17
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java50
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java132
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java1673
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java143
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java103
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java69
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java79
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java50
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java17
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java40
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java100
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java76
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java54
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java244
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java17
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java100
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java178
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java268
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java834
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java299
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java218
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java456
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java360
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java163
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java133
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java308
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java220
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java309
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java372
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java421
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java17
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java18
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java18
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java67
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java114
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java1109
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java40
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java17
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java18
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java177
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java39
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java39
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java216
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java193
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java586
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java133
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java37
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java164
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java39
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java354
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java402
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore83
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel69
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore42
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel44
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties4
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird2013
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend48
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbinbin4295 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java69
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath8
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore1
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF22
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties5
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend24
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend90
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend208
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend39
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend65
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend16
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend28
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend35
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend47
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend91
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend38
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend57
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend51
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend45
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend182
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend43
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore8
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbinbin2825 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbinbin7022 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbinbin12110 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbinbin4029 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore16
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java49
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java188
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java469
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java57
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbinbin5530 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbinbin5932 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbinbin3472 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbinbin3431 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbinbin4202 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbinbin5169 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbinbin6876 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbinbin4833 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java77
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java77
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java29
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java41
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java43
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java84
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java146
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java60
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbinbin4794 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java188
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbinbin5435 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbinbin4311 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbinbin13570 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbinbin4801 -> 0 bytes
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore20
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java8
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java14
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java156
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java31
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java12
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java330
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java79
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath8
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project34
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore3
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend128
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties5
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml25
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java44
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend128
-rw-r--r--Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore3
318 files changed, 0 insertions, 58254 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath
deleted file mode 100644
index 9081d4f7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<classpath>
3 <classpathentry kind="src" path="src"/>
4 <classpathentry kind="src" path="src-gen"/>
5 <classpathentry kind="src" path="xtend-gen"/>
6 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
7 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore
deleted file mode 100644
index ae3c1726..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
1/bin/
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project
deleted file mode 100644
index 7e994188..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project
+++ /dev/null
@@ -1,34 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dslreasoner.faulttree.components.ide</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.xtext.ui.shared.xtextNature</nature>
31 <nature>org.eclipse.jdt.core.javanature</nature>
32 <nature>org.eclipse.pde.PluginNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c02..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
1eclipse.preferences.version=1
2encoding/<project>=UTF-8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.eclipse.jdt.core.compiler.source=1.8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF
deleted file mode 100644
index 15d6a9f9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,15 +0,0 @@
1Manifest-Version: 1.0
2Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ide
3Bundle-ManifestVersion: 2
4Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ide
5Bundle-Vendor: My Company
6Bundle-Version: 1.0.0.qualifier
7Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components.ide; singleton:=true
8Bundle-ActivationPolicy: lazy
9Require-Bundle: hu.bme.mit.inf.dslreasoner.faulttree.components,
10 org.eclipse.xtext.ide,
11 org.eclipse.xtext.xbase.ide,
12 org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
13Bundle-RequiredExecutionEnvironment: JavaSE-1.8
14Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr,
15 hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties
deleted file mode 100644
index 5c6bbf99..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
1source.. = src/,\
2 src-gen/,\
3 xtend-gen/
4bin.includes = .,\
5 META-INF/
6bin.excludes = **/*.xtend
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup
deleted file mode 100644
index 73a0041c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup
+++ /dev/null
@@ -1 +0,0 @@
1hu.bme.mit.inf.dslreasoner.faulttree.components.ide.CftLanguageIdeSetup
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java
deleted file mode 100644
index f17cf7d5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java
+++ /dev/null
@@ -1,60 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide;
5
6import com.google.inject.Binder;
7import com.google.inject.name.Names;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.CftLanguageParser;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageLexer;
10import org.eclipse.xtext.ide.DefaultIdeModule;
11import org.eclipse.xtext.ide.LexerIdeBindings;
12import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher;
13import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher;
14import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper;
15import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper;
16import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
17import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
18import org.eclipse.xtext.ide.refactoring.IRenameStrategy2;
19import org.eclipse.xtext.ide.server.rename.IRenameService;
20import org.eclipse.xtext.ide.server.rename.RenameService;
21
22/**
23 * Manual modifications go to {@link CftLanguageIdeModule}.
24 */
25@SuppressWarnings("all")
26public abstract class AbstractCftLanguageIdeModule extends DefaultIdeModule {
27
28 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
29 public void configureContentAssistLexer(Binder binder) {
30 binder.bind(Lexer.class)
31 .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
32 .to(InternalCftLanguageLexer.class);
33 }
34
35 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
36 public Class<? extends IContentAssistParser> bindIContentAssistParser() {
37 return CftLanguageParser.class;
38 }
39
40 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
41 public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
42 return AntlrProposalConflictHelper.class;
43 }
44
45 // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
46 public Class<? extends IPrefixMatcher> bindIPrefixMatcher() {
47 return FQNPrefixMatcher.class;
48 }
49
50 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
51 public Class<? extends IRenameService> bindIRenameService() {
52 return RenameService.class;
53 }
54
55 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
56 public Class<? extends IRenameStrategy2> bindIRenameStrategy2() {
57 return IRenameStrategy2.DefaultImpl.class;
58 }
59
60}
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
deleted file mode 100644
index b524557f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java
+++ /dev/null
@@ -1,159 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr;
5
6import com.google.common.collect.ImmutableMap;
7import com.google.inject.Inject;
8import com.google.inject.Singleton;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageParser;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
11import java.util.Map;
12import org.eclipse.xtext.AbstractElement;
13import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser;
14
15public class CftLanguageParser extends AbstractContentAssistParser {
16
17 @Singleton
18 public static final class NameMappings {
19
20 private final Map<AbstractElement, String> mappings;
21
22 @Inject
23 public NameMappings(CftLanguageGrammarAccess grammarAccess) {
24 ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
25 init(builder, grammarAccess);
26 this.mappings = builder.build();
27 }
28
29 public String getRuleName(AbstractElement element) {
30 return mappings.get(element);
31 }
32
33 private static void init(ImmutableMap.Builder<AbstractElement, String> builder, CftLanguageGrammarAccess grammarAccess) {
34 builder.put(grammarAccess.getCftModelAccess().getAlternatives_4(), "rule__CftModel__Alternatives_4");
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");
38 builder.put(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2(), "rule__KOfMGateDefinition__Alternatives_2");
39 builder.put(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0(), "rule__MappingDefinition__Alternatives_8_1_0");
40 builder.put(grammarAccess.getVariableAccess().getAlternatives(), "rule__Variable__Alternatives");
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");
44 builder.put(grammarAccess.getCftModelAccess().getGroup(), "rule__CftModel__Group__0");
45 builder.put(grammarAccess.getImportDeclarationAccess().getGroup(), "rule__ImportDeclaration__Group__0");
46 builder.put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0");
47 builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_0(), "rule__ComponentDefinition__Group_3_0__0");
48 builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_1(), "rule__ComponentDefinition__Group_3_1__0");
49 builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_4(), "rule__ComponentDefinition__Group_4__0");
50 builder.put(grammarAccess.getInputEventAccess().getGroup(), "rule__InputEvent__Group__0");
51 builder.put(grammarAccess.getBasicEventDefinitionAccess().getGroup(), "rule__BasicEventDefinition__Group__0");
52 builder.put(grammarAccess.getConstantDistributionAccess().getGroup(), "rule__ConstantDistribution__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");
58 builder.put(grammarAccess.getTransformationDefinitionAccess().getGroup(), "rule__TransformationDefinition__Group__0");
59 builder.put(grammarAccess.getMappingDefinitionAccess().getGroup(), "rule__MappingDefinition__Group__0");
60 builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_5(), "rule__MappingDefinition__Group_5__0");
61 builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_8(), "rule__MappingDefinition__Group_8__0");
62 builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_8_1(), "rule__MappingDefinition__Group_8_1__0");
63 builder.put(grammarAccess.getLookupDefinitionAccess().getGroup(), "rule__LookupDefinition__Group__0");
64 builder.put(grammarAccess.getLookupDefinitionAccess().getGroup_4(), "rule__LookupDefinition__Group_4__0");
65 builder.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0");
66 builder.put(grammarAccess.getEventReferenceAccess().getGroup(), "rule__EventReference__Group__0");
67 builder.put(grammarAccess.getComponentInstanceAccess().getGroup(), "rule__ComponentInstance__Group__0");
68 builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0");
69 builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0");
70 builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0");
71 builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1(), "rule__QualifiedNameWithWildcard__Group_1__0");
72 builder.put(grammarAccess.getCftModelAccess().getPackageNameAssignment_1(), "rule__CftModel__PackageNameAssignment_1");
73 builder.put(grammarAccess.getCftModelAccess().getImportsAssignment_3(), "rule__CftModel__ImportsAssignment_3");
74 builder.put(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0(), "rule__CftModel__ComponentDefinitionsAssignment_4_0");
75 builder.put(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1(), "rule__CftModel__TransformationDefinitionsAssignment_4_1");
76 builder.put(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1(), "rule__ImportDeclaration__ImportedNamespaceAssignment_1");
77 builder.put(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1(), "rule__ComponentDefinition__NameAssignment_1");
78 builder.put(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1(), "rule__ComponentDefinition__InputEventsAssignment_3_0_1");
79 builder.put(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1(), "rule__ComponentDefinition__OutputEventsAssignment_3_1_1");
80 builder.put(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0(), "rule__ComponentDefinition__EventDefinitionsAssignment_4_0");
81 builder.put(grammarAccess.getInputEventAccess().getNameAssignment_0(), "rule__InputEvent__NameAssignment_0");
82 builder.put(grammarAccess.getInputEventAccess().getMultipleAssignment_1(), "rule__InputEvent__MultipleAssignment_1");
83 builder.put(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0(), "rule__BasicEventDefinition__NameAssignment_0");
84 builder.put(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1(), "rule__BasicEventDefinition__DistributionAssignment_1");
85 builder.put(grammarAccess.getConstantDistributionAccess().getPAssignment_2(), "rule__ConstantDistribution__PAssignment_2");
86 builder.put(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2(), "rule__ExponentialDistribution__LambdaAssignment_2");
87 builder.put(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0(), "rule__AndGateDefinition__NameAssignment_0");
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");
96 builder.put(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1(), "rule__TransformationDefinition__NameAssignment_1");
97 builder.put(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3(), "rule__TransformationDefinition__MappingDefinitionsAssignment_3");
98 builder.put(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0(), "rule__MappingDefinition__TopLevelAssignment_0");
99 builder.put(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2(), "rule__MappingDefinition__PatternAssignment_2");
100 builder.put(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4(), "rule__MappingDefinition__ParametersAssignment_4");
101 builder.put(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1(), "rule__MappingDefinition__ParametersAssignment_5_1");
102 builder.put(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7(), "rule__MappingDefinition__ComponentInstanceAssignment_7");
103 builder.put(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0(), "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0");
104 builder.put(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1(), "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1");
105 builder.put(grammarAccess.getMappingParameterAccess().getNameAssignment(), "rule__MappingParameter__NameAssignment");
106 builder.put(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1(), "rule__LookupDefinition__MappingAssignment_1");
107 builder.put(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3(), "rule__LookupDefinition__ArgumentsAssignment_3");
108 builder.put(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1(), "rule__LookupDefinition__ArgumentsAssignment_4_1");
109 builder.put(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7(), "rule__LookupDefinition__NameAssignment_7");
110 builder.put(grammarAccess.getAssignmentAccess().getInputAssignment_0(), "rule__Assignment__InputAssignment_0");
111 builder.put(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0(), "rule__Assignment__MultipleAssignment_1_0");
112 builder.put(grammarAccess.getAssignmentAccess().getOutputAssignment_2(), "rule__Assignment__OutputAssignment_2");
113 builder.put(grammarAccess.getEventReferenceAccess().getComponentAssignment_0(), "rule__EventReference__ComponentAssignment_0");
114 builder.put(grammarAccess.getEventReferenceAccess().getEventAssignment_2(), "rule__EventReference__EventAssignment_2");
115 builder.put(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1(), "rule__ComponentInstance__ComponentTypeAssignment_1");
116 builder.put(grammarAccess.getComponentInstanceAccess().getNameAssignment_2(), "rule__ComponentInstance__NameAssignment_2");
117 builder.put(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), "rule__ComponentDefinition__UnorderedGroup_3");
118 }
119 }
120
121 @Inject
122 private NameMappings nameMappings;
123
124 @Inject
125 private CftLanguageGrammarAccess grammarAccess;
126
127 @Override
128 protected InternalCftLanguageParser createParser() {
129 InternalCftLanguageParser result = new InternalCftLanguageParser(null);
130 result.setGrammarAccess(grammarAccess);
131 return result;
132 }
133
134 @Override
135 protected String getRuleName(AbstractElement element) {
136 return nameMappings.getRuleName(element);
137 }
138
139 @Override
140 protected String[] getInitialHiddenTokens() {
141 return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
142 }
143
144 public CftLanguageGrammarAccess getGrammarAccess() {
145 return this.grammarAccess;
146 }
147
148 public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) {
149 this.grammarAccess = grammarAccess;
150 }
151
152 public NameMappings getNameMappings() {
153 return nameMappings;
154 }
155
156 public void setNameMappings(NameMappings nameMappings) {
157 this.nameMappings = nameMappings;
158 }
159}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java
deleted file mode 100644
index 11f5a864..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java
+++ /dev/null
@@ -1,34 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr;
5
6import java.util.Collection;
7import java.util.Collections;
8import org.eclipse.xtext.AbstractRule;
9import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement;
10import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
11import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser;
12import org.eclipse.xtext.util.PolymorphicDispatcher;
13
14public class PartialCftLanguageContentAssistParser extends CftLanguageParser implements IPartialEditingContentAssistParser {
15
16 private AbstractRule rule;
17
18 @Override
19 public void initializeFor(AbstractRule rule) {
20 this.rule = rule;
21 }
22
23 @Override
24 protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
25 if (rule == null || rule.eIsProxy())
26 return Collections.emptyList();
27 String methodName = "entryRule" + rule.getName();
28 PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
29 new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
30 dispatcher.invoke();
31 return parser.getFollowElements();
32 }
33
34}
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
deleted file mode 100644
index 6ccf7334..00000000
--- 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
+++ /dev/null
@@ -1,4161 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4grammar InternalCftLanguage;
5
6options {
7 superClass=AbstractInternalContentAssistParser;
8}
9
10@lexer::header {
11package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal;
12
13// Hack: Use our own Lexer superclass by means of import.
14// Currently there is no other way to specify the superclass for the lexer.
15import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
16}
17
18@parser::header {
19package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal;
20
21import java.io.InputStream;
22import org.eclipse.xtext.*;
23import org.eclipse.xtext.parser.*;
24import org.eclipse.xtext.parser.impl.*;
25import org.eclipse.emf.ecore.util.EcoreUtil;
26import org.eclipse.emf.ecore.EObject;
27import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
30import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
31import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
32
33}
34@parser::members {
35 private CftLanguageGrammarAccess grammarAccess;
36
37 public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) {
38 this.grammarAccess = grammarAccess;
39 }
40
41 @Override
42 protected Grammar getGrammar() {
43 return grammarAccess.getGrammar();
44 }
45
46 @Override
47 protected String getValueForTokenName(String tokenName) {
48 return tokenName;
49 }
50}
51
52// Entry rule entryRuleCftModel
53entryRuleCftModel
54:
55{ before(grammarAccess.getCftModelRule()); }
56 ruleCftModel
57{ after(grammarAccess.getCftModelRule()); }
58 EOF
59;
60
61// Rule CftModel
62ruleCftModel
63 @init {
64 int stackSize = keepStackSize();
65 }
66 :
67 (
68 { before(grammarAccess.getCftModelAccess().getGroup()); }
69 (rule__CftModel__Group__0)
70 { after(grammarAccess.getCftModelAccess().getGroup()); }
71 )
72;
73finally {
74 restoreStackSize(stackSize);
75}
76
77// Entry rule entryRuleImportDeclaration
78entryRuleImportDeclaration
79:
80{ before(grammarAccess.getImportDeclarationRule()); }
81 ruleImportDeclaration
82{ after(grammarAccess.getImportDeclarationRule()); }
83 EOF
84;
85
86// Rule ImportDeclaration
87ruleImportDeclaration
88 @init {
89 int stackSize = keepStackSize();
90 }
91 :
92 (
93 { before(grammarAccess.getImportDeclarationAccess().getGroup()); }
94 (rule__ImportDeclaration__Group__0)
95 { after(grammarAccess.getImportDeclarationAccess().getGroup()); }
96 )
97;
98finally {
99 restoreStackSize(stackSize);
100}
101
102// Entry rule entryRuleComponentDefinition
103entryRuleComponentDefinition
104:
105{ before(grammarAccess.getComponentDefinitionRule()); }
106 ruleComponentDefinition
107{ after(grammarAccess.getComponentDefinitionRule()); }
108 EOF
109;
110
111// Rule ComponentDefinition
112ruleComponentDefinition
113 @init {
114 int stackSize = keepStackSize();
115 }
116 :
117 (
118 { before(grammarAccess.getComponentDefinitionAccess().getGroup()); }
119 (rule__ComponentDefinition__Group__0)
120 { after(grammarAccess.getComponentDefinitionAccess().getGroup()); }
121 )
122;
123finally {
124 restoreStackSize(stackSize);
125}
126
127// Entry rule entryRuleInputEvent
128entryRuleInputEvent
129:
130{ before(grammarAccess.getInputEventRule()); }
131 ruleInputEvent
132{ after(grammarAccess.getInputEventRule()); }
133 EOF
134;
135
136// Rule InputEvent
137ruleInputEvent
138 @init {
139 int stackSize = keepStackSize();
140 }
141 :
142 (
143 { before(grammarAccess.getInputEventAccess().getGroup()); }
144 (rule__InputEvent__Group__0)
145 { after(grammarAccess.getInputEventAccess().getGroup()); }
146 )
147;
148finally {
149 restoreStackSize(stackSize);
150}
151
152// Entry rule entryRuleEventDefinition
153entryRuleEventDefinition
154:
155{ before(grammarAccess.getEventDefinitionRule()); }
156 ruleEventDefinition
157{ after(grammarAccess.getEventDefinitionRule()); }
158 EOF
159;
160
161// Rule EventDefinition
162ruleEventDefinition
163 @init {
164 int stackSize = keepStackSize();
165 }
166 :
167 (
168 { before(grammarAccess.getEventDefinitionAccess().getAlternatives()); }
169 (rule__EventDefinition__Alternatives)
170 { after(grammarAccess.getEventDefinitionAccess().getAlternatives()); }
171 )
172;
173finally {
174 restoreStackSize(stackSize);
175}
176
177// Entry rule entryRuleBasicEventDefinition
178entryRuleBasicEventDefinition
179:
180{ before(grammarAccess.getBasicEventDefinitionRule()); }
181 ruleBasicEventDefinition
182{ after(grammarAccess.getBasicEventDefinitionRule()); }
183 EOF
184;
185
186// Rule BasicEventDefinition
187ruleBasicEventDefinition
188 @init {
189 int stackSize = keepStackSize();
190 }
191 :
192 (
193 { before(grammarAccess.getBasicEventDefinitionAccess().getGroup()); }
194 (rule__BasicEventDefinition__Group__0)
195 { after(grammarAccess.getBasicEventDefinitionAccess().getGroup()); }
196 )
197;
198finally {
199 restoreStackSize(stackSize);
200}
201
202// Entry rule entryRuleDistribution
203entryRuleDistribution
204:
205{ before(grammarAccess.getDistributionRule()); }
206 ruleDistribution
207{ after(grammarAccess.getDistributionRule()); }
208 EOF
209;
210
211// Rule Distribution
212ruleDistribution
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;
223finally {
224 restoreStackSize(stackSize);
225}
226
227// Entry rule entryRuleConstantDistribution
228entryRuleConstantDistribution
229:
230{ before(grammarAccess.getConstantDistributionRule()); }
231 ruleConstantDistribution
232{ after(grammarAccess.getConstantDistributionRule()); }
233 EOF
234;
235
236// Rule ConstantDistribution
237ruleConstantDistribution
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;
248finally {
249 restoreStackSize(stackSize);
250}
251
252// Entry rule entryRuleExponentialDistribution
253entryRuleExponentialDistribution
254:
255{ before(grammarAccess.getExponentialDistributionRule()); }
256 ruleExponentialDistribution
257{ after(grammarAccess.getExponentialDistributionRule()); }
258 EOF
259;
260
261// Rule ExponentialDistribution
262ruleExponentialDistribution
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;
273finally {
274 restoreStackSize(stackSize);
275}
276
277// Entry rule entryRuleGateDefinition
278entryRuleGateDefinition
279:
280{ before(grammarAccess.getGateDefinitionRule()); }
281 ruleGateDefinition
282{ after(grammarAccess.getGateDefinitionRule()); }
283 EOF
284;
285
286// Rule GateDefinition
287ruleGateDefinition
288 @init {
289 int stackSize = keepStackSize();
290 }
291 :
292 (
293 { before(grammarAccess.getGateDefinitionAccess().getAlternatives()); }
294 (rule__GateDefinition__Alternatives)
295 { after(grammarAccess.getGateDefinitionAccess().getAlternatives()); }
296 )
297;
298finally {
299 restoreStackSize(stackSize);
300}
301
302// Entry rule entryRuleAndGateDefinition
303entryRuleAndGateDefinition
304:
305{ before(grammarAccess.getAndGateDefinitionRule()); }
306 ruleAndGateDefinition
307{ after(grammarAccess.getAndGateDefinitionRule()); }
308 EOF
309;
310
311// Rule AndGateDefinition
312ruleAndGateDefinition
313 @init {
314 int stackSize = keepStackSize();
315 }
316 :
317 (
318 { before(grammarAccess.getAndGateDefinitionAccess().getGroup()); }
319 (rule__AndGateDefinition__Group__0)
320 { after(grammarAccess.getAndGateDefinitionAccess().getGroup()); }
321 )
322;
323finally {
324 restoreStackSize(stackSize);
325}
326
327// Entry rule entryRuleOrGateDefinition
328entryRuleOrGateDefinition
329:
330{ before(grammarAccess.getOrGateDefinitionRule()); }
331 ruleOrGateDefinition
332{ after(grammarAccess.getOrGateDefinitionRule()); }
333 EOF
334;
335
336// Rule OrGateDefinition
337ruleOrGateDefinition
338 @init {
339 int stackSize = keepStackSize();
340 }
341 :
342 (
343 { before(grammarAccess.getOrGateDefinitionAccess().getGroup()); }
344 (rule__OrGateDefinition__Group__0)
345 { after(grammarAccess.getOrGateDefinitionAccess().getGroup()); }
346 )
347;
348finally {
349 restoreStackSize(stackSize);
350}
351
352// Entry rule entryRuleKOfMGateDefinition
353entryRuleKOfMGateDefinition
354:
355{ before(grammarAccess.getKOfMGateDefinitionRule()); }
356 ruleKOfMGateDefinition
357{ after(grammarAccess.getKOfMGateDefinitionRule()); }
358 EOF
359;
360
361// Rule KOfMGateDefinition
362ruleKOfMGateDefinition
363 @init {
364 int stackSize = keepStackSize();
365 }
366 :
367 (
368 { before(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); }
369 (rule__KOfMGateDefinition__Group__0)
370 { after(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); }
371 )
372;
373finally {
374 restoreStackSize(stackSize);
375}
376
377// Entry rule entryRuleTransformationDefinition
378entryRuleTransformationDefinition
379:
380{ before(grammarAccess.getTransformationDefinitionRule()); }
381 ruleTransformationDefinition
382{ after(grammarAccess.getTransformationDefinitionRule()); }
383 EOF
384;
385
386// Rule TransformationDefinition
387ruleTransformationDefinition
388 @init {
389 int stackSize = keepStackSize();
390 }
391 :
392 (
393 { before(grammarAccess.getTransformationDefinitionAccess().getGroup()); }
394 (rule__TransformationDefinition__Group__0)
395 { after(grammarAccess.getTransformationDefinitionAccess().getGroup()); }
396 )
397;
398finally {
399 restoreStackSize(stackSize);
400}
401
402// Entry rule entryRuleMappingDefinition
403entryRuleMappingDefinition
404:
405{ before(grammarAccess.getMappingDefinitionRule()); }
406 ruleMappingDefinition
407{ after(grammarAccess.getMappingDefinitionRule()); }
408 EOF
409;
410
411// Rule MappingDefinition
412ruleMappingDefinition
413 @init {
414 int stackSize = keepStackSize();
415 }
416 :
417 (
418 { before(grammarAccess.getMappingDefinitionAccess().getGroup()); }
419 (rule__MappingDefinition__Group__0)
420 { after(grammarAccess.getMappingDefinitionAccess().getGroup()); }
421 )
422;
423finally {
424 restoreStackSize(stackSize);
425}
426
427// Entry rule entryRuleMappingParameter
428entryRuleMappingParameter
429:
430{ before(grammarAccess.getMappingParameterRule()); }
431 ruleMappingParameter
432{ after(grammarAccess.getMappingParameterRule()); }
433 EOF
434;
435
436// Rule MappingParameter
437ruleMappingParameter
438 @init {
439 int stackSize = keepStackSize();
440 }
441 :
442 (
443 { before(grammarAccess.getMappingParameterAccess().getNameAssignment()); }
444 (rule__MappingParameter__NameAssignment)
445 { after(grammarAccess.getMappingParameterAccess().getNameAssignment()); }
446 )
447;
448finally {
449 restoreStackSize(stackSize);
450}
451
452// Entry rule entryRuleLookupDefinition
453entryRuleLookupDefinition
454:
455{ before(grammarAccess.getLookupDefinitionRule()); }
456 ruleLookupDefinition
457{ after(grammarAccess.getLookupDefinitionRule()); }
458 EOF
459;
460
461// Rule LookupDefinition
462ruleLookupDefinition
463 @init {
464 int stackSize = keepStackSize();
465 }
466 :
467 (
468 { before(grammarAccess.getLookupDefinitionAccess().getGroup()); }
469 (rule__LookupDefinition__Group__0)
470 { after(grammarAccess.getLookupDefinitionAccess().getGroup()); }
471 )
472;
473finally {
474 restoreStackSize(stackSize);
475}
476
477// Entry rule entryRuleAssignment
478entryRuleAssignment
479:
480{ before(grammarAccess.getAssignmentRule()); }
481 ruleAssignment
482{ after(grammarAccess.getAssignmentRule()); }
483 EOF
484;
485
486// Rule Assignment
487ruleAssignment
488 @init {
489 int stackSize = keepStackSize();
490 }
491 :
492 (
493 { before(grammarAccess.getAssignmentAccess().getGroup()); }
494 (rule__Assignment__Group__0)
495 { after(grammarAccess.getAssignmentAccess().getGroup()); }
496 )
497;
498finally {
499 restoreStackSize(stackSize);
500}
501
502// Entry rule entryRuleEventReference
503entryRuleEventReference
504:
505{ before(grammarAccess.getEventReferenceRule()); }
506 ruleEventReference
507{ after(grammarAccess.getEventReferenceRule()); }
508 EOF
509;
510
511// Rule EventReference
512ruleEventReference
513 @init {
514 int stackSize = keepStackSize();
515 }
516 :
517 (
518 { before(grammarAccess.getEventReferenceAccess().getGroup()); }
519 (rule__EventReference__Group__0)
520 { after(grammarAccess.getEventReferenceAccess().getGroup()); }
521 )
522;
523finally {
524 restoreStackSize(stackSize);
525}
526
527// Entry rule entryRuleComponentInstance
528entryRuleComponentInstance
529:
530{ before(grammarAccess.getComponentInstanceRule()); }
531 ruleComponentInstance
532{ after(grammarAccess.getComponentInstanceRule()); }
533 EOF
534;
535
536// Rule ComponentInstance
537ruleComponentInstance
538 @init {
539 int stackSize = keepStackSize();
540 }
541 :
542 (
543 { before(grammarAccess.getComponentInstanceAccess().getGroup()); }
544 (rule__ComponentInstance__Group__0)
545 { after(grammarAccess.getComponentInstanceAccess().getGroup()); }
546 )
547;
548finally {
549 restoreStackSize(stackSize);
550}
551
552// Entry rule entryRuleQualifiedName
553entryRuleQualifiedName
554:
555{ before(grammarAccess.getQualifiedNameRule()); }
556 ruleQualifiedName
557{ after(grammarAccess.getQualifiedNameRule()); }
558 EOF
559;
560
561// Rule QualifiedName
562ruleQualifiedName
563 @init {
564 int stackSize = keepStackSize();
565 }
566 :
567 (
568 { before(grammarAccess.getQualifiedNameAccess().getGroup()); }
569 (rule__QualifiedName__Group__0)
570 { after(grammarAccess.getQualifiedNameAccess().getGroup()); }
571 )
572;
573finally {
574 restoreStackSize(stackSize);
575}
576
577// Entry rule entryRuleQualifiedNameWithWildcard
578entryRuleQualifiedNameWithWildcard
579:
580{ before(grammarAccess.getQualifiedNameWithWildcardRule()); }
581 ruleQualifiedNameWithWildcard
582{ after(grammarAccess.getQualifiedNameWithWildcardRule()); }
583 EOF
584;
585
586// Rule QualifiedNameWithWildcard
587ruleQualifiedNameWithWildcard
588 @init {
589 int stackSize = keepStackSize();
590 }
591 :
592 (
593 { before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); }
594 (rule__QualifiedNameWithWildcard__Group__0)
595 { after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); }
596 )
597;
598finally {
599 restoreStackSize(stackSize);
600}
601
602// Entry rule entryRuleValidId
603entryRuleValidId
604:
605{ before(grammarAccess.getValidIdRule()); }
606 ruleValidId
607{ after(grammarAccess.getValidIdRule()); }
608 EOF
609;
610
611// Rule ValidId
612ruleValidId
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;
623finally {
624 restoreStackSize(stackSize);
625}
626
627// Entry rule entryRuleDouble
628entryRuleDouble
629:
630{ before(grammarAccess.getDoubleRule()); }
631 ruleDouble
632{ after(grammarAccess.getDoubleRule()); }
633 EOF
634;
635
636// Rule Double
637ruleDouble
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;
648finally {
649 restoreStackSize(stackSize);
650}
651
652rule__CftModel__Alternatives_4
653 @init {
654 int stackSize = keepStackSize();
655 }
656:
657 (
658 { before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); }
659 (rule__CftModel__ComponentDefinitionsAssignment_4_0)
660 { after(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); }
661 )
662 |
663 (
664 { before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); }
665 (rule__CftModel__TransformationDefinitionsAssignment_4_1)
666 { after(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); }
667 )
668;
669finally {
670 restoreStackSize(stackSize);
671}
672
673rule__EventDefinition__Alternatives
674 @init {
675 int stackSize = keepStackSize();
676 }
677:
678 (
679 { before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); }
680 ruleBasicEventDefinition
681 { after(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); }
682 )
683 |
684 (
685 { before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); }
686 ruleGateDefinition
687 { after(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); }
688 )
689;
690finally {
691 restoreStackSize(stackSize);
692}
693
694rule__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;
711finally {
712 restoreStackSize(stackSize);
713}
714
715rule__GateDefinition__Alternatives
716 @init {
717 int stackSize = keepStackSize();
718 }
719:
720 (
721 { before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); }
722 ruleAndGateDefinition
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;
738finally {
739 restoreStackSize(stackSize);
740}
741
742rule__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()); }
751 )
752 |
753 (
754 { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); }
755 (rule__KOfMGateDefinition__MAssignment_2_1)
756 { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); }
757 )
758;
759finally {
760 restoreStackSize(stackSize);
761}
762
763rule__MappingDefinition__Alternatives_8_1_0
764 @init {
765 int stackSize = keepStackSize();
766 }
767:
768 (
769 { before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); }
770 (rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0)
771 { after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); }
772 )
773 |
774 (
775 { before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); }
776 (rule__MappingDefinition__AssignmentsAssignment_8_1_0_1)
777 { after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); }
778 )
779;
780finally {
781 restoreStackSize(stackSize);
782}
783
784rule__Assignment__Alternatives_1
785 @init {
786 int stackSize = keepStackSize();
787 }
788:
789 (
790 { before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); }
791 (rule__Assignment__MultipleAssignment_1_0)
792 { after(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); }
793 )
794 |
795 (
796 { before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); }
797 ':='
798 { after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); }
799 )
800;
801finally {
802 restoreStackSize(stackSize);
803}
804
805rule__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;
822finally {
823 restoreStackSize(stackSize);
824}
825
826rule__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;
843finally {
844 restoreStackSize(stackSize);
845}
846
847rule__CftModel__Group__0
848 @init {
849 int stackSize = keepStackSize();
850 }
851:
852 rule__CftModel__Group__0__Impl
853 rule__CftModel__Group__1
854;
855finally {
856 restoreStackSize(stackSize);
857}
858
859rule__CftModel__Group__0__Impl
860 @init {
861 int stackSize = keepStackSize();
862 }
863:
864(
865 { before(grammarAccess.getCftModelAccess().getPackageKeyword_0()); }
866 'package'
867 { after(grammarAccess.getCftModelAccess().getPackageKeyword_0()); }
868)
869;
870finally {
871 restoreStackSize(stackSize);
872}
873
874rule__CftModel__Group__1
875 @init {
876 int stackSize = keepStackSize();
877 }
878:
879 rule__CftModel__Group__1__Impl
880 rule__CftModel__Group__2
881;
882finally {
883 restoreStackSize(stackSize);
884}
885
886rule__CftModel__Group__1__Impl
887 @init {
888 int stackSize = keepStackSize();
889 }
890:
891(
892 { before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); }
893 (rule__CftModel__PackageNameAssignment_1)
894 { after(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); }
895)
896;
897finally {
898 restoreStackSize(stackSize);
899}
900
901rule__CftModel__Group__2
902 @init {
903 int stackSize = keepStackSize();
904 }
905:
906 rule__CftModel__Group__2__Impl
907 rule__CftModel__Group__3
908;
909finally {
910 restoreStackSize(stackSize);
911}
912
913rule__CftModel__Group__2__Impl
914 @init {
915 int stackSize = keepStackSize();
916 }
917:
918(
919 { before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); }
920 (';')?
921 { after(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); }
922)
923;
924finally {
925 restoreStackSize(stackSize);
926}
927
928rule__CftModel__Group__3
929 @init {
930 int stackSize = keepStackSize();
931 }
932:
933 rule__CftModel__Group__3__Impl
934 rule__CftModel__Group__4
935;
936finally {
937 restoreStackSize(stackSize);
938}
939
940rule__CftModel__Group__3__Impl
941 @init {
942 int stackSize = keepStackSize();
943 }
944:
945(
946 { before(grammarAccess.getCftModelAccess().getImportsAssignment_3()); }
947 (rule__CftModel__ImportsAssignment_3)*
948 { after(grammarAccess.getCftModelAccess().getImportsAssignment_3()); }
949)
950;
951finally {
952 restoreStackSize(stackSize);
953}
954
955rule__CftModel__Group__4
956 @init {
957 int stackSize = keepStackSize();
958 }
959:
960 rule__CftModel__Group__4__Impl
961;
962finally {
963 restoreStackSize(stackSize);
964}
965
966rule__CftModel__Group__4__Impl
967 @init {
968 int stackSize = keepStackSize();
969 }
970:
971(
972 { before(grammarAccess.getCftModelAccess().getAlternatives_4()); }
973 (rule__CftModel__Alternatives_4)*
974 { after(grammarAccess.getCftModelAccess().getAlternatives_4()); }
975)
976;
977finally {
978 restoreStackSize(stackSize);
979}
980
981
982rule__ImportDeclaration__Group__0
983 @init {
984 int stackSize = keepStackSize();
985 }
986:
987 rule__ImportDeclaration__Group__0__Impl
988 rule__ImportDeclaration__Group__1
989;
990finally {
991 restoreStackSize(stackSize);
992}
993
994rule__ImportDeclaration__Group__0__Impl
995 @init {
996 int stackSize = keepStackSize();
997 }
998:
999(
1000 { before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); }
1001 'import'
1002 { after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); }
1003)
1004;
1005finally {
1006 restoreStackSize(stackSize);
1007}
1008
1009rule__ImportDeclaration__Group__1
1010 @init {
1011 int stackSize = keepStackSize();
1012 }
1013:
1014 rule__ImportDeclaration__Group__1__Impl
1015 rule__ImportDeclaration__Group__2
1016;
1017finally {
1018 restoreStackSize(stackSize);
1019}
1020
1021rule__ImportDeclaration__Group__1__Impl
1022 @init {
1023 int stackSize = keepStackSize();
1024 }
1025:
1026(
1027 { before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); }
1028 (rule__ImportDeclaration__ImportedNamespaceAssignment_1)
1029 { after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); }
1030)
1031;
1032finally {
1033 restoreStackSize(stackSize);
1034}
1035
1036rule__ImportDeclaration__Group__2
1037 @init {
1038 int stackSize = keepStackSize();
1039 }
1040:
1041 rule__ImportDeclaration__Group__2__Impl
1042;
1043finally {
1044 restoreStackSize(stackSize);
1045}
1046
1047rule__ImportDeclaration__Group__2__Impl
1048 @init {
1049 int stackSize = keepStackSize();
1050 }
1051:
1052(
1053 { before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); }
1054 (';')?
1055 { after(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); }
1056)
1057;
1058finally {
1059 restoreStackSize(stackSize);
1060}
1061
1062
1063rule__ComponentDefinition__Group__0
1064 @init {
1065 int stackSize = keepStackSize();
1066 }
1067:
1068 rule__ComponentDefinition__Group__0__Impl
1069 rule__ComponentDefinition__Group__1
1070;
1071finally {
1072 restoreStackSize(stackSize);
1073}
1074
1075rule__ComponentDefinition__Group__0__Impl
1076 @init {
1077 int stackSize = keepStackSize();
1078 }
1079:
1080(
1081 { before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); }
1082 'cft'
1083 { after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); }
1084)
1085;
1086finally {
1087 restoreStackSize(stackSize);
1088}
1089
1090rule__ComponentDefinition__Group__1
1091 @init {
1092 int stackSize = keepStackSize();
1093 }
1094:
1095 rule__ComponentDefinition__Group__1__Impl
1096 rule__ComponentDefinition__Group__2
1097;
1098finally {
1099 restoreStackSize(stackSize);
1100}
1101
1102rule__ComponentDefinition__Group__1__Impl
1103 @init {
1104 int stackSize = keepStackSize();
1105 }
1106:
1107(
1108 { before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); }
1109 (rule__ComponentDefinition__NameAssignment_1)
1110 { after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); }
1111)
1112;
1113finally {
1114 restoreStackSize(stackSize);
1115}
1116
1117rule__ComponentDefinition__Group__2
1118 @init {
1119 int stackSize = keepStackSize();
1120 }
1121:
1122 rule__ComponentDefinition__Group__2__Impl
1123 rule__ComponentDefinition__Group__3
1124;
1125finally {
1126 restoreStackSize(stackSize);
1127}
1128
1129rule__ComponentDefinition__Group__2__Impl
1130 @init {
1131 int stackSize = keepStackSize();
1132 }
1133:
1134(
1135 { before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); }
1136 '{'
1137 { after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); }
1138)
1139;
1140finally {
1141 restoreStackSize(stackSize);
1142}
1143
1144rule__ComponentDefinition__Group__3
1145 @init {
1146 int stackSize = keepStackSize();
1147 }
1148:
1149 rule__ComponentDefinition__Group__3__Impl
1150 rule__ComponentDefinition__Group__4
1151;
1152finally {
1153 restoreStackSize(stackSize);
1154}
1155
1156rule__ComponentDefinition__Group__3__Impl
1157 @init {
1158 int stackSize = keepStackSize();
1159 }
1160:
1161(
1162 { before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); }
1163 (rule__ComponentDefinition__UnorderedGroup_3)
1164 { after(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); }
1165)
1166;
1167finally {
1168 restoreStackSize(stackSize);
1169}
1170
1171rule__ComponentDefinition__Group__4
1172 @init {
1173 int stackSize = keepStackSize();
1174 }
1175:
1176 rule__ComponentDefinition__Group__4__Impl
1177 rule__ComponentDefinition__Group__5
1178;
1179finally {
1180 restoreStackSize(stackSize);
1181}
1182
1183rule__ComponentDefinition__Group__4__Impl
1184 @init {
1185 int stackSize = keepStackSize();
1186 }
1187:
1188(
1189 { before(grammarAccess.getComponentDefinitionAccess().getGroup_4()); }
1190 (rule__ComponentDefinition__Group_4__0)*
1191 { after(grammarAccess.getComponentDefinitionAccess().getGroup_4()); }
1192)
1193;
1194finally {
1195 restoreStackSize(stackSize);
1196}
1197
1198rule__ComponentDefinition__Group__5
1199 @init {
1200 int stackSize = keepStackSize();
1201 }
1202:
1203 rule__ComponentDefinition__Group__5__Impl
1204;
1205finally {
1206 restoreStackSize(stackSize);
1207}
1208
1209rule__ComponentDefinition__Group__5__Impl
1210 @init {
1211 int stackSize = keepStackSize();
1212 }
1213:
1214(
1215 { before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); }
1216 '}'
1217 { after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); }
1218)
1219;
1220finally {
1221 restoreStackSize(stackSize);
1222}
1223
1224
1225rule__ComponentDefinition__Group_3_0__0
1226 @init {
1227 int stackSize = keepStackSize();
1228 }
1229:
1230 rule__ComponentDefinition__Group_3_0__0__Impl
1231 rule__ComponentDefinition__Group_3_0__1
1232;
1233finally {
1234 restoreStackSize(stackSize);
1235}
1236
1237rule__ComponentDefinition__Group_3_0__0__Impl
1238 @init {
1239 int stackSize = keepStackSize();
1240 }
1241:
1242(
1243 { before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); }
1244 'in'
1245 { after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); }
1246)
1247;
1248finally {
1249 restoreStackSize(stackSize);
1250}
1251
1252rule__ComponentDefinition__Group_3_0__1
1253 @init {
1254 int stackSize = keepStackSize();
1255 }
1256:
1257 rule__ComponentDefinition__Group_3_0__1__Impl
1258 rule__ComponentDefinition__Group_3_0__2
1259;
1260finally {
1261 restoreStackSize(stackSize);
1262}
1263
1264rule__ComponentDefinition__Group_3_0__1__Impl
1265 @init {
1266 int stackSize = keepStackSize();
1267 }
1268:
1269(
1270 { before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); }
1271 (rule__ComponentDefinition__InputEventsAssignment_3_0_1)*
1272 { after(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); }
1273)
1274;
1275finally {
1276 restoreStackSize(stackSize);
1277}
1278
1279rule__ComponentDefinition__Group_3_0__2
1280 @init {
1281 int stackSize = keepStackSize();
1282 }
1283:
1284 rule__ComponentDefinition__Group_3_0__2__Impl
1285;
1286finally {
1287 restoreStackSize(stackSize);
1288}
1289
1290rule__ComponentDefinition__Group_3_0__2__Impl
1291 @init {
1292 int stackSize = keepStackSize();
1293 }
1294:
1295(
1296 { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); }
1297 ';'
1298 { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); }
1299)
1300;
1301finally {
1302 restoreStackSize(stackSize);
1303}
1304
1305
1306rule__ComponentDefinition__Group_3_1__0
1307 @init {
1308 int stackSize = keepStackSize();
1309 }
1310:
1311 rule__ComponentDefinition__Group_3_1__0__Impl
1312 rule__ComponentDefinition__Group_3_1__1
1313;
1314finally {
1315 restoreStackSize(stackSize);
1316}
1317
1318rule__ComponentDefinition__Group_3_1__0__Impl
1319 @init {
1320 int stackSize = keepStackSize();
1321 }
1322:
1323(
1324 { before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); }
1325 'out'
1326 { after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); }
1327)
1328;
1329finally {
1330 restoreStackSize(stackSize);
1331}
1332
1333rule__ComponentDefinition__Group_3_1__1
1334 @init {
1335 int stackSize = keepStackSize();
1336 }
1337:
1338 rule__ComponentDefinition__Group_3_1__1__Impl
1339 rule__ComponentDefinition__Group_3_1__2
1340;
1341finally {
1342 restoreStackSize(stackSize);
1343}
1344
1345rule__ComponentDefinition__Group_3_1__1__Impl
1346 @init {
1347 int stackSize = keepStackSize();
1348 }
1349:
1350(
1351 { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); }
1352 (rule__ComponentDefinition__OutputEventsAssignment_3_1_1)*
1353 { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); }
1354)
1355;
1356finally {
1357 restoreStackSize(stackSize);
1358}
1359
1360rule__ComponentDefinition__Group_3_1__2
1361 @init {
1362 int stackSize = keepStackSize();
1363 }
1364:
1365 rule__ComponentDefinition__Group_3_1__2__Impl
1366;
1367finally {
1368 restoreStackSize(stackSize);
1369}
1370
1371rule__ComponentDefinition__Group_3_1__2__Impl
1372 @init {
1373 int stackSize = keepStackSize();
1374 }
1375:
1376(
1377 { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); }
1378 ';'
1379 { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); }
1380)
1381;
1382finally {
1383 restoreStackSize(stackSize);
1384}
1385
1386
1387rule__ComponentDefinition__Group_4__0
1388 @init {
1389 int stackSize = keepStackSize();
1390 }
1391:
1392 rule__ComponentDefinition__Group_4__0__Impl
1393 rule__ComponentDefinition__Group_4__1
1394;
1395finally {
1396 restoreStackSize(stackSize);
1397}
1398
1399rule__ComponentDefinition__Group_4__0__Impl
1400 @init {
1401 int stackSize = keepStackSize();
1402 }
1403:
1404(
1405 { before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); }
1406 (rule__ComponentDefinition__EventDefinitionsAssignment_4_0)
1407 { after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); }
1408)
1409;
1410finally {
1411 restoreStackSize(stackSize);
1412}
1413
1414rule__ComponentDefinition__Group_4__1
1415 @init {
1416 int stackSize = keepStackSize();
1417 }
1418:
1419 rule__ComponentDefinition__Group_4__1__Impl
1420;
1421finally {
1422 restoreStackSize(stackSize);
1423}
1424
1425rule__ComponentDefinition__Group_4__1__Impl
1426 @init {
1427 int stackSize = keepStackSize();
1428 }
1429:
1430(
1431 { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); }
1432 ';'
1433 { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); }
1434)
1435;
1436finally {
1437 restoreStackSize(stackSize);
1438}
1439
1440
1441rule__InputEvent__Group__0
1442 @init {
1443 int stackSize = keepStackSize();
1444 }
1445:
1446 rule__InputEvent__Group__0__Impl
1447 rule__InputEvent__Group__1
1448;
1449finally {
1450 restoreStackSize(stackSize);
1451}
1452
1453rule__InputEvent__Group__0__Impl
1454 @init {
1455 int stackSize = keepStackSize();
1456 }
1457:
1458(
1459 { before(grammarAccess.getInputEventAccess().getNameAssignment_0()); }
1460 (rule__InputEvent__NameAssignment_0)
1461 { after(grammarAccess.getInputEventAccess().getNameAssignment_0()); }
1462)
1463;
1464finally {
1465 restoreStackSize(stackSize);
1466}
1467
1468rule__InputEvent__Group__1
1469 @init {
1470 int stackSize = keepStackSize();
1471 }
1472:
1473 rule__InputEvent__Group__1__Impl
1474;
1475finally {
1476 restoreStackSize(stackSize);
1477}
1478
1479rule__InputEvent__Group__1__Impl
1480 @init {
1481 int stackSize = keepStackSize();
1482 }
1483:
1484(
1485 { before(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); }
1486 (rule__InputEvent__MultipleAssignment_1)?
1487 { after(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); }
1488)
1489;
1490finally {
1491 restoreStackSize(stackSize);
1492}
1493
1494
1495rule__BasicEventDefinition__Group__0
1496 @init {
1497 int stackSize = keepStackSize();
1498 }
1499:
1500 rule__BasicEventDefinition__Group__0__Impl
1501 rule__BasicEventDefinition__Group__1
1502;
1503finally {
1504 restoreStackSize(stackSize);
1505}
1506
1507rule__BasicEventDefinition__Group__0__Impl
1508 @init {
1509 int stackSize = keepStackSize();
1510 }
1511:
1512(
1513 { before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); }
1514 (rule__BasicEventDefinition__NameAssignment_0)
1515 { after(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); }
1516)
1517;
1518finally {
1519 restoreStackSize(stackSize);
1520}
1521
1522rule__BasicEventDefinition__Group__1
1523 @init {
1524 int stackSize = keepStackSize();
1525 }
1526:
1527 rule__BasicEventDefinition__Group__1__Impl
1528;
1529finally {
1530 restoreStackSize(stackSize);
1531}
1532
1533rule__BasicEventDefinition__Group__1__Impl
1534 @init {
1535 int stackSize = keepStackSize();
1536 }
1537:
1538(
1539 { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); }
1540 (rule__BasicEventDefinition__DistributionAssignment_1)
1541 { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); }
1542)
1543;
1544finally {
1545 restoreStackSize(stackSize);
1546}
1547
1548
1549rule__ConstantDistribution__Group__0
1550 @init {
1551 int stackSize = keepStackSize();
1552 }
1553:
1554 rule__ConstantDistribution__Group__0__Impl
1555 rule__ConstantDistribution__Group__1
1556;
1557finally {
1558 restoreStackSize(stackSize);
1559}
1560
1561rule__ConstantDistribution__Group__0__Impl
1562 @init {
1563 int stackSize = keepStackSize();
1564 }
1565:
1566(
1567 { before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); }
1568 'prob'
1569 { after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); }
1570)
1571;
1572finally {
1573 restoreStackSize(stackSize);
1574}
1575
1576rule__ConstantDistribution__Group__1
1577 @init {
1578 int stackSize = keepStackSize();
1579 }
1580:
1581 rule__ConstantDistribution__Group__1__Impl
1582 rule__ConstantDistribution__Group__2
1583;
1584finally {
1585 restoreStackSize(stackSize);
1586}
1587
1588rule__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;
1599finally {
1600 restoreStackSize(stackSize);
1601}
1602
1603rule__ConstantDistribution__Group__2
1604 @init {
1605 int stackSize = keepStackSize();
1606 }
1607:
1608 rule__ConstantDistribution__Group__2__Impl
1609;
1610finally {
1611 restoreStackSize(stackSize);
1612}
1613
1614rule__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;
1625finally {
1626 restoreStackSize(stackSize);
1627}
1628
1629
1630rule__ExponentialDistribution__Group__0
1631 @init {
1632 int stackSize = keepStackSize();
1633 }
1634:
1635 rule__ExponentialDistribution__Group__0__Impl
1636 rule__ExponentialDistribution__Group__1
1637;
1638finally {
1639 restoreStackSize(stackSize);
1640}
1641
1642rule__ExponentialDistribution__Group__0__Impl
1643 @init {
1644 int stackSize = keepStackSize();
1645 }
1646:
1647(
1648 { before(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); }
1649 'lambda'
1650 { after(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); }
1651)
1652;
1653finally {
1654 restoreStackSize(stackSize);
1655}
1656
1657rule__ExponentialDistribution__Group__1
1658 @init {
1659 int stackSize = keepStackSize();
1660 }
1661:
1662 rule__ExponentialDistribution__Group__1__Impl
1663 rule__ExponentialDistribution__Group__2
1664;
1665finally {
1666 restoreStackSize(stackSize);
1667}
1668
1669rule__ExponentialDistribution__Group__1__Impl
1670 @init {
1671 int stackSize = keepStackSize();
1672 }
1673:
1674(
1675 { before(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); }
1676 '='
1677 { after(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); }
1678)
1679;
1680finally {
1681 restoreStackSize(stackSize);
1682}
1683
1684rule__ExponentialDistribution__Group__2
1685 @init {
1686 int stackSize = keepStackSize();
1687 }
1688:
1689 rule__ExponentialDistribution__Group__2__Impl
1690;
1691finally {
1692 restoreStackSize(stackSize);
1693}
1694
1695rule__ExponentialDistribution__Group__2__Impl
1696 @init {
1697 int stackSize = keepStackSize();
1698 }
1699:
1700(
1701 { before(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); }
1702 (rule__ExponentialDistribution__LambdaAssignment_2)
1703 { after(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); }
1704)
1705;
1706finally {
1707 restoreStackSize(stackSize);
1708}
1709
1710
1711rule__AndGateDefinition__Group__0
1712 @init {
1713 int stackSize = keepStackSize();
1714 }
1715:
1716 rule__AndGateDefinition__Group__0__Impl
1717 rule__AndGateDefinition__Group__1
1718;
1719finally {
1720 restoreStackSize(stackSize);
1721}
1722
1723rule__AndGateDefinition__Group__0__Impl
1724 @init {
1725 int stackSize = keepStackSize();
1726 }
1727:
1728(
1729 { before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); }
1730 (rule__AndGateDefinition__NameAssignment_0)
1731 { after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); }
1732)
1733;
1734finally {
1735 restoreStackSize(stackSize);
1736}
1737
1738rule__AndGateDefinition__Group__1
1739 @init {
1740 int stackSize = keepStackSize();
1741 }
1742:
1743 rule__AndGateDefinition__Group__1__Impl
1744 rule__AndGateDefinition__Group__2
1745;
1746finally {
1747 restoreStackSize(stackSize);
1748}
1749
1750rule__AndGateDefinition__Group__1__Impl
1751 @init {
1752 int stackSize = keepStackSize();
1753 }
1754:
1755(
1756 { before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); }
1757 'and'
1758 { after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); }
1759)
1760;
1761finally {
1762 restoreStackSize(stackSize);
1763}
1764
1765rule__AndGateDefinition__Group__2
1766 @init {
1767 int stackSize = keepStackSize();
1768 }
1769:
1770 rule__AndGateDefinition__Group__2__Impl
1771;
1772finally {
1773 restoreStackSize(stackSize);
1774}
1775
1776rule__AndGateDefinition__Group__2__Impl
1777 @init {
1778 int stackSize = keepStackSize();
1779 }
1780:
1781(
1782 { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); }
1783 (rule__AndGateDefinition__InputEventsAssignment_2)*
1784 { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); }
1785)
1786;
1787finally {
1788 restoreStackSize(stackSize);
1789}
1790
1791
1792rule__OrGateDefinition__Group__0
1793 @init {
1794 int stackSize = keepStackSize();
1795 }
1796:
1797 rule__OrGateDefinition__Group__0__Impl
1798 rule__OrGateDefinition__Group__1
1799;
1800finally {
1801 restoreStackSize(stackSize);
1802}
1803
1804rule__OrGateDefinition__Group__0__Impl
1805 @init {
1806 int stackSize = keepStackSize();
1807 }
1808:
1809(
1810 { before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); }
1811 (rule__OrGateDefinition__NameAssignment_0)
1812 { after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); }
1813)
1814;
1815finally {
1816 restoreStackSize(stackSize);
1817}
1818
1819rule__OrGateDefinition__Group__1
1820 @init {
1821 int stackSize = keepStackSize();
1822 }
1823:
1824 rule__OrGateDefinition__Group__1__Impl
1825 rule__OrGateDefinition__Group__2
1826;
1827finally {
1828 restoreStackSize(stackSize);
1829}
1830
1831rule__OrGateDefinition__Group__1__Impl
1832 @init {
1833 int stackSize = keepStackSize();
1834 }
1835:
1836(
1837 { before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); }
1838 'or'
1839 { after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); }
1840)
1841;
1842finally {
1843 restoreStackSize(stackSize);
1844}
1845
1846rule__OrGateDefinition__Group__2
1847 @init {
1848 int stackSize = keepStackSize();
1849 }
1850:
1851 rule__OrGateDefinition__Group__2__Impl
1852;
1853finally {
1854 restoreStackSize(stackSize);
1855}
1856
1857rule__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;
1868finally {
1869 restoreStackSize(stackSize);
1870}
1871
1872
1873rule__KOfMGateDefinition__Group__0
1874 @init {
1875 int stackSize = keepStackSize();
1876 }
1877:
1878 rule__KOfMGateDefinition__Group__0__Impl
1879 rule__KOfMGateDefinition__Group__1
1880;
1881finally {
1882 restoreStackSize(stackSize);
1883}
1884
1885rule__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;
1896finally {
1897 restoreStackSize(stackSize);
1898}
1899
1900rule__KOfMGateDefinition__Group__1
1901 @init {
1902 int stackSize = keepStackSize();
1903 }
1904:
1905 rule__KOfMGateDefinition__Group__1__Impl
1906 rule__KOfMGateDefinition__Group__2
1907;
1908finally {
1909 restoreStackSize(stackSize);
1910}
1911
1912rule__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;
1923finally {
1924 restoreStackSize(stackSize);
1925}
1926
1927rule__KOfMGateDefinition__Group__2
1928 @init {
1929 int stackSize = keepStackSize();
1930 }
1931:
1932 rule__KOfMGateDefinition__Group__2__Impl
1933 rule__KOfMGateDefinition__Group__3
1934;
1935finally {
1936 restoreStackSize(stackSize);
1937}
1938
1939rule__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;
1950finally {
1951 restoreStackSize(stackSize);
1952}
1953
1954rule__KOfMGateDefinition__Group__3
1955 @init {
1956 int stackSize = keepStackSize();
1957 }
1958:
1959 rule__KOfMGateDefinition__Group__3__Impl
1960;
1961finally {
1962 restoreStackSize(stackSize);
1963}
1964
1965rule__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;
1976finally {
1977 restoreStackSize(stackSize);
1978}
1979
1980
1981rule__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;
1989finally {
1990 restoreStackSize(stackSize);
1991}
1992
1993rule__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()); }
2002)
2003;
2004finally {
2005 restoreStackSize(stackSize);
2006}
2007
2008rule__KOfMGateDefinition__Group_2_0__1
2009 @init {
2010 int stackSize = keepStackSize();
2011 }
2012:
2013 rule__KOfMGateDefinition__Group_2_0__1__Impl
2014;
2015finally {
2016 restoreStackSize(stackSize);
2017}
2018
2019rule__KOfMGateDefinition__Group_2_0__1__Impl
2020 @init {
2021 int stackSize = keepStackSize();
2022 }
2023:
2024(
2025 { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); }
2026 (rule__KOfMGateDefinition__MAssignment_2_0_1)
2027 { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); }
2028)
2029;
2030finally {
2031 restoreStackSize(stackSize);
2032}
2033
2034
2035rule__TransformationDefinition__Group__0
2036 @init {
2037 int stackSize = keepStackSize();
2038 }
2039:
2040 rule__TransformationDefinition__Group__0__Impl
2041 rule__TransformationDefinition__Group__1
2042;
2043finally {
2044 restoreStackSize(stackSize);
2045}
2046
2047rule__TransformationDefinition__Group__0__Impl
2048 @init {
2049 int stackSize = keepStackSize();
2050 }
2051:
2052(
2053 { before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); }
2054 'transformation'
2055 { after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); }
2056)
2057;
2058finally {
2059 restoreStackSize(stackSize);
2060}
2061
2062rule__TransformationDefinition__Group__1
2063 @init {
2064 int stackSize = keepStackSize();
2065 }
2066:
2067 rule__TransformationDefinition__Group__1__Impl
2068 rule__TransformationDefinition__Group__2
2069;
2070finally {
2071 restoreStackSize(stackSize);
2072}
2073
2074rule__TransformationDefinition__Group__1__Impl
2075 @init {
2076 int stackSize = keepStackSize();
2077 }
2078:
2079(
2080 { before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); }
2081 (rule__TransformationDefinition__NameAssignment_1)
2082 { after(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); }
2083)
2084;
2085finally {
2086 restoreStackSize(stackSize);
2087}
2088
2089rule__TransformationDefinition__Group__2
2090 @init {
2091 int stackSize = keepStackSize();
2092 }
2093:
2094 rule__TransformationDefinition__Group__2__Impl
2095 rule__TransformationDefinition__Group__3
2096;
2097finally {
2098 restoreStackSize(stackSize);
2099}
2100
2101rule__TransformationDefinition__Group__2__Impl
2102 @init {
2103 int stackSize = keepStackSize();
2104 }
2105:
2106(
2107 { before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); }
2108 '{'
2109 { after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); }
2110)
2111;
2112finally {
2113 restoreStackSize(stackSize);
2114}
2115
2116rule__TransformationDefinition__Group__3
2117 @init {
2118 int stackSize = keepStackSize();
2119 }
2120:
2121 rule__TransformationDefinition__Group__3__Impl
2122 rule__TransformationDefinition__Group__4
2123;
2124finally {
2125 restoreStackSize(stackSize);
2126}
2127
2128rule__TransformationDefinition__Group__3__Impl
2129 @init {
2130 int stackSize = keepStackSize();
2131 }
2132:
2133(
2134 { before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); }
2135 (rule__TransformationDefinition__MappingDefinitionsAssignment_3)*
2136 { after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); }
2137)
2138;
2139finally {
2140 restoreStackSize(stackSize);
2141}
2142
2143rule__TransformationDefinition__Group__4
2144 @init {
2145 int stackSize = keepStackSize();
2146 }
2147:
2148 rule__TransformationDefinition__Group__4__Impl
2149;
2150finally {
2151 restoreStackSize(stackSize);
2152}
2153
2154rule__TransformationDefinition__Group__4__Impl
2155 @init {
2156 int stackSize = keepStackSize();
2157 }
2158:
2159(
2160 { before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); }
2161 '}'
2162 { after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); }
2163)
2164;
2165finally {
2166 restoreStackSize(stackSize);
2167}
2168
2169
2170rule__MappingDefinition__Group__0
2171 @init {
2172 int stackSize = keepStackSize();
2173 }
2174:
2175 rule__MappingDefinition__Group__0__Impl
2176 rule__MappingDefinition__Group__1
2177;
2178finally {
2179 restoreStackSize(stackSize);
2180}
2181
2182rule__MappingDefinition__Group__0__Impl
2183 @init {
2184 int stackSize = keepStackSize();
2185 }
2186:
2187(
2188 { before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); }
2189 (rule__MappingDefinition__TopLevelAssignment_0)?
2190 { after(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); }
2191)
2192;
2193finally {
2194 restoreStackSize(stackSize);
2195}
2196
2197rule__MappingDefinition__Group__1
2198 @init {
2199 int stackSize = keepStackSize();
2200 }
2201:
2202 rule__MappingDefinition__Group__1__Impl
2203 rule__MappingDefinition__Group__2
2204;
2205finally {
2206 restoreStackSize(stackSize);
2207}
2208
2209rule__MappingDefinition__Group__1__Impl
2210 @init {
2211 int stackSize = keepStackSize();
2212 }
2213:
2214(
2215 { before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); }
2216 'mapping'
2217 { after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); }
2218)
2219;
2220finally {
2221 restoreStackSize(stackSize);
2222}
2223
2224rule__MappingDefinition__Group__2
2225 @init {
2226 int stackSize = keepStackSize();
2227 }
2228:
2229 rule__MappingDefinition__Group__2__Impl
2230 rule__MappingDefinition__Group__3
2231;
2232finally {
2233 restoreStackSize(stackSize);
2234}
2235
2236rule__MappingDefinition__Group__2__Impl
2237 @init {
2238 int stackSize = keepStackSize();
2239 }
2240:
2241(
2242 { before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); }
2243 (rule__MappingDefinition__PatternAssignment_2)
2244 { after(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); }
2245)
2246;
2247finally {
2248 restoreStackSize(stackSize);
2249}
2250
2251rule__MappingDefinition__Group__3
2252 @init {
2253 int stackSize = keepStackSize();
2254 }
2255:
2256 rule__MappingDefinition__Group__3__Impl
2257 rule__MappingDefinition__Group__4
2258;
2259finally {
2260 restoreStackSize(stackSize);
2261}
2262
2263rule__MappingDefinition__Group__3__Impl
2264 @init {
2265 int stackSize = keepStackSize();
2266 }
2267:
2268(
2269 { before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); }
2270 '('
2271 { after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); }
2272)
2273;
2274finally {
2275 restoreStackSize(stackSize);
2276}
2277
2278rule__MappingDefinition__Group__4
2279 @init {
2280 int stackSize = keepStackSize();
2281 }
2282:
2283 rule__MappingDefinition__Group__4__Impl
2284 rule__MappingDefinition__Group__5
2285;
2286finally {
2287 restoreStackSize(stackSize);
2288}
2289
2290rule__MappingDefinition__Group__4__Impl
2291 @init {
2292 int stackSize = keepStackSize();
2293 }
2294:
2295(
2296 { before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); }
2297 (rule__MappingDefinition__ParametersAssignment_4)
2298 { after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); }
2299)
2300;
2301finally {
2302 restoreStackSize(stackSize);
2303}
2304
2305rule__MappingDefinition__Group__5
2306 @init {
2307 int stackSize = keepStackSize();
2308 }
2309:
2310 rule__MappingDefinition__Group__5__Impl
2311 rule__MappingDefinition__Group__6
2312;
2313finally {
2314 restoreStackSize(stackSize);
2315}
2316
2317rule__MappingDefinition__Group__5__Impl
2318 @init {
2319 int stackSize = keepStackSize();
2320 }
2321:
2322(
2323 { before(grammarAccess.getMappingDefinitionAccess().getGroup_5()); }
2324 (rule__MappingDefinition__Group_5__0)*
2325 { after(grammarAccess.getMappingDefinitionAccess().getGroup_5()); }
2326)
2327;
2328finally {
2329 restoreStackSize(stackSize);
2330}
2331
2332rule__MappingDefinition__Group__6
2333 @init {
2334 int stackSize = keepStackSize();
2335 }
2336:
2337 rule__MappingDefinition__Group__6__Impl
2338 rule__MappingDefinition__Group__7
2339;
2340finally {
2341 restoreStackSize(stackSize);
2342}
2343
2344rule__MappingDefinition__Group__6__Impl
2345 @init {
2346 int stackSize = keepStackSize();
2347 }
2348:
2349(
2350 { before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); }
2351 ')'
2352 { after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); }
2353)
2354;
2355finally {
2356 restoreStackSize(stackSize);
2357}
2358
2359rule__MappingDefinition__Group__7
2360 @init {
2361 int stackSize = keepStackSize();
2362 }
2363:
2364 rule__MappingDefinition__Group__7__Impl
2365 rule__MappingDefinition__Group__8
2366;
2367finally {
2368 restoreStackSize(stackSize);
2369}
2370
2371rule__MappingDefinition__Group__7__Impl
2372 @init {
2373 int stackSize = keepStackSize();
2374 }
2375:
2376(
2377 { before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); }
2378 (rule__MappingDefinition__ComponentInstanceAssignment_7)?
2379 { after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); }
2380)
2381;
2382finally {
2383 restoreStackSize(stackSize);
2384}
2385
2386rule__MappingDefinition__Group__8
2387 @init {
2388 int stackSize = keepStackSize();
2389 }
2390:
2391 rule__MappingDefinition__Group__8__Impl
2392;
2393finally {
2394 restoreStackSize(stackSize);
2395}
2396
2397rule__MappingDefinition__Group__8__Impl
2398 @init {
2399 int stackSize = keepStackSize();
2400 }
2401:
2402(
2403 { before(grammarAccess.getMappingDefinitionAccess().getGroup_8()); }
2404 (rule__MappingDefinition__Group_8__0)?
2405 { after(grammarAccess.getMappingDefinitionAccess().getGroup_8()); }
2406)
2407;
2408finally {
2409 restoreStackSize(stackSize);
2410}
2411
2412
2413rule__MappingDefinition__Group_5__0
2414 @init {
2415 int stackSize = keepStackSize();
2416 }
2417:
2418 rule__MappingDefinition__Group_5__0__Impl
2419 rule__MappingDefinition__Group_5__1
2420;
2421finally {
2422 restoreStackSize(stackSize);
2423}
2424
2425rule__MappingDefinition__Group_5__0__Impl
2426 @init {
2427 int stackSize = keepStackSize();
2428 }
2429:
2430(
2431 { before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); }
2432 ','
2433 { after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); }
2434)
2435;
2436finally {
2437 restoreStackSize(stackSize);
2438}
2439
2440rule__MappingDefinition__Group_5__1
2441 @init {
2442 int stackSize = keepStackSize();
2443 }
2444:
2445 rule__MappingDefinition__Group_5__1__Impl
2446;
2447finally {
2448 restoreStackSize(stackSize);
2449}
2450
2451rule__MappingDefinition__Group_5__1__Impl
2452 @init {
2453 int stackSize = keepStackSize();
2454 }
2455:
2456(
2457 { before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); }
2458 (rule__MappingDefinition__ParametersAssignment_5_1)
2459 { after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); }
2460)
2461;
2462finally {
2463 restoreStackSize(stackSize);
2464}
2465
2466
2467rule__MappingDefinition__Group_8__0
2468 @init {
2469 int stackSize = keepStackSize();
2470 }
2471:
2472 rule__MappingDefinition__Group_8__0__Impl
2473 rule__MappingDefinition__Group_8__1
2474;
2475finally {
2476 restoreStackSize(stackSize);
2477}
2478
2479rule__MappingDefinition__Group_8__0__Impl
2480 @init {
2481 int stackSize = keepStackSize();
2482 }
2483:
2484(
2485 { before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); }
2486 '{'
2487 { after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); }
2488)
2489;
2490finally {
2491 restoreStackSize(stackSize);
2492}
2493
2494rule__MappingDefinition__Group_8__1
2495 @init {
2496 int stackSize = keepStackSize();
2497 }
2498:
2499 rule__MappingDefinition__Group_8__1__Impl
2500 rule__MappingDefinition__Group_8__2
2501;
2502finally {
2503 restoreStackSize(stackSize);
2504}
2505
2506rule__MappingDefinition__Group_8__1__Impl
2507 @init {
2508 int stackSize = keepStackSize();
2509 }
2510:
2511(
2512 { before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); }
2513 (rule__MappingDefinition__Group_8_1__0)*
2514 { after(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); }
2515)
2516;
2517finally {
2518 restoreStackSize(stackSize);
2519}
2520
2521rule__MappingDefinition__Group_8__2
2522 @init {
2523 int stackSize = keepStackSize();
2524 }
2525:
2526 rule__MappingDefinition__Group_8__2__Impl
2527;
2528finally {
2529 restoreStackSize(stackSize);
2530}
2531
2532rule__MappingDefinition__Group_8__2__Impl
2533 @init {
2534 int stackSize = keepStackSize();
2535 }
2536:
2537(
2538 { before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); }
2539 '}'
2540 { after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); }
2541)
2542;
2543finally {
2544 restoreStackSize(stackSize);
2545}
2546
2547
2548rule__MappingDefinition__Group_8_1__0
2549 @init {
2550 int stackSize = keepStackSize();
2551 }
2552:
2553 rule__MappingDefinition__Group_8_1__0__Impl
2554 rule__MappingDefinition__Group_8_1__1
2555;
2556finally {
2557 restoreStackSize(stackSize);
2558}
2559
2560rule__MappingDefinition__Group_8_1__0__Impl
2561 @init {
2562 int stackSize = keepStackSize();
2563 }
2564:
2565(
2566 { before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); }
2567 (rule__MappingDefinition__Alternatives_8_1_0)
2568 { after(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); }
2569)
2570;
2571finally {
2572 restoreStackSize(stackSize);
2573}
2574
2575rule__MappingDefinition__Group_8_1__1
2576 @init {
2577 int stackSize = keepStackSize();
2578 }
2579:
2580 rule__MappingDefinition__Group_8_1__1__Impl
2581;
2582finally {
2583 restoreStackSize(stackSize);
2584}
2585
2586rule__MappingDefinition__Group_8_1__1__Impl
2587 @init {
2588 int stackSize = keepStackSize();
2589 }
2590:
2591(
2592 { before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); }
2593 ';'
2594 { after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); }
2595)
2596;
2597finally {
2598 restoreStackSize(stackSize);
2599}
2600
2601
2602rule__LookupDefinition__Group__0
2603 @init {
2604 int stackSize = keepStackSize();
2605 }
2606:
2607 rule__LookupDefinition__Group__0__Impl
2608 rule__LookupDefinition__Group__1
2609;
2610finally {
2611 restoreStackSize(stackSize);
2612}
2613
2614rule__LookupDefinition__Group__0__Impl
2615 @init {
2616 int stackSize = keepStackSize();
2617 }
2618:
2619(
2620 { before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); }
2621 'lookup'
2622 { after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); }
2623)
2624;
2625finally {
2626 restoreStackSize(stackSize);
2627}
2628
2629rule__LookupDefinition__Group__1
2630 @init {
2631 int stackSize = keepStackSize();
2632 }
2633:
2634 rule__LookupDefinition__Group__1__Impl
2635 rule__LookupDefinition__Group__2
2636;
2637finally {
2638 restoreStackSize(stackSize);
2639}
2640
2641rule__LookupDefinition__Group__1__Impl
2642 @init {
2643 int stackSize = keepStackSize();
2644 }
2645:
2646(
2647 { before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); }
2648 (rule__LookupDefinition__MappingAssignment_1)
2649 { after(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); }
2650)
2651;
2652finally {
2653 restoreStackSize(stackSize);
2654}
2655
2656rule__LookupDefinition__Group__2
2657 @init {
2658 int stackSize = keepStackSize();
2659 }
2660:
2661 rule__LookupDefinition__Group__2__Impl
2662 rule__LookupDefinition__Group__3
2663;
2664finally {
2665 restoreStackSize(stackSize);
2666}
2667
2668rule__LookupDefinition__Group__2__Impl
2669 @init {
2670 int stackSize = keepStackSize();
2671 }
2672:
2673(
2674 { before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); }
2675 '('
2676 { after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); }
2677)
2678;
2679finally {
2680 restoreStackSize(stackSize);
2681}
2682
2683rule__LookupDefinition__Group__3
2684 @init {
2685 int stackSize = keepStackSize();
2686 }
2687:
2688 rule__LookupDefinition__Group__3__Impl
2689 rule__LookupDefinition__Group__4
2690;
2691finally {
2692 restoreStackSize(stackSize);
2693}
2694
2695rule__LookupDefinition__Group__3__Impl
2696 @init {
2697 int stackSize = keepStackSize();
2698 }
2699:
2700(
2701 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); }
2702 (rule__LookupDefinition__ArgumentsAssignment_3)
2703 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); }
2704)
2705;
2706finally {
2707 restoreStackSize(stackSize);
2708}
2709
2710rule__LookupDefinition__Group__4
2711 @init {
2712 int stackSize = keepStackSize();
2713 }
2714:
2715 rule__LookupDefinition__Group__4__Impl
2716 rule__LookupDefinition__Group__5
2717;
2718finally {
2719 restoreStackSize(stackSize);
2720}
2721
2722rule__LookupDefinition__Group__4__Impl
2723 @init {
2724 int stackSize = keepStackSize();
2725 }
2726:
2727(
2728 { before(grammarAccess.getLookupDefinitionAccess().getGroup_4()); }
2729 (rule__LookupDefinition__Group_4__0)*
2730 { after(grammarAccess.getLookupDefinitionAccess().getGroup_4()); }
2731)
2732;
2733finally {
2734 restoreStackSize(stackSize);
2735}
2736
2737rule__LookupDefinition__Group__5
2738 @init {
2739 int stackSize = keepStackSize();
2740 }
2741:
2742 rule__LookupDefinition__Group__5__Impl
2743 rule__LookupDefinition__Group__6
2744;
2745finally {
2746 restoreStackSize(stackSize);
2747}
2748
2749rule__LookupDefinition__Group__5__Impl
2750 @init {
2751 int stackSize = keepStackSize();
2752 }
2753:
2754(
2755 { before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); }
2756 ')'
2757 { after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); }
2758)
2759;
2760finally {
2761 restoreStackSize(stackSize);
2762}
2763
2764rule__LookupDefinition__Group__6
2765 @init {
2766 int stackSize = keepStackSize();
2767 }
2768:
2769 rule__LookupDefinition__Group__6__Impl
2770 rule__LookupDefinition__Group__7
2771;
2772finally {
2773 restoreStackSize(stackSize);
2774}
2775
2776rule__LookupDefinition__Group__6__Impl
2777 @init {
2778 int stackSize = keepStackSize();
2779 }
2780:
2781(
2782 { before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); }
2783 'as'
2784 { after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); }
2785)
2786;
2787finally {
2788 restoreStackSize(stackSize);
2789}
2790
2791rule__LookupDefinition__Group__7
2792 @init {
2793 int stackSize = keepStackSize();
2794 }
2795:
2796 rule__LookupDefinition__Group__7__Impl
2797;
2798finally {
2799 restoreStackSize(stackSize);
2800}
2801
2802rule__LookupDefinition__Group__7__Impl
2803 @init {
2804 int stackSize = keepStackSize();
2805 }
2806:
2807(
2808 { before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); }
2809 (rule__LookupDefinition__NameAssignment_7)
2810 { after(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); }
2811)
2812;
2813finally {
2814 restoreStackSize(stackSize);
2815}
2816
2817
2818rule__LookupDefinition__Group_4__0
2819 @init {
2820 int stackSize = keepStackSize();
2821 }
2822:
2823 rule__LookupDefinition__Group_4__0__Impl
2824 rule__LookupDefinition__Group_4__1
2825;
2826finally {
2827 restoreStackSize(stackSize);
2828}
2829
2830rule__LookupDefinition__Group_4__0__Impl
2831 @init {
2832 int stackSize = keepStackSize();
2833 }
2834:
2835(
2836 { before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); }
2837 ','
2838 { after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); }
2839)
2840;
2841finally {
2842 restoreStackSize(stackSize);
2843}
2844
2845rule__LookupDefinition__Group_4__1
2846 @init {
2847 int stackSize = keepStackSize();
2848 }
2849:
2850 rule__LookupDefinition__Group_4__1__Impl
2851;
2852finally {
2853 restoreStackSize(stackSize);
2854}
2855
2856rule__LookupDefinition__Group_4__1__Impl
2857 @init {
2858 int stackSize = keepStackSize();
2859 }
2860:
2861(
2862 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); }
2863 (rule__LookupDefinition__ArgumentsAssignment_4_1)
2864 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); }
2865)
2866;
2867finally {
2868 restoreStackSize(stackSize);
2869}
2870
2871
2872rule__Assignment__Group__0
2873 @init {
2874 int stackSize = keepStackSize();
2875 }
2876:
2877 rule__Assignment__Group__0__Impl
2878 rule__Assignment__Group__1
2879;
2880finally {
2881 restoreStackSize(stackSize);
2882}
2883
2884rule__Assignment__Group__0__Impl
2885 @init {
2886 int stackSize = keepStackSize();
2887 }
2888:
2889(
2890 { before(grammarAccess.getAssignmentAccess().getInputAssignment_0()); }
2891 (rule__Assignment__InputAssignment_0)
2892 { after(grammarAccess.getAssignmentAccess().getInputAssignment_0()); }
2893)
2894;
2895finally {
2896 restoreStackSize(stackSize);
2897}
2898
2899rule__Assignment__Group__1
2900 @init {
2901 int stackSize = keepStackSize();
2902 }
2903:
2904 rule__Assignment__Group__1__Impl
2905 rule__Assignment__Group__2
2906;
2907finally {
2908 restoreStackSize(stackSize);
2909}
2910
2911rule__Assignment__Group__1__Impl
2912 @init {
2913 int stackSize = keepStackSize();
2914 }
2915:
2916(
2917 { before(grammarAccess.getAssignmentAccess().getAlternatives_1()); }
2918 (rule__Assignment__Alternatives_1)
2919 { after(grammarAccess.getAssignmentAccess().getAlternatives_1()); }
2920)
2921;
2922finally {
2923 restoreStackSize(stackSize);
2924}
2925
2926rule__Assignment__Group__2
2927 @init {
2928 int stackSize = keepStackSize();
2929 }
2930:
2931 rule__Assignment__Group__2__Impl
2932;
2933finally {
2934 restoreStackSize(stackSize);
2935}
2936
2937rule__Assignment__Group__2__Impl
2938 @init {
2939 int stackSize = keepStackSize();
2940 }
2941:
2942(
2943 { before(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); }
2944 (rule__Assignment__OutputAssignment_2)
2945 { after(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); }
2946)
2947;
2948finally {
2949 restoreStackSize(stackSize);
2950}
2951
2952
2953rule__EventReference__Group__0
2954 @init {
2955 int stackSize = keepStackSize();
2956 }
2957:
2958 rule__EventReference__Group__0__Impl
2959 rule__EventReference__Group__1
2960;
2961finally {
2962 restoreStackSize(stackSize);
2963}
2964
2965rule__EventReference__Group__0__Impl
2966 @init {
2967 int stackSize = keepStackSize();
2968 }
2969:
2970(
2971 { before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); }
2972 (rule__EventReference__ComponentAssignment_0)
2973 { after(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); }
2974)
2975;
2976finally {
2977 restoreStackSize(stackSize);
2978}
2979
2980rule__EventReference__Group__1
2981 @init {
2982 int stackSize = keepStackSize();
2983 }
2984:
2985 rule__EventReference__Group__1__Impl
2986 rule__EventReference__Group__2
2987;
2988finally {
2989 restoreStackSize(stackSize);
2990}
2991
2992rule__EventReference__Group__1__Impl
2993 @init {
2994 int stackSize = keepStackSize();
2995 }
2996:
2997(
2998 { before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); }
2999 '.'
3000 { after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); }
3001)
3002;
3003finally {
3004 restoreStackSize(stackSize);
3005}
3006
3007rule__EventReference__Group__2
3008 @init {
3009 int stackSize = keepStackSize();
3010 }
3011:
3012 rule__EventReference__Group__2__Impl
3013;
3014finally {
3015 restoreStackSize(stackSize);
3016}
3017
3018rule__EventReference__Group__2__Impl
3019 @init {
3020 int stackSize = keepStackSize();
3021 }
3022:
3023(
3024 { before(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); }
3025 (rule__EventReference__EventAssignment_2)
3026 { after(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); }
3027)
3028;
3029finally {
3030 restoreStackSize(stackSize);
3031}
3032
3033
3034rule__ComponentInstance__Group__0
3035 @init {
3036 int stackSize = keepStackSize();
3037 }
3038:
3039 rule__ComponentInstance__Group__0__Impl
3040 rule__ComponentInstance__Group__1
3041;
3042finally {
3043 restoreStackSize(stackSize);
3044}
3045
3046rule__ComponentInstance__Group__0__Impl
3047 @init {
3048 int stackSize = keepStackSize();
3049 }
3050:
3051(
3052 { before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); }
3053 '=>'
3054 { after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); }
3055)
3056;
3057finally {
3058 restoreStackSize(stackSize);
3059}
3060
3061rule__ComponentInstance__Group__1
3062 @init {
3063 int stackSize = keepStackSize();
3064 }
3065:
3066 rule__ComponentInstance__Group__1__Impl
3067 rule__ComponentInstance__Group__2
3068;
3069finally {
3070 restoreStackSize(stackSize);
3071}
3072
3073rule__ComponentInstance__Group__1__Impl
3074 @init {
3075 int stackSize = keepStackSize();
3076 }
3077:
3078(
3079 { before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); }
3080 (rule__ComponentInstance__ComponentTypeAssignment_1)
3081 { after(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); }
3082)
3083;
3084finally {
3085 restoreStackSize(stackSize);
3086}
3087
3088rule__ComponentInstance__Group__2
3089 @init {
3090 int stackSize = keepStackSize();
3091 }
3092:
3093 rule__ComponentInstance__Group__2__Impl
3094;
3095finally {
3096 restoreStackSize(stackSize);
3097}
3098
3099rule__ComponentInstance__Group__2__Impl
3100 @init {
3101 int stackSize = keepStackSize();
3102 }
3103:
3104(
3105 { before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); }
3106 (rule__ComponentInstance__NameAssignment_2)?
3107 { after(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); }
3108)
3109;
3110finally {
3111 restoreStackSize(stackSize);
3112}
3113
3114
3115rule__QualifiedName__Group__0
3116 @init {
3117 int stackSize = keepStackSize();
3118 }
3119:
3120 rule__QualifiedName__Group__0__Impl
3121 rule__QualifiedName__Group__1
3122;
3123finally {
3124 restoreStackSize(stackSize);
3125}
3126
3127rule__QualifiedName__Group__0__Impl
3128 @init {
3129 int stackSize = keepStackSize();
3130 }
3131:
3132(
3133 { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); }
3134 ruleValidId
3135 { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); }
3136)
3137;
3138finally {
3139 restoreStackSize(stackSize);
3140}
3141
3142rule__QualifiedName__Group__1
3143 @init {
3144 int stackSize = keepStackSize();
3145 }
3146:
3147 rule__QualifiedName__Group__1__Impl
3148;
3149finally {
3150 restoreStackSize(stackSize);
3151}
3152
3153rule__QualifiedName__Group__1__Impl
3154 @init {
3155 int stackSize = keepStackSize();
3156 }
3157:
3158(
3159 { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); }
3160 (rule__QualifiedName__Group_1__0)*
3161 { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); }
3162)
3163;
3164finally {
3165 restoreStackSize(stackSize);
3166}
3167
3168
3169rule__QualifiedName__Group_1__0
3170 @init {
3171 int stackSize = keepStackSize();
3172 }
3173:
3174 rule__QualifiedName__Group_1__0__Impl
3175 rule__QualifiedName__Group_1__1
3176;
3177finally {
3178 restoreStackSize(stackSize);
3179}
3180
3181rule__QualifiedName__Group_1__0__Impl
3182 @init {
3183 int stackSize = keepStackSize();
3184 }
3185:
3186(
3187 { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); }
3188 '.'
3189 { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); }
3190)
3191;
3192finally {
3193 restoreStackSize(stackSize);
3194}
3195
3196rule__QualifiedName__Group_1__1
3197 @init {
3198 int stackSize = keepStackSize();
3199 }
3200:
3201 rule__QualifiedName__Group_1__1__Impl
3202;
3203finally {
3204 restoreStackSize(stackSize);
3205}
3206
3207rule__QualifiedName__Group_1__1__Impl
3208 @init {
3209 int stackSize = keepStackSize();
3210 }
3211:
3212(
3213 { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); }
3214 ruleValidId
3215 { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); }
3216)
3217;
3218finally {
3219 restoreStackSize(stackSize);
3220}
3221
3222
3223rule__QualifiedNameWithWildcard__Group__0
3224 @init {
3225 int stackSize = keepStackSize();
3226 }
3227:
3228 rule__QualifiedNameWithWildcard__Group__0__Impl
3229 rule__QualifiedNameWithWildcard__Group__1
3230;
3231finally {
3232 restoreStackSize(stackSize);
3233}
3234
3235rule__QualifiedNameWithWildcard__Group__0__Impl
3236 @init {
3237 int stackSize = keepStackSize();
3238 }
3239:
3240(
3241 { before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); }
3242 ruleQualifiedName
3243 { after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); }
3244)
3245;
3246finally {
3247 restoreStackSize(stackSize);
3248}
3249
3250rule__QualifiedNameWithWildcard__Group__1
3251 @init {
3252 int stackSize = keepStackSize();
3253 }
3254:
3255 rule__QualifiedNameWithWildcard__Group__1__Impl
3256;
3257finally {
3258 restoreStackSize(stackSize);
3259}
3260
3261rule__QualifiedNameWithWildcard__Group__1__Impl
3262 @init {
3263 int stackSize = keepStackSize();
3264 }
3265:
3266(
3267 { before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); }
3268 (rule__QualifiedNameWithWildcard__Group_1__0)?
3269 { after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); }
3270)
3271;
3272finally {
3273 restoreStackSize(stackSize);
3274}
3275
3276
3277rule__QualifiedNameWithWildcard__Group_1__0
3278 @init {
3279 int stackSize = keepStackSize();
3280 }
3281:
3282 rule__QualifiedNameWithWildcard__Group_1__0__Impl
3283 rule__QualifiedNameWithWildcard__Group_1__1
3284;
3285finally {
3286 restoreStackSize(stackSize);
3287}
3288
3289rule__QualifiedNameWithWildcard__Group_1__0__Impl
3290 @init {
3291 int stackSize = keepStackSize();
3292 }
3293:
3294(
3295 { before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); }
3296 '.'
3297 { after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); }
3298)
3299;
3300finally {
3301 restoreStackSize(stackSize);
3302}
3303
3304rule__QualifiedNameWithWildcard__Group_1__1
3305 @init {
3306 int stackSize = keepStackSize();
3307 }
3308:
3309 rule__QualifiedNameWithWildcard__Group_1__1__Impl
3310;
3311finally {
3312 restoreStackSize(stackSize);
3313}
3314
3315rule__QualifiedNameWithWildcard__Group_1__1__Impl
3316 @init {
3317 int stackSize = keepStackSize();
3318 }
3319:
3320(
3321 { before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); }
3322 '*'
3323 { after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); }
3324)
3325;
3326finally {
3327 restoreStackSize(stackSize);
3328}
3329
3330
3331rule__ComponentDefinition__UnorderedGroup_3
3332 @init {
3333 int stackSize = keepStackSize();
3334 getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
3335 }
3336:
3337 rule__ComponentDefinition__UnorderedGroup_3__0
3338 ?
3339;
3340finally {
3341 getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
3342 restoreStackSize(stackSize);
3343}
3344
3345rule__ComponentDefinition__UnorderedGroup_3__Impl
3346 @init {
3347 int stackSize = keepStackSize();
3348 boolean selected = false;
3349 }
3350:
3351 (
3352 (
3353 {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)}?=>(
3354 {
3355 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0);
3356 }
3357 {
3358 selected = true;
3359 }
3360 (
3361 { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); }
3362 (rule__ComponentDefinition__Group_3_0__0)
3363 { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); }
3364 )
3365 )
3366 )|
3367 (
3368 {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)}?=>(
3369 {
3370 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1);
3371 }
3372 {
3373 selected = true;
3374 }
3375 (
3376 { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); }
3377 (rule__ComponentDefinition__Group_3_1__0)
3378 { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); }
3379 )
3380 )
3381 )
3382 )
3383;
3384finally {
3385 if (selected)
3386 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
3387 restoreStackSize(stackSize);
3388}
3389
3390rule__ComponentDefinition__UnorderedGroup_3__0
3391 @init {
3392 int stackSize = keepStackSize();
3393 }
3394:
3395 rule__ComponentDefinition__UnorderedGroup_3__Impl
3396 rule__ComponentDefinition__UnorderedGroup_3__1?
3397;
3398finally {
3399 restoreStackSize(stackSize);
3400}
3401
3402rule__ComponentDefinition__UnorderedGroup_3__1
3403 @init {
3404 int stackSize = keepStackSize();
3405 }
3406:
3407 rule__ComponentDefinition__UnorderedGroup_3__Impl
3408;
3409finally {
3410 restoreStackSize(stackSize);
3411}
3412
3413
3414rule__CftModel__PackageNameAssignment_1
3415 @init {
3416 int stackSize = keepStackSize();
3417 }
3418:
3419 (
3420 { before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); }
3421 ruleQualifiedName
3422 { after(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); }
3423 )
3424;
3425finally {
3426 restoreStackSize(stackSize);
3427}
3428
3429rule__CftModel__ImportsAssignment_3
3430 @init {
3431 int stackSize = keepStackSize();
3432 }
3433:
3434 (
3435 { before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); }
3436 ruleImportDeclaration
3437 { after(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); }
3438 )
3439;
3440finally {
3441 restoreStackSize(stackSize);
3442}
3443
3444rule__CftModel__ComponentDefinitionsAssignment_4_0
3445 @init {
3446 int stackSize = keepStackSize();
3447 }
3448:
3449 (
3450 { before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); }
3451 ruleComponentDefinition
3452 { after(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); }
3453 )
3454;
3455finally {
3456 restoreStackSize(stackSize);
3457}
3458
3459rule__CftModel__TransformationDefinitionsAssignment_4_1
3460 @init {
3461 int stackSize = keepStackSize();
3462 }
3463:
3464 (
3465 { before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); }
3466 ruleTransformationDefinition
3467 { after(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); }
3468 )
3469;
3470finally {
3471 restoreStackSize(stackSize);
3472}
3473
3474rule__ImportDeclaration__ImportedNamespaceAssignment_1
3475 @init {
3476 int stackSize = keepStackSize();
3477 }
3478:
3479 (
3480 { before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); }
3481 ruleQualifiedNameWithWildcard
3482 { after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); }
3483 )
3484;
3485finally {
3486 restoreStackSize(stackSize);
3487}
3488
3489rule__ComponentDefinition__NameAssignment_1
3490 @init {
3491 int stackSize = keepStackSize();
3492 }
3493:
3494 (
3495 { before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); }
3496 ruleValidId
3497 { after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); }
3498 )
3499;
3500finally {
3501 restoreStackSize(stackSize);
3502}
3503
3504rule__ComponentDefinition__InputEventsAssignment_3_0_1
3505 @init {
3506 int stackSize = keepStackSize();
3507 }
3508:
3509 (
3510 { before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); }
3511 ruleInputEvent
3512 { after(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); }
3513 )
3514;
3515finally {
3516 restoreStackSize(stackSize);
3517}
3518
3519rule__ComponentDefinition__OutputEventsAssignment_3_1_1
3520 @init {
3521 int stackSize = keepStackSize();
3522 }
3523:
3524 (
3525 { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); }
3526 (
3527 { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); }
3528 ruleValidId
3529 { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); }
3530 )
3531 { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); }
3532 )
3533;
3534finally {
3535 restoreStackSize(stackSize);
3536}
3537
3538rule__ComponentDefinition__EventDefinitionsAssignment_4_0
3539 @init {
3540 int stackSize = keepStackSize();
3541 }
3542:
3543 (
3544 { before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); }
3545 ruleEventDefinition
3546 { after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); }
3547 )
3548;
3549finally {
3550 restoreStackSize(stackSize);
3551}
3552
3553rule__InputEvent__NameAssignment_0
3554 @init {
3555 int stackSize = keepStackSize();
3556 }
3557:
3558 (
3559 { before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); }
3560 ruleValidId
3561 { after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); }
3562 )
3563;
3564finally {
3565 restoreStackSize(stackSize);
3566}
3567
3568rule__InputEvent__MultipleAssignment_1
3569 @init {
3570 int stackSize = keepStackSize();
3571 }
3572:
3573 (
3574 { before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); }
3575 (
3576 { before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); }
3577 '[]'
3578 { after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); }
3579 )
3580 { after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); }
3581 )
3582;
3583finally {
3584 restoreStackSize(stackSize);
3585}
3586
3587rule__BasicEventDefinition__NameAssignment_0
3588 @init {
3589 int stackSize = keepStackSize();
3590 }
3591:
3592 (
3593 { before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); }
3594 ruleValidId
3595 { after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); }
3596 )
3597;
3598finally {
3599 restoreStackSize(stackSize);
3600}
3601
3602rule__BasicEventDefinition__DistributionAssignment_1
3603 @init {
3604 int stackSize = keepStackSize();
3605 }
3606:
3607 (
3608 { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); }
3609 ruleDistribution
3610 { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); }
3611 )
3612;
3613finally {
3614 restoreStackSize(stackSize);
3615}
3616
3617rule__ConstantDistribution__PAssignment_2
3618 @init {
3619 int stackSize = keepStackSize();
3620 }
3621:
3622 (
3623 { before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); }
3624 ruleDouble
3625 { after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); }
3626 )
3627;
3628finally {
3629 restoreStackSize(stackSize);
3630}
3631
3632rule__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;
3643finally {
3644 restoreStackSize(stackSize);
3645}
3646
3647rule__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()); }
3656 )
3657;
3658finally {
3659 restoreStackSize(stackSize);
3660}
3661
3662rule__AndGateDefinition__InputEventsAssignment_2
3663 @init {
3664 int stackSize = keepStackSize();
3665 }
3666:
3667 (
3668 { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); }
3669 (
3670 { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); }
3671 ruleValidId
3672 { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); }
3673 )
3674 { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); }
3675 )
3676;
3677finally {
3678 restoreStackSize(stackSize);
3679}
3680
3681rule__OrGateDefinition__NameAssignment_0
3682 @init {
3683 int stackSize = keepStackSize();
3684 }
3685:
3686 (
3687 { before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); }
3688 ruleValidId
3689 { after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); }
3690 )
3691;
3692finally {
3693 restoreStackSize(stackSize);
3694}
3695
3696rule__OrGateDefinition__InputEventsAssignment_2
3697 @init {
3698 int stackSize = keepStackSize();
3699 }
3700:
3701 (
3702 { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); }
3703 (
3704 { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); }
3705 ruleValidId
3706 { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); }
3707 )
3708 { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); }
3709 )
3710;
3711finally {
3712 restoreStackSize(stackSize);
3713}
3714
3715rule__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;
3726finally {
3727 restoreStackSize(stackSize);
3728}
3729
3730rule__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;
3741finally {
3742 restoreStackSize(stackSize);
3743}
3744
3745rule__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;
3756finally {
3757 restoreStackSize(stackSize);
3758}
3759
3760rule__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;
3771finally {
3772 restoreStackSize(stackSize);
3773}
3774
3775rule__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()); }
3788 )
3789;
3790finally {
3791 restoreStackSize(stackSize);
3792}
3793
3794rule__TransformationDefinition__NameAssignment_1
3795 @init {
3796 int stackSize = keepStackSize();
3797 }
3798:
3799 (
3800 { before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); }
3801 ruleValidId
3802 { after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); }
3803 )
3804;
3805finally {
3806 restoreStackSize(stackSize);
3807}
3808
3809rule__TransformationDefinition__MappingDefinitionsAssignment_3
3810 @init {
3811 int stackSize = keepStackSize();
3812 }
3813:
3814 (
3815 { before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); }
3816 ruleMappingDefinition
3817 { after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); }
3818 )
3819;
3820finally {
3821 restoreStackSize(stackSize);
3822}
3823
3824rule__MappingDefinition__TopLevelAssignment_0
3825 @init {
3826 int stackSize = keepStackSize();
3827 }
3828:
3829 (
3830 { before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); }
3831 (
3832 { before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); }
3833 'toplevel'
3834 { after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); }
3835 )
3836 { after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); }
3837 )
3838;
3839finally {
3840 restoreStackSize(stackSize);
3841}
3842
3843rule__MappingDefinition__PatternAssignment_2
3844 @init {
3845 int stackSize = keepStackSize();
3846 }
3847:
3848 (
3849 { before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); }
3850 (
3851 { before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); }
3852 ruleQualifiedName
3853 { after(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); }
3854 )
3855 { after(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); }
3856 )
3857;
3858finally {
3859 restoreStackSize(stackSize);
3860}
3861
3862rule__MappingDefinition__ParametersAssignment_4
3863 @init {
3864 int stackSize = keepStackSize();
3865 }
3866:
3867 (
3868 { before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); }
3869 ruleMappingParameter
3870 { after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); }
3871 )
3872;
3873finally {
3874 restoreStackSize(stackSize);
3875}
3876
3877rule__MappingDefinition__ParametersAssignment_5_1
3878 @init {
3879 int stackSize = keepStackSize();
3880 }
3881:
3882 (
3883 { before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); }
3884 ruleMappingParameter
3885 { after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); }
3886 )
3887;
3888finally {
3889 restoreStackSize(stackSize);
3890}
3891
3892rule__MappingDefinition__ComponentInstanceAssignment_7
3893 @init {
3894 int stackSize = keepStackSize();
3895 }
3896:
3897 (
3898 { before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); }
3899 ruleComponentInstance
3900 { after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); }
3901 )
3902;
3903finally {
3904 restoreStackSize(stackSize);
3905}
3906
3907rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0
3908 @init {
3909 int stackSize = keepStackSize();
3910 }
3911:
3912 (
3913 { before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); }
3914 ruleLookupDefinition
3915 { after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); }
3916 )
3917;
3918finally {
3919 restoreStackSize(stackSize);
3920}
3921
3922rule__MappingDefinition__AssignmentsAssignment_8_1_0_1
3923 @init {
3924 int stackSize = keepStackSize();
3925 }
3926:
3927 (
3928 { before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); }
3929 ruleAssignment
3930 { after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); }
3931 )
3932;
3933finally {
3934 restoreStackSize(stackSize);
3935}
3936
3937rule__MappingParameter__NameAssignment
3938 @init {
3939 int stackSize = keepStackSize();
3940 }
3941:
3942 (
3943 { before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); }
3944 ruleValidId
3945 { after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); }
3946 )
3947;
3948finally {
3949 restoreStackSize(stackSize);
3950}
3951
3952rule__LookupDefinition__MappingAssignment_1
3953 @init {
3954 int stackSize = keepStackSize();
3955 }
3956:
3957 (
3958 { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); }
3959 (
3960 { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); }
3961 ruleQualifiedName
3962 { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); }
3963 )
3964 { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); }
3965 )
3966;
3967finally {
3968 restoreStackSize(stackSize);
3969}
3970
3971rule__LookupDefinition__ArgumentsAssignment_3
3972 @init {
3973 int stackSize = keepStackSize();
3974 }
3975:
3976 (
3977 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); }
3978 (
3979 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); }
3980 ruleValidId
3981 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); }
3982 )
3983 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); }
3984 )
3985;
3986finally {
3987 restoreStackSize(stackSize);
3988}
3989
3990rule__LookupDefinition__ArgumentsAssignment_4_1
3991 @init {
3992 int stackSize = keepStackSize();
3993 }
3994:
3995 (
3996 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); }
3997 (
3998 { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); }
3999 ruleValidId
4000 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); }
4001 )
4002 { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); }
4003 )
4004;
4005finally {
4006 restoreStackSize(stackSize);
4007}
4008
4009rule__LookupDefinition__NameAssignment_7
4010 @init {
4011 int stackSize = keepStackSize();
4012 }
4013:
4014 (
4015 { before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); }
4016 ruleValidId
4017 { after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); }
4018 )
4019;
4020finally {
4021 restoreStackSize(stackSize);
4022}
4023
4024rule__Assignment__InputAssignment_0
4025 @init {
4026 int stackSize = keepStackSize();
4027 }
4028:
4029 (
4030 { before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); }
4031 ruleEventReference
4032 { after(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); }
4033 )
4034;
4035finally {
4036 restoreStackSize(stackSize);
4037}
4038
4039rule__Assignment__MultipleAssignment_1_0
4040 @init {
4041 int stackSize = keepStackSize();
4042 }
4043:
4044 (
4045 { before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); }
4046 (
4047 { before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); }
4048 '+='
4049 { after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); }
4050 )
4051 { after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); }
4052 )
4053;
4054finally {
4055 restoreStackSize(stackSize);
4056}
4057
4058rule__Assignment__OutputAssignment_2
4059 @init {
4060 int stackSize = keepStackSize();
4061 }
4062:
4063 (
4064 { before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); }
4065 ruleEventReference
4066 { after(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); }
4067 )
4068;
4069finally {
4070 restoreStackSize(stackSize);
4071}
4072
4073rule__EventReference__ComponentAssignment_0
4074 @init {
4075 int stackSize = keepStackSize();
4076 }
4077:
4078 (
4079 { before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); }
4080 (
4081 { before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); }
4082 ruleValidId
4083 { after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); }
4084 )
4085 { after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); }
4086 )
4087;
4088finally {
4089 restoreStackSize(stackSize);
4090}
4091
4092rule__EventReference__EventAssignment_2
4093 @init {
4094 int stackSize = keepStackSize();
4095 }
4096:
4097 (
4098 { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); }
4099 (
4100 { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); }
4101 ruleValidId
4102 { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); }
4103 )
4104 { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); }
4105 )
4106;
4107finally {
4108 restoreStackSize(stackSize);
4109}
4110
4111rule__ComponentInstance__ComponentTypeAssignment_1
4112 @init {
4113 int stackSize = keepStackSize();
4114 }
4115:
4116 (
4117 { before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); }
4118 (
4119 { before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); }
4120 ruleQualifiedName
4121 { after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); }
4122 )
4123 { after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); }
4124 )
4125;
4126finally {
4127 restoreStackSize(stackSize);
4128}
4129
4130rule__ComponentInstance__NameAssignment_2
4131 @init {
4132 int stackSize = keepStackSize();
4133 }
4134:
4135 (
4136 { before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); }
4137 ruleValidId
4138 { after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); }
4139 )
4140;
4141finally {
4142 restoreStackSize(stackSize);
4143}
4144
4145RULE_OF_INT : 'o' 'f' ('0'..'9')+;
4146
4147RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+);
4148
4149RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
4150
4151RULE_INT : ('0'..'9')+;
4152
4153RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
4154
4155RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
4156
4157RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
4158
4159RULE_WS : (' '|'\t'|'\r'|'\n')+;
4160
4161RULE_ANY_OTHER : .;
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
deleted file mode 100644
index 76556942..00000000
--- 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
+++ /dev/null
@@ -1,65 +0,0 @@
1'('=30
2')'=31
3'*'=37
4'+='=40
5','=32
6'.'=35
7':='=13
8';'=15
9'='=23
10'=>'=36
11'[]'=38
12'and'=25
13'as'=34
14'cft'=17
15'import'=16
16'in'=20
17'lambda'=24
18'lookup'=33
19'mapping'=29
20'of'=27
21'or'=26
22'out'=21
23'package'=14
24'prob'=22
25'toplevel'=39
26'transformation'=28
27'{'=18
28'}'=19
29RULE_ANY_OTHER=12
30RULE_ID=4
31RULE_INT=6
32RULE_ML_COMMENT=9
33RULE_OF_INT=5
34RULE_SL_COMMENT=10
35RULE_STRING=8
36RULE_T_DOUBLE=7
37RULE_WS=11
38T__13=13
39T__14=14
40T__15=15
41T__16=16
42T__17=17
43T__18=18
44T__19=19
45T__20=20
46T__21=21
47T__22=22
48T__23=23
49T__24=24
50T__25=25
51T__26=26
52T__27=27
53T__28=28
54T__29=29
55T__30=30
56T__31=31
57T__32=32
58T__33=33
59T__34=34
60T__35=35
61T__36=36
62T__37=37
63T__38=38
64T__39=39
65T__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
deleted file mode 100644
index 6a06d1ec..00000000
--- 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
+++ /dev/null
@@ -1,2001 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal;
2
3// Hack: Use our own Lexer superclass by means of import.
4// Currently there is no other way to specify the superclass for the lexer.
5import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
6
7
8import org.antlr.runtime.*;
9import java.util.Stack;
10import java.util.List;
11import java.util.ArrayList;
12
13@SuppressWarnings("all")
14public class InternalCftLanguageLexer extends Lexer {
15 public static final int RULE_STRING=8;
16 public static final int RULE_SL_COMMENT=10;
17 public static final int T__19=19;
18 public static final int T__15=15;
19 public static final int T__37=37;
20 public static final int T__16=16;
21 public static final int T__38=38;
22 public static final int T__17=17;
23 public static final int T__39=39;
24 public static final int T__18=18;
25 public static final int T__33=33;
26 public static final int T__34=34;
27 public static final int RULE_T_DOUBLE=7;
28 public static final int T__13=13;
29 public static final int T__35=35;
30 public static final int T__14=14;
31 public static final int T__36=36;
32 public static final int EOF=-1;
33 public static final int T__30=30;
34 public static final int T__31=31;
35 public static final int T__32=32;
36 public static final int RULE_OF_INT=5;
37 public static final int RULE_ID=4;
38 public static final int RULE_WS=11;
39 public static final int RULE_ANY_OTHER=12;
40 public static final int T__26=26;
41 public static final int T__27=27;
42 public static final int T__28=28;
43 public static final int RULE_INT=6;
44 public static final int T__29=29;
45 public static final int T__22=22;
46 public static final int RULE_ML_COMMENT=9;
47 public static final int T__23=23;
48 public static final int T__24=24;
49 public static final int T__25=25;
50 public static final int T__40=40;
51 public static final int T__20=20;
52 public static final int T__21=21;
53
54 // delegates
55 // delegators
56
57 public InternalCftLanguageLexer() {;}
58 public InternalCftLanguageLexer(CharStream input) {
59 this(input, new RecognizerSharedState());
60 }
61 public InternalCftLanguageLexer(CharStream input, RecognizerSharedState state) {
62 super(input,state);
63
64 }
65 public String getGrammarFileName() { return "InternalCftLanguage.g"; }
66
67 // $ANTLR start "T__13"
68 public final void mT__13() throws RecognitionException {
69 try {
70 int _type = T__13;
71 int _channel = DEFAULT_TOKEN_CHANNEL;
72 // InternalCftLanguage.g:11:7: ( ':=' )
73 // InternalCftLanguage.g:11:9: ':='
74 {
75 match(":=");
76
77
78 }
79
80 state.type = _type;
81 state.channel = _channel;
82 }
83 finally {
84 }
85 }
86 // $ANTLR end "T__13"
87
88 // $ANTLR start "T__14"
89 public final void mT__14() throws RecognitionException {
90 try {
91 int _type = T__14;
92 int _channel = DEFAULT_TOKEN_CHANNEL;
93 // InternalCftLanguage.g:12:7: ( 'package' )
94 // InternalCftLanguage.g:12:9: 'package'
95 {
96 match("package");
97
98
99 }
100
101 state.type = _type;
102 state.channel = _channel;
103 }
104 finally {
105 }
106 }
107 // $ANTLR end "T__14"
108
109 // $ANTLR start "T__15"
110 public final void mT__15() throws RecognitionException {
111 try {
112 int _type = T__15;
113 int _channel = DEFAULT_TOKEN_CHANNEL;
114 // InternalCftLanguage.g:13:7: ( ';' )
115 // InternalCftLanguage.g:13:9: ';'
116 {
117 match(';');
118
119 }
120
121 state.type = _type;
122 state.channel = _channel;
123 }
124 finally {
125 }
126 }
127 // $ANTLR end "T__15"
128
129 // $ANTLR start "T__16"
130 public final void mT__16() throws RecognitionException {
131 try {
132 int _type = T__16;
133 int _channel = DEFAULT_TOKEN_CHANNEL;
134 // InternalCftLanguage.g:14:7: ( 'import' )
135 // InternalCftLanguage.g:14:9: 'import'
136 {
137 match("import");
138
139
140 }
141
142 state.type = _type;
143 state.channel = _channel;
144 }
145 finally {
146 }
147 }
148 // $ANTLR end "T__16"
149
150 // $ANTLR start "T__17"
151 public final void mT__17() throws RecognitionException {
152 try {
153 int _type = T__17;
154 int _channel = DEFAULT_TOKEN_CHANNEL;
155 // InternalCftLanguage.g:15:7: ( 'cft' )
156 // InternalCftLanguage.g:15:9: 'cft'
157 {
158 match("cft");
159
160
161 }
162
163 state.type = _type;
164 state.channel = _channel;
165 }
166 finally {
167 }
168 }
169 // $ANTLR end "T__17"
170
171 // $ANTLR start "T__18"
172 public final void mT__18() throws RecognitionException {
173 try {
174 int _type = T__18;
175 int _channel = DEFAULT_TOKEN_CHANNEL;
176 // InternalCftLanguage.g:16:7: ( '{' )
177 // InternalCftLanguage.g:16:9: '{'
178 {
179 match('{');
180
181 }
182
183 state.type = _type;
184 state.channel = _channel;
185 }
186 finally {
187 }
188 }
189 // $ANTLR end "T__18"
190
191 // $ANTLR start "T__19"
192 public final void mT__19() throws RecognitionException {
193 try {
194 int _type = T__19;
195 int _channel = DEFAULT_TOKEN_CHANNEL;
196 // InternalCftLanguage.g:17:7: ( '}' )
197 // InternalCftLanguage.g:17:9: '}'
198 {
199 match('}');
200
201 }
202
203 state.type = _type;
204 state.channel = _channel;
205 }
206 finally {
207 }
208 }
209 // $ANTLR end "T__19"
210
211 // $ANTLR start "T__20"
212 public final void mT__20() throws RecognitionException {
213 try {
214 int _type = T__20;
215 int _channel = DEFAULT_TOKEN_CHANNEL;
216 // InternalCftLanguage.g:18:7: ( 'in' )
217 // InternalCftLanguage.g:18:9: 'in'
218 {
219 match("in");
220
221
222 }
223
224 state.type = _type;
225 state.channel = _channel;
226 }
227 finally {
228 }
229 }
230 // $ANTLR end "T__20"
231
232 // $ANTLR start "T__21"
233 public final void mT__21() throws RecognitionException {
234 try {
235 int _type = T__21;
236 int _channel = DEFAULT_TOKEN_CHANNEL;
237 // InternalCftLanguage.g:19:7: ( 'out' )
238 // InternalCftLanguage.g:19:9: 'out'
239 {
240 match("out");
241
242
243 }
244
245 state.type = _type;
246 state.channel = _channel;
247 }
248 finally {
249 }
250 }
251 // $ANTLR end "T__21"
252
253 // $ANTLR start "T__22"
254 public final void mT__22() throws RecognitionException {
255 try {
256 int _type = T__22;
257 int _channel = DEFAULT_TOKEN_CHANNEL;
258 // InternalCftLanguage.g:20:7: ( 'prob' )
259 // InternalCftLanguage.g:20:9: 'prob'
260 {
261 match("prob");
262
263
264 }
265
266 state.type = _type;
267 state.channel = _channel;
268 }
269 finally {
270 }
271 }
272 // $ANTLR end "T__22"
273
274 // $ANTLR start "T__23"
275 public final void mT__23() throws RecognitionException {
276 try {
277 int _type = T__23;
278 int _channel = DEFAULT_TOKEN_CHANNEL;
279 // InternalCftLanguage.g:21:7: ( '=' )
280 // InternalCftLanguage.g:21:9: '='
281 {
282 match('=');
283
284 }
285
286 state.type = _type;
287 state.channel = _channel;
288 }
289 finally {
290 }
291 }
292 // $ANTLR end "T__23"
293
294 // $ANTLR start "T__24"
295 public final void mT__24() throws RecognitionException {
296 try {
297 int _type = T__24;
298 int _channel = DEFAULT_TOKEN_CHANNEL;
299 // InternalCftLanguage.g:22:7: ( 'lambda' )
300 // InternalCftLanguage.g:22:9: 'lambda'
301 {
302 match("lambda");
303
304
305 }
306
307 state.type = _type;
308 state.channel = _channel;
309 }
310 finally {
311 }
312 }
313 // $ANTLR end "T__24"
314
315 // $ANTLR start "T__25"
316 public final void mT__25() throws RecognitionException {
317 try {
318 int _type = T__25;
319 int _channel = DEFAULT_TOKEN_CHANNEL;
320 // InternalCftLanguage.g:23:7: ( 'and' )
321 // InternalCftLanguage.g:23:9: 'and'
322 {
323 match("and");
324
325
326 }
327
328 state.type = _type;
329 state.channel = _channel;
330 }
331 finally {
332 }
333 }
334 // $ANTLR end "T__25"
335
336 // $ANTLR start "T__26"
337 public final void mT__26() throws RecognitionException {
338 try {
339 int _type = T__26;
340 int _channel = DEFAULT_TOKEN_CHANNEL;
341 // InternalCftLanguage.g:24:7: ( 'or' )
342 // InternalCftLanguage.g:24:9: 'or'
343 {
344 match("or");
345
346
347 }
348
349 state.type = _type;
350 state.channel = _channel;
351 }
352 finally {
353 }
354 }
355 // $ANTLR end "T__26"
356
357 // $ANTLR start "T__27"
358 public final void mT__27() throws RecognitionException {
359 try {
360 int _type = T__27;
361 int _channel = DEFAULT_TOKEN_CHANNEL;
362 // InternalCftLanguage.g:25:7: ( 'of' )
363 // InternalCftLanguage.g:25:9: 'of'
364 {
365 match("of");
366
367
368 }
369
370 state.type = _type;
371 state.channel = _channel;
372 }
373 finally {
374 }
375 }
376 // $ANTLR end "T__27"
377
378 // $ANTLR start "T__28"
379 public final void mT__28() throws RecognitionException {
380 try {
381 int _type = T__28;
382 int _channel = DEFAULT_TOKEN_CHANNEL;
383 // InternalCftLanguage.g:26:7: ( 'transformation' )
384 // InternalCftLanguage.g:26:9: 'transformation'
385 {
386 match("transformation");
387
388
389 }
390
391 state.type = _type;
392 state.channel = _channel;
393 }
394 finally {
395 }
396 }
397 // $ANTLR end "T__28"
398
399 // $ANTLR start "T__29"
400 public final void mT__29() throws RecognitionException {
401 try {
402 int _type = T__29;
403 int _channel = DEFAULT_TOKEN_CHANNEL;
404 // InternalCftLanguage.g:27:7: ( 'mapping' )
405 // InternalCftLanguage.g:27:9: 'mapping'
406 {
407 match("mapping");
408
409
410 }
411
412 state.type = _type;
413 state.channel = _channel;
414 }
415 finally {
416 }
417 }
418 // $ANTLR end "T__29"
419
420 // $ANTLR start "T__30"
421 public final void mT__30() throws RecognitionException {
422 try {
423 int _type = T__30;
424 int _channel = DEFAULT_TOKEN_CHANNEL;
425 // InternalCftLanguage.g:28:7: ( '(' )
426 // InternalCftLanguage.g:28:9: '('
427 {
428 match('(');
429
430 }
431
432 state.type = _type;
433 state.channel = _channel;
434 }
435 finally {
436 }
437 }
438 // $ANTLR end "T__30"
439
440 // $ANTLR start "T__31"
441 public final void mT__31() throws RecognitionException {
442 try {
443 int _type = T__31;
444 int _channel = DEFAULT_TOKEN_CHANNEL;
445 // InternalCftLanguage.g:29:7: ( ')' )
446 // InternalCftLanguage.g:29:9: ')'
447 {
448 match(')');
449
450 }
451
452 state.type = _type;
453 state.channel = _channel;
454 }
455 finally {
456 }
457 }
458 // $ANTLR end "T__31"
459
460 // $ANTLR start "T__32"
461 public final void mT__32() throws RecognitionException {
462 try {
463 int _type = T__32;
464 int _channel = DEFAULT_TOKEN_CHANNEL;
465 // InternalCftLanguage.g:30:7: ( ',' )
466 // InternalCftLanguage.g:30:9: ','
467 {
468 match(',');
469
470 }
471
472 state.type = _type;
473 state.channel = _channel;
474 }
475 finally {
476 }
477 }
478 // $ANTLR end "T__32"
479
480 // $ANTLR start "T__33"
481 public final void mT__33() throws RecognitionException {
482 try {
483 int _type = T__33;
484 int _channel = DEFAULT_TOKEN_CHANNEL;
485 // InternalCftLanguage.g:31:7: ( 'lookup' )
486 // InternalCftLanguage.g:31:9: 'lookup'
487 {
488 match("lookup");
489
490
491 }
492
493 state.type = _type;
494 state.channel = _channel;
495 }
496 finally {
497 }
498 }
499 // $ANTLR end "T__33"
500
501 // $ANTLR start "T__34"
502 public final void mT__34() throws RecognitionException {
503 try {
504 int _type = T__34;
505 int _channel = DEFAULT_TOKEN_CHANNEL;
506 // InternalCftLanguage.g:32:7: ( 'as' )
507 // InternalCftLanguage.g:32:9: 'as'
508 {
509 match("as");
510
511
512 }
513
514 state.type = _type;
515 state.channel = _channel;
516 }
517 finally {
518 }
519 }
520 // $ANTLR end "T__34"
521
522 // $ANTLR start "T__35"
523 public final void mT__35() throws RecognitionException {
524 try {
525 int _type = T__35;
526 int _channel = DEFAULT_TOKEN_CHANNEL;
527 // InternalCftLanguage.g:33:7: ( '.' )
528 // InternalCftLanguage.g:33:9: '.'
529 {
530 match('.');
531
532 }
533
534 state.type = _type;
535 state.channel = _channel;
536 }
537 finally {
538 }
539 }
540 // $ANTLR end "T__35"
541
542 // $ANTLR start "T__36"
543 public final void mT__36() throws RecognitionException {
544 try {
545 int _type = T__36;
546 int _channel = DEFAULT_TOKEN_CHANNEL;
547 // InternalCftLanguage.g:34:7: ( '=>' )
548 // InternalCftLanguage.g:34:9: '=>'
549 {
550 match("=>");
551
552
553 }
554
555 state.type = _type;
556 state.channel = _channel;
557 }
558 finally {
559 }
560 }
561 // $ANTLR end "T__36"
562
563 // $ANTLR start "T__37"
564 public final void mT__37() throws RecognitionException {
565 try {
566 int _type = T__37;
567 int _channel = DEFAULT_TOKEN_CHANNEL;
568 // InternalCftLanguage.g:35:7: ( '*' )
569 // InternalCftLanguage.g:35:9: '*'
570 {
571 match('*');
572
573 }
574
575 state.type = _type;
576 state.channel = _channel;
577 }
578 finally {
579 }
580 }
581 // $ANTLR end "T__37"
582
583 // $ANTLR start "T__38"
584 public final void mT__38() throws RecognitionException {
585 try {
586 int _type = T__38;
587 int _channel = DEFAULT_TOKEN_CHANNEL;
588 // InternalCftLanguage.g:36:7: ( '[]' )
589 // InternalCftLanguage.g:36:9: '[]'
590 {
591 match("[]");
592
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 {
606 try {
607 int _type = T__39;
608 int _channel = DEFAULT_TOKEN_CHANNEL;
609 // InternalCftLanguage.g:37:7: ( 'toplevel' )
610 // InternalCftLanguage.g:37:9: 'toplevel'
611 {
612 match("toplevel");
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
638 state.type = _type;
639 state.channel = _channel;
640 }
641 finally {
642 }
643 }
644 // $ANTLR end "T__40"
645
646 // $ANTLR start "RULE_OF_INT"
647 public final void mRULE_OF_INT() throws RecognitionException {
648 try {
649 int _type = RULE_OF_INT;
650 int _channel = DEFAULT_TOKEN_CHANNEL;
651 // InternalCftLanguage.g:4145:13: ( 'o' 'f' ( '0' .. '9' )+ )
652 // InternalCftLanguage.g:4145:15: 'o' 'f' ( '0' .. '9' )+
653 {
654 match('o');
655 match('f');
656 // InternalCftLanguage.g:4145:23: ( '0' .. '9' )+
657 int cnt1=0;
658 loop1:
659 do {
660 int alt1=2;
661 int LA1_0 = input.LA(1);
662
663 if ( ((LA1_0>='0' && LA1_0<='9')) ) {
664 alt1=1;
665 }
666
667
668 switch (alt1) {
669 case 1 :
670 // InternalCftLanguage.g:4145:24: '0' .. '9'
671 {
672 matchRange('0','9');
673
674 }
675 break;
676
677 default :
678 if ( cnt1 >= 1 ) break loop1;
679 EarlyExitException eee =
680 new EarlyExitException(1, input);
681 throw eee;
682 }
683 cnt1++;
684 } while (true);
685
686
687 }
688
689 state.type = _type;
690 state.channel = _channel;
691 }
692 finally {
693 }
694 }
695 // $ANTLR end "RULE_OF_INT"
696
697 // $ANTLR start "RULE_T_DOUBLE"
698 public final void mRULE_T_DOUBLE() throws RecognitionException {
699 try {
700 int _type = RULE_T_DOUBLE;
701 int _channel = DEFAULT_TOKEN_CHANNEL;
702 // InternalCftLanguage.g:4147:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) )
703 // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
704 {
705 // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+
706 int cnt2=0;
707 loop2:
708 do {
709 int alt2=2;
710 int LA2_0 = input.LA(1);
711
712 if ( ((LA2_0>='0' && LA2_0<='9')) ) {
713 alt2=1;
714 }
715
716
717 switch (alt2) {
718 case 1 :
719 // InternalCftLanguage.g:4147:18: '0' .. '9'
720 {
721 matchRange('0','9');
722
723 }
724 break;
725
726 default :
727 if ( cnt2 >= 1 ) break loop2;
728 EarlyExitException eee =
729 new EarlyExitException(2, input);
730 throw eee;
731 }
732 cnt2++;
733 } while (true);
734
735 // InternalCftLanguage.g:4147:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
736 int alt8=2;
737 alt8 = dfa8.predict(input);
738 switch (alt8) {
739 case 1 :
740 // InternalCftLanguage.g:4147:30: '.' ( '0' .. '9' )+
741 {
742 match('.');
743 // InternalCftLanguage.g:4147:34: ( '0' .. '9' )+
744 int cnt3=0;
745 loop3:
746 do {
747 int alt3=2;
748 int LA3_0 = input.LA(1);
749
750 if ( ((LA3_0>='0' && LA3_0<='9')) ) {
751 alt3=1;
752 }
753
754
755 switch (alt3) {
756 case 1 :
757 // InternalCftLanguage.g:4147:35: '0' .. '9'
758 {
759 matchRange('0','9');
760
761 }
762 break;
763
764 default :
765 if ( cnt3 >= 1 ) break loop3;
766 EarlyExitException eee =
767 new EarlyExitException(3, input);
768 throw eee;
769 }
770 cnt3++;
771 } while (true);
772
773
774 }
775 break;
776 case 2 :
777 // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
778 {
779 // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )?
780 int alt5=2;
781 int LA5_0 = input.LA(1);
782
783 if ( (LA5_0=='.') ) {
784 alt5=1;
785 }
786 switch (alt5) {
787 case 1 :
788 // InternalCftLanguage.g:4147:47: '.' ( '0' .. '9' )+
789 {
790 match('.');
791 // InternalCftLanguage.g:4147:51: ( '0' .. '9' )+
792 int cnt4=0;
793 loop4:
794 do {
795 int alt4=2;
796 int LA4_0 = input.LA(1);
797
798 if ( ((LA4_0>='0' && LA4_0<='9')) ) {
799 alt4=1;
800 }
801
802
803 switch (alt4) {
804 case 1 :
805 // InternalCftLanguage.g:4147:52: '0' .. '9'
806 {
807 matchRange('0','9');
808
809 }
810 break;
811
812 default :
813 if ( cnt4 >= 1 ) break loop4;
814 EarlyExitException eee =
815 new EarlyExitException(4, input);
816 throw eee;
817 }
818 cnt4++;
819 } while (true);
820
821
822 }
823 break;
824
825 }
826
827 if ( input.LA(1)=='E'||input.LA(1)=='e' ) {
828 input.consume();
829
830 }
831 else {
832 MismatchedSetException mse = new MismatchedSetException(null,input);
833 recover(mse);
834 throw mse;}
835
836 // InternalCftLanguage.g:4147:75: ( '+' | '-' )?
837 int alt6=2;
838 int LA6_0 = input.LA(1);
839
840 if ( (LA6_0=='+'||LA6_0=='-') ) {
841 alt6=1;
842 }
843 switch (alt6) {
844 case 1 :
845 // InternalCftLanguage.g:
846 {
847 if ( input.LA(1)=='+'||input.LA(1)=='-' ) {
848 input.consume();
849
850 }
851 else {
852 MismatchedSetException mse = new MismatchedSetException(null,input);
853 recover(mse);
854 throw mse;}
855
856
857 }
858 break;
859
860 }
861
862 // InternalCftLanguage.g:4147:86: ( '0' .. '9' )+
863 int cnt7=0;
864 loop7:
865 do {
866 int alt7=2;
867 int LA7_0 = input.LA(1);
868
869 if ( ((LA7_0>='0' && LA7_0<='9')) ) {
870 alt7=1;
871 }
872
873
874 switch (alt7) {
875 case 1 :
876 // InternalCftLanguage.g:4147:87: '0' .. '9'
877 {
878 matchRange('0','9');
879
880 }
881 break;
882
883 default :
884 if ( cnt7 >= 1 ) break loop7;
885 EarlyExitException eee =
886 new EarlyExitException(7, input);
887 throw eee;
888 }
889 cnt7++;
890 } while (true);
891
892
893 }
894 break;
895
896 }
897
898
899 }
900
901 state.type = _type;
902 state.channel = _channel;
903 }
904 finally {
905 }
906 }
907 // $ANTLR end "RULE_T_DOUBLE"
908
909 // $ANTLR start "RULE_ID"
910 public final void mRULE_ID() throws RecognitionException {
911 try {
912 int _type = RULE_ID;
913 int _channel = DEFAULT_TOKEN_CHANNEL;
914 // InternalCftLanguage.g:4149:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
915 // InternalCftLanguage.g:4149:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
916 {
917 // InternalCftLanguage.g:4149:11: ( '^' )?
918 int alt9=2;
919 int LA9_0 = input.LA(1);
920
921 if ( (LA9_0=='^') ) {
922 alt9=1;
923 }
924 switch (alt9) {
925 case 1 :
926 // InternalCftLanguage.g:4149:11: '^'
927 {
928 match('^');
929
930 }
931 break;
932
933 }
934
935 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
936 input.consume();
937
938 }
939 else {
940 MismatchedSetException mse = new MismatchedSetException(null,input);
941 recover(mse);
942 throw mse;}
943
944 // InternalCftLanguage.g:4149:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
945 loop10:
946 do {
947 int alt10=2;
948 int LA10_0 = input.LA(1);
949
950 if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {
951 alt10=1;
952 }
953
954
955 switch (alt10) {
956 case 1 :
957 // InternalCftLanguage.g:
958 {
959 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
960 input.consume();
961
962 }
963 else {
964 MismatchedSetException mse = new MismatchedSetException(null,input);
965 recover(mse);
966 throw mse;}
967
968
969 }
970 break;
971
972 default :
973 break loop10;
974 }
975 } while (true);
976
977
978 }
979
980 state.type = _type;
981 state.channel = _channel;
982 }
983 finally {
984 }
985 }
986 // $ANTLR end "RULE_ID"
987
988 // $ANTLR start "RULE_INT"
989 public final void mRULE_INT() throws RecognitionException {
990 try {
991 int _type = RULE_INT;
992 int _channel = DEFAULT_TOKEN_CHANNEL;
993 // InternalCftLanguage.g:4151:10: ( ( '0' .. '9' )+ )
994 // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+
995 {
996 // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+
997 int cnt11=0;
998 loop11:
999 do {
1000 int alt11=2;
1001 int LA11_0 = input.LA(1);
1002
1003 if ( ((LA11_0>='0' && LA11_0<='9')) ) {
1004 alt11=1;
1005 }
1006
1007
1008 switch (alt11) {
1009 case 1 :
1010 // InternalCftLanguage.g:4151:13: '0' .. '9'
1011 {
1012 matchRange('0','9');
1013
1014 }
1015 break;
1016
1017 default :
1018 if ( cnt11 >= 1 ) break loop11;
1019 EarlyExitException eee =
1020 new EarlyExitException(11, input);
1021 throw eee;
1022 }
1023 cnt11++;
1024 } while (true);
1025
1026
1027 }
1028
1029 state.type = _type;
1030 state.channel = _channel;
1031 }
1032 finally {
1033 }
1034 }
1035 // $ANTLR end "RULE_INT"
1036
1037 // $ANTLR start "RULE_STRING"
1038 public final void mRULE_STRING() throws RecognitionException {
1039 try {
1040 int _type = RULE_STRING;
1041 int _channel = DEFAULT_TOKEN_CHANNEL;
1042 // InternalCftLanguage.g:4153:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1043 // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1044 {
1045 // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1046 int alt14=2;
1047 int LA14_0 = input.LA(1);
1048
1049 if ( (LA14_0=='\"') ) {
1050 alt14=1;
1051 }
1052 else if ( (LA14_0=='\'') ) {
1053 alt14=2;
1054 }
1055 else {
1056 NoViableAltException nvae =
1057 new NoViableAltException("", 14, 0, input);
1058
1059 throw nvae;
1060 }
1061 switch (alt14) {
1062 case 1 :
1063 // InternalCftLanguage.g:4153:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1064 {
1065 match('\"');
1066 // InternalCftLanguage.g:4153:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1067 loop12:
1068 do {
1069 int alt12=3;
1070 int LA12_0 = input.LA(1);
1071
1072 if ( (LA12_0=='\\') ) {
1073 alt12=1;
1074 }
1075 else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) {
1076 alt12=2;
1077 }
1078
1079
1080 switch (alt12) {
1081 case 1 :
1082 // InternalCftLanguage.g:4153:21: '\\\\' .
1083 {
1084 match('\\');
1085 matchAny();
1086
1087 }
1088 break;
1089 case 2 :
1090 // InternalCftLanguage.g:4153:28: ~ ( ( '\\\\' | '\"' ) )
1091 {
1092 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1093 input.consume();
1094
1095 }
1096 else {
1097 MismatchedSetException mse = new MismatchedSetException(null,input);
1098 recover(mse);
1099 throw mse;}
1100
1101
1102 }
1103 break;
1104
1105 default :
1106 break loop12;
1107 }
1108 } while (true);
1109
1110 match('\"');
1111
1112 }
1113 break;
1114 case 2 :
1115 // InternalCftLanguage.g:4153:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1116 {
1117 match('\'');
1118 // InternalCftLanguage.g:4153:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1119 loop13:
1120 do {
1121 int alt13=3;
1122 int LA13_0 = input.LA(1);
1123
1124 if ( (LA13_0=='\\') ) {
1125 alt13=1;
1126 }
1127 else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) {
1128 alt13=2;
1129 }
1130
1131
1132 switch (alt13) {
1133 case 1 :
1134 // InternalCftLanguage.g:4153:54: '\\\\' .
1135 {
1136 match('\\');
1137 matchAny();
1138
1139 }
1140 break;
1141 case 2 :
1142 // InternalCftLanguage.g:4153:61: ~ ( ( '\\\\' | '\\'' ) )
1143 {
1144 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1145 input.consume();
1146
1147 }
1148 else {
1149 MismatchedSetException mse = new MismatchedSetException(null,input);
1150 recover(mse);
1151 throw mse;}
1152
1153
1154 }
1155 break;
1156
1157 default :
1158 break loop13;
1159 }
1160 } while (true);
1161
1162 match('\'');
1163
1164 }
1165 break;
1166
1167 }
1168
1169
1170 }
1171
1172 state.type = _type;
1173 state.channel = _channel;
1174 }
1175 finally {
1176 }
1177 }
1178 // $ANTLR end "RULE_STRING"
1179
1180 // $ANTLR start "RULE_ML_COMMENT"
1181 public final void mRULE_ML_COMMENT() throws RecognitionException {
1182 try {
1183 int _type = RULE_ML_COMMENT;
1184 int _channel = DEFAULT_TOKEN_CHANNEL;
1185 // InternalCftLanguage.g:4155:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1186 // InternalCftLanguage.g:4155:19: '/*' ( options {greedy=false; } : . )* '*/'
1187 {
1188 match("/*");
1189
1190 // InternalCftLanguage.g:4155:24: ( options {greedy=false; } : . )*
1191 loop15:
1192 do {
1193 int alt15=2;
1194 int LA15_0 = input.LA(1);
1195
1196 if ( (LA15_0=='*') ) {
1197 int LA15_1 = input.LA(2);
1198
1199 if ( (LA15_1=='/') ) {
1200 alt15=2;
1201 }
1202 else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) {
1203 alt15=1;
1204 }
1205
1206
1207 }
1208 else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) {
1209 alt15=1;
1210 }
1211
1212
1213 switch (alt15) {
1214 case 1 :
1215 // InternalCftLanguage.g:4155:52: .
1216 {
1217 matchAny();
1218
1219 }
1220 break;
1221
1222 default :
1223 break loop15;
1224 }
1225 } while (true);
1226
1227 match("*/");
1228
1229
1230 }
1231
1232 state.type = _type;
1233 state.channel = _channel;
1234 }
1235 finally {
1236 }
1237 }
1238 // $ANTLR end "RULE_ML_COMMENT"
1239
1240 // $ANTLR start "RULE_SL_COMMENT"
1241 public final void mRULE_SL_COMMENT() throws RecognitionException {
1242 try {
1243 int _type = RULE_SL_COMMENT;
1244 int _channel = DEFAULT_TOKEN_CHANNEL;
1245 // InternalCftLanguage.g:4157:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1246 // InternalCftLanguage.g:4157:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1247 {
1248 match("//");
1249
1250 // InternalCftLanguage.g:4157:24: (~ ( ( '\\n' | '\\r' ) ) )*
1251 loop16:
1252 do {
1253 int alt16=2;
1254 int LA16_0 = input.LA(1);
1255
1256 if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) {
1257 alt16=1;
1258 }
1259
1260
1261 switch (alt16) {
1262 case 1 :
1263 // InternalCftLanguage.g:4157:24: ~ ( ( '\\n' | '\\r' ) )
1264 {
1265 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') ) {
1266 input.consume();
1267
1268 }
1269 else {
1270 MismatchedSetException mse = new MismatchedSetException(null,input);
1271 recover(mse);
1272 throw mse;}
1273
1274
1275 }
1276 break;
1277
1278 default :
1279 break loop16;
1280 }
1281 } while (true);
1282
1283 // InternalCftLanguage.g:4157:40: ( ( '\\r' )? '\\n' )?
1284 int alt18=2;
1285 int LA18_0 = input.LA(1);
1286
1287 if ( (LA18_0=='\n'||LA18_0=='\r') ) {
1288 alt18=1;
1289 }
1290 switch (alt18) {
1291 case 1 :
1292 // InternalCftLanguage.g:4157:41: ( '\\r' )? '\\n'
1293 {
1294 // InternalCftLanguage.g:4157:41: ( '\\r' )?
1295 int alt17=2;
1296 int LA17_0 = input.LA(1);
1297
1298 if ( (LA17_0=='\r') ) {
1299 alt17=1;
1300 }
1301 switch (alt17) {
1302 case 1 :
1303 // InternalCftLanguage.g:4157:41: '\\r'
1304 {
1305 match('\r');
1306
1307 }
1308 break;
1309
1310 }
1311
1312 match('\n');
1313
1314 }
1315 break;
1316
1317 }
1318
1319
1320 }
1321
1322 state.type = _type;
1323 state.channel = _channel;
1324 }
1325 finally {
1326 }
1327 }
1328 // $ANTLR end "RULE_SL_COMMENT"
1329
1330 // $ANTLR start "RULE_WS"
1331 public final void mRULE_WS() throws RecognitionException {
1332 try {
1333 int _type = RULE_WS;
1334 int _channel = DEFAULT_TOKEN_CHANNEL;
1335 // InternalCftLanguage.g:4159:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1336 // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1337 {
1338 // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1339 int cnt19=0;
1340 loop19:
1341 do {
1342 int alt19=2;
1343 int LA19_0 = input.LA(1);
1344
1345 if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) {
1346 alt19=1;
1347 }
1348
1349
1350 switch (alt19) {
1351 case 1 :
1352 // InternalCftLanguage.g:
1353 {
1354 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1355 input.consume();
1356
1357 }
1358 else {
1359 MismatchedSetException mse = new MismatchedSetException(null,input);
1360 recover(mse);
1361 throw mse;}
1362
1363
1364 }
1365 break;
1366
1367 default :
1368 if ( cnt19 >= 1 ) break loop19;
1369 EarlyExitException eee =
1370 new EarlyExitException(19, input);
1371 throw eee;
1372 }
1373 cnt19++;
1374 } while (true);
1375
1376
1377 }
1378
1379 state.type = _type;
1380 state.channel = _channel;
1381 }
1382 finally {
1383 }
1384 }
1385 // $ANTLR end "RULE_WS"
1386
1387 // $ANTLR start "RULE_ANY_OTHER"
1388 public final void mRULE_ANY_OTHER() throws RecognitionException {
1389 try {
1390 int _type = RULE_ANY_OTHER;
1391 int _channel = DEFAULT_TOKEN_CHANNEL;
1392 // InternalCftLanguage.g:4161:16: ( . )
1393 // InternalCftLanguage.g:4161:18: .
1394 {
1395 matchAny();
1396
1397 }
1398
1399 state.type = _type;
1400 state.channel = _channel;
1401 }
1402 finally {
1403 }
1404 }
1405 // $ANTLR end "RULE_ANY_OTHER"
1406
1407 public void mTokens() throws RecognitionException {
1408 // 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 )
1409 int alt20=37;
1410 alt20 = dfa20.predict(input);
1411 switch (alt20) {
1412 case 1 :
1413 // InternalCftLanguage.g:1:10: T__13
1414 {
1415 mT__13();
1416
1417 }
1418 break;
1419 case 2 :
1420 // InternalCftLanguage.g:1:16: T__14
1421 {
1422 mT__14();
1423
1424 }
1425 break;
1426 case 3 :
1427 // InternalCftLanguage.g:1:22: T__15
1428 {
1429 mT__15();
1430
1431 }
1432 break;
1433 case 4 :
1434 // InternalCftLanguage.g:1:28: T__16
1435 {
1436 mT__16();
1437
1438 }
1439 break;
1440 case 5 :
1441 // InternalCftLanguage.g:1:34: T__17
1442 {
1443 mT__17();
1444
1445 }
1446 break;
1447 case 6 :
1448 // InternalCftLanguage.g:1:40: T__18
1449 {
1450 mT__18();
1451
1452 }
1453 break;
1454 case 7 :
1455 // InternalCftLanguage.g:1:46: T__19
1456 {
1457 mT__19();
1458
1459 }
1460 break;
1461 case 8 :
1462 // InternalCftLanguage.g:1:52: T__20
1463 {
1464 mT__20();
1465
1466 }
1467 break;
1468 case 9 :
1469 // InternalCftLanguage.g:1:58: T__21
1470 {
1471 mT__21();
1472
1473 }
1474 break;
1475 case 10 :
1476 // InternalCftLanguage.g:1:64: T__22
1477 {
1478 mT__22();
1479
1480 }
1481 break;
1482 case 11 :
1483 // InternalCftLanguage.g:1:70: T__23
1484 {
1485 mT__23();
1486
1487 }
1488 break;
1489 case 12 :
1490 // InternalCftLanguage.g:1:76: T__24
1491 {
1492 mT__24();
1493
1494 }
1495 break;
1496 case 13 :
1497 // InternalCftLanguage.g:1:82: T__25
1498 {
1499 mT__25();
1500
1501 }
1502 break;
1503 case 14 :
1504 // InternalCftLanguage.g:1:88: T__26
1505 {
1506 mT__26();
1507
1508 }
1509 break;
1510 case 15 :
1511 // InternalCftLanguage.g:1:94: T__27
1512 {
1513 mT__27();
1514
1515 }
1516 break;
1517 case 16 :
1518 // InternalCftLanguage.g:1:100: T__28
1519 {
1520 mT__28();
1521
1522 }
1523 break;
1524 case 17 :
1525 // InternalCftLanguage.g:1:106: T__29
1526 {
1527 mT__29();
1528
1529 }
1530 break;
1531 case 18 :
1532 // InternalCftLanguage.g:1:112: T__30
1533 {
1534 mT__30();
1535
1536 }
1537 break;
1538 case 19 :
1539 // InternalCftLanguage.g:1:118: T__31
1540 {
1541 mT__31();
1542
1543 }
1544 break;
1545 case 20 :
1546 // InternalCftLanguage.g:1:124: T__32
1547 {
1548 mT__32();
1549
1550 }
1551 break;
1552 case 21 :
1553 // InternalCftLanguage.g:1:130: T__33
1554 {
1555 mT__33();
1556
1557 }
1558 break;
1559 case 22 :
1560 // InternalCftLanguage.g:1:136: T__34
1561 {
1562 mT__34();
1563
1564 }
1565 break;
1566 case 23 :
1567 // InternalCftLanguage.g:1:142: T__35
1568 {
1569 mT__35();
1570
1571 }
1572 break;
1573 case 24 :
1574 // InternalCftLanguage.g:1:148: T__36
1575 {
1576 mT__36();
1577
1578 }
1579 break;
1580 case 25 :
1581 // InternalCftLanguage.g:1:154: T__37
1582 {
1583 mT__37();
1584
1585 }
1586 break;
1587 case 26 :
1588 // InternalCftLanguage.g:1:160: T__38
1589 {
1590 mT__38();
1591
1592 }
1593 break;
1594 case 27 :
1595 // InternalCftLanguage.g:1:166: T__39
1596 {
1597 mT__39();
1598
1599 }
1600 break;
1601 case 28 :
1602 // InternalCftLanguage.g:1:172: T__40
1603 {
1604 mT__40();
1605
1606 }
1607 break;
1608 case 29 :
1609 // InternalCftLanguage.g:1:178: RULE_OF_INT
1610 {
1611 mRULE_OF_INT();
1612
1613 }
1614 break;
1615 case 30 :
1616 // InternalCftLanguage.g:1:190: RULE_T_DOUBLE
1617 {
1618 mRULE_T_DOUBLE();
1619
1620 }
1621 break;
1622 case 31 :
1623 // InternalCftLanguage.g:1:204: RULE_ID
1624 {
1625 mRULE_ID();
1626
1627 }
1628 break;
1629 case 32 :
1630 // InternalCftLanguage.g:1:212: RULE_INT
1631 {
1632 mRULE_INT();
1633
1634 }
1635 break;
1636 case 33 :
1637 // InternalCftLanguage.g:1:221: RULE_STRING
1638 {
1639 mRULE_STRING();
1640
1641 }
1642 break;
1643 case 34 :
1644 // InternalCftLanguage.g:1:233: RULE_ML_COMMENT
1645 {
1646 mRULE_ML_COMMENT();
1647
1648 }
1649 break;
1650 case 35 :
1651 // InternalCftLanguage.g:1:249: RULE_SL_COMMENT
1652 {
1653 mRULE_SL_COMMENT();
1654
1655 }
1656 break;
1657 case 36 :
1658 // InternalCftLanguage.g:1:265: RULE_WS
1659 {
1660 mRULE_WS();
1661
1662 }
1663 break;
1664 case 37 :
1665 // InternalCftLanguage.g:1:273: RULE_ANY_OTHER
1666 {
1667 mRULE_ANY_OTHER();
1668
1669 }
1670 break;
1671
1672 }
1673
1674 }
1675
1676
1677 protected DFA8 dfa8 = new DFA8(this);
1678 protected DFA20 dfa20 = new DFA20(this);
1679 static final String DFA8_eotS =
1680 "\3\uffff\1\4\1\uffff";
1681 static final String DFA8_eofS =
1682 "\5\uffff";
1683 static final String DFA8_minS =
1684 "\1\56\1\60\1\uffff\1\60\1\uffff";
1685 static final String DFA8_maxS =
1686 "\1\145\1\71\1\uffff\1\145\1\uffff";
1687 static final String DFA8_acceptS =
1688 "\2\uffff\1\2\1\uffff\1\1";
1689 static final String DFA8_specialS =
1690 "\5\uffff}>";
1691 static final String[] DFA8_transitionS = {
1692 "\1\1\26\uffff\1\2\37\uffff\1\2",
1693 "\12\3",
1694 "",
1695 "\12\3\13\uffff\1\2\37\uffff\1\2",
1696 ""
1697 };
1698
1699 static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS);
1700 static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS);
1701 static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS);
1702 static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS);
1703 static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS);
1704 static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS);
1705 static final short[][] DFA8_transition;
1706
1707 static {
1708 int numStates = DFA8_transitionS.length;
1709 DFA8_transition = new short[numStates][];
1710 for (int i=0; i<numStates; i++) {
1711 DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]);
1712 }
1713 }
1714
1715 class DFA8 extends DFA {
1716
1717 public DFA8(BaseRecognizer recognizer) {
1718 this.recognizer = recognizer;
1719 this.decisionNumber = 8;
1720 this.eot = DFA8_eot;
1721 this.eof = DFA8_eof;
1722 this.min = DFA8_min;
1723 this.max = DFA8_max;
1724 this.accept = DFA8_accept;
1725 this.special = DFA8_special;
1726 this.transition = DFA8_transition;
1727 }
1728 public String getDescription() {
1729 return "4147:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )";
1730 }
1731 }
1732 static final String DFA20_eotS =
1733 "\1\uffff\1\34\1\40\1\uffff\2\40\2\uffff\1\40\1\53\4\40\5\uffff\2\34\1\74\1\34\1\uffff\3\34\3\uffff\2\40\2\uffff\1\40\1\104\1\40\2\uffff\1\40\1\107\1\110\2\uffff\3\40\1\115\3\40\10\uffff\1\74\5\uffff\3\40\1\uffff\1\124\1\125\2\uffff\1\126\2\40\1\131\1\uffff\4\40\1\136\1\40\3\uffff\2\40\1\uffff\4\40\1\uffff\7\40\1\155\1\156\1\157\3\40\1\163\3\uffff\2\40\1\166\1\uffff\1\40\1\170\1\uffff\1\40\1\uffff\4\40\1\176\1\uffff";
1734 static final String DFA20_eofS =
1735 "\177\uffff";
1736 static final String DFA20_minS =
1737 "\1\0\1\75\1\141\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\1\157\2\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\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\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";
1738 static final String DFA20_maxS =
1739 "\1\uffff\1\75\1\162\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\1\157\2\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\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\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";
1740 static final String DFA20_acceptS =
1741 "\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\2\uffff\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\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\10\2\uffff\1\16\1\17\4\uffff\1\26\6\uffff\1\5\1\11\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\4\1\14\1\25\3\uffff\1\2\2\uffff\1\21\1\uffff\1\33\5\uffff\1\20";
1742 static final String DFA20_specialS =
1743 "\1\0\27\uffff\1\2\1\1\145\uffff}>";
1744 static final String[] DFA20_transitionS = {
1745 "\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",
1746 "\1\35",
1747 "\1\36\20\uffff\1\37",
1748 "",
1749 "\1\42\1\43",
1750 "\1\44",
1751 "",
1752 "",
1753 "\1\51\13\uffff\1\50\2\uffff\1\47",
1754 "\1\52",
1755 "\1\54\15\uffff\1\55",
1756 "\1\56\4\uffff\1\57",
1757 "\1\61\2\uffff\1\60",
1758 "\1\62",
1759 "",
1760 "",
1761 "",
1762 "",
1763 "",
1764 "\1\70",
1765 "\1\71",
1766 "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72",
1767 "\32\40\4\uffff\1\40\1\uffff\32\40",
1768 "",
1769 "\0\75",
1770 "\0\75",
1771 "\1\76\4\uffff\1\77",
1772 "",
1773 "",
1774 "",
1775 "\1\101",
1776 "\1\102",
1777 "",
1778 "",
1779 "\1\103",
1780 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1781 "\1\105",
1782 "",
1783 "",
1784 "\1\106",
1785 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1786 "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1787 "",
1788 "",
1789 "\1\112",
1790 "\1\113",
1791 "\1\114",
1792 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1793 "\1\116",
1794 "\1\117",
1795 "\1\120",
1796 "",
1797 "",
1798 "",
1799 "",
1800 "",
1801 "",
1802 "",
1803 "",
1804 "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72",
1805 "",
1806 "",
1807 "",
1808 "",
1809 "",
1810 "\1\121",
1811 "\1\122",
1812 "\1\123",
1813 "",
1814 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1815 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1816 "",
1817 "",
1818 "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1819 "\1\127",
1820 "\1\130",
1821 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1822 "",
1823 "\1\132",
1824 "\1\133",
1825 "\1\134",
1826 "\1\135",
1827 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1828 "\1\137",
1829 "",
1830 "",
1831 "",
1832 "\1\140",
1833 "\1\141",
1834 "",
1835 "\1\142",
1836 "\1\143",
1837 "\1\144",
1838 "\1\145",
1839 "",
1840 "\1\146",
1841 "\1\147",
1842 "\1\150",
1843 "\1\151",
1844 "\1\152",
1845 "\1\153",
1846 "\1\154",
1847 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1848 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1849 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1850 "\1\160",
1851 "\1\161",
1852 "\1\162",
1853 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1854 "",
1855 "",
1856 "",
1857 "\1\164",
1858 "\1\165",
1859 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1860 "",
1861 "\1\167",
1862 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1863 "",
1864 "\1\171",
1865 "",
1866 "\1\172",
1867 "\1\173",
1868 "\1\174",
1869 "\1\175",
1870 "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
1871 ""
1872 };
1873
1874 static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS);
1875 static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS);
1876 static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS);
1877 static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS);
1878 static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS);
1879 static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS);
1880 static final short[][] DFA20_transition;
1881
1882 static {
1883 int numStates = DFA20_transitionS.length;
1884 DFA20_transition = new short[numStates][];
1885 for (int i=0; i<numStates; i++) {
1886 DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]);
1887 }
1888 }
1889
1890 class DFA20 extends DFA {
1891
1892 public DFA20(BaseRecognizer recognizer) {
1893 this.recognizer = recognizer;
1894 this.decisionNumber = 20;
1895 this.eot = DFA20_eot;
1896 this.eof = DFA20_eof;
1897 this.min = DFA20_min;
1898 this.max = DFA20_max;
1899 this.accept = DFA20_accept;
1900 this.special = DFA20_special;
1901 this.transition = DFA20_transition;
1902 }
1903 public String getDescription() {
1904 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 );";
1905 }
1906 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1907 IntStream input = _input;
1908 int _s = s;
1909 switch ( s ) {
1910 case 0 :
1911 int LA20_0 = input.LA(1);
1912
1913 s = -1;
1914 if ( (LA20_0==':') ) {s = 1;}
1915
1916 else if ( (LA20_0=='p') ) {s = 2;}
1917
1918 else if ( (LA20_0==';') ) {s = 3;}
1919
1920 else if ( (LA20_0=='i') ) {s = 4;}
1921
1922 else if ( (LA20_0=='c') ) {s = 5;}
1923
1924 else if ( (LA20_0=='{') ) {s = 6;}
1925
1926 else if ( (LA20_0=='}') ) {s = 7;}
1927
1928 else if ( (LA20_0=='o') ) {s = 8;}
1929
1930 else if ( (LA20_0=='=') ) {s = 9;}
1931
1932 else if ( (LA20_0=='l') ) {s = 10;}
1933
1934 else if ( (LA20_0=='a') ) {s = 11;}
1935
1936 else if ( (LA20_0=='t') ) {s = 12;}
1937
1938 else if ( (LA20_0=='m') ) {s = 13;}
1939
1940 else if ( (LA20_0=='(') ) {s = 14;}
1941
1942 else if ( (LA20_0==')') ) {s = 15;}
1943
1944 else if ( (LA20_0==',') ) {s = 16;}
1945
1946 else if ( (LA20_0=='.') ) {s = 17;}
1947
1948 else if ( (LA20_0=='*') ) {s = 18;}
1949
1950 else if ( (LA20_0=='[') ) {s = 19;}
1951
1952 else if ( (LA20_0=='+') ) {s = 20;}
1953
1954 else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;}
1955
1956 else if ( (LA20_0=='^') ) {s = 22;}
1957
1958 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;}
1959
1960 else if ( (LA20_0=='\"') ) {s = 24;}
1961
1962 else if ( (LA20_0=='\'') ) {s = 25;}
1963
1964 else if ( (LA20_0=='/') ) {s = 26;}
1965
1966 else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;}
1967
1968 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;}
1969
1970 if ( s>=0 ) return s;
1971 break;
1972 case 1 :
1973 int LA20_25 = input.LA(1);
1974
1975 s = -1;
1976 if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;}
1977
1978 else s = 28;
1979
1980 if ( s>=0 ) return s;
1981 break;
1982 case 2 :
1983 int LA20_24 = input.LA(1);
1984
1985 s = -1;
1986 if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;}
1987
1988 else s = 28;
1989
1990 if ( s>=0 ) return s;
1991 break;
1992 }
1993 NoViableAltException nvae =
1994 new NoViableAltException(getDescription(), 20, _s, input);
1995 error(nvae);
1996 throw nvae;
1997 }
1998 }
1999
2000
2001} \ No newline at end of file
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
deleted file mode 100644
index df83084b..00000000
--- 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
+++ /dev/null
@@ -1,12646 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal;
2
3import java.io.InputStream;
4import org.eclipse.xtext.*;
5import org.eclipse.xtext.parser.*;
6import org.eclipse.xtext.parser.impl.*;
7import org.eclipse.emf.ecore.util.EcoreUtil;
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
12import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
14
15
16
17import org.antlr.runtime.*;
18import java.util.Stack;
19import java.util.List;
20import java.util.ArrayList;
21
22@SuppressWarnings("all")
23public class InternalCftLanguageParser extends AbstractInternalContentAssistParser {
24 public static final String[] tokenNames = new String[] {
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'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='"
26 };
27 public static final int RULE_STRING=8;
28 public static final int RULE_SL_COMMENT=10;
29 public static final int T__19=19;
30 public static final int T__15=15;
31 public static final int T__37=37;
32 public static final int T__16=16;
33 public static final int T__38=38;
34 public static final int T__17=17;
35 public static final int T__39=39;
36 public static final int T__18=18;
37 public static final int T__33=33;
38 public static final int T__34=34;
39 public static final int RULE_T_DOUBLE=7;
40 public static final int T__13=13;
41 public static final int T__35=35;
42 public static final int T__14=14;
43 public static final int T__36=36;
44 public static final int EOF=-1;
45 public static final int T__30=30;
46 public static final int T__31=31;
47 public static final int T__32=32;
48 public static final int RULE_OF_INT=5;
49 public static final int RULE_ID=4;
50 public static final int RULE_WS=11;
51 public static final int RULE_ANY_OTHER=12;
52 public static final int T__26=26;
53 public static final int T__27=27;
54 public static final int T__28=28;
55 public static final int RULE_INT=6;
56 public static final int T__29=29;
57 public static final int T__22=22;
58 public static final int RULE_ML_COMMENT=9;
59 public static final int T__23=23;
60 public static final int T__24=24;
61 public static final int T__25=25;
62 public static final int T__40=40;
63 public static final int T__20=20;
64 public static final int T__21=21;
65
66 // delegates
67 // delegators
68
69
70 public InternalCftLanguageParser(TokenStream input) {
71 this(input, new RecognizerSharedState());
72 }
73 public InternalCftLanguageParser(TokenStream input, RecognizerSharedState state) {
74 super(input, state);
75
76 }
77
78
79 public String[] getTokenNames() { return InternalCftLanguageParser.tokenNames; }
80 public String getGrammarFileName() { return "InternalCftLanguage.g"; }
81
82
83 private CftLanguageGrammarAccess grammarAccess;
84
85 public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) {
86 this.grammarAccess = grammarAccess;
87 }
88
89 @Override
90 protected Grammar getGrammar() {
91 return grammarAccess.getGrammar();
92 }
93
94 @Override
95 protected String getValueForTokenName(String tokenName) {
96 return tokenName;
97 }
98
99
100
101 // $ANTLR start "entryRuleCftModel"
102 // InternalCftLanguage.g:53:1: entryRuleCftModel : ruleCftModel EOF ;
103 public final void entryRuleCftModel() throws RecognitionException {
104 try {
105 // InternalCftLanguage.g:54:1: ( ruleCftModel EOF )
106 // InternalCftLanguage.g:55:1: ruleCftModel EOF
107 {
108 before(grammarAccess.getCftModelRule());
109 pushFollow(FOLLOW_1);
110 ruleCftModel();
111
112 state._fsp--;
113
114 after(grammarAccess.getCftModelRule());
115 match(input,EOF,FOLLOW_2);
116
117 }
118
119 }
120 catch (RecognitionException re) {
121 reportError(re);
122 recover(input,re);
123 }
124 finally {
125 }
126 return ;
127 }
128 // $ANTLR end "entryRuleCftModel"
129
130
131 // $ANTLR start "ruleCftModel"
132 // InternalCftLanguage.g:62:1: ruleCftModel : ( ( rule__CftModel__Group__0 ) ) ;
133 public final void ruleCftModel() throws RecognitionException {
134
135 int stackSize = keepStackSize();
136
137 try {
138 // InternalCftLanguage.g:66:2: ( ( ( rule__CftModel__Group__0 ) ) )
139 // InternalCftLanguage.g:67:2: ( ( rule__CftModel__Group__0 ) )
140 {
141 // InternalCftLanguage.g:67:2: ( ( rule__CftModel__Group__0 ) )
142 // InternalCftLanguage.g:68:3: ( rule__CftModel__Group__0 )
143 {
144 before(grammarAccess.getCftModelAccess().getGroup());
145 // InternalCftLanguage.g:69:3: ( rule__CftModel__Group__0 )
146 // InternalCftLanguage.g:69:4: rule__CftModel__Group__0
147 {
148 pushFollow(FOLLOW_2);
149 rule__CftModel__Group__0();
150
151 state._fsp--;
152
153
154 }
155
156 after(grammarAccess.getCftModelAccess().getGroup());
157
158 }
159
160
161 }
162
163 }
164 catch (RecognitionException re) {
165 reportError(re);
166 recover(input,re);
167 }
168 finally {
169
170 restoreStackSize(stackSize);
171
172 }
173 return ;
174 }
175 // $ANTLR end "ruleCftModel"
176
177
178 // $ANTLR start "entryRuleImportDeclaration"
179 // InternalCftLanguage.g:78:1: entryRuleImportDeclaration : ruleImportDeclaration EOF ;
180 public final void entryRuleImportDeclaration() throws RecognitionException {
181 try {
182 // InternalCftLanguage.g:79:1: ( ruleImportDeclaration EOF )
183 // InternalCftLanguage.g:80:1: ruleImportDeclaration EOF
184 {
185 before(grammarAccess.getImportDeclarationRule());
186 pushFollow(FOLLOW_1);
187 ruleImportDeclaration();
188
189 state._fsp--;
190
191 after(grammarAccess.getImportDeclarationRule());
192 match(input,EOF,FOLLOW_2);
193
194 }
195
196 }
197 catch (RecognitionException re) {
198 reportError(re);
199 recover(input,re);
200 }
201 finally {
202 }
203 return ;
204 }
205 // $ANTLR end "entryRuleImportDeclaration"
206
207
208 // $ANTLR start "ruleImportDeclaration"
209 // InternalCftLanguage.g:87:1: ruleImportDeclaration : ( ( rule__ImportDeclaration__Group__0 ) ) ;
210 public final void ruleImportDeclaration() throws RecognitionException {
211
212 int stackSize = keepStackSize();
213
214 try {
215 // InternalCftLanguage.g:91:2: ( ( ( rule__ImportDeclaration__Group__0 ) ) )
216 // InternalCftLanguage.g:92:2: ( ( rule__ImportDeclaration__Group__0 ) )
217 {
218 // InternalCftLanguage.g:92:2: ( ( rule__ImportDeclaration__Group__0 ) )
219 // InternalCftLanguage.g:93:3: ( rule__ImportDeclaration__Group__0 )
220 {
221 before(grammarAccess.getImportDeclarationAccess().getGroup());
222 // InternalCftLanguage.g:94:3: ( rule__ImportDeclaration__Group__0 )
223 // InternalCftLanguage.g:94:4: rule__ImportDeclaration__Group__0
224 {
225 pushFollow(FOLLOW_2);
226 rule__ImportDeclaration__Group__0();
227
228 state._fsp--;
229
230
231 }
232
233 after(grammarAccess.getImportDeclarationAccess().getGroup());
234
235 }
236
237
238 }
239
240 }
241 catch (RecognitionException re) {
242 reportError(re);
243 recover(input,re);
244 }
245 finally {
246
247 restoreStackSize(stackSize);
248
249 }
250 return ;
251 }
252 // $ANTLR end "ruleImportDeclaration"
253
254
255 // $ANTLR start "entryRuleComponentDefinition"
256 // InternalCftLanguage.g:103:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ;
257 public final void entryRuleComponentDefinition() throws RecognitionException {
258 try {
259 // InternalCftLanguage.g:104:1: ( ruleComponentDefinition EOF )
260 // InternalCftLanguage.g:105:1: ruleComponentDefinition EOF
261 {
262 before(grammarAccess.getComponentDefinitionRule());
263 pushFollow(FOLLOW_1);
264 ruleComponentDefinition();
265
266 state._fsp--;
267
268 after(grammarAccess.getComponentDefinitionRule());
269 match(input,EOF,FOLLOW_2);
270
271 }
272
273 }
274 catch (RecognitionException re) {
275 reportError(re);
276 recover(input,re);
277 }
278 finally {
279 }
280 return ;
281 }
282 // $ANTLR end "entryRuleComponentDefinition"
283
284
285 // $ANTLR start "ruleComponentDefinition"
286 // InternalCftLanguage.g:112:1: ruleComponentDefinition : ( ( rule__ComponentDefinition__Group__0 ) ) ;
287 public final void ruleComponentDefinition() throws RecognitionException {
288
289 int stackSize = keepStackSize();
290
291 try {
292 // InternalCftLanguage.g:116:2: ( ( ( rule__ComponentDefinition__Group__0 ) ) )
293 // InternalCftLanguage.g:117:2: ( ( rule__ComponentDefinition__Group__0 ) )
294 {
295 // InternalCftLanguage.g:117:2: ( ( rule__ComponentDefinition__Group__0 ) )
296 // InternalCftLanguage.g:118:3: ( rule__ComponentDefinition__Group__0 )
297 {
298 before(grammarAccess.getComponentDefinitionAccess().getGroup());
299 // InternalCftLanguage.g:119:3: ( rule__ComponentDefinition__Group__0 )
300 // InternalCftLanguage.g:119:4: rule__ComponentDefinition__Group__0
301 {
302 pushFollow(FOLLOW_2);
303 rule__ComponentDefinition__Group__0();
304
305 state._fsp--;
306
307
308 }
309
310 after(grammarAccess.getComponentDefinitionAccess().getGroup());
311
312 }
313
314
315 }
316
317 }
318 catch (RecognitionException re) {
319 reportError(re);
320 recover(input,re);
321 }
322 finally {
323
324 restoreStackSize(stackSize);
325
326 }
327 return ;
328 }
329 // $ANTLR end "ruleComponentDefinition"
330
331
332 // $ANTLR start "entryRuleInputEvent"
333 // InternalCftLanguage.g:128:1: entryRuleInputEvent : ruleInputEvent EOF ;
334 public final void entryRuleInputEvent() throws RecognitionException {
335 try {
336 // InternalCftLanguage.g:129:1: ( ruleInputEvent EOF )
337 // InternalCftLanguage.g:130:1: ruleInputEvent EOF
338 {
339 before(grammarAccess.getInputEventRule());
340 pushFollow(FOLLOW_1);
341 ruleInputEvent();
342
343 state._fsp--;
344
345 after(grammarAccess.getInputEventRule());
346 match(input,EOF,FOLLOW_2);
347
348 }
349
350 }
351 catch (RecognitionException re) {
352 reportError(re);
353 recover(input,re);
354 }
355 finally {
356 }
357 return ;
358 }
359 // $ANTLR end "entryRuleInputEvent"
360
361
362 // $ANTLR start "ruleInputEvent"
363 // InternalCftLanguage.g:137:1: ruleInputEvent : ( ( rule__InputEvent__Group__0 ) ) ;
364 public final void ruleInputEvent() throws RecognitionException {
365
366 int stackSize = keepStackSize();
367
368 try {
369 // InternalCftLanguage.g:141:2: ( ( ( rule__InputEvent__Group__0 ) ) )
370 // InternalCftLanguage.g:142:2: ( ( rule__InputEvent__Group__0 ) )
371 {
372 // InternalCftLanguage.g:142:2: ( ( rule__InputEvent__Group__0 ) )
373 // InternalCftLanguage.g:143:3: ( rule__InputEvent__Group__0 )
374 {
375 before(grammarAccess.getInputEventAccess().getGroup());
376 // InternalCftLanguage.g:144:3: ( rule__InputEvent__Group__0 )
377 // InternalCftLanguage.g:144:4: rule__InputEvent__Group__0
378 {
379 pushFollow(FOLLOW_2);
380 rule__InputEvent__Group__0();
381
382 state._fsp--;
383
384
385 }
386
387 after(grammarAccess.getInputEventAccess().getGroup());
388
389 }
390
391
392 }
393
394 }
395 catch (RecognitionException re) {
396 reportError(re);
397 recover(input,re);
398 }
399 finally {
400
401 restoreStackSize(stackSize);
402
403 }
404 return ;
405 }
406 // $ANTLR end "ruleInputEvent"
407
408
409 // $ANTLR start "entryRuleEventDefinition"
410 // InternalCftLanguage.g:153:1: entryRuleEventDefinition : ruleEventDefinition EOF ;
411 public final void entryRuleEventDefinition() throws RecognitionException {
412 try {
413 // InternalCftLanguage.g:154:1: ( ruleEventDefinition EOF )
414 // InternalCftLanguage.g:155:1: ruleEventDefinition EOF
415 {
416 before(grammarAccess.getEventDefinitionRule());
417 pushFollow(FOLLOW_1);
418 ruleEventDefinition();
419
420 state._fsp--;
421
422 after(grammarAccess.getEventDefinitionRule());
423 match(input,EOF,FOLLOW_2);
424
425 }
426
427 }
428 catch (RecognitionException re) {
429 reportError(re);
430 recover(input,re);
431 }
432 finally {
433 }
434 return ;
435 }
436 // $ANTLR end "entryRuleEventDefinition"
437
438
439 // $ANTLR start "ruleEventDefinition"
440 // InternalCftLanguage.g:162:1: ruleEventDefinition : ( ( rule__EventDefinition__Alternatives ) ) ;
441 public final void ruleEventDefinition() throws RecognitionException {
442
443 int stackSize = keepStackSize();
444
445 try {
446 // InternalCftLanguage.g:166:2: ( ( ( rule__EventDefinition__Alternatives ) ) )
447 // InternalCftLanguage.g:167:2: ( ( rule__EventDefinition__Alternatives ) )
448 {
449 // InternalCftLanguage.g:167:2: ( ( rule__EventDefinition__Alternatives ) )
450 // InternalCftLanguage.g:168:3: ( rule__EventDefinition__Alternatives )
451 {
452 before(grammarAccess.getEventDefinitionAccess().getAlternatives());
453 // InternalCftLanguage.g:169:3: ( rule__EventDefinition__Alternatives )
454 // InternalCftLanguage.g:169:4: rule__EventDefinition__Alternatives
455 {
456 pushFollow(FOLLOW_2);
457 rule__EventDefinition__Alternatives();
458
459 state._fsp--;
460
461
462 }
463
464 after(grammarAccess.getEventDefinitionAccess().getAlternatives());
465
466 }
467
468
469 }
470
471 }
472 catch (RecognitionException re) {
473 reportError(re);
474 recover(input,re);
475 }
476 finally {
477
478 restoreStackSize(stackSize);
479
480 }
481 return ;
482 }
483 // $ANTLR end "ruleEventDefinition"
484
485
486 // $ANTLR start "entryRuleBasicEventDefinition"
487 // InternalCftLanguage.g:178:1: entryRuleBasicEventDefinition : ruleBasicEventDefinition EOF ;
488 public final void entryRuleBasicEventDefinition() throws RecognitionException {
489 try {
490 // InternalCftLanguage.g:179:1: ( ruleBasicEventDefinition EOF )
491 // InternalCftLanguage.g:180:1: ruleBasicEventDefinition EOF
492 {
493 before(grammarAccess.getBasicEventDefinitionRule());
494 pushFollow(FOLLOW_1);
495 ruleBasicEventDefinition();
496
497 state._fsp--;
498
499 after(grammarAccess.getBasicEventDefinitionRule());
500 match(input,EOF,FOLLOW_2);
501
502 }
503
504 }
505 catch (RecognitionException re) {
506 reportError(re);
507 recover(input,re);
508 }
509 finally {
510 }
511 return ;
512 }
513 // $ANTLR end "entryRuleBasicEventDefinition"
514
515
516 // $ANTLR start "ruleBasicEventDefinition"
517 // InternalCftLanguage.g:187:1: ruleBasicEventDefinition : ( ( rule__BasicEventDefinition__Group__0 ) ) ;
518 public final void ruleBasicEventDefinition() throws RecognitionException {
519
520 int stackSize = keepStackSize();
521
522 try {
523 // InternalCftLanguage.g:191:2: ( ( ( rule__BasicEventDefinition__Group__0 ) ) )
524 // InternalCftLanguage.g:192:2: ( ( rule__BasicEventDefinition__Group__0 ) )
525 {
526 // InternalCftLanguage.g:192:2: ( ( rule__BasicEventDefinition__Group__0 ) )
527 // InternalCftLanguage.g:193:3: ( rule__BasicEventDefinition__Group__0 )
528 {
529 before(grammarAccess.getBasicEventDefinitionAccess().getGroup());
530 // InternalCftLanguage.g:194:3: ( rule__BasicEventDefinition__Group__0 )
531 // InternalCftLanguage.g:194:4: rule__BasicEventDefinition__Group__0
532 {
533 pushFollow(FOLLOW_2);
534 rule__BasicEventDefinition__Group__0();
535
536 state._fsp--;
537
538
539 }
540
541 after(grammarAccess.getBasicEventDefinitionAccess().getGroup());
542
543 }
544
545
546 }
547
548 }
549 catch (RecognitionException re) {
550 reportError(re);
551 recover(input,re);
552 }
553 finally {
554
555 restoreStackSize(stackSize);
556
557 }
558 return ;
559 }
560 // $ANTLR end "ruleBasicEventDefinition"
561
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
794 // $ANTLR start "entryRuleGateDefinition"
795 // InternalCftLanguage.g:278:1: entryRuleGateDefinition : ruleGateDefinition EOF ;
796 public final void entryRuleGateDefinition() throws RecognitionException {
797 try {
798 // InternalCftLanguage.g:279:1: ( ruleGateDefinition EOF )
799 // InternalCftLanguage.g:280:1: ruleGateDefinition EOF
800 {
801 before(grammarAccess.getGateDefinitionRule());
802 pushFollow(FOLLOW_1);
803 ruleGateDefinition();
804
805 state._fsp--;
806
807 after(grammarAccess.getGateDefinitionRule());
808 match(input,EOF,FOLLOW_2);
809
810 }
811
812 }
813 catch (RecognitionException re) {
814 reportError(re);
815 recover(input,re);
816 }
817 finally {
818 }
819 return ;
820 }
821 // $ANTLR end "entryRuleGateDefinition"
822
823
824 // $ANTLR start "ruleGateDefinition"
825 // InternalCftLanguage.g:287:1: ruleGateDefinition : ( ( rule__GateDefinition__Alternatives ) ) ;
826 public final void ruleGateDefinition() throws RecognitionException {
827
828 int stackSize = keepStackSize();
829
830 try {
831 // InternalCftLanguage.g:291:2: ( ( ( rule__GateDefinition__Alternatives ) ) )
832 // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) )
833 {
834 // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) )
835 // InternalCftLanguage.g:293:3: ( rule__GateDefinition__Alternatives )
836 {
837 before(grammarAccess.getGateDefinitionAccess().getAlternatives());
838 // InternalCftLanguage.g:294:3: ( rule__GateDefinition__Alternatives )
839 // InternalCftLanguage.g:294:4: rule__GateDefinition__Alternatives
840 {
841 pushFollow(FOLLOW_2);
842 rule__GateDefinition__Alternatives();
843
844 state._fsp--;
845
846
847 }
848
849 after(grammarAccess.getGateDefinitionAccess().getAlternatives());
850
851 }
852
853
854 }
855
856 }
857 catch (RecognitionException re) {
858 reportError(re);
859 recover(input,re);
860 }
861 finally {
862
863 restoreStackSize(stackSize);
864
865 }
866 return ;
867 }
868 // $ANTLR end "ruleGateDefinition"
869
870
871 // $ANTLR start "entryRuleAndGateDefinition"
872 // InternalCftLanguage.g:303:1: entryRuleAndGateDefinition : ruleAndGateDefinition EOF ;
873 public final void entryRuleAndGateDefinition() throws RecognitionException {
874 try {
875 // InternalCftLanguage.g:304:1: ( ruleAndGateDefinition EOF )
876 // InternalCftLanguage.g:305:1: ruleAndGateDefinition EOF
877 {
878 before(grammarAccess.getAndGateDefinitionRule());
879 pushFollow(FOLLOW_1);
880 ruleAndGateDefinition();
881
882 state._fsp--;
883
884 after(grammarAccess.getAndGateDefinitionRule());
885 match(input,EOF,FOLLOW_2);
886
887 }
888
889 }
890 catch (RecognitionException re) {
891 reportError(re);
892 recover(input,re);
893 }
894 finally {
895 }
896 return ;
897 }
898 // $ANTLR end "entryRuleAndGateDefinition"
899
900
901 // $ANTLR start "ruleAndGateDefinition"
902 // InternalCftLanguage.g:312:1: ruleAndGateDefinition : ( ( rule__AndGateDefinition__Group__0 ) ) ;
903 public final void ruleAndGateDefinition() throws RecognitionException {
904
905 int stackSize = keepStackSize();
906
907 try {
908 // InternalCftLanguage.g:316:2: ( ( ( rule__AndGateDefinition__Group__0 ) ) )
909 // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) )
910 {
911 // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) )
912 // InternalCftLanguage.g:318:3: ( rule__AndGateDefinition__Group__0 )
913 {
914 before(grammarAccess.getAndGateDefinitionAccess().getGroup());
915 // InternalCftLanguage.g:319:3: ( rule__AndGateDefinition__Group__0 )
916 // InternalCftLanguage.g:319:4: rule__AndGateDefinition__Group__0
917 {
918 pushFollow(FOLLOW_2);
919 rule__AndGateDefinition__Group__0();
920
921 state._fsp--;
922
923
924 }
925
926 after(grammarAccess.getAndGateDefinitionAccess().getGroup());
927
928 }
929
930
931 }
932
933 }
934 catch (RecognitionException re) {
935 reportError(re);
936 recover(input,re);
937 }
938 finally {
939
940 restoreStackSize(stackSize);
941
942 }
943 return ;
944 }
945 // $ANTLR end "ruleAndGateDefinition"
946
947
948 // $ANTLR start "entryRuleOrGateDefinition"
949 // InternalCftLanguage.g:328:1: entryRuleOrGateDefinition : ruleOrGateDefinition EOF ;
950 public final void entryRuleOrGateDefinition() throws RecognitionException {
951 try {
952 // InternalCftLanguage.g:329:1: ( ruleOrGateDefinition EOF )
953 // InternalCftLanguage.g:330:1: ruleOrGateDefinition EOF
954 {
955 before(grammarAccess.getOrGateDefinitionRule());
956 pushFollow(FOLLOW_1);
957 ruleOrGateDefinition();
958
959 state._fsp--;
960
961 after(grammarAccess.getOrGateDefinitionRule());
962 match(input,EOF,FOLLOW_2);
963
964 }
965
966 }
967 catch (RecognitionException re) {
968 reportError(re);
969 recover(input,re);
970 }
971 finally {
972 }
973 return ;
974 }
975 // $ANTLR end "entryRuleOrGateDefinition"
976
977
978 // $ANTLR start "ruleOrGateDefinition"
979 // InternalCftLanguage.g:337:1: ruleOrGateDefinition : ( ( rule__OrGateDefinition__Group__0 ) ) ;
980 public final void ruleOrGateDefinition() throws RecognitionException {
981
982 int stackSize = keepStackSize();
983
984 try {
985 // InternalCftLanguage.g:341:2: ( ( ( rule__OrGateDefinition__Group__0 ) ) )
986 // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) )
987 {
988 // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) )
989 // InternalCftLanguage.g:343:3: ( rule__OrGateDefinition__Group__0 )
990 {
991 before(grammarAccess.getOrGateDefinitionAccess().getGroup());
992 // InternalCftLanguage.g:344:3: ( rule__OrGateDefinition__Group__0 )
993 // InternalCftLanguage.g:344:4: rule__OrGateDefinition__Group__0
994 {
995 pushFollow(FOLLOW_2);
996 rule__OrGateDefinition__Group__0();
997
998 state._fsp--;
999
1000
1001 }
1002
1003 after(grammarAccess.getOrGateDefinitionAccess().getGroup());
1004
1005 }
1006
1007
1008 }
1009
1010 }
1011 catch (RecognitionException re) {
1012 reportError(re);
1013 recover(input,re);
1014 }
1015 finally {
1016
1017 restoreStackSize(stackSize);
1018
1019 }
1020 return ;
1021 }
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"
1100
1101
1102 // $ANTLR start "entryRuleTransformationDefinition"
1103 // InternalCftLanguage.g:378:1: entryRuleTransformationDefinition : ruleTransformationDefinition EOF ;
1104 public final void entryRuleTransformationDefinition() throws RecognitionException {
1105 try {
1106 // InternalCftLanguage.g:379:1: ( ruleTransformationDefinition EOF )
1107 // InternalCftLanguage.g:380:1: ruleTransformationDefinition EOF
1108 {
1109 before(grammarAccess.getTransformationDefinitionRule());
1110 pushFollow(FOLLOW_1);
1111 ruleTransformationDefinition();
1112
1113 state._fsp--;
1114
1115 after(grammarAccess.getTransformationDefinitionRule());
1116 match(input,EOF,FOLLOW_2);
1117
1118 }
1119
1120 }
1121 catch (RecognitionException re) {
1122 reportError(re);
1123 recover(input,re);
1124 }
1125 finally {
1126 }
1127 return ;
1128 }
1129 // $ANTLR end "entryRuleTransformationDefinition"
1130
1131
1132 // $ANTLR start "ruleTransformationDefinition"
1133 // InternalCftLanguage.g:387:1: ruleTransformationDefinition : ( ( rule__TransformationDefinition__Group__0 ) ) ;
1134 public final void ruleTransformationDefinition() throws RecognitionException {
1135
1136 int stackSize = keepStackSize();
1137
1138 try {
1139 // InternalCftLanguage.g:391:2: ( ( ( rule__TransformationDefinition__Group__0 ) ) )
1140 // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) )
1141 {
1142 // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) )
1143 // InternalCftLanguage.g:393:3: ( rule__TransformationDefinition__Group__0 )
1144 {
1145 before(grammarAccess.getTransformationDefinitionAccess().getGroup());
1146 // InternalCftLanguage.g:394:3: ( rule__TransformationDefinition__Group__0 )
1147 // InternalCftLanguage.g:394:4: rule__TransformationDefinition__Group__0
1148 {
1149 pushFollow(FOLLOW_2);
1150 rule__TransformationDefinition__Group__0();
1151
1152 state._fsp--;
1153
1154
1155 }
1156
1157 after(grammarAccess.getTransformationDefinitionAccess().getGroup());
1158
1159 }
1160
1161
1162 }
1163
1164 }
1165 catch (RecognitionException re) {
1166 reportError(re);
1167 recover(input,re);
1168 }
1169 finally {
1170
1171 restoreStackSize(stackSize);
1172
1173 }
1174 return ;
1175 }
1176 // $ANTLR end "ruleTransformationDefinition"
1177
1178
1179 // $ANTLR start "entryRuleMappingDefinition"
1180 // InternalCftLanguage.g:403:1: entryRuleMappingDefinition : ruleMappingDefinition EOF ;
1181 public final void entryRuleMappingDefinition() throws RecognitionException {
1182 try {
1183 // InternalCftLanguage.g:404:1: ( ruleMappingDefinition EOF )
1184 // InternalCftLanguage.g:405:1: ruleMappingDefinition EOF
1185 {
1186 before(grammarAccess.getMappingDefinitionRule());
1187 pushFollow(FOLLOW_1);
1188 ruleMappingDefinition();
1189
1190 state._fsp--;
1191
1192 after(grammarAccess.getMappingDefinitionRule());
1193 match(input,EOF,FOLLOW_2);
1194
1195 }
1196
1197 }
1198 catch (RecognitionException re) {
1199 reportError(re);
1200 recover(input,re);
1201 }
1202 finally {
1203 }
1204 return ;
1205 }
1206 // $ANTLR end "entryRuleMappingDefinition"
1207
1208
1209 // $ANTLR start "ruleMappingDefinition"
1210 // InternalCftLanguage.g:412:1: ruleMappingDefinition : ( ( rule__MappingDefinition__Group__0 ) ) ;
1211 public final void ruleMappingDefinition() throws RecognitionException {
1212
1213 int stackSize = keepStackSize();
1214
1215 try {
1216 // InternalCftLanguage.g:416:2: ( ( ( rule__MappingDefinition__Group__0 ) ) )
1217 // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) )
1218 {
1219 // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) )
1220 // InternalCftLanguage.g:418:3: ( rule__MappingDefinition__Group__0 )
1221 {
1222 before(grammarAccess.getMappingDefinitionAccess().getGroup());
1223 // InternalCftLanguage.g:419:3: ( rule__MappingDefinition__Group__0 )
1224 // InternalCftLanguage.g:419:4: rule__MappingDefinition__Group__0
1225 {
1226 pushFollow(FOLLOW_2);
1227 rule__MappingDefinition__Group__0();
1228
1229 state._fsp--;
1230
1231
1232 }
1233
1234 after(grammarAccess.getMappingDefinitionAccess().getGroup());
1235
1236 }
1237
1238
1239 }
1240
1241 }
1242 catch (RecognitionException re) {
1243 reportError(re);
1244 recover(input,re);
1245 }
1246 finally {
1247
1248 restoreStackSize(stackSize);
1249
1250 }
1251 return ;
1252 }
1253 // $ANTLR end "ruleMappingDefinition"
1254
1255
1256 // $ANTLR start "entryRuleMappingParameter"
1257 // InternalCftLanguage.g:428:1: entryRuleMappingParameter : ruleMappingParameter EOF ;
1258 public final void entryRuleMappingParameter() throws RecognitionException {
1259 try {
1260 // InternalCftLanguage.g:429:1: ( ruleMappingParameter EOF )
1261 // InternalCftLanguage.g:430:1: ruleMappingParameter EOF
1262 {
1263 before(grammarAccess.getMappingParameterRule());
1264 pushFollow(FOLLOW_1);
1265 ruleMappingParameter();
1266
1267 state._fsp--;
1268
1269 after(grammarAccess.getMappingParameterRule());
1270 match(input,EOF,FOLLOW_2);
1271
1272 }
1273
1274 }
1275 catch (RecognitionException re) {
1276 reportError(re);
1277 recover(input,re);
1278 }
1279 finally {
1280 }
1281 return ;
1282 }
1283 // $ANTLR end "entryRuleMappingParameter"
1284
1285
1286 // $ANTLR start "ruleMappingParameter"
1287 // InternalCftLanguage.g:437:1: ruleMappingParameter : ( ( rule__MappingParameter__NameAssignment ) ) ;
1288 public final void ruleMappingParameter() throws RecognitionException {
1289
1290 int stackSize = keepStackSize();
1291
1292 try {
1293 // InternalCftLanguage.g:441:2: ( ( ( rule__MappingParameter__NameAssignment ) ) )
1294 // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) )
1295 {
1296 // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) )
1297 // InternalCftLanguage.g:443:3: ( rule__MappingParameter__NameAssignment )
1298 {
1299 before(grammarAccess.getMappingParameterAccess().getNameAssignment());
1300 // InternalCftLanguage.g:444:3: ( rule__MappingParameter__NameAssignment )
1301 // InternalCftLanguage.g:444:4: rule__MappingParameter__NameAssignment
1302 {
1303 pushFollow(FOLLOW_2);
1304 rule__MappingParameter__NameAssignment();
1305
1306 state._fsp--;
1307
1308
1309 }
1310
1311 after(grammarAccess.getMappingParameterAccess().getNameAssignment());
1312
1313 }
1314
1315
1316 }
1317
1318 }
1319 catch (RecognitionException re) {
1320 reportError(re);
1321 recover(input,re);
1322 }
1323 finally {
1324
1325 restoreStackSize(stackSize);
1326
1327 }
1328 return ;
1329 }
1330 // $ANTLR end "ruleMappingParameter"
1331
1332
1333 // $ANTLR start "entryRuleLookupDefinition"
1334 // InternalCftLanguage.g:453:1: entryRuleLookupDefinition : ruleLookupDefinition EOF ;
1335 public final void entryRuleLookupDefinition() throws RecognitionException {
1336 try {
1337 // InternalCftLanguage.g:454:1: ( ruleLookupDefinition EOF )
1338 // InternalCftLanguage.g:455:1: ruleLookupDefinition EOF
1339 {
1340 before(grammarAccess.getLookupDefinitionRule());
1341 pushFollow(FOLLOW_1);
1342 ruleLookupDefinition();
1343
1344 state._fsp--;
1345
1346 after(grammarAccess.getLookupDefinitionRule());
1347 match(input,EOF,FOLLOW_2);
1348
1349 }
1350
1351 }
1352 catch (RecognitionException re) {
1353 reportError(re);
1354 recover(input,re);
1355 }
1356 finally {
1357 }
1358 return ;
1359 }
1360 // $ANTLR end "entryRuleLookupDefinition"
1361
1362
1363 // $ANTLR start "ruleLookupDefinition"
1364 // InternalCftLanguage.g:462:1: ruleLookupDefinition : ( ( rule__LookupDefinition__Group__0 ) ) ;
1365 public final void ruleLookupDefinition() throws RecognitionException {
1366
1367 int stackSize = keepStackSize();
1368
1369 try {
1370 // InternalCftLanguage.g:466:2: ( ( ( rule__LookupDefinition__Group__0 ) ) )
1371 // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) )
1372 {
1373 // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) )
1374 // InternalCftLanguage.g:468:3: ( rule__LookupDefinition__Group__0 )
1375 {
1376 before(grammarAccess.getLookupDefinitionAccess().getGroup());
1377 // InternalCftLanguage.g:469:3: ( rule__LookupDefinition__Group__0 )
1378 // InternalCftLanguage.g:469:4: rule__LookupDefinition__Group__0
1379 {
1380 pushFollow(FOLLOW_2);
1381 rule__LookupDefinition__Group__0();
1382
1383 state._fsp--;
1384
1385
1386 }
1387
1388 after(grammarAccess.getLookupDefinitionAccess().getGroup());
1389
1390 }
1391
1392
1393 }
1394
1395 }
1396 catch (RecognitionException re) {
1397 reportError(re);
1398 recover(input,re);
1399 }
1400 finally {
1401
1402 restoreStackSize(stackSize);
1403
1404 }
1405 return ;
1406 }
1407 // $ANTLR end "ruleLookupDefinition"
1408
1409
1410 // $ANTLR start "entryRuleAssignment"
1411 // InternalCftLanguage.g:478:1: entryRuleAssignment : ruleAssignment EOF ;
1412 public final void entryRuleAssignment() throws RecognitionException {
1413 try {
1414 // InternalCftLanguage.g:479:1: ( ruleAssignment EOF )
1415 // InternalCftLanguage.g:480:1: ruleAssignment EOF
1416 {
1417 before(grammarAccess.getAssignmentRule());
1418 pushFollow(FOLLOW_1);
1419 ruleAssignment();
1420
1421 state._fsp--;
1422
1423 after(grammarAccess.getAssignmentRule());
1424 match(input,EOF,FOLLOW_2);
1425
1426 }
1427
1428 }
1429 catch (RecognitionException re) {
1430 reportError(re);
1431 recover(input,re);
1432 }
1433 finally {
1434 }
1435 return ;
1436 }
1437 // $ANTLR end "entryRuleAssignment"
1438
1439
1440 // $ANTLR start "ruleAssignment"
1441 // InternalCftLanguage.g:487:1: ruleAssignment : ( ( rule__Assignment__Group__0 ) ) ;
1442 public final void ruleAssignment() throws RecognitionException {
1443
1444 int stackSize = keepStackSize();
1445
1446 try {
1447 // InternalCftLanguage.g:491:2: ( ( ( rule__Assignment__Group__0 ) ) )
1448 // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) )
1449 {
1450 // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) )
1451 // InternalCftLanguage.g:493:3: ( rule__Assignment__Group__0 )
1452 {
1453 before(grammarAccess.getAssignmentAccess().getGroup());
1454 // InternalCftLanguage.g:494:3: ( rule__Assignment__Group__0 )
1455 // InternalCftLanguage.g:494:4: rule__Assignment__Group__0
1456 {
1457 pushFollow(FOLLOW_2);
1458 rule__Assignment__Group__0();
1459
1460 state._fsp--;
1461
1462
1463 }
1464
1465 after(grammarAccess.getAssignmentAccess().getGroup());
1466
1467 }
1468
1469
1470 }
1471
1472 }
1473 catch (RecognitionException re) {
1474 reportError(re);
1475 recover(input,re);
1476 }
1477 finally {
1478
1479 restoreStackSize(stackSize);
1480
1481 }
1482 return ;
1483 }
1484 // $ANTLR end "ruleAssignment"
1485
1486
1487 // $ANTLR start "entryRuleEventReference"
1488 // InternalCftLanguage.g:503:1: entryRuleEventReference : ruleEventReference EOF ;
1489 public final void entryRuleEventReference() throws RecognitionException {
1490 try {
1491 // InternalCftLanguage.g:504:1: ( ruleEventReference EOF )
1492 // InternalCftLanguage.g:505:1: ruleEventReference EOF
1493 {
1494 before(grammarAccess.getEventReferenceRule());
1495 pushFollow(FOLLOW_1);
1496 ruleEventReference();
1497
1498 state._fsp--;
1499
1500 after(grammarAccess.getEventReferenceRule());
1501 match(input,EOF,FOLLOW_2);
1502
1503 }
1504
1505 }
1506 catch (RecognitionException re) {
1507 reportError(re);
1508 recover(input,re);
1509 }
1510 finally {
1511 }
1512 return ;
1513 }
1514 // $ANTLR end "entryRuleEventReference"
1515
1516
1517 // $ANTLR start "ruleEventReference"
1518 // InternalCftLanguage.g:512:1: ruleEventReference : ( ( rule__EventReference__Group__0 ) ) ;
1519 public final void ruleEventReference() throws RecognitionException {
1520
1521 int stackSize = keepStackSize();
1522
1523 try {
1524 // InternalCftLanguage.g:516:2: ( ( ( rule__EventReference__Group__0 ) ) )
1525 // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) )
1526 {
1527 // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) )
1528 // InternalCftLanguage.g:518:3: ( rule__EventReference__Group__0 )
1529 {
1530 before(grammarAccess.getEventReferenceAccess().getGroup());
1531 // InternalCftLanguage.g:519:3: ( rule__EventReference__Group__0 )
1532 // InternalCftLanguage.g:519:4: rule__EventReference__Group__0
1533 {
1534 pushFollow(FOLLOW_2);
1535 rule__EventReference__Group__0();
1536
1537 state._fsp--;
1538
1539
1540 }
1541
1542 after(grammarAccess.getEventReferenceAccess().getGroup());
1543
1544 }
1545
1546
1547 }
1548
1549 }
1550 catch (RecognitionException re) {
1551 reportError(re);
1552 recover(input,re);
1553 }
1554 finally {
1555
1556 restoreStackSize(stackSize);
1557
1558 }
1559 return ;
1560 }
1561 // $ANTLR end "ruleEventReference"
1562
1563
1564 // $ANTLR start "entryRuleComponentInstance"
1565 // InternalCftLanguage.g:528:1: entryRuleComponentInstance : ruleComponentInstance EOF ;
1566 public final void entryRuleComponentInstance() throws RecognitionException {
1567 try {
1568 // InternalCftLanguage.g:529:1: ( ruleComponentInstance EOF )
1569 // InternalCftLanguage.g:530:1: ruleComponentInstance EOF
1570 {
1571 before(grammarAccess.getComponentInstanceRule());
1572 pushFollow(FOLLOW_1);
1573 ruleComponentInstance();
1574
1575 state._fsp--;
1576
1577 after(grammarAccess.getComponentInstanceRule());
1578 match(input,EOF,FOLLOW_2);
1579
1580 }
1581
1582 }
1583 catch (RecognitionException re) {
1584 reportError(re);
1585 recover(input,re);
1586 }
1587 finally {
1588 }
1589 return ;
1590 }
1591 // $ANTLR end "entryRuleComponentInstance"
1592
1593
1594 // $ANTLR start "ruleComponentInstance"
1595 // InternalCftLanguage.g:537:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ;
1596 public final void ruleComponentInstance() throws RecognitionException {
1597
1598 int stackSize = keepStackSize();
1599
1600 try {
1601 // InternalCftLanguage.g:541:2: ( ( ( rule__ComponentInstance__Group__0 ) ) )
1602 // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) )
1603 {
1604 // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) )
1605 // InternalCftLanguage.g:543:3: ( rule__ComponentInstance__Group__0 )
1606 {
1607 before(grammarAccess.getComponentInstanceAccess().getGroup());
1608 // InternalCftLanguage.g:544:3: ( rule__ComponentInstance__Group__0 )
1609 // InternalCftLanguage.g:544:4: rule__ComponentInstance__Group__0
1610 {
1611 pushFollow(FOLLOW_2);
1612 rule__ComponentInstance__Group__0();
1613
1614 state._fsp--;
1615
1616
1617 }
1618
1619 after(grammarAccess.getComponentInstanceAccess().getGroup());
1620
1621 }
1622
1623
1624 }
1625
1626 }
1627 catch (RecognitionException re) {
1628 reportError(re);
1629 recover(input,re);
1630 }
1631 finally {
1632
1633 restoreStackSize(stackSize);
1634
1635 }
1636 return ;
1637 }
1638 // $ANTLR end "ruleComponentInstance"
1639
1640
1641 // $ANTLR start "entryRuleQualifiedName"
1642 // InternalCftLanguage.g:553:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
1643 public final void entryRuleQualifiedName() throws RecognitionException {
1644 try {
1645 // InternalCftLanguage.g:554:1: ( ruleQualifiedName EOF )
1646 // InternalCftLanguage.g:555:1: ruleQualifiedName EOF
1647 {
1648 before(grammarAccess.getQualifiedNameRule());
1649 pushFollow(FOLLOW_1);
1650 ruleQualifiedName();
1651
1652 state._fsp--;
1653
1654 after(grammarAccess.getQualifiedNameRule());
1655 match(input,EOF,FOLLOW_2);
1656
1657 }
1658
1659 }
1660 catch (RecognitionException re) {
1661 reportError(re);
1662 recover(input,re);
1663 }
1664 finally {
1665 }
1666 return ;
1667 }
1668 // $ANTLR end "entryRuleQualifiedName"
1669
1670
1671 // $ANTLR start "ruleQualifiedName"
1672 // InternalCftLanguage.g:562:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
1673 public final void ruleQualifiedName() throws RecognitionException {
1674
1675 int stackSize = keepStackSize();
1676
1677 try {
1678 // InternalCftLanguage.g:566:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
1679 // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) )
1680 {
1681 // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) )
1682 // InternalCftLanguage.g:568:3: ( rule__QualifiedName__Group__0 )
1683 {
1684 before(grammarAccess.getQualifiedNameAccess().getGroup());
1685 // InternalCftLanguage.g:569:3: ( rule__QualifiedName__Group__0 )
1686 // InternalCftLanguage.g:569:4: rule__QualifiedName__Group__0
1687 {
1688 pushFollow(FOLLOW_2);
1689 rule__QualifiedName__Group__0();
1690
1691 state._fsp--;
1692
1693
1694 }
1695
1696 after(grammarAccess.getQualifiedNameAccess().getGroup());
1697
1698 }
1699
1700
1701 }
1702
1703 }
1704 catch (RecognitionException re) {
1705 reportError(re);
1706 recover(input,re);
1707 }
1708 finally {
1709
1710 restoreStackSize(stackSize);
1711
1712 }
1713 return ;
1714 }
1715 // $ANTLR end "ruleQualifiedName"
1716
1717
1718 // $ANTLR start "entryRuleQualifiedNameWithWildcard"
1719 // InternalCftLanguage.g:578:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ;
1720 public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException {
1721 try {
1722 // InternalCftLanguage.g:579:1: ( ruleQualifiedNameWithWildcard EOF )
1723 // InternalCftLanguage.g:580:1: ruleQualifiedNameWithWildcard EOF
1724 {
1725 before(grammarAccess.getQualifiedNameWithWildcardRule());
1726 pushFollow(FOLLOW_1);
1727 ruleQualifiedNameWithWildcard();
1728
1729 state._fsp--;
1730
1731 after(grammarAccess.getQualifiedNameWithWildcardRule());
1732 match(input,EOF,FOLLOW_2);
1733
1734 }
1735
1736 }
1737 catch (RecognitionException re) {
1738 reportError(re);
1739 recover(input,re);
1740 }
1741 finally {
1742 }
1743 return ;
1744 }
1745 // $ANTLR end "entryRuleQualifiedNameWithWildcard"
1746
1747
1748 // $ANTLR start "ruleQualifiedNameWithWildcard"
1749 // InternalCftLanguage.g:587:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ;
1750 public final void ruleQualifiedNameWithWildcard() throws RecognitionException {
1751
1752 int stackSize = keepStackSize();
1753
1754 try {
1755 // InternalCftLanguage.g:591:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) )
1756 // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) )
1757 {
1758 // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) )
1759 // InternalCftLanguage.g:593:3: ( rule__QualifiedNameWithWildcard__Group__0 )
1760 {
1761 before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup());
1762 // InternalCftLanguage.g:594:3: ( rule__QualifiedNameWithWildcard__Group__0 )
1763 // InternalCftLanguage.g:594:4: rule__QualifiedNameWithWildcard__Group__0
1764 {
1765 pushFollow(FOLLOW_2);
1766 rule__QualifiedNameWithWildcard__Group__0();
1767
1768 state._fsp--;
1769
1770
1771 }
1772
1773 after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup());
1774
1775 }
1776
1777
1778 }
1779
1780 }
1781 catch (RecognitionException re) {
1782 reportError(re);
1783 recover(input,re);
1784 }
1785 finally {
1786
1787 restoreStackSize(stackSize);
1788
1789 }
1790 return ;
1791 }
1792 // $ANTLR end "ruleQualifiedNameWithWildcard"
1793
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
1949 // $ANTLR start "rule__CftModel__Alternatives_4"
1950 // InternalCftLanguage.g:652:1: rule__CftModel__Alternatives_4 : ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) );
1951 public final void rule__CftModel__Alternatives_4() throws RecognitionException {
1952
1953 int stackSize = keepStackSize();
1954
1955 try {
1956 // InternalCftLanguage.g:656:1: ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) )
1957 int alt1=2;
1958 int LA1_0 = input.LA(1);
1959
1960 if ( (LA1_0==17) ) {
1961 alt1=1;
1962 }
1963 else if ( (LA1_0==28) ) {
1964 alt1=2;
1965 }
1966 else {
1967 NoViableAltException nvae =
1968 new NoViableAltException("", 1, 0, input);
1969
1970 throw nvae;
1971 }
1972 switch (alt1) {
1973 case 1 :
1974 // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) )
1975 {
1976 // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) )
1977 // InternalCftLanguage.g:658:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 )
1978 {
1979 before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0());
1980 // InternalCftLanguage.g:659:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 )
1981 // InternalCftLanguage.g:659:4: rule__CftModel__ComponentDefinitionsAssignment_4_0
1982 {
1983 pushFollow(FOLLOW_2);
1984 rule__CftModel__ComponentDefinitionsAssignment_4_0();
1985
1986 state._fsp--;
1987
1988
1989 }
1990
1991 after(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0());
1992
1993 }
1994
1995
1996 }
1997 break;
1998 case 2 :
1999 // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) )
2000 {
2001 // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) )
2002 // InternalCftLanguage.g:664:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 )
2003 {
2004 before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1());
2005 // InternalCftLanguage.g:665:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 )
2006 // InternalCftLanguage.g:665:4: rule__CftModel__TransformationDefinitionsAssignment_4_1
2007 {
2008 pushFollow(FOLLOW_2);
2009 rule__CftModel__TransformationDefinitionsAssignment_4_1();
2010
2011 state._fsp--;
2012
2013
2014 }
2015
2016 after(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1());
2017
2018 }
2019
2020
2021 }
2022 break;
2023
2024 }
2025 }
2026 catch (RecognitionException re) {
2027 reportError(re);
2028 recover(input,re);
2029 }
2030 finally {
2031
2032 restoreStackSize(stackSize);
2033
2034 }
2035 return ;
2036 }
2037 // $ANTLR end "rule__CftModel__Alternatives_4"
2038
2039
2040 // $ANTLR start "rule__EventDefinition__Alternatives"
2041 // InternalCftLanguage.g:673:1: rule__EventDefinition__Alternatives : ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) );
2042 public final void rule__EventDefinition__Alternatives() throws RecognitionException {
2043
2044 int stackSize = keepStackSize();
2045
2046 try {
2047 // InternalCftLanguage.g:677:1: ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) )
2048 int alt2=2;
2049 int LA2_0 = input.LA(1);
2050
2051 if ( (LA2_0==RULE_ID) ) {
2052 int LA2_1 = input.LA(2);
2053
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) ) {
2058 alt2=1;
2059 }
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)) ) {
2074 alt2=2;
2075 }
2076 else {
2077 NoViableAltException nvae =
2078 new NoViableAltException("", 2, 2, input);
2079
2080 throw nvae;
2081 }
2082 }
2083 else {
2084 NoViableAltException nvae =
2085 new NoViableAltException("", 2, 0, input);
2086
2087 throw nvae;
2088 }
2089 switch (alt2) {
2090 case 1 :
2091 // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition )
2092 {
2093 // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition )
2094 // InternalCftLanguage.g:679:3: ruleBasicEventDefinition
2095 {
2096 before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0());
2097 pushFollow(FOLLOW_2);
2098 ruleBasicEventDefinition();
2099
2100 state._fsp--;
2101
2102 after(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0());
2103
2104 }
2105
2106
2107 }
2108 break;
2109 case 2 :
2110 // InternalCftLanguage.g:684:2: ( ruleGateDefinition )
2111 {
2112 // InternalCftLanguage.g:684:2: ( ruleGateDefinition )
2113 // InternalCftLanguage.g:685:3: ruleGateDefinition
2114 {
2115 before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1());
2116 pushFollow(FOLLOW_2);
2117 ruleGateDefinition();
2118
2119 state._fsp--;
2120
2121 after(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1());
2122
2123 }
2124
2125
2126 }
2127 break;
2128
2129 }
2130 }
2131 catch (RecognitionException re) {
2132 reportError(re);
2133 recover(input,re);
2134 }
2135 finally {
2136
2137 restoreStackSize(stackSize);
2138
2139 }
2140 return ;
2141 }
2142 // $ANTLR end "rule__EventDefinition__Alternatives"
2143
2144
2145 // $ANTLR start "rule__Distribution__Alternatives"
2146 // InternalCftLanguage.g:694:1: rule__Distribution__Alternatives : ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) );
2147 public final void rule__Distribution__Alternatives() throws RecognitionException {
2148
2149 int stackSize = keepStackSize();
2150
2151 try {
2152 // InternalCftLanguage.g:698:1: ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) )
2153 int alt3=2;
2154 int LA3_0 = input.LA(1);
2155
2156 if ( (LA3_0==22) ) {
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--;
2180
2181 after(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0());
2182
2183 }
2184
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;
2257 }
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:
2278 NoViableAltException nvae =
2279 new NoViableAltException("", 4, 2, input);
2280
2281 throw nvae;
2282 }
2283
2284 }
2285 else {
2286 NoViableAltException nvae =
2287 new NoViableAltException("", 4, 0, input);
2288
2289 throw nvae;
2290 }
2291 switch (alt4) {
2292 case 1 :
2293 // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition )
2294 {
2295 // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition )
2296 // InternalCftLanguage.g:721:3: ruleAndGateDefinition
2297 {
2298 before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0());
2299 pushFollow(FOLLOW_2);
2300 ruleAndGateDefinition();
2301
2302 state._fsp--;
2303
2304 after(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0());
2305
2306 }
2307
2308
2309 }
2310 break;
2311 case 2 :
2312 // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition )
2313 {
2314 // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition )
2315 // InternalCftLanguage.g:727:3: ruleOrGateDefinition
2316 {
2317 before(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1());
2318 pushFollow(FOLLOW_2);
2319 ruleOrGateDefinition();
2320
2321 state._fsp--;
2322
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());
2343
2344 }
2345
2346
2347 }
2348 break;
2349
2350 }
2351 }
2352 catch (RecognitionException re) {
2353 reportError(re);
2354 recover(input,re);
2355 }
2356 finally {
2357
2358 restoreStackSize(stackSize);
2359
2360 }
2361 return ;
2362 }
2363 // $ANTLR end "rule__GateDefinition__Alternatives"
2364
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
2457 // $ANTLR start "rule__MappingDefinition__Alternatives_8_1_0"
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 ) ) );
2459 public final void rule__MappingDefinition__Alternatives_8_1_0() throws RecognitionException {
2460
2461 int stackSize = keepStackSize();
2462
2463 try {
2464 // InternalCftLanguage.g:767:1: ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) )
2465 int alt6=2;
2466 int LA6_0 = input.LA(1);
2467
2468 if ( (LA6_0==33) ) {
2469 alt6=1;
2470 }
2471 else if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_OF_INT)) ) {
2472 alt6=2;
2473 }
2474 else {
2475 NoViableAltException nvae =
2476 new NoViableAltException("", 6, 0, input);
2477
2478 throw nvae;
2479 }
2480 switch (alt6) {
2481 case 1 :
2482 // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) )
2483 {
2484 // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) )
2485 // InternalCftLanguage.g:769:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 )
2486 {
2487 before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0());
2488 // InternalCftLanguage.g:770:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 )
2489 // InternalCftLanguage.g:770:4: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0
2490 {
2491 pushFollow(FOLLOW_2);
2492 rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0();
2493
2494 state._fsp--;
2495
2496
2497 }
2498
2499 after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0());
2500
2501 }
2502
2503
2504 }
2505 break;
2506 case 2 :
2507 // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) )
2508 {
2509 // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) )
2510 // InternalCftLanguage.g:775:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 )
2511 {
2512 before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1());
2513 // InternalCftLanguage.g:776:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 )
2514 // InternalCftLanguage.g:776:4: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1
2515 {
2516 pushFollow(FOLLOW_2);
2517 rule__MappingDefinition__AssignmentsAssignment_8_1_0_1();
2518
2519 state._fsp--;
2520
2521
2522 }
2523
2524 after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1());
2525
2526 }
2527
2528
2529 }
2530 break;
2531
2532 }
2533 }
2534 catch (RecognitionException re) {
2535 reportError(re);
2536 recover(input,re);
2537 }
2538 finally {
2539
2540 restoreStackSize(stackSize);
2541
2542 }
2543 return ;
2544 }
2545 // $ANTLR end "rule__MappingDefinition__Alternatives_8_1_0"
2546
2547
2548 // $ANTLR start "rule__Assignment__Alternatives_1"
2549 // InternalCftLanguage.g:784:1: rule__Assignment__Alternatives_1 : ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) );
2550 public final void rule__Assignment__Alternatives_1() throws RecognitionException {
2551
2552 int stackSize = keepStackSize();
2553
2554 try {
2555 // InternalCftLanguage.g:788:1: ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) )
2556 int alt7=2;
2557 int LA7_0 = input.LA(1);
2558
2559 if ( (LA7_0==40) ) {
2560 alt7=1;
2561 }
2562 else if ( (LA7_0==13) ) {
2563 alt7=2;
2564 }
2565 else {
2566 NoViableAltException nvae =
2567 new NoViableAltException("", 7, 0, input);
2568
2569 throw nvae;
2570 }
2571 switch (alt7) {
2572 case 1 :
2573 // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) )
2574 {
2575 // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) )
2576 // InternalCftLanguage.g:790:3: ( rule__Assignment__MultipleAssignment_1_0 )
2577 {
2578 before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0());
2579 // InternalCftLanguage.g:791:3: ( rule__Assignment__MultipleAssignment_1_0 )
2580 // InternalCftLanguage.g:791:4: rule__Assignment__MultipleAssignment_1_0
2581 {
2582 pushFollow(FOLLOW_2);
2583 rule__Assignment__MultipleAssignment_1_0();
2584
2585 state._fsp--;
2586
2587
2588 }
2589
2590 after(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0());
2591
2592 }
2593
2594
2595 }
2596 break;
2597 case 2 :
2598 // InternalCftLanguage.g:795:2: ( ':=' )
2599 {
2600 // InternalCftLanguage.g:795:2: ( ':=' )
2601 // InternalCftLanguage.g:796:3: ':='
2602 {
2603 before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1());
2604 match(input,13,FOLLOW_2);
2605 after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1());
2606
2607 }
2608
2609
2610 }
2611 break;
2612
2613 }
2614 }
2615 catch (RecognitionException re) {
2616 reportError(re);
2617 recover(input,re);
2618 }
2619 finally {
2620
2621 restoreStackSize(stackSize);
2622
2623 }
2624 return ;
2625 }
2626 // $ANTLR end "rule__Assignment__Alternatives_1"
2627
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
2771 // $ANTLR start "rule__CftModel__Group__0"
2772 // InternalCftLanguage.g:847:1: rule__CftModel__Group__0 : rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ;
2773 public final void rule__CftModel__Group__0() throws RecognitionException {
2774
2775 int stackSize = keepStackSize();
2776
2777 try {
2778 // InternalCftLanguage.g:851:1: ( rule__CftModel__Group__0__Impl rule__CftModel__Group__1 )
2779 // InternalCftLanguage.g:852:2: rule__CftModel__Group__0__Impl rule__CftModel__Group__1
2780 {
2781 pushFollow(FOLLOW_3);
2782 rule__CftModel__Group__0__Impl();
2783
2784 state._fsp--;
2785
2786 pushFollow(FOLLOW_2);
2787 rule__CftModel__Group__1();
2788
2789 state._fsp--;
2790
2791
2792 }
2793
2794 }
2795 catch (RecognitionException re) {
2796 reportError(re);
2797 recover(input,re);
2798 }
2799 finally {
2800
2801 restoreStackSize(stackSize);
2802
2803 }
2804 return ;
2805 }
2806 // $ANTLR end "rule__CftModel__Group__0"
2807
2808
2809 // $ANTLR start "rule__CftModel__Group__0__Impl"
2810 // InternalCftLanguage.g:859:1: rule__CftModel__Group__0__Impl : ( 'package' ) ;
2811 public final void rule__CftModel__Group__0__Impl() throws RecognitionException {
2812
2813 int stackSize = keepStackSize();
2814
2815 try {
2816 // InternalCftLanguage.g:863:1: ( ( 'package' ) )
2817 // InternalCftLanguage.g:864:1: ( 'package' )
2818 {
2819 // InternalCftLanguage.g:864:1: ( 'package' )
2820 // InternalCftLanguage.g:865:2: 'package'
2821 {
2822 before(grammarAccess.getCftModelAccess().getPackageKeyword_0());
2823 match(input,14,FOLLOW_2);
2824 after(grammarAccess.getCftModelAccess().getPackageKeyword_0());
2825
2826 }
2827
2828
2829 }
2830
2831 }
2832 catch (RecognitionException re) {
2833 reportError(re);
2834 recover(input,re);
2835 }
2836 finally {
2837
2838 restoreStackSize(stackSize);
2839
2840 }
2841 return ;
2842 }
2843 // $ANTLR end "rule__CftModel__Group__0__Impl"
2844
2845
2846 // $ANTLR start "rule__CftModel__Group__1"
2847 // InternalCftLanguage.g:874:1: rule__CftModel__Group__1 : rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ;
2848 public final void rule__CftModel__Group__1() throws RecognitionException {
2849
2850 int stackSize = keepStackSize();
2851
2852 try {
2853 // InternalCftLanguage.g:878:1: ( rule__CftModel__Group__1__Impl rule__CftModel__Group__2 )
2854 // InternalCftLanguage.g:879:2: rule__CftModel__Group__1__Impl rule__CftModel__Group__2
2855 {
2856 pushFollow(FOLLOW_4);
2857 rule__CftModel__Group__1__Impl();
2858
2859 state._fsp--;
2860
2861 pushFollow(FOLLOW_2);
2862 rule__CftModel__Group__2();
2863
2864 state._fsp--;
2865
2866
2867 }
2868
2869 }
2870 catch (RecognitionException re) {
2871 reportError(re);
2872 recover(input,re);
2873 }
2874 finally {
2875
2876 restoreStackSize(stackSize);
2877
2878 }
2879 return ;
2880 }
2881 // $ANTLR end "rule__CftModel__Group__1"
2882
2883
2884 // $ANTLR start "rule__CftModel__Group__1__Impl"
2885 // InternalCftLanguage.g:886:1: rule__CftModel__Group__1__Impl : ( ( rule__CftModel__PackageNameAssignment_1 ) ) ;
2886 public final void rule__CftModel__Group__1__Impl() throws RecognitionException {
2887
2888 int stackSize = keepStackSize();
2889
2890 try {
2891 // InternalCftLanguage.g:890:1: ( ( ( rule__CftModel__PackageNameAssignment_1 ) ) )
2892 // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) )
2893 {
2894 // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) )
2895 // InternalCftLanguage.g:892:2: ( rule__CftModel__PackageNameAssignment_1 )
2896 {
2897 before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1());
2898 // InternalCftLanguage.g:893:2: ( rule__CftModel__PackageNameAssignment_1 )
2899 // InternalCftLanguage.g:893:3: rule__CftModel__PackageNameAssignment_1
2900 {
2901 pushFollow(FOLLOW_2);
2902 rule__CftModel__PackageNameAssignment_1();
2903
2904 state._fsp--;
2905
2906
2907 }
2908
2909 after(grammarAccess.getCftModelAccess().getPackageNameAssignment_1());
2910
2911 }
2912
2913
2914 }
2915
2916 }
2917 catch (RecognitionException re) {
2918 reportError(re);
2919 recover(input,re);
2920 }
2921 finally {
2922
2923 restoreStackSize(stackSize);
2924
2925 }
2926 return ;
2927 }
2928 // $ANTLR end "rule__CftModel__Group__1__Impl"
2929
2930
2931 // $ANTLR start "rule__CftModel__Group__2"
2932 // InternalCftLanguage.g:901:1: rule__CftModel__Group__2 : rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ;
2933 public final void rule__CftModel__Group__2() throws RecognitionException {
2934
2935 int stackSize = keepStackSize();
2936
2937 try {
2938 // InternalCftLanguage.g:905:1: ( rule__CftModel__Group__2__Impl rule__CftModel__Group__3 )
2939 // InternalCftLanguage.g:906:2: rule__CftModel__Group__2__Impl rule__CftModel__Group__3
2940 {
2941 pushFollow(FOLLOW_4);
2942 rule__CftModel__Group__2__Impl();
2943
2944 state._fsp--;
2945
2946 pushFollow(FOLLOW_2);
2947 rule__CftModel__Group__3();
2948
2949 state._fsp--;
2950
2951
2952 }
2953
2954 }
2955 catch (RecognitionException re) {
2956 reportError(re);
2957 recover(input,re);
2958 }
2959 finally {
2960
2961 restoreStackSize(stackSize);
2962
2963 }
2964 return ;
2965 }
2966 // $ANTLR end "rule__CftModel__Group__2"
2967
2968
2969 // $ANTLR start "rule__CftModel__Group__2__Impl"
2970 // InternalCftLanguage.g:913:1: rule__CftModel__Group__2__Impl : ( ( ';' )? ) ;
2971 public final void rule__CftModel__Group__2__Impl() throws RecognitionException {
2972
2973 int stackSize = keepStackSize();
2974
2975 try {
2976 // InternalCftLanguage.g:917:1: ( ( ( ';' )? ) )
2977 // InternalCftLanguage.g:918:1: ( ( ';' )? )
2978 {
2979 // InternalCftLanguage.g:918:1: ( ( ';' )? )
2980 // InternalCftLanguage.g:919:2: ( ';' )?
2981 {
2982 before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2());
2983 // InternalCftLanguage.g:920:2: ( ';' )?
2984 int alt10=2;
2985 int LA10_0 = input.LA(1);
2986
2987 if ( (LA10_0==15) ) {
2988 alt10=1;
2989 }
2990 switch (alt10) {
2991 case 1 :
2992 // InternalCftLanguage.g:920:3: ';'
2993 {
2994 match(input,15,FOLLOW_2);
2995
2996 }
2997 break;
2998
2999 }
3000
3001 after(grammarAccess.getCftModelAccess().getSemicolonKeyword_2());
3002
3003 }
3004
3005
3006 }
3007
3008 }
3009 catch (RecognitionException re) {
3010 reportError(re);
3011 recover(input,re);
3012 }
3013 finally {
3014
3015 restoreStackSize(stackSize);
3016
3017 }
3018 return ;
3019 }
3020 // $ANTLR end "rule__CftModel__Group__2__Impl"
3021
3022
3023 // $ANTLR start "rule__CftModel__Group__3"
3024 // InternalCftLanguage.g:928:1: rule__CftModel__Group__3 : rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ;
3025 public final void rule__CftModel__Group__3() throws RecognitionException {
3026
3027 int stackSize = keepStackSize();
3028
3029 try {
3030 // InternalCftLanguage.g:932:1: ( rule__CftModel__Group__3__Impl rule__CftModel__Group__4 )
3031 // InternalCftLanguage.g:933:2: rule__CftModel__Group__3__Impl rule__CftModel__Group__4
3032 {
3033 pushFollow(FOLLOW_4);
3034 rule__CftModel__Group__3__Impl();
3035
3036 state._fsp--;
3037
3038 pushFollow(FOLLOW_2);
3039 rule__CftModel__Group__4();
3040
3041 state._fsp--;
3042
3043
3044 }
3045
3046 }
3047 catch (RecognitionException re) {
3048 reportError(re);
3049 recover(input,re);
3050 }
3051 finally {
3052
3053 restoreStackSize(stackSize);
3054
3055 }
3056 return ;
3057 }
3058 // $ANTLR end "rule__CftModel__Group__3"
3059
3060
3061 // $ANTLR start "rule__CftModel__Group__3__Impl"
3062 // InternalCftLanguage.g:940:1: rule__CftModel__Group__3__Impl : ( ( rule__CftModel__ImportsAssignment_3 )* ) ;
3063 public final void rule__CftModel__Group__3__Impl() throws RecognitionException {
3064
3065 int stackSize = keepStackSize();
3066
3067 try {
3068 // InternalCftLanguage.g:944:1: ( ( ( rule__CftModel__ImportsAssignment_3 )* ) )
3069 // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* )
3070 {
3071 // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* )
3072 // InternalCftLanguage.g:946:2: ( rule__CftModel__ImportsAssignment_3 )*
3073 {
3074 before(grammarAccess.getCftModelAccess().getImportsAssignment_3());
3075 // InternalCftLanguage.g:947:2: ( rule__CftModel__ImportsAssignment_3 )*
3076 loop11:
3077 do {
3078 int alt11=2;
3079 int LA11_0 = input.LA(1);
3080
3081 if ( (LA11_0==16) ) {
3082 alt11=1;
3083 }
3084
3085
3086 switch (alt11) {
3087 case 1 :
3088 // InternalCftLanguage.g:947:3: rule__CftModel__ImportsAssignment_3
3089 {
3090 pushFollow(FOLLOW_5);
3091 rule__CftModel__ImportsAssignment_3();
3092
3093 state._fsp--;
3094
3095
3096 }
3097 break;
3098
3099 default :
3100 break loop11;
3101 }
3102 } while (true);
3103
3104 after(grammarAccess.getCftModelAccess().getImportsAssignment_3());
3105
3106 }
3107
3108
3109 }
3110
3111 }
3112 catch (RecognitionException re) {
3113 reportError(re);
3114 recover(input,re);
3115 }
3116 finally {
3117
3118 restoreStackSize(stackSize);
3119
3120 }
3121 return ;
3122 }
3123 // $ANTLR end "rule__CftModel__Group__3__Impl"
3124
3125
3126 // $ANTLR start "rule__CftModel__Group__4"
3127 // InternalCftLanguage.g:955:1: rule__CftModel__Group__4 : rule__CftModel__Group__4__Impl ;
3128 public final void rule__CftModel__Group__4() throws RecognitionException {
3129
3130 int stackSize = keepStackSize();
3131
3132 try {
3133 // InternalCftLanguage.g:959:1: ( rule__CftModel__Group__4__Impl )
3134 // InternalCftLanguage.g:960:2: rule__CftModel__Group__4__Impl
3135 {
3136 pushFollow(FOLLOW_2);
3137 rule__CftModel__Group__4__Impl();
3138
3139 state._fsp--;
3140
3141
3142 }
3143
3144 }
3145 catch (RecognitionException re) {
3146 reportError(re);
3147 recover(input,re);
3148 }
3149 finally {
3150
3151 restoreStackSize(stackSize);
3152
3153 }
3154 return ;
3155 }
3156 // $ANTLR end "rule__CftModel__Group__4"
3157
3158
3159 // $ANTLR start "rule__CftModel__Group__4__Impl"
3160 // InternalCftLanguage.g:966:1: rule__CftModel__Group__4__Impl : ( ( rule__CftModel__Alternatives_4 )* ) ;
3161 public final void rule__CftModel__Group__4__Impl() throws RecognitionException {
3162
3163 int stackSize = keepStackSize();
3164
3165 try {
3166 // InternalCftLanguage.g:970:1: ( ( ( rule__CftModel__Alternatives_4 )* ) )
3167 // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* )
3168 {
3169 // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* )
3170 // InternalCftLanguage.g:972:2: ( rule__CftModel__Alternatives_4 )*
3171 {
3172 before(grammarAccess.getCftModelAccess().getAlternatives_4());
3173 // InternalCftLanguage.g:973:2: ( rule__CftModel__Alternatives_4 )*
3174 loop12:
3175 do {
3176 int alt12=2;
3177 int LA12_0 = input.LA(1);
3178
3179 if ( (LA12_0==17||LA12_0==28) ) {
3180 alt12=1;
3181 }
3182
3183
3184 switch (alt12) {
3185 case 1 :
3186 // InternalCftLanguage.g:973:3: rule__CftModel__Alternatives_4
3187 {
3188 pushFollow(FOLLOW_6);
3189 rule__CftModel__Alternatives_4();
3190
3191 state._fsp--;
3192
3193
3194 }
3195 break;
3196
3197 default :
3198 break loop12;
3199 }
3200 } while (true);
3201
3202 after(grammarAccess.getCftModelAccess().getAlternatives_4());
3203
3204 }
3205
3206
3207 }
3208
3209 }
3210 catch (RecognitionException re) {
3211 reportError(re);
3212 recover(input,re);
3213 }
3214 finally {
3215
3216 restoreStackSize(stackSize);
3217
3218 }
3219 return ;
3220 }
3221 // $ANTLR end "rule__CftModel__Group__4__Impl"
3222
3223
3224 // $ANTLR start "rule__ImportDeclaration__Group__0"
3225 // InternalCftLanguage.g:982:1: rule__ImportDeclaration__Group__0 : rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ;
3226 public final void rule__ImportDeclaration__Group__0() throws RecognitionException {
3227
3228 int stackSize = keepStackSize();
3229
3230 try {
3231 // InternalCftLanguage.g:986:1: ( rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 )
3232 // InternalCftLanguage.g:987:2: rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1
3233 {
3234 pushFollow(FOLLOW_3);
3235 rule__ImportDeclaration__Group__0__Impl();
3236
3237 state._fsp--;
3238
3239 pushFollow(FOLLOW_2);
3240 rule__ImportDeclaration__Group__1();
3241
3242 state._fsp--;
3243
3244
3245 }
3246
3247 }
3248 catch (RecognitionException re) {
3249 reportError(re);
3250 recover(input,re);
3251 }
3252 finally {
3253
3254 restoreStackSize(stackSize);
3255
3256 }
3257 return ;
3258 }
3259 // $ANTLR end "rule__ImportDeclaration__Group__0"
3260
3261
3262 // $ANTLR start "rule__ImportDeclaration__Group__0__Impl"
3263 // InternalCftLanguage.g:994:1: rule__ImportDeclaration__Group__0__Impl : ( 'import' ) ;
3264 public final void rule__ImportDeclaration__Group__0__Impl() throws RecognitionException {
3265
3266 int stackSize = keepStackSize();
3267
3268 try {
3269 // InternalCftLanguage.g:998:1: ( ( 'import' ) )
3270 // InternalCftLanguage.g:999:1: ( 'import' )
3271 {
3272 // InternalCftLanguage.g:999:1: ( 'import' )
3273 // InternalCftLanguage.g:1000:2: 'import'
3274 {
3275 before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0());
3276 match(input,16,FOLLOW_2);
3277 after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0());
3278
3279 }
3280
3281
3282 }
3283
3284 }
3285 catch (RecognitionException re) {
3286 reportError(re);
3287 recover(input,re);
3288 }
3289 finally {
3290
3291 restoreStackSize(stackSize);
3292
3293 }
3294 return ;
3295 }
3296 // $ANTLR end "rule__ImportDeclaration__Group__0__Impl"
3297
3298
3299 // $ANTLR start "rule__ImportDeclaration__Group__1"
3300 // InternalCftLanguage.g:1009:1: rule__ImportDeclaration__Group__1 : rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ;
3301 public final void rule__ImportDeclaration__Group__1() throws RecognitionException {
3302
3303 int stackSize = keepStackSize();
3304
3305 try {
3306 // InternalCftLanguage.g:1013:1: ( rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 )
3307 // InternalCftLanguage.g:1014:2: rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2
3308 {
3309 pushFollow(FOLLOW_7);
3310 rule__ImportDeclaration__Group__1__Impl();
3311
3312 state._fsp--;
3313
3314 pushFollow(FOLLOW_2);
3315 rule__ImportDeclaration__Group__2();
3316
3317 state._fsp--;
3318
3319
3320 }
3321
3322 }
3323 catch (RecognitionException re) {
3324 reportError(re);
3325 recover(input,re);
3326 }
3327 finally {
3328
3329 restoreStackSize(stackSize);
3330
3331 }
3332 return ;
3333 }
3334 // $ANTLR end "rule__ImportDeclaration__Group__1"
3335
3336
3337 // $ANTLR start "rule__ImportDeclaration__Group__1__Impl"
3338 // InternalCftLanguage.g:1021:1: rule__ImportDeclaration__Group__1__Impl : ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ;
3339 public final void rule__ImportDeclaration__Group__1__Impl() throws RecognitionException {
3340
3341 int stackSize = keepStackSize();
3342
3343 try {
3344 // InternalCftLanguage.g:1025:1: ( ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) )
3345 // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) )
3346 {
3347 // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) )
3348 // InternalCftLanguage.g:1027:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 )
3349 {
3350 before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1());
3351 // InternalCftLanguage.g:1028:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 )
3352 // InternalCftLanguage.g:1028:3: rule__ImportDeclaration__ImportedNamespaceAssignment_1
3353 {
3354 pushFollow(FOLLOW_2);
3355 rule__ImportDeclaration__ImportedNamespaceAssignment_1();
3356
3357 state._fsp--;
3358
3359
3360 }
3361
3362 after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1());
3363
3364 }
3365
3366
3367 }
3368
3369 }
3370 catch (RecognitionException re) {
3371 reportError(re);
3372 recover(input,re);
3373 }
3374 finally {
3375
3376 restoreStackSize(stackSize);
3377
3378 }
3379 return ;
3380 }
3381 // $ANTLR end "rule__ImportDeclaration__Group__1__Impl"
3382
3383
3384 // $ANTLR start "rule__ImportDeclaration__Group__2"
3385 // InternalCftLanguage.g:1036:1: rule__ImportDeclaration__Group__2 : rule__ImportDeclaration__Group__2__Impl ;
3386 public final void rule__ImportDeclaration__Group__2() throws RecognitionException {
3387
3388 int stackSize = keepStackSize();
3389
3390 try {
3391 // InternalCftLanguage.g:1040:1: ( rule__ImportDeclaration__Group__2__Impl )
3392 // InternalCftLanguage.g:1041:2: rule__ImportDeclaration__Group__2__Impl
3393 {
3394 pushFollow(FOLLOW_2);
3395 rule__ImportDeclaration__Group__2__Impl();
3396
3397 state._fsp--;
3398
3399
3400 }
3401
3402 }
3403 catch (RecognitionException re) {
3404 reportError(re);
3405 recover(input,re);
3406 }
3407 finally {
3408
3409 restoreStackSize(stackSize);
3410
3411 }
3412 return ;
3413 }
3414 // $ANTLR end "rule__ImportDeclaration__Group__2"
3415
3416
3417 // $ANTLR start "rule__ImportDeclaration__Group__2__Impl"
3418 // InternalCftLanguage.g:1047:1: rule__ImportDeclaration__Group__2__Impl : ( ( ';' )? ) ;
3419 public final void rule__ImportDeclaration__Group__2__Impl() throws RecognitionException {
3420
3421 int stackSize = keepStackSize();
3422
3423 try {
3424 // InternalCftLanguage.g:1051:1: ( ( ( ';' )? ) )
3425 // InternalCftLanguage.g:1052:1: ( ( ';' )? )
3426 {
3427 // InternalCftLanguage.g:1052:1: ( ( ';' )? )
3428 // InternalCftLanguage.g:1053:2: ( ';' )?
3429 {
3430 before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2());
3431 // InternalCftLanguage.g:1054:2: ( ';' )?
3432 int alt13=2;
3433 int LA13_0 = input.LA(1);
3434
3435 if ( (LA13_0==15) ) {
3436 alt13=1;
3437 }
3438 switch (alt13) {
3439 case 1 :
3440 // InternalCftLanguage.g:1054:3: ';'
3441 {
3442 match(input,15,FOLLOW_2);
3443
3444 }
3445 break;
3446
3447 }
3448
3449 after(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2());
3450
3451 }
3452
3453
3454 }
3455
3456 }
3457 catch (RecognitionException re) {
3458 reportError(re);
3459 recover(input,re);
3460 }
3461 finally {
3462
3463 restoreStackSize(stackSize);
3464
3465 }
3466 return ;
3467 }
3468 // $ANTLR end "rule__ImportDeclaration__Group__2__Impl"
3469
3470
3471 // $ANTLR start "rule__ComponentDefinition__Group__0"
3472 // InternalCftLanguage.g:1063:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ;
3473 public final void rule__ComponentDefinition__Group__0() throws RecognitionException {
3474
3475 int stackSize = keepStackSize();
3476
3477 try {
3478 // InternalCftLanguage.g:1067:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 )
3479 // InternalCftLanguage.g:1068:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1
3480 {
3481 pushFollow(FOLLOW_3);
3482 rule__ComponentDefinition__Group__0__Impl();
3483
3484 state._fsp--;
3485
3486 pushFollow(FOLLOW_2);
3487 rule__ComponentDefinition__Group__1();
3488
3489 state._fsp--;
3490
3491
3492 }
3493
3494 }
3495 catch (RecognitionException re) {
3496 reportError(re);
3497 recover(input,re);
3498 }
3499 finally {
3500
3501 restoreStackSize(stackSize);
3502
3503 }
3504 return ;
3505 }
3506 // $ANTLR end "rule__ComponentDefinition__Group__0"
3507
3508
3509 // $ANTLR start "rule__ComponentDefinition__Group__0__Impl"
3510 // InternalCftLanguage.g:1075:1: rule__ComponentDefinition__Group__0__Impl : ( 'cft' ) ;
3511 public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException {
3512
3513 int stackSize = keepStackSize();
3514
3515 try {
3516 // InternalCftLanguage.g:1079:1: ( ( 'cft' ) )
3517 // InternalCftLanguage.g:1080:1: ( 'cft' )
3518 {
3519 // InternalCftLanguage.g:1080:1: ( 'cft' )
3520 // InternalCftLanguage.g:1081:2: 'cft'
3521 {
3522 before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0());
3523 match(input,17,FOLLOW_2);
3524 after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0());
3525
3526 }
3527
3528
3529 }
3530
3531 }
3532 catch (RecognitionException re) {
3533 reportError(re);
3534 recover(input,re);
3535 }
3536 finally {
3537
3538 restoreStackSize(stackSize);
3539
3540 }
3541 return ;
3542 }
3543 // $ANTLR end "rule__ComponentDefinition__Group__0__Impl"
3544
3545
3546 // $ANTLR start "rule__ComponentDefinition__Group__1"
3547 // InternalCftLanguage.g:1090:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ;
3548 public final void rule__ComponentDefinition__Group__1() throws RecognitionException {
3549
3550 int stackSize = keepStackSize();
3551
3552 try {
3553 // InternalCftLanguage.g:1094:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 )
3554 // InternalCftLanguage.g:1095:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2
3555 {
3556 pushFollow(FOLLOW_8);
3557 rule__ComponentDefinition__Group__1__Impl();
3558
3559 state._fsp--;
3560
3561 pushFollow(FOLLOW_2);
3562 rule__ComponentDefinition__Group__2();
3563
3564 state._fsp--;
3565
3566
3567 }
3568
3569 }
3570 catch (RecognitionException re) {
3571 reportError(re);
3572 recover(input,re);
3573 }
3574 finally {
3575
3576 restoreStackSize(stackSize);
3577
3578 }
3579 return ;
3580 }
3581 // $ANTLR end "rule__ComponentDefinition__Group__1"
3582
3583
3584 // $ANTLR start "rule__ComponentDefinition__Group__1__Impl"
3585 // InternalCftLanguage.g:1102:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ;
3586 public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException {
3587
3588 int stackSize = keepStackSize();
3589
3590 try {
3591 // InternalCftLanguage.g:1106:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 ) ) )
3592 // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) )
3593 {
3594 // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) )
3595 // InternalCftLanguage.g:1108:2: ( rule__ComponentDefinition__NameAssignment_1 )
3596 {
3597 before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
3598 // InternalCftLanguage.g:1109:2: ( rule__ComponentDefinition__NameAssignment_1 )
3599 // InternalCftLanguage.g:1109:3: rule__ComponentDefinition__NameAssignment_1
3600 {
3601 pushFollow(FOLLOW_2);
3602 rule__ComponentDefinition__NameAssignment_1();
3603
3604 state._fsp--;
3605
3606
3607 }
3608
3609 after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
3610
3611 }
3612
3613
3614 }
3615
3616 }
3617 catch (RecognitionException re) {
3618 reportError(re);
3619 recover(input,re);
3620 }
3621 finally {
3622
3623 restoreStackSize(stackSize);
3624
3625 }
3626 return ;
3627 }
3628 // $ANTLR end "rule__ComponentDefinition__Group__1__Impl"
3629
3630
3631 // $ANTLR start "rule__ComponentDefinition__Group__2"
3632 // InternalCftLanguage.g:1117:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ;
3633 public final void rule__ComponentDefinition__Group__2() throws RecognitionException {
3634
3635 int stackSize = keepStackSize();
3636
3637 try {
3638 // InternalCftLanguage.g:1121:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 )
3639 // InternalCftLanguage.g:1122:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3
3640 {
3641 pushFollow(FOLLOW_9);
3642 rule__ComponentDefinition__Group__2__Impl();
3643
3644 state._fsp--;
3645
3646 pushFollow(FOLLOW_2);
3647 rule__ComponentDefinition__Group__3();
3648
3649 state._fsp--;
3650
3651
3652 }
3653
3654 }
3655 catch (RecognitionException re) {
3656 reportError(re);
3657 recover(input,re);
3658 }
3659 finally {
3660
3661 restoreStackSize(stackSize);
3662
3663 }
3664 return ;
3665 }
3666 // $ANTLR end "rule__ComponentDefinition__Group__2"
3667
3668
3669 // $ANTLR start "rule__ComponentDefinition__Group__2__Impl"
3670 // InternalCftLanguage.g:1129:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ;
3671 public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException {
3672
3673 int stackSize = keepStackSize();
3674
3675 try {
3676 // InternalCftLanguage.g:1133:1: ( ( '{' ) )
3677 // InternalCftLanguage.g:1134:1: ( '{' )
3678 {
3679 // InternalCftLanguage.g:1134:1: ( '{' )
3680 // InternalCftLanguage.g:1135:2: '{'
3681 {
3682 before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
3683 match(input,18,FOLLOW_2);
3684 after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
3685
3686 }
3687
3688
3689 }
3690
3691 }
3692 catch (RecognitionException re) {
3693 reportError(re);
3694 recover(input,re);
3695 }
3696 finally {
3697
3698 restoreStackSize(stackSize);
3699
3700 }
3701 return ;
3702 }
3703 // $ANTLR end "rule__ComponentDefinition__Group__2__Impl"
3704
3705
3706 // $ANTLR start "rule__ComponentDefinition__Group__3"
3707 // InternalCftLanguage.g:1144:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ;
3708 public final void rule__ComponentDefinition__Group__3() throws RecognitionException {
3709
3710 int stackSize = keepStackSize();
3711
3712 try {
3713 // InternalCftLanguage.g:1148:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 )
3714 // InternalCftLanguage.g:1149:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4
3715 {
3716 pushFollow(FOLLOW_10);
3717 rule__ComponentDefinition__Group__3__Impl();
3718
3719 state._fsp--;
3720
3721 pushFollow(FOLLOW_2);
3722 rule__ComponentDefinition__Group__4();
3723
3724 state._fsp--;
3725
3726
3727 }
3728
3729 }
3730 catch (RecognitionException re) {
3731 reportError(re);
3732 recover(input,re);
3733 }
3734 finally {
3735
3736 restoreStackSize(stackSize);
3737
3738 }
3739 return ;
3740 }
3741 // $ANTLR end "rule__ComponentDefinition__Group__3"
3742
3743
3744 // $ANTLR start "rule__ComponentDefinition__Group__3__Impl"
3745 // InternalCftLanguage.g:1156:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ;
3746 public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException {
3747
3748 int stackSize = keepStackSize();
3749
3750 try {
3751 // InternalCftLanguage.g:1160:1: ( ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) )
3752 // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) )
3753 {
3754 // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) )
3755 // InternalCftLanguage.g:1162:2: ( rule__ComponentDefinition__UnorderedGroup_3 )
3756 {
3757 before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
3758 // InternalCftLanguage.g:1163:2: ( rule__ComponentDefinition__UnorderedGroup_3 )
3759 // InternalCftLanguage.g:1163:3: rule__ComponentDefinition__UnorderedGroup_3
3760 {
3761 pushFollow(FOLLOW_2);
3762 rule__ComponentDefinition__UnorderedGroup_3();
3763
3764 state._fsp--;
3765
3766
3767 }
3768
3769 after(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
3770
3771 }
3772
3773
3774 }
3775
3776 }
3777 catch (RecognitionException re) {
3778 reportError(re);
3779 recover(input,re);
3780 }
3781 finally {
3782
3783 restoreStackSize(stackSize);
3784
3785 }
3786 return ;
3787 }
3788 // $ANTLR end "rule__ComponentDefinition__Group__3__Impl"
3789
3790
3791 // $ANTLR start "rule__ComponentDefinition__Group__4"
3792 // InternalCftLanguage.g:1171:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ;
3793 public final void rule__ComponentDefinition__Group__4() throws RecognitionException {
3794
3795 int stackSize = keepStackSize();
3796
3797 try {
3798 // InternalCftLanguage.g:1175:1: ( rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 )
3799 // InternalCftLanguage.g:1176:2: rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5
3800 {
3801 pushFollow(FOLLOW_10);
3802 rule__ComponentDefinition__Group__4__Impl();
3803
3804 state._fsp--;
3805
3806 pushFollow(FOLLOW_2);
3807 rule__ComponentDefinition__Group__5();
3808
3809 state._fsp--;
3810
3811
3812 }
3813
3814 }
3815 catch (RecognitionException re) {
3816 reportError(re);
3817 recover(input,re);
3818 }
3819 finally {
3820
3821 restoreStackSize(stackSize);
3822
3823 }
3824 return ;
3825 }
3826 // $ANTLR end "rule__ComponentDefinition__Group__4"
3827
3828
3829 // $ANTLR start "rule__ComponentDefinition__Group__4__Impl"
3830 // InternalCftLanguage.g:1183:1: rule__ComponentDefinition__Group__4__Impl : ( ( rule__ComponentDefinition__Group_4__0 )* ) ;
3831 public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException {
3832
3833 int stackSize = keepStackSize();
3834
3835 try {
3836 // InternalCftLanguage.g:1187:1: ( ( ( rule__ComponentDefinition__Group_4__0 )* ) )
3837 // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* )
3838 {
3839 // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* )
3840 // InternalCftLanguage.g:1189:2: ( rule__ComponentDefinition__Group_4__0 )*
3841 {
3842 before(grammarAccess.getComponentDefinitionAccess().getGroup_4());
3843 // InternalCftLanguage.g:1190:2: ( rule__ComponentDefinition__Group_4__0 )*
3844 loop14:
3845 do {
3846 int alt14=2;
3847 int LA14_0 = input.LA(1);
3848
3849 if ( ((LA14_0>=RULE_ID && LA14_0<=RULE_OF_INT)) ) {
3850 alt14=1;
3851 }
3852
3853
3854 switch (alt14) {
3855 case 1 :
3856 // InternalCftLanguage.g:1190:3: rule__ComponentDefinition__Group_4__0
3857 {
3858 pushFollow(FOLLOW_11);
3859 rule__ComponentDefinition__Group_4__0();
3860
3861 state._fsp--;
3862
3863
3864 }
3865 break;
3866
3867 default :
3868 break loop14;
3869 }
3870 } while (true);
3871
3872 after(grammarAccess.getComponentDefinitionAccess().getGroup_4());
3873
3874 }
3875
3876
3877 }
3878
3879 }
3880 catch (RecognitionException re) {
3881 reportError(re);
3882 recover(input,re);
3883 }
3884 finally {
3885
3886 restoreStackSize(stackSize);
3887
3888 }
3889 return ;
3890 }
3891 // $ANTLR end "rule__ComponentDefinition__Group__4__Impl"
3892
3893
3894 // $ANTLR start "rule__ComponentDefinition__Group__5"
3895 // InternalCftLanguage.g:1198:1: rule__ComponentDefinition__Group__5 : rule__ComponentDefinition__Group__5__Impl ;
3896 public final void rule__ComponentDefinition__Group__5() throws RecognitionException {
3897
3898 int stackSize = keepStackSize();
3899
3900 try {
3901 // InternalCftLanguage.g:1202:1: ( rule__ComponentDefinition__Group__5__Impl )
3902 // InternalCftLanguage.g:1203:2: rule__ComponentDefinition__Group__5__Impl
3903 {
3904 pushFollow(FOLLOW_2);
3905 rule__ComponentDefinition__Group__5__Impl();
3906
3907 state._fsp--;
3908
3909
3910 }
3911
3912 }
3913 catch (RecognitionException re) {
3914 reportError(re);
3915 recover(input,re);
3916 }
3917 finally {
3918
3919 restoreStackSize(stackSize);
3920
3921 }
3922 return ;
3923 }
3924 // $ANTLR end "rule__ComponentDefinition__Group__5"
3925
3926
3927 // $ANTLR start "rule__ComponentDefinition__Group__5__Impl"
3928 // InternalCftLanguage.g:1209:1: rule__ComponentDefinition__Group__5__Impl : ( '}' ) ;
3929 public final void rule__ComponentDefinition__Group__5__Impl() throws RecognitionException {
3930
3931 int stackSize = keepStackSize();
3932
3933 try {
3934 // InternalCftLanguage.g:1213:1: ( ( '}' ) )
3935 // InternalCftLanguage.g:1214:1: ( '}' )
3936 {
3937 // InternalCftLanguage.g:1214:1: ( '}' )
3938 // InternalCftLanguage.g:1215:2: '}'
3939 {
3940 before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5());
3941 match(input,19,FOLLOW_2);
3942 after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5());
3943
3944 }
3945
3946
3947 }
3948
3949 }
3950 catch (RecognitionException re) {
3951 reportError(re);
3952 recover(input,re);
3953 }
3954 finally {
3955
3956 restoreStackSize(stackSize);
3957
3958 }
3959 return ;
3960 }
3961 // $ANTLR end "rule__ComponentDefinition__Group__5__Impl"
3962
3963
3964 // $ANTLR start "rule__ComponentDefinition__Group_3_0__0"
3965 // InternalCftLanguage.g:1225:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ;
3966 public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException {
3967
3968 int stackSize = keepStackSize();
3969
3970 try {
3971 // InternalCftLanguage.g:1229:1: ( 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
3973 {
3974 pushFollow(FOLLOW_12);
3975 rule__ComponentDefinition__Group_3_0__0__Impl();
3976
3977 state._fsp--;
3978
3979 pushFollow(FOLLOW_2);
3980 rule__ComponentDefinition__Group_3_0__1();
3981
3982 state._fsp--;
3983
3984
3985 }
3986
3987 }
3988 catch (RecognitionException re) {
3989 reportError(re);
3990 recover(input,re);
3991 }
3992 finally {
3993
3994 restoreStackSize(stackSize);
3995
3996 }
3997 return ;
3998 }
3999 // $ANTLR end "rule__ComponentDefinition__Group_3_0__0"
4000
4001
4002 // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl"
4003 // InternalCftLanguage.g:1237:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( 'in' ) ;
4004 public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException {
4005
4006 int stackSize = keepStackSize();
4007
4008 try {
4009 // InternalCftLanguage.g:1241:1: ( ( 'in' ) )
4010 // InternalCftLanguage.g:1242:1: ( 'in' )
4011 {
4012 // InternalCftLanguage.g:1242:1: ( 'in' )
4013 // InternalCftLanguage.g:1243:2: 'in'
4014 {
4015 before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0());
4016 match(input,20,FOLLOW_2);
4017 after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0());
4018
4019 }
4020
4021
4022 }
4023
4024 }
4025 catch (RecognitionException re) {
4026 reportError(re);
4027 recover(input,re);
4028 }
4029 finally {
4030
4031 restoreStackSize(stackSize);
4032
4033 }
4034 return ;
4035 }
4036 // $ANTLR end "rule__ComponentDefinition__Group_3_0__0__Impl"
4037
4038
4039 // $ANTLR start "rule__ComponentDefinition__Group_3_0__1"
4040 // InternalCftLanguage.g:1252:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ;
4041 public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException {
4042
4043 int stackSize = keepStackSize();
4044
4045 try {
4046 // InternalCftLanguage.g:1256:1: ( 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
4048 {
4049 pushFollow(FOLLOW_12);
4050 rule__ComponentDefinition__Group_3_0__1__Impl();
4051
4052 state._fsp--;
4053
4054 pushFollow(FOLLOW_2);
4055 rule__ComponentDefinition__Group_3_0__2();
4056
4057 state._fsp--;
4058
4059
4060 }
4061
4062 }
4063 catch (RecognitionException re) {
4064 reportError(re);
4065 recover(input,re);
4066 }
4067 finally {
4068
4069 restoreStackSize(stackSize);
4070
4071 }
4072 return ;
4073 }
4074 // $ANTLR end "rule__ComponentDefinition__Group_3_0__1"
4075
4076
4077 // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl"
4078 // InternalCftLanguage.g:1264:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ;
4079 public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException {
4080
4081 int stackSize = keepStackSize();
4082
4083 try {
4084 // InternalCftLanguage.g:1268:1: ( ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) )
4085 // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* )
4086 {
4087 // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* )
4088 // InternalCftLanguage.g:1270:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )*
4089 {
4090 before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1());
4091 // InternalCftLanguage.g:1271:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )*
4092 loop15:
4093 do {
4094 int alt15=2;
4095 int LA15_0 = input.LA(1);
4096
4097 if ( ((LA15_0>=RULE_ID && LA15_0<=RULE_OF_INT)) ) {
4098 alt15=1;
4099 }
4100
4101
4102 switch (alt15) {
4103 case 1 :
4104 // InternalCftLanguage.g:1271:3: rule__ComponentDefinition__InputEventsAssignment_3_0_1
4105 {
4106 pushFollow(FOLLOW_11);
4107 rule__ComponentDefinition__InputEventsAssignment_3_0_1();
4108
4109 state._fsp--;
4110
4111
4112 }
4113 break;
4114
4115 default :
4116 break loop15;
4117 }
4118 } while (true);
4119
4120 after(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1());
4121
4122 }
4123
4124
4125 }
4126
4127 }
4128 catch (RecognitionException re) {
4129 reportError(re);
4130 recover(input,re);
4131 }
4132 finally {
4133
4134 restoreStackSize(stackSize);
4135
4136 }
4137 return ;
4138 }
4139 // $ANTLR end "rule__ComponentDefinition__Group_3_0__1__Impl"
4140
4141
4142 // $ANTLR start "rule__ComponentDefinition__Group_3_0__2"
4143 // InternalCftLanguage.g:1279:1: rule__ComponentDefinition__Group_3_0__2 : rule__ComponentDefinition__Group_3_0__2__Impl ;
4144 public final void rule__ComponentDefinition__Group_3_0__2() throws RecognitionException {
4145
4146 int stackSize = keepStackSize();
4147
4148 try {
4149 // InternalCftLanguage.g:1283:1: ( rule__ComponentDefinition__Group_3_0__2__Impl )
4150 // InternalCftLanguage.g:1284:2: rule__ComponentDefinition__Group_3_0__2__Impl
4151 {
4152 pushFollow(FOLLOW_2);
4153 rule__ComponentDefinition__Group_3_0__2__Impl();
4154
4155 state._fsp--;
4156
4157
4158 }
4159
4160 }
4161 catch (RecognitionException re) {
4162 reportError(re);
4163 recover(input,re);
4164 }
4165 finally {
4166
4167 restoreStackSize(stackSize);
4168
4169 }
4170 return ;
4171 }
4172 // $ANTLR end "rule__ComponentDefinition__Group_3_0__2"
4173
4174
4175 // $ANTLR start "rule__ComponentDefinition__Group_3_0__2__Impl"
4176 // InternalCftLanguage.g:1290:1: rule__ComponentDefinition__Group_3_0__2__Impl : ( ';' ) ;
4177 public final void rule__ComponentDefinition__Group_3_0__2__Impl() throws RecognitionException {
4178
4179 int stackSize = keepStackSize();
4180
4181 try {
4182 // InternalCftLanguage.g:1294:1: ( ( ';' ) )
4183 // InternalCftLanguage.g:1295:1: ( ';' )
4184 {
4185 // InternalCftLanguage.g:1295:1: ( ';' )
4186 // InternalCftLanguage.g:1296:2: ';'
4187 {
4188 before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2());
4189 match(input,15,FOLLOW_2);
4190 after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2());
4191
4192 }
4193
4194
4195 }
4196
4197 }
4198 catch (RecognitionException re) {
4199 reportError(re);
4200 recover(input,re);
4201 }
4202 finally {
4203
4204 restoreStackSize(stackSize);
4205
4206 }
4207 return ;
4208 }
4209 // $ANTLR end "rule__ComponentDefinition__Group_3_0__2__Impl"
4210
4211
4212 // $ANTLR start "rule__ComponentDefinition__Group_3_1__0"
4213 // InternalCftLanguage.g:1306:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ;
4214 public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException {
4215
4216 int stackSize = keepStackSize();
4217
4218 try {
4219 // InternalCftLanguage.g:1310:1: ( 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
4221 {
4222 pushFollow(FOLLOW_12);
4223 rule__ComponentDefinition__Group_3_1__0__Impl();
4224
4225 state._fsp--;
4226
4227 pushFollow(FOLLOW_2);
4228 rule__ComponentDefinition__Group_3_1__1();
4229
4230 state._fsp--;
4231
4232
4233 }
4234
4235 }
4236 catch (RecognitionException re) {
4237 reportError(re);
4238 recover(input,re);
4239 }
4240 finally {
4241
4242 restoreStackSize(stackSize);
4243
4244 }
4245 return ;
4246 }
4247 // $ANTLR end "rule__ComponentDefinition__Group_3_1__0"
4248
4249
4250 // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl"
4251 // InternalCftLanguage.g:1318:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( 'out' ) ;
4252 public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException {
4253
4254 int stackSize = keepStackSize();
4255
4256 try {
4257 // InternalCftLanguage.g:1322:1: ( ( 'out' ) )
4258 // InternalCftLanguage.g:1323:1: ( 'out' )
4259 {
4260 // InternalCftLanguage.g:1323:1: ( 'out' )
4261 // InternalCftLanguage.g:1324:2: 'out'
4262 {
4263 before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0());
4264 match(input,21,FOLLOW_2);
4265 after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0());
4266
4267 }
4268
4269
4270 }
4271
4272 }
4273 catch (RecognitionException re) {
4274 reportError(re);
4275 recover(input,re);
4276 }
4277 finally {
4278
4279 restoreStackSize(stackSize);
4280
4281 }
4282 return ;
4283 }
4284 // $ANTLR end "rule__ComponentDefinition__Group_3_1__0__Impl"
4285
4286
4287 // $ANTLR start "rule__ComponentDefinition__Group_3_1__1"
4288 // InternalCftLanguage.g:1333:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ;
4289 public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException {
4290
4291 int stackSize = keepStackSize();
4292
4293 try {
4294 // InternalCftLanguage.g:1337:1: ( 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
4296 {
4297 pushFollow(FOLLOW_12);
4298 rule__ComponentDefinition__Group_3_1__1__Impl();
4299
4300 state._fsp--;
4301
4302 pushFollow(FOLLOW_2);
4303 rule__ComponentDefinition__Group_3_1__2();
4304
4305 state._fsp--;
4306
4307
4308 }
4309
4310 }
4311 catch (RecognitionException re) {
4312 reportError(re);
4313 recover(input,re);
4314 }
4315 finally {
4316
4317 restoreStackSize(stackSize);
4318
4319 }
4320 return ;
4321 }
4322 // $ANTLR end "rule__ComponentDefinition__Group_3_1__1"
4323
4324
4325 // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl"
4326 // InternalCftLanguage.g:1345:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ;
4327 public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException {
4328
4329 int stackSize = keepStackSize();
4330
4331 try {
4332 // InternalCftLanguage.g:1349:1: ( ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) )
4333 // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* )
4334 {
4335 // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* )
4336 // InternalCftLanguage.g:1351:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )*
4337 {
4338 before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1());
4339 // InternalCftLanguage.g:1352:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )*
4340 loop16:
4341 do {
4342 int alt16=2;
4343 int LA16_0 = input.LA(1);
4344
4345 if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_OF_INT)) ) {
4346 alt16=1;
4347 }
4348
4349
4350 switch (alt16) {
4351 case 1 :
4352 // InternalCftLanguage.g:1352:3: rule__ComponentDefinition__OutputEventsAssignment_3_1_1
4353 {
4354 pushFollow(FOLLOW_11);
4355 rule__ComponentDefinition__OutputEventsAssignment_3_1_1();
4356
4357 state._fsp--;
4358
4359
4360 }
4361 break;
4362
4363 default :
4364 break loop16;
4365 }
4366 } while (true);
4367
4368 after(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1());
4369
4370 }
4371
4372
4373 }
4374
4375 }
4376 catch (RecognitionException re) {
4377 reportError(re);
4378 recover(input,re);
4379 }
4380 finally {
4381
4382 restoreStackSize(stackSize);
4383
4384 }
4385 return ;
4386 }
4387 // $ANTLR end "rule__ComponentDefinition__Group_3_1__1__Impl"
4388
4389
4390 // $ANTLR start "rule__ComponentDefinition__Group_3_1__2"
4391 // InternalCftLanguage.g:1360:1: rule__ComponentDefinition__Group_3_1__2 : rule__ComponentDefinition__Group_3_1__2__Impl ;
4392 public final void rule__ComponentDefinition__Group_3_1__2() throws RecognitionException {
4393
4394 int stackSize = keepStackSize();
4395
4396 try {
4397 // InternalCftLanguage.g:1364:1: ( rule__ComponentDefinition__Group_3_1__2__Impl )
4398 // InternalCftLanguage.g:1365:2: rule__ComponentDefinition__Group_3_1__2__Impl
4399 {
4400 pushFollow(FOLLOW_2);
4401 rule__ComponentDefinition__Group_3_1__2__Impl();
4402
4403 state._fsp--;
4404
4405
4406 }
4407
4408 }
4409 catch (RecognitionException re) {
4410 reportError(re);
4411 recover(input,re);
4412 }
4413 finally {
4414
4415 restoreStackSize(stackSize);
4416
4417 }
4418 return ;
4419 }
4420 // $ANTLR end "rule__ComponentDefinition__Group_3_1__2"
4421
4422
4423 // $ANTLR start "rule__ComponentDefinition__Group_3_1__2__Impl"
4424 // InternalCftLanguage.g:1371:1: rule__ComponentDefinition__Group_3_1__2__Impl : ( ';' ) ;
4425 public final void rule__ComponentDefinition__Group_3_1__2__Impl() throws RecognitionException {
4426
4427 int stackSize = keepStackSize();
4428
4429 try {
4430 // InternalCftLanguage.g:1375:1: ( ( ';' ) )
4431 // InternalCftLanguage.g:1376:1: ( ';' )
4432 {
4433 // InternalCftLanguage.g:1376:1: ( ';' )
4434 // InternalCftLanguage.g:1377:2: ';'
4435 {
4436 before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2());
4437 match(input,15,FOLLOW_2);
4438 after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2());
4439
4440 }
4441
4442
4443 }
4444
4445 }
4446 catch (RecognitionException re) {
4447 reportError(re);
4448 recover(input,re);
4449 }
4450 finally {
4451
4452 restoreStackSize(stackSize);
4453
4454 }
4455 return ;
4456 }
4457 // $ANTLR end "rule__ComponentDefinition__Group_3_1__2__Impl"
4458
4459
4460 // $ANTLR start "rule__ComponentDefinition__Group_4__0"
4461 // InternalCftLanguage.g:1387:1: rule__ComponentDefinition__Group_4__0 : rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ;
4462 public final void rule__ComponentDefinition__Group_4__0() throws RecognitionException {
4463
4464 int stackSize = keepStackSize();
4465
4466 try {
4467 // InternalCftLanguage.g:1391:1: ( 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
4469 {
4470 pushFollow(FOLLOW_7);
4471 rule__ComponentDefinition__Group_4__0__Impl();
4472
4473 state._fsp--;
4474
4475 pushFollow(FOLLOW_2);
4476 rule__ComponentDefinition__Group_4__1();
4477
4478 state._fsp--;
4479
4480
4481 }
4482
4483 }
4484 catch (RecognitionException re) {
4485 reportError(re);
4486 recover(input,re);
4487 }
4488 finally {
4489
4490 restoreStackSize(stackSize);
4491
4492 }
4493 return ;
4494 }
4495 // $ANTLR end "rule__ComponentDefinition__Group_4__0"
4496
4497
4498 // $ANTLR start "rule__ComponentDefinition__Group_4__0__Impl"
4499 // InternalCftLanguage.g:1399:1: rule__ComponentDefinition__Group_4__0__Impl : ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ;
4500 public final void rule__ComponentDefinition__Group_4__0__Impl() throws RecognitionException {
4501
4502 int stackSize = keepStackSize();
4503
4504 try {
4505 // InternalCftLanguage.g:1403:1: ( ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) )
4506 // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) )
4507 {
4508 // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) )
4509 // InternalCftLanguage.g:1405:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 )
4510 {
4511 before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0());
4512 // InternalCftLanguage.g:1406:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 )
4513 // InternalCftLanguage.g:1406:3: rule__ComponentDefinition__EventDefinitionsAssignment_4_0
4514 {
4515 pushFollow(FOLLOW_2);
4516 rule__ComponentDefinition__EventDefinitionsAssignment_4_0();
4517
4518 state._fsp--;
4519
4520
4521 }
4522
4523 after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0());
4524
4525 }
4526
4527
4528 }
4529
4530 }
4531 catch (RecognitionException re) {
4532 reportError(re);
4533 recover(input,re);
4534 }
4535 finally {
4536
4537 restoreStackSize(stackSize);
4538
4539 }
4540 return ;
4541 }
4542 // $ANTLR end "rule__ComponentDefinition__Group_4__0__Impl"
4543
4544
4545 // $ANTLR start "rule__ComponentDefinition__Group_4__1"
4546 // InternalCftLanguage.g:1414:1: rule__ComponentDefinition__Group_4__1 : rule__ComponentDefinition__Group_4__1__Impl ;
4547 public final void rule__ComponentDefinition__Group_4__1() throws RecognitionException {
4548
4549 int stackSize = keepStackSize();
4550
4551 try {
4552 // InternalCftLanguage.g:1418:1: ( rule__ComponentDefinition__Group_4__1__Impl )
4553 // InternalCftLanguage.g:1419:2: rule__ComponentDefinition__Group_4__1__Impl
4554 {
4555 pushFollow(FOLLOW_2);
4556 rule__ComponentDefinition__Group_4__1__Impl();
4557
4558 state._fsp--;
4559
4560
4561 }
4562
4563 }
4564 catch (RecognitionException re) {
4565 reportError(re);
4566 recover(input,re);
4567 }
4568 finally {
4569
4570 restoreStackSize(stackSize);
4571
4572 }
4573 return ;
4574 }
4575 // $ANTLR end "rule__ComponentDefinition__Group_4__1"
4576
4577
4578 // $ANTLR start "rule__ComponentDefinition__Group_4__1__Impl"
4579 // InternalCftLanguage.g:1425:1: rule__ComponentDefinition__Group_4__1__Impl : ( ';' ) ;
4580 public final void rule__ComponentDefinition__Group_4__1__Impl() throws RecognitionException {
4581
4582 int stackSize = keepStackSize();
4583
4584 try {
4585 // InternalCftLanguage.g:1429:1: ( ( ';' ) )
4586 // InternalCftLanguage.g:1430:1: ( ';' )
4587 {
4588 // InternalCftLanguage.g:1430:1: ( ';' )
4589 // InternalCftLanguage.g:1431:2: ';'
4590 {
4591 before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1());
4592 match(input,15,FOLLOW_2);
4593 after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1());
4594
4595 }
4596
4597
4598 }
4599
4600 }
4601 catch (RecognitionException re) {
4602 reportError(re);
4603 recover(input,re);
4604 }
4605 finally {
4606
4607 restoreStackSize(stackSize);
4608
4609 }
4610 return ;
4611 }
4612 // $ANTLR end "rule__ComponentDefinition__Group_4__1__Impl"
4613
4614
4615 // $ANTLR start "rule__InputEvent__Group__0"
4616 // InternalCftLanguage.g:1441:1: rule__InputEvent__Group__0 : rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ;
4617 public final void rule__InputEvent__Group__0() throws RecognitionException {
4618
4619 int stackSize = keepStackSize();
4620
4621 try {
4622 // InternalCftLanguage.g:1445:1: ( rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 )
4623 // InternalCftLanguage.g:1446:2: rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1
4624 {
4625 pushFollow(FOLLOW_13);
4626 rule__InputEvent__Group__0__Impl();
4627
4628 state._fsp--;
4629
4630 pushFollow(FOLLOW_2);
4631 rule__InputEvent__Group__1();
4632
4633 state._fsp--;
4634
4635
4636 }
4637
4638 }
4639 catch (RecognitionException re) {
4640 reportError(re);
4641 recover(input,re);
4642 }
4643 finally {
4644
4645 restoreStackSize(stackSize);
4646
4647 }
4648 return ;
4649 }
4650 // $ANTLR end "rule__InputEvent__Group__0"
4651
4652
4653 // $ANTLR start "rule__InputEvent__Group__0__Impl"
4654 // InternalCftLanguage.g:1453:1: rule__InputEvent__Group__0__Impl : ( ( rule__InputEvent__NameAssignment_0 ) ) ;
4655 public final void rule__InputEvent__Group__0__Impl() throws RecognitionException {
4656
4657 int stackSize = keepStackSize();
4658
4659 try {
4660 // InternalCftLanguage.g:1457:1: ( ( ( rule__InputEvent__NameAssignment_0 ) ) )
4661 // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) )
4662 {
4663 // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) )
4664 // InternalCftLanguage.g:1459:2: ( rule__InputEvent__NameAssignment_0 )
4665 {
4666 before(grammarAccess.getInputEventAccess().getNameAssignment_0());
4667 // InternalCftLanguage.g:1460:2: ( rule__InputEvent__NameAssignment_0 )
4668 // InternalCftLanguage.g:1460:3: rule__InputEvent__NameAssignment_0
4669 {
4670 pushFollow(FOLLOW_2);
4671 rule__InputEvent__NameAssignment_0();
4672
4673 state._fsp--;
4674
4675
4676 }
4677
4678 after(grammarAccess.getInputEventAccess().getNameAssignment_0());
4679
4680 }
4681
4682
4683 }
4684
4685 }
4686 catch (RecognitionException re) {
4687 reportError(re);
4688 recover(input,re);
4689 }
4690 finally {
4691
4692 restoreStackSize(stackSize);
4693
4694 }
4695 return ;
4696 }
4697 // $ANTLR end "rule__InputEvent__Group__0__Impl"
4698
4699
4700 // $ANTLR start "rule__InputEvent__Group__1"
4701 // InternalCftLanguage.g:1468:1: rule__InputEvent__Group__1 : rule__InputEvent__Group__1__Impl ;
4702 public final void rule__InputEvent__Group__1() throws RecognitionException {
4703
4704 int stackSize = keepStackSize();
4705
4706 try {
4707 // InternalCftLanguage.g:1472:1: ( rule__InputEvent__Group__1__Impl )
4708 // InternalCftLanguage.g:1473:2: rule__InputEvent__Group__1__Impl
4709 {
4710 pushFollow(FOLLOW_2);
4711 rule__InputEvent__Group__1__Impl();
4712
4713 state._fsp--;
4714
4715
4716 }
4717
4718 }
4719 catch (RecognitionException re) {
4720 reportError(re);
4721 recover(input,re);
4722 }
4723 finally {
4724
4725 restoreStackSize(stackSize);
4726
4727 }
4728 return ;
4729 }
4730 // $ANTLR end "rule__InputEvent__Group__1"
4731
4732
4733 // $ANTLR start "rule__InputEvent__Group__1__Impl"
4734 // InternalCftLanguage.g:1479:1: rule__InputEvent__Group__1__Impl : ( ( rule__InputEvent__MultipleAssignment_1 )? ) ;
4735 public final void rule__InputEvent__Group__1__Impl() throws RecognitionException {
4736
4737 int stackSize = keepStackSize();
4738
4739 try {
4740 // InternalCftLanguage.g:1483:1: ( ( ( rule__InputEvent__MultipleAssignment_1 )? ) )
4741 // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? )
4742 {
4743 // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? )
4744 // InternalCftLanguage.g:1485:2: ( rule__InputEvent__MultipleAssignment_1 )?
4745 {
4746 before(grammarAccess.getInputEventAccess().getMultipleAssignment_1());
4747 // InternalCftLanguage.g:1486:2: ( rule__InputEvent__MultipleAssignment_1 )?
4748 int alt17=2;
4749 int LA17_0 = input.LA(1);
4750
4751 if ( (LA17_0==38) ) {
4752 alt17=1;
4753 }
4754 switch (alt17) {
4755 case 1 :
4756 // InternalCftLanguage.g:1486:3: rule__InputEvent__MultipleAssignment_1
4757 {
4758 pushFollow(FOLLOW_2);
4759 rule__InputEvent__MultipleAssignment_1();
4760
4761 state._fsp--;
4762
4763
4764 }
4765 break;
4766
4767 }
4768
4769 after(grammarAccess.getInputEventAccess().getMultipleAssignment_1());
4770
4771 }
4772
4773
4774 }
4775
4776 }
4777 catch (RecognitionException re) {
4778 reportError(re);
4779 recover(input,re);
4780 }
4781 finally {
4782
4783 restoreStackSize(stackSize);
4784
4785 }
4786 return ;
4787 }
4788 // $ANTLR end "rule__InputEvent__Group__1__Impl"
4789
4790
4791 // $ANTLR start "rule__BasicEventDefinition__Group__0"
4792 // InternalCftLanguage.g:1495:1: rule__BasicEventDefinition__Group__0 : rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ;
4793 public final void rule__BasicEventDefinition__Group__0() throws RecognitionException {
4794
4795 int stackSize = keepStackSize();
4796
4797 try {
4798 // InternalCftLanguage.g:1499:1: ( rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 )
4799 // InternalCftLanguage.g:1500:2: rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1
4800 {
4801 pushFollow(FOLLOW_14);
4802 rule__BasicEventDefinition__Group__0__Impl();
4803
4804 state._fsp--;
4805
4806 pushFollow(FOLLOW_2);
4807 rule__BasicEventDefinition__Group__1();
4808
4809 state._fsp--;
4810
4811
4812 }
4813
4814 }
4815 catch (RecognitionException re) {
4816 reportError(re);
4817 recover(input,re);
4818 }
4819 finally {
4820
4821 restoreStackSize(stackSize);
4822
4823 }
4824 return ;
4825 }
4826 // $ANTLR end "rule__BasicEventDefinition__Group__0"
4827
4828
4829 // $ANTLR start "rule__BasicEventDefinition__Group__0__Impl"
4830 // InternalCftLanguage.g:1507:1: rule__BasicEventDefinition__Group__0__Impl : ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ;
4831 public final void rule__BasicEventDefinition__Group__0__Impl() throws RecognitionException {
4832
4833 int stackSize = keepStackSize();
4834
4835 try {
4836 // InternalCftLanguage.g:1511:1: ( ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) )
4837 // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) )
4838 {
4839 // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) )
4840 // InternalCftLanguage.g:1513:2: ( rule__BasicEventDefinition__NameAssignment_0 )
4841 {
4842 before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0());
4843 // InternalCftLanguage.g:1514:2: ( rule__BasicEventDefinition__NameAssignment_0 )
4844 // InternalCftLanguage.g:1514:3: rule__BasicEventDefinition__NameAssignment_0
4845 {
4846 pushFollow(FOLLOW_2);
4847 rule__BasicEventDefinition__NameAssignment_0();
4848
4849 state._fsp--;
4850
4851
4852 }
4853
4854 after(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0());
4855
4856 }
4857
4858
4859 }
4860
4861 }
4862 catch (RecognitionException re) {
4863 reportError(re);
4864 recover(input,re);
4865 }
4866 finally {
4867
4868 restoreStackSize(stackSize);
4869
4870 }
4871 return ;
4872 }
4873 // $ANTLR end "rule__BasicEventDefinition__Group__0__Impl"
4874
4875
4876 // $ANTLR start "rule__BasicEventDefinition__Group__1"
4877 // InternalCftLanguage.g:1522:1: rule__BasicEventDefinition__Group__1 : rule__BasicEventDefinition__Group__1__Impl ;
4878 public final void rule__BasicEventDefinition__Group__1() throws RecognitionException {
4879
4880 int stackSize = keepStackSize();
4881
4882 try {
4883 // InternalCftLanguage.g:1526:1: ( rule__BasicEventDefinition__Group__1__Impl )
4884 // InternalCftLanguage.g:1527:2: rule__BasicEventDefinition__Group__1__Impl
4885 {
4886 pushFollow(FOLLOW_2);
4887 rule__BasicEventDefinition__Group__1__Impl();
4888
4889 state._fsp--;
4890
4891
4892 }
4893
4894 }
4895 catch (RecognitionException re) {
4896 reportError(re);
4897 recover(input,re);
4898 }
4899 finally {
4900
4901 restoreStackSize(stackSize);
4902
4903 }
4904 return ;
4905 }
4906 // $ANTLR end "rule__BasicEventDefinition__Group__1"
4907
4908
4909 // $ANTLR start "rule__BasicEventDefinition__Group__1__Impl"
4910 // InternalCftLanguage.g:1533:1: rule__BasicEventDefinition__Group__1__Impl : ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) ;
4911 public final void rule__BasicEventDefinition__Group__1__Impl() throws RecognitionException {
4912
4913 int stackSize = keepStackSize();
4914
4915 try {
4916 // InternalCftLanguage.g:1537:1: ( ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) )
4917 // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) )
4918 {
4919 // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) )
4920 // InternalCftLanguage.g:1539:2: ( rule__BasicEventDefinition__DistributionAssignment_1 )
4921 {
4922 before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1());
4923 // InternalCftLanguage.g:1540:2: ( rule__BasicEventDefinition__DistributionAssignment_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());
4935
4936 }
4937
4938
4939 }
4940
4941 }
4942 catch (RecognitionException re) {
4943 reportError(re);
4944 recover(input,re);
4945 }
4946 finally {
4947
4948 restoreStackSize(stackSize);
4949
4950 }
4951 return ;
4952 }
4953 // $ANTLR end "rule__BasicEventDefinition__Group__1__Impl"
4954
4955
4956 // $ANTLR start "rule__ConstantDistribution__Group__0"
4957 // InternalCftLanguage.g:1549:1: rule__ConstantDistribution__Group__0 : rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 ;
4958 public final void rule__ConstantDistribution__Group__0() throws RecognitionException {
4959
4960 int stackSize = keepStackSize();
4961
4962 try {
4963 // InternalCftLanguage.g:1553:1: ( rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 )
4964 // InternalCftLanguage.g:1554:2: rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1
4965 {
4966 pushFollow(FOLLOW_15);
4967 rule__ConstantDistribution__Group__0__Impl();
4968
4969 state._fsp--;
4970
4971 pushFollow(FOLLOW_2);
4972 rule__ConstantDistribution__Group__1();
4973
4974 state._fsp--;
4975
4976
4977 }
4978
4979 }
4980 catch (RecognitionException re) {
4981 reportError(re);
4982 recover(input,re);
4983 }
4984 finally {
4985
4986 restoreStackSize(stackSize);
4987
4988 }
4989 return ;
4990 }
4991 // $ANTLR end "rule__ConstantDistribution__Group__0"
4992
4993
4994 // $ANTLR start "rule__ConstantDistribution__Group__0__Impl"
4995 // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'prob' ) ;
4996 public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException {
4997
4998 int stackSize = keepStackSize();
4999
5000 try {
5001 // InternalCftLanguage.g:1565:1: ( ( 'prob' ) )
5002 // InternalCftLanguage.g:1566:1: ( 'prob' )
5003 {
5004 // InternalCftLanguage.g:1566:1: ( 'prob' )
5005 // InternalCftLanguage.g:1567:2: 'prob'
5006 {
5007 before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0());
5008 match(input,22,FOLLOW_2);
5009 after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0());
5010
5011 }
5012
5013
5014 }
5015
5016 }
5017 catch (RecognitionException re) {
5018 reportError(re);
5019 recover(input,re);
5020 }
5021 finally {
5022
5023 restoreStackSize(stackSize);
5024
5025 }
5026 return ;
5027 }
5028 // $ANTLR end "rule__ConstantDistribution__Group__0__Impl"
5029
5030
5031 // $ANTLR start "rule__ConstantDistribution__Group__1"
5032 // InternalCftLanguage.g:1576:1: rule__ConstantDistribution__Group__1 : rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 ;
5033 public final void rule__ConstantDistribution__Group__1() throws RecognitionException {
5034
5035 int stackSize = keepStackSize();
5036
5037 try {
5038 // InternalCftLanguage.g:1580:1: ( rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 )
5039 // InternalCftLanguage.g:1581:2: rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2
5040 {
5041 pushFollow(FOLLOW_16);
5042 rule__ConstantDistribution__Group__1__Impl();
5043
5044 state._fsp--;
5045
5046 pushFollow(FOLLOW_2);
5047 rule__ConstantDistribution__Group__2();
5048
5049 state._fsp--;
5050
5051
5052 }
5053
5054 }
5055 catch (RecognitionException re) {
5056 reportError(re);
5057 recover(input,re);
5058 }
5059 finally {
5060
5061 restoreStackSize(stackSize);
5062
5063 }
5064 return ;
5065 }
5066 // $ANTLR end "rule__ConstantDistribution__Group__1"
5067
5068
5069 // $ANTLR start "rule__ConstantDistribution__Group__1__Impl"
5070 // InternalCftLanguage.g:1588:1: rule__ConstantDistribution__Group__1__Impl : ( '=' ) ;
5071 public final void rule__ConstantDistribution__Group__1__Impl() throws RecognitionException {
5072
5073 int stackSize = keepStackSize();
5074
5075 try {
5076 // InternalCftLanguage.g:1592:1: ( ( '=' ) )
5077 // InternalCftLanguage.g:1593:1: ( '=' )
5078 {
5079 // InternalCftLanguage.g:1593:1: ( '=' )
5080 // InternalCftLanguage.g:1594:2: '='
5081 {
5082 before(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1());
5083 match(input,23,FOLLOW_2);
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
5115 {
5116 pushFollow(FOLLOW_2);
5117 rule__ConstantDistribution__Group__2__Impl();
5118
5119 state._fsp--;
5120
5121
5122 }
5123
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());
5240
5241 }
5242
5243
5244 }
5245
5246 }
5247 catch (RecognitionException re) {
5248 reportError(re);
5249 recover(input,re);
5250 }
5251 finally {
5252
5253 restoreStackSize(stackSize);
5254
5255 }
5256 return ;
5257 }
5258 // $ANTLR end "rule__ExponentialDistribution__Group__0__Impl"
5259
5260
5261 // $ANTLR start "rule__ExponentialDistribution__Group__1"
5262 // InternalCftLanguage.g:1657:1: rule__ExponentialDistribution__Group__1 : rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 ;
5263 public final void rule__ExponentialDistribution__Group__1() throws RecognitionException {
5264
5265 int stackSize = keepStackSize();
5266
5267 try {
5268 // InternalCftLanguage.g:1661:1: ( rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 )
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
5425 {
5426 pushFollow(FOLLOW_17);
5427 rule__AndGateDefinition__Group__0__Impl();
5428
5429 state._fsp--;
5430
5431 pushFollow(FOLLOW_2);
5432 rule__AndGateDefinition__Group__1();
5433
5434 state._fsp--;
5435
5436
5437 }
5438
5439 }
5440 catch (RecognitionException re) {
5441 reportError(re);
5442 recover(input,re);
5443 }
5444 finally {
5445
5446 restoreStackSize(stackSize);
5447
5448 }
5449 return ;
5450 }
5451 // $ANTLR end "rule__AndGateDefinition__Group__0"
5452
5453
5454 // $ANTLR start "rule__AndGateDefinition__Group__0__Impl"
5455 // InternalCftLanguage.g:1723:1: rule__AndGateDefinition__Group__0__Impl : ( ( rule__AndGateDefinition__NameAssignment_0 ) ) ;
5456 public final void rule__AndGateDefinition__Group__0__Impl() throws RecognitionException {
5457
5458 int stackSize = keepStackSize();
5459
5460 try {
5461 // InternalCftLanguage.g:1727:1: ( ( ( rule__AndGateDefinition__NameAssignment_0 ) ) )
5462 // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) )
5463 {
5464 // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) )
5465 // InternalCftLanguage.g:1729:2: ( rule__AndGateDefinition__NameAssignment_0 )
5466 {
5467 before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0());
5468 // InternalCftLanguage.g:1730:2: ( rule__AndGateDefinition__NameAssignment_0 )
5469 // InternalCftLanguage.g:1730:3: rule__AndGateDefinition__NameAssignment_0
5470 {
5471 pushFollow(FOLLOW_2);
5472 rule__AndGateDefinition__NameAssignment_0();
5473
5474 state._fsp--;
5475
5476
5477 }
5478
5479 after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0());
5480
5481 }
5482
5483
5484 }
5485
5486 }
5487 catch (RecognitionException re) {
5488 reportError(re);
5489 recover(input,re);
5490 }
5491 finally {
5492
5493 restoreStackSize(stackSize);
5494
5495 }
5496 return ;
5497 }
5498 // $ANTLR end "rule__AndGateDefinition__Group__0__Impl"
5499
5500
5501 // $ANTLR start "rule__AndGateDefinition__Group__1"
5502 // InternalCftLanguage.g:1738:1: rule__AndGateDefinition__Group__1 : rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 ;
5503 public final void rule__AndGateDefinition__Group__1() throws RecognitionException {
5504
5505 int stackSize = keepStackSize();
5506
5507 try {
5508 // InternalCftLanguage.g:1742:1: ( rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 )
5509 // InternalCftLanguage.g:1743:2: rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2
5510 {
5511 pushFollow(FOLLOW_3);
5512 rule__AndGateDefinition__Group__1__Impl();
5513
5514 state._fsp--;
5515
5516 pushFollow(FOLLOW_2);
5517 rule__AndGateDefinition__Group__2();
5518
5519 state._fsp--;
5520
5521
5522 }
5523
5524 }
5525 catch (RecognitionException re) {
5526 reportError(re);
5527 recover(input,re);
5528 }
5529 finally {
5530
5531 restoreStackSize(stackSize);
5532
5533 }
5534 return ;
5535 }
5536 // $ANTLR end "rule__AndGateDefinition__Group__1"
5537
5538
5539 // $ANTLR start "rule__AndGateDefinition__Group__1__Impl"
5540 // InternalCftLanguage.g:1750:1: rule__AndGateDefinition__Group__1__Impl : ( 'and' ) ;
5541 public final void rule__AndGateDefinition__Group__1__Impl() throws RecognitionException {
5542
5543 int stackSize = keepStackSize();
5544
5545 try {
5546 // InternalCftLanguage.g:1754:1: ( ( 'and' ) )
5547 // InternalCftLanguage.g:1755:1: ( 'and' )
5548 {
5549 // InternalCftLanguage.g:1755:1: ( 'and' )
5550 // InternalCftLanguage.g:1756:2: 'and'
5551 {
5552 before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1());
5553 match(input,25,FOLLOW_2);
5554 after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1());
5555
5556 }
5557
5558
5559 }
5560
5561 }
5562 catch (RecognitionException re) {
5563 reportError(re);
5564 recover(input,re);
5565 }
5566 finally {
5567
5568 restoreStackSize(stackSize);
5569
5570 }
5571 return ;
5572 }
5573 // $ANTLR end "rule__AndGateDefinition__Group__1__Impl"
5574
5575
5576 // $ANTLR start "rule__AndGateDefinition__Group__2"
5577 // InternalCftLanguage.g:1765:1: rule__AndGateDefinition__Group__2 : rule__AndGateDefinition__Group__2__Impl ;
5578 public final void rule__AndGateDefinition__Group__2() throws RecognitionException {
5579
5580 int stackSize = keepStackSize();
5581
5582 try {
5583 // InternalCftLanguage.g:1769:1: ( rule__AndGateDefinition__Group__2__Impl )
5584 // InternalCftLanguage.g:1770:2: rule__AndGateDefinition__Group__2__Impl
5585 {
5586 pushFollow(FOLLOW_2);
5587 rule__AndGateDefinition__Group__2__Impl();
5588
5589 state._fsp--;
5590
5591
5592 }
5593
5594 }
5595 catch (RecognitionException re) {
5596 reportError(re);
5597 recover(input,re);
5598 }
5599 finally {
5600
5601 restoreStackSize(stackSize);
5602
5603 }
5604 return ;
5605 }
5606 // $ANTLR end "rule__AndGateDefinition__Group__2"
5607
5608
5609 // $ANTLR start "rule__AndGateDefinition__Group__2__Impl"
5610 // InternalCftLanguage.g:1776:1: rule__AndGateDefinition__Group__2__Impl : ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) ;
5611 public final void rule__AndGateDefinition__Group__2__Impl() throws RecognitionException {
5612
5613 int stackSize = keepStackSize();
5614
5615 try {
5616 // InternalCftLanguage.g:1780:1: ( ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) )
5617 // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* )
5618 {
5619 // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* )
5620 // InternalCftLanguage.g:1782:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )*
5621 {
5622 before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2());
5623 // InternalCftLanguage.g:1783:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )*
5624 loop18:
5625 do {
5626 int alt18=2;
5627 int LA18_0 = input.LA(1);
5628
5629 if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_OF_INT)) ) {
5630 alt18=1;
5631 }
5632
5633
5634 switch (alt18) {
5635 case 1 :
5636 // InternalCftLanguage.g:1783:3: rule__AndGateDefinition__InputEventsAssignment_2
5637 {
5638 pushFollow(FOLLOW_11);
5639 rule__AndGateDefinition__InputEventsAssignment_2();
5640
5641 state._fsp--;
5642
5643
5644 }
5645 break;
5646
5647 default :
5648 break loop18;
5649 }
5650 } while (true);
5651
5652 after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2());
5653
5654 }
5655
5656
5657 }
5658
5659 }
5660 catch (RecognitionException re) {
5661 reportError(re);
5662 recover(input,re);
5663 }
5664 finally {
5665
5666 restoreStackSize(stackSize);
5667
5668 }
5669 return ;
5670 }
5671 // $ANTLR end "rule__AndGateDefinition__Group__2__Impl"
5672
5673
5674 // $ANTLR start "rule__OrGateDefinition__Group__0"
5675 // InternalCftLanguage.g:1792:1: rule__OrGateDefinition__Group__0 : rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 ;
5676 public final void rule__OrGateDefinition__Group__0() throws RecognitionException {
5677
5678 int stackSize = keepStackSize();
5679
5680 try {
5681 // InternalCftLanguage.g:1796:1: ( rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 )
5682 // InternalCftLanguage.g:1797:2: rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1
5683 {
5684 pushFollow(FOLLOW_18);
5685 rule__OrGateDefinition__Group__0__Impl();
5686
5687 state._fsp--;
5688
5689 pushFollow(FOLLOW_2);
5690 rule__OrGateDefinition__Group__1();
5691
5692 state._fsp--;
5693
5694
5695 }
5696
5697 }
5698 catch (RecognitionException re) {
5699 reportError(re);
5700 recover(input,re);
5701 }
5702 finally {
5703
5704 restoreStackSize(stackSize);
5705
5706 }
5707 return ;
5708 }
5709 // $ANTLR end "rule__OrGateDefinition__Group__0"
5710
5711
5712 // $ANTLR start "rule__OrGateDefinition__Group__0__Impl"
5713 // InternalCftLanguage.g:1804:1: rule__OrGateDefinition__Group__0__Impl : ( ( rule__OrGateDefinition__NameAssignment_0 ) ) ;
5714 public final void rule__OrGateDefinition__Group__0__Impl() throws RecognitionException {
5715
5716 int stackSize = keepStackSize();
5717
5718 try {
5719 // InternalCftLanguage.g:1808:1: ( ( ( rule__OrGateDefinition__NameAssignment_0 ) ) )
5720 // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) )
5721 {
5722 // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) )
5723 // InternalCftLanguage.g:1810:2: ( rule__OrGateDefinition__NameAssignment_0 )
5724 {
5725 before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0());
5726 // InternalCftLanguage.g:1811:2: ( rule__OrGateDefinition__NameAssignment_0 )
5727 // InternalCftLanguage.g:1811:3: rule__OrGateDefinition__NameAssignment_0
5728 {
5729 pushFollow(FOLLOW_2);
5730 rule__OrGateDefinition__NameAssignment_0();
5731
5732 state._fsp--;
5733
5734
5735 }
5736
5737 after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0());
5738
5739 }
5740
5741
5742 }
5743
5744 }
5745 catch (RecognitionException re) {
5746 reportError(re);
5747 recover(input,re);
5748 }
5749 finally {
5750
5751 restoreStackSize(stackSize);
5752
5753 }
5754 return ;
5755 }
5756 // $ANTLR end "rule__OrGateDefinition__Group__0__Impl"
5757
5758
5759 // $ANTLR start "rule__OrGateDefinition__Group__1"
5760 // InternalCftLanguage.g:1819:1: rule__OrGateDefinition__Group__1 : rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 ;
5761 public final void rule__OrGateDefinition__Group__1() throws RecognitionException {
5762
5763 int stackSize = keepStackSize();
5764
5765 try {
5766 // InternalCftLanguage.g:1823:1: ( rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 )
5767 // InternalCftLanguage.g:1824:2: rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2
5768 {
5769 pushFollow(FOLLOW_3);
5770 rule__OrGateDefinition__Group__1__Impl();
5771
5772 state._fsp--;
5773
5774 pushFollow(FOLLOW_2);
5775 rule__OrGateDefinition__Group__2();
5776
5777 state._fsp--;
5778
5779
5780 }
5781
5782 }
5783 catch (RecognitionException re) {
5784 reportError(re);
5785 recover(input,re);
5786 }
5787 finally {
5788
5789 restoreStackSize(stackSize);
5790
5791 }
5792 return ;
5793 }
5794 // $ANTLR end "rule__OrGateDefinition__Group__1"
5795
5796
5797 // $ANTLR start "rule__OrGateDefinition__Group__1__Impl"
5798 // InternalCftLanguage.g:1831:1: rule__OrGateDefinition__Group__1__Impl : ( 'or' ) ;
5799 public final void rule__OrGateDefinition__Group__1__Impl() throws RecognitionException {
5800
5801 int stackSize = keepStackSize();
5802
5803 try {
5804 // InternalCftLanguage.g:1835:1: ( ( 'or' ) )
5805 // InternalCftLanguage.g:1836:1: ( 'or' )
5806 {
5807 // InternalCftLanguage.g:1836:1: ( 'or' )
5808 // InternalCftLanguage.g:1837:2: 'or'
5809 {
5810 before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1());
5811 match(input,26,FOLLOW_2);
5812 after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1());
5813
5814 }
5815
5816
5817 }
5818
5819 }
5820 catch (RecognitionException re) {
5821 reportError(re);
5822 recover(input,re);
5823 }
5824 finally {
5825
5826 restoreStackSize(stackSize);
5827
5828 }
5829 return ;
5830 }
5831 // $ANTLR end "rule__OrGateDefinition__Group__1__Impl"
5832
5833
5834 // $ANTLR start "rule__OrGateDefinition__Group__2"
5835 // InternalCftLanguage.g:1846:1: rule__OrGateDefinition__Group__2 : rule__OrGateDefinition__Group__2__Impl ;
5836 public final void rule__OrGateDefinition__Group__2() throws RecognitionException {
5837
5838 int stackSize = keepStackSize();
5839
5840 try {
5841 // InternalCftLanguage.g:1850:1: ( rule__OrGateDefinition__Group__2__Impl )
5842 // InternalCftLanguage.g:1851:2: rule__OrGateDefinition__Group__2__Impl
5843 {
5844 pushFollow(FOLLOW_2);
5845 rule__OrGateDefinition__Group__2__Impl();
5846
5847 state._fsp--;
5848
5849
5850 }
5851
5852 }
5853 catch (RecognitionException re) {
5854 reportError(re);
5855 recover(input,re);
5856 }
5857 finally {
5858
5859 restoreStackSize(stackSize);
5860
5861 }
5862 return ;
5863 }
5864 // $ANTLR end "rule__OrGateDefinition__Group__2"
5865
5866
5867 // $ANTLR start "rule__OrGateDefinition__Group__2__Impl"
5868 // InternalCftLanguage.g:1857:1: rule__OrGateDefinition__Group__2__Impl : ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) ;
5869 public final void rule__OrGateDefinition__Group__2__Impl() throws RecognitionException {
5870
5871 int stackSize = keepStackSize();
5872
5873 try {
5874 // InternalCftLanguage.g:1861:1: ( ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) )
5875 // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* )
5876 {
5877 // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* )
5878 // InternalCftLanguage.g:1863:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )*
5879 {
5880 before(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2());
5881 // InternalCftLanguage.g:1864:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )*
5882 loop19:
5883 do {
5884 int alt19=2;
5885 int LA19_0 = input.LA(1);
5886
5887 if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_OF_INT)) ) {
5888 alt19=1;
5889 }
5890
5891
5892 switch (alt19) {
5893 case 1 :
5894 // InternalCftLanguage.g:1864:3: rule__OrGateDefinition__InputEventsAssignment_2
5895 {
5896 pushFollow(FOLLOW_11);
5897 rule__OrGateDefinition__InputEventsAssignment_2();
5898
5899 state._fsp--;
5900
5901
5902 }
5903 break;
5904
5905 default :
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;
6260 }
6261 } while (true);
6262
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());
6419
6420 }
6421
6422
6423 }
6424
6425 }
6426 catch (RecognitionException re) {
6427 reportError(re);
6428 recover(input,re);
6429 }
6430 finally {
6431
6432 restoreStackSize(stackSize);
6433
6434 }
6435 return ;
6436 }
6437 // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__1__Impl"
6438
6439
6440 // $ANTLR start "rule__TransformationDefinition__Group__0"
6441 // InternalCftLanguage.g:2035:1: rule__TransformationDefinition__Group__0 : rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ;
6442 public final void rule__TransformationDefinition__Group__0() throws RecognitionException {
6443
6444 int stackSize = keepStackSize();
6445
6446 try {
6447 // InternalCftLanguage.g:2039:1: ( rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 )
6448 // InternalCftLanguage.g:2040:2: rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1
6449 {
6450 pushFollow(FOLLOW_3);
6451 rule__TransformationDefinition__Group__0__Impl();
6452
6453 state._fsp--;
6454
6455 pushFollow(FOLLOW_2);
6456 rule__TransformationDefinition__Group__1();
6457
6458 state._fsp--;
6459
6460
6461 }
6462
6463 }
6464 catch (RecognitionException re) {
6465 reportError(re);
6466 recover(input,re);
6467 }
6468 finally {
6469
6470 restoreStackSize(stackSize);
6471
6472 }
6473 return ;
6474 }
6475 // $ANTLR end "rule__TransformationDefinition__Group__0"
6476
6477
6478 // $ANTLR start "rule__TransformationDefinition__Group__0__Impl"
6479 // InternalCftLanguage.g:2047:1: rule__TransformationDefinition__Group__0__Impl : ( 'transformation' ) ;
6480 public final void rule__TransformationDefinition__Group__0__Impl() throws RecognitionException {
6481
6482 int stackSize = keepStackSize();
6483
6484 try {
6485 // InternalCftLanguage.g:2051:1: ( ( 'transformation' ) )
6486 // InternalCftLanguage.g:2052:1: ( 'transformation' )
6487 {
6488 // InternalCftLanguage.g:2052:1: ( 'transformation' )
6489 // InternalCftLanguage.g:2053:2: 'transformation'
6490 {
6491 before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0());
6492 match(input,28,FOLLOW_2);
6493 after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0());
6494
6495 }
6496
6497
6498 }
6499
6500 }
6501 catch (RecognitionException re) {
6502 reportError(re);
6503 recover(input,re);
6504 }
6505 finally {
6506
6507 restoreStackSize(stackSize);
6508
6509 }
6510 return ;
6511 }
6512 // $ANTLR end "rule__TransformationDefinition__Group__0__Impl"
6513
6514
6515 // $ANTLR start "rule__TransformationDefinition__Group__1"
6516 // InternalCftLanguage.g:2062:1: rule__TransformationDefinition__Group__1 : rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ;
6517 public final void rule__TransformationDefinition__Group__1() throws RecognitionException {
6518
6519 int stackSize = keepStackSize();
6520
6521 try {
6522 // InternalCftLanguage.g:2066:1: ( rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 )
6523 // InternalCftLanguage.g:2067:2: rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2
6524 {
6525 pushFollow(FOLLOW_8);
6526 rule__TransformationDefinition__Group__1__Impl();
6527
6528 state._fsp--;
6529
6530 pushFollow(FOLLOW_2);
6531 rule__TransformationDefinition__Group__2();
6532
6533 state._fsp--;
6534
6535
6536 }
6537
6538 }
6539 catch (RecognitionException re) {
6540 reportError(re);
6541 recover(input,re);
6542 }
6543 finally {
6544
6545 restoreStackSize(stackSize);
6546
6547 }
6548 return ;
6549 }
6550 // $ANTLR end "rule__TransformationDefinition__Group__1"
6551
6552
6553 // $ANTLR start "rule__TransformationDefinition__Group__1__Impl"
6554 // InternalCftLanguage.g:2074:1: rule__TransformationDefinition__Group__1__Impl : ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ;
6555 public final void rule__TransformationDefinition__Group__1__Impl() throws RecognitionException {
6556
6557 int stackSize = keepStackSize();
6558
6559 try {
6560 // InternalCftLanguage.g:2078:1: ( ( ( rule__TransformationDefinition__NameAssignment_1 ) ) )
6561 // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) )
6562 {
6563 // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) )
6564 // InternalCftLanguage.g:2080:2: ( rule__TransformationDefinition__NameAssignment_1 )
6565 {
6566 before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1());
6567 // InternalCftLanguage.g:2081:2: ( rule__TransformationDefinition__NameAssignment_1 )
6568 // InternalCftLanguage.g:2081:3: rule__TransformationDefinition__NameAssignment_1
6569 {
6570 pushFollow(FOLLOW_2);
6571 rule__TransformationDefinition__NameAssignment_1();
6572
6573 state._fsp--;
6574
6575
6576 }
6577
6578 after(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1());
6579
6580 }
6581
6582
6583 }
6584
6585 }
6586 catch (RecognitionException re) {
6587 reportError(re);
6588 recover(input,re);
6589 }
6590 finally {
6591
6592 restoreStackSize(stackSize);
6593
6594 }
6595 return ;
6596 }
6597 // $ANTLR end "rule__TransformationDefinition__Group__1__Impl"
6598
6599
6600 // $ANTLR start "rule__TransformationDefinition__Group__2"
6601 // InternalCftLanguage.g:2089:1: rule__TransformationDefinition__Group__2 : rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ;
6602 public final void rule__TransformationDefinition__Group__2() throws RecognitionException {
6603
6604 int stackSize = keepStackSize();
6605
6606 try {
6607 // InternalCftLanguage.g:2093:1: ( rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 )
6608 // InternalCftLanguage.g:2094:2: rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3
6609 {
6610 pushFollow(FOLLOW_21);
6611 rule__TransformationDefinition__Group__2__Impl();
6612
6613 state._fsp--;
6614
6615 pushFollow(FOLLOW_2);
6616 rule__TransformationDefinition__Group__3();
6617
6618 state._fsp--;
6619
6620
6621 }
6622
6623 }
6624 catch (RecognitionException re) {
6625 reportError(re);
6626 recover(input,re);
6627 }
6628 finally {
6629
6630 restoreStackSize(stackSize);
6631
6632 }
6633 return ;
6634 }
6635 // $ANTLR end "rule__TransformationDefinition__Group__2"
6636
6637
6638 // $ANTLR start "rule__TransformationDefinition__Group__2__Impl"
6639 // InternalCftLanguage.g:2101:1: rule__TransformationDefinition__Group__2__Impl : ( '{' ) ;
6640 public final void rule__TransformationDefinition__Group__2__Impl() throws RecognitionException {
6641
6642 int stackSize = keepStackSize();
6643
6644 try {
6645 // InternalCftLanguage.g:2105:1: ( ( '{' ) )
6646 // InternalCftLanguage.g:2106:1: ( '{' )
6647 {
6648 // InternalCftLanguage.g:2106:1: ( '{' )
6649 // InternalCftLanguage.g:2107:2: '{'
6650 {
6651 before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2());
6652 match(input,18,FOLLOW_2);
6653 after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2());
6654
6655 }
6656
6657
6658 }
6659
6660 }
6661 catch (RecognitionException re) {
6662 reportError(re);
6663 recover(input,re);
6664 }
6665 finally {
6666
6667 restoreStackSize(stackSize);
6668
6669 }
6670 return ;
6671 }
6672 // $ANTLR end "rule__TransformationDefinition__Group__2__Impl"
6673
6674
6675 // $ANTLR start "rule__TransformationDefinition__Group__3"
6676 // InternalCftLanguage.g:2116:1: rule__TransformationDefinition__Group__3 : rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ;
6677 public final void rule__TransformationDefinition__Group__3() throws RecognitionException {
6678
6679 int stackSize = keepStackSize();
6680
6681 try {
6682 // InternalCftLanguage.g:2120:1: ( rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 )
6683 // InternalCftLanguage.g:2121:2: rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4
6684 {
6685 pushFollow(FOLLOW_21);
6686 rule__TransformationDefinition__Group__3__Impl();
6687
6688 state._fsp--;
6689
6690 pushFollow(FOLLOW_2);
6691 rule__TransformationDefinition__Group__4();
6692
6693 state._fsp--;
6694
6695
6696 }
6697
6698 }
6699 catch (RecognitionException re) {
6700 reportError(re);
6701 recover(input,re);
6702 }
6703 finally {
6704
6705 restoreStackSize(stackSize);
6706
6707 }
6708 return ;
6709 }
6710 // $ANTLR end "rule__TransformationDefinition__Group__3"
6711
6712
6713 // $ANTLR start "rule__TransformationDefinition__Group__3__Impl"
6714 // InternalCftLanguage.g:2128:1: rule__TransformationDefinition__Group__3__Impl : ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ;
6715 public final void rule__TransformationDefinition__Group__3__Impl() throws RecognitionException {
6716
6717 int stackSize = keepStackSize();
6718
6719 try {
6720 // InternalCftLanguage.g:2132:1: ( ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) )
6721 // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* )
6722 {
6723 // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* )
6724 // InternalCftLanguage.g:2134:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )*
6725 {
6726 before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3());
6727 // InternalCftLanguage.g:2135:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )*
6728 loop21:
6729 do {
6730 int alt21=2;
6731 int LA21_0 = input.LA(1);
6732
6733 if ( (LA21_0==29||LA21_0==39) ) {
6734 alt21=1;
6735 }
6736
6737
6738 switch (alt21) {
6739 case 1 :
6740 // InternalCftLanguage.g:2135:3: rule__TransformationDefinition__MappingDefinitionsAssignment_3
6741 {
6742 pushFollow(FOLLOW_22);
6743 rule__TransformationDefinition__MappingDefinitionsAssignment_3();
6744
6745 state._fsp--;
6746
6747
6748 }
6749 break;
6750
6751 default :
6752 break loop21;
6753 }
6754 } while (true);
6755
6756 after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3());
6757
6758 }
6759
6760
6761 }
6762
6763 }
6764 catch (RecognitionException re) {
6765 reportError(re);
6766 recover(input,re);
6767 }
6768 finally {
6769
6770 restoreStackSize(stackSize);
6771
6772 }
6773 return ;
6774 }
6775 // $ANTLR end "rule__TransformationDefinition__Group__3__Impl"
6776
6777
6778 // $ANTLR start "rule__TransformationDefinition__Group__4"
6779 // InternalCftLanguage.g:2143:1: rule__TransformationDefinition__Group__4 : rule__TransformationDefinition__Group__4__Impl ;
6780 public final void rule__TransformationDefinition__Group__4() throws RecognitionException {
6781
6782 int stackSize = keepStackSize();
6783
6784 try {
6785 // InternalCftLanguage.g:2147:1: ( rule__TransformationDefinition__Group__4__Impl )
6786 // InternalCftLanguage.g:2148:2: rule__TransformationDefinition__Group__4__Impl
6787 {
6788 pushFollow(FOLLOW_2);
6789 rule__TransformationDefinition__Group__4__Impl();
6790
6791 state._fsp--;
6792
6793
6794 }
6795
6796 }
6797 catch (RecognitionException re) {
6798 reportError(re);
6799 recover(input,re);
6800 }
6801 finally {
6802
6803 restoreStackSize(stackSize);
6804
6805 }
6806 return ;
6807 }
6808 // $ANTLR end "rule__TransformationDefinition__Group__4"
6809
6810
6811 // $ANTLR start "rule__TransformationDefinition__Group__4__Impl"
6812 // InternalCftLanguage.g:2154:1: rule__TransformationDefinition__Group__4__Impl : ( '}' ) ;
6813 public final void rule__TransformationDefinition__Group__4__Impl() throws RecognitionException {
6814
6815 int stackSize = keepStackSize();
6816
6817 try {
6818 // InternalCftLanguage.g:2158:1: ( ( '}' ) )
6819 // InternalCftLanguage.g:2159:1: ( '}' )
6820 {
6821 // InternalCftLanguage.g:2159:1: ( '}' )
6822 // InternalCftLanguage.g:2160:2: '}'
6823 {
6824 before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4());
6825 match(input,19,FOLLOW_2);
6826 after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4());
6827
6828 }
6829
6830
6831 }
6832
6833 }
6834 catch (RecognitionException re) {
6835 reportError(re);
6836 recover(input,re);
6837 }
6838 finally {
6839
6840 restoreStackSize(stackSize);
6841
6842 }
6843 return ;
6844 }
6845 // $ANTLR end "rule__TransformationDefinition__Group__4__Impl"
6846
6847
6848 // $ANTLR start "rule__MappingDefinition__Group__0"
6849 // InternalCftLanguage.g:2170:1: rule__MappingDefinition__Group__0 : rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ;
6850 public final void rule__MappingDefinition__Group__0() throws RecognitionException {
6851
6852 int stackSize = keepStackSize();
6853
6854 try {
6855 // InternalCftLanguage.g:2174:1: ( rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 )
6856 // InternalCftLanguage.g:2175:2: rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1
6857 {
6858 pushFollow(FOLLOW_23);
6859 rule__MappingDefinition__Group__0__Impl();
6860
6861 state._fsp--;
6862
6863 pushFollow(FOLLOW_2);
6864 rule__MappingDefinition__Group__1();
6865
6866 state._fsp--;
6867
6868
6869 }
6870
6871 }
6872 catch (RecognitionException re) {
6873 reportError(re);
6874 recover(input,re);
6875 }
6876 finally {
6877
6878 restoreStackSize(stackSize);
6879
6880 }
6881 return ;
6882 }
6883 // $ANTLR end "rule__MappingDefinition__Group__0"
6884
6885
6886 // $ANTLR start "rule__MappingDefinition__Group__0__Impl"
6887 // InternalCftLanguage.g:2182:1: rule__MappingDefinition__Group__0__Impl : ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ;
6888 public final void rule__MappingDefinition__Group__0__Impl() throws RecognitionException {
6889
6890 int stackSize = keepStackSize();
6891
6892 try {
6893 // InternalCftLanguage.g:2186:1: ( ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) )
6894 // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? )
6895 {
6896 // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? )
6897 // InternalCftLanguage.g:2188:2: ( rule__MappingDefinition__TopLevelAssignment_0 )?
6898 {
6899 before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0());
6900 // InternalCftLanguage.g:2189:2: ( rule__MappingDefinition__TopLevelAssignment_0 )?
6901 int alt22=2;
6902 int LA22_0 = input.LA(1);
6903
6904 if ( (LA22_0==39) ) {
6905 alt22=1;
6906 }
6907 switch (alt22) {
6908 case 1 :
6909 // InternalCftLanguage.g:2189:3: rule__MappingDefinition__TopLevelAssignment_0
6910 {
6911 pushFollow(FOLLOW_2);
6912 rule__MappingDefinition__TopLevelAssignment_0();
6913
6914 state._fsp--;
6915
6916
6917 }
6918 break;
6919
6920 }
6921
6922 after(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0());
6923
6924 }
6925
6926
6927 }
6928
6929 }
6930 catch (RecognitionException re) {
6931 reportError(re);
6932 recover(input,re);
6933 }
6934 finally {
6935
6936 restoreStackSize(stackSize);
6937
6938 }
6939 return ;
6940 }
6941 // $ANTLR end "rule__MappingDefinition__Group__0__Impl"
6942
6943
6944 // $ANTLR start "rule__MappingDefinition__Group__1"
6945 // InternalCftLanguage.g:2197:1: rule__MappingDefinition__Group__1 : rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ;
6946 public final void rule__MappingDefinition__Group__1() throws RecognitionException {
6947
6948 int stackSize = keepStackSize();
6949
6950 try {
6951 // InternalCftLanguage.g:2201:1: ( rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 )
6952 // InternalCftLanguage.g:2202:2: rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2
6953 {
6954 pushFollow(FOLLOW_3);
6955 rule__MappingDefinition__Group__1__Impl();
6956
6957 state._fsp--;
6958
6959 pushFollow(FOLLOW_2);
6960 rule__MappingDefinition__Group__2();
6961
6962 state._fsp--;
6963
6964
6965 }
6966
6967 }
6968 catch (RecognitionException re) {
6969 reportError(re);
6970 recover(input,re);
6971 }
6972 finally {
6973
6974 restoreStackSize(stackSize);
6975
6976 }
6977 return ;
6978 }
6979 // $ANTLR end "rule__MappingDefinition__Group__1"
6980
6981
6982 // $ANTLR start "rule__MappingDefinition__Group__1__Impl"
6983 // InternalCftLanguage.g:2209:1: rule__MappingDefinition__Group__1__Impl : ( 'mapping' ) ;
6984 public final void rule__MappingDefinition__Group__1__Impl() throws RecognitionException {
6985
6986 int stackSize = keepStackSize();
6987
6988 try {
6989 // InternalCftLanguage.g:2213:1: ( ( 'mapping' ) )
6990 // InternalCftLanguage.g:2214:1: ( 'mapping' )
6991 {
6992 // InternalCftLanguage.g:2214:1: ( 'mapping' )
6993 // InternalCftLanguage.g:2215:2: 'mapping'
6994 {
6995 before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1());
6996 match(input,29,FOLLOW_2);
6997 after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1());
6998
6999 }
7000
7001
7002 }
7003
7004 }
7005 catch (RecognitionException re) {
7006 reportError(re);
7007 recover(input,re);
7008 }
7009 finally {
7010
7011 restoreStackSize(stackSize);
7012
7013 }
7014 return ;
7015 }
7016 // $ANTLR end "rule__MappingDefinition__Group__1__Impl"
7017
7018
7019 // $ANTLR start "rule__MappingDefinition__Group__2"
7020 // InternalCftLanguage.g:2224:1: rule__MappingDefinition__Group__2 : rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ;
7021 public final void rule__MappingDefinition__Group__2() throws RecognitionException {
7022
7023 int stackSize = keepStackSize();
7024
7025 try {
7026 // InternalCftLanguage.g:2228:1: ( rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 )
7027 // InternalCftLanguage.g:2229:2: rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3
7028 {
7029 pushFollow(FOLLOW_24);
7030 rule__MappingDefinition__Group__2__Impl();
7031
7032 state._fsp--;
7033
7034 pushFollow(FOLLOW_2);
7035 rule__MappingDefinition__Group__3();
7036
7037 state._fsp--;
7038
7039
7040 }
7041
7042 }
7043 catch (RecognitionException re) {
7044 reportError(re);
7045 recover(input,re);
7046 }
7047 finally {
7048
7049 restoreStackSize(stackSize);
7050
7051 }
7052 return ;
7053 }
7054 // $ANTLR end "rule__MappingDefinition__Group__2"
7055
7056
7057 // $ANTLR start "rule__MappingDefinition__Group__2__Impl"
7058 // InternalCftLanguage.g:2236:1: rule__MappingDefinition__Group__2__Impl : ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ;
7059 public final void rule__MappingDefinition__Group__2__Impl() throws RecognitionException {
7060
7061 int stackSize = keepStackSize();
7062
7063 try {
7064 // InternalCftLanguage.g:2240:1: ( ( ( rule__MappingDefinition__PatternAssignment_2 ) ) )
7065 // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) )
7066 {
7067 // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) )
7068 // InternalCftLanguage.g:2242:2: ( rule__MappingDefinition__PatternAssignment_2 )
7069 {
7070 before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2());
7071 // InternalCftLanguage.g:2243:2: ( rule__MappingDefinition__PatternAssignment_2 )
7072 // InternalCftLanguage.g:2243:3: rule__MappingDefinition__PatternAssignment_2
7073 {
7074 pushFollow(FOLLOW_2);
7075 rule__MappingDefinition__PatternAssignment_2();
7076
7077 state._fsp--;
7078
7079
7080 }
7081
7082 after(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2());
7083
7084 }
7085
7086
7087 }
7088
7089 }
7090 catch (RecognitionException re) {
7091 reportError(re);
7092 recover(input,re);
7093 }
7094 finally {
7095
7096 restoreStackSize(stackSize);
7097
7098 }
7099 return ;
7100 }
7101 // $ANTLR end "rule__MappingDefinition__Group__2__Impl"
7102
7103
7104 // $ANTLR start "rule__MappingDefinition__Group__3"
7105 // InternalCftLanguage.g:2251:1: rule__MappingDefinition__Group__3 : rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ;
7106 public final void rule__MappingDefinition__Group__3() throws RecognitionException {
7107
7108 int stackSize = keepStackSize();
7109
7110 try {
7111 // InternalCftLanguage.g:2255:1: ( rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 )
7112 // InternalCftLanguage.g:2256:2: rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4
7113 {
7114 pushFollow(FOLLOW_3);
7115 rule__MappingDefinition__Group__3__Impl();
7116
7117 state._fsp--;
7118
7119 pushFollow(FOLLOW_2);
7120 rule__MappingDefinition__Group__4();
7121
7122 state._fsp--;
7123
7124
7125 }
7126
7127 }
7128 catch (RecognitionException re) {
7129 reportError(re);
7130 recover(input,re);
7131 }
7132 finally {
7133
7134 restoreStackSize(stackSize);
7135
7136 }
7137 return ;
7138 }
7139 // $ANTLR end "rule__MappingDefinition__Group__3"
7140
7141
7142 // $ANTLR start "rule__MappingDefinition__Group__3__Impl"
7143 // InternalCftLanguage.g:2263:1: rule__MappingDefinition__Group__3__Impl : ( '(' ) ;
7144 public final void rule__MappingDefinition__Group__3__Impl() throws RecognitionException {
7145
7146 int stackSize = keepStackSize();
7147
7148 try {
7149 // InternalCftLanguage.g:2267:1: ( ( '(' ) )
7150 // InternalCftLanguage.g:2268:1: ( '(' )
7151 {
7152 // InternalCftLanguage.g:2268:1: ( '(' )
7153 // InternalCftLanguage.g:2269:2: '('
7154 {
7155 before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3());
7156 match(input,30,FOLLOW_2);
7157 after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3());
7158
7159 }
7160
7161
7162 }
7163
7164 }
7165 catch (RecognitionException re) {
7166 reportError(re);
7167 recover(input,re);
7168 }
7169 finally {
7170
7171 restoreStackSize(stackSize);
7172
7173 }
7174 return ;
7175 }
7176 // $ANTLR end "rule__MappingDefinition__Group__3__Impl"
7177
7178
7179 // $ANTLR start "rule__MappingDefinition__Group__4"
7180 // InternalCftLanguage.g:2278:1: rule__MappingDefinition__Group__4 : rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ;
7181 public final void rule__MappingDefinition__Group__4() throws RecognitionException {
7182
7183 int stackSize = keepStackSize();
7184
7185 try {
7186 // InternalCftLanguage.g:2282:1: ( rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 )
7187 // InternalCftLanguage.g:2283:2: rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5
7188 {
7189 pushFollow(FOLLOW_25);
7190 rule__MappingDefinition__Group__4__Impl();
7191
7192 state._fsp--;
7193
7194 pushFollow(FOLLOW_2);
7195 rule__MappingDefinition__Group__5();
7196
7197 state._fsp--;
7198
7199
7200 }
7201
7202 }
7203 catch (RecognitionException re) {
7204 reportError(re);
7205 recover(input,re);
7206 }
7207 finally {
7208
7209 restoreStackSize(stackSize);
7210
7211 }
7212 return ;
7213 }
7214 // $ANTLR end "rule__MappingDefinition__Group__4"
7215
7216
7217 // $ANTLR start "rule__MappingDefinition__Group__4__Impl"
7218 // InternalCftLanguage.g:2290:1: rule__MappingDefinition__Group__4__Impl : ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ;
7219 public final void rule__MappingDefinition__Group__4__Impl() throws RecognitionException {
7220
7221 int stackSize = keepStackSize();
7222
7223 try {
7224 // InternalCftLanguage.g:2294:1: ( ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) )
7225 // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) )
7226 {
7227 // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) )
7228 // InternalCftLanguage.g:2296:2: ( rule__MappingDefinition__ParametersAssignment_4 )
7229 {
7230 before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4());
7231 // InternalCftLanguage.g:2297:2: ( rule__MappingDefinition__ParametersAssignment_4 )
7232 // InternalCftLanguage.g:2297:3: rule__MappingDefinition__ParametersAssignment_4
7233 {
7234 pushFollow(FOLLOW_2);
7235 rule__MappingDefinition__ParametersAssignment_4();
7236
7237 state._fsp--;
7238
7239
7240 }
7241
7242 after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4());
7243
7244 }
7245
7246
7247 }
7248
7249 }
7250 catch (RecognitionException re) {
7251 reportError(re);
7252 recover(input,re);
7253 }
7254 finally {
7255
7256 restoreStackSize(stackSize);
7257
7258 }
7259 return ;
7260 }
7261 // $ANTLR end "rule__MappingDefinition__Group__4__Impl"
7262
7263
7264 // $ANTLR start "rule__MappingDefinition__Group__5"
7265 // InternalCftLanguage.g:2305:1: rule__MappingDefinition__Group__5 : rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ;
7266 public final void rule__MappingDefinition__Group__5() throws RecognitionException {
7267
7268 int stackSize = keepStackSize();
7269
7270 try {
7271 // InternalCftLanguage.g:2309:1: ( rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 )
7272 // InternalCftLanguage.g:2310:2: rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6
7273 {
7274 pushFollow(FOLLOW_25);
7275 rule__MappingDefinition__Group__5__Impl();
7276
7277 state._fsp--;
7278
7279 pushFollow(FOLLOW_2);
7280 rule__MappingDefinition__Group__6();
7281
7282 state._fsp--;
7283
7284
7285 }
7286
7287 }
7288 catch (RecognitionException re) {
7289 reportError(re);
7290 recover(input,re);
7291 }
7292 finally {
7293
7294 restoreStackSize(stackSize);
7295
7296 }
7297 return ;
7298 }
7299 // $ANTLR end "rule__MappingDefinition__Group__5"
7300
7301
7302 // $ANTLR start "rule__MappingDefinition__Group__5__Impl"
7303 // InternalCftLanguage.g:2317:1: rule__MappingDefinition__Group__5__Impl : ( ( rule__MappingDefinition__Group_5__0 )* ) ;
7304 public final void rule__MappingDefinition__Group__5__Impl() throws RecognitionException {
7305
7306 int stackSize = keepStackSize();
7307
7308 try {
7309 // InternalCftLanguage.g:2321:1: ( ( ( rule__MappingDefinition__Group_5__0 )* ) )
7310 // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* )
7311 {
7312 // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* )
7313 // InternalCftLanguage.g:2323:2: ( rule__MappingDefinition__Group_5__0 )*
7314 {
7315 before(grammarAccess.getMappingDefinitionAccess().getGroup_5());
7316 // InternalCftLanguage.g:2324:2: ( rule__MappingDefinition__Group_5__0 )*
7317 loop23:
7318 do {
7319 int alt23=2;
7320 int LA23_0 = input.LA(1);
7321
7322 if ( (LA23_0==32) ) {
7323 alt23=1;
7324 }
7325
7326
7327 switch (alt23) {
7328 case 1 :
7329 // InternalCftLanguage.g:2324:3: rule__MappingDefinition__Group_5__0
7330 {
7331 pushFollow(FOLLOW_26);
7332 rule__MappingDefinition__Group_5__0();
7333
7334 state._fsp--;
7335
7336
7337 }
7338 break;
7339
7340 default :
7341 break loop23;
7342 }
7343 } while (true);
7344
7345 after(grammarAccess.getMappingDefinitionAccess().getGroup_5());
7346
7347 }
7348
7349
7350 }
7351
7352 }
7353 catch (RecognitionException re) {
7354 reportError(re);
7355 recover(input,re);
7356 }
7357 finally {
7358
7359 restoreStackSize(stackSize);
7360
7361 }
7362 return ;
7363 }
7364 // $ANTLR end "rule__MappingDefinition__Group__5__Impl"
7365
7366
7367 // $ANTLR start "rule__MappingDefinition__Group__6"
7368 // InternalCftLanguage.g:2332:1: rule__MappingDefinition__Group__6 : rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ;
7369 public final void rule__MappingDefinition__Group__6() throws RecognitionException {
7370
7371 int stackSize = keepStackSize();
7372
7373 try {
7374 // InternalCftLanguage.g:2336:1: ( rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 )
7375 // InternalCftLanguage.g:2337:2: rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7
7376 {
7377 pushFollow(FOLLOW_27);
7378 rule__MappingDefinition__Group__6__Impl();
7379
7380 state._fsp--;
7381
7382 pushFollow(FOLLOW_2);
7383 rule__MappingDefinition__Group__7();
7384
7385 state._fsp--;
7386
7387
7388 }
7389
7390 }
7391 catch (RecognitionException re) {
7392 reportError(re);
7393 recover(input,re);
7394 }
7395 finally {
7396
7397 restoreStackSize(stackSize);
7398
7399 }
7400 return ;
7401 }
7402 // $ANTLR end "rule__MappingDefinition__Group__6"
7403
7404
7405 // $ANTLR start "rule__MappingDefinition__Group__6__Impl"
7406 // InternalCftLanguage.g:2344:1: rule__MappingDefinition__Group__6__Impl : ( ')' ) ;
7407 public final void rule__MappingDefinition__Group__6__Impl() throws RecognitionException {
7408
7409 int stackSize = keepStackSize();
7410
7411 try {
7412 // InternalCftLanguage.g:2348:1: ( ( ')' ) )
7413 // InternalCftLanguage.g:2349:1: ( ')' )
7414 {
7415 // InternalCftLanguage.g:2349:1: ( ')' )
7416 // InternalCftLanguage.g:2350:2: ')'
7417 {
7418 before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6());
7419 match(input,31,FOLLOW_2);
7420 after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6());
7421
7422 }
7423
7424
7425 }
7426
7427 }
7428 catch (RecognitionException re) {
7429 reportError(re);
7430 recover(input,re);
7431 }
7432 finally {
7433
7434 restoreStackSize(stackSize);
7435
7436 }
7437 return ;
7438 }
7439 // $ANTLR end "rule__MappingDefinition__Group__6__Impl"
7440
7441
7442 // $ANTLR start "rule__MappingDefinition__Group__7"
7443 // InternalCftLanguage.g:2359:1: rule__MappingDefinition__Group__7 : rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ;
7444 public final void rule__MappingDefinition__Group__7() throws RecognitionException {
7445
7446 int stackSize = keepStackSize();
7447
7448 try {
7449 // InternalCftLanguage.g:2363:1: ( rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 )
7450 // InternalCftLanguage.g:2364:2: rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8
7451 {
7452 pushFollow(FOLLOW_27);
7453 rule__MappingDefinition__Group__7__Impl();
7454
7455 state._fsp--;
7456
7457 pushFollow(FOLLOW_2);
7458 rule__MappingDefinition__Group__8();
7459
7460 state._fsp--;
7461
7462
7463 }
7464
7465 }
7466 catch (RecognitionException re) {
7467 reportError(re);
7468 recover(input,re);
7469 }
7470 finally {
7471
7472 restoreStackSize(stackSize);
7473
7474 }
7475 return ;
7476 }
7477 // $ANTLR end "rule__MappingDefinition__Group__7"
7478
7479
7480 // $ANTLR start "rule__MappingDefinition__Group__7__Impl"
7481 // InternalCftLanguage.g:2371:1: rule__MappingDefinition__Group__7__Impl : ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ;
7482 public final void rule__MappingDefinition__Group__7__Impl() throws RecognitionException {
7483
7484 int stackSize = keepStackSize();
7485
7486 try {
7487 // InternalCftLanguage.g:2375:1: ( ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) )
7488 // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? )
7489 {
7490 // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? )
7491 // InternalCftLanguage.g:2377:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )?
7492 {
7493 before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7());
7494 // InternalCftLanguage.g:2378:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )?
7495 int alt24=2;
7496 int LA24_0 = input.LA(1);
7497
7498 if ( (LA24_0==36) ) {
7499 alt24=1;
7500 }
7501 switch (alt24) {
7502 case 1 :
7503 // InternalCftLanguage.g:2378:3: rule__MappingDefinition__ComponentInstanceAssignment_7
7504 {
7505 pushFollow(FOLLOW_2);
7506 rule__MappingDefinition__ComponentInstanceAssignment_7();
7507
7508 state._fsp--;
7509
7510
7511 }
7512 break;
7513
7514 }
7515
7516 after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7());
7517
7518 }
7519
7520
7521 }
7522
7523 }
7524 catch (RecognitionException re) {
7525 reportError(re);
7526 recover(input,re);
7527 }
7528 finally {
7529
7530 restoreStackSize(stackSize);
7531
7532 }
7533 return ;
7534 }
7535 // $ANTLR end "rule__MappingDefinition__Group__7__Impl"
7536
7537
7538 // $ANTLR start "rule__MappingDefinition__Group__8"
7539 // InternalCftLanguage.g:2386:1: rule__MappingDefinition__Group__8 : rule__MappingDefinition__Group__8__Impl ;
7540 public final void rule__MappingDefinition__Group__8() throws RecognitionException {
7541
7542 int stackSize = keepStackSize();
7543
7544 try {
7545 // InternalCftLanguage.g:2390:1: ( rule__MappingDefinition__Group__8__Impl )
7546 // InternalCftLanguage.g:2391:2: rule__MappingDefinition__Group__8__Impl
7547 {
7548 pushFollow(FOLLOW_2);
7549 rule__MappingDefinition__Group__8__Impl();
7550
7551 state._fsp--;
7552
7553
7554 }
7555
7556 }
7557 catch (RecognitionException re) {
7558 reportError(re);
7559 recover(input,re);
7560 }
7561 finally {
7562
7563 restoreStackSize(stackSize);
7564
7565 }
7566 return ;
7567 }
7568 // $ANTLR end "rule__MappingDefinition__Group__8"
7569
7570
7571 // $ANTLR start "rule__MappingDefinition__Group__8__Impl"
7572 // InternalCftLanguage.g:2397:1: rule__MappingDefinition__Group__8__Impl : ( ( rule__MappingDefinition__Group_8__0 )? ) ;
7573 public final void rule__MappingDefinition__Group__8__Impl() throws RecognitionException {
7574
7575 int stackSize = keepStackSize();
7576
7577 try {
7578 // InternalCftLanguage.g:2401:1: ( ( ( rule__MappingDefinition__Group_8__0 )? ) )
7579 // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? )
7580 {
7581 // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? )
7582 // InternalCftLanguage.g:2403:2: ( rule__MappingDefinition__Group_8__0 )?
7583 {
7584 before(grammarAccess.getMappingDefinitionAccess().getGroup_8());
7585 // InternalCftLanguage.g:2404:2: ( rule__MappingDefinition__Group_8__0 )?
7586 int alt25=2;
7587 int LA25_0 = input.LA(1);
7588
7589 if ( (LA25_0==18) ) {
7590 alt25=1;
7591 }
7592 switch (alt25) {
7593 case 1 :
7594 // InternalCftLanguage.g:2404:3: rule__MappingDefinition__Group_8__0
7595 {
7596 pushFollow(FOLLOW_2);
7597 rule__MappingDefinition__Group_8__0();
7598
7599 state._fsp--;
7600
7601
7602 }
7603 break;
7604
7605 }
7606
7607 after(grammarAccess.getMappingDefinitionAccess().getGroup_8());
7608
7609 }
7610
7611
7612 }
7613
7614 }
7615 catch (RecognitionException re) {
7616 reportError(re);
7617 recover(input,re);
7618 }
7619 finally {
7620
7621 restoreStackSize(stackSize);
7622
7623 }
7624 return ;
7625 }
7626 // $ANTLR end "rule__MappingDefinition__Group__8__Impl"
7627
7628
7629 // $ANTLR start "rule__MappingDefinition__Group_5__0"
7630 // InternalCftLanguage.g:2413:1: rule__MappingDefinition__Group_5__0 : rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ;
7631 public final void rule__MappingDefinition__Group_5__0() throws RecognitionException {
7632
7633 int stackSize = keepStackSize();
7634
7635 try {
7636 // InternalCftLanguage.g:2417:1: ( 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
7638 {
7639 pushFollow(FOLLOW_3);
7640 rule__MappingDefinition__Group_5__0__Impl();
7641
7642 state._fsp--;
7643
7644 pushFollow(FOLLOW_2);
7645 rule__MappingDefinition__Group_5__1();
7646
7647 state._fsp--;
7648
7649
7650 }
7651
7652 }
7653 catch (RecognitionException re) {
7654 reportError(re);
7655 recover(input,re);
7656 }
7657 finally {
7658
7659 restoreStackSize(stackSize);
7660
7661 }
7662 return ;
7663 }
7664 // $ANTLR end "rule__MappingDefinition__Group_5__0"
7665
7666
7667 // $ANTLR start "rule__MappingDefinition__Group_5__0__Impl"
7668 // InternalCftLanguage.g:2425:1: rule__MappingDefinition__Group_5__0__Impl : ( ',' ) ;
7669 public final void rule__MappingDefinition__Group_5__0__Impl() throws RecognitionException {
7670
7671 int stackSize = keepStackSize();
7672
7673 try {
7674 // InternalCftLanguage.g:2429:1: ( ( ',' ) )
7675 // InternalCftLanguage.g:2430:1: ( ',' )
7676 {
7677 // InternalCftLanguage.g:2430:1: ( ',' )
7678 // InternalCftLanguage.g:2431:2: ','
7679 {
7680 before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0());
7681 match(input,32,FOLLOW_2);
7682 after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0());
7683
7684 }
7685
7686
7687 }
7688
7689 }
7690 catch (RecognitionException re) {
7691 reportError(re);
7692 recover(input,re);
7693 }
7694 finally {
7695
7696 restoreStackSize(stackSize);
7697
7698 }
7699 return ;
7700 }
7701 // $ANTLR end "rule__MappingDefinition__Group_5__0__Impl"
7702
7703
7704 // $ANTLR start "rule__MappingDefinition__Group_5__1"
7705 // InternalCftLanguage.g:2440:1: rule__MappingDefinition__Group_5__1 : rule__MappingDefinition__Group_5__1__Impl ;
7706 public final void rule__MappingDefinition__Group_5__1() throws RecognitionException {
7707
7708 int stackSize = keepStackSize();
7709
7710 try {
7711 // InternalCftLanguage.g:2444:1: ( rule__MappingDefinition__Group_5__1__Impl )
7712 // InternalCftLanguage.g:2445:2: rule__MappingDefinition__Group_5__1__Impl
7713 {
7714 pushFollow(FOLLOW_2);
7715 rule__MappingDefinition__Group_5__1__Impl();
7716
7717 state._fsp--;
7718
7719
7720 }
7721
7722 }
7723 catch (RecognitionException re) {
7724 reportError(re);
7725 recover(input,re);
7726 }
7727 finally {
7728
7729 restoreStackSize(stackSize);
7730
7731 }
7732 return ;
7733 }
7734 // $ANTLR end "rule__MappingDefinition__Group_5__1"
7735
7736
7737 // $ANTLR start "rule__MappingDefinition__Group_5__1__Impl"
7738 // InternalCftLanguage.g:2451:1: rule__MappingDefinition__Group_5__1__Impl : ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ;
7739 public final void rule__MappingDefinition__Group_5__1__Impl() throws RecognitionException {
7740
7741 int stackSize = keepStackSize();
7742
7743 try {
7744 // InternalCftLanguage.g:2455:1: ( ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) )
7745 // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) )
7746 {
7747 // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) )
7748 // InternalCftLanguage.g:2457:2: ( rule__MappingDefinition__ParametersAssignment_5_1 )
7749 {
7750 before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1());
7751 // InternalCftLanguage.g:2458:2: ( rule__MappingDefinition__ParametersAssignment_5_1 )
7752 // InternalCftLanguage.g:2458:3: rule__MappingDefinition__ParametersAssignment_5_1
7753 {
7754 pushFollow(FOLLOW_2);
7755 rule__MappingDefinition__ParametersAssignment_5_1();
7756
7757 state._fsp--;
7758
7759
7760 }
7761
7762 after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1());
7763
7764 }
7765
7766
7767 }
7768
7769 }
7770 catch (RecognitionException re) {
7771 reportError(re);
7772 recover(input,re);
7773 }
7774 finally {
7775
7776 restoreStackSize(stackSize);
7777
7778 }
7779 return ;
7780 }
7781 // $ANTLR end "rule__MappingDefinition__Group_5__1__Impl"
7782
7783
7784 // $ANTLR start "rule__MappingDefinition__Group_8__0"
7785 // InternalCftLanguage.g:2467:1: rule__MappingDefinition__Group_8__0 : rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ;
7786 public final void rule__MappingDefinition__Group_8__0() throws RecognitionException {
7787
7788 int stackSize = keepStackSize();
7789
7790 try {
7791 // InternalCftLanguage.g:2471:1: ( 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
7793 {
7794 pushFollow(FOLLOW_28);
7795 rule__MappingDefinition__Group_8__0__Impl();
7796
7797 state._fsp--;
7798
7799 pushFollow(FOLLOW_2);
7800 rule__MappingDefinition__Group_8__1();
7801
7802 state._fsp--;
7803
7804
7805 }
7806
7807 }
7808 catch (RecognitionException re) {
7809 reportError(re);
7810 recover(input,re);
7811 }
7812 finally {
7813
7814 restoreStackSize(stackSize);
7815
7816 }
7817 return ;
7818 }
7819 // $ANTLR end "rule__MappingDefinition__Group_8__0"
7820
7821
7822 // $ANTLR start "rule__MappingDefinition__Group_8__0__Impl"
7823 // InternalCftLanguage.g:2479:1: rule__MappingDefinition__Group_8__0__Impl : ( '{' ) ;
7824 public final void rule__MappingDefinition__Group_8__0__Impl() throws RecognitionException {
7825
7826 int stackSize = keepStackSize();
7827
7828 try {
7829 // InternalCftLanguage.g:2483:1: ( ( '{' ) )
7830 // InternalCftLanguage.g:2484:1: ( '{' )
7831 {
7832 // InternalCftLanguage.g:2484:1: ( '{' )
7833 // InternalCftLanguage.g:2485:2: '{'
7834 {
7835 before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0());
7836 match(input,18,FOLLOW_2);
7837 after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0());
7838
7839 }
7840
7841
7842 }
7843
7844 }
7845 catch (RecognitionException re) {
7846 reportError(re);
7847 recover(input,re);
7848 }
7849 finally {
7850
7851 restoreStackSize(stackSize);
7852
7853 }
7854 return ;
7855 }
7856 // $ANTLR end "rule__MappingDefinition__Group_8__0__Impl"
7857
7858
7859 // $ANTLR start "rule__MappingDefinition__Group_8__1"
7860 // InternalCftLanguage.g:2494:1: rule__MappingDefinition__Group_8__1 : rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ;
7861 public final void rule__MappingDefinition__Group_8__1() throws RecognitionException {
7862
7863 int stackSize = keepStackSize();
7864
7865 try {
7866 // InternalCftLanguage.g:2498:1: ( 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
7868 {
7869 pushFollow(FOLLOW_28);
7870 rule__MappingDefinition__Group_8__1__Impl();
7871
7872 state._fsp--;
7873
7874 pushFollow(FOLLOW_2);
7875 rule__MappingDefinition__Group_8__2();
7876
7877 state._fsp--;
7878
7879
7880 }
7881
7882 }
7883 catch (RecognitionException re) {
7884 reportError(re);
7885 recover(input,re);
7886 }
7887 finally {
7888
7889 restoreStackSize(stackSize);
7890
7891 }
7892 return ;
7893 }
7894 // $ANTLR end "rule__MappingDefinition__Group_8__1"
7895
7896
7897 // $ANTLR start "rule__MappingDefinition__Group_8__1__Impl"
7898 // InternalCftLanguage.g:2506:1: rule__MappingDefinition__Group_8__1__Impl : ( ( rule__MappingDefinition__Group_8_1__0 )* ) ;
7899 public final void rule__MappingDefinition__Group_8__1__Impl() throws RecognitionException {
7900
7901 int stackSize = keepStackSize();
7902
7903 try {
7904 // InternalCftLanguage.g:2510:1: ( ( ( rule__MappingDefinition__Group_8_1__0 )* ) )
7905 // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* )
7906 {
7907 // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* )
7908 // InternalCftLanguage.g:2512:2: ( rule__MappingDefinition__Group_8_1__0 )*
7909 {
7910 before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1());
7911 // InternalCftLanguage.g:2513:2: ( rule__MappingDefinition__Group_8_1__0 )*
7912 loop26:
7913 do {
7914 int alt26=2;
7915 int LA26_0 = input.LA(1);
7916
7917 if ( ((LA26_0>=RULE_ID && LA26_0<=RULE_OF_INT)||LA26_0==33) ) {
7918 alt26=1;
7919 }
7920
7921
7922 switch (alt26) {
7923 case 1 :
7924 // InternalCftLanguage.g:2513:3: rule__MappingDefinition__Group_8_1__0
7925 {
7926 pushFollow(FOLLOW_29);
7927 rule__MappingDefinition__Group_8_1__0();
7928
7929 state._fsp--;
7930
7931
7932 }
7933 break;
7934
7935 default :
7936 break loop26;
7937 }
7938 } while (true);
7939
7940 after(grammarAccess.getMappingDefinitionAccess().getGroup_8_1());
7941
7942 }
7943
7944
7945 }
7946
7947 }
7948 catch (RecognitionException re) {
7949 reportError(re);
7950 recover(input,re);
7951 }
7952 finally {
7953
7954 restoreStackSize(stackSize);
7955
7956 }
7957 return ;
7958 }
7959 // $ANTLR end "rule__MappingDefinition__Group_8__1__Impl"
7960
7961
7962 // $ANTLR start "rule__MappingDefinition__Group_8__2"
7963 // InternalCftLanguage.g:2521:1: rule__MappingDefinition__Group_8__2 : rule__MappingDefinition__Group_8__2__Impl ;
7964 public final void rule__MappingDefinition__Group_8__2() throws RecognitionException {
7965
7966 int stackSize = keepStackSize();
7967
7968 try {
7969 // InternalCftLanguage.g:2525:1: ( rule__MappingDefinition__Group_8__2__Impl )
7970 // InternalCftLanguage.g:2526:2: rule__MappingDefinition__Group_8__2__Impl
7971 {
7972 pushFollow(FOLLOW_2);
7973 rule__MappingDefinition__Group_8__2__Impl();
7974
7975 state._fsp--;
7976
7977
7978 }
7979
7980 }
7981 catch (RecognitionException re) {
7982 reportError(re);
7983 recover(input,re);
7984 }
7985 finally {
7986
7987 restoreStackSize(stackSize);
7988
7989 }
7990 return ;
7991 }
7992 // $ANTLR end "rule__MappingDefinition__Group_8__2"
7993
7994
7995 // $ANTLR start "rule__MappingDefinition__Group_8__2__Impl"
7996 // InternalCftLanguage.g:2532:1: rule__MappingDefinition__Group_8__2__Impl : ( '}' ) ;
7997 public final void rule__MappingDefinition__Group_8__2__Impl() throws RecognitionException {
7998
7999 int stackSize = keepStackSize();
8000
8001 try {
8002 // InternalCftLanguage.g:2536:1: ( ( '}' ) )
8003 // InternalCftLanguage.g:2537:1: ( '}' )
8004 {
8005 // InternalCftLanguage.g:2537:1: ( '}' )
8006 // InternalCftLanguage.g:2538:2: '}'
8007 {
8008 before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2());
8009 match(input,19,FOLLOW_2);
8010 after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2());
8011
8012 }
8013
8014
8015 }
8016
8017 }
8018 catch (RecognitionException re) {
8019 reportError(re);
8020 recover(input,re);
8021 }
8022 finally {
8023
8024 restoreStackSize(stackSize);
8025
8026 }
8027 return ;
8028 }
8029 // $ANTLR end "rule__MappingDefinition__Group_8__2__Impl"
8030
8031
8032 // $ANTLR start "rule__MappingDefinition__Group_8_1__0"
8033 // InternalCftLanguage.g:2548:1: rule__MappingDefinition__Group_8_1__0 : rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ;
8034 public final void rule__MappingDefinition__Group_8_1__0() throws RecognitionException {
8035
8036 int stackSize = keepStackSize();
8037
8038 try {
8039 // InternalCftLanguage.g:2552:1: ( 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
8041 {
8042 pushFollow(FOLLOW_7);
8043 rule__MappingDefinition__Group_8_1__0__Impl();
8044
8045 state._fsp--;
8046
8047 pushFollow(FOLLOW_2);
8048 rule__MappingDefinition__Group_8_1__1();
8049
8050 state._fsp--;
8051
8052
8053 }
8054
8055 }
8056 catch (RecognitionException re) {
8057 reportError(re);
8058 recover(input,re);
8059 }
8060 finally {
8061
8062 restoreStackSize(stackSize);
8063
8064 }
8065 return ;
8066 }
8067 // $ANTLR end "rule__MappingDefinition__Group_8_1__0"
8068
8069
8070 // $ANTLR start "rule__MappingDefinition__Group_8_1__0__Impl"
8071 // InternalCftLanguage.g:2560:1: rule__MappingDefinition__Group_8_1__0__Impl : ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ;
8072 public final void rule__MappingDefinition__Group_8_1__0__Impl() throws RecognitionException {
8073
8074 int stackSize = keepStackSize();
8075
8076 try {
8077 // InternalCftLanguage.g:2564:1: ( ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) )
8078 // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) )
8079 {
8080 // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) )
8081 // InternalCftLanguage.g:2566:2: ( rule__MappingDefinition__Alternatives_8_1_0 )
8082 {
8083 before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0());
8084 // InternalCftLanguage.g:2567:2: ( rule__MappingDefinition__Alternatives_8_1_0 )
8085 // InternalCftLanguage.g:2567:3: rule__MappingDefinition__Alternatives_8_1_0
8086 {
8087 pushFollow(FOLLOW_2);
8088 rule__MappingDefinition__Alternatives_8_1_0();
8089
8090 state._fsp--;
8091
8092
8093 }
8094
8095 after(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0());
8096
8097 }
8098
8099
8100 }
8101
8102 }
8103 catch (RecognitionException re) {
8104 reportError(re);
8105 recover(input,re);
8106 }
8107 finally {
8108
8109 restoreStackSize(stackSize);
8110
8111 }
8112 return ;
8113 }
8114 // $ANTLR end "rule__MappingDefinition__Group_8_1__0__Impl"
8115
8116
8117 // $ANTLR start "rule__MappingDefinition__Group_8_1__1"
8118 // InternalCftLanguage.g:2575:1: rule__MappingDefinition__Group_8_1__1 : rule__MappingDefinition__Group_8_1__1__Impl ;
8119 public final void rule__MappingDefinition__Group_8_1__1() throws RecognitionException {
8120
8121 int stackSize = keepStackSize();
8122
8123 try {
8124 // InternalCftLanguage.g:2579:1: ( rule__MappingDefinition__Group_8_1__1__Impl )
8125 // InternalCftLanguage.g:2580:2: rule__MappingDefinition__Group_8_1__1__Impl
8126 {
8127 pushFollow(FOLLOW_2);
8128 rule__MappingDefinition__Group_8_1__1__Impl();
8129
8130 state._fsp--;
8131
8132
8133 }
8134
8135 }
8136 catch (RecognitionException re) {
8137 reportError(re);
8138 recover(input,re);
8139 }
8140 finally {
8141
8142 restoreStackSize(stackSize);
8143
8144 }
8145 return ;
8146 }
8147 // $ANTLR end "rule__MappingDefinition__Group_8_1__1"
8148
8149
8150 // $ANTLR start "rule__MappingDefinition__Group_8_1__1__Impl"
8151 // InternalCftLanguage.g:2586:1: rule__MappingDefinition__Group_8_1__1__Impl : ( ';' ) ;
8152 public final void rule__MappingDefinition__Group_8_1__1__Impl() throws RecognitionException {
8153
8154 int stackSize = keepStackSize();
8155
8156 try {
8157 // InternalCftLanguage.g:2590:1: ( ( ';' ) )
8158 // InternalCftLanguage.g:2591:1: ( ';' )
8159 {
8160 // InternalCftLanguage.g:2591:1: ( ';' )
8161 // InternalCftLanguage.g:2592:2: ';'
8162 {
8163 before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1());
8164 match(input,15,FOLLOW_2);
8165 after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1());
8166
8167 }
8168
8169
8170 }
8171
8172 }
8173 catch (RecognitionException re) {
8174 reportError(re);
8175 recover(input,re);
8176 }
8177 finally {
8178
8179 restoreStackSize(stackSize);
8180
8181 }
8182 return ;
8183 }
8184 // $ANTLR end "rule__MappingDefinition__Group_8_1__1__Impl"
8185
8186
8187 // $ANTLR start "rule__LookupDefinition__Group__0"
8188 // InternalCftLanguage.g:2602:1: rule__LookupDefinition__Group__0 : rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ;
8189 public final void rule__LookupDefinition__Group__0() throws RecognitionException {
8190
8191 int stackSize = keepStackSize();
8192
8193 try {
8194 // InternalCftLanguage.g:2606:1: ( rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 )
8195 // InternalCftLanguage.g:2607:2: rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1
8196 {
8197 pushFollow(FOLLOW_3);
8198 rule__LookupDefinition__Group__0__Impl();
8199
8200 state._fsp--;
8201
8202 pushFollow(FOLLOW_2);
8203 rule__LookupDefinition__Group__1();
8204
8205 state._fsp--;
8206
8207
8208 }
8209
8210 }
8211 catch (RecognitionException re) {
8212 reportError(re);
8213 recover(input,re);
8214 }
8215 finally {
8216
8217 restoreStackSize(stackSize);
8218
8219 }
8220 return ;
8221 }
8222 // $ANTLR end "rule__LookupDefinition__Group__0"
8223
8224
8225 // $ANTLR start "rule__LookupDefinition__Group__0__Impl"
8226 // InternalCftLanguage.g:2614:1: rule__LookupDefinition__Group__0__Impl : ( 'lookup' ) ;
8227 public final void rule__LookupDefinition__Group__0__Impl() throws RecognitionException {
8228
8229 int stackSize = keepStackSize();
8230
8231 try {
8232 // InternalCftLanguage.g:2618:1: ( ( 'lookup' ) )
8233 // InternalCftLanguage.g:2619:1: ( 'lookup' )
8234 {
8235 // InternalCftLanguage.g:2619:1: ( 'lookup' )
8236 // InternalCftLanguage.g:2620:2: 'lookup'
8237 {
8238 before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0());
8239 match(input,33,FOLLOW_2);
8240 after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0());
8241
8242 }
8243
8244
8245 }
8246
8247 }
8248 catch (RecognitionException re) {
8249 reportError(re);
8250 recover(input,re);
8251 }
8252 finally {
8253
8254 restoreStackSize(stackSize);
8255
8256 }
8257 return ;
8258 }
8259 // $ANTLR end "rule__LookupDefinition__Group__0__Impl"
8260
8261
8262 // $ANTLR start "rule__LookupDefinition__Group__1"
8263 // InternalCftLanguage.g:2629:1: rule__LookupDefinition__Group__1 : rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ;
8264 public final void rule__LookupDefinition__Group__1() throws RecognitionException {
8265
8266 int stackSize = keepStackSize();
8267
8268 try {
8269 // InternalCftLanguage.g:2633:1: ( rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 )
8270 // InternalCftLanguage.g:2634:2: rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2
8271 {
8272 pushFollow(FOLLOW_24);
8273 rule__LookupDefinition__Group__1__Impl();
8274
8275 state._fsp--;
8276
8277 pushFollow(FOLLOW_2);
8278 rule__LookupDefinition__Group__2();
8279
8280 state._fsp--;
8281
8282
8283 }
8284
8285 }
8286 catch (RecognitionException re) {
8287 reportError(re);
8288 recover(input,re);
8289 }
8290 finally {
8291
8292 restoreStackSize(stackSize);
8293
8294 }
8295 return ;
8296 }
8297 // $ANTLR end "rule__LookupDefinition__Group__1"
8298
8299
8300 // $ANTLR start "rule__LookupDefinition__Group__1__Impl"
8301 // InternalCftLanguage.g:2641:1: rule__LookupDefinition__Group__1__Impl : ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ;
8302 public final void rule__LookupDefinition__Group__1__Impl() throws RecognitionException {
8303
8304 int stackSize = keepStackSize();
8305
8306 try {
8307 // InternalCftLanguage.g:2645:1: ( ( ( rule__LookupDefinition__MappingAssignment_1 ) ) )
8308 // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) )
8309 {
8310 // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) )
8311 // InternalCftLanguage.g:2647:2: ( rule__LookupDefinition__MappingAssignment_1 )
8312 {
8313 before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1());
8314 // InternalCftLanguage.g:2648:2: ( rule__LookupDefinition__MappingAssignment_1 )
8315 // InternalCftLanguage.g:2648:3: rule__LookupDefinition__MappingAssignment_1
8316 {
8317 pushFollow(FOLLOW_2);
8318 rule__LookupDefinition__MappingAssignment_1();
8319
8320 state._fsp--;
8321
8322
8323 }
8324
8325 after(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1());
8326
8327 }
8328
8329
8330 }
8331
8332 }
8333 catch (RecognitionException re) {
8334 reportError(re);
8335 recover(input,re);
8336 }
8337 finally {
8338
8339 restoreStackSize(stackSize);
8340
8341 }
8342 return ;
8343 }
8344 // $ANTLR end "rule__LookupDefinition__Group__1__Impl"
8345
8346
8347 // $ANTLR start "rule__LookupDefinition__Group__2"
8348 // InternalCftLanguage.g:2656:1: rule__LookupDefinition__Group__2 : rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ;
8349 public final void rule__LookupDefinition__Group__2() throws RecognitionException {
8350
8351 int stackSize = keepStackSize();
8352
8353 try {
8354 // InternalCftLanguage.g:2660:1: ( rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 )
8355 // InternalCftLanguage.g:2661:2: rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3
8356 {
8357 pushFollow(FOLLOW_3);
8358 rule__LookupDefinition__Group__2__Impl();
8359
8360 state._fsp--;
8361
8362 pushFollow(FOLLOW_2);
8363 rule__LookupDefinition__Group__3();
8364
8365 state._fsp--;
8366
8367
8368 }
8369
8370 }
8371 catch (RecognitionException re) {
8372 reportError(re);
8373 recover(input,re);
8374 }
8375 finally {
8376
8377 restoreStackSize(stackSize);
8378
8379 }
8380 return ;
8381 }
8382 // $ANTLR end "rule__LookupDefinition__Group__2"
8383
8384
8385 // $ANTLR start "rule__LookupDefinition__Group__2__Impl"
8386 // InternalCftLanguage.g:2668:1: rule__LookupDefinition__Group__2__Impl : ( '(' ) ;
8387 public final void rule__LookupDefinition__Group__2__Impl() throws RecognitionException {
8388
8389 int stackSize = keepStackSize();
8390
8391 try {
8392 // InternalCftLanguage.g:2672:1: ( ( '(' ) )
8393 // InternalCftLanguage.g:2673:1: ( '(' )
8394 {
8395 // InternalCftLanguage.g:2673:1: ( '(' )
8396 // InternalCftLanguage.g:2674:2: '('
8397 {
8398 before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2());
8399 match(input,30,FOLLOW_2);
8400 after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2());
8401
8402 }
8403
8404
8405 }
8406
8407 }
8408 catch (RecognitionException re) {
8409 reportError(re);
8410 recover(input,re);
8411 }
8412 finally {
8413
8414 restoreStackSize(stackSize);
8415
8416 }
8417 return ;
8418 }
8419 // $ANTLR end "rule__LookupDefinition__Group__2__Impl"
8420
8421
8422 // $ANTLR start "rule__LookupDefinition__Group__3"
8423 // InternalCftLanguage.g:2683:1: rule__LookupDefinition__Group__3 : rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ;
8424 public final void rule__LookupDefinition__Group__3() throws RecognitionException {
8425
8426 int stackSize = keepStackSize();
8427
8428 try {
8429 // InternalCftLanguage.g:2687:1: ( rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 )
8430 // InternalCftLanguage.g:2688:2: rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4
8431 {
8432 pushFollow(FOLLOW_25);
8433 rule__LookupDefinition__Group__3__Impl();
8434
8435 state._fsp--;
8436
8437 pushFollow(FOLLOW_2);
8438 rule__LookupDefinition__Group__4();
8439
8440 state._fsp--;
8441
8442
8443 }
8444
8445 }
8446 catch (RecognitionException re) {
8447 reportError(re);
8448 recover(input,re);
8449 }
8450 finally {
8451
8452 restoreStackSize(stackSize);
8453
8454 }
8455 return ;
8456 }
8457 // $ANTLR end "rule__LookupDefinition__Group__3"
8458
8459
8460 // $ANTLR start "rule__LookupDefinition__Group__3__Impl"
8461 // InternalCftLanguage.g:2695:1: rule__LookupDefinition__Group__3__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ;
8462 public final void rule__LookupDefinition__Group__3__Impl() throws RecognitionException {
8463
8464 int stackSize = keepStackSize();
8465
8466 try {
8467 // InternalCftLanguage.g:2699:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) )
8468 // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) )
8469 {
8470 // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) )
8471 // InternalCftLanguage.g:2701:2: ( rule__LookupDefinition__ArgumentsAssignment_3 )
8472 {
8473 before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3());
8474 // InternalCftLanguage.g:2702:2: ( rule__LookupDefinition__ArgumentsAssignment_3 )
8475 // InternalCftLanguage.g:2702:3: rule__LookupDefinition__ArgumentsAssignment_3
8476 {
8477 pushFollow(FOLLOW_2);
8478 rule__LookupDefinition__ArgumentsAssignment_3();
8479
8480 state._fsp--;
8481
8482
8483 }
8484
8485 after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3());
8486
8487 }
8488
8489
8490 }
8491
8492 }
8493 catch (RecognitionException re) {
8494 reportError(re);
8495 recover(input,re);
8496 }
8497 finally {
8498
8499 restoreStackSize(stackSize);
8500
8501 }
8502 return ;
8503 }
8504 // $ANTLR end "rule__LookupDefinition__Group__3__Impl"
8505
8506
8507 // $ANTLR start "rule__LookupDefinition__Group__4"
8508 // InternalCftLanguage.g:2710:1: rule__LookupDefinition__Group__4 : rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ;
8509 public final void rule__LookupDefinition__Group__4() throws RecognitionException {
8510
8511 int stackSize = keepStackSize();
8512
8513 try {
8514 // InternalCftLanguage.g:2714:1: ( rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 )
8515 // InternalCftLanguage.g:2715:2: rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5
8516 {
8517 pushFollow(FOLLOW_25);
8518 rule__LookupDefinition__Group__4__Impl();
8519
8520 state._fsp--;
8521
8522 pushFollow(FOLLOW_2);
8523 rule__LookupDefinition__Group__5();
8524
8525 state._fsp--;
8526
8527
8528 }
8529
8530 }
8531 catch (RecognitionException re) {
8532 reportError(re);
8533 recover(input,re);
8534 }
8535 finally {
8536
8537 restoreStackSize(stackSize);
8538
8539 }
8540 return ;
8541 }
8542 // $ANTLR end "rule__LookupDefinition__Group__4"
8543
8544
8545 // $ANTLR start "rule__LookupDefinition__Group__4__Impl"
8546 // InternalCftLanguage.g:2722:1: rule__LookupDefinition__Group__4__Impl : ( ( rule__LookupDefinition__Group_4__0 )* ) ;
8547 public final void rule__LookupDefinition__Group__4__Impl() throws RecognitionException {
8548
8549 int stackSize = keepStackSize();
8550
8551 try {
8552 // InternalCftLanguage.g:2726:1: ( ( ( rule__LookupDefinition__Group_4__0 )* ) )
8553 // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* )
8554 {
8555 // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* )
8556 // InternalCftLanguage.g:2728:2: ( rule__LookupDefinition__Group_4__0 )*
8557 {
8558 before(grammarAccess.getLookupDefinitionAccess().getGroup_4());
8559 // InternalCftLanguage.g:2729:2: ( rule__LookupDefinition__Group_4__0 )*
8560 loop27:
8561 do {
8562 int alt27=2;
8563 int LA27_0 = input.LA(1);
8564
8565 if ( (LA27_0==32) ) {
8566 alt27=1;
8567 }
8568
8569
8570 switch (alt27) {
8571 case 1 :
8572 // InternalCftLanguage.g:2729:3: rule__LookupDefinition__Group_4__0
8573 {
8574 pushFollow(FOLLOW_26);
8575 rule__LookupDefinition__Group_4__0();
8576
8577 state._fsp--;
8578
8579
8580 }
8581 break;
8582
8583 default :
8584 break loop27;
8585 }
8586 } while (true);
8587
8588 after(grammarAccess.getLookupDefinitionAccess().getGroup_4());
8589
8590 }
8591
8592
8593 }
8594
8595 }
8596 catch (RecognitionException re) {
8597 reportError(re);
8598 recover(input,re);
8599 }
8600 finally {
8601
8602 restoreStackSize(stackSize);
8603
8604 }
8605 return ;
8606 }
8607 // $ANTLR end "rule__LookupDefinition__Group__4__Impl"
8608
8609
8610 // $ANTLR start "rule__LookupDefinition__Group__5"
8611 // InternalCftLanguage.g:2737:1: rule__LookupDefinition__Group__5 : rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ;
8612 public final void rule__LookupDefinition__Group__5() throws RecognitionException {
8613
8614 int stackSize = keepStackSize();
8615
8616 try {
8617 // InternalCftLanguage.g:2741:1: ( rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 )
8618 // InternalCftLanguage.g:2742:2: rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6
8619 {
8620 pushFollow(FOLLOW_30);
8621 rule__LookupDefinition__Group__5__Impl();
8622
8623 state._fsp--;
8624
8625 pushFollow(FOLLOW_2);
8626 rule__LookupDefinition__Group__6();
8627
8628 state._fsp--;
8629
8630
8631 }
8632
8633 }
8634 catch (RecognitionException re) {
8635 reportError(re);
8636 recover(input,re);
8637 }
8638 finally {
8639
8640 restoreStackSize(stackSize);
8641
8642 }
8643 return ;
8644 }
8645 // $ANTLR end "rule__LookupDefinition__Group__5"
8646
8647
8648 // $ANTLR start "rule__LookupDefinition__Group__5__Impl"
8649 // InternalCftLanguage.g:2749:1: rule__LookupDefinition__Group__5__Impl : ( ')' ) ;
8650 public final void rule__LookupDefinition__Group__5__Impl() throws RecognitionException {
8651
8652 int stackSize = keepStackSize();
8653
8654 try {
8655 // InternalCftLanguage.g:2753:1: ( ( ')' ) )
8656 // InternalCftLanguage.g:2754:1: ( ')' )
8657 {
8658 // InternalCftLanguage.g:2754:1: ( ')' )
8659 // InternalCftLanguage.g:2755:2: ')'
8660 {
8661 before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5());
8662 match(input,31,FOLLOW_2);
8663 after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5());
8664
8665 }
8666
8667
8668 }
8669
8670 }
8671 catch (RecognitionException re) {
8672 reportError(re);
8673 recover(input,re);
8674 }
8675 finally {
8676
8677 restoreStackSize(stackSize);
8678
8679 }
8680 return ;
8681 }
8682 // $ANTLR end "rule__LookupDefinition__Group__5__Impl"
8683
8684
8685 // $ANTLR start "rule__LookupDefinition__Group__6"
8686 // InternalCftLanguage.g:2764:1: rule__LookupDefinition__Group__6 : rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ;
8687 public final void rule__LookupDefinition__Group__6() throws RecognitionException {
8688
8689 int stackSize = keepStackSize();
8690
8691 try {
8692 // InternalCftLanguage.g:2768:1: ( rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 )
8693 // InternalCftLanguage.g:2769:2: rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7
8694 {
8695 pushFollow(FOLLOW_3);
8696 rule__LookupDefinition__Group__6__Impl();
8697
8698 state._fsp--;
8699
8700 pushFollow(FOLLOW_2);
8701 rule__LookupDefinition__Group__7();
8702
8703 state._fsp--;
8704
8705
8706 }
8707
8708 }
8709 catch (RecognitionException re) {
8710 reportError(re);
8711 recover(input,re);
8712 }
8713 finally {
8714
8715 restoreStackSize(stackSize);
8716
8717 }
8718 return ;
8719 }
8720 // $ANTLR end "rule__LookupDefinition__Group__6"
8721
8722
8723 // $ANTLR start "rule__LookupDefinition__Group__6__Impl"
8724 // InternalCftLanguage.g:2776:1: rule__LookupDefinition__Group__6__Impl : ( 'as' ) ;
8725 public final void rule__LookupDefinition__Group__6__Impl() throws RecognitionException {
8726
8727 int stackSize = keepStackSize();
8728
8729 try {
8730 // InternalCftLanguage.g:2780:1: ( ( 'as' ) )
8731 // InternalCftLanguage.g:2781:1: ( 'as' )
8732 {
8733 // InternalCftLanguage.g:2781:1: ( 'as' )
8734 // InternalCftLanguage.g:2782:2: 'as'
8735 {
8736 before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6());
8737 match(input,34,FOLLOW_2);
8738 after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6());
8739
8740 }
8741
8742
8743 }
8744
8745 }
8746 catch (RecognitionException re) {
8747 reportError(re);
8748 recover(input,re);
8749 }
8750 finally {
8751
8752 restoreStackSize(stackSize);
8753
8754 }
8755 return ;
8756 }
8757 // $ANTLR end "rule__LookupDefinition__Group__6__Impl"
8758
8759
8760 // $ANTLR start "rule__LookupDefinition__Group__7"
8761 // InternalCftLanguage.g:2791:1: rule__LookupDefinition__Group__7 : rule__LookupDefinition__Group__7__Impl ;
8762 public final void rule__LookupDefinition__Group__7() throws RecognitionException {
8763
8764 int stackSize = keepStackSize();
8765
8766 try {
8767 // InternalCftLanguage.g:2795:1: ( rule__LookupDefinition__Group__7__Impl )
8768 // InternalCftLanguage.g:2796:2: rule__LookupDefinition__Group__7__Impl
8769 {
8770 pushFollow(FOLLOW_2);
8771 rule__LookupDefinition__Group__7__Impl();
8772
8773 state._fsp--;
8774
8775
8776 }
8777
8778 }
8779 catch (RecognitionException re) {
8780 reportError(re);
8781 recover(input,re);
8782 }
8783 finally {
8784
8785 restoreStackSize(stackSize);
8786
8787 }
8788 return ;
8789 }
8790 // $ANTLR end "rule__LookupDefinition__Group__7"
8791
8792
8793 // $ANTLR start "rule__LookupDefinition__Group__7__Impl"
8794 // InternalCftLanguage.g:2802:1: rule__LookupDefinition__Group__7__Impl : ( ( rule__LookupDefinition__NameAssignment_7 ) ) ;
8795 public final void rule__LookupDefinition__Group__7__Impl() throws RecognitionException {
8796
8797 int stackSize = keepStackSize();
8798
8799 try {
8800 // InternalCftLanguage.g:2806:1: ( ( ( rule__LookupDefinition__NameAssignment_7 ) ) )
8801 // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) )
8802 {
8803 // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) )
8804 // InternalCftLanguage.g:2808:2: ( rule__LookupDefinition__NameAssignment_7 )
8805 {
8806 before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7());
8807 // InternalCftLanguage.g:2809:2: ( rule__LookupDefinition__NameAssignment_7 )
8808 // InternalCftLanguage.g:2809:3: rule__LookupDefinition__NameAssignment_7
8809 {
8810 pushFollow(FOLLOW_2);
8811 rule__LookupDefinition__NameAssignment_7();
8812
8813 state._fsp--;
8814
8815
8816 }
8817
8818 after(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7());
8819
8820 }
8821
8822
8823 }
8824
8825 }
8826 catch (RecognitionException re) {
8827 reportError(re);
8828 recover(input,re);
8829 }
8830 finally {
8831
8832 restoreStackSize(stackSize);
8833
8834 }
8835 return ;
8836 }
8837 // $ANTLR end "rule__LookupDefinition__Group__7__Impl"
8838
8839
8840 // $ANTLR start "rule__LookupDefinition__Group_4__0"
8841 // InternalCftLanguage.g:2818:1: rule__LookupDefinition__Group_4__0 : rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ;
8842 public final void rule__LookupDefinition__Group_4__0() throws RecognitionException {
8843
8844 int stackSize = keepStackSize();
8845
8846 try {
8847 // InternalCftLanguage.g:2822:1: ( 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
8849 {
8850 pushFollow(FOLLOW_3);
8851 rule__LookupDefinition__Group_4__0__Impl();
8852
8853 state._fsp--;
8854
8855 pushFollow(FOLLOW_2);
8856 rule__LookupDefinition__Group_4__1();
8857
8858 state._fsp--;
8859
8860
8861 }
8862
8863 }
8864 catch (RecognitionException re) {
8865 reportError(re);
8866 recover(input,re);
8867 }
8868 finally {
8869
8870 restoreStackSize(stackSize);
8871
8872 }
8873 return ;
8874 }
8875 // $ANTLR end "rule__LookupDefinition__Group_4__0"
8876
8877
8878 // $ANTLR start "rule__LookupDefinition__Group_4__0__Impl"
8879 // InternalCftLanguage.g:2830:1: rule__LookupDefinition__Group_4__0__Impl : ( ',' ) ;
8880 public final void rule__LookupDefinition__Group_4__0__Impl() throws RecognitionException {
8881
8882 int stackSize = keepStackSize();
8883
8884 try {
8885 // InternalCftLanguage.g:2834:1: ( ( ',' ) )
8886 // InternalCftLanguage.g:2835:1: ( ',' )
8887 {
8888 // InternalCftLanguage.g:2835:1: ( ',' )
8889 // InternalCftLanguage.g:2836:2: ','
8890 {
8891 before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0());
8892 match(input,32,FOLLOW_2);
8893 after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0());
8894
8895 }
8896
8897
8898 }
8899
8900 }
8901 catch (RecognitionException re) {
8902 reportError(re);
8903 recover(input,re);
8904 }
8905 finally {
8906
8907 restoreStackSize(stackSize);
8908
8909 }
8910 return ;
8911 }
8912 // $ANTLR end "rule__LookupDefinition__Group_4__0__Impl"
8913
8914
8915 // $ANTLR start "rule__LookupDefinition__Group_4__1"
8916 // InternalCftLanguage.g:2845:1: rule__LookupDefinition__Group_4__1 : rule__LookupDefinition__Group_4__1__Impl ;
8917 public final void rule__LookupDefinition__Group_4__1() throws RecognitionException {
8918
8919 int stackSize = keepStackSize();
8920
8921 try {
8922 // InternalCftLanguage.g:2849:1: ( rule__LookupDefinition__Group_4__1__Impl )
8923 // InternalCftLanguage.g:2850:2: rule__LookupDefinition__Group_4__1__Impl
8924 {
8925 pushFollow(FOLLOW_2);
8926 rule__LookupDefinition__Group_4__1__Impl();
8927
8928 state._fsp--;
8929
8930
8931 }
8932
8933 }
8934 catch (RecognitionException re) {
8935 reportError(re);
8936 recover(input,re);
8937 }
8938 finally {
8939
8940 restoreStackSize(stackSize);
8941
8942 }
8943 return ;
8944 }
8945 // $ANTLR end "rule__LookupDefinition__Group_4__1"
8946
8947
8948 // $ANTLR start "rule__LookupDefinition__Group_4__1__Impl"
8949 // InternalCftLanguage.g:2856:1: rule__LookupDefinition__Group_4__1__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ;
8950 public final void rule__LookupDefinition__Group_4__1__Impl() throws RecognitionException {
8951
8952 int stackSize = keepStackSize();
8953
8954 try {
8955 // InternalCftLanguage.g:2860:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) )
8956 // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) )
8957 {
8958 // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) )
8959 // InternalCftLanguage.g:2862:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 )
8960 {
8961 before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1());
8962 // InternalCftLanguage.g:2863:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 )
8963 // InternalCftLanguage.g:2863:3: rule__LookupDefinition__ArgumentsAssignment_4_1
8964 {
8965 pushFollow(FOLLOW_2);
8966 rule__LookupDefinition__ArgumentsAssignment_4_1();
8967
8968 state._fsp--;
8969
8970
8971 }
8972
8973 after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1());
8974
8975 }
8976
8977
8978 }
8979
8980 }
8981 catch (RecognitionException re) {
8982 reportError(re);
8983 recover(input,re);
8984 }
8985 finally {
8986
8987 restoreStackSize(stackSize);
8988
8989 }
8990 return ;
8991 }
8992 // $ANTLR end "rule__LookupDefinition__Group_4__1__Impl"
8993
8994
8995 // $ANTLR start "rule__Assignment__Group__0"
8996 // InternalCftLanguage.g:2872:1: rule__Assignment__Group__0 : rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ;
8997 public final void rule__Assignment__Group__0() throws RecognitionException {
8998
8999 int stackSize = keepStackSize();
9000
9001 try {
9002 // InternalCftLanguage.g:2876:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 )
9003 // InternalCftLanguage.g:2877:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1
9004 {
9005 pushFollow(FOLLOW_31);
9006 rule__Assignment__Group__0__Impl();
9007
9008 state._fsp--;
9009
9010 pushFollow(FOLLOW_2);
9011 rule__Assignment__Group__1();
9012
9013 state._fsp--;
9014
9015
9016 }
9017
9018 }
9019 catch (RecognitionException re) {
9020 reportError(re);
9021 recover(input,re);
9022 }
9023 finally {
9024
9025 restoreStackSize(stackSize);
9026
9027 }
9028 return ;
9029 }
9030 // $ANTLR end "rule__Assignment__Group__0"
9031
9032
9033 // $ANTLR start "rule__Assignment__Group__0__Impl"
9034 // InternalCftLanguage.g:2884:1: rule__Assignment__Group__0__Impl : ( ( rule__Assignment__InputAssignment_0 ) ) ;
9035 public final void rule__Assignment__Group__0__Impl() throws RecognitionException {
9036
9037 int stackSize = keepStackSize();
9038
9039 try {
9040 // InternalCftLanguage.g:2888:1: ( ( ( rule__Assignment__InputAssignment_0 ) ) )
9041 // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) )
9042 {
9043 // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) )
9044 // InternalCftLanguage.g:2890:2: ( rule__Assignment__InputAssignment_0 )
9045 {
9046 before(grammarAccess.getAssignmentAccess().getInputAssignment_0());
9047 // InternalCftLanguage.g:2891:2: ( rule__Assignment__InputAssignment_0 )
9048 // InternalCftLanguage.g:2891:3: rule__Assignment__InputAssignment_0
9049 {
9050 pushFollow(FOLLOW_2);
9051 rule__Assignment__InputAssignment_0();
9052
9053 state._fsp--;
9054
9055
9056 }
9057
9058 after(grammarAccess.getAssignmentAccess().getInputAssignment_0());
9059
9060 }
9061
9062
9063 }
9064
9065 }
9066 catch (RecognitionException re) {
9067 reportError(re);
9068 recover(input,re);
9069 }
9070 finally {
9071
9072 restoreStackSize(stackSize);
9073
9074 }
9075 return ;
9076 }
9077 // $ANTLR end "rule__Assignment__Group__0__Impl"
9078
9079
9080 // $ANTLR start "rule__Assignment__Group__1"
9081 // InternalCftLanguage.g:2899:1: rule__Assignment__Group__1 : rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ;
9082 public final void rule__Assignment__Group__1() throws RecognitionException {
9083
9084 int stackSize = keepStackSize();
9085
9086 try {
9087 // InternalCftLanguage.g:2903:1: ( rule__Assignment__Group__1__Impl rule__Assignment__Group__2 )
9088 // InternalCftLanguage.g:2904:2: rule__Assignment__Group__1__Impl rule__Assignment__Group__2
9089 {
9090 pushFollow(FOLLOW_32);
9091 rule__Assignment__Group__1__Impl();
9092
9093 state._fsp--;
9094
9095 pushFollow(FOLLOW_2);
9096 rule__Assignment__Group__2();
9097
9098 state._fsp--;
9099
9100
9101 }
9102
9103 }
9104 catch (RecognitionException re) {
9105 reportError(re);
9106 recover(input,re);
9107 }
9108 finally {
9109
9110 restoreStackSize(stackSize);
9111
9112 }
9113 return ;
9114 }
9115 // $ANTLR end "rule__Assignment__Group__1"
9116
9117
9118 // $ANTLR start "rule__Assignment__Group__1__Impl"
9119 // InternalCftLanguage.g:2911:1: rule__Assignment__Group__1__Impl : ( ( rule__Assignment__Alternatives_1 ) ) ;
9120 public final void rule__Assignment__Group__1__Impl() throws RecognitionException {
9121
9122 int stackSize = keepStackSize();
9123
9124 try {
9125 // InternalCftLanguage.g:2915:1: ( ( ( rule__Assignment__Alternatives_1 ) ) )
9126 // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) )
9127 {
9128 // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) )
9129 // InternalCftLanguage.g:2917:2: ( rule__Assignment__Alternatives_1 )
9130 {
9131 before(grammarAccess.getAssignmentAccess().getAlternatives_1());
9132 // InternalCftLanguage.g:2918:2: ( rule__Assignment__Alternatives_1 )
9133 // InternalCftLanguage.g:2918:3: rule__Assignment__Alternatives_1
9134 {
9135 pushFollow(FOLLOW_2);
9136 rule__Assignment__Alternatives_1();
9137
9138 state._fsp--;
9139
9140
9141 }
9142
9143 after(grammarAccess.getAssignmentAccess().getAlternatives_1());
9144
9145 }
9146
9147
9148 }
9149
9150 }
9151 catch (RecognitionException re) {
9152 reportError(re);
9153 recover(input,re);
9154 }
9155 finally {
9156
9157 restoreStackSize(stackSize);
9158
9159 }
9160 return ;
9161 }
9162 // $ANTLR end "rule__Assignment__Group__1__Impl"
9163
9164
9165 // $ANTLR start "rule__Assignment__Group__2"
9166 // InternalCftLanguage.g:2926:1: rule__Assignment__Group__2 : rule__Assignment__Group__2__Impl ;
9167 public final void rule__Assignment__Group__2() throws RecognitionException {
9168
9169 int stackSize = keepStackSize();
9170
9171 try {
9172 // InternalCftLanguage.g:2930:1: ( rule__Assignment__Group__2__Impl )
9173 // InternalCftLanguage.g:2931:2: rule__Assignment__Group__2__Impl
9174 {
9175 pushFollow(FOLLOW_2);
9176 rule__Assignment__Group__2__Impl();
9177
9178 state._fsp--;
9179
9180
9181 }
9182
9183 }
9184 catch (RecognitionException re) {
9185 reportError(re);
9186 recover(input,re);
9187 }
9188 finally {
9189
9190 restoreStackSize(stackSize);
9191
9192 }
9193 return ;
9194 }
9195 // $ANTLR end "rule__Assignment__Group__2"
9196
9197
9198 // $ANTLR start "rule__Assignment__Group__2__Impl"
9199 // InternalCftLanguage.g:2937:1: rule__Assignment__Group__2__Impl : ( ( rule__Assignment__OutputAssignment_2 ) ) ;
9200 public final void rule__Assignment__Group__2__Impl() throws RecognitionException {
9201
9202 int stackSize = keepStackSize();
9203
9204 try {
9205 // InternalCftLanguage.g:2941:1: ( ( ( rule__Assignment__OutputAssignment_2 ) ) )
9206 // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) )
9207 {
9208 // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) )
9209 // InternalCftLanguage.g:2943:2: ( rule__Assignment__OutputAssignment_2 )
9210 {
9211 before(grammarAccess.getAssignmentAccess().getOutputAssignment_2());
9212 // InternalCftLanguage.g:2944:2: ( rule__Assignment__OutputAssignment_2 )
9213 // InternalCftLanguage.g:2944:3: rule__Assignment__OutputAssignment_2
9214 {
9215 pushFollow(FOLLOW_2);
9216 rule__Assignment__OutputAssignment_2();
9217
9218 state._fsp--;
9219
9220
9221 }
9222
9223 after(grammarAccess.getAssignmentAccess().getOutputAssignment_2());
9224
9225 }
9226
9227
9228 }
9229
9230 }
9231 catch (RecognitionException re) {
9232 reportError(re);
9233 recover(input,re);
9234 }
9235 finally {
9236
9237 restoreStackSize(stackSize);
9238
9239 }
9240 return ;
9241 }
9242 // $ANTLR end "rule__Assignment__Group__2__Impl"
9243
9244
9245 // $ANTLR start "rule__EventReference__Group__0"
9246 // InternalCftLanguage.g:2953:1: rule__EventReference__Group__0 : rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ;
9247 public final void rule__EventReference__Group__0() throws RecognitionException {
9248
9249 int stackSize = keepStackSize();
9250
9251 try {
9252 // InternalCftLanguage.g:2957:1: ( rule__EventReference__Group__0__Impl rule__EventReference__Group__1 )
9253 // InternalCftLanguage.g:2958:2: rule__EventReference__Group__0__Impl rule__EventReference__Group__1
9254 {
9255 pushFollow(FOLLOW_33);
9256 rule__EventReference__Group__0__Impl();
9257
9258 state._fsp--;
9259
9260 pushFollow(FOLLOW_2);
9261 rule__EventReference__Group__1();
9262
9263 state._fsp--;
9264
9265
9266 }
9267
9268 }
9269 catch (RecognitionException re) {
9270 reportError(re);
9271 recover(input,re);
9272 }
9273 finally {
9274
9275 restoreStackSize(stackSize);
9276
9277 }
9278 return ;
9279 }
9280 // $ANTLR end "rule__EventReference__Group__0"
9281
9282
9283 // $ANTLR start "rule__EventReference__Group__0__Impl"
9284 // InternalCftLanguage.g:2965:1: rule__EventReference__Group__0__Impl : ( ( rule__EventReference__ComponentAssignment_0 ) ) ;
9285 public final void rule__EventReference__Group__0__Impl() throws RecognitionException {
9286
9287 int stackSize = keepStackSize();
9288
9289 try {
9290 // InternalCftLanguage.g:2969:1: ( ( ( rule__EventReference__ComponentAssignment_0 ) ) )
9291 // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) )
9292 {
9293 // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) )
9294 // InternalCftLanguage.g:2971:2: ( rule__EventReference__ComponentAssignment_0 )
9295 {
9296 before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0());
9297 // InternalCftLanguage.g:2972:2: ( rule__EventReference__ComponentAssignment_0 )
9298 // InternalCftLanguage.g:2972:3: rule__EventReference__ComponentAssignment_0
9299 {
9300 pushFollow(FOLLOW_2);
9301 rule__EventReference__ComponentAssignment_0();
9302
9303 state._fsp--;
9304
9305
9306 }
9307
9308 after(grammarAccess.getEventReferenceAccess().getComponentAssignment_0());
9309
9310 }
9311
9312
9313 }
9314
9315 }
9316 catch (RecognitionException re) {
9317 reportError(re);
9318 recover(input,re);
9319 }
9320 finally {
9321
9322 restoreStackSize(stackSize);
9323
9324 }
9325 return ;
9326 }
9327 // $ANTLR end "rule__EventReference__Group__0__Impl"
9328
9329
9330 // $ANTLR start "rule__EventReference__Group__1"
9331 // InternalCftLanguage.g:2980:1: rule__EventReference__Group__1 : rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ;
9332 public final void rule__EventReference__Group__1() throws RecognitionException {
9333
9334 int stackSize = keepStackSize();
9335
9336 try {
9337 // InternalCftLanguage.g:2984:1: ( rule__EventReference__Group__1__Impl rule__EventReference__Group__2 )
9338 // InternalCftLanguage.g:2985:2: rule__EventReference__Group__1__Impl rule__EventReference__Group__2
9339 {
9340 pushFollow(FOLLOW_3);
9341 rule__EventReference__Group__1__Impl();
9342
9343 state._fsp--;
9344
9345 pushFollow(FOLLOW_2);
9346 rule__EventReference__Group__2();
9347
9348 state._fsp--;
9349
9350
9351 }
9352
9353 }
9354 catch (RecognitionException re) {
9355 reportError(re);
9356 recover(input,re);
9357 }
9358 finally {
9359
9360 restoreStackSize(stackSize);
9361
9362 }
9363 return ;
9364 }
9365 // $ANTLR end "rule__EventReference__Group__1"
9366
9367
9368 // $ANTLR start "rule__EventReference__Group__1__Impl"
9369 // InternalCftLanguage.g:2992:1: rule__EventReference__Group__1__Impl : ( '.' ) ;
9370 public final void rule__EventReference__Group__1__Impl() throws RecognitionException {
9371
9372 int stackSize = keepStackSize();
9373
9374 try {
9375 // InternalCftLanguage.g:2996:1: ( ( '.' ) )
9376 // InternalCftLanguage.g:2997:1: ( '.' )
9377 {
9378 // InternalCftLanguage.g:2997:1: ( '.' )
9379 // InternalCftLanguage.g:2998:2: '.'
9380 {
9381 before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1());
9382 match(input,35,FOLLOW_2);
9383 after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1());
9384
9385 }
9386
9387
9388 }
9389
9390 }
9391 catch (RecognitionException re) {
9392 reportError(re);
9393 recover(input,re);
9394 }
9395 finally {
9396
9397 restoreStackSize(stackSize);
9398
9399 }
9400 return ;
9401 }
9402 // $ANTLR end "rule__EventReference__Group__1__Impl"
9403
9404
9405 // $ANTLR start "rule__EventReference__Group__2"
9406 // InternalCftLanguage.g:3007:1: rule__EventReference__Group__2 : rule__EventReference__Group__2__Impl ;
9407 public final void rule__EventReference__Group__2() throws RecognitionException {
9408
9409 int stackSize = keepStackSize();
9410
9411 try {
9412 // InternalCftLanguage.g:3011:1: ( rule__EventReference__Group__2__Impl )
9413 // InternalCftLanguage.g:3012:2: rule__EventReference__Group__2__Impl
9414 {
9415 pushFollow(FOLLOW_2);
9416 rule__EventReference__Group__2__Impl();
9417
9418 state._fsp--;
9419
9420
9421 }
9422
9423 }
9424 catch (RecognitionException re) {
9425 reportError(re);
9426 recover(input,re);
9427 }
9428 finally {
9429
9430 restoreStackSize(stackSize);
9431
9432 }
9433 return ;
9434 }
9435 // $ANTLR end "rule__EventReference__Group__2"
9436
9437
9438 // $ANTLR start "rule__EventReference__Group__2__Impl"
9439 // InternalCftLanguage.g:3018:1: rule__EventReference__Group__2__Impl : ( ( rule__EventReference__EventAssignment_2 ) ) ;
9440 public final void rule__EventReference__Group__2__Impl() throws RecognitionException {
9441
9442 int stackSize = keepStackSize();
9443
9444 try {
9445 // InternalCftLanguage.g:3022:1: ( ( ( rule__EventReference__EventAssignment_2 ) ) )
9446 // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) )
9447 {
9448 // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) )
9449 // InternalCftLanguage.g:3024:2: ( rule__EventReference__EventAssignment_2 )
9450 {
9451 before(grammarAccess.getEventReferenceAccess().getEventAssignment_2());
9452 // InternalCftLanguage.g:3025:2: ( rule__EventReference__EventAssignment_2 )
9453 // InternalCftLanguage.g:3025:3: rule__EventReference__EventAssignment_2
9454 {
9455 pushFollow(FOLLOW_2);
9456 rule__EventReference__EventAssignment_2();
9457
9458 state._fsp--;
9459
9460
9461 }
9462
9463 after(grammarAccess.getEventReferenceAccess().getEventAssignment_2());
9464
9465 }
9466
9467
9468 }
9469
9470 }
9471 catch (RecognitionException re) {
9472 reportError(re);
9473 recover(input,re);
9474 }
9475 finally {
9476
9477 restoreStackSize(stackSize);
9478
9479 }
9480 return ;
9481 }
9482 // $ANTLR end "rule__EventReference__Group__2__Impl"
9483
9484
9485 // $ANTLR start "rule__ComponentInstance__Group__0"
9486 // InternalCftLanguage.g:3034:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ;
9487 public final void rule__ComponentInstance__Group__0() throws RecognitionException {
9488
9489 int stackSize = keepStackSize();
9490
9491 try {
9492 // InternalCftLanguage.g:3038:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 )
9493 // InternalCftLanguage.g:3039:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1
9494 {
9495 pushFollow(FOLLOW_3);
9496 rule__ComponentInstance__Group__0__Impl();
9497
9498 state._fsp--;
9499
9500 pushFollow(FOLLOW_2);
9501 rule__ComponentInstance__Group__1();
9502
9503 state._fsp--;
9504
9505
9506 }
9507
9508 }
9509 catch (RecognitionException re) {
9510 reportError(re);
9511 recover(input,re);
9512 }
9513 finally {
9514
9515 restoreStackSize(stackSize);
9516
9517 }
9518 return ;
9519 }
9520 // $ANTLR end "rule__ComponentInstance__Group__0"
9521
9522
9523 // $ANTLR start "rule__ComponentInstance__Group__0__Impl"
9524 // InternalCftLanguage.g:3046:1: rule__ComponentInstance__Group__0__Impl : ( '=>' ) ;
9525 public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException {
9526
9527 int stackSize = keepStackSize();
9528
9529 try {
9530 // InternalCftLanguage.g:3050:1: ( ( '=>' ) )
9531 // InternalCftLanguage.g:3051:1: ( '=>' )
9532 {
9533 // InternalCftLanguage.g:3051:1: ( '=>' )
9534 // InternalCftLanguage.g:3052:2: '=>'
9535 {
9536 before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0());
9537 match(input,36,FOLLOW_2);
9538 after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0());
9539
9540 }
9541
9542
9543 }
9544
9545 }
9546 catch (RecognitionException re) {
9547 reportError(re);
9548 recover(input,re);
9549 }
9550 finally {
9551
9552 restoreStackSize(stackSize);
9553
9554 }
9555 return ;
9556 }
9557 // $ANTLR end "rule__ComponentInstance__Group__0__Impl"
9558
9559
9560 // $ANTLR start "rule__ComponentInstance__Group__1"
9561 // InternalCftLanguage.g:3061:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ;
9562 public final void rule__ComponentInstance__Group__1() throws RecognitionException {
9563
9564 int stackSize = keepStackSize();
9565
9566 try {
9567 // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 )
9568 // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2
9569 {
9570 pushFollow(FOLLOW_3);
9571 rule__ComponentInstance__Group__1__Impl();
9572
9573 state._fsp--;
9574
9575 pushFollow(FOLLOW_2);
9576 rule__ComponentInstance__Group__2();
9577
9578 state._fsp--;
9579
9580
9581 }
9582
9583 }
9584 catch (RecognitionException re) {
9585 reportError(re);
9586 recover(input,re);
9587 }
9588 finally {
9589
9590 restoreStackSize(stackSize);
9591
9592 }
9593 return ;
9594 }
9595 // $ANTLR end "rule__ComponentInstance__Group__1"
9596
9597
9598 // $ANTLR start "rule__ComponentInstance__Group__1__Impl"
9599 // InternalCftLanguage.g:3073:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ;
9600 public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException {
9601
9602 int stackSize = keepStackSize();
9603
9604 try {
9605 // InternalCftLanguage.g:3077:1: ( ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) )
9606 // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) )
9607 {
9608 // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) )
9609 // InternalCftLanguage.g:3079:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 )
9610 {
9611 before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1());
9612 // InternalCftLanguage.g:3080:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 )
9613 // InternalCftLanguage.g:3080:3: rule__ComponentInstance__ComponentTypeAssignment_1
9614 {
9615 pushFollow(FOLLOW_2);
9616 rule__ComponentInstance__ComponentTypeAssignment_1();
9617
9618 state._fsp--;
9619
9620
9621 }
9622
9623 after(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1());
9624
9625 }
9626
9627
9628 }
9629
9630 }
9631 catch (RecognitionException re) {
9632 reportError(re);
9633 recover(input,re);
9634 }
9635 finally {
9636
9637 restoreStackSize(stackSize);
9638
9639 }
9640 return ;
9641 }
9642 // $ANTLR end "rule__ComponentInstance__Group__1__Impl"
9643
9644
9645 // $ANTLR start "rule__ComponentInstance__Group__2"
9646 // InternalCftLanguage.g:3088:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl ;
9647 public final void rule__ComponentInstance__Group__2() throws RecognitionException {
9648
9649 int stackSize = keepStackSize();
9650
9651 try {
9652 // InternalCftLanguage.g:3092:1: ( rule__ComponentInstance__Group__2__Impl )
9653 // InternalCftLanguage.g:3093:2: rule__ComponentInstance__Group__2__Impl
9654 {
9655 pushFollow(FOLLOW_2);
9656 rule__ComponentInstance__Group__2__Impl();
9657
9658 state._fsp--;
9659
9660
9661 }
9662
9663 }
9664 catch (RecognitionException re) {
9665 reportError(re);
9666 recover(input,re);
9667 }
9668 finally {
9669
9670 restoreStackSize(stackSize);
9671
9672 }
9673 return ;
9674 }
9675 // $ANTLR end "rule__ComponentInstance__Group__2"
9676
9677
9678 // $ANTLR start "rule__ComponentInstance__Group__2__Impl"
9679 // InternalCftLanguage.g:3099:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__NameAssignment_2 )? ) ;
9680 public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException {
9681
9682 int stackSize = keepStackSize();
9683
9684 try {
9685 // InternalCftLanguage.g:3103:1: ( ( ( rule__ComponentInstance__NameAssignment_2 )? ) )
9686 // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? )
9687 {
9688 // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? )
9689 // InternalCftLanguage.g:3105:2: ( rule__ComponentInstance__NameAssignment_2 )?
9690 {
9691 before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2());
9692 // InternalCftLanguage.g:3106:2: ( rule__ComponentInstance__NameAssignment_2 )?
9693 int alt28=2;
9694 int LA28_0 = input.LA(1);
9695
9696 if ( ((LA28_0>=RULE_ID && LA28_0<=RULE_OF_INT)) ) {
9697 alt28=1;
9698 }
9699 switch (alt28) {
9700 case 1 :
9701 // InternalCftLanguage.g:3106:3: rule__ComponentInstance__NameAssignment_2
9702 {
9703 pushFollow(FOLLOW_2);
9704 rule__ComponentInstance__NameAssignment_2();
9705
9706 state._fsp--;
9707
9708
9709 }
9710 break;
9711
9712 }
9713
9714 after(grammarAccess.getComponentInstanceAccess().getNameAssignment_2());
9715
9716 }
9717
9718
9719 }
9720
9721 }
9722 catch (RecognitionException re) {
9723 reportError(re);
9724 recover(input,re);
9725 }
9726 finally {
9727
9728 restoreStackSize(stackSize);
9729
9730 }
9731 return ;
9732 }
9733 // $ANTLR end "rule__ComponentInstance__Group__2__Impl"
9734
9735
9736 // $ANTLR start "rule__QualifiedName__Group__0"
9737 // InternalCftLanguage.g:3115:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
9738 public final void rule__QualifiedName__Group__0() throws RecognitionException {
9739
9740 int stackSize = keepStackSize();
9741
9742 try {
9743 // InternalCftLanguage.g:3119:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
9744 // InternalCftLanguage.g:3120:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
9745 {
9746 pushFollow(FOLLOW_33);
9747 rule__QualifiedName__Group__0__Impl();
9748
9749 state._fsp--;
9750
9751 pushFollow(FOLLOW_2);
9752 rule__QualifiedName__Group__1();
9753
9754 state._fsp--;
9755
9756
9757 }
9758
9759 }
9760 catch (RecognitionException re) {
9761 reportError(re);
9762 recover(input,re);
9763 }
9764 finally {
9765
9766 restoreStackSize(stackSize);
9767
9768 }
9769 return ;
9770 }
9771 // $ANTLR end "rule__QualifiedName__Group__0"
9772
9773
9774 // $ANTLR start "rule__QualifiedName__Group__0__Impl"
9775 // InternalCftLanguage.g:3127:1: rule__QualifiedName__Group__0__Impl : ( ruleValidId ) ;
9776 public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
9777
9778 int stackSize = keepStackSize();
9779
9780 try {
9781 // InternalCftLanguage.g:3131:1: ( ( ruleValidId ) )
9782 // InternalCftLanguage.g:3132:1: ( ruleValidId )
9783 {
9784 // InternalCftLanguage.g:3132:1: ( ruleValidId )
9785 // InternalCftLanguage.g:3133:2: ruleValidId
9786 {
9787 before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0());
9788 pushFollow(FOLLOW_2);
9789 ruleValidId();
9790
9791 state._fsp--;
9792
9793 after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0());
9794
9795 }
9796
9797
9798 }
9799
9800 }
9801 catch (RecognitionException re) {
9802 reportError(re);
9803 recover(input,re);
9804 }
9805 finally {
9806
9807 restoreStackSize(stackSize);
9808
9809 }
9810 return ;
9811 }
9812 // $ANTLR end "rule__QualifiedName__Group__0__Impl"
9813
9814
9815 // $ANTLR start "rule__QualifiedName__Group__1"
9816 // InternalCftLanguage.g:3142:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ;
9817 public final void rule__QualifiedName__Group__1() throws RecognitionException {
9818
9819 int stackSize = keepStackSize();
9820
9821 try {
9822 // InternalCftLanguage.g:3146:1: ( rule__QualifiedName__Group__1__Impl )
9823 // InternalCftLanguage.g:3147:2: rule__QualifiedName__Group__1__Impl
9824 {
9825 pushFollow(FOLLOW_2);
9826 rule__QualifiedName__Group__1__Impl();
9827
9828 state._fsp--;
9829
9830
9831 }
9832
9833 }
9834 catch (RecognitionException re) {
9835 reportError(re);
9836 recover(input,re);
9837 }
9838 finally {
9839
9840 restoreStackSize(stackSize);
9841
9842 }
9843 return ;
9844 }
9845 // $ANTLR end "rule__QualifiedName__Group__1"
9846
9847
9848 // $ANTLR start "rule__QualifiedName__Group__1__Impl"
9849 // InternalCftLanguage.g:3153:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ;
9850 public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
9851
9852 int stackSize = keepStackSize();
9853
9854 try {
9855 // InternalCftLanguage.g:3157:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) )
9856 // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* )
9857 {
9858 // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* )
9859 // InternalCftLanguage.g:3159:2: ( rule__QualifiedName__Group_1__0 )*
9860 {
9861 before(grammarAccess.getQualifiedNameAccess().getGroup_1());
9862 // InternalCftLanguage.g:3160:2: ( rule__QualifiedName__Group_1__0 )*
9863 loop29:
9864 do {
9865 int alt29=2;
9866 int LA29_0 = input.LA(1);
9867
9868 if ( (LA29_0==35) ) {
9869 int LA29_2 = input.LA(2);
9870
9871 if ( ((LA29_2>=RULE_ID && LA29_2<=RULE_OF_INT)) ) {
9872 alt29=1;
9873 }
9874
9875
9876 }
9877
9878
9879 switch (alt29) {
9880 case 1 :
9881 // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0
9882 {
9883 pushFollow(FOLLOW_34);
9884 rule__QualifiedName__Group_1__0();
9885
9886 state._fsp--;
9887
9888
9889 }
9890 break;
9891
9892 default :
9893 break loop29;
9894 }
9895 } while (true);
9896
9897 after(grammarAccess.getQualifiedNameAccess().getGroup_1());
9898
9899 }
9900
9901
9902 }
9903
9904 }
9905 catch (RecognitionException re) {
9906 reportError(re);
9907 recover(input,re);
9908 }
9909 finally {
9910
9911 restoreStackSize(stackSize);
9912
9913 }
9914 return ;
9915 }
9916 // $ANTLR end "rule__QualifiedName__Group__1__Impl"
9917
9918
9919 // $ANTLR start "rule__QualifiedName__Group_1__0"
9920 // InternalCftLanguage.g:3169:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ;
9921 public final void rule__QualifiedName__Group_1__0() throws RecognitionException {
9922
9923 int stackSize = keepStackSize();
9924
9925 try {
9926 // InternalCftLanguage.g:3173:1: ( 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
9928 {
9929 pushFollow(FOLLOW_3);
9930 rule__QualifiedName__Group_1__0__Impl();
9931
9932 state._fsp--;
9933
9934 pushFollow(FOLLOW_2);
9935 rule__QualifiedName__Group_1__1();
9936
9937 state._fsp--;
9938
9939
9940 }
9941
9942 }
9943 catch (RecognitionException re) {
9944 reportError(re);
9945 recover(input,re);
9946 }
9947 finally {
9948
9949 restoreStackSize(stackSize);
9950
9951 }
9952 return ;
9953 }
9954 // $ANTLR end "rule__QualifiedName__Group_1__0"
9955
9956
9957 // $ANTLR start "rule__QualifiedName__Group_1__0__Impl"
9958 // InternalCftLanguage.g:3181:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ;
9959 public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException {
9960
9961 int stackSize = keepStackSize();
9962
9963 try {
9964 // InternalCftLanguage.g:3185:1: ( ( '.' ) )
9965 // InternalCftLanguage.g:3186:1: ( '.' )
9966 {
9967 // InternalCftLanguage.g:3186:1: ( '.' )
9968 // InternalCftLanguage.g:3187:2: '.'
9969 {
9970 before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
9971 match(input,35,FOLLOW_2);
9972 after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
9973
9974 }
9975
9976
9977 }
9978
9979 }
9980 catch (RecognitionException re) {
9981 reportError(re);
9982 recover(input,re);
9983 }
9984 finally {
9985
9986 restoreStackSize(stackSize);
9987
9988 }
9989 return ;
9990 }
9991 // $ANTLR end "rule__QualifiedName__Group_1__0__Impl"
9992
9993
9994 // $ANTLR start "rule__QualifiedName__Group_1__1"
9995 // InternalCftLanguage.g:3196:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ;
9996 public final void rule__QualifiedName__Group_1__1() throws RecognitionException {
9997
9998 int stackSize = keepStackSize();
9999
10000 try {
10001 // InternalCftLanguage.g:3200:1: ( rule__QualifiedName__Group_1__1__Impl )
10002 // InternalCftLanguage.g:3201:2: rule__QualifiedName__Group_1__1__Impl
10003 {
10004 pushFollow(FOLLOW_2);
10005 rule__QualifiedName__Group_1__1__Impl();
10006
10007 state._fsp--;
10008
10009
10010 }
10011
10012 }
10013 catch (RecognitionException re) {
10014 reportError(re);
10015 recover(input,re);
10016 }
10017 finally {
10018
10019 restoreStackSize(stackSize);
10020
10021 }
10022 return ;
10023 }
10024 // $ANTLR end "rule__QualifiedName__Group_1__1"
10025
10026
10027 // $ANTLR start "rule__QualifiedName__Group_1__1__Impl"
10028 // InternalCftLanguage.g:3207:1: rule__QualifiedName__Group_1__1__Impl : ( ruleValidId ) ;
10029 public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException {
10030
10031 int stackSize = keepStackSize();
10032
10033 try {
10034 // InternalCftLanguage.g:3211:1: ( ( ruleValidId ) )
10035 // InternalCftLanguage.g:3212:1: ( ruleValidId )
10036 {
10037 // InternalCftLanguage.g:3212:1: ( ruleValidId )
10038 // InternalCftLanguage.g:3213:2: ruleValidId
10039 {
10040 before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1());
10041 pushFollow(FOLLOW_2);
10042 ruleValidId();
10043
10044 state._fsp--;
10045
10046 after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1());
10047
10048 }
10049
10050
10051 }
10052
10053 }
10054 catch (RecognitionException re) {
10055 reportError(re);
10056 recover(input,re);
10057 }
10058 finally {
10059
10060 restoreStackSize(stackSize);
10061
10062 }
10063 return ;
10064 }
10065 // $ANTLR end "rule__QualifiedName__Group_1__1__Impl"
10066
10067
10068 // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0"
10069 // InternalCftLanguage.g:3223:1: rule__QualifiedNameWithWildcard__Group__0 : rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ;
10070 public final void rule__QualifiedNameWithWildcard__Group__0() throws RecognitionException {
10071
10072 int stackSize = keepStackSize();
10073
10074 try {
10075 // InternalCftLanguage.g:3227:1: ( rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 )
10076 // InternalCftLanguage.g:3228:2: rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1
10077 {
10078 pushFollow(FOLLOW_33);
10079 rule__QualifiedNameWithWildcard__Group__0__Impl();
10080
10081 state._fsp--;
10082
10083 pushFollow(FOLLOW_2);
10084 rule__QualifiedNameWithWildcard__Group__1();
10085
10086 state._fsp--;
10087
10088
10089 }
10090
10091 }
10092 catch (RecognitionException re) {
10093 reportError(re);
10094 recover(input,re);
10095 }
10096 finally {
10097
10098 restoreStackSize(stackSize);
10099
10100 }
10101 return ;
10102 }
10103 // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0"
10104
10105
10106 // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0__Impl"
10107 // InternalCftLanguage.g:3235:1: rule__QualifiedNameWithWildcard__Group__0__Impl : ( ruleQualifiedName ) ;
10108 public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws RecognitionException {
10109
10110 int stackSize = keepStackSize();
10111
10112 try {
10113 // InternalCftLanguage.g:3239:1: ( ( ruleQualifiedName ) )
10114 // InternalCftLanguage.g:3240:1: ( ruleQualifiedName )
10115 {
10116 // InternalCftLanguage.g:3240:1: ( ruleQualifiedName )
10117 // InternalCftLanguage.g:3241:2: ruleQualifiedName
10118 {
10119 before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
10120 pushFollow(FOLLOW_2);
10121 ruleQualifiedName();
10122
10123 state._fsp--;
10124
10125 after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
10126
10127 }
10128
10129
10130 }
10131
10132 }
10133 catch (RecognitionException re) {
10134 reportError(re);
10135 recover(input,re);
10136 }
10137 finally {
10138
10139 restoreStackSize(stackSize);
10140
10141 }
10142 return ;
10143 }
10144 // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0__Impl"
10145
10146
10147 // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1"
10148 // InternalCftLanguage.g:3250:1: rule__QualifiedNameWithWildcard__Group__1 : rule__QualifiedNameWithWildcard__Group__1__Impl ;
10149 public final void rule__QualifiedNameWithWildcard__Group__1() throws RecognitionException {
10150
10151 int stackSize = keepStackSize();
10152
10153 try {
10154 // InternalCftLanguage.g:3254:1: ( rule__QualifiedNameWithWildcard__Group__1__Impl )
10155 // InternalCftLanguage.g:3255:2: rule__QualifiedNameWithWildcard__Group__1__Impl
10156 {
10157 pushFollow(FOLLOW_2);
10158 rule__QualifiedNameWithWildcard__Group__1__Impl();
10159
10160 state._fsp--;
10161
10162
10163 }
10164
10165 }
10166 catch (RecognitionException re) {
10167 reportError(re);
10168 recover(input,re);
10169 }
10170 finally {
10171
10172 restoreStackSize(stackSize);
10173
10174 }
10175 return ;
10176 }
10177 // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1"
10178
10179
10180 // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1__Impl"
10181 // InternalCftLanguage.g:3261:1: rule__QualifiedNameWithWildcard__Group__1__Impl : ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ;
10182 public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws RecognitionException {
10183
10184 int stackSize = keepStackSize();
10185
10186 try {
10187 // InternalCftLanguage.g:3265:1: ( ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) )
10188 // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? )
10189 {
10190 // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? )
10191 // InternalCftLanguage.g:3267:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )?
10192 {
10193 before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1());
10194 // InternalCftLanguage.g:3268:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )?
10195 int alt30=2;
10196 int LA30_0 = input.LA(1);
10197
10198 if ( (LA30_0==35) ) {
10199 alt30=1;
10200 }
10201 switch (alt30) {
10202 case 1 :
10203 // InternalCftLanguage.g:3268:3: rule__QualifiedNameWithWildcard__Group_1__0
10204 {
10205 pushFollow(FOLLOW_2);
10206 rule__QualifiedNameWithWildcard__Group_1__0();
10207
10208 state._fsp--;
10209
10210
10211 }
10212 break;
10213
10214 }
10215
10216 after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1());
10217
10218 }
10219
10220
10221 }
10222
10223 }
10224 catch (RecognitionException re) {
10225 reportError(re);
10226 recover(input,re);
10227 }
10228 finally {
10229
10230 restoreStackSize(stackSize);
10231
10232 }
10233 return ;
10234 }
10235 // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1__Impl"
10236
10237
10238 // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0"
10239 // InternalCftLanguage.g:3277:1: rule__QualifiedNameWithWildcard__Group_1__0 : rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ;
10240 public final void rule__QualifiedNameWithWildcard__Group_1__0() throws RecognitionException {
10241
10242 int stackSize = keepStackSize();
10243
10244 try {
10245 // InternalCftLanguage.g:3281:1: ( 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
10247 {
10248 pushFollow(FOLLOW_35);
10249 rule__QualifiedNameWithWildcard__Group_1__0__Impl();
10250
10251 state._fsp--;
10252
10253 pushFollow(FOLLOW_2);
10254 rule__QualifiedNameWithWildcard__Group_1__1();
10255
10256 state._fsp--;
10257
10258
10259 }
10260
10261 }
10262 catch (RecognitionException re) {
10263 reportError(re);
10264 recover(input,re);
10265 }
10266 finally {
10267
10268 restoreStackSize(stackSize);
10269
10270 }
10271 return ;
10272 }
10273 // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__0"
10274
10275
10276 // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0__Impl"
10277 // InternalCftLanguage.g:3289:1: rule__QualifiedNameWithWildcard__Group_1__0__Impl : ( '.' ) ;
10278 public final void rule__QualifiedNameWithWildcard__Group_1__0__Impl() throws RecognitionException {
10279
10280 int stackSize = keepStackSize();
10281
10282 try {
10283 // InternalCftLanguage.g:3293:1: ( ( '.' ) )
10284 // InternalCftLanguage.g:3294:1: ( '.' )
10285 {
10286 // InternalCftLanguage.g:3294:1: ( '.' )
10287 // InternalCftLanguage.g:3295:2: '.'
10288 {
10289 before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0());
10290 match(input,35,FOLLOW_2);
10291 after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0());
10292
10293 }
10294
10295
10296 }
10297
10298 }
10299 catch (RecognitionException re) {
10300 reportError(re);
10301 recover(input,re);
10302 }
10303 finally {
10304
10305 restoreStackSize(stackSize);
10306
10307 }
10308 return ;
10309 }
10310 // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__0__Impl"
10311
10312
10313 // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1"
10314 // InternalCftLanguage.g:3304:1: rule__QualifiedNameWithWildcard__Group_1__1 : rule__QualifiedNameWithWildcard__Group_1__1__Impl ;
10315 public final void rule__QualifiedNameWithWildcard__Group_1__1() throws RecognitionException {
10316
10317 int stackSize = keepStackSize();
10318
10319 try {
10320 // InternalCftLanguage.g:3308:1: ( rule__QualifiedNameWithWildcard__Group_1__1__Impl )
10321 // InternalCftLanguage.g:3309:2: rule__QualifiedNameWithWildcard__Group_1__1__Impl
10322 {
10323 pushFollow(FOLLOW_2);
10324 rule__QualifiedNameWithWildcard__Group_1__1__Impl();
10325
10326 state._fsp--;
10327
10328
10329 }
10330
10331 }
10332 catch (RecognitionException re) {
10333 reportError(re);
10334 recover(input,re);
10335 }
10336 finally {
10337
10338 restoreStackSize(stackSize);
10339
10340 }
10341 return ;
10342 }
10343 // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__1"
10344
10345
10346 // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1__Impl"
10347 // InternalCftLanguage.g:3315:1: rule__QualifiedNameWithWildcard__Group_1__1__Impl : ( '*' ) ;
10348 public final void rule__QualifiedNameWithWildcard__Group_1__1__Impl() throws RecognitionException {
10349
10350 int stackSize = keepStackSize();
10351
10352 try {
10353 // InternalCftLanguage.g:3319:1: ( ( '*' ) )
10354 // InternalCftLanguage.g:3320:1: ( '*' )
10355 {
10356 // InternalCftLanguage.g:3320:1: ( '*' )
10357 // InternalCftLanguage.g:3321:2: '*'
10358 {
10359 before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1());
10360 match(input,37,FOLLOW_2);
10361 after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1());
10362
10363 }
10364
10365
10366 }
10367
10368 }
10369 catch (RecognitionException re) {
10370 reportError(re);
10371 recover(input,re);
10372 }
10373 finally {
10374
10375 restoreStackSize(stackSize);
10376
10377 }
10378 return ;
10379 }
10380 // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__1__Impl"
10381
10382
10383 // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3"
10384 // InternalCftLanguage.g:3331:1: rule__ComponentDefinition__UnorderedGroup_3 : ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ;
10385 public final void rule__ComponentDefinition__UnorderedGroup_3() throws RecognitionException {
10386
10387 int stackSize = keepStackSize();
10388 getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
10389
10390 try {
10391 // InternalCftLanguage.g:3336:1: ( ( rule__ComponentDefinition__UnorderedGroup_3__0 )? )
10392 // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )?
10393 {
10394 // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )?
10395 int alt31=2;
10396 int LA31_0 = input.LA(1);
10397
10398 if ( LA31_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
10399 alt31=1;
10400 }
10401 else if ( LA31_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
10402 alt31=1;
10403 }
10404 switch (alt31) {
10405 case 1 :
10406 // InternalCftLanguage.g:3337:2: rule__ComponentDefinition__UnorderedGroup_3__0
10407 {
10408 pushFollow(FOLLOW_2);
10409 rule__ComponentDefinition__UnorderedGroup_3__0();
10410
10411 state._fsp--;
10412
10413
10414 }
10415 break;
10416
10417 }
10418
10419
10420 }
10421
10422 }
10423 catch (RecognitionException re) {
10424 reportError(re);
10425 recover(input,re);
10426 }
10427 finally {
10428
10429 getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
10430 restoreStackSize(stackSize);
10431
10432 }
10433 return ;
10434 }
10435 // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3"
10436
10437
10438 // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__Impl"
10439 // InternalCftLanguage.g:3345:1: rule__ComponentDefinition__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ;
10440 public final void rule__ComponentDefinition__UnorderedGroup_3__Impl() throws RecognitionException {
10441
10442 int stackSize = keepStackSize();
10443 boolean selected = false;
10444
10445 try {
10446 // InternalCftLanguage.g:3350:1: ( ( ({...}? => ( ( ( 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 ) ) ) ) )
10448 {
10449 // InternalCftLanguage.g:3351:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) )
10450 int alt32=2;
10451 int LA32_0 = input.LA(1);
10452
10453 if ( LA32_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
10454 alt32=1;
10455 }
10456 else if ( LA32_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
10457 alt32=2;
10458 }
10459 else {
10460 NoViableAltException nvae =
10461 new NoViableAltException("", 32, 0, input);
10462
10463 throw nvae;
10464 }
10465 switch (alt32) {
10466 case 1 :
10467 // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) )
10468 {
10469 // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) )
10470 // InternalCftLanguage.g:3353:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) )
10471 {
10472 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
10473 throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)");
10474 }
10475 // InternalCftLanguage.g:3353:115: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) )
10476 // InternalCftLanguage.g:3354:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
10477 {
10478
10479 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0);
10480
10481
10482 selected = true;
10483
10484 // InternalCftLanguage.g:3360:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
10485 // InternalCftLanguage.g:3361:6: ( rule__ComponentDefinition__Group_3_0__0 )
10486 {
10487 before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0());
10488 // InternalCftLanguage.g:3362:6: ( rule__ComponentDefinition__Group_3_0__0 )
10489 // InternalCftLanguage.g:3362:7: rule__ComponentDefinition__Group_3_0__0
10490 {
10491 pushFollow(FOLLOW_2);
10492 rule__ComponentDefinition__Group_3_0__0();
10493
10494 state._fsp--;
10495
10496
10497 }
10498
10499 after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0());
10500
10501 }
10502
10503
10504 }
10505
10506
10507 }
10508
10509
10510 }
10511 break;
10512 case 2 :
10513 // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) )
10514 {
10515 // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) )
10516 // InternalCftLanguage.g:3368:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) )
10517 {
10518 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
10519 throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)");
10520 }
10521 // InternalCftLanguage.g:3368:115: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) )
10522 // InternalCftLanguage.g:3369:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
10523 {
10524
10525 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1);
10526
10527
10528 selected = true;
10529
10530 // InternalCftLanguage.g:3375:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
10531 // InternalCftLanguage.g:3376:6: ( rule__ComponentDefinition__Group_3_1__0 )
10532 {
10533 before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1());
10534 // InternalCftLanguage.g:3377:6: ( rule__ComponentDefinition__Group_3_1__0 )
10535 // InternalCftLanguage.g:3377:7: rule__ComponentDefinition__Group_3_1__0
10536 {
10537 pushFollow(FOLLOW_2);
10538 rule__ComponentDefinition__Group_3_1__0();
10539
10540 state._fsp--;
10541
10542
10543 }
10544
10545 after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1());
10546
10547 }
10548
10549
10550 }
10551
10552
10553 }
10554
10555
10556 }
10557 break;
10558
10559 }
10560
10561
10562 }
10563
10564 }
10565 catch (RecognitionException re) {
10566 reportError(re);
10567 recover(input,re);
10568 }
10569 finally {
10570
10571 if (selected)
10572 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
10573 restoreStackSize(stackSize);
10574
10575 }
10576 return ;
10577 }
10578 // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__Impl"
10579
10580
10581 // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__0"
10582 // InternalCftLanguage.g:3390:1: rule__ComponentDefinition__UnorderedGroup_3__0 : rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ;
10583 public final void rule__ComponentDefinition__UnorderedGroup_3__0() throws RecognitionException {
10584
10585 int stackSize = keepStackSize();
10586
10587 try {
10588 // InternalCftLanguage.g:3394:1: ( 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 )?
10590 {
10591 pushFollow(FOLLOW_36);
10592 rule__ComponentDefinition__UnorderedGroup_3__Impl();
10593
10594 state._fsp--;
10595
10596 // InternalCftLanguage.g:3396:2: ( rule__ComponentDefinition__UnorderedGroup_3__1 )?
10597 int alt33=2;
10598 int LA33_0 = input.LA(1);
10599
10600 if ( LA33_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
10601 alt33=1;
10602 }
10603 else if ( LA33_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
10604 alt33=1;
10605 }
10606 switch (alt33) {
10607 case 1 :
10608 // InternalCftLanguage.g:3396:2: rule__ComponentDefinition__UnorderedGroup_3__1
10609 {
10610 pushFollow(FOLLOW_2);
10611 rule__ComponentDefinition__UnorderedGroup_3__1();
10612
10613 state._fsp--;
10614
10615
10616 }
10617 break;
10618
10619 }
10620
10621
10622 }
10623
10624 }
10625 catch (RecognitionException re) {
10626 reportError(re);
10627 recover(input,re);
10628 }
10629 finally {
10630
10631 restoreStackSize(stackSize);
10632
10633 }
10634 return ;
10635 }
10636 // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__0"
10637
10638
10639 // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__1"
10640 // InternalCftLanguage.g:3402:1: rule__ComponentDefinition__UnorderedGroup_3__1 : rule__ComponentDefinition__UnorderedGroup_3__Impl ;
10641 public final void rule__ComponentDefinition__UnorderedGroup_3__1() throws RecognitionException {
10642
10643 int stackSize = keepStackSize();
10644
10645 try {
10646 // InternalCftLanguage.g:3406:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl )
10647 // InternalCftLanguage.g:3407:2: rule__ComponentDefinition__UnorderedGroup_3__Impl
10648 {
10649 pushFollow(FOLLOW_2);
10650 rule__ComponentDefinition__UnorderedGroup_3__Impl();
10651
10652 state._fsp--;
10653
10654
10655 }
10656
10657 }
10658 catch (RecognitionException re) {
10659 reportError(re);
10660 recover(input,re);
10661 }
10662 finally {
10663
10664 restoreStackSize(stackSize);
10665
10666 }
10667 return ;
10668 }
10669 // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__1"
10670
10671
10672 // $ANTLR start "rule__CftModel__PackageNameAssignment_1"
10673 // InternalCftLanguage.g:3414:1: rule__CftModel__PackageNameAssignment_1 : ( ruleQualifiedName ) ;
10674 public final void rule__CftModel__PackageNameAssignment_1() throws RecognitionException {
10675
10676 int stackSize = keepStackSize();
10677
10678 try {
10679 // InternalCftLanguage.g:3418:1: ( ( ruleQualifiedName ) )
10680 // InternalCftLanguage.g:3419:2: ( ruleQualifiedName )
10681 {
10682 // InternalCftLanguage.g:3419:2: ( ruleQualifiedName )
10683 // InternalCftLanguage.g:3420:3: ruleQualifiedName
10684 {
10685 before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0());
10686 pushFollow(FOLLOW_2);
10687 ruleQualifiedName();
10688
10689 state._fsp--;
10690
10691 after(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0());
10692
10693 }
10694
10695
10696 }
10697
10698 }
10699 catch (RecognitionException re) {
10700 reportError(re);
10701 recover(input,re);
10702 }
10703 finally {
10704
10705 restoreStackSize(stackSize);
10706
10707 }
10708 return ;
10709 }
10710 // $ANTLR end "rule__CftModel__PackageNameAssignment_1"
10711
10712
10713 // $ANTLR start "rule__CftModel__ImportsAssignment_3"
10714 // InternalCftLanguage.g:3429:1: rule__CftModel__ImportsAssignment_3 : ( ruleImportDeclaration ) ;
10715 public final void rule__CftModel__ImportsAssignment_3() throws RecognitionException {
10716
10717 int stackSize = keepStackSize();
10718
10719 try {
10720 // InternalCftLanguage.g:3433:1: ( ( ruleImportDeclaration ) )
10721 // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration )
10722 {
10723 // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration )
10724 // InternalCftLanguage.g:3435:3: ruleImportDeclaration
10725 {
10726 before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0());
10727 pushFollow(FOLLOW_2);
10728 ruleImportDeclaration();
10729
10730 state._fsp--;
10731
10732 after(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0());
10733
10734 }
10735
10736
10737 }
10738
10739 }
10740 catch (RecognitionException re) {
10741 reportError(re);
10742 recover(input,re);
10743 }
10744 finally {
10745
10746 restoreStackSize(stackSize);
10747
10748 }
10749 return ;
10750 }
10751 // $ANTLR end "rule__CftModel__ImportsAssignment_3"
10752
10753
10754 // $ANTLR start "rule__CftModel__ComponentDefinitionsAssignment_4_0"
10755 // InternalCftLanguage.g:3444:1: rule__CftModel__ComponentDefinitionsAssignment_4_0 : ( ruleComponentDefinition ) ;
10756 public final void rule__CftModel__ComponentDefinitionsAssignment_4_0() throws RecognitionException {
10757
10758 int stackSize = keepStackSize();
10759
10760 try {
10761 // InternalCftLanguage.g:3448:1: ( ( ruleComponentDefinition ) )
10762 // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition )
10763 {
10764 // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition )
10765 // InternalCftLanguage.g:3450:3: ruleComponentDefinition
10766 {
10767 before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0());
10768 pushFollow(FOLLOW_2);
10769 ruleComponentDefinition();
10770
10771 state._fsp--;
10772
10773 after(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0());
10774
10775 }
10776
10777
10778 }
10779
10780 }
10781 catch (RecognitionException re) {
10782 reportError(re);
10783 recover(input,re);
10784 }
10785 finally {
10786
10787 restoreStackSize(stackSize);
10788
10789 }
10790 return ;
10791 }
10792 // $ANTLR end "rule__CftModel__ComponentDefinitionsAssignment_4_0"
10793
10794
10795 // $ANTLR start "rule__CftModel__TransformationDefinitionsAssignment_4_1"
10796 // InternalCftLanguage.g:3459:1: rule__CftModel__TransformationDefinitionsAssignment_4_1 : ( ruleTransformationDefinition ) ;
10797 public final void rule__CftModel__TransformationDefinitionsAssignment_4_1() throws RecognitionException {
10798
10799 int stackSize = keepStackSize();
10800
10801 try {
10802 // InternalCftLanguage.g:3463:1: ( ( ruleTransformationDefinition ) )
10803 // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition )
10804 {
10805 // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition )
10806 // InternalCftLanguage.g:3465:3: ruleTransformationDefinition
10807 {
10808 before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0());
10809 pushFollow(FOLLOW_2);
10810 ruleTransformationDefinition();
10811
10812 state._fsp--;
10813
10814 after(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0());
10815
10816 }
10817
10818
10819 }
10820
10821 }
10822 catch (RecognitionException re) {
10823 reportError(re);
10824 recover(input,re);
10825 }
10826 finally {
10827
10828 restoreStackSize(stackSize);
10829
10830 }
10831 return ;
10832 }
10833 // $ANTLR end "rule__CftModel__TransformationDefinitionsAssignment_4_1"
10834
10835
10836 // $ANTLR start "rule__ImportDeclaration__ImportedNamespaceAssignment_1"
10837 // InternalCftLanguage.g:3474:1: rule__ImportDeclaration__ImportedNamespaceAssignment_1 : ( ruleQualifiedNameWithWildcard ) ;
10838 public final void rule__ImportDeclaration__ImportedNamespaceAssignment_1() throws RecognitionException {
10839
10840 int stackSize = keepStackSize();
10841
10842 try {
10843 // InternalCftLanguage.g:3478:1: ( ( ruleQualifiedNameWithWildcard ) )
10844 // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard )
10845 {
10846 // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard )
10847 // InternalCftLanguage.g:3480:3: ruleQualifiedNameWithWildcard
10848 {
10849 before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
10850 pushFollow(FOLLOW_2);
10851 ruleQualifiedNameWithWildcard();
10852
10853 state._fsp--;
10854
10855 after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
10856
10857 }
10858
10859
10860 }
10861
10862 }
10863 catch (RecognitionException re) {
10864 reportError(re);
10865 recover(input,re);
10866 }
10867 finally {
10868
10869 restoreStackSize(stackSize);
10870
10871 }
10872 return ;
10873 }
10874 // $ANTLR end "rule__ImportDeclaration__ImportedNamespaceAssignment_1"
10875
10876
10877 // $ANTLR start "rule__ComponentDefinition__NameAssignment_1"
10878 // InternalCftLanguage.g:3489:1: rule__ComponentDefinition__NameAssignment_1 : ( ruleValidId ) ;
10879 public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException {
10880
10881 int stackSize = keepStackSize();
10882
10883 try {
10884 // InternalCftLanguage.g:3493:1: ( ( ruleValidId ) )
10885 // InternalCftLanguage.g:3494:2: ( ruleValidId )
10886 {
10887 // InternalCftLanguage.g:3494:2: ( ruleValidId )
10888 // InternalCftLanguage.g:3495:3: ruleValidId
10889 {
10890 before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0());
10891 pushFollow(FOLLOW_2);
10892 ruleValidId();
10893
10894 state._fsp--;
10895
10896 after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0());
10897
10898 }
10899
10900
10901 }
10902
10903 }
10904 catch (RecognitionException re) {
10905 reportError(re);
10906 recover(input,re);
10907 }
10908 finally {
10909
10910 restoreStackSize(stackSize);
10911
10912 }
10913 return ;
10914 }
10915 // $ANTLR end "rule__ComponentDefinition__NameAssignment_1"
10916
10917
10918 // $ANTLR start "rule__ComponentDefinition__InputEventsAssignment_3_0_1"
10919 // InternalCftLanguage.g:3504:1: rule__ComponentDefinition__InputEventsAssignment_3_0_1 : ( ruleInputEvent ) ;
10920 public final void rule__ComponentDefinition__InputEventsAssignment_3_0_1() throws RecognitionException {
10921
10922 int stackSize = keepStackSize();
10923
10924 try {
10925 // InternalCftLanguage.g:3508:1: ( ( ruleInputEvent ) )
10926 // InternalCftLanguage.g:3509:2: ( ruleInputEvent )
10927 {
10928 // InternalCftLanguage.g:3509:2: ( ruleInputEvent )
10929 // InternalCftLanguage.g:3510:3: ruleInputEvent
10930 {
10931 before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0());
10932 pushFollow(FOLLOW_2);
10933 ruleInputEvent();
10934
10935 state._fsp--;
10936
10937 after(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0());
10938
10939 }
10940
10941
10942 }
10943
10944 }
10945 catch (RecognitionException re) {
10946 reportError(re);
10947 recover(input,re);
10948 }
10949 finally {
10950
10951 restoreStackSize(stackSize);
10952
10953 }
10954 return ;
10955 }
10956 // $ANTLR end "rule__ComponentDefinition__InputEventsAssignment_3_0_1"
10957
10958
10959 // $ANTLR start "rule__ComponentDefinition__OutputEventsAssignment_3_1_1"
10960 // InternalCftLanguage.g:3519:1: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 : ( ( ruleValidId ) ) ;
10961 public final void rule__ComponentDefinition__OutputEventsAssignment_3_1_1() throws RecognitionException {
10962
10963 int stackSize = keepStackSize();
10964
10965 try {
10966 // InternalCftLanguage.g:3523:1: ( ( ( ruleValidId ) ) )
10967 // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) )
10968 {
10969 // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) )
10970 // InternalCftLanguage.g:3525:3: ( ruleValidId )
10971 {
10972 before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0());
10973 // InternalCftLanguage.g:3526:3: ( ruleValidId )
10974 // InternalCftLanguage.g:3527:4: ruleValidId
10975 {
10976 before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1());
10977 pushFollow(FOLLOW_2);
10978 ruleValidId();
10979
10980 state._fsp--;
10981
10982 after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1());
10983
10984 }
10985
10986 after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0());
10987
10988 }
10989
10990
10991 }
10992
10993 }
10994 catch (RecognitionException re) {
10995 reportError(re);
10996 recover(input,re);
10997 }
10998 finally {
10999
11000 restoreStackSize(stackSize);
11001
11002 }
11003 return ;
11004 }
11005 // $ANTLR end "rule__ComponentDefinition__OutputEventsAssignment_3_1_1"
11006
11007
11008 // $ANTLR start "rule__ComponentDefinition__EventDefinitionsAssignment_4_0"
11009 // InternalCftLanguage.g:3538:1: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 : ( ruleEventDefinition ) ;
11010 public final void rule__ComponentDefinition__EventDefinitionsAssignment_4_0() throws RecognitionException {
11011
11012 int stackSize = keepStackSize();
11013
11014 try {
11015 // InternalCftLanguage.g:3542:1: ( ( ruleEventDefinition ) )
11016 // InternalCftLanguage.g:3543:2: ( ruleEventDefinition )
11017 {
11018 // InternalCftLanguage.g:3543:2: ( ruleEventDefinition )
11019 // InternalCftLanguage.g:3544:3: ruleEventDefinition
11020 {
11021 before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0());
11022 pushFollow(FOLLOW_2);
11023 ruleEventDefinition();
11024
11025 state._fsp--;
11026
11027 after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0());
11028
11029 }
11030
11031
11032 }
11033
11034 }
11035 catch (RecognitionException re) {
11036 reportError(re);
11037 recover(input,re);
11038 }
11039 finally {
11040
11041 restoreStackSize(stackSize);
11042
11043 }
11044 return ;
11045 }
11046 // $ANTLR end "rule__ComponentDefinition__EventDefinitionsAssignment_4_0"
11047
11048
11049 // $ANTLR start "rule__InputEvent__NameAssignment_0"
11050 // InternalCftLanguage.g:3553:1: rule__InputEvent__NameAssignment_0 : ( ruleValidId ) ;
11051 public final void rule__InputEvent__NameAssignment_0() throws RecognitionException {
11052
11053 int stackSize = keepStackSize();
11054
11055 try {
11056 // InternalCftLanguage.g:3557:1: ( ( ruleValidId ) )
11057 // InternalCftLanguage.g:3558:2: ( ruleValidId )
11058 {
11059 // InternalCftLanguage.g:3558:2: ( ruleValidId )
11060 // InternalCftLanguage.g:3559:3: ruleValidId
11061 {
11062 before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0());
11063 pushFollow(FOLLOW_2);
11064 ruleValidId();
11065
11066 state._fsp--;
11067
11068 after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0());
11069
11070 }
11071
11072
11073 }
11074
11075 }
11076 catch (RecognitionException re) {
11077 reportError(re);
11078 recover(input,re);
11079 }
11080 finally {
11081
11082 restoreStackSize(stackSize);
11083
11084 }
11085 return ;
11086 }
11087 // $ANTLR end "rule__InputEvent__NameAssignment_0"
11088
11089
11090 // $ANTLR start "rule__InputEvent__MultipleAssignment_1"
11091 // InternalCftLanguage.g:3568:1: rule__InputEvent__MultipleAssignment_1 : ( ( '[]' ) ) ;
11092 public final void rule__InputEvent__MultipleAssignment_1() throws RecognitionException {
11093
11094 int stackSize = keepStackSize();
11095
11096 try {
11097 // InternalCftLanguage.g:3572:1: ( ( ( '[]' ) ) )
11098 // InternalCftLanguage.g:3573:2: ( ( '[]' ) )
11099 {
11100 // InternalCftLanguage.g:3573:2: ( ( '[]' ) )
11101 // InternalCftLanguage.g:3574:3: ( '[]' )
11102 {
11103 before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
11104 // InternalCftLanguage.g:3575:3: ( '[]' )
11105 // InternalCftLanguage.g:3576:4: '[]'
11106 {
11107 before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
11108 match(input,38,FOLLOW_2);
11109 after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
11110
11111 }
11112
11113 after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
11114
11115 }
11116
11117
11118 }
11119
11120 }
11121 catch (RecognitionException re) {
11122 reportError(re);
11123 recover(input,re);
11124 }
11125 finally {
11126
11127 restoreStackSize(stackSize);
11128
11129 }
11130 return ;
11131 }
11132 // $ANTLR end "rule__InputEvent__MultipleAssignment_1"
11133
11134
11135 // $ANTLR start "rule__BasicEventDefinition__NameAssignment_0"
11136 // InternalCftLanguage.g:3587:1: rule__BasicEventDefinition__NameAssignment_0 : ( ruleValidId ) ;
11137 public final void rule__BasicEventDefinition__NameAssignment_0() throws RecognitionException {
11138
11139 int stackSize = keepStackSize();
11140
11141 try {
11142 // InternalCftLanguage.g:3591:1: ( ( ruleValidId ) )
11143 // InternalCftLanguage.g:3592:2: ( ruleValidId )
11144 {
11145 // InternalCftLanguage.g:3592:2: ( ruleValidId )
11146 // InternalCftLanguage.g:3593:3: ruleValidId
11147 {
11148 before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0());
11149 pushFollow(FOLLOW_2);
11150 ruleValidId();
11151
11152 state._fsp--;
11153
11154 after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0());
11155
11156 }
11157
11158
11159 }
11160
11161 }
11162 catch (RecognitionException re) {
11163 reportError(re);
11164 recover(input,re);
11165 }
11166 finally {
11167
11168 restoreStackSize(stackSize);
11169
11170 }
11171 return ;
11172 }
11173 // $ANTLR end "rule__BasicEventDefinition__NameAssignment_0"
11174
11175
11176 // $ANTLR start "rule__BasicEventDefinition__DistributionAssignment_1"
11177 // InternalCftLanguage.g:3602:1: rule__BasicEventDefinition__DistributionAssignment_1 : ( ruleDistribution ) ;
11178 public final void rule__BasicEventDefinition__DistributionAssignment_1() throws RecognitionException {
11179
11180 int stackSize = keepStackSize();
11181
11182 try {
11183 // InternalCftLanguage.g:3606:1: ( ( ruleDistribution ) )
11184 // InternalCftLanguage.g:3607:2: ( ruleDistribution )
11185 {
11186 // InternalCftLanguage.g:3607:2: ( ruleDistribution )
11187 // InternalCftLanguage.g:3608:3: ruleDistribution
11188 {
11189 before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0());
11190 pushFollow(FOLLOW_2);
11191 ruleDistribution();
11192
11193 state._fsp--;
11194
11195 after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0());
11196
11197 }
11198
11199
11200 }
11201
11202 }
11203 catch (RecognitionException re) {
11204 reportError(re);
11205 recover(input,re);
11206 }
11207 finally {
11208
11209 restoreStackSize(stackSize);
11210
11211 }
11212 return ;
11213 }
11214 // $ANTLR end "rule__BasicEventDefinition__DistributionAssignment_1"
11215
11216
11217 // $ANTLR start "rule__ConstantDistribution__PAssignment_2"
11218 // InternalCftLanguage.g:3617:1: rule__ConstantDistribution__PAssignment_2 : ( ruleDouble ) ;
11219 public final void rule__ConstantDistribution__PAssignment_2() throws RecognitionException {
11220
11221 int stackSize = keepStackSize();
11222
11223 try {
11224 // InternalCftLanguage.g:3621:1: ( ( ruleDouble ) )
11225 // InternalCftLanguage.g:3622:2: ( ruleDouble )
11226 {
11227 // InternalCftLanguage.g:3622:2: ( ruleDouble )
11228 // InternalCftLanguage.g:3623:3: ruleDouble
11229 {
11230 before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0());
11231 pushFollow(FOLLOW_2);
11232 ruleDouble();
11233
11234 state._fsp--;
11235
11236 after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0());
11237
11238 }
11239
11240
11241 }
11242
11243 }
11244 catch (RecognitionException re) {
11245 reportError(re);
11246 recover(input,re);
11247 }
11248 finally {
11249
11250 restoreStackSize(stackSize);
11251
11252 }
11253 return ;
11254 }
11255 // $ANTLR end "rule__ConstantDistribution__PAssignment_2"
11256
11257
11258 // $ANTLR start "rule__ExponentialDistribution__LambdaAssignment_2"
11259 // InternalCftLanguage.g:3632:1: rule__ExponentialDistribution__LambdaAssignment_2 : ( ruleDouble ) ;
11260 public final void rule__ExponentialDistribution__LambdaAssignment_2() throws RecognitionException {
11261
11262 int stackSize = keepStackSize();
11263
11264 try {
11265 // InternalCftLanguage.g:3636:1: ( ( ruleDouble ) )
11266 // InternalCftLanguage.g:3637:2: ( ruleDouble )
11267 {
11268 // InternalCftLanguage.g:3637:2: ( ruleDouble )
11269 // InternalCftLanguage.g:3638:3: ruleDouble
11270 {
11271 before(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0());
11272 pushFollow(FOLLOW_2);
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 )
11308 {
11309 // InternalCftLanguage.g:3652:2: ( ruleValidId )
11310 // InternalCftLanguage.g:3653:3: ruleValidId
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());
11364
11365 }
11366
11367 after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
11368
11369 }
11370
11371
11372 }
11373
11374 }
11375 catch (RecognitionException re) {
11376 reportError(re);
11377 recover(input,re);
11378 }
11379 finally {
11380
11381 restoreStackSize(stackSize);
11382
11383 }
11384 return ;
11385 }
11386 // $ANTLR end "rule__AndGateDefinition__InputEventsAssignment_2"
11387
11388
11389 // $ANTLR start "rule__OrGateDefinition__NameAssignment_0"
11390 // InternalCftLanguage.g:3681:1: rule__OrGateDefinition__NameAssignment_0 : ( ruleValidId ) ;
11391 public final void rule__OrGateDefinition__NameAssignment_0() throws RecognitionException {
11392
11393 int stackSize = keepStackSize();
11394
11395 try {
11396 // InternalCftLanguage.g:3685:1: ( ( ruleValidId ) )
11397 // InternalCftLanguage.g:3686:2: ( ruleValidId )
11398 {
11399 // InternalCftLanguage.g:3686:2: ( ruleValidId )
11400 // InternalCftLanguage.g:3687:3: ruleValidId
11401 {
11402 before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
11403 pushFollow(FOLLOW_2);
11404 ruleValidId();
11405
11406 state._fsp--;
11407
11408 after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
11409
11410 }
11411
11412
11413 }
11414
11415 }
11416 catch (RecognitionException re) {
11417 reportError(re);
11418 recover(input,re);
11419 }
11420 finally {
11421
11422 restoreStackSize(stackSize);
11423
11424 }
11425 return ;
11426 }
11427 // $ANTLR end "rule__OrGateDefinition__NameAssignment_0"
11428
11429
11430 // $ANTLR start "rule__OrGateDefinition__InputEventsAssignment_2"
11431 // InternalCftLanguage.g:3696:1: rule__OrGateDefinition__InputEventsAssignment_2 : ( ( ruleValidId ) ) ;
11432 public final void rule__OrGateDefinition__InputEventsAssignment_2() throws RecognitionException {
11433
11434 int stackSize = keepStackSize();
11435
11436 try {
11437 // InternalCftLanguage.g:3700:1: ( ( ( ruleValidId ) ) )
11438 // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) )
11439 {
11440 // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) )
11441 // InternalCftLanguage.g:3702:3: ( ruleValidId )
11442 {
11443 before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
11444 // InternalCftLanguage.g:3703:3: ( ruleValidId )
11445 // InternalCftLanguage.g:3704:4: ruleValidId
11446 {
11447 before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1());
11448 pushFollow(FOLLOW_2);
11449 ruleValidId();
11450
11451 state._fsp--;
11452
11453 after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1());
11454
11455 }
11456
11457 after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
11458
11459 }
11460
11461
11462 }
11463
11464 }
11465 catch (RecognitionException re) {
11466 reportError(re);
11467 recover(input,re);
11468 }
11469 finally {
11470
11471 restoreStackSize(stackSize);
11472
11473 }
11474 return ;
11475 }
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"
11678
11679
11680 // $ANTLR start "rule__TransformationDefinition__NameAssignment_1"
11681 // InternalCftLanguage.g:3794:1: rule__TransformationDefinition__NameAssignment_1 : ( ruleValidId ) ;
11682 public final void rule__TransformationDefinition__NameAssignment_1() throws RecognitionException {
11683
11684 int stackSize = keepStackSize();
11685
11686 try {
11687 // InternalCftLanguage.g:3798:1: ( ( ruleValidId ) )
11688 // InternalCftLanguage.g:3799:2: ( ruleValidId )
11689 {
11690 // InternalCftLanguage.g:3799:2: ( ruleValidId )
11691 // InternalCftLanguage.g:3800:3: ruleValidId
11692 {
11693 before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0());
11694 pushFollow(FOLLOW_2);
11695 ruleValidId();
11696
11697 state._fsp--;
11698
11699 after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0());
11700
11701 }
11702
11703
11704 }
11705
11706 }
11707 catch (RecognitionException re) {
11708 reportError(re);
11709 recover(input,re);
11710 }
11711 finally {
11712
11713 restoreStackSize(stackSize);
11714
11715 }
11716 return ;
11717 }
11718 // $ANTLR end "rule__TransformationDefinition__NameAssignment_1"
11719
11720
11721 // $ANTLR start "rule__TransformationDefinition__MappingDefinitionsAssignment_3"
11722 // InternalCftLanguage.g:3809:1: rule__TransformationDefinition__MappingDefinitionsAssignment_3 : ( ruleMappingDefinition ) ;
11723 public final void rule__TransformationDefinition__MappingDefinitionsAssignment_3() throws RecognitionException {
11724
11725 int stackSize = keepStackSize();
11726
11727 try {
11728 // InternalCftLanguage.g:3813:1: ( ( ruleMappingDefinition ) )
11729 // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition )
11730 {
11731 // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition )
11732 // InternalCftLanguage.g:3815:3: ruleMappingDefinition
11733 {
11734 before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0());
11735 pushFollow(FOLLOW_2);
11736 ruleMappingDefinition();
11737
11738 state._fsp--;
11739
11740 after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0());
11741
11742 }
11743
11744
11745 }
11746
11747 }
11748 catch (RecognitionException re) {
11749 reportError(re);
11750 recover(input,re);
11751 }
11752 finally {
11753
11754 restoreStackSize(stackSize);
11755
11756 }
11757 return ;
11758 }
11759 // $ANTLR end "rule__TransformationDefinition__MappingDefinitionsAssignment_3"
11760
11761
11762 // $ANTLR start "rule__MappingDefinition__TopLevelAssignment_0"
11763 // InternalCftLanguage.g:3824:1: rule__MappingDefinition__TopLevelAssignment_0 : ( ( 'toplevel' ) ) ;
11764 public final void rule__MappingDefinition__TopLevelAssignment_0() throws RecognitionException {
11765
11766 int stackSize = keepStackSize();
11767
11768 try {
11769 // InternalCftLanguage.g:3828:1: ( ( ( 'toplevel' ) ) )
11770 // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) )
11771 {
11772 // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) )
11773 // InternalCftLanguage.g:3830:3: ( 'toplevel' )
11774 {
11775 before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
11776 // InternalCftLanguage.g:3831:3: ( 'toplevel' )
11777 // InternalCftLanguage.g:3832:4: 'toplevel'
11778 {
11779 before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
11780 match(input,39,FOLLOW_2);
11781 after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
11782
11783 }
11784
11785 after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
11786
11787 }
11788
11789
11790 }
11791
11792 }
11793 catch (RecognitionException re) {
11794 reportError(re);
11795 recover(input,re);
11796 }
11797 finally {
11798
11799 restoreStackSize(stackSize);
11800
11801 }
11802 return ;
11803 }
11804 // $ANTLR end "rule__MappingDefinition__TopLevelAssignment_0"
11805
11806
11807 // $ANTLR start "rule__MappingDefinition__PatternAssignment_2"
11808 // InternalCftLanguage.g:3843:1: rule__MappingDefinition__PatternAssignment_2 : ( ( ruleQualifiedName ) ) ;
11809 public final void rule__MappingDefinition__PatternAssignment_2() throws RecognitionException {
11810
11811 int stackSize = keepStackSize();
11812
11813 try {
11814 // InternalCftLanguage.g:3847:1: ( ( ( ruleQualifiedName ) ) )
11815 // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) )
11816 {
11817 // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) )
11818 // InternalCftLanguage.g:3849:3: ( ruleQualifiedName )
11819 {
11820 before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0());
11821 // InternalCftLanguage.g:3850:3: ( ruleQualifiedName )
11822 // InternalCftLanguage.g:3851:4: ruleQualifiedName
11823 {
11824 before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1());
11825 pushFollow(FOLLOW_2);
11826 ruleQualifiedName();
11827
11828 state._fsp--;
11829
11830 after(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1());
11831
11832 }
11833
11834 after(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0());
11835
11836 }
11837
11838
11839 }
11840
11841 }
11842 catch (RecognitionException re) {
11843 reportError(re);
11844 recover(input,re);
11845 }
11846 finally {
11847
11848 restoreStackSize(stackSize);
11849
11850 }
11851 return ;
11852 }
11853 // $ANTLR end "rule__MappingDefinition__PatternAssignment_2"
11854
11855
11856 // $ANTLR start "rule__MappingDefinition__ParametersAssignment_4"
11857 // InternalCftLanguage.g:3862:1: rule__MappingDefinition__ParametersAssignment_4 : ( ruleMappingParameter ) ;
11858 public final void rule__MappingDefinition__ParametersAssignment_4() throws RecognitionException {
11859
11860 int stackSize = keepStackSize();
11861
11862 try {
11863 // InternalCftLanguage.g:3866:1: ( ( ruleMappingParameter ) )
11864 // InternalCftLanguage.g:3867:2: ( ruleMappingParameter )
11865 {
11866 // InternalCftLanguage.g:3867:2: ( ruleMappingParameter )
11867 // InternalCftLanguage.g:3868:3: ruleMappingParameter
11868 {
11869 before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0());
11870 pushFollow(FOLLOW_2);
11871 ruleMappingParameter();
11872
11873 state._fsp--;
11874
11875 after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0());
11876
11877 }
11878
11879
11880 }
11881
11882 }
11883 catch (RecognitionException re) {
11884 reportError(re);
11885 recover(input,re);
11886 }
11887 finally {
11888
11889 restoreStackSize(stackSize);
11890
11891 }
11892 return ;
11893 }
11894 // $ANTLR end "rule__MappingDefinition__ParametersAssignment_4"
11895
11896
11897 // $ANTLR start "rule__MappingDefinition__ParametersAssignment_5_1"
11898 // InternalCftLanguage.g:3877:1: rule__MappingDefinition__ParametersAssignment_5_1 : ( ruleMappingParameter ) ;
11899 public final void rule__MappingDefinition__ParametersAssignment_5_1() throws RecognitionException {
11900
11901 int stackSize = keepStackSize();
11902
11903 try {
11904 // InternalCftLanguage.g:3881:1: ( ( ruleMappingParameter ) )
11905 // InternalCftLanguage.g:3882:2: ( ruleMappingParameter )
11906 {
11907 // InternalCftLanguage.g:3882:2: ( ruleMappingParameter )
11908 // InternalCftLanguage.g:3883:3: ruleMappingParameter
11909 {
11910 before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0());
11911 pushFollow(FOLLOW_2);
11912 ruleMappingParameter();
11913
11914 state._fsp--;
11915
11916 after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0());
11917
11918 }
11919
11920
11921 }
11922
11923 }
11924 catch (RecognitionException re) {
11925 reportError(re);
11926 recover(input,re);
11927 }
11928 finally {
11929
11930 restoreStackSize(stackSize);
11931
11932 }
11933 return ;
11934 }
11935 // $ANTLR end "rule__MappingDefinition__ParametersAssignment_5_1"
11936
11937
11938 // $ANTLR start "rule__MappingDefinition__ComponentInstanceAssignment_7"
11939 // InternalCftLanguage.g:3892:1: rule__MappingDefinition__ComponentInstanceAssignment_7 : ( ruleComponentInstance ) ;
11940 public final void rule__MappingDefinition__ComponentInstanceAssignment_7() throws RecognitionException {
11941
11942 int stackSize = keepStackSize();
11943
11944 try {
11945 // InternalCftLanguage.g:3896:1: ( ( ruleComponentInstance ) )
11946 // InternalCftLanguage.g:3897:2: ( ruleComponentInstance )
11947 {
11948 // InternalCftLanguage.g:3897:2: ( ruleComponentInstance )
11949 // InternalCftLanguage.g:3898:3: ruleComponentInstance
11950 {
11951 before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0());
11952 pushFollow(FOLLOW_2);
11953 ruleComponentInstance();
11954
11955 state._fsp--;
11956
11957 after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0());
11958
11959 }
11960
11961
11962 }
11963
11964 }
11965 catch (RecognitionException re) {
11966 reportError(re);
11967 recover(input,re);
11968 }
11969 finally {
11970
11971 restoreStackSize(stackSize);
11972
11973 }
11974 return ;
11975 }
11976 // $ANTLR end "rule__MappingDefinition__ComponentInstanceAssignment_7"
11977
11978
11979 // $ANTLR start "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0"
11980 // InternalCftLanguage.g:3907:1: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 : ( ruleLookupDefinition ) ;
11981 public final void rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0() throws RecognitionException {
11982
11983 int stackSize = keepStackSize();
11984
11985 try {
11986 // InternalCftLanguage.g:3911:1: ( ( ruleLookupDefinition ) )
11987 // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition )
11988 {
11989 // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition )
11990 // InternalCftLanguage.g:3913:3: ruleLookupDefinition
11991 {
11992 before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0());
11993 pushFollow(FOLLOW_2);
11994 ruleLookupDefinition();
11995
11996 state._fsp--;
11997
11998 after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0());
11999
12000 }
12001
12002
12003 }
12004
12005 }
12006 catch (RecognitionException re) {
12007 reportError(re);
12008 recover(input,re);
12009 }
12010 finally {
12011
12012 restoreStackSize(stackSize);
12013
12014 }
12015 return ;
12016 }
12017 // $ANTLR end "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0"
12018
12019
12020 // $ANTLR start "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1"
12021 // InternalCftLanguage.g:3922:1: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 : ( ruleAssignment ) ;
12022 public final void rule__MappingDefinition__AssignmentsAssignment_8_1_0_1() throws RecognitionException {
12023
12024 int stackSize = keepStackSize();
12025
12026 try {
12027 // InternalCftLanguage.g:3926:1: ( ( ruleAssignment ) )
12028 // InternalCftLanguage.g:3927:2: ( ruleAssignment )
12029 {
12030 // InternalCftLanguage.g:3927:2: ( ruleAssignment )
12031 // InternalCftLanguage.g:3928:3: ruleAssignment
12032 {
12033 before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0());
12034 pushFollow(FOLLOW_2);
12035 ruleAssignment();
12036
12037 state._fsp--;
12038
12039 after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0());
12040
12041 }
12042
12043
12044 }
12045
12046 }
12047 catch (RecognitionException re) {
12048 reportError(re);
12049 recover(input,re);
12050 }
12051 finally {
12052
12053 restoreStackSize(stackSize);
12054
12055 }
12056 return ;
12057 }
12058 // $ANTLR end "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1"
12059
12060
12061 // $ANTLR start "rule__MappingParameter__NameAssignment"
12062 // InternalCftLanguage.g:3937:1: rule__MappingParameter__NameAssignment : ( ruleValidId ) ;
12063 public final void rule__MappingParameter__NameAssignment() throws RecognitionException {
12064
12065 int stackSize = keepStackSize();
12066
12067 try {
12068 // InternalCftLanguage.g:3941:1: ( ( ruleValidId ) )
12069 // InternalCftLanguage.g:3942:2: ( ruleValidId )
12070 {
12071 // InternalCftLanguage.g:3942:2: ( ruleValidId )
12072 // InternalCftLanguage.g:3943:3: ruleValidId
12073 {
12074 before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0());
12075 pushFollow(FOLLOW_2);
12076 ruleValidId();
12077
12078 state._fsp--;
12079
12080 after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0());
12081
12082 }
12083
12084
12085 }
12086
12087 }
12088 catch (RecognitionException re) {
12089 reportError(re);
12090 recover(input,re);
12091 }
12092 finally {
12093
12094 restoreStackSize(stackSize);
12095
12096 }
12097 return ;
12098 }
12099 // $ANTLR end "rule__MappingParameter__NameAssignment"
12100
12101
12102 // $ANTLR start "rule__LookupDefinition__MappingAssignment_1"
12103 // InternalCftLanguage.g:3952:1: rule__LookupDefinition__MappingAssignment_1 : ( ( ruleQualifiedName ) ) ;
12104 public final void rule__LookupDefinition__MappingAssignment_1() throws RecognitionException {
12105
12106 int stackSize = keepStackSize();
12107
12108 try {
12109 // InternalCftLanguage.g:3956:1: ( ( ( ruleQualifiedName ) ) )
12110 // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) )
12111 {
12112 // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) )
12113 // InternalCftLanguage.g:3958:3: ( ruleQualifiedName )
12114 {
12115 before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0());
12116 // InternalCftLanguage.g:3959:3: ( ruleQualifiedName )
12117 // InternalCftLanguage.g:3960:4: ruleQualifiedName
12118 {
12119 before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1());
12120 pushFollow(FOLLOW_2);
12121 ruleQualifiedName();
12122
12123 state._fsp--;
12124
12125 after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1());
12126
12127 }
12128
12129 after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0());
12130
12131 }
12132
12133
12134 }
12135
12136 }
12137 catch (RecognitionException re) {
12138 reportError(re);
12139 recover(input,re);
12140 }
12141 finally {
12142
12143 restoreStackSize(stackSize);
12144
12145 }
12146 return ;
12147 }
12148 // $ANTLR end "rule__LookupDefinition__MappingAssignment_1"
12149
12150
12151 // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_3"
12152 // InternalCftLanguage.g:3971:1: rule__LookupDefinition__ArgumentsAssignment_3 : ( ( ruleValidId ) ) ;
12153 public final void rule__LookupDefinition__ArgumentsAssignment_3() throws RecognitionException {
12154
12155 int stackSize = keepStackSize();
12156
12157 try {
12158 // InternalCftLanguage.g:3975:1: ( ( ( ruleValidId ) ) )
12159 // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) )
12160 {
12161 // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) )
12162 // InternalCftLanguage.g:3977:3: ( ruleValidId )
12163 {
12164 before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0());
12165 // InternalCftLanguage.g:3978:3: ( ruleValidId )
12166 // InternalCftLanguage.g:3979:4: ruleValidId
12167 {
12168 before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1());
12169 pushFollow(FOLLOW_2);
12170 ruleValidId();
12171
12172 state._fsp--;
12173
12174 after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1());
12175
12176 }
12177
12178 after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0());
12179
12180 }
12181
12182
12183 }
12184
12185 }
12186 catch (RecognitionException re) {
12187 reportError(re);
12188 recover(input,re);
12189 }
12190 finally {
12191
12192 restoreStackSize(stackSize);
12193
12194 }
12195 return ;
12196 }
12197 // $ANTLR end "rule__LookupDefinition__ArgumentsAssignment_3"
12198
12199
12200 // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_4_1"
12201 // InternalCftLanguage.g:3990:1: rule__LookupDefinition__ArgumentsAssignment_4_1 : ( ( ruleValidId ) ) ;
12202 public final void rule__LookupDefinition__ArgumentsAssignment_4_1() throws RecognitionException {
12203
12204 int stackSize = keepStackSize();
12205
12206 try {
12207 // InternalCftLanguage.g:3994:1: ( ( ( ruleValidId ) ) )
12208 // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) )
12209 {
12210 // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) )
12211 // InternalCftLanguage.g:3996:3: ( ruleValidId )
12212 {
12213 before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0());
12214 // InternalCftLanguage.g:3997:3: ( ruleValidId )
12215 // InternalCftLanguage.g:3998:4: ruleValidId
12216 {
12217 before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1());
12218 pushFollow(FOLLOW_2);
12219 ruleValidId();
12220
12221 state._fsp--;
12222
12223 after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1());
12224
12225 }
12226
12227 after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0());
12228
12229 }
12230
12231
12232 }
12233
12234 }
12235 catch (RecognitionException re) {
12236 reportError(re);
12237 recover(input,re);
12238 }
12239 finally {
12240
12241 restoreStackSize(stackSize);
12242
12243 }
12244 return ;
12245 }
12246 // $ANTLR end "rule__LookupDefinition__ArgumentsAssignment_4_1"
12247
12248
12249 // $ANTLR start "rule__LookupDefinition__NameAssignment_7"
12250 // InternalCftLanguage.g:4009:1: rule__LookupDefinition__NameAssignment_7 : ( ruleValidId ) ;
12251 public final void rule__LookupDefinition__NameAssignment_7() throws RecognitionException {
12252
12253 int stackSize = keepStackSize();
12254
12255 try {
12256 // InternalCftLanguage.g:4013:1: ( ( ruleValidId ) )
12257 // InternalCftLanguage.g:4014:2: ( ruleValidId )
12258 {
12259 // InternalCftLanguage.g:4014:2: ( ruleValidId )
12260 // InternalCftLanguage.g:4015:3: ruleValidId
12261 {
12262 before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0());
12263 pushFollow(FOLLOW_2);
12264 ruleValidId();
12265
12266 state._fsp--;
12267
12268 after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0());
12269
12270 }
12271
12272
12273 }
12274
12275 }
12276 catch (RecognitionException re) {
12277 reportError(re);
12278 recover(input,re);
12279 }
12280 finally {
12281
12282 restoreStackSize(stackSize);
12283
12284 }
12285 return ;
12286 }
12287 // $ANTLR end "rule__LookupDefinition__NameAssignment_7"
12288
12289
12290 // $ANTLR start "rule__Assignment__InputAssignment_0"
12291 // InternalCftLanguage.g:4024:1: rule__Assignment__InputAssignment_0 : ( ruleEventReference ) ;
12292 public final void rule__Assignment__InputAssignment_0() throws RecognitionException {
12293
12294 int stackSize = keepStackSize();
12295
12296 try {
12297 // InternalCftLanguage.g:4028:1: ( ( ruleEventReference ) )
12298 // InternalCftLanguage.g:4029:2: ( ruleEventReference )
12299 {
12300 // InternalCftLanguage.g:4029:2: ( ruleEventReference )
12301 // InternalCftLanguage.g:4030:3: ruleEventReference
12302 {
12303 before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0());
12304 pushFollow(FOLLOW_2);
12305 ruleEventReference();
12306
12307 state._fsp--;
12308
12309 after(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0());
12310
12311 }
12312
12313
12314 }
12315
12316 }
12317 catch (RecognitionException re) {
12318 reportError(re);
12319 recover(input,re);
12320 }
12321 finally {
12322
12323 restoreStackSize(stackSize);
12324
12325 }
12326 return ;
12327 }
12328 // $ANTLR end "rule__Assignment__InputAssignment_0"
12329
12330
12331 // $ANTLR start "rule__Assignment__MultipleAssignment_1_0"
12332 // InternalCftLanguage.g:4039:1: rule__Assignment__MultipleAssignment_1_0 : ( ( '+=' ) ) ;
12333 public final void rule__Assignment__MultipleAssignment_1_0() throws RecognitionException {
12334
12335 int stackSize = keepStackSize();
12336
12337 try {
12338 // InternalCftLanguage.g:4043:1: ( ( ( '+=' ) ) )
12339 // InternalCftLanguage.g:4044:2: ( ( '+=' ) )
12340 {
12341 // InternalCftLanguage.g:4044:2: ( ( '+=' ) )
12342 // InternalCftLanguage.g:4045:3: ( '+=' )
12343 {
12344 before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
12345 // InternalCftLanguage.g:4046:3: ( '+=' )
12346 // InternalCftLanguage.g:4047:4: '+='
12347 {
12348 before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
12349 match(input,40,FOLLOW_2);
12350 after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
12351
12352 }
12353
12354 after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
12355
12356 }
12357
12358
12359 }
12360
12361 }
12362 catch (RecognitionException re) {
12363 reportError(re);
12364 recover(input,re);
12365 }
12366 finally {
12367
12368 restoreStackSize(stackSize);
12369
12370 }
12371 return ;
12372 }
12373 // $ANTLR end "rule__Assignment__MultipleAssignment_1_0"
12374
12375
12376 // $ANTLR start "rule__Assignment__OutputAssignment_2"
12377 // InternalCftLanguage.g:4058:1: rule__Assignment__OutputAssignment_2 : ( ruleEventReference ) ;
12378 public final void rule__Assignment__OutputAssignment_2() throws RecognitionException {
12379
12380 int stackSize = keepStackSize();
12381
12382 try {
12383 // InternalCftLanguage.g:4062:1: ( ( ruleEventReference ) )
12384 // InternalCftLanguage.g:4063:2: ( ruleEventReference )
12385 {
12386 // InternalCftLanguage.g:4063:2: ( ruleEventReference )
12387 // InternalCftLanguage.g:4064:3: ruleEventReference
12388 {
12389 before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0());
12390 pushFollow(FOLLOW_2);
12391 ruleEventReference();
12392
12393 state._fsp--;
12394
12395 after(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0());
12396
12397 }
12398
12399
12400 }
12401
12402 }
12403 catch (RecognitionException re) {
12404 reportError(re);
12405 recover(input,re);
12406 }
12407 finally {
12408
12409 restoreStackSize(stackSize);
12410
12411 }
12412 return ;
12413 }
12414 // $ANTLR end "rule__Assignment__OutputAssignment_2"
12415
12416
12417 // $ANTLR start "rule__EventReference__ComponentAssignment_0"
12418 // InternalCftLanguage.g:4073:1: rule__EventReference__ComponentAssignment_0 : ( ( ruleValidId ) ) ;
12419 public final void rule__EventReference__ComponentAssignment_0() throws RecognitionException {
12420
12421 int stackSize = keepStackSize();
12422
12423 try {
12424 // InternalCftLanguage.g:4077:1: ( ( ( ruleValidId ) ) )
12425 // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) )
12426 {
12427 // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) )
12428 // InternalCftLanguage.g:4079:3: ( ruleValidId )
12429 {
12430 before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0());
12431 // InternalCftLanguage.g:4080:3: ( ruleValidId )
12432 // InternalCftLanguage.g:4081:4: ruleValidId
12433 {
12434 before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1());
12435 pushFollow(FOLLOW_2);
12436 ruleValidId();
12437
12438 state._fsp--;
12439
12440 after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1());
12441
12442 }
12443
12444 after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0());
12445
12446 }
12447
12448
12449 }
12450
12451 }
12452 catch (RecognitionException re) {
12453 reportError(re);
12454 recover(input,re);
12455 }
12456 finally {
12457
12458 restoreStackSize(stackSize);
12459
12460 }
12461 return ;
12462 }
12463 // $ANTLR end "rule__EventReference__ComponentAssignment_0"
12464
12465
12466 // $ANTLR start "rule__EventReference__EventAssignment_2"
12467 // InternalCftLanguage.g:4092:1: rule__EventReference__EventAssignment_2 : ( ( ruleValidId ) ) ;
12468 public final void rule__EventReference__EventAssignment_2() throws RecognitionException {
12469
12470 int stackSize = keepStackSize();
12471
12472 try {
12473 // InternalCftLanguage.g:4096:1: ( ( ( ruleValidId ) ) )
12474 // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) )
12475 {
12476 // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) )
12477 // InternalCftLanguage.g:4098:3: ( ruleValidId )
12478 {
12479 before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0());
12480 // InternalCftLanguage.g:4099:3: ( ruleValidId )
12481 // InternalCftLanguage.g:4100:4: ruleValidId
12482 {
12483 before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1());
12484 pushFollow(FOLLOW_2);
12485 ruleValidId();
12486
12487 state._fsp--;
12488
12489 after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1());
12490
12491 }
12492
12493 after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0());
12494
12495 }
12496
12497
12498 }
12499
12500 }
12501 catch (RecognitionException re) {
12502 reportError(re);
12503 recover(input,re);
12504 }
12505 finally {
12506
12507 restoreStackSize(stackSize);
12508
12509 }
12510 return ;
12511 }
12512 // $ANTLR end "rule__EventReference__EventAssignment_2"
12513
12514
12515 // $ANTLR start "rule__ComponentInstance__ComponentTypeAssignment_1"
12516 // InternalCftLanguage.g:4111:1: rule__ComponentInstance__ComponentTypeAssignment_1 : ( ( ruleQualifiedName ) ) ;
12517 public final void rule__ComponentInstance__ComponentTypeAssignment_1() throws RecognitionException {
12518
12519 int stackSize = keepStackSize();
12520
12521 try {
12522 // InternalCftLanguage.g:4115:1: ( ( ( ruleQualifiedName ) ) )
12523 // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) )
12524 {
12525 // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) )
12526 // InternalCftLanguage.g:4117:3: ( ruleQualifiedName )
12527 {
12528 before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0());
12529 // InternalCftLanguage.g:4118:3: ( ruleQualifiedName )
12530 // InternalCftLanguage.g:4119:4: ruleQualifiedName
12531 {
12532 before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1());
12533 pushFollow(FOLLOW_2);
12534 ruleQualifiedName();
12535
12536 state._fsp--;
12537
12538 after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1());
12539
12540 }
12541
12542 after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0());
12543
12544 }
12545
12546
12547 }
12548
12549 }
12550 catch (RecognitionException re) {
12551 reportError(re);
12552 recover(input,re);
12553 }
12554 finally {
12555
12556 restoreStackSize(stackSize);
12557
12558 }
12559 return ;
12560 }
12561 // $ANTLR end "rule__ComponentInstance__ComponentTypeAssignment_1"
12562
12563
12564 // $ANTLR start "rule__ComponentInstance__NameAssignment_2"
12565 // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( ruleValidId ) ;
12566 public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException {
12567
12568 int stackSize = keepStackSize();
12569
12570 try {
12571 // InternalCftLanguage.g:4134:1: ( ( ruleValidId ) )
12572 // InternalCftLanguage.g:4135:2: ( ruleValidId )
12573 {
12574 // InternalCftLanguage.g:4135:2: ( ruleValidId )
12575 // InternalCftLanguage.g:4136:3: ruleValidId
12576 {
12577 before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0());
12578 pushFollow(FOLLOW_2);
12579 ruleValidId();
12580
12581 state._fsp--;
12582
12583 after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0());
12584
12585 }
12586
12587
12588 }
12589
12590 }
12591 catch (RecognitionException re) {
12592 reportError(re);
12593 recover(input,re);
12594 }
12595 finally {
12596
12597 restoreStackSize(stackSize);
12598
12599 }
12600 return ;
12601 }
12602 // $ANTLR end "rule__ComponentInstance__NameAssignment_2"
12603
12604 // Delegated rules
12605
12606
12607
12608
12609 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
12610 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
12611 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000030L});
12612 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000010038000L});
12613 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000010002L});
12614 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010020002L});
12615 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008000L});
12616 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000040000L});
12617 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000300000L});
12618 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000080030L});
12619 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000032L});
12620 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000008030L});
12621 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000004000000000L});
12622 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L});
12623 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L});
12624 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000000000C0L});
12625 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L});
12626 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L});
12627 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000040L});
12628 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000008000020L});
12629 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000008020080000L});
12630 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000008020000002L});
12631 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000008020000000L});
12632 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000040000000L});
12633 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000180000000L});
12634 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000100000002L});
12635 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001000040000L});
12636 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200080030L});
12637 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000032L});
12638 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000400000000L});
12639 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L});
12640 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L});
12641 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L});
12642 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000002L});
12643 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000002000000000L});
12644 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000300002L});
12645
12646}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend
deleted file mode 100644
index 1717a3c0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide
5
6
7/**
8 * Use this class to register ide components.
9 */
10class CftLanguageIdeModule extends AbstractCftLanguageIdeModule {
11}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend
deleted file mode 100644
index af8d87a5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend
+++ /dev/null
@@ -1,20 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide
5
6import com.google.inject.Guice
7import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule
8import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetup
9import org.eclipse.xtext.util.Modules2
10
11/**
12 * Initialization support for running Xtext languages as language servers.
13 */
14class CftLanguageIdeSetup extends CftLanguageStandaloneSetup {
15
16 override createInjector() {
17 Guice.createInjector(Modules2.mixin(new CftLanguageRuntimeModule, new CftLanguageIdeModule))
18 }
19
20}
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
deleted file mode 100644
index 2c3fb067..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin
+++ /dev/null
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
deleted file mode 100644
index dd1a46c1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin
+++ /dev/null
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/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore
deleted file mode 100644
index e3c287dd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.CftLanguageIdeModule.java._trace
2/.CftLanguageIdeSetup.java._trace
3/.CftLanguageIdeModule.xtendbin
4/.CftLanguageIdeSetup.xtendbin
5/CftLanguageIdeModule.java
6/CftLanguageIdeSetup.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java
deleted file mode 100644
index cdedc92a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java
+++ /dev/null
@@ -1,13 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.AbstractCftLanguageIdeModule;
7
8/**
9 * Use this class to register ide components.
10 */
11@SuppressWarnings("all")
12public class CftLanguageIdeModule extends AbstractCftLanguageIdeModule {
13}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java
deleted file mode 100644
index f07010fc..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java
+++ /dev/null
@@ -1,24 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ide;
5
6import com.google.inject.Guice;
7import com.google.inject.Injector;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetup;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.CftLanguageIdeModule;
11import org.eclipse.xtext.util.Modules2;
12
13/**
14 * Initialization support for running Xtext languages as language servers.
15 */
16@SuppressWarnings("all")
17public class CftLanguageIdeSetup extends CftLanguageStandaloneSetup {
18 @Override
19 public Injector createInjector() {
20 CftLanguageRuntimeModule _cftLanguageRuntimeModule = new CftLanguageRuntimeModule();
21 CftLanguageIdeModule _cftLanguageIdeModule = new CftLanguageIdeModule();
22 return Guice.createInjector(Modules2.mixin(_cftLanguageRuntimeModule, _cftLanguageIdeModule));
23 }
24}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath
deleted file mode 100644
index 9081d4f7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<classpath>
3 <classpathentry kind="src" path="src"/>
4 <classpathentry kind="src" path="src-gen"/>
5 <classpathentry kind="src" path="xtend-gen"/>
6 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
7 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore
deleted file mode 100644
index ae3c1726..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
1/bin/
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project
deleted file mode 100644
index ff20123a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project
+++ /dev/null
@@ -1,34 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dslreasoner.faulttree.components.ui</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.xtext.ui.shared.xtextNature</nature>
31 <nature>org.eclipse.jdt.core.javanature</nature>
32 <nature>org.eclipse.pde.PluginNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c02..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
1eclipse.preferences.version=1
2encoding/<project>=UTF-8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.eclipse.jdt.core.compiler.source=1.8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 0b82fe96..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
1Manifest-Version: 1.0
2Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ui
3Bundle-ManifestVersion: 2
4Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ui
5Bundle-Vendor: My Company
6Bundle-Version: 1.0.0.qualifier
7Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components.ui; singleton:=true
8Bundle-ActivationPolicy: lazy
9Require-Bundle: hu.bme.mit.inf.dslreasoner.faulttree.components,
10 hu.bme.mit.inf.dslreasoner.faulttree.components.ide,
11 org.eclipse.xtext.ui,
12 org.eclipse.xtext.ui.shared,
13 org.eclipse.xtext.ui.codetemplates.ui,
14 org.eclipse.ui.editors;bundle-version="3.5.0",
15 org.eclipse.ui.ide;bundle-version="3.5.0",
16 org.eclipse.ui,
17 org.eclipse.compare,
18 org.eclipse.xtext.builder,
19 org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
20 org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional
21Import-Package: org.apache.log4j
22Bundle-RequiredExecutionEnvironment: JavaSE-1.8
23Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal,
24 hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix,
25 hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist
26Bundle-Activator: hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal.ComponentsActivator
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties
deleted file mode 100644
index 323f56c5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
1source.. = src/,\
2 src-gen/,\
3 xtend-gen/
4bin.includes = .,\
5 META-INF/,\
6 plugin.xml
7bin.excludes = **/*.xtend
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml
deleted file mode 100644
index afad4516..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml
+++ /dev/null
@@ -1,434 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
4 <extension
5 point="org.eclipse.ui.editors">
6 <editor
7 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
8 contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
9 default="true"
10 extensions="cft"
11 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
12 name="CftLanguage Editor">
13 </editor>
14 </extension>
15 <extension
16 point="org.eclipse.ui.handlers">
17 <handler
18 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
19 commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
20 <activeWhen>
21 <reference
22 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
23 </reference>
24 </activeWhen>
25 </handler>
26 <handler
27 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
28 commandId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.validate">
29 <activeWhen>
30 <reference
31 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
32 </reference>
33 </activeWhen>
34 </handler>
35 <!-- copy qualified name -->
36 <handler
37 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
38 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
39 <activeWhen>
40 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened" />
41 </activeWhen>
42 </handler>
43 <handler
44 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
45 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
46 <activeWhen>
47 <and>
48 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.XtextEditor.opened" />
49 <iterate>
50 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
51 </iterate>
52 </and>
53 </activeWhen>
54 </handler>
55 </extension>
56 <extension point="org.eclipse.core.expressions.definitions">
57 <definition id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
58 <and>
59 <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
60 <with variable="activeEditor">
61 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
62 value="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
63 forcePluginActivation="true"/>
64 </with>
65 </and>
66 </definition>
67 <definition id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.XtextEditor.opened">
68 <and>
69 <reference definitionId="isXtextEditorActive"/>
70 <with variable="activeEditor">
71 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
72 value="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
73 forcePluginActivation="true"/>
74 </with>
75 </and>
76 </definition>
77 </extension>
78 <extension
79 point="org.eclipse.ui.preferencePages">
80 <page
81 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
82 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
83 name="CftLanguage">
84 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
85 </page>
86 <page
87 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
88 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
89 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.coloring"
90 name="Syntax Coloring">
91 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
92 </page>
93 <page
94 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
95 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
96 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.templates"
97 name="Templates">
98 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
99 </page>
100 </extension>
101 <extension
102 point="org.eclipse.ui.propertyPages">
103 <page
104 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
105 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
106 name="CftLanguage">
107 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
108 <enabledWhen>
109 <adapt type="org.eclipse.core.resources.IProject"/>
110 </enabledWhen>
111 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
112 </page>
113 </extension>
114 <extension
115 point="org.eclipse.ui.keywords">
116 <keyword
117 id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"
118 label="CftLanguage"/>
119 </extension>
120 <extension
121 point="org.eclipse.ui.commands">
122 <command
123 description="Trigger expensive validation"
124 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.validate"
125 name="Validate">
126 </command>
127 <!-- copy qualified name -->
128 <command
129 id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
130 categoryId="org.eclipse.ui.category.edit"
131 description="Copy the qualified name for the selected element"
132 name="Copy Qualified Name">
133 </command>
134 <command
135 id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
136 categoryId="org.eclipse.ui.category.edit"
137 description="Copy the qualified name for the selected element"
138 name="Copy Qualified Name">
139 </command>
140 </extension>
141 <extension point="org.eclipse.ui.menus">
142 <menuContribution
143 locationURI="popup:#TextEditorContext?after=group.edit">
144 <command
145 commandId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.validate"
146 style="push"
147 tooltip="Trigger expensive validation">
148 <visibleWhen checkEnabled="false">
149 <reference
150 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
151 </reference>
152 </visibleWhen>
153 </command>
154 </menuContribution>
155 <!-- copy qualified name -->
156 <menuContribution locationURI="popup:#TextEditorContext?after=copy">
157 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
158 style="push" tooltip="Copy Qualified Name">
159 <visibleWhen checkEnabled="false">
160 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened" />
161 </visibleWhen>
162 </command>
163 </menuContribution>
164 <menuContribution locationURI="menu:edit?after=copy">
165 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
166 style="push" tooltip="Copy Qualified Name">
167 <visibleWhen checkEnabled="false">
168 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened" />
169 </visibleWhen>
170 </command>
171 </menuContribution>
172 <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
173 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
174 style="push" tooltip="Copy Qualified Name">
175 <visibleWhen checkEnabled="false">
176 <and>
177 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.XtextEditor.opened" />
178 <iterate>
179 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
180 </iterate>
181 </and>
182 </visibleWhen>
183 </command>
184 </menuContribution>
185 </extension>
186 <extension point="org.eclipse.ui.menus">
187 <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
188 <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
189 <visibleWhen checkEnabled="false">
190 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
191 </reference>
192 </visibleWhen>
193 </command>
194 </menuContribution>
195 </extension>
196 <extension point="org.eclipse.ui.handlers">
197 <handler
198 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
199 commandId="org.eclipse.xtext.ui.editor.FindReferences">
200 <activeWhen>
201 <reference
202 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
203 </reference>
204 </activeWhen>
205 </handler>
206 </extension>
207 <extension point="org.eclipse.core.contenttype.contentTypes">
208 <content-type
209 base-type="org.eclipse.core.runtime.text"
210 file-extensions="cft"
211 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.contenttype"
212 name="CftLanguage File"
213 priority="normal">
214 </content-type>
215 </extension>
216 <!-- adding resource factories -->
217 <extension
218 point="org.eclipse.emf.ecore.extension_parser">
219 <parser
220 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
221 type="cft">
222 </parser>
223 </extension>
224 <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
225 <resourceServiceProvider
226 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
227 uriExtension="cft">
228 </resourceServiceProvider>
229 </extension>
230 <!-- marker definitions for hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage -->
231 <extension
232 id="cftlanguage.check.fast"
233 name="CftLanguage Problem"
234 point="org.eclipse.core.resources.markers">
235 <super type="org.eclipse.xtext.ui.check.fast"/>
236 <persistent value="true"/>
237 </extension>
238 <extension
239 id="cftlanguage.check.normal"
240 name="CftLanguage Problem"
241 point="org.eclipse.core.resources.markers">
242 <super type="org.eclipse.xtext.ui.check.normal"/>
243 <persistent value="true"/>
244 </extension>
245 <extension
246 id="cftlanguage.check.expensive"
247 name="CftLanguage Problem"
248 point="org.eclipse.core.resources.markers">
249 <super type="org.eclipse.xtext.ui.check.expensive"/>
250 <persistent value="true"/>
251 </extension>
252 <extension point="org.eclipse.ui.preferencePages">
253 <page
254 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
255 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.validation.ValidatorPreferencePage"
256 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.validator.preferencePage"
257 name="Errors/Warnings">
258 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
259 </page>
260 </extension>
261 <extension point="org.eclipse.xtext.builder.participant">
262 <participant
263 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
264 fileExtensions="cft"/>
265 </extension>
266 <extension point="org.eclipse.ui.preferencePages">
267 <page
268 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
269 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
270 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compiler.preferencePage"
271 name="Compiler">
272 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
273 </page>
274 </extension>
275 <extension point="org.eclipse.ui.propertyPages">
276 <page
277 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
278 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
279 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compiler.propertyPage"
280 name="Compiler">
281 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
282 <enabledWhen>
283 <adapt type="org.eclipse.core.resources.IProject"/>
284 </enabledWhen>
285 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
286 </page>
287 </extension>
288 <extension point="org.eclipse.ui.menus">
289 <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
290 <command
291 commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
292 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OpenGeneratedCode"
293 style="push">
294 <visibleWhen checkEnabled="false">
295 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened" />
296 </visibleWhen>
297 </command>
298 </menuContribution>
299 </extension>
300 <extension point="org.eclipse.ui.handlers">
301 <handler
302 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
303 commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
304 <activeWhen>
305 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened" />
306 </activeWhen>
307 </handler>
308 </extension>
309 <!-- Quick Outline -->
310 <extension
311 point="org.eclipse.ui.handlers">
312 <handler
313 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
314 commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
315 <activeWhen>
316 <reference
317 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
318 </reference>
319 </activeWhen>
320 </handler>
321 </extension>
322 <extension
323 point="org.eclipse.ui.commands">
324 <command
325 description="Open the quick outline."
326 id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
327 name="Quick Outline">
328 </command>
329 </extension>
330 <extension point="org.eclipse.ui.menus">
331 <menuContribution
332 locationURI="popup:#TextEditorContext?after=group.open">
333 <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
334 style="push"
335 tooltip="Open Quick Outline">
336 <visibleWhen checkEnabled="false">
337 <reference definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened"/>
338 </visibleWhen>
339 </command>
340 </menuContribution>
341 </extension>
342 <!-- quickfix marker resolution generator for hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage -->
343 <extension
344 point="org.eclipse.ui.ide.markerResolution">
345 <markerResolutionGenerator
346 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
347 markerType="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.cftlanguage.check.fast">
348 <attribute
349 name="FIXABLE_KEY"
350 value="true">
351 </attribute>
352 </markerResolutionGenerator>
353 <markerResolutionGenerator
354 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
355 markerType="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.cftlanguage.check.normal">
356 <attribute
357 name="FIXABLE_KEY"
358 value="true">
359 </attribute>
360 </markerResolutionGenerator>
361 <markerResolutionGenerator
362 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
363 markerType="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.cftlanguage.check.expensive">
364 <attribute
365 name="FIXABLE_KEY"
366 value="true">
367 </attribute>
368 </markerResolutionGenerator>
369 </extension>
370 <!-- Rename Refactoring -->
371 <extension point="org.eclipse.ui.handlers">
372 <handler
373 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
374 commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
375 <activeWhen>
376 <reference
377 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
378 </reference>
379 </activeWhen>
380 </handler>
381 </extension>
382 <extension point="org.eclipse.ui.menus">
383 <menuContribution
384 locationURI="popup:#TextEditorContext?after=group.edit">
385 <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
386 style="push">
387 <visibleWhen checkEnabled="false">
388 <reference
389 definitionId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Editor.opened">
390 </reference>
391 </visibleWhen>
392 </command>
393 </menuContribution>
394 </extension>
395 <extension point="org.eclipse.ui.preferencePages">
396 <page
397 category="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
398 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
399 id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.refactoring"
400 name="Refactoring">
401 <keywordReference id="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.keyword_CftLanguage"/>
402 </page>
403 </extension>
404 <extension point="org.eclipse.compare.contentViewers">
405 <viewer id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compare.contentViewers"
406 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
407 extensions="cft">
408 </viewer>
409 <contentTypeBinding
410 contentTypeId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.contenttype"
411 contentViewerId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compare.contentViewers" />
412 </extension>
413 <extension point="org.eclipse.compare.contentMergeViewers">
414 <viewer id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compare.contentMergeViewers"
415 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
416 extensions="cft" label="CftLanguage Compare">
417 </viewer>
418 <contentTypeBinding
419 contentTypeId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.contenttype"
420 contentMergeViewerId="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.compare.contentMergeViewers" />
421 </extension>
422 <extension point="org.eclipse.ui.editors.documentProviders">
423 <provider id="hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.editors.documentProviders"
424 class="hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
425 extensions="cft">
426 </provider>
427 </extension>
428 <extension point="org.eclipse.team.core.fileTypes">
429 <fileTypes
430 extension="cft"
431 type="text">
432 </fileTypes>
433 </extension>
434</plugin>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java
deleted file mode 100644
index ba2f3d51..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java
+++ /dev/null
@@ -1,293 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui;
5
6import com.google.inject.Binder;
7import com.google.inject.Provider;
8import com.google.inject.name.Names;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.CftLanguageParser;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.PartialCftLanguageContentAssistParser;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageLexer;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist.CftLanguageProposalProvider;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling.CftLanguageDescriptionLabelProvider;
14import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling.CftLanguageLabelProvider;
15import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline.CftLanguageOutlineTreeProvider;
16import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix.CftLanguageQuickfixProvider;
17import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageValidatorConfigurationBlock;
18import org.eclipse.compare.IViewerCreator;
19import org.eclipse.core.resources.IWorkspaceRoot;
20import org.eclipse.core.resources.ResourcesPlugin;
21import org.eclipse.jface.viewers.ILabelProvider;
22import org.eclipse.ui.plugin.AbstractUIPlugin;
23import org.eclipse.xtext.builder.BuilderParticipant;
24import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider;
25import org.eclipse.xtext.builder.IXtextBuilderParticipant;
26import org.eclipse.xtext.builder.builderState.IBuilderState;
27import org.eclipse.xtext.builder.clustering.CurrentDescriptions;
28import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource;
29import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback;
30import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess;
31import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider;
32import org.eclipse.xtext.ide.LexerIdeBindings;
33import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
34import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
35import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser;
36import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
37import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
38import org.eclipse.xtext.parser.antlr.LexerProvider;
39import org.eclipse.xtext.resource.IResourceDescriptions;
40import org.eclipse.xtext.resource.containers.IAllContainersState;
41import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider;
42import org.eclipse.xtext.service.SingletonBinding;
43import org.eclipse.xtext.ui.DefaultUiModule;
44import org.eclipse.xtext.ui.UIBindings;
45import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator;
46import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory;
47import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory;
48import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage;
49import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration;
50import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar;
51import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry;
52import org.eclipse.xtext.ui.compare.DefaultViewerCreator;
53import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource;
54import org.eclipse.xtext.ui.editor.IXtextEditorCallback;
55import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
56import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher;
57import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider;
58import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper;
59import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher;
60import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper;
61import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory;
62import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider;
63import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider;
64import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer;
65import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider;
66import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage;
67import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator;
68import org.eclipse.xtext.ui.refactoring.IReferenceUpdater;
69import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider;
70import org.eclipse.xtext.ui.refactoring.IRenameStrategy;
71import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator;
72import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater;
73import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider;
74import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy;
75import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport;
76import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport;
77import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences;
78import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider;
79import org.eclipse.xtext.ui.shared.Access;
80import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
81
82/**
83 * Manual modifications go to {@link CftLanguageUiModule}.
84 */
85@SuppressWarnings("all")
86public abstract class AbstractCftLanguageUiModule extends DefaultUiModule {
87
88 public AbstractCftLanguageUiModule(AbstractUIPlugin plugin) {
89 super(plugin);
90 }
91
92 // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment
93 public Provider<? extends IAllContainersState> provideIAllContainersState() {
94 return Access.getJavaProjectsState();
95 }
96
97 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
98 public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
99 return AntlrProposalConflictHelper.class;
100 }
101
102 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
103 public void configureContentAssistLexer(Binder binder) {
104 binder.bind(Lexer.class)
105 .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
106 .to(InternalCftLanguageLexer.class);
107 }
108
109 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
110 public void configureHighlightingLexer(Binder binder) {
111 binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class)
112 .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
113 .to(hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageLexer.class);
114 }
115
116 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
117 public void configureHighlightingTokenDefProvider(Binder binder) {
118 binder.bind(ITokenDefProvider.class)
119 .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
120 .to(AntlrTokenDefProvider.class);
121 }
122
123 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
124 public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
125 return DelegatingContentAssistContextFactory.class;
126 }
127
128 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
129 public Class<? extends IContentAssistParser> bindIContentAssistParser() {
130 return CftLanguageParser.class;
131 }
132
133 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
134 public void configureContentAssistLexerProvider(Binder binder) {
135 binder.bind(InternalCftLanguageLexer.class).toProvider(LexerProvider.create(InternalCftLanguageLexer.class));
136 }
137
138 // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
139 public Class<? extends AbstractValidatorConfigurationBlock> bindAbstractValidatorConfigurationBlock() {
140 return CftLanguageValidatorConfigurationBlock.class;
141 }
142
143 // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
144 public Class<? extends PrefixMatcher> bindPrefixMatcher() {
145 return FQNPrefixMatcher.class;
146 }
147
148 // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
149 public Class<? extends IDependentElementsCalculator> bindIDependentElementsCalculator() {
150 return DefaultDependentElementsCalculator.class;
151 }
152
153 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
154 public void configureIResourceDescriptionsBuilderScope(Binder binder) {
155 binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class);
156 }
157
158 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
159 public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
160 return NatureAddingEditorCallback.class;
161 }
162
163 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
164 public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
165 return EclipseOutputConfigurationProvider.class;
166 }
167
168 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
169 public void configureIResourceDescriptionsPersisted(Binder binder) {
170 binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class);
171 }
172
173 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
174 public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
175 return PersistentDataAwareDirtyResource.class;
176 }
177
178 // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
179 public Class<? extends IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
180 return BuilderParticipant.class;
181 }
182
183 // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
184 public IWorkspaceRoot bindIWorkspaceRootToInstance() {
185 return ResourcesPlugin.getWorkspace().getRoot();
186 }
187
188 // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
189 public void configureBuilderPreferenceStoreInitializer(Binder binder) {
190 binder.bind(IPreferenceStoreInitializer.class)
191 .annotatedWith(Names.named("builderPreferenceInitializer"))
192 .to(BuilderPreferenceAccess.Initializer.class);
193 }
194
195 // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
196 public Class<? extends ILabelProvider> bindILabelProvider() {
197 return CftLanguageLabelProvider.class;
198 }
199
200 // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2
201 public void configureResourceUIServiceLabelProvider(Binder binder) {
202 binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(CftLanguageDescriptionLabelProvider.class);
203 }
204
205 // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
206 public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
207 return CftLanguageOutlineTreeProvider.class;
208 }
209
210 // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2
211 public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
212 return CftLanguageOutlineTreeProvider.class;
213 }
214
215 // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2
216 public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() {
217 return CftLanguageQuickfixProvider.class;
218 }
219
220 // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2
221 public Class<? extends IContentProposalProvider> bindIContentProposalProvider() {
222 return CftLanguageProposalProvider.class;
223 }
224
225 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
226 public void configureIPreferenceStoreInitializer(Binder binder) {
227 binder.bind(IPreferenceStoreInitializer.class)
228 .annotatedWith(Names.named("RefactoringPreferences"))
229 .to(RefactoringPreferences.Initializer.class);
230 }
231
232 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
233 public Class<? extends IRenameStrategy> bindIRenameStrategy() {
234 return DefaultRenameStrategy.class;
235 }
236
237 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
238 public Class<? extends IReferenceUpdater> bindIReferenceUpdater() {
239 return DefaultReferenceUpdater.class;
240 }
241
242 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
243 public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
244 return DefaultRenameRefactoringProvider.class;
245 }
246
247 // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
248 public Class<? extends IRenameSupport.Factory> bindIRenameSupport$Factory() {
249 return DefaultRenameSupport.Factory.class;
250 }
251
252 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
253 public Provider<? extends TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
254 return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
255 }
256
257 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
258 public Provider<? extends LanguageRegistry> provideLanguageRegistry() {
259 return AccessibleCodetemplatesActivator.getLanguageRegistry();
260 }
261
262 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
263 @SingletonBinding(eager=true)
264 public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
265 return LanguageRegistrar.class;
266 }
267
268 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
269 public Class<? extends XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
270 return AdvancedTemplatesPreferencePage.class;
271 }
272
273 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
274 public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() {
275 return PartialCftLanguageContentAssistParser.class;
276 }
277
278 // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2
279 public Class<? extends IPartialEditingContentAssistContextFactory> bindIPartialEditingContentAssistContextFactory() {
280 return PartialEditingContentAssistContextFactory.class;
281 }
282
283 // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2
284 public Class<? extends IViewerCreator> bindIViewerCreator() {
285 return DefaultViewerCreator.class;
286 }
287
288 // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2
289 public void configureCompareViewerTitle(Binder binder) {
290 binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("CftLanguage Compare");
291 }
292
293}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java
deleted file mode 100644
index cf453a4f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui;
5
6import com.google.inject.Injector;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal.ComponentsActivator;
8import org.eclipse.core.runtime.Platform;
9import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
10import org.osgi.framework.Bundle;
11
12/**
13 * This class was generated. Customizations should only happen in a newly
14 * introduced subclass.
15 */
16public class CftLanguageExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
17
18 @Override
19 protected Bundle getBundle() {
20 return Platform.getBundle(ComponentsActivator.PLUGIN_ID);
21 }
22
23 @Override
24 protected Injector getInjector() {
25 ComponentsActivator activator = ComponentsActivator.getInstance();
26 return activator != null ? activator.getInjector(ComponentsActivator.HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE) : null;
27 }
28
29}
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
deleted file mode 100644
index 7d5c8f8e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java
+++ /dev/null
@@ -1,229 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist;
5
6import org.eclipse.emf.ecore.EObject;
7import org.eclipse.xtext.Assignment;
8import org.eclipse.xtext.CrossReference;
9import org.eclipse.xtext.RuleCall;
10import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
11import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
12import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
13
14/**
15 * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}.
16 * Methods are dynamically dispatched on the first parameter, i.e., you can override them
17 * with a more concrete subtype.
18 */
19public abstract class AbstractCftLanguageProposalProvider extends TerminalsProposalProvider {
20
21 public void completeCftModel_PackageName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
22 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
23 }
24 public void completeCftModel_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
25 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
26 }
27 public void completeCftModel_ComponentDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
28 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
29 }
30 public void completeCftModel_TransformationDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
31 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
32 }
33 public void completeImportDeclaration_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
34 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
35 }
36 public void completeComponentDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
37 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
38 }
39 public void completeComponentDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
40 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
41 }
42 public void completeComponentDefinition_OutputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
43 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
44 }
45 public void completeComponentDefinition_EventDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
46 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
47 }
48 public void completeInputEvent_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
49 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
50 }
51 public void completeInputEvent_Multiple(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
52 // subclasses may override
53 }
54 public void completeBasicEventDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
55 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
56 }
57 public void completeBasicEventDefinition_Distribution(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
58 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
59 }
60 public void completeConstantDistribution_P(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
61 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
62 }
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) {
76 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
77 }
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) {
82 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
83 }
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) {
88 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
89 }
90 public void completeTransformationDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
91 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
92 }
93 public void completeTransformationDefinition_MappingDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
94 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
95 }
96 public void completeMappingDefinition_TopLevel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
97 // subclasses may override
98 }
99 public void completeMappingDefinition_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
100 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
101 }
102 public void completeMappingDefinition_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
103 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
104 }
105 public void completeMappingDefinition_ComponentInstance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
106 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
107 }
108 public void completeMappingDefinition_LookupDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
109 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
110 }
111 public void completeMappingDefinition_Assignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
112 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
113 }
114 public void completeMappingParameter_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
115 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
116 }
117 public void completeLookupDefinition_Mapping(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
118 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
119 }
120 public void completeLookupDefinition_Arguments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
121 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
122 }
123 public void completeLookupDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
124 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
125 }
126 public void completeAssignment_Input(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
127 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
128 }
129 public void completeAssignment_Multiple(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
130 // subclasses may override
131 }
132 public void completeAssignment_Output(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
133 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
134 }
135 public void completeEventReference_Component(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
136 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
137 }
138 public void completeEventReference_Event(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
139 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
140 }
141 public void completeComponentInstance_ComponentType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
142 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
143 }
144 public void completeComponentInstance_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
145 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
146 }
147
148 public void complete_CftModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
149 // subclasses may override
150 }
151 public void complete_ImportDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
152 // subclasses may override
153 }
154 public void complete_ComponentDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
155 // subclasses may override
156 }
157 public void complete_InputEvent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
158 // subclasses may override
159 }
160 public void complete_EventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
161 // subclasses may override
162 }
163 public void complete_BasicEventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
164 // subclasses may override
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 }
175 public void complete_GateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
176 // subclasses may override
177 }
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) {
182 // subclasses may override
183 }
184 public void complete_KOfMGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
185 // subclasses may override
186 }
187 public void complete_TransformationDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
188 // subclasses may override
189 }
190 public void complete_MappingDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
191 // subclasses may override
192 }
193 public void complete_MappingParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
194 // subclasses may override
195 }
196 public void complete_LookupDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
197 // subclasses may override
198 }
199 public void complete_Variable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
200 // subclasses may override
201 }
202 public void complete_Assignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
203 // subclasses may override
204 }
205 public void complete_EventReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
206 // subclasses may override
207 }
208 public void complete_ComponentInstance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
209 // subclasses may override
210 }
211 public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
212 // subclasses may override
213 }
214 public void complete_QualifiedNameWithWildcard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
215 // subclasses may override
216 }
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) {
227 // subclasses may override
228 }
229}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java
deleted file mode 100644
index 3b4702dd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java
+++ /dev/null
@@ -1,94 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal;
5
6import com.google.common.collect.Maps;
7import com.google.inject.Guice;
8import com.google.inject.Injector;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageUiModule;
11import java.util.Collections;
12import java.util.Map;
13import org.apache.log4j.Logger;
14import org.eclipse.ui.plugin.AbstractUIPlugin;
15import org.eclipse.xtext.ui.shared.SharedStateModule;
16import org.eclipse.xtext.util.Modules2;
17import org.osgi.framework.BundleContext;
18
19/**
20 * This class was generated. Customizations should only happen in a newly
21 * introduced subclass.
22 */
23public class ComponentsActivator extends AbstractUIPlugin {
24
25 public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.faulttree.components.ui";
26 public static final String HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE = "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage";
27
28 private static final Logger logger = Logger.getLogger(ComponentsActivator.class);
29
30 private static ComponentsActivator INSTANCE;
31
32 private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1));
33
34 @Override
35 public void start(BundleContext context) throws Exception {
36 super.start(context);
37 INSTANCE = this;
38 }
39
40 @Override
41 public void stop(BundleContext context) throws Exception {
42 injectors.clear();
43 INSTANCE = null;
44 super.stop(context);
45 }
46
47 public static ComponentsActivator getInstance() {
48 return INSTANCE;
49 }
50
51 public Injector getInjector(String language) {
52 synchronized (injectors) {
53 Injector injector = injectors.get(language);
54 if (injector == null) {
55 injectors.put(language, injector = createInjector(language));
56 }
57 return injector;
58 }
59 }
60
61 protected Injector createInjector(String language) {
62 try {
63 com.google.inject.Module runtimeModule = getRuntimeModule(language);
64 com.google.inject.Module sharedStateModule = getSharedStateModule();
65 com.google.inject.Module uiModule = getUiModule(language);
66 com.google.inject.Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule);
67 return Guice.createInjector(mergedModule);
68 } catch (Exception e) {
69 logger.error("Failed to create injector for " + language);
70 logger.error(e.getMessage(), e);
71 throw new RuntimeException("Failed to create injector for " + language, e);
72 }
73 }
74
75 protected com.google.inject.Module getRuntimeModule(String grammar) {
76 if (HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE.equals(grammar)) {
77 return new CftLanguageRuntimeModule();
78 }
79 throw new IllegalArgumentException(grammar);
80 }
81
82 protected com.google.inject.Module getUiModule(String grammar) {
83 if (HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE.equals(grammar)) {
84 return new CftLanguageUiModule(this);
85 }
86 throw new IllegalArgumentException(grammar);
87 }
88
89 protected com.google.inject.Module getSharedStateModule() {
90 return new SharedStateModule();
91 }
92
93
94}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java
deleted file mode 100644
index 151699a2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.validation;
5
6import org.eclipse.jface.dialogs.IDialogSettings;
7import org.eclipse.swt.widgets.Composite;
8import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock;
9
10@SuppressWarnings("restriction")
11public class CftLanguageValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock {
12
13 protected static final String SETTINGS_SECTION_NAME = "CftLanguage";
14
15 @Override
16 protected void fillSettingsPage(Composite composite, int nColumns, int defaultIndent) {
17 addComboBox(CftLanguageConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent);
18 }
19
20 @Override
21 public void dispose() {
22 storeSectionExpansionStates(getDialogSettings());
23 super.dispose();
24 }
25
26 @Override
27 protected IDialogSettings getDialogSettings() {
28 IDialogSettings dialogSettings = super.getDialogSettings();
29 IDialogSettings section = dialogSettings.getSection(SETTINGS_SECTION_NAME);
30 if (section == null) {
31 return dialogSettings.addNewSection(SETTINGS_SECTION_NAME);
32 }
33 return section;
34 }
35}
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
deleted file mode 100644
index 6558d759..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator
7import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper
8import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor
9import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
10import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator
11
12/**
13 * Use this class to register components to be used within the Eclipse IDE.
14 */
15@FinalFieldsConstructor
16class CftLanguageUiModule extends AbstractCftLanguageUiModule {
17 def Class<? extends AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper() {
18 CftLanguageTokenToAttributeIdMapper
19 }
20
21 def Class<? extends ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator() {
22 CftLanguageSemanticHighlightingCalculator
23 }
24}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend
deleted file mode 100644
index 2d173d73..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend
+++ /dev/null
@@ -1,12 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist
5
6
7/**
8 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist
9 * on how to customize the content assistant.
10 */
11class CftLanguageProposalProvider extends AbstractCftLanguageProposalProvider {
12}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend
deleted file mode 100644
index 17a734e1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling
5
6import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider
7
8/**
9 * Provides labels for IEObjectDescriptions and IResourceDescriptions.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
12 */
13class CftLanguageDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
14
15 // Labels and icons can be computed like this:
16
17// override text(IEObjectDescription ele) {
18// ele.name.toString
19// }
20//
21// override image(IEObjectDescription ele) {
22// ele.EClass.name + '.gif'
23// }
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
deleted file mode 100644
index f111c553..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling
5
6import com.google.inject.Inject
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
8import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
9import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider
10
11/**
12 * Provides labels for EObjects.
13 *
14 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
15 */
16class CftLanguageLabelProvider extends DefaultEObjectLabelProvider {
17
18 @Inject
19 new(AdapterFactoryLabelProvider delegate) {
20 super(delegate);
21 }
22
23 def text(MappingDefinition mappingDefinition) {
24 mappingDefinition.pattern?.name
25 }
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
deleted file mode 100644
index 3a75a639..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition
8import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
9
10/**
11 * Customization of the default outline structure.
12 *
13 * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline
14 */
15class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider {
16 def _isLeaf(EventDefinition eventDefinition) {
17 true
18 }
19
20 def _isLeaf(MappingDefinition mappingDefinition) {
21 true
22 }
23}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend
deleted file mode 100644
index 4ca09e2b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix
5
6import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
7
8/**
9 * Custom quickfixes.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes
12 */
13class CftLanguageQuickfixProvider extends DefaultQuickfixProvider {
14
15// @Fix(CftLanguageValidator.INVALID_NAME)
16// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) {
17// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [
18// context |
19// val xtextDocument = context.xtextDocument
20// val firstLetter = xtextDocument.get(issue.offset, 1)
21// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase)
22// ]
23// }
24}
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
deleted file mode 100644
index 47c9ebdf..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition
4import org.eclipse.emf.ecore.EObject
5import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator
6import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor
7import org.eclipse.xtext.util.CancelIndicator
8
9import static hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage.Literals.*
10import static org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration.*
11
12class 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
deleted file mode 100644
index 4656d0a0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend
+++ /dev/null
@@ -1,15 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring
2
3import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
4import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles
5
6class 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
deleted file mode 100644
index 1694059d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin
+++ /dev/null
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/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore
deleted file mode 100644
index 725f385c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageUiModule.java._trace
2/.CftLanguageUiModule.xtendbin
3/CftLanguageUiModule.java
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
deleted file mode 100644
index be796ba2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java
+++ /dev/null
@@ -1,31 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.AbstractCftLanguageUiModule;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper;
9import org.eclipse.ui.plugin.AbstractUIPlugin;
10import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor;
11import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper;
12import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator;
13
14/**
15 * Use this class to register components to be used within the Eclipse IDE.
16 */
17@FinalFieldsConstructor
18@SuppressWarnings("all")
19public 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
28 public CftLanguageUiModule(final AbstractUIPlugin plugin) {
29 super(plugin);
30 }
31}
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
deleted file mode 100644
index e89abd97..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin
+++ /dev/null
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/contentassist/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore
deleted file mode 100644
index be23301b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageProposalProvider.java._trace
2/.CftLanguageProposalProvider.xtendbin
3/CftLanguageProposalProvider.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java
deleted file mode 100644
index 0d61f5be..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java
+++ /dev/null
@@ -1,14 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist.AbstractCftLanguageProposalProvider;
7
8/**
9 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist
10 * on how to customize the content assistant.
11 */
12@SuppressWarnings("all")
13public class CftLanguageProposalProvider extends AbstractCftLanguageProposalProvider {
14}
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
deleted file mode 100644
index c2485146..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin
+++ /dev/null
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
deleted file mode 100644
index cdef3946..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin
+++ /dev/null
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/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore
deleted file mode 100644
index c75af38b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.CftLanguageDescriptionLabelProvider.java._trace
2/.CftLanguageLabelProvider.java._trace
3/.CftLanguageDescriptionLabelProvider.xtendbin
4/.CftLanguageLabelProvider.xtendbin
5/CftLanguageDescriptionLabelProvider.java
6/CftLanguageLabelProvider.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java
deleted file mode 100644
index f38d3fb5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java
+++ /dev/null
@@ -1,15 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling;
5
6import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
7
8/**
9 * Provides labels for IEObjectDescriptions and IResourceDescriptions.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
12 */
13@SuppressWarnings("all")
14public class CftLanguageDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
15}
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
deleted file mode 100644
index 103bb114..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java
+++ /dev/null
@@ -1,32 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
8import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
9import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
10import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
11
12/**
13 * Provides labels for EObjects.
14 *
15 * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
16 */
17@SuppressWarnings("all")
18public class CftLanguageLabelProvider extends DefaultEObjectLabelProvider {
19 @Inject
20 public CftLanguageLabelProvider(final AdapterFactoryLabelProvider delegate) {
21 super(delegate);
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 }
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
deleted file mode 100644
index 04b65373..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin
+++ /dev/null
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/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore
deleted file mode 100644
index 61ad3c3f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageOutlineTreeProvider.java._trace
2/.CftLanguageOutlineTreeProvider.xtendbin
3/CftLanguageOutlineTreeProvider.java
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
deleted file mode 100644
index b8da3d93..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java
+++ /dev/null
@@ -1,24 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition;
8import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
9
10/**
11 * Customization of the default outline structure.
12 *
13 * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline
14 */
15@SuppressWarnings("all")
16public 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 }
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
deleted file mode 100644
index 13419ed3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin
+++ /dev/null
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/quickfix/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore
deleted file mode 100644
index e9319b3b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageQuickfixProvider.java._trace
2/.CftLanguageQuickfixProvider.xtendbin
3/CftLanguageQuickfixProvider.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java
deleted file mode 100644
index 361a00ca..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java
+++ /dev/null
@@ -1,15 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix;
5
6import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
7
8/**
9 * Custom quickfixes.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes
12 */
13@SuppressWarnings("all")
14public class CftLanguageQuickfixProvider extends DefaultQuickfixProvider {
15}
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
deleted file mode 100644
index 42bf1c75..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin
+++ /dev/null
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
deleted file mode 100644
index 09c27dfe..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin
+++ /dev/null
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
deleted file mode 100644
index e1b01d74..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.CftLanguageSemanticHighlightingCalculator.java._trace
2/.CftLanguageTokenToAttributeIdMapper.java._trace
3/.CftLanguageSemanticHighlightingCalculator.xtendbin
4/.CftLanguageTokenToAttributeIdMapper.xtendbin
5/CftLanguageSemanticHighlightingCalculator.java
6/CftLanguageTokenToAttributeIdMapper.java
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
deleted file mode 100644
index 268faba3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java
+++ /dev/null
@@ -1,38 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition;
5import java.util.Arrays;
6import org.eclipse.emf.ecore.EObject;
7import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator;
8import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor;
9import org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration;
10import org.eclipse.xtext.util.CancelIndicator;
11
12@SuppressWarnings("all")
13public 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
deleted file mode 100644
index 9ad4afda..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java
+++ /dev/null
@@ -1,25 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring;
2
3import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper;
4import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles;
5
6@SuppressWarnings("all")
7public 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/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath
deleted file mode 100644
index 9081d4f7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<classpath>
3 <classpathentry kind="src" path="src"/>
4 <classpathentry kind="src" path="src-gen"/>
5 <classpathentry kind="src" path="xtend-gen"/>
6 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
7 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore
deleted file mode 100644
index ae3c1726..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
1/bin/
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch
deleted file mode 100644
index 25217aa6..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch
+++ /dev/null
@@ -1,18 +0,0 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<launchConfiguration type="org.eclipse.emf.mwe2.launch.Mwe2LaunchConfigurationType">
3<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
4<listEntry value="/hu.bme.mit.inf.dslreasoner.faulttree.components"/>
5</listAttribute>
6<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
7<listEntry value="4"/>
8</listAttribute>
9<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
10<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
11<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
12</listAttribute>
13<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/hu.bme.mit.inf.dslreasoner.faulttree.components&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/hu.bme.mit.inf.dslreasoner.faulttree.components.ide&quot; type=&quot;4&quot;/&gt;&#10;&lt;item path=&quot;/hu.bme.mit.inf.dslreasoner.faulttree.components.ui&quot; type=&quot;4&quot;/&gt;&#10;;&lt;/resources&gt;}"/>
14<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"/>
15<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="hu.bme.mit.inf.dslreasoner.faulttree.components.GenerateCftLanguage"/>
16<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hu.bme.mit.inf.dslreasoner.faulttree.components"/>
17<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
18</launchConfiguration>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project
deleted file mode 100644
index eb054def..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project
+++ /dev/null
@@ -1,34 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dslreasoner.faulttree.components</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.xtext.ui.shared.xtextNature</nature>
31 <nature>org.eclipse.jdt.core.javanature</nature>
32 <nature>org.eclipse.pde.PluginNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c02..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
1eclipse.preferences.version=1
2encoding/<project>=UTF-8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.eclipse.jdt.core.compiler.source=1.8
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
deleted file mode 100644
index 8511add4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,32 +0,0 @@
1Manifest-Version: 1.0
2Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components
3Bundle-ManifestVersion: 2
4Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components
5Bundle-Vendor: My Company
6Bundle-Version: 1.0.0.qualifier
7Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components; singleton:=true
8Bundle-ActivationPolicy: lazy
9Require-Bundle: org.eclipse.xtext,
10 org.eclipse.xtext.xbase,
11 org.eclipse.equinox.common;bundle-version="3.5.0",
12 org.eclipse.emf.ecore,
13 org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
14 org.eclipse.xtext.util,
15 org.eclipse.emf.common,
16 org.eclipse.xtend.lib;bundle-version="2.14.0",
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
20Bundle-RequiredExecutionEnvironment: JavaSE-1.8
21Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components,
22 hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage,
23 hu.bme.mit.inf.dslreasoner.faulttree.components.serializer,
24 hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util,
25 hu.bme.mit.inf.dslreasoner.faulttree.components.scoping,
26 hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal,
27 hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl,
28 hu.bme.mit.inf.dslreasoner.faulttree.components.generator,
29 hu.bme.mit.inf.dslreasoner.faulttree.components.validation,
30 hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr,
31 hu.bme.mit.inf.dslreasoner.faulttree.components.services
32Import-Package: org.apache.log4j
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties
deleted file mode 100644
index 18d540bf..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
1source.. = src/,\
2 src-gen/,\
3 xtend-gen/
4bin.includes = model/generated/,\
5 .,\
6 META-INF/,\
7 plugin.xml
8bin.excludes = **/*.mwe2,\
9 **/*.xtend
10additional.bundles = org.eclipse.xtext.xbase,\
11 org.eclipse.xtext.common.types,\
12 org.eclipse.xtext.xtext.generator,\
13 org.eclipse.emf.codegen.ecore,\
14 org.eclipse.emf.mwe.utils,\
15 org.eclipse.emf.mwe2.launch,\
16 org.eclipse.emf.mwe2.lib,\
17 org.objectweb.asm,\
18 org.apache.commons.logging,\
19 org.apache.log4j,\
20 com.ibm.icu
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
deleted file mode 100644
index ecfaa84b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore
+++ /dev/null
@@ -1,60 +0,0 @@
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="cftLanguage" nsURI="http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage"
4 nsPrefix="cftLanguage">
5 <eClassifiers xsi:type="ecore:EClass" name="CftModel">
6 <eStructuralFeatures xsi:type="ecore:EAttribute" name="packageName" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
7 <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
8 eType="#//ImportDeclaration" containment="true"/>
9 <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinitions" upperBound="-1"
10 eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//ComponentDefinition"
11 containment="true"/>
12 <eStructuralFeatures xsi:type="ecore:EReference" name="transformationDefinitions"
13 upperBound="-1" eType="#//TransformationDefinition" containment="true"/>
14 </eClassifiers>
15 <eClassifiers xsi:type="ecore:EClass" name="ImportDeclaration">
16 <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
17 </eClassifiers>
18 <eClassifiers xsi:type="ecore:EClass" name="TransformationDefinition">
19 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
20 <eStructuralFeatures xsi:type="ecore:EReference" name="mappingDefinitions" upperBound="-1"
21 eType="#//MappingDefinition" containment="true"/>
22 </eClassifiers>
23 <eClassifiers xsi:type="ecore:EClass" name="MappingDefinition">
24 <eStructuralFeatures xsi:type="ecore:EAttribute" name="topLevel" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
25 <eStructuralFeatures xsi:type="ecore:EReference" name="pattern" eType="ecore:EClass platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.ecore#//Pattern"/>
26 <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1"
27 eType="#//MappingParameter" containment="true"/>
28 <eStructuralFeatures xsi:type="ecore:EReference" name="componentInstance" eType="#//ComponentInstance"
29 containment="true"/>
30 <eStructuralFeatures xsi:type="ecore:EReference" name="lookupDefinitions" upperBound="-1"
31 eType="#//LookupDefinition" containment="true"/>
32 <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" upperBound="-1"
33 eType="#//Assignment" containment="true"/>
34 </eClassifiers>
35 <eClassifiers xsi:type="ecore:EClass" name="MappingParameter">
36 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
37 </eClassifiers>
38 <eClassifiers xsi:type="ecore:EClass" name="LookupDefinition" eSuperTypes="#//Variable">
39 <eStructuralFeatures xsi:type="ecore:EReference" name="mapping" eType="#//MappingDefinition"/>
40 <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" unique="false"
41 upperBound="-1" eType="#//MappingParameter"/>
42 </eClassifiers>
43 <eClassifiers xsi:type="ecore:EClass" name="Variable">
44 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
45 </eClassifiers>
46 <eClassifiers xsi:type="ecore:EClass" name="Assignment">
47 <eStructuralFeatures xsi:type="ecore:EReference" name="input" eType="#//EventReference"
48 containment="true"/>
49 <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiple" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
50 <eStructuralFeatures xsi:type="ecore:EReference" name="output" eType="#//EventReference"
51 containment="true"/>
52 </eClassifiers>
53 <eClassifiers xsi:type="ecore:EClass" name="EventReference">
54 <eStructuralFeatures xsi:type="ecore:EReference" name="component" eType="#//Variable"/>
55 <eStructuralFeatures xsi:type="ecore:EReference" name="event" eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//EventDeclaration"/>
56 </eClassifiers>
57 <eClassifiers xsi:type="ecore:EClass" name="ComponentInstance" eSuperTypes="#//Variable">
58 <eStructuralFeatures xsi:type="ecore:EReference" name="componentType" eType="ecore:EClass platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore#//ComponentDefinition"/>
59 </eClassifiers>
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
deleted file mode 100644
index 1b857035..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel
+++ /dev/null
@@ -1,53 +0,0 @@
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" 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"
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/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"
8 disposableProviderFactory="true" fileExtensions="cft" ecorePackage="CftLanguage.ecore#/">
9 <genClasses ecoreClass="CftLanguage.ecore#//CftModel">
10 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//CftModel/packageName"/>
11 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//CftModel/imports"/>
12 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//CftModel/componentDefinitions"/>
13 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//CftModel/transformationDefinitions"/>
14 </genClasses>
15 <genClasses ecoreClass="CftLanguage.ecore#//ImportDeclaration">
16 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//ImportDeclaration/importedNamespace"/>
17 </genClasses>
18 <genClasses ecoreClass="CftLanguage.ecore#//TransformationDefinition">
19 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//TransformationDefinition/name"/>
20 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//TransformationDefinition/mappingDefinitions"/>
21 </genClasses>
22 <genClasses ecoreClass="CftLanguage.ecore#//MappingDefinition">
23 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//MappingDefinition/topLevel"/>
24 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//MappingDefinition/pattern"/>
25 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//MappingDefinition/parameters"/>
26 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//MappingDefinition/componentInstance"/>
27 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//MappingDefinition/lookupDefinitions"/>
28 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//MappingDefinition/assignments"/>
29 </genClasses>
30 <genClasses ecoreClass="CftLanguage.ecore#//MappingParameter">
31 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//MappingParameter/name"/>
32 </genClasses>
33 <genClasses ecoreClass="CftLanguage.ecore#//LookupDefinition">
34 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//LookupDefinition/mapping"/>
35 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//LookupDefinition/arguments"/>
36 </genClasses>
37 <genClasses ecoreClass="CftLanguage.ecore#//Variable">
38 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//Variable/name"/>
39 </genClasses>
40 <genClasses ecoreClass="CftLanguage.ecore#//Assignment">
41 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//Assignment/input"/>
42 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute CftLanguage.ecore#//Assignment/multiple"/>
43 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//Assignment/output"/>
44 </genClasses>
45 <genClasses ecoreClass="CftLanguage.ecore#//EventReference">
46 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//EventReference/component"/>
47 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//EventReference/event"/>
48 </genClasses>
49 <genClasses ecoreClass="CftLanguage.ecore#//ComponentInstance">
50 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference CftLanguage.ecore#//ComponentInstance/componentType"/>
51 </genClasses>
52 </genPackages>
53</genmodel:GenModel>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml
deleted file mode 100644
index 698af7de..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml
+++ /dev/null
@@ -1,10 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
4 <extension point="org.eclipse.emf.ecore.generated_package">
5 <package
6 uri = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage"
7 class = "hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage"
8 genModel = "model/generated/CftLanguage.genmodel" />
9 </extension>
10</plugin>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java
deleted file mode 100644
index bdec0d5b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java
+++ /dev/null
@@ -1,208 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components;
5
6import com.google.inject.Binder;
7import com.google.inject.Provider;
8import com.google.inject.name.Names;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.generator.CftLanguageGenerator;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.CftLanguageAntlrTokenFileProvider;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.CftLanguageParser;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageLexer;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageScopeProvider;
14import hu.bme.mit.inf.dslreasoner.faulttree.components.serializer.CftLanguageSemanticSequencer;
15import hu.bme.mit.inf.dslreasoner.faulttree.components.serializer.CftLanguageSyntacticSequencer;
16import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
17import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageConfigurableIssueCodesProvider;
18import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageValidator;
19import java.util.Properties;
20import org.eclipse.xtext.Constants;
21import org.eclipse.xtext.IGrammarAccess;
22import org.eclipse.xtext.generator.IGenerator2;
23import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider;
24import org.eclipse.xtext.naming.IQualifiedNameProvider;
25import org.eclipse.xtext.parser.IParser;
26import org.eclipse.xtext.parser.ITokenToStringConverter;
27import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
28import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
29import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
30import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
31import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper;
32import org.eclipse.xtext.parser.antlr.Lexer;
33import org.eclipse.xtext.parser.antlr.LexerBindings;
34import org.eclipse.xtext.parser.antlr.LexerProvider;
35import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper;
36import org.eclipse.xtext.resource.IContainer;
37import org.eclipse.xtext.resource.IResourceDescriptions;
38import org.eclipse.xtext.resource.containers.IAllContainersState;
39import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider;
40import org.eclipse.xtext.resource.containers.StateBasedContainerManager;
41import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider;
42import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions;
43import org.eclipse.xtext.scoping.IGlobalScopeProvider;
44import org.eclipse.xtext.scoping.IScopeProvider;
45import org.eclipse.xtext.scoping.IgnoreCaseLinking;
46import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
47import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider;
48import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider;
49import org.eclipse.xtext.serializer.ISerializer;
50import org.eclipse.xtext.serializer.impl.Serializer;
51import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
52import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
53import org.eclipse.xtext.service.DefaultRuntimeModule;
54import org.eclipse.xtext.service.SingletonBinding;
55import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
56
57/**
58 * Manual modifications go to {@link CftLanguageRuntimeModule}.
59 */
60@SuppressWarnings("all")
61public abstract class AbstractCftLanguageRuntimeModule extends DefaultRuntimeModule {
62
63 protected Properties properties = null;
64
65 @Override
66 public void configure(Binder binder) {
67 properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.properties");
68 super.configure(binder);
69 }
70
71 public void configureLanguageName(Binder binder) {
72 binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage");
73 }
74
75 public void configureFileExtensions(Binder binder) {
76 if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
77 binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("cft");
78 }
79
80 // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
81 public ClassLoader bindClassLoaderToInstance() {
82 return getClass().getClassLoader();
83 }
84
85 // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
86 public Class<? extends IGrammarAccess> bindIGrammarAccess() {
87 return CftLanguageGrammarAccess.class;
88 }
89
90 // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
91 public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
92 return CftLanguageSemanticSequencer.class;
93 }
94
95 // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
96 public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
97 return CftLanguageSyntacticSequencer.class;
98 }
99
100 // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
101 public Class<? extends ISerializer> bindISerializer() {
102 return Serializer.class;
103 }
104
105 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
106 public Class<? extends IParser> bindIParser() {
107 return CftLanguageParser.class;
108 }
109
110 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
111 public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
112 return AntlrTokenToStringConverter.class;
113 }
114
115 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
116 public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
117 return CftLanguageAntlrTokenFileProvider.class;
118 }
119
120 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
121 public Class<? extends Lexer> bindLexer() {
122 return InternalCftLanguageLexer.class;
123 }
124
125 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
126 public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
127 return AntlrTokenDefProvider.class;
128 }
129
130 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
131 public Provider<? extends InternalCftLanguageLexer> provideInternalCftLanguageLexer() {
132 return LexerProvider.create(InternalCftLanguageLexer.class);
133 }
134
135 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
136 public void configureRuntimeLexer(Binder binder) {
137 binder.bind(Lexer.class)
138 .annotatedWith(Names.named(LexerBindings.RUNTIME))
139 .to(InternalCftLanguageLexer.class);
140 }
141
142 // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
143 public Class<? extends IUnorderedGroupHelper> bindIUnorderedGroupHelper() {
144 return UnorderedGroupHelper.class;
145 }
146
147 // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
148 @SingletonBinding(eager=true)
149 public Class<? extends CftLanguageValidator> bindCftLanguageValidator() {
150 return CftLanguageValidator.class;
151 }
152
153 // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
154 public Class<? extends ConfigurableIssueCodesProvider> bindConfigurableIssueCodesProvider() {
155 return CftLanguageConfigurableIssueCodesProvider.class;
156 }
157
158 // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
159 public Class<? extends IScopeProvider> bindIScopeProvider() {
160 return CftLanguageScopeProvider.class;
161 }
162
163 // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
164 public void configureIScopeProviderDelegate(Binder binder) {
165 binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class);
166 }
167
168 // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
169 public Class<? extends IGlobalScopeProvider> bindIGlobalScopeProvider() {
170 return DefaultGlobalScopeProvider.class;
171 }
172
173 // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
174 public void configureIgnoreCaseLinking(Binder binder) {
175 binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false);
176 }
177
178 // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
179 public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
180 return DefaultDeclarativeQualifiedNameProvider.class;
181 }
182
183 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
184 public Class<? extends IContainer.Manager> bindIContainer$Manager() {
185 return StateBasedContainerManager.class;
186 }
187
188 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
189 public Class<? extends IAllContainersState.Provider> bindIAllContainersState$Provider() {
190 return ResourceSetBasedAllContainersStateProvider.class;
191 }
192
193 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
194 public void configureIResourceDescriptions(Binder binder) {
195 binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class);
196 }
197
198 // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
199 public void configureIResourceDescriptionsPersisted(Binder binder) {
200 binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class);
201 }
202
203 // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2
204 public Class<? extends IGenerator2> bindIGenerator2() {
205 return CftLanguageGenerator.class;
206 }
207
208}
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
deleted file mode 100644
index eb879e93..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java
deleted file mode 100644
index 75f38b14..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components;
5
6import com.google.inject.Guice;
7import com.google.inject.Injector;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
9import org.eclipse.emf.ecore.EPackage;
10import org.eclipse.emf.ecore.resource.Resource;
11import org.eclipse.xtext.ISetup;
12import org.eclipse.xtext.common.TerminalsStandaloneSetup;
13import org.eclipse.xtext.resource.IResourceFactory;
14import org.eclipse.xtext.resource.IResourceServiceProvider;
15
16@SuppressWarnings("all")
17public class CftLanguageStandaloneSetupGenerated implements ISetup {
18
19 @Override
20 public Injector createInjectorAndDoEMFRegistration() {
21 TerminalsStandaloneSetup.doSetup();
22
23 Injector injector = createInjector();
24 register(injector);
25 return injector;
26 }
27
28 public Injector createInjector() {
29 return Guice.createInjector(new CftLanguageRuntimeModule());
30 }
31
32 public void register(Injector injector) {
33 if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage")) {
34 EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage", CftLanguagePackage.eINSTANCE);
35 }
36 IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
37 IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
38
39 Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("cft", resourceFactory);
40 IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("cft", serviceProvider);
41 }
42}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java
deleted file mode 100644
index 13c9d6c2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java
+++ /dev/null
@@ -1,106 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EObject;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Assignment</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.Assignment#getInput <em>Input</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple <em>Multiple</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput <em>Output</em>}</li>
20 * </ul>
21 *
22 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment()
23 * @model
24 * @generated
25 */
26public interface Assignment extends EObject
27{
28 /**
29 * Returns the value of the '<em><b>Input</b></em>' containment reference.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Input</em>' containment 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>Input</em>' containment reference.
37 * @see #setInput(EventReference)
38 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Input()
39 * @model containment="true"
40 * @generated
41 */
42 EventReference getInput();
43
44 /**
45 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput <em>Input</em>}' containment reference.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @param value the new value of the '<em>Input</em>' containment reference.
49 * @see #getInput()
50 * @generated
51 */
52 void setInput(EventReference value);
53
54 /**
55 * Returns the value of the '<em><b>Multiple</b></em>' attribute.
56 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Multiple</em>' attribute 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>Multiple</em>' attribute.
63 * @see #setMultiple(boolean)
64 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Multiple()
65 * @model
66 * @generated
67 */
68 boolean isMultiple();
69
70 /**
71 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple <em>Multiple</em>}' attribute.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @param value the new value of the '<em>Multiple</em>' attribute.
75 * @see #isMultiple()
76 * @generated
77 */
78 void setMultiple(boolean value);
79
80 /**
81 * Returns the value of the '<em><b>Output</b></em>' containment reference.
82 * <!-- begin-user-doc -->
83 * <p>
84 * If the meaning of the '<em>Output</em>' containment reference isn't clear,
85 * there really should be more of a description here...
86 * </p>
87 * <!-- end-user-doc -->
88 * @return the value of the '<em>Output</em>' containment reference.
89 * @see #setOutput(EventReference)
90 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Output()
91 * @model containment="true"
92 * @generated
93 */
94 EventReference getOutput();
95
96 /**
97 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput <em>Output</em>}' containment reference.
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @param value the new value of the '<em>Output</em>' containment reference.
101 * @see #getOutput()
102 * @generated
103 */
104 void setOutput(EventReference value);
105
106} // Assignment
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
deleted file mode 100644
index 3420d578..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java
+++ /dev/null
@@ -1,125 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EFactory;
7
8/**
9 * <!-- begin-user-doc -->
10 * The <b>Factory</b> for the model.
11 * It provides a create method for each non-abstract class of the model.
12 * <!-- end-user-doc -->
13 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage
14 * @generated
15 */
16public interface CftLanguageFactory extends EFactory
17{
18 /**
19 * The singleton instance of the factory.
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 CftLanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguageFactoryImpl.init();
25
26 /**
27 * Returns a new object of class '<em>Cft Model</em>'.
28 * <!-- begin-user-doc -->
29 * <!-- end-user-doc -->
30 * @return a new object of class '<em>Cft Model</em>'.
31 * @generated
32 */
33 CftModel createCftModel();
34
35 /**
36 * Returns a new object of class '<em>Import Declaration</em>'.
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @return a new object of class '<em>Import Declaration</em>'.
40 * @generated
41 */
42 ImportDeclaration createImportDeclaration();
43
44 /**
45 * Returns a new object of class '<em>Transformation Definition</em>'.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @return a new object of class '<em>Transformation Definition</em>'.
49 * @generated
50 */
51 TransformationDefinition createTransformationDefinition();
52
53 /**
54 * Returns a new object of class '<em>Mapping Definition</em>'.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @return a new object of class '<em>Mapping Definition</em>'.
58 * @generated
59 */
60 MappingDefinition createMappingDefinition();
61
62 /**
63 * Returns a new object of class '<em>Mapping Parameter</em>'.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @return a new object of class '<em>Mapping Parameter</em>'.
67 * @generated
68 */
69 MappingParameter createMappingParameter();
70
71 /**
72 * Returns a new object of class '<em>Lookup Definition</em>'.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @return a new object of class '<em>Lookup Definition</em>'.
76 * @generated
77 */
78 LookupDefinition createLookupDefinition();
79
80 /**
81 * Returns a new object of class '<em>Variable</em>'.
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @return a new object of class '<em>Variable</em>'.
85 * @generated
86 */
87 Variable createVariable();
88
89 /**
90 * Returns a new object of class '<em>Assignment</em>'.
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @return a new object of class '<em>Assignment</em>'.
94 * @generated
95 */
96 Assignment createAssignment();
97
98 /**
99 * Returns a new object of class '<em>Event Reference</em>'.
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @return a new object of class '<em>Event Reference</em>'.
103 * @generated
104 */
105 EventReference createEventReference();
106
107 /**
108 * Returns a new object of class '<em>Component Instance</em>'.
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @return a new object of class '<em>Component Instance</em>'.
112 * @generated
113 */
114 ComponentInstance createComponentInstance();
115
116 /**
117 * Returns the package supported by this factory.
118 * <!-- begin-user-doc -->
119 * <!-- end-user-doc -->
120 * @return the package supported by this factory.
121 * @generated
122 */
123 CftLanguagePackage getCftLanguagePackage();
124
125} //CftLanguageFactory
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
deleted file mode 100644
index 7aab46c2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java
+++ /dev/null
@@ -1,1138 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EAttribute;
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EPackage;
9import org.eclipse.emf.ecore.EReference;
10
11/**
12 * <!-- begin-user-doc -->
13 * The <b>Package</b> for the model.
14 * It contains accessors for the meta objects to represent
15 * <ul>
16 * <li>each class,</li>
17 * <li>each feature 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.components.cftLanguage.CftLanguageFactory
23 * @model kind="package"
24 * @generated
25 */
26public interface CftLanguagePackage extends EPackage
27{
28 /**
29 * The package name.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 String eNAME = "cftLanguage";
35
36 /**
37 * The package namespace URI.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @generated
41 */
42 String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage";
43
44 /**
45 * The package namespace name.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @generated
49 */
50 String eNS_PREFIX = "cftLanguage";
51
52 /**
53 * The singleton instance of the package.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 CftLanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl.init();
59
60 /**
61 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl <em>Cft Model</em>}' class.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl
65 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getCftModel()
66 * @generated
67 */
68 int CFT_MODEL = 0;
69
70 /**
71 * The feature id for the '<em><b>Package Name</b></em>' attribute.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 * @ordered
76 */
77 int CFT_MODEL__PACKAGE_NAME = 0;
78
79 /**
80 * The feature id for the '<em><b>Imports</b></em>' containment reference list.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @generated
84 * @ordered
85 */
86 int CFT_MODEL__IMPORTS = 1;
87
88 /**
89 * The feature id for the '<em><b>Component Definitions</b></em>' containment reference list.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 * @ordered
94 */
95 int CFT_MODEL__COMPONENT_DEFINITIONS = 2;
96
97 /**
98 * The feature id for the '<em><b>Transformation Definitions</b></em>' containment reference list.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 * @ordered
103 */
104 int CFT_MODEL__TRANSFORMATION_DEFINITIONS = 3;
105
106 /**
107 * The number of structural features of the '<em>Cft Model</em>' class.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 * @ordered
112 */
113 int CFT_MODEL_FEATURE_COUNT = 4;
114
115 /**
116 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl <em>Import Declaration</em>}' class.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl
120 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getImportDeclaration()
121 * @generated
122 */
123 int IMPORT_DECLARATION = 1;
124
125 /**
126 * The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 * @ordered
131 */
132 int IMPORT_DECLARATION__IMPORTED_NAMESPACE = 0;
133
134 /**
135 * The number of structural features of the '<em>Import Declaration</em>' class.
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 * @ordered
140 */
141 int IMPORT_DECLARATION_FEATURE_COUNT = 1;
142
143 /**
144 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class.
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl
148 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition()
149 * @generated
150 */
151 int TRANSFORMATION_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 TRANSFORMATION_DEFINITION__NAME = 0;
161
162 /**
163 * The feature id for the '<em><b>Mapping Definitions</b></em>' containment reference list.
164 * <!-- begin-user-doc -->
165 * <!-- end-user-doc -->
166 * @generated
167 * @ordered
168 */
169 int TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS = 1;
170
171 /**
172 * The number of structural features of the '<em>Transformation Definition</em>' class.
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 * @ordered
177 */
178 int TRANSFORMATION_DEFINITION_FEATURE_COUNT = 2;
179
180 /**
181 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl <em>Mapping Definition</em>}' class.
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl
185 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition()
186 * @generated
187 */
188 int MAPPING_DEFINITION = 3;
189
190 /**
191 * The feature id for the '<em><b>Top Level</b></em>' attribute.
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 * @ordered
196 */
197 int MAPPING_DEFINITION__TOP_LEVEL = 0;
198
199 /**
200 * The feature id for the '<em><b>Pattern</b></em>' reference.
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 * @ordered
205 */
206 int MAPPING_DEFINITION__PATTERN = 1;
207
208 /**
209 * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
210 * <!-- begin-user-doc -->
211 * <!-- end-user-doc -->
212 * @generated
213 * @ordered
214 */
215 int MAPPING_DEFINITION__PARAMETERS = 2;
216
217 /**
218 * The feature id for the '<em><b>Component Instance</b></em>' containment reference.
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 * @ordered
223 */
224 int MAPPING_DEFINITION__COMPONENT_INSTANCE = 3;
225
226 /**
227 * The feature id for the '<em><b>Lookup Definitions</b></em>' containment reference list.
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 * @ordered
232 */
233 int MAPPING_DEFINITION__LOOKUP_DEFINITIONS = 4;
234
235 /**
236 * The feature id for the '<em><b>Assignments</b></em>' containment reference list.
237 * <!-- begin-user-doc -->
238 * <!-- end-user-doc -->
239 * @generated
240 * @ordered
241 */
242 int MAPPING_DEFINITION__ASSIGNMENTS = 5;
243
244 /**
245 * The number of structural features of the '<em>Mapping Definition</em>' class.
246 * <!-- begin-user-doc -->
247 * <!-- end-user-doc -->
248 * @generated
249 * @ordered
250 */
251 int MAPPING_DEFINITION_FEATURE_COUNT = 6;
252
253 /**
254 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl <em>Mapping Parameter</em>}' class.
255 * <!-- begin-user-doc -->
256 * <!-- end-user-doc -->
257 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl
258 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter()
259 * @generated
260 */
261 int MAPPING_PARAMETER = 4;
262
263 /**
264 * The feature id for the '<em><b>Name</b></em>' attribute.
265 * <!-- begin-user-doc -->
266 * <!-- end-user-doc -->
267 * @generated
268 * @ordered
269 */
270 int MAPPING_PARAMETER__NAME = 0;
271
272 /**
273 * The number of structural features of the '<em>Mapping Parameter</em>' class.
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @generated
277 * @ordered
278 */
279 int MAPPING_PARAMETER_FEATURE_COUNT = 1;
280
281 /**
282 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl <em>Variable</em>}' class.
283 * <!-- begin-user-doc -->
284 * <!-- end-user-doc -->
285 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl
286 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable()
287 * @generated
288 */
289 int VARIABLE = 6;
290
291 /**
292 * The feature id for the '<em><b>Name</b></em>' attribute.
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 * @ordered
297 */
298 int VARIABLE__NAME = 0;
299
300 /**
301 * The number of structural features of the '<em>Variable</em>' class.
302 * <!-- begin-user-doc -->
303 * <!-- end-user-doc -->
304 * @generated
305 * @ordered
306 */
307 int VARIABLE_FEATURE_COUNT = 1;
308
309 /**
310 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl <em>Lookup Definition</em>}' class.
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl
314 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition()
315 * @generated
316 */
317 int LOOKUP_DEFINITION = 5;
318
319 /**
320 * The feature id for the '<em><b>Name</b></em>' attribute.
321 * <!-- begin-user-doc -->
322 * <!-- end-user-doc -->
323 * @generated
324 * @ordered
325 */
326 int LOOKUP_DEFINITION__NAME = VARIABLE__NAME;
327
328 /**
329 * The feature id for the '<em><b>Mapping</b></em>' reference.
330 * <!-- begin-user-doc -->
331 * <!-- end-user-doc -->
332 * @generated
333 * @ordered
334 */
335 int LOOKUP_DEFINITION__MAPPING = VARIABLE_FEATURE_COUNT + 0;
336
337 /**
338 * The feature id for the '<em><b>Arguments</b></em>' reference list.
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 * @ordered
343 */
344 int LOOKUP_DEFINITION__ARGUMENTS = VARIABLE_FEATURE_COUNT + 1;
345
346 /**
347 * The number of structural features of the '<em>Lookup Definition</em>' class.
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 * @ordered
352 */
353 int LOOKUP_DEFINITION_FEATURE_COUNT = VARIABLE_FEATURE_COUNT + 2;
354
355 /**
356 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl <em>Assignment</em>}' class.
357 * <!-- begin-user-doc -->
358 * <!-- end-user-doc -->
359 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl
360 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment()
361 * @generated
362 */
363 int ASSIGNMENT = 7;
364
365 /**
366 * The feature id for the '<em><b>Input</b></em>' containment reference.
367 * <!-- begin-user-doc -->
368 * <!-- end-user-doc -->
369 * @generated
370 * @ordered
371 */
372 int ASSIGNMENT__INPUT = 0;
373
374 /**
375 * The feature id for the '<em><b>Multiple</b></em>' attribute.
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 * @ordered
380 */
381 int ASSIGNMENT__MULTIPLE = 1;
382
383 /**
384 * The feature id for the '<em><b>Output</b></em>' containment reference.
385 * <!-- begin-user-doc -->
386 * <!-- end-user-doc -->
387 * @generated
388 * @ordered
389 */
390 int ASSIGNMENT__OUTPUT = 2;
391
392 /**
393 * The number of structural features of the '<em>Assignment</em>' class.
394 * <!-- begin-user-doc -->
395 * <!-- end-user-doc -->
396 * @generated
397 * @ordered
398 */
399 int ASSIGNMENT_FEATURE_COUNT = 3;
400
401 /**
402 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl <em>Event Reference</em>}' class.
403 * <!-- begin-user-doc -->
404 * <!-- end-user-doc -->
405 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl
406 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference()
407 * @generated
408 */
409 int EVENT_REFERENCE = 8;
410
411 /**
412 * The feature id for the '<em><b>Component</b></em>' reference.
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @generated
416 * @ordered
417 */
418 int EVENT_REFERENCE__COMPONENT = 0;
419
420 /**
421 * The feature id for the '<em><b>Event</b></em>' reference.
422 * <!-- begin-user-doc -->
423 * <!-- end-user-doc -->
424 * @generated
425 * @ordered
426 */
427 int EVENT_REFERENCE__EVENT = 1;
428
429 /**
430 * The number of structural features of the '<em>Event Reference</em>' class.
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @generated
434 * @ordered
435 */
436 int EVENT_REFERENCE_FEATURE_COUNT = 2;
437
438 /**
439 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl <em>Component Instance</em>}' class.
440 * <!-- begin-user-doc -->
441 * <!-- end-user-doc -->
442 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl
443 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance()
444 * @generated
445 */
446 int COMPONENT_INSTANCE = 9;
447
448 /**
449 * The feature id for the '<em><b>Name</b></em>' attribute.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 * @ordered
454 */
455 int COMPONENT_INSTANCE__NAME = VARIABLE__NAME;
456
457 /**
458 * The feature id for the '<em><b>Component Type</b></em>' reference.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @generated
462 * @ordered
463 */
464 int COMPONENT_INSTANCE__COMPONENT_TYPE = VARIABLE_FEATURE_COUNT + 0;
465
466 /**
467 * The number of structural features of the '<em>Component Instance</em>' class.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @generated
471 * @ordered
472 */
473 int COMPONENT_INSTANCE_FEATURE_COUNT = VARIABLE_FEATURE_COUNT + 1;
474
475
476 /**
477 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel <em>Cft Model</em>}'.
478 * <!-- begin-user-doc -->
479 * <!-- end-user-doc -->
480 * @return the meta object for class '<em>Cft Model</em>'.
481 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel
482 * @generated
483 */
484 EClass getCftModel();
485
486 /**
487 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName <em>Package Name</em>}'.
488 * <!-- begin-user-doc -->
489 * <!-- end-user-doc -->
490 * @return the meta object for the attribute '<em>Package Name</em>'.
491 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName()
492 * @see #getCftModel()
493 * @generated
494 */
495 EAttribute getCftModel_PackageName();
496
497 /**
498 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports <em>Imports</em>}'.
499 * <!-- begin-user-doc -->
500 * <!-- end-user-doc -->
501 * @return the meta object for the containment reference list '<em>Imports</em>'.
502 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports()
503 * @see #getCftModel()
504 * @generated
505 */
506 EReference getCftModel_Imports();
507
508 /**
509 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions <em>Component Definitions</em>}'.
510 * <!-- begin-user-doc -->
511 * <!-- end-user-doc -->
512 * @return the meta object for the containment reference list '<em>Component Definitions</em>'.
513 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions()
514 * @see #getCftModel()
515 * @generated
516 */
517 EReference getCftModel_ComponentDefinitions();
518
519 /**
520 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions <em>Transformation Definitions</em>}'.
521 * <!-- begin-user-doc -->
522 * <!-- end-user-doc -->
523 * @return the meta object for the containment reference list '<em>Transformation Definitions</em>'.
524 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions()
525 * @see #getCftModel()
526 * @generated
527 */
528 EReference getCftModel_TransformationDefinitions();
529
530 /**
531 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration <em>Import Declaration</em>}'.
532 * <!-- begin-user-doc -->
533 * <!-- end-user-doc -->
534 * @return the meta object for class '<em>Import Declaration</em>'.
535 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration
536 * @generated
537 */
538 EClass getImportDeclaration();
539
540 /**
541 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace <em>Imported Namespace</em>}'.
542 * <!-- begin-user-doc -->
543 * <!-- end-user-doc -->
544 * @return the meta object for the attribute '<em>Imported Namespace</em>'.
545 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace()
546 * @see #getImportDeclaration()
547 * @generated
548 */
549 EAttribute getImportDeclaration_ImportedNamespace();
550
551 /**
552 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'.
553 * <!-- begin-user-doc -->
554 * <!-- end-user-doc -->
555 * @return the meta object for class '<em>Transformation Definition</em>'.
556 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
557 * @generated
558 */
559 EClass getTransformationDefinition();
560
561 /**
562 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName <em>Name</em>}'.
563 * <!-- begin-user-doc -->
564 * <!-- end-user-doc -->
565 * @return the meta object for the attribute '<em>Name</em>'.
566 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName()
567 * @see #getTransformationDefinition()
568 * @generated
569 */
570 EAttribute getTransformationDefinition_Name();
571
572 /**
573 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions <em>Mapping Definitions</em>}'.
574 * <!-- begin-user-doc -->
575 * <!-- end-user-doc -->
576 * @return the meta object for the containment reference list '<em>Mapping Definitions</em>'.
577 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions()
578 * @see #getTransformationDefinition()
579 * @generated
580 */
581 EReference getTransformationDefinition_MappingDefinitions();
582
583 /**
584 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition <em>Mapping Definition</em>}'.
585 * <!-- begin-user-doc -->
586 * <!-- end-user-doc -->
587 * @return the meta object for class '<em>Mapping Definition</em>'.
588 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
589 * @generated
590 */
591 EClass getMappingDefinition();
592
593 /**
594 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel <em>Top Level</em>}'.
595 * <!-- begin-user-doc -->
596 * <!-- end-user-doc -->
597 * @return the meta object for the attribute '<em>Top Level</em>'.
598 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel()
599 * @see #getMappingDefinition()
600 * @generated
601 */
602 EAttribute getMappingDefinition_TopLevel();
603
604 /**
605 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern <em>Pattern</em>}'.
606 * <!-- begin-user-doc -->
607 * <!-- end-user-doc -->
608 * @return the meta object for the reference '<em>Pattern</em>'.
609 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern()
610 * @see #getMappingDefinition()
611 * @generated
612 */
613 EReference getMappingDefinition_Pattern();
614
615 /**
616 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters <em>Parameters</em>}'.
617 * <!-- begin-user-doc -->
618 * <!-- end-user-doc -->
619 * @return the meta object for the containment reference list '<em>Parameters</em>'.
620 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters()
621 * @see #getMappingDefinition()
622 * @generated
623 */
624 EReference getMappingDefinition_Parameters();
625
626 /**
627 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance <em>Component Instance</em>}'.
628 * <!-- begin-user-doc -->
629 * <!-- end-user-doc -->
630 * @return the meta object for the containment reference '<em>Component Instance</em>'.
631 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance()
632 * @see #getMappingDefinition()
633 * @generated
634 */
635 EReference getMappingDefinition_ComponentInstance();
636
637 /**
638 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions <em>Lookup Definitions</em>}'.
639 * <!-- begin-user-doc -->
640 * <!-- end-user-doc -->
641 * @return the meta object for the containment reference list '<em>Lookup Definitions</em>'.
642 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions()
643 * @see #getMappingDefinition()
644 * @generated
645 */
646 EReference getMappingDefinition_LookupDefinitions();
647
648 /**
649 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments <em>Assignments</em>}'.
650 * <!-- begin-user-doc -->
651 * <!-- end-user-doc -->
652 * @return the meta object for the containment reference list '<em>Assignments</em>'.
653 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments()
654 * @see #getMappingDefinition()
655 * @generated
656 */
657 EReference getMappingDefinition_Assignments();
658
659 /**
660 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter <em>Mapping Parameter</em>}'.
661 * <!-- begin-user-doc -->
662 * <!-- end-user-doc -->
663 * @return the meta object for class '<em>Mapping Parameter</em>'.
664 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter
665 * @generated
666 */
667 EClass getMappingParameter();
668
669 /**
670 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName <em>Name</em>}'.
671 * <!-- begin-user-doc -->
672 * <!-- end-user-doc -->
673 * @return the meta object for the attribute '<em>Name</em>'.
674 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName()
675 * @see #getMappingParameter()
676 * @generated
677 */
678 EAttribute getMappingParameter_Name();
679
680 /**
681 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition <em>Lookup Definition</em>}'.
682 * <!-- begin-user-doc -->
683 * <!-- end-user-doc -->
684 * @return the meta object for class '<em>Lookup Definition</em>'.
685 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
686 * @generated
687 */
688 EClass getLookupDefinition();
689
690 /**
691 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping <em>Mapping</em>}'.
692 * <!-- begin-user-doc -->
693 * <!-- end-user-doc -->
694 * @return the meta object for the reference '<em>Mapping</em>'.
695 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping()
696 * @see #getLookupDefinition()
697 * @generated
698 */
699 EReference getLookupDefinition_Mapping();
700
701 /**
702 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments <em>Arguments</em>}'.
703 * <!-- begin-user-doc -->
704 * <!-- end-user-doc -->
705 * @return the meta object for the reference list '<em>Arguments</em>'.
706 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments()
707 * @see #getLookupDefinition()
708 * @generated
709 */
710 EReference getLookupDefinition_Arguments();
711
712 /**
713 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable <em>Variable</em>}'.
714 * <!-- begin-user-doc -->
715 * <!-- end-user-doc -->
716 * @return the meta object for class '<em>Variable</em>'.
717 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable
718 * @generated
719 */
720 EClass getVariable();
721
722 /**
723 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName <em>Name</em>}'.
724 * <!-- begin-user-doc -->
725 * <!-- end-user-doc -->
726 * @return the meta object for the attribute '<em>Name</em>'.
727 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName()
728 * @see #getVariable()
729 * @generated
730 */
731 EAttribute getVariable_Name();
732
733 /**
734 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment <em>Assignment</em>}'.
735 * <!-- begin-user-doc -->
736 * <!-- end-user-doc -->
737 * @return the meta object for class '<em>Assignment</em>'.
738 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment
739 * @generated
740 */
741 EClass getAssignment();
742
743 /**
744 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput <em>Input</em>}'.
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @return the meta object for the containment reference '<em>Input</em>'.
748 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput()
749 * @see #getAssignment()
750 * @generated
751 */
752 EReference getAssignment_Input();
753
754 /**
755 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple <em>Multiple</em>}'.
756 * <!-- begin-user-doc -->
757 * <!-- end-user-doc -->
758 * @return the meta object for the attribute '<em>Multiple</em>'.
759 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple()
760 * @see #getAssignment()
761 * @generated
762 */
763 EAttribute getAssignment_Multiple();
764
765 /**
766 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput <em>Output</em>}'.
767 * <!-- begin-user-doc -->
768 * <!-- end-user-doc -->
769 * @return the meta object for the containment reference '<em>Output</em>'.
770 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput()
771 * @see #getAssignment()
772 * @generated
773 */
774 EReference getAssignment_Output();
775
776 /**
777 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference <em>Event Reference</em>}'.
778 * <!-- begin-user-doc -->
779 * <!-- end-user-doc -->
780 * @return the meta object for class '<em>Event Reference</em>'.
781 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference
782 * @generated
783 */
784 EClass getEventReference();
785
786 /**
787 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent <em>Component</em>}'.
788 * <!-- begin-user-doc -->
789 * <!-- end-user-doc -->
790 * @return the meta object for the reference '<em>Component</em>'.
791 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent()
792 * @see #getEventReference()
793 * @generated
794 */
795 EReference getEventReference_Component();
796
797 /**
798 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent <em>Event</em>}'.
799 * <!-- begin-user-doc -->
800 * <!-- end-user-doc -->
801 * @return the meta object for the reference '<em>Event</em>'.
802 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent()
803 * @see #getEventReference()
804 * @generated
805 */
806 EReference getEventReference_Event();
807
808 /**
809 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance <em>Component Instance</em>}'.
810 * <!-- begin-user-doc -->
811 * <!-- end-user-doc -->
812 * @return the meta object for class '<em>Component Instance</em>'.
813 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance
814 * @generated
815 */
816 EClass getComponentInstance();
817
818 /**
819 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType <em>Component Type</em>}'.
820 * <!-- begin-user-doc -->
821 * <!-- end-user-doc -->
822 * @return the meta object for the reference '<em>Component Type</em>'.
823 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType()
824 * @see #getComponentInstance()
825 * @generated
826 */
827 EReference getComponentInstance_ComponentType();
828
829 /**
830 * Returns the factory that creates the instances of the model.
831 * <!-- begin-user-doc -->
832 * <!-- end-user-doc -->
833 * @return the factory that creates the instances of the model.
834 * @generated
835 */
836 CftLanguageFactory getCftLanguageFactory();
837
838 /**
839 * <!-- begin-user-doc -->
840 * Defines literals for the meta objects that represent
841 * <ul>
842 * <li>each class,</li>
843 * <li>each feature of each class,</li>
844 * <li>each enum,</li>
845 * <li>and each data type</li>
846 * </ul>
847 * <!-- end-user-doc -->
848 * @generated
849 */
850 interface Literals
851 {
852 /**
853 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl <em>Cft Model</em>}' class.
854 * <!-- begin-user-doc -->
855 * <!-- end-user-doc -->
856 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl
857 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getCftModel()
858 * @generated
859 */
860 EClass CFT_MODEL = eINSTANCE.getCftModel();
861
862 /**
863 * The meta object literal for the '<em><b>Package Name</b></em>' attribute feature.
864 * <!-- begin-user-doc -->
865 * <!-- end-user-doc -->
866 * @generated
867 */
868 EAttribute CFT_MODEL__PACKAGE_NAME = eINSTANCE.getCftModel_PackageName();
869
870 /**
871 * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.
872 * <!-- begin-user-doc -->
873 * <!-- end-user-doc -->
874 * @generated
875 */
876 EReference CFT_MODEL__IMPORTS = eINSTANCE.getCftModel_Imports();
877
878 /**
879 * The meta object literal for the '<em><b>Component Definitions</b></em>' containment reference list feature.
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 EReference CFT_MODEL__COMPONENT_DEFINITIONS = eINSTANCE.getCftModel_ComponentDefinitions();
885
886 /**
887 * The meta object literal for the '<em><b>Transformation Definitions</b></em>' containment reference list feature.
888 * <!-- begin-user-doc -->
889 * <!-- end-user-doc -->
890 * @generated
891 */
892 EReference CFT_MODEL__TRANSFORMATION_DEFINITIONS = eINSTANCE.getCftModel_TransformationDefinitions();
893
894 /**
895 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl <em>Import Declaration</em>}' class.
896 * <!-- begin-user-doc -->
897 * <!-- end-user-doc -->
898 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl
899 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getImportDeclaration()
900 * @generated
901 */
902 EClass IMPORT_DECLARATION = eINSTANCE.getImportDeclaration();
903
904 /**
905 * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature.
906 * <!-- begin-user-doc -->
907 * <!-- end-user-doc -->
908 * @generated
909 */
910 EAttribute IMPORT_DECLARATION__IMPORTED_NAMESPACE = eINSTANCE.getImportDeclaration_ImportedNamespace();
911
912 /**
913 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl <em>Transformation Definition</em>}' class.
914 * <!-- begin-user-doc -->
915 * <!-- end-user-doc -->
916 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl
917 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition()
918 * @generated
919 */
920 EClass TRANSFORMATION_DEFINITION = eINSTANCE.getTransformationDefinition();
921
922 /**
923 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
924 * <!-- begin-user-doc -->
925 * <!-- end-user-doc -->
926 * @generated
927 */
928 EAttribute TRANSFORMATION_DEFINITION__NAME = eINSTANCE.getTransformationDefinition_Name();
929
930 /**
931 * The meta object literal for the '<em><b>Mapping Definitions</b></em>' containment reference list feature.
932 * <!-- begin-user-doc -->
933 * <!-- end-user-doc -->
934 * @generated
935 */
936 EReference TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS = eINSTANCE.getTransformationDefinition_MappingDefinitions();
937
938 /**
939 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl <em>Mapping Definition</em>}' class.
940 * <!-- begin-user-doc -->
941 * <!-- end-user-doc -->
942 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl
943 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition()
944 * @generated
945 */
946 EClass MAPPING_DEFINITION = eINSTANCE.getMappingDefinition();
947
948 /**
949 * The meta object literal for the '<em><b>Top Level</b></em>' attribute feature.
950 * <!-- begin-user-doc -->
951 * <!-- end-user-doc -->
952 * @generated
953 */
954 EAttribute MAPPING_DEFINITION__TOP_LEVEL = eINSTANCE.getMappingDefinition_TopLevel();
955
956 /**
957 * The meta object literal for the '<em><b>Pattern</b></em>' reference feature.
958 * <!-- begin-user-doc -->
959 * <!-- end-user-doc -->
960 * @generated
961 */
962 EReference MAPPING_DEFINITION__PATTERN = eINSTANCE.getMappingDefinition_Pattern();
963
964 /**
965 * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature.
966 * <!-- begin-user-doc -->
967 * <!-- end-user-doc -->
968 * @generated
969 */
970 EReference MAPPING_DEFINITION__PARAMETERS = eINSTANCE.getMappingDefinition_Parameters();
971
972 /**
973 * The meta object literal for the '<em><b>Component Instance</b></em>' containment reference feature.
974 * <!-- begin-user-doc -->
975 * <!-- end-user-doc -->
976 * @generated
977 */
978 EReference MAPPING_DEFINITION__COMPONENT_INSTANCE = eINSTANCE.getMappingDefinition_ComponentInstance();
979
980 /**
981 * The meta object literal for the '<em><b>Lookup Definitions</b></em>' containment reference list feature.
982 * <!-- begin-user-doc -->
983 * <!-- end-user-doc -->
984 * @generated
985 */
986 EReference MAPPING_DEFINITION__LOOKUP_DEFINITIONS = eINSTANCE.getMappingDefinition_LookupDefinitions();
987
988 /**
989 * The meta object literal for the '<em><b>Assignments</b></em>' containment reference list feature.
990 * <!-- begin-user-doc -->
991 * <!-- end-user-doc -->
992 * @generated
993 */
994 EReference MAPPING_DEFINITION__ASSIGNMENTS = eINSTANCE.getMappingDefinition_Assignments();
995
996 /**
997 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl <em>Mapping Parameter</em>}' class.
998 * <!-- begin-user-doc -->
999 * <!-- end-user-doc -->
1000 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl
1001 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter()
1002 * @generated
1003 */
1004 EClass MAPPING_PARAMETER = eINSTANCE.getMappingParameter();
1005
1006 /**
1007 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1008 * <!-- begin-user-doc -->
1009 * <!-- end-user-doc -->
1010 * @generated
1011 */
1012 EAttribute MAPPING_PARAMETER__NAME = eINSTANCE.getMappingParameter_Name();
1013
1014 /**
1015 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl <em>Lookup Definition</em>}' class.
1016 * <!-- begin-user-doc -->
1017 * <!-- end-user-doc -->
1018 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl
1019 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition()
1020 * @generated
1021 */
1022 EClass LOOKUP_DEFINITION = eINSTANCE.getLookupDefinition();
1023
1024 /**
1025 * The meta object literal for the '<em><b>Mapping</b></em>' reference feature.
1026 * <!-- begin-user-doc -->
1027 * <!-- end-user-doc -->
1028 * @generated
1029 */
1030 EReference LOOKUP_DEFINITION__MAPPING = eINSTANCE.getLookupDefinition_Mapping();
1031
1032 /**
1033 * The meta object literal for the '<em><b>Arguments</b></em>' reference list feature.
1034 * <!-- begin-user-doc -->
1035 * <!-- end-user-doc -->
1036 * @generated
1037 */
1038 EReference LOOKUP_DEFINITION__ARGUMENTS = eINSTANCE.getLookupDefinition_Arguments();
1039
1040 /**
1041 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl <em>Variable</em>}' class.
1042 * <!-- begin-user-doc -->
1043 * <!-- end-user-doc -->
1044 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl
1045 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable()
1046 * @generated
1047 */
1048 EClass VARIABLE = eINSTANCE.getVariable();
1049
1050 /**
1051 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1052 * <!-- begin-user-doc -->
1053 * <!-- end-user-doc -->
1054 * @generated
1055 */
1056 EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name();
1057
1058 /**
1059 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl <em>Assignment</em>}' class.
1060 * <!-- begin-user-doc -->
1061 * <!-- end-user-doc -->
1062 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl
1063 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment()
1064 * @generated
1065 */
1066 EClass ASSIGNMENT = eINSTANCE.getAssignment();
1067
1068 /**
1069 * The meta object literal for the '<em><b>Input</b></em>' containment reference feature.
1070 * <!-- begin-user-doc -->
1071 * <!-- end-user-doc -->
1072 * @generated
1073 */
1074 EReference ASSIGNMENT__INPUT = eINSTANCE.getAssignment_Input();
1075
1076 /**
1077 * The meta object literal for the '<em><b>Multiple</b></em>' attribute feature.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @generated
1081 */
1082 EAttribute ASSIGNMENT__MULTIPLE = eINSTANCE.getAssignment_Multiple();
1083
1084 /**
1085 * The meta object literal for the '<em><b>Output</b></em>' containment reference feature.
1086 * <!-- begin-user-doc -->
1087 * <!-- end-user-doc -->
1088 * @generated
1089 */
1090 EReference ASSIGNMENT__OUTPUT = eINSTANCE.getAssignment_Output();
1091
1092 /**
1093 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl <em>Event Reference</em>}' class.
1094 * <!-- begin-user-doc -->
1095 * <!-- end-user-doc -->
1096 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl
1097 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference()
1098 * @generated
1099 */
1100 EClass EVENT_REFERENCE = eINSTANCE.getEventReference();
1101
1102 /**
1103 * The meta object literal for the '<em><b>Component</b></em>' reference feature.
1104 * <!-- begin-user-doc -->
1105 * <!-- end-user-doc -->
1106 * @generated
1107 */
1108 EReference EVENT_REFERENCE__COMPONENT = eINSTANCE.getEventReference_Component();
1109
1110 /**
1111 * The meta object literal for the '<em><b>Event</b></em>' reference feature.
1112 * <!-- begin-user-doc -->
1113 * <!-- end-user-doc -->
1114 * @generated
1115 */
1116 EReference EVENT_REFERENCE__EVENT = eINSTANCE.getEventReference_Event();
1117
1118 /**
1119 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl <em>Component Instance</em>}' class.
1120 * <!-- begin-user-doc -->
1121 * <!-- end-user-doc -->
1122 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl
1123 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance()
1124 * @generated
1125 */
1126 EClass COMPONENT_INSTANCE = eINSTANCE.getComponentInstance();
1127
1128 /**
1129 * The meta object literal for the '<em><b>Component Type</b></em>' reference feature.
1130 * <!-- begin-user-doc -->
1131 * <!-- end-user-doc -->
1132 * @generated
1133 */
1134 EReference COMPONENT_INSTANCE__COMPONENT_TYPE = eINSTANCE.getComponentInstance_ComponentType();
1135
1136 }
1137
1138} //CftLanguagePackage
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
deleted file mode 100644
index 0b384084..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java
+++ /dev/null
@@ -1,107 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
7
8import org.eclipse.emf.common.util.EList;
9
10import org.eclipse.emf.ecore.EObject;
11
12/**
13 * <!-- begin-user-doc -->
14 * A representation of the model object '<em><b>Cft Model</b></em>'.
15 * <!-- end-user-doc -->
16 *
17 * <p>
18 * The following features are supported:
19 * </p>
20 * <ul>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName <em>Package Name</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports <em>Imports</em>}</li>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions <em>Component Definitions</em>}</li>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions <em>Transformation Definitions</em>}</li>
25 * </ul>
26 *
27 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel()
28 * @model
29 * @generated
30 */
31public interface CftModel extends EObject
32{
33 /**
34 * Returns the value of the '<em><b>Package Name</b></em>' attribute.
35 * <!-- begin-user-doc -->
36 * <p>
37 * If the meaning of the '<em>Package Name</em>' attribute isn't clear,
38 * there really should be more of a description here...
39 * </p>
40 * <!-- end-user-doc -->
41 * @return the value of the '<em>Package Name</em>' attribute.
42 * @see #setPackageName(String)
43 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_PackageName()
44 * @model
45 * @generated
46 */
47 String getPackageName();
48
49 /**
50 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName <em>Package Name</em>}' attribute.
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @param value the new value of the '<em>Package Name</em>' attribute.
54 * @see #getPackageName()
55 * @generated
56 */
57 void setPackageName(String value);
58
59 /**
60 * Returns the value of the '<em><b>Imports</b></em>' containment reference list.
61 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration}.
62 * <!-- begin-user-doc -->
63 * <p>
64 * If the meaning of the '<em>Imports</em>' containment reference list isn't clear,
65 * there really should be more of a description here...
66 * </p>
67 * <!-- end-user-doc -->
68 * @return the value of the '<em>Imports</em>' containment reference list.
69 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_Imports()
70 * @model containment="true"
71 * @generated
72 */
73 EList<ImportDeclaration> getImports();
74
75 /**
76 * Returns the value of the '<em><b>Component Definitions</b></em>' containment reference list.
77 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition}.
78 * <!-- begin-user-doc -->
79 * <p>
80 * If the meaning of the '<em>Component Definitions</em>' containment reference list isn't clear,
81 * there really should be more of a description here...
82 * </p>
83 * <!-- end-user-doc -->
84 * @return the value of the '<em>Component Definitions</em>' containment reference list.
85 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_ComponentDefinitions()
86 * @model containment="true"
87 * @generated
88 */
89 EList<ComponentDefinition> getComponentDefinitions();
90
91 /**
92 * Returns the value of the '<em><b>Transformation Definitions</b></em>' containment reference list.
93 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition}.
94 * <!-- begin-user-doc -->
95 * <p>
96 * If the meaning of the '<em>Transformation Definitions</em>' containment reference list isn't clear,
97 * there really should be more of a description here...
98 * </p>
99 * <!-- end-user-doc -->
100 * @return the value of the '<em>Transformation Definitions</em>' containment reference list.
101 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_TransformationDefinitions()
102 * @model containment="true"
103 * @generated
104 */
105 EList<TransformationDefinition> getTransformationDefinitions();
106
107} // CftModel
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
deleted file mode 100644
index 0c80849d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java
+++ /dev/null
@@ -1,52 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Component Instance</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.ComponentInstance#getComponentType <em>Component Type</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentInstance()
21 * @model
22 * @generated
23 */
24public interface ComponentInstance extends Variable
25{
26 /**
27 * Returns the value of the '<em><b>Component Type</b></em>' reference.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Component Type</em>' 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>Component Type</em>' reference.
35 * @see #setComponentType(ComponentDefinition)
36 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentInstance_ComponentType()
37 * @model
38 * @generated
39 */
40 ComponentDefinition getComponentType();
41
42 /**
43 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType <em>Component Type</em>}' reference.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @param value the new value of the '<em>Component Type</em>' reference.
47 * @see #getComponentType()
48 * @generated
49 */
50 void setComponentType(ComponentDefinition value);
51
52} // ComponentInstance
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
deleted file mode 100644
index bf7b7263..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java
+++ /dev/null
@@ -1,81 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
7
8import org.eclipse.emf.ecore.EObject;
9
10/**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Event Reference</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.EventReference#getComponent <em>Component</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent <em>Event</em>}</li>
21 * </ul>
22 *
23 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference()
24 * @model
25 * @generated
26 */
27public interface EventReference extends EObject
28{
29 /**
30 * Returns the value of the '<em><b>Component</b></em>' reference.
31 * <!-- begin-user-doc -->
32 * <p>
33 * If the meaning of the '<em>Component</em>' reference isn't clear,
34 * there really should be more of a description here...
35 * </p>
36 * <!-- end-user-doc -->
37 * @return the value of the '<em>Component</em>' reference.
38 * @see #setComponent(Variable)
39 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference_Component()
40 * @model
41 * @generated
42 */
43 Variable getComponent();
44
45 /**
46 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent <em>Component</em>}' reference.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @param value the new value of the '<em>Component</em>' reference.
50 * @see #getComponent()
51 * @generated
52 */
53 void setComponent(Variable value);
54
55 /**
56 * Returns the value of the '<em><b>Event</b></em>' reference.
57 * <!-- begin-user-doc -->
58 * <p>
59 * If the meaning of the '<em>Event</em>' 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>Event</em>' reference.
64 * @see #setEvent(EventDeclaration)
65 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference_Event()
66 * @model
67 * @generated
68 */
69 EventDeclaration getEvent();
70
71 /**
72 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent <em>Event</em>}' reference.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @param value the new value of the '<em>Event</em>' reference.
76 * @see #getEvent()
77 * @generated
78 */
79 void setEvent(EventDeclaration value);
80
81} // EventReference
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java
deleted file mode 100644
index bcb36395..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java
+++ /dev/null
@@ -1,52 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EObject;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Import 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.ImportDeclaration#getImportedNamespace <em>Imported Namespace</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getImportDeclaration()
21 * @model
22 * @generated
23 */
24public interface ImportDeclaration extends EObject
25{
26 /**
27 * Returns the value of the '<em><b>Imported Namespace</b></em>' attribute.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Imported Namespace</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>Imported Namespace</em>' attribute.
35 * @see #setImportedNamespace(String)
36 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getImportDeclaration_ImportedNamespace()
37 * @model
38 * @generated
39 */
40 String getImportedNamespace();
41
42 /**
43 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace <em>Imported Namespace</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @param value the new value of the '<em>Imported Namespace</em>' attribute.
47 * @see #getImportedNamespace()
48 * @generated
49 */
50 void setImportedNamespace(String value);
51
52} // ImportDeclaration
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java
deleted file mode 100644
index f0ad3519..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java
+++ /dev/null
@@ -1,69 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.common.util.EList;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Lookup 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.LookupDefinition#getMapping <em>Mapping</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments <em>Arguments</em>}</li>
19 * </ul>
20 *
21 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition()
22 * @model
23 * @generated
24 */
25public interface LookupDefinition extends Variable
26{
27 /**
28 * Returns the value of the '<em><b>Mapping</b></em>' reference.
29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Mapping</em>' reference 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>Mapping</em>' reference.
36 * @see #setMapping(MappingDefinition)
37 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition_Mapping()
38 * @model
39 * @generated
40 */
41 MappingDefinition getMapping();
42
43 /**
44 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping <em>Mapping</em>}' reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Mapping</em>' reference.
48 * @see #getMapping()
49 * @generated
50 */
51 void setMapping(MappingDefinition value);
52
53 /**
54 * Returns the value of the '<em><b>Arguments</b></em>' reference list.
55 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter}.
56 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Arguments</em>' reference list 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>Arguments</em>' reference list.
63 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition_Arguments()
64 * @model
65 * @generated
66 */
67 EList<MappingParameter> getArguments();
68
69} // LookupDefinition
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java
deleted file mode 100644
index 14c539b4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java
+++ /dev/null
@@ -1,161 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.common.util.EList;
7
8import org.eclipse.emf.ecore.EObject;
9
10import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
11
12/**
13 * <!-- begin-user-doc -->
14 * A representation of the model object '<em><b>Mapping Definition</b></em>'.
15 * <!-- end-user-doc -->
16 *
17 * <p>
18 * The following features are supported:
19 * </p>
20 * <ul>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel <em>Top Level</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern <em>Pattern</em>}</li>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters <em>Parameters</em>}</li>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance <em>Component Instance</em>}</li>
25 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions <em>Lookup Definitions</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments <em>Assignments</em>}</li>
27 * </ul>
28 *
29 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition()
30 * @model
31 * @generated
32 */
33public interface MappingDefinition extends EObject
34{
35 /**
36 * Returns the value of the '<em><b>Top Level</b></em>' attribute.
37 * <!-- begin-user-doc -->
38 * <p>
39 * If the meaning of the '<em>Top Level</em>' attribute isn't clear,
40 * there really should be more of a description here...
41 * </p>
42 * <!-- end-user-doc -->
43 * @return the value of the '<em>Top Level</em>' attribute.
44 * @see #setTopLevel(boolean)
45 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_TopLevel()
46 * @model
47 * @generated
48 */
49 boolean isTopLevel();
50
51 /**
52 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel <em>Top Level</em>}' attribute.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @param value the new value of the '<em>Top Level</em>' attribute.
56 * @see #isTopLevel()
57 * @generated
58 */
59 void setTopLevel(boolean value);
60
61 /**
62 * Returns the value of the '<em><b>Pattern</b></em>' reference.
63 * <!-- begin-user-doc -->
64 * <p>
65 * If the meaning of the '<em>Pattern</em>' reference isn't clear,
66 * there really should be more of a description here...
67 * </p>
68 * <!-- end-user-doc -->
69 * @return the value of the '<em>Pattern</em>' reference.
70 * @see #setPattern(Pattern)
71 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Pattern()
72 * @model
73 * @generated
74 */
75 Pattern getPattern();
76
77 /**
78 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern <em>Pattern</em>}' reference.
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @param value the new value of the '<em>Pattern</em>' reference.
82 * @see #getPattern()
83 * @generated
84 */
85 void setPattern(Pattern value);
86
87 /**
88 * Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
89 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter}.
90 * <!-- begin-user-doc -->
91 * <p>
92 * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear,
93 * there really should be more of a description here...
94 * </p>
95 * <!-- end-user-doc -->
96 * @return the value of the '<em>Parameters</em>' containment reference list.
97 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Parameters()
98 * @model containment="true"
99 * @generated
100 */
101 EList<MappingParameter> getParameters();
102
103 /**
104 * Returns the value of the '<em><b>Component Instance</b></em>' containment reference.
105 * <!-- begin-user-doc -->
106 * <p>
107 * If the meaning of the '<em>Component Instance</em>' containment reference isn't clear,
108 * there really should be more of a description here...
109 * </p>
110 * <!-- end-user-doc -->
111 * @return the value of the '<em>Component Instance</em>' containment reference.
112 * @see #setComponentInstance(ComponentInstance)
113 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_ComponentInstance()
114 * @model containment="true"
115 * @generated
116 */
117 ComponentInstance getComponentInstance();
118
119 /**
120 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance <em>Component Instance</em>}' containment reference.
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @param value the new value of the '<em>Component Instance</em>' containment reference.
124 * @see #getComponentInstance()
125 * @generated
126 */
127 void setComponentInstance(ComponentInstance value);
128
129 /**
130 * Returns the value of the '<em><b>Lookup Definitions</b></em>' containment reference list.
131 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition}.
132 * <!-- begin-user-doc -->
133 * <p>
134 * If the meaning of the '<em>Lookup Definitions</em>' containment reference list isn't clear,
135 * there really should be more of a description here...
136 * </p>
137 * <!-- end-user-doc -->
138 * @return the value of the '<em>Lookup Definitions</em>' containment reference list.
139 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_LookupDefinitions()
140 * @model containment="true"
141 * @generated
142 */
143 EList<LookupDefinition> getLookupDefinitions();
144
145 /**
146 * Returns the value of the '<em><b>Assignments</b></em>' containment reference list.
147 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment}.
148 * <!-- begin-user-doc -->
149 * <p>
150 * If the meaning of the '<em>Assignments</em>' containment reference list isn't clear,
151 * there really should be more of a description here...
152 * </p>
153 * <!-- end-user-doc -->
154 * @return the value of the '<em>Assignments</em>' containment reference list.
155 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Assignments()
156 * @model containment="true"
157 * @generated
158 */
159 EList<Assignment> getAssignments();
160
161} // MappingDefinition
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java
deleted file mode 100644
index 5fc3c006..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java
+++ /dev/null
@@ -1,52 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EObject;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Mapping Parameter</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.MappingParameter#getName <em>Name</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingParameter()
21 * @model
22 * @generated
23 */
24public interface MappingParameter 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#getMappingParameter_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.MappingParameter#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} // MappingParameter
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java
deleted file mode 100644
index 1412e725..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java
+++ /dev/null
@@ -1,71 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.common.util.EList;
7
8import org.eclipse.emf.ecore.EObject;
9
10/**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Transformation 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.TransformationDefinition#getName <em>Name</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions <em>Mapping Definitions</em>}</li>
21 * </ul>
22 *
23 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition()
24 * @model
25 * @generated
26 */
27public interface TransformationDefinition extends EObject
28{
29 /**
30 * Returns the value of the '<em><b>Name</b></em>' attribute.
31 * <!-- begin-user-doc -->
32 * <p>
33 * If the meaning of the '<em>Name</em>' attribute isn't clear,
34 * there really should be more of a description here...
35 * </p>
36 * <!-- end-user-doc -->
37 * @return the value of the '<em>Name</em>' attribute.
38 * @see #setName(String)
39 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition_Name()
40 * @model
41 * @generated
42 */
43 String getName();
44
45 /**
46 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName <em>Name</em>}' attribute.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @param value the new value of the '<em>Name</em>' attribute.
50 * @see #getName()
51 * @generated
52 */
53 void setName(String value);
54
55 /**
56 * Returns the value of the '<em><b>Mapping Definitions</b></em>' containment reference list.
57 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition}.
58 * <!-- begin-user-doc -->
59 * <p>
60 * If the meaning of the '<em>Mapping Definitions</em>' containment 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>Mapping Definitions</em>' containment reference list.
65 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition_MappingDefinitions()
66 * @model containment="true"
67 * @generated
68 */
69 EList<MappingDefinition> getMappingDefinitions();
70
71} // TransformationDefinition
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java
deleted file mode 100644
index d49749da..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java
+++ /dev/null
@@ -1,52 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage;
5
6import org.eclipse.emf.ecore.EObject;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Variable</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.Variable#getName <em>Name</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getVariable()
21 * @model
22 * @generated
23 */
24public interface Variable 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#getVariable_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.Variable#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} // Variable
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java
deleted file mode 100644
index 0b37cdbb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java
+++ /dev/null
@@ -1,343 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
9
10import org.eclipse.emf.common.notify.Notification;
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.ecore.EClass;
14import org.eclipse.emf.ecore.InternalEObject;
15
16import org.eclipse.emf.ecore.impl.ENotificationImpl;
17import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
18
19/**
20 * <!-- begin-user-doc -->
21 * An implementation of the model object '<em><b>Assignment</b></em>'.
22 * <!-- end-user-doc -->
23 * <p>
24 * The following features are implemented:
25 * </p>
26 * <ul>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#getInput <em>Input</em>}</li>
28 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#isMultiple <em>Multiple</em>}</li>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#getOutput <em>Output</em>}</li>
30 * </ul>
31 *
32 * @generated
33 */
34public class AssignmentImpl extends MinimalEObjectImpl.Container implements Assignment
35{
36 /**
37 * The cached value of the '{@link #getInput() <em>Input</em>}' containment reference.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getInput()
41 * @generated
42 * @ordered
43 */
44 protected EventReference input;
45
46 /**
47 * The default value of the '{@link #isMultiple() <em>Multiple</em>}' attribute.
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @see #isMultiple()
51 * @generated
52 * @ordered
53 */
54 protected static final boolean MULTIPLE_EDEFAULT = false;
55
56 /**
57 * The cached value of the '{@link #isMultiple() <em>Multiple</em>}' attribute.
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @see #isMultiple()
61 * @generated
62 * @ordered
63 */
64 protected boolean multiple = MULTIPLE_EDEFAULT;
65
66 /**
67 * The cached value of the '{@link #getOutput() <em>Output</em>}' containment reference.
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @see #getOutput()
71 * @generated
72 * @ordered
73 */
74 protected EventReference output;
75
76 /**
77 * <!-- begin-user-doc -->
78 * <!-- end-user-doc -->
79 * @generated
80 */
81 protected AssignmentImpl()
82 {
83 super();
84 }
85
86 /**
87 * <!-- begin-user-doc -->
88 * <!-- end-user-doc -->
89 * @generated
90 */
91 @Override
92 protected EClass eStaticClass()
93 {
94 return CftLanguagePackage.Literals.ASSIGNMENT;
95 }
96
97 /**
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 @Override
103 public EventReference getInput()
104 {
105 return input;
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 public NotificationChain basicSetInput(EventReference newInput, NotificationChain msgs)
114 {
115 EventReference oldInput = input;
116 input = newInput;
117 if (eNotificationRequired())
118 {
119 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__INPUT, oldInput, newInput);
120 if (msgs == null) msgs = notification; else msgs.add(notification);
121 }
122 return msgs;
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 @Override
131 public void setInput(EventReference newInput)
132 {
133 if (newInput != input)
134 {
135 NotificationChain msgs = null;
136 if (input != null)
137 msgs = ((InternalEObject)input).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__INPUT, null, msgs);
138 if (newInput != null)
139 msgs = ((InternalEObject)newInput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__INPUT, null, msgs);
140 msgs = basicSetInput(newInput, msgs);
141 if (msgs != null) msgs.dispatch();
142 }
143 else if (eNotificationRequired())
144 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__INPUT, newInput, newInput));
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 @Override
153 public boolean isMultiple()
154 {
155 return multiple;
156 }
157
158 /**
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @generated
162 */
163 @Override
164 public void setMultiple(boolean newMultiple)
165 {
166 boolean oldMultiple = multiple;
167 multiple = newMultiple;
168 if (eNotificationRequired())
169 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__MULTIPLE, oldMultiple, multiple));
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public EventReference getOutput()
179 {
180 return output;
181 }
182
183 /**
184 * <!-- begin-user-doc -->
185 * <!-- end-user-doc -->
186 * @generated
187 */
188 public NotificationChain basicSetOutput(EventReference newOutput, NotificationChain msgs)
189 {
190 EventReference oldOutput = output;
191 output = newOutput;
192 if (eNotificationRequired())
193 {
194 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__OUTPUT, oldOutput, newOutput);
195 if (msgs == null) msgs = notification; else msgs.add(notification);
196 }
197 return msgs;
198 }
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 @Override
206 public void setOutput(EventReference newOutput)
207 {
208 if (newOutput != output)
209 {
210 NotificationChain msgs = null;
211 if (output != null)
212 msgs = ((InternalEObject)output).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__OUTPUT, null, msgs);
213 if (newOutput != null)
214 msgs = ((InternalEObject)newOutput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__OUTPUT, null, msgs);
215 msgs = basicSetOutput(newOutput, msgs);
216 if (msgs != null) msgs.dispatch();
217 }
218 else if (eNotificationRequired())
219 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__OUTPUT, newOutput, newOutput));
220 }
221
222 /**
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @generated
226 */
227 @Override
228 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
229 {
230 switch (featureID)
231 {
232 case CftLanguagePackage.ASSIGNMENT__INPUT:
233 return basicSetInput(null, msgs);
234 case CftLanguagePackage.ASSIGNMENT__OUTPUT:
235 return basicSetOutput(null, msgs);
236 }
237 return super.eInverseRemove(otherEnd, featureID, msgs);
238 }
239
240 /**
241 * <!-- begin-user-doc -->
242 * <!-- end-user-doc -->
243 * @generated
244 */
245 @Override
246 public Object eGet(int featureID, boolean resolve, boolean coreType)
247 {
248 switch (featureID)
249 {
250 case CftLanguagePackage.ASSIGNMENT__INPUT:
251 return getInput();
252 case CftLanguagePackage.ASSIGNMENT__MULTIPLE:
253 return isMultiple();
254 case CftLanguagePackage.ASSIGNMENT__OUTPUT:
255 return getOutput();
256 }
257 return super.eGet(featureID, resolve, coreType);
258 }
259
260 /**
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @generated
264 */
265 @Override
266 public void eSet(int featureID, Object newValue)
267 {
268 switch (featureID)
269 {
270 case CftLanguagePackage.ASSIGNMENT__INPUT:
271 setInput((EventReference)newValue);
272 return;
273 case CftLanguagePackage.ASSIGNMENT__MULTIPLE:
274 setMultiple((Boolean)newValue);
275 return;
276 case CftLanguagePackage.ASSIGNMENT__OUTPUT:
277 setOutput((EventReference)newValue);
278 return;
279 }
280 super.eSet(featureID, newValue);
281 }
282
283 /**
284 * <!-- begin-user-doc -->
285 * <!-- end-user-doc -->
286 * @generated
287 */
288 @Override
289 public void eUnset(int featureID)
290 {
291 switch (featureID)
292 {
293 case CftLanguagePackage.ASSIGNMENT__INPUT:
294 setInput((EventReference)null);
295 return;
296 case CftLanguagePackage.ASSIGNMENT__MULTIPLE:
297 setMultiple(MULTIPLE_EDEFAULT);
298 return;
299 case CftLanguagePackage.ASSIGNMENT__OUTPUT:
300 setOutput((EventReference)null);
301 return;
302 }
303 super.eUnset(featureID);
304 }
305
306 /**
307 * <!-- begin-user-doc -->
308 * <!-- end-user-doc -->
309 * @generated
310 */
311 @Override
312 public boolean eIsSet(int featureID)
313 {
314 switch (featureID)
315 {
316 case CftLanguagePackage.ASSIGNMENT__INPUT:
317 return input != null;
318 case CftLanguagePackage.ASSIGNMENT__MULTIPLE:
319 return multiple != MULTIPLE_EDEFAULT;
320 case CftLanguagePackage.ASSIGNMENT__OUTPUT:
321 return output != null;
322 }
323 return super.eIsSet(featureID);
324 }
325
326 /**
327 * <!-- begin-user-doc -->
328 * <!-- end-user-doc -->
329 * @generated
330 */
331 @Override
332 public String toString()
333 {
334 if (eIsProxy()) return super.toString();
335
336 StringBuilder result = new StringBuilder(super.toString());
337 result.append(" (multiple: ");
338 result.append(multiple);
339 result.append(')');
340 return result.toString();
341 }
342
343} //AssignmentImpl
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
deleted file mode 100644
index db604384..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java
+++ /dev/null
@@ -1,226 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*;
7
8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.emf.ecore.EPackage;
11
12import org.eclipse.emf.ecore.impl.EFactoryImpl;
13
14import org.eclipse.emf.ecore.plugin.EcorePlugin;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model <b>Factory</b>.
19 * <!-- end-user-doc -->
20 * @generated
21 */
22public class CftLanguageFactoryImpl extends EFactoryImpl implements CftLanguageFactory
23{
24 /**
25 * Creates the default factory implementation.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 public static CftLanguageFactory init()
31 {
32 try
33 {
34 CftLanguageFactory theCftLanguageFactory = (CftLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(CftLanguagePackage.eNS_URI);
35 if (theCftLanguageFactory != null)
36 {
37 return theCftLanguageFactory;
38 }
39 }
40 catch (Exception exception)
41 {
42 EcorePlugin.INSTANCE.log(exception);
43 }
44 return new CftLanguageFactoryImpl();
45 }
46
47 /**
48 * Creates an instance of the factory.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 public CftLanguageFactoryImpl()
54 {
55 super();
56 }
57
58 /**
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @generated
62 */
63 @Override
64 public EObject create(EClass eClass)
65 {
66 switch (eClass.getClassifierID())
67 {
68 case CftLanguagePackage.CFT_MODEL: return createCftModel();
69 case CftLanguagePackage.IMPORT_DECLARATION: return createImportDeclaration();
70 case CftLanguagePackage.TRANSFORMATION_DEFINITION: return createTransformationDefinition();
71 case CftLanguagePackage.MAPPING_DEFINITION: return createMappingDefinition();
72 case CftLanguagePackage.MAPPING_PARAMETER: return createMappingParameter();
73 case CftLanguagePackage.LOOKUP_DEFINITION: return createLookupDefinition();
74 case CftLanguagePackage.VARIABLE: return createVariable();
75 case CftLanguagePackage.ASSIGNMENT: return createAssignment();
76 case CftLanguagePackage.EVENT_REFERENCE: return createEventReference();
77 case CftLanguagePackage.COMPONENT_INSTANCE: return createComponentInstance();
78 default:
79 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
80 }
81 }
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 @Override
89 public CftModel createCftModel()
90 {
91 CftModelImpl cftModel = new CftModelImpl();
92 return cftModel;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 @Override
101 public ImportDeclaration createImportDeclaration()
102 {
103 ImportDeclarationImpl importDeclaration = new ImportDeclarationImpl();
104 return importDeclaration;
105 }
106
107 /**
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 */
112 @Override
113 public TransformationDefinition createTransformationDefinition()
114 {
115 TransformationDefinitionImpl transformationDefinition = new TransformationDefinitionImpl();
116 return transformationDefinition;
117 }
118
119 /**
120 * <!-- begin-user-doc -->
121 * <!-- end-user-doc -->
122 * @generated
123 */
124 @Override
125 public MappingDefinition createMappingDefinition()
126 {
127 MappingDefinitionImpl mappingDefinition = new MappingDefinitionImpl();
128 return mappingDefinition;
129 }
130
131 /**
132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc -->
134 * @generated
135 */
136 @Override
137 public MappingParameter createMappingParameter()
138 {
139 MappingParameterImpl mappingParameter = new MappingParameterImpl();
140 return mappingParameter;
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public LookupDefinition createLookupDefinition()
150 {
151 LookupDefinitionImpl lookupDefinition = new LookupDefinitionImpl();
152 return lookupDefinition;
153 }
154
155 /**
156 * <!-- begin-user-doc -->
157 * <!-- end-user-doc -->
158 * @generated
159 */
160 @Override
161 public Variable createVariable()
162 {
163 VariableImpl variable = new VariableImpl();
164 return variable;
165 }
166
167 /**
168 * <!-- begin-user-doc -->
169 * <!-- end-user-doc -->
170 * @generated
171 */
172 @Override
173 public Assignment createAssignment()
174 {
175 AssignmentImpl assignment = new AssignmentImpl();
176 return assignment;
177 }
178
179 /**
180 * <!-- begin-user-doc -->
181 * <!-- end-user-doc -->
182 * @generated
183 */
184 @Override
185 public EventReference createEventReference()
186 {
187 EventReferenceImpl eventReference = new EventReferenceImpl();
188 return eventReference;
189 }
190
191 /**
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 */
196 @Override
197 public ComponentInstance createComponentInstance()
198 {
199 ComponentInstanceImpl componentInstance = new ComponentInstanceImpl();
200 return componentInstance;
201 }
202
203 /**
204 * <!-- begin-user-doc -->
205 * <!-- end-user-doc -->
206 * @generated
207 */
208 @Override
209 public CftLanguagePackage getCftLanguagePackage()
210 {
211 return (CftLanguagePackage)getEPackage();
212 }
213
214 /**
215 * <!-- begin-user-doc -->
216 * <!-- end-user-doc -->
217 * @deprecated
218 * @generated
219 */
220 @Deprecated
221 public static CftLanguagePackage getPackage()
222 {
223 return CftLanguagePackage.eINSTANCE;
224 }
225
226} //CftLanguageFactoryImpl
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
deleted file mode 100644
index d4e06dde..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java
+++ /dev/null
@@ -1,712 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
14import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
15import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
16import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
17import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable;
18
19import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
20
21import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
22
23import org.eclipse.emf.ecore.EAttribute;
24import org.eclipse.emf.ecore.EClass;
25import org.eclipse.emf.ecore.EPackage;
26import org.eclipse.emf.ecore.EReference;
27import org.eclipse.emf.ecore.EcorePackage;
28
29import org.eclipse.emf.ecore.impl.EPackageImpl;
30
31import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage;
32
33import org.eclipse.xtext.common.types.TypesPackage;
34
35import org.eclipse.xtext.xbase.XbasePackage;
36
37import org.eclipse.xtext.xtype.XtypePackage;
38
39/**
40 * <!-- begin-user-doc -->
41 * An implementation of the model <b>Package</b>.
42 * <!-- end-user-doc -->
43 * @generated
44 */
45public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguagePackage
46{
47 /**
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @generated
51 */
52 private EClass cftModelEClass = null;
53
54 /**
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @generated
58 */
59 private EClass importDeclarationEClass = null;
60
61 /**
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @generated
65 */
66 private EClass transformationDefinitionEClass = null;
67
68 /**
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @generated
72 */
73 private EClass mappingDefinitionEClass = null;
74
75 /**
76 * <!-- begin-user-doc -->
77 * <!-- end-user-doc -->
78 * @generated
79 */
80 private EClass mappingParameterEClass = null;
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 private EClass lookupDefinitionEClass = null;
88
89 /**
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 */
94 private EClass variableEClass = null;
95
96 /**
97 * <!-- begin-user-doc -->
98 * <!-- end-user-doc -->
99 * @generated
100 */
101 private EClass assignmentEClass = null;
102
103 /**
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @generated
107 */
108 private EClass eventReferenceEClass = null;
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 private EClass componentInstanceEClass = null;
116
117 /**
118 * Creates an instance of the model <b>Package</b>, registered with
119 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
120 * package URI value.
121 * <p>Note: the correct way to create the package is via the static
122 * factory method {@link #init init()}, which also performs
123 * initialization of the package, or returns the registered package,
124 * if one already exists.
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @see org.eclipse.emf.ecore.EPackage.Registry
128 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#eNS_URI
129 * @see #init()
130 * @generated
131 */
132 private CftLanguagePackageImpl()
133 {
134 super(eNS_URI, CftLanguageFactory.eINSTANCE);
135 }
136
137 /**
138 * <!-- begin-user-doc -->
139 * <!-- end-user-doc -->
140 * @generated
141 */
142 private static boolean isInited = false;
143
144 /**
145 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
146 *
147 * <p>This method is used to initialize {@link CftLanguagePackage#eINSTANCE} when that field is accessed.
148 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
149 * <!-- begin-user-doc -->
150 * <!-- end-user-doc -->
151 * @see #eNS_URI
152 * @see #createPackageContents()
153 * @see #initializePackageContents()
154 * @generated
155 */
156 public static CftLanguagePackage init()
157 {
158 if (isInited) return (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI);
159
160 // Obtain or create and register package
161 Object registeredCftLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI);
162 CftLanguagePackageImpl theCftLanguagePackage = registeredCftLanguagePackage instanceof CftLanguagePackageImpl ? (CftLanguagePackageImpl)registeredCftLanguagePackage : new CftLanguagePackageImpl();
163
164 isInited = true;
165
166 // Initialize simple dependencies
167 CftPackage.eINSTANCE.eClass();
168 EcorePackage.eINSTANCE.eClass();
169 PatternLanguagePackage.eINSTANCE.eClass();
170 FtPackage.eINSTANCE.eClass();
171 XtypePackage.eINSTANCE.eClass();
172 TypesPackage.eINSTANCE.eClass();
173 XbasePackage.eINSTANCE.eClass();
174
175 // Create package meta-data objects
176 theCftLanguagePackage.createPackageContents();
177
178 // Initialize created meta-data
179 theCftLanguagePackage.initializePackageContents();
180
181 // Mark meta-data to indicate it can't be changed
182 theCftLanguagePackage.freeze();
183
184 // Update the registry and return the package
185 EPackage.Registry.INSTANCE.put(CftLanguagePackage.eNS_URI, theCftLanguagePackage);
186 return theCftLanguagePackage;
187 }
188
189 /**
190 * <!-- begin-user-doc -->
191 * <!-- end-user-doc -->
192 * @generated
193 */
194 @Override
195 public EClass getCftModel()
196 {
197 return cftModelEClass;
198 }
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 @Override
206 public EAttribute getCftModel_PackageName()
207 {
208 return (EAttribute)cftModelEClass.getEStructuralFeatures().get(0);
209 }
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 @Override
217 public EReference getCftModel_Imports()
218 {
219 return (EReference)cftModelEClass.getEStructuralFeatures().get(1);
220 }
221
222 /**
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @generated
226 */
227 @Override
228 public EReference getCftModel_ComponentDefinitions()
229 {
230 return (EReference)cftModelEClass.getEStructuralFeatures().get(2);
231 }
232
233 /**
234 * <!-- begin-user-doc -->
235 * <!-- end-user-doc -->
236 * @generated
237 */
238 @Override
239 public EReference getCftModel_TransformationDefinitions()
240 {
241 return (EReference)cftModelEClass.getEStructuralFeatures().get(3);
242 }
243
244 /**
245 * <!-- begin-user-doc -->
246 * <!-- end-user-doc -->
247 * @generated
248 */
249 @Override
250 public EClass getImportDeclaration()
251 {
252 return importDeclarationEClass;
253 }
254
255 /**
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 */
260 @Override
261 public EAttribute getImportDeclaration_ImportedNamespace()
262 {
263 return (EAttribute)importDeclarationEClass.getEStructuralFeatures().get(0);
264 }
265
266 /**
267 * <!-- begin-user-doc -->
268 * <!-- end-user-doc -->
269 * @generated
270 */
271 @Override
272 public EClass getTransformationDefinition()
273 {
274 return transformationDefinitionEClass;
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public EAttribute getTransformationDefinition_Name()
284 {
285 return (EAttribute)transformationDefinitionEClass.getEStructuralFeatures().get(0);
286 }
287
288 /**
289 * <!-- begin-user-doc -->
290 * <!-- end-user-doc -->
291 * @generated
292 */
293 @Override
294 public EReference getTransformationDefinition_MappingDefinitions()
295 {
296 return (EReference)transformationDefinitionEClass.getEStructuralFeatures().get(1);
297 }
298
299 /**
300 * <!-- begin-user-doc -->
301 * <!-- end-user-doc -->
302 * @generated
303 */
304 @Override
305 public EClass getMappingDefinition()
306 {
307 return mappingDefinitionEClass;
308 }
309
310 /**
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @generated
314 */
315 @Override
316 public EAttribute getMappingDefinition_TopLevel()
317 {
318 return (EAttribute)mappingDefinitionEClass.getEStructuralFeatures().get(0);
319 }
320
321 /**
322 * <!-- begin-user-doc -->
323 * <!-- end-user-doc -->
324 * @generated
325 */
326 @Override
327 public EReference getMappingDefinition_Pattern()
328 {
329 return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(1);
330 }
331
332 /**
333 * <!-- begin-user-doc -->
334 * <!-- end-user-doc -->
335 * @generated
336 */
337 @Override
338 public EReference getMappingDefinition_Parameters()
339 {
340 return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(2);
341 }
342
343 /**
344 * <!-- begin-user-doc -->
345 * <!-- end-user-doc -->
346 * @generated
347 */
348 @Override
349 public EReference getMappingDefinition_ComponentInstance()
350 {
351 return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(3);
352 }
353
354 /**
355 * <!-- begin-user-doc -->
356 * <!-- end-user-doc -->
357 * @generated
358 */
359 @Override
360 public EReference getMappingDefinition_LookupDefinitions()
361 {
362 return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(4);
363 }
364
365 /**
366 * <!-- begin-user-doc -->
367 * <!-- end-user-doc -->
368 * @generated
369 */
370 @Override
371 public EReference getMappingDefinition_Assignments()
372 {
373 return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(5);
374 }
375
376 /**
377 * <!-- begin-user-doc -->
378 * <!-- end-user-doc -->
379 * @generated
380 */
381 @Override
382 public EClass getMappingParameter()
383 {
384 return mappingParameterEClass;
385 }
386
387 /**
388 * <!-- begin-user-doc -->
389 * <!-- end-user-doc -->
390 * @generated
391 */
392 @Override
393 public EAttribute getMappingParameter_Name()
394 {
395 return (EAttribute)mappingParameterEClass.getEStructuralFeatures().get(0);
396 }
397
398 /**
399 * <!-- begin-user-doc -->
400 * <!-- end-user-doc -->
401 * @generated
402 */
403 @Override
404 public EClass getLookupDefinition()
405 {
406 return lookupDefinitionEClass;
407 }
408
409 /**
410 * <!-- begin-user-doc -->
411 * <!-- end-user-doc -->
412 * @generated
413 */
414 @Override
415 public EReference getLookupDefinition_Mapping()
416 {
417 return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(0);
418 }
419
420 /**
421 * <!-- begin-user-doc -->
422 * <!-- end-user-doc -->
423 * @generated
424 */
425 @Override
426 public EReference getLookupDefinition_Arguments()
427 {
428 return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(1);
429 }
430
431 /**
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @generated
435 */
436 @Override
437 public EClass getVariable()
438 {
439 return variableEClass;
440 }
441
442 /**
443 * <!-- begin-user-doc -->
444 * <!-- end-user-doc -->
445 * @generated
446 */
447 @Override
448 public EAttribute getVariable_Name()
449 {
450 return (EAttribute)variableEClass.getEStructuralFeatures().get(0);
451 }
452
453 /**
454 * <!-- begin-user-doc -->
455 * <!-- end-user-doc -->
456 * @generated
457 */
458 @Override
459 public EClass getAssignment()
460 {
461 return assignmentEClass;
462 }
463
464 /**
465 * <!-- begin-user-doc -->
466 * <!-- end-user-doc -->
467 * @generated
468 */
469 @Override
470 public EReference getAssignment_Input()
471 {
472 return (EReference)assignmentEClass.getEStructuralFeatures().get(0);
473 }
474
475 /**
476 * <!-- begin-user-doc -->
477 * <!-- end-user-doc -->
478 * @generated
479 */
480 @Override
481 public EAttribute getAssignment_Multiple()
482 {
483 return (EAttribute)assignmentEClass.getEStructuralFeatures().get(1);
484 }
485
486 /**
487 * <!-- begin-user-doc -->
488 * <!-- end-user-doc -->
489 * @generated
490 */
491 @Override
492 public EReference getAssignment_Output()
493 {
494 return (EReference)assignmentEClass.getEStructuralFeatures().get(2);
495 }
496
497 /**
498 * <!-- begin-user-doc -->
499 * <!-- end-user-doc -->
500 * @generated
501 */
502 @Override
503 public EClass getEventReference()
504 {
505 return eventReferenceEClass;
506 }
507
508 /**
509 * <!-- begin-user-doc -->
510 * <!-- end-user-doc -->
511 * @generated
512 */
513 @Override
514 public EReference getEventReference_Component()
515 {
516 return (EReference)eventReferenceEClass.getEStructuralFeatures().get(0);
517 }
518
519 /**
520 * <!-- begin-user-doc -->
521 * <!-- end-user-doc -->
522 * @generated
523 */
524 @Override
525 public EReference getEventReference_Event()
526 {
527 return (EReference)eventReferenceEClass.getEStructuralFeatures().get(1);
528 }
529
530 /**
531 * <!-- begin-user-doc -->
532 * <!-- end-user-doc -->
533 * @generated
534 */
535 @Override
536 public EClass getComponentInstance()
537 {
538 return componentInstanceEClass;
539 }
540
541 /**
542 * <!-- begin-user-doc -->
543 * <!-- end-user-doc -->
544 * @generated
545 */
546 @Override
547 public EReference getComponentInstance_ComponentType()
548 {
549 return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0);
550 }
551
552 /**
553 * <!-- begin-user-doc -->
554 * <!-- end-user-doc -->
555 * @generated
556 */
557 @Override
558 public CftLanguageFactory getCftLanguageFactory()
559 {
560 return (CftLanguageFactory)getEFactoryInstance();
561 }
562
563 /**
564 * <!-- begin-user-doc -->
565 * <!-- end-user-doc -->
566 * @generated
567 */
568 private boolean isCreated = false;
569
570 /**
571 * Creates the meta-model objects for the package. This method is
572 * guarded to have no affect on any invocation but its first.
573 * <!-- begin-user-doc -->
574 * <!-- end-user-doc -->
575 * @generated
576 */
577 public void createPackageContents()
578 {
579 if (isCreated) return;
580 isCreated = true;
581
582 // Create classes and their features
583 cftModelEClass = createEClass(CFT_MODEL);
584 createEAttribute(cftModelEClass, CFT_MODEL__PACKAGE_NAME);
585 createEReference(cftModelEClass, CFT_MODEL__IMPORTS);
586 createEReference(cftModelEClass, CFT_MODEL__COMPONENT_DEFINITIONS);
587 createEReference(cftModelEClass, CFT_MODEL__TRANSFORMATION_DEFINITIONS);
588
589 importDeclarationEClass = createEClass(IMPORT_DECLARATION);
590 createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE);
591
592 transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION);
593 createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME);
594 createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS);
595
596 mappingDefinitionEClass = createEClass(MAPPING_DEFINITION);
597 createEAttribute(mappingDefinitionEClass, MAPPING_DEFINITION__TOP_LEVEL);
598 createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PATTERN);
599 createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PARAMETERS);
600 createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__COMPONENT_INSTANCE);
601 createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__LOOKUP_DEFINITIONS);
602 createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__ASSIGNMENTS);
603
604 mappingParameterEClass = createEClass(MAPPING_PARAMETER);
605 createEAttribute(mappingParameterEClass, MAPPING_PARAMETER__NAME);
606
607 lookupDefinitionEClass = createEClass(LOOKUP_DEFINITION);
608 createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__MAPPING);
609 createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__ARGUMENTS);
610
611 variableEClass = createEClass(VARIABLE);
612 createEAttribute(variableEClass, VARIABLE__NAME);
613
614 assignmentEClass = createEClass(ASSIGNMENT);
615 createEReference(assignmentEClass, ASSIGNMENT__INPUT);
616 createEAttribute(assignmentEClass, ASSIGNMENT__MULTIPLE);
617 createEReference(assignmentEClass, ASSIGNMENT__OUTPUT);
618
619 eventReferenceEClass = createEClass(EVENT_REFERENCE);
620 createEReference(eventReferenceEClass, EVENT_REFERENCE__COMPONENT);
621 createEReference(eventReferenceEClass, EVENT_REFERENCE__EVENT);
622
623 componentInstanceEClass = createEClass(COMPONENT_INSTANCE);
624 createEReference(componentInstanceEClass, COMPONENT_INSTANCE__COMPONENT_TYPE);
625 }
626
627 /**
628 * <!-- begin-user-doc -->
629 * <!-- end-user-doc -->
630 * @generated
631 */
632 private boolean isInitialized = false;
633
634 /**
635 * Complete the initialization of the package and its meta-model. This
636 * method is guarded to have no affect on any invocation but its first.
637 * <!-- begin-user-doc -->
638 * <!-- end-user-doc -->
639 * @generated
640 */
641 public void initializePackageContents()
642 {
643 if (isInitialized) return;
644 isInitialized = true;
645
646 // Initialize package
647 setName(eNAME);
648 setNsPrefix(eNS_PREFIX);
649 setNsURI(eNS_URI);
650
651 // Obtain other dependent packages
652 EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
653 CftPackage theCftPackage = (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI);
654 PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI);
655
656 // Create type parameters
657
658 // Set bounds for type parameters
659
660 // Add supertypes to classes
661 lookupDefinitionEClass.getESuperTypes().add(this.getVariable());
662 componentInstanceEClass.getESuperTypes().add(this.getVariable());
663
664 // Initialize classes and features; add operations and parameters
665 initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
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);
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);
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);
670
671 initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
673
674 initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
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);
677
678 initEClass(mappingDefinitionEClass, MappingDefinition.class, "MappingDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
679 initEAttribute(getMappingDefinition_TopLevel(), theEcorePackage.getEBoolean(), "topLevel", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
680 initEReference(getMappingDefinition_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
681 initEReference(getMappingDefinition_Parameters(), this.getMappingParameter(), null, "parameters", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
682 initEReference(getMappingDefinition_ComponentInstance(), this.getComponentInstance(), null, "componentInstance", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
683 initEReference(getMappingDefinition_LookupDefinitions(), this.getLookupDefinition(), null, "lookupDefinitions", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
684 initEReference(getMappingDefinition_Assignments(), this.getAssignment(), null, "assignments", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
685
686 initEClass(mappingParameterEClass, MappingParameter.class, "MappingParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
687 initEAttribute(getMappingParameter_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MappingParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
688
689 initEClass(lookupDefinitionEClass, LookupDefinition.class, "LookupDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
690 initEReference(getLookupDefinition_Mapping(), this.getMappingDefinition(), null, "mapping", null, 0, 1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
691 initEReference(getLookupDefinition_Arguments(), this.getMappingParameter(), null, "arguments", null, 0, -1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
692
693 initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
694 initEAttribute(getVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
695
696 initEClass(assignmentEClass, Assignment.class, "Assignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
697 initEReference(getAssignment_Input(), this.getEventReference(), null, "input", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
698 initEAttribute(getAssignment_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
699 initEReference(getAssignment_Output(), this.getEventReference(), null, "output", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
700
701 initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
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);
704
705 initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
707
708 // Create resource
709 createResource(eNS_URI);
710 }
711
712} //CftLanguagePackageImpl
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
deleted file mode 100644
index 1a5a8c16..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java
+++ /dev/null
@@ -1,325 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
10
11import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
12
13import java.util.Collection;
14
15import org.eclipse.emf.common.notify.Notification;
16import org.eclipse.emf.common.notify.NotificationChain;
17
18import org.eclipse.emf.common.util.EList;
19
20import org.eclipse.emf.ecore.EClass;
21import org.eclipse.emf.ecore.InternalEObject;
22
23import org.eclipse.emf.ecore.impl.ENotificationImpl;
24import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
25
26import org.eclipse.emf.ecore.util.EObjectContainmentEList;
27import org.eclipse.emf.ecore.util.InternalEList;
28
29/**
30 * <!-- begin-user-doc -->
31 * An implementation of the model object '<em><b>Cft Model</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.CftModelImpl#getPackageName <em>Package Name</em>}</li>
38 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getImports <em>Imports</em>}</li>
39 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getComponentDefinitions <em>Component Definitions</em>}</li>
40 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getTransformationDefinitions <em>Transformation Definitions</em>}</li>
41 * </ul>
42 *
43 * @generated
44 */
45public class CftModelImpl extends MinimalEObjectImpl.Container implements CftModel
46{
47 /**
48 * The default value of the '{@link #getPackageName() <em>Package Name</em>}' attribute.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @see #getPackageName()
52 * @generated
53 * @ordered
54 */
55 protected static final String PACKAGE_NAME_EDEFAULT = null;
56
57 /**
58 * The cached value of the '{@link #getPackageName() <em>Package Name</em>}' attribute.
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @see #getPackageName()
62 * @generated
63 * @ordered
64 */
65 protected String packageName = PACKAGE_NAME_EDEFAULT;
66
67 /**
68 * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @see #getImports()
72 * @generated
73 * @ordered
74 */
75 protected EList<ImportDeclaration> imports;
76
77 /**
78 * The cached value of the '{@link #getComponentDefinitions() <em>Component Definitions</em>}' containment reference list.
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @see #getComponentDefinitions()
82 * @generated
83 * @ordered
84 */
85 protected EList<ComponentDefinition> componentDefinitions;
86
87 /**
88 * The cached value of the '{@link #getTransformationDefinitions() <em>Transformation Definitions</em>}' containment reference list.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @see #getTransformationDefinitions()
92 * @generated
93 * @ordered
94 */
95 protected EList<TransformationDefinition> transformationDefinitions;
96
97 /**
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 protected CftModelImpl()
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.CFT_MODEL;
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 @Override
124 public String getPackageName()
125 {
126 return packageName;
127 }
128
129 /**
130 * <!-- begin-user-doc -->
131 * <!-- end-user-doc -->
132 * @generated
133 */
134 @Override
135 public void setPackageName(String newPackageName)
136 {
137 String oldPackageName = packageName;
138 packageName = newPackageName;
139 if (eNotificationRequired())
140 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.CFT_MODEL__PACKAGE_NAME, oldPackageName, packageName));
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public EList<ImportDeclaration> getImports()
150 {
151 if (imports == null)
152 {
153 imports = new EObjectContainmentEList<ImportDeclaration>(ImportDeclaration.class, this, CftLanguagePackage.CFT_MODEL__IMPORTS);
154 }
155 return imports;
156 }
157
158 /**
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @generated
162 */
163 @Override
164 public EList<ComponentDefinition> getComponentDefinitions()
165 {
166 if (componentDefinitions == null)
167 {
168 componentDefinitions = new EObjectContainmentEList<ComponentDefinition>(ComponentDefinition.class, this, CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS);
169 }
170 return componentDefinitions;
171 }
172
173 /**
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 */
178 @Override
179 public EList<TransformationDefinition> getTransformationDefinitions()
180 {
181 if (transformationDefinitions == null)
182 {
183 transformationDefinitions = new EObjectContainmentEList<TransformationDefinition>(TransformationDefinition.class, this, CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS);
184 }
185 return transformationDefinitions;
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.CFT_MODEL__IMPORTS:
199 return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs);
200 case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS:
201 return ((InternalEList<?>)getComponentDefinitions()).basicRemove(otherEnd, msgs);
202 case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS:
203 return ((InternalEList<?>)getTransformationDefinitions()).basicRemove(otherEnd, msgs);
204 }
205 return super.eInverseRemove(otherEnd, featureID, msgs);
206 }
207
208 /**
209 * <!-- begin-user-doc -->
210 * <!-- end-user-doc -->
211 * @generated
212 */
213 @Override
214 public Object eGet(int featureID, boolean resolve, boolean coreType)
215 {
216 switch (featureID)
217 {
218 case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME:
219 return getPackageName();
220 case CftLanguagePackage.CFT_MODEL__IMPORTS:
221 return getImports();
222 case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS:
223 return getComponentDefinitions();
224 case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS:
225 return getTransformationDefinitions();
226 }
227 return super.eGet(featureID, resolve, coreType);
228 }
229
230 /**
231 * <!-- begin-user-doc -->
232 * <!-- end-user-doc -->
233 * @generated
234 */
235 @SuppressWarnings("unchecked")
236 @Override
237 public void eSet(int featureID, Object newValue)
238 {
239 switch (featureID)
240 {
241 case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME:
242 setPackageName((String)newValue);
243 return;
244 case CftLanguagePackage.CFT_MODEL__IMPORTS:
245 getImports().clear();
246 getImports().addAll((Collection<? extends ImportDeclaration>)newValue);
247 return;
248 case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS:
249 getComponentDefinitions().clear();
250 getComponentDefinitions().addAll((Collection<? extends ComponentDefinition>)newValue);
251 return;
252 case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS:
253 getTransformationDefinitions().clear();
254 getTransformationDefinitions().addAll((Collection<? extends TransformationDefinition>)newValue);
255 return;
256 }
257 super.eSet(featureID, newValue);
258 }
259
260 /**
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @generated
264 */
265 @Override
266 public void eUnset(int featureID)
267 {
268 switch (featureID)
269 {
270 case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME:
271 setPackageName(PACKAGE_NAME_EDEFAULT);
272 return;
273 case CftLanguagePackage.CFT_MODEL__IMPORTS:
274 getImports().clear();
275 return;
276 case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS:
277 getComponentDefinitions().clear();
278 return;
279 case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS:
280 getTransformationDefinitions().clear();
281 return;
282 }
283 super.eUnset(featureID);
284 }
285
286 /**
287 * <!-- begin-user-doc -->
288 * <!-- end-user-doc -->
289 * @generated
290 */
291 @Override
292 public boolean eIsSet(int featureID)
293 {
294 switch (featureID)
295 {
296 case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME:
297 return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName);
298 case CftLanguagePackage.CFT_MODEL__IMPORTS:
299 return imports != null && !imports.isEmpty();
300 case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS:
301 return componentDefinitions != null && !componentDefinitions.isEmpty();
302 case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS:
303 return transformationDefinitions != null && !transformationDefinitions.isEmpty();
304 }
305 return super.eIsSet(featureID);
306 }
307
308 /**
309 * <!-- begin-user-doc -->
310 * <!-- end-user-doc -->
311 * @generated
312 */
313 @Override
314 public String toString()
315 {
316 if (eIsProxy()) return super.toString();
317
318 StringBuilder result = new StringBuilder(super.toString());
319 result.append(" (packageName: ");
320 result.append(packageName);
321 result.append(')');
322 return result.toString();
323 }
324
325} //CftModelImpl
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
deleted file mode 100644
index d1c22199..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
8
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
10
11import org.eclipse.emf.common.notify.Notification;
12
13import org.eclipse.emf.ecore.EClass;
14import org.eclipse.emf.ecore.InternalEObject;
15
16import org.eclipse.emf.ecore.impl.ENotificationImpl;
17
18/**
19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>Component Instance</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.ComponentInstanceImpl#getComponentType <em>Component Type</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ComponentInstanceImpl extends VariableImpl implements ComponentInstance
32{
33 /**
34 * The cached value of the '{@link #getComponentType() <em>Component Type</em>}' reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getComponentType()
38 * @generated
39 * @ordered
40 */
41 protected ComponentDefinition componentType;
42
43 /**
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @generated
47 */
48 protected ComponentInstanceImpl()
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.COMPONENT_INSTANCE;
62 }
63
64 /**
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 @Override
70 public ComponentDefinition getComponentType()
71 {
72 if (componentType != null && componentType.eIsProxy())
73 {
74 InternalEObject oldComponentType = (InternalEObject)componentType;
75 componentType = (ComponentDefinition)eResolveProxy(oldComponentType);
76 if (componentType != oldComponentType)
77 {
78 if (eNotificationRequired())
79 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType));
80 }
81 }
82 return componentType;
83 }
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 public ComponentDefinition basicGetComponentType()
91 {
92 return componentType;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 @Override
101 public void setComponentType(ComponentDefinition newComponentType)
102 {
103 ComponentDefinition oldComponentType = componentType;
104 componentType = newComponentType;
105 if (eNotificationRequired())
106 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType));
107 }
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 @Override
115 public Object eGet(int featureID, boolean resolve, boolean coreType)
116 {
117 switch (featureID)
118 {
119 case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE:
120 if (resolve) return getComponentType();
121 return basicGetComponentType();
122 }
123 return super.eGet(featureID, resolve, coreType);
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 @Override
132 public void eSet(int featureID, Object newValue)
133 {
134 switch (featureID)
135 {
136 case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE:
137 setComponentType((ComponentDefinition)newValue);
138 return;
139 }
140 super.eSet(featureID, newValue);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eUnset(int featureID)
150 {
151 switch (featureID)
152 {
153 case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE:
154 setComponentType((ComponentDefinition)null);
155 return;
156 }
157 super.eUnset(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public boolean eIsSet(int featureID)
167 {
168 switch (featureID)
169 {
170 case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE:
171 return componentType != null;
172 }
173 return super.eIsSet(featureID);
174 }
175
176} //ComponentInstanceImpl
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
deleted file mode 100644
index 2f4835a3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java
+++ /dev/null
@@ -1,245 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable;
9
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
11
12import org.eclipse.emf.common.notify.Notification;
13
14import org.eclipse.emf.ecore.EClass;
15import org.eclipse.emf.ecore.InternalEObject;
16
17import org.eclipse.emf.ecore.impl.ENotificationImpl;
18import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
19
20/**
21 * <!-- begin-user-doc -->
22 * An implementation of the model object '<em><b>Event Reference</b></em>'.
23 * <!-- end-user-doc -->
24 * <p>
25 * The following features are implemented:
26 * </p>
27 * <ul>
28 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl#getComponent <em>Component</em>}</li>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl#getEvent <em>Event</em>}</li>
30 * </ul>
31 *
32 * @generated
33 */
34public class EventReferenceImpl extends MinimalEObjectImpl.Container implements EventReference
35{
36 /**
37 * The cached value of the '{@link #getComponent() <em>Component</em>}' reference.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getComponent()
41 * @generated
42 * @ordered
43 */
44 protected Variable component;
45
46 /**
47 * The cached value of the '{@link #getEvent() <em>Event</em>}' reference.
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @see #getEvent()
51 * @generated
52 * @ordered
53 */
54 protected EventDeclaration event;
55
56 /**
57 * <!-- begin-user-doc -->
58 * <!-- end-user-doc -->
59 * @generated
60 */
61 protected EventReferenceImpl()
62 {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass()
73 {
74 return CftLanguagePackage.Literals.EVENT_REFERENCE;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public Variable getComponent()
84 {
85 if (component != null && component.eIsProxy())
86 {
87 InternalEObject oldComponent = (InternalEObject)component;
88 component = (Variable)eResolveProxy(oldComponent);
89 if (component != oldComponent)
90 {
91 if (eNotificationRequired())
92 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.EVENT_REFERENCE__COMPONENT, oldComponent, component));
93 }
94 }
95 return component;
96 }
97
98 /**
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 */
103 public Variable basicGetComponent()
104 {
105 return component;
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 @Override
114 public void setComponent(Variable newComponent)
115 {
116 Variable oldComponent = component;
117 component = newComponent;
118 if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.EVENT_REFERENCE__COMPONENT, oldComponent, component));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 @Override
128 public EventDeclaration getEvent()
129 {
130 if (event != null && event.eIsProxy())
131 {
132 InternalEObject oldEvent = (InternalEObject)event;
133 event = (EventDeclaration)eResolveProxy(oldEvent);
134 if (event != oldEvent)
135 {
136 if (eNotificationRequired())
137 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.EVENT_REFERENCE__EVENT, oldEvent, event));
138 }
139 }
140 return event;
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 public EventDeclaration basicGetEvent()
149 {
150 return event;
151 }
152
153 /**
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 */
158 @Override
159 public void setEvent(EventDeclaration newEvent)
160 {
161 EventDeclaration oldEvent = event;
162 event = newEvent;
163 if (eNotificationRequired())
164 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.EVENT_REFERENCE__EVENT, oldEvent, event));
165 }
166
167 /**
168 * <!-- begin-user-doc -->
169 * <!-- end-user-doc -->
170 * @generated
171 */
172 @Override
173 public Object eGet(int featureID, boolean resolve, boolean coreType)
174 {
175 switch (featureID)
176 {
177 case CftLanguagePackage.EVENT_REFERENCE__COMPONENT:
178 if (resolve) return getComponent();
179 return basicGetComponent();
180 case CftLanguagePackage.EVENT_REFERENCE__EVENT:
181 if (resolve) return getEvent();
182 return basicGetEvent();
183 }
184 return super.eGet(featureID, resolve, coreType);
185 }
186
187 /**
188 * <!-- begin-user-doc -->
189 * <!-- end-user-doc -->
190 * @generated
191 */
192 @Override
193 public void eSet(int featureID, Object newValue)
194 {
195 switch (featureID)
196 {
197 case CftLanguagePackage.EVENT_REFERENCE__COMPONENT:
198 setComponent((Variable)newValue);
199 return;
200 case CftLanguagePackage.EVENT_REFERENCE__EVENT:
201 setEvent((EventDeclaration)newValue);
202 return;
203 }
204 super.eSet(featureID, newValue);
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 @Override
213 public void eUnset(int featureID)
214 {
215 switch (featureID)
216 {
217 case CftLanguagePackage.EVENT_REFERENCE__COMPONENT:
218 setComponent((Variable)null);
219 return;
220 case CftLanguagePackage.EVENT_REFERENCE__EVENT:
221 setEvent((EventDeclaration)null);
222 return;
223 }
224 super.eUnset(featureID);
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @Override
233 public boolean eIsSet(int featureID)
234 {
235 switch (featureID)
236 {
237 case CftLanguagePackage.EVENT_REFERENCE__COMPONENT:
238 return component != null;
239 case CftLanguagePackage.EVENT_REFERENCE__EVENT:
240 return event != null;
241 }
242 return super.eIsSet(featureID);
243 }
244
245} //EventReferenceImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java
deleted file mode 100644
index f4e45535..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>Import 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.ImportDeclarationImpl#getImportedNamespace <em>Imported Namespace</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class ImportDeclarationImpl extends MinimalEObjectImpl.Container implements ImportDeclaration
30{
31 /**
32 * The default value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #getImportedNamespace()
36 * @generated
37 * @ordered
38 */
39 protected static final String IMPORTED_NAMESPACE_EDEFAULT = null;
40
41 /**
42 * The cached value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #getImportedNamespace()
46 * @generated
47 * @ordered
48 */
49 protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT;
50
51 /**
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @generated
55 */
56 protected ImportDeclarationImpl()
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.IMPORT_DECLARATION;
70 }
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 @Override
78 public String getImportedNamespace()
79 {
80 return importedNamespace;
81 }
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 @Override
89 public void setImportedNamespace(String newImportedNamespace)
90 {
91 String oldImportedNamespace = importedNamespace;
92 importedNamespace = newImportedNamespace;
93 if (eNotificationRequired())
94 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace));
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.IMPORT_DECLARATION__IMPORTED_NAMESPACE:
108 return getImportedNamespace();
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.IMPORT_DECLARATION__IMPORTED_NAMESPACE:
124 setImportedNamespace((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.IMPORT_DECLARATION__IMPORTED_NAMESPACE:
141 setImportedNamespace(IMPORTED_NAMESPACE_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.IMPORT_DECLARATION__IMPORTED_NAMESPACE:
158 return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace);
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(" (importedNamespace: ");
175 result.append(importedNamespace);
176 result.append(')');
177 return result.toString();
178 }
179
180} //ImportDeclarationImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java
deleted file mode 100644
index f4877855..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java
+++ /dev/null
@@ -1,220 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
10
11import java.util.Collection;
12
13import org.eclipse.emf.common.notify.Notification;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.impl.ENotificationImpl;
21
22import org.eclipse.emf.ecore.util.EObjectResolvingEList;
23
24/**
25 * <!-- begin-user-doc -->
26 * An implementation of the model object '<em><b>Lookup Definition</b></em>'.
27 * <!-- end-user-doc -->
28 * <p>
29 * The following features are implemented:
30 * </p>
31 * <ul>
32 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl#getMapping <em>Mapping</em>}</li>
33 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl#getArguments <em>Arguments</em>}</li>
34 * </ul>
35 *
36 * @generated
37 */
38public class LookupDefinitionImpl extends VariableImpl implements LookupDefinition
39{
40 /**
41 * The cached value of the '{@link #getMapping() <em>Mapping</em>}' reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getMapping()
45 * @generated
46 * @ordered
47 */
48 protected MappingDefinition mapping;
49
50 /**
51 * The cached value of the '{@link #getArguments() <em>Arguments</em>}' reference list.
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @see #getArguments()
55 * @generated
56 * @ordered
57 */
58 protected EList<MappingParameter> arguments;
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 protected LookupDefinitionImpl()
66 {
67 super();
68 }
69
70 /**
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @generated
74 */
75 @Override
76 protected EClass eStaticClass()
77 {
78 return CftLanguagePackage.Literals.LOOKUP_DEFINITION;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 @Override
87 public MappingDefinition getMapping()
88 {
89 if (mapping != null && mapping.eIsProxy())
90 {
91 InternalEObject oldMapping = (InternalEObject)mapping;
92 mapping = (MappingDefinition)eResolveProxy(oldMapping);
93 if (mapping != oldMapping)
94 {
95 if (eNotificationRequired())
96 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.LOOKUP_DEFINITION__MAPPING, oldMapping, mapping));
97 }
98 }
99 return mapping;
100 }
101
102 /**
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @generated
106 */
107 public MappingDefinition basicGetMapping()
108 {
109 return mapping;
110 }
111
112 /**
113 * <!-- begin-user-doc -->
114 * <!-- end-user-doc -->
115 * @generated
116 */
117 @Override
118 public void setMapping(MappingDefinition newMapping)
119 {
120 MappingDefinition oldMapping = mapping;
121 mapping = newMapping;
122 if (eNotificationRequired())
123 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.LOOKUP_DEFINITION__MAPPING, oldMapping, mapping));
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 @Override
132 public EList<MappingParameter> getArguments()
133 {
134 if (arguments == null)
135 {
136 arguments = new EObjectResolvingEList<MappingParameter>(MappingParameter.class, this, CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS);
137 }
138 return arguments;
139 }
140
141 /**
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @generated
145 */
146 @Override
147 public Object eGet(int featureID, boolean resolve, boolean coreType)
148 {
149 switch (featureID)
150 {
151 case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING:
152 if (resolve) return getMapping();
153 return basicGetMapping();
154 case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS:
155 return getArguments();
156 }
157 return super.eGet(featureID, resolve, coreType);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @SuppressWarnings("unchecked")
166 @Override
167 public void eSet(int featureID, Object newValue)
168 {
169 switch (featureID)
170 {
171 case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING:
172 setMapping((MappingDefinition)newValue);
173 return;
174 case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS:
175 getArguments().clear();
176 getArguments().addAll((Collection<? extends MappingParameter>)newValue);
177 return;
178 }
179 super.eSet(featureID, newValue);
180 }
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 */
187 @Override
188 public void eUnset(int featureID)
189 {
190 switch (featureID)
191 {
192 case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING:
193 setMapping((MappingDefinition)null);
194 return;
195 case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS:
196 getArguments().clear();
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 {
210 switch (featureID)
211 {
212 case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING:
213 return mapping != null;
214 case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS:
215 return arguments != null && !arguments.isEmpty();
216 }
217 return super.eIsSet(featureID);
218 }
219
220} //LookupDefinitionImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java
deleted file mode 100644
index d92dd935..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java
+++ /dev/null
@@ -1,467 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
12
13import java.util.Collection;
14
15import org.eclipse.emf.common.notify.Notification;
16import org.eclipse.emf.common.notify.NotificationChain;
17
18import org.eclipse.emf.common.util.EList;
19
20import org.eclipse.emf.ecore.EClass;
21import org.eclipse.emf.ecore.InternalEObject;
22
23import org.eclipse.emf.ecore.impl.ENotificationImpl;
24import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
25
26import org.eclipse.emf.ecore.util.EObjectContainmentEList;
27import org.eclipse.emf.ecore.util.InternalEList;
28
29import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
30
31/**
32 * <!-- begin-user-doc -->
33 * An implementation of the model object '<em><b>Mapping Definition</b></em>'.
34 * <!-- end-user-doc -->
35 * <p>
36 * The following features are implemented:
37 * </p>
38 * <ul>
39 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#isTopLevel <em>Top Level</em>}</li>
40 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getPattern <em>Pattern</em>}</li>
41 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getParameters <em>Parameters</em>}</li>
42 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getComponentInstance <em>Component Instance</em>}</li>
43 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getLookupDefinitions <em>Lookup Definitions</em>}</li>
44 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getAssignments <em>Assignments</em>}</li>
45 * </ul>
46 *
47 * @generated
48 */
49public class MappingDefinitionImpl extends MinimalEObjectImpl.Container implements MappingDefinition
50{
51 /**
52 * The default value of the '{@link #isTopLevel() <em>Top Level</em>}' attribute.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @see #isTopLevel()
56 * @generated
57 * @ordered
58 */
59 protected static final boolean TOP_LEVEL_EDEFAULT = false;
60
61 /**
62 * The cached value of the '{@link #isTopLevel() <em>Top Level</em>}' attribute.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @see #isTopLevel()
66 * @generated
67 * @ordered
68 */
69 protected boolean topLevel = TOP_LEVEL_EDEFAULT;
70
71 /**
72 * The cached value of the '{@link #getPattern() <em>Pattern</em>}' reference.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @see #getPattern()
76 * @generated
77 * @ordered
78 */
79 protected Pattern pattern;
80
81 /**
82 * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @see #getParameters()
86 * @generated
87 * @ordered
88 */
89 protected EList<MappingParameter> parameters;
90
91 /**
92 * The cached value of the '{@link #getComponentInstance() <em>Component Instance</em>}' containment reference.
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @see #getComponentInstance()
96 * @generated
97 * @ordered
98 */
99 protected ComponentInstance componentInstance;
100
101 /**
102 * The cached value of the '{@link #getLookupDefinitions() <em>Lookup Definitions</em>}' containment reference list.
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @see #getLookupDefinitions()
106 * @generated
107 * @ordered
108 */
109 protected EList<LookupDefinition> lookupDefinitions;
110
111 /**
112 * The cached value of the '{@link #getAssignments() <em>Assignments</em>}' containment reference list.
113 * <!-- begin-user-doc -->
114 * <!-- end-user-doc -->
115 * @see #getAssignments()
116 * @generated
117 * @ordered
118 */
119 protected EList<Assignment> assignments;
120
121 /**
122 * <!-- begin-user-doc -->
123 * <!-- end-user-doc -->
124 * @generated
125 */
126 protected MappingDefinitionImpl()
127 {
128 super();
129 }
130
131 /**
132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc -->
134 * @generated
135 */
136 @Override
137 protected EClass eStaticClass()
138 {
139 return CftLanguagePackage.Literals.MAPPING_DEFINITION;
140 }
141
142 /**
143 * <!-- begin-user-doc -->
144 * <!-- end-user-doc -->
145 * @generated
146 */
147 @Override
148 public boolean isTopLevel()
149 {
150 return topLevel;
151 }
152
153 /**
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 */
158 @Override
159 public void setTopLevel(boolean newTopLevel)
160 {
161 boolean oldTopLevel = topLevel;
162 topLevel = newTopLevel;
163 if (eNotificationRequired())
164 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL, oldTopLevel, topLevel));
165 }
166
167 /**
168 * <!-- begin-user-doc -->
169 * <!-- end-user-doc -->
170 * @generated
171 */
172 @Override
173 public Pattern getPattern()
174 {
175 if (pattern != null && pattern.eIsProxy())
176 {
177 InternalEObject oldPattern = (InternalEObject)pattern;
178 pattern = (Pattern)eResolveProxy(oldPattern);
179 if (pattern != oldPattern)
180 {
181 if (eNotificationRequired())
182 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.MAPPING_DEFINITION__PATTERN, oldPattern, pattern));
183 }
184 }
185 return pattern;
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 public Pattern basicGetPattern()
194 {
195 return pattern;
196 }
197
198 /**
199 * <!-- begin-user-doc -->
200 * <!-- end-user-doc -->
201 * @generated
202 */
203 @Override
204 public void setPattern(Pattern newPattern)
205 {
206 Pattern oldPattern = pattern;
207 pattern = newPattern;
208 if (eNotificationRequired())
209 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__PATTERN, oldPattern, pattern));
210 }
211
212 /**
213 * <!-- begin-user-doc -->
214 * <!-- end-user-doc -->
215 * @generated
216 */
217 @Override
218 public EList<MappingParameter> getParameters()
219 {
220 if (parameters == null)
221 {
222 parameters = new EObjectContainmentEList<MappingParameter>(MappingParameter.class, this, CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS);
223 }
224 return parameters;
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @Override
233 public ComponentInstance getComponentInstance()
234 {
235 return componentInstance;
236 }
237
238 /**
239 * <!-- begin-user-doc -->
240 * <!-- end-user-doc -->
241 * @generated
242 */
243 public NotificationChain basicSetComponentInstance(ComponentInstance newComponentInstance, NotificationChain msgs)
244 {
245 ComponentInstance oldComponentInstance = componentInstance;
246 componentInstance = newComponentInstance;
247 if (eNotificationRequired())
248 {
249 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, oldComponentInstance, newComponentInstance);
250 if (msgs == null) msgs = notification; else msgs.add(notification);
251 }
252 return msgs;
253 }
254
255 /**
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 */
260 @Override
261 public void setComponentInstance(ComponentInstance newComponentInstance)
262 {
263 if (newComponentInstance != componentInstance)
264 {
265 NotificationChain msgs = null;
266 if (componentInstance != null)
267 msgs = ((InternalEObject)componentInstance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, null, msgs);
268 if (newComponentInstance != null)
269 msgs = ((InternalEObject)newComponentInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, null, msgs);
270 msgs = basicSetComponentInstance(newComponentInstance, msgs);
271 if (msgs != null) msgs.dispatch();
272 }
273 else if (eNotificationRequired())
274 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, newComponentInstance, newComponentInstance));
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public EList<LookupDefinition> getLookupDefinitions()
284 {
285 if (lookupDefinitions == null)
286 {
287 lookupDefinitions = new EObjectContainmentEList<LookupDefinition>(LookupDefinition.class, this, CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS);
288 }
289 return lookupDefinitions;
290 }
291
292 /**
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 */
297 @Override
298 public EList<Assignment> getAssignments()
299 {
300 if (assignments == null)
301 {
302 assignments = new EObjectContainmentEList<Assignment>(Assignment.class, this, CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS);
303 }
304 return assignments;
305 }
306
307 /**
308 * <!-- begin-user-doc -->
309 * <!-- end-user-doc -->
310 * @generated
311 */
312 @Override
313 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
314 {
315 switch (featureID)
316 {
317 case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS:
318 return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs);
319 case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE:
320 return basicSetComponentInstance(null, msgs);
321 case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS:
322 return ((InternalEList<?>)getLookupDefinitions()).basicRemove(otherEnd, msgs);
323 case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS:
324 return ((InternalEList<?>)getAssignments()).basicRemove(otherEnd, msgs);
325 }
326 return super.eInverseRemove(otherEnd, featureID, msgs);
327 }
328
329 /**
330 * <!-- begin-user-doc -->
331 * <!-- end-user-doc -->
332 * @generated
333 */
334 @Override
335 public Object eGet(int featureID, boolean resolve, boolean coreType)
336 {
337 switch (featureID)
338 {
339 case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL:
340 return isTopLevel();
341 case CftLanguagePackage.MAPPING_DEFINITION__PATTERN:
342 if (resolve) return getPattern();
343 return basicGetPattern();
344 case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS:
345 return getParameters();
346 case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE:
347 return getComponentInstance();
348 case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS:
349 return getLookupDefinitions();
350 case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS:
351 return getAssignments();
352 }
353 return super.eGet(featureID, resolve, coreType);
354 }
355
356 /**
357 * <!-- begin-user-doc -->
358 * <!-- end-user-doc -->
359 * @generated
360 */
361 @SuppressWarnings("unchecked")
362 @Override
363 public void eSet(int featureID, Object newValue)
364 {
365 switch (featureID)
366 {
367 case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL:
368 setTopLevel((Boolean)newValue);
369 return;
370 case CftLanguagePackage.MAPPING_DEFINITION__PATTERN:
371 setPattern((Pattern)newValue);
372 return;
373 case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS:
374 getParameters().clear();
375 getParameters().addAll((Collection<? extends MappingParameter>)newValue);
376 return;
377 case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE:
378 setComponentInstance((ComponentInstance)newValue);
379 return;
380 case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS:
381 getLookupDefinitions().clear();
382 getLookupDefinitions().addAll((Collection<? extends LookupDefinition>)newValue);
383 return;
384 case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS:
385 getAssignments().clear();
386 getAssignments().addAll((Collection<? extends Assignment>)newValue);
387 return;
388 }
389 super.eSet(featureID, newValue);
390 }
391
392 /**
393 * <!-- begin-user-doc -->
394 * <!-- end-user-doc -->
395 * @generated
396 */
397 @Override
398 public void eUnset(int featureID)
399 {
400 switch (featureID)
401 {
402 case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL:
403 setTopLevel(TOP_LEVEL_EDEFAULT);
404 return;
405 case CftLanguagePackage.MAPPING_DEFINITION__PATTERN:
406 setPattern((Pattern)null);
407 return;
408 case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS:
409 getParameters().clear();
410 return;
411 case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE:
412 setComponentInstance((ComponentInstance)null);
413 return;
414 case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS:
415 getLookupDefinitions().clear();
416 return;
417 case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS:
418 getAssignments().clear();
419 return;
420 }
421 super.eUnset(featureID);
422 }
423
424 /**
425 * <!-- begin-user-doc -->
426 * <!-- end-user-doc -->
427 * @generated
428 */
429 @Override
430 public boolean eIsSet(int featureID)
431 {
432 switch (featureID)
433 {
434 case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL:
435 return topLevel != TOP_LEVEL_EDEFAULT;
436 case CftLanguagePackage.MAPPING_DEFINITION__PATTERN:
437 return pattern != null;
438 case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS:
439 return parameters != null && !parameters.isEmpty();
440 case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE:
441 return componentInstance != null;
442 case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS:
443 return lookupDefinitions != null && !lookupDefinitions.isEmpty();
444 case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS:
445 return assignments != null && !assignments.isEmpty();
446 }
447 return super.eIsSet(featureID);
448 }
449
450 /**
451 * <!-- begin-user-doc -->
452 * <!-- end-user-doc -->
453 * @generated
454 */
455 @Override
456 public String toString()
457 {
458 if (eIsProxy()) return super.toString();
459
460 StringBuilder result = new StringBuilder(super.toString());
461 result.append(" (topLevel: ");
462 result.append(topLevel);
463 result.append(')');
464 return result.toString();
465 }
466
467} //MappingDefinitionImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java
deleted file mode 100644
index 9d0ee701..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>Mapping Parameter</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.MappingParameterImpl#getName <em>Name</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class MappingParameterImpl extends MinimalEObjectImpl.Container implements MappingParameter
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 MappingParameterImpl()
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.MAPPING_PARAMETER;
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.MAPPING_PARAMETER__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.MAPPING_PARAMETER__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.MAPPING_PARAMETER__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.MAPPING_PARAMETER__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.MAPPING_PARAMETER__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} //MappingParameterImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java
deleted file mode 100644
index 89e89b0f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
9
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.Notification;
13import org.eclipse.emf.common.notify.NotificationChain;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.impl.ENotificationImpl;
21import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
22
23import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24import org.eclipse.emf.ecore.util.InternalEList;
25
26/**
27 * <!-- begin-user-doc -->
28 * An implementation of the model object '<em><b>Transformation Definition</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.components.cftLanguage.impl.TransformationDefinitionImpl#getName <em>Name</em>}</li>
35 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl#getMappingDefinitions <em>Mapping Definitions</em>}</li>
36 * </ul>
37 *
38 * @generated
39 */
40public class TransformationDefinitionImpl extends MinimalEObjectImpl.Container implements TransformationDefinition
41{
42 /**
43 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #getName()
47 * @generated
48 * @ordered
49 */
50 protected static final String NAME_EDEFAULT = null;
51
52 /**
53 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #getName()
57 * @generated
58 * @ordered
59 */
60 protected String name = NAME_EDEFAULT;
61
62 /**
63 * The cached value of the '{@link #getMappingDefinitions() <em>Mapping Definitions</em>}' containment reference list.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #getMappingDefinitions()
67 * @generated
68 * @ordered
69 */
70 protected EList<MappingDefinition> mappingDefinitions;
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 protected TransformationDefinitionImpl()
78 {
79 super();
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 @Override
88 protected EClass eStaticClass()
89 {
90 return CftLanguagePackage.Literals.TRANSFORMATION_DEFINITION;
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 public String getName()
100 {
101 return name;
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 @Override
110 public void setName(String newName)
111 {
112 String oldName = name;
113 name = newName;
114 if (eNotificationRequired())
115 eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME, oldName, name));
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 @Override
124 public EList<MappingDefinition> getMappingDefinitions()
125 {
126 if (mappingDefinitions == null)
127 {
128 mappingDefinitions = new EObjectContainmentEList<MappingDefinition>(MappingDefinition.class, this, CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS);
129 }
130 return mappingDefinitions;
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 {
141 switch (featureID)
142 {
143 case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS:
144 return ((InternalEList<?>)getMappingDefinitions()).basicRemove(otherEnd, msgs);
145 }
146 return super.eInverseRemove(otherEnd, featureID, msgs);
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 @Override
155 public Object eGet(int featureID, boolean resolve, boolean coreType)
156 {
157 switch (featureID)
158 {
159 case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME:
160 return getName();
161 case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS:
162 return getMappingDefinitions();
163 }
164 return super.eGet(featureID, resolve, coreType);
165 }
166
167 /**
168 * <!-- begin-user-doc -->
169 * <!-- end-user-doc -->
170 * @generated
171 */
172 @SuppressWarnings("unchecked")
173 @Override
174 public void eSet(int featureID, Object newValue)
175 {
176 switch (featureID)
177 {
178 case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME:
179 setName((String)newValue);
180 return;
181 case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS:
182 getMappingDefinitions().clear();
183 getMappingDefinitions().addAll((Collection<? extends MappingDefinition>)newValue);
184 return;
185 }
186 super.eSet(featureID, newValue);
187 }
188
189 /**
190 * <!-- begin-user-doc -->
191 * <!-- end-user-doc -->
192 * @generated
193 */
194 @Override
195 public void eUnset(int featureID)
196 {
197 switch (featureID)
198 {
199 case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME:
200 setName(NAME_EDEFAULT);
201 return;
202 case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS:
203 getMappingDefinitions().clear();
204 return;
205 }
206 super.eUnset(featureID);
207 }
208
209 /**
210 * <!-- begin-user-doc -->
211 * <!-- end-user-doc -->
212 * @generated
213 */
214 @Override
215 public boolean eIsSet(int featureID)
216 {
217 switch (featureID)
218 {
219 case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME:
220 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
221 case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS:
222 return mappingDefinitions != null && !mappingDefinitions.isEmpty();
223 }
224 return super.eIsSet(featureID);
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @Override
233 public String toString()
234 {
235 if (eIsProxy()) return super.toString();
236
237 StringBuilder result = new StringBuilder(super.toString());
238 result.append(" (name: ");
239 result.append(name);
240 result.append(')');
241 return result.toString();
242 }
243
244} //TransformationDefinitionImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java
deleted file mode 100644
index 3c7d1ccb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>Variable</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.VariableImpl#getName <em>Name</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class VariableImpl extends MinimalEObjectImpl.Container implements Variable
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 VariableImpl()
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.VARIABLE;
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.VARIABLE__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.VARIABLE__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.VARIABLE__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.VARIABLE__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.VARIABLE__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} //VariableImpl
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
deleted file mode 100644
index 99fa656d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java
+++ /dev/null
@@ -1,313 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*;
7
8import org.eclipse.emf.common.notify.Adapter;
9import org.eclipse.emf.common.notify.Notifier;
10
11import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
12
13import org.eclipse.emf.ecore.EObject;
14
15/**
16 * <!-- begin-user-doc -->
17 * The <b>Adapter Factory</b> for the model.
18 * It provides an adapter <code>createXXX</code> method for each class of the model.
19 * <!-- end-user-doc -->
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage
21 * @generated
22 */
23public class CftLanguageAdapterFactory extends AdapterFactoryImpl
24{
25 /**
26 * The cached model package.
27 * <!-- begin-user-doc -->
28 * <!-- end-user-doc -->
29 * @generated
30 */
31 protected static CftLanguagePackage modelPackage;
32
33 /**
34 * Creates an instance of the adapter factory.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @generated
38 */
39 public CftLanguageAdapterFactory()
40 {
41 if (modelPackage == null)
42 {
43 modelPackage = CftLanguagePackage.eINSTANCE;
44 }
45 }
46
47 /**
48 * Returns whether this factory is applicable for the type of the object.
49 * <!-- begin-user-doc -->
50 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
51 * <!-- end-user-doc -->
52 * @return whether this factory is applicable for the type of the object.
53 * @generated
54 */
55 @Override
56 public boolean isFactoryForType(Object object)
57 {
58 if (object == modelPackage)
59 {
60 return true;
61 }
62 if (object instanceof EObject)
63 {
64 return ((EObject)object).eClass().getEPackage() == modelPackage;
65 }
66 return false;
67 }
68
69 /**
70 * The switch that delegates to the <code>createXXX</code> methods.
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @generated
74 */
75 protected CftLanguageSwitch<Adapter> modelSwitch =
76 new CftLanguageSwitch<Adapter>()
77 {
78 @Override
79 public Adapter caseCftModel(CftModel object)
80 {
81 return createCftModelAdapter();
82 }
83 @Override
84 public Adapter caseImportDeclaration(ImportDeclaration object)
85 {
86 return createImportDeclarationAdapter();
87 }
88 @Override
89 public Adapter caseTransformationDefinition(TransformationDefinition object)
90 {
91 return createTransformationDefinitionAdapter();
92 }
93 @Override
94 public Adapter caseMappingDefinition(MappingDefinition object)
95 {
96 return createMappingDefinitionAdapter();
97 }
98 @Override
99 public Adapter caseMappingParameter(MappingParameter object)
100 {
101 return createMappingParameterAdapter();
102 }
103 @Override
104 public Adapter caseLookupDefinition(LookupDefinition object)
105 {
106 return createLookupDefinitionAdapter();
107 }
108 @Override
109 public Adapter caseVariable(Variable object)
110 {
111 return createVariableAdapter();
112 }
113 @Override
114 public Adapter caseAssignment(Assignment object)
115 {
116 return createAssignmentAdapter();
117 }
118 @Override
119 public Adapter caseEventReference(EventReference object)
120 {
121 return createEventReferenceAdapter();
122 }
123 @Override
124 public Adapter caseComponentInstance(ComponentInstance object)
125 {
126 return createComponentInstanceAdapter();
127 }
128 @Override
129 public Adapter defaultCase(EObject object)
130 {
131 return createEObjectAdapter();
132 }
133 };
134
135 /**
136 * Creates an adapter for the <code>target</code>.
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @param target the object to adapt.
140 * @return the adapter for the <code>target</code>.
141 * @generated
142 */
143 @Override
144 public Adapter createAdapter(Notifier target)
145 {
146 return modelSwitch.doSwitch((EObject)target);
147 }
148
149
150 /**
151 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel <em>Cft Model</em>}'.
152 * <!-- begin-user-doc -->
153 * This default implementation returns null so that we can easily ignore cases;
154 * it's useful to ignore a case when inheritance will catch all the cases anyway.
155 * <!-- end-user-doc -->
156 * @return the new adapter.
157 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel
158 * @generated
159 */
160 public Adapter createCftModelAdapter()
161 {
162 return null;
163 }
164
165 /**
166 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration <em>Import Declaration</em>}'.
167 * <!-- begin-user-doc -->
168 * This default implementation returns null so that we can easily ignore cases;
169 * it's useful to ignore a case when inheritance will catch all the cases anyway.
170 * <!-- end-user-doc -->
171 * @return the new adapter.
172 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration
173 * @generated
174 */
175 public Adapter createImportDeclarationAdapter()
176 {
177 return null;
178 }
179
180 /**
181 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'.
182 * <!-- begin-user-doc -->
183 * This default implementation returns null so that we can easily ignore cases;
184 * it's useful to ignore a case when inheritance will catch all the cases anyway.
185 * <!-- end-user-doc -->
186 * @return the new adapter.
187 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
188 * @generated
189 */
190 public Adapter createTransformationDefinitionAdapter()
191 {
192 return null;
193 }
194
195 /**
196 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition <em>Mapping Definition</em>}'.
197 * <!-- begin-user-doc -->
198 * This default implementation returns null so that we can easily ignore cases;
199 * it's useful to ignore a case when inheritance will catch all the cases anyway.
200 * <!-- end-user-doc -->
201 * @return the new adapter.
202 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
203 * @generated
204 */
205 public Adapter createMappingDefinitionAdapter()
206 {
207 return null;
208 }
209
210 /**
211 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter <em>Mapping Parameter</em>}'.
212 * <!-- begin-user-doc -->
213 * This default implementation returns null so that we can easily ignore cases;
214 * it's useful to ignore a case when inheritance will catch all the cases anyway.
215 * <!-- end-user-doc -->
216 * @return the new adapter.
217 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter
218 * @generated
219 */
220 public Adapter createMappingParameterAdapter()
221 {
222 return null;
223 }
224
225 /**
226 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition <em>Lookup Definition</em>}'.
227 * <!-- begin-user-doc -->
228 * This default implementation returns null so that we can easily ignore cases;
229 * it's useful to ignore a case when inheritance will catch all the cases anyway.
230 * <!-- end-user-doc -->
231 * @return the new adapter.
232 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
233 * @generated
234 */
235 public Adapter createLookupDefinitionAdapter()
236 {
237 return null;
238 }
239
240 /**
241 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable <em>Variable</em>}'.
242 * <!-- begin-user-doc -->
243 * This default implementation returns null so that we can easily ignore cases;
244 * it's useful to ignore a case when inheritance will catch all the cases anyway.
245 * <!-- end-user-doc -->
246 * @return the new adapter.
247 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable
248 * @generated
249 */
250 public Adapter createVariableAdapter()
251 {
252 return null;
253 }
254
255 /**
256 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment <em>Assignment</em>}'.
257 * <!-- begin-user-doc -->
258 * This default implementation returns null so that we can easily ignore cases;
259 * it's useful to ignore a case when inheritance will catch all the cases anyway.
260 * <!-- end-user-doc -->
261 * @return the new adapter.
262 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment
263 * @generated
264 */
265 public Adapter createAssignmentAdapter()
266 {
267 return null;
268 }
269
270 /**
271 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference <em>Event Reference</em>}'.
272 * <!-- begin-user-doc -->
273 * This default implementation returns null so that we can easily ignore cases;
274 * it's useful to ignore a case when inheritance will catch all the cases anyway.
275 * <!-- end-user-doc -->
276 * @return the new adapter.
277 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference
278 * @generated
279 */
280 public Adapter createEventReferenceAdapter()
281 {
282 return null;
283 }
284
285 /**
286 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance <em>Component Instance</em>}'.
287 * <!-- begin-user-doc -->
288 * This default implementation returns null so that we can easily ignore cases;
289 * it's useful to ignore a case when inheritance will catch all the cases anyway.
290 * <!-- end-user-doc -->
291 * @return the new adapter.
292 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance
293 * @generated
294 */
295 public Adapter createComponentInstanceAdapter()
296 {
297 return null;
298 }
299
300 /**
301 * Creates a new adapter for the default case.
302 * <!-- begin-user-doc -->
303 * This default implementation returns null.
304 * <!-- end-user-doc -->
305 * @return the new adapter.
306 * @generated
307 */
308 public Adapter createEObjectAdapter()
309 {
310 return null;
311 }
312
313} //CftLanguageAdapterFactory
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
deleted file mode 100644
index b3de106b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java
+++ /dev/null
@@ -1,329 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*;
7
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.emf.ecore.EPackage;
10
11import org.eclipse.emf.ecore.util.Switch;
12
13/**
14 * <!-- begin-user-doc -->
15 * The <b>Switch</b> for the model's inheritance hierarchy.
16 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
17 * to invoke the <code>caseXXX</code> method for each class of the model,
18 * starting with the actual class of the object
19 * and proceeding up the inheritance hierarchy
20 * until a non-null result is returned,
21 * which is the result of the switch.
22 * <!-- end-user-doc -->
23 * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage
24 * @generated
25 */
26public class CftLanguageSwitch<T> extends Switch<T>
27{
28 /**
29 * The cached model package
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 protected static CftLanguagePackage modelPackage;
35
36 /**
37 * Creates an instance of the switch.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @generated
41 */
42 public CftLanguageSwitch()
43 {
44 if (modelPackage == null)
45 {
46 modelPackage = CftLanguagePackage.eINSTANCE;
47 }
48 }
49
50 /**
51 * Checks whether this is a switch for the given package.
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @param ePackage the package in question.
55 * @return whether this is a switch for the given package.
56 * @generated
57 */
58 @Override
59 protected boolean isSwitchFor(EPackage ePackage)
60 {
61 return ePackage == modelPackage;
62 }
63
64 /**
65 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @return the first non-null result returned by a <code>caseXXX</code> call.
69 * @generated
70 */
71 @Override
72 protected T doSwitch(int classifierID, EObject theEObject)
73 {
74 switch (classifierID)
75 {
76 case CftLanguagePackage.CFT_MODEL:
77 {
78 CftModel cftModel = (CftModel)theEObject;
79 T result = caseCftModel(cftModel);
80 if (result == null) result = defaultCase(theEObject);
81 return result;
82 }
83 case CftLanguagePackage.IMPORT_DECLARATION:
84 {
85 ImportDeclaration importDeclaration = (ImportDeclaration)theEObject;
86 T result = caseImportDeclaration(importDeclaration);
87 if (result == null) result = defaultCase(theEObject);
88 return result;
89 }
90 case CftLanguagePackage.TRANSFORMATION_DEFINITION:
91 {
92 TransformationDefinition transformationDefinition = (TransformationDefinition)theEObject;
93 T result = caseTransformationDefinition(transformationDefinition);
94 if (result == null) result = defaultCase(theEObject);
95 return result;
96 }
97 case CftLanguagePackage.MAPPING_DEFINITION:
98 {
99 MappingDefinition mappingDefinition = (MappingDefinition)theEObject;
100 T result = caseMappingDefinition(mappingDefinition);
101 if (result == null) result = defaultCase(theEObject);
102 return result;
103 }
104 case CftLanguagePackage.MAPPING_PARAMETER:
105 {
106 MappingParameter mappingParameter = (MappingParameter)theEObject;
107 T result = caseMappingParameter(mappingParameter);
108 if (result == null) result = defaultCase(theEObject);
109 return result;
110 }
111 case CftLanguagePackage.LOOKUP_DEFINITION:
112 {
113 LookupDefinition lookupDefinition = (LookupDefinition)theEObject;
114 T result = caseLookupDefinition(lookupDefinition);
115 if (result == null) result = caseVariable(lookupDefinition);
116 if (result == null) result = defaultCase(theEObject);
117 return result;
118 }
119 case CftLanguagePackage.VARIABLE:
120 {
121 Variable variable = (Variable)theEObject;
122 T result = caseVariable(variable);
123 if (result == null) result = defaultCase(theEObject);
124 return result;
125 }
126 case CftLanguagePackage.ASSIGNMENT:
127 {
128 Assignment assignment = (Assignment)theEObject;
129 T result = caseAssignment(assignment);
130 if (result == null) result = defaultCase(theEObject);
131 return result;
132 }
133 case CftLanguagePackage.EVENT_REFERENCE:
134 {
135 EventReference eventReference = (EventReference)theEObject;
136 T result = caseEventReference(eventReference);
137 if (result == null) result = defaultCase(theEObject);
138 return result;
139 }
140 case CftLanguagePackage.COMPONENT_INSTANCE:
141 {
142 ComponentInstance componentInstance = (ComponentInstance)theEObject;
143 T result = caseComponentInstance(componentInstance);
144 if (result == null) result = caseVariable(componentInstance);
145 if (result == null) result = defaultCase(theEObject);
146 return result;
147 }
148 default: return defaultCase(theEObject);
149 }
150 }
151
152 /**
153 * Returns the result of interpreting the object as an instance of '<em>Cft Model</em>'.
154 * <!-- begin-user-doc -->
155 * This implementation returns null;
156 * returning a non-null result will terminate the switch.
157 * <!-- end-user-doc -->
158 * @param object the target of the switch.
159 * @return the result of interpreting the object as an instance of '<em>Cft Model</em>'.
160 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
161 * @generated
162 */
163 public T caseCftModel(CftModel object)
164 {
165 return null;
166 }
167
168 /**
169 * Returns the result of interpreting the object as an instance of '<em>Import Declaration</em>'.
170 * <!-- begin-user-doc -->
171 * This implementation returns null;
172 * returning a non-null result will terminate the switch.
173 * <!-- end-user-doc -->
174 * @param object the target of the switch.
175 * @return the result of interpreting the object as an instance of '<em>Import Declaration</em>'.
176 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
177 * @generated
178 */
179 public T caseImportDeclaration(ImportDeclaration object)
180 {
181 return null;
182 }
183
184 /**
185 * Returns the result of interpreting the object as an instance of '<em>Transformation Definition</em>'.
186 * <!-- begin-user-doc -->
187 * This implementation returns null;
188 * returning a non-null result will terminate the switch.
189 * <!-- end-user-doc -->
190 * @param object the target of the switch.
191 * @return the result of interpreting the object as an instance of '<em>Transformation Definition</em>'.
192 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
193 * @generated
194 */
195 public T caseTransformationDefinition(TransformationDefinition object)
196 {
197 return null;
198 }
199
200 /**
201 * Returns the result of interpreting the object as an instance of '<em>Mapping Definition</em>'.
202 * <!-- begin-user-doc -->
203 * This implementation returns null;
204 * returning a non-null result will terminate the switch.
205 * <!-- end-user-doc -->
206 * @param object the target of the switch.
207 * @return the result of interpreting the object as an instance of '<em>Mapping Definition</em>'.
208 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
209 * @generated
210 */
211 public T caseMappingDefinition(MappingDefinition object)
212 {
213 return null;
214 }
215
216 /**
217 * Returns the result of interpreting the object as an instance of '<em>Mapping Parameter</em>'.
218 * <!-- begin-user-doc -->
219 * This implementation returns null;
220 * returning a non-null result will terminate the switch.
221 * <!-- end-user-doc -->
222 * @param object the target of the switch.
223 * @return the result of interpreting the object as an instance of '<em>Mapping Parameter</em>'.
224 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
225 * @generated
226 */
227 public T caseMappingParameter(MappingParameter object)
228 {
229 return null;
230 }
231
232 /**
233 * Returns the result of interpreting the object as an instance of '<em>Lookup Definition</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>Lookup Definition</em>'.
240 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
241 * @generated
242 */
243 public T caseLookupDefinition(LookupDefinition object)
244 {
245 return null;
246 }
247
248 /**
249 * Returns the result of interpreting the object as an instance of '<em>Variable</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>Variable</em>'.
256 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
257 * @generated
258 */
259 public T caseVariable(Variable object)
260 {
261 return null;
262 }
263
264 /**
265 * Returns the result of interpreting the object as an instance of '<em>Assignment</em>'.
266 * <!-- begin-user-doc -->
267 * This implementation returns null;
268 * returning a non-null result will terminate the switch.
269 * <!-- end-user-doc -->
270 * @param object the target of the switch.
271 * @return the result of interpreting the object as an instance of '<em>Assignment</em>'.
272 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
273 * @generated
274 */
275 public T caseAssignment(Assignment object)
276 {
277 return null;
278 }
279
280 /**
281 * Returns the result of interpreting the object as an instance of '<em>Event Reference</em>'.
282 * <!-- begin-user-doc -->
283 * This implementation returns null;
284 * returning a non-null result will terminate the switch.
285 * <!-- end-user-doc -->
286 * @param object the target of the switch.
287 * @return the result of interpreting the object as an instance of '<em>Event Reference</em>'.
288 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
289 * @generated
290 */
291 public T caseEventReference(EventReference object)
292 {
293 return null;
294 }
295
296 /**
297 * Returns the result of interpreting the object as an instance of '<em>Component Instance</em>'.
298 * <!-- begin-user-doc -->
299 * This implementation returns null;
300 * returning a non-null result will terminate the switch.
301 * <!-- end-user-doc -->
302 * @param object the target of the switch.
303 * @return the result of interpreting the object as an instance of '<em>Component Instance</em>'.
304 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
305 * @generated
306 */
307 public T caseComponentInstance(ComponentInstance object)
308 {
309 return null;
310 }
311
312 /**
313 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
314 * <!-- begin-user-doc -->
315 * This implementation returns null;
316 * returning a non-null result will terminate the switch, but this is the last case anyway.
317 * <!-- end-user-doc -->
318 * @param object the target of the switch.
319 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
320 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
321 * @generated
322 */
323 @Override
324 public T defaultCase(EObject object)
325 {
326 return null;
327 }
328
329} //CftLanguageSwitch
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java
deleted file mode 100644
index 14a64042..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java
+++ /dev/null
@@ -1,16 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr;
5
6import java.io.InputStream;
7import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
8
9public class CftLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider {
10
11 @Override
12 public InputStream getAntlrTokenFile() {
13 ClassLoader classLoader = getClass().getClassLoader();
14 return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens");
15 }
16}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java
deleted file mode 100644
index 602ea50d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageParser;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
9import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
12public class CftLanguageParser extends AbstractAntlrParser {
13
14 @Inject
15 private CftLanguageGrammarAccess grammarAccess;
16
17 @Override
18 protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
19 tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
20 }
21
22
23 @Override
24 protected InternalCftLanguageParser createParser(XtextTokenStream stream) {
25 return new InternalCftLanguageParser(stream, getGrammarAccess());
26 }
27
28 @Override
29 protected String getDefaultRuleName() {
30 return "CftModel";
31 }
32
33 public CftLanguageGrammarAccess getGrammarAccess() {
34 return this.grammarAccess;
35 }
36
37 public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) {
38 this.grammarAccess = grammarAccess;
39 }
40}
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
deleted file mode 100644
index 51479ad3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g
+++ /dev/null
@@ -1,1688 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4grammar InternalCftLanguage;
5
6options {
7 superClass=AbstractInternalAntlrParser;
8}
9
10@lexer::header {
11package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal;
12
13// Hack: Use our own Lexer superclass by means of import.
14// Currently there is no other way to specify the superclass for the lexer.
15import org.eclipse.xtext.parser.antlr.Lexer;
16}
17
18@parser::header {
19package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal;
20
21import org.eclipse.xtext.*;
22import org.eclipse.xtext.parser.*;
23import org.eclipse.xtext.parser.impl.*;
24import org.eclipse.emf.ecore.util.EcoreUtil;
25import org.eclipse.emf.ecore.EObject;
26import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
27import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
30import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
31
32}
33
34@parser::members {
35
36 private CftLanguageGrammarAccess grammarAccess;
37
38 public InternalCftLanguageParser(TokenStream input, CftLanguageGrammarAccess grammarAccess) {
39 this(input);
40 this.grammarAccess = grammarAccess;
41 registerRules(grammarAccess.getGrammar());
42 }
43
44 @Override
45 protected String getFirstRuleName() {
46 return "CftModel";
47 }
48
49 @Override
50 protected CftLanguageGrammarAccess getGrammarAccess() {
51 return grammarAccess;
52 }
53
54}
55
56@rulecatch {
57 catch (RecognitionException re) {
58 recover(input,re);
59 appendSkippedTokens();
60 }
61}
62
63// Entry rule entryRuleCftModel
64entryRuleCftModel returns [EObject current=null]:
65 { newCompositeNode(grammarAccess.getCftModelRule()); }
66 iv_ruleCftModel=ruleCftModel
67 { $current=$iv_ruleCftModel.current; }
68 EOF;
69
70// Rule CftModel
71ruleCftModel returns [EObject current=null]
72@init {
73 enterRule();
74}
75@after {
76 leaveRule();
77}:
78 (
79 otherlv_0='package'
80 {
81 newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0());
82 }
83 (
84 (
85 {
86 newCompositeNode(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0());
87 }
88 lv_packageName_1_0=ruleQualifiedName
89 {
90 if ($current==null) {
91 $current = createModelElementForParent(grammarAccess.getCftModelRule());
92 }
93 set(
94 $current,
95 "packageName",
96 lv_packageName_1_0,
97 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName");
98 afterParserOrEnumRuleCall();
99 }
100 )
101 )
102 (
103 otherlv_2=';'
104 {
105 newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2());
106 }
107 )?
108 (
109 (
110 {
111 newCompositeNode(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0());
112 }
113 lv_imports_3_0=ruleImportDeclaration
114 {
115 if ($current==null) {
116 $current = createModelElementForParent(grammarAccess.getCftModelRule());
117 }
118 add(
119 $current,
120 "imports",
121 lv_imports_3_0,
122 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration");
123 afterParserOrEnumRuleCall();
124 }
125 )
126 )*
127 (
128 (
129 (
130 {
131 newCompositeNode(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0());
132 }
133 lv_componentDefinitions_4_0=ruleComponentDefinition
134 {
135 if ($current==null) {
136 $current = createModelElementForParent(grammarAccess.getCftModelRule());
137 }
138 add(
139 $current,
140 "componentDefinitions",
141 lv_componentDefinitions_4_0,
142 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition");
143 afterParserOrEnumRuleCall();
144 }
145 )
146 )
147 |
148 (
149 (
150 {
151 newCompositeNode(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0());
152 }
153 lv_transformationDefinitions_5_0=ruleTransformationDefinition
154 {
155 if ($current==null) {
156 $current = createModelElementForParent(grammarAccess.getCftModelRule());
157 }
158 add(
159 $current,
160 "transformationDefinitions",
161 lv_transformationDefinitions_5_0,
162 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition");
163 afterParserOrEnumRuleCall();
164 }
165 )
166 )
167 )*
168 )
169;
170
171// Entry rule entryRuleImportDeclaration
172entryRuleImportDeclaration returns [EObject current=null]:
173 { newCompositeNode(grammarAccess.getImportDeclarationRule()); }
174 iv_ruleImportDeclaration=ruleImportDeclaration
175 { $current=$iv_ruleImportDeclaration.current; }
176 EOF;
177
178// Rule ImportDeclaration
179ruleImportDeclaration returns [EObject current=null]
180@init {
181 enterRule();
182}
183@after {
184 leaveRule();
185}:
186 (
187 otherlv_0='import'
188 {
189 newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0());
190 }
191 (
192 (
193 {
194 newCompositeNode(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
195 }
196 lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard
197 {
198 if ($current==null) {
199 $current = createModelElementForParent(grammarAccess.getImportDeclarationRule());
200 }
201 set(
202 $current,
203 "importedNamespace",
204 lv_importedNamespace_1_0,
205 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard");
206 afterParserOrEnumRuleCall();
207 }
208 )
209 )
210 (
211 otherlv_2=';'
212 {
213 newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2());
214 }
215 )?
216 )
217;
218
219// Entry rule entryRuleComponentDefinition
220entryRuleComponentDefinition returns [EObject current=null]:
221 { newCompositeNode(grammarAccess.getComponentDefinitionRule()); }
222 iv_ruleComponentDefinition=ruleComponentDefinition
223 { $current=$iv_ruleComponentDefinition.current; }
224 EOF;
225
226// Rule ComponentDefinition
227ruleComponentDefinition returns [EObject current=null]
228@init {
229 enterRule();
230}
231@after {
232 leaveRule();
233}:
234 (
235 otherlv_0='cft'
236 {
237 newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0());
238 }
239 (
240 (
241 {
242 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0());
243 }
244 lv_name_1_0=ruleValidId
245 {
246 if ($current==null) {
247 $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
248 }
249 set(
250 $current,
251 "name",
252 lv_name_1_0,
253 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
254 afterParserOrEnumRuleCall();
255 }
256 )
257 )
258 otherlv_2='{'
259 {
260 newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
261 }
262 (
263 (
264 {
265 getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
266 }
267 (
268 (
269 (
270 {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)}?=>(
271 {
272 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0);
273 }
274 ({true}?=>(otherlv_4='in'
275 {
276 newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0());
277 }
278 (
279 (
280 {
281 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0());
282 }
283 lv_inputEvents_5_0=ruleInputEvent
284 {
285 if ($current==null) {
286 $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
287 }
288 add(
289 $current,
290 "inputEvents",
291 lv_inputEvents_5_0,
292 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent");
293 afterParserOrEnumRuleCall();
294 }
295 )
296 )*
297 otherlv_6=';'
298 {
299 newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2());
300 }
301 ))
302 {
303 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
304 }
305 )
306 )|
307 (
308 {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)}?=>(
309 {
310 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1);
311 }
312 ({true}?=>(otherlv_7='out'
313 {
314 newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0());
315 }
316 (
317 (
318 {
319 if ($current==null) {
320 $current = createModelElement(grammarAccess.getComponentDefinitionRule());
321 }
322 }
323 {
324 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0());
325 }
326 ruleValidId
327 {
328 afterParserOrEnumRuleCall();
329 }
330 )
331 )*
332 otherlv_9=';'
333 {
334 newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2());
335 }
336 ))
337 {
338 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
339 }
340 )
341 )
342 )*
343 )
344 )
345 {
346 getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
347 }
348 )
349 (
350 (
351 (
352 {
353 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0());
354 }
355 lv_eventDefinitions_10_0=ruleEventDefinition
356 {
357 if ($current==null) {
358 $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
359 }
360 add(
361 $current,
362 "eventDefinitions",
363 lv_eventDefinitions_10_0,
364 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition");
365 afterParserOrEnumRuleCall();
366 }
367 )
368 )
369 otherlv_11=';'
370 {
371 newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1());
372 }
373 )*
374 otherlv_12='}'
375 {
376 newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5());
377 }
378 )
379;
380
381// Entry rule entryRuleInputEvent
382entryRuleInputEvent returns [EObject current=null]:
383 { newCompositeNode(grammarAccess.getInputEventRule()); }
384 iv_ruleInputEvent=ruleInputEvent
385 { $current=$iv_ruleInputEvent.current; }
386 EOF;
387
388// Rule InputEvent
389ruleInputEvent returns [EObject current=null]
390@init {
391 enterRule();
392}
393@after {
394 leaveRule();
395}:
396 (
397 (
398 (
399 {
400 newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0());
401 }
402 lv_name_0_0=ruleValidId
403 {
404 if ($current==null) {
405 $current = createModelElementForParent(grammarAccess.getInputEventRule());
406 }
407 set(
408 $current,
409 "name",
410 lv_name_0_0,
411 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
412 afterParserOrEnumRuleCall();
413 }
414 )
415 )
416 (
417 (
418 lv_multiple_1_0='[]'
419 {
420 newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
421 }
422 {
423 if ($current==null) {
424 $current = createModelElement(grammarAccess.getInputEventRule());
425 }
426 setWithLastConsumed($current, "multiple", true, "[]");
427 }
428 )
429 )?
430 )
431;
432
433// Entry rule entryRuleEventDefinition
434entryRuleEventDefinition returns [EObject current=null]:
435 { newCompositeNode(grammarAccess.getEventDefinitionRule()); }
436 iv_ruleEventDefinition=ruleEventDefinition
437 { $current=$iv_ruleEventDefinition.current; }
438 EOF;
439
440// Rule EventDefinition
441ruleEventDefinition returns [EObject current=null]
442@init {
443 enterRule();
444}
445@after {
446 leaveRule();
447}:
448 (
449 {
450 newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0());
451 }
452 this_BasicEventDefinition_0=ruleBasicEventDefinition
453 {
454 $current = $this_BasicEventDefinition_0.current;
455 afterParserOrEnumRuleCall();
456 }
457 |
458 {
459 newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1());
460 }
461 this_GateDefinition_1=ruleGateDefinition
462 {
463 $current = $this_GateDefinition_1.current;
464 afterParserOrEnumRuleCall();
465 }
466 )
467;
468
469// Entry rule entryRuleBasicEventDefinition
470entryRuleBasicEventDefinition returns [EObject current=null]:
471 { newCompositeNode(grammarAccess.getBasicEventDefinitionRule()); }
472 iv_ruleBasicEventDefinition=ruleBasicEventDefinition
473 { $current=$iv_ruleBasicEventDefinition.current; }
474 EOF;
475
476// Rule BasicEventDefinition
477ruleBasicEventDefinition returns [EObject current=null]
478@init {
479 enterRule();
480}
481@after {
482 leaveRule();
483}:
484 (
485 (
486 (
487 {
488 newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0());
489 }
490 lv_name_0_0=ruleValidId
491 {
492 if ($current==null) {
493 $current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule());
494 }
495 set(
496 $current,
497 "name",
498 lv_name_0_0,
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();
520 }
521 )
522 )
523 )
524;
525
526// Entry rule entryRuleDistribution
527entryRuleDistribution returns [EObject current=null]:
528 { newCompositeNode(grammarAccess.getDistributionRule()); }
529 iv_ruleDistribution=ruleDistribution
530 { $current=$iv_ruleDistribution.current; }
531 EOF;
532
533// Rule Distribution
534ruleDistribution 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
563entryRuleConstantDistribution returns [EObject current=null]:
564 { newCompositeNode(grammarAccess.getConstantDistributionRule()); }
565 iv_ruleConstantDistribution=ruleConstantDistribution
566 { $current=$iv_ruleConstantDistribution.current; }
567 EOF;
568
569// Rule ConstantDistribution
570ruleConstantDistribution returns [EObject current=null]
571@init {
572 enterRule();
573}
574@after {
575 leaveRule();
576}:
577 (
578 otherlv_0='prob'
579 {
580 newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0());
581 }
582 otherlv_1='='
583 {
584 newLeafNode(otherlv_1, grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1());
585 }
586 (
587 (
588 {
589 newCompositeNode(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0());
590 }
591 lv_p_2_0=ruleDouble
592 {
593 if ($current==null) {
594 $current = createModelElementForParent(grammarAccess.getConstantDistributionRule());
595 }
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
609entryRuleExponentialDistribution returns [EObject current=null]:
610 { newCompositeNode(grammarAccess.getExponentialDistributionRule()); }
611 iv_ruleExponentialDistribution=ruleExponentialDistribution
612 { $current=$iv_ruleExponentialDistribution.current; }
613 EOF;
614
615// Rule ExponentialDistribution
616ruleExponentialDistribution 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(
643 $current,
644 "lambda",
645 lv_lambda_2_0,
646 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double");
647 afterParserOrEnumRuleCall();
648 }
649 )
650 )
651 )
652;
653
654// Entry rule entryRuleGateDefinition
655entryRuleGateDefinition returns [EObject current=null]:
656 { newCompositeNode(grammarAccess.getGateDefinitionRule()); }
657 iv_ruleGateDefinition=ruleGateDefinition
658 { $current=$iv_ruleGateDefinition.current; }
659 EOF;
660
661// Rule GateDefinition
662ruleGateDefinition returns [EObject current=null]
663@init {
664 enterRule();
665}
666@after {
667 leaveRule();
668}:
669 (
670 {
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());
681 }
682 this_OrGateDefinition_1=ruleOrGateDefinition
683 {
684 $current = $this_OrGateDefinition_1.current;
685 afterParserOrEnumRuleCall();
686 }
687 |
688 {
689 newCompositeNode(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2());
690 }
691 this_KOfMGateDefinition_2=ruleKOfMGateDefinition
692 {
693 $current = $this_KOfMGateDefinition_2.current;
694 afterParserOrEnumRuleCall();
695 }
696 )
697;
698
699// Entry rule entryRuleAndGateDefinition
700entryRuleAndGateDefinition returns [EObject current=null]:
701 { newCompositeNode(grammarAccess.getAndGateDefinitionRule()); }
702 iv_ruleAndGateDefinition=ruleAndGateDefinition
703 { $current=$iv_ruleAndGateDefinition.current; }
704 EOF;
705
706// Rule AndGateDefinition
707ruleAndGateDefinition returns [EObject current=null]
708@init {
709 enterRule();
710}
711@after {
712 leaveRule();
713}:
714 (
715 (
716 (
717 {
718 newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
719 }
720 lv_name_0_0=ruleValidId
721 {
722 if ($current==null) {
723 $current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule());
724 }
725 set(
726 $current,
727 "name",
728 lv_name_0_0,
729 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
730 afterParserOrEnumRuleCall();
731 }
732 )
733 )
734 otherlv_1='and'
735 {
736 newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1());
737 }
738 (
739 (
740 {
741 if ($current==null) {
742 $current = createModelElement(grammarAccess.getAndGateDefinitionRule());
743 }
744 }
745 {
746 newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
747 }
748 ruleValidId
749 {
750 afterParserOrEnumRuleCall();
751 }
752 )
753 )*
754 )
755;
756
757// Entry rule entryRuleOrGateDefinition
758entryRuleOrGateDefinition returns [EObject current=null]:
759 { newCompositeNode(grammarAccess.getOrGateDefinitionRule()); }
760 iv_ruleOrGateDefinition=ruleOrGateDefinition
761 { $current=$iv_ruleOrGateDefinition.current; }
762 EOF;
763
764// Rule OrGateDefinition
765ruleOrGateDefinition returns [EObject current=null]
766@init {
767 enterRule();
768}
769@after {
770 leaveRule();
771}:
772 (
773 (
774 (
775 {
776 newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
777 }
778 lv_name_0_0=ruleValidId
779 {
780 if ($current==null) {
781 $current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule());
782 }
783 set(
784 $current,
785 "name",
786 lv_name_0_0,
787 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
788 afterParserOrEnumRuleCall();
789 }
790 )
791 )
792 otherlv_1='or'
793 {
794 newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1());
795 }
796 (
797 (
798 {
799 if ($current==null) {
800 $current = createModelElement(grammarAccess.getOrGateDefinitionRule());
801 }
802 }
803 {
804 newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
805 }
806 ruleValidId
807 {
808 afterParserOrEnumRuleCall();
809 }
810 )
811 )*
812 )
813;
814
815// Entry rule entryRuleKOfMGateDefinition
816entryRuleKOfMGateDefinition returns [EObject current=null]:
817 { newCompositeNode(grammarAccess.getKOfMGateDefinitionRule()); }
818 iv_ruleKOfMGateDefinition=ruleKOfMGateDefinition
819 { $current=$iv_ruleKOfMGateDefinition.current; }
820 EOF;
821
822// Rule KOfMGateDefinition
823ruleKOfMGateDefinition 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();
926 }
927 )
928 )*
929 )
930;
931
932// Entry rule entryRuleTransformationDefinition
933entryRuleTransformationDefinition returns [EObject current=null]:
934 { newCompositeNode(grammarAccess.getTransformationDefinitionRule()); }
935 iv_ruleTransformationDefinition=ruleTransformationDefinition
936 { $current=$iv_ruleTransformationDefinition.current; }
937 EOF;
938
939// Rule TransformationDefinition
940ruleTransformationDefinition returns [EObject current=null]
941@init {
942 enterRule();
943}
944@after {
945 leaveRule();
946}:
947 (
948 otherlv_0='transformation'
949 {
950 newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0());
951 }
952 (
953 (
954 {
955 newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0());
956 }
957 lv_name_1_0=ruleValidId
958 {
959 if ($current==null) {
960 $current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule());
961 }
962 set(
963 $current,
964 "name",
965 lv_name_1_0,
966 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
967 afterParserOrEnumRuleCall();
968 }
969 )
970 )
971 otherlv_2='{'
972 {
973 newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2());
974 }
975 (
976 (
977 {
978 newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0());
979 }
980 lv_mappingDefinitions_3_0=ruleMappingDefinition
981 {
982 if ($current==null) {
983 $current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule());
984 }
985 add(
986 $current,
987 "mappingDefinitions",
988 lv_mappingDefinitions_3_0,
989 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition");
990 afterParserOrEnumRuleCall();
991 }
992 )
993 )*
994 otherlv_4='}'
995 {
996 newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4());
997 }
998 )
999;
1000
1001// Entry rule entryRuleMappingDefinition
1002entryRuleMappingDefinition returns [EObject current=null]:
1003 { newCompositeNode(grammarAccess.getMappingDefinitionRule()); }
1004 iv_ruleMappingDefinition=ruleMappingDefinition
1005 { $current=$iv_ruleMappingDefinition.current; }
1006 EOF;
1007
1008// Rule MappingDefinition
1009ruleMappingDefinition returns [EObject current=null]
1010@init {
1011 enterRule();
1012}
1013@after {
1014 leaveRule();
1015}:
1016 (
1017 (
1018 (
1019 lv_topLevel_0_0='toplevel'
1020 {
1021 newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
1022 }
1023 {
1024 if ($current==null) {
1025 $current = createModelElement(grammarAccess.getMappingDefinitionRule());
1026 }
1027 setWithLastConsumed($current, "topLevel", true, "toplevel");
1028 }
1029 )
1030 )?
1031 otherlv_1='mapping'
1032 {
1033 newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1());
1034 }
1035 (
1036 (
1037 {
1038 if ($current==null) {
1039 $current = createModelElement(grammarAccess.getMappingDefinitionRule());
1040 }
1041 }
1042 {
1043 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0());
1044 }
1045 ruleQualifiedName
1046 {
1047 afterParserOrEnumRuleCall();
1048 }
1049 )
1050 )
1051 otherlv_3='('
1052 {
1053 newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3());
1054 }
1055 (
1056 (
1057 {
1058 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0());
1059 }
1060 lv_parameters_4_0=ruleMappingParameter
1061 {
1062 if ($current==null) {
1063 $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
1064 }
1065 add(
1066 $current,
1067 "parameters",
1068 lv_parameters_4_0,
1069 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter");
1070 afterParserOrEnumRuleCall();
1071 }
1072 )
1073 )
1074 (
1075 otherlv_5=','
1076 {
1077 newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0());
1078 }
1079 (
1080 (
1081 {
1082 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0());
1083 }
1084 lv_parameters_6_0=ruleMappingParameter
1085 {
1086 if ($current==null) {
1087 $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
1088 }
1089 add(
1090 $current,
1091 "parameters",
1092 lv_parameters_6_0,
1093 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter");
1094 afterParserOrEnumRuleCall();
1095 }
1096 )
1097 )
1098 )*
1099 otherlv_7=')'
1100 {
1101 newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6());
1102 }
1103 (
1104 (
1105 {
1106 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0());
1107 }
1108 lv_componentInstance_8_0=ruleComponentInstance
1109 {
1110 if ($current==null) {
1111 $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
1112 }
1113 set(
1114 $current,
1115 "componentInstance",
1116 lv_componentInstance_8_0,
1117 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance");
1118 afterParserOrEnumRuleCall();
1119 }
1120 )
1121 )?
1122 (
1123 otherlv_9='{'
1124 {
1125 newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0());
1126 }
1127 (
1128 (
1129 (
1130 (
1131 {
1132 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0());
1133 }
1134 lv_lookupDefinitions_10_0=ruleLookupDefinition
1135 {
1136 if ($current==null) {
1137 $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
1138 }
1139 add(
1140 $current,
1141 "lookupDefinitions",
1142 lv_lookupDefinitions_10_0,
1143 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition");
1144 afterParserOrEnumRuleCall();
1145 }
1146 )
1147 )
1148 |
1149 (
1150 (
1151 {
1152 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0());
1153 }
1154 lv_assignments_11_0=ruleAssignment
1155 {
1156 if ($current==null) {
1157 $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
1158 }
1159 add(
1160 $current,
1161 "assignments",
1162 lv_assignments_11_0,
1163 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment");
1164 afterParserOrEnumRuleCall();
1165 }
1166 )
1167 )
1168 )
1169 otherlv_12=';'
1170 {
1171 newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1());
1172 }
1173 )*
1174 otherlv_13='}'
1175 {
1176 newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2());
1177 }
1178 )?
1179 )
1180;
1181
1182// Entry rule entryRuleMappingParameter
1183entryRuleMappingParameter returns [EObject current=null]:
1184 { newCompositeNode(grammarAccess.getMappingParameterRule()); }
1185 iv_ruleMappingParameter=ruleMappingParameter
1186 { $current=$iv_ruleMappingParameter.current; }
1187 EOF;
1188
1189// Rule MappingParameter
1190ruleMappingParameter returns [EObject current=null]
1191@init {
1192 enterRule();
1193}
1194@after {
1195 leaveRule();
1196}:
1197 (
1198 (
1199 {
1200 newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0());
1201 }
1202 lv_name_0_0=ruleValidId
1203 {
1204 if ($current==null) {
1205 $current = createModelElementForParent(grammarAccess.getMappingParameterRule());
1206 }
1207 set(
1208 $current,
1209 "name",
1210 lv_name_0_0,
1211 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
1212 afterParserOrEnumRuleCall();
1213 }
1214 )
1215 )
1216;
1217
1218// Entry rule entryRuleLookupDefinition
1219entryRuleLookupDefinition returns [EObject current=null]:
1220 { newCompositeNode(grammarAccess.getLookupDefinitionRule()); }
1221 iv_ruleLookupDefinition=ruleLookupDefinition
1222 { $current=$iv_ruleLookupDefinition.current; }
1223 EOF;
1224
1225// Rule LookupDefinition
1226ruleLookupDefinition returns [EObject current=null]
1227@init {
1228 enterRule();
1229}
1230@after {
1231 leaveRule();
1232}:
1233 (
1234 otherlv_0='lookup'
1235 {
1236 newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0());
1237 }
1238 (
1239 (
1240 {
1241 if ($current==null) {
1242 $current = createModelElement(grammarAccess.getLookupDefinitionRule());
1243 }
1244 }
1245 {
1246 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0());
1247 }
1248 ruleQualifiedName
1249 {
1250 afterParserOrEnumRuleCall();
1251 }
1252 )
1253 )
1254 otherlv_2='('
1255 {
1256 newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2());
1257 }
1258 (
1259 (
1260 {
1261 if ($current==null) {
1262 $current = createModelElement(grammarAccess.getLookupDefinitionRule());
1263 }
1264 }
1265 {
1266 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0());
1267 }
1268 ruleValidId
1269 {
1270 afterParserOrEnumRuleCall();
1271 }
1272 )
1273 )
1274 (
1275 otherlv_4=','
1276 {
1277 newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0());
1278 }
1279 (
1280 (
1281 {
1282 if ($current==null) {
1283 $current = createModelElement(grammarAccess.getLookupDefinitionRule());
1284 }
1285 }
1286 {
1287 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0());
1288 }
1289 ruleValidId
1290 {
1291 afterParserOrEnumRuleCall();
1292 }
1293 )
1294 )
1295 )*
1296 otherlv_6=')'
1297 {
1298 newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5());
1299 }
1300 otherlv_7='as'
1301 {
1302 newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6());
1303 }
1304 (
1305 (
1306 {
1307 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0());
1308 }
1309 lv_name_8_0=ruleValidId
1310 {
1311 if ($current==null) {
1312 $current = createModelElementForParent(grammarAccess.getLookupDefinitionRule());
1313 }
1314 set(
1315 $current,
1316 "name",
1317 lv_name_8_0,
1318 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
1319 afterParserOrEnumRuleCall();
1320 }
1321 )
1322 )
1323 )
1324;
1325
1326// Entry rule entryRuleAssignment
1327entryRuleAssignment returns [EObject current=null]:
1328 { newCompositeNode(grammarAccess.getAssignmentRule()); }
1329 iv_ruleAssignment=ruleAssignment
1330 { $current=$iv_ruleAssignment.current; }
1331 EOF;
1332
1333// Rule Assignment
1334ruleAssignment returns [EObject current=null]
1335@init {
1336 enterRule();
1337}
1338@after {
1339 leaveRule();
1340}:
1341 (
1342 (
1343 (
1344 {
1345 newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0());
1346 }
1347 lv_input_0_0=ruleEventReference
1348 {
1349 if ($current==null) {
1350 $current = createModelElementForParent(grammarAccess.getAssignmentRule());
1351 }
1352 set(
1353 $current,
1354 "input",
1355 lv_input_0_0,
1356 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference");
1357 afterParserOrEnumRuleCall();
1358 }
1359 )
1360 )
1361 (
1362 (
1363 (
1364 lv_multiple_1_0='+='
1365 {
1366 newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
1367 }
1368 {
1369 if ($current==null) {
1370 $current = createModelElement(grammarAccess.getAssignmentRule());
1371 }
1372 setWithLastConsumed($current, "multiple", true, "+=");
1373 }
1374 )
1375 )
1376 |
1377 otherlv_2=':='
1378 {
1379 newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1());
1380 }
1381 )
1382 (
1383 (
1384 {
1385 newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0());
1386 }
1387 lv_output_3_0=ruleEventReference
1388 {
1389 if ($current==null) {
1390 $current = createModelElementForParent(grammarAccess.getAssignmentRule());
1391 }
1392 set(
1393 $current,
1394 "output",
1395 lv_output_3_0,
1396 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference");
1397 afterParserOrEnumRuleCall();
1398 }
1399 )
1400 )
1401 )
1402;
1403
1404// Entry rule entryRuleEventReference
1405entryRuleEventReference returns [EObject current=null]:
1406 { newCompositeNode(grammarAccess.getEventReferenceRule()); }
1407 iv_ruleEventReference=ruleEventReference
1408 { $current=$iv_ruleEventReference.current; }
1409 EOF;
1410
1411// Rule EventReference
1412ruleEventReference returns [EObject current=null]
1413@init {
1414 enterRule();
1415}
1416@after {
1417 leaveRule();
1418}:
1419 (
1420 (
1421 (
1422 {
1423 if ($current==null) {
1424 $current = createModelElement(grammarAccess.getEventReferenceRule());
1425 }
1426 }
1427 {
1428 newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0());
1429 }
1430 ruleValidId
1431 {
1432 afterParserOrEnumRuleCall();
1433 }
1434 )
1435 )
1436 otherlv_1='.'
1437 {
1438 newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1());
1439 }
1440 (
1441 (
1442 {
1443 if ($current==null) {
1444 $current = createModelElement(grammarAccess.getEventReferenceRule());
1445 }
1446 }
1447 {
1448 newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0());
1449 }
1450 ruleValidId
1451 {
1452 afterParserOrEnumRuleCall();
1453 }
1454 )
1455 )
1456 )
1457;
1458
1459// Entry rule entryRuleComponentInstance
1460entryRuleComponentInstance returns [EObject current=null]:
1461 { newCompositeNode(grammarAccess.getComponentInstanceRule()); }
1462 iv_ruleComponentInstance=ruleComponentInstance
1463 { $current=$iv_ruleComponentInstance.current; }
1464 EOF;
1465
1466// Rule ComponentInstance
1467ruleComponentInstance returns [EObject current=null]
1468@init {
1469 enterRule();
1470}
1471@after {
1472 leaveRule();
1473}:
1474 (
1475 otherlv_0='=>'
1476 {
1477 newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0());
1478 }
1479 (
1480 (
1481 {
1482 if ($current==null) {
1483 $current = createModelElement(grammarAccess.getComponentInstanceRule());
1484 }
1485 }
1486 {
1487 newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0());
1488 }
1489 ruleQualifiedName
1490 {
1491 afterParserOrEnumRuleCall();
1492 }
1493 )
1494 )
1495 (
1496 (
1497 {
1498 newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0());
1499 }
1500 lv_name_2_0=ruleValidId
1501 {
1502 if ($current==null) {
1503 $current = createModelElementForParent(grammarAccess.getComponentInstanceRule());
1504 }
1505 set(
1506 $current,
1507 "name",
1508 lv_name_2_0,
1509 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
1510 afterParserOrEnumRuleCall();
1511 }
1512 )
1513 )?
1514 )
1515;
1516
1517// Entry rule entryRuleQualifiedName
1518entryRuleQualifiedName returns [String current=null]:
1519 { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
1520 iv_ruleQualifiedName=ruleQualifiedName
1521 { $current=$iv_ruleQualifiedName.current.getText(); }
1522 EOF;
1523
1524// Rule QualifiedName
1525ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1526@init {
1527 enterRule();
1528}
1529@after {
1530 leaveRule();
1531}:
1532 (
1533 {
1534 newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0());
1535 }
1536 this_ValidId_0=ruleValidId
1537 {
1538 $current.merge(this_ValidId_0);
1539 }
1540 {
1541 afterParserOrEnumRuleCall();
1542 }
1543 (
1544 kw='.'
1545 {
1546 $current.merge(kw);
1547 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
1548 }
1549 {
1550 newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1());
1551 }
1552 this_ValidId_2=ruleValidId
1553 {
1554 $current.merge(this_ValidId_2);
1555 }
1556 {
1557 afterParserOrEnumRuleCall();
1558 }
1559 )*
1560 )
1561;
1562
1563// Entry rule entryRuleQualifiedNameWithWildcard
1564entryRuleQualifiedNameWithWildcard returns [String current=null]:
1565 { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); }
1566 iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard
1567 { $current=$iv_ruleQualifiedNameWithWildcard.current.getText(); }
1568 EOF;
1569
1570// Rule QualifiedNameWithWildcard
1571ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1572@init {
1573 enterRule();
1574}
1575@after {
1576 leaveRule();
1577}:
1578 (
1579 {
1580 newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
1581 }
1582 this_QualifiedName_0=ruleQualifiedName
1583 {
1584 $current.merge(this_QualifiedName_0);
1585 }
1586 {
1587 afterParserOrEnumRuleCall();
1588 }
1589 (
1590 kw='.'
1591 {
1592 $current.merge(kw);
1593 newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0());
1594 }
1595 kw='*'
1596 {
1597 $current.merge(kw);
1598 newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1());
1599 }
1600 )?
1601 )
1602;
1603
1604// Entry rule entryRuleValidId
1605entryRuleValidId returns [String current=null]:
1606 { newCompositeNode(grammarAccess.getValidIdRule()); }
1607 iv_ruleValidId=ruleValidId
1608 { $current=$iv_ruleValidId.current.getText(); }
1609 EOF;
1610
1611// Rule ValidId
1612ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1613@init {
1614 enterRule();
1615}
1616@after {
1617 leaveRule();
1618}:
1619 (
1620 this_ID_0=RULE_ID
1621 {
1622 $current.merge(this_ID_0);
1623 }
1624 {
1625 newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0());
1626 }
1627 |
1628 this_OF_INT_1=RULE_OF_INT
1629 {
1630 $current.merge(this_OF_INT_1);
1631 }
1632 {
1633 newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1());
1634 }
1635 )
1636;
1637
1638// Entry rule entryRuleDouble
1639entryRuleDouble returns [String current=null]:
1640 { newCompositeNode(grammarAccess.getDoubleRule()); }
1641 iv_ruleDouble=ruleDouble
1642 { $current=$iv_ruleDouble.current.getText(); }
1643 EOF;
1644
1645// Rule Double
1646ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1647@init {
1648 enterRule();
1649}
1650@after {
1651 leaveRule();
1652}:
1653 (
1654 this_INT_0=RULE_INT
1655 {
1656 $current.merge(this_INT_0);
1657 }
1658 {
1659 newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0());
1660 }
1661 |
1662 this_T_DOUBLE_1=RULE_T_DOUBLE
1663 {
1664 $current.merge(this_T_DOUBLE_1);
1665 }
1666 {
1667 newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1());
1668 }
1669 )
1670;
1671
1672RULE_OF_INT : 'o' 'f' ('0'..'9')+;
1673
1674RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+);
1675
1676RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
1677
1678RULE_INT : ('0'..'9')+;
1679
1680RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
1681
1682RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1683
1684RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
1685
1686RULE_WS : (' '|'\t'|'\r'|'\n')+;
1687
1688RULE_ANY_OTHER : .;
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
deleted file mode 100644
index 24a3b0ab..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens
+++ /dev/null
@@ -1,65 +0,0 @@
1'('=31
2')'=33
3'*'=40
4'+='=36
5','=32
6'.'=38
7':='=37
8';'=14
9'='=23
10'=>'=39
11'[]'=21
12'and'=25
13'as'=35
14'cft'=16
15'import'=15
16'in'=18
17'lambda'=24
18'lookup'=34
19'mapping'=30
20'of'=27
21'or'=26
22'out'=19
23'package'=13
24'prob'=22
25'toplevel'=29
26'transformation'=28
27'{'=17
28'}'=20
29RULE_ANY_OTHER=12
30RULE_ID=6
31RULE_INT=4
32RULE_ML_COMMENT=9
33RULE_OF_INT=5
34RULE_SL_COMMENT=10
35RULE_STRING=8
36RULE_T_DOUBLE=7
37RULE_WS=11
38T__13=13
39T__14=14
40T__15=15
41T__16=16
42T__17=17
43T__18=18
44T__19=19
45T__20=20
46T__21=21
47T__22=22
48T__23=23
49T__24=24
50T__25=25
51T__26=26
52T__27=27
53T__28=28
54T__29=29
55T__30=30
56T__31=31
57T__32=32
58T__33=33
59T__34=34
60T__35=35
61T__36=36
62T__37=37
63T__38=38
64T__39=39
65T__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
deleted file mode 100644
index c15c826a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java
+++ /dev/null
@@ -1,2001 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal;
2
3// Hack: Use our own Lexer superclass by means of import.
4// Currently there is no other way to specify the superclass for the lexer.
5import org.eclipse.xtext.parser.antlr.Lexer;
6
7
8import org.antlr.runtime.*;
9import java.util.Stack;
10import java.util.List;
11import java.util.ArrayList;
12
13@SuppressWarnings("all")
14public class InternalCftLanguageLexer extends Lexer {
15 public static final int RULE_STRING=8;
16 public static final int RULE_SL_COMMENT=10;
17 public static final int T__19=19;
18 public static final int T__15=15;
19 public static final int T__37=37;
20 public static final int T__16=16;
21 public static final int T__38=38;
22 public static final int T__17=17;
23 public static final int T__39=39;
24 public static final int T__18=18;
25 public static final int T__33=33;
26 public static final int T__34=34;
27 public static final int RULE_T_DOUBLE=7;
28 public static final int T__13=13;
29 public static final int T__35=35;
30 public static final int T__14=14;
31 public static final int T__36=36;
32 public static final int EOF=-1;
33 public static final int T__30=30;
34 public static final int T__31=31;
35 public static final int T__32=32;
36 public static final int RULE_OF_INT=5;
37 public static final int RULE_ID=6;
38 public static final int RULE_WS=11;
39 public static final int RULE_ANY_OTHER=12;
40 public static final int T__26=26;
41 public static final int T__27=27;
42 public static final int T__28=28;
43 public static final int RULE_INT=4;
44 public static final int T__29=29;
45 public static final int T__22=22;
46 public static final int RULE_ML_COMMENT=9;
47 public static final int T__23=23;
48 public static final int T__24=24;
49 public static final int T__25=25;
50 public static final int T__40=40;
51 public static final int T__20=20;
52 public static final int T__21=21;
53
54 // delegates
55 // delegators
56
57 public InternalCftLanguageLexer() {;}
58 public InternalCftLanguageLexer(CharStream input) {
59 this(input, new RecognizerSharedState());
60 }
61 public InternalCftLanguageLexer(CharStream input, RecognizerSharedState state) {
62 super(input,state);
63
64 }
65 public String getGrammarFileName() { return "InternalCftLanguage.g"; }
66
67 // $ANTLR start "T__13"
68 public final void mT__13() throws RecognitionException {
69 try {
70 int _type = T__13;
71 int _channel = DEFAULT_TOKEN_CHANNEL;
72 // InternalCftLanguage.g:11:7: ( 'package' )
73 // InternalCftLanguage.g:11:9: 'package'
74 {
75 match("package");
76
77
78 }
79
80 state.type = _type;
81 state.channel = _channel;
82 }
83 finally {
84 }
85 }
86 // $ANTLR end "T__13"
87
88 // $ANTLR start "T__14"
89 public final void mT__14() throws RecognitionException {
90 try {
91 int _type = T__14;
92 int _channel = DEFAULT_TOKEN_CHANNEL;
93 // InternalCftLanguage.g:12:7: ( ';' )
94 // InternalCftLanguage.g:12:9: ';'
95 {
96 match(';');
97
98 }
99
100 state.type = _type;
101 state.channel = _channel;
102 }
103 finally {
104 }
105 }
106 // $ANTLR end "T__14"
107
108 // $ANTLR start "T__15"
109 public final void mT__15() throws RecognitionException {
110 try {
111 int _type = T__15;
112 int _channel = DEFAULT_TOKEN_CHANNEL;
113 // InternalCftLanguage.g:13:7: ( 'import' )
114 // InternalCftLanguage.g:13:9: 'import'
115 {
116 match("import");
117
118
119 }
120
121 state.type = _type;
122 state.channel = _channel;
123 }
124 finally {
125 }
126 }
127 // $ANTLR end "T__15"
128
129 // $ANTLR start "T__16"
130 public final void mT__16() throws RecognitionException {
131 try {
132 int _type = T__16;
133 int _channel = DEFAULT_TOKEN_CHANNEL;
134 // InternalCftLanguage.g:14:7: ( 'cft' )
135 // InternalCftLanguage.g:14:9: 'cft'
136 {
137 match("cft");
138
139
140 }
141
142 state.type = _type;
143 state.channel = _channel;
144 }
145 finally {
146 }
147 }
148 // $ANTLR end "T__16"
149
150 // $ANTLR start "T__17"
151 public final void mT__17() throws RecognitionException {
152 try {
153 int _type = T__17;
154 int _channel = DEFAULT_TOKEN_CHANNEL;
155 // InternalCftLanguage.g:15:7: ( '{' )
156 // InternalCftLanguage.g:15:9: '{'
157 {
158 match('{');
159
160 }
161
162 state.type = _type;
163 state.channel = _channel;
164 }
165 finally {
166 }
167 }
168 // $ANTLR end "T__17"
169
170 // $ANTLR start "T__18"
171 public final void mT__18() throws RecognitionException {
172 try {
173 int _type = T__18;
174 int _channel = DEFAULT_TOKEN_CHANNEL;
175 // InternalCftLanguage.g:16:7: ( 'in' )
176 // InternalCftLanguage.g:16:9: 'in'
177 {
178 match("in");
179
180
181 }
182
183 state.type = _type;
184 state.channel = _channel;
185 }
186 finally {
187 }
188 }
189 // $ANTLR end "T__18"
190
191 // $ANTLR start "T__19"
192 public final void mT__19() throws RecognitionException {
193 try {
194 int _type = T__19;
195 int _channel = DEFAULT_TOKEN_CHANNEL;
196 // InternalCftLanguage.g:17:7: ( 'out' )
197 // InternalCftLanguage.g:17:9: 'out'
198 {
199 match("out");
200
201
202 }
203
204 state.type = _type;
205 state.channel = _channel;
206 }
207 finally {
208 }
209 }
210 // $ANTLR end "T__19"
211
212 // $ANTLR start "T__20"
213 public final void mT__20() throws RecognitionException {
214 try {
215 int _type = T__20;
216 int _channel = DEFAULT_TOKEN_CHANNEL;
217 // InternalCftLanguage.g:18:7: ( '}' )
218 // InternalCftLanguage.g:18:9: '}'
219 {
220 match('}');
221
222 }
223
224 state.type = _type;
225 state.channel = _channel;
226 }
227 finally {
228 }
229 }
230 // $ANTLR end "T__20"
231
232 // $ANTLR start "T__21"
233 public final void mT__21() throws RecognitionException {
234 try {
235 int _type = T__21;
236 int _channel = DEFAULT_TOKEN_CHANNEL;
237 // InternalCftLanguage.g:19:7: ( '[]' )
238 // InternalCftLanguage.g:19:9: '[]'
239 {
240 match("[]");
241
242
243 }
244
245 state.type = _type;
246 state.channel = _channel;
247 }
248 finally {
249 }
250 }
251 // $ANTLR end "T__21"
252
253 // $ANTLR start "T__22"
254 public final void mT__22() throws RecognitionException {
255 try {
256 int _type = T__22;
257 int _channel = DEFAULT_TOKEN_CHANNEL;
258 // InternalCftLanguage.g:20:7: ( 'prob' )
259 // InternalCftLanguage.g:20:9: 'prob'
260 {
261 match("prob");
262
263
264 }
265
266 state.type = _type;
267 state.channel = _channel;
268 }
269 finally {
270 }
271 }
272 // $ANTLR end "T__22"
273
274 // $ANTLR start "T__23"
275 public final void mT__23() throws RecognitionException {
276 try {
277 int _type = T__23;
278 int _channel = DEFAULT_TOKEN_CHANNEL;
279 // InternalCftLanguage.g:21:7: ( '=' )
280 // InternalCftLanguage.g:21:9: '='
281 {
282 match('=');
283
284 }
285
286 state.type = _type;
287 state.channel = _channel;
288 }
289 finally {
290 }
291 }
292 // $ANTLR end "T__23"
293
294 // $ANTLR start "T__24"
295 public final void mT__24() throws RecognitionException {
296 try {
297 int _type = T__24;
298 int _channel = DEFAULT_TOKEN_CHANNEL;
299 // InternalCftLanguage.g:22:7: ( 'lambda' )
300 // InternalCftLanguage.g:22:9: 'lambda'
301 {
302 match("lambda");
303
304
305 }
306
307 state.type = _type;
308 state.channel = _channel;
309 }
310 finally {
311 }
312 }
313 // $ANTLR end "T__24"
314
315 // $ANTLR start "T__25"
316 public final void mT__25() throws RecognitionException {
317 try {
318 int _type = T__25;
319 int _channel = DEFAULT_TOKEN_CHANNEL;
320 // InternalCftLanguage.g:23:7: ( 'and' )
321 // InternalCftLanguage.g:23:9: 'and'
322 {
323 match("and");
324
325
326 }
327
328 state.type = _type;
329 state.channel = _channel;
330 }
331 finally {
332 }
333 }
334 // $ANTLR end "T__25"
335
336 // $ANTLR start "T__26"
337 public final void mT__26() throws RecognitionException {
338 try {
339 int _type = T__26;
340 int _channel = DEFAULT_TOKEN_CHANNEL;
341 // InternalCftLanguage.g:24:7: ( 'or' )
342 // InternalCftLanguage.g:24:9: 'or'
343 {
344 match("or");
345
346
347 }
348
349 state.type = _type;
350 state.channel = _channel;
351 }
352 finally {
353 }
354 }
355 // $ANTLR end "T__26"
356
357 // $ANTLR start "T__27"
358 public final void mT__27() throws RecognitionException {
359 try {
360 int _type = T__27;
361 int _channel = DEFAULT_TOKEN_CHANNEL;
362 // InternalCftLanguage.g:25:7: ( 'of' )
363 // InternalCftLanguage.g:25:9: 'of'
364 {
365 match("of");
366
367
368 }
369
370 state.type = _type;
371 state.channel = _channel;
372 }
373 finally {
374 }
375 }
376 // $ANTLR end "T__27"
377
378 // $ANTLR start "T__28"
379 public final void mT__28() throws RecognitionException {
380 try {
381 int _type = T__28;
382 int _channel = DEFAULT_TOKEN_CHANNEL;
383 // InternalCftLanguage.g:26:7: ( 'transformation' )
384 // InternalCftLanguage.g:26:9: 'transformation'
385 {
386 match("transformation");
387
388
389 }
390
391 state.type = _type;
392 state.channel = _channel;
393 }
394 finally {
395 }
396 }
397 // $ANTLR end "T__28"
398
399 // $ANTLR start "T__29"
400 public final void mT__29() throws RecognitionException {
401 try {
402 int _type = T__29;
403 int _channel = DEFAULT_TOKEN_CHANNEL;
404 // InternalCftLanguage.g:27:7: ( 'toplevel' )
405 // InternalCftLanguage.g:27:9: 'toplevel'
406 {
407 match("toplevel");
408
409
410 }
411
412 state.type = _type;
413 state.channel = _channel;
414 }
415 finally {
416 }
417 }
418 // $ANTLR end "T__29"
419
420 // $ANTLR start "T__30"
421 public final void mT__30() throws RecognitionException {
422 try {
423 int _type = T__30;
424 int _channel = DEFAULT_TOKEN_CHANNEL;
425 // InternalCftLanguage.g:28:7: ( 'mapping' )
426 // InternalCftLanguage.g:28:9: 'mapping'
427 {
428 match("mapping");
429
430
431 }
432
433 state.type = _type;
434 state.channel = _channel;
435 }
436 finally {
437 }
438 }
439 // $ANTLR end "T__30"
440
441 // $ANTLR start "T__31"
442 public final void mT__31() throws RecognitionException {
443 try {
444 int _type = T__31;
445 int _channel = DEFAULT_TOKEN_CHANNEL;
446 // InternalCftLanguage.g:29:7: ( '(' )
447 // InternalCftLanguage.g:29:9: '('
448 {
449 match('(');
450
451 }
452
453 state.type = _type;
454 state.channel = _channel;
455 }
456 finally {
457 }
458 }
459 // $ANTLR end "T__31"
460
461 // $ANTLR start "T__32"
462 public final void mT__32() throws RecognitionException {
463 try {
464 int _type = T__32;
465 int _channel = DEFAULT_TOKEN_CHANNEL;
466 // InternalCftLanguage.g:30:7: ( ',' )
467 // InternalCftLanguage.g:30:9: ','
468 {
469 match(',');
470
471 }
472
473 state.type = _type;
474 state.channel = _channel;
475 }
476 finally {
477 }
478 }
479 // $ANTLR end "T__32"
480
481 // $ANTLR start "T__33"
482 public final void mT__33() throws RecognitionException {
483 try {
484 int _type = T__33;
485 int _channel = DEFAULT_TOKEN_CHANNEL;
486 // InternalCftLanguage.g:31:7: ( ')' )
487 // InternalCftLanguage.g:31:9: ')'
488 {
489 match(')');
490
491 }
492
493 state.type = _type;
494 state.channel = _channel;
495 }
496 finally {
497 }
498 }
499 // $ANTLR end "T__33"
500
501 // $ANTLR start "T__34"
502 public final void mT__34() throws RecognitionException {
503 try {
504 int _type = T__34;
505 int _channel = DEFAULT_TOKEN_CHANNEL;
506 // InternalCftLanguage.g:32:7: ( 'lookup' )
507 // InternalCftLanguage.g:32:9: 'lookup'
508 {
509 match("lookup");
510
511
512 }
513
514 state.type = _type;
515 state.channel = _channel;
516 }
517 finally {
518 }
519 }
520 // $ANTLR end "T__34"
521
522 // $ANTLR start "T__35"
523 public final void mT__35() throws RecognitionException {
524 try {
525 int _type = T__35;
526 int _channel = DEFAULT_TOKEN_CHANNEL;
527 // InternalCftLanguage.g:33:7: ( 'as' )
528 // InternalCftLanguage.g:33:9: 'as'
529 {
530 match("as");
531
532
533 }
534
535 state.type = _type;
536 state.channel = _channel;
537 }
538 finally {
539 }
540 }
541 // $ANTLR end "T__35"
542
543 // $ANTLR start "T__36"
544 public final void mT__36() throws RecognitionException {
545 try {
546 int _type = T__36;
547 int _channel = DEFAULT_TOKEN_CHANNEL;
548 // InternalCftLanguage.g:34:7: ( '+=' )
549 // InternalCftLanguage.g:34:9: '+='
550 {
551 match("+=");
552
553
554 }
555
556 state.type = _type;
557 state.channel = _channel;
558 }
559 finally {
560 }
561 }
562 // $ANTLR end "T__36"
563
564 // $ANTLR start "T__37"
565 public final void mT__37() throws RecognitionException {
566 try {
567 int _type = T__37;
568 int _channel = DEFAULT_TOKEN_CHANNEL;
569 // InternalCftLanguage.g:35:7: ( ':=' )
570 // InternalCftLanguage.g:35:9: ':='
571 {
572 match(":=");
573
574
575 }
576
577 state.type = _type;
578 state.channel = _channel;
579 }
580 finally {
581 }
582 }
583 // $ANTLR end "T__37"
584
585 // $ANTLR start "T__38"
586 public final void mT__38() throws RecognitionException {
587 try {
588 int _type = T__38;
589 int _channel = DEFAULT_TOKEN_CHANNEL;
590 // InternalCftLanguage.g:36:7: ( '.' )
591 // InternalCftLanguage.g:36:9: '.'
592 {
593 match('.');
594
595 }
596
597 state.type = _type;
598 state.channel = _channel;
599 }
600 finally {
601 }
602 }
603 // $ANTLR end "T__38"
604
605 // $ANTLR start "T__39"
606 public final void mT__39() throws RecognitionException {
607 try {
608 int _type = T__39;
609 int _channel = DEFAULT_TOKEN_CHANNEL;
610 // InternalCftLanguage.g:37:7: ( '=>' )
611 // InternalCftLanguage.g:37:9: '=>'
612 {
613 match("=>");
614
615
616 }
617
618 state.type = _type;
619 state.channel = _channel;
620 }
621 finally {
622 }
623 }
624 // $ANTLR end "T__39"
625
626 // $ANTLR start "T__40"
627 public final void mT__40() throws RecognitionException {
628 try {
629 int _type = T__40;
630 int _channel = DEFAULT_TOKEN_CHANNEL;
631 // InternalCftLanguage.g:38:7: ( '*' )
632 // InternalCftLanguage.g:38:9: '*'
633 {
634 match('*');
635
636 }
637
638 state.type = _type;
639 state.channel = _channel;
640 }
641 finally {
642 }
643 }
644 // $ANTLR end "T__40"
645
646 // $ANTLR start "RULE_OF_INT"
647 public final void mRULE_OF_INT() throws RecognitionException {
648 try {
649 int _type = RULE_OF_INT;
650 int _channel = DEFAULT_TOKEN_CHANNEL;
651 // InternalCftLanguage.g:1672:13: ( 'o' 'f' ( '0' .. '9' )+ )
652 // InternalCftLanguage.g:1672:15: 'o' 'f' ( '0' .. '9' )+
653 {
654 match('o');
655 match('f');
656 // InternalCftLanguage.g:1672:23: ( '0' .. '9' )+
657 int cnt1=0;
658 loop1:
659 do {
660 int alt1=2;
661 int LA1_0 = input.LA(1);
662
663 if ( ((LA1_0>='0' && LA1_0<='9')) ) {
664 alt1=1;
665 }
666
667
668 switch (alt1) {
669 case 1 :
670 // InternalCftLanguage.g:1672:24: '0' .. '9'
671 {
672 matchRange('0','9');
673
674 }
675 break;
676
677 default :
678 if ( cnt1 >= 1 ) break loop1;
679 EarlyExitException eee =
680 new EarlyExitException(1, input);
681 throw eee;
682 }
683 cnt1++;
684 } while (true);
685
686
687 }
688
689 state.type = _type;
690 state.channel = _channel;
691 }
692 finally {
693 }
694 }
695 // $ANTLR end "RULE_OF_INT"
696
697 // $ANTLR start "RULE_T_DOUBLE"
698 public final void mRULE_T_DOUBLE() throws RecognitionException {
699 try {
700 int _type = RULE_T_DOUBLE;
701 int _channel = DEFAULT_TOKEN_CHANNEL;
702 // InternalCftLanguage.g:1674:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) )
703 // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
704 {
705 // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+
706 int cnt2=0;
707 loop2:
708 do {
709 int alt2=2;
710 int LA2_0 = input.LA(1);
711
712 if ( ((LA2_0>='0' && LA2_0<='9')) ) {
713 alt2=1;
714 }
715
716
717 switch (alt2) {
718 case 1 :
719 // InternalCftLanguage.g:1674:18: '0' .. '9'
720 {
721 matchRange('0','9');
722
723 }
724 break;
725
726 default :
727 if ( cnt2 >= 1 ) break loop2;
728 EarlyExitException eee =
729 new EarlyExitException(2, input);
730 throw eee;
731 }
732 cnt2++;
733 } while (true);
734
735 // InternalCftLanguage.g:1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
736 int alt8=2;
737 alt8 = dfa8.predict(input);
738 switch (alt8) {
739 case 1 :
740 // InternalCftLanguage.g:1674:30: '.' ( '0' .. '9' )+
741 {
742 match('.');
743 // InternalCftLanguage.g:1674:34: ( '0' .. '9' )+
744 int cnt3=0;
745 loop3:
746 do {
747 int alt3=2;
748 int LA3_0 = input.LA(1);
749
750 if ( ((LA3_0>='0' && LA3_0<='9')) ) {
751 alt3=1;
752 }
753
754
755 switch (alt3) {
756 case 1 :
757 // InternalCftLanguage.g:1674:35: '0' .. '9'
758 {
759 matchRange('0','9');
760
761 }
762 break;
763
764 default :
765 if ( cnt3 >= 1 ) break loop3;
766 EarlyExitException eee =
767 new EarlyExitException(3, input);
768 throw eee;
769 }
770 cnt3++;
771 } while (true);
772
773
774 }
775 break;
776 case 2 :
777 // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
778 {
779 // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )?
780 int alt5=2;
781 int LA5_0 = input.LA(1);
782
783 if ( (LA5_0=='.') ) {
784 alt5=1;
785 }
786 switch (alt5) {
787 case 1 :
788 // InternalCftLanguage.g:1674:47: '.' ( '0' .. '9' )+
789 {
790 match('.');
791 // InternalCftLanguage.g:1674:51: ( '0' .. '9' )+
792 int cnt4=0;
793 loop4:
794 do {
795 int alt4=2;
796 int LA4_0 = input.LA(1);
797
798 if ( ((LA4_0>='0' && LA4_0<='9')) ) {
799 alt4=1;
800 }
801
802
803 switch (alt4) {
804 case 1 :
805 // InternalCftLanguage.g:1674:52: '0' .. '9'
806 {
807 matchRange('0','9');
808
809 }
810 break;
811
812 default :
813 if ( cnt4 >= 1 ) break loop4;
814 EarlyExitException eee =
815 new EarlyExitException(4, input);
816 throw eee;
817 }
818 cnt4++;
819 } while (true);
820
821
822 }
823 break;
824
825 }
826
827 if ( input.LA(1)=='E'||input.LA(1)=='e' ) {
828 input.consume();
829
830 }
831 else {
832 MismatchedSetException mse = new MismatchedSetException(null,input);
833 recover(mse);
834 throw mse;}
835
836 // InternalCftLanguage.g:1674:75: ( '+' | '-' )?
837 int alt6=2;
838 int LA6_0 = input.LA(1);
839
840 if ( (LA6_0=='+'||LA6_0=='-') ) {
841 alt6=1;
842 }
843 switch (alt6) {
844 case 1 :
845 // InternalCftLanguage.g:
846 {
847 if ( input.LA(1)=='+'||input.LA(1)=='-' ) {
848 input.consume();
849
850 }
851 else {
852 MismatchedSetException mse = new MismatchedSetException(null,input);
853 recover(mse);
854 throw mse;}
855
856
857 }
858 break;
859
860 }
861
862 // InternalCftLanguage.g:1674:86: ( '0' .. '9' )+
863 int cnt7=0;
864 loop7:
865 do {
866 int alt7=2;
867 int LA7_0 = input.LA(1);
868
869 if ( ((LA7_0>='0' && LA7_0<='9')) ) {
870 alt7=1;
871 }
872
873
874 switch (alt7) {
875 case 1 :
876 // InternalCftLanguage.g:1674:87: '0' .. '9'
877 {
878 matchRange('0','9');
879
880 }
881 break;
882
883 default :
884 if ( cnt7 >= 1 ) break loop7;
885 EarlyExitException eee =
886 new EarlyExitException(7, input);
887 throw eee;
888 }
889 cnt7++;
890 } while (true);
891
892
893 }
894 break;
895
896 }
897
898
899 }
900
901 state.type = _type;
902 state.channel = _channel;
903 }
904 finally {
905 }
906 }
907 // $ANTLR end "RULE_T_DOUBLE"
908
909 // $ANTLR start "RULE_ID"
910 public final void mRULE_ID() throws RecognitionException {
911 try {
912 int _type = RULE_ID;
913 int _channel = DEFAULT_TOKEN_CHANNEL;
914 // InternalCftLanguage.g:1676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
915 // InternalCftLanguage.g:1676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
916 {
917 // InternalCftLanguage.g:1676:11: ( '^' )?
918 int alt9=2;
919 int LA9_0 = input.LA(1);
920
921 if ( (LA9_0=='^') ) {
922 alt9=1;
923 }
924 switch (alt9) {
925 case 1 :
926 // InternalCftLanguage.g:1676:11: '^'
927 {
928 match('^');
929
930 }
931 break;
932
933 }
934
935 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
936 input.consume();
937
938 }
939 else {
940 MismatchedSetException mse = new MismatchedSetException(null,input);
941 recover(mse);
942 throw mse;}
943
944 // InternalCftLanguage.g:1676:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
945 loop10:
946 do {
947 int alt10=2;
948 int LA10_0 = input.LA(1);
949
950 if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {
951 alt10=1;
952 }
953
954
955 switch (alt10) {
956 case 1 :
957 // InternalCftLanguage.g:
958 {
959 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
960 input.consume();
961
962 }
963 else {
964 MismatchedSetException mse = new MismatchedSetException(null,input);
965 recover(mse);
966 throw mse;}
967
968
969 }
970 break;
971
972 default :
973 break loop10;
974 }
975 } while (true);
976
977
978 }
979
980 state.type = _type;
981 state.channel = _channel;
982 }
983 finally {
984 }
985 }
986 // $ANTLR end "RULE_ID"
987
988 // $ANTLR start "RULE_INT"
989 public final void mRULE_INT() throws RecognitionException {
990 try {
991 int _type = RULE_INT;
992 int _channel = DEFAULT_TOKEN_CHANNEL;
993 // InternalCftLanguage.g:1678:10: ( ( '0' .. '9' )+ )
994 // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+
995 {
996 // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+
997 int cnt11=0;
998 loop11:
999 do {
1000 int alt11=2;
1001 int LA11_0 = input.LA(1);
1002
1003 if ( ((LA11_0>='0' && LA11_0<='9')) ) {
1004 alt11=1;
1005 }
1006
1007
1008 switch (alt11) {
1009 case 1 :
1010 // InternalCftLanguage.g:1678:13: '0' .. '9'
1011 {
1012 matchRange('0','9');
1013
1014 }
1015 break;
1016
1017 default :
1018 if ( cnt11 >= 1 ) break loop11;
1019 EarlyExitException eee =
1020 new EarlyExitException(11, input);
1021 throw eee;
1022 }
1023 cnt11++;
1024 } while (true);
1025
1026
1027 }
1028
1029 state.type = _type;
1030 state.channel = _channel;
1031 }
1032 finally {
1033 }
1034 }
1035 // $ANTLR end "RULE_INT"
1036
1037 // $ANTLR start "RULE_STRING"
1038 public final void mRULE_STRING() throws RecognitionException {
1039 try {
1040 int _type = RULE_STRING;
1041 int _channel = DEFAULT_TOKEN_CHANNEL;
1042 // InternalCftLanguage.g:1680:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1043 // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1044 {
1045 // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1046 int alt14=2;
1047 int LA14_0 = input.LA(1);
1048
1049 if ( (LA14_0=='\"') ) {
1050 alt14=1;
1051 }
1052 else if ( (LA14_0=='\'') ) {
1053 alt14=2;
1054 }
1055 else {
1056 NoViableAltException nvae =
1057 new NoViableAltException("", 14, 0, input);
1058
1059 throw nvae;
1060 }
1061 switch (alt14) {
1062 case 1 :
1063 // InternalCftLanguage.g:1680:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1064 {
1065 match('\"');
1066 // InternalCftLanguage.g:1680:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1067 loop12:
1068 do {
1069 int alt12=3;
1070 int LA12_0 = input.LA(1);
1071
1072 if ( (LA12_0=='\\') ) {
1073 alt12=1;
1074 }
1075 else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) {
1076 alt12=2;
1077 }
1078
1079
1080 switch (alt12) {
1081 case 1 :
1082 // InternalCftLanguage.g:1680:21: '\\\\' .
1083 {
1084 match('\\');
1085 matchAny();
1086
1087 }
1088 break;
1089 case 2 :
1090 // InternalCftLanguage.g:1680:28: ~ ( ( '\\\\' | '\"' ) )
1091 {
1092 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1093 input.consume();
1094
1095 }
1096 else {
1097 MismatchedSetException mse = new MismatchedSetException(null,input);
1098 recover(mse);
1099 throw mse;}
1100
1101
1102 }
1103 break;
1104
1105 default :
1106 break loop12;
1107 }
1108 } while (true);
1109
1110 match('\"');
1111
1112 }
1113 break;
1114 case 2 :
1115 // InternalCftLanguage.g:1680:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1116 {
1117 match('\'');
1118 // InternalCftLanguage.g:1680:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1119 loop13:
1120 do {
1121 int alt13=3;
1122 int LA13_0 = input.LA(1);
1123
1124 if ( (LA13_0=='\\') ) {
1125 alt13=1;
1126 }
1127 else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) {
1128 alt13=2;
1129 }
1130
1131
1132 switch (alt13) {
1133 case 1 :
1134 // InternalCftLanguage.g:1680:54: '\\\\' .
1135 {
1136 match('\\');
1137 matchAny();
1138
1139 }
1140 break;
1141 case 2 :
1142 // InternalCftLanguage.g:1680:61: ~ ( ( '\\\\' | '\\'' ) )
1143 {
1144 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1145 input.consume();
1146
1147 }
1148 else {
1149 MismatchedSetException mse = new MismatchedSetException(null,input);
1150 recover(mse);
1151 throw mse;}
1152
1153
1154 }
1155 break;
1156
1157 default :
1158 break loop13;
1159 }
1160 } while (true);
1161
1162 match('\'');
1163
1164 }
1165 break;
1166
1167 }
1168
1169
1170 }
1171
1172 state.type = _type;
1173 state.channel = _channel;
1174 }
1175 finally {
1176 }
1177 }
1178 // $ANTLR end "RULE_STRING"
1179
1180 // $ANTLR start "RULE_ML_COMMENT"
1181 public final void mRULE_ML_COMMENT() throws RecognitionException {
1182 try {
1183 int _type = RULE_ML_COMMENT;
1184 int _channel = DEFAULT_TOKEN_CHANNEL;
1185 // InternalCftLanguage.g:1682:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1186 // InternalCftLanguage.g:1682:19: '/*' ( options {greedy=false; } : . )* '*/'
1187 {
1188 match("/*");
1189
1190 // InternalCftLanguage.g:1682:24: ( options {greedy=false; } : . )*
1191 loop15:
1192 do {
1193 int alt15=2;
1194 int LA15_0 = input.LA(1);
1195
1196 if ( (LA15_0=='*') ) {
1197 int LA15_1 = input.LA(2);
1198
1199 if ( (LA15_1=='/') ) {
1200 alt15=2;
1201 }
1202 else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) {
1203 alt15=1;
1204 }
1205
1206
1207 }
1208 else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) {
1209 alt15=1;
1210 }
1211
1212
1213 switch (alt15) {
1214 case 1 :
1215 // InternalCftLanguage.g:1682:52: .
1216 {
1217 matchAny();
1218
1219 }
1220 break;
1221
1222 default :
1223 break loop15;
1224 }
1225 } while (true);
1226
1227 match("*/");
1228
1229
1230 }
1231
1232 state.type = _type;
1233 state.channel = _channel;
1234 }
1235 finally {
1236 }
1237 }
1238 // $ANTLR end "RULE_ML_COMMENT"
1239
1240 // $ANTLR start "RULE_SL_COMMENT"
1241 public final void mRULE_SL_COMMENT() throws RecognitionException {
1242 try {
1243 int _type = RULE_SL_COMMENT;
1244 int _channel = DEFAULT_TOKEN_CHANNEL;
1245 // InternalCftLanguage.g:1684:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1246 // InternalCftLanguage.g:1684:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1247 {
1248 match("//");
1249
1250 // InternalCftLanguage.g:1684:24: (~ ( ( '\\n' | '\\r' ) ) )*
1251 loop16:
1252 do {
1253 int alt16=2;
1254 int LA16_0 = input.LA(1);
1255
1256 if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) {
1257 alt16=1;
1258 }
1259
1260
1261 switch (alt16) {
1262 case 1 :
1263 // InternalCftLanguage.g:1684:24: ~ ( ( '\\n' | '\\r' ) )
1264 {
1265 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') ) {
1266 input.consume();
1267
1268 }
1269 else {
1270 MismatchedSetException mse = new MismatchedSetException(null,input);
1271 recover(mse);
1272 throw mse;}
1273
1274
1275 }
1276 break;
1277
1278 default :
1279 break loop16;
1280 }
1281 } while (true);
1282
1283 // InternalCftLanguage.g:1684:40: ( ( '\\r' )? '\\n' )?
1284 int alt18=2;
1285 int LA18_0 = input.LA(1);
1286
1287 if ( (LA18_0=='\n'||LA18_0=='\r') ) {
1288 alt18=1;
1289 }
1290 switch (alt18) {
1291 case 1 :
1292 // InternalCftLanguage.g:1684:41: ( '\\r' )? '\\n'
1293 {
1294 // InternalCftLanguage.g:1684:41: ( '\\r' )?
1295 int alt17=2;
1296 int LA17_0 = input.LA(1);
1297
1298 if ( (LA17_0=='\r') ) {
1299 alt17=1;
1300 }
1301 switch (alt17) {
1302 case 1 :
1303 // InternalCftLanguage.g:1684:41: '\\r'
1304 {
1305 match('\r');
1306
1307 }
1308 break;
1309
1310 }
1311
1312 match('\n');
1313
1314 }
1315 break;
1316
1317 }
1318
1319
1320 }
1321
1322 state.type = _type;
1323 state.channel = _channel;
1324 }
1325 finally {
1326 }
1327 }
1328 // $ANTLR end "RULE_SL_COMMENT"
1329
1330 // $ANTLR start "RULE_WS"
1331 public final void mRULE_WS() throws RecognitionException {
1332 try {
1333 int _type = RULE_WS;
1334 int _channel = DEFAULT_TOKEN_CHANNEL;
1335 // InternalCftLanguage.g:1686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1336 // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1337 {
1338 // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1339 int cnt19=0;
1340 loop19:
1341 do {
1342 int alt19=2;
1343 int LA19_0 = input.LA(1);
1344
1345 if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) {
1346 alt19=1;
1347 }
1348
1349
1350 switch (alt19) {
1351 case 1 :
1352 // InternalCftLanguage.g:
1353 {
1354 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1355 input.consume();
1356
1357 }
1358 else {
1359 MismatchedSetException mse = new MismatchedSetException(null,input);
1360 recover(mse);
1361 throw mse;}
1362
1363
1364 }
1365 break;
1366
1367 default :
1368 if ( cnt19 >= 1 ) break loop19;
1369 EarlyExitException eee =
1370 new EarlyExitException(19, input);
1371 throw eee;
1372 }
1373 cnt19++;
1374 } while (true);
1375
1376
1377 }
1378
1379 state.type = _type;
1380 state.channel = _channel;
1381 }
1382 finally {
1383 }
1384 }
1385 // $ANTLR end "RULE_WS"
1386
1387 // $ANTLR start "RULE_ANY_OTHER"
1388 public final void mRULE_ANY_OTHER() throws RecognitionException {
1389 try {
1390 int _type = RULE_ANY_OTHER;
1391 int _channel = DEFAULT_TOKEN_CHANNEL;
1392 // InternalCftLanguage.g:1688:16: ( . )
1393 // InternalCftLanguage.g:1688:18: .
1394 {
1395 matchAny();
1396
1397 }
1398
1399 state.type = _type;
1400 state.channel = _channel;
1401 }
1402 finally {
1403 }
1404 }
1405 // $ANTLR end "RULE_ANY_OTHER"
1406
1407 public void mTokens() throws RecognitionException {
1408 // 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 )
1409 int alt20=37;
1410 alt20 = dfa20.predict(input);
1411 switch (alt20) {
1412 case 1 :
1413 // InternalCftLanguage.g:1:10: T__13
1414 {
1415 mT__13();
1416
1417 }
1418 break;
1419 case 2 :
1420 // InternalCftLanguage.g:1:16: T__14
1421 {
1422 mT__14();
1423
1424 }
1425 break;
1426 case 3 :
1427 // InternalCftLanguage.g:1:22: T__15
1428 {
1429 mT__15();
1430
1431 }
1432 break;
1433 case 4 :
1434 // InternalCftLanguage.g:1:28: T__16
1435 {
1436 mT__16();
1437
1438 }
1439 break;
1440 case 5 :
1441 // InternalCftLanguage.g:1:34: T__17
1442 {
1443 mT__17();
1444
1445 }
1446 break;
1447 case 6 :
1448 // InternalCftLanguage.g:1:40: T__18
1449 {
1450 mT__18();
1451
1452 }
1453 break;
1454 case 7 :
1455 // InternalCftLanguage.g:1:46: T__19
1456 {
1457 mT__19();
1458
1459 }
1460 break;
1461 case 8 :
1462 // InternalCftLanguage.g:1:52: T__20
1463 {
1464 mT__20();
1465
1466 }
1467 break;
1468 case 9 :
1469 // InternalCftLanguage.g:1:58: T__21
1470 {
1471 mT__21();
1472
1473 }
1474 break;
1475 case 10 :
1476 // InternalCftLanguage.g:1:64: T__22
1477 {
1478 mT__22();
1479
1480 }
1481 break;
1482 case 11 :
1483 // InternalCftLanguage.g:1:70: T__23
1484 {
1485 mT__23();
1486
1487 }
1488 break;
1489 case 12 :
1490 // InternalCftLanguage.g:1:76: T__24
1491 {
1492 mT__24();
1493
1494 }
1495 break;
1496 case 13 :
1497 // InternalCftLanguage.g:1:82: T__25
1498 {
1499 mT__25();
1500
1501 }
1502 break;
1503 case 14 :
1504 // InternalCftLanguage.g:1:88: T__26
1505 {
1506 mT__26();
1507
1508 }
1509 break;
1510 case 15 :
1511 // InternalCftLanguage.g:1:94: T__27
1512 {
1513 mT__27();
1514
1515 }
1516 break;
1517 case 16 :
1518 // InternalCftLanguage.g:1:100: T__28
1519 {
1520 mT__28();
1521
1522 }
1523 break;
1524 case 17 :
1525 // InternalCftLanguage.g:1:106: T__29
1526 {
1527 mT__29();
1528
1529 }
1530 break;
1531 case 18 :
1532 // InternalCftLanguage.g:1:112: T__30
1533 {
1534 mT__30();
1535
1536 }
1537 break;
1538 case 19 :
1539 // InternalCftLanguage.g:1:118: T__31
1540 {
1541 mT__31();
1542
1543 }
1544 break;
1545 case 20 :
1546 // InternalCftLanguage.g:1:124: T__32
1547 {
1548 mT__32();
1549
1550 }
1551 break;
1552 case 21 :
1553 // InternalCftLanguage.g:1:130: T__33
1554 {
1555 mT__33();
1556
1557 }
1558 break;
1559 case 22 :
1560 // InternalCftLanguage.g:1:136: T__34
1561 {
1562 mT__34();
1563
1564 }
1565 break;
1566 case 23 :
1567 // InternalCftLanguage.g:1:142: T__35
1568 {
1569 mT__35();
1570
1571 }
1572 break;
1573 case 24 :
1574 // InternalCftLanguage.g:1:148: T__36
1575 {
1576 mT__36();
1577
1578 }
1579 break;
1580 case 25 :
1581 // InternalCftLanguage.g:1:154: T__37
1582 {
1583 mT__37();
1584
1585 }
1586 break;
1587 case 26 :
1588 // InternalCftLanguage.g:1:160: T__38
1589 {
1590 mT__38();
1591
1592 }
1593 break;
1594 case 27 :
1595 // InternalCftLanguage.g:1:166: T__39
1596 {
1597 mT__39();
1598
1599 }
1600 break;
1601 case 28 :
1602 // InternalCftLanguage.g:1:172: T__40
1603 {
1604 mT__40();
1605
1606 }
1607 break;
1608 case 29 :
1609 // InternalCftLanguage.g:1:178: RULE_OF_INT
1610 {
1611 mRULE_OF_INT();
1612
1613 }
1614 break;
1615 case 30 :
1616 // InternalCftLanguage.g:1:190: RULE_T_DOUBLE
1617 {
1618 mRULE_T_DOUBLE();
1619
1620 }
1621 break;
1622 case 31 :
1623 // InternalCftLanguage.g:1:204: RULE_ID
1624 {
1625 mRULE_ID();
1626
1627 }
1628 break;
1629 case 32 :
1630 // InternalCftLanguage.g:1:212: RULE_INT
1631 {
1632 mRULE_INT();
1633
1634 }
1635 break;
1636 case 33 :
1637 // InternalCftLanguage.g:1:221: RULE_STRING
1638 {
1639 mRULE_STRING();
1640
1641 }
1642 break;
1643 case 34 :
1644 // InternalCftLanguage.g:1:233: RULE_ML_COMMENT
1645 {
1646 mRULE_ML_COMMENT();
1647
1648 }
1649 break;
1650 case 35 :
1651 // InternalCftLanguage.g:1:249: RULE_SL_COMMENT
1652 {
1653 mRULE_SL_COMMENT();
1654
1655 }
1656 break;
1657 case 36 :
1658 // InternalCftLanguage.g:1:265: RULE_WS
1659 {
1660 mRULE_WS();
1661
1662 }
1663 break;
1664 case 37 :
1665 // InternalCftLanguage.g:1:273: RULE_ANY_OTHER
1666 {
1667 mRULE_ANY_OTHER();
1668
1669 }
1670 break;
1671
1672 }
1673
1674 }
1675
1676
1677 protected DFA8 dfa8 = new DFA8(this);
1678 protected DFA20 dfa20 = new DFA20(this);
1679 static final String DFA8_eotS =
1680 "\3\uffff\1\4\1\uffff";
1681 static final String DFA8_eofS =
1682 "\5\uffff";
1683 static final String DFA8_minS =
1684 "\1\56\1\60\1\uffff\1\60\1\uffff";
1685 static final String DFA8_maxS =
1686 "\1\145\1\71\1\uffff\1\145\1\uffff";
1687 static final String DFA8_acceptS =
1688 "\2\uffff\1\2\1\uffff\1\1";
1689 static final String DFA8_specialS =
1690 "\5\uffff}>";
1691 static final String[] DFA8_transitionS = {
1692 "\1\1\26\uffff\1\2\37\uffff\1\2",
1693 "\12\3",
1694 "",
1695 "\12\3\13\uffff\1\2\37\uffff\1\2",
1696 ""
1697 };
1698
1699 static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS);
1700 static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS);
1701 static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS);
1702 static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS);
1703 static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS);
1704 static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS);
1705 static final short[][] DFA8_transition;
1706
1707 static {
1708 int numStates = DFA8_transitionS.length;
1709 DFA8_transition = new short[numStates][];
1710 for (int i=0; i<numStates; i++) {
1711 DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]);
1712 }
1713 }
1714
1715 class DFA8 extends DFA {
1716
1717 public DFA8(BaseRecognizer recognizer) {
1718 this.recognizer = recognizer;
1719 this.decisionNumber = 8;
1720 this.eot = DFA8_eot;
1721 this.eof = DFA8_eof;
1722 this.min = DFA8_min;
1723 this.max = DFA8_max;
1724 this.accept = DFA8_accept;
1725 this.special = DFA8_special;
1726 this.transition = DFA8_transition;
1727 }
1728 public String getDescription() {
1729 return "1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )";
1730 }
1731 }
1732 static final String DFA20_eotS =
1733 "\1\uffff\1\37\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\74\1\34\1\uffff\3\34\2\uffff\2\37\2\uffff\1\37\1\104\1\37\1\uffff\1\37\1\107\1\110\4\uffff\3\37\1\115\3\37\10\uffff\1\74\5\uffff\3\37\1\uffff\1\124\1\125\2\uffff\1\126\2\37\1\131\1\uffff\4\37\1\136\1\37\3\uffff\2\37\1\uffff\4\37\1\uffff\7\37\1\155\1\156\1\157\3\37\1\163\3\uffff\2\37\1\166\1\uffff\1\37\1\170\1\uffff\1\37\1\uffff\4\37\1\176\1\uffff";
1734 static final String DFA20_eofS =
1735 "\177\uffff";
1736 static final String DFA20_minS =
1737 "\1\0\1\141\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\1\157\2\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\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\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";
1738 static final String DFA20_maxS =
1739 "\1\uffff\1\162\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\1\157\2\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\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\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";
1740 static final String DFA20_acceptS =
1741 "\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\2\uffff\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\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\6\2\uffff\1\16\1\17\4\uffff\1\27\6\uffff\1\4\1\7\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20";
1742 static final String DFA20_specialS =
1743 "\1\1\27\uffff\1\2\1\0\145\uffff}>";
1744 static final String[] DFA20_transitionS = {
1745 "\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",
1746 "\1\35\20\uffff\1\36",
1747 "",
1748 "\1\41\1\42",
1749 "\1\43",
1750 "",
1751 "\1\47\13\uffff\1\46\2\uffff\1\45",
1752 "",
1753 "\1\51",
1754 "\1\52",
1755 "\1\54\15\uffff\1\55",
1756 "\1\56\4\uffff\1\57",
1757 "\1\61\2\uffff\1\60",
1758 "\1\62",
1759 "",
1760 "",
1761 "",
1762 "\1\66",
1763 "\1\67",
1764 "",
1765 "",
1766 "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72",
1767 "\32\37\4\uffff\1\37\1\uffff\32\37",
1768 "",
1769 "\0\75",
1770 "\0\75",
1771 "\1\76\4\uffff\1\77",
1772 "",
1773 "",
1774 "\1\101",
1775 "\1\102",
1776 "",
1777 "",
1778 "\1\103",
1779 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1780 "\1\105",
1781 "",
1782 "\1\106",
1783 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1784 "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1785 "",
1786 "",
1787 "",
1788 "",
1789 "\1\112",
1790 "\1\113",
1791 "\1\114",
1792 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1793 "\1\116",
1794 "\1\117",
1795 "\1\120",
1796 "",
1797 "",
1798 "",
1799 "",
1800 "",
1801 "",
1802 "",
1803 "",
1804 "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72",
1805 "",
1806 "",
1807 "",
1808 "",
1809 "",
1810 "\1\121",
1811 "\1\122",
1812 "\1\123",
1813 "",
1814 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1815 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1816 "",
1817 "",
1818 "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1819 "\1\127",
1820 "\1\130",
1821 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1822 "",
1823 "\1\132",
1824 "\1\133",
1825 "\1\134",
1826 "\1\135",
1827 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1828 "\1\137",
1829 "",
1830 "",
1831 "",
1832 "\1\140",
1833 "\1\141",
1834 "",
1835 "\1\142",
1836 "\1\143",
1837 "\1\144",
1838 "\1\145",
1839 "",
1840 "\1\146",
1841 "\1\147",
1842 "\1\150",
1843 "\1\151",
1844 "\1\152",
1845 "\1\153",
1846 "\1\154",
1847 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1848 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1849 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1850 "\1\160",
1851 "\1\161",
1852 "\1\162",
1853 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1854 "",
1855 "",
1856 "",
1857 "\1\164",
1858 "\1\165",
1859 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1860 "",
1861 "\1\167",
1862 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1863 "",
1864 "\1\171",
1865 "",
1866 "\1\172",
1867 "\1\173",
1868 "\1\174",
1869 "\1\175",
1870 "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
1871 ""
1872 };
1873
1874 static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS);
1875 static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS);
1876 static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS);
1877 static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS);
1878 static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS);
1879 static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS);
1880 static final short[][] DFA20_transition;
1881
1882 static {
1883 int numStates = DFA20_transitionS.length;
1884 DFA20_transition = new short[numStates][];
1885 for (int i=0; i<numStates; i++) {
1886 DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]);
1887 }
1888 }
1889
1890 class DFA20 extends DFA {
1891
1892 public DFA20(BaseRecognizer recognizer) {
1893 this.recognizer = recognizer;
1894 this.decisionNumber = 20;
1895 this.eot = DFA20_eot;
1896 this.eof = DFA20_eof;
1897 this.min = DFA20_min;
1898 this.max = DFA20_max;
1899 this.accept = DFA20_accept;
1900 this.special = DFA20_special;
1901 this.transition = DFA20_transition;
1902 }
1903 public String getDescription() {
1904 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 );";
1905 }
1906 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1907 IntStream input = _input;
1908 int _s = s;
1909 switch ( s ) {
1910 case 0 :
1911 int LA20_25 = input.LA(1);
1912
1913 s = -1;
1914 if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;}
1915
1916 else s = 28;
1917
1918 if ( s>=0 ) return s;
1919 break;
1920 case 1 :
1921 int LA20_0 = input.LA(1);
1922
1923 s = -1;
1924 if ( (LA20_0=='p') ) {s = 1;}
1925
1926 else if ( (LA20_0==';') ) {s = 2;}
1927
1928 else if ( (LA20_0=='i') ) {s = 3;}
1929
1930 else if ( (LA20_0=='c') ) {s = 4;}
1931
1932 else if ( (LA20_0=='{') ) {s = 5;}
1933
1934 else if ( (LA20_0=='o') ) {s = 6;}
1935
1936 else if ( (LA20_0=='}') ) {s = 7;}
1937
1938 else if ( (LA20_0=='[') ) {s = 8;}
1939
1940 else if ( (LA20_0=='=') ) {s = 9;}
1941
1942 else if ( (LA20_0=='l') ) {s = 10;}
1943
1944 else if ( (LA20_0=='a') ) {s = 11;}
1945
1946 else if ( (LA20_0=='t') ) {s = 12;}
1947
1948 else if ( (LA20_0=='m') ) {s = 13;}
1949
1950 else if ( (LA20_0=='(') ) {s = 14;}
1951
1952 else if ( (LA20_0==',') ) {s = 15;}
1953
1954 else if ( (LA20_0==')') ) {s = 16;}
1955
1956 else if ( (LA20_0=='+') ) {s = 17;}
1957
1958 else if ( (LA20_0==':') ) {s = 18;}
1959
1960 else if ( (LA20_0=='.') ) {s = 19;}
1961
1962 else if ( (LA20_0=='*') ) {s = 20;}
1963
1964 else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;}
1965
1966 else if ( (LA20_0=='^') ) {s = 22;}
1967
1968 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;}
1969
1970 else if ( (LA20_0=='\"') ) {s = 24;}
1971
1972 else if ( (LA20_0=='\'') ) {s = 25;}
1973
1974 else if ( (LA20_0=='/') ) {s = 26;}
1975
1976 else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;}
1977
1978 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;}
1979
1980 if ( s>=0 ) return s;
1981 break;
1982 case 2 :
1983 int LA20_24 = input.LA(1);
1984
1985 s = -1;
1986 if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;}
1987
1988 else s = 28;
1989
1990 if ( s>=0 ) return s;
1991 break;
1992 }
1993 NoViableAltException nvae =
1994 new NoViableAltException(getDescription(), 20, _s, input);
1995 error(nvae);
1996 throw nvae;
1997 }
1998 }
1999
2000
2001} \ No newline at end of file
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
deleted file mode 100644
index 0da9c0f1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java
+++ /dev/null
@@ -1,4509 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal;
2
3import org.eclipse.xtext.*;
4import org.eclipse.xtext.parser.*;
5import org.eclipse.xtext.parser.impl.*;
6import org.eclipse.emf.ecore.util.EcoreUtil;
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
9import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
13
14
15
16import org.antlr.runtime.*;
17import java.util.Stack;
18import java.util.List;
19import java.util.ArrayList;
20
21@SuppressWarnings("all")
22public class InternalCftLanguageParser extends AbstractInternalAntlrParser {
23 public static final String[] tokenNames = new String[] {
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'", "'}'", "'[]'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'"
25 };
26 public static final int RULE_STRING=8;
27 public static final int RULE_SL_COMMENT=10;
28 public static final int T__19=19;
29 public static final int T__15=15;
30 public static final int T__37=37;
31 public static final int T__16=16;
32 public static final int T__38=38;
33 public static final int T__17=17;
34 public static final int T__39=39;
35 public static final int T__18=18;
36 public static final int T__33=33;
37 public static final int T__34=34;
38 public static final int RULE_T_DOUBLE=7;
39 public static final int T__13=13;
40 public static final int T__35=35;
41 public static final int T__14=14;
42 public static final int T__36=36;
43 public static final int EOF=-1;
44 public static final int T__30=30;
45 public static final int T__31=31;
46 public static final int T__32=32;
47 public static final int RULE_OF_INT=5;
48 public static final int RULE_ID=6;
49 public static final int RULE_WS=11;
50 public static final int RULE_ANY_OTHER=12;
51 public static final int T__26=26;
52 public static final int T__27=27;
53 public static final int T__28=28;
54 public static final int RULE_INT=4;
55 public static final int T__29=29;
56 public static final int T__22=22;
57 public static final int RULE_ML_COMMENT=9;
58 public static final int T__23=23;
59 public static final int T__24=24;
60 public static final int T__25=25;
61 public static final int T__40=40;
62 public static final int T__20=20;
63 public static final int T__21=21;
64
65 // delegates
66 // delegators
67
68
69 public InternalCftLanguageParser(TokenStream input) {
70 this(input, new RecognizerSharedState());
71 }
72 public InternalCftLanguageParser(TokenStream input, RecognizerSharedState state) {
73 super(input, state);
74
75 }
76
77
78 public String[] getTokenNames() { return InternalCftLanguageParser.tokenNames; }
79 public String getGrammarFileName() { return "InternalCftLanguage.g"; }
80
81
82
83 private CftLanguageGrammarAccess grammarAccess;
84
85 public InternalCftLanguageParser(TokenStream input, CftLanguageGrammarAccess grammarAccess) {
86 this(input);
87 this.grammarAccess = grammarAccess;
88 registerRules(grammarAccess.getGrammar());
89 }
90
91 @Override
92 protected String getFirstRuleName() {
93 return "CftModel";
94 }
95
96 @Override
97 protected CftLanguageGrammarAccess getGrammarAccess() {
98 return grammarAccess;
99 }
100
101
102
103
104 // $ANTLR start "entryRuleCftModel"
105 // InternalCftLanguage.g:64:1: entryRuleCftModel returns [EObject current=null] : iv_ruleCftModel= ruleCftModel EOF ;
106 public final EObject entryRuleCftModel() throws RecognitionException {
107 EObject current = null;
108
109 EObject iv_ruleCftModel = null;
110
111
112 try {
113 // InternalCftLanguage.g:64:49: (iv_ruleCftModel= ruleCftModel EOF )
114 // InternalCftLanguage.g:65:2: iv_ruleCftModel= ruleCftModel EOF
115 {
116 newCompositeNode(grammarAccess.getCftModelRule());
117 pushFollow(FOLLOW_1);
118 iv_ruleCftModel=ruleCftModel();
119
120 state._fsp--;
121
122 current =iv_ruleCftModel;
123 match(input,EOF,FOLLOW_2);
124
125 }
126
127 }
128
129 catch (RecognitionException re) {
130 recover(input,re);
131 appendSkippedTokens();
132 }
133 finally {
134 }
135 return current;
136 }
137 // $ANTLR end "entryRuleCftModel"
138
139
140 // $ANTLR start "ruleCftModel"
141 // InternalCftLanguage.g:71:1: ruleCftModel returns [EObject current=null] : (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 ) ) )* ) ;
142 public final EObject ruleCftModel() throws RecognitionException {
143 EObject current = null;
144
145 Token otherlv_0=null;
146 Token otherlv_2=null;
147 AntlrDatatypeRuleToken lv_packageName_1_0 = null;
148
149 EObject lv_imports_3_0 = null;
150
151 EObject lv_componentDefinitions_4_0 = null;
152
153 EObject lv_transformationDefinitions_5_0 = null;
154
155
156
157 enterRule();
158
159 try {
160 // InternalCftLanguage.g:77: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: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 ) ) )* )
162 {
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 ) ) )* )
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 ) ) )*
165 {
166 otherlv_0=(Token)match(input,13,FOLLOW_3);
167
168 newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0());
169
170 // InternalCftLanguage.g:83:3: ( (lv_packageName_1_0= ruleQualifiedName ) )
171 // InternalCftLanguage.g:84:4: (lv_packageName_1_0= ruleQualifiedName )
172 {
173 // InternalCftLanguage.g:84:4: (lv_packageName_1_0= ruleQualifiedName )
174 // InternalCftLanguage.g:85:5: lv_packageName_1_0= ruleQualifiedName
175 {
176
177 newCompositeNode(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0());
178
179 pushFollow(FOLLOW_4);
180 lv_packageName_1_0=ruleQualifiedName();
181
182 state._fsp--;
183
184
185 if (current==null) {
186 current = createModelElementForParent(grammarAccess.getCftModelRule());
187 }
188 set(
189 current,
190 "packageName",
191 lv_packageName_1_0,
192 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName");
193 afterParserOrEnumRuleCall();
194
195
196 }
197
198
199 }
200
201 // InternalCftLanguage.g:102:3: (otherlv_2= ';' )?
202 int alt1=2;
203 int LA1_0 = input.LA(1);
204
205 if ( (LA1_0==14) ) {
206 alt1=1;
207 }
208 switch (alt1) {
209 case 1 :
210 // InternalCftLanguage.g:103:4: otherlv_2= ';'
211 {
212 otherlv_2=(Token)match(input,14,FOLLOW_5);
213
214 newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2());
215
216
217 }
218 break;
219
220 }
221
222 // InternalCftLanguage.g:108:3: ( (lv_imports_3_0= ruleImportDeclaration ) )*
223 loop2:
224 do {
225 int alt2=2;
226 int LA2_0 = input.LA(1);
227
228 if ( (LA2_0==15) ) {
229 alt2=1;
230 }
231
232
233 switch (alt2) {
234 case 1 :
235 // InternalCftLanguage.g:109:4: (lv_imports_3_0= ruleImportDeclaration )
236 {
237 // InternalCftLanguage.g:109:4: (lv_imports_3_0= ruleImportDeclaration )
238 // InternalCftLanguage.g:110:5: lv_imports_3_0= ruleImportDeclaration
239 {
240
241 newCompositeNode(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0());
242
243 pushFollow(FOLLOW_5);
244 lv_imports_3_0=ruleImportDeclaration();
245
246 state._fsp--;
247
248
249 if (current==null) {
250 current = createModelElementForParent(grammarAccess.getCftModelRule());
251 }
252 add(
253 current,
254 "imports",
255 lv_imports_3_0,
256 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration");
257 afterParserOrEnumRuleCall();
258
259
260 }
261
262
263 }
264 break;
265
266 default :
267 break loop2;
268 }
269 } while (true);
270
271 // InternalCftLanguage.g:127:3: ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )*
272 loop3:
273 do {
274 int alt3=3;
275 int LA3_0 = input.LA(1);
276
277 if ( (LA3_0==16) ) {
278 alt3=1;
279 }
280 else if ( (LA3_0==28) ) {
281 alt3=2;
282 }
283
284
285 switch (alt3) {
286 case 1 :
287 // InternalCftLanguage.g:128:4: ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) )
288 {
289 // InternalCftLanguage.g:128:4: ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) )
290 // InternalCftLanguage.g:129:5: (lv_componentDefinitions_4_0= ruleComponentDefinition )
291 {
292 // InternalCftLanguage.g:129:5: (lv_componentDefinitions_4_0= ruleComponentDefinition )
293 // InternalCftLanguage.g:130:6: lv_componentDefinitions_4_0= ruleComponentDefinition
294 {
295
296 newCompositeNode(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0());
297
298 pushFollow(FOLLOW_6);
299 lv_componentDefinitions_4_0=ruleComponentDefinition();
300
301 state._fsp--;
302
303
304 if (current==null) {
305 current = createModelElementForParent(grammarAccess.getCftModelRule());
306 }
307 add(
308 current,
309 "componentDefinitions",
310 lv_componentDefinitions_4_0,
311 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition");
312 afterParserOrEnumRuleCall();
313
314
315 }
316
317
318 }
319
320
321 }
322 break;
323 case 2 :
324 // InternalCftLanguage.g:148:4: ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) )
325 {
326 // InternalCftLanguage.g:148:4: ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) )
327 // InternalCftLanguage.g:149:5: (lv_transformationDefinitions_5_0= ruleTransformationDefinition )
328 {
329 // InternalCftLanguage.g:149:5: (lv_transformationDefinitions_5_0= ruleTransformationDefinition )
330 // InternalCftLanguage.g:150:6: lv_transformationDefinitions_5_0= ruleTransformationDefinition
331 {
332
333 newCompositeNode(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0());
334
335 pushFollow(FOLLOW_6);
336 lv_transformationDefinitions_5_0=ruleTransformationDefinition();
337
338 state._fsp--;
339
340
341 if (current==null) {
342 current = createModelElementForParent(grammarAccess.getCftModelRule());
343 }
344 add(
345 current,
346 "transformationDefinitions",
347 lv_transformationDefinitions_5_0,
348 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition");
349 afterParserOrEnumRuleCall();
350
351
352 }
353
354
355 }
356
357
358 }
359 break;
360
361 default :
362 break loop3;
363 }
364 } while (true);
365
366
367 }
368
369
370 }
371
372
373 leaveRule();
374
375 }
376
377 catch (RecognitionException re) {
378 recover(input,re);
379 appendSkippedTokens();
380 }
381 finally {
382 }
383 return current;
384 }
385 // $ANTLR end "ruleCftModel"
386
387
388 // $ANTLR start "entryRuleImportDeclaration"
389 // InternalCftLanguage.g:172:1: entryRuleImportDeclaration returns [EObject current=null] : iv_ruleImportDeclaration= ruleImportDeclaration EOF ;
390 public final EObject entryRuleImportDeclaration() throws RecognitionException {
391 EObject current = null;
392
393 EObject iv_ruleImportDeclaration = null;
394
395
396 try {
397 // InternalCftLanguage.g:172:58: (iv_ruleImportDeclaration= ruleImportDeclaration EOF )
398 // InternalCftLanguage.g:173:2: iv_ruleImportDeclaration= ruleImportDeclaration EOF
399 {
400 newCompositeNode(grammarAccess.getImportDeclarationRule());
401 pushFollow(FOLLOW_1);
402 iv_ruleImportDeclaration=ruleImportDeclaration();
403
404 state._fsp--;
405
406 current =iv_ruleImportDeclaration;
407 match(input,EOF,FOLLOW_2);
408
409 }
410
411 }
412
413 catch (RecognitionException re) {
414 recover(input,re);
415 appendSkippedTokens();
416 }
417 finally {
418 }
419 return current;
420 }
421 // $ANTLR end "entryRuleImportDeclaration"
422
423
424 // $ANTLR start "ruleImportDeclaration"
425 // InternalCftLanguage.g:179:1: ruleImportDeclaration returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) ;
426 public final EObject ruleImportDeclaration() throws RecognitionException {
427 EObject current = null;
428
429 Token otherlv_0=null;
430 Token otherlv_2=null;
431 AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
432
433
434
435 enterRule();
436
437 try {
438 // InternalCftLanguage.g:185:2: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) )
439 // InternalCftLanguage.g:186:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? )
440 {
441 // InternalCftLanguage.g:186:2: (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= ';' )?
443 {
444 otherlv_0=(Token)match(input,15,FOLLOW_3);
445
446 newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0());
447
448 // InternalCftLanguage.g:191:3: ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) )
449 // InternalCftLanguage.g:192:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard )
450 {
451 // InternalCftLanguage.g:192:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard )
452 // InternalCftLanguage.g:193:5: lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard
453 {
454
455 newCompositeNode(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
456
457 pushFollow(FOLLOW_7);
458 lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard();
459
460 state._fsp--;
461
462
463 if (current==null) {
464 current = createModelElementForParent(grammarAccess.getImportDeclarationRule());
465 }
466 set(
467 current,
468 "importedNamespace",
469 lv_importedNamespace_1_0,
470 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard");
471 afterParserOrEnumRuleCall();
472
473
474 }
475
476
477 }
478
479 // InternalCftLanguage.g:210:3: (otherlv_2= ';' )?
480 int alt4=2;
481 int LA4_0 = input.LA(1);
482
483 if ( (LA4_0==14) ) {
484 alt4=1;
485 }
486 switch (alt4) {
487 case 1 :
488 // InternalCftLanguage.g:211:4: otherlv_2= ';'
489 {
490 otherlv_2=(Token)match(input,14,FOLLOW_2);
491
492 newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2());
493
494
495 }
496 break;
497
498 }
499
500
501 }
502
503
504 }
505
506
507 leaveRule();
508
509 }
510
511 catch (RecognitionException re) {
512 recover(input,re);
513 appendSkippedTokens();
514 }
515 finally {
516 }
517 return current;
518 }
519 // $ANTLR end "ruleImportDeclaration"
520
521
522 // $ANTLR start "entryRuleComponentDefinition"
523 // InternalCftLanguage.g:220:1: entryRuleComponentDefinition returns [EObject current=null] : iv_ruleComponentDefinition= ruleComponentDefinition EOF ;
524 public final EObject entryRuleComponentDefinition() throws RecognitionException {
525 EObject current = null;
526
527 EObject iv_ruleComponentDefinition = null;
528
529
530 try {
531 // InternalCftLanguage.g:220:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF )
532 // InternalCftLanguage.g:221:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF
533 {
534 newCompositeNode(grammarAccess.getComponentDefinitionRule());
535 pushFollow(FOLLOW_1);
536 iv_ruleComponentDefinition=ruleComponentDefinition();
537
538 state._fsp--;
539
540 current =iv_ruleComponentDefinition;
541 match(input,EOF,FOLLOW_2);
542
543 }
544
545 }
546
547 catch (RecognitionException re) {
548 recover(input,re);
549 appendSkippedTokens();
550 }
551 finally {
552 }
553 return current;
554 }
555 // $ANTLR end "entryRuleComponentDefinition"
556
557
558 // $ANTLR start "ruleComponentDefinition"
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= '}' ) ;
560 public final EObject ruleComponentDefinition() throws RecognitionException {
561 EObject current = null;
562
563 Token otherlv_0=null;
564 Token otherlv_2=null;
565 Token otherlv_4=null;
566 Token otherlv_6=null;
567 Token otherlv_7=null;
568 Token otherlv_9=null;
569 Token otherlv_11=null;
570 Token otherlv_12=null;
571 AntlrDatatypeRuleToken lv_name_1_0 = null;
572
573 EObject lv_inputEvents_5_0 = null;
574
575 EObject lv_eventDefinitions_10_0 = null;
576
577
578
579 enterRule();
580
581 try {
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= '}' ) )
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= '}' )
584 {
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= '}' )
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= '}'
587 {
588 otherlv_0=(Token)match(input,16,FOLLOW_3);
589
590 newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0());
591
592 // InternalCftLanguage.g:239:3: ( (lv_name_1_0= ruleValidId ) )
593 // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId )
594 {
595 // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId )
596 // InternalCftLanguage.g:241:5: lv_name_1_0= ruleValidId
597 {
598
599 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0());
600
601 pushFollow(FOLLOW_8);
602 lv_name_1_0=ruleValidId();
603
604 state._fsp--;
605
606
607 if (current==null) {
608 current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
609 }
610 set(
611 current,
612 "name",
613 lv_name_1_0,
614 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
615 afterParserOrEnumRuleCall();
616
617
618 }
619
620
621 }
622
623 otherlv_2=(Token)match(input,17,FOLLOW_9);
624
625 newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
626
627 // InternalCftLanguage.g:262:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) )
628 // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) )
629 {
630 // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) )
631 // InternalCftLanguage.g:264:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* )
632 {
633
634 getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
635
636 // InternalCftLanguage.g:267:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* )
637 // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )*
638 {
639 // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )*
640 loop7:
641 do {
642 int alt7=3;
643 int LA7_0 = input.LA(1);
644
645 if ( LA7_0 == 18 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
646 alt7=1;
647 }
648 else if ( LA7_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
649 alt7=2;
650 }
651
652
653 switch (alt7) {
654 case 1 :
655 // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) )
656 {
657 // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (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= ';' ) ) )
659 {
660 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) {
661 throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)");
662 }
663 // InternalCftLanguage.g:270:116: ( ({...}? => (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= ';' ) )
665 {
666
667 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0);
668
669 // InternalCftLanguage.g:274:9: ({...}? => (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= ';' )
671 {
672 if ( !((true)) ) {
673 throw new FailedPredicateException(input, "ruleComponentDefinition", "true");
674 }
675 // InternalCftLanguage.g:274:19: (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= ';'
677 {
678 otherlv_4=(Token)match(input,18,FOLLOW_10);
679
680 newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0());
681
682 // InternalCftLanguage.g:278:9: ( (lv_inputEvents_5_0= ruleInputEvent ) )*
683 loop5:
684 do {
685 int alt5=2;
686 int LA5_0 = input.LA(1);
687
688 if ( ((LA5_0>=RULE_OF_INT && LA5_0<=RULE_ID)) ) {
689 alt5=1;
690 }
691
692
693 switch (alt5) {
694 case 1 :
695 // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent )
696 {
697 // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent )
698 // InternalCftLanguage.g:280:11: lv_inputEvents_5_0= ruleInputEvent
699 {
700
701 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0());
702
703 pushFollow(FOLLOW_10);
704 lv_inputEvents_5_0=ruleInputEvent();
705
706 state._fsp--;
707
708
709 if (current==null) {
710 current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
711 }
712 add(
713 current,
714 "inputEvents",
715 lv_inputEvents_5_0,
716 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent");
717 afterParserOrEnumRuleCall();
718
719
720 }
721
722
723 }
724 break;
725
726 default :
727 break loop5;
728 }
729 } while (true);
730
731 otherlv_6=(Token)match(input,14,FOLLOW_9);
732
733 newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2());
734
735
736 }
737
738
739 }
740
741
742 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
743
744
745 }
746
747
748 }
749
750
751 }
752 break;
753 case 2 :
754 // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) )
755 {
756 // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) )
757 // InternalCftLanguage.g:308:5: {...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) )
758 {
759 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) {
760 throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)");
761 }
762 // InternalCftLanguage.g:308:116: ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) )
763 // InternalCftLanguage.g:309:6: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) )
764 {
765
766 getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1);
767
768 // InternalCftLanguage.g:312:9: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) )
769 // InternalCftLanguage.g:312:10: {...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' )
770 {
771 if ( !((true)) ) {
772 throw new FailedPredicateException(input, "ruleComponentDefinition", "true");
773 }
774 // InternalCftLanguage.g:312:19: (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' )
775 // InternalCftLanguage.g:312:20: otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';'
776 {
777 otherlv_7=(Token)match(input,19,FOLLOW_10);
778
779 newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0());
780
781 // InternalCftLanguage.g:316:9: ( ( ruleValidId ) )*
782 loop6:
783 do {
784 int alt6=2;
785 int LA6_0 = input.LA(1);
786
787 if ( ((LA6_0>=RULE_OF_INT && LA6_0<=RULE_ID)) ) {
788 alt6=1;
789 }
790
791
792 switch (alt6) {
793 case 1 :
794 // InternalCftLanguage.g:317:10: ( ruleValidId )
795 {
796 // InternalCftLanguage.g:317:10: ( ruleValidId )
797 // InternalCftLanguage.g:318:11: ruleValidId
798 {
799
800 if (current==null) {
801 current = createModelElement(grammarAccess.getComponentDefinitionRule());
802 }
803
804
805 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0());
806
807 pushFollow(FOLLOW_10);
808 ruleValidId();
809
810 state._fsp--;
811
812
813 afterParserOrEnumRuleCall();
814
815
816 }
817
818
819 }
820 break;
821
822 default :
823 break loop6;
824 }
825 } while (true);
826
827 otherlv_9=(Token)match(input,14,FOLLOW_9);
828
829 newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2());
830
831
832 }
833
834
835 }
836
837
838 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
839
840
841 }
842
843
844 }
845
846
847 }
848 break;
849
850 default :
851 break loop7;
852 }
853 } while (true);
854
855
856 }
857
858
859 }
860
861
862 getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3());
863
864
865 }
866
867 // InternalCftLanguage.g:349:3: ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )*
868 loop8:
869 do {
870 int alt8=2;
871 int LA8_0 = input.LA(1);
872
873 if ( ((LA8_0>=RULE_OF_INT && LA8_0<=RULE_ID)) ) {
874 alt8=1;
875 }
876
877
878 switch (alt8) {
879 case 1 :
880 // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';'
881 {
882 // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) )
883 // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition )
884 {
885 // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition )
886 // InternalCftLanguage.g:352:6: lv_eventDefinitions_10_0= ruleEventDefinition
887 {
888
889 newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0());
890
891 pushFollow(FOLLOW_11);
892 lv_eventDefinitions_10_0=ruleEventDefinition();
893
894 state._fsp--;
895
896
897 if (current==null) {
898 current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
899 }
900 add(
901 current,
902 "eventDefinitions",
903 lv_eventDefinitions_10_0,
904 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition");
905 afterParserOrEnumRuleCall();
906
907
908 }
909
910
911 }
912
913 otherlv_11=(Token)match(input,14,FOLLOW_12);
914
915 newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1());
916
917
918 }
919 break;
920
921 default :
922 break loop8;
923 }
924 } while (true);
925
926 otherlv_12=(Token)match(input,20,FOLLOW_2);
927
928 newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5());
929
930
931 }
932
933
934 }
935
936
937 leaveRule();
938
939 }
940
941 catch (RecognitionException re) {
942 recover(input,re);
943 appendSkippedTokens();
944 }
945 finally {
946 }
947 return current;
948 }
949 // $ANTLR end "ruleComponentDefinition"
950
951
952 // $ANTLR start "entryRuleInputEvent"
953 // InternalCftLanguage.g:382:1: entryRuleInputEvent returns [EObject current=null] : iv_ruleInputEvent= ruleInputEvent EOF ;
954 public final EObject entryRuleInputEvent() throws RecognitionException {
955 EObject current = null;
956
957 EObject iv_ruleInputEvent = null;
958
959
960 try {
961 // InternalCftLanguage.g:382:51: (iv_ruleInputEvent= ruleInputEvent EOF )
962 // InternalCftLanguage.g:383:2: iv_ruleInputEvent= ruleInputEvent EOF
963 {
964 newCompositeNode(grammarAccess.getInputEventRule());
965 pushFollow(FOLLOW_1);
966 iv_ruleInputEvent=ruleInputEvent();
967
968 state._fsp--;
969
970 current =iv_ruleInputEvent;
971 match(input,EOF,FOLLOW_2);
972
973 }
974
975 }
976
977 catch (RecognitionException re) {
978 recover(input,re);
979 appendSkippedTokens();
980 }
981 finally {
982 }
983 return current;
984 }
985 // $ANTLR end "entryRuleInputEvent"
986
987
988 // $ANTLR start "ruleInputEvent"
989 // InternalCftLanguage.g:389:1: ruleInputEvent returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) ;
990 public final EObject ruleInputEvent() throws RecognitionException {
991 EObject current = null;
992
993 Token lv_multiple_1_0=null;
994 AntlrDatatypeRuleToken lv_name_0_0 = null;
995
996
997
998 enterRule();
999
1000 try {
1001 // InternalCftLanguage.g:395:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) )
1002 // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? )
1003 {
1004 // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? )
1005 // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )?
1006 {
1007 // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) )
1008 // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId )
1009 {
1010 // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId )
1011 // InternalCftLanguage.g:399:5: lv_name_0_0= ruleValidId
1012 {
1013
1014 newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0());
1015
1016 pushFollow(FOLLOW_13);
1017 lv_name_0_0=ruleValidId();
1018
1019 state._fsp--;
1020
1021
1022 if (current==null) {
1023 current = createModelElementForParent(grammarAccess.getInputEventRule());
1024 }
1025 set(
1026 current,
1027 "name",
1028 lv_name_0_0,
1029 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
1030 afterParserOrEnumRuleCall();
1031
1032
1033 }
1034
1035
1036 }
1037
1038 // InternalCftLanguage.g:416:3: ( (lv_multiple_1_0= '[]' ) )?
1039 int alt9=2;
1040 int LA9_0 = input.LA(1);
1041
1042 if ( (LA9_0==21) ) {
1043 alt9=1;
1044 }
1045 switch (alt9) {
1046 case 1 :
1047 // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' )
1048 {
1049 // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' )
1050 // InternalCftLanguage.g:418:5: lv_multiple_1_0= '[]'
1051 {
1052 lv_multiple_1_0=(Token)match(input,21,FOLLOW_2);
1053
1054 newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0());
1055
1056
1057 if (current==null) {
1058 current = createModelElement(grammarAccess.getInputEventRule());
1059 }
1060 setWithLastConsumed(current, "multiple", true, "[]");
1061
1062
1063 }
1064
1065
1066 }
1067 break;
1068
1069 }
1070
1071
1072 }
1073
1074
1075 }
1076
1077
1078 leaveRule();
1079
1080 }
1081
1082 catch (RecognitionException re) {
1083 recover(input,re);
1084 appendSkippedTokens();
1085 }
1086 finally {
1087 }
1088 return current;
1089 }
1090 // $ANTLR end "ruleInputEvent"
1091
1092
1093 // $ANTLR start "entryRuleEventDefinition"
1094 // InternalCftLanguage.g:434:1: entryRuleEventDefinition returns [EObject current=null] : iv_ruleEventDefinition= ruleEventDefinition EOF ;
1095 public final EObject entryRuleEventDefinition() throws RecognitionException {
1096 EObject current = null;
1097
1098 EObject iv_ruleEventDefinition = null;
1099
1100
1101 try {
1102 // InternalCftLanguage.g:434:56: (iv_ruleEventDefinition= ruleEventDefinition EOF )
1103 // InternalCftLanguage.g:435:2: iv_ruleEventDefinition= ruleEventDefinition EOF
1104 {
1105 newCompositeNode(grammarAccess.getEventDefinitionRule());
1106 pushFollow(FOLLOW_1);
1107 iv_ruleEventDefinition=ruleEventDefinition();
1108
1109 state._fsp--;
1110
1111 current =iv_ruleEventDefinition;
1112 match(input,EOF,FOLLOW_2);
1113
1114 }
1115
1116 }
1117
1118 catch (RecognitionException re) {
1119 recover(input,re);
1120 appendSkippedTokens();
1121 }
1122 finally {
1123 }
1124 return current;
1125 }
1126 // $ANTLR end "entryRuleEventDefinition"
1127
1128
1129 // $ANTLR start "ruleEventDefinition"
1130 // InternalCftLanguage.g:441:1: ruleEventDefinition returns [EObject current=null] : (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ;
1131 public final EObject ruleEventDefinition() throws RecognitionException {
1132 EObject current = null;
1133
1134 EObject this_BasicEventDefinition_0 = null;
1135
1136 EObject this_GateDefinition_1 = null;
1137
1138
1139
1140 enterRule();
1141
1142 try {
1143 // InternalCftLanguage.g:447:2: ( (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) )
1144 // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition )
1145 {
1146 // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition )
1147 int alt10=2;
1148 int LA10_0 = input.LA(1);
1149
1150 if ( (LA10_0==RULE_ID) ) {
1151 int LA10_1 = input.LA(2);
1152
1153 if ( (LA10_1==RULE_INT||(LA10_1>=25 && LA10_1<=26)) ) {
1154 alt10=2;
1155 }
1156 else if ( (LA10_1==22||LA10_1==24) ) {
1157 alt10=1;
1158 }
1159 else {
1160 NoViableAltException nvae =
1161 new NoViableAltException("", 10, 1, input);
1162
1163 throw nvae;
1164 }
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 }
1182 else {
1183 NoViableAltException nvae =
1184 new NoViableAltException("", 10, 0, input);
1185
1186 throw nvae;
1187 }
1188 switch (alt10) {
1189 case 1 :
1190 // InternalCftLanguage.g:449:3: this_BasicEventDefinition_0= ruleBasicEventDefinition
1191 {
1192
1193 newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0());
1194
1195 pushFollow(FOLLOW_2);
1196 this_BasicEventDefinition_0=ruleBasicEventDefinition();
1197
1198 state._fsp--;
1199
1200
1201 current = this_BasicEventDefinition_0;
1202 afterParserOrEnumRuleCall();
1203
1204
1205 }
1206 break;
1207 case 2 :
1208 // InternalCftLanguage.g:458:3: this_GateDefinition_1= ruleGateDefinition
1209 {
1210
1211 newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1());
1212
1213 pushFollow(FOLLOW_2);
1214 this_GateDefinition_1=ruleGateDefinition();
1215
1216 state._fsp--;
1217
1218
1219 current = this_GateDefinition_1;
1220 afterParserOrEnumRuleCall();
1221
1222
1223 }
1224 break;
1225
1226 }
1227
1228
1229 }
1230
1231
1232 leaveRule();
1233
1234 }
1235
1236 catch (RecognitionException re) {
1237 recover(input,re);
1238 appendSkippedTokens();
1239 }
1240 finally {
1241 }
1242 return current;
1243 }
1244 // $ANTLR end "ruleEventDefinition"
1245
1246
1247 // $ANTLR start "entryRuleBasicEventDefinition"
1248 // InternalCftLanguage.g:470:1: entryRuleBasicEventDefinition returns [EObject current=null] : iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ;
1249 public final EObject entryRuleBasicEventDefinition() throws RecognitionException {
1250 EObject current = null;
1251
1252 EObject iv_ruleBasicEventDefinition = null;
1253
1254
1255 try {
1256 // InternalCftLanguage.g:470:61: (iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF )
1257 // InternalCftLanguage.g:471:2: iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF
1258 {
1259 newCompositeNode(grammarAccess.getBasicEventDefinitionRule());
1260 pushFollow(FOLLOW_1);
1261 iv_ruleBasicEventDefinition=ruleBasicEventDefinition();
1262
1263 state._fsp--;
1264
1265 current =iv_ruleBasicEventDefinition;
1266 match(input,EOF,FOLLOW_2);
1267
1268 }
1269
1270 }
1271
1272 catch (RecognitionException re) {
1273 recover(input,re);
1274 appendSkippedTokens();
1275 }
1276 finally {
1277 }
1278 return current;
1279 }
1280 // $ANTLR end "entryRuleBasicEventDefinition"
1281
1282
1283 // $ANTLR start "ruleBasicEventDefinition"
1284 // InternalCftLanguage.g:477:1: ruleBasicEventDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) ;
1285 public final EObject ruleBasicEventDefinition() throws RecognitionException {
1286 EObject current = null;
1287
1288 AntlrDatatypeRuleToken lv_name_0_0 = null;
1289
1290 EObject lv_distribution_1_0 = null;
1291
1292
1293
1294 enterRule();
1295
1296 try {
1297 // InternalCftLanguage.g:483:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) )
1298 // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) )
1299 {
1300 // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) )
1301 // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) )
1302 {
1303 // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) )
1304 // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId )
1305 {
1306 // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId )
1307 // InternalCftLanguage.g:487:5: lv_name_0_0= ruleValidId
1308 {
1309
1310 newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0());
1311
1312 pushFollow(FOLLOW_14);
1313 lv_name_0_0=ruleValidId();
1314
1315 state._fsp--;
1316
1317
1318 if (current==null) {
1319 current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule());
1320 }
1321 set(
1322 current,
1323 "name",
1324 lv_name_0_0,
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= 'prob' 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= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) )
1566 // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) )
1567 {
1568 // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) )
1569 // InternalCftLanguage.g:578:3: otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) )
1570 {
1571 otherlv_0=(Token)match(input,22,FOLLOW_15);
1572
1573 newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_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();
1603
1604
1605 }
1606
1607
1608 }
1609
1610
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());
1691
1692 otherlv_1=(Token)match(input,23,FOLLOW_16);
1693
1694 newLeafNode(otherlv_1, grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1());
1695
1696 // InternalCftLanguage.g:632:3: ( (lv_lambda_2_0= ruleDouble ) )
1697 // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble )
1698 {
1699 // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble )
1700 // InternalCftLanguage.g:634:5: lv_lambda_2_0= ruleDouble
1701 {
1702
1703 newCompositeNode(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0());
1704
1705 pushFollow(FOLLOW_2);
1706 lv_lambda_2_0=ruleDouble();
1707
1708 state._fsp--;
1709
1710
1711 if (current==null) {
1712 current = createModelElementForParent(grammarAccess.getExponentialDistributionRule());
1713 }
1714 set(
1715 current,
1716 "lambda",
1717 lv_lambda_2_0,
1718 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double");
1719 afterParserOrEnumRuleCall();
1720
1721
1722 }
1723
1724
1725 }
1726
1727
1728 }
1729
1730
1731 }
1732
1733
1734 leaveRule();
1735
1736 }
1737
1738 catch (RecognitionException re) {
1739 recover(input,re);
1740 appendSkippedTokens();
1741 }
1742 finally {
1743 }
1744 return current;
1745 }
1746 // $ANTLR end "ruleExponentialDistribution"
1747
1748
1749 // $ANTLR start "entryRuleGateDefinition"
1750 // InternalCftLanguage.g:655:1: entryRuleGateDefinition returns [EObject current=null] : iv_ruleGateDefinition= ruleGateDefinition EOF ;
1751 public final EObject entryRuleGateDefinition() throws RecognitionException {
1752 EObject current = null;
1753
1754 EObject iv_ruleGateDefinition = null;
1755
1756
1757 try {
1758 // InternalCftLanguage.g:655:55: (iv_ruleGateDefinition= ruleGateDefinition EOF )
1759 // InternalCftLanguage.g:656:2: iv_ruleGateDefinition= ruleGateDefinition EOF
1760 {
1761 newCompositeNode(grammarAccess.getGateDefinitionRule());
1762 pushFollow(FOLLOW_1);
1763 iv_ruleGateDefinition=ruleGateDefinition();
1764
1765 state._fsp--;
1766
1767 current =iv_ruleGateDefinition;
1768 match(input,EOF,FOLLOW_2);
1769
1770 }
1771
1772 }
1773
1774 catch (RecognitionException re) {
1775 recover(input,re);
1776 appendSkippedTokens();
1777 }
1778 finally {
1779 }
1780 return current;
1781 }
1782 // $ANTLR end "entryRuleGateDefinition"
1783
1784
1785 // $ANTLR start "ruleGateDefinition"
1786 // InternalCftLanguage.g:662:1: ruleGateDefinition returns [EObject current=null] : (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) ;
1787 public final EObject ruleGateDefinition() throws RecognitionException {
1788 EObject current = null;
1789
1790 EObject this_AndGateDefinition_0 = null;
1791
1792 EObject this_OrGateDefinition_1 = null;
1793
1794 EObject this_KOfMGateDefinition_2 = null;
1795
1796
1797
1798 enterRule();
1799
1800 try {
1801 // InternalCftLanguage.g:668:2: ( (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) )
1802 // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition )
1803 {
1804 // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition )
1805 int alt12=3;
1806 int LA12_0 = input.LA(1);
1807
1808 if ( (LA12_0==RULE_ID) ) {
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);
1828
1829 throw nvae;
1830 }
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:
1851 NoViableAltException nvae =
1852 new NoViableAltException("", 12, 2, input);
1853
1854 throw nvae;
1855 }
1856
1857 }
1858 else {
1859 NoViableAltException nvae =
1860 new NoViableAltException("", 12, 0, input);
1861
1862 throw nvae;
1863 }
1864 switch (alt12) {
1865 case 1 :
1866 // InternalCftLanguage.g:670:3: this_AndGateDefinition_0= ruleAndGateDefinition
1867 {
1868
1869 newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0());
1870
1871 pushFollow(FOLLOW_2);
1872 this_AndGateDefinition_0=ruleAndGateDefinition();
1873
1874 state._fsp--;
1875
1876
1877 current = this_AndGateDefinition_0;
1878 afterParserOrEnumRuleCall();
1879
1880
1881 }
1882 break;
1883 case 2 :
1884 // InternalCftLanguage.g:679:3: this_OrGateDefinition_1= ruleOrGateDefinition
1885 {
1886
1887 newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1());
1888
1889 pushFollow(FOLLOW_2);
1890 this_OrGateDefinition_1=ruleOrGateDefinition();
1891
1892 state._fsp--;
1893
1894
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;
1914 afterParserOrEnumRuleCall();
1915
1916
1917 }
1918 break;
1919
1920 }
1921
1922
1923 }
1924
1925
1926 leaveRule();
1927
1928 }
1929
1930 catch (RecognitionException re) {
1931 recover(input,re);
1932 appendSkippedTokens();
1933 }
1934 finally {
1935 }
1936 return current;
1937 }
1938 // $ANTLR end "ruleGateDefinition"
1939
1940
1941 // $ANTLR start "entryRuleAndGateDefinition"
1942 // InternalCftLanguage.g:700:1: entryRuleAndGateDefinition returns [EObject current=null] : iv_ruleAndGateDefinition= ruleAndGateDefinition EOF ;
1943 public final EObject entryRuleAndGateDefinition() throws RecognitionException {
1944 EObject current = null;
1945
1946 EObject iv_ruleAndGateDefinition = null;
1947
1948
1949 try {
1950 // InternalCftLanguage.g:700:58: (iv_ruleAndGateDefinition= ruleAndGateDefinition EOF )
1951 // InternalCftLanguage.g:701:2: iv_ruleAndGateDefinition= ruleAndGateDefinition EOF
1952 {
1953 newCompositeNode(grammarAccess.getAndGateDefinitionRule());
1954 pushFollow(FOLLOW_1);
1955 iv_ruleAndGateDefinition=ruleAndGateDefinition();
1956
1957 state._fsp--;
1958
1959 current =iv_ruleAndGateDefinition;
1960 match(input,EOF,FOLLOW_2);
1961
1962 }
1963
1964 }
1965
1966 catch (RecognitionException re) {
1967 recover(input,re);
1968 appendSkippedTokens();
1969 }
1970 finally {
1971 }
1972 return current;
1973 }
1974 // $ANTLR end "entryRuleAndGateDefinition"
1975
1976
1977 // $ANTLR start "ruleAndGateDefinition"
1978 // InternalCftLanguage.g:707:1: ruleAndGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) ;
1979 public final EObject ruleAndGateDefinition() throws RecognitionException {
1980 EObject current = null;
1981
1982 Token otherlv_1=null;
1983 AntlrDatatypeRuleToken lv_name_0_0 = null;
1984
1985
1986
1987 enterRule();
1988
1989 try {
1990 // InternalCftLanguage.g:713:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) )
1991 // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* )
1992 {
1993 // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* )
1994 // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )*
1995 {
1996 // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) )
1997 // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId )
1998 {
1999 // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId )
2000 // InternalCftLanguage.g:717:5: lv_name_0_0= ruleValidId
2001 {
2002
2003 newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
2004
2005 pushFollow(FOLLOW_17);
2006 lv_name_0_0=ruleValidId();
2007
2008 state._fsp--;
2009
2010
2011 if (current==null) {
2012 current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule());
2013 }
2014 set(
2015 current,
2016 "name",
2017 lv_name_0_0,
2018 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
2019 afterParserOrEnumRuleCall();
2020
2021
2022 }
2023
2024
2025 }
2026
2027 otherlv_1=(Token)match(input,25,FOLLOW_18);
2028
2029 newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1());
2030
2031 // InternalCftLanguage.g:738:3: ( ( ruleValidId ) )*
2032 loop13:
2033 do {
2034 int alt13=2;
2035 int LA13_0 = input.LA(1);
2036
2037 if ( ((LA13_0>=RULE_OF_INT && LA13_0<=RULE_ID)) ) {
2038 alt13=1;
2039 }
2040
2041
2042 switch (alt13) {
2043 case 1 :
2044 // InternalCftLanguage.g:739:4: ( ruleValidId )
2045 {
2046 // InternalCftLanguage.g:739:4: ( ruleValidId )
2047 // InternalCftLanguage.g:740:5: ruleValidId
2048 {
2049
2050 if (current==null) {
2051 current = createModelElement(grammarAccess.getAndGateDefinitionRule());
2052 }
2053
2054
2055 newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
2056
2057 pushFollow(FOLLOW_18);
2058 ruleValidId();
2059
2060 state._fsp--;
2061
2062
2063 afterParserOrEnumRuleCall();
2064
2065
2066 }
2067
2068
2069 }
2070 break;
2071
2072 default :
2073 break loop13;
2074 }
2075 } while (true);
2076
2077
2078 }
2079
2080
2081 }
2082
2083
2084 leaveRule();
2085
2086 }
2087
2088 catch (RecognitionException re) {
2089 recover(input,re);
2090 appendSkippedTokens();
2091 }
2092 finally {
2093 }
2094 return current;
2095 }
2096 // $ANTLR end "ruleAndGateDefinition"
2097
2098
2099 // $ANTLR start "entryRuleOrGateDefinition"
2100 // InternalCftLanguage.g:758:1: entryRuleOrGateDefinition returns [EObject current=null] : iv_ruleOrGateDefinition= ruleOrGateDefinition EOF ;
2101 public final EObject entryRuleOrGateDefinition() throws RecognitionException {
2102 EObject current = null;
2103
2104 EObject iv_ruleOrGateDefinition = null;
2105
2106
2107 try {
2108 // InternalCftLanguage.g:758:57: (iv_ruleOrGateDefinition= ruleOrGateDefinition EOF )
2109 // InternalCftLanguage.g:759:2: iv_ruleOrGateDefinition= ruleOrGateDefinition EOF
2110 {
2111 newCompositeNode(grammarAccess.getOrGateDefinitionRule());
2112 pushFollow(FOLLOW_1);
2113 iv_ruleOrGateDefinition=ruleOrGateDefinition();
2114
2115 state._fsp--;
2116
2117 current =iv_ruleOrGateDefinition;
2118 match(input,EOF,FOLLOW_2);
2119
2120 }
2121
2122 }
2123
2124 catch (RecognitionException re) {
2125 recover(input,re);
2126 appendSkippedTokens();
2127 }
2128 finally {
2129 }
2130 return current;
2131 }
2132 // $ANTLR end "entryRuleOrGateDefinition"
2133
2134
2135 // $ANTLR start "ruleOrGateDefinition"
2136 // InternalCftLanguage.g:765:1: ruleOrGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) ;
2137 public final EObject ruleOrGateDefinition() throws RecognitionException {
2138 EObject current = null;
2139
2140 Token otherlv_1=null;
2141 AntlrDatatypeRuleToken lv_name_0_0 = null;
2142
2143
2144
2145 enterRule();
2146
2147 try {
2148 // InternalCftLanguage.g:771:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) )
2149 // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* )
2150 {
2151 // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* )
2152 // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )*
2153 {
2154 // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) )
2155 // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId )
2156 {
2157 // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId )
2158 // InternalCftLanguage.g:775:5: lv_name_0_0= ruleValidId
2159 {
2160
2161 newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0());
2162
2163 pushFollow(FOLLOW_19);
2164 lv_name_0_0=ruleValidId();
2165
2166 state._fsp--;
2167
2168
2169 if (current==null) {
2170 current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule());
2171 }
2172 set(
2173 current,
2174 "name",
2175 lv_name_0_0,
2176 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
2177 afterParserOrEnumRuleCall();
2178
2179
2180 }
2181
2182
2183 }
2184
2185 otherlv_1=(Token)match(input,26,FOLLOW_18);
2186
2187 newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1());
2188
2189 // InternalCftLanguage.g:796:3: ( ( ruleValidId ) )*
2190 loop14:
2191 do {
2192 int alt14=2;
2193 int LA14_0 = input.LA(1);
2194
2195 if ( ((LA14_0>=RULE_OF_INT && LA14_0<=RULE_ID)) ) {
2196 alt14=1;
2197 }
2198
2199
2200 switch (alt14) {
2201 case 1 :
2202 // InternalCftLanguage.g:797:4: ( ruleValidId )
2203 {
2204 // InternalCftLanguage.g:797:4: ( ruleValidId )
2205 // InternalCftLanguage.g:798:5: ruleValidId
2206 {
2207
2208 if (current==null) {
2209 current = createModelElement(grammarAccess.getOrGateDefinitionRule());
2210 }
2211
2212
2213 newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0());
2214
2215 pushFollow(FOLLOW_18);
2216 ruleValidId();
2217
2218 state._fsp--;
2219
2220
2221 afterParserOrEnumRuleCall();
2222
2223
2224 }
2225
2226
2227 }
2228 break;
2229
2230 default :
2231 break loop14;
2232 }
2233 } while (true);
2234
2235
2236 }
2237
2238
2239 }
2240
2241
2242 leaveRule();
2243
2244 }
2245
2246 catch (RecognitionException re) {
2247 recover(input,re);
2248 appendSkippedTokens();
2249 }
2250 finally {
2251 }
2252 return current;
2253 }
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"
2532
2533
2534 // $ANTLR start "entryRuleTransformationDefinition"
2535 // InternalCftLanguage.g:933:1: entryRuleTransformationDefinition returns [EObject current=null] : iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ;
2536 public final EObject entryRuleTransformationDefinition() throws RecognitionException {
2537 EObject current = null;
2538
2539 EObject iv_ruleTransformationDefinition = null;
2540
2541
2542 try {
2543 // InternalCftLanguage.g:933:65: (iv_ruleTransformationDefinition= ruleTransformationDefinition EOF )
2544 // InternalCftLanguage.g:934:2: iv_ruleTransformationDefinition= ruleTransformationDefinition EOF
2545 {
2546 newCompositeNode(grammarAccess.getTransformationDefinitionRule());
2547 pushFollow(FOLLOW_1);
2548 iv_ruleTransformationDefinition=ruleTransformationDefinition();
2549
2550 state._fsp--;
2551
2552 current =iv_ruleTransformationDefinition;
2553 match(input,EOF,FOLLOW_2);
2554
2555 }
2556
2557 }
2558
2559 catch (RecognitionException re) {
2560 recover(input,re);
2561 appendSkippedTokens();
2562 }
2563 finally {
2564 }
2565 return current;
2566 }
2567 // $ANTLR end "entryRuleTransformationDefinition"
2568
2569
2570 // $ANTLR start "ruleTransformationDefinition"
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= '}' ) ;
2572 public final EObject ruleTransformationDefinition() throws RecognitionException {
2573 EObject current = null;
2574
2575 Token otherlv_0=null;
2576 Token otherlv_2=null;
2577 Token otherlv_4=null;
2578 AntlrDatatypeRuleToken lv_name_1_0 = null;
2579
2580 EObject lv_mappingDefinitions_3_0 = null;
2581
2582
2583
2584 enterRule();
2585
2586 try {
2587 // InternalCftLanguage.g:946:2: ( (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) 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= '}' )
2589 {
2590 // InternalCftLanguage.g:947:2: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) 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= '}'
2592 {
2593 otherlv_0=(Token)match(input,28,FOLLOW_3);
2594
2595 newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0());
2596
2597 // InternalCftLanguage.g:952:3: ( (lv_name_1_0= ruleValidId ) )
2598 // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId )
2599 {
2600 // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId )
2601 // InternalCftLanguage.g:954:5: lv_name_1_0= ruleValidId
2602 {
2603
2604 newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0());
2605
2606 pushFollow(FOLLOW_8);
2607 lv_name_1_0=ruleValidId();
2608
2609 state._fsp--;
2610
2611
2612 if (current==null) {
2613 current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule());
2614 }
2615 set(
2616 current,
2617 "name",
2618 lv_name_1_0,
2619 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
2620 afterParserOrEnumRuleCall();
2621
2622
2623 }
2624
2625
2626 }
2627
2628 otherlv_2=(Token)match(input,17,FOLLOW_22);
2629
2630 newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2());
2631
2632 // InternalCftLanguage.g:975:3: ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )*
2633 loop17:
2634 do {
2635 int alt17=2;
2636 int LA17_0 = input.LA(1);
2637
2638 if ( ((LA17_0>=29 && LA17_0<=30)) ) {
2639 alt17=1;
2640 }
2641
2642
2643 switch (alt17) {
2644 case 1 :
2645 // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition )
2646 {
2647 // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition )
2648 // InternalCftLanguage.g:977:5: lv_mappingDefinitions_3_0= ruleMappingDefinition
2649 {
2650
2651 newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0());
2652
2653 pushFollow(FOLLOW_22);
2654 lv_mappingDefinitions_3_0=ruleMappingDefinition();
2655
2656 state._fsp--;
2657
2658
2659 if (current==null) {
2660 current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule());
2661 }
2662 add(
2663 current,
2664 "mappingDefinitions",
2665 lv_mappingDefinitions_3_0,
2666 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition");
2667 afterParserOrEnumRuleCall();
2668
2669
2670 }
2671
2672
2673 }
2674 break;
2675
2676 default :
2677 break loop17;
2678 }
2679 } while (true);
2680
2681 otherlv_4=(Token)match(input,20,FOLLOW_2);
2682
2683 newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4());
2684
2685
2686 }
2687
2688
2689 }
2690
2691
2692 leaveRule();
2693
2694 }
2695
2696 catch (RecognitionException re) {
2697 recover(input,re);
2698 appendSkippedTokens();
2699 }
2700 finally {
2701 }
2702 return current;
2703 }
2704 // $ANTLR end "ruleTransformationDefinition"
2705
2706
2707 // $ANTLR start "entryRuleMappingDefinition"
2708 // InternalCftLanguage.g:1002:1: entryRuleMappingDefinition returns [EObject current=null] : iv_ruleMappingDefinition= ruleMappingDefinition EOF ;
2709 public final EObject entryRuleMappingDefinition() throws RecognitionException {
2710 EObject current = null;
2711
2712 EObject iv_ruleMappingDefinition = null;
2713
2714
2715 try {
2716 // InternalCftLanguage.g:1002:58: (iv_ruleMappingDefinition= ruleMappingDefinition EOF )
2717 // InternalCftLanguage.g:1003:2: iv_ruleMappingDefinition= ruleMappingDefinition EOF
2718 {
2719 newCompositeNode(grammarAccess.getMappingDefinitionRule());
2720 pushFollow(FOLLOW_1);
2721 iv_ruleMappingDefinition=ruleMappingDefinition();
2722
2723 state._fsp--;
2724
2725 current =iv_ruleMappingDefinition;
2726 match(input,EOF,FOLLOW_2);
2727
2728 }
2729
2730 }
2731
2732 catch (RecognitionException re) {
2733 recover(input,re);
2734 appendSkippedTokens();
2735 }
2736 finally {
2737 }
2738 return current;
2739 }
2740 // $ANTLR end "entryRuleMappingDefinition"
2741
2742
2743 // $ANTLR start "ruleMappingDefinition"
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= '}' )? ) ;
2745 public final EObject ruleMappingDefinition() throws RecognitionException {
2746 EObject current = null;
2747
2748 Token lv_topLevel_0_0=null;
2749 Token otherlv_1=null;
2750 Token otherlv_3=null;
2751 Token otherlv_5=null;
2752 Token otherlv_7=null;
2753 Token otherlv_9=null;
2754 Token otherlv_12=null;
2755 Token otherlv_13=null;
2756 EObject lv_parameters_4_0 = null;
2757
2758 EObject lv_parameters_6_0 = null;
2759
2760 EObject lv_componentInstance_8_0 = null;
2761
2762 EObject lv_lookupDefinitions_10_0 = null;
2763
2764 EObject lv_assignments_11_0 = null;
2765
2766
2767
2768 enterRule();
2769
2770 try {
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= '}' )? ) )
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= '}' )? )
2773 {
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= '}' )? )
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= '}' )?
2776 {
2777 // InternalCftLanguage.g:1017:3: ( (lv_topLevel_0_0= 'toplevel' ) )?
2778 int alt18=2;
2779 int LA18_0 = input.LA(1);
2780
2781 if ( (LA18_0==29) ) {
2782 alt18=1;
2783 }
2784 switch (alt18) {
2785 case 1 :
2786 // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' )
2787 {
2788 // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' )
2789 // InternalCftLanguage.g:1019:5: lv_topLevel_0_0= 'toplevel'
2790 {
2791 lv_topLevel_0_0=(Token)match(input,29,FOLLOW_23);
2792
2793 newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0());
2794
2795
2796 if (current==null) {
2797 current = createModelElement(grammarAccess.getMappingDefinitionRule());
2798 }
2799 setWithLastConsumed(current, "topLevel", true, "toplevel");
2800
2801
2802 }
2803
2804
2805 }
2806 break;
2807
2808 }
2809
2810 otherlv_1=(Token)match(input,30,FOLLOW_3);
2811
2812 newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1());
2813
2814 // InternalCftLanguage.g:1035:3: ( ( ruleQualifiedName ) )
2815 // InternalCftLanguage.g:1036:4: ( ruleQualifiedName )
2816 {
2817 // InternalCftLanguage.g:1036:4: ( ruleQualifiedName )
2818 // InternalCftLanguage.g:1037:5: ruleQualifiedName
2819 {
2820
2821 if (current==null) {
2822 current = createModelElement(grammarAccess.getMappingDefinitionRule());
2823 }
2824
2825
2826 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0());
2827
2828 pushFollow(FOLLOW_24);
2829 ruleQualifiedName();
2830
2831 state._fsp--;
2832
2833
2834 afterParserOrEnumRuleCall();
2835
2836
2837 }
2838
2839
2840 }
2841
2842 otherlv_3=(Token)match(input,31,FOLLOW_3);
2843
2844 newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3());
2845
2846 // InternalCftLanguage.g:1055:3: ( (lv_parameters_4_0= ruleMappingParameter ) )
2847 // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter )
2848 {
2849 // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter )
2850 // InternalCftLanguage.g:1057:5: lv_parameters_4_0= ruleMappingParameter
2851 {
2852
2853 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0());
2854
2855 pushFollow(FOLLOW_25);
2856 lv_parameters_4_0=ruleMappingParameter();
2857
2858 state._fsp--;
2859
2860
2861 if (current==null) {
2862 current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
2863 }
2864 add(
2865 current,
2866 "parameters",
2867 lv_parameters_4_0,
2868 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter");
2869 afterParserOrEnumRuleCall();
2870
2871
2872 }
2873
2874
2875 }
2876
2877 // InternalCftLanguage.g:1074:3: (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )*
2878 loop19:
2879 do {
2880 int alt19=2;
2881 int LA19_0 = input.LA(1);
2882
2883 if ( (LA19_0==32) ) {
2884 alt19=1;
2885 }
2886
2887
2888 switch (alt19) {
2889 case 1 :
2890 // InternalCftLanguage.g:1075:4: otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) )
2891 {
2892 otherlv_5=(Token)match(input,32,FOLLOW_3);
2893
2894 newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0());
2895
2896 // InternalCftLanguage.g:1079:4: ( (lv_parameters_6_0= ruleMappingParameter ) )
2897 // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter )
2898 {
2899 // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter )
2900 // InternalCftLanguage.g:1081:6: lv_parameters_6_0= ruleMappingParameter
2901 {
2902
2903 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0());
2904
2905 pushFollow(FOLLOW_25);
2906 lv_parameters_6_0=ruleMappingParameter();
2907
2908 state._fsp--;
2909
2910
2911 if (current==null) {
2912 current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
2913 }
2914 add(
2915 current,
2916 "parameters",
2917 lv_parameters_6_0,
2918 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter");
2919 afterParserOrEnumRuleCall();
2920
2921
2922 }
2923
2924
2925 }
2926
2927
2928 }
2929 break;
2930
2931 default :
2932 break loop19;
2933 }
2934 } while (true);
2935
2936 otherlv_7=(Token)match(input,33,FOLLOW_26);
2937
2938 newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6());
2939
2940 // InternalCftLanguage.g:1103:3: ( (lv_componentInstance_8_0= ruleComponentInstance ) )?
2941 int alt20=2;
2942 int LA20_0 = input.LA(1);
2943
2944 if ( (LA20_0==39) ) {
2945 alt20=1;
2946 }
2947 switch (alt20) {
2948 case 1 :
2949 // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance )
2950 {
2951 // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance )
2952 // InternalCftLanguage.g:1105:5: lv_componentInstance_8_0= ruleComponentInstance
2953 {
2954
2955 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0());
2956
2957 pushFollow(FOLLOW_27);
2958 lv_componentInstance_8_0=ruleComponentInstance();
2959
2960 state._fsp--;
2961
2962
2963 if (current==null) {
2964 current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
2965 }
2966 set(
2967 current,
2968 "componentInstance",
2969 lv_componentInstance_8_0,
2970 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance");
2971 afterParserOrEnumRuleCall();
2972
2973
2974 }
2975
2976
2977 }
2978 break;
2979
2980 }
2981
2982 // InternalCftLanguage.g:1122:3: (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )?
2983 int alt23=2;
2984 int LA23_0 = input.LA(1);
2985
2986 if ( (LA23_0==17) ) {
2987 alt23=1;
2988 }
2989 switch (alt23) {
2990 case 1 :
2991 // InternalCftLanguage.g:1123:4: otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}'
2992 {
2993 otherlv_9=(Token)match(input,17,FOLLOW_28);
2994
2995 newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0());
2996
2997 // InternalCftLanguage.g:1127:4: ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )*
2998 loop22:
2999 do {
3000 int alt22=2;
3001 int LA22_0 = input.LA(1);
3002
3003 if ( ((LA22_0>=RULE_OF_INT && LA22_0<=RULE_ID)||LA22_0==34) ) {
3004 alt22=1;
3005 }
3006
3007
3008 switch (alt22) {
3009 case 1 :
3010 // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';'
3011 {
3012 // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) )
3013 int alt21=2;
3014 int LA21_0 = input.LA(1);
3015
3016 if ( (LA21_0==34) ) {
3017 alt21=1;
3018 }
3019 else if ( ((LA21_0>=RULE_OF_INT && LA21_0<=RULE_ID)) ) {
3020 alt21=2;
3021 }
3022 else {
3023 NoViableAltException nvae =
3024 new NoViableAltException("", 21, 0, input);
3025
3026 throw nvae;
3027 }
3028 switch (alt21) {
3029 case 1 :
3030 // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) )
3031 {
3032 // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) )
3033 // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition )
3034 {
3035 // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition )
3036 // InternalCftLanguage.g:1131:8: lv_lookupDefinitions_10_0= ruleLookupDefinition
3037 {
3038
3039 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0());
3040
3041 pushFollow(FOLLOW_11);
3042 lv_lookupDefinitions_10_0=ruleLookupDefinition();
3043
3044 state._fsp--;
3045
3046
3047 if (current==null) {
3048 current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
3049 }
3050 add(
3051 current,
3052 "lookupDefinitions",
3053 lv_lookupDefinitions_10_0,
3054 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition");
3055 afterParserOrEnumRuleCall();
3056
3057
3058 }
3059
3060
3061 }
3062
3063
3064 }
3065 break;
3066 case 2 :
3067 // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) )
3068 {
3069 // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) )
3070 // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment )
3071 {
3072 // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment )
3073 // InternalCftLanguage.g:1151:8: lv_assignments_11_0= ruleAssignment
3074 {
3075
3076 newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0());
3077
3078 pushFollow(FOLLOW_11);
3079 lv_assignments_11_0=ruleAssignment();
3080
3081 state._fsp--;
3082
3083
3084 if (current==null) {
3085 current = createModelElementForParent(grammarAccess.getMappingDefinitionRule());
3086 }
3087 add(
3088 current,
3089 "assignments",
3090 lv_assignments_11_0,
3091 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment");
3092 afterParserOrEnumRuleCall();
3093
3094
3095 }
3096
3097
3098 }
3099
3100
3101 }
3102 break;
3103
3104 }
3105
3106 otherlv_12=(Token)match(input,14,FOLLOW_28);
3107
3108 newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1());
3109
3110
3111 }
3112 break;
3113
3114 default :
3115 break loop22;
3116 }
3117 } while (true);
3118
3119 otherlv_13=(Token)match(input,20,FOLLOW_2);
3120
3121 newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2());
3122
3123
3124 }
3125 break;
3126
3127 }
3128
3129
3130 }
3131
3132
3133 }
3134
3135
3136 leaveRule();
3137
3138 }
3139
3140 catch (RecognitionException re) {
3141 recover(input,re);
3142 appendSkippedTokens();
3143 }
3144 finally {
3145 }
3146 return current;
3147 }
3148 // $ANTLR end "ruleMappingDefinition"
3149
3150
3151 // $ANTLR start "entryRuleMappingParameter"
3152 // InternalCftLanguage.g:1183:1: entryRuleMappingParameter returns [EObject current=null] : iv_ruleMappingParameter= ruleMappingParameter EOF ;
3153 public final EObject entryRuleMappingParameter() throws RecognitionException {
3154 EObject current = null;
3155
3156 EObject iv_ruleMappingParameter = null;
3157
3158
3159 try {
3160 // InternalCftLanguage.g:1183:57: (iv_ruleMappingParameter= ruleMappingParameter EOF )
3161 // InternalCftLanguage.g:1184:2: iv_ruleMappingParameter= ruleMappingParameter EOF
3162 {
3163 newCompositeNode(grammarAccess.getMappingParameterRule());
3164 pushFollow(FOLLOW_1);
3165 iv_ruleMappingParameter=ruleMappingParameter();
3166
3167 state._fsp--;
3168
3169 current =iv_ruleMappingParameter;
3170 match(input,EOF,FOLLOW_2);
3171
3172 }
3173
3174 }
3175
3176 catch (RecognitionException re) {
3177 recover(input,re);
3178 appendSkippedTokens();
3179 }
3180 finally {
3181 }
3182 return current;
3183 }
3184 // $ANTLR end "entryRuleMappingParameter"
3185
3186
3187 // $ANTLR start "ruleMappingParameter"
3188 // InternalCftLanguage.g:1190:1: ruleMappingParameter returns [EObject current=null] : ( (lv_name_0_0= ruleValidId ) ) ;
3189 public final EObject ruleMappingParameter() throws RecognitionException {
3190 EObject current = null;
3191
3192 AntlrDatatypeRuleToken lv_name_0_0 = null;
3193
3194
3195
3196 enterRule();
3197
3198 try {
3199 // InternalCftLanguage.g:1196:2: ( ( (lv_name_0_0= ruleValidId ) ) )
3200 // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) )
3201 {
3202 // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) )
3203 // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId )
3204 {
3205 // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId )
3206 // InternalCftLanguage.g:1199:4: lv_name_0_0= ruleValidId
3207 {
3208
3209 newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0());
3210
3211 pushFollow(FOLLOW_2);
3212 lv_name_0_0=ruleValidId();
3213
3214 state._fsp--;
3215
3216
3217 if (current==null) {
3218 current = createModelElementForParent(grammarAccess.getMappingParameterRule());
3219 }
3220 set(
3221 current,
3222 "name",
3223 lv_name_0_0,
3224 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
3225 afterParserOrEnumRuleCall();
3226
3227
3228 }
3229
3230
3231 }
3232
3233
3234 }
3235
3236
3237 leaveRule();
3238
3239 }
3240
3241 catch (RecognitionException re) {
3242 recover(input,re);
3243 appendSkippedTokens();
3244 }
3245 finally {
3246 }
3247 return current;
3248 }
3249 // $ANTLR end "ruleMappingParameter"
3250
3251
3252 // $ANTLR start "entryRuleLookupDefinition"
3253 // InternalCftLanguage.g:1219:1: entryRuleLookupDefinition returns [EObject current=null] : iv_ruleLookupDefinition= ruleLookupDefinition EOF ;
3254 public final EObject entryRuleLookupDefinition() throws RecognitionException {
3255 EObject current = null;
3256
3257 EObject iv_ruleLookupDefinition = null;
3258
3259
3260 try {
3261 // InternalCftLanguage.g:1219:57: (iv_ruleLookupDefinition= ruleLookupDefinition EOF )
3262 // InternalCftLanguage.g:1220:2: iv_ruleLookupDefinition= ruleLookupDefinition EOF
3263 {
3264 newCompositeNode(grammarAccess.getLookupDefinitionRule());
3265 pushFollow(FOLLOW_1);
3266 iv_ruleLookupDefinition=ruleLookupDefinition();
3267
3268 state._fsp--;
3269
3270 current =iv_ruleLookupDefinition;
3271 match(input,EOF,FOLLOW_2);
3272
3273 }
3274
3275 }
3276
3277 catch (RecognitionException re) {
3278 recover(input,re);
3279 appendSkippedTokens();
3280 }
3281 finally {
3282 }
3283 return current;
3284 }
3285 // $ANTLR end "entryRuleLookupDefinition"
3286
3287
3288 // $ANTLR start "ruleLookupDefinition"
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 ) ) ) ;
3290 public final EObject ruleLookupDefinition() throws RecognitionException {
3291 EObject current = null;
3292
3293 Token otherlv_0=null;
3294 Token otherlv_2=null;
3295 Token otherlv_4=null;
3296 Token otherlv_6=null;
3297 Token otherlv_7=null;
3298 AntlrDatatypeRuleToken lv_name_8_0 = null;
3299
3300
3301
3302 enterRule();
3303
3304 try {
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 ) ) ) )
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 ) ) )
3307 {
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 ) ) )
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 ) )
3310 {
3311 otherlv_0=(Token)match(input,34,FOLLOW_3);
3312
3313 newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0());
3314
3315 // InternalCftLanguage.g:1238:3: ( ( ruleQualifiedName ) )
3316 // InternalCftLanguage.g:1239:4: ( ruleQualifiedName )
3317 {
3318 // InternalCftLanguage.g:1239:4: ( ruleQualifiedName )
3319 // InternalCftLanguage.g:1240:5: ruleQualifiedName
3320 {
3321
3322 if (current==null) {
3323 current = createModelElement(grammarAccess.getLookupDefinitionRule());
3324 }
3325
3326
3327 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0());
3328
3329 pushFollow(FOLLOW_24);
3330 ruleQualifiedName();
3331
3332 state._fsp--;
3333
3334
3335 afterParserOrEnumRuleCall();
3336
3337
3338 }
3339
3340
3341 }
3342
3343 otherlv_2=(Token)match(input,31,FOLLOW_3);
3344
3345 newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2());
3346
3347 // InternalCftLanguage.g:1258:3: ( ( ruleValidId ) )
3348 // InternalCftLanguage.g:1259:4: ( ruleValidId )
3349 {
3350 // InternalCftLanguage.g:1259:4: ( ruleValidId )
3351 // InternalCftLanguage.g:1260:5: ruleValidId
3352 {
3353
3354 if (current==null) {
3355 current = createModelElement(grammarAccess.getLookupDefinitionRule());
3356 }
3357
3358
3359 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0());
3360
3361 pushFollow(FOLLOW_25);
3362 ruleValidId();
3363
3364 state._fsp--;
3365
3366
3367 afterParserOrEnumRuleCall();
3368
3369
3370 }
3371
3372
3373 }
3374
3375 // InternalCftLanguage.g:1274:3: (otherlv_4= ',' ( ( ruleValidId ) ) )*
3376 loop24:
3377 do {
3378 int alt24=2;
3379 int LA24_0 = input.LA(1);
3380
3381 if ( (LA24_0==32) ) {
3382 alt24=1;
3383 }
3384
3385
3386 switch (alt24) {
3387 case 1 :
3388 // InternalCftLanguage.g:1275:4: otherlv_4= ',' ( ( ruleValidId ) )
3389 {
3390 otherlv_4=(Token)match(input,32,FOLLOW_3);
3391
3392 newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0());
3393
3394 // InternalCftLanguage.g:1279:4: ( ( ruleValidId ) )
3395 // InternalCftLanguage.g:1280:5: ( ruleValidId )
3396 {
3397 // InternalCftLanguage.g:1280:5: ( ruleValidId )
3398 // InternalCftLanguage.g:1281:6: ruleValidId
3399 {
3400
3401 if (current==null) {
3402 current = createModelElement(grammarAccess.getLookupDefinitionRule());
3403 }
3404
3405
3406 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0());
3407
3408 pushFollow(FOLLOW_25);
3409 ruleValidId();
3410
3411 state._fsp--;
3412
3413
3414 afterParserOrEnumRuleCall();
3415
3416
3417 }
3418
3419
3420 }
3421
3422
3423 }
3424 break;
3425
3426 default :
3427 break loop24;
3428 }
3429 } while (true);
3430
3431 otherlv_6=(Token)match(input,33,FOLLOW_29);
3432
3433 newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5());
3434
3435 otherlv_7=(Token)match(input,35,FOLLOW_3);
3436
3437 newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6());
3438
3439 // InternalCftLanguage.g:1304:3: ( (lv_name_8_0= ruleValidId ) )
3440 // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId )
3441 {
3442 // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId )
3443 // InternalCftLanguage.g:1306:5: lv_name_8_0= ruleValidId
3444 {
3445
3446 newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0());
3447
3448 pushFollow(FOLLOW_2);
3449 lv_name_8_0=ruleValidId();
3450
3451 state._fsp--;
3452
3453
3454 if (current==null) {
3455 current = createModelElementForParent(grammarAccess.getLookupDefinitionRule());
3456 }
3457 set(
3458 current,
3459 "name",
3460 lv_name_8_0,
3461 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
3462 afterParserOrEnumRuleCall();
3463
3464
3465 }
3466
3467
3468 }
3469
3470
3471 }
3472
3473
3474 }
3475
3476
3477 leaveRule();
3478
3479 }
3480
3481 catch (RecognitionException re) {
3482 recover(input,re);
3483 appendSkippedTokens();
3484 }
3485 finally {
3486 }
3487 return current;
3488 }
3489 // $ANTLR end "ruleLookupDefinition"
3490
3491
3492 // $ANTLR start "entryRuleAssignment"
3493 // InternalCftLanguage.g:1327:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
3494 public final EObject entryRuleAssignment() throws RecognitionException {
3495 EObject current = null;
3496
3497 EObject iv_ruleAssignment = null;
3498
3499
3500 try {
3501 // InternalCftLanguage.g:1327:51: (iv_ruleAssignment= ruleAssignment EOF )
3502 // InternalCftLanguage.g:1328:2: iv_ruleAssignment= ruleAssignment EOF
3503 {
3504 newCompositeNode(grammarAccess.getAssignmentRule());
3505 pushFollow(FOLLOW_1);
3506 iv_ruleAssignment=ruleAssignment();
3507
3508 state._fsp--;
3509
3510 current =iv_ruleAssignment;
3511 match(input,EOF,FOLLOW_2);
3512
3513 }
3514
3515 }
3516
3517 catch (RecognitionException re) {
3518 recover(input,re);
3519 appendSkippedTokens();
3520 }
3521 finally {
3522 }
3523 return current;
3524 }
3525 // $ANTLR end "entryRuleAssignment"
3526
3527
3528 // $ANTLR start "ruleAssignment"
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 ) ) ) ;
3530 public final EObject ruleAssignment() throws RecognitionException {
3531 EObject current = null;
3532
3533 Token lv_multiple_1_0=null;
3534 Token otherlv_2=null;
3535 EObject lv_input_0_0 = null;
3536
3537 EObject lv_output_3_0 = null;
3538
3539
3540
3541 enterRule();
3542
3543 try {
3544 // InternalCftLanguage.g:1340: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 ) ) )
3546 {
3547 // InternalCftLanguage.g:1341:2: ( ( (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 ) )
3549 {
3550 // InternalCftLanguage.g:1342:3: ( (lv_input_0_0= ruleEventReference ) )
3551 // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference )
3552 {
3553 // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference )
3554 // InternalCftLanguage.g:1344:5: lv_input_0_0= ruleEventReference
3555 {
3556
3557 newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0());
3558
3559 pushFollow(FOLLOW_30);
3560 lv_input_0_0=ruleEventReference();
3561
3562 state._fsp--;
3563
3564
3565 if (current==null) {
3566 current = createModelElementForParent(grammarAccess.getAssignmentRule());
3567 }
3568 set(
3569 current,
3570 "input",
3571 lv_input_0_0,
3572 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference");
3573 afterParserOrEnumRuleCall();
3574
3575
3576 }
3577
3578
3579 }
3580
3581 // InternalCftLanguage.g:1361:3: ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' )
3582 int alt25=2;
3583 int LA25_0 = input.LA(1);
3584
3585 if ( (LA25_0==36) ) {
3586 alt25=1;
3587 }
3588 else if ( (LA25_0==37) ) {
3589 alt25=2;
3590 }
3591 else {
3592 NoViableAltException nvae =
3593 new NoViableAltException("", 25, 0, input);
3594
3595 throw nvae;
3596 }
3597 switch (alt25) {
3598 case 1 :
3599 // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) )
3600 {
3601 // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) )
3602 // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' )
3603 {
3604 // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' )
3605 // InternalCftLanguage.g:1364:6: lv_multiple_1_0= '+='
3606 {
3607 lv_multiple_1_0=(Token)match(input,36,FOLLOW_31);
3608
3609 newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0());
3610
3611
3612 if (current==null) {
3613 current = createModelElement(grammarAccess.getAssignmentRule());
3614 }
3615 setWithLastConsumed(current, "multiple", true, "+=");
3616
3617
3618 }
3619
3620
3621 }
3622
3623
3624 }
3625 break;
3626 case 2 :
3627 // InternalCftLanguage.g:1377:4: otherlv_2= ':='
3628 {
3629 otherlv_2=(Token)match(input,37,FOLLOW_31);
3630
3631 newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1());
3632
3633
3634 }
3635 break;
3636
3637 }
3638
3639 // InternalCftLanguage.g:1382:3: ( (lv_output_3_0= ruleEventReference ) )
3640 // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference )
3641 {
3642 // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference )
3643 // InternalCftLanguage.g:1384:5: lv_output_3_0= ruleEventReference
3644 {
3645
3646 newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0());
3647
3648 pushFollow(FOLLOW_2);
3649 lv_output_3_0=ruleEventReference();
3650
3651 state._fsp--;
3652
3653
3654 if (current==null) {
3655 current = createModelElementForParent(grammarAccess.getAssignmentRule());
3656 }
3657 set(
3658 current,
3659 "output",
3660 lv_output_3_0,
3661 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference");
3662 afterParserOrEnumRuleCall();
3663
3664
3665 }
3666
3667
3668 }
3669
3670
3671 }
3672
3673
3674 }
3675
3676
3677 leaveRule();
3678
3679 }
3680
3681 catch (RecognitionException re) {
3682 recover(input,re);
3683 appendSkippedTokens();
3684 }
3685 finally {
3686 }
3687 return current;
3688 }
3689 // $ANTLR end "ruleAssignment"
3690
3691
3692 // $ANTLR start "entryRuleEventReference"
3693 // InternalCftLanguage.g:1405:1: entryRuleEventReference returns [EObject current=null] : iv_ruleEventReference= ruleEventReference EOF ;
3694 public final EObject entryRuleEventReference() throws RecognitionException {
3695 EObject current = null;
3696
3697 EObject iv_ruleEventReference = null;
3698
3699
3700 try {
3701 // InternalCftLanguage.g:1405:55: (iv_ruleEventReference= ruleEventReference EOF )
3702 // InternalCftLanguage.g:1406:2: iv_ruleEventReference= ruleEventReference EOF
3703 {
3704 newCompositeNode(grammarAccess.getEventReferenceRule());
3705 pushFollow(FOLLOW_1);
3706 iv_ruleEventReference=ruleEventReference();
3707
3708 state._fsp--;
3709
3710 current =iv_ruleEventReference;
3711 match(input,EOF,FOLLOW_2);
3712
3713 }
3714
3715 }
3716
3717 catch (RecognitionException re) {
3718 recover(input,re);
3719 appendSkippedTokens();
3720 }
3721 finally {
3722 }
3723 return current;
3724 }
3725 // $ANTLR end "entryRuleEventReference"
3726
3727
3728 // $ANTLR start "ruleEventReference"
3729 // InternalCftLanguage.g:1412:1: ruleEventReference returns [EObject current=null] : ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) ;
3730 public final EObject ruleEventReference() throws RecognitionException {
3731 EObject current = null;
3732
3733 Token otherlv_1=null;
3734
3735
3736 enterRule();
3737
3738 try {
3739 // InternalCftLanguage.g:1418:2: ( ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) )
3740 // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) )
3741 {
3742 // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) )
3743 // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) )
3744 {
3745 // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) )
3746 // InternalCftLanguage.g:1421:4: ( ruleValidId )
3747 {
3748 // InternalCftLanguage.g:1421:4: ( ruleValidId )
3749 // InternalCftLanguage.g:1422:5: ruleValidId
3750 {
3751
3752 if (current==null) {
3753 current = createModelElement(grammarAccess.getEventReferenceRule());
3754 }
3755
3756
3757 newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0());
3758
3759 pushFollow(FOLLOW_32);
3760 ruleValidId();
3761
3762 state._fsp--;
3763
3764
3765 afterParserOrEnumRuleCall();
3766
3767
3768 }
3769
3770
3771 }
3772
3773 otherlv_1=(Token)match(input,38,FOLLOW_3);
3774
3775 newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1());
3776
3777 // InternalCftLanguage.g:1440:3: ( ( ruleValidId ) )
3778 // InternalCftLanguage.g:1441:4: ( ruleValidId )
3779 {
3780 // InternalCftLanguage.g:1441:4: ( ruleValidId )
3781 // InternalCftLanguage.g:1442:5: ruleValidId
3782 {
3783
3784 if (current==null) {
3785 current = createModelElement(grammarAccess.getEventReferenceRule());
3786 }
3787
3788
3789 newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0());
3790
3791 pushFollow(FOLLOW_2);
3792 ruleValidId();
3793
3794 state._fsp--;
3795
3796
3797 afterParserOrEnumRuleCall();
3798
3799
3800 }
3801
3802
3803 }
3804
3805
3806 }
3807
3808
3809 }
3810
3811
3812 leaveRule();
3813
3814 }
3815
3816 catch (RecognitionException re) {
3817 recover(input,re);
3818 appendSkippedTokens();
3819 }
3820 finally {
3821 }
3822 return current;
3823 }
3824 // $ANTLR end "ruleEventReference"
3825
3826
3827 // $ANTLR start "entryRuleComponentInstance"
3828 // InternalCftLanguage.g:1460:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ;
3829 public final EObject entryRuleComponentInstance() throws RecognitionException {
3830 EObject current = null;
3831
3832 EObject iv_ruleComponentInstance = null;
3833
3834
3835 try {
3836 // InternalCftLanguage.g:1460:58: (iv_ruleComponentInstance= ruleComponentInstance EOF )
3837 // InternalCftLanguage.g:1461:2: iv_ruleComponentInstance= ruleComponentInstance EOF
3838 {
3839 newCompositeNode(grammarAccess.getComponentInstanceRule());
3840 pushFollow(FOLLOW_1);
3841 iv_ruleComponentInstance=ruleComponentInstance();
3842
3843 state._fsp--;
3844
3845 current =iv_ruleComponentInstance;
3846 match(input,EOF,FOLLOW_2);
3847
3848 }
3849
3850 }
3851
3852 catch (RecognitionException re) {
3853 recover(input,re);
3854 appendSkippedTokens();
3855 }
3856 finally {
3857 }
3858 return current;
3859 }
3860 // $ANTLR end "entryRuleComponentInstance"
3861
3862
3863 // $ANTLR start "ruleComponentInstance"
3864 // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ;
3865 public final EObject ruleComponentInstance() throws RecognitionException {
3866 EObject current = null;
3867
3868 Token otherlv_0=null;
3869 AntlrDatatypeRuleToken lv_name_2_0 = null;
3870
3871
3872
3873 enterRule();
3874
3875 try {
3876 // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) )
3877 // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? )
3878 {
3879 // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? )
3880 // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )?
3881 {
3882 otherlv_0=(Token)match(input,39,FOLLOW_3);
3883
3884 newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0());
3885
3886 // InternalCftLanguage.g:1479:3: ( ( ruleQualifiedName ) )
3887 // InternalCftLanguage.g:1480:4: ( ruleQualifiedName )
3888 {
3889 // InternalCftLanguage.g:1480:4: ( ruleQualifiedName )
3890 // InternalCftLanguage.g:1481:5: ruleQualifiedName
3891 {
3892
3893 if (current==null) {
3894 current = createModelElement(grammarAccess.getComponentInstanceRule());
3895 }
3896
3897
3898 newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0());
3899
3900 pushFollow(FOLLOW_18);
3901 ruleQualifiedName();
3902
3903 state._fsp--;
3904
3905
3906 afterParserOrEnumRuleCall();
3907
3908
3909 }
3910
3911
3912 }
3913
3914 // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= ruleValidId ) )?
3915 int alt26=2;
3916 int LA26_0 = input.LA(1);
3917
3918 if ( ((LA26_0>=RULE_OF_INT && LA26_0<=RULE_ID)) ) {
3919 alt26=1;
3920 }
3921 switch (alt26) {
3922 case 1 :
3923 // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId )
3924 {
3925 // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId )
3926 // InternalCftLanguage.g:1497:5: lv_name_2_0= ruleValidId
3927 {
3928
3929 newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0());
3930
3931 pushFollow(FOLLOW_2);
3932 lv_name_2_0=ruleValidId();
3933
3934 state._fsp--;
3935
3936
3937 if (current==null) {
3938 current = createModelElementForParent(grammarAccess.getComponentInstanceRule());
3939 }
3940 set(
3941 current,
3942 "name",
3943 lv_name_2_0,
3944 "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId");
3945 afterParserOrEnumRuleCall();
3946
3947
3948 }
3949
3950
3951 }
3952 break;
3953
3954 }
3955
3956
3957 }
3958
3959
3960 }
3961
3962
3963 leaveRule();
3964
3965 }
3966
3967 catch (RecognitionException re) {
3968 recover(input,re);
3969 appendSkippedTokens();
3970 }
3971 finally {
3972 }
3973 return current;
3974 }
3975 // $ANTLR end "ruleComponentInstance"
3976
3977
3978 // $ANTLR start "entryRuleQualifiedName"
3979 // InternalCftLanguage.g:1518:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
3980 public final String entryRuleQualifiedName() throws RecognitionException {
3981 String current = null;
3982
3983 AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
3984
3985
3986 try {
3987 // InternalCftLanguage.g:1518:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
3988 // InternalCftLanguage.g:1519:2: iv_ruleQualifiedName= ruleQualifiedName EOF
3989 {
3990 newCompositeNode(grammarAccess.getQualifiedNameRule());
3991 pushFollow(FOLLOW_1);
3992 iv_ruleQualifiedName=ruleQualifiedName();
3993
3994 state._fsp--;
3995
3996 current =iv_ruleQualifiedName.getText();
3997 match(input,EOF,FOLLOW_2);
3998
3999 }
4000
4001 }
4002
4003 catch (RecognitionException re) {
4004 recover(input,re);
4005 appendSkippedTokens();
4006 }
4007 finally {
4008 }
4009 return current;
4010 }
4011 // $ANTLR end "entryRuleQualifiedName"
4012
4013
4014 // $ANTLR start "ruleQualifiedName"
4015 // InternalCftLanguage.g:1525:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ;
4016 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
4017 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
4018
4019 Token kw=null;
4020 AntlrDatatypeRuleToken this_ValidId_0 = null;
4021
4022 AntlrDatatypeRuleToken this_ValidId_2 = null;
4023
4024
4025
4026 enterRule();
4027
4028 try {
4029 // InternalCftLanguage.g:1531:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) )
4030 // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* )
4031 {
4032 // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* )
4033 // InternalCftLanguage.g:1533:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )*
4034 {
4035
4036 newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0());
4037
4038 pushFollow(FOLLOW_33);
4039 this_ValidId_0=ruleValidId();
4040
4041 state._fsp--;
4042
4043
4044 current.merge(this_ValidId_0);
4045
4046
4047 afterParserOrEnumRuleCall();
4048
4049 // InternalCftLanguage.g:1543:3: (kw= '.' this_ValidId_2= ruleValidId )*
4050 loop27:
4051 do {
4052 int alt27=2;
4053 int LA27_0 = input.LA(1);
4054
4055 if ( (LA27_0==38) ) {
4056 int LA27_2 = input.LA(2);
4057
4058 if ( ((LA27_2>=RULE_OF_INT && LA27_2<=RULE_ID)) ) {
4059 alt27=1;
4060 }
4061
4062
4063 }
4064
4065
4066 switch (alt27) {
4067 case 1 :
4068 // InternalCftLanguage.g:1544:4: kw= '.' this_ValidId_2= ruleValidId
4069 {
4070 kw=(Token)match(input,38,FOLLOW_3);
4071
4072 current.merge(kw);
4073 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
4074
4075
4076 newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1());
4077
4078 pushFollow(FOLLOW_33);
4079 this_ValidId_2=ruleValidId();
4080
4081 state._fsp--;
4082
4083
4084 current.merge(this_ValidId_2);
4085
4086
4087 afterParserOrEnumRuleCall();
4088
4089
4090 }
4091 break;
4092
4093 default :
4094 break loop27;
4095 }
4096 } while (true);
4097
4098
4099 }
4100
4101
4102 }
4103
4104
4105 leaveRule();
4106
4107 }
4108
4109 catch (RecognitionException re) {
4110 recover(input,re);
4111 appendSkippedTokens();
4112 }
4113 finally {
4114 }
4115 return current;
4116 }
4117 // $ANTLR end "ruleQualifiedName"
4118
4119
4120 // $ANTLR start "entryRuleQualifiedNameWithWildcard"
4121 // InternalCftLanguage.g:1564:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
4122 public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
4123 String current = null;
4124
4125 AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null;
4126
4127
4128 try {
4129 // InternalCftLanguage.g:1564:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
4130 // InternalCftLanguage.g:1565:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
4131 {
4132 newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
4133 pushFollow(FOLLOW_1);
4134 iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard();
4135
4136 state._fsp--;
4137
4138 current =iv_ruleQualifiedNameWithWildcard.getText();
4139 match(input,EOF,FOLLOW_2);
4140
4141 }
4142
4143 }
4144
4145 catch (RecognitionException re) {
4146 recover(input,re);
4147 appendSkippedTokens();
4148 }
4149 finally {
4150 }
4151 return current;
4152 }
4153 // $ANTLR end "entryRuleQualifiedNameWithWildcard"
4154
4155
4156 // $ANTLR start "ruleQualifiedNameWithWildcard"
4157 // InternalCftLanguage.g:1571:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ;
4158 public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
4159 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
4160
4161 Token kw=null;
4162 AntlrDatatypeRuleToken this_QualifiedName_0 = null;
4163
4164
4165
4166 enterRule();
4167
4168 try {
4169 // InternalCftLanguage.g:1577:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) )
4170 // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
4171 {
4172 // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
4173 // InternalCftLanguage.g:1579:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )?
4174 {
4175
4176 newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
4177
4178 pushFollow(FOLLOW_33);
4179 this_QualifiedName_0=ruleQualifiedName();
4180
4181 state._fsp--;
4182
4183
4184 current.merge(this_QualifiedName_0);
4185
4186
4187 afterParserOrEnumRuleCall();
4188
4189 // InternalCftLanguage.g:1589:3: (kw= '.' kw= '*' )?
4190 int alt28=2;
4191 int LA28_0 = input.LA(1);
4192
4193 if ( (LA28_0==38) ) {
4194 alt28=1;
4195 }
4196 switch (alt28) {
4197 case 1 :
4198 // InternalCftLanguage.g:1590:4: kw= '.' kw= '*'
4199 {
4200 kw=(Token)match(input,38,FOLLOW_34);
4201
4202 current.merge(kw);
4203 newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0());
4204
4205 kw=(Token)match(input,40,FOLLOW_2);
4206
4207 current.merge(kw);
4208 newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1());
4209
4210
4211 }
4212 break;
4213
4214 }
4215
4216
4217 }
4218
4219
4220 }
4221
4222
4223 leaveRule();
4224
4225 }
4226
4227 catch (RecognitionException re) {
4228 recover(input,re);
4229 appendSkippedTokens();
4230 }
4231 finally {
4232 }
4233 return current;
4234 }
4235 // $ANTLR end "ruleQualifiedNameWithWildcard"
4236
4237
4238 // $ANTLR start "entryRuleValidId"
4239 // InternalCftLanguage.g:1605:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ;
4240 public final String entryRuleValidId() throws RecognitionException {
4241 String current = null;
4242
4243 AntlrDatatypeRuleToken iv_ruleValidId = null;
4244
4245
4246 try {
4247 // InternalCftLanguage.g:1605:47: (iv_ruleValidId= ruleValidId EOF )
4248 // InternalCftLanguage.g:1606:2: iv_ruleValidId= ruleValidId EOF
4249 {
4250 newCompositeNode(grammarAccess.getValidIdRule());
4251 pushFollow(FOLLOW_1);
4252 iv_ruleValidId=ruleValidId();
4253
4254 state._fsp--;
4255
4256 current =iv_ruleValidId.getText();
4257 match(input,EOF,FOLLOW_2);
4258
4259 }
4260
4261 }
4262
4263 catch (RecognitionException re) {
4264 recover(input,re);
4265 appendSkippedTokens();
4266 }
4267 finally {
4268 }
4269 return current;
4270 }
4271 // $ANTLR end "entryRuleValidId"
4272
4273
4274 // $ANTLR start "ruleValidId"
4275 // InternalCftLanguage.g:1612:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ;
4276 public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException {
4277 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
4278
4279 Token this_ID_0=null;
4280 Token this_OF_INT_1=null;
4281
4282
4283 enterRule();
4284
4285 try {
4286 // InternalCftLanguage.g:1618:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) )
4287 // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT )
4288 {
4289 // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT )
4290 int alt29=2;
4291 int LA29_0 = input.LA(1);
4292
4293 if ( (LA29_0==RULE_ID) ) {
4294 alt29=1;
4295 }
4296 else if ( (LA29_0==RULE_OF_INT) ) {
4297 alt29=2;
4298 }
4299 else {
4300 NoViableAltException nvae =
4301 new NoViableAltException("", 29, 0, input);
4302
4303 throw nvae;
4304 }
4305 switch (alt29) {
4306 case 1 :
4307 // InternalCftLanguage.g:1620:3: this_ID_0= RULE_ID
4308 {
4309 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2);
4310
4311 current.merge(this_ID_0);
4312
4313
4314 newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0());
4315
4316
4317 }
4318 break;
4319 case 2 :
4320 // InternalCftLanguage.g:1628:3: this_OF_INT_1= RULE_OF_INT
4321 {
4322 this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2);
4323
4324 current.merge(this_OF_INT_1);
4325
4326
4327 newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1());
4328
4329
4330 }
4331 break;
4332
4333 }
4334
4335
4336 }
4337
4338
4339 leaveRule();
4340
4341 }
4342
4343 catch (RecognitionException re) {
4344 recover(input,re);
4345 appendSkippedTokens();
4346 }
4347 finally {
4348 }
4349 return current;
4350 }
4351 // $ANTLR end "ruleValidId"
4352
4353
4354 // $ANTLR start "entryRuleDouble"
4355 // InternalCftLanguage.g:1639:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ;
4356 public final String entryRuleDouble() throws RecognitionException {
4357 String current = null;
4358
4359 AntlrDatatypeRuleToken iv_ruleDouble = null;
4360
4361
4362 try {
4363 // InternalCftLanguage.g:1639:46: (iv_ruleDouble= ruleDouble EOF )
4364 // InternalCftLanguage.g:1640:2: iv_ruleDouble= ruleDouble EOF
4365 {
4366 newCompositeNode(grammarAccess.getDoubleRule());
4367 pushFollow(FOLLOW_1);
4368 iv_ruleDouble=ruleDouble();
4369
4370 state._fsp--;
4371
4372 current =iv_ruleDouble.getText();
4373 match(input,EOF,FOLLOW_2);
4374
4375 }
4376
4377 }
4378
4379 catch (RecognitionException re) {
4380 recover(input,re);
4381 appendSkippedTokens();
4382 }
4383 finally {
4384 }
4385 return current;
4386 }
4387 // $ANTLR end "entryRuleDouble"
4388
4389
4390 // $ANTLR start "ruleDouble"
4391 // InternalCftLanguage.g:1646:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ;
4392 public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException {
4393 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
4394
4395 Token this_INT_0=null;
4396 Token this_T_DOUBLE_1=null;
4397
4398
4399 enterRule();
4400
4401 try {
4402 // InternalCftLanguage.g:1652:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) )
4403 // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE )
4404 {
4405 // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE )
4406 int alt30=2;
4407 int LA30_0 = input.LA(1);
4408
4409 if ( (LA30_0==RULE_INT) ) {
4410 alt30=1;
4411 }
4412 else if ( (LA30_0==RULE_T_DOUBLE) ) {
4413 alt30=2;
4414 }
4415 else {
4416 NoViableAltException nvae =
4417 new NoViableAltException("", 30, 0, input);
4418
4419 throw nvae;
4420 }
4421 switch (alt30) {
4422 case 1 :
4423 // InternalCftLanguage.g:1654:3: this_INT_0= RULE_INT
4424 {
4425 this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2);
4426
4427 current.merge(this_INT_0);
4428
4429
4430 newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0());
4431
4432
4433 }
4434 break;
4435 case 2 :
4436 // InternalCftLanguage.g:1662:3: this_T_DOUBLE_1= RULE_T_DOUBLE
4437 {
4438 this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2);
4439
4440 current.merge(this_T_DOUBLE_1);
4441
4442
4443 newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1());
4444
4445
4446 }
4447 break;
4448
4449 }
4450
4451
4452 }
4453
4454
4455 leaveRule();
4456
4457 }
4458
4459 catch (RecognitionException re) {
4460 recover(input,re);
4461 appendSkippedTokens();
4462 }
4463 finally {
4464 }
4465 return current;
4466 }
4467 // $ANTLR end "ruleDouble"
4468
4469 // Delegated rules
4470
4471
4472
4473
4474 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
4475 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
4476 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000060L});
4477 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000001001C002L});
4478 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000010018002L});
4479 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010010002L});
4480 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000004002L});
4481 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020000L});
4482 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000001C0060L});
4483 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004060L});
4484 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000004000L});
4485 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000100060L});
4486 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200002L});
4487 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L});
4488 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L});
4489 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000090L});
4490 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L});
4491 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000062L});
4492 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L});
4493 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000010L});
4494 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000008000020L});
4495 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000060100000L});
4496 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L});
4497 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080000000L});
4498 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000300000000L});
4499 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000008000020002L});
4500 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000020002L});
4501 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400100060L});
4502 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000800000000L});
4503 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L});
4504 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L});
4505 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L});
4506 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000002L});
4507 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L});
4508
4509}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java
deleted file mode 100644
index def0ebe9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java
+++ /dev/null
@@ -1,9 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping;
5
6import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider;
7
8public abstract class AbstractCftLanguageScopeProvider extends DelegatingScopeProvider {
9}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java
deleted file mode 100644
index fe329903..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java
+++ /dev/null
@@ -1,383 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
14import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
15import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
16import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
17import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
18import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition;
19import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition;
20import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
21import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
22import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
23import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition;
24import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition;
25import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution;
26import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution;
27import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
28import java.util.Set;
29import org.eclipse.emf.ecore.EObject;
30import org.eclipse.emf.ecore.EPackage;
31import org.eclipse.xtext.Action;
32import org.eclipse.xtext.Parameter;
33import org.eclipse.xtext.ParserRule;
34import org.eclipse.xtext.serializer.ISerializationContext;
35import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
36import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
37import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
38
39@SuppressWarnings("all")
40public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer {
41
42 @Inject
43 private CftLanguageGrammarAccess grammarAccess;
44
45 @Override
46 public void sequence(ISerializationContext context, EObject semanticObject) {
47 EPackage epackage = semanticObject.eClass().getEPackage();
48 ParserRule rule = context.getParserRule();
49 Action action = context.getAssignedAction();
50 Set<Parameter> parameters = context.getEnabledBooleanParameters();
51 if (epackage == CftPackage.eINSTANCE)
52 switch (semanticObject.eClass().getClassifierID()) {
53 case CftPackage.AND_GATE_DEFINITION:
54 sequence_AndGateDefinition(context, (AndGateDefinition) semanticObject);
55 return;
56 case CftPackage.BASIC_EVENT_DEFINITION:
57 sequence_BasicEventDefinition(context, (BasicEventDefinition) semanticObject);
58 return;
59 case CftPackage.COMPONENT_DEFINITION:
60 sequence_ComponentDefinition(context, (ComponentDefinition) semanticObject);
61 return;
62 case CftPackage.INPUT_EVENT:
63 sequence_InputEvent(context, (InputEvent) semanticObject);
64 return;
65 case CftPackage.KOF_MGATE_DEFINITION:
66 sequence_KOfMGateDefinition(context, (KOfMGateDefinition) semanticObject);
67 return;
68 case CftPackage.OR_GATE_DEFINITION:
69 sequence_OrGateDefinition(context, (OrGateDefinition) semanticObject);
70 return;
71 }
72 else if (epackage == CftLanguagePackage.eINSTANCE)
73 switch (semanticObject.eClass().getClassifierID()) {
74 case CftLanguagePackage.ASSIGNMENT:
75 sequence_Assignment(context, (Assignment) semanticObject);
76 return;
77 case CftLanguagePackage.CFT_MODEL:
78 sequence_CftModel(context, (CftModel) semanticObject);
79 return;
80 case CftLanguagePackage.COMPONENT_INSTANCE:
81 sequence_ComponentInstance(context, (ComponentInstance) semanticObject);
82 return;
83 case CftLanguagePackage.EVENT_REFERENCE:
84 sequence_EventReference(context, (EventReference) semanticObject);
85 return;
86 case CftLanguagePackage.IMPORT_DECLARATION:
87 sequence_ImportDeclaration(context, (ImportDeclaration) semanticObject);
88 return;
89 case CftLanguagePackage.LOOKUP_DEFINITION:
90 sequence_LookupDefinition(context, (LookupDefinition) semanticObject);
91 return;
92 case CftLanguagePackage.MAPPING_DEFINITION:
93 sequence_MappingDefinition(context, (MappingDefinition) semanticObject);
94 return;
95 case CftLanguagePackage.MAPPING_PARAMETER:
96 sequence_MappingParameter(context, (MappingParameter) semanticObject);
97 return;
98 case CftLanguagePackage.TRANSFORMATION_DEFINITION:
99 sequence_TransformationDefinition(context, (TransformationDefinition) semanticObject);
100 return;
101 }
102 else if (epackage == FtPackage.eINSTANCE)
103 switch (semanticObject.eClass().getClassifierID()) {
104 case FtPackage.CONSTANT_DISTRIBUTION:
105 sequence_ConstantDistribution(context, (ConstantDistribution) semanticObject);
106 return;
107 case FtPackage.EXPONENTIAL_DISTRIBUTION:
108 sequence_ExponentialDistribution(context, (ExponentialDistribution) semanticObject);
109 return;
110 }
111 if (errorAcceptor != null)
112 errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
113 }
114
115 /**
116 * Contexts:
117 * EventDefinition returns AndGateDefinition
118 * GateDefinition returns AndGateDefinition
119 * AndGateDefinition returns AndGateDefinition
120 *
121 * Constraint:
122 * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*)
123 */
124 protected void sequence_AndGateDefinition(ISerializationContext context, AndGateDefinition semanticObject) {
125 genericSequencer.createSequence(context, semanticObject);
126 }
127
128
129 /**
130 * Contexts:
131 * Assignment returns Assignment
132 *
133 * Constraint:
134 * (input=EventReference multiple?='+='? output=EventReference)
135 */
136 protected void sequence_Assignment(ISerializationContext context, Assignment semanticObject) {
137 genericSequencer.createSequence(context, semanticObject);
138 }
139
140
141 /**
142 * Contexts:
143 * EventDefinition returns BasicEventDefinition
144 * BasicEventDefinition returns BasicEventDefinition
145 *
146 * Constraint:
147 * (name=ValidId distribution=Distribution)
148 */
149 protected void sequence_BasicEventDefinition(ISerializationContext context, BasicEventDefinition semanticObject) {
150 if (errorAcceptor != null) {
151 if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME) == ValueTransient.YES)
152 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME));
153 if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION) == ValueTransient.YES)
154 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION));
155 }
156 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
157 feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0(), semanticObject.getName());
158 feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0(), semanticObject.getDistribution());
159 feeder.finish();
160 }
161
162
163 /**
164 * Contexts:
165 * CftModel returns CftModel
166 *
167 * Constraint:
168 * (
169 * packageName=QualifiedName
170 * imports+=ImportDeclaration*
171 * (componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)*
172 * )
173 */
174 protected void sequence_CftModel(ISerializationContext context, CftModel semanticObject) {
175 genericSequencer.createSequence(context, semanticObject);
176 }
177
178
179 /**
180 * Contexts:
181 * ComponentDefinition returns ComponentDefinition
182 *
183 * Constraint:
184 * (name=ValidId (inputEvents+=InputEvent | outputEvents+=[EventDeclaration|ValidId])* eventDefinitions+=EventDefinition*)
185 */
186 protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) {
187 genericSequencer.createSequence(context, semanticObject);
188 }
189
190
191 /**
192 * Contexts:
193 * Variable returns ComponentInstance
194 * ComponentInstance returns ComponentInstance
195 *
196 * Constraint:
197 * (componentType=[ComponentDefinition|QualifiedName] name=ValidId?)
198 */
199 protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) {
200 genericSequencer.createSequence(context, semanticObject);
201 }
202
203
204 /**
205 * Contexts:
206 * Distribution returns ConstantDistribution
207 * ConstantDistribution returns ConstantDistribution
208 *
209 * Constraint:
210 * p=Double
211 */
212 protected void sequence_ConstantDistribution(ISerializationContext context, ConstantDistribution semanticObject) {
213 if (errorAcceptor != null) {
214 if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P) == ValueTransient.YES)
215 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P));
216 }
217 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
218 feeder.accept(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0(), semanticObject.getP());
219 feeder.finish();
220 }
221
222
223 /**
224 * Contexts:
225 * EventReference returns EventReference
226 *
227 * Constraint:
228 * (component=[Variable|ValidId] event=[EventDeclaration|ValidId])
229 */
230 protected void sequence_EventReference(ISerializationContext context, EventReference semanticObject) {
231 if (errorAcceptor != null) {
232 if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT) == ValueTransient.YES)
233 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT));
234 if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT) == ValueTransient.YES)
235 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT));
236 }
237 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
238 feeder.accept(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT, false));
239 feeder.accept(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT, false));
240 feeder.finish();
241 }
242
243
244 /**
245 * Contexts:
246 * Distribution returns ExponentialDistribution
247 * ExponentialDistribution returns ExponentialDistribution
248 *
249 * Constraint:
250 * lambda=Double
251 */
252 protected void sequence_ExponentialDistribution(ISerializationContext context, ExponentialDistribution semanticObject) {
253 if (errorAcceptor != null) {
254 if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA) == ValueTransient.YES)
255 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA));
256 }
257 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
258 feeder.accept(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0(), semanticObject.getLambda());
259 feeder.finish();
260 }
261
262
263 /**
264 * Contexts:
265 * ImportDeclaration returns ImportDeclaration
266 *
267 * Constraint:
268 * importedNamespace=QualifiedNameWithWildcard
269 */
270 protected void sequence_ImportDeclaration(ISerializationContext context, ImportDeclaration semanticObject) {
271 if (errorAcceptor != null) {
272 if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE) == ValueTransient.YES)
273 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE));
274 }
275 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
276 feeder.accept(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0(), semanticObject.getImportedNamespace());
277 feeder.finish();
278 }
279
280
281 /**
282 * Contexts:
283 * InputEvent returns InputEvent
284 *
285 * Constraint:
286 * (name=ValidId multiple?='[]'?)
287 */
288 protected void sequence_InputEvent(ISerializationContext context, InputEvent semanticObject) {
289 genericSequencer.createSequence(context, semanticObject);
290 }
291
292
293 /**
294 * Contexts:
295 * EventDefinition returns KOfMGateDefinition
296 * GateDefinition returns KOfMGateDefinition
297 * KOfMGateDefinition returns KOfMGateDefinition
298 *
299 * Constraint:
300 * (name=ValidId k=INT (m=INT | m=OF_INT) inputEvents+=[EventDeclaration|ValidId]*)
301 */
302 protected void sequence_KOfMGateDefinition(ISerializationContext context, KOfMGateDefinition semanticObject) {
303 genericSequencer.createSequence(context, semanticObject);
304 }
305
306
307 /**
308 * Contexts:
309 * LookupDefinition returns LookupDefinition
310 * Variable returns LookupDefinition
311 *
312 * Constraint:
313 * (mapping=[MappingDefinition|QualifiedName] arguments+=[MappingParameter|ValidId] arguments+=[MappingParameter|ValidId]* name=ValidId)
314 */
315 protected void sequence_LookupDefinition(ISerializationContext context, LookupDefinition semanticObject) {
316 genericSequencer.createSequence(context, semanticObject);
317 }
318
319
320 /**
321 * Contexts:
322 * MappingDefinition returns MappingDefinition
323 *
324 * Constraint:
325 * (
326 * topLevel?='toplevel'?
327 * pattern=[Pattern|QualifiedName]
328 * parameters+=MappingParameter
329 * parameters+=MappingParameter*
330 * componentInstance=ComponentInstance?
331 * (lookupDefinitions+=LookupDefinition | assignments+=Assignment)*
332 * )
333 */
334 protected void sequence_MappingDefinition(ISerializationContext context, MappingDefinition semanticObject) {
335 genericSequencer.createSequence(context, semanticObject);
336 }
337
338
339 /**
340 * Contexts:
341 * MappingParameter returns MappingParameter
342 *
343 * Constraint:
344 * name=ValidId
345 */
346 protected void sequence_MappingParameter(ISerializationContext context, MappingParameter semanticObject) {
347 if (errorAcceptor != null) {
348 if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME) == ValueTransient.YES)
349 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME));
350 }
351 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
352 feeder.accept(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0(), semanticObject.getName());
353 feeder.finish();
354 }
355
356
357 /**
358 * Contexts:
359 * EventDefinition returns OrGateDefinition
360 * GateDefinition returns OrGateDefinition
361 * OrGateDefinition returns OrGateDefinition
362 *
363 * Constraint:
364 * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*)
365 */
366 protected void sequence_OrGateDefinition(ISerializationContext context, OrGateDefinition semanticObject) {
367 genericSequencer.createSequence(context, semanticObject);
368 }
369
370
371 /**
372 * Contexts:
373 * TransformationDefinition returns TransformationDefinition
374 *
375 * Constraint:
376 * (name=ValidId mappingDefinitions+=MappingDefinition*)
377 */
378 protected void sequence_TransformationDefinition(ISerializationContext context, TransformationDefinition semanticObject) {
379 genericSequencer.createSequence(context, semanticObject);
380 }
381
382
383}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java
deleted file mode 100644
index 62a80a00..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java
+++ /dev/null
@@ -1,242 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess;
8import java.util.List;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.xtext.IGrammarAccess;
11import org.eclipse.xtext.RuleCall;
12import org.eclipse.xtext.nodemodel.INode;
13import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias;
14import org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias;
15import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias;
16import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias;
17import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable;
18import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
19import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
20
21@SuppressWarnings("all")
22public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer {
23
24 protected CftLanguageGrammarAccess grammarAccess;
25 protected AbstractElementAlias match_CftModel_SemicolonKeyword_2_q;
26 protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a;
27 protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a;
28 protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a;
29 protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a;
30 protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a;
31 protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a;
32 protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a;
33 protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p;
34 protected AbstractElementAlias match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p;
35 protected AbstractElementAlias match_ImportDeclaration_SemicolonKeyword_2_q;
36 protected AbstractElementAlias match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q;
37
38 @Inject
39 protected void init(IGrammarAccess access) {
40 grammarAccess = (CftLanguageGrammarAccess) access;
41 match_CftModel_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getCftModelAccess().getSemicolonKeyword_2());
42 match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())));
43 match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()));
44 match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())));
45 match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()));
46 match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()));
47 match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()));
48 match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a = new AlternativeAlias(true, true, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())));
49 match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())));
50 match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())));
51 match_ImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2());
52 match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()), new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()));
53 }
54
55 @Override
56 protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
57 return "";
58 }
59
60
61 @Override
62 protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
63 if (transition.getAmbiguousSyntaxes().isEmpty()) return;
64 List<INode> transitionNodes = collectNodes(fromNode, toNode);
65 for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
66 List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
67 if (match_CftModel_SemicolonKeyword_2_q.equals(syntax))
68 emit_CftModel_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes);
69 else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a.equals(syntax))
70 emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes);
71 else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a.equals(syntax))
72 emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(semanticObject, getLastNavigableState(), syntaxNodes);
73 else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a.equals(syntax))
74 emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes);
75 else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a.equals(syntax))
76 emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(semanticObject, getLastNavigableState(), syntaxNodes);
77 else if (match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a.equals(syntax))
78 emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(semanticObject, getLastNavigableState(), syntaxNodes);
79 else if (match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a.equals(syntax))
80 emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(semanticObject, getLastNavigableState(), syntaxNodes);
81 else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a.equals(syntax))
82 emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(semanticObject, getLastNavigableState(), syntaxNodes);
83 else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p.equals(syntax))
84 emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes);
85 else if (match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p.equals(syntax))
86 emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes);
87 else if (match_ImportDeclaration_SemicolonKeyword_2_q.equals(syntax))
88 emit_ImportDeclaration_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes);
89 else if (match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q.equals(syntax))
90 emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
91 else acceptNodes(getLastNavigableState(), syntaxNodes);
92 }
93 }
94
95 /**
96 * Ambiguous syntax:
97 * ';'?
98 *
99 * This ambiguous syntax occurs at:
100 * packageName=QualifiedName (ambiguity) (rule end)
101 * packageName=QualifiedName (ambiguity) componentDefinitions+=ComponentDefinition
102 * packageName=QualifiedName (ambiguity) imports+=ImportDeclaration
103 * packageName=QualifiedName (ambiguity) transformationDefinitions+=TransformationDefinition
104 */
105 protected void emit_CftModel_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
106 acceptNodes(transition, nodes);
107 }
108
109 /**
110 * Ambiguous syntax:
111 * ('in' ';' ('out' ';')*)*
112 *
113 * This ambiguous syntax occurs at:
114 * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) '}' (rule end)
115 * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) eventDefinitions+=EventDefinition
116 */
117 protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
118 acceptNodes(transition, nodes);
119 }
120
121 /**
122 * Ambiguous syntax:
123 * ('in' ';')*
124 *
125 * This ambiguous syntax occurs at:
126 * inputEvents+=InputEvent ';' (ambiguity) (('out' ';')? ('out' ';' 'in' ';')?)+ 'out' outputEvents+=[EventDeclaration|ValidId]
127 * name=ValidId '{' (ambiguity) 'out' (';' (ambiguity) 'out')* outputEvents+=[EventDeclaration|ValidId]
128 * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* '}' (rule end)
129 * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* eventDefinitions+=EventDefinition
130 */
131 protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
132 acceptNodes(transition, nodes);
133 }
134
135 /**
136 * Ambiguous syntax:
137 * ('out' ';' ('in' ';')*)*
138 *
139 * This ambiguous syntax occurs at:
140 * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) '}' (rule end)
141 * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) eventDefinitions+=EventDefinition
142 */
143 protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
144 acceptNodes(transition, nodes);
145 }
146
147 /**
148 * Ambiguous syntax:
149 * ('out' ';')*
150 *
151 * This ambiguous syntax occurs at:
152 * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* '}' (rule end)
153 * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* eventDefinitions+=EventDefinition
154 * name=ValidId '{' (ambiguity) 'in' (';' (ambiguity) 'in')* inputEvents+=InputEvent
155 * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) (('in' ';')? ('in' ';' 'out' ';')?)+ 'in' inputEvents+=InputEvent
156 */
157 protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
158 acceptNodes(transition, nodes);
159 }
160
161 /**
162 * Ambiguous syntax:
163 * (';' ('out' ';')* 'in')*
164 *
165 * This ambiguous syntax occurs at:
166 * inputEvents+=InputEvent (ambiguity) inputEvents+=InputEvent
167 * name=ValidId '{' ('out' ';')* 'in' (ambiguity) inputEvents+=InputEvent
168 */
169 protected void emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
170 acceptNodes(transition, nodes);
171 }
172
173 /**
174 * Ambiguous syntax:
175 * (';' ('in' ';')* 'out')*
176 *
177 * This ambiguous syntax occurs at:
178 * name=ValidId '{' ('in' ';')* 'out' (ambiguity) outputEvents+=[EventDeclaration|ValidId]
179 * outputEvents+=[EventDeclaration|ValidId] (ambiguity) outputEvents+=[EventDeclaration|ValidId]
180 */
181 protected void emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
182 acceptNodes(transition, nodes);
183 }
184
185 /**
186 * Ambiguous syntax:
187 * (('in' ';') | ('out' ';'))*
188 *
189 * This ambiguous syntax occurs at:
190 * name=ValidId '{' (ambiguity) '}' (rule end)
191 * name=ValidId '{' (ambiguity) eventDefinitions+=EventDefinition
192 */
193 protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
194 acceptNodes(transition, nodes);
195 }
196
197 /**
198 * Ambiguous syntax:
199 * (('in' ';')? ('in' ';' 'out' ';')?)+
200 *
201 * This ambiguous syntax occurs at:
202 * outputEvents+=[EventDeclaration|ValidId] ';' ('out' ';')* (ambiguity) 'in' inputEvents+=InputEvent
203 */
204 protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
205 acceptNodes(transition, nodes);
206 }
207
208 /**
209 * Ambiguous syntax:
210 * (('out' ';')? ('out' ';' 'in' ';')?)+
211 *
212 * This ambiguous syntax occurs at:
213 * inputEvents+=InputEvent ';' ('in' ';')* (ambiguity) 'out' outputEvents+=[EventDeclaration|ValidId]
214 */
215 protected void emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
216 acceptNodes(transition, nodes);
217 }
218
219 /**
220 * Ambiguous syntax:
221 * ';'?
222 *
223 * This ambiguous syntax occurs at:
224 * importedNamespace=QualifiedNameWithWildcard (ambiguity) (rule end)
225 */
226 protected void emit_ImportDeclaration_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
227 acceptNodes(transition, nodes);
228 }
229
230 /**
231 * Ambiguous syntax:
232 * ('{' '}')?
233 *
234 * This ambiguous syntax occurs at:
235 * componentInstance=ComponentInstance (ambiguity) (rule end)
236 * parameters+=MappingParameter ')' (ambiguity) (rule end)
237 */
238 protected void emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
239 acceptNodes(transition, nodes);
240 }
241
242}
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
deleted file mode 100644
index 2b9632b7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java
+++ /dev/null
@@ -1,1412 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.services;
5
6import com.google.inject.Inject;
7import com.google.inject.Singleton;
8import java.util.List;
9import org.eclipse.xtext.Alternatives;
10import org.eclipse.xtext.Assignment;
11import org.eclipse.xtext.CrossReference;
12import org.eclipse.xtext.Grammar;
13import org.eclipse.xtext.GrammarUtil;
14import org.eclipse.xtext.Group;
15import org.eclipse.xtext.Keyword;
16import org.eclipse.xtext.ParserRule;
17import org.eclipse.xtext.RuleCall;
18import org.eclipse.xtext.TerminalRule;
19import org.eclipse.xtext.UnorderedGroup;
20import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
21import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
22import org.eclipse.xtext.service.GrammarProvider;
23
24@Singleton
25public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder {
26
27 public class CftModelElements extends AbstractParserRuleElementFinder {
28 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.CftModel");
29 private final Group cGroup = (Group)rule.eContents().get(1);
30 private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0);
31 private final Assignment cPackageNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
32 private final RuleCall cPackageNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cPackageNameAssignment_1.eContents().get(0);
33 private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
34 private final Assignment cImportsAssignment_3 = (Assignment)cGroup.eContents().get(3);
35 private final RuleCall cImportsImportDeclarationParserRuleCall_3_0 = (RuleCall)cImportsAssignment_3.eContents().get(0);
36 private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
37 private final Assignment cComponentDefinitionsAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0);
38 private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0 = (RuleCall)cComponentDefinitionsAssignment_4_0.eContents().get(0);
39 private final Assignment cTransformationDefinitionsAssignment_4_1 = (Assignment)cAlternatives_4.eContents().get(1);
40 private final RuleCall cTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0 = (RuleCall)cTransformationDefinitionsAssignment_4_1.eContents().get(0);
41
42 //CftModel:
43 // "package" packageName=QualifiedName ";"?
44 // imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition |
45 // transformationDefinitions+=TransformationDefinition)*;
46 @Override public ParserRule getRule() { return rule; }
47
48 //"package" packageName=QualifiedName ";"? imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition |
49 //transformationDefinitions+=TransformationDefinition)*
50 public Group getGroup() { return cGroup; }
51
52 //"package"
53 public Keyword getPackageKeyword_0() { return cPackageKeyword_0; }
54
55 //packageName=QualifiedName
56 public Assignment getPackageNameAssignment_1() { return cPackageNameAssignment_1; }
57
58 //QualifiedName
59 public RuleCall getPackageNameQualifiedNameParserRuleCall_1_0() { return cPackageNameQualifiedNameParserRuleCall_1_0; }
60
61 //";"?
62 public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
63
64 //imports+=ImportDeclaration*
65 public Assignment getImportsAssignment_3() { return cImportsAssignment_3; }
66
67 //ImportDeclaration
68 public RuleCall getImportsImportDeclarationParserRuleCall_3_0() { return cImportsImportDeclarationParserRuleCall_3_0; }
69
70 //(componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)*
71 public Alternatives getAlternatives_4() { return cAlternatives_4; }
72
73 //componentDefinitions+=ComponentDefinition
74 public Assignment getComponentDefinitionsAssignment_4_0() { return cComponentDefinitionsAssignment_4_0; }
75
76 //ComponentDefinition
77 public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0; }
78
79 //transformationDefinitions+=TransformationDefinition
80 public Assignment getTransformationDefinitionsAssignment_4_1() { return cTransformationDefinitionsAssignment_4_1; }
81
82 //TransformationDefinition
83 public RuleCall getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0() { return cTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0; }
84 }
85 public class ImportDeclarationElements extends AbstractParserRuleElementFinder {
86 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration");
87 private final Group cGroup = (Group)rule.eContents().get(1);
88 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
89 private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1);
90 private final RuleCall cImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0);
91 private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
92
93 //ImportDeclaration:
94 // "import" importedNamespace=QualifiedNameWithWildcard ";"?;
95 @Override public ParserRule getRule() { return rule; }
96
97 //"import" importedNamespace=QualifiedNameWithWildcard ";"?
98 public Group getGroup() { return cGroup; }
99
100 //"import"
101 public Keyword getImportKeyword_0() { return cImportKeyword_0; }
102
103 //importedNamespace=QualifiedNameWithWildcard
104 public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; }
105
106 //QualifiedNameWithWildcard
107 public RuleCall getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0() { return cImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0; }
108
109 //";"?
110 public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
111 }
112 public class ComponentDefinitionElements extends AbstractParserRuleElementFinder {
113 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition");
114 private final Group cGroup = (Group)rule.eContents().get(1);
115 private final Keyword cCftKeyword_0 = (Keyword)cGroup.eContents().get(0);
116 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
117 private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
118 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
119 private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
120 private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
121 private final Keyword cInKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
122 private final Assignment cInputEventsAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
123 private final RuleCall cInputEventsInputEventParserRuleCall_3_0_1_0 = (RuleCall)cInputEventsAssignment_3_0_1.eContents().get(0);
124 private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2);
125 private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
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);
128 private final CrossReference cOutputEventsEventDeclarationCrossReference_3_1_1_0 = (CrossReference)cOutputEventsAssignment_3_1_1.eContents().get(0);
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);
131 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
132 private final Assignment cEventDefinitionsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0);
133 private final RuleCall cEventDefinitionsEventDefinitionParserRuleCall_4_0_0 = (RuleCall)cEventDefinitionsAssignment_4_0.eContents().get(0);
134 private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1);
135 private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
136
137 //ComponentDefinition cft::ComponentDefinition:
138 // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]*
139 // ";")?) (eventDefinitions+=EventDefinition ";")*
140 // "}";
141 @Override public ParserRule getRule() { return rule; }
142
143 //"cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]*
144 //";")?) (eventDefinitions+=EventDefinition ";")* "}"
145 public Group getGroup() { return cGroup; }
146
147 //"cft"
148 public Keyword getCftKeyword_0() { return cCftKeyword_0; }
149
150 //name=ValidId
151 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
152
153 //ValidId
154 public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; }
155
156 //"{"
157 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
158
159 //("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")?
160 public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
161
162 //("in" inputEvents+=InputEvent* ";")?
163 public Group getGroup_3_0() { return cGroup_3_0; }
164
165 //"in"
166 public Keyword getInKeyword_3_0_0() { return cInKeyword_3_0_0; }
167
168 //inputEvents+=InputEvent*
169 public Assignment getInputEventsAssignment_3_0_1() { return cInputEventsAssignment_3_0_1; }
170
171 //InputEvent
172 public RuleCall getInputEventsInputEventParserRuleCall_3_0_1_0() { return cInputEventsInputEventParserRuleCall_3_0_1_0; }
173
174 //";"
175 public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; }
176
177 //("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")?
178 public Group getGroup_3_1() { return cGroup_3_1; }
179
180 //"out"
181 public Keyword getOutKeyword_3_1_0() { return cOutKeyword_3_1_0; }
182
183 //outputEvents+=[cft::EventDeclaration|ValidId]*
184 public Assignment getOutputEventsAssignment_3_1_1() { return cOutputEventsAssignment_3_1_1; }
185
186 //[cft::EventDeclaration|ValidId]
187 public CrossReference getOutputEventsEventDeclarationCrossReference_3_1_1_0() { return cOutputEventsEventDeclarationCrossReference_3_1_1_0; }
188
189 //ValidId
190 public RuleCall getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1() { return cOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1; }
191
192 //";"
193 public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; }
194
195 //(eventDefinitions+=EventDefinition ";")*
196 public Group getGroup_4() { return cGroup_4; }
197
198 //eventDefinitions+=EventDefinition
199 public Assignment getEventDefinitionsAssignment_4_0() { return cEventDefinitionsAssignment_4_0; }
200
201 //EventDefinition
202 public RuleCall getEventDefinitionsEventDefinitionParserRuleCall_4_0_0() { return cEventDefinitionsEventDefinitionParserRuleCall_4_0_0; }
203
204 //";"
205 public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; }
206
207 //"}"
208 public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
209 }
210 public class InputEventElements extends AbstractParserRuleElementFinder {
211 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent");
212 private final Group cGroup = (Group)rule.eContents().get(1);
213 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
214 private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
215 private final Assignment cMultipleAssignment_1 = (Assignment)cGroup.eContents().get(1);
216 private final Keyword cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0 = (Keyword)cMultipleAssignment_1.eContents().get(0);
217
218 //InputEvent cft::InputEvent:
219 // name=ValidId multiple?="[]"?;
220 @Override public ParserRule getRule() { return rule; }
221
222 //name=ValidId multiple?="[]"?
223 public Group getGroup() { return cGroup; }
224
225 //name=ValidId
226 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
227
228 //ValidId
229 public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; }
230
231 //multiple?="[]"?
232 public Assignment getMultipleAssignment_1() { return cMultipleAssignment_1; }
233
234 //"[]"
235 public Keyword getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0() { return cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0; }
236 }
237 public class EventDefinitionElements extends AbstractParserRuleElementFinder {
238 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition");
239 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
240 private final RuleCall cBasicEventDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
241 private final RuleCall cGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
242
243 //EventDefinition cft::EventDefinition:
244 // BasicEventDefinition | GateDefinition;
245 @Override public ParserRule getRule() { return rule; }
246
247 //BasicEventDefinition | GateDefinition
248 public Alternatives getAlternatives() { return cAlternatives; }
249
250 //BasicEventDefinition
251 public RuleCall getBasicEventDefinitionParserRuleCall_0() { return cBasicEventDefinitionParserRuleCall_0; }
252
253 //GateDefinition
254 public RuleCall getGateDefinitionParserRuleCall_1() { return cGateDefinitionParserRuleCall_1; }
255 }
256 public class BasicEventDefinitionElements extends AbstractParserRuleElementFinder {
257 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.BasicEventDefinition");
258 private final Group cGroup = (Group)rule.eContents().get(1);
259 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
260 private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
261 private final Assignment cDistributionAssignment_1 = (Assignment)cGroup.eContents().get(1);
262 private final RuleCall cDistributionDistributionParserRuleCall_1_0 = (RuleCall)cDistributionAssignment_1.eContents().get(0);
263
264 //BasicEventDefinition cft::BasicEventDefinition:
265 // name=ValidId distribution=Distribution;
266 @Override public ParserRule getRule() { return rule; }
267
268 //name=ValidId distribution=Distribution
269 public Group getGroup() { return cGroup; }
270
271 //name=ValidId
272 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
273
274 //ValidId
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 cProbKeyword_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 // "prob" "=" p=Double;
312 @Override public ParserRule getRule() { return rule; }
313
314 //"prob" "=" p=Double
315 public Group getGroup() { return cGroup; }
316
317 //"prob"
318 public Keyword getProbKeyword_0() { return cProbKeyword_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; }
343
344 //"lambda"
345 public Keyword getLambdaKeyword_0() { return cLambdaKeyword_0; }
346
347 //"="
348 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
349
350 //lambda=Double
351 public Assignment getLambdaAssignment_2() { return cLambdaAssignment_2; }
352
353 //Double
354 public RuleCall getLambdaDoubleParserRuleCall_2_0() { return cLambdaDoubleParserRuleCall_2_0; }
355 }
356 public class GateDefinitionElements extends AbstractParserRuleElementFinder {
357 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.GateDefinition");
358 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
359 private final RuleCall cAndGateDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
360 private final RuleCall cOrGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
361 private final RuleCall cKOfMGateDefinitionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
362
363 //GateDefinition cft::GateDefinition:
364 // AndGateDefinition | OrGateDefinition | KOfMGateDefinition;
365 @Override public ParserRule getRule() { return rule; }
366
367 //AndGateDefinition | OrGateDefinition | KOfMGateDefinition
368 public Alternatives getAlternatives() { return cAlternatives; }
369
370 //AndGateDefinition
371 public RuleCall getAndGateDefinitionParserRuleCall_0() { return cAndGateDefinitionParserRuleCall_0; }
372
373 //OrGateDefinition
374 public RuleCall getOrGateDefinitionParserRuleCall_1() { return cOrGateDefinitionParserRuleCall_1; }
375
376 //KOfMGateDefinition
377 public RuleCall getKOfMGateDefinitionParserRuleCall_2() { return cKOfMGateDefinitionParserRuleCall_2; }
378 }
379 public class AndGateDefinitionElements extends AbstractParserRuleElementFinder {
380 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.AndGateDefinition");
381 private final Group cGroup = (Group)rule.eContents().get(1);
382 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
383 private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
384 private final Keyword cAndKeyword_1 = (Keyword)cGroup.eContents().get(1);
385 private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2);
386 private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0);
387 private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1);
388
389 //AndGateDefinition cft::AndGateDefinition:
390 // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*;
391 @Override public ParserRule getRule() { return rule; }
392
393 //name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*
394 public Group getGroup() { return cGroup; }
395
396 //name=ValidId
397 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
398
399 //ValidId
400 public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; }
401
402 //"and"
403 public Keyword getAndKeyword_1() { return cAndKeyword_1; }
404
405 //inputEvents+=[cft::EventDeclaration|ValidId]*
406 public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; }
407
408 //[cft::EventDeclaration|ValidId]
409 public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; }
410
411 //ValidId
412 public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1; }
413 }
414 public class OrGateDefinitionElements extends AbstractParserRuleElementFinder {
415 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OrGateDefinition");
416 private final Group cGroup = (Group)rule.eContents().get(1);
417 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
418 private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
419 private final Keyword cOrKeyword_1 = (Keyword)cGroup.eContents().get(1);
420 private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2);
421 private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0);
422 private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1);
423
424 //OrGateDefinition cft::OrGateDefinition:
425 // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*;
426 @Override public ParserRule getRule() { return rule; }
427
428 //name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*
429 public Group getGroup() { return cGroup; }
430
431 //name=ValidId
432 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
433
434 //ValidId
435 public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; }
436
437 //"or"
438 public Keyword getOrKeyword_1() { return cOrKeyword_1; }
439
440 //inputEvents+=[cft::EventDeclaration|ValidId]*
441 public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; }
442
443 //[cft::EventDeclaration|ValidId]
444 public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; }
445
446 //ValidId
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; }
515 }
516 public class TransformationDefinitionElements extends AbstractParserRuleElementFinder {
517 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition");
518 private final Group cGroup = (Group)rule.eContents().get(1);
519 private final Keyword cTransformationKeyword_0 = (Keyword)cGroup.eContents().get(0);
520 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
521 private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
522 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
523 private final Assignment cMappingDefinitionsAssignment_3 = (Assignment)cGroup.eContents().get(3);
524 private final RuleCall cMappingDefinitionsMappingDefinitionParserRuleCall_3_0 = (RuleCall)cMappingDefinitionsAssignment_3.eContents().get(0);
525 private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
526
527 //TransformationDefinition:
528 // "transformation" name=ValidId "{"
529 // mappingDefinitions+=MappingDefinition*
530 // "}";
531 @Override public ParserRule getRule() { return rule; }
532
533 //"transformation" name=ValidId "{" mappingDefinitions+=MappingDefinition* "}"
534 public Group getGroup() { return cGroup; }
535
536 //"transformation"
537 public Keyword getTransformationKeyword_0() { return cTransformationKeyword_0; }
538
539 //name=ValidId
540 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
541
542 //ValidId
543 public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; }
544
545 //"{"
546 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
547
548 //mappingDefinitions+=MappingDefinition*
549 public Assignment getMappingDefinitionsAssignment_3() { return cMappingDefinitionsAssignment_3; }
550
551 //MappingDefinition
552 public RuleCall getMappingDefinitionsMappingDefinitionParserRuleCall_3_0() { return cMappingDefinitionsMappingDefinitionParserRuleCall_3_0; }
553
554 //"}"
555 public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
556 }
557 public class MappingDefinitionElements extends AbstractParserRuleElementFinder {
558 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition");
559 private final Group cGroup = (Group)rule.eContents().get(1);
560 private final Assignment cTopLevelAssignment_0 = (Assignment)cGroup.eContents().get(0);
561 private final Keyword cTopLevelToplevelKeyword_0_0 = (Keyword)cTopLevelAssignment_0.eContents().get(0);
562 private final Keyword cMappingKeyword_1 = (Keyword)cGroup.eContents().get(1);
563 private final Assignment cPatternAssignment_2 = (Assignment)cGroup.eContents().get(2);
564 private final CrossReference cPatternPatternCrossReference_2_0 = (CrossReference)cPatternAssignment_2.eContents().get(0);
565 private final RuleCall cPatternPatternQualifiedNameParserRuleCall_2_0_1 = (RuleCall)cPatternPatternCrossReference_2_0.eContents().get(1);
566 private final Keyword cLeftParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3);
567 private final Assignment cParametersAssignment_4 = (Assignment)cGroup.eContents().get(4);
568 private final RuleCall cParametersMappingParameterParserRuleCall_4_0 = (RuleCall)cParametersAssignment_4.eContents().get(0);
569 private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
570 private final Keyword cCommaKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
571 private final Assignment cParametersAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
572 private final RuleCall cParametersMappingParameterParserRuleCall_5_1_0 = (RuleCall)cParametersAssignment_5_1.eContents().get(0);
573 private final Keyword cRightParenthesisKeyword_6 = (Keyword)cGroup.eContents().get(6);
574 private final Assignment cComponentInstanceAssignment_7 = (Assignment)cGroup.eContents().get(7);
575 private final RuleCall cComponentInstanceComponentInstanceParserRuleCall_7_0 = (RuleCall)cComponentInstanceAssignment_7.eContents().get(0);
576 private final Group cGroup_8 = (Group)cGroup.eContents().get(8);
577 private final Keyword cLeftCurlyBracketKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0);
578 private final Group cGroup_8_1 = (Group)cGroup_8.eContents().get(1);
579 private final Alternatives cAlternatives_8_1_0 = (Alternatives)cGroup_8_1.eContents().get(0);
580 private final Assignment cLookupDefinitionsAssignment_8_1_0_0 = (Assignment)cAlternatives_8_1_0.eContents().get(0);
581 private final RuleCall cLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0 = (RuleCall)cLookupDefinitionsAssignment_8_1_0_0.eContents().get(0);
582 private final Assignment cAssignmentsAssignment_8_1_0_1 = (Assignment)cAlternatives_8_1_0.eContents().get(1);
583 private final RuleCall cAssignmentsAssignmentParserRuleCall_8_1_0_1_0 = (RuleCall)cAssignmentsAssignment_8_1_0_1.eContents().get(0);
584 private final Keyword cSemicolonKeyword_8_1_1 = (Keyword)cGroup_8_1.eContents().get(1);
585 private final Keyword cRightCurlyBracketKeyword_8_2 = (Keyword)cGroup_8.eContents().get(2);
586
587 //MappingDefinition:
588 // topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName]
589 // "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")"
590 // componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")*
591 // "}")?;
592 @Override public ParserRule getRule() { return rule; }
593
594 //topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] "(" parameters+=MappingParameter (","
595 //parameters+=MappingParameter)* ")" componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition |
596 //assignments+=Assignment) ";")* "}")?
597 public Group getGroup() { return cGroup; }
598
599 //topLevel?="toplevel"?
600 public Assignment getTopLevelAssignment_0() { return cTopLevelAssignment_0; }
601
602 //"toplevel"
603 public Keyword getTopLevelToplevelKeyword_0_0() { return cTopLevelToplevelKeyword_0_0; }
604
605 //"mapping"
606 public Keyword getMappingKeyword_1() { return cMappingKeyword_1; }
607
608 //pattern=[vql::Pattern|QualifiedName]
609 public Assignment getPatternAssignment_2() { return cPatternAssignment_2; }
610
611 //[vql::Pattern|QualifiedName]
612 public CrossReference getPatternPatternCrossReference_2_0() { return cPatternPatternCrossReference_2_0; }
613
614 //QualifiedName
615 public RuleCall getPatternPatternQualifiedNameParserRuleCall_2_0_1() { return cPatternPatternQualifiedNameParserRuleCall_2_0_1; }
616
617 //"("
618 public Keyword getLeftParenthesisKeyword_3() { return cLeftParenthesisKeyword_3; }
619
620 //parameters+=MappingParameter
621 public Assignment getParametersAssignment_4() { return cParametersAssignment_4; }
622
623 //MappingParameter
624 public RuleCall getParametersMappingParameterParserRuleCall_4_0() { return cParametersMappingParameterParserRuleCall_4_0; }
625
626 //("," parameters+=MappingParameter)*
627 public Group getGroup_5() { return cGroup_5; }
628
629 //","
630 public Keyword getCommaKeyword_5_0() { return cCommaKeyword_5_0; }
631
632 //parameters+=MappingParameter
633 public Assignment getParametersAssignment_5_1() { return cParametersAssignment_5_1; }
634
635 //MappingParameter
636 public RuleCall getParametersMappingParameterParserRuleCall_5_1_0() { return cParametersMappingParameterParserRuleCall_5_1_0; }
637
638 //")"
639 public Keyword getRightParenthesisKeyword_6() { return cRightParenthesisKeyword_6; }
640
641 //componentInstance=ComponentInstance?
642 public Assignment getComponentInstanceAssignment_7() { return cComponentInstanceAssignment_7; }
643
644 //ComponentInstance
645 public RuleCall getComponentInstanceComponentInstanceParserRuleCall_7_0() { return cComponentInstanceComponentInstanceParserRuleCall_7_0; }
646
647 //("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* "}")?
648 public Group getGroup_8() { return cGroup_8; }
649
650 //"{"
651 public Keyword getLeftCurlyBracketKeyword_8_0() { return cLeftCurlyBracketKeyword_8_0; }
652
653 //((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")*
654 public Group getGroup_8_1() { return cGroup_8_1; }
655
656 //lookupDefinitions+=LookupDefinition | assignments+=Assignment
657 public Alternatives getAlternatives_8_1_0() { return cAlternatives_8_1_0; }
658
659 //lookupDefinitions+=LookupDefinition
660 public Assignment getLookupDefinitionsAssignment_8_1_0_0() { return cLookupDefinitionsAssignment_8_1_0_0; }
661
662 //LookupDefinition
663 public RuleCall getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0() { return cLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0; }
664
665 //assignments+=Assignment
666 public Assignment getAssignmentsAssignment_8_1_0_1() { return cAssignmentsAssignment_8_1_0_1; }
667
668 //Assignment
669 public RuleCall getAssignmentsAssignmentParserRuleCall_8_1_0_1_0() { return cAssignmentsAssignmentParserRuleCall_8_1_0_1_0; }
670
671 //";"
672 public Keyword getSemicolonKeyword_8_1_1() { return cSemicolonKeyword_8_1_1; }
673
674 //"}"
675 public Keyword getRightCurlyBracketKeyword_8_2() { return cRightCurlyBracketKeyword_8_2; }
676 }
677 public class MappingParameterElements extends AbstractParserRuleElementFinder {
678 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter");
679 private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1);
680 private final RuleCall cNameValidIdParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0);
681
682 //MappingParameter:
683 // name=ValidId;
684 @Override public ParserRule getRule() { return rule; }
685
686 //name=ValidId
687 public Assignment getNameAssignment() { return cNameAssignment; }
688
689 //ValidId
690 public RuleCall getNameValidIdParserRuleCall_0() { return cNameValidIdParserRuleCall_0; }
691 }
692 public class LookupDefinitionElements extends AbstractParserRuleElementFinder {
693 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition");
694 private final Group cGroup = (Group)rule.eContents().get(1);
695 private final Keyword cLookupKeyword_0 = (Keyword)cGroup.eContents().get(0);
696 private final Assignment cMappingAssignment_1 = (Assignment)cGroup.eContents().get(1);
697 private final CrossReference cMappingMappingDefinitionCrossReference_1_0 = (CrossReference)cMappingAssignment_1.eContents().get(0);
698 private final RuleCall cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cMappingMappingDefinitionCrossReference_1_0.eContents().get(1);
699 private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2);
700 private final Assignment cArgumentsAssignment_3 = (Assignment)cGroup.eContents().get(3);
701 private final CrossReference cArgumentsMappingParameterCrossReference_3_0 = (CrossReference)cArgumentsAssignment_3.eContents().get(0);
702 private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_3_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_3_0.eContents().get(1);
703 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
704 private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
705 private final Assignment cArgumentsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
706 private final CrossReference cArgumentsMappingParameterCrossReference_4_1_0 = (CrossReference)cArgumentsAssignment_4_1.eContents().get(0);
707 private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_4_1_0.eContents().get(1);
708 private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5);
709 private final Keyword cAsKeyword_6 = (Keyword)cGroup.eContents().get(6);
710 private final Assignment cNameAssignment_7 = (Assignment)cGroup.eContents().get(7);
711 private final RuleCall cNameValidIdParserRuleCall_7_0 = (RuleCall)cNameAssignment_7.eContents().get(0);
712
713 //LookupDefinition:
714 // "lookup" mapping=[MappingDefinition|QualifiedName]
715 // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")"
716 // "as" name=ValidId;
717 @Override public ParserRule getRule() { return rule; }
718
719 //"lookup" mapping=[MappingDefinition|QualifiedName] "(" arguments+=[MappingParameter|ValidId] (","
720 //arguments+=[MappingParameter|ValidId])* ")" "as" name=ValidId
721 public Group getGroup() { return cGroup; }
722
723 //"lookup"
724 public Keyword getLookupKeyword_0() { return cLookupKeyword_0; }
725
726 //mapping=[MappingDefinition|QualifiedName]
727 public Assignment getMappingAssignment_1() { return cMappingAssignment_1; }
728
729 //[MappingDefinition|QualifiedName]
730 public CrossReference getMappingMappingDefinitionCrossReference_1_0() { return cMappingMappingDefinitionCrossReference_1_0; }
731
732 //QualifiedName
733 public RuleCall getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1() { return cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1; }
734
735 //"("
736 public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; }
737
738 //arguments+=[MappingParameter|ValidId]
739 public Assignment getArgumentsAssignment_3() { return cArgumentsAssignment_3; }
740
741 //[MappingParameter|ValidId]
742 public CrossReference getArgumentsMappingParameterCrossReference_3_0() { return cArgumentsMappingParameterCrossReference_3_0; }
743
744 //ValidId
745 public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_3_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_3_0_1; }
746
747 //("," arguments+=[MappingParameter|ValidId])*
748 public Group getGroup_4() { return cGroup_4; }
749
750 //","
751 public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; }
752
753 //arguments+=[MappingParameter|ValidId]
754 public Assignment getArgumentsAssignment_4_1() { return cArgumentsAssignment_4_1; }
755
756 //[MappingParameter|ValidId]
757 public CrossReference getArgumentsMappingParameterCrossReference_4_1_0() { return cArgumentsMappingParameterCrossReference_4_1_0; }
758
759 //ValidId
760 public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1; }
761
762 //")"
763 public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; }
764
765 //"as"
766 public Keyword getAsKeyword_6() { return cAsKeyword_6; }
767
768 //name=ValidId
769 public Assignment getNameAssignment_7() { return cNameAssignment_7; }
770
771 //ValidId
772 public RuleCall getNameValidIdParserRuleCall_7_0() { return cNameValidIdParserRuleCall_7_0; }
773 }
774 public class VariableElements extends AbstractParserRuleElementFinder {
775 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Variable");
776 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
777 private final RuleCall cComponentInstanceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
778 private final RuleCall cLookupDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
779
780 //Variable:
781 // ComponentInstance | LookupDefinition;
782 @Override public ParserRule getRule() { return rule; }
783
784 //ComponentInstance | LookupDefinition
785 public Alternatives getAlternatives() { return cAlternatives; }
786
787 //ComponentInstance
788 public RuleCall getComponentInstanceParserRuleCall_0() { return cComponentInstanceParserRuleCall_0; }
789
790 //LookupDefinition
791 public RuleCall getLookupDefinitionParserRuleCall_1() { return cLookupDefinitionParserRuleCall_1; }
792 }
793 public class AssignmentElements extends AbstractParserRuleElementFinder {
794 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment");
795 private final Group cGroup = (Group)rule.eContents().get(1);
796 private final Assignment cInputAssignment_0 = (Assignment)cGroup.eContents().get(0);
797 private final RuleCall cInputEventReferenceParserRuleCall_0_0 = (RuleCall)cInputAssignment_0.eContents().get(0);
798 private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
799 private final Assignment cMultipleAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0);
800 private final Keyword cMultiplePlusSignEqualsSignKeyword_1_0_0 = (Keyword)cMultipleAssignment_1_0.eContents().get(0);
801 private final Keyword cColonEqualsSignKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1);
802 private final Assignment cOutputAssignment_2 = (Assignment)cGroup.eContents().get(2);
803 private final RuleCall cOutputEventReferenceParserRuleCall_2_0 = (RuleCall)cOutputAssignment_2.eContents().get(0);
804
805 //Assignment:
806 // input=EventReference (multiple?="+=" | ":=") output=EventReference;
807 @Override public ParserRule getRule() { return rule; }
808
809 //input=EventReference (multiple?="+=" | ":=") output=EventReference
810 public Group getGroup() { return cGroup; }
811
812 //input=EventReference
813 public Assignment getInputAssignment_0() { return cInputAssignment_0; }
814
815 //EventReference
816 public RuleCall getInputEventReferenceParserRuleCall_0_0() { return cInputEventReferenceParserRuleCall_0_0; }
817
818 //multiple?="+=" | ":="
819 public Alternatives getAlternatives_1() { return cAlternatives_1; }
820
821 //multiple?="+="
822 public Assignment getMultipleAssignment_1_0() { return cMultipleAssignment_1_0; }
823
824 //"+="
825 public Keyword getMultiplePlusSignEqualsSignKeyword_1_0_0() { return cMultiplePlusSignEqualsSignKeyword_1_0_0; }
826
827 //":="
828 public Keyword getColonEqualsSignKeyword_1_1() { return cColonEqualsSignKeyword_1_1; }
829
830 //output=EventReference
831 public Assignment getOutputAssignment_2() { return cOutputAssignment_2; }
832
833 //EventReference
834 public RuleCall getOutputEventReferenceParserRuleCall_2_0() { return cOutputEventReferenceParserRuleCall_2_0; }
835 }
836 public class EventReferenceElements extends AbstractParserRuleElementFinder {
837 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference");
838 private final Group cGroup = (Group)rule.eContents().get(1);
839 private final Assignment cComponentAssignment_0 = (Assignment)cGroup.eContents().get(0);
840 private final CrossReference cComponentVariableCrossReference_0_0 = (CrossReference)cComponentAssignment_0.eContents().get(0);
841 private final RuleCall cComponentVariableValidIdParserRuleCall_0_0_1 = (RuleCall)cComponentVariableCrossReference_0_0.eContents().get(1);
842 private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1);
843 private final Assignment cEventAssignment_2 = (Assignment)cGroup.eContents().get(2);
844 private final CrossReference cEventEventDeclarationCrossReference_2_0 = (CrossReference)cEventAssignment_2.eContents().get(0);
845 private final RuleCall cEventEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cEventEventDeclarationCrossReference_2_0.eContents().get(1);
846
847 //EventReference:
848 // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId];
849 @Override public ParserRule getRule() { return rule; }
850
851 //component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]
852 public Group getGroup() { return cGroup; }
853
854 //component=[Variable|ValidId]
855 public Assignment getComponentAssignment_0() { return cComponentAssignment_0; }
856
857 //[Variable|ValidId]
858 public CrossReference getComponentVariableCrossReference_0_0() { return cComponentVariableCrossReference_0_0; }
859
860 //ValidId
861 public RuleCall getComponentVariableValidIdParserRuleCall_0_0_1() { return cComponentVariableValidIdParserRuleCall_0_0_1; }
862
863 //"."
864 public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; }
865
866 //event=[cft::EventDeclaration|ValidId]
867 public Assignment getEventAssignment_2() { return cEventAssignment_2; }
868
869 //[cft::EventDeclaration|ValidId]
870 public CrossReference getEventEventDeclarationCrossReference_2_0() { return cEventEventDeclarationCrossReference_2_0; }
871
872 //ValidId
873 public RuleCall getEventEventDeclarationValidIdParserRuleCall_2_0_1() { return cEventEventDeclarationValidIdParserRuleCall_2_0_1; }
874 }
875 public class ComponentInstanceElements extends AbstractParserRuleElementFinder {
876 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance");
877 private final Group cGroup = (Group)rule.eContents().get(1);
878 private final Keyword cEqualsSignGreaterThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
879 private final Assignment cComponentTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
880 private final CrossReference cComponentTypeComponentDefinitionCrossReference_1_0 = (CrossReference)cComponentTypeAssignment_1.eContents().get(0);
881 private final RuleCall cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cComponentTypeComponentDefinitionCrossReference_1_0.eContents().get(1);
882 private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
883 private final RuleCall cNameValidIdParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
884
885 //ComponentInstance:
886 // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?;
887 @Override public ParserRule getRule() { return rule; }
888
889 //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?
890 public Group getGroup() { return cGroup; }
891
892 //"=>"
893 public Keyword getEqualsSignGreaterThanSignKeyword_0() { return cEqualsSignGreaterThanSignKeyword_0; }
894
895 //componentType=[cft::ComponentDefinition|QualifiedName]
896 public Assignment getComponentTypeAssignment_1() { return cComponentTypeAssignment_1; }
897
898 //[cft::ComponentDefinition|QualifiedName]
899 public CrossReference getComponentTypeComponentDefinitionCrossReference_1_0() { return cComponentTypeComponentDefinitionCrossReference_1_0; }
900
901 //QualifiedName
902 public RuleCall getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1() { return cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1; }
903
904 //name=ValidId?
905 public Assignment getNameAssignment_2() { return cNameAssignment_2; }
906
907 //ValidId
908 public RuleCall getNameValidIdParserRuleCall_2_0() { return cNameValidIdParserRuleCall_2_0; }
909 }
910 public class QualifiedNameElements extends AbstractParserRuleElementFinder {
911 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName");
912 private final Group cGroup = (Group)rule.eContents().get(1);
913 private final RuleCall cValidIdParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
914 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
915 private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
916 private final RuleCall cValidIdParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
917
918 //QualifiedName:
919 // ValidId ("." ValidId)*;
920 @Override public ParserRule getRule() { return rule; }
921
922 //ValidId ("." ValidId)*
923 public Group getGroup() { return cGroup; }
924
925 //ValidId
926 public RuleCall getValidIdParserRuleCall_0() { return cValidIdParserRuleCall_0; }
927
928 //("." ValidId)*
929 public Group getGroup_1() { return cGroup_1; }
930
931 //"."
932 public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
933
934 //ValidId
935 public RuleCall getValidIdParserRuleCall_1_1() { return cValidIdParserRuleCall_1_1; }
936 }
937 public class QualifiedNameWithWildcardElements extends AbstractParserRuleElementFinder {
938 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard");
939 private final Group cGroup = (Group)rule.eContents().get(1);
940 private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
941 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
942 private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
943 private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
944
945 //QualifiedNameWithWildcard:
946 // QualifiedName ("." "*")?;
947 @Override public ParserRule getRule() { return rule; }
948
949 //QualifiedName ("." "*")?
950 public Group getGroup() { return cGroup; }
951
952 //QualifiedName
953 public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; }
954
955 //("." "*")?
956 public Group getGroup_1() { return cGroup_1; }
957
958 //"."
959 public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
960
961 //"*"
962 public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; }
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 }
1002
1003
1004 private final CftModelElements pCftModel;
1005 private final ImportDeclarationElements pImportDeclaration;
1006 private final ComponentDefinitionElements pComponentDefinition;
1007 private final InputEventElements pInputEvent;
1008 private final EventDefinitionElements pEventDefinition;
1009 private final BasicEventDefinitionElements pBasicEventDefinition;
1010 private final DistributionElements pDistribution;
1011 private final ConstantDistributionElements pConstantDistribution;
1012 private final ExponentialDistributionElements pExponentialDistribution;
1013 private final GateDefinitionElements pGateDefinition;
1014 private final AndGateDefinitionElements pAndGateDefinition;
1015 private final OrGateDefinitionElements pOrGateDefinition;
1016 private final KOfMGateDefinitionElements pKOfMGateDefinition;
1017 private final TransformationDefinitionElements pTransformationDefinition;
1018 private final MappingDefinitionElements pMappingDefinition;
1019 private final MappingParameterElements pMappingParameter;
1020 private final LookupDefinitionElements pLookupDefinition;
1021 private final VariableElements pVariable;
1022 private final AssignmentElements pAssignment;
1023 private final EventReferenceElements pEventReference;
1024 private final ComponentInstanceElements pComponentInstance;
1025 private final QualifiedNameElements pQualifiedName;
1026 private final QualifiedNameWithWildcardElements pQualifiedNameWithWildcard;
1027 private final ValidIdElements pValidId;
1028 private final DoubleElements pDouble;
1029 private final TerminalRule tOF_INT;
1030 private final TerminalRule tT_DOUBLE;
1031
1032 private final Grammar grammar;
1033
1034 private final TerminalsGrammarAccess gaTerminals;
1035
1036 @Inject
1037 public CftLanguageGrammarAccess(GrammarProvider grammarProvider,
1038 TerminalsGrammarAccess gaTerminals) {
1039 this.grammar = internalFindGrammar(grammarProvider);
1040 this.gaTerminals = gaTerminals;
1041 this.pCftModel = new CftModelElements();
1042 this.pImportDeclaration = new ImportDeclarationElements();
1043 this.pComponentDefinition = new ComponentDefinitionElements();
1044 this.pInputEvent = new InputEventElements();
1045 this.pEventDefinition = new EventDefinitionElements();
1046 this.pBasicEventDefinition = new BasicEventDefinitionElements();
1047 this.pDistribution = new DistributionElements();
1048 this.pConstantDistribution = new ConstantDistributionElements();
1049 this.pExponentialDistribution = new ExponentialDistributionElements();
1050 this.pGateDefinition = new GateDefinitionElements();
1051 this.pAndGateDefinition = new AndGateDefinitionElements();
1052 this.pOrGateDefinition = new OrGateDefinitionElements();
1053 this.pKOfMGateDefinition = new KOfMGateDefinitionElements();
1054 this.pTransformationDefinition = new TransformationDefinitionElements();
1055 this.pMappingDefinition = new MappingDefinitionElements();
1056 this.pMappingParameter = new MappingParameterElements();
1057 this.pLookupDefinition = new LookupDefinitionElements();
1058 this.pVariable = new VariableElements();
1059 this.pAssignment = new AssignmentElements();
1060 this.pEventReference = new EventReferenceElements();
1061 this.pComponentInstance = new ComponentInstanceElements();
1062 this.pQualifiedName = new QualifiedNameElements();
1063 this.pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElements();
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");
1068 }
1069
1070 protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
1071 Grammar grammar = grammarProvider.getGrammar(this);
1072 while (grammar != null) {
1073 if ("hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage".equals(grammar.getName())) {
1074 return grammar;
1075 }
1076 List<Grammar> grammars = grammar.getUsedGrammars();
1077 if (!grammars.isEmpty()) {
1078 grammar = grammars.iterator().next();
1079 } else {
1080 return null;
1081 }
1082 }
1083 return grammar;
1084 }
1085
1086 @Override
1087 public Grammar getGrammar() {
1088 return grammar;
1089 }
1090
1091
1092 public TerminalsGrammarAccess getTerminalsGrammarAccess() {
1093 return gaTerminals;
1094 }
1095
1096
1097 //CftModel:
1098 // "package" packageName=QualifiedName ";"?
1099 // imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition |
1100 // transformationDefinitions+=TransformationDefinition)*;
1101 public CftModelElements getCftModelAccess() {
1102 return pCftModel;
1103 }
1104
1105 public ParserRule getCftModelRule() {
1106 return getCftModelAccess().getRule();
1107 }
1108
1109 //ImportDeclaration:
1110 // "import" importedNamespace=QualifiedNameWithWildcard ";"?;
1111 public ImportDeclarationElements getImportDeclarationAccess() {
1112 return pImportDeclaration;
1113 }
1114
1115 public ParserRule getImportDeclarationRule() {
1116 return getImportDeclarationAccess().getRule();
1117 }
1118
1119 //ComponentDefinition cft::ComponentDefinition:
1120 // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]*
1121 // ";")?) (eventDefinitions+=EventDefinition ";")*
1122 // "}";
1123 public ComponentDefinitionElements getComponentDefinitionAccess() {
1124 return pComponentDefinition;
1125 }
1126
1127 public ParserRule getComponentDefinitionRule() {
1128 return getComponentDefinitionAccess().getRule();
1129 }
1130
1131 //InputEvent cft::InputEvent:
1132 // name=ValidId multiple?="[]"?;
1133 public InputEventElements getInputEventAccess() {
1134 return pInputEvent;
1135 }
1136
1137 public ParserRule getInputEventRule() {
1138 return getInputEventAccess().getRule();
1139 }
1140
1141 //EventDefinition cft::EventDefinition:
1142 // BasicEventDefinition | GateDefinition;
1143 public EventDefinitionElements getEventDefinitionAccess() {
1144 return pEventDefinition;
1145 }
1146
1147 public ParserRule getEventDefinitionRule() {
1148 return getEventDefinitionAccess().getRule();
1149 }
1150
1151 //BasicEventDefinition cft::BasicEventDefinition:
1152 // name=ValidId distribution=Distribution;
1153 public BasicEventDefinitionElements getBasicEventDefinitionAccess() {
1154 return pBasicEventDefinition;
1155 }
1156
1157 public ParserRule getBasicEventDefinitionRule() {
1158 return getBasicEventDefinitionAccess().getRule();
1159 }
1160
1161 //Distribution ft::Distribution:
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 // "prob" "=" 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;
1193 public GateDefinitionElements getGateDefinitionAccess() {
1194 return pGateDefinition;
1195 }
1196
1197 public ParserRule getGateDefinitionRule() {
1198 return getGateDefinitionAccess().getRule();
1199 }
1200
1201 //AndGateDefinition cft::AndGateDefinition:
1202 // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*;
1203 public AndGateDefinitionElements getAndGateDefinitionAccess() {
1204 return pAndGateDefinition;
1205 }
1206
1207 public ParserRule getAndGateDefinitionRule() {
1208 return getAndGateDefinitionAccess().getRule();
1209 }
1210
1211 //OrGateDefinition cft::OrGateDefinition:
1212 // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*;
1213 public OrGateDefinitionElements getOrGateDefinitionAccess() {
1214 return pOrGateDefinition;
1215 }
1216
1217 public ParserRule getOrGateDefinitionRule() {
1218 return getOrGateDefinitionAccess().getRule();
1219 }
1220
1221 //KOfMGateDefinition cft::KOfMGateDefinition:
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();
1229 }
1230
1231 //TransformationDefinition:
1232 // "transformation" name=ValidId "{"
1233 // mappingDefinitions+=MappingDefinition*
1234 // "}";
1235 public TransformationDefinitionElements getTransformationDefinitionAccess() {
1236 return pTransformationDefinition;
1237 }
1238
1239 public ParserRule getTransformationDefinitionRule() {
1240 return getTransformationDefinitionAccess().getRule();
1241 }
1242
1243 //MappingDefinition:
1244 // topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName]
1245 // "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")"
1246 // componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")*
1247 // "}")?;
1248 public MappingDefinitionElements getMappingDefinitionAccess() {
1249 return pMappingDefinition;
1250 }
1251
1252 public ParserRule getMappingDefinitionRule() {
1253 return getMappingDefinitionAccess().getRule();
1254 }
1255
1256 //MappingParameter:
1257 // name=ValidId;
1258 public MappingParameterElements getMappingParameterAccess() {
1259 return pMappingParameter;
1260 }
1261
1262 public ParserRule getMappingParameterRule() {
1263 return getMappingParameterAccess().getRule();
1264 }
1265
1266 //LookupDefinition:
1267 // "lookup" mapping=[MappingDefinition|QualifiedName]
1268 // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")"
1269 // "as" name=ValidId;
1270 public LookupDefinitionElements getLookupDefinitionAccess() {
1271 return pLookupDefinition;
1272 }
1273
1274 public ParserRule getLookupDefinitionRule() {
1275 return getLookupDefinitionAccess().getRule();
1276 }
1277
1278 //Variable:
1279 // ComponentInstance | LookupDefinition;
1280 public VariableElements getVariableAccess() {
1281 return pVariable;
1282 }
1283
1284 public ParserRule getVariableRule() {
1285 return getVariableAccess().getRule();
1286 }
1287
1288 //Assignment:
1289 // input=EventReference (multiple?="+=" | ":=") output=EventReference;
1290 public AssignmentElements getAssignmentAccess() {
1291 return pAssignment;
1292 }
1293
1294 public ParserRule getAssignmentRule() {
1295 return getAssignmentAccess().getRule();
1296 }
1297
1298 //EventReference:
1299 // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId];
1300 public EventReferenceElements getEventReferenceAccess() {
1301 return pEventReference;
1302 }
1303
1304 public ParserRule getEventReferenceRule() {
1305 return getEventReferenceAccess().getRule();
1306 }
1307
1308 //ComponentInstance:
1309 // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?;
1310 public ComponentInstanceElements getComponentInstanceAccess() {
1311 return pComponentInstance;
1312 }
1313
1314 public ParserRule getComponentInstanceRule() {
1315 return getComponentInstanceAccess().getRule();
1316 }
1317
1318 //QualifiedName:
1319 // ValidId ("." ValidId)*;
1320 public QualifiedNameElements getQualifiedNameAccess() {
1321 return pQualifiedName;
1322 }
1323
1324 public ParserRule getQualifiedNameRule() {
1325 return getQualifiedNameAccess().getRule();
1326 }
1327
1328 //QualifiedNameWithWildcard:
1329 // QualifiedName ("." "*")?;
1330 public QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
1331 return pQualifiedNameWithWildcard;
1332 }
1333
1334 public ParserRule getQualifiedNameWithWildcardRule() {
1335 return getQualifiedNameWithWildcardAccess().getRule();
1336 }
1337
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:
1365 // '0'..'9'+ ("." '0'..'9'+ | ("." '0'..'9'+)? ("e" | "E") ("+" | "-")? '0'..'9'+);
1366 public TerminalRule getT_DOUBLERule() {
1367 return tT_DOUBLE;
1368 }
1369
1370 //terminal ID:
1371 // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
1372 public TerminalRule getIDRule() {
1373 return gaTerminals.getIDRule();
1374 }
1375
1376 //terminal INT returns ecore::EInt:
1377 // '0'..'9'+;
1378 public TerminalRule getINTRule() {
1379 return gaTerminals.getINTRule();
1380 }
1381
1382 //terminal STRING:
1383 // '"' ('\\' . | !('\\' | '"'))* '"' |
1384 // "'" ('\\' . | !('\\' | "'"))* "'";
1385 public TerminalRule getSTRINGRule() {
1386 return gaTerminals.getSTRINGRule();
1387 }
1388
1389 //terminal ML_COMMENT:
1390 // '/*'->'*/';
1391 public TerminalRule getML_COMMENTRule() {
1392 return gaTerminals.getML_COMMENTRule();
1393 }
1394
1395 //terminal SL_COMMENT:
1396 // '//' !('\n' | '\r')* ('\r'? '\n')?;
1397 public TerminalRule getSL_COMMENTRule() {
1398 return gaTerminals.getSL_COMMENTRule();
1399 }
1400
1401 //terminal WS:
1402 // ' ' | '\t' | '\r' | '\n'+;
1403 public TerminalRule getWSRule() {
1404 return gaTerminals.getWSRule();
1405 }
1406
1407 //terminal ANY_OTHER:
1408 // .;
1409 public TerminalRule getANY_OTHERRule() {
1410 return gaTerminals.getANY_OTHERRule();
1411 }
1412}
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
deleted file mode 100644
index 1c5dbdee..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.validation;
5
6import java.util.ArrayList;
7import java.util.List;
8import org.eclipse.emf.ecore.EPackage;
9import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
10
11public abstract class AbstractCftLanguageValidator extends AbstractDeclarativeValidator {
12
13 @Override
14 protected List<EPackage> getEPackages() {
15 List<EPackage> result = new ArrayList<EPackage>();
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"));
19 return result;
20 }
21}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java
deleted file mode 100644
index 642dcb1d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.validation;
5
6import org.eclipse.xtext.preferences.PreferenceKey;
7import org.eclipse.xtext.util.IAcceptor;
8import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider;
9import org.eclipse.xtext.validation.SeverityConverter;
10
11@SuppressWarnings("restriction")
12public class CftLanguageConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider {
13 protected static final String ISSUE_CODE_PREFIX = "hu.bme.mit.inf.dslreasoner.faulttree.components.";
14
15 public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart";
16
17 @Override
18 protected void initialize(IAcceptor<PreferenceKey> acceptor) {
19 super.initialize(acceptor);
20 acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING));
21 }
22}
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
deleted file mode 100644
index ab053f67..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext
+++ /dev/null
@@ -1,101 +0,0 @@
1grammar hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage with org.eclipse.xtext.common.Terminals
2
3import "http://www.eclipse.org/emf/2002/Ecore" as ecore
4import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as vql
5import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft" as ft
6import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft" as cft
7generate cftLanguage "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage"
8
9CftModel:
10 "package" packageName=QualifiedName ";"?
11 imports+=ImportDeclaration*
12 (componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)*;
13
14ImportDeclaration:
15 "import" importedNamespace=QualifiedNameWithWildcard ";"?;
16
17ComponentDefinition returns cft::ComponentDefinition:
18 "cft" name=ValidId "{"
19 (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")?)
20 (eventDefinitions+=EventDefinition ";")*
21 "}";
22
23InputEvent returns cft::InputEvent:
24 name=ValidId multiple?="[]"?;
25
26EventDefinition returns cft::EventDefinition:
27 BasicEventDefinition | GateDefinition;
28
29BasicEventDefinition returns cft::BasicEventDefinition:
30 name=ValidId distribution=Distribution;
31
32Distribution returns ft::Distribution:
33 ConstantDistribution | ExponentialDistribution;
34
35ConstantDistribution returns ft::ConstantDistribution:
36 "prob" "=" p=Double;
37
38ExponentialDistribution returns ft::ExponentialDistribution:
39 "lambda" "=" lambda=Double;
40
41GateDefinition returns cft::GateDefinition:
42 AndGateDefinition | OrGateDefinition | KOfMGateDefinition;
43
44AndGateDefinition returns cft::AndGateDefinition:
45 name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*;
46
47OrGateDefinition returns cft::OrGateDefinition:
48 name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*;
49
50KOfMGateDefinition returns cft::KOfMGateDefinition:
51 name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*;
52
53TransformationDefinition:
54 "transformation" name=ValidId "{"
55 mappingDefinitions+=MappingDefinition*
56 "}";
57
58MappingDefinition:
59 topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName]
60 "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")"
61 (componentInstance=ComponentInstance)? ("{"
62 ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")*
63 "}")?;
64
65MappingParameter:
66 name=ValidId;
67
68LookupDefinition:
69 "lookup" mapping=[MappingDefinition|QualifiedName]
70 "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")"
71 "as" name=ValidId;
72
73Variable:
74 ComponentInstance | LookupDefinition;
75
76Assignment:
77 input=EventReference (multiple?="+=" | ":=") output=EventReference;
78
79EventReference:
80 component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId];
81
82ComponentInstance:
83 "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?;
84
85QualifiedName returns ecore::EString:
86 ValidId ("." ValidId)*;
87
88QualifiedNameWithWildcard returns ecore::EString:
89 QualifiedName ("." "*")?;
90
91ValidId:
92 ID | OF_INT;
93
94Double returns ecore::EDouble:
95 INT | T_DOUBLE;
96
97terminal OF_INT returns ecore::EInt:
98 "o" "f" ('0'..'9')+;
99
100terminal T_DOUBLE:
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
deleted file mode 100644
index fe5965fa..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components
5
6import com.google.inject.Binder
7import com.google.inject.name.Names
8import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService
9import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider
10import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider
11import org.eclipse.xtext.scoping.IScopeProvider
12import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
13import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider
14
15/**
16 * Use this class to register components to be used at runtime / without the Equinox extension registry.
17 */
18class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule {
19
20 override bindIGlobalScopeProvider() {
21 DefaultGlobalScopeProvider
22 }
23
24 override configureIScopeProviderDelegate(Binder binder) {
25 binder.bind(IScopeProvider).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(
26 CftLanguageImportedNamespaceAwareLocalScopeProvider)
27 }
28
29
30 override bindIQualifiedNameProvider() {
31 CftLanguageQualifiedNameProvider
32 }
33
34 override bindIValueConverterService() {
35 CftLanguageValueConverterService
36 }
37}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend
deleted file mode 100644
index 7ec57980..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend
+++ /dev/null
@@ -1,15 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components
5
6
7/**
8 * Initialization support for running Xtext languages without Equinox extension registry.
9 */
10class CftLanguageStandaloneSetup extends CftLanguageStandaloneSetupGenerated {
11
12 def static void doSetup() {
13 new CftLanguageStandaloneSetup().createInjectorAndDoEMFRegistration()
14 }
15}
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
deleted file mode 100644
index 89efbb05..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2
+++ /dev/null
@@ -1,48 +0,0 @@
1module hu.bme.mit.inf.dslreasoner.faulttree.components.GenerateCftLanguage
2
3import org.eclipse.xtext.xtext.generator.*
4import org.eclipse.xtext.xtext.generator.model.project.*
5
6var rootPath = ".."
7
8Workflow {
9
10 component = XtextGenerator {
11 configuration = {
12 project = StandardProjectConfig {
13 baseName = "hu.bme.mit.inf.dslreasoner.faulttree.components"
14 rootPath = rootPath
15 eclipsePlugin = {
16 enabled = true
17 }
18 createEclipseMetaData = true
19 }
20 code = {
21 encoding = "UTF-8"
22 lineDelimiter = "\n"
23 fileHeader = "/*\n * generated by Xtext \${version}\n */"
24 }
25 }
26 language = StandardLanguage {
27 name = "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"
28 fileExtensions = "cft"
29
30 referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.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"
34
35 serializer = {
36 generateStub = false
37 }
38 validator = {
39 // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
40 // Generates checks for @Deprecated grammar annotations, an IssueProvider and a corresponding PropertyPage
41 generateDeprecationValidation = true
42 }
43 junitSupport = {
44 junitVersion = "5"
45 }
46 }
47 }
48}
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
deleted file mode 100644
index 974e0df4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend
+++ /dev/null
@@ -1,15 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion
2
3import com.google.inject.Inject
4import org.eclipse.xtext.common.services.DefaultTerminalConverters
5import org.eclipse.xtext.conversion.IValueConverter
6import org.eclipse.xtext.conversion.ValueConverter
7
8class 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
deleted file mode 100644
index ba3d39e6..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend
+++ /dev/null
@@ -1,35 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion
2
3import org.eclipse.xtext.conversion.ValueConverterException
4import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter
5import org.eclipse.xtext.nodemodel.INode
6
7class 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/generator/CftLanguageGenerator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend
deleted file mode 100644
index d7ebace4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend
+++ /dev/null
@@ -1,25 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.generator
5
6import org.eclipse.emf.ecore.resource.Resource
7import org.eclipse.xtext.generator.AbstractGenerator
8import org.eclipse.xtext.generator.IFileSystemAccess2
9import org.eclipse.xtext.generator.IGeneratorContext
10
11/**
12 * Generates code from your model files on save.
13 *
14 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
15 */
16class CftLanguageGenerator extends AbstractGenerator {
17
18 override void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) {
19// fsa.generateFile('greetings.txt', 'People to greet: ' +
20// resource.allContents
21// .filter(Greeting)
22// .map[name]
23// .join(', '))
24 }
25}
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
deleted file mode 100644
index db89ebf9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend
+++ /dev/null
@@ -1,27 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.naming
2
3import com.google.inject.Inject
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
6import org.eclipse.emf.ecore.EObject
7import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider
8
9class CftLanguageQualifiedNameProvider extends DefaultDeclarativeQualifiedNameProvider {
10 @Inject PackageNameProvider packageNameProvider
11
12 def qualifiedName(ComponentDefinition componentDefinition) {
13 computePackageQualifiedName(componentDefinition, componentDefinition.name)
14 }
15
16 def qualifiedName(TransformationDefinition transformationDefinition) {
17 computePackageQualifiedName(transformationDefinition, transformationDefinition.name)
18 }
19
20 private def computePackageQualifiedName(EObject eObj, String name) {
21 if (name === null) {
22 return null
23 }
24 val packageQualifier = packageNameProvider.getPackageName(eObj)
25 packageQualifier.append(name)
26 }
27}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend
deleted file mode 100644
index a05c8138..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend
+++ /dev/null
@@ -1,30 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.naming
2
3import com.google.inject.Inject
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel
5import org.eclipse.emf.ecore.EObject
6import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor
7import org.eclipse.xtext.EcoreUtil2
8import org.eclipse.xtext.naming.IQualifiedNameConverter
9import org.eclipse.xtext.naming.QualifiedName
10
11class PackageNameProvider {
12 val IQualifiedNameConverter qualifiedNameConverter
13
14 @FinalFieldsConstructor
15 @Inject
16 new() {
17 }
18
19 def getPackageName(EObject eObj) {
20 if (eObj === null) {
21 return QualifiedName.EMPTY
22 }
23 val pacakgeName = EcoreUtil2.getContainerOfType(eObj, CftModel)?.packageName
24 if (pacakgeName.isNullOrEmpty) {
25 QualifiedName.EMPTY
26 } else {
27 qualifiedNameConverter.toQualifiedName(pacakgeName)
28 }
29 }
30}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend
deleted file mode 100644
index 39a6e5a5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend
+++ /dev/null
@@ -1,45 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping
2
3import com.google.inject.Inject
4import com.google.inject.Singleton
5import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider
6import org.eclipse.emf.ecore.EObject
7import org.eclipse.emf.ecore.EReference
8import org.eclipse.xtext.naming.IQualifiedNameConverter
9import org.eclipse.xtext.naming.IQualifiedNameProvider
10import org.eclipse.xtext.scoping.ICaseInsensitivityHelper
11import org.eclipse.xtext.scoping.IGlobalScopeProvider
12import org.eclipse.xtext.scoping.IScope
13import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider
14
15@Singleton
16class CftLanguageImportedNamespaceAwareLocalScopeProvider extends ImportedNamespaceAwareLocalScopeProvider {
17 @Inject PackageNameProvider packageNameProvider
18
19 @Inject
20 new() {
21 }
22
23 new(IGlobalScopeProvider globalScopeProvider, IQualifiedNameProvider qualifiedNameProvider,
24 IQualifiedNameConverter qualifiedNameConverter, ICaseInsensitivityHelper caseInsensitivityHelper) {
25 super(globalScopeProvider, qualifiedNameProvider, qualifiedNameConverter, caseInsensitivityHelper)
26 packageNameProvider = new PackageNameProvider(qualifiedNameConverter)
27 }
28
29 override protected internalGetImportedNamespaceResolvers(EObject context, boolean ignoreCase) {
30 val resolvers = super.internalGetImportedNamespaceResolvers(context, ignoreCase)
31 val packageName = packageNameProvider.getPackageName(context)
32 if (!packageName.empty) {
33 val packageNormalizer = doCreateImportNormalizer(packageName, true, ignoreCase)
34 resolvers.add(0, packageNormalizer)
35 }
36 resolvers
37 }
38
39 def createImportNormalizedScope(IScope elements, EObject context, EReference reference) {
40 val ignoreCase = isIgnoreCase(reference)
41 val type = reference.EReferenceType
42 val namespaceResolvers = getImportedNamespaceResolvers(context, ignoreCase)
43 createImportScope(elements, namespaceResolvers, null, type, ignoreCase)
44 }
45}
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
deleted file mode 100644
index f295f116..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend
+++ /dev/null
@@ -1,147 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping
5
6import com.google.common.collect.Lists
7import com.google.inject.Inject
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
12import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
13import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable
14import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl
15import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
16import org.eclipse.emf.common.notify.Notifier
17import org.eclipse.emf.ecore.EObject
18import org.eclipse.emf.ecore.EReference
19import org.eclipse.xtext.EcoreUtil2
20import org.eclipse.xtext.resource.EObjectDescription
21import org.eclipse.xtext.resource.IResourceDescriptions
22import org.eclipse.xtext.resource.IResourceDescriptionsProvider
23import org.eclipse.xtext.scoping.IScope
24import org.eclipse.xtext.scoping.Scopes
25import org.eclipse.xtext.scoping.impl.SimpleScope
26
27import static hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage.Literals.*
28
29/**
30 * This class contains custom scoping description.
31 *
32 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping
33 * on how and when to use it.
34 */
35class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider {
36 public static val SINGLETON_VARIABLE_PREFIX = "_"
37
38 @Inject IResourceDescriptionsProvider resourceDescriptionsProvider
39 @Inject CftLanguageImportedNamespaceAwareLocalScopeProvider importedNamespaceProvider
40
41 override getScope(EObject context, EReference reference) {
42 switch (reference) {
43 case LOOKUP_DEFINITION__MAPPING:
44 getRuleDefinitionsScope(context, reference)
45 case LOOKUP_DEFINITION__ARGUMENTS:
46 getMappingParametersScope(context)
47 case EVENT_REFERENCE__COMPONENT:
48 getComponentInstancesScope(context)
49 case EVENT_REFERENCE__EVENT:
50 getEventDeclarationsScope(context)
51 default:
52 super.getScope(context, reference)
53 }
54 }
55
56 protected def getRuleDefinitionsScope(EObject context, EReference referece) {
57 val transformationDefinition = EcoreUtil2.getContainerOfType(context, TransformationDefinition)
58 if (transformationDefinition === null) {
59 return IScope.NULLSCOPE
60 }
61 val resourceDescriptions = getResourceDescriptions(transformationDefinition)
62 val mappingDefinitionDescriptions = toMappingDefinitionDescriptions(resourceDescriptions,
63 transformationDefinition.mappingDefinitions)
64 val ruleDefinitionsScope = new SimpleScope(IScope.NULLSCOPE, mappingDefinitionDescriptions)
65 importedNamespaceProvider.createImportNormalizedScope(ruleDefinitionsScope, context, referece)
66 }
67
68 protected def toMappingDefinitionDescriptions(IResourceDescriptions resourceDescriptions,
69 Iterable<? extends MappingDefinition> ruleDefinitions) {
70 val mappingDefinitionDescriptions = Lists.newArrayListWithExpectedSize(ruleDefinitions.size)
71 for (ruleDefinition : ruleDefinitions) {
72 val pattern = ruleDefinition.safelyGetPattern
73 if (pattern !== null) {
74 val patternName = resourceDescriptions.getExportedObjectsByObject(pattern).head?.qualifiedName
75 if (patternName !== null) {
76 mappingDefinitionDescriptions += EObjectDescription.create(patternName, ruleDefinition)
77 }
78 }
79
80 }
81 mappingDefinitionDescriptions
82 }
83
84 private def safelyGetPattern(MappingDefinition mappingDefinition) {
85 switch (mappingDefinition) {
86 MappingDefinitionImpl: mappingDefinition.basicGetPattern
87 case null: null
88 default: mappingDefinition.pattern
89 }
90 }
91
92 private def getResourceDescriptions(Notifier notifier) {
93 val resourceSet = EcoreUtil2.getResourceSet(notifier)
94 if (resourceSet === null) {
95 new IResourceDescriptions.NullImpl
96 } else {
97 resourceDescriptionsProvider.getResourceDescriptions(resourceSet)
98 }
99 }
100
101 protected def getMappingParametersScope(EObject context) {
102 val mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition)
103 if (mappingDefinition === null) {
104 return IScope.NULLSCOPE
105 }
106 val variables = mappingDefinition.parameters.filter [
107 !name.startsWith(SINGLETON_VARIABLE_PREFIX)
108 ]
109 Scopes.scopeFor(variables)
110 }
111
112 protected def getComponentInstancesScope(EObject context) {
113 val mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition)
114 if (mappingDefinition === null) {
115 return IScope.NULLSCOPE
116 }
117 val componentInstances = <Variable>newArrayList
118 componentInstances.addAll(mappingDefinition.lookupDefinitions)
119 if (mappingDefinition.componentInstance !== null) {
120 componentInstances += mappingDefinition.componentInstance
121 }
122 Scopes.scopeFor(componentInstances)
123 }
124
125 protected def getEventDeclarationsScope(EObject context) {
126 val variable = EcoreUtil2.getContainerOfType(context, EventReference)?.component
127 val events = switch (variable) {
128 ComponentInstance:
129 variable.componentType?.allEventDeclarations
130 LookupDefinition:
131 variable.mapping?.componentInstance?.componentType?.allEventDeclarations
132 default:
133 null
134 }
135 if (events === null) {
136 return IScope.NULLSCOPE
137 }
138 Scopes.scopeFor(events)
139 }
140
141 private def getAllEventDeclarations(ComponentDefinition componentDefinition) {
142 val eventDeclarations = newArrayList
143 eventDeclarations.addAll(componentDefinition.inputEvents)
144 eventDeclarations.addAll(componentDefinition.eventDefinitions)
145 eventDeclarations
146 }
147}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend
deleted file mode 100644
index f1da10bb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend
+++ /dev/null
@@ -1,25 +0,0 @@
1/*
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.validation
5
6
7/**
8 * This class contains custom validation rules.
9 *
10 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
11 */
12class CftLanguageValidator extends AbstractCftLanguageValidator {
13
14// public static val INVALID_NAME = 'invalidName'
15//
16// @Check
17// def checkGreetingStartsWithCapital(Greeting greeting) {
18// if (!Character.isUpperCase(greeting.name.charAt(0))) {
19// warning('Name should start with a capital',
20// CftLanguagePackage.Literals.GREETING__NAME,
21// INVALID_NAME)
22// }
23// }
24
25}
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
deleted file mode 100644
index 25c11260..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin
+++ /dev/null
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
deleted file mode 100644
index 7a10919f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore
deleted file mode 100644
index a5028502..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.CftLanguageRuntimeModule.java._trace
2/.CftLanguageStandaloneSetup.java._trace
3/.CftLanguageRuntimeModule.xtendbin
4/.CftLanguageStandaloneSetup.xtendbin
5/CftLanguageRuntimeModule.java
6/CftLanguageStandaloneSetup.java
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
deleted file mode 100644
index e798e394..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java
+++ /dev/null
@@ -1,44 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components;
5
6import com.google.inject.Binder;
7import com.google.inject.name.Names;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.AbstractCftLanguageRuntimeModule;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider;
12import org.eclipse.xtext.conversion.IValueConverterService;
13import org.eclipse.xtext.naming.IQualifiedNameProvider;
14import org.eclipse.xtext.scoping.IGlobalScopeProvider;
15import org.eclipse.xtext.scoping.IScopeProvider;
16import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider;
17import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider;
18
19/**
20 * Use this class to register components to be used at runtime / without the Equinox extension registry.
21 */
22@SuppressWarnings("all")
23public class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule {
24 @Override
25 public Class<? extends IGlobalScopeProvider> bindIGlobalScopeProvider() {
26 return DefaultGlobalScopeProvider.class;
27 }
28
29 @Override
30 public void configureIScopeProviderDelegate(final Binder binder) {
31 binder.<IScopeProvider>bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(
32 CftLanguageImportedNamespaceAwareLocalScopeProvider.class);
33 }
34
35 @Override
36 public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
37 return CftLanguageQualifiedNameProvider.class;
38 }
39
40 @Override
41 public Class<? extends IValueConverterService> bindIValueConverterService() {
42 return CftLanguageValueConverterService.class;
43 }
44}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java
deleted file mode 100644
index 3eed418e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java
+++ /dev/null
@@ -1,16 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetupGenerated;
7
8/**
9 * Initialization support for running Xtext languages without Equinox extension registry.
10 */
11@SuppressWarnings("all")
12public class CftLanguageStandaloneSetup extends CftLanguageStandaloneSetupGenerated {
13 public static void doSetup() {
14 new CftLanguageStandaloneSetup().createInjectorAndDoEMFRegistration();
15 }
16}
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
deleted file mode 100644
index f4a74d7b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin
+++ /dev/null
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
deleted file mode 100644
index 8d4c818e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin
+++ /dev/null
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
deleted file mode 100644
index 0a42ffb4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.OF_INTValueConverter.java._trace
2/.CftLanguageValueConverterService.java._trace
3/.CftLanguageValueConverterService.xtendbin
4/.OF_INTValueConverter.xtendbin
5/CftLanguageValueConverterService.java
6/OF_INTValueConverter.java
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
deleted file mode 100644
index f14362c9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java
+++ /dev/null
@@ -1,18 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion;
2
3import com.google.inject.Inject;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.OF_INTValueConverter;
5import org.eclipse.xtext.common.services.DefaultTerminalConverters;
6import org.eclipse.xtext.conversion.IValueConverter;
7import org.eclipse.xtext.conversion.ValueConverter;
8
9@SuppressWarnings("all")
10public 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
deleted file mode 100644
index 0fd2375e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion;
2
3import com.google.common.base.Objects;
4import org.eclipse.xtext.conversion.ValueConverterException;
5import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter;
6import org.eclipse.xtext.nodemodel.INode;
7import org.eclipse.xtext.xbase.lib.Exceptions;
8
9@SuppressWarnings("all")
10public 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
deleted file mode 100644
index 79e0e382..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore
deleted file mode 100644
index 943ab682..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageGenerator.java._trace
2/.CftLanguageGenerator.xtendbin
3/CftLanguageGenerator.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java
deleted file mode 100644
index 8dddfb2e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java
+++ /dev/null
@@ -1,21 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.generator;
5
6import org.eclipse.emf.ecore.resource.Resource;
7import org.eclipse.xtext.generator.AbstractGenerator;
8import org.eclipse.xtext.generator.IFileSystemAccess2;
9import org.eclipse.xtext.generator.IGeneratorContext;
10
11/**
12 * Generates code from your model files on save.
13 *
14 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
15 */
16@SuppressWarnings("all")
17public class CftLanguageGenerator extends AbstractGenerator {
18 @Override
19 public void doGenerate(final Resource resource, final IFileSystemAccess2 fsa, final IGeneratorContext context) {
20 }
21}
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
deleted file mode 100644
index 51f5e2fe..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin
+++ /dev/null
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
deleted file mode 100644
index cf8f603b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore
deleted file mode 100644
index bb9e8b92..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
1/.CftLanguageQualifiedNameProvider.java._trace
2/.PackageNameProvider.java._trace
3/.CftLanguageQualifiedNameProvider.xtendbin
4/.PackageNameProvider.xtendbin
5/CftLanguageQualifiedNameProvider.java
6/PackageNameProvider.java
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
deleted file mode 100644
index 24ebaccb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java
+++ /dev/null
@@ -1,35 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.naming;
2
3import com.google.inject.Inject;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider;
9import org.eclipse.xtext.naming.QualifiedName;
10
11@SuppressWarnings("all")
12public class CftLanguageQualifiedNameProvider extends DefaultDeclarativeQualifiedNameProvider {
13 @Inject
14 private PackageNameProvider packageNameProvider;
15
16 public QualifiedName qualifiedName(final ComponentDefinition componentDefinition) {
17 return this.computePackageQualifiedName(componentDefinition, componentDefinition.getName());
18 }
19
20 public QualifiedName qualifiedName(final TransformationDefinition transformationDefinition) {
21 return this.computePackageQualifiedName(transformationDefinition, transformationDefinition.getName());
22 }
23
24 private QualifiedName computePackageQualifiedName(final EObject eObj, final String name) {
25 QualifiedName _xblockexpression = null;
26 {
27 if ((name == null)) {
28 return null;
29 }
30 final QualifiedName packageQualifier = this.packageNameProvider.getPackageName(eObj);
31 _xblockexpression = packageQualifier.append(name);
32 }
33 return _xblockexpression;
34 }
35}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java
deleted file mode 100644
index 5841dc75..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java
+++ /dev/null
@@ -1,46 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.naming;
2
3import com.google.inject.Inject;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel;
5import org.eclipse.emf.ecore.EObject;
6import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor;
7import org.eclipse.xtext.EcoreUtil2;
8import org.eclipse.xtext.naming.IQualifiedNameConverter;
9import org.eclipse.xtext.naming.QualifiedName;
10import org.eclipse.xtext.xbase.lib.StringExtensions;
11
12@SuppressWarnings("all")
13public class PackageNameProvider {
14 private final IQualifiedNameConverter qualifiedNameConverter;
15
16 @FinalFieldsConstructor
17 @Inject
18 public PackageNameProvider(final IQualifiedNameConverter qualifiedNameConverter) {
19 super();
20 this.qualifiedNameConverter = qualifiedNameConverter;
21 }
22
23 public QualifiedName getPackageName(final EObject eObj) {
24 QualifiedName _xblockexpression = null;
25 {
26 if ((eObj == null)) {
27 return QualifiedName.EMPTY;
28 }
29 CftModel _containerOfType = EcoreUtil2.<CftModel>getContainerOfType(eObj, CftModel.class);
30 String _packageName = null;
31 if (_containerOfType!=null) {
32 _packageName=_containerOfType.getPackageName();
33 }
34 final String pacakgeName = _packageName;
35 QualifiedName _xifexpression = null;
36 boolean _isNullOrEmpty = StringExtensions.isNullOrEmpty(pacakgeName);
37 if (_isNullOrEmpty) {
38 _xifexpression = QualifiedName.EMPTY;
39 } else {
40 _xifexpression = this.qualifiedNameConverter.toQualifiedName(pacakgeName);
41 }
42 _xblockexpression = _xifexpression;
43 }
44 return _xblockexpression;
45 }
46}
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
deleted file mode 100644
index 116d5bc1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin
+++ /dev/null
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
deleted file mode 100644
index 7a6eb47e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore
deleted file mode 100644
index e0a335bd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
1/.CftLanguageScopeProvider.java._trace
2/.CftLanguageImportedNamespaceAwareScopeProvider.java._trace
3/.CftLanguageImportedNamespaceAwareScopeLocalProvider.java._trace
4/.CftLanguageImportedNamespaceAwareLocalScopeProvider.java._trace
5/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin
6/.CftLanguageScopeProvider.xtendbin
7/CftLanguageImportedNamespaceAwareLocalScopeProvider.java
8/CftLanguageScopeProvider.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java
deleted file mode 100644
index d90fe787..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java
+++ /dev/null
@@ -1,63 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping;
2
3import com.google.inject.Inject;
4import com.google.inject.Singleton;
5import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider;
6import java.util.List;
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.emf.ecore.EReference;
10import org.eclipse.xtext.naming.IQualifiedNameConverter;
11import org.eclipse.xtext.naming.IQualifiedNameProvider;
12import org.eclipse.xtext.naming.QualifiedName;
13import org.eclipse.xtext.scoping.ICaseInsensitivityHelper;
14import org.eclipse.xtext.scoping.IGlobalScopeProvider;
15import org.eclipse.xtext.scoping.IScope;
16import org.eclipse.xtext.scoping.impl.ImportNormalizer;
17import org.eclipse.xtext.scoping.impl.ImportScope;
18import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider;
19
20@Singleton
21@SuppressWarnings("all")
22public class CftLanguageImportedNamespaceAwareLocalScopeProvider extends ImportedNamespaceAwareLocalScopeProvider {
23 @Inject
24 private PackageNameProvider packageNameProvider;
25
26 @Inject
27 public CftLanguageImportedNamespaceAwareLocalScopeProvider() {
28 }
29
30 public CftLanguageImportedNamespaceAwareLocalScopeProvider(final IGlobalScopeProvider globalScopeProvider, final IQualifiedNameProvider qualifiedNameProvider, final IQualifiedNameConverter qualifiedNameConverter, final ICaseInsensitivityHelper caseInsensitivityHelper) {
31 super(globalScopeProvider, qualifiedNameProvider, qualifiedNameConverter, caseInsensitivityHelper);
32 PackageNameProvider _packageNameProvider = new PackageNameProvider(qualifiedNameConverter);
33 this.packageNameProvider = _packageNameProvider;
34 }
35
36 @Override
37 protected List<ImportNormalizer> internalGetImportedNamespaceResolvers(final EObject context, final boolean ignoreCase) {
38 List<ImportNormalizer> _xblockexpression = null;
39 {
40 final List<ImportNormalizer> resolvers = super.internalGetImportedNamespaceResolvers(context, ignoreCase);
41 final QualifiedName packageName = this.packageNameProvider.getPackageName(context);
42 boolean _isEmpty = packageName.isEmpty();
43 boolean _not = (!_isEmpty);
44 if (_not) {
45 final ImportNormalizer packageNormalizer = this.doCreateImportNormalizer(packageName, true, ignoreCase);
46 resolvers.add(0, packageNormalizer);
47 }
48 _xblockexpression = resolvers;
49 }
50 return _xblockexpression;
51 }
52
53 public ImportScope createImportNormalizedScope(final IScope elements, final EObject context, final EReference reference) {
54 ImportScope _xblockexpression = null;
55 {
56 final boolean ignoreCase = this.isIgnoreCase(reference);
57 final EClass type = reference.getEReferenceType();
58 final List<ImportNormalizer> namespaceResolvers = this.getImportedNamespaceResolvers(context, ignoreCase);
59 _xblockexpression = this.createImportScope(elements, namespaceResolvers, null, type, ignoreCase);
60 }
61 return _xblockexpression;
62 }
63}
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
deleted file mode 100644
index 8d452f2a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping;
5
6import com.google.common.base.Objects;
7import com.google.common.collect.Lists;
8import com.google.inject.Inject;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
12import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
13import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
14import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
15import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
16import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable;
17import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl;
18import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.AbstractCftLanguageScopeProvider;
19import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider;
20import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
21import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
22import java.util.ArrayList;
23import org.eclipse.emf.common.notify.Notifier;
24import org.eclipse.emf.ecore.EObject;
25import org.eclipse.emf.ecore.EReference;
26import org.eclipse.emf.ecore.resource.ResourceSet;
27import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
28import org.eclipse.xtext.EcoreUtil2;
29import org.eclipse.xtext.naming.QualifiedName;
30import org.eclipse.xtext.resource.EObjectDescription;
31import org.eclipse.xtext.resource.IEObjectDescription;
32import org.eclipse.xtext.resource.IResourceDescriptions;
33import org.eclipse.xtext.resource.IResourceDescriptionsProvider;
34import org.eclipse.xtext.scoping.IScope;
35import org.eclipse.xtext.scoping.Scopes;
36import org.eclipse.xtext.scoping.impl.ImportScope;
37import org.eclipse.xtext.scoping.impl.SimpleScope;
38import org.eclipse.xtext.xbase.lib.CollectionLiterals;
39import org.eclipse.xtext.xbase.lib.Functions.Function1;
40import org.eclipse.xtext.xbase.lib.IterableExtensions;
41
42/**
43 * This class contains custom scoping description.
44 *
45 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping
46 * on how and when to use it.
47 */
48@SuppressWarnings("all")
49public class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider {
50 public static final String SINGLETON_VARIABLE_PREFIX = "_";
51
52 @Inject
53 private IResourceDescriptionsProvider resourceDescriptionsProvider;
54
55 @Inject
56 private CftLanguageImportedNamespaceAwareLocalScopeProvider importedNamespaceProvider;
57
58 @Override
59 public IScope getScope(final EObject context, final EReference reference) {
60 IScope _switchResult = null;
61 boolean _matched = false;
62 if (Objects.equal(reference, CftLanguagePackage.Literals.LOOKUP_DEFINITION__MAPPING)) {
63 _matched=true;
64 _switchResult = this.getRuleDefinitionsScope(context, reference);
65 }
66 if (!_matched) {
67 if (Objects.equal(reference, CftLanguagePackage.Literals.LOOKUP_DEFINITION__ARGUMENTS)) {
68 _matched=true;
69 _switchResult = this.getMappingParametersScope(context);
70 }
71 }
72 if (!_matched) {
73 if (Objects.equal(reference, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT)) {
74 _matched=true;
75 _switchResult = this.getComponentInstancesScope(context);
76 }
77 }
78 if (!_matched) {
79 if (Objects.equal(reference, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)) {
80 _matched=true;
81 _switchResult = this.getEventDeclarationsScope(context);
82 }
83 }
84 if (!_matched) {
85 _switchResult = super.getScope(context, reference);
86 }
87 return _switchResult;
88 }
89
90 protected IScope getRuleDefinitionsScope(final EObject context, final EReference referece) {
91 ImportScope _xblockexpression = null;
92 {
93 final TransformationDefinition transformationDefinition = EcoreUtil2.<TransformationDefinition>getContainerOfType(context, TransformationDefinition.class);
94 if ((transformationDefinition == null)) {
95 return IScope.NULLSCOPE;
96 }
97 final IResourceDescriptions resourceDescriptions = this.getResourceDescriptions(transformationDefinition);
98 final ArrayList<IEObjectDescription> mappingDefinitionDescriptions = this.toMappingDefinitionDescriptions(resourceDescriptions,
99 transformationDefinition.getMappingDefinitions());
100 final SimpleScope ruleDefinitionsScope = new SimpleScope(IScope.NULLSCOPE, mappingDefinitionDescriptions);
101 _xblockexpression = this.importedNamespaceProvider.createImportNormalizedScope(ruleDefinitionsScope, context, referece);
102 }
103 return _xblockexpression;
104 }
105
106 protected ArrayList<IEObjectDescription> toMappingDefinitionDescriptions(final IResourceDescriptions resourceDescriptions, final Iterable<? extends MappingDefinition> ruleDefinitions) {
107 ArrayList<IEObjectDescription> _xblockexpression = null;
108 {
109 final ArrayList<IEObjectDescription> mappingDefinitionDescriptions = Lists.<IEObjectDescription>newArrayListWithExpectedSize(IterableExtensions.size(ruleDefinitions));
110 for (final MappingDefinition ruleDefinition : ruleDefinitions) {
111 {
112 final Pattern pattern = this.safelyGetPattern(ruleDefinition);
113 if ((pattern != null)) {
114 IEObjectDescription _head = IterableExtensions.<IEObjectDescription>head(resourceDescriptions.getExportedObjectsByObject(pattern));
115 QualifiedName _qualifiedName = null;
116 if (_head!=null) {
117 _qualifiedName=_head.getQualifiedName();
118 }
119 final QualifiedName patternName = _qualifiedName;
120 if ((patternName != null)) {
121 IEObjectDescription _create = EObjectDescription.create(patternName, ruleDefinition);
122 mappingDefinitionDescriptions.add(_create);
123 }
124 }
125 }
126 }
127 _xblockexpression = mappingDefinitionDescriptions;
128 }
129 return _xblockexpression;
130 }
131
132 private Pattern safelyGetPattern(final MappingDefinition mappingDefinition) {
133 Pattern _switchResult = null;
134 boolean _matched = false;
135 if (mappingDefinition instanceof MappingDefinitionImpl) {
136 _matched=true;
137 _switchResult = ((MappingDefinitionImpl)mappingDefinition).basicGetPattern();
138 }
139 if (!_matched) {
140 if (Objects.equal(mappingDefinition, null)) {
141 _matched=true;
142 _switchResult = null;
143 }
144 }
145 if (!_matched) {
146 _switchResult = mappingDefinition.getPattern();
147 }
148 return _switchResult;
149 }
150
151 private IResourceDescriptions getResourceDescriptions(final Notifier notifier) {
152 IResourceDescriptions _xblockexpression = null;
153 {
154 final ResourceSet resourceSet = EcoreUtil2.getResourceSet(notifier);
155 IResourceDescriptions _xifexpression = null;
156 if ((resourceSet == null)) {
157 _xifexpression = new IResourceDescriptions.NullImpl();
158 } else {
159 _xifexpression = this.resourceDescriptionsProvider.getResourceDescriptions(resourceSet);
160 }
161 _xblockexpression = _xifexpression;
162 }
163 return _xblockexpression;
164 }
165
166 protected IScope getMappingParametersScope(final EObject context) {
167 IScope _xblockexpression = null;
168 {
169 final MappingDefinition mappingDefinition = EcoreUtil2.<MappingDefinition>getContainerOfType(context, MappingDefinition.class);
170 if ((mappingDefinition == null)) {
171 return IScope.NULLSCOPE;
172 }
173 final Function1<MappingParameter, Boolean> _function = (MappingParameter it) -> {
174 boolean _startsWith = it.getName().startsWith(CftLanguageScopeProvider.SINGLETON_VARIABLE_PREFIX);
175 return Boolean.valueOf((!_startsWith));
176 };
177 final Iterable<MappingParameter> variables = IterableExtensions.<MappingParameter>filter(mappingDefinition.getParameters(), _function);
178 _xblockexpression = Scopes.scopeFor(variables);
179 }
180 return _xblockexpression;
181 }
182
183 protected IScope getComponentInstancesScope(final EObject context) {
184 IScope _xblockexpression = null;
185 {
186 final MappingDefinition mappingDefinition = EcoreUtil2.<MappingDefinition>getContainerOfType(context, MappingDefinition.class);
187 if ((mappingDefinition == null)) {
188 return IScope.NULLSCOPE;
189 }
190 final ArrayList<Variable> componentInstances = CollectionLiterals.<Variable>newArrayList();
191 componentInstances.addAll(mappingDefinition.getLookupDefinitions());
192 ComponentInstance _componentInstance = mappingDefinition.getComponentInstance();
193 boolean _tripleNotEquals = (_componentInstance != null);
194 if (_tripleNotEquals) {
195 ComponentInstance _componentInstance_1 = mappingDefinition.getComponentInstance();
196 componentInstances.add(_componentInstance_1);
197 }
198 _xblockexpression = Scopes.scopeFor(componentInstances);
199 }
200 return _xblockexpression;
201 }
202
203 protected IScope getEventDeclarationsScope(final EObject context) {
204 IScope _xblockexpression = null;
205 {
206 EventReference _containerOfType = EcoreUtil2.<EventReference>getContainerOfType(context, EventReference.class);
207 Variable _component = null;
208 if (_containerOfType!=null) {
209 _component=_containerOfType.getComponent();
210 }
211 final Variable variable = _component;
212 ArrayList<EventDeclaration> _switchResult = null;
213 boolean _matched = false;
214 if (variable instanceof ComponentInstance) {
215 _matched=true;
216 ComponentDefinition _componentType = ((ComponentInstance)variable).getComponentType();
217 ArrayList<EventDeclaration> _allEventDeclarations = null;
218 if (_componentType!=null) {
219 _allEventDeclarations=this.getAllEventDeclarations(_componentType);
220 }
221 _switchResult = _allEventDeclarations;
222 }
223 if (!_matched) {
224 if (variable instanceof LookupDefinition) {
225 _matched=true;
226 MappingDefinition _mapping = ((LookupDefinition)variable).getMapping();
227 ComponentInstance _componentInstance = null;
228 if (_mapping!=null) {
229 _componentInstance=_mapping.getComponentInstance();
230 }
231 ComponentDefinition _componentType = null;
232 if (_componentInstance!=null) {
233 _componentType=_componentInstance.getComponentType();
234 }
235 ArrayList<EventDeclaration> _allEventDeclarations = null;
236 if (_componentType!=null) {
237 _allEventDeclarations=this.getAllEventDeclarations(_componentType);
238 }
239 _switchResult = _allEventDeclarations;
240 }
241 }
242 if (!_matched) {
243 _switchResult = null;
244 }
245 final ArrayList<EventDeclaration> events = _switchResult;
246 if ((events == null)) {
247 return IScope.NULLSCOPE;
248 }
249 _xblockexpression = Scopes.scopeFor(events);
250 }
251 return _xblockexpression;
252 }
253
254 private ArrayList<EventDeclaration> getAllEventDeclarations(final ComponentDefinition componentDefinition) {
255 ArrayList<EventDeclaration> _xblockexpression = null;
256 {
257 final ArrayList<EventDeclaration> eventDeclarations = CollectionLiterals.<EventDeclaration>newArrayList();
258 eventDeclarations.addAll(componentDefinition.getInputEvents());
259 eventDeclarations.addAll(componentDefinition.getEventDefinitions());
260 _xblockexpression = eventDeclarations;
261 }
262 return _xblockexpression;
263 }
264}
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
deleted file mode 100644
index fbb89193..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore
deleted file mode 100644
index 270d548b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftLanguageValidator.java._trace
2/.CftLanguageValidator.xtendbin
3/CftLanguageValidator.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java
deleted file mode 100644
index 758d29f4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java
+++ /dev/null
@@ -1,15 +0,0 @@
1/**
2 * generated by Xtext 2.16.0
3 */
4package hu.bme.mit.inf.dslreasoner.faulttree.components.validation;
5
6import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.AbstractCftLanguageValidator;
7
8/**
9 * This class contains custom validation rules.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
12 */
13@SuppressWarnings("all")
14public class CftLanguageValidator extends AbstractCftLanguageValidator {
15}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath
deleted file mode 100644
index 1dc3c7fb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
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="src" path="xtend-gen"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore
deleted file mode 100644
index ae3c1726..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore
+++ /dev/null
@@ -1 +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
deleted file mode 100644
index a86ce76f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project
+++ /dev/null
@@ -1,35 +0,0 @@
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
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.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
deleted file mode 100644
index 0b8c7351..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,25 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: %pluginName
4Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.model;singleton:=true
5Bundle-Version: 1.0.0.qualifier
6Bundle-ClassPath: .
7Bundle-Vendor: %providerName
8Bundle-Localization: plugin
9Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.model
10Bundle-RequiredExecutionEnvironment: JavaSE-1.8
11Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.model.cft,
12 hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl,
13 hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util,
14 hu.bme.mit.inf.dslreasoner.faulttree.model.ft,
15 hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl,
16 hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util,
17 hu.bme.mit.inf.dslreasoner.faulttree.model.util
18Require-Bundle: org.eclipse.core.runtime,
19 org.eclipse.emf.ecore;visibility:=reexport,
20 hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport,
21 com.google.guava,
22 org.eclipse.xtext.xbase.lib,
23 org.eclipse.xtend.lib,
24 org.eclipse.xtend.lib.macro
25Bundle-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
deleted file mode 100644
index 6d7585eb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
1#
2
3bin.includes = .,\
4 model/,\
5 META-INF/,\
6 plugin.xml,\
7 plugin.properties
8jars.compile.order = .
9source.. = src/,\
10 ecore-gen/
11output.. = 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
deleted file mode 100644
index cdae0f09..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java
+++ /dev/null
@@ -1,17 +0,0 @@
1/**
2 */
3package 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 */
16public 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
deleted file mode 100644
index c963dbfe..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import 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 */
23public 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
deleted file mode 100644
index 8b5d54a0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java
+++ /dev/null
@@ -1,132 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import 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 */
15public 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>Input Event</em>'.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @return a new object of class '<em>Input Event</em>'.
47 * @generated
48 */
49 InputEvent createInputEvent();
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
deleted file mode 100644
index 07200ab2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java
+++ /dev/null
@@ -1,1673 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EEnum;
8import org.eclipse.emf.ecore.EPackage;
9import org.eclipse.emf.ecore.EReference;
10
11/**
12 * <!-- begin-user-doc -->
13 * The <b>Package</b> for the model.
14 * It contains accessors for the meta objects to represent
15 * <ul>
16 * <li>each class,</li>
17 * <li>each feature of each class,</li>
18 * <li>each operation of each class,</li>
19 * <li>each enum,</li>
20 * <li>and each data type</li>
21 * </ul>
22 * <!-- end-user-doc -->
23 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory
24 * @model kind="package"
25 * @generated
26 */
27public interface CftPackage extends EPackage {
28 /**
29 * The package name.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 String eNAME = "cft";
35
36 /**
37 * The package namespace URI.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @generated
41 */
42 String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft";
43
44 /**
45 * The package namespace name.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @generated
49 */
50 String eNS_PREFIX = "cft";
51
52 /**
53 * The singleton instance of the package.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 CftPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl.init();
59
60 /**
61 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl
65 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition()
66 * @generated
67 */
68 int COMPONENT_DEFINITION = 0;
69
70 /**
71 * The feature id for the '<em><b>Input Events</b></em>' containment reference list.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 * @ordered
76 */
77 int COMPONENT_DEFINITION__INPUT_EVENTS = 0;
78
79 /**
80 * The feature id for the '<em><b>Event Definitions</b></em>' containment reference list.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @generated
84 * @ordered
85 */
86 int COMPONENT_DEFINITION__EVENT_DEFINITIONS = 1;
87
88 /**
89 * The feature id for the '<em><b>Output Events</b></em>' reference list.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 * @ordered
94 */
95 int COMPONENT_DEFINITION__OUTPUT_EVENTS = 2;
96
97 /**
98 * The feature id for the '<em><b>Name</b></em>' attribute.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 * @ordered
103 */
104 int COMPONENT_DEFINITION__NAME = 3;
105
106 /**
107 * The number of structural features of the '<em>Component Definition</em>' class.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 * @ordered
112 */
113 int COMPONENT_DEFINITION_FEATURE_COUNT = 4;
114
115 /**
116 * The number of operations of the '<em>Component Definition</em>' class.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 * @ordered
121 */
122 int COMPONENT_DEFINITION_OPERATION_COUNT = 0;
123
124 /**
125 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl <em>Event Declaration</em>}' class.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl
129 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration()
130 * @generated
131 */
132 int EVENT_DECLARATION = 5;
133
134 /**
135 * The feature id for the '<em><b>Name</b></em>' attribute.
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 * @ordered
140 */
141 int EVENT_DECLARATION__NAME = 0;
142
143 /**
144 * The number of structural features of the '<em>Event Declaration</em>' class.
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 * @ordered
149 */
150 int EVENT_DECLARATION_FEATURE_COUNT = 1;
151
152 /**
153 * The number of operations of the '<em>Event Declaration</em>' class.
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 * @ordered
158 */
159 int EVENT_DECLARATION_OPERATION_COUNT = 0;
160
161 /**
162 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl <em>Event Definition</em>}' class.
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl
166 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition()
167 * @generated
168 */
169 int EVENT_DEFINITION = 1;
170
171 /**
172 * The feature id for the '<em><b>Name</b></em>' attribute.
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 * @ordered
177 */
178 int EVENT_DEFINITION__NAME = EVENT_DECLARATION__NAME;
179
180 /**
181 * The number of structural features of the '<em>Event Definition</em>' class.
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 * @ordered
186 */
187 int EVENT_DEFINITION_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 0;
188
189 /**
190 * The number of operations of the '<em>Event Definition</em>' class.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 * @ordered
195 */
196 int EVENT_DEFINITION_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0;
197
198 /**
199 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl <em>Gate Definition</em>}' class.
200 * <!-- begin-user-doc -->
201 * <!-- end-user-doc -->
202 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl
203 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition()
204 * @generated
205 */
206 int GATE_DEFINITION = 2;
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 GATE_DEFINITION__NAME = EVENT_DEFINITION__NAME;
216
217 /**
218 * The feature id for the '<em><b>Input Events</b></em>' reference list.
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 * @ordered
223 */
224 int GATE_DEFINITION__INPUT_EVENTS = EVENT_DEFINITION_FEATURE_COUNT + 0;
225
226 /**
227 * The number of structural features of the '<em>Gate Definition</em>' class.
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 * @ordered
232 */
233 int GATE_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
234
235 /**
236 * The number of operations of the '<em>Gate Definition</em>' class.
237 * <!-- begin-user-doc -->
238 * <!-- end-user-doc -->
239 * @generated
240 * @ordered
241 */
242 int GATE_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0;
243
244 /**
245 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class.
246 * <!-- begin-user-doc -->
247 * <!-- end-user-doc -->
248 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl
249 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition()
250 * @generated
251 */
252 int BASIC_EVENT_DEFINITION = 3;
253
254 /**
255 * The feature id for the '<em><b>Name</b></em>' attribute.
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 * @ordered
260 */
261 int BASIC_EVENT_DEFINITION__NAME = EVENT_DEFINITION__NAME;
262
263 /**
264 * The feature id for the '<em><b>Distribution</b></em>' containment reference.
265 * <!-- begin-user-doc -->
266 * <!-- end-user-doc -->
267 * @generated
268 * @ordered
269 */
270 int BASIC_EVENT_DEFINITION__DISTRIBUTION = EVENT_DEFINITION_FEATURE_COUNT + 0;
271
272 /**
273 * The number of structural features of the '<em>Basic Event Definition</em>' class.
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @generated
277 * @ordered
278 */
279 int BASIC_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1;
280
281 /**
282 * The number of operations of the '<em>Basic Event Definition</em>' class.
283 * <!-- begin-user-doc -->
284 * <!-- end-user-doc -->
285 * @generated
286 * @ordered
287 */
288 int BASIC_EVENT_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0;
289
290 /**
291 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl <em>Input Event</em>}' class.
292 * <!-- begin-user-doc -->
293 * <!-- end-user-doc -->
294 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl
295 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInputEvent()
296 * @generated
297 */
298 int INPUT_EVENT = 4;
299
300 /**
301 * The feature id for the '<em><b>Name</b></em>' attribute.
302 * <!-- begin-user-doc -->
303 * <!-- end-user-doc -->
304 * @generated
305 * @ordered
306 */
307 int INPUT_EVENT__NAME = EVENT_DECLARATION__NAME;
308
309 /**
310 * The feature id for the '<em><b>Multiple</b></em>' attribute.
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @generated
314 * @ordered
315 */
316 int INPUT_EVENT__MULTIPLE = EVENT_DECLARATION_FEATURE_COUNT + 0;
317
318 /**
319 * The number of structural features of the '<em>Input Event</em>' class.
320 * <!-- begin-user-doc -->
321 * <!-- end-user-doc -->
322 * @generated
323 * @ordered
324 */
325 int INPUT_EVENT_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 1;
326
327 /**
328 * The number of operations of the '<em>Input Event</em>' class.
329 * <!-- begin-user-doc -->
330 * <!-- end-user-doc -->
331 * @generated
332 * @ordered
333 */
334 int INPUT_EVENT_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0;
335
336 /**
337 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl <em>And Gate Definition</em>}' class.
338 * <!-- begin-user-doc -->
339 * <!-- end-user-doc -->
340 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl
341 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition()
342 * @generated
343 */
344 int AND_GATE_DEFINITION = 6;
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_DEFINITION__NAME = GATE_DEFINITION__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_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS;
363
364 /**
365 * The number of structural features of the '<em>And Gate Definition</em>' class.
366 * <!-- begin-user-doc -->
367 * <!-- end-user-doc -->
368 * @generated
369 * @ordered
370 */
371 int AND_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0;
372
373 /**
374 * The number of operations of the '<em>And Gate Definition</em>' class.
375 * <!-- begin-user-doc -->
376 * <!-- end-user-doc -->
377 * @generated
378 * @ordered
379 */
380 int AND_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0;
381
382 /**
383 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl <em>Or Gate Definition</em>}' class.
384 * <!-- begin-user-doc -->
385 * <!-- end-user-doc -->
386 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl
387 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition()
388 * @generated
389 */
390 int OR_GATE_DEFINITION = 7;
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_DEFINITION__NAME = GATE_DEFINITION__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_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS;
409
410 /**
411 * The number of structural features of the '<em>Or Gate Definition</em>' class.
412 * <!-- begin-user-doc -->
413 * <!-- end-user-doc -->
414 * @generated
415 * @ordered
416 */
417 int OR_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0;
418
419 /**
420 * The number of operations of the '<em>Or Gate Definition</em>' class.
421 * <!-- begin-user-doc -->
422 * <!-- end-user-doc -->
423 * @generated
424 * @ordered
425 */
426 int OR_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0;
427
428 /**
429 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl <em>KOf MGate Definition</em>}' class.
430 * <!-- begin-user-doc -->
431 * <!-- end-user-doc -->
432 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl
433 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition()
434 * @generated
435 */
436 int KOF_MGATE_DEFINITION = 8;
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_DEFINITION__NAME = GATE_DEFINITION__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_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__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_DEFINITION__K = GATE_DEFINITION_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_DEFINITION__M = GATE_DEFINITION_FEATURE_COUNT + 1;
473
474 /**
475 * The number of structural features of the '<em>KOf MGate Definition</em>' class.
476 * <!-- begin-user-doc -->
477 * <!-- end-user-doc -->
478 * @generated
479 * @ordered
480 */
481 int KOF_MGATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 2;
482
483 /**
484 * The number of operations of the '<em>KOf MGate Definition</em>' class.
485 * <!-- begin-user-doc -->
486 * <!-- end-user-doc -->
487 * @generated
488 * @ordered
489 */
490 int KOF_MGATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0;
491
492 /**
493 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl <em>Component Fault Tree</em>}' class.
494 * <!-- begin-user-doc -->
495 * <!-- end-user-doc -->
496 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl
497 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree()
498 * @generated
499 */
500 int COMPONENT_FAULT_TREE = 9;
501
502 /**
503 * The feature id for the '<em><b>Components</b></em>' containment reference list.
504 * <!-- begin-user-doc -->
505 * <!-- end-user-doc -->
506 * @generated
507 * @ordered
508 */
509 int COMPONENT_FAULT_TREE__COMPONENTS = 0;
510
511 /**
512 * The feature id for the '<em><b>Top Event</b></em>' reference.
513 * <!-- begin-user-doc -->
514 * <!-- end-user-doc -->
515 * @generated
516 * @ordered
517 */
518 int COMPONENT_FAULT_TREE__TOP_EVENT = 1;
519
520 /**
521 * The number of structural features of the '<em>Component Fault Tree</em>' class.
522 * <!-- begin-user-doc -->
523 * <!-- end-user-doc -->
524 * @generated
525 * @ordered
526 */
527 int COMPONENT_FAULT_TREE_FEATURE_COUNT = 2;
528
529 /**
530 * The number of operations of the '<em>Component Fault Tree</em>' class.
531 * <!-- begin-user-doc -->
532 * <!-- end-user-doc -->
533 * @generated
534 * @ordered
535 */
536 int COMPONENT_FAULT_TREE_OPERATION_COUNT = 0;
537
538 /**
539 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}' class.
540 * <!-- begin-user-doc -->
541 * <!-- end-user-doc -->
542 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement
543 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement()
544 * @generated
545 */
546 int MODAL_ELEMENT = 14;
547
548 /**
549 * The feature id for the '<em><b>Exists</b></em>' attribute.
550 * <!-- begin-user-doc -->
551 * <!-- end-user-doc -->
552 * @generated
553 * @ordered
554 */
555 int MODAL_ELEMENT__EXISTS = 0;
556
557 /**
558 * The number of structural features of the '<em>Modal Element</em>' class.
559 * <!-- begin-user-doc -->
560 * <!-- end-user-doc -->
561 * @generated
562 * @ordered
563 */
564 int MODAL_ELEMENT_FEATURE_COUNT = 1;
565
566 /**
567 * The number of operations of the '<em>Modal Element</em>' class.
568 * <!-- begin-user-doc -->
569 * <!-- end-user-doc -->
570 * @generated
571 * @ordered
572 */
573 int MODAL_ELEMENT_OPERATION_COUNT = 0;
574
575 /**
576 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl <em>Component</em>}' class.
577 * <!-- begin-user-doc -->
578 * <!-- end-user-doc -->
579 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl
580 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent()
581 * @generated
582 */
583 int COMPONENT = 10;
584
585 /**
586 * The feature id for the '<em><b>Exists</b></em>' attribute.
587 * <!-- begin-user-doc -->
588 * <!-- end-user-doc -->
589 * @generated
590 * @ordered
591 */
592 int COMPONENT__EXISTS = MODAL_ELEMENT__EXISTS;
593
594 /**
595 * The feature id for the '<em><b>Inputs</b></em>' containment reference list.
596 * <!-- begin-user-doc -->
597 * <!-- end-user-doc -->
598 * @generated
599 * @ordered
600 */
601 int COMPONENT__INPUTS = MODAL_ELEMENT_FEATURE_COUNT + 0;
602
603 /**
604 * The feature id for the '<em><b>Outputs</b></em>' containment reference list.
605 * <!-- begin-user-doc -->
606 * <!-- end-user-doc -->
607 * @generated
608 * @ordered
609 */
610 int COMPONENT__OUTPUTS = MODAL_ELEMENT_FEATURE_COUNT + 1;
611
612 /**
613 * The feature id for the '<em><b>Component Definition</b></em>' reference.
614 * <!-- begin-user-doc -->
615 * <!-- end-user-doc -->
616 * @generated
617 * @ordered
618 */
619 int COMPONENT__COMPONENT_DEFINITION = MODAL_ELEMENT_FEATURE_COUNT + 2;
620
621 /**
622 * The feature id for the '<em><b>Name</b></em>' attribute.
623 * <!-- begin-user-doc -->
624 * <!-- end-user-doc -->
625 * @generated
626 * @ordered
627 */
628 int COMPONENT__NAME = MODAL_ELEMENT_FEATURE_COUNT + 3;
629
630 /**
631 * The feature id for the '<em><b>Multiple Allowed</b></em>' attribute.
632 * <!-- begin-user-doc -->
633 * <!-- end-user-doc -->
634 * @generated
635 * @ordered
636 */
637 int COMPONENT__MULTIPLE_ALLOWED = MODAL_ELEMENT_FEATURE_COUNT + 4;
638
639 /**
640 * The number of structural features of the '<em>Component</em>' class.
641 * <!-- begin-user-doc -->
642 * <!-- end-user-doc -->
643 * @generated
644 * @ordered
645 */
646 int COMPONENT_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 5;
647
648 /**
649 * The number of operations of the '<em>Component</em>' class.
650 * <!-- begin-user-doc -->
651 * <!-- end-user-doc -->
652 * @generated
653 * @ordered
654 */
655 int COMPONENT_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0;
656
657 /**
658 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl <em>Input</em>}' class.
659 * <!-- begin-user-doc -->
660 * <!-- end-user-doc -->
661 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl
662 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput()
663 * @generated
664 */
665 int INPUT = 11;
666
667 /**
668 * The feature id for the '<em><b>Input Event</b></em>' reference.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @generated
672 * @ordered
673 */
674 int INPUT__INPUT_EVENT = 0;
675
676 /**
677 * The feature id for the '<em><b>Component</b></em>' container reference.
678 * <!-- begin-user-doc -->
679 * <!-- end-user-doc -->
680 * @generated
681 * @ordered
682 */
683 int INPUT__COMPONENT = 1;
684
685 /**
686 * The feature id for the '<em><b>Incoming Connections</b></em>' containment reference list.
687 * <!-- begin-user-doc -->
688 * <!-- end-user-doc -->
689 * @generated
690 * @ordered
691 */
692 int INPUT__INCOMING_CONNECTIONS = 2;
693
694 /**
695 * The number of structural features of the '<em>Input</em>' class.
696 * <!-- begin-user-doc -->
697 * <!-- end-user-doc -->
698 * @generated
699 * @ordered
700 */
701 int INPUT_FEATURE_COUNT = 3;
702
703 /**
704 * The number of operations of the '<em>Input</em>' class.
705 * <!-- begin-user-doc -->
706 * <!-- end-user-doc -->
707 * @generated
708 * @ordered
709 */
710 int INPUT_OPERATION_COUNT = 0;
711
712 /**
713 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl <em>Output</em>}' class.
714 * <!-- begin-user-doc -->
715 * <!-- end-user-doc -->
716 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl
717 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput()
718 * @generated
719 */
720 int OUTPUT = 12;
721
722 /**
723 * The feature id for the '<em><b>Event Declaration</b></em>' reference.
724 * <!-- begin-user-doc -->
725 * <!-- end-user-doc -->
726 * @generated
727 * @ordered
728 */
729 int OUTPUT__EVENT_DECLARATION = 0;
730
731 /**
732 * The feature id for the '<em><b>Outgoing Connections</b></em>' reference list.
733 * <!-- begin-user-doc -->
734 * <!-- end-user-doc -->
735 * @generated
736 * @ordered
737 */
738 int OUTPUT__OUTGOING_CONNECTIONS = 1;
739
740 /**
741 * The feature id for the '<em><b>Component</b></em>' container reference.
742 * <!-- begin-user-doc -->
743 * <!-- end-user-doc -->
744 * @generated
745 * @ordered
746 */
747 int OUTPUT__COMPONENT = 2;
748
749 /**
750 * The number of structural features of the '<em>Output</em>' class.
751 * <!-- begin-user-doc -->
752 * <!-- end-user-doc -->
753 * @generated
754 * @ordered
755 */
756 int OUTPUT_FEATURE_COUNT = 3;
757
758 /**
759 * The number of operations of the '<em>Output</em>' class.
760 * <!-- begin-user-doc -->
761 * <!-- end-user-doc -->
762 * @generated
763 * @ordered
764 */
765 int OUTPUT_OPERATION_COUNT = 0;
766
767 /**
768 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl <em>Connection</em>}' class.
769 * <!-- begin-user-doc -->
770 * <!-- end-user-doc -->
771 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl
772 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection()
773 * @generated
774 */
775 int CONNECTION = 13;
776
777 /**
778 * The feature id for the '<em><b>Exists</b></em>' attribute.
779 * <!-- begin-user-doc -->
780 * <!-- end-user-doc -->
781 * @generated
782 * @ordered
783 */
784 int CONNECTION__EXISTS = MODAL_ELEMENT__EXISTS;
785
786 /**
787 * The feature id for the '<em><b>Input</b></em>' container reference.
788 * <!-- begin-user-doc -->
789 * <!-- end-user-doc -->
790 * @generated
791 * @ordered
792 */
793 int CONNECTION__INPUT = MODAL_ELEMENT_FEATURE_COUNT + 0;
794
795 /**
796 * The feature id for the '<em><b>Output</b></em>' reference.
797 * <!-- begin-user-doc -->
798 * <!-- end-user-doc -->
799 * @generated
800 * @ordered
801 */
802 int CONNECTION__OUTPUT = MODAL_ELEMENT_FEATURE_COUNT + 1;
803
804 /**
805 * The number of structural features of the '<em>Connection</em>' class.
806 * <!-- begin-user-doc -->
807 * <!-- end-user-doc -->
808 * @generated
809 * @ordered
810 */
811 int CONNECTION_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 2;
812
813 /**
814 * The number of operations of the '<em>Connection</em>' class.
815 * <!-- begin-user-doc -->
816 * <!-- end-user-doc -->
817 * @generated
818 * @ordered
819 */
820 int CONNECTION_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0;
821
822
823 /**
824 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality <em>Modality</em>}' enum.
825 * <!-- begin-user-doc -->
826 * <!-- end-user-doc -->
827 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
828 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality()
829 * @generated
830 */
831 int MODALITY = 15;
832
833
834 /**
835 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'.
836 * <!-- begin-user-doc -->
837 * <!-- end-user-doc -->
838 * @return the meta object for class '<em>Component Definition</em>'.
839 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
840 * @generated
841 */
842 EClass getComponentDefinition();
843
844 /**
845 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents <em>Input Events</em>}'.
846 * <!-- begin-user-doc -->
847 * <!-- end-user-doc -->
848 * @return the meta object for the containment reference list '<em>Input Events</em>'.
849 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents()
850 * @see #getComponentDefinition()
851 * @generated
852 */
853 EReference getComponentDefinition_InputEvents();
854
855 /**
856 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions <em>Event Definitions</em>}'.
857 * <!-- begin-user-doc -->
858 * <!-- end-user-doc -->
859 * @return the meta object for the containment reference list '<em>Event Definitions</em>'.
860 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions()
861 * @see #getComponentDefinition()
862 * @generated
863 */
864 EReference getComponentDefinition_EventDefinitions();
865
866 /**
867 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents <em>Output Events</em>}'.
868 * <!-- begin-user-doc -->
869 * <!-- end-user-doc -->
870 * @return the meta object for the reference list '<em>Output Events</em>'.
871 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents()
872 * @see #getComponentDefinition()
873 * @generated
874 */
875 EReference getComponentDefinition_OutputEvents();
876
877 /**
878 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName <em>Name</em>}'.
879 * <!-- begin-user-doc -->
880 * <!-- end-user-doc -->
881 * @return the meta object for the attribute '<em>Name</em>'.
882 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName()
883 * @see #getComponentDefinition()
884 * @generated
885 */
886 EAttribute getComponentDefinition_Name();
887
888 /**
889 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'.
890 * <!-- begin-user-doc -->
891 * <!-- end-user-doc -->
892 * @return the meta object for class '<em>Event Definition</em>'.
893 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition
894 * @generated
895 */
896 EClass getEventDefinition();
897
898 /**
899 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'.
900 * <!-- begin-user-doc -->
901 * <!-- end-user-doc -->
902 * @return the meta object for class '<em>Gate Definition</em>'.
903 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition
904 * @generated
905 */
906 EClass getGateDefinition();
907
908 /**
909 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents <em>Input Events</em>}'.
910 * <!-- begin-user-doc -->
911 * <!-- end-user-doc -->
912 * @return the meta object for the reference list '<em>Input Events</em>'.
913 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents()
914 * @see #getGateDefinition()
915 * @generated
916 */
917 EReference getGateDefinition_InputEvents();
918
919 /**
920 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'.
921 * <!-- begin-user-doc -->
922 * <!-- end-user-doc -->
923 * @return the meta object for class '<em>Basic Event Definition</em>'.
924 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition
925 * @generated
926 */
927 EClass getBasicEventDefinition();
928
929 /**
930 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution <em>Distribution</em>}'.
931 * <!-- begin-user-doc -->
932 * <!-- end-user-doc -->
933 * @return the meta object for the containment reference '<em>Distribution</em>'.
934 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution()
935 * @see #getBasicEventDefinition()
936 * @generated
937 */
938 EReference getBasicEventDefinition_Distribution();
939
940 /**
941 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent <em>Input Event</em>}'.
942 * <!-- begin-user-doc -->
943 * <!-- end-user-doc -->
944 * @return the meta object for class '<em>Input Event</em>'.
945 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent
946 * @generated
947 */
948 EClass getInputEvent();
949
950 /**
951 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple <em>Multiple</em>}'.
952 * <!-- begin-user-doc -->
953 * <!-- end-user-doc -->
954 * @return the meta object for the attribute '<em>Multiple</em>'.
955 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple()
956 * @see #getInputEvent()
957 * @generated
958 */
959 EAttribute getInputEvent_Multiple();
960
961 /**
962 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</em>}'.
963 * <!-- begin-user-doc -->
964 * <!-- end-user-doc -->
965 * @return the meta object for class '<em>Event Declaration</em>'.
966 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration
967 * @generated
968 */
969 EClass getEventDeclaration();
970
971 /**
972 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName <em>Name</em>}'.
973 * <!-- begin-user-doc -->
974 * <!-- end-user-doc -->
975 * @return the meta object for the attribute '<em>Name</em>'.
976 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName()
977 * @see #getEventDeclaration()
978 * @generated
979 */
980 EAttribute getEventDeclaration_Name();
981
982 /**
983 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'.
984 * <!-- begin-user-doc -->
985 * <!-- end-user-doc -->
986 * @return the meta object for class '<em>And Gate Definition</em>'.
987 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition
988 * @generated
989 */
990 EClass getAndGateDefinition();
991
992 /**
993 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'.
994 * <!-- begin-user-doc -->
995 * <!-- end-user-doc -->
996 * @return the meta object for class '<em>Or Gate Definition</em>'.
997 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition
998 * @generated
999 */
1000 EClass getOrGateDefinition();
1001
1002 /**
1003 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'.
1004 * <!-- begin-user-doc -->
1005 * <!-- end-user-doc -->
1006 * @return the meta object for class '<em>KOf MGate Definition</em>'.
1007 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition
1008 * @generated
1009 */
1010 EClass getKOfMGateDefinition();
1011
1012 /**
1013 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK <em>K</em>}'.
1014 * <!-- begin-user-doc -->
1015 * <!-- end-user-doc -->
1016 * @return the meta object for the attribute '<em>K</em>'.
1017 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK()
1018 * @see #getKOfMGateDefinition()
1019 * @generated
1020 */
1021 EAttribute getKOfMGateDefinition_K();
1022
1023 /**
1024 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM <em>M</em>}'.
1025 * <!-- begin-user-doc -->
1026 * <!-- end-user-doc -->
1027 * @return the meta object for the attribute '<em>M</em>'.
1028 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM()
1029 * @see #getKOfMGateDefinition()
1030 * @generated
1031 */
1032 EAttribute getKOfMGateDefinition_M();
1033
1034 /**
1035 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'.
1036 * <!-- begin-user-doc -->
1037 * <!-- end-user-doc -->
1038 * @return the meta object for class '<em>Component Fault Tree</em>'.
1039 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree
1040 * @generated
1041 */
1042 EClass getComponentFaultTree();
1043
1044 /**
1045 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents <em>Components</em>}'.
1046 * <!-- begin-user-doc -->
1047 * <!-- end-user-doc -->
1048 * @return the meta object for the containment reference list '<em>Components</em>'.
1049 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents()
1050 * @see #getComponentFaultTree()
1051 * @generated
1052 */
1053 EReference getComponentFaultTree_Components();
1054
1055 /**
1056 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent <em>Top Event</em>}'.
1057 * <!-- begin-user-doc -->
1058 * <!-- end-user-doc -->
1059 * @return the meta object for the reference '<em>Top Event</em>'.
1060 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent()
1061 * @see #getComponentFaultTree()
1062 * @generated
1063 */
1064 EReference getComponentFaultTree_TopEvent();
1065
1066 /**
1067 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'.
1068 * <!-- begin-user-doc -->
1069 * <!-- end-user-doc -->
1070 * @return the meta object for class '<em>Component</em>'.
1071 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
1072 * @generated
1073 */
1074 EClass getComponent();
1075
1076 /**
1077 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs <em>Inputs</em>}'.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @return the meta object for the containment reference list '<em>Inputs</em>'.
1081 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs()
1082 * @see #getComponent()
1083 * @generated
1084 */
1085 EReference getComponent_Inputs();
1086
1087 /**
1088 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs <em>Outputs</em>}'.
1089 * <!-- begin-user-doc -->
1090 * <!-- end-user-doc -->
1091 * @return the meta object for the containment reference list '<em>Outputs</em>'.
1092 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs()
1093 * @see #getComponent()
1094 * @generated
1095 */
1096 EReference getComponent_Outputs();
1097
1098 /**
1099 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition <em>Component Definition</em>}'.
1100 * <!-- begin-user-doc -->
1101 * <!-- end-user-doc -->
1102 * @return the meta object for the reference '<em>Component Definition</em>'.
1103 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition()
1104 * @see #getComponent()
1105 * @generated
1106 */
1107 EReference getComponent_ComponentDefinition();
1108
1109 /**
1110 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName <em>Name</em>}'.
1111 * <!-- begin-user-doc -->
1112 * <!-- end-user-doc -->
1113 * @return the meta object for the attribute '<em>Name</em>'.
1114 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName()
1115 * @see #getComponent()
1116 * @generated
1117 */
1118 EAttribute getComponent_Name();
1119
1120 /**
1121 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed <em>Multiple Allowed</em>}'.
1122 * <!-- begin-user-doc -->
1123 * <!-- end-user-doc -->
1124 * @return the meta object for the attribute '<em>Multiple Allowed</em>'.
1125 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed()
1126 * @see #getComponent()
1127 * @generated
1128 */
1129 EAttribute getComponent_MultipleAllowed();
1130
1131 /**
1132 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'.
1133 * <!-- begin-user-doc -->
1134 * <!-- end-user-doc -->
1135 * @return the meta object for class '<em>Input</em>'.
1136 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input
1137 * @generated
1138 */
1139 EClass getInput();
1140
1141 /**
1142 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent <em>Input Event</em>}'.
1143 * <!-- begin-user-doc -->
1144 * <!-- end-user-doc -->
1145 * @return the meta object for the reference '<em>Input Event</em>'.
1146 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent()
1147 * @see #getInput()
1148 * @generated
1149 */
1150 EReference getInput_InputEvent();
1151
1152 /**
1153 * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent <em>Component</em>}'.
1154 * <!-- begin-user-doc -->
1155 * <!-- end-user-doc -->
1156 * @return the meta object for the container reference '<em>Component</em>'.
1157 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent()
1158 * @see #getInput()
1159 * @generated
1160 */
1161 EReference getInput_Component();
1162
1163 /**
1164 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections <em>Incoming Connections</em>}'.
1165 * <!-- begin-user-doc -->
1166 * <!-- end-user-doc -->
1167 * @return the meta object for the containment reference list '<em>Incoming Connections</em>'.
1168 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections()
1169 * @see #getInput()
1170 * @generated
1171 */
1172 EReference getInput_IncomingConnections();
1173
1174 /**
1175 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'.
1176 * <!-- begin-user-doc -->
1177 * <!-- end-user-doc -->
1178 * @return the meta object for class '<em>Output</em>'.
1179 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
1180 * @generated
1181 */
1182 EClass getOutput();
1183
1184 /**
1185 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration <em>Event Declaration</em>}'.
1186 * <!-- begin-user-doc -->
1187 * <!-- end-user-doc -->
1188 * @return the meta object for the reference '<em>Event Declaration</em>'.
1189 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration()
1190 * @see #getOutput()
1191 * @generated
1192 */
1193 EReference getOutput_EventDeclaration();
1194
1195 /**
1196 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections <em>Outgoing Connections</em>}'.
1197 * <!-- begin-user-doc -->
1198 * <!-- end-user-doc -->
1199 * @return the meta object for the reference list '<em>Outgoing Connections</em>'.
1200 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections()
1201 * @see #getOutput()
1202 * @generated
1203 */
1204 EReference getOutput_OutgoingConnections();
1205
1206 /**
1207 * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent <em>Component</em>}'.
1208 * <!-- begin-user-doc -->
1209 * <!-- end-user-doc -->
1210 * @return the meta object for the container reference '<em>Component</em>'.
1211 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent()
1212 * @see #getOutput()
1213 * @generated
1214 */
1215 EReference getOutput_Component();
1216
1217 /**
1218 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'.
1219 * <!-- begin-user-doc -->
1220 * <!-- end-user-doc -->
1221 * @return the meta object for class '<em>Connection</em>'.
1222 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection
1223 * @generated
1224 */
1225 EClass getConnection();
1226
1227 /**
1228 * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}'.
1229 * <!-- begin-user-doc -->
1230 * <!-- end-user-doc -->
1231 * @return the meta object for the container reference '<em>Input</em>'.
1232 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput()
1233 * @see #getConnection()
1234 * @generated
1235 */
1236 EReference getConnection_Input();
1237
1238 /**
1239 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}'.
1240 * <!-- begin-user-doc -->
1241 * <!-- end-user-doc -->
1242 * @return the meta object for the reference '<em>Output</em>'.
1243 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput()
1244 * @see #getConnection()
1245 * @generated
1246 */
1247 EReference getConnection_Output();
1248
1249 /**
1250 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}'.
1251 * <!-- begin-user-doc -->
1252 * <!-- end-user-doc -->
1253 * @return the meta object for class '<em>Modal Element</em>'.
1254 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement
1255 * @generated
1256 */
1257 EClass getModalElement();
1258
1259 /**
1260 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists <em>Exists</em>}'.
1261 * <!-- begin-user-doc -->
1262 * <!-- end-user-doc -->
1263 * @return the meta object for the attribute '<em>Exists</em>'.
1264 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists()
1265 * @see #getModalElement()
1266 * @generated
1267 */
1268 EAttribute getModalElement_Exists();
1269
1270 /**
1271 * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality <em>Modality</em>}'.
1272 * <!-- begin-user-doc -->
1273 * <!-- end-user-doc -->
1274 * @return the meta object for enum '<em>Modality</em>'.
1275 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
1276 * @generated
1277 */
1278 EEnum getModality();
1279
1280 /**
1281 * Returns the factory that creates the instances of the model.
1282 * <!-- begin-user-doc -->
1283 * <!-- end-user-doc -->
1284 * @return the factory that creates the instances of the model.
1285 * @generated
1286 */
1287 CftFactory getCftFactory();
1288
1289 /**
1290 * <!-- begin-user-doc -->
1291 * Defines literals for the meta objects that represent
1292 * <ul>
1293 * <li>each class,</li>
1294 * <li>each feature of each class,</li>
1295 * <li>each operation of each class,</li>
1296 * <li>each enum,</li>
1297 * <li>and each data type</li>
1298 * </ul>
1299 * <!-- end-user-doc -->
1300 * @generated
1301 */
1302 interface Literals {
1303 /**
1304 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl <em>Component Definition</em>}' class.
1305 * <!-- begin-user-doc -->
1306 * <!-- end-user-doc -->
1307 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl
1308 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition()
1309 * @generated
1310 */
1311 EClass COMPONENT_DEFINITION = eINSTANCE.getComponentDefinition();
1312
1313 /**
1314 * The meta object literal for the '<em><b>Input Events</b></em>' containment reference list feature.
1315 * <!-- begin-user-doc -->
1316 * <!-- end-user-doc -->
1317 * @generated
1318 */
1319 EReference COMPONENT_DEFINITION__INPUT_EVENTS = eINSTANCE.getComponentDefinition_InputEvents();
1320
1321 /**
1322 * The meta object literal for the '<em><b>Event Definitions</b></em>' containment reference list feature.
1323 * <!-- begin-user-doc -->
1324 * <!-- end-user-doc -->
1325 * @generated
1326 */
1327 EReference COMPONENT_DEFINITION__EVENT_DEFINITIONS = eINSTANCE.getComponentDefinition_EventDefinitions();
1328
1329 /**
1330 * The meta object literal for the '<em><b>Output Events</b></em>' reference list feature.
1331 * <!-- begin-user-doc -->
1332 * <!-- end-user-doc -->
1333 * @generated
1334 */
1335 EReference COMPONENT_DEFINITION__OUTPUT_EVENTS = eINSTANCE.getComponentDefinition_OutputEvents();
1336
1337 /**
1338 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1339 * <!-- begin-user-doc -->
1340 * <!-- end-user-doc -->
1341 * @generated
1342 */
1343 EAttribute COMPONENT_DEFINITION__NAME = eINSTANCE.getComponentDefinition_Name();
1344
1345 /**
1346 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl <em>Event Definition</em>}' class.
1347 * <!-- begin-user-doc -->
1348 * <!-- end-user-doc -->
1349 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl
1350 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition()
1351 * @generated
1352 */
1353 EClass EVENT_DEFINITION = eINSTANCE.getEventDefinition();
1354
1355 /**
1356 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl <em>Gate Definition</em>}' class.
1357 * <!-- begin-user-doc -->
1358 * <!-- end-user-doc -->
1359 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl
1360 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition()
1361 * @generated
1362 */
1363 EClass GATE_DEFINITION = eINSTANCE.getGateDefinition();
1364
1365 /**
1366 * The meta object literal for the '<em><b>Input Events</b></em>' reference list feature.
1367 * <!-- begin-user-doc -->
1368 * <!-- end-user-doc -->
1369 * @generated
1370 */
1371 EReference GATE_DEFINITION__INPUT_EVENTS = eINSTANCE.getGateDefinition_InputEvents();
1372
1373 /**
1374 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl <em>Basic Event Definition</em>}' class.
1375 * <!-- begin-user-doc -->
1376 * <!-- end-user-doc -->
1377 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl
1378 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition()
1379 * @generated
1380 */
1381 EClass BASIC_EVENT_DEFINITION = eINSTANCE.getBasicEventDefinition();
1382
1383 /**
1384 * The meta object literal for the '<em><b>Distribution</b></em>' containment reference feature.
1385 * <!-- begin-user-doc -->
1386 * <!-- end-user-doc -->
1387 * @generated
1388 */
1389 EReference BASIC_EVENT_DEFINITION__DISTRIBUTION = eINSTANCE.getBasicEventDefinition_Distribution();
1390
1391 /**
1392 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl <em>Input Event</em>}' class.
1393 * <!-- begin-user-doc -->
1394 * <!-- end-user-doc -->
1395 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl
1396 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInputEvent()
1397 * @generated
1398 */
1399 EClass INPUT_EVENT = eINSTANCE.getInputEvent();
1400
1401 /**
1402 * The meta object literal for the '<em><b>Multiple</b></em>' attribute feature.
1403 * <!-- begin-user-doc -->
1404 * <!-- end-user-doc -->
1405 * @generated
1406 */
1407 EAttribute INPUT_EVENT__MULTIPLE = eINSTANCE.getInputEvent_Multiple();
1408
1409 /**
1410 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl <em>Event Declaration</em>}' class.
1411 * <!-- begin-user-doc -->
1412 * <!-- end-user-doc -->
1413 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl
1414 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration()
1415 * @generated
1416 */
1417 EClass EVENT_DECLARATION = eINSTANCE.getEventDeclaration();
1418
1419 /**
1420 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1421 * <!-- begin-user-doc -->
1422 * <!-- end-user-doc -->
1423 * @generated
1424 */
1425 EAttribute EVENT_DECLARATION__NAME = eINSTANCE.getEventDeclaration_Name();
1426
1427 /**
1428 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl <em>And Gate Definition</em>}' class.
1429 * <!-- begin-user-doc -->
1430 * <!-- end-user-doc -->
1431 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl
1432 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition()
1433 * @generated
1434 */
1435 EClass AND_GATE_DEFINITION = eINSTANCE.getAndGateDefinition();
1436
1437 /**
1438 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl <em>Or Gate Definition</em>}' class.
1439 * <!-- begin-user-doc -->
1440 * <!-- end-user-doc -->
1441 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl
1442 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition()
1443 * @generated
1444 */
1445 EClass OR_GATE_DEFINITION = eINSTANCE.getOrGateDefinition();
1446
1447 /**
1448 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl <em>KOf MGate Definition</em>}' class.
1449 * <!-- begin-user-doc -->
1450 * <!-- end-user-doc -->
1451 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl
1452 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition()
1453 * @generated
1454 */
1455 EClass KOF_MGATE_DEFINITION = eINSTANCE.getKOfMGateDefinition();
1456
1457 /**
1458 * The meta object literal for the '<em><b>K</b></em>' attribute feature.
1459 * <!-- begin-user-doc -->
1460 * <!-- end-user-doc -->
1461 * @generated
1462 */
1463 EAttribute KOF_MGATE_DEFINITION__K = eINSTANCE.getKOfMGateDefinition_K();
1464
1465 /**
1466 * The meta object literal for the '<em><b>M</b></em>' attribute feature.
1467 * <!-- begin-user-doc -->
1468 * <!-- end-user-doc -->
1469 * @generated
1470 */
1471 EAttribute KOF_MGATE_DEFINITION__M = eINSTANCE.getKOfMGateDefinition_M();
1472
1473 /**
1474 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl <em>Component Fault Tree</em>}' class.
1475 * <!-- begin-user-doc -->
1476 * <!-- end-user-doc -->
1477 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl
1478 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree()
1479 * @generated
1480 */
1481 EClass COMPONENT_FAULT_TREE = eINSTANCE.getComponentFaultTree();
1482
1483 /**
1484 * The meta object literal for the '<em><b>Components</b></em>' containment reference list feature.
1485 * <!-- begin-user-doc -->
1486 * <!-- end-user-doc -->
1487 * @generated
1488 */
1489 EReference COMPONENT_FAULT_TREE__COMPONENTS = eINSTANCE.getComponentFaultTree_Components();
1490
1491 /**
1492 * The meta object literal for the '<em><b>Top Event</b></em>' reference feature.
1493 * <!-- begin-user-doc -->
1494 * <!-- end-user-doc -->
1495 * @generated
1496 */
1497 EReference COMPONENT_FAULT_TREE__TOP_EVENT = eINSTANCE.getComponentFaultTree_TopEvent();
1498
1499 /**
1500 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl <em>Component</em>}' class.
1501 * <!-- begin-user-doc -->
1502 * <!-- end-user-doc -->
1503 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl
1504 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent()
1505 * @generated
1506 */
1507 EClass COMPONENT = eINSTANCE.getComponent();
1508
1509 /**
1510 * The meta object literal for the '<em><b>Inputs</b></em>' containment reference list feature.
1511 * <!-- begin-user-doc -->
1512 * <!-- end-user-doc -->
1513 * @generated
1514 */
1515 EReference COMPONENT__INPUTS = eINSTANCE.getComponent_Inputs();
1516
1517 /**
1518 * The meta object literal for the '<em><b>Outputs</b></em>' containment reference list feature.
1519 * <!-- begin-user-doc -->
1520 * <!-- end-user-doc -->
1521 * @generated
1522 */
1523 EReference COMPONENT__OUTPUTS = eINSTANCE.getComponent_Outputs();
1524
1525 /**
1526 * The meta object literal for the '<em><b>Component Definition</b></em>' reference feature.
1527 * <!-- begin-user-doc -->
1528 * <!-- end-user-doc -->
1529 * @generated
1530 */
1531 EReference COMPONENT__COMPONENT_DEFINITION = eINSTANCE.getComponent_ComponentDefinition();
1532
1533 /**
1534 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
1535 * <!-- begin-user-doc -->
1536 * <!-- end-user-doc -->
1537 * @generated
1538 */
1539 EAttribute COMPONENT__NAME = eINSTANCE.getComponent_Name();
1540
1541 /**
1542 * The meta object literal for the '<em><b>Multiple Allowed</b></em>' attribute feature.
1543 * <!-- begin-user-doc -->
1544 * <!-- end-user-doc -->
1545 * @generated
1546 */
1547 EAttribute COMPONENT__MULTIPLE_ALLOWED = eINSTANCE.getComponent_MultipleAllowed();
1548
1549 /**
1550 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl <em>Input</em>}' class.
1551 * <!-- begin-user-doc -->
1552 * <!-- end-user-doc -->
1553 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl
1554 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput()
1555 * @generated
1556 */
1557 EClass INPUT = eINSTANCE.getInput();
1558
1559 /**
1560 * The meta object literal for the '<em><b>Input Event</b></em>' reference feature.
1561 * <!-- begin-user-doc -->
1562 * <!-- end-user-doc -->
1563 * @generated
1564 */
1565 EReference INPUT__INPUT_EVENT = eINSTANCE.getInput_InputEvent();
1566
1567 /**
1568 * The meta object literal for the '<em><b>Component</b></em>' container reference feature.
1569 * <!-- begin-user-doc -->
1570 * <!-- end-user-doc -->
1571 * @generated
1572 */
1573 EReference INPUT__COMPONENT = eINSTANCE.getInput_Component();
1574
1575 /**
1576 * The meta object literal for the '<em><b>Incoming Connections</b></em>' containment reference list feature.
1577 * <!-- begin-user-doc -->
1578 * <!-- end-user-doc -->
1579 * @generated
1580 */
1581 EReference INPUT__INCOMING_CONNECTIONS = eINSTANCE.getInput_IncomingConnections();
1582
1583 /**
1584 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl <em>Output</em>}' class.
1585 * <!-- begin-user-doc -->
1586 * <!-- end-user-doc -->
1587 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl
1588 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput()
1589 * @generated
1590 */
1591 EClass OUTPUT = eINSTANCE.getOutput();
1592
1593 /**
1594 * The meta object literal for the '<em><b>Event Declaration</b></em>' reference feature.
1595 * <!-- begin-user-doc -->
1596 * <!-- end-user-doc -->
1597 * @generated
1598 */
1599 EReference OUTPUT__EVENT_DECLARATION = eINSTANCE.getOutput_EventDeclaration();
1600
1601 /**
1602 * The meta object literal for the '<em><b>Outgoing Connections</b></em>' reference list feature.
1603 * <!-- begin-user-doc -->
1604 * <!-- end-user-doc -->
1605 * @generated
1606 */
1607 EReference OUTPUT__OUTGOING_CONNECTIONS = eINSTANCE.getOutput_OutgoingConnections();
1608
1609 /**
1610 * The meta object literal for the '<em><b>Component</b></em>' container reference feature.
1611 * <!-- begin-user-doc -->
1612 * <!-- end-user-doc -->
1613 * @generated
1614 */
1615 EReference OUTPUT__COMPONENT = eINSTANCE.getOutput_Component();
1616
1617 /**
1618 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl <em>Connection</em>}' class.
1619 * <!-- begin-user-doc -->
1620 * <!-- end-user-doc -->
1621 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl
1622 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection()
1623 * @generated
1624 */
1625 EClass CONNECTION = eINSTANCE.getConnection();
1626
1627 /**
1628 * The meta object literal for the '<em><b>Input</b></em>' container reference feature.
1629 * <!-- begin-user-doc -->
1630 * <!-- end-user-doc -->
1631 * @generated
1632 */
1633 EReference CONNECTION__INPUT = eINSTANCE.getConnection_Input();
1634
1635 /**
1636 * The meta object literal for the '<em><b>Output</b></em>' reference feature.
1637 * <!-- begin-user-doc -->
1638 * <!-- end-user-doc -->
1639 * @generated
1640 */
1641 EReference CONNECTION__OUTPUT = eINSTANCE.getConnection_Output();
1642
1643 /**
1644 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}' class.
1645 * <!-- begin-user-doc -->
1646 * <!-- end-user-doc -->
1647 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement
1648 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement()
1649 * @generated
1650 */
1651 EClass MODAL_ELEMENT = eINSTANCE.getModalElement();
1652
1653 /**
1654 * The meta object literal for the '<em><b>Exists</b></em>' attribute feature.
1655 * <!-- begin-user-doc -->
1656 * <!-- end-user-doc -->
1657 * @generated
1658 */
1659 EAttribute MODAL_ELEMENT__EXISTS = eINSTANCE.getModalElement_Exists();
1660
1661 /**
1662 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality <em>Modality</em>}' enum.
1663 * <!-- begin-user-doc -->
1664 * <!-- end-user-doc -->
1665 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
1666 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality()
1667 * @generated
1668 */
1669 EEnum MODALITY = eINSTANCE.getModality();
1670
1671 }
1672
1673} //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
deleted file mode 100644
index 9b1d0b24..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java
+++ /dev/null
@@ -1,143 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Component</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.Component#getInputs <em>Inputs</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs <em>Outputs</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition <em>Component Definition</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName <em>Name</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed <em>Multiple Allowed</em>}</li>
21 * </ul>
22 *
23 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent()
24 * @model
25 * @generated
26 */
27public interface Component extends ModalElement {
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 /**
91 * Returns the value of the '<em><b>Name</b></em>' attribute.
92 * <!-- begin-user-doc -->
93 * <p>
94 * If the meaning of the '<em>Name</em>' attribute 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>Name</em>' attribute.
99 * @see #setName(String)
100 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Name()
101 * @model
102 * @generated
103 */
104 String getName();
105
106 /**
107 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName <em>Name</em>}' attribute.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @param value the new value of the '<em>Name</em>' attribute.
111 * @see #getName()
112 * @generated
113 */
114 void setName(String value);
115
116 /**
117 * Returns the value of the '<em><b>Multiple Allowed</b></em>' attribute.
118 * The default value is <code>"false"</code>.
119 * <!-- begin-user-doc -->
120 * <p>
121 * If the meaning of the '<em>Multiple Allowed</em>' attribute isn't clear,
122 * there really should be more of a description here...
123 * </p>
124 * <!-- end-user-doc -->
125 * @return the value of the '<em>Multiple Allowed</em>' attribute.
126 * @see #setMultipleAllowed(boolean)
127 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_MultipleAllowed()
128 * @model default="false"
129 * @generated
130 */
131 boolean isMultipleAllowed();
132
133 /**
134 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed <em>Multiple Allowed</em>}' attribute.
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @param value the new value of the '<em>Multiple Allowed</em>' attribute.
138 * @see #isMultipleAllowed()
139 * @generated
140 */
141 void setMultipleAllowed(boolean value);
142
143} // 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
deleted file mode 100644
index 82ab53fa..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java
+++ /dev/null
@@ -1,103 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.common.util.EList;
6
7import 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 */
28public 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.InputEvent}.
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<InputEvent> 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
deleted file mode 100644
index 06554378..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java
+++ /dev/null
@@ -1,69 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.common.util.EList;
6
7import 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 */
26public 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
deleted file mode 100644
index 9ca5b77f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java
+++ /dev/null
@@ -1,79 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5/**
6 * <!-- begin-user-doc -->
7 * A representation of the model object '<em><b>Connection</b></em>'.
8 * <!-- end-user-doc -->
9 *
10 * <p>
11 * The following features are supported:
12 * </p>
13 * <ul>
14 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}</li>
15 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection()
19 * @model
20 * @generated
21 */
22public interface Connection extends ModalElement {
23 /**
24 * Returns the value of the '<em><b>Input</b></em>' container reference.
25 * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections <em>Incoming Connections</em>}'.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Input</em>' container 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>Input</em>' container reference.
33 * @see #setInput(Input)
34 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Input()
35 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections
36 * @model opposite="incomingConnections" required="true" transient="false"
37 * @generated
38 */
39 Input getInput();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput <em>Input</em>}' container reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Input</em>' container reference.
46 * @see #getInput()
47 * @generated
48 */
49 void setInput(Input value);
50
51 /**
52 * Returns the value of the '<em><b>Output</b></em>' reference.
53 * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections <em>Outgoing Connections</em>}'.
54 * <!-- begin-user-doc -->
55 * <p>
56 * If the meaning of the '<em>Output</em>' reference isn't clear,
57 * there really should be more of a description here...
58 * </p>
59 * <!-- end-user-doc -->
60 * @return the value of the '<em>Output</em>' reference.
61 * @see #setOutput(Output)
62 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Output()
63 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections
64 * @model opposite="outgoingConnections" required="true"
65 * @generated
66 */
67 Output getOutput();
68
69 /**
70 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput <em>Output</em>}' reference.
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @param value the new value of the '<em>Output</em>' reference.
74 * @see #getOutput()
75 * @generated
76 */
77 void setOutput(Output value);
78
79} // 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
deleted file mode 100644
index 28d49f06..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import 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 */
23public interface EventDeclaration 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.cft.CftPackage#getEventDeclaration_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.cft.EventDeclaration#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} // 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
deleted file mode 100644
index d279ddfc..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java
+++ /dev/null
@@ -1,17 +0,0 @@
1/**
2 */
3package 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 */
16public 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
deleted file mode 100644
index 2173be5c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import 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 */
23public 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
deleted file mode 100644
index 7351d1bb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java
+++ /dev/null
@@ -1,100 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.common.util.EList;
6
7import 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#getInputEvent <em>Input 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 */
27public interface Input extends EObject {
28 /**
29 * Returns the value of the '<em><b>Input Event</b></em>' reference.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Input 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>Input Event</em>' reference.
37 * @see #setInputEvent(InputEvent)
38 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_InputEvent()
39 * @model required="true"
40 * @generated
41 */
42 InputEvent getInputEvent();
43
44 /**
45 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent <em>Input Event</em>}' reference.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @param value the new value of the '<em>Input Event</em>' reference.
49 * @see #getInputEvent()
50 * @generated
51 */
52 void setInputEvent(InputEvent 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/InputEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java
deleted file mode 100644
index 92721776..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>Input 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.InputEvent#isMultiple <em>Multiple</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInputEvent()
19 * @model
20 * @generated
21 */
22public interface InputEvent 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#getInputEvent_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.InputEvent#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} // InputEvent
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
deleted file mode 100644
index 6e1bc1c1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java
+++ /dev/null
@@ -1,76 +0,0 @@
1/**
2 */
3package 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 */
23public 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/ModalElement.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java
deleted file mode 100644
index 9abb6558..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java
+++ /dev/null
@@ -1,54 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Modal Element</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.ModalElement#getExists <em>Exists</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement()
20 * @model interface="true" abstract="true"
21 * @generated
22 */
23public interface ModalElement extends EObject {
24 /**
25 * Returns the value of the '<em><b>Exists</b></em>' attribute.
26 * The default value is <code>"MUST"</code>.
27 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality}.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Exists</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>Exists</em>' attribute.
35 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
36 * @see #setExists(Modality)
37 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement_Exists()
38 * @model default="MUST"
39 * @generated
40 */
41 Modality getExists();
42
43 /**
44 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists <em>Exists</em>}' attribute.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Exists</em>' attribute.
48 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
49 * @see #getExists()
50 * @generated
51 */
52 void setExists(Modality value);
53
54} // ModalElement
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java
deleted file mode 100644
index 6b7dc1e4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java
+++ /dev/null
@@ -1,244 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import java.util.Arrays;
6import java.util.Collections;
7import java.util.List;
8
9import org.eclipse.emf.common.util.Enumerator;
10
11/**
12 * <!-- begin-user-doc -->
13 * A representation of the literals of the enumeration '<em><b>Modality</b></em>',
14 * and utility methods for working with them.
15 * <!-- end-user-doc -->
16 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModality()
17 * @model
18 * @generated
19 */
20public enum Modality implements Enumerator {
21 /**
22 * The '<em><b>MAY</b></em>' literal object.
23 * <!-- begin-user-doc -->
24 * <!-- end-user-doc -->
25 * @see #MAY_VALUE
26 * @generated
27 * @ordered
28 */
29 MAY(0, "MAY", "MAY"),
30
31 /**
32 * The '<em><b>CURRENT</b></em>' literal object.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #CURRENT_VALUE
36 * @generated
37 * @ordered
38 */
39 CURRENT(1, "CURRENT", "CURRENT"),
40
41 /**
42 * The '<em><b>MUST</b></em>' literal object.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #MUST_VALUE
46 * @generated
47 * @ordered
48 */
49 MUST(2, "MUST", "MUST");
50
51 /**
52 * The '<em><b>MAY</b></em>' literal value.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of '<em><b>MAY</b></em>' literal object isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @see #MAY
60 * @model
61 * @generated
62 * @ordered
63 */
64 public static final int MAY_VALUE = 0;
65
66 /**
67 * The '<em><b>CURRENT</b></em>' literal value.
68 * <!-- begin-user-doc -->
69 * <p>
70 * If the meaning of '<em><b>CURRENT</b></em>' literal object isn't clear,
71 * there really should be more of a description here...
72 * </p>
73 * <!-- end-user-doc -->
74 * @see #CURRENT
75 * @model
76 * @generated
77 * @ordered
78 */
79 public static final int CURRENT_VALUE = 1;
80
81 /**
82 * The '<em><b>MUST</b></em>' literal value.
83 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of '<em><b>MUST</b></em>' literal object isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc -->
89 * @see #MUST
90 * @model
91 * @generated
92 * @ordered
93 */
94 public static final int MUST_VALUE = 2;
95
96 /**
97 * An array of all the '<em><b>Modality</b></em>' enumerators.
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 private static final Modality[] VALUES_ARRAY =
103 new Modality[] {
104 MAY,
105 CURRENT,
106 MUST,
107 };
108
109 /**
110 * A public read-only list of all the '<em><b>Modality</b></em>' enumerators.
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 public static final List<Modality> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
116
117 /**
118 * Returns the '<em><b>Modality</b></em>' literal with the specified literal value.
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @param literal the literal.
122 * @return the matching enumerator or <code>null</code>.
123 * @generated
124 */
125 public static Modality get(String literal) {
126 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
127 Modality result = VALUES_ARRAY[i];
128 if (result.toString().equals(literal)) {
129 return result;
130 }
131 }
132 return null;
133 }
134
135 /**
136 * Returns the '<em><b>Modality</b></em>' literal with the specified name.
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @param name the name.
140 * @return the matching enumerator or <code>null</code>.
141 * @generated
142 */
143 public static Modality getByName(String name) {
144 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
145 Modality result = VALUES_ARRAY[i];
146 if (result.getName().equals(name)) {
147 return result;
148 }
149 }
150 return null;
151 }
152
153 /**
154 * Returns the '<em><b>Modality</b></em>' literal with the specified integer value.
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @param value the integer value.
158 * @return the matching enumerator or <code>null</code>.
159 * @generated
160 */
161 public static Modality get(int value) {
162 switch (value) {
163 case MAY_VALUE: return MAY;
164 case CURRENT_VALUE: return CURRENT;
165 case MUST_VALUE: return MUST;
166 }
167 return null;
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 private final int value;
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 private final String name;
183
184 /**
185 * <!-- begin-user-doc -->
186 * <!-- end-user-doc -->
187 * @generated
188 */
189 private final String literal;
190
191 /**
192 * Only this class can construct instances.
193 * <!-- begin-user-doc -->
194 * <!-- end-user-doc -->
195 * @generated
196 */
197 private Modality(int value, String name, String literal) {
198 this.value = value;
199 this.name = name;
200 this.literal = literal;
201 }
202
203 /**
204 * <!-- begin-user-doc -->
205 * <!-- end-user-doc -->
206 * @generated
207 */
208 @Override
209 public int getValue() {
210 return value;
211 }
212
213 /**
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @generated
217 */
218 @Override
219 public String getName() {
220 return name;
221 }
222
223 /**
224 * <!-- begin-user-doc -->
225 * <!-- end-user-doc -->
226 * @generated
227 */
228 @Override
229 public String getLiteral() {
230 return literal;
231 }
232
233 /**
234 * Returns the literal value of the enumerator, which is its string representation.
235 * <!-- begin-user-doc -->
236 * <!-- end-user-doc -->
237 * @generated
238 */
239 @Override
240 public String toString() {
241 return literal;
242 }
243
244} //Modality
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
deleted file mode 100644
index f62d6652..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java
+++ /dev/null
@@ -1,17 +0,0 @@
1/**
2 */
3package 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 */
16public 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
deleted file mode 100644
index ffb61b8c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java
+++ /dev/null
@@ -1,100 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft;
4
5import org.eclipse.emf.common.util.EList;
6
7import 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 */
27public 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
deleted file mode 100644
index fd716fc9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
7
8import 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 */
17public 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
deleted file mode 100644
index 87fc5d70..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java
+++ /dev/null
@@ -1,178 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
7
8import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
9
10import org.eclipse.emf.common.notify.Notification;
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.ecore.EClass;
14import org.eclipse.emf.ecore.InternalEObject;
15
16import 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 */
31public 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
deleted file mode 100644
index 6b07b541..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java
+++ /dev/null
@@ -1,268 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*;
6
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EDataType;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.emf.ecore.EPackage;
11
12import org.eclipse.emf.ecore.impl.EFactoryImpl;
13
14import org.eclipse.emf.ecore.plugin.EcorePlugin;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model <b>Factory</b>.
19 * <!-- end-user-doc -->
20 * @generated
21 */
22public class CftFactoryImpl extends EFactoryImpl implements CftFactory {
23 /**
24 * Creates the default factory implementation.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @generated
28 */
29 public static CftFactory init() {
30 try {
31 CftFactory theCftFactory = (CftFactory)EPackage.Registry.INSTANCE.getEFactory(CftPackage.eNS_URI);
32 if (theCftFactory != null) {
33 return theCftFactory;
34 }
35 }
36 catch (Exception exception) {
37 EcorePlugin.INSTANCE.log(exception);
38 }
39 return new CftFactoryImpl();
40 }
41
42 /**
43 * Creates an instance of the factory.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @generated
47 */
48 public CftFactoryImpl() {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 public EObject create(EClass eClass) {
59 switch (eClass.getClassifierID()) {
60 case CftPackage.COMPONENT_DEFINITION: return createComponentDefinition();
61 case CftPackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition();
62 case CftPackage.INPUT_EVENT: return createInputEvent();
63 case CftPackage.AND_GATE_DEFINITION: return createAndGateDefinition();
64 case CftPackage.OR_GATE_DEFINITION: return createOrGateDefinition();
65 case CftPackage.KOF_MGATE_DEFINITION: return createKOfMGateDefinition();
66 case CftPackage.COMPONENT_FAULT_TREE: return createComponentFaultTree();
67 case CftPackage.COMPONENT: return createComponent();
68 case CftPackage.INPUT: return createInput();
69 case CftPackage.OUTPUT: return createOutput();
70 case CftPackage.CONNECTION: return createConnection();
71 default:
72 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
73 }
74 }
75
76 /**
77 * <!-- begin-user-doc -->
78 * <!-- end-user-doc -->
79 * @generated
80 */
81 @Override
82 public Object createFromString(EDataType eDataType, String initialValue) {
83 switch (eDataType.getClassifierID()) {
84 case CftPackage.MODALITY:
85 return createModalityFromString(eDataType, initialValue);
86 default:
87 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
88 }
89 }
90
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 @Override
97 public String convertToString(EDataType eDataType, Object instanceValue) {
98 switch (eDataType.getClassifierID()) {
99 case CftPackage.MODALITY:
100 return convertModalityToString(eDataType, instanceValue);
101 default:
102 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
103 }
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 @Override
112 public ComponentDefinition createComponentDefinition() {
113 ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl();
114 return componentDefinition;
115 }
116
117 /**
118 * <!-- begin-user-doc -->
119 * <!-- end-user-doc -->
120 * @generated
121 */
122 @Override
123 public BasicEventDefinition createBasicEventDefinition() {
124 BasicEventDefinitionImpl basicEventDefinition = new BasicEventDefinitionImpl();
125 return basicEventDefinition;
126 }
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 @Override
134 public InputEvent createInputEvent() {
135 InputEventImpl inputEvent = new InputEventImpl();
136 return inputEvent;
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public AndGateDefinition createAndGateDefinition() {
146 AndGateDefinitionImpl andGateDefinition = new AndGateDefinitionImpl();
147 return andGateDefinition;
148 }
149
150 /**
151 * <!-- begin-user-doc -->
152 * <!-- end-user-doc -->
153 * @generated
154 */
155 @Override
156 public OrGateDefinition createOrGateDefinition() {
157 OrGateDefinitionImpl orGateDefinition = new OrGateDefinitionImpl();
158 return orGateDefinition;
159 }
160
161 /**
162 * <!-- begin-user-doc -->
163 * <!-- end-user-doc -->
164 * @generated
165 */
166 @Override
167 public KOfMGateDefinition createKOfMGateDefinition() {
168 KOfMGateDefinitionImpl kOfMGateDefinition = new KOfMGateDefinitionImpl();
169 return kOfMGateDefinition;
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public ComponentFaultTree createComponentFaultTree() {
179 ComponentFaultTreeImpl componentFaultTree = new ComponentFaultTreeImpl();
180 return componentFaultTree;
181 }
182
183 /**
184 * <!-- begin-user-doc -->
185 * <!-- end-user-doc -->
186 * @generated
187 */
188 @Override
189 public Component createComponent() {
190 ComponentImpl component = new ComponentImpl();
191 return component;
192 }
193
194 /**
195 * <!-- begin-user-doc -->
196 * <!-- end-user-doc -->
197 * @generated
198 */
199 @Override
200 public Input createInput() {
201 InputImpl input = new InputImpl();
202 return input;
203 }
204
205 /**
206 * <!-- begin-user-doc -->
207 * <!-- end-user-doc -->
208 * @generated
209 */
210 @Override
211 public Output createOutput() {
212 OutputImpl output = new OutputImpl();
213 return output;
214 }
215
216 /**
217 * <!-- begin-user-doc -->
218 * <!-- end-user-doc -->
219 * @generated
220 */
221 @Override
222 public Connection createConnection() {
223 ConnectionImpl connection = new ConnectionImpl();
224 return connection;
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 public Modality createModalityFromString(EDataType eDataType, String initialValue) {
233 Modality result = Modality.get(initialValue);
234 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
235 return result;
236 }
237
238 /**
239 * <!-- begin-user-doc -->
240 * <!-- end-user-doc -->
241 * @generated
242 */
243 public String convertModalityToString(EDataType eDataType, Object instanceValue) {
244 return instanceValue == null ? null : instanceValue.toString();
245 }
246
247 /**
248 * <!-- begin-user-doc -->
249 * <!-- end-user-doc -->
250 * @generated
251 */
252 @Override
253 public CftPackage getCftPackage() {
254 return (CftPackage)getEPackage();
255 }
256
257 /**
258 * <!-- begin-user-doc -->
259 * <!-- end-user-doc -->
260 * @deprecated
261 * @generated
262 */
263 @Deprecated
264 public static CftPackage getPackage() {
265 return CftPackage.eINSTANCE;
266 }
267
268} //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
deleted file mode 100644
index 2d70d7ce..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java
+++ /dev/null
@@ -1,834 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
11import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
13import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
14import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition;
15import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition;
16import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
17import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
18import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition;
19import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement;
20import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
21import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition;
22import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
23
24import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
25
26import org.eclipse.emf.ecore.EAttribute;
27import org.eclipse.emf.ecore.EClass;
28import org.eclipse.emf.ecore.EEnum;
29import org.eclipse.emf.ecore.EPackage;
30import org.eclipse.emf.ecore.EReference;
31
32import org.eclipse.emf.ecore.impl.EPackageImpl;
33
34/**
35 * <!-- begin-user-doc -->
36 * An implementation of the model <b>Package</b>.
37 * <!-- end-user-doc -->
38 * @generated
39 */
40public class CftPackageImpl extends EPackageImpl implements CftPackage {
41 /**
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @generated
45 */
46 private EClass componentDefinitionEClass = null;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 private EClass eventDefinitionEClass = null;
54
55 /**
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @generated
59 */
60 private EClass gateDefinitionEClass = null;
61
62 /**
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @generated
66 */
67 private EClass basicEventDefinitionEClass = null;
68
69 /**
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @generated
73 */
74 private EClass inputEventEClass = null;
75
76 /**
77 * <!-- begin-user-doc -->
78 * <!-- end-user-doc -->
79 * @generated
80 */
81 private EClass eventDeclarationEClass = null;
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 private EClass andGateDefinitionEClass = null;
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 private EClass orGateDefinitionEClass = null;
96
97 /**
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 private EClass kOfMGateDefinitionEClass = null;
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 private EClass componentFaultTreeEClass = null;
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 private EClass componentEClass = null;
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 private EClass inputEClass = null;
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 private EClass outputEClass = null;
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 private EClass connectionEClass = null;
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 private EClass modalElementEClass = null;
145
146 /**
147 * <!-- begin-user-doc -->
148 * <!-- end-user-doc -->
149 * @generated
150 */
151 private EEnum modalityEEnum = null;
152
153 /**
154 * Creates an instance of the model <b>Package</b>, registered with
155 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
156 * package URI value.
157 * <p>Note: the correct way to create the package is via the static
158 * factory method {@link #init init()}, which also performs
159 * initialization of the package, or returns the registered package,
160 * if one already exists.
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @see org.eclipse.emf.ecore.EPackage.Registry
164 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#eNS_URI
165 * @see #init()
166 * @generated
167 */
168 private CftPackageImpl() {
169 super(eNS_URI, CftFactory.eINSTANCE);
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 private static boolean isInited = false;
178
179 /**
180 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
181 *
182 * <p>This method is used to initialize {@link CftPackage#eINSTANCE} when that field is accessed.
183 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
184 * <!-- begin-user-doc -->
185 * <!-- end-user-doc -->
186 * @see #eNS_URI
187 * @see #createPackageContents()
188 * @see #initializePackageContents()
189 * @generated
190 */
191 public static CftPackage init() {
192 if (isInited) return (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI);
193
194 // Obtain or create and register package
195 Object registeredCftPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
196 CftPackageImpl theCftPackage = registeredCftPackage instanceof CftPackageImpl ? (CftPackageImpl)registeredCftPackage : new CftPackageImpl();
197
198 isInited = true;
199
200 // Initialize simple dependencies
201 FtPackage.eINSTANCE.eClass();
202
203 // Create package meta-data objects
204 theCftPackage.createPackageContents();
205
206 // Initialize created meta-data
207 theCftPackage.initializePackageContents();
208
209 // Mark meta-data to indicate it can't be changed
210 theCftPackage.freeze();
211
212 // Update the registry and return the package
213 EPackage.Registry.INSTANCE.put(CftPackage.eNS_URI, theCftPackage);
214 return theCftPackage;
215 }
216
217 /**
218 * <!-- begin-user-doc -->
219 * <!-- end-user-doc -->
220 * @generated
221 */
222 @Override
223 public EClass getComponentDefinition() {
224 return componentDefinitionEClass;
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @Override
233 public EReference getComponentDefinition_InputEvents() {
234 return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(0);
235 }
236
237 /**
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @generated
241 */
242 @Override
243 public EReference getComponentDefinition_EventDefinitions() {
244 return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1);
245 }
246
247 /**
248 * <!-- begin-user-doc -->
249 * <!-- end-user-doc -->
250 * @generated
251 */
252 @Override
253 public EReference getComponentDefinition_OutputEvents() {
254 return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2);
255 }
256
257 /**
258 * <!-- begin-user-doc -->
259 * <!-- end-user-doc -->
260 * @generated
261 */
262 @Override
263 public EAttribute getComponentDefinition_Name() {
264 return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(3);
265 }
266
267 /**
268 * <!-- begin-user-doc -->
269 * <!-- end-user-doc -->
270 * @generated
271 */
272 @Override
273 public EClass getEventDefinition() {
274 return eventDefinitionEClass;
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public EClass getGateDefinition() {
284 return gateDefinitionEClass;
285 }
286
287 /**
288 * <!-- begin-user-doc -->
289 * <!-- end-user-doc -->
290 * @generated
291 */
292 @Override
293 public EReference getGateDefinition_InputEvents() {
294 return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0);
295 }
296
297 /**
298 * <!-- begin-user-doc -->
299 * <!-- end-user-doc -->
300 * @generated
301 */
302 @Override
303 public EClass getBasicEventDefinition() {
304 return basicEventDefinitionEClass;
305 }
306
307 /**
308 * <!-- begin-user-doc -->
309 * <!-- end-user-doc -->
310 * @generated
311 */
312 @Override
313 public EReference getBasicEventDefinition_Distribution() {
314 return (EReference)basicEventDefinitionEClass.getEStructuralFeatures().get(0);
315 }
316
317 /**
318 * <!-- begin-user-doc -->
319 * <!-- end-user-doc -->
320 * @generated
321 */
322 @Override
323 public EClass getInputEvent() {
324 return inputEventEClass;
325 }
326
327 /**
328 * <!-- begin-user-doc -->
329 * <!-- end-user-doc -->
330 * @generated
331 */
332 @Override
333 public EAttribute getInputEvent_Multiple() {
334 return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0);
335 }
336
337 /**
338 * <!-- begin-user-doc -->
339 * <!-- end-user-doc -->
340 * @generated
341 */
342 @Override
343 public EClass getEventDeclaration() {
344 return eventDeclarationEClass;
345 }
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 @Override
353 public EAttribute getEventDeclaration_Name() {
354 return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0);
355 }
356
357 /**
358 * <!-- begin-user-doc -->
359 * <!-- end-user-doc -->
360 * @generated
361 */
362 @Override
363 public EClass getAndGateDefinition() {
364 return andGateDefinitionEClass;
365 }
366
367 /**
368 * <!-- begin-user-doc -->
369 * <!-- end-user-doc -->
370 * @generated
371 */
372 @Override
373 public EClass getOrGateDefinition() {
374 return orGateDefinitionEClass;
375 }
376
377 /**
378 * <!-- begin-user-doc -->
379 * <!-- end-user-doc -->
380 * @generated
381 */
382 @Override
383 public EClass getKOfMGateDefinition() {
384 return kOfMGateDefinitionEClass;
385 }
386
387 /**
388 * <!-- begin-user-doc -->
389 * <!-- end-user-doc -->
390 * @generated
391 */
392 @Override
393 public EAttribute getKOfMGateDefinition_K() {
394 return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(0);
395 }
396
397 /**
398 * <!-- begin-user-doc -->
399 * <!-- end-user-doc -->
400 * @generated
401 */
402 @Override
403 public EAttribute getKOfMGateDefinition_M() {
404 return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(1);
405 }
406
407 /**
408 * <!-- begin-user-doc -->
409 * <!-- end-user-doc -->
410 * @generated
411 */
412 @Override
413 public EClass getComponentFaultTree() {
414 return componentFaultTreeEClass;
415 }
416
417 /**
418 * <!-- begin-user-doc -->
419 * <!-- end-user-doc -->
420 * @generated
421 */
422 @Override
423 public EReference getComponentFaultTree_Components() {
424 return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(0);
425 }
426
427 /**
428 * <!-- begin-user-doc -->
429 * <!-- end-user-doc -->
430 * @generated
431 */
432 @Override
433 public EReference getComponentFaultTree_TopEvent() {
434 return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(1);
435 }
436
437 /**
438 * <!-- begin-user-doc -->
439 * <!-- end-user-doc -->
440 * @generated
441 */
442 @Override
443 public EClass getComponent() {
444 return componentEClass;
445 }
446
447 /**
448 * <!-- begin-user-doc -->
449 * <!-- end-user-doc -->
450 * @generated
451 */
452 @Override
453 public EReference getComponent_Inputs() {
454 return (EReference)componentEClass.getEStructuralFeatures().get(0);
455 }
456
457 /**
458 * <!-- begin-user-doc -->
459 * <!-- end-user-doc -->
460 * @generated
461 */
462 @Override
463 public EReference getComponent_Outputs() {
464 return (EReference)componentEClass.getEStructuralFeatures().get(1);
465 }
466
467 /**
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @generated
471 */
472 @Override
473 public EReference getComponent_ComponentDefinition() {
474 return (EReference)componentEClass.getEStructuralFeatures().get(2);
475 }
476
477 /**
478 * <!-- begin-user-doc -->
479 * <!-- end-user-doc -->
480 * @generated
481 */
482 @Override
483 public EAttribute getComponent_Name() {
484 return (EAttribute)componentEClass.getEStructuralFeatures().get(3);
485 }
486
487 /**
488 * <!-- begin-user-doc -->
489 * <!-- end-user-doc -->
490 * @generated
491 */
492 @Override
493 public EAttribute getComponent_MultipleAllowed() {
494 return (EAttribute)componentEClass.getEStructuralFeatures().get(4);
495 }
496
497 /**
498 * <!-- begin-user-doc -->
499 * <!-- end-user-doc -->
500 * @generated
501 */
502 @Override
503 public EClass getInput() {
504 return inputEClass;
505 }
506
507 /**
508 * <!-- begin-user-doc -->
509 * <!-- end-user-doc -->
510 * @generated
511 */
512 @Override
513 public EReference getInput_InputEvent() {
514 return (EReference)inputEClass.getEStructuralFeatures().get(0);
515 }
516
517 /**
518 * <!-- begin-user-doc -->
519 * <!-- end-user-doc -->
520 * @generated
521 */
522 @Override
523 public EReference getInput_Component() {
524 return (EReference)inputEClass.getEStructuralFeatures().get(1);
525 }
526
527 /**
528 * <!-- begin-user-doc -->
529 * <!-- end-user-doc -->
530 * @generated
531 */
532 @Override
533 public EReference getInput_IncomingConnections() {
534 return (EReference)inputEClass.getEStructuralFeatures().get(2);
535 }
536
537 /**
538 * <!-- begin-user-doc -->
539 * <!-- end-user-doc -->
540 * @generated
541 */
542 @Override
543 public EClass getOutput() {
544 return outputEClass;
545 }
546
547 /**
548 * <!-- begin-user-doc -->
549 * <!-- end-user-doc -->
550 * @generated
551 */
552 @Override
553 public EReference getOutput_EventDeclaration() {
554 return (EReference)outputEClass.getEStructuralFeatures().get(0);
555 }
556
557 /**
558 * <!-- begin-user-doc -->
559 * <!-- end-user-doc -->
560 * @generated
561 */
562 @Override
563 public EReference getOutput_OutgoingConnections() {
564 return (EReference)outputEClass.getEStructuralFeatures().get(1);
565 }
566
567 /**
568 * <!-- begin-user-doc -->
569 * <!-- end-user-doc -->
570 * @generated
571 */
572 @Override
573 public EReference getOutput_Component() {
574 return (EReference)outputEClass.getEStructuralFeatures().get(2);
575 }
576
577 /**
578 * <!-- begin-user-doc -->
579 * <!-- end-user-doc -->
580 * @generated
581 */
582 @Override
583 public EClass getConnection() {
584 return connectionEClass;
585 }
586
587 /**
588 * <!-- begin-user-doc -->
589 * <!-- end-user-doc -->
590 * @generated
591 */
592 @Override
593 public EReference getConnection_Input() {
594 return (EReference)connectionEClass.getEStructuralFeatures().get(0);
595 }
596
597 /**
598 * <!-- begin-user-doc -->
599 * <!-- end-user-doc -->
600 * @generated
601 */
602 @Override
603 public EReference getConnection_Output() {
604 return (EReference)connectionEClass.getEStructuralFeatures().get(1);
605 }
606
607 /**
608 * <!-- begin-user-doc -->
609 * <!-- end-user-doc -->
610 * @generated
611 */
612 @Override
613 public EClass getModalElement() {
614 return modalElementEClass;
615 }
616
617 /**
618 * <!-- begin-user-doc -->
619 * <!-- end-user-doc -->
620 * @generated
621 */
622 @Override
623 public EAttribute getModalElement_Exists() {
624 return (EAttribute)modalElementEClass.getEStructuralFeatures().get(0);
625 }
626
627 /**
628 * <!-- begin-user-doc -->
629 * <!-- end-user-doc -->
630 * @generated
631 */
632 @Override
633 public EEnum getModality() {
634 return modalityEEnum;
635 }
636
637 /**
638 * <!-- begin-user-doc -->
639 * <!-- end-user-doc -->
640 * @generated
641 */
642 @Override
643 public CftFactory getCftFactory() {
644 return (CftFactory)getEFactoryInstance();
645 }
646
647 /**
648 * <!-- begin-user-doc -->
649 * <!-- end-user-doc -->
650 * @generated
651 */
652 private boolean isCreated = false;
653
654 /**
655 * Creates the meta-model objects for the package. This method is
656 * guarded to have no affect on any invocation but its first.
657 * <!-- begin-user-doc -->
658 * <!-- end-user-doc -->
659 * @generated
660 */
661 public void createPackageContents() {
662 if (isCreated) return;
663 isCreated = true;
664
665 // Create classes and their features
666 componentDefinitionEClass = createEClass(COMPONENT_DEFINITION);
667 createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS);
668 createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS);
669 createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS);
670 createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME);
671
672 eventDefinitionEClass = createEClass(EVENT_DEFINITION);
673
674 gateDefinitionEClass = createEClass(GATE_DEFINITION);
675 createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS);
676
677 basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION);
678 createEReference(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__DISTRIBUTION);
679
680 inputEventEClass = createEClass(INPUT_EVENT);
681 createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE);
682
683 eventDeclarationEClass = createEClass(EVENT_DECLARATION);
684 createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME);
685
686 andGateDefinitionEClass = createEClass(AND_GATE_DEFINITION);
687
688 orGateDefinitionEClass = createEClass(OR_GATE_DEFINITION);
689
690 kOfMGateDefinitionEClass = createEClass(KOF_MGATE_DEFINITION);
691 createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__K);
692 createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__M);
693
694 componentFaultTreeEClass = createEClass(COMPONENT_FAULT_TREE);
695 createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__COMPONENTS);
696 createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__TOP_EVENT);
697
698 componentEClass = createEClass(COMPONENT);
699 createEReference(componentEClass, COMPONENT__INPUTS);
700 createEReference(componentEClass, COMPONENT__OUTPUTS);
701 createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION);
702 createEAttribute(componentEClass, COMPONENT__NAME);
703 createEAttribute(componentEClass, COMPONENT__MULTIPLE_ALLOWED);
704
705 inputEClass = createEClass(INPUT);
706 createEReference(inputEClass, INPUT__INPUT_EVENT);
707 createEReference(inputEClass, INPUT__COMPONENT);
708 createEReference(inputEClass, INPUT__INCOMING_CONNECTIONS);
709
710 outputEClass = createEClass(OUTPUT);
711 createEReference(outputEClass, OUTPUT__EVENT_DECLARATION);
712 createEReference(outputEClass, OUTPUT__OUTGOING_CONNECTIONS);
713 createEReference(outputEClass, OUTPUT__COMPONENT);
714
715 connectionEClass = createEClass(CONNECTION);
716 createEReference(connectionEClass, CONNECTION__INPUT);
717 createEReference(connectionEClass, CONNECTION__OUTPUT);
718
719 modalElementEClass = createEClass(MODAL_ELEMENT);
720 createEAttribute(modalElementEClass, MODAL_ELEMENT__EXISTS);
721
722 // Create enums
723 modalityEEnum = createEEnum(MODALITY);
724 }
725
726 /**
727 * <!-- begin-user-doc -->
728 * <!-- end-user-doc -->
729 * @generated
730 */
731 private boolean isInitialized = false;
732
733 /**
734 * Complete the initialization of the package and its meta-model. This
735 * method is guarded to have no affect on any invocation but its first.
736 * <!-- begin-user-doc -->
737 * <!-- end-user-doc -->
738 * @generated
739 */
740 public void initializePackageContents() {
741 if (isInitialized) return;
742 isInitialized = true;
743
744 // Initialize package
745 setName(eNAME);
746 setNsPrefix(eNS_PREFIX);
747 setNsURI(eNS_URI);
748
749 // Obtain other dependent packages
750 FtPackage theFtPackage = (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI);
751
752 // Create type parameters
753
754 // Set bounds for type parameters
755
756 // Add supertypes to classes
757 eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration());
758 gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition());
759 basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition());
760 inputEventEClass.getESuperTypes().add(this.getEventDeclaration());
761 andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition());
762 orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition());
763 kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition());
764 componentEClass.getESuperTypes().add(this.getModalElement());
765 connectionEClass.getESuperTypes().add(this.getModalElement());
766
767 // Initialize classes, features, and operations; add parameters
768 initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
769 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);
770 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);
771 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);
772 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);
773
774 initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
775
776 initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
777 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);
778
779 initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
780 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);
781
782 initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
783 initEAttribute(getInputEvent_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
784
785 initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
786 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);
787
788 initEClass(andGateDefinitionEClass, AndGateDefinition.class, "AndGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
789
790 initEClass(orGateDefinitionEClass, OrGateDefinition.class, "OrGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
791
792 initEClass(kOfMGateDefinitionEClass, KOfMGateDefinition.class, "KOfMGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
793 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);
794 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);
795
796 initEClass(componentFaultTreeEClass, ComponentFaultTree.class, "ComponentFaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
797 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);
798 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);
799
800 initEClass(componentEClass, Component.class, "Component", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
801 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);
802 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);
803 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);
804 initEAttribute(getComponent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
805 initEAttribute(getComponent_MultipleAllowed(), ecorePackage.getEBoolean(), "multipleAllowed", "false", 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
806
807 initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
808 initEReference(getInput_InputEvent(), this.getInputEvent(), null, "inputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
809 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);
810 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);
811
812 initEClass(outputEClass, Output.class, "Output", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
813 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);
814 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);
815 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);
816
817 initEClass(connectionEClass, Connection.class, "Connection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
818 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);
819 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);
820
821 initEClass(modalElementEClass, ModalElement.class, "ModalElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
822 initEAttribute(getModalElement_Exists(), this.getModality(), "exists", "MUST", 0, 1, ModalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
823
824 // Initialize enums and add enum literals
825 initEEnum(modalityEEnum, Modality.class, "Modality");
826 addEEnumLiteral(modalityEEnum, Modality.MAY);
827 addEEnumLiteral(modalityEEnum, Modality.CURRENT);
828 addEEnumLiteral(modalityEEnum, Modality.MUST);
829
830 // Create resource
831 createResource(eNS_URI);
832 }
833
834} //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
deleted file mode 100644
index 3b79fb0c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java
+++ /dev/null
@@ -1,299 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.Notification;
13import org.eclipse.emf.common.notify.NotificationChain;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.impl.ENotificationImpl;
21import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
22
23import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24import org.eclipse.emf.ecore.util.EObjectResolvingEList;
25import org.eclipse.emf.ecore.util.InternalEList;
26
27/**
28 * <!-- begin-user-doc -->
29 * An implementation of the model object '<em><b>Component Definition</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.ComponentDefinitionImpl#getInputEvents <em>Input Events</em>}</li>
36 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getEventDefinitions <em>Event Definitions</em>}</li>
37 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getOutputEvents <em>Output Events</em>}</li>
38 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getName <em>Name</em>}</li>
39 * </ul>
40 *
41 * @generated
42 */
43public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implements ComponentDefinition {
44 /**
45 * The cached value of the '{@link #getInputEvents() <em>Input Events</em>}' containment reference list.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getInputEvents()
49 * @generated
50 * @ordered
51 */
52 protected EList<InputEvent> inputEvents;
53
54 /**
55 * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list.
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @see #getEventDefinitions()
59 * @generated
60 * @ordered
61 */
62 protected EList<EventDefinition> eventDefinitions;
63
64 /**
65 * The cached value of the '{@link #getOutputEvents() <em>Output Events</em>}' reference list.
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @see #getOutputEvents()
69 * @generated
70 * @ordered
71 */
72 protected EList<EventDeclaration> outputEvents;
73
74 /**
75 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
76 * <!-- begin-user-doc -->
77 * <!-- end-user-doc -->
78 * @see #getName()
79 * @generated
80 * @ordered
81 */
82 protected static final String NAME_EDEFAULT = null;
83
84 /**
85 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @see #getName()
89 * @generated
90 * @ordered
91 */
92 protected String name = NAME_EDEFAULT;
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 protected ComponentDefinitionImpl() {
100 super();
101 }
102
103 /**
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @generated
107 */
108 @Override
109 protected EClass eStaticClass() {
110 return CftPackage.Literals.COMPONENT_DEFINITION;
111 }
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 @Override
119 public EList<InputEvent> getInputEvents() {
120 if (inputEvents == null) {
121 inputEvents = new EObjectContainmentEList<InputEvent>(InputEvent.class, this, CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS);
122 }
123 return inputEvents;
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 @Override
132 public EList<EventDefinition> getEventDefinitions() {
133 if (eventDefinitions == null) {
134 eventDefinitions = new EObjectContainmentEList<EventDefinition>(EventDefinition.class, this, CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS);
135 }
136 return eventDefinitions;
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public EList<EventDeclaration> getOutputEvents() {
146 if (outputEvents == null) {
147 outputEvents = new EObjectResolvingEList<EventDeclaration>(EventDeclaration.class, this, CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS);
148 }
149 return outputEvents;
150 }
151
152 /**
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @generated
156 */
157 @Override
158 public String getName() {
159 return name;
160 }
161
162 /**
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @generated
166 */
167 @Override
168 public void setName(String newName) {
169 String oldName = name;
170 name = newName;
171 if (eNotificationRequired())
172 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT_DEFINITION__NAME, oldName, name));
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_DEFINITION__INPUT_EVENTS:
184 return ((InternalEList<?>)getInputEvents()).basicRemove(otherEnd, msgs);
185 case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS:
186 return ((InternalEList<?>)getEventDefinitions()).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_DEFINITION__INPUT_EVENTS:
200 return getInputEvents();
201 case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS:
202 return getEventDefinitions();
203 case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS:
204 return getOutputEvents();
205 case CftPackage.COMPONENT_DEFINITION__NAME:
206 return getName();
207 }
208 return super.eGet(featureID, resolve, coreType);
209 }
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 @SuppressWarnings("unchecked")
217 @Override
218 public void eSet(int featureID, Object newValue) {
219 switch (featureID) {
220 case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS:
221 getInputEvents().clear();
222 getInputEvents().addAll((Collection<? extends InputEvent>)newValue);
223 return;
224 case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS:
225 getEventDefinitions().clear();
226 getEventDefinitions().addAll((Collection<? extends EventDefinition>)newValue);
227 return;
228 case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS:
229 getOutputEvents().clear();
230 getOutputEvents().addAll((Collection<? extends EventDeclaration>)newValue);
231 return;
232 case CftPackage.COMPONENT_DEFINITION__NAME:
233 setName((String)newValue);
234 return;
235 }
236 super.eSet(featureID, newValue);
237 }
238
239 /**
240 * <!-- begin-user-doc -->
241 * <!-- end-user-doc -->
242 * @generated
243 */
244 @Override
245 public void eUnset(int featureID) {
246 switch (featureID) {
247 case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS:
248 getInputEvents().clear();
249 return;
250 case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS:
251 getEventDefinitions().clear();
252 return;
253 case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS:
254 getOutputEvents().clear();
255 return;
256 case CftPackage.COMPONENT_DEFINITION__NAME:
257 setName(NAME_EDEFAULT);
258 return;
259 }
260 super.eUnset(featureID);
261 }
262
263 /**
264 * <!-- begin-user-doc -->
265 * <!-- end-user-doc -->
266 * @generated
267 */
268 @Override
269 public boolean eIsSet(int featureID) {
270 switch (featureID) {
271 case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS:
272 return inputEvents != null && !inputEvents.isEmpty();
273 case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS:
274 return eventDefinitions != null && !eventDefinitions.isEmpty();
275 case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS:
276 return outputEvents != null && !outputEvents.isEmpty();
277 case CftPackage.COMPONENT_DEFINITION__NAME:
278 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
279 }
280 return super.eIsSet(featureID);
281 }
282
283 /**
284 * <!-- begin-user-doc -->
285 * <!-- end-user-doc -->
286 * @generated
287 */
288 @Override
289 public String toString() {
290 if (eIsProxy()) return super.toString();
291
292 StringBuilder result = new StringBuilder(super.toString());
293 result.append(" (name: ");
294 result.append(name);
295 result.append(')');
296 return result.toString();
297 }
298
299} //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
deleted file mode 100644
index b84b6436..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java
+++ /dev/null
@@ -1,218 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
9
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.Notification;
13import org.eclipse.emf.common.notify.NotificationChain;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.impl.ENotificationImpl;
21import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
22
23import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24import 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 */
40public 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
deleted file mode 100644
index dcbf7660..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java
+++ /dev/null
@@ -1,456 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
11
12import java.util.Collection;
13
14import org.eclipse.emf.common.notify.Notification;
15import org.eclipse.emf.common.notify.NotificationChain;
16
17import org.eclipse.emf.common.util.EList;
18
19import org.eclipse.emf.ecore.EClass;
20import org.eclipse.emf.ecore.InternalEObject;
21
22import org.eclipse.emf.ecore.impl.ENotificationImpl;
23import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
24
25import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
26import org.eclipse.emf.ecore.util.InternalEList;
27
28/**
29 * <!-- begin-user-doc -->
30 * An implementation of the model object '<em><b>Component</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.ComponentImpl#getExists <em>Exists</em>}</li>
37 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs <em>Inputs</em>}</li>
38 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs <em>Outputs</em>}</li>
39 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition <em>Component Definition</em>}</li>
40 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getName <em>Name</em>}</li>
41 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#isMultipleAllowed <em>Multiple Allowed</em>}</li>
42 * </ul>
43 *
44 * @generated
45 */
46public class ComponentImpl extends MinimalEObjectImpl.Container implements Component {
47 /**
48 * The default value of the '{@link #getExists() <em>Exists</em>}' attribute.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @see #getExists()
52 * @generated
53 * @ordered
54 */
55 protected static final Modality EXISTS_EDEFAULT = Modality.MUST;
56
57 /**
58 * The cached value of the '{@link #getExists() <em>Exists</em>}' attribute.
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @see #getExists()
62 * @generated
63 * @ordered
64 */
65 protected Modality exists = EXISTS_EDEFAULT;
66
67 /**
68 * The cached value of the '{@link #getInputs() <em>Inputs</em>}' containment reference list.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @see #getInputs()
72 * @generated
73 * @ordered
74 */
75 protected EList<Input> inputs;
76
77 /**
78 * The cached value of the '{@link #getOutputs() <em>Outputs</em>}' containment reference list.
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @see #getOutputs()
82 * @generated
83 * @ordered
84 */
85 protected EList<Output> outputs;
86
87 /**
88 * The cached value of the '{@link #getComponentDefinition() <em>Component Definition</em>}' reference.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @see #getComponentDefinition()
92 * @generated
93 * @ordered
94 */
95 protected ComponentDefinition componentDefinition;
96
97 /**
98 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @see #getName()
102 * @generated
103 * @ordered
104 */
105 protected static final String NAME_EDEFAULT = null;
106
107 /**
108 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @see #getName()
112 * @generated
113 * @ordered
114 */
115 protected String name = NAME_EDEFAULT;
116
117 /**
118 * The default value of the '{@link #isMultipleAllowed() <em>Multiple Allowed</em>}' attribute.
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @see #isMultipleAllowed()
122 * @generated
123 * @ordered
124 */
125 protected static final boolean MULTIPLE_ALLOWED_EDEFAULT = false;
126
127 /**
128 * The cached value of the '{@link #isMultipleAllowed() <em>Multiple Allowed</em>}' attribute.
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @see #isMultipleAllowed()
132 * @generated
133 * @ordered
134 */
135 protected boolean multipleAllowed = MULTIPLE_ALLOWED_EDEFAULT;
136
137 /**
138 * <!-- begin-user-doc -->
139 * <!-- end-user-doc -->
140 * @generated
141 */
142 protected ComponentImpl() {
143 super();
144 }
145
146 /**
147 * <!-- begin-user-doc -->
148 * <!-- end-user-doc -->
149 * @generated
150 */
151 @Override
152 protected EClass eStaticClass() {
153 return CftPackage.Literals.COMPONENT;
154 }
155
156 /**
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @generated
160 */
161 @Override
162 public EList<Input> getInputs() {
163 if (inputs == null) {
164 inputs = new EObjectContainmentWithInverseEList<Input>(Input.class, this, CftPackage.COMPONENT__INPUTS, CftPackage.INPUT__COMPONENT);
165 }
166 return inputs;
167 }
168
169 /**
170 * <!-- begin-user-doc -->
171 * <!-- end-user-doc -->
172 * @generated
173 */
174 @Override
175 public EList<Output> getOutputs() {
176 if (outputs == null) {
177 outputs = new EObjectContainmentWithInverseEList<Output>(Output.class, this, CftPackage.COMPONENT__OUTPUTS, CftPackage.OUTPUT__COMPONENT);
178 }
179 return outputs;
180 }
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 */
187 @Override
188 public ComponentDefinition getComponentDefinition() {
189 if (componentDefinition != null && componentDefinition.eIsProxy()) {
190 InternalEObject oldComponentDefinition = (InternalEObject)componentDefinition;
191 componentDefinition = (ComponentDefinition)eResolveProxy(oldComponentDefinition);
192 if (componentDefinition != oldComponentDefinition) {
193 if (eNotificationRequired())
194 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition));
195 }
196 }
197 return componentDefinition;
198 }
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 public ComponentDefinition basicGetComponentDefinition() {
206 return componentDefinition;
207 }
208
209 /**
210 * <!-- begin-user-doc -->
211 * <!-- end-user-doc -->
212 * @generated
213 */
214 @Override
215 public void setComponentDefinition(ComponentDefinition newComponentDefinition) {
216 ComponentDefinition oldComponentDefinition = componentDefinition;
217 componentDefinition = newComponentDefinition;
218 if (eNotificationRequired())
219 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition));
220 }
221
222 /**
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @generated
226 */
227 @Override
228 public String getName() {
229 return name;
230 }
231
232 /**
233 * <!-- begin-user-doc -->
234 * <!-- end-user-doc -->
235 * @generated
236 */
237 @Override
238 public void setName(String newName) {
239 String oldName = name;
240 name = newName;
241 if (eNotificationRequired())
242 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__NAME, oldName, name));
243 }
244
245 /**
246 * <!-- begin-user-doc -->
247 * <!-- end-user-doc -->
248 * @generated
249 */
250 @Override
251 public Modality getExists() {
252 return exists;
253 }
254
255 /**
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 */
260 @Override
261 public void setExists(Modality newExists) {
262 Modality oldExists = exists;
263 exists = newExists == null ? EXISTS_EDEFAULT : newExists;
264 if (eNotificationRequired())
265 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__EXISTS, oldExists, exists));
266 }
267
268 /**
269 * <!-- begin-user-doc -->
270 * <!-- end-user-doc -->
271 * @generated
272 */
273 @Override
274 public boolean isMultipleAllowed() {
275 return multipleAllowed;
276 }
277
278 /**
279 * <!-- begin-user-doc -->
280 * <!-- end-user-doc -->
281 * @generated
282 */
283 @Override
284 public void setMultipleAllowed(boolean newMultipleAllowed) {
285 boolean oldMultipleAllowed = multipleAllowed;
286 multipleAllowed = newMultipleAllowed;
287 if (eNotificationRequired())
288 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__MULTIPLE_ALLOWED, oldMultipleAllowed, multipleAllowed));
289 }
290
291 /**
292 * <!-- begin-user-doc -->
293 * <!-- end-user-doc -->
294 * @generated
295 */
296 @SuppressWarnings("unchecked")
297 @Override
298 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
299 switch (featureID) {
300 case CftPackage.COMPONENT__INPUTS:
301 return ((InternalEList<InternalEObject>)(InternalEList<?>)getInputs()).basicAdd(otherEnd, msgs);
302 case CftPackage.COMPONENT__OUTPUTS:
303 return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutputs()).basicAdd(otherEnd, msgs);
304 }
305 return super.eInverseAdd(otherEnd, featureID, msgs);
306 }
307
308 /**
309 * <!-- begin-user-doc -->
310 * <!-- end-user-doc -->
311 * @generated
312 */
313 @Override
314 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
315 switch (featureID) {
316 case CftPackage.COMPONENT__INPUTS:
317 return ((InternalEList<?>)getInputs()).basicRemove(otherEnd, msgs);
318 case CftPackage.COMPONENT__OUTPUTS:
319 return ((InternalEList<?>)getOutputs()).basicRemove(otherEnd, msgs);
320 }
321 return super.eInverseRemove(otherEnd, featureID, msgs);
322 }
323
324 /**
325 * <!-- begin-user-doc -->
326 * <!-- end-user-doc -->
327 * @generated
328 */
329 @Override
330 public Object eGet(int featureID, boolean resolve, boolean coreType) {
331 switch (featureID) {
332 case CftPackage.COMPONENT__EXISTS:
333 return getExists();
334 case CftPackage.COMPONENT__INPUTS:
335 return getInputs();
336 case CftPackage.COMPONENT__OUTPUTS:
337 return getOutputs();
338 case CftPackage.COMPONENT__COMPONENT_DEFINITION:
339 if (resolve) return getComponentDefinition();
340 return basicGetComponentDefinition();
341 case CftPackage.COMPONENT__NAME:
342 return getName();
343 case CftPackage.COMPONENT__MULTIPLE_ALLOWED:
344 return isMultipleAllowed();
345 }
346 return super.eGet(featureID, resolve, coreType);
347 }
348
349 /**
350 * <!-- begin-user-doc -->
351 * <!-- end-user-doc -->
352 * @generated
353 */
354 @SuppressWarnings("unchecked")
355 @Override
356 public void eSet(int featureID, Object newValue) {
357 switch (featureID) {
358 case CftPackage.COMPONENT__EXISTS:
359 setExists((Modality)newValue);
360 return;
361 case CftPackage.COMPONENT__INPUTS:
362 getInputs().clear();
363 getInputs().addAll((Collection<? extends Input>)newValue);
364 return;
365 case CftPackage.COMPONENT__OUTPUTS:
366 getOutputs().clear();
367 getOutputs().addAll((Collection<? extends Output>)newValue);
368 return;
369 case CftPackage.COMPONENT__COMPONENT_DEFINITION:
370 setComponentDefinition((ComponentDefinition)newValue);
371 return;
372 case CftPackage.COMPONENT__NAME:
373 setName((String)newValue);
374 return;
375 case CftPackage.COMPONENT__MULTIPLE_ALLOWED:
376 setMultipleAllowed((Boolean)newValue);
377 return;
378 }
379 super.eSet(featureID, newValue);
380 }
381
382 /**
383 * <!-- begin-user-doc -->
384 * <!-- end-user-doc -->
385 * @generated
386 */
387 @Override
388 public void eUnset(int featureID) {
389 switch (featureID) {
390 case CftPackage.COMPONENT__EXISTS:
391 setExists(EXISTS_EDEFAULT);
392 return;
393 case CftPackage.COMPONENT__INPUTS:
394 getInputs().clear();
395 return;
396 case CftPackage.COMPONENT__OUTPUTS:
397 getOutputs().clear();
398 return;
399 case CftPackage.COMPONENT__COMPONENT_DEFINITION:
400 setComponentDefinition((ComponentDefinition)null);
401 return;
402 case CftPackage.COMPONENT__NAME:
403 setName(NAME_EDEFAULT);
404 return;
405 case CftPackage.COMPONENT__MULTIPLE_ALLOWED:
406 setMultipleAllowed(MULTIPLE_ALLOWED_EDEFAULT);
407 return;
408 }
409 super.eUnset(featureID);
410 }
411
412 /**
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @generated
416 */
417 @Override
418 public boolean eIsSet(int featureID) {
419 switch (featureID) {
420 case CftPackage.COMPONENT__EXISTS:
421 return exists != EXISTS_EDEFAULT;
422 case CftPackage.COMPONENT__INPUTS:
423 return inputs != null && !inputs.isEmpty();
424 case CftPackage.COMPONENT__OUTPUTS:
425 return outputs != null && !outputs.isEmpty();
426 case CftPackage.COMPONENT__COMPONENT_DEFINITION:
427 return componentDefinition != null;
428 case CftPackage.COMPONENT__NAME:
429 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
430 case CftPackage.COMPONENT__MULTIPLE_ALLOWED:
431 return multipleAllowed != MULTIPLE_ALLOWED_EDEFAULT;
432 }
433 return super.eIsSet(featureID);
434 }
435
436 /**
437 * <!-- begin-user-doc -->
438 * <!-- end-user-doc -->
439 * @generated
440 */
441 @Override
442 public String toString() {
443 if (eIsProxy()) return super.toString();
444
445 StringBuilder result = new StringBuilder(super.toString());
446 result.append(" (exists: ");
447 result.append(exists);
448 result.append(", name: ");
449 result.append(name);
450 result.append(", multipleAllowed: ");
451 result.append(multipleAllowed);
452 result.append(')');
453 return result.toString();
454 }
455
456} //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
deleted file mode 100644
index aea86ed4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java
+++ /dev/null
@@ -1,360 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
10
11import org.eclipse.emf.common.notify.Notification;
12import org.eclipse.emf.common.notify.NotificationChain;
13
14import org.eclipse.emf.ecore.EClass;
15import org.eclipse.emf.ecore.InternalEObject;
16
17import org.eclipse.emf.ecore.impl.ENotificationImpl;
18import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
19
20import org.eclipse.emf.ecore.util.EcoreUtil;
21
22/**
23 * <!-- begin-user-doc -->
24 * An implementation of the model object '<em><b>Connection</b></em>'.
25 * <!-- end-user-doc -->
26 * <p>
27 * The following features are implemented:
28 * </p>
29 * <ul>
30 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getExists <em>Exists</em>}</li>
31 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getInput <em>Input</em>}</li>
32 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getOutput <em>Output</em>}</li>
33 * </ul>
34 *
35 * @generated
36 */
37public class ConnectionImpl extends MinimalEObjectImpl.Container implements Connection {
38 /**
39 * The default value of the '{@link #getExists() <em>Exists</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getExists()
43 * @generated
44 * @ordered
45 */
46 protected static final Modality EXISTS_EDEFAULT = Modality.MUST;
47
48 /**
49 * The cached value of the '{@link #getExists() <em>Exists</em>}' attribute.
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @see #getExists()
53 * @generated
54 * @ordered
55 */
56 protected Modality exists = EXISTS_EDEFAULT;
57
58 /**
59 * The cached value of the '{@link #getOutput() <em>Output</em>}' reference.
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @see #getOutput()
63 * @generated
64 * @ordered
65 */
66 protected Output output;
67
68 /**
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @generated
72 */
73 protected ConnectionImpl() {
74 super();
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 protected EClass eStaticClass() {
84 return CftPackage.Literals.CONNECTION;
85 }
86
87 /**
88 * <!-- begin-user-doc -->
89 * <!-- end-user-doc -->
90 * @generated
91 */
92 @Override
93 public Input getInput() {
94 if (eContainerFeatureID() != CftPackage.CONNECTION__INPUT) return null;
95 return (Input)eInternalContainer();
96 }
97
98 /**
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 */
103 public NotificationChain basicSetInput(Input newInput, NotificationChain msgs) {
104 msgs = eBasicSetContainer((InternalEObject)newInput, CftPackage.CONNECTION__INPUT, msgs);
105 return msgs;
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 @Override
114 public void setInput(Input newInput) {
115 if (newInput != eInternalContainer() || (eContainerFeatureID() != CftPackage.CONNECTION__INPUT && newInput != null)) {
116 if (EcoreUtil.isAncestor(this, newInput))
117 throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
118 NotificationChain msgs = null;
119 if (eInternalContainer() != null)
120 msgs = eBasicRemoveFromContainer(msgs);
121 if (newInput != null)
122 msgs = ((InternalEObject)newInput).eInverseAdd(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs);
123 msgs = basicSetInput(newInput, msgs);
124 if (msgs != null) msgs.dispatch();
125 }
126 else if (eNotificationRequired())
127 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__INPUT, newInput, newInput));
128 }
129
130 /**
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @generated
134 */
135 @Override
136 public Output getOutput() {
137 if (output != null && output.eIsProxy()) {
138 InternalEObject oldOutput = (InternalEObject)output;
139 output = (Output)eResolveProxy(oldOutput);
140 if (output != oldOutput) {
141 if (eNotificationRequired())
142 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.CONNECTION__OUTPUT, oldOutput, output));
143 }
144 }
145 return output;
146 }
147
148 /**
149 * <!-- begin-user-doc -->
150 * <!-- end-user-doc -->
151 * @generated
152 */
153 public Output basicGetOutput() {
154 return output;
155 }
156
157 /**
158 * <!-- begin-user-doc -->
159 * <!-- end-user-doc -->
160 * @generated
161 */
162 public NotificationChain basicSetOutput(Output newOutput, NotificationChain msgs) {
163 Output oldOutput = output;
164 output = newOutput;
165 if (eNotificationRequired()) {
166 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, oldOutput, newOutput);
167 if (msgs == null) msgs = notification; else msgs.add(notification);
168 }
169 return msgs;
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public void setOutput(Output newOutput) {
179 if (newOutput != output) {
180 NotificationChain msgs = null;
181 if (output != null)
182 msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs);
183 if (newOutput != null)
184 msgs = ((InternalEObject)newOutput).eInverseAdd(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs);
185 msgs = basicSetOutput(newOutput, msgs);
186 if (msgs != null) msgs.dispatch();
187 }
188 else if (eNotificationRequired())
189 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, newOutput, newOutput));
190 }
191
192 /**
193 * <!-- begin-user-doc -->
194 * <!-- end-user-doc -->
195 * @generated
196 */
197 @Override
198 public Modality getExists() {
199 return exists;
200 }
201
202 /**
203 * <!-- begin-user-doc -->
204 * <!-- end-user-doc -->
205 * @generated
206 */
207 @Override
208 public void setExists(Modality newExists) {
209 Modality oldExists = exists;
210 exists = newExists == null ? EXISTS_EDEFAULT : newExists;
211 if (eNotificationRequired())
212 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__EXISTS, oldExists, exists));
213 }
214
215 /**
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @generated
219 */
220 @Override
221 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
222 switch (featureID) {
223 case CftPackage.CONNECTION__INPUT:
224 if (eInternalContainer() != null)
225 msgs = eBasicRemoveFromContainer(msgs);
226 return basicSetInput((Input)otherEnd, msgs);
227 case CftPackage.CONNECTION__OUTPUT:
228 if (output != null)
229 msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs);
230 return basicSetOutput((Output)otherEnd, msgs);
231 }
232 return super.eInverseAdd(otherEnd, featureID, msgs);
233 }
234
235 /**
236 * <!-- begin-user-doc -->
237 * <!-- end-user-doc -->
238 * @generated
239 */
240 @Override
241 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
242 switch (featureID) {
243 case CftPackage.CONNECTION__INPUT:
244 return basicSetInput(null, msgs);
245 case CftPackage.CONNECTION__OUTPUT:
246 return basicSetOutput(null, msgs);
247 }
248 return super.eInverseRemove(otherEnd, featureID, msgs);
249 }
250
251 /**
252 * <!-- begin-user-doc -->
253 * <!-- end-user-doc -->
254 * @generated
255 */
256 @Override
257 public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
258 switch (eContainerFeatureID()) {
259 case CftPackage.CONNECTION__INPUT:
260 return eInternalContainer().eInverseRemove(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs);
261 }
262 return super.eBasicRemoveFromContainerFeature(msgs);
263 }
264
265 /**
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 */
270 @Override
271 public Object eGet(int featureID, boolean resolve, boolean coreType) {
272 switch (featureID) {
273 case CftPackage.CONNECTION__EXISTS:
274 return getExists();
275 case CftPackage.CONNECTION__INPUT:
276 return getInput();
277 case CftPackage.CONNECTION__OUTPUT:
278 if (resolve) return getOutput();
279 return basicGetOutput();
280 }
281 return super.eGet(featureID, resolve, coreType);
282 }
283
284 /**
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 */
289 @Override
290 public void eSet(int featureID, Object newValue) {
291 switch (featureID) {
292 case CftPackage.CONNECTION__EXISTS:
293 setExists((Modality)newValue);
294 return;
295 case CftPackage.CONNECTION__INPUT:
296 setInput((Input)newValue);
297 return;
298 case CftPackage.CONNECTION__OUTPUT:
299 setOutput((Output)newValue);
300 return;
301 }
302 super.eSet(featureID, newValue);
303 }
304
305 /**
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @generated
309 */
310 @Override
311 public void eUnset(int featureID) {
312 switch (featureID) {
313 case CftPackage.CONNECTION__EXISTS:
314 setExists(EXISTS_EDEFAULT);
315 return;
316 case CftPackage.CONNECTION__INPUT:
317 setInput((Input)null);
318 return;
319 case CftPackage.CONNECTION__OUTPUT:
320 setOutput((Output)null);
321 return;
322 }
323 super.eUnset(featureID);
324 }
325
326 /**
327 * <!-- begin-user-doc -->
328 * <!-- end-user-doc -->
329 * @generated
330 */
331 @Override
332 public boolean eIsSet(int featureID) {
333 switch (featureID) {
334 case CftPackage.CONNECTION__EXISTS:
335 return exists != EXISTS_EDEFAULT;
336 case CftPackage.CONNECTION__INPUT:
337 return getInput() != null;
338 case CftPackage.CONNECTION__OUTPUT:
339 return output != null;
340 }
341 return super.eIsSet(featureID);
342 }
343
344 /**
345 * <!-- begin-user-doc -->
346 * <!-- end-user-doc -->
347 * @generated
348 */
349 @Override
350 public String toString() {
351 if (eIsProxy()) return super.toString();
352
353 StringBuilder result = new StringBuilder(super.toString());
354 result.append(" (exists: ");
355 result.append(exists);
356 result.append(')');
357 return result.toString();
358 }
359
360} //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
deleted file mode 100644
index e60a9427..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
7
8import org.eclipse.emf.common.notify.Notification;
9import org.eclipse.emf.ecore.EClass;
10
11import org.eclipse.emf.ecore.impl.ENotificationImpl;
12import 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 */
27public 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
deleted file mode 100644
index 76b79f5b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition;
7
8import 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 */
17public 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
deleted file mode 100644
index 2fb9a724..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java
+++ /dev/null
@@ -1,133 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.util.EList;
12
13import org.eclipse.emf.ecore.EClass;
14
15import 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 */
30public 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/InputEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java
deleted file mode 100644
index 8432e29b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13
14/**
15 * <!-- begin-user-doc -->
16 * An implementation of the model object '<em><b>Input 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.InputEventImpl#isMultiple <em>Multiple</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public class InputEventImpl extends EventDeclarationImpl implements InputEvent {
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 InputEventImpl() {
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.INPUT_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.INPUT_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.INPUT_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.INPUT_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.INPUT_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.INPUT_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} //InputEventImpl
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
deleted file mode 100644
index aa560064..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java
+++ /dev/null
@@ -1,308 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.Notification;
13import org.eclipse.emf.common.notify.NotificationChain;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.impl.ENotificationImpl;
21import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
22
23import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
24import org.eclipse.emf.ecore.util.EcoreUtil;
25import org.eclipse.emf.ecore.util.InternalEList;
26
27/**
28 * <!-- begin-user-doc -->
29 * An implementation of the model object '<em><b>Input</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.InputImpl#getInputEvent <em>Input Event</em>}</li>
36 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent <em>Component</em>}</li>
37 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections <em>Incoming Connections</em>}</li>
38 * </ul>
39 *
40 * @generated
41 */
42public class InputImpl extends MinimalEObjectImpl.Container implements Input {
43 /**
44 * The cached value of the '{@link #getInputEvent() <em>Input Event</em>}' reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getInputEvent()
48 * @generated
49 * @ordered
50 */
51 protected InputEvent inputEvent;
52
53 /**
54 * The cached value of the '{@link #getIncomingConnections() <em>Incoming Connections</em>}' containment reference list.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @see #getIncomingConnections()
58 * @generated
59 * @ordered
60 */
61 protected EList<Connection> incomingConnections;
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 protected InputImpl() {
69 super();
70 }
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 @Override
78 protected EClass eStaticClass() {
79 return CftPackage.Literals.INPUT;
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 @Override
88 public InputEvent getInputEvent() {
89 if (inputEvent != null && inputEvent.eIsProxy()) {
90 InternalEObject oldInputEvent = (InternalEObject)inputEvent;
91 inputEvent = (InputEvent)eResolveProxy(oldInputEvent);
92 if (inputEvent != oldInputEvent) {
93 if (eNotificationRequired())
94 eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent));
95 }
96 }
97 return inputEvent;
98 }
99
100 /**
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @generated
104 */
105 public InputEvent basicGetInputEvent() {
106 return inputEvent;
107 }
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 @Override
115 public void setInputEvent(InputEvent newInputEvent) {
116 InputEvent oldInputEvent = inputEvent;
117 inputEvent = newInputEvent;
118 if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 @Override
128 public Component getComponent() {
129 if (eContainerFeatureID() != CftPackage.INPUT__COMPONENT) return null;
130 return (Component)eInternalContainer();
131 }
132
133 /**
134 * <!-- begin-user-doc -->
135 * <!-- end-user-doc -->
136 * @generated
137 */
138 public NotificationChain basicSetComponent(Component newComponent, NotificationChain msgs) {
139 msgs = eBasicSetContainer((InternalEObject)newComponent, CftPackage.INPUT__COMPONENT, msgs);
140 return msgs;
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void setComponent(Component newComponent) {
150 if (newComponent != eInternalContainer() || (eContainerFeatureID() != CftPackage.INPUT__COMPONENT && newComponent != null)) {
151 if (EcoreUtil.isAncestor(this, newComponent))
152 throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
153 NotificationChain msgs = null;
154 if (eInternalContainer() != null)
155 msgs = eBasicRemoveFromContainer(msgs);
156 if (newComponent != null)
157 msgs = ((InternalEObject)newComponent).eInverseAdd(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs);
158 msgs = basicSetComponent(newComponent, msgs);
159 if (msgs != null) msgs.dispatch();
160 }
161 else if (eNotificationRequired())
162 eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__COMPONENT, newComponent, newComponent));
163 }
164
165 /**
166 * <!-- begin-user-doc -->
167 * <!-- end-user-doc -->
168 * @generated
169 */
170 @Override
171 public EList<Connection> getIncomingConnections() {
172 if (incomingConnections == null) {
173 incomingConnections = new EObjectContainmentWithInverseEList<Connection>(Connection.class, this, CftPackage.INPUT__INCOMING_CONNECTIONS, CftPackage.CONNECTION__INPUT);
174 }
175 return incomingConnections;
176 }
177
178 /**
179 * <!-- begin-user-doc -->
180 * <!-- end-user-doc -->
181 * @generated
182 */
183 @SuppressWarnings("unchecked")
184 @Override
185 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
186 switch (featureID) {
187 case CftPackage.INPUT__COMPONENT:
188 if (eInternalContainer() != null)
189 msgs = eBasicRemoveFromContainer(msgs);
190 return basicSetComponent((Component)otherEnd, msgs);
191 case CftPackage.INPUT__INCOMING_CONNECTIONS:
192 return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingConnections()).basicAdd(otherEnd, msgs);
193 }
194 return super.eInverseAdd(otherEnd, featureID, msgs);
195 }
196
197 /**
198 * <!-- begin-user-doc -->
199 * <!-- end-user-doc -->
200 * @generated
201 */
202 @Override
203 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
204 switch (featureID) {
205 case CftPackage.INPUT__COMPONENT:
206 return basicSetComponent(null, msgs);
207 case CftPackage.INPUT__INCOMING_CONNECTIONS:
208 return ((InternalEList<?>)getIncomingConnections()).basicRemove(otherEnd, msgs);
209 }
210 return super.eInverseRemove(otherEnd, featureID, msgs);
211 }
212
213 /**
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @generated
217 */
218 @Override
219 public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
220 switch (eContainerFeatureID()) {
221 case CftPackage.INPUT__COMPONENT:
222 return eInternalContainer().eInverseRemove(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs);
223 }
224 return super.eBasicRemoveFromContainerFeature(msgs);
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @Override
233 public Object eGet(int featureID, boolean resolve, boolean coreType) {
234 switch (featureID) {
235 case CftPackage.INPUT__INPUT_EVENT:
236 if (resolve) return getInputEvent();
237 return basicGetInputEvent();
238 case CftPackage.INPUT__COMPONENT:
239 return getComponent();
240 case CftPackage.INPUT__INCOMING_CONNECTIONS:
241 return getIncomingConnections();
242 }
243 return super.eGet(featureID, resolve, coreType);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @SuppressWarnings("unchecked")
252 @Override
253 public void eSet(int featureID, Object newValue) {
254 switch (featureID) {
255 case CftPackage.INPUT__INPUT_EVENT:
256 setInputEvent((InputEvent)newValue);
257 return;
258 case CftPackage.INPUT__COMPONENT:
259 setComponent((Component)newValue);
260 return;
261 case CftPackage.INPUT__INCOMING_CONNECTIONS:
262 getIncomingConnections().clear();
263 getIncomingConnections().addAll((Collection<? extends Connection>)newValue);
264 return;
265 }
266 super.eSet(featureID, newValue);
267 }
268
269 /**
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @generated
273 */
274 @Override
275 public void eUnset(int featureID) {
276 switch (featureID) {
277 case CftPackage.INPUT__INPUT_EVENT:
278 setInputEvent((InputEvent)null);
279 return;
280 case CftPackage.INPUT__COMPONENT:
281 setComponent((Component)null);
282 return;
283 case CftPackage.INPUT__INCOMING_CONNECTIONS:
284 getIncomingConnections().clear();
285 return;
286 }
287 super.eUnset(featureID);
288 }
289
290 /**
291 * <!-- begin-user-doc -->
292 * <!-- end-user-doc -->
293 * @generated
294 */
295 @Override
296 public boolean eIsSet(int featureID) {
297 switch (featureID) {
298 case CftPackage.INPUT__INPUT_EVENT:
299 return inputEvent != null;
300 case CftPackage.INPUT__COMPONENT:
301 return getComponent() != null;
302 case CftPackage.INPUT__INCOMING_CONNECTIONS:
303 return incomingConnections != null && !incomingConnections.isEmpty();
304 }
305 return super.eIsSet(featureID);
306 }
307
308} //InputImpl
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
deleted file mode 100644
index fed17513..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java
+++ /dev/null
@@ -1,220 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import 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 */
28public 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
deleted file mode 100644
index d2275f60..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition;
7
8import 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 */
17public 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
deleted file mode 100644
index 31a81afe..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java
+++ /dev/null
@@ -1,309 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
10
11import java.util.Collection;
12
13import org.eclipse.emf.common.notify.Notification;
14import org.eclipse.emf.common.notify.NotificationChain;
15
16import org.eclipse.emf.common.util.EList;
17
18import org.eclipse.emf.ecore.EClass;
19import org.eclipse.emf.ecore.InternalEObject;
20
21import org.eclipse.emf.ecore.impl.ENotificationImpl;
22import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
23
24import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
25import org.eclipse.emf.ecore.util.EcoreUtil;
26import 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 */
43public 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
deleted file mode 100644
index f5d3bf83..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java
+++ /dev/null
@@ -1,372 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*;
6
7import org.eclipse.emf.common.notify.Adapter;
8import org.eclipse.emf.common.notify.Notifier;
9
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11
12import 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 */
22public 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 caseInputEvent(InputEvent object) {
88 return createInputEventAdapter();
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 caseModalElement(ModalElement object) {
128 return createModalElementAdapter();
129 }
130 @Override
131 public Adapter defaultCase(EObject object) {
132 return createEObjectAdapter();
133 }
134 };
135
136 /**
137 * Creates an adapter for the <code>target</code>.
138 * <!-- begin-user-doc -->
139 * <!-- end-user-doc -->
140 * @param target the object to adapt.
141 * @return the adapter for the <code>target</code>.
142 * @generated
143 */
144 @Override
145 public Adapter createAdapter(Notifier target) {
146 return modelSwitch.doSwitch((EObject)target);
147 }
148
149
150 /**
151 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'.
152 * <!-- begin-user-doc -->
153 * This default implementation returns null so that we can easily ignore cases;
154 * it's useful to ignore a case when inheritance will catch all the cases anyway.
155 * <!-- end-user-doc -->
156 * @return the new adapter.
157 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
158 * @generated
159 */
160 public Adapter createComponentDefinitionAdapter() {
161 return null;
162 }
163
164 /**
165 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'.
166 * <!-- begin-user-doc -->
167 * This default implementation returns null so that we can easily ignore cases;
168 * it's useful to ignore a case when inheritance will catch all the cases anyway.
169 * <!-- end-user-doc -->
170 * @return the new adapter.
171 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition
172 * @generated
173 */
174 public Adapter createEventDefinitionAdapter() {
175 return null;
176 }
177
178 /**
179 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'.
180 * <!-- begin-user-doc -->
181 * This default implementation returns null so that we can easily ignore cases;
182 * it's useful to ignore a case when inheritance will catch all the cases anyway.
183 * <!-- end-user-doc -->
184 * @return the new adapter.
185 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition
186 * @generated
187 */
188 public Adapter createGateDefinitionAdapter() {
189 return null;
190 }
191
192 /**
193 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'.
194 * <!-- begin-user-doc -->
195 * This default implementation returns null so that we can easily ignore cases;
196 * it's useful to ignore a case when inheritance will catch all the cases anyway.
197 * <!-- end-user-doc -->
198 * @return the new adapter.
199 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition
200 * @generated
201 */
202 public Adapter createBasicEventDefinitionAdapter() {
203 return null;
204 }
205
206 /**
207 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent <em>Input Event</em>}'.
208 * <!-- begin-user-doc -->
209 * This default implementation returns null so that we can easily ignore cases;
210 * it's useful to ignore a case when inheritance will catch all the cases anyway.
211 * <!-- end-user-doc -->
212 * @return the new adapter.
213 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent
214 * @generated
215 */
216 public Adapter createInputEventAdapter() {
217 return null;
218 }
219
220 /**
221 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</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.model.cft.EventDeclaration
228 * @generated
229 */
230 public Adapter createEventDeclarationAdapter() {
231 return null;
232 }
233
234 /**
235 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'.
236 * <!-- begin-user-doc -->
237 * This default implementation returns null so that we can easily ignore cases;
238 * it's useful to ignore a case when inheritance will catch all the cases anyway.
239 * <!-- end-user-doc -->
240 * @return the new adapter.
241 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition
242 * @generated
243 */
244 public Adapter createAndGateDefinitionAdapter() {
245 return null;
246 }
247
248 /**
249 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'.
250 * <!-- begin-user-doc -->
251 * This default implementation returns null so that we can easily ignore cases;
252 * it's useful to ignore a case when inheritance will catch all the cases anyway.
253 * <!-- end-user-doc -->
254 * @return the new adapter.
255 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition
256 * @generated
257 */
258 public Adapter createOrGateDefinitionAdapter() {
259 return null;
260 }
261
262 /**
263 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'.
264 * <!-- begin-user-doc -->
265 * This default implementation returns null so that we can easily ignore cases;
266 * it's useful to ignore a case when inheritance will catch all the cases anyway.
267 * <!-- end-user-doc -->
268 * @return the new adapter.
269 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition
270 * @generated
271 */
272 public Adapter createKOfMGateDefinitionAdapter() {
273 return null;
274 }
275
276 /**
277 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'.
278 * <!-- begin-user-doc -->
279 * This default implementation returns null so that we can easily ignore cases;
280 * it's useful to ignore a case when inheritance will catch all the cases anyway.
281 * <!-- end-user-doc -->
282 * @return the new adapter.
283 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree
284 * @generated
285 */
286 public Adapter createComponentFaultTreeAdapter() {
287 return null;
288 }
289
290 /**
291 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'.
292 * <!-- begin-user-doc -->
293 * This default implementation returns null so that we can easily ignore cases;
294 * it's useful to ignore a case when inheritance will catch all the cases anyway.
295 * <!-- end-user-doc -->
296 * @return the new adapter.
297 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
298 * @generated
299 */
300 public Adapter createComponentAdapter() {
301 return null;
302 }
303
304 /**
305 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'.
306 * <!-- begin-user-doc -->
307 * This default implementation returns null so that we can easily ignore cases;
308 * it's useful to ignore a case when inheritance will catch all the cases anyway.
309 * <!-- end-user-doc -->
310 * @return the new adapter.
311 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input
312 * @generated
313 */
314 public Adapter createInputAdapter() {
315 return null;
316 }
317
318 /**
319 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'.
320 * <!-- begin-user-doc -->
321 * This default implementation returns null so that we can easily ignore cases;
322 * it's useful to ignore a case when inheritance will catch all the cases anyway.
323 * <!-- end-user-doc -->
324 * @return the new adapter.
325 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
326 * @generated
327 */
328 public Adapter createOutputAdapter() {
329 return null;
330 }
331
332 /**
333 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'.
334 * <!-- begin-user-doc -->
335 * This default implementation returns null so that we can easily ignore cases;
336 * it's useful to ignore a case when inheritance will catch all the cases anyway.
337 * <!-- end-user-doc -->
338 * @return the new adapter.
339 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection
340 * @generated
341 */
342 public Adapter createConnectionAdapter() {
343 return null;
344 }
345
346 /**
347 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}'.
348 * <!-- begin-user-doc -->
349 * This default implementation returns null so that we can easily ignore cases;
350 * it's useful to ignore a case when inheritance will catch all the cases anyway.
351 * <!-- end-user-doc -->
352 * @return the new adapter.
353 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement
354 * @generated
355 */
356 public Adapter createModalElementAdapter() {
357 return null;
358 }
359
360 /**
361 * Creates a new adapter for the default case.
362 * <!-- begin-user-doc -->
363 * This default implementation returns null.
364 * <!-- end-user-doc -->
365 * @return the new adapter.
366 * @generated
367 */
368 public Adapter createEObjectAdapter() {
369 return null;
370 }
371
372} //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
deleted file mode 100644
index 3c5a4fd9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java
+++ /dev/null
@@ -1,421 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*;
6
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.ecore.EPackage;
9
10import 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 */
25public 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.INPUT_EVENT: {
99 InputEvent inputEvent = (InputEvent)theEObject;
100 T result = caseInputEvent(inputEvent);
101 if (result == null) result = caseEventDeclaration(inputEvent);
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 = caseModalElement(component);
148 if (result == null) result = defaultCase(theEObject);
149 return result;
150 }
151 case CftPackage.INPUT: {
152 Input input = (Input)theEObject;
153 T result = caseInput(input);
154 if (result == null) result = defaultCase(theEObject);
155 return result;
156 }
157 case CftPackage.OUTPUT: {
158 Output output = (Output)theEObject;
159 T result = caseOutput(output);
160 if (result == null) result = defaultCase(theEObject);
161 return result;
162 }
163 case CftPackage.CONNECTION: {
164 Connection connection = (Connection)theEObject;
165 T result = caseConnection(connection);
166 if (result == null) result = caseModalElement(connection);
167 if (result == null) result = defaultCase(theEObject);
168 return result;
169 }
170 case CftPackage.MODAL_ELEMENT: {
171 ModalElement modalElement = (ModalElement)theEObject;
172 T result = caseModalElement(modalElement);
173 if (result == null) result = defaultCase(theEObject);
174 return result;
175 }
176 default: return defaultCase(theEObject);
177 }
178 }
179
180 /**
181 * Returns the result of interpreting the object as an instance of '<em>Component Definition</em>'.
182 * <!-- begin-user-doc -->
183 * This implementation returns null;
184 * returning a non-null result will terminate the switch.
185 * <!-- end-user-doc -->
186 * @param object the target of the switch.
187 * @return the result of interpreting the object as an instance of '<em>Component Definition</em>'.
188 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
189 * @generated
190 */
191 public T caseComponentDefinition(ComponentDefinition object) {
192 return null;
193 }
194
195 /**
196 * Returns the result of interpreting the object as an instance of '<em>Event Definition</em>'.
197 * <!-- begin-user-doc -->
198 * This implementation returns null;
199 * returning a non-null result will terminate the switch.
200 * <!-- end-user-doc -->
201 * @param object the target of the switch.
202 * @return the result of interpreting the object as an instance of '<em>Event Definition</em>'.
203 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
204 * @generated
205 */
206 public T caseEventDefinition(EventDefinition object) {
207 return null;
208 }
209
210 /**
211 * Returns the result of interpreting the object as an instance of '<em>Gate Definition</em>'.
212 * <!-- begin-user-doc -->
213 * This implementation returns null;
214 * returning a non-null result will terminate the switch.
215 * <!-- end-user-doc -->
216 * @param object the target of the switch.
217 * @return the result of interpreting the object as an instance of '<em>Gate Definition</em>'.
218 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
219 * @generated
220 */
221 public T caseGateDefinition(GateDefinition object) {
222 return null;
223 }
224
225 /**
226 * Returns the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'.
227 * <!-- begin-user-doc -->
228 * This implementation returns null;
229 * returning a non-null result will terminate the switch.
230 * <!-- end-user-doc -->
231 * @param object the target of the switch.
232 * @return the result of interpreting the object as an instance of '<em>Basic Event Definition</em>'.
233 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
234 * @generated
235 */
236 public T caseBasicEventDefinition(BasicEventDefinition object) {
237 return null;
238 }
239
240 /**
241 * Returns the result of interpreting the object as an instance of '<em>Input Event</em>'.
242 * <!-- begin-user-doc -->
243 * This implementation returns null;
244 * returning a non-null result will terminate the switch.
245 * <!-- end-user-doc -->
246 * @param object the target of the switch.
247 * @return the result of interpreting the object as an instance of '<em>Input Event</em>'.
248 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
249 * @generated
250 */
251 public T caseInputEvent(InputEvent object) {
252 return null;
253 }
254
255 /**
256 * Returns the result of interpreting the object as an instance of '<em>Event Declaration</em>'.
257 * <!-- begin-user-doc -->
258 * This implementation returns null;
259 * returning a non-null result will terminate the switch.
260 * <!-- end-user-doc -->
261 * @param object the target of the switch.
262 * @return the result of interpreting the object as an instance of '<em>Event Declaration</em>'.
263 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
264 * @generated
265 */
266 public T caseEventDeclaration(EventDeclaration object) {
267 return null;
268 }
269
270 /**
271 * Returns the result of interpreting the object as an instance of '<em>And Gate Definition</em>'.
272 * <!-- begin-user-doc -->
273 * This implementation returns null;
274 * returning a non-null result will terminate the switch.
275 * <!-- end-user-doc -->
276 * @param object the target of the switch.
277 * @return the result of interpreting the object as an instance of '<em>And Gate Definition</em>'.
278 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
279 * @generated
280 */
281 public T caseAndGateDefinition(AndGateDefinition object) {
282 return null;
283 }
284
285 /**
286 * Returns the result of interpreting the object as an instance of '<em>Or Gate Definition</em>'.
287 * <!-- begin-user-doc -->
288 * This implementation returns null;
289 * returning a non-null result will terminate the switch.
290 * <!-- end-user-doc -->
291 * @param object the target of the switch.
292 * @return the result of interpreting the object as an instance of '<em>Or Gate Definition</em>'.
293 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
294 * @generated
295 */
296 public T caseOrGateDefinition(OrGateDefinition object) {
297 return null;
298 }
299
300 /**
301 * Returns the result of interpreting the object as an instance of '<em>KOf MGate 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>KOf MGate Definition</em>'.
308 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
309 * @generated
310 */
311 public T caseKOfMGateDefinition(KOfMGateDefinition object) {
312 return null;
313 }
314
315 /**
316 * Returns the result of interpreting the object as an instance of '<em>Component Fault Tree</em>'.
317 * <!-- begin-user-doc -->
318 * This implementation returns null;
319 * returning a non-null result will terminate the switch.
320 * <!-- end-user-doc -->
321 * @param object the target of the switch.
322 * @return the result of interpreting the object as an instance of '<em>Component Fault Tree</em>'.
323 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
324 * @generated
325 */
326 public T caseComponentFaultTree(ComponentFaultTree object) {
327 return null;
328 }
329
330 /**
331 * Returns the result of interpreting the object as an instance of '<em>Component</em>'.
332 * <!-- begin-user-doc -->
333 * This implementation returns null;
334 * returning a non-null result will terminate the switch.
335 * <!-- end-user-doc -->
336 * @param object the target of the switch.
337 * @return the result of interpreting the object as an instance of '<em>Component</em>'.
338 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
339 * @generated
340 */
341 public T caseComponent(Component object) {
342 return null;
343 }
344
345 /**
346 * Returns the result of interpreting the object as an instance of '<em>Input</em>'.
347 * <!-- begin-user-doc -->
348 * This implementation returns null;
349 * returning a non-null result will terminate the switch.
350 * <!-- end-user-doc -->
351 * @param object the target of the switch.
352 * @return the result of interpreting the object as an instance of '<em>Input</em>'.
353 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
354 * @generated
355 */
356 public T caseInput(Input object) {
357 return null;
358 }
359
360 /**
361 * Returns the result of interpreting the object as an instance of '<em>Output</em>'.
362 * <!-- begin-user-doc -->
363 * This implementation returns null;
364 * returning a non-null result will terminate the switch.
365 * <!-- end-user-doc -->
366 * @param object the target of the switch.
367 * @return the result of interpreting the object as an instance of '<em>Output</em>'.
368 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
369 * @generated
370 */
371 public T caseOutput(Output object) {
372 return null;
373 }
374
375 /**
376 * Returns the result of interpreting the object as an instance of '<em>Connection</em>'.
377 * <!-- begin-user-doc -->
378 * This implementation returns null;
379 * returning a non-null result will terminate the switch.
380 * <!-- end-user-doc -->
381 * @param object the target of the switch.
382 * @return the result of interpreting the object as an instance of '<em>Connection</em>'.
383 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
384 * @generated
385 */
386 public T caseConnection(Connection object) {
387 return null;
388 }
389
390 /**
391 * Returns the result of interpreting the object as an instance of '<em>Modal Element</em>'.
392 * <!-- begin-user-doc -->
393 * This implementation returns null;
394 * returning a non-null result will terminate the switch.
395 * <!-- end-user-doc -->
396 * @param object the target of the switch.
397 * @return the result of interpreting the object as an instance of '<em>Modal Element</em>'.
398 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
399 * @generated
400 */
401 public T caseModalElement(ModalElement object) {
402 return null;
403 }
404
405 /**
406 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
407 * <!-- begin-user-doc -->
408 * This implementation returns null;
409 * returning a non-null result will terminate the switch, but this is the last case anyway.
410 * <!-- end-user-doc -->
411 * @param object the target of the switch.
412 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
413 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
414 * @generated
415 */
416 @Override
417 public T defaultCase(EObject object) {
418 return null;
419 }
420
421} //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
deleted file mode 100644
index 5591557c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java
+++ /dev/null
@@ -1,17 +0,0 @@
1/**
2 */
3package 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 */
16public 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
deleted file mode 100644
index 63b8d0ed..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 */
22public interface BasicEvent extends RandomEvent {
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
deleted file mode 100644
index 873c1fd3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 */
22public 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/ConstantEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java
deleted file mode 100644
index a171fc95..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 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.ConstantEvent#isFailed <em>Failed</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent()
19 * @model
20 * @generated
21 */
22public interface ConstantEvent extends Event {
23 /**
24 * Returns the value of the '<em><b>Failed</b></em>' attribute.
25 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>Failed</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>Failed</em>' attribute.
32 * @see #setFailed(boolean)
33 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent_Failed()
34 * @model
35 * @generated
36 */
37 boolean isFailed();
38
39 /**
40 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed <em>Failed</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @param value the new value of the '<em>Failed</em>' attribute.
44 * @see #isFailed()
45 * @generated
46 */
47 void setFailed(boolean value);
48
49} // ConstantEvent
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java
deleted file mode 100644
index 5649559f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 Model</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.ConstantModel#isFailed <em>Failed</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel()
19 * @model
20 * @generated
21 */
22public interface ConstantModel extends ReliabilityModel {
23 /**
24 * Returns the value of the '<em><b>Failed</b></em>' attribute.
25 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>Failed</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>Failed</em>' attribute.
32 * @see #setFailed(boolean)
33 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel_Failed()
34 * @model
35 * @generated
36 */
37 boolean isFailed();
38
39 /**
40 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed <em>Failed</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @param value the new value of the '<em>Failed</em>' attribute.
44 * @see #isFailed()
45 * @generated
46 */
47 void setFailed(boolean value);
48
49} // ConstantModel
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
deleted file mode 100644
index 4435f5ef..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import 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 */
17public 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
deleted file mode 100644
index a5a905a0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import 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 *
13 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent()
14 * @model abstract="true"
15 * @generated
16 */
17public interface Event extends EObject {
18} // 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
deleted file mode 100644
index 7fdd448b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 */
22public 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
deleted file mode 100644
index 0bf258be..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java
+++ /dev/null
@@ -1,67 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Fault Tree</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.FaultTree#getEvents <em>Events</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree()
21 * @model
22 * @generated
23 */
24public interface FaultTree extends ReliabilityModel {
25 /**
26 * Returns the value of the '<em><b>Events</b></em>' containment reference list.
27 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent}.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Events</em>' containment reference list 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>Events</em>' containment reference list.
35 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_Events()
36 * @model containment="true"
37 * @generated
38 */
39 EList<RandomEvent> getEvents();
40
41 /**
42 * Returns the value of the '<em><b>Top Event</b></em>' reference.
43 * <!-- begin-user-doc -->
44 * <p>
45 * If the meaning of the '<em>Top Event</em>' reference isn't clear,
46 * there really should be more of a description here...
47 * </p>
48 * <!-- end-user-doc -->
49 * @return the value of the '<em>Top Event</em>' reference.
50 * @see #setTopEvent(RandomEvent)
51 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_TopEvent()
52 * @model required="true"
53 * @generated
54 */
55 RandomEvent getTopEvent();
56
57 /**
58 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}' reference.
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @param value the new value of the '<em>Top Event</em>' reference.
62 * @see #getTopEvent()
63 * @generated
64 */
65 void setTopEvent(RandomEvent value);
66
67} // 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
deleted file mode 100644
index 7d420e34..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java
+++ /dev/null
@@ -1,114 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import 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 */
15public 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 a new object of class '<em>Constant Model</em>'.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @return a new object of class '<em>Constant Model</em>'.
92 * @generated
93 */
94 ConstantModel createConstantModel();
95
96 /**
97 * Returns a new object of class '<em>Constant Event</em>'.
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @return a new object of class '<em>Constant Event</em>'.
101 * @generated
102 */
103 ConstantEvent createConstantEvent();
104
105 /**
106 * Returns the package supported by this factory.
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @return the package supported by this factory.
110 * @generated
111 */
112 FtPackage getFtPackage();
113
114} //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
deleted file mode 100644
index dd35d666..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java
+++ /dev/null
@@ -1,1109 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EPackage;
8import 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 */
26public 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.ReliabilityModelImpl <em>Reliability Model</em>}' class.
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl
64 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel()
65 * @generated
66 */
67 int RELIABILITY_MODEL = 10;
68
69 /**
70 * The number of structural features of the '<em>Reliability Model</em>' class.
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @generated
74 * @ordered
75 */
76 int RELIABILITY_MODEL_FEATURE_COUNT = 0;
77
78 /**
79 * The number of operations of the '<em>Reliability Model</em>' class.
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 * @ordered
84 */
85 int RELIABILITY_MODEL_OPERATION_COUNT = 0;
86
87 /**
88 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl <em>Fault Tree</em>}' class.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl
92 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree()
93 * @generated
94 */
95 int FAULT_TREE = 0;
96
97 /**
98 * The feature id for the '<em><b>Events</b></em>' containment reference list.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 * @ordered
103 */
104 int FAULT_TREE__EVENTS = RELIABILITY_MODEL_FEATURE_COUNT + 0;
105
106 /**
107 * The feature id for the '<em><b>Top Event</b></em>' reference.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 * @ordered
112 */
113 int FAULT_TREE__TOP_EVENT = RELIABILITY_MODEL_FEATURE_COUNT + 1;
114
115 /**
116 * The number of structural features of the '<em>Fault Tree</em>' class.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 * @ordered
121 */
122 int FAULT_TREE_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 2;
123
124 /**
125 * The number of operations of the '<em>Fault Tree</em>' class.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 * @ordered
130 */
131 int FAULT_TREE_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0;
132
133 /**
134 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl <em>Event</em>}' class.
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl
138 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent()
139 * @generated
140 */
141 int EVENT = 12;
142
143 /**
144 * The number of structural features of the '<em>Event</em>' class.
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 * @ordered
149 */
150 int EVENT_FEATURE_COUNT = 0;
151
152 /**
153 * The number of operations of the '<em>Event</em>' class.
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 * @ordered
158 */
159 int EVENT_OPERATION_COUNT = 0;
160
161 /**
162 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl <em>Random Event</em>}' class.
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl
166 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent()
167 * @generated
168 */
169 int RANDOM_EVENT = 1;
170
171 /**
172 * The feature id for the '<em><b>Name</b></em>' attribute.
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 * @ordered
177 */
178 int RANDOM_EVENT__NAME = EVENT_FEATURE_COUNT + 0;
179
180 /**
181 * The number of structural features of the '<em>Random Event</em>' class.
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 * @ordered
186 */
187 int RANDOM_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1;
188
189 /**
190 * The number of operations of the '<em>Random Event</em>' class.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 * @ordered
195 */
196 int RANDOM_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0;
197
198 /**
199 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl <em>Basic Event</em>}' class.
200 * <!-- begin-user-doc -->
201 * <!-- end-user-doc -->
202 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl
203 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent()
204 * @generated
205 */
206 int BASIC_EVENT = 2;
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 BASIC_EVENT__NAME = RANDOM_EVENT__NAME;
216
217 /**
218 * The feature id for the '<em><b>Distribution</b></em>' containment reference.
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 * @ordered
223 */
224 int BASIC_EVENT__DISTRIBUTION = RANDOM_EVENT_FEATURE_COUNT + 0;
225
226 /**
227 * The number of structural features of the '<em>Basic Event</em>' class.
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 * @ordered
232 */
233 int BASIC_EVENT_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1;
234
235 /**
236 * The number of operations of the '<em>Basic Event</em>' class.
237 * <!-- begin-user-doc -->
238 * <!-- end-user-doc -->
239 * @generated
240 * @ordered
241 */
242 int BASIC_EVENT_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0;
243
244 /**
245 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl <em>Gate</em>}' class.
246 * <!-- begin-user-doc -->
247 * <!-- end-user-doc -->
248 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl
249 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate()
250 * @generated
251 */
252 int GATE = 3;
253
254 /**
255 * The feature id for the '<em><b>Name</b></em>' attribute.
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 * @ordered
260 */
261 int GATE__NAME = RANDOM_EVENT__NAME;
262
263 /**
264 * The feature id for the '<em><b>Input Events</b></em>' reference list.
265 * <!-- begin-user-doc -->
266 * <!-- end-user-doc -->
267 * @generated
268 * @ordered
269 */
270 int GATE__INPUT_EVENTS = RANDOM_EVENT_FEATURE_COUNT + 0;
271
272 /**
273 * The number of structural features of the '<em>Gate</em>' class.
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @generated
277 * @ordered
278 */
279 int GATE_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1;
280
281 /**
282 * The number of operations of the '<em>Gate</em>' class.
283 * <!-- begin-user-doc -->
284 * <!-- end-user-doc -->
285 * @generated
286 * @ordered
287 */
288 int GATE_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0;
289
290 /**
291 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl <em>Distribution</em>}' class.
292 * <!-- begin-user-doc -->
293 * <!-- end-user-doc -->
294 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl
295 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution()
296 * @generated
297 */
298 int DISTRIBUTION = 4;
299
300 /**
301 * The number of structural features of the '<em>Distribution</em>' class.
302 * <!-- begin-user-doc -->
303 * <!-- end-user-doc -->
304 * @generated
305 * @ordered
306 */
307 int DISTRIBUTION_FEATURE_COUNT = 0;
308
309 /**
310 * The number of operations of the '<em>Distribution</em>' class.
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @generated
314 * @ordered
315 */
316 int DISTRIBUTION_OPERATION_COUNT = 0;
317
318 /**
319 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl <em>Constant Distribution</em>}' class.
320 * <!-- begin-user-doc -->
321 * <!-- end-user-doc -->
322 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl
323 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution()
324 * @generated
325 */
326 int CONSTANT_DISTRIBUTION = 5;
327
328 /**
329 * The feature id for the '<em><b>P</b></em>' attribute.
330 * <!-- begin-user-doc -->
331 * <!-- end-user-doc -->
332 * @generated
333 * @ordered
334 */
335 int CONSTANT_DISTRIBUTION__P = DISTRIBUTION_FEATURE_COUNT + 0;
336
337 /**
338 * The number of structural features of the '<em>Constant Distribution</em>' class.
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 * @ordered
343 */
344 int CONSTANT_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1;
345
346 /**
347 * The number of operations of the '<em>Constant Distribution</em>' class.
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 * @ordered
352 */
353 int CONSTANT_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0;
354
355 /**
356 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl <em>Exponential Distribution</em>}' class.
357 * <!-- begin-user-doc -->
358 * <!-- end-user-doc -->
359 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl
360 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution()
361 * @generated
362 */
363 int EXPONENTIAL_DISTRIBUTION = 6;
364
365 /**
366 * The feature id for the '<em><b>Lambda</b></em>' attribute.
367 * <!-- begin-user-doc -->
368 * <!-- end-user-doc -->
369 * @generated
370 * @ordered
371 */
372 int EXPONENTIAL_DISTRIBUTION__LAMBDA = DISTRIBUTION_FEATURE_COUNT + 0;
373
374 /**
375 * The number of structural features of the '<em>Exponential Distribution</em>' class.
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 * @ordered
380 */
381 int EXPONENTIAL_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1;
382
383 /**
384 * The number of operations of the '<em>Exponential Distribution</em>' class.
385 * <!-- begin-user-doc -->
386 * <!-- end-user-doc -->
387 * @generated
388 * @ordered
389 */
390 int EXPONENTIAL_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0;
391
392 /**
393 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl <em>And Gate</em>}' class.
394 * <!-- begin-user-doc -->
395 * <!-- end-user-doc -->
396 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl
397 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate()
398 * @generated
399 */
400 int AND_GATE = 7;
401
402 /**
403 * The feature id for the '<em><b>Name</b></em>' attribute.
404 * <!-- begin-user-doc -->
405 * <!-- end-user-doc -->
406 * @generated
407 * @ordered
408 */
409 int AND_GATE__NAME = GATE__NAME;
410
411 /**
412 * The feature id for the '<em><b>Input Events</b></em>' reference list.
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @generated
416 * @ordered
417 */
418 int AND_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS;
419
420 /**
421 * The number of structural features of the '<em>And Gate</em>' class.
422 * <!-- begin-user-doc -->
423 * <!-- end-user-doc -->
424 * @generated
425 * @ordered
426 */
427 int AND_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0;
428
429 /**
430 * The number of operations of the '<em>And Gate</em>' class.
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @generated
434 * @ordered
435 */
436 int AND_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0;
437
438 /**
439 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl <em>Or Gate</em>}' class.
440 * <!-- begin-user-doc -->
441 * <!-- end-user-doc -->
442 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl
443 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate()
444 * @generated
445 */
446 int OR_GATE = 8;
447
448 /**
449 * The feature id for the '<em><b>Name</b></em>' attribute.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 * @ordered
454 */
455 int OR_GATE__NAME = GATE__NAME;
456
457 /**
458 * The feature id for the '<em><b>Input Events</b></em>' reference list.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @generated
462 * @ordered
463 */
464 int OR_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS;
465
466 /**
467 * The number of structural features of the '<em>Or Gate</em>' class.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @generated
471 * @ordered
472 */
473 int OR_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0;
474
475 /**
476 * The number of operations of the '<em>Or Gate</em>' class.
477 * <!-- begin-user-doc -->
478 * <!-- end-user-doc -->
479 * @generated
480 * @ordered
481 */
482 int OR_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0;
483
484 /**
485 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl <em>KOf MGate</em>}' class.
486 * <!-- begin-user-doc -->
487 * <!-- end-user-doc -->
488 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl
489 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate()
490 * @generated
491 */
492 int KOF_MGATE = 9;
493
494 /**
495 * The feature id for the '<em><b>Name</b></em>' attribute.
496 * <!-- begin-user-doc -->
497 * <!-- end-user-doc -->
498 * @generated
499 * @ordered
500 */
501 int KOF_MGATE__NAME = GATE__NAME;
502
503 /**
504 * The feature id for the '<em><b>Input Events</b></em>' reference list.
505 * <!-- begin-user-doc -->
506 * <!-- end-user-doc -->
507 * @generated
508 * @ordered
509 */
510 int KOF_MGATE__INPUT_EVENTS = GATE__INPUT_EVENTS;
511
512 /**
513 * The feature id for the '<em><b>K</b></em>' attribute.
514 * <!-- begin-user-doc -->
515 * <!-- end-user-doc -->
516 * @generated
517 * @ordered
518 */
519 int KOF_MGATE__K = GATE_FEATURE_COUNT + 0;
520
521 /**
522 * The number of structural features of the '<em>KOf MGate</em>' class.
523 * <!-- begin-user-doc -->
524 * <!-- end-user-doc -->
525 * @generated
526 * @ordered
527 */
528 int KOF_MGATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 1;
529
530 /**
531 * The number of operations of the '<em>KOf MGate</em>' class.
532 * <!-- begin-user-doc -->
533 * <!-- end-user-doc -->
534 * @generated
535 * @ordered
536 */
537 int KOF_MGATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0;
538
539 /**
540 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl <em>Constant Model</em>}' class.
541 * <!-- begin-user-doc -->
542 * <!-- end-user-doc -->
543 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl
544 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel()
545 * @generated
546 */
547 int CONSTANT_MODEL = 11;
548
549 /**
550 * The feature id for the '<em><b>Failed</b></em>' attribute.
551 * <!-- begin-user-doc -->
552 * <!-- end-user-doc -->
553 * @generated
554 * @ordered
555 */
556 int CONSTANT_MODEL__FAILED = RELIABILITY_MODEL_FEATURE_COUNT + 0;
557
558 /**
559 * The number of structural features of the '<em>Constant Model</em>' class.
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @generated
563 * @ordered
564 */
565 int CONSTANT_MODEL_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 1;
566
567 /**
568 * The number of operations of the '<em>Constant Model</em>' class.
569 * <!-- begin-user-doc -->
570 * <!-- end-user-doc -->
571 * @generated
572 * @ordered
573 */
574 int CONSTANT_MODEL_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0;
575
576 /**
577 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl <em>Constant Event</em>}' class.
578 * <!-- begin-user-doc -->
579 * <!-- end-user-doc -->
580 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl
581 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent()
582 * @generated
583 */
584 int CONSTANT_EVENT = 13;
585
586 /**
587 * The feature id for the '<em><b>Failed</b></em>' attribute.
588 * <!-- begin-user-doc -->
589 * <!-- end-user-doc -->
590 * @generated
591 * @ordered
592 */
593 int CONSTANT_EVENT__FAILED = EVENT_FEATURE_COUNT + 0;
594
595 /**
596 * The number of structural features of the '<em>Constant Event</em>' class.
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 * @ordered
601 */
602 int CONSTANT_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1;
603
604 /**
605 * The number of operations of the '<em>Constant Event</em>' class.
606 * <!-- begin-user-doc -->
607 * <!-- end-user-doc -->
608 * @generated
609 * @ordered
610 */
611 int CONSTANT_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0;
612
613
614 /**
615 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree <em>Fault Tree</em>}'.
616 * <!-- begin-user-doc -->
617 * <!-- end-user-doc -->
618 * @return the meta object for class '<em>Fault Tree</em>'.
619 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree
620 * @generated
621 */
622 EClass getFaultTree();
623
624 /**
625 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents <em>Events</em>}'.
626 * <!-- begin-user-doc -->
627 * <!-- end-user-doc -->
628 * @return the meta object for the containment reference list '<em>Events</em>'.
629 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents()
630 * @see #getFaultTree()
631 * @generated
632 */
633 EReference getFaultTree_Events();
634
635 /**
636 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent <em>Top Event</em>}'.
637 * <!-- begin-user-doc -->
638 * <!-- end-user-doc -->
639 * @return the meta object for the reference '<em>Top Event</em>'.
640 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent()
641 * @see #getFaultTree()
642 * @generated
643 */
644 EReference getFaultTree_TopEvent();
645
646 /**
647 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent <em>Random Event</em>}'.
648 * <!-- begin-user-doc -->
649 * <!-- end-user-doc -->
650 * @return the meta object for class '<em>Random Event</em>'.
651 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent
652 * @generated
653 */
654 EClass getRandomEvent();
655
656 /**
657 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName <em>Name</em>}'.
658 * <!-- begin-user-doc -->
659 * <!-- end-user-doc -->
660 * @return the meta object for the attribute '<em>Name</em>'.
661 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName()
662 * @see #getRandomEvent()
663 * @generated
664 */
665 EAttribute getRandomEvent_Name();
666
667 /**
668 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent <em>Basic Event</em>}'.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @return the meta object for class '<em>Basic Event</em>'.
672 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent
673 * @generated
674 */
675 EClass getBasicEvent();
676
677 /**
678 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution <em>Distribution</em>}'.
679 * <!-- begin-user-doc -->
680 * <!-- end-user-doc -->
681 * @return the meta object for the containment reference '<em>Distribution</em>'.
682 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution()
683 * @see #getBasicEvent()
684 * @generated
685 */
686 EReference getBasicEvent_Distribution();
687
688 /**
689 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate <em>Gate</em>}'.
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @return the meta object for class '<em>Gate</em>'.
693 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate
694 * @generated
695 */
696 EClass getGate();
697
698 /**
699 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents <em>Input Events</em>}'.
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @return the meta object for the reference list '<em>Input Events</em>'.
703 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents()
704 * @see #getGate()
705 * @generated
706 */
707 EReference getGate_InputEvents();
708
709 /**
710 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution <em>Distribution</em>}'.
711 * <!-- begin-user-doc -->
712 * <!-- end-user-doc -->
713 * @return the meta object for class '<em>Distribution</em>'.
714 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution
715 * @generated
716 */
717 EClass getDistribution();
718
719 /**
720 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution <em>Constant Distribution</em>}'.
721 * <!-- begin-user-doc -->
722 * <!-- end-user-doc -->
723 * @return the meta object for class '<em>Constant Distribution</em>'.
724 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution
725 * @generated
726 */
727 EClass getConstantDistribution();
728
729 /**
730 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP <em>P</em>}'.
731 * <!-- begin-user-doc -->
732 * <!-- end-user-doc -->
733 * @return the meta object for the attribute '<em>P</em>'.
734 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP()
735 * @see #getConstantDistribution()
736 * @generated
737 */
738 EAttribute getConstantDistribution_P();
739
740 /**
741 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution <em>Exponential Distribution</em>}'.
742 * <!-- begin-user-doc -->
743 * <!-- end-user-doc -->
744 * @return the meta object for class '<em>Exponential Distribution</em>'.
745 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution
746 * @generated
747 */
748 EClass getExponentialDistribution();
749
750 /**
751 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda <em>Lambda</em>}'.
752 * <!-- begin-user-doc -->
753 * <!-- end-user-doc -->
754 * @return the meta object for the attribute '<em>Lambda</em>'.
755 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda()
756 * @see #getExponentialDistribution()
757 * @generated
758 */
759 EAttribute getExponentialDistribution_Lambda();
760
761 /**
762 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate <em>And Gate</em>}'.
763 * <!-- begin-user-doc -->
764 * <!-- end-user-doc -->
765 * @return the meta object for class '<em>And Gate</em>'.
766 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate
767 * @generated
768 */
769 EClass getAndGate();
770
771 /**
772 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate <em>Or Gate</em>}'.
773 * <!-- begin-user-doc -->
774 * <!-- end-user-doc -->
775 * @return the meta object for class '<em>Or Gate</em>'.
776 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate
777 * @generated
778 */
779 EClass getOrGate();
780
781 /**
782 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate <em>KOf MGate</em>}'.
783 * <!-- begin-user-doc -->
784 * <!-- end-user-doc -->
785 * @return the meta object for class '<em>KOf MGate</em>'.
786 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate
787 * @generated
788 */
789 EClass getKOfMGate();
790
791 /**
792 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK <em>K</em>}'.
793 * <!-- begin-user-doc -->
794 * <!-- end-user-doc -->
795 * @return the meta object for the attribute '<em>K</em>'.
796 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK()
797 * @see #getKOfMGate()
798 * @generated
799 */
800 EAttribute getKOfMGate_K();
801
802 /**
803 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel <em>Reliability Model</em>}'.
804 * <!-- begin-user-doc -->
805 * <!-- end-user-doc -->
806 * @return the meta object for class '<em>Reliability Model</em>'.
807 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel
808 * @generated
809 */
810 EClass getReliabilityModel();
811
812 /**
813 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel <em>Constant Model</em>}'.
814 * <!-- begin-user-doc -->
815 * <!-- end-user-doc -->
816 * @return the meta object for class '<em>Constant Model</em>'.
817 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel
818 * @generated
819 */
820 EClass getConstantModel();
821
822 /**
823 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed <em>Failed</em>}'.
824 * <!-- begin-user-doc -->
825 * <!-- end-user-doc -->
826 * @return the meta object for the attribute '<em>Failed</em>'.
827 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed()
828 * @see #getConstantModel()
829 * @generated
830 */
831 EAttribute getConstantModel_Failed();
832
833 /**
834 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event <em>Event</em>}'.
835 * <!-- begin-user-doc -->
836 * <!-- end-user-doc -->
837 * @return the meta object for class '<em>Event</em>'.
838 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event
839 * @generated
840 */
841 EClass getEvent();
842
843 /**
844 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent <em>Constant Event</em>}'.
845 * <!-- begin-user-doc -->
846 * <!-- end-user-doc -->
847 * @return the meta object for class '<em>Constant Event</em>'.
848 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent
849 * @generated
850 */
851 EClass getConstantEvent();
852
853 /**
854 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed <em>Failed</em>}'.
855 * <!-- begin-user-doc -->
856 * <!-- end-user-doc -->
857 * @return the meta object for the attribute '<em>Failed</em>'.
858 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed()
859 * @see #getConstantEvent()
860 * @generated
861 */
862 EAttribute getConstantEvent_Failed();
863
864 /**
865 * Returns the factory that creates the instances of the model.
866 * <!-- begin-user-doc -->
867 * <!-- end-user-doc -->
868 * @return the factory that creates the instances of the model.
869 * @generated
870 */
871 FtFactory getFtFactory();
872
873 /**
874 * <!-- begin-user-doc -->
875 * Defines literals for the meta objects that represent
876 * <ul>
877 * <li>each class,</li>
878 * <li>each feature of each class,</li>
879 * <li>each operation of each class,</li>
880 * <li>each enum,</li>
881 * <li>and each data type</li>
882 * </ul>
883 * <!-- end-user-doc -->
884 * @generated
885 */
886 interface Literals {
887 /**
888 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl <em>Fault Tree</em>}' class.
889 * <!-- begin-user-doc -->
890 * <!-- end-user-doc -->
891 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl
892 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree()
893 * @generated
894 */
895 EClass FAULT_TREE = eINSTANCE.getFaultTree();
896
897 /**
898 * The meta object literal for the '<em><b>Events</b></em>' containment reference list feature.
899 * <!-- begin-user-doc -->
900 * <!-- end-user-doc -->
901 * @generated
902 */
903 EReference FAULT_TREE__EVENTS = eINSTANCE.getFaultTree_Events();
904
905 /**
906 * The meta object literal for the '<em><b>Top Event</b></em>' reference feature.
907 * <!-- begin-user-doc -->
908 * <!-- end-user-doc -->
909 * @generated
910 */
911 EReference FAULT_TREE__TOP_EVENT = eINSTANCE.getFaultTree_TopEvent();
912
913 /**
914 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl <em>Random Event</em>}' class.
915 * <!-- begin-user-doc -->
916 * <!-- end-user-doc -->
917 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl
918 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent()
919 * @generated
920 */
921 EClass RANDOM_EVENT = eINSTANCE.getRandomEvent();
922
923 /**
924 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
925 * <!-- begin-user-doc -->
926 * <!-- end-user-doc -->
927 * @generated
928 */
929 EAttribute RANDOM_EVENT__NAME = eINSTANCE.getRandomEvent_Name();
930
931 /**
932 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl <em>Basic Event</em>}' class.
933 * <!-- begin-user-doc -->
934 * <!-- end-user-doc -->
935 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl
936 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent()
937 * @generated
938 */
939 EClass BASIC_EVENT = eINSTANCE.getBasicEvent();
940
941 /**
942 * The meta object literal for the '<em><b>Distribution</b></em>' containment reference feature.
943 * <!-- begin-user-doc -->
944 * <!-- end-user-doc -->
945 * @generated
946 */
947 EReference BASIC_EVENT__DISTRIBUTION = eINSTANCE.getBasicEvent_Distribution();
948
949 /**
950 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl <em>Gate</em>}' class.
951 * <!-- begin-user-doc -->
952 * <!-- end-user-doc -->
953 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl
954 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate()
955 * @generated
956 */
957 EClass GATE = eINSTANCE.getGate();
958
959 /**
960 * The meta object literal for the '<em><b>Input Events</b></em>' reference list feature.
961 * <!-- begin-user-doc -->
962 * <!-- end-user-doc -->
963 * @generated
964 */
965 EReference GATE__INPUT_EVENTS = eINSTANCE.getGate_InputEvents();
966
967 /**
968 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl <em>Distribution</em>}' class.
969 * <!-- begin-user-doc -->
970 * <!-- end-user-doc -->
971 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl
972 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution()
973 * @generated
974 */
975 EClass DISTRIBUTION = eINSTANCE.getDistribution();
976
977 /**
978 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl <em>Constant Distribution</em>}' class.
979 * <!-- begin-user-doc -->
980 * <!-- end-user-doc -->
981 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl
982 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution()
983 * @generated
984 */
985 EClass CONSTANT_DISTRIBUTION = eINSTANCE.getConstantDistribution();
986
987 /**
988 * The meta object literal for the '<em><b>P</b></em>' attribute feature.
989 * <!-- begin-user-doc -->
990 * <!-- end-user-doc -->
991 * @generated
992 */
993 EAttribute CONSTANT_DISTRIBUTION__P = eINSTANCE.getConstantDistribution_P();
994
995 /**
996 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl <em>Exponential Distribution</em>}' class.
997 * <!-- begin-user-doc -->
998 * <!-- end-user-doc -->
999 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl
1000 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution()
1001 * @generated
1002 */
1003 EClass EXPONENTIAL_DISTRIBUTION = eINSTANCE.getExponentialDistribution();
1004
1005 /**
1006 * The meta object literal for the '<em><b>Lambda</b></em>' attribute feature.
1007 * <!-- begin-user-doc -->
1008 * <!-- end-user-doc -->
1009 * @generated
1010 */
1011 EAttribute EXPONENTIAL_DISTRIBUTION__LAMBDA = eINSTANCE.getExponentialDistribution_Lambda();
1012
1013 /**
1014 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl <em>And Gate</em>}' class.
1015 * <!-- begin-user-doc -->
1016 * <!-- end-user-doc -->
1017 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl
1018 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate()
1019 * @generated
1020 */
1021 EClass AND_GATE = eINSTANCE.getAndGate();
1022
1023 /**
1024 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl <em>Or Gate</em>}' class.
1025 * <!-- begin-user-doc -->
1026 * <!-- end-user-doc -->
1027 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl
1028 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate()
1029 * @generated
1030 */
1031 EClass OR_GATE = eINSTANCE.getOrGate();
1032
1033 /**
1034 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl <em>KOf MGate</em>}' class.
1035 * <!-- begin-user-doc -->
1036 * <!-- end-user-doc -->
1037 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl
1038 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate()
1039 * @generated
1040 */
1041 EClass KOF_MGATE = eINSTANCE.getKOfMGate();
1042
1043 /**
1044 * The meta object literal for the '<em><b>K</b></em>' attribute feature.
1045 * <!-- begin-user-doc -->
1046 * <!-- end-user-doc -->
1047 * @generated
1048 */
1049 EAttribute KOF_MGATE__K = eINSTANCE.getKOfMGate_K();
1050
1051 /**
1052 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl <em>Reliability Model</em>}' class.
1053 * <!-- begin-user-doc -->
1054 * <!-- end-user-doc -->
1055 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl
1056 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel()
1057 * @generated
1058 */
1059 EClass RELIABILITY_MODEL = eINSTANCE.getReliabilityModel();
1060
1061 /**
1062 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl <em>Constant Model</em>}' class.
1063 * <!-- begin-user-doc -->
1064 * <!-- end-user-doc -->
1065 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl
1066 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel()
1067 * @generated
1068 */
1069 EClass CONSTANT_MODEL = eINSTANCE.getConstantModel();
1070
1071 /**
1072 * The meta object literal for the '<em><b>Failed</b></em>' attribute feature.
1073 * <!-- begin-user-doc -->
1074 * <!-- end-user-doc -->
1075 * @generated
1076 */
1077 EAttribute CONSTANT_MODEL__FAILED = eINSTANCE.getConstantModel_Failed();
1078
1079 /**
1080 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl <em>Event</em>}' class.
1081 * <!-- begin-user-doc -->
1082 * <!-- end-user-doc -->
1083 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl
1084 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent()
1085 * @generated
1086 */
1087 EClass EVENT = eINSTANCE.getEvent();
1088
1089 /**
1090 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl <em>Constant Event</em>}' class.
1091 * <!-- begin-user-doc -->
1092 * <!-- end-user-doc -->
1093 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl
1094 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent()
1095 * @generated
1096 */
1097 EClass CONSTANT_EVENT = eINSTANCE.getConstantEvent();
1098
1099 /**
1100 * The meta object literal for the '<em><b>Failed</b></em>' attribute feature.
1101 * <!-- begin-user-doc -->
1102 * <!-- end-user-doc -->
1103 * @generated
1104 */
1105 EAttribute CONSTANT_EVENT__FAILED = eINSTANCE.getConstantEvent_Failed();
1106
1107 }
1108
1109} //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
deleted file mode 100644
index 5015051a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import 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 */
23public interface Gate extends RandomEvent {
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.RandomEvent}.
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 lower="2"
36 * @generated
37 */
38 EList<RandomEvent> 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
deleted file mode 100644
index c891f83a..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package 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 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate()
19 * @model
20 * @generated
21 */
22public interface KOfMGate extends Gate {
23 /**
24 * Returns the value of the '<em><b>K</b></em>' attribute.
25 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>K</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>K</em>' attribute.
32 * @see #setK(int)
33 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate_K()
34 * @model
35 * @generated
36 */
37 int getK();
38
39 /**
40 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK <em>K</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @param value the new value of the '<em>K</em>' attribute.
44 * @see #getK()
45 * @generated
46 */
47 void setK(int value);
48
49} // 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
deleted file mode 100644
index 278a2d38..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java
+++ /dev/null
@@ -1,17 +0,0 @@
1/**
2 */
3package 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 */
16public 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/RandomEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java
deleted file mode 100644
index 3931ac41..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java
+++ /dev/null
@@ -1,49 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>Random 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.RandomEvent#getName <em>Name</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent()
19 * @model abstract="true"
20 * @generated
21 */
22public interface RandomEvent extends Event {
23 /**
24 * Returns the value of the '<em><b>Name</b></em>' attribute.
25 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>Name</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>Name</em>' attribute.
32 * @see #setName(String)
33 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent_Name()
34 * @model
35 * @generated
36 */
37 String getName();
38
39 /**
40 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName <em>Name</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @param value the new value of the '<em>Name</em>' attribute.
44 * @see #getName()
45 * @generated
46 */
47 void setName(String value);
48
49} // RandomEvent
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java
deleted file mode 100644
index c1dc2162..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Reliability Model</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getReliabilityModel()
14 * @model abstract="true"
15 * @generated
16 */
17public interface ReliabilityModel extends EObject {
18} // ReliabilityModel
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
deleted file mode 100644
index 509843b1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import 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 */
17public 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
deleted file mode 100644
index bbed7b00..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
8
9import org.eclipse.emf.common.notify.Notification;
10import org.eclipse.emf.common.notify.NotificationChain;
11
12import org.eclipse.emf.ecore.EClass;
13import org.eclipse.emf.ecore.InternalEObject;
14
15import 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 */
30public class BasicEventImpl extends RandomEventImpl 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
deleted file mode 100644
index 7f85ed32..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import 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 */
27public 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/ConstantEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java
deleted file mode 100644
index fc7bcf09..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13
14/**
15 * <!-- begin-user-doc -->
16 * An implementation of the model object '<em><b>Constant 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.ft.impl.ConstantEventImpl#isFailed <em>Failed</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public class ConstantEventImpl extends EventImpl implements ConstantEvent {
28 /**
29 * The default value of the '{@link #isFailed() <em>Failed</em>}' attribute.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @see #isFailed()
33 * @generated
34 * @ordered
35 */
36 protected static final boolean FAILED_EDEFAULT = false;
37
38 /**
39 * The cached value of the '{@link #isFailed() <em>Failed</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #isFailed()
43 * @generated
44 * @ordered
45 */
46 protected boolean failed = FAILED_EDEFAULT;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected ConstantEventImpl() {
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_EVENT;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 @Override
73 public boolean isFailed() {
74 return failed;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public void setFailed(boolean newFailed) {
84 boolean oldFailed = failed;
85 failed = newFailed;
86 if (eNotificationRequired())
87 eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_EVENT__FAILED, oldFailed, failed));
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_EVENT__FAILED:
99 return isFailed();
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_EVENT__FAILED:
113 setFailed((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 FtPackage.CONSTANT_EVENT__FAILED:
128 setFailed(FAILED_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_EVENT__FAILED:
143 return failed != FAILED_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(" (failed: ");
159 result.append(failed);
160 result.append(')');
161 return result.toString();
162 }
163
164} //ConstantEventImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java
deleted file mode 100644
index 52e1605b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13
14/**
15 * <!-- begin-user-doc -->
16 * An implementation of the model object '<em><b>Constant Model</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.ConstantModelImpl#isFailed <em>Failed</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public class ConstantModelImpl extends ReliabilityModelImpl implements ConstantModel {
28 /**
29 * The default value of the '{@link #isFailed() <em>Failed</em>}' attribute.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @see #isFailed()
33 * @generated
34 * @ordered
35 */
36 protected static final boolean FAILED_EDEFAULT = false;
37
38 /**
39 * The cached value of the '{@link #isFailed() <em>Failed</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #isFailed()
43 * @generated
44 * @ordered
45 */
46 protected boolean failed = FAILED_EDEFAULT;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected ConstantModelImpl() {
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_MODEL;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 @Override
73 public boolean isFailed() {
74 return failed;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public void setFailed(boolean newFailed) {
84 boolean oldFailed = failed;
85 failed = newFailed;
86 if (eNotificationRequired())
87 eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_MODEL__FAILED, oldFailed, failed));
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_MODEL__FAILED:
99 return isFailed();
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_MODEL__FAILED:
113 setFailed((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 FtPackage.CONSTANT_MODEL__FAILED:
128 setFailed(FAILED_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_MODEL__FAILED:
143 return failed != FAILED_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(" (failed: ");
159 result.append(failed);
160 result.append(')');
161 return result.toString();
162 }
163
164} //ConstantModelImpl
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
deleted file mode 100644
index 171a58cd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10import 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 */
19public 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
deleted file mode 100644
index b37fa6bd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
11
12/**
13 * <!-- begin-user-doc -->
14 * An implementation of the model object '<em><b>Event</b></em>'.
15 * <!-- end-user-doc -->
16 *
17 * @generated
18 */
19public abstract class EventImpl extends MinimalEObjectImpl.Container implements Event {
20 /**
21 * <!-- begin-user-doc -->
22 * <!-- end-user-doc -->
23 * @generated
24 */
25 protected EventImpl() {
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.EVENT;
37 }
38
39} //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
deleted file mode 100644
index b3c7bd79..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import 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 */
27public 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
deleted file mode 100644
index 23f1d056..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java
+++ /dev/null
@@ -1,216 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.notify.Notification;
12import org.eclipse.emf.common.notify.NotificationChain;
13
14import org.eclipse.emf.common.util.EList;
15
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18
19import org.eclipse.emf.ecore.impl.ENotificationImpl;
20
21import org.eclipse.emf.ecore.util.EObjectContainmentEList;
22import org.eclipse.emf.ecore.util.InternalEList;
23
24/**
25 * <!-- begin-user-doc -->
26 * An implementation of the model object '<em><b>Fault Tree</b></em>'.
27 * <!-- end-user-doc -->
28 * <p>
29 * The following features are implemented:
30 * </p>
31 * <ul>
32 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getEvents <em>Events</em>}</li>
33 * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getTopEvent <em>Top Event</em>}</li>
34 * </ul>
35 *
36 * @generated
37 */
38public class FaultTreeImpl extends ReliabilityModelImpl implements FaultTree {
39 /**
40 * The cached value of the '{@link #getEvents() <em>Events</em>}' containment reference list.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @see #getEvents()
44 * @generated
45 * @ordered
46 */
47 protected EList<RandomEvent> events;
48
49 /**
50 * The cached value of the '{@link #getTopEvent() <em>Top Event</em>}' reference.
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @see #getTopEvent()
54 * @generated
55 * @ordered
56 */
57 protected RandomEvent topEvent;
58
59 /**
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @generated
63 */
64 protected FaultTreeImpl() {
65 super();
66 }
67
68 /**
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @generated
72 */
73 @Override
74 protected EClass eStaticClass() {
75 return FtPackage.Literals.FAULT_TREE;
76 }
77
78 /**
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @generated
82 */
83 @Override
84 public EList<RandomEvent> getEvents() {
85 if (events == null) {
86 events = new EObjectContainmentEList<RandomEvent>(RandomEvent.class, this, FtPackage.FAULT_TREE__EVENTS);
87 }
88 return events;
89 }
90
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 @Override
97 public RandomEvent getTopEvent() {
98 if (topEvent != null && topEvent.eIsProxy()) {
99 InternalEObject oldTopEvent = (InternalEObject)topEvent;
100 topEvent = (RandomEvent)eResolveProxy(oldTopEvent);
101 if (topEvent != oldTopEvent) {
102 if (eNotificationRequired())
103 eNotify(new ENotificationImpl(this, Notification.RESOLVE, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent));
104 }
105 }
106 return topEvent;
107 }
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 public RandomEvent basicGetTopEvent() {
115 return topEvent;
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 @Override
124 public void setTopEvent(RandomEvent newTopEvent) {
125 RandomEvent oldTopEvent = topEvent;
126 topEvent = newTopEvent;
127 if (eNotificationRequired())
128 eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent));
129 }
130
131 /**
132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc -->
134 * @generated
135 */
136 @Override
137 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
138 switch (featureID) {
139 case FtPackage.FAULT_TREE__EVENTS:
140 return ((InternalEList<?>)getEvents()).basicRemove(otherEnd, msgs);
141 }
142 return super.eInverseRemove(otherEnd, featureID, msgs);
143 }
144
145 /**
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 */
150 @Override
151 public Object eGet(int featureID, boolean resolve, boolean coreType) {
152 switch (featureID) {
153 case FtPackage.FAULT_TREE__EVENTS:
154 return getEvents();
155 case FtPackage.FAULT_TREE__TOP_EVENT:
156 if (resolve) return getTopEvent();
157 return basicGetTopEvent();
158 }
159 return super.eGet(featureID, resolve, coreType);
160 }
161
162 /**
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @generated
166 */
167 @SuppressWarnings("unchecked")
168 @Override
169 public void eSet(int featureID, Object newValue) {
170 switch (featureID) {
171 case FtPackage.FAULT_TREE__EVENTS:
172 getEvents().clear();
173 getEvents().addAll((Collection<? extends RandomEvent>)newValue);
174 return;
175 case FtPackage.FAULT_TREE__TOP_EVENT:
176 setTopEvent((RandomEvent)newValue);
177 return;
178 }
179 super.eSet(featureID, newValue);
180 }
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 */
187 @Override
188 public void eUnset(int featureID) {
189 switch (featureID) {
190 case FtPackage.FAULT_TREE__EVENTS:
191 getEvents().clear();
192 return;
193 case FtPackage.FAULT_TREE__TOP_EVENT:
194 setTopEvent((RandomEvent)null);
195 return;
196 }
197 super.eUnset(featureID);
198 }
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 @Override
206 public boolean eIsSet(int featureID) {
207 switch (featureID) {
208 case FtPackage.FAULT_TREE__EVENTS:
209 return events != null && !events.isEmpty();
210 case FtPackage.FAULT_TREE__TOP_EVENT:
211 return topEvent != null;
212 }
213 return super.eIsSet(featureID);
214 }
215
216} //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
deleted file mode 100644
index 126abed8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*;
6
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.emf.ecore.EPackage;
10
11import org.eclipse.emf.ecore.impl.EFactoryImpl;
12
13import 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 */
21public 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 case FtPackage.CONSTANT_MODEL: return createConstantModel();
67 case FtPackage.CONSTANT_EVENT: return createConstantEvent();
68 default:
69 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
70 }
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 @Override
79 public FaultTree createFaultTree() {
80 FaultTreeImpl faultTree = new FaultTreeImpl();
81 return faultTree;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 @Override
90 public BasicEvent createBasicEvent() {
91 BasicEventImpl basicEvent = new BasicEventImpl();
92 return basicEvent;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 @Override
101 public ConstantDistribution createConstantDistribution() {
102 ConstantDistributionImpl constantDistribution = new ConstantDistributionImpl();
103 return constantDistribution;
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 @Override
112 public ExponentialDistribution createExponentialDistribution() {
113 ExponentialDistributionImpl exponentialDistribution = new ExponentialDistributionImpl();
114 return exponentialDistribution;
115 }
116
117 /**
118 * <!-- begin-user-doc -->
119 * <!-- end-user-doc -->
120 * @generated
121 */
122 @Override
123 public AndGate createAndGate() {
124 AndGateImpl andGate = new AndGateImpl();
125 return andGate;
126 }
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 @Override
134 public OrGate createOrGate() {
135 OrGateImpl orGate = new OrGateImpl();
136 return orGate;
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public KOfMGate createKOfMGate() {
146 KOfMGateImpl kOfMGate = new KOfMGateImpl();
147 return kOfMGate;
148 }
149
150 /**
151 * <!-- begin-user-doc -->
152 * <!-- end-user-doc -->
153 * @generated
154 */
155 @Override
156 public ConstantModel createConstantModel() {
157 ConstantModelImpl constantModel = new ConstantModelImpl();
158 return constantModel;
159 }
160
161 /**
162 * <!-- begin-user-doc -->
163 * <!-- end-user-doc -->
164 * @generated
165 */
166 @Override
167 public ConstantEvent createConstantEvent() {
168 ConstantEventImpl constantEvent = new ConstantEventImpl();
169 return constantEvent;
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public FtPackage getFtPackage() {
179 return (FtPackage)getEPackage();
180 }
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @deprecated
186 * @generated
187 */
188 @Deprecated
189 public static FtPackage getPackage() {
190 return FtPackage.eINSTANCE;
191 }
192
193} //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
deleted file mode 100644
index cc2c0617..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java
+++ /dev/null
@@ -1,586 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
11import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution;
13import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
14import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory;
15import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
16import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate;
17import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate;
18import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate;
19import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
20import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel;
21
22import org.eclipse.emf.ecore.EAttribute;
23import org.eclipse.emf.ecore.EClass;
24import org.eclipse.emf.ecore.EPackage;
25import org.eclipse.emf.ecore.EReference;
26
27import org.eclipse.emf.ecore.impl.EPackageImpl;
28
29/**
30 * <!-- begin-user-doc -->
31 * An implementation of the model <b>Package</b>.
32 * <!-- end-user-doc -->
33 * @generated
34 */
35public class FtPackageImpl extends EPackageImpl implements FtPackage {
36 /**
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @generated
40 */
41 private EClass faultTreeEClass = null;
42
43 /**
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @generated
47 */
48 private EClass randomEventEClass = null;
49
50 /**
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @generated
54 */
55 private EClass basicEventEClass = null;
56
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 private EClass gateEClass = null;
63
64 /**
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 private EClass distributionEClass = null;
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 private EClass constantDistributionEClass = null;
77
78 /**
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @generated
82 */
83 private EClass exponentialDistributionEClass = null;
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 private EClass andGateEClass = null;
91
92 /**
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @generated
96 */
97 private EClass orGateEClass = null;
98
99 /**
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 */
104 private EClass kOfMGateEClass = null;
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 private EClass reliabilityModelEClass = null;
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 private EClass constantModelEClass = null;
119
120 /**
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @generated
124 */
125 private EClass eventEClass = null;
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 private EClass constantEventEClass = null;
133
134 /**
135 * Creates an instance of the model <b>Package</b>, registered with
136 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
137 * package URI value.
138 * <p>Note: the correct way to create the package is via the static
139 * factory method {@link #init init()}, which also performs
140 * initialization of the package, or returns the registered package,
141 * if one already exists.
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @see org.eclipse.emf.ecore.EPackage.Registry
145 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#eNS_URI
146 * @see #init()
147 * @generated
148 */
149 private FtPackageImpl() {
150 super(eNS_URI, FtFactory.eINSTANCE);
151 }
152
153 /**
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 */
158 private static boolean isInited = false;
159
160 /**
161 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
162 *
163 * <p>This method is used to initialize {@link FtPackage#eINSTANCE} when that field is accessed.
164 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @see #eNS_URI
168 * @see #createPackageContents()
169 * @see #initializePackageContents()
170 * @generated
171 */
172 public static FtPackage init() {
173 if (isInited) return (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI);
174
175 // Obtain or create and register package
176 Object registeredFtPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
177 FtPackageImpl theFtPackage = registeredFtPackage instanceof FtPackageImpl ? (FtPackageImpl)registeredFtPackage : new FtPackageImpl();
178
179 isInited = true;
180
181 // Create package meta-data objects
182 theFtPackage.createPackageContents();
183
184 // Initialize created meta-data
185 theFtPackage.initializePackageContents();
186
187 // Mark meta-data to indicate it can't be changed
188 theFtPackage.freeze();
189
190 // Update the registry and return the package
191 EPackage.Registry.INSTANCE.put(FtPackage.eNS_URI, theFtPackage);
192 return theFtPackage;
193 }
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 @Override
201 public EClass getFaultTree() {
202 return faultTreeEClass;
203 }
204
205 /**
206 * <!-- begin-user-doc -->
207 * <!-- end-user-doc -->
208 * @generated
209 */
210 @Override
211 public EReference getFaultTree_Events() {
212 return (EReference)faultTreeEClass.getEStructuralFeatures().get(0);
213 }
214
215 /**
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @generated
219 */
220 @Override
221 public EReference getFaultTree_TopEvent() {
222 return (EReference)faultTreeEClass.getEStructuralFeatures().get(1);
223 }
224
225 /**
226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc -->
228 * @generated
229 */
230 @Override
231 public EClass getRandomEvent() {
232 return randomEventEClass;
233 }
234
235 /**
236 * <!-- begin-user-doc -->
237 * <!-- end-user-doc -->
238 * @generated
239 */
240 @Override
241 public EAttribute getRandomEvent_Name() {
242 return (EAttribute)randomEventEClass.getEStructuralFeatures().get(0);
243 }
244
245 /**
246 * <!-- begin-user-doc -->
247 * <!-- end-user-doc -->
248 * @generated
249 */
250 @Override
251 public EClass getBasicEvent() {
252 return basicEventEClass;
253 }
254
255 /**
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 */
260 @Override
261 public EReference getBasicEvent_Distribution() {
262 return (EReference)basicEventEClass.getEStructuralFeatures().get(0);
263 }
264
265 /**
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 */
270 @Override
271 public EClass getGate() {
272 return gateEClass;
273 }
274
275 /**
276 * <!-- begin-user-doc -->
277 * <!-- end-user-doc -->
278 * @generated
279 */
280 @Override
281 public EReference getGate_InputEvents() {
282 return (EReference)gateEClass.getEStructuralFeatures().get(0);
283 }
284
285 /**
286 * <!-- begin-user-doc -->
287 * <!-- end-user-doc -->
288 * @generated
289 */
290 @Override
291 public EClass getDistribution() {
292 return distributionEClass;
293 }
294
295 /**
296 * <!-- begin-user-doc -->
297 * <!-- end-user-doc -->
298 * @generated
299 */
300 @Override
301 public EClass getConstantDistribution() {
302 return constantDistributionEClass;
303 }
304
305 /**
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @generated
309 */
310 @Override
311 public EAttribute getConstantDistribution_P() {
312 return (EAttribute)constantDistributionEClass.getEStructuralFeatures().get(0);
313 }
314
315 /**
316 * <!-- begin-user-doc -->
317 * <!-- end-user-doc -->
318 * @generated
319 */
320 @Override
321 public EClass getExponentialDistribution() {
322 return exponentialDistributionEClass;
323 }
324
325 /**
326 * <!-- begin-user-doc -->
327 * <!-- end-user-doc -->
328 * @generated
329 */
330 @Override
331 public EAttribute getExponentialDistribution_Lambda() {
332 return (EAttribute)exponentialDistributionEClass.getEStructuralFeatures().get(0);
333 }
334
335 /**
336 * <!-- begin-user-doc -->
337 * <!-- end-user-doc -->
338 * @generated
339 */
340 @Override
341 public EClass getAndGate() {
342 return andGateEClass;
343 }
344
345 /**
346 * <!-- begin-user-doc -->
347 * <!-- end-user-doc -->
348 * @generated
349 */
350 @Override
351 public EClass getOrGate() {
352 return orGateEClass;
353 }
354
355 /**
356 * <!-- begin-user-doc -->
357 * <!-- end-user-doc -->
358 * @generated
359 */
360 @Override
361 public EClass getKOfMGate() {
362 return kOfMGateEClass;
363 }
364
365 /**
366 * <!-- begin-user-doc -->
367 * <!-- end-user-doc -->
368 * @generated
369 */
370 @Override
371 public EAttribute getKOfMGate_K() {
372 return (EAttribute)kOfMGateEClass.getEStructuralFeatures().get(0);
373 }
374
375 /**
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 */
380 @Override
381 public EClass getReliabilityModel() {
382 return reliabilityModelEClass;
383 }
384
385 /**
386 * <!-- begin-user-doc -->
387 * <!-- end-user-doc -->
388 * @generated
389 */
390 @Override
391 public EClass getConstantModel() {
392 return constantModelEClass;
393 }
394
395 /**
396 * <!-- begin-user-doc -->
397 * <!-- end-user-doc -->
398 * @generated
399 */
400 @Override
401 public EAttribute getConstantModel_Failed() {
402 return (EAttribute)constantModelEClass.getEStructuralFeatures().get(0);
403 }
404
405 /**
406 * <!-- begin-user-doc -->
407 * <!-- end-user-doc -->
408 * @generated
409 */
410 @Override
411 public EClass getEvent() {
412 return eventEClass;
413 }
414
415 /**
416 * <!-- begin-user-doc -->
417 * <!-- end-user-doc -->
418 * @generated
419 */
420 @Override
421 public EClass getConstantEvent() {
422 return constantEventEClass;
423 }
424
425 /**
426 * <!-- begin-user-doc -->
427 * <!-- end-user-doc -->
428 * @generated
429 */
430 @Override
431 public EAttribute getConstantEvent_Failed() {
432 return (EAttribute)constantEventEClass.getEStructuralFeatures().get(0);
433 }
434
435 /**
436 * <!-- begin-user-doc -->
437 * <!-- end-user-doc -->
438 * @generated
439 */
440 @Override
441 public FtFactory getFtFactory() {
442 return (FtFactory)getEFactoryInstance();
443 }
444
445 /**
446 * <!-- begin-user-doc -->
447 * <!-- end-user-doc -->
448 * @generated
449 */
450 private boolean isCreated = false;
451
452 /**
453 * Creates the meta-model objects for the package. This method is
454 * guarded to have no affect on any invocation but its first.
455 * <!-- begin-user-doc -->
456 * <!-- end-user-doc -->
457 * @generated
458 */
459 public void createPackageContents() {
460 if (isCreated) return;
461 isCreated = true;
462
463 // Create classes and their features
464 faultTreeEClass = createEClass(FAULT_TREE);
465 createEReference(faultTreeEClass, FAULT_TREE__EVENTS);
466 createEReference(faultTreeEClass, FAULT_TREE__TOP_EVENT);
467
468 randomEventEClass = createEClass(RANDOM_EVENT);
469 createEAttribute(randomEventEClass, RANDOM_EVENT__NAME);
470
471 basicEventEClass = createEClass(BASIC_EVENT);
472 createEReference(basicEventEClass, BASIC_EVENT__DISTRIBUTION);
473
474 gateEClass = createEClass(GATE);
475 createEReference(gateEClass, GATE__INPUT_EVENTS);
476
477 distributionEClass = createEClass(DISTRIBUTION);
478
479 constantDistributionEClass = createEClass(CONSTANT_DISTRIBUTION);
480 createEAttribute(constantDistributionEClass, CONSTANT_DISTRIBUTION__P);
481
482 exponentialDistributionEClass = createEClass(EXPONENTIAL_DISTRIBUTION);
483 createEAttribute(exponentialDistributionEClass, EXPONENTIAL_DISTRIBUTION__LAMBDA);
484
485 andGateEClass = createEClass(AND_GATE);
486
487 orGateEClass = createEClass(OR_GATE);
488
489 kOfMGateEClass = createEClass(KOF_MGATE);
490 createEAttribute(kOfMGateEClass, KOF_MGATE__K);
491
492 reliabilityModelEClass = createEClass(RELIABILITY_MODEL);
493
494 constantModelEClass = createEClass(CONSTANT_MODEL);
495 createEAttribute(constantModelEClass, CONSTANT_MODEL__FAILED);
496
497 eventEClass = createEClass(EVENT);
498
499 constantEventEClass = createEClass(CONSTANT_EVENT);
500 createEAttribute(constantEventEClass, CONSTANT_EVENT__FAILED);
501 }
502
503 /**
504 * <!-- begin-user-doc -->
505 * <!-- end-user-doc -->
506 * @generated
507 */
508 private boolean isInitialized = false;
509
510 /**
511 * Complete the initialization of the package and its meta-model. This
512 * method is guarded to have no affect on any invocation but its first.
513 * <!-- begin-user-doc -->
514 * <!-- end-user-doc -->
515 * @generated
516 */
517 public void initializePackageContents() {
518 if (isInitialized) return;
519 isInitialized = true;
520
521 // Initialize package
522 setName(eNAME);
523 setNsPrefix(eNS_PREFIX);
524 setNsURI(eNS_URI);
525
526 // Create type parameters
527
528 // Set bounds for type parameters
529
530 // Add supertypes to classes
531 faultTreeEClass.getESuperTypes().add(this.getReliabilityModel());
532 randomEventEClass.getESuperTypes().add(this.getEvent());
533 basicEventEClass.getESuperTypes().add(this.getRandomEvent());
534 gateEClass.getESuperTypes().add(this.getRandomEvent());
535 constantDistributionEClass.getESuperTypes().add(this.getDistribution());
536 exponentialDistributionEClass.getESuperTypes().add(this.getDistribution());
537 andGateEClass.getESuperTypes().add(this.getGate());
538 orGateEClass.getESuperTypes().add(this.getGate());
539 kOfMGateEClass.getESuperTypes().add(this.getGate());
540 constantModelEClass.getESuperTypes().add(this.getReliabilityModel());
541 constantEventEClass.getESuperTypes().add(this.getEvent());
542
543 // Initialize classes, features, and operations; add parameters
544 initEClass(faultTreeEClass, FaultTree.class, "FaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
545 initEReference(getFaultTree_Events(), this.getRandomEvent(), 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);
546 initEReference(getFaultTree_TopEvent(), this.getRandomEvent(), 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);
547
548 initEClass(randomEventEClass, RandomEvent.class, "RandomEvent", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
549 initEAttribute(getRandomEvent_Name(), ecorePackage.getEString(), "name", null, 0, 1, RandomEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
550
551 initEClass(basicEventEClass, BasicEvent.class, "BasicEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
552 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);
553
554 initEClass(gateEClass, Gate.class, "Gate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
555 initEReference(getGate_InputEvents(), this.getRandomEvent(), null, "inputEvents", null, 2, -1, Gate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
556
557 initEClass(distributionEClass, Distribution.class, "Distribution", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
558
559 initEClass(constantDistributionEClass, ConstantDistribution.class, "ConstantDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
560 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);
561
562 initEClass(exponentialDistributionEClass, ExponentialDistribution.class, "ExponentialDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
563 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);
564
565 initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
566
567 initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
568
569 initEClass(kOfMGateEClass, KOfMGate.class, "KOfMGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
570 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);
571
572 initEClass(reliabilityModelEClass, ReliabilityModel.class, "ReliabilityModel", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
573
574 initEClass(constantModelEClass, ConstantModel.class, "ConstantModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
575 initEAttribute(getConstantModel_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
576
577 initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
578
579 initEClass(constantEventEClass, ConstantEvent.class, "ConstantEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
580 initEAttribute(getConstantEvent_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
581
582 // Create resource
583 createResource(eNS_URI);
584 }
585
586} //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
deleted file mode 100644
index 9e753a09..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java
+++ /dev/null
@@ -1,133 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.util.EList;
12
13import org.eclipse.emf.ecore.EClass;
14
15import 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 */
30public abstract class GateImpl extends RandomEventImpl 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<RandomEvent> 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<RandomEvent> getInputEvents() {
67 if (inputEvents == null) {
68 inputEvents = new EObjectResolvingEList<RandomEvent>(RandomEvent.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 RandomEvent>)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
deleted file mode 100644
index 47ca936b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import 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 * </ul>
24 *
25 * @generated
26 */
27public class KOfMGateImpl extends GateImpl implements KOfMGate {
28 /**
29 * The default value of the '{@link #getK() <em>K</em>}' attribute.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @see #getK()
33 * @generated
34 * @ordered
35 */
36 protected static final int K_EDEFAULT = 0;
37
38 /**
39 * The cached value of the '{@link #getK() <em>K</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getK()
43 * @generated
44 * @ordered
45 */
46 protected int k = K_EDEFAULT;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected KOfMGateImpl() {
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.KOF_MGATE;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 @Override
73 public int getK() {
74 return k;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public void setK(int newK) {
84 int oldK = k;
85 k = newK;
86 if (eNotificationRequired())
87 eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__K, oldK, k));
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.KOF_MGATE__K:
99 return getK();
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.KOF_MGATE__K:
113 setK((Integer)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.KOF_MGATE__K:
128 setK(K_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.KOF_MGATE__K:
143 return k != K_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(" (k: ");
159 result.append(k);
160 result.append(')');
161 return result.toString();
162 }
163
164} //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
deleted file mode 100644
index 88bd2bae..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate;
7
8import 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 */
17public 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/impl/RandomEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java
deleted file mode 100644
index 4f9eda56..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13
14/**
15 * <!-- begin-user-doc -->
16 * An implementation of the model object '<em><b>Random 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.ft.impl.RandomEventImpl#getName <em>Name</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public abstract class RandomEventImpl extends EventImpl implements RandomEvent {
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 /**
39 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getName()
43 * @generated
44 * @ordered
45 */
46 protected String name = NAME_EDEFAULT;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected RandomEventImpl() {
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.RANDOM_EVENT;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 @Override
73 public String getName() {
74 return name;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public void setName(String newName) {
84 String oldName = name;
85 name = newName;
86 if (eNotificationRequired())
87 eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.RANDOM_EVENT__NAME, oldName, name));
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.RANDOM_EVENT__NAME:
99 return getName();
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.RANDOM_EVENT__NAME:
113 setName((String)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.RANDOM_EVENT__NAME:
128 setName(NAME_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.RANDOM_EVENT__NAME:
143 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
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(" (name: ");
159 result.append(name);
160 result.append(')');
161 return result.toString();
162 }
163
164} //RandomEventImpl
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java
deleted file mode 100644
index e3d0eec1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel;
7
8import org.eclipse.emf.ecore.EClass;
9
10import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
11
12/**
13 * <!-- begin-user-doc -->
14 * An implementation of the model object '<em><b>Reliability Model</b></em>'.
15 * <!-- end-user-doc -->
16 *
17 * @generated
18 */
19public abstract class ReliabilityModelImpl extends MinimalEObjectImpl.Container implements ReliabilityModel {
20 /**
21 * <!-- begin-user-doc -->
22 * <!-- end-user-doc -->
23 * @generated
24 */
25 protected ReliabilityModelImpl() {
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.RELIABILITY_MODEL;
37 }
38
39} //ReliabilityModelImpl
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
deleted file mode 100644
index ba7545f4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java
+++ /dev/null
@@ -1,354 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*;
6
7import org.eclipse.emf.common.notify.Adapter;
8import org.eclipse.emf.common.notify.Notifier;
9
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11
12import 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 */
22public 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 caseRandomEvent(RandomEvent object) {
76 return createRandomEventAdapter();
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 caseReliabilityModel(ReliabilityModel object) {
112 return createReliabilityModelAdapter();
113 }
114 @Override
115 public Adapter caseConstantModel(ConstantModel object) {
116 return createConstantModelAdapter();
117 }
118 @Override
119 public Adapter caseEvent(Event object) {
120 return createEventAdapter();
121 }
122 @Override
123 public Adapter caseConstantEvent(ConstantEvent object) {
124 return createConstantEventAdapter();
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.ft.FaultTree <em>Fault Tree</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.ft.FaultTree
154 * @generated
155 */
156 public Adapter createFaultTreeAdapter() {
157 return null;
158 }
159
160 /**
161 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent <em>Random Event</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.ft.RandomEvent
168 * @generated
169 */
170 public Adapter createRandomEventAdapter() {
171 return null;
172 }
173
174 /**
175 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent <em>Basic Event</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.ft.BasicEvent
182 * @generated
183 */
184 public Adapter createBasicEventAdapter() {
185 return null;
186 }
187
188 /**
189 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate <em>Gate</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.ft.Gate
196 * @generated
197 */
198 public Adapter createGateAdapter() {
199 return null;
200 }
201
202 /**
203 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution <em>Distribution</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.ft.Distribution
210 * @generated
211 */
212 public Adapter createDistributionAdapter() {
213 return null;
214 }
215
216 /**
217 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution <em>Constant Distribution</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.ft.ConstantDistribution
224 * @generated
225 */
226 public Adapter createConstantDistributionAdapter() {
227 return null;
228 }
229
230 /**
231 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution <em>Exponential Distribution</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.ft.ExponentialDistribution
238 * @generated
239 */
240 public Adapter createExponentialDistributionAdapter() {
241 return null;
242 }
243
244 /**
245 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate <em>And Gate</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.ft.AndGate
252 * @generated
253 */
254 public Adapter createAndGateAdapter() {
255 return null;
256 }
257
258 /**
259 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate <em>Or Gate</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.ft.OrGate
266 * @generated
267 */
268 public Adapter createOrGateAdapter() {
269 return null;
270 }
271
272 /**
273 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate <em>KOf MGate</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.ft.KOfMGate
280 * @generated
281 */
282 public Adapter createKOfMGateAdapter() {
283 return null;
284 }
285
286 /**
287 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel <em>Reliability Model</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.ft.ReliabilityModel
294 * @generated
295 */
296 public Adapter createReliabilityModelAdapter() {
297 return null;
298 }
299
300 /**
301 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel <em>Constant Model</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.ft.ConstantModel
308 * @generated
309 */
310 public Adapter createConstantModelAdapter() {
311 return null;
312 }
313
314 /**
315 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event <em>Event</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.ft.Event
322 * @generated
323 */
324 public Adapter createEventAdapter() {
325 return null;
326 }
327
328 /**
329 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent <em>Constant Event</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.ft.ConstantEvent
336 * @generated
337 */
338 public Adapter createConstantEventAdapter() {
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} //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
deleted file mode 100644
index 1da4f8e8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java
+++ /dev/null
@@ -1,402 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*;
6
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.ecore.EPackage;
9
10import 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 */
25public 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 = caseReliabilityModel(faultTree);
73 if (result == null) result = defaultCase(theEObject);
74 return result;
75 }
76 case FtPackage.RANDOM_EVENT: {
77 RandomEvent randomEvent = (RandomEvent)theEObject;
78 T result = caseRandomEvent(randomEvent);
79 if (result == null) result = caseEvent(randomEvent);
80 if (result == null) result = defaultCase(theEObject);
81 return result;
82 }
83 case FtPackage.BASIC_EVENT: {
84 BasicEvent basicEvent = (BasicEvent)theEObject;
85 T result = caseBasicEvent(basicEvent);
86 if (result == null) result = caseRandomEvent(basicEvent);
87 if (result == null) result = caseEvent(basicEvent);
88 if (result == null) result = defaultCase(theEObject);
89 return result;
90 }
91 case FtPackage.GATE: {
92 Gate gate = (Gate)theEObject;
93 T result = caseGate(gate);
94 if (result == null) result = caseRandomEvent(gate);
95 if (result == null) result = caseEvent(gate);
96 if (result == null) result = defaultCase(theEObject);
97 return result;
98 }
99 case FtPackage.DISTRIBUTION: {
100 Distribution distribution = (Distribution)theEObject;
101 T result = caseDistribution(distribution);
102 if (result == null) result = defaultCase(theEObject);
103 return result;
104 }
105 case FtPackage.CONSTANT_DISTRIBUTION: {
106 ConstantDistribution constantDistribution = (ConstantDistribution)theEObject;
107 T result = caseConstantDistribution(constantDistribution);
108 if (result == null) result = caseDistribution(constantDistribution);
109 if (result == null) result = defaultCase(theEObject);
110 return result;
111 }
112 case FtPackage.EXPONENTIAL_DISTRIBUTION: {
113 ExponentialDistribution exponentialDistribution = (ExponentialDistribution)theEObject;
114 T result = caseExponentialDistribution(exponentialDistribution);
115 if (result == null) result = caseDistribution(exponentialDistribution);
116 if (result == null) result = defaultCase(theEObject);
117 return result;
118 }
119 case FtPackage.AND_GATE: {
120 AndGate andGate = (AndGate)theEObject;
121 T result = caseAndGate(andGate);
122 if (result == null) result = caseGate(andGate);
123 if (result == null) result = caseRandomEvent(andGate);
124 if (result == null) result = caseEvent(andGate);
125 if (result == null) result = defaultCase(theEObject);
126 return result;
127 }
128 case FtPackage.OR_GATE: {
129 OrGate orGate = (OrGate)theEObject;
130 T result = caseOrGate(orGate);
131 if (result == null) result = caseGate(orGate);
132 if (result == null) result = caseRandomEvent(orGate);
133 if (result == null) result = caseEvent(orGate);
134 if (result == null) result = defaultCase(theEObject);
135 return result;
136 }
137 case FtPackage.KOF_MGATE: {
138 KOfMGate kOfMGate = (KOfMGate)theEObject;
139 T result = caseKOfMGate(kOfMGate);
140 if (result == null) result = caseGate(kOfMGate);
141 if (result == null) result = caseRandomEvent(kOfMGate);
142 if (result == null) result = caseEvent(kOfMGate);
143 if (result == null) result = defaultCase(theEObject);
144 return result;
145 }
146 case FtPackage.RELIABILITY_MODEL: {
147 ReliabilityModel reliabilityModel = (ReliabilityModel)theEObject;
148 T result = caseReliabilityModel(reliabilityModel);
149 if (result == null) result = defaultCase(theEObject);
150 return result;
151 }
152 case FtPackage.CONSTANT_MODEL: {
153 ConstantModel constantModel = (ConstantModel)theEObject;
154 T result = caseConstantModel(constantModel);
155 if (result == null) result = caseReliabilityModel(constantModel);
156 if (result == null) result = defaultCase(theEObject);
157 return result;
158 }
159 case FtPackage.EVENT: {
160 Event event = (Event)theEObject;
161 T result = caseEvent(event);
162 if (result == null) result = defaultCase(theEObject);
163 return result;
164 }
165 case FtPackage.CONSTANT_EVENT: {
166 ConstantEvent constantEvent = (ConstantEvent)theEObject;
167 T result = caseConstantEvent(constantEvent);
168 if (result == null) result = caseEvent(constantEvent);
169 if (result == null) result = defaultCase(theEObject);
170 return result;
171 }
172 default: return defaultCase(theEObject);
173 }
174 }
175
176 /**
177 * Returns the result of interpreting the object as an instance of '<em>Fault Tree</em>'.
178 * <!-- begin-user-doc -->
179 * This implementation returns null;
180 * returning a non-null result will terminate the switch.
181 * <!-- end-user-doc -->
182 * @param object the target of the switch.
183 * @return the result of interpreting the object as an instance of '<em>Fault Tree</em>'.
184 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
185 * @generated
186 */
187 public T caseFaultTree(FaultTree object) {
188 return null;
189 }
190
191 /**
192 * Returns the result of interpreting the object as an instance of '<em>Random Event</em>'.
193 * <!-- begin-user-doc -->
194 * This implementation returns null;
195 * returning a non-null result will terminate the switch.
196 * <!-- end-user-doc -->
197 * @param object the target of the switch.
198 * @return the result of interpreting the object as an instance of '<em>Random Event</em>'.
199 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
200 * @generated
201 */
202 public T caseRandomEvent(RandomEvent object) {
203 return null;
204 }
205
206 /**
207 * Returns the result of interpreting the object as an instance of '<em>Basic Event</em>'.
208 * <!-- begin-user-doc -->
209 * This implementation returns null;
210 * returning a non-null result will terminate the switch.
211 * <!-- end-user-doc -->
212 * @param object the target of the switch.
213 * @return the result of interpreting the object as an instance of '<em>Basic Event</em>'.
214 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
215 * @generated
216 */
217 public T caseBasicEvent(BasicEvent object) {
218 return null;
219 }
220
221 /**
222 * Returns the result of interpreting the object as an instance of '<em>Gate</em>'.
223 * <!-- begin-user-doc -->
224 * This implementation returns null;
225 * returning a non-null result will terminate the switch.
226 * <!-- end-user-doc -->
227 * @param object the target of the switch.
228 * @return the result of interpreting the object as an instance of '<em>Gate</em>'.
229 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
230 * @generated
231 */
232 public T caseGate(Gate object) {
233 return null;
234 }
235
236 /**
237 * Returns the result of interpreting the object as an instance of '<em>Distribution</em>'.
238 * <!-- begin-user-doc -->
239 * This implementation returns null;
240 * returning a non-null result will terminate the switch.
241 * <!-- end-user-doc -->
242 * @param object the target of the switch.
243 * @return the result of interpreting the object as an instance of '<em>Distribution</em>'.
244 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
245 * @generated
246 */
247 public T caseDistribution(Distribution object) {
248 return null;
249 }
250
251 /**
252 * Returns the result of interpreting the object as an instance of '<em>Constant Distribution</em>'.
253 * <!-- begin-user-doc -->
254 * This implementation returns null;
255 * returning a non-null result will terminate the switch.
256 * <!-- end-user-doc -->
257 * @param object the target of the switch.
258 * @return the result of interpreting the object as an instance of '<em>Constant Distribution</em>'.
259 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
260 * @generated
261 */
262 public T caseConstantDistribution(ConstantDistribution object) {
263 return null;
264 }
265
266 /**
267 * Returns the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'.
268 * <!-- begin-user-doc -->
269 * This implementation returns null;
270 * returning a non-null result will terminate the switch.
271 * <!-- end-user-doc -->
272 * @param object the target of the switch.
273 * @return the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'.
274 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
275 * @generated
276 */
277 public T caseExponentialDistribution(ExponentialDistribution object) {
278 return null;
279 }
280
281 /**
282 * Returns the result of interpreting the object as an instance of '<em>And Gate</em>'.
283 * <!-- begin-user-doc -->
284 * This implementation returns null;
285 * returning a non-null result will terminate the switch.
286 * <!-- end-user-doc -->
287 * @param object the target of the switch.
288 * @return the result of interpreting the object as an instance of '<em>And Gate</em>'.
289 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
290 * @generated
291 */
292 public T caseAndGate(AndGate object) {
293 return null;
294 }
295
296 /**
297 * Returns the result of interpreting the object as an instance of '<em>Or Gate</em>'.
298 * <!-- begin-user-doc -->
299 * This implementation returns null;
300 * returning a non-null result will terminate the switch.
301 * <!-- end-user-doc -->
302 * @param object the target of the switch.
303 * @return the result of interpreting the object as an instance of '<em>Or Gate</em>'.
304 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
305 * @generated
306 */
307 public T caseOrGate(OrGate object) {
308 return null;
309 }
310
311 /**
312 * Returns the result of interpreting the object as an instance of '<em>KOf MGate</em>'.
313 * <!-- begin-user-doc -->
314 * This implementation returns null;
315 * returning a non-null result will terminate the switch.
316 * <!-- end-user-doc -->
317 * @param object the target of the switch.
318 * @return the result of interpreting the object as an instance of '<em>KOf MGate</em>'.
319 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
320 * @generated
321 */
322 public T caseKOfMGate(KOfMGate object) {
323 return null;
324 }
325
326 /**
327 * Returns the result of interpreting the object as an instance of '<em>Reliability Model</em>'.
328 * <!-- begin-user-doc -->
329 * This implementation returns null;
330 * returning a non-null result will terminate the switch.
331 * <!-- end-user-doc -->
332 * @param object the target of the switch.
333 * @return the result of interpreting the object as an instance of '<em>Reliability Model</em>'.
334 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
335 * @generated
336 */
337 public T caseReliabilityModel(ReliabilityModel object) {
338 return null;
339 }
340
341 /**
342 * Returns the result of interpreting the object as an instance of '<em>Constant Model</em>'.
343 * <!-- begin-user-doc -->
344 * This implementation returns null;
345 * returning a non-null result will terminate the switch.
346 * <!-- end-user-doc -->
347 * @param object the target of the switch.
348 * @return the result of interpreting the object as an instance of '<em>Constant Model</em>'.
349 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
350 * @generated
351 */
352 public T caseConstantModel(ConstantModel object) {
353 return null;
354 }
355
356 /**
357 * Returns the result of interpreting the object as an instance of '<em>Event</em>'.
358 * <!-- begin-user-doc -->
359 * This implementation returns null;
360 * returning a non-null result will terminate the switch.
361 * <!-- end-user-doc -->
362 * @param object the target of the switch.
363 * @return the result of interpreting the object as an instance of '<em>Event</em>'.
364 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
365 * @generated
366 */
367 public T caseEvent(Event object) {
368 return null;
369 }
370
371 /**
372 * Returns the result of interpreting the object as an instance of '<em>Constant Event</em>'.
373 * <!-- begin-user-doc -->
374 * This implementation returns null;
375 * returning a non-null result will terminate the switch.
376 * <!-- end-user-doc -->
377 * @param object the target of the switch.
378 * @return the result of interpreting the object as an instance of '<em>Constant Event</em>'.
379 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
380 * @generated
381 */
382 public T caseConstantEvent(ConstantEvent object) {
383 return null;
384 }
385
386 /**
387 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
388 * <!-- begin-user-doc -->
389 * This implementation returns null;
390 * returning a non-null result will terminate the switch, but this is the last case anyway.
391 * <!-- end-user-doc -->
392 * @param object the target of the switch.
393 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
394 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
395 * @generated
396 */
397 @Override
398 public T defaultCase(EObject object) {
399 return null;
400 }
401
402} //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
deleted file mode 100644
index a843aeed..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore
+++ /dev/null
@@ -1,83 +0,0 @@
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="#//InputEvent" 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="InputEvent" 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" eSuperTypes="#//ModalElement">
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 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
49 <eStructuralFeatures xsi:type="ecore:EAttribute" name="multipleAllowed" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
50 defaultValueLiteral="false"/>
51 </eClassifiers>
52 <eClassifiers xsi:type="ecore:EClass" name="Input">
53 <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvent" lowerBound="1"
54 eType="#//InputEvent"/>
55 <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1"
56 eType="#//Component" eOpposite="#//Component/inputs"/>
57 <eStructuralFeatures xsi:type="ecore:EReference" name="incomingConnections" upperBound="-1"
58 eType="#//Connection" containment="true" eOpposite="#//Connection/input"/>
59 </eClassifiers>
60 <eClassifiers xsi:type="ecore:EClass" name="Output">
61 <eStructuralFeatures xsi:type="ecore:EReference" name="eventDeclaration" lowerBound="1"
62 eType="#//EventDeclaration"/>
63 <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingConnections" upperBound="-1"
64 eType="#//Connection" eOpposite="#//Connection/output"/>
65 <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1"
66 eType="#//Component" eOpposite="#//Component/outputs"/>
67 </eClassifiers>
68 <eClassifiers xsi:type="ecore:EClass" name="Connection" eSuperTypes="#//ModalElement">
69 <eStructuralFeatures xsi:type="ecore:EReference" name="input" lowerBound="1" eType="#//Input"
70 eOpposite="#//Input/incomingConnections"/>
71 <eStructuralFeatures xsi:type="ecore:EReference" name="output" lowerBound="1"
72 eType="#//Output" eOpposite="#//Output/outgoingConnections"/>
73 </eClassifiers>
74 <eClassifiers xsi:type="ecore:EEnum" name="Modality">
75 <eLiterals name="MAY"/>
76 <eLiterals name="CURRENT" value="1"/>
77 <eLiterals name="MUST" value="2"/>
78 </eClassifiers>
79 <eClassifiers xsi:type="ecore:EClass" name="ModalElement" abstract="true" interface="true">
80 <eStructuralFeatures xsi:type="ecore:EAttribute" name="exists" eType="#//Modality"
81 defaultValueLiteral="MUST"/>
82 </eClassifiers>
83</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
deleted file mode 100644
index 3cdc93c4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel
+++ /dev/null
@@ -1,69 +0,0 @@
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 <genEnums typeSafeEnumCompatible="false" ecoreEnum="cft.ecore#//Modality">
11 <genEnumLiterals ecoreEnumLiteral="cft.ecore#//Modality/MAY"/>
12 <genEnumLiterals ecoreEnumLiteral="cft.ecore#//Modality/CURRENT"/>
13 <genEnumLiterals ecoreEnumLiteral="cft.ecore#//Modality/MUST"/>
14 </genEnums>
15 <genClasses ecoreClass="cft.ecore#//ComponentDefinition">
16 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/inputEvents"/>
17 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/eventDefinitions"/>
18 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentDefinition/outputEvents"/>
19 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//ComponentDefinition/name"/>
20 </genClasses>
21 <genClasses image="false" ecoreClass="cft.ecore#//EventDefinition"/>
22 <genClasses image="false" ecoreClass="cft.ecore#//GateDefinition">
23 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//GateDefinition/inputEvents"/>
24 </genClasses>
25 <genClasses ecoreClass="cft.ecore#//BasicEventDefinition">
26 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//BasicEventDefinition/distribution"/>
27 </genClasses>
28 <genClasses ecoreClass="cft.ecore#//InputEvent">
29 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//InputEvent/multiple"/>
30 </genClasses>
31 <genClasses image="false" ecoreClass="cft.ecore#//EventDeclaration">
32 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//EventDeclaration/name"/>
33 </genClasses>
34 <genClasses ecoreClass="cft.ecore#//AndGateDefinition"/>
35 <genClasses ecoreClass="cft.ecore#//OrGateDefinition"/>
36 <genClasses ecoreClass="cft.ecore#//KOfMGateDefinition">
37 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//KOfMGateDefinition/k"/>
38 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//KOfMGateDefinition/m"/>
39 </genClasses>
40 <genClasses ecoreClass="cft.ecore#//ComponentFaultTree">
41 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentFaultTree/components"/>
42 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//ComponentFaultTree/topEvent"/>
43 </genClasses>
44 <genClasses ecoreClass="cft.ecore#//Component">
45 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/inputs"/>
46 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/outputs"/>
47 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Component/componentDefinition"/>
48 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//Component/name"/>
49 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//Component/multipleAllowed"/>
50 </genClasses>
51 <genClasses ecoreClass="cft.ecore#//Input">
52 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Input/inputEvent"/>
53 <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Input/component"/>
54 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Input/incomingConnections"/>
55 </genClasses>
56 <genClasses ecoreClass="cft.ecore#//Output">
57 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Output/eventDeclaration"/>
58 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Output/outgoingConnections"/>
59 <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Output/component"/>
60 </genClasses>
61 <genClasses ecoreClass="cft.ecore#//Connection">
62 <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Connection/input"/>
63 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Connection/output"/>
64 </genClasses>
65 <genClasses ecoreClass="cft.ecore#//ModalElement">
66 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//ModalElement/exists"/>
67 </genClasses>
68 </genPackages>
69</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
deleted file mode 100644
index afe9395e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore
+++ /dev/null
@@ -1,42 +0,0 @@
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" eSuperTypes="#//ReliabilityModel">
6 <eStructuralFeatures xsi:type="ecore:EReference" name="events" upperBound="-1"
7 eType="#//RandomEvent" containment="true"/>
8 <eStructuralFeatures xsi:type="ecore:EReference" name="topEvent" lowerBound="1"
9 eType="#//RandomEvent"/>
10 </eClassifiers>
11 <eClassifiers xsi:type="ecore:EClass" name="RandomEvent" abstract="true" eSuperTypes="#//Event">
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="#//RandomEvent">
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="#//RandomEvent">
19 <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" lowerBound="2"
20 upperBound="-1" eType="#//RandomEvent"/>
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 </eClassifiers>
34 <eClassifiers xsi:type="ecore:EClass" name="ReliabilityModel" abstract="true"/>
35 <eClassifiers xsi:type="ecore:EClass" name="ConstantModel" eSuperTypes="#//ReliabilityModel">
36 <eStructuralFeatures xsi:type="ecore:EAttribute" name="failed" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
37 </eClassifiers>
38 <eClassifiers xsi:type="ecore:EClass" name="Event" abstract="true"/>
39 <eClassifiers xsi:type="ecore:EClass" name="ConstantEvent" eSuperTypes="#//Event">
40 <eStructuralFeatures xsi:type="ecore:EAttribute" name="failed" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
41 </eClassifiers>
42</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
deleted file mode 100644
index 7dcd0ae7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel
+++ /dev/null
@@ -1,44 +0,0 @@
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#//RandomEvent">
15 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//RandomEvent/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 </genClasses>
35 <genClasses ecoreClass="ft.ecore#//ReliabilityModel"/>
36 <genClasses ecoreClass="ft.ecore#//ConstantModel">
37 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//ConstantModel/failed"/>
38 </genClasses>
39 <genClasses ecoreClass="ft.ecore#//Event"/>
40 <genClasses ecoreClass="ft.ecore#//ConstantEvent">
41 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ft.ecore#//ConstantEvent/failed"/>
42 </genClasses>
43 </genPackages>
44</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
deleted file mode 100644
index 2936b0e7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties
+++ /dev/null
@@ -1,4 +0,0 @@
1#
2
3pluginName = Model
4providerName = 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
deleted file mode 100644
index 754a53cb..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml
+++ /dev/null
@@ -1,25 +0,0 @@
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
deleted file mode 100644
index edd5ed20..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird
+++ /dev/null
@@ -1,2013 +0,0 @@
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 <semanticResources>src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend</semanticResources>
10 <ownedViews xmi:type="viewpoint:DView" uid="_WH8IYCoZEemQnOUhg0mU1A">
11 <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/>
12 <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_XdtogyoZEemQnOUhg0mU1A" name="cft class diagram" repPath="#_XdoI8CoZEemQnOUhg0mU1A">
13 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
14 <target xmi:type="ecore:EPackage" href="model/cft.ecore#/"/>
15 </ownedRepresentationDescriptors>
16 <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_BnlJEyohEemQnOUhg0mU1A" name="ft class diagram" repPath="#_Bnj68CohEemQnOUhg0mU1A">
17 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
18 <target xmi:type="ecore:EPackage" href="model/ft.ecore#/"/>
19 </ownedRepresentationDescriptors>
20 </ownedViews>
21 </viewpoint:DAnalysis>
22 <diagram:DSemanticDiagram uid="_XdoI8CoZEemQnOUhg0mU1A" name="cft class diagram">
23 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_XdtogCoZEemQnOUhg0mU1A" source="DANNOTATION_CUSTOMIZATION_KEY">
24 <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_XdtogSoZEemQnOUhg0mU1A">
25 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan">
26 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
27 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_lIXL4SofEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
28 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
29 </centerLabelStyleDescription>
30 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_lIXL4iofEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
31 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
32 </endLabelStyleDescription>
33 </computedStyleDescriptions>
34 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_OkCM5iorEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan">
35 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
36 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_OkCM5yorEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
37 <labelFormat>bold</labelFormat>
38 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
39 </centerLabelStyleDescription>
40 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_OkCM6CorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
41 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
42 </endLabelStyleDescription>
43 </computedStyleDescriptions>
44 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan">
45 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
46 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_IXsxGSosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
47 <labelFormat>bold</labelFormat>
48 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
49 </centerLabelStyleDescription>
50 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_IXsxGiosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
51 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
52 </endLabelStyleDescription>
53 </computedStyleDescriptions>
54 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan">
55 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
56 <beginLabelStyleDescription xmi:type="style:BeginLabelStyleDescription" xmi:id="_eyVLCCosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:renderEOpposite">
57 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
58 </beginLabelStyleDescription>
59 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_eyVLCSosEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
60 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
61 </endLabelStyleDescription>
62 </computedStyleDescriptions>
63 </data>
64 </ownedAnnotationEntries>
65 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_XduPkCoZEemQnOUhg0mU1A" source="GMF_DIAGRAMS">
66 <data xmi:type="notation:Diagram" xmi:id="_XduPkSoZEemQnOUhg0mU1A" type="Sirius" element="_XdoI8CoZEemQnOUhg0mU1A" measurementUnit="Pixel">
67 <children xmi:type="notation:Node" xmi:id="_ZqDkQCoZEemQnOUhg0mU1A" type="2003" element="_Zp_54CoZEemQnOUhg0mU1A">
68 <children xmi:type="notation:Node" xmi:id="_ZqDkQyoZEemQnOUhg0mU1A" type="5007"/>
69 <children xmi:type="notation:Node" xmi:id="_ZqELUCoZEemQnOUhg0mU1A" type="7004">
70 <children xmi:type="notation:Node" xmi:id="__Erj8CofEemQnOUhg0mU1A" type="3010" element="__EiaACofEemQnOUhg0mU1A">
71 <styles xmi:type="notation:FontStyle" xmi:id="__Erj8SofEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
72 <layoutConstraint xmi:type="notation:Location" xmi:id="__Erj8iofEemQnOUhg0mU1A"/>
73 </children>
74 <styles xmi:type="notation:SortingStyle" xmi:id="_ZqELUSoZEemQnOUhg0mU1A"/>
75 <styles xmi:type="notation:FilteringStyle" xmi:id="_ZqELUioZEemQnOUhg0mU1A"/>
76 </children>
77 <styles xmi:type="notation:ShapeStyle" xmi:id="_ZqDkQSoZEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
78 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ZqDkQioZEemQnOUhg0mU1A" x="169" y="195" width="133" height="100"/>
79 </children>
80 <children xmi:type="notation:Node" xmi:id="_cTz0wCoZEemQnOUhg0mU1A" type="2003" element="_cTwxcCoZEemQnOUhg0mU1A">
81 <children xmi:type="notation:Node" xmi:id="_cTz0wyoZEemQnOUhg0mU1A" type="5007"/>
82 <children xmi:type="notation:Node" xmi:id="_cTz0xCoZEemQnOUhg0mU1A" type="7004">
83 <styles xmi:type="notation:SortingStyle" xmi:id="_cTz0xSoZEemQnOUhg0mU1A"/>
84 <styles xmi:type="notation:FilteringStyle" xmi:id="_cTz0xioZEemQnOUhg0mU1A"/>
85 </children>
86 <styles xmi:type="notation:ShapeStyle" xmi:id="_cTz0wSoZEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
87 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cTz0wioZEemQnOUhg0mU1A" x="273" y="520" width="120" height="100"/>
88 </children>
89 <children xmi:type="notation:Node" xmi:id="_C0IYkCodEemQnOUhg0mU1A" type="2003" element="_C0DgECodEemQnOUhg0mU1A">
90 <children xmi:type="notation:Node" xmi:id="_C0I_oCodEemQnOUhg0mU1A" type="5007"/>
91 <children xmi:type="notation:Node" xmi:id="_C0I_oSodEemQnOUhg0mU1A" type="7004">
92 <styles xmi:type="notation:SortingStyle" xmi:id="_C0I_oiodEemQnOUhg0mU1A"/>
93 <styles xmi:type="notation:FilteringStyle" xmi:id="_C0I_oyodEemQnOUhg0mU1A"/>
94 </children>
95 <styles xmi:type="notation:ShapeStyle" xmi:id="_C0IYkSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
96 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C0IYkiodEemQnOUhg0mU1A" x="377" y="676" width="120" height="100"/>
97 </children>
98 <children xmi:type="notation:Node" xmi:id="_D1vmkCodEemQnOUhg0mU1A" type="2003" element="_D1quECodEemQnOUhg0mU1A">
99 <children xmi:type="notation:Node" xmi:id="_D1vmkyodEemQnOUhg0mU1A" type="5007"/>
100 <children xmi:type="notation:Node" xmi:id="_D1vmlCodEemQnOUhg0mU1A" type="7004">
101 <styles xmi:type="notation:SortingStyle" xmi:id="_D1vmlSodEemQnOUhg0mU1A"/>
102 <styles xmi:type="notation:FilteringStyle" xmi:id="_D1vmliodEemQnOUhg0mU1A"/>
103 </children>
104 <styles xmi:type="notation:ShapeStyle" xmi:id="_D1vmkSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
105 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_D1vmkiodEemQnOUhg0mU1A" x="182" y="676" width="133" height="100"/>
106 </children>
107 <children xmi:type="notation:Node" xmi:id="_IejkxiodEemQnOUhg0mU1A" type="2003" element="_Iec3ECodEemQnOUhg0mU1A">
108 <children xmi:type="notation:Node" xmi:id="_IekL0CodEemQnOUhg0mU1A" type="5007"/>
109 <children xmi:type="notation:Node" xmi:id="_IekL0SodEemQnOUhg0mU1A" type="7004">
110 <children xmi:type="notation:Node" xmi:id="_0AgE0CofEemQnOUhg0mU1A" type="3010" element="_0AT3kCofEemQnOUhg0mU1A">
111 <styles xmi:type="notation:FontStyle" xmi:id="_0AgE0SofEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
112 <layoutConstraint xmi:type="notation:Location" xmi:id="_0AgE0iofEemQnOUhg0mU1A"/>
113 </children>
114 <styles xmi:type="notation:SortingStyle" xmi:id="_IekL0iodEemQnOUhg0mU1A"/>
115 <styles xmi:type="notation:FilteringStyle" xmi:id="_IekL0yodEemQnOUhg0mU1A"/>
116 </children>
117 <styles xmi:type="notation:ShapeStyle" xmi:id="_IejkxyodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
118 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IejkyCodEemQnOUhg0mU1A" x="59" y="520" width="120" height="100"/>
119 </children>
120 <children xmi:type="notation:Node" xmi:id="_QEEkoCodEemQnOUhg0mU1A" type="2003" element="_QD_FECodEemQnOUhg0mU1A">
121 <children xmi:type="notation:Node" xmi:id="_QEFLsCodEemQnOUhg0mU1A" type="5007"/>
122 <children xmi:type="notation:Node" xmi:id="_QEFLsSodEemQnOUhg0mU1A" type="7004">
123 <children xmi:type="notation:Node" xmi:id="_n86ZUCouEemQnOUhg0mU1A" type="3010" element="_n8pTkCouEemQnOUhg0mU1A">
124 <styles xmi:type="notation:FontStyle" xmi:id="_n86ZUSouEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
125 <layoutConstraint xmi:type="notation:Location" xmi:id="_n86ZUiouEemQnOUhg0mU1A"/>
126 </children>
127 <styles xmi:type="notation:SortingStyle" xmi:id="_QEFLsiodEemQnOUhg0mU1A"/>
128 <styles xmi:type="notation:FilteringStyle" xmi:id="_QEFLsyodEemQnOUhg0mU1A"/>
129 </children>
130 <styles xmi:type="notation:ShapeStyle" xmi:id="_QEEkoSodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
131 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QEEkoiodEemQnOUhg0mU1A" x="176" y="364" width="120" height="100"/>
132 </children>
133 <children xmi:type="notation:Node" xmi:id="_CL1lUCokEemQnOUhg0mU1A" type="2003" element="_CLrNQCokEemQnOUhg0mU1A">
134 <children xmi:type="notation:Node" xmi:id="_CL1lUyokEemQnOUhg0mU1A" type="5007"/>
135 <children xmi:type="notation:Node" xmi:id="_CL1lVCokEemQnOUhg0mU1A" type="7004">
136 <styles xmi:type="notation:SortingStyle" xmi:id="_CL1lVSokEemQnOUhg0mU1A"/>
137 <styles xmi:type="notation:FilteringStyle" xmi:id="_CL1lViokEemQnOUhg0mU1A"/>
138 </children>
139 <styles xmi:type="notation:ShapeStyle" xmi:id="_CL1lUSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
140 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CL1lUiokEemQnOUhg0mU1A" x="221" y="845" width="120" height="100"/>
141 </children>
142 <children xmi:type="notation:Node" xmi:id="_DnK64CokEemQnOUhg0mU1A" type="2003" element="_DnAi0CokEemQnOUhg0mU1A">
143 <children xmi:type="notation:Node" xmi:id="_DnLh8CokEemQnOUhg0mU1A" type="5007"/>
144 <children xmi:type="notation:Node" xmi:id="_DnLh8SokEemQnOUhg0mU1A" type="7004">
145 <styles xmi:type="notation:SortingStyle" xmi:id="_DnLh8iokEemQnOUhg0mU1A"/>
146 <styles xmi:type="notation:FilteringStyle" xmi:id="_DnLh8yokEemQnOUhg0mU1A"/>
147 </children>
148 <styles xmi:type="notation:ShapeStyle" xmi:id="_DnK64SokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
149 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DnK64iokEemQnOUhg0mU1A" x="377" y="845" width="120" height="100"/>
150 </children>
151 <children xmi:type="notation:Node" xmi:id="_FjmyYCokEemQnOUhg0mU1A" type="2003" element="_FjbzQCokEemQnOUhg0mU1A">
152 <children xmi:type="notation:Node" xmi:id="_FjmyYyokEemQnOUhg0mU1A" type="5007"/>
153 <children xmi:type="notation:Node" xmi:id="_FjmyZCokEemQnOUhg0mU1A" type="7004">
154 <children xmi:type="notation:Node" xmi:id="_SuPjgCorEemQnOUhg0mU1A" type="3010" element="_St8BgCorEemQnOUhg0mU1A">
155 <styles xmi:type="notation:FontStyle" xmi:id="_SuPjgSorEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
156 <layoutConstraint xmi:type="notation:Location" xmi:id="_SuPjgiorEemQnOUhg0mU1A"/>
157 </children>
158 <children xmi:type="notation:Node" xmi:id="_TnXj4CorEemQnOUhg0mU1A" type="3010" element="_TnPBACorEemQnOUhg0mU1A">
159 <styles xmi:type="notation:FontStyle" xmi:id="_TnXj4SorEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
160 <layoutConstraint xmi:type="notation:Location" xmi:id="_TnXj4iorEemQnOUhg0mU1A"/>
161 </children>
162 <styles xmi:type="notation:SortingStyle" xmi:id="_FjmyZSokEemQnOUhg0mU1A"/>
163 <styles xmi:type="notation:FilteringStyle" xmi:id="_FjmyZiokEemQnOUhg0mU1A"/>
164 </children>
165 <styles xmi:type="notation:ShapeStyle" xmi:id="_FjmyYSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
166 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FjmyYiokEemQnOUhg0mU1A" x="533" y="845" width="133" height="100"/>
167 </children>
168 <children xmi:type="notation:Node" xmi:id="_UtkzcCoqEemQnOUhg0mU1A" type="2003" element="_Utes0CoqEemQnOUhg0mU1A">
169 <children xmi:type="notation:Node" xmi:id="_UtkzcyoqEemQnOUhg0mU1A" type="5007"/>
170 <children xmi:type="notation:Node" xmi:id="_UtlagCoqEemQnOUhg0mU1A" type="7004">
171 <styles xmi:type="notation:SortingStyle" xmi:id="_UtlagSoqEemQnOUhg0mU1A"/>
172 <styles xmi:type="notation:FilteringStyle" xmi:id="_UtlagioqEemQnOUhg0mU1A"/>
173 </children>
174 <styles xmi:type="notation:ShapeStyle" xmi:id="_UtkzcSoqEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8" italic="true"/>
175 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UtkzcioqEemQnOUhg0mU1A" x="39" y="845"/>
176 </children>
177 <children xmi:type="notation:Node" xmi:id="_WnAk0CorEemQnOUhg0mU1A" type="2003" element="_Wm0XkCorEemQnOUhg0mU1A">
178 <children xmi:type="notation:Node" xmi:id="_WnAk0yorEemQnOUhg0mU1A" type="5007"/>
179 <children xmi:type="notation:Node" xmi:id="_WnAk1CorEemQnOUhg0mU1A" type="7004">
180 <styles xmi:type="notation:SortingStyle" xmi:id="_WnAk1SorEemQnOUhg0mU1A"/>
181 <styles xmi:type="notation:FilteringStyle" xmi:id="_WnAk1iorEemQnOUhg0mU1A"/>
182 </children>
183 <styles xmi:type="notation:ShapeStyle" xmi:id="_WnAk0SorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
184 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WnAk0iorEemQnOUhg0mU1A" x="845" y="26" width="146" height="100"/>
185 </children>
186 <children xmi:type="notation:Node" xmi:id="_bLbyQCorEemQnOUhg0mU1A" type="2003" element="_bLPlACorEemQnOUhg0mU1A">
187 <children xmi:type="notation:Node" xmi:id="_bLbyQyorEemQnOUhg0mU1A" type="5007"/>
188 <children xmi:type="notation:Node" xmi:id="_bLbyRCorEemQnOUhg0mU1A" type="7004">
189 <children xmi:type="notation:Node" xmi:id="_sNmcQCr7EemQnOUhg0mU1A" type="3010" element="_sNcrQCr7EemQnOUhg0mU1A">
190 <styles xmi:type="notation:FontStyle" xmi:id="_sNmcQSr7EemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
191 <layoutConstraint xmi:type="notation:Location" xmi:id="_sNmcQir7EemQnOUhg0mU1A"/>
192 </children>
193 <children xmi:type="notation:Node" xmi:id="_ODc_QD_rEem15JHY3tVwwA" type="3010" element="_ODSAID_rEem15JHY3tVwwA">
194 <styles xmi:type="notation:FontStyle" xmi:id="_ODc_QT_rEem15JHY3tVwwA" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
195 <layoutConstraint xmi:type="notation:Location" xmi:id="_ODc_Qj_rEem15JHY3tVwwA"/>
196 </children>
197 <styles xmi:type="notation:SortingStyle" xmi:id="_bLbyRSorEemQnOUhg0mU1A"/>
198 <styles xmi:type="notation:FilteringStyle" xmi:id="_bLbyRiorEemQnOUhg0mU1A"/>
199 </children>
200 <styles xmi:type="notation:ShapeStyle" xmi:id="_bLbyQSorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
201 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bLbyQiorEemQnOUhg0mU1A" x="845" y="195" width="146" height="100"/>
202 </children>
203 <children xmi:type="notation:Node" xmi:id="_mUP5wCorEemQnOUhg0mU1A" type="2003" element="_mUETkCorEemQnOUhg0mU1A">
204 <children xmi:type="notation:Node" xmi:id="_mUP5wyorEemQnOUhg0mU1A" type="5007"/>
205 <children xmi:type="notation:Node" xmi:id="_mUP5xCorEemQnOUhg0mU1A" type="7004">
206 <styles xmi:type="notation:SortingStyle" xmi:id="_mUP5xSorEemQnOUhg0mU1A"/>
207 <styles xmi:type="notation:FilteringStyle" xmi:id="_mUP5xiorEemQnOUhg0mU1A"/>
208 </children>
209 <styles xmi:type="notation:ShapeStyle" xmi:id="_mUP5wSorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
210 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mUP5wiorEemQnOUhg0mU1A" x="767" y="455" width="120" height="100"/>
211 </children>
212 <children xmi:type="notation:Node" xmi:id="_nyhOkCorEemQnOUhg0mU1A" type="2003" element="_nyWPcCorEemQnOUhg0mU1A">
213 <children xmi:type="notation:Node" xmi:id="_nyh1oiorEemQnOUhg0mU1A" type="5007"/>
214 <children xmi:type="notation:Node" xmi:id="_nyh1oyorEemQnOUhg0mU1A" type="7004">
215 <styles xmi:type="notation:SortingStyle" xmi:id="_nyh1pCorEemQnOUhg0mU1A"/>
216 <styles xmi:type="notation:FilteringStyle" xmi:id="_nyh1pSorEemQnOUhg0mU1A"/>
217 </children>
218 <styles xmi:type="notation:ShapeStyle" xmi:id="_nyh1oCorEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
219 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nyh1oSorEemQnOUhg0mU1A" x="949" y="364" width="120" height="100"/>
220 </children>
221 <children xmi:type="notation:Node" xmi:id="_Z4VWMCosEemQnOUhg0mU1A" type="2003" element="_Z4MMQCosEemQnOUhg0mU1A">
222 <children xmi:type="notation:Node" xmi:id="_Z4VWMyosEemQnOUhg0mU1A" type="5007"/>
223 <children xmi:type="notation:Node" xmi:id="_Z4VWNCosEemQnOUhg0mU1A" type="7004">
224 <styles xmi:type="notation:SortingStyle" xmi:id="_Z4VWNSosEemQnOUhg0mU1A"/>
225 <styles xmi:type="notation:FilteringStyle" xmi:id="_Z4VWNiosEemQnOUhg0mU1A"/>
226 </children>
227 <styles xmi:type="notation:ShapeStyle" xmi:id="_Z4VWMSosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
228 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Z4VWMiosEemQnOUhg0mU1A" x="767" y="617" width="120" height="100"/>
229 </children>
230 <children xmi:type="notation:Node" xmi:id="_ePcnwEAiEemLn8qDUFXPRg" type="2003" element="_ePE0UEAiEemLn8qDUFXPRg">
231 <children xmi:type="notation:Node" xmi:id="_ePfrEEAiEemLn8qDUFXPRg" type="5007"/>
232 <children xmi:type="notation:Node" xmi:id="_ePgSIEAiEemLn8qDUFXPRg" type="7004">
233 <children xmi:type="notation:Node" xmi:id="_iIrjIEAiEemLn8qDUFXPRg" type="3010" element="_iIadYEAiEemLn8qDUFXPRg">
234 <styles xmi:type="notation:FontStyle" xmi:id="_iIrjIUAiEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
235 <layoutConstraint xmi:type="notation:Location" xmi:id="_iIrjIkAiEemLn8qDUFXPRg"/>
236 </children>
237 <children xmi:type="notation:Node" xmi:id="_jjjlsEAiEemLn8qDUFXPRg" type="3010" element="_jjXYcEAiEemLn8qDUFXPRg">
238 <styles xmi:type="notation:FontStyle" xmi:id="_jjjlsUAiEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
239 <layoutConstraint xmi:type="notation:Location" xmi:id="_jjjlskAiEemLn8qDUFXPRg"/>
240 </children>
241 <children xmi:type="notation:Node" xmi:id="_kE3jAEAiEemLn8qDUFXPRg" type="3010" element="_kEmdQEAiEemLn8qDUFXPRg">
242 <styles xmi:type="notation:FontStyle" xmi:id="_kE3jAUAiEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
243 <layoutConstraint xmi:type="notation:Location" xmi:id="_kE3jAkAiEemLn8qDUFXPRg"/>
244 </children>
245 <styles xmi:type="notation:SortingStyle" xmi:id="_ePgSIUAiEemLn8qDUFXPRg"/>
246 <styles xmi:type="notation:FilteringStyle" xmi:id="_ePgSIkAiEemLn8qDUFXPRg"/>
247 </children>
248 <styles xmi:type="notation:ShapeStyle" xmi:id="_ePcnwUAiEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
249 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ePcnwkAiEemLn8qDUFXPRg" x="481" y="26" width="120" height="100"/>
250 </children>
251 <children xmi:type="notation:Node" xmi:id="_o4GhIEAlEemLn8qDUFXPRg" type="2003" element="_o39XMEAlEemLn8qDUFXPRg">
252 <children xmi:type="notation:Node" xmi:id="_o4HIMEAlEemLn8qDUFXPRg" type="5007"/>
253 <children xmi:type="notation:Node" xmi:id="_o4HIMUAlEemLn8qDUFXPRg" type="7004">
254 <children xmi:type="notation:Node" xmi:id="_fUbWAEAmEemLn8qDUFXPRg" type="3010" element="_fUKQQUAmEemLn8qDUFXPRg">
255 <styles xmi:type="notation:FontStyle" xmi:id="_fUbWAUAmEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
256 <layoutConstraint xmi:type="notation:Location" xmi:id="_fUbWAkAmEemLn8qDUFXPRg"/>
257 </children>
258 <styles xmi:type="notation:SortingStyle" xmi:id="_o4HIMkAlEemLn8qDUFXPRg"/>
259 <styles xmi:type="notation:FilteringStyle" xmi:id="_o4HIM0AlEemLn8qDUFXPRg"/>
260 </children>
261 <styles xmi:type="notation:ShapeStyle" xmi:id="_o4GhIUAlEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
262 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o4GhIkAlEemLn8qDUFXPRg" x="663" y="26" width="120" height="100"/>
263 </children>
264 <styles xmi:type="notation:DiagramStyle" xmi:id="_XduPkioZEemQnOUhg0mU1A"/>
265 <edges xmi:type="notation:Edge" xmi:id="_F_1fkCodEemQnOUhg0mU1A" type="4001" element="_F_tjwCodEemQnOUhg0mU1A" source="_D1vmkCodEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A">
266 <children xmi:type="notation:Node" xmi:id="_F_1flCodEemQnOUhg0mU1A" type="6001">
267 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1flSodEemQnOUhg0mU1A" y="-10"/>
268 </children>
269 <children xmi:type="notation:Node" xmi:id="_F_1fliodEemQnOUhg0mU1A" type="6002">
270 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1flyodEemQnOUhg0mU1A" y="10"/>
271 </children>
272 <children xmi:type="notation:Node" xmi:id="_F_1fmCodEemQnOUhg0mU1A" type="6003">
273 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F_1fmSodEemQnOUhg0mU1A" y="10"/>
274 </children>
275 <styles xmi:type="notation:ConnectorStyle" xmi:id="_F_1fkSodEemQnOUhg0mU1A" routing="Tree"/>
276 <styles xmi:type="notation:FontStyle" xmi:id="_F_1fkiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
277 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_F_1fkyodEemQnOUhg0mU1A" points="[0, 0, -58, 58]$[58, -58, 0, 0]"/>
278 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_F_1fmiodEemQnOUhg0mU1A" id="(0.45038167938931295,0.0)"/>
279 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_F_1fmyodEemQnOUhg0mU1A" id="(0.5,0.5)"/>
280 </edges>
281 <edges xmi:type="notation:Edge" xmi:id="_GWPNYCodEemQnOUhg0mU1A" type="4001" element="_GWJt1iodEemQnOUhg0mU1A" source="_C0IYkCodEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A">
282 <children xmi:type="notation:Node" xmi:id="_GWPNZCodEemQnOUhg0mU1A" type="6001">
283 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNZSodEemQnOUhg0mU1A" y="-10"/>
284 </children>
285 <children xmi:type="notation:Node" xmi:id="_GWPNZiodEemQnOUhg0mU1A" type="6002">
286 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNZyodEemQnOUhg0mU1A" y="10"/>
287 </children>
288 <children xmi:type="notation:Node" xmi:id="_GWPNaCodEemQnOUhg0mU1A" type="6003">
289 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GWPNaSodEemQnOUhg0mU1A" y="10"/>
290 </children>
291 <styles xmi:type="notation:ConnectorStyle" xmi:id="_GWPNYSodEemQnOUhg0mU1A" routing="Tree"/>
292 <styles xmi:type="notation:FontStyle" xmi:id="_GWPNYiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
293 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GWPNYyodEemQnOUhg0mU1A" points="[0, 0, 78, 58]$[-78, -58, 0, 0]"/>
294 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GWPNaiodEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/>
295 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GWPNayodEemQnOUhg0mU1A" id="(0.5,0.5)"/>
296 </edges>
297 <edges xmi:type="notation:Edge" xmi:id="_Wl22oCodEemQnOUhg0mU1A" type="4001" element="_Wlx-JiodEemQnOUhg0mU1A" source="_IejkxiodEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A">
298 <children xmi:type="notation:Node" xmi:id="_Wl22pCodEemQnOUhg0mU1A" type="6001">
299 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22pSodEemQnOUhg0mU1A" y="-10"/>
300 </children>
301 <children xmi:type="notation:Node" xmi:id="_Wl22piodEemQnOUhg0mU1A" type="6002">
302 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22pyodEemQnOUhg0mU1A" y="10"/>
303 </children>
304 <children xmi:type="notation:Node" xmi:id="_Wl22qCodEemQnOUhg0mU1A" type="6003">
305 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wl22qSodEemQnOUhg0mU1A" y="10"/>
306 </children>
307 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Wl22oSodEemQnOUhg0mU1A" routing="Tree"/>
308 <styles xmi:type="notation:FontStyle" xmi:id="_Wl22oiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
309 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wl22oyodEemQnOUhg0mU1A" points="[0, 0, -155, 58]$[155, -58, 0, 0]"/>
310 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wl3dsCodEemQnOUhg0mU1A" id="(0.5,0.0)"/>
311 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wl3dsSodEemQnOUhg0mU1A" id="(0.5,0.5)"/>
312 </edges>
313 <edges xmi:type="notation:Edge" xmi:id="_W6ebwCodEemQnOUhg0mU1A" type="4001" element="_W6Y8NiodEemQnOUhg0mU1A" source="_cTz0wCoZEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A">
314 <children xmi:type="notation:Node" xmi:id="_W6ebxCodEemQnOUhg0mU1A" type="6001">
315 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebxSodEemQnOUhg0mU1A" y="-10"/>
316 </children>
317 <children xmi:type="notation:Node" xmi:id="_W6ebxiodEemQnOUhg0mU1A" type="6002">
318 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebxyodEemQnOUhg0mU1A" y="10"/>
319 </children>
320 <children xmi:type="notation:Node" xmi:id="_W6ebyCodEemQnOUhg0mU1A" type="6003">
321 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ebySodEemQnOUhg0mU1A" y="10"/>
322 </children>
323 <styles xmi:type="notation:ConnectorStyle" xmi:id="_W6ebwSodEemQnOUhg0mU1A" routing="Tree"/>
324 <styles xmi:type="notation:FontStyle" xmi:id="_W6ebwiodEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
325 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W6ebwyodEemQnOUhg0mU1A" points="[0, 0, 117, 58]$[-117, -58, 0, 0]"/>
326 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W6ebyiodEemQnOUhg0mU1A" id="(0.5508474576271186,0.0)"/>
327 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W6ebyyodEemQnOUhg0mU1A" id="(0.5,0.5)"/>
328 </edges>
329 <edges xmi:type="notation:Edge" xmi:id="_lIdSgCofEemQnOUhg0mU1A" type="4001" element="_lIWk0CofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_IejkxiodEemQnOUhg0mU1A">
330 <children xmi:type="notation:Node" xmi:id="_lIdShCofEemQnOUhg0mU1A" type="6001">
331 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdShSofEemQnOUhg0mU1A" x="-49" y="-49"/>
332 </children>
333 <children xmi:type="notation:Node" xmi:id="_lIdShiofEemQnOUhg0mU1A" type="6002">
334 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdShyofEemQnOUhg0mU1A" x="96" y="-18"/>
335 </children>
336 <children xmi:type="notation:Node" xmi:id="_lIdSiCofEemQnOUhg0mU1A" type="6003">
337 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lIdSiSofEemQnOUhg0mU1A" y="10"/>
338 </children>
339 <styles xmi:type="notation:ConnectorStyle" xmi:id="_lIdSgSofEemQnOUhg0mU1A" routing="Rectilinear"/>
340 <styles xmi:type="notation:FontStyle" xmi:id="_lIdSgiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
341 <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]"/>
342 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lIdSiiofEemQnOUhg0mU1A" id="(0.5038167938931297,1.0)"/>
343 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lIdSiyofEemQnOUhg0mU1A" id="(0.6016949152542372,0.0)"/>
344 </edges>
345 <edges xmi:type="notation:Edge" xmi:id="_o7eRICofEemQnOUhg0mU1A" type="4001" element="_o7XjcCofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_cTz0wCoZEemQnOUhg0mU1A">
346 <children xmi:type="notation:Node" xmi:id="_o7eRJCofEemQnOUhg0mU1A" type="6001">
347 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRJSofEemQnOUhg0mU1A" x="-55" y="24"/>
348 </children>
349 <children xmi:type="notation:Node" xmi:id="_o7eRJiofEemQnOUhg0mU1A" type="6002">
350 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRJyofEemQnOUhg0mU1A" x="-26"/>
351 </children>
352 <children xmi:type="notation:Node" xmi:id="_o7eRKCofEemQnOUhg0mU1A" type="6003">
353 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_o7eRKSofEemQnOUhg0mU1A" x="3" y="10"/>
354 </children>
355 <styles xmi:type="notation:ConnectorStyle" xmi:id="_o7eRISofEemQnOUhg0mU1A" routing="Rectilinear"/>
356 <styles xmi:type="notation:FontStyle" xmi:id="_o7eRIiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
357 <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]"/>
358 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_o7e4MCofEemQnOUhg0mU1A" id="(0.6946564885496184,1.0)"/>
359 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_o7e4MSofEemQnOUhg0mU1A" id="(0.5,0.0)"/>
360 </edges>
361 <edges xmi:type="notation:Edge" xmi:id="_vO0egCofEemQnOUhg0mU1A" type="4001" element="_vOuX4CofEemQnOUhg0mU1A" source="_ZqDkQCoZEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A">
362 <children xmi:type="notation:Node" xmi:id="_vO1FkCofEemQnOUhg0mU1A" type="6001">
363 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FkSofEemQnOUhg0mU1A" x="16" y="-13"/>
364 </children>
365 <children xmi:type="notation:Node" xmi:id="_vO1FkiofEemQnOUhg0mU1A" type="6002">
366 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FkyofEemQnOUhg0mU1A" y="10"/>
367 </children>
368 <children xmi:type="notation:Node" xmi:id="_vO1FlCofEemQnOUhg0mU1A" type="6003">
369 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vO1FlSofEemQnOUhg0mU1A" y="10"/>
370 </children>
371 <styles xmi:type="notation:ConnectorStyle" xmi:id="_vO0egSofEemQnOUhg0mU1A" routing="Rectilinear"/>
372 <styles xmi:type="notation:FontStyle" xmi:id="_vO0egiofEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
373 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_vO0egyofEemQnOUhg0mU1A" points="[0, 0, 0, -71]$[0, 71, 0, 0]"/>
374 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vO1FliofEemQnOUhg0mU1A" id="(0.5038167938931297,1.0)"/>
375 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vO1FlyofEemQnOUhg0mU1A" id="(0.5,0.0)"/>
376 </edges>
377 <edges xmi:type="notation:Edge" xmi:id="_oV3NMCogEemQnOUhg0mU1A" type="4001" element="_6qFn9iofEemQnOUhg0mU1A" source="_C0IYkCodEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A">
378 <children xmi:type="notation:Node" xmi:id="_oV30QCogEemQnOUhg0mU1A" type="6001">
379 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV30QSogEemQnOUhg0mU1A" x="56" y="-36"/>
380 </children>
381 <children xmi:type="notation:Node" xmi:id="_oV30QiogEemQnOUhg0mU1A" type="6002">
382 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV30QyogEemQnOUhg0mU1A" x="6" y="10"/>
383 </children>
384 <children xmi:type="notation:Node" xmi:id="_oV4bUCogEemQnOUhg0mU1A" type="6003">
385 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_oV4bUSogEemQnOUhg0mU1A" x="-7" y="10"/>
386 </children>
387 <styles xmi:type="notation:ConnectorStyle" xmi:id="_oV3NMSogEemQnOUhg0mU1A" routing="Rectilinear"/>
388 <styles xmi:type="notation:FontStyle" xmi:id="_oV3NMiogEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
389 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_oV3NMyogEemQnOUhg0mU1A" points="[1, -18, 189, 261]$[1, -252, 189, 27]$[-159, -252, 29, 27]"/>
390 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_oV9T0CogEemQnOUhg0mU1A" id="(0.65,0.19)"/>
391 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_oV9T0SogEemQnOUhg0mU1A" id="(0.7583333333333333,0.53)"/>
392 </edges>
393 <edges xmi:type="notation:Edge" xmi:id="_HmYicCokEemQnOUhg0mU1A" type="4001" element="_HmJR-CokEemQnOUhg0mU1A" source="_CL1lUCokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A">
394 <children xmi:type="notation:Node" xmi:id="_HmYidCokEemQnOUhg0mU1A" type="6001">
395 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmYidSokEemQnOUhg0mU1A" y="-10"/>
396 </children>
397 <children xmi:type="notation:Node" xmi:id="_HmYidiokEemQnOUhg0mU1A" type="6002">
398 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmYidyokEemQnOUhg0mU1A" y="10"/>
399 </children>
400 <children xmi:type="notation:Node" xmi:id="_HmZJgCokEemQnOUhg0mU1A" type="6003">
401 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HmZJgSokEemQnOUhg0mU1A" y="10"/>
402 </children>
403 <styles xmi:type="notation:ConnectorStyle" xmi:id="_HmYicSokEemQnOUhg0mU1A" routing="Tree"/>
404 <styles xmi:type="notation:FontStyle" xmi:id="_HmYiciokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
405 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_HmYicyokEemQnOUhg0mU1A" points="[0, 0, -156, 71]$[156, -71, 0, 0]"/>
406 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HmZJgiokEemQnOUhg0mU1A" id="(0.6610169491525424,0.0)"/>
407 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HmZJgyokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
408 </edges>
409 <edges xmi:type="notation:Edge" xmi:id="_H9jFQCokEemQnOUhg0mU1A" type="4001" element="_H9bJfCokEemQnOUhg0mU1A" source="_DnK64CokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A">
410 <children xmi:type="notation:Node" xmi:id="_H9jsUCokEemQnOUhg0mU1A" type="6001">
411 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9jsUSokEemQnOUhg0mU1A" y="-10"/>
412 </children>
413 <children xmi:type="notation:Node" xmi:id="_H9jsUiokEemQnOUhg0mU1A" type="6002">
414 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9jsUyokEemQnOUhg0mU1A" y="10"/>
415 </children>
416 <children xmi:type="notation:Node" xmi:id="_H9kTYCokEemQnOUhg0mU1A" type="6003">
417 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9kTYSokEemQnOUhg0mU1A" y="10"/>
418 </children>
419 <styles xmi:type="notation:ConnectorStyle" xmi:id="_H9jFQSokEemQnOUhg0mU1A" routing="Tree"/>
420 <styles xmi:type="notation:FontStyle" xmi:id="_H9jFQiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
421 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_H9jFQyokEemQnOUhg0mU1A" points="[0, 0, 0, 71]$[0, -71, 0, 0]"/>
422 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H9kTYiokEemQnOUhg0mU1A" id="(0.36666666666666664,0.07)"/>
423 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H9kTYyokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
424 </edges>
425 <edges xmi:type="notation:Edge" xmi:id="_Ic23cCokEemQnOUhg0mU1A" type="4001" element="_IctGjiokEemQnOUhg0mU1A" source="_FjmyYCokEemQnOUhg0mU1A" target="_C0IYkCodEemQnOUhg0mU1A">
426 <children xmi:type="notation:Node" xmi:id="_Ic3egCokEemQnOUhg0mU1A" type="6001">
427 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3egSokEemQnOUhg0mU1A" y="-10"/>
428 </children>
429 <children xmi:type="notation:Node" xmi:id="_Ic3egiokEemQnOUhg0mU1A" type="6002">
430 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3egyokEemQnOUhg0mU1A" y="10"/>
431 </children>
432 <children xmi:type="notation:Node" xmi:id="_Ic3ehCokEemQnOUhg0mU1A" type="6003">
433 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ic3ehSokEemQnOUhg0mU1A" y="10"/>
434 </children>
435 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ic23cSokEemQnOUhg0mU1A" routing="Tree"/>
436 <styles xmi:type="notation:FontStyle" xmi:id="_Ic23ciokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
437 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ic23cyokEemQnOUhg0mU1A" points="[0, 0, 129, 143]$[-129, -143, 0, 0]"/>
438 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ic3ehiokEemQnOUhg0mU1A" id="(0.6946564885496184,0.0)"/>
439 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ic3ehyokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
440 </edges>
441 <edges xmi:type="notation:Edge" xmi:id="_N72LgCorEemQnOUhg0mU1A" type="4001" element="_N7tBliorEemQnOUhg0mU1A" source="_D1vmkCodEemQnOUhg0mU1A" target="_UtkzcCoqEemQnOUhg0mU1A">
442 <children xmi:type="notation:Node" xmi:id="_N72LhCorEemQnOUhg0mU1A" type="6001">
443 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LhSorEemQnOUhg0mU1A" y="-10"/>
444 </children>
445 <children xmi:type="notation:Node" xmi:id="_N72LhiorEemQnOUhg0mU1A" type="6002">
446 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LhyorEemQnOUhg0mU1A" y="10"/>
447 </children>
448 <children xmi:type="notation:Node" xmi:id="_N72LiCorEemQnOUhg0mU1A" type="6003">
449 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N72LiSorEemQnOUhg0mU1A" y="10"/>
450 </children>
451 <styles xmi:type="notation:ConnectorStyle" xmi:id="_N72LgSorEemQnOUhg0mU1A" routing="Rectilinear"/>
452 <styles xmi:type="notation:FontStyle" xmi:id="_N72LgiorEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
453 <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]"/>
454 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N72LiiorEemQnOUhg0mU1A" id="(0.3053435114503817,1.0)"/>
455 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N72LiyorEemQnOUhg0mU1A" id="(0.5,0.0)"/>
456 </edges>
457 <edges xmi:type="notation:Edge" xmi:id="_dgch0CorEemQnOUhg0mU1A" type="4001" element="_dgSJ2CorEemQnOUhg0mU1A" source="_WnAk0CorEemQnOUhg0mU1A" target="_bLbyQCorEemQnOUhg0mU1A">
458 <children xmi:type="notation:Node" xmi:id="_dgch1CorEemQnOUhg0mU1A" type="6001">
459 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch1SorEemQnOUhg0mU1A" x="3" y="49"/>
460 </children>
461 <children xmi:type="notation:Node" xmi:id="_dgch1iorEemQnOUhg0mU1A" type="6002">
462 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch1yorEemQnOUhg0mU1A" x="-11" y="10"/>
463 </children>
464 <children xmi:type="notation:Node" xmi:id="_dgch2CorEemQnOUhg0mU1A" type="6003">
465 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dgch2SorEemQnOUhg0mU1A" x="-30" y="10"/>
466 </children>
467 <styles xmi:type="notation:ConnectorStyle" xmi:id="_dgch0SorEemQnOUhg0mU1A" routing="Rectilinear"/>
468 <styles xmi:type="notation:FontStyle" xmi:id="_dgch0iorEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
469 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dgch0yorEemQnOUhg0mU1A" points="[39, 0, 39, -71]$[39, 71, 39, 0]"/>
470 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dgdI4CorEemQnOUhg0mU1A" id="(0.2708333333333333,1.0)"/>
471 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dgdI4SorEemQnOUhg0mU1A" id="(0.27083333333333337,0.0)"/>
472 </edges>
473 <edges xmi:type="notation:Edge" xmi:id="_Ek3YkCosEemQnOUhg0mU1A" type="4001" element="_EktnnCosEemQnOUhg0mU1A" source="_WnAk0CorEemQnOUhg0mU1A" target="_nyhOkCorEemQnOUhg0mU1A">
474 <children xmi:type="notation:Node" xmi:id="_Ek3YlCosEemQnOUhg0mU1A" type="6001">
475 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YlSosEemQnOUhg0mU1A" x="-42" y="18"/>
476 </children>
477 <children xmi:type="notation:Node" xmi:id="_Ek3YliosEemQnOUhg0mU1A" type="6002">
478 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YlyosEemQnOUhg0mU1A" x="20" y="-69"/>
479 </children>
480 <children xmi:type="notation:Node" xmi:id="_Ek3YmCosEemQnOUhg0mU1A" type="6003">
481 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ek3YmSosEemQnOUhg0mU1A" x="-6" y="10"/>
482 </children>
483 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ek3YkSosEemQnOUhg0mU1A" routing="Rectilinear"/>
484 <styles xmi:type="notation:FontStyle" xmi:id="_Ek3YkiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
485 <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]"/>
486 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ek3YmiosEemQnOUhg0mU1A" id="(1.0,0.3979591836734694)"/>
487 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ek3YmyosEemQnOUhg0mU1A" id="(0.8813559322033898,0.0)"/>
488 </edges>
489 <edges xmi:type="notation:Edge" xmi:id="_Ky7dUCosEemQnOUhg0mU1A" type="4001" element="_KyxFRiosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_ZqDkQCoZEemQnOUhg0mU1A">
490 <children xmi:type="notation:Node" xmi:id="_Ky8EYCosEemQnOUhg0mU1A" type="6001">
491 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EYSosEemQnOUhg0mU1A" x="-2" y="15"/>
492 </children>
493 <children xmi:type="notation:Node" xmi:id="_Ky8EYiosEemQnOUhg0mU1A" type="6002">
494 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EYyosEemQnOUhg0mU1A" y="10"/>
495 </children>
496 <children xmi:type="notation:Node" xmi:id="_Ky8EZCosEemQnOUhg0mU1A" type="6003">
497 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ky8EZSosEemQnOUhg0mU1A" y="10"/>
498 </children>
499 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ky7dUSosEemQnOUhg0mU1A" routing="Rectilinear"/>
500 <styles xmi:type="notation:FontStyle" xmi:id="_Ky7dUiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
501 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ky7dUyosEemQnOUhg0mU1A" points="[0, 0, 558, 0]$[-558, 0, 0, 0]"/>
502 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ky8EZiosEemQnOUhg0mU1A" id="(0.0902777777777778,0.4897959183673469)"/>
503 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ky8EZyosEemQnOUhg0mU1A" id="(1.0,0.4897959183673469)"/>
504 </edges>
505 <edges xmi:type="notation:Edge" xmi:id="_QheUgCosEemQnOUhg0mU1A" type="4001" element="_QhSuYiosEemQnOUhg0mU1A" source="_nyhOkCorEemQnOUhg0mU1A" target="_QEEkoCodEemQnOUhg0mU1A">
506 <children xmi:type="notation:Node" xmi:id="_QheUhCosEemQnOUhg0mU1A" type="6001">
507 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUhSosEemQnOUhg0mU1A" y="10"/>
508 </children>
509 <children xmi:type="notation:Node" xmi:id="_QheUhiosEemQnOUhg0mU1A" type="6002">
510 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUhyosEemQnOUhg0mU1A" x="2" y="10"/>
511 </children>
512 <children xmi:type="notation:Node" xmi:id="_QheUiCosEemQnOUhg0mU1A" type="6003">
513 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QheUiSosEemQnOUhg0mU1A" x="-2" y="10"/>
514 </children>
515 <styles xmi:type="notation:ConnectorStyle" xmi:id="_QheUgSosEemQnOUhg0mU1A" routing="Rectilinear"/>
516 <styles xmi:type="notation:FontStyle" xmi:id="_QheUgiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
517 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QheUgyosEemQnOUhg0mU1A" points="[0, 13, 655, 26]$[-655, 13, 0, 26]"/>
518 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QheUiiosEemQnOUhg0mU1A" id="(0.0,0.2653061224489796)"/>
519 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QheUiyosEemQnOUhg0mU1A" id="(1.0,0.1326530612244898)"/>
520 </edges>
521 <edges xmi:type="notation:Edge" xmi:id="_UXEGACosEemQnOUhg0mU1A" type="4001" element="_UW5t9iosEemQnOUhg0mU1A" source="_mUP5wCorEemQnOUhg0mU1A" target="_IejkxiodEemQnOUhg0mU1A">
522 <children xmi:type="notation:Node" xmi:id="_UXEGBCosEemQnOUhg0mU1A" type="6001">
523 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGBSosEemQnOUhg0mU1A" x="-117" y="6"/>
524 </children>
525 <children xmi:type="notation:Node" xmi:id="_UXEGBiosEemQnOUhg0mU1A" type="6002">
526 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGByosEemQnOUhg0mU1A" x="6" y="-10"/>
527 </children>
528 <children xmi:type="notation:Node" xmi:id="_UXEGCCosEemQnOUhg0mU1A" type="6003">
529 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UXEGCSosEemQnOUhg0mU1A" x="-65" y="10"/>
530 </children>
531 <styles xmi:type="notation:ConnectorStyle" xmi:id="_UXEGASosEemQnOUhg0mU1A" routing="Rectilinear"/>
532 <styles xmi:type="notation:FontStyle" xmi:id="_UXEGAiosEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
533 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UXEGAyosEemQnOUhg0mU1A" points="[0, -26, 613, -26]$[-614, -26, -1, -26]$[-614, 0, -1, 0]"/>
534 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UXEtECosEemQnOUhg0mU1A" id="(0.0,0.6632653061224489)"/>
535 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UXEtESosEemQnOUhg0mU1A" id="(0.8083333333333333,0.0)"/>
536 </edges>
537 <edges xmi:type="notation:Edge" xmi:id="_eylpsCosEemQnOUhg0mU1A" type="4001" element="_eyVLBiosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_mUP5wCorEemQnOUhg0mU1A">
538 <children xmi:type="notation:Node" xmi:id="_eylptCosEemQnOUhg0mU1A" type="6001">
539 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eylptSosEemQnOUhg0mU1A" x="-37" y="35"/>
540 </children>
541 <children xmi:type="notation:Node" xmi:id="_eymQwCosEemQnOUhg0mU1A" type="6002">
542 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eymQwSosEemQnOUhg0mU1A" x="-7" y="51"/>
543 </children>
544 <children xmi:type="notation:Node" xmi:id="_eymQwiosEemQnOUhg0mU1A" type="6003">
545 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eymQwyosEemQnOUhg0mU1A" x="15" y="37"/>
546 </children>
547 <styles xmi:type="notation:ConnectorStyle" xmi:id="_eylpsSosEemQnOUhg0mU1A" routing="Rectilinear"/>
548 <styles xmi:type="notation:FontStyle" xmi:id="_eylpsiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
549 <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]"/>
550 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_eymQxCosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
551 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_eymQxSosEemQnOUhg0mU1A" id="(0.9583333333333334,0.76)"/>
552 </edges>
553 <edges xmi:type="notation:Edge" xmi:id="_uHKnACosEemQnOUhg0mU1A" type="4001" element="_uHA2EiosEemQnOUhg0mU1A" source="_mUP5wCorEemQnOUhg0mU1A" target="_Z4VWMCosEemQnOUhg0mU1A">
554 <children xmi:type="notation:Node" xmi:id="_uHKnBCosEemQnOUhg0mU1A" type="6001">
555 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHKnBSosEemQnOUhg0mU1A" x="-3" y="-10"/>
556 </children>
557 <children xmi:type="notation:Node" xmi:id="_uHLOECosEemQnOUhg0mU1A" type="6002">
558 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHLOESosEemQnOUhg0mU1A" x="5" y="-33"/>
559 </children>
560 <children xmi:type="notation:Node" xmi:id="_uHLOEiosEemQnOUhg0mU1A" type="6003">
561 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uHLOEyosEemQnOUhg0mU1A" x="-2" y="-69"/>
562 </children>
563 <styles xmi:type="notation:ConnectorStyle" xmi:id="_uHKnASosEemQnOUhg0mU1A" routing="Rectilinear"/>
564 <styles xmi:type="notation:FontStyle" xmi:id="_uHKnAiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
565 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uHKnAyosEemQnOUhg0mU1A" points="[0, 49, 0, -113]$[0, 113, 0, -49]"/>
566 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uHLOFCosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
567 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uHLOFSosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
568 </edges>
569 <edges xmi:type="notation:Edge" xmi:id="_ykSSkCosEemQnOUhg0mU1A" type="4001" element="_ykJIrCosEemQnOUhg0mU1A" source="_nyhOkCorEemQnOUhg0mU1A" target="_Z4VWMCosEemQnOUhg0mU1A">
570 <children xmi:type="notation:Node" xmi:id="_ykSSlCosEemQnOUhg0mU1A" type="6001">
571 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSlSosEemQnOUhg0mU1A" x="-89" y="-10"/>
572 </children>
573 <children xmi:type="notation:Node" xmi:id="_ykSSliosEemQnOUhg0mU1A" type="6002">
574 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSlyosEemQnOUhg0mU1A" x="-36" y="-36"/>
575 </children>
576 <children xmi:type="notation:Node" xmi:id="_ykSSmCosEemQnOUhg0mU1A" type="6003">
577 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykSSmSosEemQnOUhg0mU1A" x="-26" y="-10"/>
578 </children>
579 <styles xmi:type="notation:ConnectorStyle" xmi:id="_ykSSkSosEemQnOUhg0mU1A" routing="Rectilinear"/>
580 <styles xmi:type="notation:FontStyle" xmi:id="_ykSSkiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
581 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ykSSkyosEemQnOUhg0mU1A" points="[-1, 49, 181, -204]$[-1, 253, 181, 0]$[-123, 253, 59, 0]"/>
582 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykSSmiosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
583 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykSSmyosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
584 </edges>
585 <edges xmi:type="notation:Edge" xmi:id="_6ZWxYCosEemQnOUhg0mU1A" type="4001" element="_6ZNAkCosEemQnOUhg0mU1A" source="_bLbyQCorEemQnOUhg0mU1A" target="_nyhOkCorEemQnOUhg0mU1A">
586 <children xmi:type="notation:Node" xmi:id="_6ZXYcCosEemQnOUhg0mU1A" type="6001">
587 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYcSosEemQnOUhg0mU1A" y="-10"/>
588 </children>
589 <children xmi:type="notation:Node" xmi:id="_6ZXYciosEemQnOUhg0mU1A" type="6002">
590 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYcyosEemQnOUhg0mU1A" x="15" y="-1"/>
591 </children>
592 <children xmi:type="notation:Node" xmi:id="_6ZXYdCosEemQnOUhg0mU1A" type="6003">
593 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ZXYdSosEemQnOUhg0mU1A" x="-8" y="5"/>
594 </children>
595 <styles xmi:type="notation:ConnectorStyle" xmi:id="_6ZWxYSosEemQnOUhg0mU1A" routing="Rectilinear"/>
596 <styles xmi:type="notation:FontStyle" xmi:id="_6ZWxYiosEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
597 <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]"/>
598 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6ZXYdiosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
599 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6ZXYdyosEemQnOUhg0mU1A" id="(0.5,0.5)"/>
600 </edges>
601 <edges xmi:type="notation:Edge" xmi:id="_hntnQEAmEemLn8qDUFXPRg" type="4001" element="_hniBOkAmEemLn8qDUFXPRg" source="_bLbyQCorEemQnOUhg0mU1A" target="_o4GhIEAlEemLn8qDUFXPRg">
602 <children xmi:type="notation:Node" xmi:id="_hnu1YEAmEemLn8qDUFXPRg" type="6001">
603 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hnu1YUAmEemLn8qDUFXPRg" y="-10"/>
604 </children>
605 <children xmi:type="notation:Node" xmi:id="_hnvccEAmEemLn8qDUFXPRg" type="6002">
606 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hnvccUAmEemLn8qDUFXPRg" y="10"/>
607 </children>
608 <children xmi:type="notation:Node" xmi:id="_hnvcckAmEemLn8qDUFXPRg" type="6003">
609 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hnvcc0AmEemLn8qDUFXPRg" y="10"/>
610 </children>
611 <styles xmi:type="notation:ConnectorStyle" xmi:id="_hntnQUAmEemLn8qDUFXPRg" routing="Tree"/>
612 <styles xmi:type="notation:FontStyle" xmi:id="_hntnQkAmEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
613 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hntnQ0AmEemLn8qDUFXPRg" points="[0, 0, 129, 156]$[-129, -156, 0, 0]"/>
614 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hnwDgEAmEemLn8qDUFXPRg" id="(0.2708333333333333,0.0)"/>
615 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hnwDgUAmEemLn8qDUFXPRg" id="(0.5,0.5)"/>
616 </edges>
617 <edges xmi:type="notation:Edge" xmi:id="_jweDgEAmEemLn8qDUFXPRg" type="4001" element="_jwVguEAmEemLn8qDUFXPRg" source="_Z4VWMCosEemQnOUhg0mU1A" target="_o4GhIEAlEemLn8qDUFXPRg">
618 <children xmi:type="notation:Node" xmi:id="_jweqkEAmEemLn8qDUFXPRg" type="6001">
619 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jweqkUAmEemLn8qDUFXPRg" y="-10"/>
620 </children>
621 <children xmi:type="notation:Node" xmi:id="_jweqkkAmEemLn8qDUFXPRg" type="6002">
622 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jweqk0AmEemLn8qDUFXPRg" y="10"/>
623 </children>
624 <children xmi:type="notation:Node" xmi:id="_jweqlEAmEemLn8qDUFXPRg" type="6003">
625 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jweqlUAmEemLn8qDUFXPRg" y="10"/>
626 </children>
627 <styles xmi:type="notation:ConnectorStyle" xmi:id="_jweDgUAmEemLn8qDUFXPRg" routing="Tree"/>
628 <styles xmi:type="notation:FontStyle" xmi:id="_jweDgkAmEemLn8qDUFXPRg" fontName="Cantarell" fontHeight="8"/>
629 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_jweDg0AmEemLn8qDUFXPRg" points="[0, 0, 78, 493]$[-78, -493, 0, 0]"/>
630 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_jweqlkAmEemLn8qDUFXPRg" id="(0.22033898305084745,0.0)"/>
631 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_jweql0AmEemLn8qDUFXPRg" id="(0.5,0.5)"/>
632 </edges>
633 </data>
634 </ownedAnnotationEntries>
635 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Zp_54CoZEemQnOUhg0mU1A" name="ComponentDefinition" tooltipText="" outgoingEdges="_lIWk0CofEemQnOUhg0mU1A _o7XjcCofEemQnOUhg0mU1A _vOuX4CofEemQnOUhg0mU1A" incomingEdges="_KyxFRiosEemQnOUhg0mU1A" width="12" height="10">
636 <target xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentDefinition"/>
637 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentDefinition"/>
638 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
639 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
640 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
641 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="__cBF4SofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
642 <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"/>
643 </ownedStyle>
644 <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']"/>
645 <ownedElements xmi:type="diagram:DNodeListElement" uid="__EiaACofEemQnOUhg0mU1A" name="name : EString" tooltipText="">
646 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//ComponentDefinition/name"/>
647 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//ComponentDefinition/name"/>
648 <ownedStyle xmi:type="diagram:BundledImage" uid="__cCUBSofEemQnOUhg0mU1A" labelAlignment="LEFT">
649 <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"/>
650 </ownedStyle>
651 <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']"/>
652 </ownedElements>
653 </ownedDiagramElements>
654 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_cTwxcCoZEemQnOUhg0mU1A" name="EventDefinition" tooltipText="" outgoingEdges="_W6Y8NiodEemQnOUhg0mU1A" incomingEdges="_F_tjwCodEemQnOUhg0mU1A _GWJt1iodEemQnOUhg0mU1A _o7XjcCofEemQnOUhg0mU1A" width="12" height="10">
655 <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/>
656 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/>
657 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
658 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
659 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
660 <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">
661 <labelFormat>italic</labelFormat>
662 <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"/>
663 </ownedStyle>
664 <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']"/>
665 </ownedDiagramElements>
666 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C0DgECodEemQnOUhg0mU1A" name="GateDefinition" tooltipText="" outgoingEdges="_GWJt1iodEemQnOUhg0mU1A _6qFn9iofEemQnOUhg0mU1A" incomingEdges="_HmJR-CokEemQnOUhg0mU1A _H9bJfCokEemQnOUhg0mU1A _IctGjiokEemQnOUhg0mU1A" width="12" height="10">
667 <target xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/>
668 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/>
669 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
670 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
671 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
672 <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">
673 <labelFormat>italic</labelFormat>
674 <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"/>
675 </ownedStyle>
676 <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']"/>
677 </ownedDiagramElements>
678 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_D1quECodEemQnOUhg0mU1A" name="BasicEventDefinition" tooltipText="" outgoingEdges="_F_tjwCodEemQnOUhg0mU1A _N7tBliorEemQnOUhg0mU1A" width="12" height="10">
679 <target xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/>
680 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/>
681 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
682 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
683 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
684 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_2kmZRCofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
685 <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"/>
686 </ownedStyle>
687 <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']"/>
688 </ownedDiagramElements>
689 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_F_tjwCodEemQnOUhg0mU1A" sourceNode="_D1quECodEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A">
690 <target xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/>
691 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//BasicEventDefinition"/>
692 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_2krRxiofEemQnOUhg0mU1A" 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="_2krRxyofEemQnOUhg0mU1A" showIcon="false">
695 <labelFormat>italic</labelFormat>
696 </beginLabelStyle>
697 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_2krRyCofEemQnOUhg0mU1A" 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="_GWJt1iodEemQnOUhg0mU1A" sourceNode="_C0DgECodEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A">
702 <target xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/>
703 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//GateDefinition"/>
704 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_GWKU4CodEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
705 <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"/>
706 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_GWKU4SodEemQnOUhg0mU1A" showIcon="false">
707 <labelFormat>italic</labelFormat>
708 </beginLabelStyle>
709 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_GWKU4iodEemQnOUhg0mU1A" showIcon="false"/>
710 </ownedStyle>
711 <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']"/>
712 </ownedDiagramElements>
713 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Iec3ECodEemQnOUhg0mU1A" name="InputEvent" tooltipText="" outgoingEdges="_Wlx-JiodEemQnOUhg0mU1A" incomingEdges="_lIWk0CofEemQnOUhg0mU1A _UW5t9iosEemQnOUhg0mU1A" width="12" height="10">
714 <target xmi:type="ecore:EClass" href="model/cft.ecore#//InputEvent"/>
715 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//InputEvent"/>
716 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
717 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
718 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
719 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_0uB5MyofEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
720 <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"/>
721 </ownedStyle>
722 <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']"/>
723 <ownedElements xmi:type="diagram:DNodeListElement" uid="_0AT3kCofEemQnOUhg0mU1A" name="multiple : EBoolean = false" tooltipText="">
724 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//InputEvent/multiple"/>
725 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//InputEvent/multiple"/>
726 <ownedStyle xmi:type="diagram:BundledImage" uid="_0uDHUSofEemQnOUhg0mU1A" labelAlignment="LEFT">
727 <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"/>
728 </ownedStyle>
729 <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']"/>
730 </ownedElements>
731 </ownedDiagramElements>
732 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_QD_FECodEemQnOUhg0mU1A" name="EventDeclaration" tooltipText="" incomingEdges="_Wlx-JiodEemQnOUhg0mU1A _W6Y8NiodEemQnOUhg0mU1A _vOuX4CofEemQnOUhg0mU1A _6qFn9iofEemQnOUhg0mU1A _QhSuYiosEemQnOUhg0mU1A" width="12" height="10">
733 <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDeclaration"/>
734 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDeclaration"/>
735 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
736 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
737 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
738 <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">
739 <labelFormat>italic</labelFormat>
740 <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"/>
741 </ownedStyle>
742 <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']"/>
743 <ownedElements xmi:type="diagram:DNodeListElement" uid="_n8pTkCouEemQnOUhg0mU1A" name="name : EString" tooltipText="">
744 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//EventDeclaration/name"/>
745 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//EventDeclaration/name"/>
746 <ownedStyle xmi:type="diagram:BundledImage" uid="_oZCUoiouEemQnOUhg0mU1A" labelAlignment="LEFT">
747 <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"/>
748 </ownedStyle>
749 <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']"/>
750 </ownedElements>
751 </ownedDiagramElements>
752 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Wlx-JiodEemQnOUhg0mU1A" sourceNode="_Iec3ECodEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A">
753 <target xmi:type="ecore:EClass" href="model/cft.ecore#//InputEvent"/>
754 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//InputEvent"/>
755 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_0uFjnCofEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
756 <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"/>
757 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_0uFjnSofEemQnOUhg0mU1A" showIcon="false">
758 <labelFormat>italic</labelFormat>
759 </beginLabelStyle>
760 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_0uFjniofEemQnOUhg0mU1A" showIcon="false"/>
761 </ownedStyle>
762 <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']"/>
763 </ownedDiagramElements>
764 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_W6Y8NiodEemQnOUhg0mU1A" sourceNode="_cTwxcCoZEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A">
765 <target xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/>
766 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//EventDefinition"/>
767 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_W6Y8NyodEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
768 <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"/>
769 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_W6Y8OCodEemQnOUhg0mU1A" showIcon="false">
770 <labelFormat>italic</labelFormat>
771 </beginLabelStyle>
772 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_W6Y8OSodEemQnOUhg0mU1A" showIcon="false"/>
773 </ownedStyle>
774 <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']"/>
775 </ownedDiagramElements>
776 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_lIWk0CofEemQnOUhg0mU1A" name="[0..*] inputEvents" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_Iec3ECodEemQnOUhg0mU1A">
777 <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/inputEvents"/>
778 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/inputEvents"/>
779 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_lIXL4yofEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
780 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_lIXL5SofEemQnOUhg0mU1A" showIcon="false">
781 <customFeatures>labelSize</customFeatures>
782 </centerLabelStyle>
783 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_lIXL5CofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114">
784 <customFeatures>labelSize</customFeatures>
785 </endLabelStyle>
786 </ownedStyle>
787 <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']"/>
788 </ownedDiagramElements>
789 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_o7XjcCofEemQnOUhg0mU1A" name="[0..*] eventDefinitions" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_cTwxcCoZEemQnOUhg0mU1A">
790 <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/eventDefinitions"/>
791 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/eventDefinitions"/>
792 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_o7YKgCofEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
793 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_o7YKgiofEemQnOUhg0mU1A" showIcon="false">
794 <customFeatures>labelSize</customFeatures>
795 </centerLabelStyle>
796 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_o7YKgSofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114">
797 <customFeatures>labelSize</customFeatures>
798 </endLabelStyle>
799 </ownedStyle>
800 <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']"/>
801 </ownedDiagramElements>
802 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_vOuX4CofEemQnOUhg0mU1A" name="[0..*] outputEvents" sourceNode="_Zp_54CoZEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A">
803 <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/outputEvents"/>
804 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentDefinition/outputEvents"/>
805 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_vOuX4SofEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
806 <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"/>
807 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_vOuX4yofEemQnOUhg0mU1A" showIcon="false">
808 <customFeatures>labelSize</customFeatures>
809 </centerLabelStyle>
810 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_vOuX4iofEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114">
811 <customFeatures>labelSize</customFeatures>
812 </endLabelStyle>
813 </ownedStyle>
814 <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']"/>
815 </ownedDiagramElements>
816 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_6qFn9iofEemQnOUhg0mU1A" name="[0..*] inputEvents" sourceNode="_C0DgECodEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A">
817 <target xmi:type="ecore:EReference" href="model/cft.ecore#//GateDefinition/inputEvents"/>
818 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//GateDefinition/inputEvents"/>
819 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_QqzsMiorEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
820 <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"/>
821 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_QqzsNCorEemQnOUhg0mU1A" showIcon="false"/>
822 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_QqzsMyorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
823 </ownedStyle>
824 <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']"/>
825 </ownedDiagramElements>
826 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_CLrNQCokEemQnOUhg0mU1A" name="AndGateDefinition" tooltipText="" outgoingEdges="_HmJR-CokEemQnOUhg0mU1A" width="12" height="10">
827 <target xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/>
828 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/>
829 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
830 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
831 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
832 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_CLr0UCokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
833 <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"/>
834 </ownedStyle>
835 <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']"/>
836 </ownedDiagramElements>
837 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_DnAi0CokEemQnOUhg0mU1A" name="OrGateDefinition" tooltipText="" outgoingEdges="_H9bJfCokEemQnOUhg0mU1A" width="12" height="10">
838 <target xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/>
839 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/>
840 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
841 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
842 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
843 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_DnAi0SokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
844 <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"/>
845 </ownedStyle>
846 <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']"/>
847 </ownedDiagramElements>
848 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_FjbzQCokEemQnOUhg0mU1A" name="KOfMGateDefinition" tooltipText="" outgoingEdges="_IctGjiokEemQnOUhg0mU1A" width="12" height="10">
849 <target xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/>
850 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/>
851 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
852 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
853 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
854 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_T8ZYwSorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
855 <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"/>
856 </ownedStyle>
857 <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']"/>
858 <ownedElements xmi:type="diagram:DNodeListElement" uid="_St8BgCorEemQnOUhg0mU1A" name="k : EInt" tooltipText="">
859 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/k"/>
860 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/k"/>
861 <ownedStyle xmi:type="diagram:BundledImage" uid="_TFT_tSorEemQnOUhg0mU1A" labelAlignment="LEFT">
862 <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"/>
863 </ownedStyle>
864 <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']"/>
865 </ownedElements>
866 <ownedElements xmi:type="diagram:DNodeListElement" uid="_TnPBACorEemQnOUhg0mU1A" name="m : EInt" tooltipText="">
867 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/m"/>
868 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//KOfMGateDefinition/m"/>
869 <ownedStyle xmi:type="diagram:BundledImage" uid="_T8am0iorEemQnOUhg0mU1A" labelAlignment="LEFT">
870 <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"/>
871 </ownedStyle>
872 <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']"/>
873 </ownedElements>
874 </ownedDiagramElements>
875 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_HmJR-CokEemQnOUhg0mU1A" sourceNode="_CLrNQCokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A">
876 <target xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/>
877 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//AndGateDefinition"/>
878 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_HmJ48CokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
879 <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"/>
880 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_HmJ48SokEemQnOUhg0mU1A" showIcon="false">
881 <labelFormat>italic</labelFormat>
882 </beginLabelStyle>
883 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_HmJ48iokEemQnOUhg0mU1A" showIcon="false"/>
884 </ownedStyle>
885 <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']"/>
886 </ownedDiagramElements>
887 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_H9bJfCokEemQnOUhg0mU1A" sourceNode="_DnAi0CokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A">
888 <target xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/>
889 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//OrGateDefinition"/>
890 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_H9bJfSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
891 <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"/>
892 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_H9bJfiokEemQnOUhg0mU1A" showIcon="false">
893 <labelFormat>italic</labelFormat>
894 </beginLabelStyle>
895 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_H9bJfyokEemQnOUhg0mU1A" showIcon="false"/>
896 </ownedStyle>
897 <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']"/>
898 </ownedDiagramElements>
899 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_IctGjiokEemQnOUhg0mU1A" sourceNode="_FjbzQCokEemQnOUhg0mU1A" targetNode="_C0DgECodEemQnOUhg0mU1A">
900 <target xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/>
901 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//KOfMGateDefinition"/>
902 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_T8b1DiorEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
903 <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"/>
904 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_T8b1DyorEemQnOUhg0mU1A" showIcon="false">
905 <labelFormat>italic</labelFormat>
906 </beginLabelStyle>
907 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_T8b1ECorEemQnOUhg0mU1A" showIcon="false"/>
908 </ownedStyle>
909 <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']"/>
910 </ownedDiagramElements>
911 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Utes0CoqEemQnOUhg0mU1A" name="Distribution" tooltipText="" incomingEdges="_N7tBliorEemQnOUhg0mU1A" width="12" height="10">
912 <target xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/>
913 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/>
914 <decorations xmi:type="viewpoint:Decoration" uid="_UtfT4CoqEemQnOUhg0mU1A">
915 <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']"/>
916 </decorations>
917 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
918 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
919 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
920 <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">
921 <labelFormat>italic</labelFormat>
922 <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"/>
923 </ownedStyle>
924 <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']"/>
925 </ownedDiagramElements>
926 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_N7tBliorEemQnOUhg0mU1A" name="[1..1] distribution" sourceNode="_D1quECodEemQnOUhg0mU1A" targetNode="_Utes0CoqEemQnOUhg0mU1A">
927 <target xmi:type="ecore:EReference" href="model/cft.ecore#//BasicEventDefinition/distribution"/>
928 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//BasicEventDefinition/distribution"/>
929 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_OkCM6SorEemQnOUhg0mU1A" description="_OkCM5iorEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
930 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_OkCM6yorEemQnOUhg0mU1A" showIcon="false">
931 <labelFormat>bold</labelFormat>
932 </centerLabelStyle>
933 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_OkCM6iorEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
934 </ownedStyle>
935 <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']"/>
936 </ownedDiagramElements>
937 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Wm0XkCorEemQnOUhg0mU1A" name="ComponentFaultTree" tooltipText="" outgoingEdges="_dgSJ2CorEemQnOUhg0mU1A _EktnnCosEemQnOUhg0mU1A" width="12" height="10">
938 <target xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentFaultTree"/>
939 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//ComponentFaultTree"/>
940 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
941 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
942 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
943 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Wm0-oCorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
944 <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"/>
945 </ownedStyle>
946 <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']"/>
947 </ownedDiagramElements>
948 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_bLPlACorEemQnOUhg0mU1A" name="Component" tooltipText="" outgoingEdges="_KyxFRiosEemQnOUhg0mU1A _eyVLBiosEemQnOUhg0mU1A _6ZNAkCosEemQnOUhg0mU1A _hniBOkAmEemLn8qDUFXPRg" incomingEdges="_dgSJ2CorEemQnOUhg0mU1A" width="12" height="10">
949 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/>
950 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/>
951 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
952 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
953 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
954 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_OwTeMT_rEem15JHY3tVwwA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
955 <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"/>
956 </ownedStyle>
957 <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']"/>
958 <ownedElements xmi:type="diagram:DNodeListElement" uid="_sNcrQCr7EemQnOUhg0mU1A" name="name : EString" tooltipText="">
959 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//Component/name"/>
960 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//Component/name"/>
961 <ownedStyle xmi:type="diagram:BundledImage" uid="_s220oyr7EemQnOUhg0mU1A" labelAlignment="LEFT">
962 <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"/>
963 </ownedStyle>
964 <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']"/>
965 </ownedElements>
966 <ownedElements xmi:type="diagram:DNodeListElement" uid="_ODSAID_rEem15JHY3tVwwA" name="multipleAllowed : EBoolean = false" tooltipText="">
967 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//Component/multipleAllowed"/>
968 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//Component/multipleAllowed"/>
969 <ownedStyle xmi:type="diagram:BundledImage" uid="_OwUsVT_rEem15JHY3tVwwA" labelAlignment="LEFT">
970 <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"/>
971 </ownedStyle>
972 <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']"/>
973 </ownedElements>
974 </ownedDiagramElements>
975 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_dgSJ2CorEemQnOUhg0mU1A" name="[0..*] components" sourceNode="_Wm0XkCorEemQnOUhg0mU1A" targetNode="_bLPlACorEemQnOUhg0mU1A">
976 <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/components"/>
977 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/components"/>
978 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_dgSw0CorEemQnOUhg0mU1A" description="_lIXL4CofEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
979 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_dgSw0iorEemQnOUhg0mU1A" showIcon="false">
980 <customFeatures>labelSize</customFeatures>
981 </centerLabelStyle>
982 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_dgSw0SorEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114">
983 <customFeatures>labelSize</customFeatures>
984 </endLabelStyle>
985 </ownedStyle>
986 <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']"/>
987 </ownedDiagramElements>
988 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_mUETkCorEemQnOUhg0mU1A" name="Input" tooltipText="" outgoingEdges="_UW5t9iosEemQnOUhg0mU1A _uHA2EiosEemQnOUhg0mU1A" incomingEdges="_eyVLBiosEemQnOUhg0mU1A" width="12" height="10">
989 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Input"/>
990 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Input"/>
991 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
992 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
993 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
994 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_mUETkSorEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
995 <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"/>
996 </ownedStyle>
997 <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']"/>
998 </ownedDiagramElements>
999 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_nyWPcCorEemQnOUhg0mU1A" name="Output" tooltipText="" outgoingEdges="_QhSuYiosEemQnOUhg0mU1A _ykJIrCosEemQnOUhg0mU1A" incomingEdges="_EktnnCosEemQnOUhg0mU1A _6ZNAkCosEemQnOUhg0mU1A" width="12" height="10">
1000 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Output"/>
1001 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Output"/>
1002 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1003 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1004 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1005 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_M4H0nT_rEem15JHY3tVwwA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1006 <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"/>
1007 </ownedStyle>
1008 <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']"/>
1009 </ownedDiagramElements>
1010 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_EktnnCosEemQnOUhg0mU1A" name="[1..1] topEvent" sourceNode="_Wm0XkCorEemQnOUhg0mU1A" targetNode="_nyWPcCorEemQnOUhg0mU1A">
1011 <target xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/topEvent"/>
1012 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//ComponentFaultTree/topEvent"/>
1013 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_IXsxGyosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1014 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_IXsxHSosEemQnOUhg0mU1A" showIcon="false">
1015 <labelFormat>bold</labelFormat>
1016 </centerLabelStyle>
1017 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_IXsxHCosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1018 </ownedStyle>
1019 <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']"/>
1020 </ownedDiagramElements>
1021 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_KyxFRiosEemQnOUhg0mU1A" name="[1..1] componentDefinition" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_Zp_54CoZEemQnOUhg0mU1A">
1022 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/componentDefinition"/>
1023 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/componentDefinition"/>
1024 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_M32iiCosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1025 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_M32iiiosEemQnOUhg0mU1A" showIcon="false">
1026 <labelFormat>bold</labelFormat>
1027 </centerLabelStyle>
1028 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_M32iiSosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1029 </ownedStyle>
1030 <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']"/>
1031 </ownedDiagramElements>
1032 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_QhSuYiosEemQnOUhg0mU1A" name="[1..1] eventDeclaration" sourceNode="_nyWPcCorEemQnOUhg0mU1A" targetNode="_QD_FECodEemQnOUhg0mU1A">
1033 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Output/eventDeclaration"/>
1034 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/eventDeclaration"/>
1035 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_YcmYEiosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1036 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_YcmYFCosEemQnOUhg0mU1A" showIcon="false">
1037 <labelFormat>bold</labelFormat>
1038 </centerLabelStyle>
1039 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_YcmYEyosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1040 </ownedStyle>
1041 <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']"/>
1042 </ownedDiagramElements>
1043 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_UW5t9iosEemQnOUhg0mU1A" name="[1..1] inputEvent" sourceNode="_mUETkCorEemQnOUhg0mU1A" targetNode="_Iec3ECodEemQnOUhg0mU1A">
1044 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Input/inputEvent"/>
1045 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/inputEvent"/>
1046 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Xs4LTCosEemQnOUhg0mU1A" description="_IXsxGCosEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1047 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Xs4LTiosEemQnOUhg0mU1A" showIcon="false">
1048 <labelFormat>bold</labelFormat>
1049 </centerLabelStyle>
1050 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_Xs4LTSosEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1051 </ownedStyle>
1052 <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']"/>
1053 </ownedDiagramElements>
1054 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_Z4MMQCosEemQnOUhg0mU1A" name="Connection" tooltipText="" outgoingEdges="_jwVguEAmEemLn8qDUFXPRg" incomingEdges="_uHA2EiosEemQnOUhg0mU1A _ykJIrCosEemQnOUhg0mU1A" width="12" height="10">
1055 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/>
1056 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/>
1057 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1058 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1059 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1060 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_-03UZUAaEemLn8qDUFXPRg" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1061 <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"/>
1062 </ownedStyle>
1063 <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']"/>
1064 </ownedDiagramElements>
1065 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_eyVLBiosEemQnOUhg0mU1A" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_mUETkCorEemQnOUhg0mU1A" beginLabel="[1..1] component" endLabel="[0..*] inputs">
1066 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/inputs"/>
1067 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/component"/>
1068 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/inputs"/>
1069 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_eyVLCiosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
1070 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_eyVLCyosEemQnOUhg0mU1A" showIcon="false"/>
1071 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_eyVLDCosEemQnOUhg0mU1A" showIcon="false"/>
1072 </ownedStyle>
1073 <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']"/>
1074 </ownedDiagramElements>
1075 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_uHA2EiosEemQnOUhg0mU1A" sourceNode="_mUETkCorEemQnOUhg0mU1A" targetNode="_Z4MMQCosEemQnOUhg0mU1A" beginLabel="[1..1] input" endLabel="[0..*] incomingConnections">
1076 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Input/incomingConnections"/>
1077 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Input/incomingConnections"/>
1078 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Connection/input"/>
1079 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_uHBdECosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
1080 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_uHBdESosEemQnOUhg0mU1A" showIcon="false"/>
1081 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_uHBdEiosEemQnOUhg0mU1A" showIcon="false"/>
1082 </ownedStyle>
1083 <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']"/>
1084 </ownedDiagramElements>
1085 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_ykJIrCosEemQnOUhg0mU1A" sourceNode="_nyWPcCorEemQnOUhg0mU1A" targetNode="_Z4MMQCosEemQnOUhg0mU1A" beginLabel="[1..1] output" endLabel="[0..*] outgoingConnections">
1086 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Output/outgoingConnections"/>
1087 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/outgoingConnections"/>
1088 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Connection/output"/>
1089 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_ykJIrSosEemQnOUhg0mU1A" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
1090 <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"/>
1091 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_ykJIriosEemQnOUhg0mU1A" showIcon="false"/>
1092 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_ykJIryosEemQnOUhg0mU1A" showIcon="false"/>
1093 </ownedStyle>
1094 <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']"/>
1095 </ownedDiagramElements>
1096 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_6ZNAkCosEemQnOUhg0mU1A" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_nyWPcCorEemQnOUhg0mU1A" beginLabel="[1..1] component" endLabel="[0..*] outputs">
1097 <target xmi:type="ecore:EReference" href="model/cft.ecore#//Component/outputs"/>
1098 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Output/component"/>
1099 <semanticElements xmi:type="ecore:EReference" href="model/cft.ecore#//Component/outputs"/>
1100 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_6ZNncCosEemQnOUhg0mU1A" description="_eyVLByosEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
1101 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_6ZNncSosEemQnOUhg0mU1A" showIcon="false"/>
1102 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_6ZNnciosEemQnOUhg0mU1A" showIcon="false"/>
1103 </ownedStyle>
1104 <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']"/>
1105 </ownedDiagramElements>
1106 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_ePE0UEAiEemLn8qDUFXPRg" name="Modality" tooltipText="" width="12" height="10">
1107 <target xmi:type="ecore:EEnum" href="model/cft.ecore#//Modality"/>
1108 <semanticElements xmi:type="ecore:EEnum" href="model/cft.ecore#//Modality"/>
1109 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1110 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1111 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1112 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_ePE0UUAiEemLn8qDUFXPRg" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="221,236,202">
1113 <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%20EEnum']/@style"/>
1114 </ownedStyle>
1115 <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%20EEnum']"/>
1116 <ownedElements xmi:type="diagram:DNodeListElement" uid="_iIadYEAiEemLn8qDUFXPRg" name="MAY" tooltipText="">
1117 <target xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/MAY"/>
1118 <semanticElements xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/MAY"/>
1119 <ownedStyle xmi:type="diagram:BundledImage" uid="_iIbEcEAiEemLn8qDUFXPRg" labelAlignment="LEFT">
1120 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
1121 </ownedStyle>
1122 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
1123 </ownedElements>
1124 <ownedElements xmi:type="diagram:DNodeListElement" uid="_jjXYcEAiEemLn8qDUFXPRg" name="CURRENT" tooltipText="">
1125 <target xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/CURRENT"/>
1126 <semanticElements xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/CURRENT"/>
1127 <ownedStyle xmi:type="diagram:BundledImage" uid="_jjXYcUAiEemLn8qDUFXPRg" labelAlignment="LEFT">
1128 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
1129 </ownedStyle>
1130 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
1131 </ownedElements>
1132 <ownedElements xmi:type="diagram:DNodeListElement" uid="_kEmdQEAiEemLn8qDUFXPRg" name="MUST" tooltipText="">
1133 <target xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/MUST"/>
1134 <semanticElements xmi:type="ecore:EEnumLiteral" href="model/cft.ecore#//Modality/MUST"/>
1135 <ownedStyle xmi:type="diagram:BundledImage" uid="_kEnEUEAiEemLn8qDUFXPRg" labelAlignment="LEFT">
1136 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
1137 </ownedStyle>
1138 <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%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
1139 </ownedElements>
1140 </ownedDiagramElements>
1141 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_o39XMEAlEemLn8qDUFXPRg" name="ModalElement" tooltipText="" incomingEdges="_hniBOkAmEemLn8qDUFXPRg _jwVguEAmEemLn8qDUFXPRg" width="12" height="10">
1142 <target xmi:type="ecore:EClass" href="model/cft.ecore#//ModalElement"/>
1143 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//ModalElement"/>
1144 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1145 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1146 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1147 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_qKn4-UAlEemLn8qDUFXPRg" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_interface.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228">
1148 <labelFormat>italic</labelFormat>
1149 <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.0/@style"/>
1150 </ownedStyle>
1151 <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']"/>
1152 <ownedElements xmi:type="diagram:DNodeListElement" uid="_fUKQQUAmEemLn8qDUFXPRg" name="exists : Modality = MUST" tooltipText="">
1153 <target xmi:type="ecore:EAttribute" href="model/cft.ecore#//ModalElement/exists"/>
1154 <semanticElements xmi:type="ecore:EAttribute" href="model/cft.ecore#//ModalElement/exists"/>
1155 <ownedStyle xmi:type="diagram:BundledImage" uid="_fUK3UEAmEemLn8qDUFXPRg" labelAlignment="LEFT">
1156 <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"/>
1157 </ownedStyle>
1158 <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']"/>
1159 </ownedElements>
1160 </ownedDiagramElements>
1161 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_hniBOkAmEemLn8qDUFXPRg" sourceNode="_bLPlACorEemQnOUhg0mU1A" targetNode="_o39XMEAlEemLn8qDUFXPRg">
1162 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/>
1163 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Component"/>
1164 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_hnioIEAmEemLn8qDUFXPRg" lineStyle="dash" targetArrow="InputClosedArrow" routingStyle="tree">
1165 <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']/@conditionnalStyles.0/@style"/>
1166 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_hnioIUAmEemLn8qDUFXPRg" showIcon="false">
1167 <labelFormat>italic</labelFormat>
1168 </beginLabelStyle>
1169 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_hnioIkAmEemLn8qDUFXPRg" showIcon="false"/>
1170 </ownedStyle>
1171 <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']"/>
1172 </ownedDiagramElements>
1173 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_jwVguEAmEemLn8qDUFXPRg" sourceNode="_Z4MMQCosEemQnOUhg0mU1A" targetNode="_o39XMEAlEemLn8qDUFXPRg">
1174 <target xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/>
1175 <semanticElements xmi:type="ecore:EClass" href="model/cft.ecore#//Connection"/>
1176 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_jwVguUAmEemLn8qDUFXPRg" lineStyle="dash" targetArrow="InputClosedArrow" routingStyle="tree">
1177 <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']/@conditionnalStyles.0/@style"/>
1178 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_jwVgukAmEemLn8qDUFXPRg" showIcon="false">
1179 <labelFormat>italic</labelFormat>
1180 </beginLabelStyle>
1181 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_jwVgu0AmEemLn8qDUFXPRg" showIcon="false"/>
1182 </ownedStyle>
1183 <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']"/>
1184 </ownedDiagramElements>
1185 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
1186 <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_XdpXECoZEemQnOUhg0mU1A"/>
1187 <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/>
1188 <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']"/>
1189 <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']"/>
1190 <target xmi:type="ecore:EPackage" href="model/cft.ecore#/"/>
1191 </diagram:DSemanticDiagram>
1192 <diagram:DSemanticDiagram uid="_Bnj68CohEemQnOUhg0mU1A" name="ft class diagram">
1193 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_BnlJECohEemQnOUhg0mU1A" source="DANNOTATION_CUSTOMIZATION_KEY">
1194 <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_BnlJESohEemQnOUhg0mU1A">
1195 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_RSXm8CohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan">
1196 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1197 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_RSXm8SohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
1198 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1199 </centerLabelStyleDescription>
1200 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_RSXm8iohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
1201 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
1202 </endLabelStyleDescription>
1203 </computedStyleDescriptions>
1204 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_Um-LQCohEemQnOUhg0mU1A" routingStyle="manhattan">
1205 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1206 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_Um-LQSohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
1207 <labelFormat>bold</labelFormat>
1208 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1209 </centerLabelStyleDescription>
1210 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_Um-LQiohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
1211 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
1212 </endLabelStyleDescription>
1213 </computedStyleDescriptions>
1214 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_n3A4mSohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan">
1215 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1216 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_n3A4miohEemQnOUhg0mU1A" showIcon="false" labelExpression="service:render">
1217 <labelFormat>bold</labelFormat>
1218 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
1219 </centerLabelStyleDescription>
1220 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_n3A4myohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
1221 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
1222 </endLabelStyleDescription>
1223 </computedStyleDescriptions>
1224 </data>
1225 </ownedAnnotationEntries>
1226 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_BnlwICohEemQnOUhg0mU1A" source="GMF_DIAGRAMS">
1227 <data xmi:type="notation:Diagram" xmi:id="_BnlwISohEemQnOUhg0mU1A" type="Sirius" element="_Bnj68CohEemQnOUhg0mU1A" measurementUnit="Pixel">
1228 <children xmi:type="notation:Node" xmi:id="_DB1gkCohEemQnOUhg0mU1A" type="2003" element="_DBuy4CohEemQnOUhg0mU1A">
1229 <children xmi:type="notation:Node" xmi:id="_DB1gkyohEemQnOUhg0mU1A" type="5007"/>
1230 <children xmi:type="notation:Node" xmi:id="_DB1glCohEemQnOUhg0mU1A" type="7004">
1231 <styles xmi:type="notation:SortingStyle" xmi:id="_DB1glSohEemQnOUhg0mU1A"/>
1232 <styles xmi:type="notation:FilteringStyle" xmi:id="_DB1gliohEemQnOUhg0mU1A"/>
1233 </children>
1234 <styles xmi:type="notation:ShapeStyle" xmi:id="_DB1gkSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1235 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DB1gkiohEemQnOUhg0mU1A" x="345" y="180" width="120" height="100"/>
1236 </children>
1237 <children xmi:type="notation:Node" xmi:id="_OHUAMCohEemQnOUhg0mU1A" type="2003" element="_OHKPMCohEemQnOUhg0mU1A">
1238 <children xmi:type="notation:Node" xmi:id="_OHUnQCohEemQnOUhg0mU1A" type="5007"/>
1239 <children xmi:type="notation:Node" xmi:id="_OHUnQSohEemQnOUhg0mU1A" type="7004">
1240 <children xmi:type="notation:Node" xmi:id="_WsY_oCohEemQnOUhg0mU1A" type="3010" element="_WsKWICohEemQnOUhg0mU1A">
1241 <styles xmi:type="notation:FontStyle" xmi:id="_WsY_oSohEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1242 <layoutConstraint xmi:type="notation:Location" xmi:id="_WsY_oiohEemQnOUhg0mU1A"/>
1243 </children>
1244 <styles xmi:type="notation:SortingStyle" xmi:id="_OHUnQiohEemQnOUhg0mU1A"/>
1245 <styles xmi:type="notation:FilteringStyle" xmi:id="_OHUnQyohEemQnOUhg0mU1A"/>
1246 </children>
1247 <styles xmi:type="notation:ShapeStyle" xmi:id="_OHUAMSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1248 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OHUAMiohEemQnOUhg0mU1A" x="345" y="345" width="120" height="100"/>
1249 </children>
1250 <children xmi:type="notation:Node" xmi:id="_PfLLACohEemQnOUhg0mU1A" type="2003" element="_PfCoICohEemQnOUhg0mU1A">
1251 <children xmi:type="notation:Node" xmi:id="_PfLyECohEemQnOUhg0mU1A" type="5007"/>
1252 <children xmi:type="notation:Node" xmi:id="_PfLyESohEemQnOUhg0mU1A" type="7004">
1253 <styles xmi:type="notation:SortingStyle" xmi:id="_PfLyEiohEemQnOUhg0mU1A"/>
1254 <styles xmi:type="notation:FilteringStyle" xmi:id="_PfLyEyohEemQnOUhg0mU1A"/>
1255 </children>
1256 <styles xmi:type="notation:ShapeStyle" xmi:id="_PfLLASohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1257 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PfLLAiohEemQnOUhg0mU1A" x="241" y="514" width="120" height="100"/>
1258 </children>
1259 <children xmi:type="notation:Node" xmi:id="_QR5BYCohEemQnOUhg0mU1A" type="2003" element="_QRvQYCohEemQnOUhg0mU1A">
1260 <children xmi:type="notation:Node" xmi:id="_QR5BYyohEemQnOUhg0mU1A" type="5007"/>
1261 <children xmi:type="notation:Node" xmi:id="_QR5ocCohEemQnOUhg0mU1A" type="7004">
1262 <styles xmi:type="notation:SortingStyle" xmi:id="_QR5ocSohEemQnOUhg0mU1A"/>
1263 <styles xmi:type="notation:FilteringStyle" xmi:id="_QR5ociohEemQnOUhg0mU1A"/>
1264 </children>
1265 <styles xmi:type="notation:ShapeStyle" xmi:id="_QR5BYSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1266 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QR5BYiohEemQnOUhg0mU1A" x="449" y="514" width="120" height="100"/>
1267 </children>
1268 <children xmi:type="notation:Node" xmi:id="_fDJPMCohEemQnOUhg0mU1A" type="2003" element="_fC-3ICohEemQnOUhg0mU1A">
1269 <children xmi:type="notation:Node" xmi:id="_fDJPMyohEemQnOUhg0mU1A" type="5007"/>
1270 <children xmi:type="notation:Node" xmi:id="_fDJPNCohEemQnOUhg0mU1A" type="7004">
1271 <styles xmi:type="notation:SortingStyle" xmi:id="_fDJPNSohEemQnOUhg0mU1A"/>
1272 <styles xmi:type="notation:FilteringStyle" xmi:id="_fDJPNiohEemQnOUhg0mU1A"/>
1273 </children>
1274 <styles xmi:type="notation:ShapeStyle" xmi:id="_fDJPMSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1275 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fDJPMiohEemQnOUhg0mU1A" x="137" y="683" width="120" height="100"/>
1276 </children>
1277 <children xmi:type="notation:Node" xmi:id="_g_4BoCohEemQnOUhg0mU1A" type="2003" element="_g_tpkCohEemQnOUhg0mU1A">
1278 <children xmi:type="notation:Node" xmi:id="_g_4BoyohEemQnOUhg0mU1A" type="5007"/>
1279 <children xmi:type="notation:Node" xmi:id="_g_4BpCohEemQnOUhg0mU1A" type="7004">
1280 <children xmi:type="notation:Node" xmi:id="_UPL2ACokEemQnOUhg0mU1A" type="3010" element="_UPA24CokEemQnOUhg0mU1A">
1281 <styles xmi:type="notation:FontStyle" xmi:id="_UPL2ASokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1282 <layoutConstraint xmi:type="notation:Location" xmi:id="_UPL2AiokEemQnOUhg0mU1A"/>
1283 </children>
1284 <styles xmi:type="notation:SortingStyle" xmi:id="_g_4BpSohEemQnOUhg0mU1A"/>
1285 <styles xmi:type="notation:FilteringStyle" xmi:id="_g_4BpiohEemQnOUhg0mU1A"/>
1286 </children>
1287 <styles xmi:type="notation:ShapeStyle" xmi:id="_g_4BoSohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1288 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_g_4BoiohEemQnOUhg0mU1A" x="45" y="852" width="133" height="100"/>
1289 </children>
1290 <children xmi:type="notation:Node" xmi:id="_kXPmFiohEemQnOUhg0mU1A" type="2003" element="_kXGcICohEemQnOUhg0mU1A">
1291 <children xmi:type="notation:Node" xmi:id="_kXQNICohEemQnOUhg0mU1A" type="5007"/>
1292 <children xmi:type="notation:Node" xmi:id="_kXQNISohEemQnOUhg0mU1A" type="7004">
1293 <children xmi:type="notation:Node" xmi:id="_VVIKYCokEemQnOUhg0mU1A" type="3010" element="_VU8kMCokEemQnOUhg0mU1A">
1294 <styles xmi:type="notation:FontStyle" xmi:id="_VVIKYSokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1295 <layoutConstraint xmi:type="notation:Location" xmi:id="_VVIKYiokEemQnOUhg0mU1A"/>
1296 </children>
1297 <styles xmi:type="notation:SortingStyle" xmi:id="_kXQNIiohEemQnOUhg0mU1A"/>
1298 <styles xmi:type="notation:FilteringStyle" xmi:id="_kXQNIyohEemQnOUhg0mU1A"/>
1299 </children>
1300 <styles xmi:type="notation:ShapeStyle" xmi:id="_kXPmFyohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1301 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kXPmGCohEemQnOUhg0mU1A" x="215" y="852" width="133" height="100"/>
1302 </children>
1303 <children xmi:type="notation:Node" xmi:id="_Jn0OsCokEemQnOUhg0mU1A" type="2003" element="_JnsS4CokEemQnOUhg0mU1A">
1304 <children xmi:type="notation:Node" xmi:id="_Jn0OsyokEemQnOUhg0mU1A" type="5007"/>
1305 <children xmi:type="notation:Node" xmi:id="_Jn0OtCokEemQnOUhg0mU1A" type="7004">
1306 <styles xmi:type="notation:SortingStyle" xmi:id="_Jn0OtSokEemQnOUhg0mU1A"/>
1307 <styles xmi:type="notation:FilteringStyle" xmi:id="_Jn0OtiokEemQnOUhg0mU1A"/>
1308 </children>
1309 <styles xmi:type="notation:ShapeStyle" xmi:id="_Jn0OsSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1310 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jn0OsiokEemQnOUhg0mU1A" x="306" y="683" width="120" height="100"/>
1311 </children>
1312 <children xmi:type="notation:Node" xmi:id="_J8rEYCokEemQnOUhg0mU1A" type="2003" element="_J8gFQCokEemQnOUhg0mU1A">
1313 <children xmi:type="notation:Node" xmi:id="_J8rEYyokEemQnOUhg0mU1A" type="5007"/>
1314 <children xmi:type="notation:Node" xmi:id="_J8rrcCokEemQnOUhg0mU1A" type="7004">
1315 <styles xmi:type="notation:SortingStyle" xmi:id="_J8rrcSokEemQnOUhg0mU1A"/>
1316 <styles xmi:type="notation:FilteringStyle" xmi:id="_J8rrciokEemQnOUhg0mU1A"/>
1317 </children>
1318 <styles xmi:type="notation:ShapeStyle" xmi:id="_J8rEYSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1319 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J8rEYiokEemQnOUhg0mU1A" x="449" y="683" width="120" height="100"/>
1320 </children>
1321 <children xmi:type="notation:Node" xmi:id="_MS4GwCokEemQnOUhg0mU1A" type="2003" element="_MSuVwCokEemQnOUhg0mU1A">
1322 <children xmi:type="notation:Node" xmi:id="_MS4GwyokEemQnOUhg0mU1A" type="5007"/>
1323 <children xmi:type="notation:Node" xmi:id="_MS4GxCokEemQnOUhg0mU1A" type="7004">
1324 <children xmi:type="notation:Node" xmi:id="_O6m-ACokEemQnOUhg0mU1A" type="3010" element="_O6aJsCokEemQnOUhg0mU1A">
1325 <styles xmi:type="notation:FontStyle" xmi:id="_O6m-ASokEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1326 <layoutConstraint xmi:type="notation:Location" xmi:id="_O6m-AiokEemQnOUhg0mU1A"/>
1327 </children>
1328 <styles xmi:type="notation:SortingStyle" xmi:id="_MS4GxSokEemQnOUhg0mU1A"/>
1329 <styles xmi:type="notation:FilteringStyle" xmi:id="_MS4GxiokEemQnOUhg0mU1A"/>
1330 </children>
1331 <styles xmi:type="notation:ShapeStyle" xmi:id="_MS4GwSokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1332 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MS4GwiokEemQnOUhg0mU1A" x="592" y="683" width="120" height="100"/>
1333 </children>
1334 <children xmi:type="notation:Node" xmi:id="_6hZ9QC1lEemQnOUhg0mU1A" type="2003" element="_6hHCUC1lEemQnOUhg0mU1A">
1335 <children xmi:type="notation:Node" xmi:id="_6hakUC1lEemQnOUhg0mU1A" type="5007"/>
1336 <children xmi:type="notation:Node" xmi:id="_6hakUS1lEemQnOUhg0mU1A" type="7004">
1337 <styles xmi:type="notation:SortingStyle" xmi:id="_6hakUi1lEemQnOUhg0mU1A"/>
1338 <styles xmi:type="notation:FilteringStyle" xmi:id="_6hakUy1lEemQnOUhg0mU1A"/>
1339 </children>
1340 <styles xmi:type="notation:ShapeStyle" xmi:id="_6hZ9QS1lEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1341 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6hZ9Qi1lEemQnOUhg0mU1A" x="540" y="30" width="120" height="100"/>
1342 </children>
1343 <children xmi:type="notation:Node" xmi:id="_-fSIEC1lEemQnOUhg0mU1A" type="2003" element="_-fKzUC1lEemQnOUhg0mU1A">
1344 <children xmi:type="notation:Node" xmi:id="_-fSIEy1lEemQnOUhg0mU1A" type="5007"/>
1345 <children xmi:type="notation:Node" xmi:id="_-fSIFC1lEemQnOUhg0mU1A" type="7004">
1346 <children xmi:type="notation:Node" xmi:id="_Nn2NMC1nEemQnOUhg0mU1A" type="3010" element="_NnscMC1nEemQnOUhg0mU1A">
1347 <styles xmi:type="notation:FontStyle" xmi:id="_Nn2NMS1nEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1348 <layoutConstraint xmi:type="notation:Location" xmi:id="_Nn2NMi1nEemQnOUhg0mU1A"/>
1349 </children>
1350 <styles xmi:type="notation:SortingStyle" xmi:id="_-fSIFS1lEemQnOUhg0mU1A"/>
1351 <styles xmi:type="notation:FilteringStyle" xmi:id="_-fSIFi1lEemQnOUhg0mU1A"/>
1352 </children>
1353 <styles xmi:type="notation:ShapeStyle" xmi:id="_-fSIES1lEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1354 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-fSIEi1lEemQnOUhg0mU1A" x="735" y="180" width="120" height="100"/>
1355 </children>
1356 <children xmi:type="notation:Node" xmi:id="_27i0YC1mEemQnOUhg0mU1A" type="2003" element="_27bfoC1mEemQnOUhg0mU1A">
1357 <children xmi:type="notation:Node" xmi:id="_27i0Yy1mEemQnOUhg0mU1A" type="5007"/>
1358 <children xmi:type="notation:Node" xmi:id="_27i0ZC1mEemQnOUhg0mU1A" type="7004">
1359 <styles xmi:type="notation:SortingStyle" xmi:id="_27i0ZS1mEemQnOUhg0mU1A"/>
1360 <styles xmi:type="notation:FilteringStyle" xmi:id="_27i0Zi1mEemQnOUhg0mU1A"/>
1361 </children>
1362 <styles xmi:type="notation:ShapeStyle" xmi:id="_27i0YS1mEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1363 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_27i0Yi1mEemQnOUhg0mU1A" x="540" y="180" width="120" height="100"/>
1364 </children>
1365 <children xmi:type="notation:Node" xmi:id="_7y8oMC1mEemQnOUhg0mU1A" type="2003" element="_7y0sYC1mEemQnOUhg0mU1A">
1366 <children xmi:type="notation:Node" xmi:id="_7y9PQC1mEemQnOUhg0mU1A" type="5007"/>
1367 <children xmi:type="notation:Node" xmi:id="_7y9PQS1mEemQnOUhg0mU1A" type="7004">
1368 <children xmi:type="notation:Node" xmi:id="_cn0McC1nEemQnOUhg0mU1A" type="3010" element="_cnpNUC1nEemQnOUhg0mU1A">
1369 <styles xmi:type="notation:FontStyle" xmi:id="_cn0McS1nEemQnOUhg0mU1A" fontColor="2697711" fontName="Cantarell" fontHeight="8"/>
1370 <layoutConstraint xmi:type="notation:Location" xmi:id="_cn0Mci1nEemQnOUhg0mU1A"/>
1371 </children>
1372 <styles xmi:type="notation:SortingStyle" xmi:id="_7y9PQi1mEemQnOUhg0mU1A"/>
1373 <styles xmi:type="notation:FilteringStyle" xmi:id="_7y9PQy1mEemQnOUhg0mU1A"/>
1374 </children>
1375 <styles xmi:type="notation:ShapeStyle" xmi:id="_7y8oMS1mEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1376 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7y8oMi1mEemQnOUhg0mU1A" x="735" y="345" width="120" height="100"/>
1377 </children>
1378 <styles xmi:type="notation:DiagramStyle" xmi:id="_BnlwIiohEemQnOUhg0mU1A"/>
1379 <edges xmi:type="notation:Edge" xmi:id="_RSe7sCohEemQnOUhg0mU1A" type="4001" element="_RSW_4CohEemQnOUhg0mU1A" source="_DB1gkCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A">
1380 <children xmi:type="notation:Node" xmi:id="_RSe7tCohEemQnOUhg0mU1A" type="6001">
1381 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSe7tSohEemQnOUhg0mU1A" x="10" y="41"/>
1382 </children>
1383 <children xmi:type="notation:Node" xmi:id="_RSe7tiohEemQnOUhg0mU1A" type="6002">
1384 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSe7tyohEemQnOUhg0mU1A" x="18" y="10"/>
1385 </children>
1386 <children xmi:type="notation:Node" xmi:id="_RSfiwCohEemQnOUhg0mU1A" type="6003">
1387 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RSfiwSohEemQnOUhg0mU1A" x="-35" y="10"/>
1388 </children>
1389 <styles xmi:type="notation:ConnectorStyle" xmi:id="_RSe7sSohEemQnOUhg0mU1A" routing="Rectilinear"/>
1390 <styles xmi:type="notation:FontStyle" xmi:id="_RSe7siohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
1391 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RSe7syohEemQnOUhg0mU1A" points="[-20, 0, -20, -67]$[-20, 67, -20, 0]"/>
1392 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RSfiwiohEemQnOUhg0mU1A" id="(0.5,1.0)"/>
1393 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RSfiwyohEemQnOUhg0mU1A" id="(0.5,0.0)"/>
1394 </edges>
1395 <edges xmi:type="notation:Edge" xmi:id="_Ty_JkCohEemQnOUhg0mU1A" type="4001" element="_Ty0KdiohEemQnOUhg0mU1A" source="_DB1gkCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A">
1396 <children xmi:type="notation:Node" xmi:id="_Ty_JlCohEemQnOUhg0mU1A" type="6001">
1397 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_JlSohEemQnOUhg0mU1A" x="10" y="-49"/>
1398 </children>
1399 <children xmi:type="notation:Node" xmi:id="_Ty_JliohEemQnOUhg0mU1A" type="6002">
1400 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_JlyohEemQnOUhg0mU1A" x="18" y="10"/>
1401 </children>
1402 <children xmi:type="notation:Node" xmi:id="_Ty_woCohEemQnOUhg0mU1A" type="6003">
1403 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ty_woSohEemQnOUhg0mU1A" x="-35" y="10"/>
1404 </children>
1405 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Ty_JkSohEemQnOUhg0mU1A" routing="Rectilinear"/>
1406 <styles xmi:type="notation:FontStyle" xmi:id="_Ty_JkiohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
1407 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Ty_JkyohEemQnOUhg0mU1A" points="[-11, 0, -11, -67]$[-11, 67, -11, 0]"/>
1408 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ty_woiohEemQnOUhg0mU1A" id="(0.7542372881355932,1.0)"/>
1409 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ty_woyohEemQnOUhg0mU1A" id="(0.7542372881355932,0.0)"/>
1410 </edges>
1411 <edges xmi:type="notation:Edge" xmi:id="_ahmWoCohEemQnOUhg0mU1A" type="4001" element="_ahdMsCohEemQnOUhg0mU1A" source="_PfLLACohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A">
1412 <children xmi:type="notation:Node" xmi:id="_ahmWpCohEemQnOUhg0mU1A" type="6001">
1413 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahmWpSohEemQnOUhg0mU1A" y="-10"/>
1414 </children>
1415 <children xmi:type="notation:Node" xmi:id="_ahmWpiohEemQnOUhg0mU1A" type="6002">
1416 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahm9sCohEemQnOUhg0mU1A" y="10"/>
1417 </children>
1418 <children xmi:type="notation:Node" xmi:id="_ahm9sSohEemQnOUhg0mU1A" type="6003">
1419 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ahm9siohEemQnOUhg0mU1A" y="10"/>
1420 </children>
1421 <styles xmi:type="notation:ConnectorStyle" xmi:id="_ahmWoSohEemQnOUhg0mU1A" routing="Tree"/>
1422 <styles xmi:type="notation:FontStyle" xmi:id="_ahmWoiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1423 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ahmWoyohEemQnOUhg0mU1A" points="[0, 0, -117, 71]$[117, -71, 0, 0]"/>
1424 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ahm9syohEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/>
1425 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ahm9tCohEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1426 </edges>
1427 <edges xmi:type="notation:Edge" xmi:id="_a2bXICohEemQnOUhg0mU1A" type="4001" element="_a2TbUyohEemQnOUhg0mU1A" source="_QR5BYCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A">
1428 <children xmi:type="notation:Node" xmi:id="_a2b-MCohEemQnOUhg0mU1A" type="6001">
1429 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-MSohEemQnOUhg0mU1A" y="-10"/>
1430 </children>
1431 <children xmi:type="notation:Node" xmi:id="_a2b-MiohEemQnOUhg0mU1A" type="6002">
1432 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-MyohEemQnOUhg0mU1A" y="10"/>
1433 </children>
1434 <children xmi:type="notation:Node" xmi:id="_a2b-NCohEemQnOUhg0mU1A" type="6003">
1435 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a2b-NSohEemQnOUhg0mU1A" y="10"/>
1436 </children>
1437 <styles xmi:type="notation:ConnectorStyle" xmi:id="_a2bXISohEemQnOUhg0mU1A" routing="Tree"/>
1438 <styles xmi:type="notation:FontStyle" xmi:id="_a2bXIiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1439 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_a2bXIyohEemQnOUhg0mU1A" points="[0, 0, 104, 71]$[-104, -71, 0, 0]"/>
1440 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_a2b-NiohEemQnOUhg0mU1A" id="(0.5,0.0)"/>
1441 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_a2b-NyohEemQnOUhg0mU1A" id="(0.5,0.0)"/>
1442 </edges>
1443 <edges xmi:type="notation:Edge" xmi:id="_nacRUCohEemQnOUhg0mU1A" type="4001" element="_naRSOSohEemQnOUhg0mU1A" source="_PfLLACohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A">
1444 <children xmi:type="notation:Node" xmi:id="_nac4YCohEemQnOUhg0mU1A" type="6001">
1445 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4YSohEemQnOUhg0mU1A" x="3" y="10"/>
1446 </children>
1447 <children xmi:type="notation:Node" xmi:id="_nac4YiohEemQnOUhg0mU1A" type="6002">
1448 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4YyohEemQnOUhg0mU1A" x="2" y="10"/>
1449 </children>
1450 <children xmi:type="notation:Node" xmi:id="_nac4ZCohEemQnOUhg0mU1A" type="6003">
1451 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nac4ZSohEemQnOUhg0mU1A" x="-2" y="10"/>
1452 </children>
1453 <styles xmi:type="notation:ConnectorStyle" xmi:id="_nacRUSohEemQnOUhg0mU1A" routing="Rectilinear"/>
1454 <styles xmi:type="notation:FontStyle" xmi:id="_nacRUiohEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
1455 <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]"/>
1456 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nac4ZiohEemQnOUhg0mU1A" id="(0.5,1.0)"/>
1457 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nac4ZyohEemQnOUhg0mU1A" id="(0.5,0.0)"/>
1458 </edges>
1459 <edges xmi:type="notation:Edge" xmi:id="_qWOtACohEemQnOUhg0mU1A" type="4001" element="_qWGKLCohEemQnOUhg0mU1A" source="_g_4BoCohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A">
1460 <children xmi:type="notation:Node" xmi:id="_qWOtBCohEemQnOUhg0mU1A" type="6001">
1461 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtBSohEemQnOUhg0mU1A" y="-10"/>
1462 </children>
1463 <children xmi:type="notation:Node" xmi:id="_qWOtBiohEemQnOUhg0mU1A" type="6002">
1464 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtByohEemQnOUhg0mU1A" y="10"/>
1465 </children>
1466 <children xmi:type="notation:Node" xmi:id="_qWOtCCohEemQnOUhg0mU1A" type="6003">
1467 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qWOtCSohEemQnOUhg0mU1A" y="10"/>
1468 </children>
1469 <styles xmi:type="notation:ConnectorStyle" xmi:id="_qWOtASohEemQnOUhg0mU1A" routing="Tree"/>
1470 <styles xmi:type="notation:FontStyle" xmi:id="_qWOtAiohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1471 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qWOtAyohEemQnOUhg0mU1A" points="[0, 0, -65, 71]$[65, -71, 0, 0]"/>
1472 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qWOtCiohEemQnOUhg0mU1A" id="(0.6946564885496184,0.0)"/>
1473 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qWOtCyohEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1474 </edges>
1475 <edges xmi:type="notation:Edge" xmi:id="_quUc4CohEemQnOUhg0mU1A" type="4001" element="_quKE2SohEemQnOUhg0mU1A" source="_kXPmFiohEemQnOUhg0mU1A" target="_fDJPMCohEemQnOUhg0mU1A">
1476 <children xmi:type="notation:Node" xmi:id="_quUc5CohEemQnOUhg0mU1A" type="6001">
1477 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc5SohEemQnOUhg0mU1A" y="-10"/>
1478 </children>
1479 <children xmi:type="notation:Node" xmi:id="_quUc5iohEemQnOUhg0mU1A" type="6002">
1480 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc5yohEemQnOUhg0mU1A" y="10"/>
1481 </children>
1482 <children xmi:type="notation:Node" xmi:id="_quUc6CohEemQnOUhg0mU1A" type="6003">
1483 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_quUc6SohEemQnOUhg0mU1A" y="10"/>
1484 </children>
1485 <styles xmi:type="notation:ConnectorStyle" xmi:id="_quUc4SohEemQnOUhg0mU1A" routing="Tree"/>
1486 <styles xmi:type="notation:FontStyle" xmi:id="_quUc4iohEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1487 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_quUc4yohEemQnOUhg0mU1A" points="[0, 0, 52, 71]$[-52, -71, 0, 0]"/>
1488 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_quVD8CohEemQnOUhg0mU1A" id="(0.3969465648854962,0.0)"/>
1489 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_quVD8SohEemQnOUhg0mU1A" id="(0.5,0.0)"/>
1490 </edges>
1491 <edges xmi:type="notation:Edge" xmi:id="_NOxuUCokEemQnOUhg0mU1A" type="4001" element="_NOpLfCokEemQnOUhg0mU1A" source="_Jn0OsCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A">
1492 <children xmi:type="notation:Node" xmi:id="_NOxuVCokEemQnOUhg0mU1A" type="6001">
1493 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuVSokEemQnOUhg0mU1A" y="-10"/>
1494 </children>
1495 <children xmi:type="notation:Node" xmi:id="_NOxuViokEemQnOUhg0mU1A" type="6002">
1496 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuVyokEemQnOUhg0mU1A" y="10"/>
1497 </children>
1498 <children xmi:type="notation:Node" xmi:id="_NOxuWCokEemQnOUhg0mU1A" type="6003">
1499 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NOxuWSokEemQnOUhg0mU1A" y="10"/>
1500 </children>
1501 <styles xmi:type="notation:ConnectorStyle" xmi:id="_NOxuUSokEemQnOUhg0mU1A" routing="Tree"/>
1502 <styles xmi:type="notation:FontStyle" xmi:id="_NOxuUiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1503 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NOxuUyokEemQnOUhg0mU1A" points="[0, 0, -91, 130]$[91, -130, 0, 0]"/>
1504 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NOxuWiokEemQnOUhg0mU1A" id="(0.4406779661016949,0.0)"/>
1505 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NOxuWyokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1506 </edges>
1507 <edges xmi:type="notation:Edge" xmi:id="_NhqOECokEemQnOUhg0mU1A" type="4001" element="_NhfO9iokEemQnOUhg0mU1A" source="_J8rEYCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A">
1508 <children xmi:type="notation:Node" xmi:id="_NhqOFCokEemQnOUhg0mU1A" type="6001">
1509 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOFSokEemQnOUhg0mU1A" y="-10"/>
1510 </children>
1511 <children xmi:type="notation:Node" xmi:id="_NhqOFiokEemQnOUhg0mU1A" type="6002">
1512 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOFyokEemQnOUhg0mU1A" y="10"/>
1513 </children>
1514 <children xmi:type="notation:Node" xmi:id="_NhqOGCokEemQnOUhg0mU1A" type="6003">
1515 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NhqOGSokEemQnOUhg0mU1A" y="10"/>
1516 </children>
1517 <styles xmi:type="notation:ConnectorStyle" xmi:id="_NhqOESokEemQnOUhg0mU1A" routing="Tree"/>
1518 <styles xmi:type="notation:FontStyle" xmi:id="_NhqOEiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1519 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NhqOEyokEemQnOUhg0mU1A" points="[0, 0, 0, 71]$[0, -71, 0, 0]"/>
1520 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NhqOGiokEemQnOUhg0mU1A" id="(0.39166666666666666,0.07)"/>
1521 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NhqOGyokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1522 </edges>
1523 <edges xmi:type="notation:Edge" xmi:id="_NxBfwCokEemQnOUhg0mU1A" type="4001" element="_Nw0rfyokEemQnOUhg0mU1A" source="_MS4GwCokEemQnOUhg0mU1A" target="_QR5BYCohEemQnOUhg0mU1A">
1524 <children xmi:type="notation:Node" xmi:id="_NxCG0CokEemQnOUhg0mU1A" type="6001">
1525 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG0SokEemQnOUhg0mU1A" y="-10"/>
1526 </children>
1527 <children xmi:type="notation:Node" xmi:id="_NxCG0iokEemQnOUhg0mU1A" type="6002">
1528 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG0yokEemQnOUhg0mU1A" y="10"/>
1529 </children>
1530 <children xmi:type="notation:Node" xmi:id="_NxCG1CokEemQnOUhg0mU1A" type="6003">
1531 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NxCG1SokEemQnOUhg0mU1A" y="10"/>
1532 </children>
1533 <styles xmi:type="notation:ConnectorStyle" xmi:id="_NxBfwSokEemQnOUhg0mU1A" routing="Tree"/>
1534 <styles xmi:type="notation:FontStyle" xmi:id="_NxBfwiokEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1535 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NxBfwyokEemQnOUhg0mU1A" points="[0, 0, 91, 71]$[-91, -71, 0, 0]"/>
1536 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NxCG1iokEemQnOUhg0mU1A" id="(0.22033898305084745,0.0)"/>
1537 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NxCG1yokEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1538 </edges>
1539 <edges xmi:type="notation:Edge" xmi:id="_RDmDwCokEemQnOUhg0mU1A" type="4001" element="_RDeH_CokEemQnOUhg0mU1A" source="_QR5BYCohEemQnOUhg0mU1A" target="_OHUAMCohEemQnOUhg0mU1A">
1540 <children xmi:type="notation:Node" xmi:id="_RDmDxCokEemQnOUhg0mU1A" type="6001">
1541 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDxSokEemQnOUhg0mU1A" x="31" y="-37"/>
1542 </children>
1543 <children xmi:type="notation:Node" xmi:id="_RDmDxiokEemQnOUhg0mU1A" type="6002">
1544 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDxyokEemQnOUhg0mU1A" y="10"/>
1545 </children>
1546 <children xmi:type="notation:Node" xmi:id="_RDmDyCokEemQnOUhg0mU1A" type="6003">
1547 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RDmDySokEemQnOUhg0mU1A" y="10"/>
1548 </children>
1549 <styles xmi:type="notation:ConnectorStyle" xmi:id="_RDmDwSokEemQnOUhg0mU1A" routing="Rectilinear"/>
1550 <styles xmi:type="notation:FontStyle" xmi:id="_RDmDwiokEemQnOUhg0mU1A" fontColor="7490599" fontName="Cantarell" fontHeight="8"/>
1551 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RDmDwyokEemQnOUhg0mU1A" points="[0, 0, 90, 120]$[0, -120, 90, 0]$[-90, -120, 0, 0]"/>
1552 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RDmq0CokEemQnOUhg0mU1A" id="(0.8813559322033898,0.0)"/>
1553 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RDmq0SokEemQnOUhg0mU1A" id="(1.0,0.5)"/>
1554 </edges>
1555 <edges xmi:type="notation:Edge" xmi:id="_AvKgAC1mEemQnOUhg0mU1A" type="4001" element="_AvDyVi1mEemQnOUhg0mU1A" source="_DB1gkCohEemQnOUhg0mU1A" target="_6hZ9QC1lEemQnOUhg0mU1A">
1556 <children xmi:type="notation:Node" xmi:id="_AvKgBC1mEemQnOUhg0mU1A" type="6001">
1557 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AvKgBS1mEemQnOUhg0mU1A" y="-10"/>
1558 </children>
1559 <children xmi:type="notation:Node" xmi:id="_AvLHEC1mEemQnOUhg0mU1A" type="6002">
1560 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AvLHES1mEemQnOUhg0mU1A" y="10"/>
1561 </children>
1562 <children xmi:type="notation:Node" xmi:id="_AvLHEi1mEemQnOUhg0mU1A" type="6003">
1563 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AvLHEy1mEemQnOUhg0mU1A" y="10"/>
1564 </children>
1565 <styles xmi:type="notation:ConnectorStyle" xmi:id="_AvKgAS1mEemQnOUhg0mU1A" routing="Tree"/>
1566 <styles xmi:type="notation:FontStyle" xmi:id="_AvKgAi1mEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1567 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AvKgAy1mEemQnOUhg0mU1A" points="[0, 0, -150, 116]$[150, -116, 0, 0]"/>
1568 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AvLHFC1mEemQnOUhg0mU1A" id="(0.3813559322033898,0.0)"/>
1569 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AvLHFS1mEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1570 </edges>
1571 <edges xmi:type="notation:Edge" xmi:id="_5G5RoC1mEemQnOUhg0mU1A" type="4001" element="_5GwH1C1mEemQnOUhg0mU1A" source="_OHUAMCohEemQnOUhg0mU1A" target="_27i0YC1mEemQnOUhg0mU1A">
1572 <children xmi:type="notation:Node" xmi:id="_5G5RpC1mEemQnOUhg0mU1A" type="6001">
1573 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5G5RpS1mEemQnOUhg0mU1A" y="-10"/>
1574 </children>
1575 <children xmi:type="notation:Node" xmi:id="_5G5Rpi1mEemQnOUhg0mU1A" type="6002">
1576 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5G5Rpy1mEemQnOUhg0mU1A" y="10"/>
1577 </children>
1578 <children xmi:type="notation:Node" xmi:id="_5G5RqC1mEemQnOUhg0mU1A" type="6003">
1579 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5G5RqS1mEemQnOUhg0mU1A" y="10"/>
1580 </children>
1581 <styles xmi:type="notation:ConnectorStyle" xmi:id="_5G5RoS1mEemQnOUhg0mU1A" routing="Tree"/>
1582 <styles xmi:type="notation:FontStyle" xmi:id="_5G5Roi1mEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1583 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5G5Roy1mEemQnOUhg0mU1A" points="[0, 0, -135, 75]$[135, -75, 0, 0]"/>
1584 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5G5Rqi1mEemQnOUhg0mU1A" id="(0.5084745762711864,0.0)"/>
1585 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5G5Rqy1mEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1586 </edges>
1587 <edges xmi:type="notation:Edge" xmi:id="_PedJgC1nEemQnOUhg0mU1A" type="4001" element="_PeXDBy1nEemQnOUhg0mU1A" source="_-fSIEC1lEemQnOUhg0mU1A" target="_6hZ9QC1lEemQnOUhg0mU1A">
1588 <children xmi:type="notation:Node" xmi:id="_PedwkC1nEemQnOUhg0mU1A" type="6001">
1589 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PedwkS1nEemQnOUhg0mU1A" y="-10"/>
1590 </children>
1591 <children xmi:type="notation:Node" xmi:id="_Pedwki1nEemQnOUhg0mU1A" type="6002">
1592 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Pedwky1nEemQnOUhg0mU1A" y="10"/>
1593 </children>
1594 <children xmi:type="notation:Node" xmi:id="_PedwlC1nEemQnOUhg0mU1A" type="6003">
1595 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PedwlS1nEemQnOUhg0mU1A" y="10"/>
1596 </children>
1597 <styles xmi:type="notation:ConnectorStyle" xmi:id="_PedJgS1nEemQnOUhg0mU1A" routing="Tree"/>
1598 <styles xmi:type="notation:FontStyle" xmi:id="_PedJgi1nEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1599 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PedJgy1nEemQnOUhg0mU1A" points="[0, 0, 107, 105]$[-107, -105, 0, 0]"/>
1600 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Pedwli1nEemQnOUhg0mU1A" id="(0.2542372881355932,0.0)"/>
1601 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Pedwly1nEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1602 </edges>
1603 <edges xmi:type="notation:Edge" xmi:id="_Qd83oC1nEemQnOUhg0mU1A" type="4001" element="_Qd0UzC1nEemQnOUhg0mU1A" source="_7y8oMC1mEemQnOUhg0mU1A" target="_27i0YC1mEemQnOUhg0mU1A">
1604 <children xmi:type="notation:Node" xmi:id="_Qd83pC1nEemQnOUhg0mU1A" type="6001">
1605 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Qd83pS1nEemQnOUhg0mU1A" y="-10"/>
1606 </children>
1607 <children xmi:type="notation:Node" xmi:id="_Qd83pi1nEemQnOUhg0mU1A" type="6002">
1608 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Qd83py1nEemQnOUhg0mU1A" y="10"/>
1609 </children>
1610 <children xmi:type="notation:Node" xmi:id="_Qd83qC1nEemQnOUhg0mU1A" type="6003">
1611 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Qd83qS1nEemQnOUhg0mU1A" y="10"/>
1612 </children>
1613 <styles xmi:type="notation:ConnectorStyle" xmi:id="_Qd83oS1nEemQnOUhg0mU1A" routing="Tree"/>
1614 <styles xmi:type="notation:FontStyle" xmi:id="_Qd83oi1nEemQnOUhg0mU1A" fontName="Cantarell" fontHeight="8"/>
1615 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Qd83oy1nEemQnOUhg0mU1A" points="[0, 0, 167, 135]$[-167, -135, 0, 0]"/>
1616 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Qd9esC1nEemQnOUhg0mU1A" id="(0.25,0.03)"/>
1617 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Qd9esS1nEemQnOUhg0mU1A" id="(0.5,0.5)"/>
1618 </edges>
1619 </data>
1620 </ownedAnnotationEntries>
1621 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_DBuy4CohEemQnOUhg0mU1A" name="FaultTree" tooltipText="" outgoingEdges="_RSW_4CohEemQnOUhg0mU1A _Ty0KdiohEemQnOUhg0mU1A _AvDyVi1mEemQnOUhg0mU1A" width="12" height="10">
1622 <target xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/>
1623 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/>
1624 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1625 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1626 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1627 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_DBuy4SohEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1628 <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"/>
1629 </ownedStyle>
1630 <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']"/>
1631 </ownedDiagramElements>
1632 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_OHKPMCohEemQnOUhg0mU1A" name="RandomEvent" tooltipText="" outgoingEdges="_5GwH1C1mEemQnOUhg0mU1A" incomingEdges="_RSW_4CohEemQnOUhg0mU1A _Ty0KdiohEemQnOUhg0mU1A _ahdMsCohEemQnOUhg0mU1A _a2TbUyohEemQnOUhg0mU1A _RDeH_CokEemQnOUhg0mU1A" width="12" height="10">
1633 <target xmi:type="ecore:EClass" href="model/ft.ecore#//RandomEvent"/>
1634 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//RandomEvent"/>
1635 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1636 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1637 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1638 <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">
1639 <labelFormat>italic</labelFormat>
1640 <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"/>
1641 </ownedStyle>
1642 <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']"/>
1643 <ownedElements xmi:type="diagram:DNodeListElement" uid="_WsKWICohEemQnOUhg0mU1A" name="name : EString" tooltipText="">
1644 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//RandomEvent/name"/>
1645 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//RandomEvent/name"/>
1646 <ownedStyle xmi:type="diagram:BundledImage" uid="_XqmUVSohEemQnOUhg0mU1A" labelAlignment="LEFT">
1647 <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"/>
1648 </ownedStyle>
1649 <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']"/>
1650 </ownedElements>
1651 </ownedDiagramElements>
1652 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_PfCoICohEemQnOUhg0mU1A" name="BasicEvent" tooltipText="" outgoingEdges="_ahdMsCohEemQnOUhg0mU1A _naRSOSohEemQnOUhg0mU1A" width="12" height="10">
1653 <target xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/>
1654 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/>
1655 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1656 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1657 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1658 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_PfCoISohEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1659 <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"/>
1660 </ownedStyle>
1661 <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']"/>
1662 </ownedDiagramElements>
1663 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_QRvQYCohEemQnOUhg0mU1A" name="Gate" tooltipText="" outgoingEdges="_a2TbUyohEemQnOUhg0mU1A _RDeH_CokEemQnOUhg0mU1A" incomingEdges="_NOpLfCokEemQnOUhg0mU1A _NhfO9iokEemQnOUhg0mU1A _Nw0rfyokEemQnOUhg0mU1A" width="12" height="10">
1664 <target xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/>
1665 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/>
1666 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1667 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1668 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1669 <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">
1670 <labelFormat>italic</labelFormat>
1671 <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"/>
1672 </ownedStyle>
1673 <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']"/>
1674 </ownedDiagramElements>
1675 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_RSW_4CohEemQnOUhg0mU1A" name="[0..*] events" sourceNode="_DBuy4CohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A">
1676 <target xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/events"/>
1677 <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/events"/>
1678 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_RSXm8yohEemQnOUhg0mU1A" description="_RSXm8CohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
1679 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_RSXm9SohEemQnOUhg0mU1A" showIcon="false">
1680 <customFeatures>labelSize</customFeatures>
1681 </centerLabelStyle>
1682 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_RSXm9CohEemQnOUhg0mU1A" showIcon="false" labelColor="39,76,114">
1683 <customFeatures>labelSize</customFeatures>
1684 </endLabelStyle>
1685 </ownedStyle>
1686 <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']"/>
1687 </ownedDiagramElements>
1688 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Ty0KdiohEemQnOUhg0mU1A" name="[1..1] topEvent" sourceNode="_DBuy4CohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A">
1689 <target xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/topEvent"/>
1690 <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//FaultTree/topEvent"/>
1691 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Um-LQyohEemQnOUhg0mU1A" description="_Um-LQCohEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1692 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Um-LRSohEemQnOUhg0mU1A" showIcon="false">
1693 <labelFormat>bold</labelFormat>
1694 </centerLabelStyle>
1695 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_Um-LRCohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1696 </ownedStyle>
1697 <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']"/>
1698 </ownedDiagramElements>
1699 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_ahdMsCohEemQnOUhg0mU1A" sourceNode="_PfCoICohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A">
1700 <target xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/>
1701 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//BasicEvent"/>
1702 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_ahdzwCohEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1703 <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"/>
1704 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_ahdzwSohEemQnOUhg0mU1A" showIcon="false">
1705 <labelFormat>italic</labelFormat>
1706 </beginLabelStyle>
1707 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_ahdzwiohEemQnOUhg0mU1A" showIcon="false"/>
1708 </ownedStyle>
1709 <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']"/>
1710 </ownedDiagramElements>
1711 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_a2TbUyohEemQnOUhg0mU1A" sourceNode="_QRvQYCohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A">
1712 <target xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/>
1713 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Gate"/>
1714 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_a2TbVCohEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1715 <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"/>
1716 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_a2TbVSohEemQnOUhg0mU1A" showIcon="false">
1717 <labelFormat>italic</labelFormat>
1718 </beginLabelStyle>
1719 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_a2TbViohEemQnOUhg0mU1A" showIcon="false"/>
1720 </ownedStyle>
1721 <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']"/>
1722 </ownedDiagramElements>
1723 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_fC-3ICohEemQnOUhg0mU1A" name="Distribution" tooltipText="" incomingEdges="_naRSOSohEemQnOUhg0mU1A _qWGKLCohEemQnOUhg0mU1A _quKE2SohEemQnOUhg0mU1A" width="12" height="10">
1724 <target xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/>
1725 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Distribution"/>
1726 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1727 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1728 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1729 <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">
1730 <labelFormat>italic</labelFormat>
1731 <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"/>
1732 </ownedStyle>
1733 <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']"/>
1734 </ownedDiagramElements>
1735 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_g_tpkCohEemQnOUhg0mU1A" name="ConstantDistribution" tooltipText="" outgoingEdges="_qWGKLCohEemQnOUhg0mU1A" width="12" height="10">
1736 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/>
1737 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/>
1738 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1739 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1740 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1741 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_UlyYKyokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1742 <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"/>
1743 </ownedStyle>
1744 <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']"/>
1745 <ownedElements xmi:type="diagram:DNodeListElement" uid="_UPA24CokEemQnOUhg0mU1A" name="p : EDouble = 0.0" tooltipText="">
1746 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantDistribution/p"/>
1747 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantDistribution/p"/>
1748 <ownedStyle xmi:type="diagram:BundledImage" uid="_Uly_MiokEemQnOUhg0mU1A" labelAlignment="LEFT">
1749 <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"/>
1750 </ownedStyle>
1751 <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']"/>
1752 </ownedElements>
1753 </ownedDiagramElements>
1754 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_kXGcICohEemQnOUhg0mU1A" name="ExponentialDistribution" tooltipText="" outgoingEdges="_quKE2SohEemQnOUhg0mU1A" width="12" height="10">
1755 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/>
1756 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/>
1757 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1758 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1759 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1760 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_V06dsyokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1761 <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"/>
1762 </ownedStyle>
1763 <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']"/>
1764 <ownedElements xmi:type="diagram:DNodeListElement" uid="_VU8kMCokEemQnOUhg0mU1A" name="lambda : EDouble = 0.0" tooltipText="">
1765 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ExponentialDistribution/lambda"/>
1766 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ExponentialDistribution/lambda"/>
1767 <ownedStyle xmi:type="diagram:BundledImage" uid="_V07EwyokEemQnOUhg0mU1A" labelAlignment="LEFT">
1768 <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"/>
1769 </ownedStyle>
1770 <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']"/>
1771 </ownedElements>
1772 </ownedDiagramElements>
1773 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_naRSOSohEemQnOUhg0mU1A" name="[1..1] distribution" sourceNode="_PfCoICohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A">
1774 <target xmi:type="ecore:EReference" href="model/ft.ecore#//BasicEvent/distribution"/>
1775 <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//BasicEvent/distribution"/>
1776 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_n3A4nCohEemQnOUhg0mU1A" description="_n3A4mSohEemQnOUhg0mU1A" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
1777 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_n3A4niohEemQnOUhg0mU1A" showIcon="false">
1778 <labelFormat>bold</labelFormat>
1779 </centerLabelStyle>
1780 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_n3A4nSohEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1781 </ownedStyle>
1782 <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']"/>
1783 </ownedDiagramElements>
1784 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_qWGKLCohEemQnOUhg0mU1A" sourceNode="_g_tpkCohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A">
1785 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/>
1786 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantDistribution"/>
1787 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Ul00bCokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1788 <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"/>
1789 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_Ul00bSokEemQnOUhg0mU1A" showIcon="false">
1790 <labelFormat>italic</labelFormat>
1791 </beginLabelStyle>
1792 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Ul00biokEemQnOUhg0mU1A" showIcon="false"/>
1793 </ownedStyle>
1794 <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']"/>
1795 </ownedDiagramElements>
1796 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_quKE2SohEemQnOUhg0mU1A" sourceNode="_kXGcICohEemQnOUhg0mU1A" targetNode="_fC-3ICohEemQnOUhg0mU1A">
1797 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/>
1798 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ExponentialDistribution"/>
1799 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_V09hCSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1800 <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"/>
1801 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_V09hCiokEemQnOUhg0mU1A" showIcon="false">
1802 <labelFormat>italic</labelFormat>
1803 </beginLabelStyle>
1804 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_V09hCyokEemQnOUhg0mU1A" showIcon="false"/>
1805 </ownedStyle>
1806 <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']"/>
1807 </ownedDiagramElements>
1808 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_JnsS4CokEemQnOUhg0mU1A" name="AndGate" tooltipText="" outgoingEdges="_NOpLfCokEemQnOUhg0mU1A" width="12" height="10">
1809 <target xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/>
1810 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/>
1811 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1812 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1813 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1814 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Jns58CokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1815 <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"/>
1816 </ownedStyle>
1817 <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']"/>
1818 </ownedDiagramElements>
1819 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8gFQCokEemQnOUhg0mU1A" name="OrGate" tooltipText="" outgoingEdges="_NhfO9iokEemQnOUhg0mU1A" width="12" height="10">
1820 <target xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/>
1821 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/>
1822 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1823 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1824 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1825 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8gsUCokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1826 <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"/>
1827 </ownedStyle>
1828 <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']"/>
1829 </ownedDiagramElements>
1830 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_MSuVwCokEemQnOUhg0mU1A" name="KOfMGate" tooltipText="" outgoingEdges="_Nw0rfyokEemQnOUhg0mU1A" width="12" height="10">
1831 <target xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/>
1832 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/>
1833 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1834 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1835 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1836 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_P4gwuSokEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1837 <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"/>
1838 </ownedStyle>
1839 <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']"/>
1840 <ownedElements xmi:type="diagram:DNodeListElement" uid="_O6aJsCokEemQnOUhg0mU1A" name="k : EInt" tooltipText="">
1841 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/k"/>
1842 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//KOfMGate/k"/>
1843 <ownedStyle xmi:type="diagram:BundledImage" uid="_PNtgMyokEemQnOUhg0mU1A" labelAlignment="LEFT">
1844 <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"/>
1845 </ownedStyle>
1846 <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']"/>
1847 </ownedElements>
1848 </ownedDiagramElements>
1849 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_NOpLfCokEemQnOUhg0mU1A" sourceNode="_JnsS4CokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A">
1850 <target xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/>
1851 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//AndGate"/>
1852 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_NOpLfSokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1853 <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"/>
1854 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NOpLfiokEemQnOUhg0mU1A" showIcon="false">
1855 <labelFormat>italic</labelFormat>
1856 </beginLabelStyle>
1857 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_NOpLfyokEemQnOUhg0mU1A" showIcon="false"/>
1858 </ownedStyle>
1859 <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']"/>
1860 </ownedDiagramElements>
1861 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_NhfO9iokEemQnOUhg0mU1A" sourceNode="_J8gFQCokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A">
1862 <target xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/>
1863 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//OrGate"/>
1864 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_NhfO9yokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1865 <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"/>
1866 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NhfO-CokEemQnOUhg0mU1A" showIcon="false">
1867 <labelFormat>italic</labelFormat>
1868 </beginLabelStyle>
1869 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_NhfO-SokEemQnOUhg0mU1A" showIcon="false"/>
1870 </ownedStyle>
1871 <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']"/>
1872 </ownedDiagramElements>
1873 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Nw0rfyokEemQnOUhg0mU1A" sourceNode="_MSuVwCokEemQnOUhg0mU1A" targetNode="_QRvQYCohEemQnOUhg0mU1A">
1874 <target xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/>
1875 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//KOfMGate"/>
1876 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_P4il8CokEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1877 <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"/>
1878 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_P4il8SokEemQnOUhg0mU1A" showIcon="false">
1879 <labelFormat>italic</labelFormat>
1880 </beginLabelStyle>
1881 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_P4il8iokEemQnOUhg0mU1A" showIcon="false"/>
1882 </ownedStyle>
1883 <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']"/>
1884 </ownedDiagramElements>
1885 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_RDeH_CokEemQnOUhg0mU1A" name="[2..*] inputEvents" sourceNode="_QRvQYCohEemQnOUhg0mU1A" targetNode="_OHKPMCohEemQnOUhg0mU1A">
1886 <target xmi:type="ecore:EReference" href="model/ft.ecore#//Gate/inputEvents"/>
1887 <semanticElements xmi:type="ecore:EReference" href="model/ft.ecore#//Gate/inputEvents"/>
1888 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_E3kf1i1mEemQnOUhg0mU1A" description="_Um-LQCohEemQnOUhg0mU1A" routingStyle="manhattan" strokeColor="0,0,0">
1889 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_E3kf2C1mEemQnOUhg0mU1A" showIcon="false">
1890 <labelFormat>bold</labelFormat>
1891 </centerLabelStyle>
1892 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_E3kf1y1mEemQnOUhg0mU1A" labelSize="6" showIcon="false" labelColor="39,76,114"/>
1893 </ownedStyle>
1894 <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']"/>
1895 </ownedDiagramElements>
1896 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_6hHCUC1lEemQnOUhg0mU1A" name="ReliabilityModel" tooltipText="" incomingEdges="_AvDyVi1mEemQnOUhg0mU1A _PeXDBy1nEemQnOUhg0mU1A" width="12" height="10">
1897 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ReliabilityModel"/>
1898 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ReliabilityModel"/>
1899 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1900 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1901 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1902 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="__1a0oi1lEemQnOUhg0mU1A" 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">
1903 <labelFormat>italic</labelFormat>
1904 <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"/>
1905 </ownedStyle>
1906 <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']"/>
1907 </ownedDiagramElements>
1908 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_-fKzUC1lEemQnOUhg0mU1A" name="ConstantModel" tooltipText="" outgoingEdges="_PeXDBy1nEemQnOUhg0mU1A" width="12" height="10">
1909 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantModel"/>
1910 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantModel"/>
1911 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1912 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1913 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1914 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_OPmw1y1nEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1915 <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"/>
1916 </ownedStyle>
1917 <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']"/>
1918 <ownedElements xmi:type="diagram:DNodeListElement" uid="_NnscMC1nEemQnOUhg0mU1A" name="failed : EBoolean = false" tooltipText="">
1919 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantModel/failed"/>
1920 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantModel/failed"/>
1921 <ownedStyle xmi:type="diagram:BundledImage" uid="_OPn-4y1nEemQnOUhg0mU1A" labelAlignment="LEFT">
1922 <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"/>
1923 </ownedStyle>
1924 <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']"/>
1925 </ownedElements>
1926 </ownedDiagramElements>
1927 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_AvDyVi1mEemQnOUhg0mU1A" sourceNode="_DBuy4CohEemQnOUhg0mU1A" targetNode="_6hHCUC1lEemQnOUhg0mU1A">
1928 <target xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/>
1929 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//FaultTree"/>
1930 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_AvDyVy1mEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1931 <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"/>
1932 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_AvDyWC1mEemQnOUhg0mU1A" showIcon="false">
1933 <labelFormat>italic</labelFormat>
1934 </beginLabelStyle>
1935 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_AvDyWS1mEemQnOUhg0mU1A" showIcon="false"/>
1936 </ownedStyle>
1937 <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']"/>
1938 </ownedDiagramElements>
1939 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_27bfoC1mEemQnOUhg0mU1A" name="Event" tooltipText="" incomingEdges="_5GwH1C1mEemQnOUhg0mU1A _Qd0UzC1nEemQnOUhg0mU1A" width="12" height="10">
1940 <target xmi:type="ecore:EClass" href="model/ft.ecore#//Event"/>
1941 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//Event"/>
1942 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1943 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1944 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1945 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Dfwi-i1nEemQnOUhg0mU1A" 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">
1946 <labelFormat>italic</labelFormat>
1947 <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"/>
1948 </ownedStyle>
1949 <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']"/>
1950 </ownedDiagramElements>
1951 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_5GwH1C1mEemQnOUhg0mU1A" sourceNode="_OHKPMCohEemQnOUhg0mU1A" targetNode="_27bfoC1mEemQnOUhg0mU1A">
1952 <target xmi:type="ecore:EClass" href="model/ft.ecore#//RandomEvent"/>
1953 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//RandomEvent"/>
1954 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_5GwuwC1mEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1955 <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"/>
1956 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_5GwuwS1mEemQnOUhg0mU1A" showIcon="false">
1957 <labelFormat>italic</labelFormat>
1958 </beginLabelStyle>
1959 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_5Gwuwi1mEemQnOUhg0mU1A" showIcon="false"/>
1960 </ownedStyle>
1961 <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']"/>
1962 </ownedDiagramElements>
1963 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_7y0sYC1mEemQnOUhg0mU1A" name="ConstantEvent" tooltipText="" outgoingEdges="_Qd0UzC1nEemQnOUhg0mU1A" width="12" height="10">
1964 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantEvent"/>
1965 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantEvent"/>
1966 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
1967 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
1968 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
1969 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_dKRZWS1nEemQnOUhg0mU1A" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
1970 <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"/>
1971 </ownedStyle>
1972 <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']"/>
1973 <ownedElements xmi:type="diagram:DNodeListElement" uid="_cnpNUC1nEemQnOUhg0mU1A" name="failed : EBoolean = false" tooltipText="">
1974 <target xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantEvent/failed"/>
1975 <semanticElements xmi:type="ecore:EAttribute" href="model/ft.ecore#//ConstantEvent/failed"/>
1976 <ownedStyle xmi:type="diagram:BundledImage" uid="_dKSnYy1nEemQnOUhg0mU1A" labelAlignment="LEFT">
1977 <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"/>
1978 </ownedStyle>
1979 <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']"/>
1980 </ownedElements>
1981 </ownedDiagramElements>
1982 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_PeXDBy1nEemQnOUhg0mU1A" sourceNode="_-fKzUC1lEemQnOUhg0mU1A" targetNode="_6hHCUC1lEemQnOUhg0mU1A">
1983 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantModel"/>
1984 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantModel"/>
1985 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_PeXDCC1nEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1986 <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"/>
1987 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_PeXDCS1nEemQnOUhg0mU1A" showIcon="false">
1988 <labelFormat>italic</labelFormat>
1989 </beginLabelStyle>
1990 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_PeXDCi1nEemQnOUhg0mU1A" showIcon="false"/>
1991 </ownedStyle>
1992 <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']"/>
1993 </ownedDiagramElements>
1994 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Qd0UzC1nEemQnOUhg0mU1A" sourceNode="_7y0sYC1mEemQnOUhg0mU1A" targetNode="_27bfoC1mEemQnOUhg0mU1A">
1995 <target xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantEvent"/>
1996 <semanticElements xmi:type="ecore:EClass" href="model/ft.ecore#//ConstantEvent"/>
1997 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_dKUcli1nEemQnOUhg0mU1A" targetArrow="InputClosedArrow" routingStyle="tree">
1998 <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"/>
1999 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_dKUcly1nEemQnOUhg0mU1A" showIcon="false">
2000 <labelFormat>italic</labelFormat>
2001 </beginLabelStyle>
2002 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_dKUcmC1nEemQnOUhg0mU1A" showIcon="false"/>
2003 </ownedStyle>
2004 <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']"/>
2005 </ownedDiagramElements>
2006 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
2007 <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_Bnj68SohEemQnOUhg0mU1A"/>
2008 <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/>
2009 <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']"/>
2010 <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']"/>
2011 <target xmi:type="ecore:EPackage" href="model/ft.ecore#/"/>
2012 </diagram:DSemanticDiagram>
2013</xmi:XMI>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend
deleted file mode 100644
index ddf2c266..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend
+++ /dev/null
@@ -1,48 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.model.util
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
7
8final class CftExtensions {
9 private new() {
10 throw new IllegalStateException("This is a static utility class and should not be instantiated directly.")
11 }
12
13 static def isMoreConcreteThan(Modality newModality, Modality original) {
14 switch (original) {
15 case MAY: newModality != Modality.MAY
16 case CURRENT: newModality == Modality.MUST
17 case MUST: false
18 }
19 }
20
21 static def currentlyExists(ModalElement element) {
22 element.exists != Modality.MAY
23 }
24
25 static def mustExist(ModalElement element) {
26 element.exists == Modality.MUST
27 }
28
29 static def appearsExactlyOnce(Component componentInstance) {
30 componentInstance.mustExist && !componentInstance.multipleAllowed
31 }
32
33 /**
34 * Checks whether the connection and its target component are both currently present.
35 *
36 * A currently present connection without a present target component is a partial model error,
37 * so we throw an exception instead of returning <code>false</code>.
38 *
39 * @param connection The connection to check.
40 * @throws IllegalStateException When the target component is not currently present.
41 */
42 static def isCurrentlyConnected(Connection connection) {
43 if (connection.output.component.currentlyExists) {
44 throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist")
45 }
46 connection.currentlyExists
47 }
48}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin
deleted file mode 100644
index 0e63880f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore
deleted file mode 100644
index 2ba78568..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.CftExtensions.java._trace
2/.CftExtensions.xtendbin
3/CftExtensions.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java
deleted file mode 100644
index dbc6b279..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java
+++ /dev/null
@@ -1,69 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.model.util;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
8
9@SuppressWarnings("all")
10public final class CftExtensions {
11 private CftExtensions() {
12 throw new IllegalStateException("This is a static utility class and should not be instantiated directly.");
13 }
14
15 public static boolean isMoreConcreteThan(final Modality newModality, final Modality original) {
16 boolean _switchResult = false;
17 if (original != null) {
18 switch (original) {
19 case MAY:
20 _switchResult = (!Objects.equal(newModality, Modality.MAY));
21 break;
22 case CURRENT:
23 _switchResult = Objects.equal(newModality, Modality.MUST);
24 break;
25 case MUST:
26 _switchResult = false;
27 break;
28 default:
29 break;
30 }
31 }
32 return _switchResult;
33 }
34
35 public static boolean currentlyExists(final ModalElement element) {
36 Modality _exists = element.getExists();
37 return (!Objects.equal(_exists, Modality.MAY));
38 }
39
40 public static boolean mustExist(final ModalElement element) {
41 Modality _exists = element.getExists();
42 return Objects.equal(_exists, Modality.MUST);
43 }
44
45 public static boolean appearsExactlyOnce(final Component componentInstance) {
46 return (CftExtensions.mustExist(componentInstance) && (!componentInstance.isMultipleAllowed()));
47 }
48
49 /**
50 * Checks whether the connection and its target component are both currently present.
51 *
52 * A currently present connection without a present target component is a partial model error,
53 * so we throw an exception instead of returning <code>false</code>.
54 *
55 * @param connection The connection to check.
56 * @throws IllegalStateException When the target component is not currently present.
57 */
58 public static boolean isCurrentlyConnected(final Connection connection) {
59 boolean _xblockexpression = false;
60 {
61 boolean _currentlyExists = CftExtensions.currentlyExists(connection.getOutput().getComponent());
62 if (_currentlyExists) {
63 throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist");
64 }
65 _xblockexpression = CftExtensions.currentlyExists(connection);
66 }
67 return _xblockexpression;
68 }
69}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath
deleted file mode 100644
index 428337e5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
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="src" path="xtend-gen"/>
7 <classpathentry kind="output" path="bin"/>
8</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore
deleted file mode 100644
index ae3c1726..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore
+++ /dev/null
@@ -1 +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
deleted file mode 100644
index ba51fe06..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project
+++ /dev/null
@@ -1,34 +0,0 @@
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.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.pde.PluginNature</nature>
31 <nature>org.eclipse.jdt.core.javanature</nature>
32 <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
33 </natures>
34</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
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.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
deleted file mode 100644
index 5ee6a4f1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,22 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: Transformation
4Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.transformation
5Bundle-Version: 1.0.0.qualifier
6Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.transformation
7Bundle-RequiredExecutionEnvironment: JavaSE-1.8
8Require-Bundle: com.google.guava,
9 org.eclipse.xtext.xbase.lib,
10 org.eclipse.xtend.lib,
11 org.eclipse.xtend.lib.macro,
12 org.eclipse.emf.ecore,
13 org.eclipse.viatra.query.runtime,
14 org.eclipse.viatra.query.runtime.rete,
15 org.eclipse.viatra.query.runtime.localsearch,
16 hu.bme.mit.inf.dslreasoner.faulttree.components,
17 hu.bme.mit.inf.dslreasoner.logic.model,
18 org.apache.commons.lang;bundle-version="2.6.0"
19Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft,
20 hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft,
21 hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo,
22 hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties
deleted file mode 100644
index d8e2f0e9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
1source.. = src/,\
2 xtend-gen/
3output.. = bin/
4bin.includes = META-INF/,\
5 .
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend
deleted file mode 100644
index a522654c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent
7
8class Cft2FtTransformation {
9 def createFaultTree(ComponentFaultTree componentFaultTree) {
10 val materializer = new EventMaterializer
11 val topEvent = materializer.getOrMaterialize(componentFaultTree.topEvent)
12 switch (topEvent) {
13 ConstantEvent:
14 FtFactory.eINSTANCE.createConstantModel => [
15 failed = topEvent.failed
16 ]
17 RandomEvent: {
18 val builder = new FaultTreeBuilder
19 builder.addTopLevel(topEvent)
20 builder.faultTree
21 }
22 }
23 }
24}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend
deleted file mode 100644
index 102dc57e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend
+++ /dev/null
@@ -1,90 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft
2
3import com.google.common.collect.ImmutableSet
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent
7import java.util.Set
8import org.eclipse.xtend.lib.annotations.Data
9
10@Data
11class EventCollection {
12 val int falseEventCount
13 val int trueEventCount
14 val Set<RandomEvent> randomEvents
15
16 def containsFalseEvent() {
17 falseEventCount >= 1
18 }
19
20 def containsTrueEvent() {
21 trueEventCount >= 1
22 }
23
24 def getVariableEventCount() {
25 randomEvents.size
26 }
27
28 def containsRandomEvent() {
29 variableEventCount >= 1
30 }
31
32 def getCount() {
33 falseEventCount + trueEventCount + variableEventCount
34 }
35
36 def isEmpty() {
37 !containsFalseEvent && !containsTrueEvent && !containsRandomEvent
38 }
39
40 def containsExactlyOneRandomEvent() {
41 !containsFalseEvent && !containsTrueEvent && variableEventCount == 1
42 }
43
44 def toSingleRandomEvent() {
45 if (!containsExactlyOneRandomEvent) {
46 throw new IllegalStateException("Input collection is not a single random event")
47 }
48 randomEvents.head
49 }
50
51 static def builder() {
52 new Builder()
53 }
54
55 static class Builder {
56 var falseEventCount = 0
57 var trueEventCount = 0
58 val randomEventsBuilder = ImmutableSet.<RandomEvent>builder
59
60 private new() {
61 }
62
63 def add(Event event) {
64 switch (event) {
65 ConstantEvent:
66 if (event.failed) {
67 trueEventCount++
68 } else {
69 falseEventCount++
70 }
71 RandomEvent:
72 randomEventsBuilder.add(event)
73 default:
74 throw new IllegalArgumentException("Unknown event: " + event)
75 }
76 this
77 }
78
79 def addAll(EventCollection materializedEvens) {
80 falseEventCount += materializedEvens.falseEventCount
81 trueEventCount += materializedEvens.trueEventCount
82 randomEventsBuilder.addAll(materializedEvens.randomEvents)
83 this
84 }
85
86 def build() {
87 new EventCollection(falseEventCount, trueEventCount, randomEventsBuilder.build)
88 }
89 }
90}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend
deleted file mode 100644
index 6b3ed0d0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend
+++ /dev/null
@@ -1,208 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition
11import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
12import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent
13import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event
14import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory
15import java.util.LinkedHashSet
16import java.util.Map
17import org.eclipse.emf.ecore.util.EcoreUtil
18import org.eclipse.xtend.lib.annotations.Data
19
20import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.*
21
22class EventMaterializer {
23 extension val FtFactory = FtFactory.eINSTANCE
24
25 val Map<EventKey<EventDeclaration>, Event> materializationCache = newHashMap
26 val Map<EventKey<InputEvent>, EventCollection> multipleInputCache = newHashMap
27 val ConstantEvent falseEvent
28 val ConstantEvent trueEvent
29 val path = new LinkedHashSet<EventKey<? extends EventDeclaration>>
30
31 new() {
32 falseEvent = createConstantEvent => [
33 failed = false
34 ]
35 trueEvent = createConstantEvent => [
36 failed = true
37 ]
38 }
39
40 def getOrMaterialize(Output output) {
41 getOrMaterialize(output.component, output.eventDeclaration)
42 }
43
44 def Event getOrMaterialize(Component component, EventDeclaration eventDeclaration) {
45 val eventKey = new EventKey(component, eventDeclaration)
46 pushEventKey(eventKey)
47 try {
48 // computeIfAbsent cannot be used recursively, so we must manually cache the event.
49 var event = materializationCache.get(eventKey)
50 if (event === null) {
51 event = materialize(component, eventDeclaration)
52 materializationCache.put(eventKey, event)
53 }
54 event
55 } finally {
56 popEventKey(eventKey)
57 }
58 }
59
60 protected def materialize(Component component, EventDeclaration eventDeclaration) {
61 val eventName = component.name + "_" + eventDeclaration.name
62 val event = switch (eventDeclaration) {
63 InputEvent:
64 return materializeConnectedEvent(component, eventDeclaration)
65 BasicEventDefinition: {
66 val basicEvent = createBasicEvent
67 basicEvent.distribution = EcoreUtil.copy(eventDeclaration.distribution)
68 basicEvent
69 }
70 GateDefinition: {
71 val inputs = collectInputs(component, eventDeclaration)
72 val gate = switch (eventDeclaration) {
73 AndGateDefinition:
74 if (inputs.containsFalseEvent) {
75 return falseEvent
76 } else if (inputs.empty) {
77 return trueEvent
78 } else if (inputs.containsExactlyOneRandomEvent) {
79 return inputs.toSingleRandomEvent
80 } else {
81 createAndGate
82 }
83 OrGateDefinition:
84 if (inputs.containsTrueEvent) {
85 return trueEvent
86 } else if (inputs.empty) {
87 return falseEvent
88 } else if (inputs.containsExactlyOneRandomEvent) {
89 return inputs.toSingleRandomEvent
90 } else {
91 createOrGate
92 }
93 KOfMGateDefinition: {
94 val requiredTrueInputs = inputs.count * eventDeclaration.k / eventDeclaration.m
95 val k = requiredTrueInputs - inputs.getTrueEventCount
96 val m = inputs.variableEventCount
97 if (k == 0) {
98 return trueEvent
99 } else if (k > m) {
100 return falseEvent
101 } else if (inputs.containsExactlyOneRandomEvent) {
102 return inputs.toSingleRandomEvent
103 } else if (k == 1) {
104 createOrGate
105 } else if (k == m) {
106 createAndGate
107 } else {
108 val kOfMGate = createKOfMGate
109 kOfMGate.k = k
110 kOfMGate
111 }
112 }
113 default:
114 throw new IllegalArgumentException("Unknown gate definition: " + eventDeclaration)
115 }
116 gate.inputEvents.addAll(inputs.getRandomEvents)
117 gate
118 }
119 default:
120 throw new IllegalArgumentException("Unknown event declaration: " + eventDeclaration)
121 }
122 event.name = eventName
123 event
124 }
125
126 protected def materializeConnectedEvent(Component component, InputEvent inputEvent) {
127 if (inputEvent.multiple) {
128 throw new IllegalArgumentException('''Cannot materialize multiple nput «component.name»_«inputEvent.name»''')
129 }
130 val input = findInput(component, inputEvent)
131 val incomingConnections = input.incomingConnections
132 if (incomingConnections.size != 1) {
133 throw new IllegalArgumentException('''Input «component.name»_«inputEvent.name» has «incomingConnections.size» connections instead of 1''')
134 }
135 val output = incomingConnections.head.output
136 getOrMaterialize(output.component, output.eventDeclaration)
137 }
138
139 protected def collectInputs(Component component, GateDefinition gateDefinition) {
140 val builder = EventCollection.builder
141 for (inputEventDeclaration : gateDefinition.inputEvents) {
142 switch (inputEventDeclaration) {
143 InputEvent case inputEventDeclaration.multiple: {
144 val materializedEvents = getOrMaterializeConnectedEvents(component, inputEventDeclaration)
145 builder.addAll(materializedEvents)
146 }
147 default:
148 builder.add(getOrMaterialize(component, inputEventDeclaration))
149 }
150 }
151 builder.build
152 }
153
154 protected def getOrMaterializeConnectedEvents(Component component, InputEvent inputEvent) {
155 val inputKey = new EventKey(component, inputEvent)
156 pushEventKey(inputKey)
157 try {
158 // computeIfAbsent cannot be used recursively, so we must manually cache the event.
159 var eventCollection = multipleInputCache.get(inputKey)
160 if (eventCollection === null) {
161 eventCollection = materializeConnectedEvents(component, inputEvent)
162 multipleInputCache.put(inputKey, eventCollection)
163 }
164 eventCollection
165 } finally {
166 popEventKey(inputKey)
167 }
168 }
169
170 protected def materializeConnectedEvents(Component component, InputEvent inputEvent) {
171 val input = findInput(component, inputEvent)
172 val builder = EventCollection.builder
173 for (connection : input.incomingConnections) {
174 if (connection.isCurrentlyConnected) {
175 val materializedEvent = getOrMaterialize(connection.output)
176 builder.add(materializedEvent)
177 }
178 }
179 builder.build
180 }
181
182 protected def findInput(Component component, InputEvent inputEvent) {
183 val input = component.inputs.findFirst[it.inputEvent == inputEvent]
184 if (input === null) {
185 throw new IllegalArgumentException('''No input «inputEvent» in component «component»''')
186 }
187 return input
188 }
189
190 private def pushEventKey(EventKey<? extends EventDeclaration> eventKey) {
191 if (!path.add(eventKey)) {
192 throw new IllegalStateException(
193 '''Circular dependency [«FOR ancestor : path»«ancestor», «ENDFOR»«eventKey»] detected''')
194 }
195 }
196
197 private def popEventKey(EventKey<? extends EventDeclaration> eventKey) {
198 path.remove(eventKey)
199 }
200
201 @Data
202 protected static class EventKey<T extends EventDeclaration> {
203 val Component component
204 val T event
205
206 override toString() '''«component.name»_«event.name»'''
207 }
208}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend
deleted file mode 100644
index 0b0afea6..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend
+++ /dev/null
@@ -1,39 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent
6import java.util.Collection
7import org.eclipse.xtend.lib.annotations.Accessors
8
9class FaultTreeBuilder {
10 @Accessors
11 val faultTree = FtFactory.eINSTANCE.createFaultTree
12
13 def addTopLevel(RandomEvent event) {
14 if (faultTree.topEvent !== null) {
15 throw new IllegalStateException("Top event was already set")
16 }
17 add(event)
18 faultTree.topEvent = event
19 }
20
21 protected def void add(RandomEvent event) {
22 if (faultTree.eContainer == faultTree) {
23 return
24 }
25 if (faultTree.eContainer !== null) {
26 throw new IllegalStateException("Event is already in a different fault tree")
27 }
28 faultTree.events += event
29 if (event instanceof Gate) {
30 addAll(event.inputEvents)
31 }
32 }
33
34 protected def addAll(Collection<RandomEvent> events) {
35 for (event : events) {
36 add(event)
37 }
38 }
39}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend
deleted file mode 100644
index 10c91fb4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend
+++ /dev/null
@@ -1,49 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
6import java.util.Map
7import org.eclipse.viatra.query.runtime.api.IPatternMatch
8import org.eclipse.xtend.lib.annotations.Accessors
9
10class ComponentFaultTreeTrace {
11 @Accessors val componentFaultTree = CftFactory.eINSTANCE.createComponentFaultTree
12
13 val nameGenerator = new ComponentNameGenerator
14 val Map<IPatternMatch, ComponentInstanceTrace> componentInstancesMap = newHashMap
15
16 def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition) {
17 instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false)
18 }
19
20 def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition, Modality exists,
21 boolean allowMultiple) {
22 if (componentInstancesMap.containsKey(patternMatch)) {
23 throw new IllegalArgumentException("Already instantiated component for match: " + patternMatch)
24 }
25 val componentTrace = new ComponentInstanceTrace(componentFaultTree, componenDefinition, nameGenerator,
26 exists, allowMultiple)
27 componentInstancesMap.put(patternMatch, componentTrace)
28 componentTrace
29 }
30
31 def setTopLevel(ComponentInstanceTrace trace) {
32 if (componentFaultTree.topEvent !== null) {
33 throw new IllegalArgumentException("Top level component already set")
34 }
35 val outputs = trace.outputs
36 if (outputs.size !== 1) {
37 throw new IllegalArgumentException("Top level component must have 1 output, got " + outputs.size +
38 " instead")
39 }
40 if (!trace.appearsExactlyOnce) {
41 throw new IllegalArgumentException("Top level must appear in the fault tree exactly once")
42 }
43 componentFaultTree.topEvent = outputs.head
44 }
45
46 def lookup(IPatternMatch patternMatch) {
47 componentInstancesMap.get(patternMatch)
48 }
49}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend
deleted file mode 100644
index 158ab2e1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend
+++ /dev/null
@@ -1,65 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import com.google.common.collect.Maps
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
11import java.util.Map
12
13import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.*
14
15class ComponentInstanceTrace {
16 val componentInstance = CftFactory.eINSTANCE.createComponent
17 val Map<InputEvent, InputTrace> inputEventsMap
18 val Map<EventDeclaration, Output> outputEventsMap
19
20 protected new(ComponentFaultTree faultTree, ComponentDefinition componentDefinition,
21 ComponentNameGenerator nameGenerator, Modality exists, boolean multipleAllowed) {
22 componentInstance.componentDefinition = componentDefinition
23 componentInstance.name = nameGenerator.nextName(componentDefinition)
24 componentInstance.exists = exists
25 componentInstance.multipleAllowed = multipleAllowed
26 inputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.inputEvents.size)
27 for (inputEvent : componentDefinition.inputEvents) {
28 val inputTrace = new InputTrace(componentInstance, inputEvent)
29 inputEventsMap.put(inputEvent, inputTrace)
30 }
31 outputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.outputEvents.size)
32 for (outputEvent : componentDefinition.outputEvents) {
33 val output = CftFactory.eINSTANCE.createOutput
34 output.eventDeclaration = outputEvent
35 componentInstance.outputs += output
36 outputEventsMap.put(outputEvent, output)
37 }
38 faultTree.components += componentInstance
39 }
40
41 def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent) {
42 assign(inputEvent, sourceComponent, outputEvent, Modality.MUST)
43 }
44
45 def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent,
46 Modality exists) {
47 val inputTrace = inputEventsMap.get(inputEvent)
48 if (inputTrace === null) {
49 throw new IllegalArgumentException("Unknown input: " + inputEvent)
50 }
51 val output = sourceComponent.outputEventsMap.get(outputEvent)
52 if (output === null) {
53 throw new IllegalArgumentException("Unknown output: " + outputEvent)
54 }
55 inputTrace.assign(output, exists)
56 }
57
58 protected def getOutputs() {
59 componentInstance.outputs
60 }
61
62 protected def appearsExactlyOnce() {
63 componentInstance.appearsExactlyOnce
64 }
65}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend
deleted file mode 100644
index 71d40a9b..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend
+++ /dev/null
@@ -1,16 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
4import java.util.Map
5
6class ComponentNameGenerator {
7 static val DEFAULT_NAME = "__unnamed"
8
9 val Map<ComponentDefinition, Integer> instanceCounts = newHashMap
10
11 def nextName(ComponentDefinition componentDefinition) {
12 val instanceCount = instanceCounts.getOrDefault(componentDefinition, 0)
13 instanceCounts.put(componentDefinition, instanceCount + 1)
14 (componentDefinition.name ?: DEFAULT_NAME) + instanceCount
15 }
16}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend
deleted file mode 100644
index 062de3df..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend
+++ /dev/null
@@ -1,28 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import com.google.common.collect.ImmutableList
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
5import java.util.List
6import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine
7
8class Ecore2CftTransformation {
9 val List<MappingHandler> mappingHandlers
10
11 new(TransformationDefinition transformationDefinition, ViatraQueryEngine viatraQueryEngine) {
12 val mappingQueries = new MappingQueries(transformationDefinition, viatraQueryEngine)
13 mappingHandlers = ImmutableList.copyOf(transformationDefinition.mappingDefinitions.map [ mappingDefinition |
14 new MappingHandler(mappingDefinition, mappingQueries)
15 ])
16 }
17
18 def createComponentFaultTree() {
19 val trace = new ComponentFaultTreeTrace
20 for (handler : mappingHandlers) {
21 handler.instantiateComponents(trace)
22 }
23 for (handler : mappingHandlers) {
24 handler.instantiateConnections(trace)
25 }
26 trace.componentFaultTree
27 }
28}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend
deleted file mode 100644
index b892eff1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend
+++ /dev/null
@@ -1,35 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
10import java.util.Map
11
12import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.*
13
14class InputTrace {
15 val Input input = CftFactory.eINSTANCE.createInput
16 val Map<Output, Connection> connectionsMap = newHashMap
17
18 protected new(Component component, InputEvent inputEvent) {
19 input.inputEvent = inputEvent
20 component.inputs += input
21 }
22
23 def void assign(Output output, Modality exists) {
24 val connection = connectionsMap.get(output)
25 if (connection === null) {
26 val newConnection = CftFactory.eINSTANCE.createConnection
27 newConnection.output = output
28 newConnection.exists = exists
29 input.incomingConnections += newConnection
30 connectionsMap.put(output, newConnection)
31 } else if (exists.isMoreConcreteThan(connection.exists)) {
32 connection.exists = exists
33 }
34 }
35}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend
deleted file mode 100644
index 3a06dcc3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend
+++ /dev/null
@@ -1,47 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
5import org.eclipse.viatra.query.runtime.api.IPatternMatch
6import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher
7
8class LookupHandler {
9 val int[] argumentIndices
10 val ViatraQueryMatcher<? extends IPatternMatch> lookedUpMatcher
11
12 new(MappingDefinition mappingDefinition, LookupDefinition lookupDefinition,
13 ViatraQueryMatcher<? extends IPatternMatch> lookedUpMatcher) {
14 if (lookupDefinition.eContainer != mappingDefinition) {
15 throw new IllegalArgumentException("lookupDefinition must be contained in mappingDefinition")
16 }
17 val argumentCount = lookupDefinition.arguments.size
18 if (argumentCount != lookedUpMatcher.parameterNames.length) {
19 throw new IllegalArgumentException(
20 "lookupDefinition (name: " + lookupDefinition.mapping?.pattern?.name +
21 ") must have as many arguments as lookedUpMatcher (name: " + lookedUpMatcher.patternName + ")")
22 }
23 argumentIndices = newIntArrayOfSize(argumentCount)
24 for (var int i = 0; i < argumentCount; i++) {
25 val argument = lookupDefinition.arguments.get(i)
26 val argumentIndex = mappingDefinition.parameters.indexOf(argument)
27 argumentIndices.set(i, argumentIndex)
28 }
29 this.lookedUpMatcher = lookedUpMatcher
30 }
31
32 def lookupForMatch(ComponentFaultTreeTrace faultTreeTrace, IPatternMatch match) {
33 val lookedUpMatch = createLookedUpMatch(match)
34 faultTreeTrace.lookup(lookedUpMatch)
35 }
36
37 private def createLookedUpMatch(IPatternMatch match) {
38 val lookedUpMatch = lookedUpMatcher.newEmptyMatch
39 val argumentCount = argumentIndices.length
40 for (var int i = 0; i < argumentCount; i++) {
41 val argumentIndex = argumentIndices.get(i)
42 var argumentValue = match.get(argumentIndex)
43 lookedUpMatch.set(i, argumentValue)
44 }
45 lookedUpMatch
46 }
47}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend
deleted file mode 100644
index 643af5c4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend
+++ /dev/null
@@ -1,91 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import com.google.common.collect.ImmutableMap
4import com.google.common.collect.Maps
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable
8import java.util.Map
9import org.eclipse.viatra.query.runtime.api.IPatternMatch
10import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher
11
12class MappingHandler {
13 val ViatraQueryMatcher<? extends IPatternMatch> matcher
14 val MappingDefinition mappingDefinition
15 val Map<LookupDefinition, LookupHandler> lookupHandlers
16
17 new(MappingDefinition mappingDefinition, MappingQueries mappingQueries) {
18 matcher = mappingQueries.getMatcher(mappingDefinition)
19 this.mappingDefinition = mappingDefinition
20 val variables = newHashSet
21 for (assignment : mappingDefinition.assignments) {
22 variables += assignment.input.component
23 variables += assignment.output.component
24 }
25 lookupHandlers = ImmutableMap.copyOf(variables.filter(LookupDefinition).toMap([it], [ lookupDefinition |
26 mappingQueries.createLookupHandler(mappingDefinition, lookupDefinition)
27 ]))
28 }
29
30 def instantiateComponents(ComponentFaultTreeTrace faultTreeTrace) {
31 if (!hasComponentInstace) {
32 return
33 }
34 matcher.forEachMatch [ match |
35 val componentTrace = faultTreeTrace.instantiateComponent(match, componentDefinition)
36 if (isTopLevel) {
37 faultTreeTrace.topLevel = componentTrace
38 }
39 ]
40 }
41
42 def instantiateConnections(ComponentFaultTreeTrace faultTreeTrace) {
43 if (!hasConnections) {
44 return
45 }
46 matcher.forEachMatch [ match |
47 val lookedUpComponents = lookupComponents(faultTreeTrace, match)
48 for (assignment : mappingDefinition.assignments) {
49 val input = assignment.input
50 val inputComponent = lookedUpComponents.get(input.component)
51 val output = assignment.output
52 val outputComponent = lookedUpComponents.get(output.component)
53 if (inputComponent !== null && outputComponent !== null) {
54 inputComponent.assign(input.event, outputComponent, output.event)
55 }
56 }
57 ]
58 }
59
60 private def Map<Variable, ComponentInstanceTrace> lookupComponents(ComponentFaultTreeTrace faultTreeTrace,
61 IPatternMatch match) {
62 val lookedUpComponents = Maps.newHashMapWithExpectedSize(lookupHandlers.size + 1)
63 if (hasComponentInstace) {
64 val componentInstance = faultTreeTrace.lookup(match)
65 lookedUpComponents.put(mappingDefinition.componentInstance, componentInstance)
66 }
67 for (pair : lookupHandlers.entrySet) {
68 val componentInstance = pair.value.lookupForMatch(faultTreeTrace, match)
69 if (componentInstance !== null) {
70 lookedUpComponents.put(pair.key, componentInstance)
71 }
72 }
73 lookedUpComponents
74 }
75
76 private def getComponentDefinition() {
77 mappingDefinition.componentInstance?.componentType
78 }
79
80 private def hasComponentInstace() {
81 componentDefinition !== null
82 }
83
84 private def isTopLevel() {
85 mappingDefinition.topLevel
86 }
87
88 private def hasConnections() {
89 !mappingDefinition.assignments.empty
90 }
91}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend
deleted file mode 100644
index 6683b3f8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend
+++ /dev/null
@@ -1,38 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft
2
3import com.google.common.collect.ImmutableMap
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
7import java.util.Map
8import org.eclipse.viatra.query.patternlanguage.emf.specification.SpecificationBuilder
9import org.eclipse.viatra.query.runtime.api.GenericQueryGroup
10import org.eclipse.viatra.query.runtime.api.IPatternMatch
11import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine
12import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher
13
14class MappingQueries {
15 val Map<MappingDefinition, ViatraQueryMatcher<? extends IPatternMatch>> matchersMap
16
17 new(TransformationDefinition transformationDefinition, ViatraQueryEngine viatraQueryEngine) {
18 val specificationBuilder = new SpecificationBuilder
19 val querySpecificationsMap = transformationDefinition.mappingDefinitions.toMap([it], [
20 specificationBuilder.getOrCreateSpecification(pattern)
21 ])
22 GenericQueryGroup.of(querySpecificationsMap.values).prepare(viatraQueryEngine)
23 matchersMap = ImmutableMap.copyOf(querySpecificationsMap.mapValues[getMatcher(viatraQueryEngine)])
24 }
25
26 def getMatcher(MappingDefinition mappingDefinition) {
27 val matcher = matchersMap.get(mappingDefinition)
28 if (matcher === null) {
29 throw new IllegalArgumentException("Unknown mapping definition: " + mappingDefinition)
30 }
31 matcher
32 }
33
34 def createLookupHandler(MappingDefinition mappingDefinition, LookupDefinition lookupDefinition) {
35 val lookedUpMatcher = getMatcher(lookupDefinition.mapping)
36 new LookupHandler(mappingDefinition, lookupDefinition, lookedUpMatcher)
37 }
38}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend
deleted file mode 100644
index 4a19e2cd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend
+++ /dev/null
@@ -1,57 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution
8import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree
9import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate
10import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate
11import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate
12import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent
13import org.eclipse.xtend2.lib.StringConcatenationClient
14
15class Ft2GalileoTransformation {
16 def toGalileo(FaultTree faultTree) '''
17 toplevel "«faultTree.topEvent.name»";
18 «FOR event : faultTree.events»
19 "«event.name»" «defineEvent(event)»;
20 «ENDFOR»
21 '''
22
23 protected dispatch def defineEvent(BasicEvent basicEvent) {
24 // ft-diet (https://moves.rwth-aachen.de/ft-diet/) needs a dormancy factor.
25 '''«defineDistribution(basicEvent.distribution)» dorm=0.0'''
26 }
27
28 protected dispatch def StringConcatenationClient defineDistribution(ConstantDistribution distribution) {
29 '''p=«distribution.p»'''
30 }
31
32 protected dispatch def StringConcatenationClient defineDistribution(ExponentialDistribution distribution) {
33 '''lambda=«distribution.lambda»'''
34 }
35
36 protected dispatch def StringConcatenationClient defineDistribution(Distribution distribution) {
37 throw new IllegalArgumentException("Unknown distribution: " + distribution)
38 }
39
40 protected dispatch def StringConcatenationClient defineEvent(Gate gate) {
41 '''«defineGate(gate)» «FOR input : gate.inputEvents SEPARATOR " "»"«input.name»"«ENDFOR»'''
42 }
43
44 protected dispatch def StringConcatenationClient defineGate(AndGate gate) '''and'''
45
46 protected dispatch def StringConcatenationClient defineGate(OrGate gate) '''or'''
47
48 protected dispatch def StringConcatenationClient defineGate(KOfMGate gate) '''«gate.k»of«gate.inputEvents.size»'''
49
50 protected dispatch def StringConcatenationClient defineGate(Gate gate) {
51 throw new IllegalArgumentException("Unknown gate: " + gate)
52 }
53
54 protected dispatch def StringConcatenationClient defineEvent(RandomEvent randomEvent) {
55 throw new IllegalArgumentException("Unknown random even: " + randomEvent)
56 }
57}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend
deleted file mode 100644
index 19c3d17d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend
+++ /dev/null
@@ -1,51 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver
2
3import org.eclipse.xtend.lib.annotations.Data
4import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor
5
6abstract class ReliabilityResult {
7 public static val TIMEOUT = new Unknown("Solver timed out")
8 public static val MEMOUT = new Unknown("Solver out of memory")
9
10 abstract def Solution getOrThrow()
11
12 @Data
13 static final class Solution extends ReliabilityResult {
14 val double lowerBound
15 val double upperBound
16
17 new(double value) {
18 this(value, value)
19 }
20
21 new(double lowerBound, double upperBound) {
22 if (lowerBound > upperBound) {
23 throw new IllegalArgumentException("lowerBound must not be larger than upperBound")
24 }
25 this.lowerBound = lowerBound
26 this.upperBound = upperBound
27 }
28
29 override getOrThrow() {
30 this
31 }
32 }
33
34 @Data
35 static final class Unknown extends ReliabilityResult {
36 val String message
37 val Throwable cause
38
39 @FinalFieldsConstructor
40 new() {
41 }
42
43 new(String message) {
44 this(message, null)
45 }
46
47 override getOrThrow() {
48 throw new RuntimeException(message, cause)
49 }
50 }
51}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend
deleted file mode 100644
index d9059bfc..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend
+++ /dev/null
@@ -1,45 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver
2
3import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration
4
5final class StormDftConfiguration extends SolverConfiguration {
6 public static val DEFAULT_SOLVER_PATH = "storm-dft"
7
8 public double precision = 1e-6
9
10 public boolean bisimulation = true
11
12 public boolean symmetryReduction = true
13
14 public boolean modularization = true
15
16 public boolean dontCarePropagation = true
17
18 public double approximation = 0
19
20 public var approximationHeuristic = ApproximationHeuristic.NONE
21
22 public FtAnalysisObjective objective
23
24 def isApproximationInUse() {
25 approximationHeuristic != ApproximationHeuristic.NONE
26 }
27}
28
29abstract class FtAnalysisObjective {
30 public static val MTTF = new FtAnalysisObjective {
31 }
32
33 private new() {
34 }
35
36 static final class TimeBound extends FtAnalysisObjective {
37 public double timeBound = 0
38 }
39}
40
41enum ApproximationHeuristic {
42 NONE,
43 DEPTH
44// See https://github.com/moves-rwth/storm/issues/35 for additional approximation heuristics.
45}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend
deleted file mode 100644
index a250a955..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend
+++ /dev/null
@@ -1,182 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver
2
3import com.google.common.collect.ImmutableList
4import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
5import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration
6import java.io.BufferedReader
7import java.io.IOException
8import java.io.InputStream
9import java.io.InputStreamReader
10import java.util.regex.Pattern
11
12class StormDftException extends RuntimeException {
13 new(String s) {
14 super(s)
15 }
16
17 new(String s, Exception e) {
18 super(s, e)
19 }
20}
21
22class StormDftHandler {
23 static val DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?"
24 static val SINGLE_RESULT_GROUP = "single"
25 static val LOWER_BOUND_GROUP = "lower"
26 static val UPPER_BOUND_GROUP = "upper"
27 static val RESULT_REGEX = '''^Result:\s*\[(?:(?<«SINGLE_RESULT_GROUP»>«DOUBLE_REGEX»)|\((?<«LOWER_BOUND_GROUP»>«DOUBLE_REGEX»),\s*(?<«UPPER_BOUND_GROUP»>«DOUBLE_REGEX»)\))\]'''
28 static val RESULT_PATTERN = Pattern.compile(RESULT_REGEX)
29
30 static val SIGNAL_EXIT_VALUE_OFFSET = 0x80
31 static val SIGXCPU = 24
32 static val SIGXFSZ = 25
33
34 static val STORM_GENERAL_ERROR = (-1).bitwiseAnd(0xff)
35 static val STORM_TIMEOUT = (-2).bitwiseAnd(0xff)
36 static val STORM_MEMOUT = (-3).bitwiseAnd(0xff)
37
38 def callSolver(String dftFilePath, StormDftConfiguration configuration) {
39 val commandLine = configuration.toCommandLine(dftFilePath)
40 val documentationLevel = configuration.documentationLevel
41 val printOutput = documentationLevel == DocumentationLevel.NORMAL ||
42 documentationLevel == DocumentationLevel.FULL
43 val processBuilder = new ProcessBuilder().command(commandLine)
44 var Process process = null
45 try {
46 try {
47 process = processBuilder.start
48 process.outputStream.close
49 val result = readOutput(process.inputStream, printOutput)
50 val error = readError(process.errorStream, printOutput)
51 val exitValue = process.waitFor
52 if (result === null) {
53 interpretExitStatus(exitValue, error)
54 } else {
55 result
56 }
57 } catch (IOException e) {
58 throw new StormDftException("Error during input/output handling of the stochastic solver.", e)
59 }
60 } catch (Exception e) {
61 if (process !== null) {
62 process.destroyForcibly.waitFor
63 }
64 throw e
65 }
66 }
67
68 private def toCommandLine(extension StormDftConfiguration configuration, String dftFilePath) {
69 extension val optionsBuilder = ImmutableList.builder
70 add(solverPath ?: StormDftConfiguration.DEFAULT_SOLVER_PATH)
71 if (runtimeLimit != SolverConfiguration.Unlimited) {
72 add("--timeout", runtimeLimit.toString)
73 }
74 add("--precision", precision.toString)
75 if (bisimulation) {
76 add("--bisimulation")
77 }
78 if (symmetryReduction) {
79 add("--symmetryreduction")
80 }
81 if (modularization) {
82 add("--modularisation")
83 }
84 if (!dontCarePropagation) {
85 add("--disabledc")
86 }
87 if (approximationInUse) {
88 val heuristicName = switch (approximationHeuristic) {
89 case DEPTH:
90 "depth"
91 default:
92 throw new IllegalArgumentException("Unknown approximation heuristic: " + approximationHeuristic)
93 }
94 add("--approximation", approximation.toString, "--approximationheuristic", heuristicName)
95 }
96 add("--dftfile", dftFilePath)
97 switch (objective) {
98 case FtAnalysisObjective.MTTF:
99 add("--expectedtime")
100 FtAnalysisObjective.TimeBound:
101 add("--timebound")
102 default:
103 throw new IllegalArgumentException("Unknown analysis objective: " + objective)
104 }
105 if (documentationLevel == DocumentationLevel.FULL) {
106 add("--verbose")
107 }
108 build
109 }
110
111 private def readOutput(InputStream inputStream, boolean printOutput) {
112 val bufferedReader = new BufferedReader(new InputStreamReader(inputStream))
113 try {
114 var String line
115 while ((line = bufferedReader.readLine) !== null) {
116 if (printOutput) {
117 println(line)
118 }
119 val matcher = RESULT_PATTERN.matcher(line)
120 if (matcher.find) {
121 try {
122 val single = matcher.group(SINGLE_RESULT_GROUP)
123 if (single !== null) {
124 val singleValue = Double.parseDouble(single)
125 return new ReliabilityResult.Solution(singleValue)
126 }
127 val lower = matcher.group(LOWER_BOUND_GROUP)
128 val upper = matcher.group(UPPER_BOUND_GROUP)
129 if (lower !== null && upper !== null) {
130 val lowerValue = Double.parseDouble(lower)
131 val upperValue = Double.parseDouble(upper)
132 return new ReliabilityResult.Solution(lowerValue, upperValue)
133 }
134 throw new StormDftException("Inconsistent stochastic solver output: " + line)
135 } catch (NumberFormatException e) {
136 throw new StormDftException("Malformatted number from stochastic solver.", e)
137 }
138 }
139 }
140 } finally {
141 bufferedReader.close
142 }
143 null
144 }
145
146 private def readError(InputStream inputStream, boolean printOutput) {
147 val bufferedReader = new BufferedReader(new InputStreamReader(inputStream))
148 try {
149 val lines = newArrayList
150 var String line
151 while ((line = bufferedReader.readLine) !== null) {
152 if (printOutput) {
153 System.err.println(line)
154 }
155 lines += line
156 }
157 lines.join("\n")
158 } finally {
159 bufferedReader.close
160 }
161 }
162
163 private def interpretExitStatus(int exitValue, String error) {
164 switch (exitValue) {
165 case STORM_GENERAL_ERROR:
166 throw new StormDftException("Storm error: " + error)
167 case STORM_TIMEOUT,
168 case SIGNAL_EXIT_VALUE_OFFSET + SIGXCPU:
169 ReliabilityResult.TIMEOUT
170 case STORM_MEMOUT,
171 case SIGNAL_EXIT_VALUE_OFFSET + SIGXFSZ:
172 ReliabilityResult.MEMOUT
173 default: {
174 if (exitValue > SIGNAL_EXIT_VALUE_OFFSET) {
175 val signalNumber = exitValue - SIGNAL_EXIT_VALUE_OFFSET
176 throw new StormDftException("Storm unexpectedly killed by signal " + signalNumber + ": " + error)
177 }
178 throw new StormDftException("Storm unexpectedly exit with status " + exitValue + ": " + error)
179 }
180 }
181 }
182}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend
deleted file mode 100644
index 931b9f39..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend
+++ /dev/null
@@ -1,43 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel
6import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation
7import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace
8
9class StormDftSolver {
10 static val DFT_FILE_NAME = "ft.dft"
11
12 val ft2Galileo = new Ft2GalileoTransformation
13 val handler = new StormDftHandler
14
15 def solve(ReliabilityModel reliabilityModel, StormDftConfiguration configuration,
16 ReasonerWorkspace reasonerWorkspace) {
17 switch (reliabilityModel) {
18 FaultTree:
19 solve(reliabilityModel, configuration, reasonerWorkspace)
20 ConstantModel: {
21 val result = if (reliabilityModel.failed) {
22 0
23 } else {
24 switch (objective : configuration.objective) {
25 case FtAnalysisObjective.MTTF: Double.POSITIVE_INFINITY
26 FtAnalysisObjective.TimeBound: 1
27 default: throw new IllegalArgumentException("Unknown objective: " + objective)
28 }
29 }
30 new ReliabilityResult.Solution(result)
31 }
32 default:
33 throw new IllegalArgumentException("Unknown reliability model: " + reliabilityModel)
34 }
35 }
36
37 def solve(FaultTree faultTree, StormDftConfiguration configuration, ReasonerWorkspace reasonerWorkspace) {
38 val galileo = ft2Galileo.toGalileo(faultTree)
39 reasonerWorkspace.writeText(DFT_FILE_NAME, galileo)
40 val dftFilePath = reasonerWorkspace.getFile(DFT_FILE_NAME).absolutePath
41 handler.callSolver(dftFilePath, configuration)
42 }
43}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore
deleted file mode 100644
index 49df59a2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
1/.CftTransformation.java._trace
2/.ComponentFaultTreeTrace.java._trace
3/.ComponentInstanceTrace.java._trace
4/.InputTrace.java._trace
5/.MappingHandler.java._trace
6/.ComponentInstantiationHandler.java._trace
7/.MappingQueries.java._trace
8/.LookupHandler.java._trace
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin
deleted file mode 100644
index dfae40e9..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin
deleted file mode 100644
index 0aaf712d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin
deleted file mode 100644
index e51f73a6..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin
deleted file mode 100644
index 89e003dc..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore
deleted file mode 100644
index 058cff19..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
1/.Cft2FtTransformation.java._trace
2/.EventMaterializer.java._trace
3/.MaterializedEvent.java._trace
4/.CollectedInputs.java._trace
5/.MaterializedEventCollection.java._trace
6/.FaultTreeBuilder.java._trace
7/.FaultModelBuilder.java._trace
8/.EventCollection.java._trace
9/.Cft2FtTransformation.xtendbin
10/.EventCollection.xtendbin
11/.EventMaterializer.xtendbin
12/.FaultTreeBuilder.xtendbin
13/Cft2FtTransformation.java
14/EventCollection.java
15/EventMaterializer.java
16/FaultTreeBuilder.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java
deleted file mode 100644
index e87b8865..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java
+++ /dev/null
@@ -1,49 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel;
11import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventMaterializer;
12import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.FaultTreeBuilder;
13import org.eclipse.xtext.xbase.lib.ObjectExtensions;
14import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
15
16@SuppressWarnings("all")
17public class Cft2FtTransformation {
18 public ReliabilityModel createFaultTree(final ComponentFaultTree componentFaultTree) {
19 ReliabilityModel _xblockexpression = null;
20 {
21 final EventMaterializer materializer = new EventMaterializer();
22 final Event topEvent = materializer.getOrMaterialize(componentFaultTree.getTopEvent());
23 ReliabilityModel _switchResult = null;
24 boolean _matched = false;
25 if (topEvent instanceof ConstantEvent) {
26 _matched=true;
27 ConstantModel _createConstantModel = FtFactory.eINSTANCE.createConstantModel();
28 final Procedure1<ConstantModel> _function = (ConstantModel it) -> {
29 it.setFailed(((ConstantEvent)topEvent).isFailed());
30 };
31 _switchResult = ObjectExtensions.<ConstantModel>operator_doubleArrow(_createConstantModel, _function);
32 }
33 if (!_matched) {
34 if (topEvent instanceof RandomEvent) {
35 _matched=true;
36 FaultTree _xblockexpression_1 = null;
37 {
38 final FaultTreeBuilder builder = new FaultTreeBuilder();
39 builder.addTopLevel(((RandomEvent)topEvent));
40 _xblockexpression_1 = builder.getFaultTree();
41 }
42 _switchResult = _xblockexpression_1;
43 }
44 }
45 _xblockexpression = _switchResult;
46 }
47 return _xblockexpression;
48 }
49}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java
deleted file mode 100644
index dceef9f8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java
+++ /dev/null
@@ -1,188 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft;
2
3import com.google.common.collect.ImmutableSet;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
7import java.util.Set;
8import org.eclipse.xtend.lib.annotations.Data;
9import org.eclipse.xtext.xbase.lib.IterableExtensions;
10import org.eclipse.xtext.xbase.lib.Pure;
11import org.eclipse.xtext.xbase.lib.util.ToStringBuilder;
12
13@Data
14@SuppressWarnings("all")
15public class EventCollection {
16 public static class Builder {
17 private int falseEventCount = 0;
18
19 private int trueEventCount = 0;
20
21 private final ImmutableSet.Builder<RandomEvent> randomEventsBuilder = ImmutableSet.<RandomEvent>builder();
22
23 private Builder() {
24 }
25
26 public EventCollection.Builder add(final Event event) {
27 EventCollection.Builder _xblockexpression = null;
28 {
29 boolean _matched = false;
30 if (event instanceof ConstantEvent) {
31 _matched=true;
32 boolean _isFailed = ((ConstantEvent)event).isFailed();
33 if (_isFailed) {
34 this.trueEventCount++;
35 } else {
36 this.falseEventCount++;
37 }
38 }
39 if (!_matched) {
40 if (event instanceof RandomEvent) {
41 _matched=true;
42 this.randomEventsBuilder.add(((RandomEvent)event));
43 }
44 }
45 if (!_matched) {
46 throw new IllegalArgumentException(("Unknown event: " + event));
47 }
48 _xblockexpression = this;
49 }
50 return _xblockexpression;
51 }
52
53 public EventCollection.Builder addAll(final EventCollection materializedEvens) {
54 EventCollection.Builder _xblockexpression = null;
55 {
56 int _falseEventCount = this.falseEventCount;
57 this.falseEventCount = (_falseEventCount + materializedEvens.falseEventCount);
58 int _trueEventCount = this.trueEventCount;
59 this.trueEventCount = (_trueEventCount + materializedEvens.trueEventCount);
60 this.randomEventsBuilder.addAll(materializedEvens.randomEvents);
61 _xblockexpression = this;
62 }
63 return _xblockexpression;
64 }
65
66 public EventCollection build() {
67 ImmutableSet<RandomEvent> _build = this.randomEventsBuilder.build();
68 return new EventCollection(this.falseEventCount, this.trueEventCount, _build);
69 }
70 }
71
72 private final int falseEventCount;
73
74 private final int trueEventCount;
75
76 private final Set<RandomEvent> randomEvents;
77
78 public boolean containsFalseEvent() {
79 return (this.falseEventCount >= 1);
80 }
81
82 public boolean containsTrueEvent() {
83 return (this.trueEventCount >= 1);
84 }
85
86 public int getVariableEventCount() {
87 return this.randomEvents.size();
88 }
89
90 public boolean containsRandomEvent() {
91 int _variableEventCount = this.getVariableEventCount();
92 return (_variableEventCount >= 1);
93 }
94
95 public int getCount() {
96 int _variableEventCount = this.getVariableEventCount();
97 return ((this.falseEventCount + this.trueEventCount) + _variableEventCount);
98 }
99
100 public boolean isEmpty() {
101 return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (!this.containsRandomEvent()));
102 }
103
104 public boolean containsExactlyOneRandomEvent() {
105 return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (this.getVariableEventCount() == 1));
106 }
107
108 public RandomEvent toSingleRandomEvent() {
109 RandomEvent _xblockexpression = null;
110 {
111 boolean _containsExactlyOneRandomEvent = this.containsExactlyOneRandomEvent();
112 boolean _not = (!_containsExactlyOneRandomEvent);
113 if (_not) {
114 throw new IllegalStateException("Input collection is not a single random event");
115 }
116 _xblockexpression = IterableExtensions.<RandomEvent>head(this.randomEvents);
117 }
118 return _xblockexpression;
119 }
120
121 public static EventCollection.Builder builder() {
122 return new EventCollection.Builder();
123 }
124
125 public EventCollection(final int falseEventCount, final int trueEventCount, final Set<RandomEvent> randomEvents) {
126 super();
127 this.falseEventCount = falseEventCount;
128 this.trueEventCount = trueEventCount;
129 this.randomEvents = randomEvents;
130 }
131
132 @Override
133 @Pure
134 public int hashCode() {
135 final int prime = 31;
136 int result = 1;
137 result = prime * result + this.falseEventCount;
138 result = prime * result + this.trueEventCount;
139 return prime * result + ((this.randomEvents== null) ? 0 : this.randomEvents.hashCode());
140 }
141
142 @Override
143 @Pure
144 public boolean equals(final Object obj) {
145 if (this == obj)
146 return true;
147 if (obj == null)
148 return false;
149 if (getClass() != obj.getClass())
150 return false;
151 EventCollection other = (EventCollection) obj;
152 if (other.falseEventCount != this.falseEventCount)
153 return false;
154 if (other.trueEventCount != this.trueEventCount)
155 return false;
156 if (this.randomEvents == null) {
157 if (other.randomEvents != null)
158 return false;
159 } else if (!this.randomEvents.equals(other.randomEvents))
160 return false;
161 return true;
162 }
163
164 @Override
165 @Pure
166 public String toString() {
167 ToStringBuilder b = new ToStringBuilder(this);
168 b.add("falseEventCount", this.falseEventCount);
169 b.add("trueEventCount", this.trueEventCount);
170 b.add("randomEvents", this.randomEvents);
171 return b.toString();
172 }
173
174 @Pure
175 public int getFalseEventCount() {
176 return this.falseEventCount;
177 }
178
179 @Pure
180 public int getTrueEventCount() {
181 return this.trueEventCount;
182 }
183
184 @Pure
185 public Set<RandomEvent> getRandomEvents() {
186 return this.randomEvents;
187 }
188}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java
deleted file mode 100644
index 98a82b7d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java
+++ /dev/null
@@ -1,469 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
11import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition;
13import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition;
14import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
15import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate;
16import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent;
17import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent;
18import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
19import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event;
20import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory;
21import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate;
22import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate;
23import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate;
24import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
25import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions;
26import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventCollection;
27import java.util.LinkedHashSet;
28import java.util.Map;
29import org.eclipse.emf.common.util.EList;
30import org.eclipse.emf.ecore.util.EcoreUtil;
31import org.eclipse.xtend.lib.annotations.Data;
32import org.eclipse.xtend2.lib.StringConcatenation;
33import org.eclipse.xtext.xbase.lib.CollectionLiterals;
34import org.eclipse.xtext.xbase.lib.Extension;
35import org.eclipse.xtext.xbase.lib.Functions.Function1;
36import org.eclipse.xtext.xbase.lib.IterableExtensions;
37import org.eclipse.xtext.xbase.lib.ObjectExtensions;
38import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
39import org.eclipse.xtext.xbase.lib.Pure;
40
41@SuppressWarnings("all")
42public class EventMaterializer {
43 @Data
44 protected static class EventKey<T extends EventDeclaration> {
45 private final Component component;
46
47 private final T event;
48
49 @Override
50 public String toString() {
51 StringConcatenation _builder = new StringConcatenation();
52 String _name = this.component.getName();
53 _builder.append(_name);
54 _builder.append("_");
55 String _name_1 = this.event.getName();
56 _builder.append(_name_1);
57 return _builder.toString();
58 }
59
60 public EventKey(final Component component, final T event) {
61 super();
62 this.component = component;
63 this.event = event;
64 }
65
66 @Override
67 @Pure
68 public int hashCode() {
69 final int prime = 31;
70 int result = 1;
71 result = prime * result + ((this.component== null) ? 0 : this.component.hashCode());
72 return prime * result + ((this.event== null) ? 0 : this.event.hashCode());
73 }
74
75 @Override
76 @Pure
77 public boolean equals(final Object obj) {
78 if (this == obj)
79 return true;
80 if (obj == null)
81 return false;
82 if (getClass() != obj.getClass())
83 return false;
84 EventMaterializer.EventKey<?> other = (EventMaterializer.EventKey<?>) obj;
85 if (this.component == null) {
86 if (other.component != null)
87 return false;
88 } else if (!this.component.equals(other.component))
89 return false;
90 if (this.event == null) {
91 if (other.event != null)
92 return false;
93 } else if (!this.event.equals(other.event))
94 return false;
95 return true;
96 }
97
98 @Pure
99 public Component getComponent() {
100 return this.component;
101 }
102
103 @Pure
104 public T getEvent() {
105 return this.event;
106 }
107 }
108
109 @Extension
110 private final FtFactory _ftFactory = FtFactory.eINSTANCE;
111
112 private final Map<EventMaterializer.EventKey<EventDeclaration>, Event> materializationCache = CollectionLiterals.<EventMaterializer.EventKey<EventDeclaration>, Event>newHashMap();
113
114 private final Map<EventMaterializer.EventKey<InputEvent>, EventCollection> multipleInputCache = CollectionLiterals.<EventMaterializer.EventKey<InputEvent>, EventCollection>newHashMap();
115
116 private final ConstantEvent falseEvent;
117
118 private final ConstantEvent trueEvent;
119
120 private final LinkedHashSet<EventMaterializer.EventKey<? extends EventDeclaration>> path = new LinkedHashSet<EventMaterializer.EventKey<? extends EventDeclaration>>();
121
122 public EventMaterializer() {
123 ConstantEvent _createConstantEvent = this._ftFactory.createConstantEvent();
124 final Procedure1<ConstantEvent> _function = (ConstantEvent it) -> {
125 it.setFailed(false);
126 };
127 ConstantEvent _doubleArrow = ObjectExtensions.<ConstantEvent>operator_doubleArrow(_createConstantEvent, _function);
128 this.falseEvent = _doubleArrow;
129 ConstantEvent _createConstantEvent_1 = this._ftFactory.createConstantEvent();
130 final Procedure1<ConstantEvent> _function_1 = (ConstantEvent it) -> {
131 it.setFailed(true);
132 };
133 ConstantEvent _doubleArrow_1 = ObjectExtensions.<ConstantEvent>operator_doubleArrow(_createConstantEvent_1, _function_1);
134 this.trueEvent = _doubleArrow_1;
135 }
136
137 public Event getOrMaterialize(final Output output) {
138 return this.getOrMaterialize(output.getComponent(), output.getEventDeclaration());
139 }
140
141 public Event getOrMaterialize(final Component component, final EventDeclaration eventDeclaration) {
142 Event _xblockexpression = null;
143 {
144 final EventMaterializer.EventKey<EventDeclaration> eventKey = new EventMaterializer.EventKey<EventDeclaration>(component, eventDeclaration);
145 this.pushEventKey(eventKey);
146 Event _xtrycatchfinallyexpression = null;
147 try {
148 Event _xblockexpression_1 = null;
149 {
150 Event event = this.materializationCache.get(eventKey);
151 if ((event == null)) {
152 event = this.materialize(component, eventDeclaration);
153 this.materializationCache.put(eventKey, event);
154 }
155 _xblockexpression_1 = event;
156 }
157 _xtrycatchfinallyexpression = _xblockexpression_1;
158 } finally {
159 this.popEventKey(eventKey);
160 }
161 _xblockexpression = _xtrycatchfinallyexpression;
162 }
163 return _xblockexpression;
164 }
165
166 protected Event materialize(final Component component, final EventDeclaration eventDeclaration) {
167 RandomEvent _xblockexpression = null;
168 {
169 String _name = component.getName();
170 String _plus = (_name + "_");
171 String _name_1 = eventDeclaration.getName();
172 final String eventName = (_plus + _name_1);
173 RandomEvent _switchResult = null;
174 boolean _matched = false;
175 if (eventDeclaration instanceof InputEvent) {
176 _matched=true;
177 return this.materializeConnectedEvent(component, ((InputEvent)eventDeclaration));
178 }
179 if (!_matched) {
180 if (eventDeclaration instanceof BasicEventDefinition) {
181 _matched=true;
182 BasicEvent _xblockexpression_1 = null;
183 {
184 final BasicEvent basicEvent = this._ftFactory.createBasicEvent();
185 basicEvent.setDistribution(EcoreUtil.<Distribution>copy(((BasicEventDefinition)eventDeclaration).getDistribution()));
186 _xblockexpression_1 = basicEvent;
187 }
188 _switchResult = _xblockexpression_1;
189 }
190 }
191 if (!_matched) {
192 if (eventDeclaration instanceof GateDefinition) {
193 _matched=true;
194 Gate _xblockexpression_1 = null;
195 {
196 final EventCollection inputs = this.collectInputs(component, ((GateDefinition)eventDeclaration));
197 Gate _switchResult_1 = null;
198 boolean _matched_1 = false;
199 if (eventDeclaration instanceof AndGateDefinition) {
200 _matched_1=true;
201 AndGate _xifexpression = null;
202 boolean _containsFalseEvent = inputs.containsFalseEvent();
203 if (_containsFalseEvent) {
204 return this.falseEvent;
205 } else {
206 AndGate _xifexpression_1 = null;
207 boolean _isEmpty = inputs.isEmpty();
208 if (_isEmpty) {
209 return this.trueEvent;
210 } else {
211 AndGate _xifexpression_2 = null;
212 boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent();
213 if (_containsExactlyOneRandomEvent) {
214 return inputs.toSingleRandomEvent();
215 } else {
216 _xifexpression_2 = this._ftFactory.createAndGate();
217 }
218 _xifexpression_1 = _xifexpression_2;
219 }
220 _xifexpression = _xifexpression_1;
221 }
222 _switchResult_1 = _xifexpression;
223 }
224 if (!_matched_1) {
225 if (eventDeclaration instanceof OrGateDefinition) {
226 _matched_1=true;
227 OrGate _xifexpression = null;
228 boolean _containsTrueEvent = inputs.containsTrueEvent();
229 if (_containsTrueEvent) {
230 return this.trueEvent;
231 } else {
232 OrGate _xifexpression_1 = null;
233 boolean _isEmpty = inputs.isEmpty();
234 if (_isEmpty) {
235 return this.falseEvent;
236 } else {
237 OrGate _xifexpression_2 = null;
238 boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent();
239 if (_containsExactlyOneRandomEvent) {
240 return inputs.toSingleRandomEvent();
241 } else {
242 _xifexpression_2 = this._ftFactory.createOrGate();
243 }
244 _xifexpression_1 = _xifexpression_2;
245 }
246 _xifexpression = _xifexpression_1;
247 }
248 _switchResult_1 = _xifexpression;
249 }
250 }
251 if (!_matched_1) {
252 if (eventDeclaration instanceof KOfMGateDefinition) {
253 _matched_1=true;
254 Gate _xblockexpression_2 = null;
255 {
256 int _count = inputs.getCount();
257 int _k = ((KOfMGateDefinition)eventDeclaration).getK();
258 int _multiply = (_count * _k);
259 int _m = ((KOfMGateDefinition)eventDeclaration).getM();
260 final int requiredTrueInputs = (_multiply / _m);
261 int _trueEventCount = inputs.getTrueEventCount();
262 final int k = (requiredTrueInputs - _trueEventCount);
263 final int m = inputs.getVariableEventCount();
264 Gate _xifexpression = null;
265 if ((k == 0)) {
266 return this.trueEvent;
267 } else {
268 Gate _xifexpression_1 = null;
269 if ((k > m)) {
270 return this.falseEvent;
271 } else {
272 Gate _xifexpression_2 = null;
273 boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent();
274 if (_containsExactlyOneRandomEvent) {
275 return inputs.toSingleRandomEvent();
276 } else {
277 Gate _xifexpression_3 = null;
278 if ((k == 1)) {
279 _xifexpression_3 = this._ftFactory.createOrGate();
280 } else {
281 Gate _xifexpression_4 = null;
282 if ((k == m)) {
283 _xifexpression_4 = this._ftFactory.createAndGate();
284 } else {
285 KOfMGate _xblockexpression_3 = null;
286 {
287 final KOfMGate kOfMGate = this._ftFactory.createKOfMGate();
288 kOfMGate.setK(k);
289 _xblockexpression_3 = kOfMGate;
290 }
291 _xifexpression_4 = _xblockexpression_3;
292 }
293 _xifexpression_3 = _xifexpression_4;
294 }
295 _xifexpression_2 = _xifexpression_3;
296 }
297 _xifexpression_1 = _xifexpression_2;
298 }
299 _xifexpression = _xifexpression_1;
300 }
301 _xblockexpression_2 = _xifexpression;
302 }
303 _switchResult_1 = _xblockexpression_2;
304 }
305 }
306 if (!_matched_1) {
307 throw new IllegalArgumentException(("Unknown gate definition: " + eventDeclaration));
308 }
309 final Gate gate = _switchResult_1;
310 gate.getInputEvents().addAll(inputs.getRandomEvents());
311 _xblockexpression_1 = gate;
312 }
313 _switchResult = _xblockexpression_1;
314 }
315 }
316 if (!_matched) {
317 throw new IllegalArgumentException(("Unknown event declaration: " + eventDeclaration));
318 }
319 final RandomEvent event = _switchResult;
320 event.setName(eventName);
321 _xblockexpression = event;
322 }
323 return _xblockexpression;
324 }
325
326 protected Event materializeConnectedEvent(final Component component, final InputEvent inputEvent) {
327 Event _xblockexpression = null;
328 {
329 boolean _isMultiple = inputEvent.isMultiple();
330 if (_isMultiple) {
331 StringConcatenation _builder = new StringConcatenation();
332 _builder.append("Cannot materialize multiple nput ");
333 String _name = component.getName();
334 _builder.append(_name);
335 _builder.append("_");
336 String _name_1 = inputEvent.getName();
337 _builder.append(_name_1);
338 throw new IllegalArgumentException(_builder.toString());
339 }
340 final Input input = this.findInput(component, inputEvent);
341 final EList<Connection> incomingConnections = input.getIncomingConnections();
342 int _size = incomingConnections.size();
343 boolean _notEquals = (_size != 1);
344 if (_notEquals) {
345 StringConcatenation _builder_1 = new StringConcatenation();
346 _builder_1.append("Input ");
347 String _name_2 = component.getName();
348 _builder_1.append(_name_2);
349 _builder_1.append("_");
350 String _name_3 = inputEvent.getName();
351 _builder_1.append(_name_3);
352 _builder_1.append(" has ");
353 int _size_1 = incomingConnections.size();
354 _builder_1.append(_size_1);
355 _builder_1.append(" connections instead of 1");
356 throw new IllegalArgumentException(_builder_1.toString());
357 }
358 final Output output = IterableExtensions.<Connection>head(incomingConnections).getOutput();
359 _xblockexpression = this.getOrMaterialize(output.getComponent(), output.getEventDeclaration());
360 }
361 return _xblockexpression;
362 }
363
364 protected EventCollection collectInputs(final Component component, final GateDefinition gateDefinition) {
365 EventCollection _xblockexpression = null;
366 {
367 final EventCollection.Builder builder = EventCollection.builder();
368 EList<EventDeclaration> _inputEvents = gateDefinition.getInputEvents();
369 for (final EventDeclaration inputEventDeclaration : _inputEvents) {
370 boolean _matched = false;
371 if (inputEventDeclaration instanceof InputEvent) {
372 boolean _isMultiple = ((InputEvent)inputEventDeclaration).isMultiple();
373 if (_isMultiple) {
374 _matched=true;
375 final EventCollection materializedEvents = this.getOrMaterializeConnectedEvents(component, ((InputEvent)inputEventDeclaration));
376 builder.addAll(materializedEvents);
377 }
378 }
379 if (!_matched) {
380 builder.add(this.getOrMaterialize(component, inputEventDeclaration));
381 }
382 }
383 _xblockexpression = builder.build();
384 }
385 return _xblockexpression;
386 }
387
388 protected EventCollection getOrMaterializeConnectedEvents(final Component component, final InputEvent inputEvent) {
389 EventCollection _xblockexpression = null;
390 {
391 final EventMaterializer.EventKey<InputEvent> inputKey = new EventMaterializer.EventKey<InputEvent>(component, inputEvent);
392 this.pushEventKey(inputKey);
393 EventCollection _xtrycatchfinallyexpression = null;
394 try {
395 EventCollection _xblockexpression_1 = null;
396 {
397 EventCollection eventCollection = this.multipleInputCache.get(inputKey);
398 if ((eventCollection == null)) {
399 eventCollection = this.materializeConnectedEvents(component, inputEvent);
400 this.multipleInputCache.put(inputKey, eventCollection);
401 }
402 _xblockexpression_1 = eventCollection;
403 }
404 _xtrycatchfinallyexpression = _xblockexpression_1;
405 } finally {
406 this.popEventKey(inputKey);
407 }
408 _xblockexpression = _xtrycatchfinallyexpression;
409 }
410 return _xblockexpression;
411 }
412
413 protected EventCollection materializeConnectedEvents(final Component component, final InputEvent inputEvent) {
414 EventCollection _xblockexpression = null;
415 {
416 final Input input = this.findInput(component, inputEvent);
417 final EventCollection.Builder builder = EventCollection.builder();
418 EList<Connection> _incomingConnections = input.getIncomingConnections();
419 for (final Connection connection : _incomingConnections) {
420 boolean _isCurrentlyConnected = CftExtensions.isCurrentlyConnected(connection);
421 if (_isCurrentlyConnected) {
422 final Event materializedEvent = this.getOrMaterialize(connection.getOutput());
423 builder.add(materializedEvent);
424 }
425 }
426 _xblockexpression = builder.build();
427 }
428 return _xblockexpression;
429 }
430
431 protected Input findInput(final Component component, final InputEvent inputEvent) {
432 final Function1<Input, Boolean> _function = (Input it) -> {
433 InputEvent _inputEvent = it.getInputEvent();
434 return Boolean.valueOf(Objects.equal(_inputEvent, inputEvent));
435 };
436 final Input input = IterableExtensions.<Input>findFirst(component.getInputs(), _function);
437 if ((input == null)) {
438 StringConcatenation _builder = new StringConcatenation();
439 _builder.append("No input ");
440 _builder.append(inputEvent);
441 _builder.append(" in component ");
442 _builder.append(component);
443 throw new IllegalArgumentException(_builder.toString());
444 }
445 return input;
446 }
447
448 private void pushEventKey(final EventMaterializer.EventKey<? extends EventDeclaration> eventKey) {
449 boolean _add = this.path.add(eventKey);
450 boolean _not = (!_add);
451 if (_not) {
452 StringConcatenation _builder = new StringConcatenation();
453 _builder.append("Circular dependency [");
454 {
455 for(final EventMaterializer.EventKey<? extends EventDeclaration> ancestor : this.path) {
456 _builder.append(ancestor);
457 _builder.append(", ");
458 }
459 }
460 _builder.append(eventKey);
461 _builder.append("] detected");
462 throw new IllegalStateException(_builder.toString());
463 }
464 }
465
466 private boolean popEventKey(final EventMaterializer.EventKey<? extends EventDeclaration> eventKey) {
467 return this.path.remove(eventKey);
468 }
469}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java
deleted file mode 100644
index 9b2dfd76..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java
+++ /dev/null
@@ -1,57 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
8import java.util.Collection;
9import org.eclipse.emf.common.util.EList;
10import org.eclipse.emf.ecore.EObject;
11import org.eclipse.xtend.lib.annotations.Accessors;
12import org.eclipse.xtext.xbase.lib.Pure;
13
14@SuppressWarnings("all")
15public class FaultTreeBuilder {
16 @Accessors
17 private final FaultTree faultTree = FtFactory.eINSTANCE.createFaultTree();
18
19 public void addTopLevel(final RandomEvent event) {
20 RandomEvent _topEvent = this.faultTree.getTopEvent();
21 boolean _tripleNotEquals = (_topEvent != null);
22 if (_tripleNotEquals) {
23 throw new IllegalStateException("Top event was already set");
24 }
25 this.add(event);
26 this.faultTree.setTopEvent(event);
27 }
28
29 protected void add(final RandomEvent event) {
30 EObject _eContainer = this.faultTree.eContainer();
31 boolean _equals = Objects.equal(_eContainer, this.faultTree);
32 if (_equals) {
33 return;
34 }
35 EObject _eContainer_1 = this.faultTree.eContainer();
36 boolean _tripleNotEquals = (_eContainer_1 != null);
37 if (_tripleNotEquals) {
38 throw new IllegalStateException("Event is already in a different fault tree");
39 }
40 EList<RandomEvent> _events = this.faultTree.getEvents();
41 _events.add(event);
42 if ((event instanceof Gate)) {
43 this.addAll(((Gate)event).getInputEvents());
44 }
45 }
46
47 protected void addAll(final Collection<RandomEvent> events) {
48 for (final RandomEvent event : events) {
49 this.add(event);
50 }
51 }
52
53 @Pure
54 public FaultTree getFaultTree() {
55 return this.faultTree;
56 }
57}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin
deleted file mode 100644
index 028440a8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin
deleted file mode 100644
index d542ba2d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin
deleted file mode 100644
index 949da0cd..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin
deleted file mode 100644
index 82c045e2..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin
deleted file mode 100644
index ffd70c04..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin
deleted file mode 100644
index 418c71d4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin
deleted file mode 100644
index 86c0d704..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin
deleted file mode 100644
index c9dda5c4..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore
deleted file mode 100644
index 377aa872..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore
+++ /dev/null
@@ -1,25 +0,0 @@
1/.ComponentFaultTreeTrace.java._trace
2/.ComponentInstanceTrace.java._trace
3/.InputTrace.java._trace
4/.LookupHandler.java._trace
5/.MappingHandler.java._trace
6/.MappingQueries.java._trace
7/.CftTransformation.java._trace
8/.Ecore2CftTransformation.java._trace
9/.ComponentNameGenerator.java._trace
10/.ComponentFaultTreeTrace.xtendbin
11/.ComponentInstanceTrace.xtendbin
12/.ComponentNameGenerator.xtendbin
13/.Ecore2CftTransformation.xtendbin
14/.InputTrace.xtendbin
15/.LookupHandler.xtendbin
16/.MappingHandler.xtendbin
17/.MappingQueries.xtendbin
18/ComponentFaultTreeTrace.java
19/ComponentInstanceTrace.java
20/ComponentNameGenerator.java
21/Ecore2CftTransformation.java
22/InputTrace.java
23/LookupHandler.java
24/MappingHandler.java
25/MappingQueries.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java
deleted file mode 100644
index ddcf9036..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java
+++ /dev/null
@@ -1,77 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace;
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator;
10import java.util.Map;
11import org.eclipse.emf.common.util.EList;
12import org.eclipse.viatra.query.runtime.api.IPatternMatch;
13import org.eclipse.xtend.lib.annotations.Accessors;
14import org.eclipse.xtext.xbase.lib.CollectionLiterals;
15import org.eclipse.xtext.xbase.lib.IterableExtensions;
16import org.eclipse.xtext.xbase.lib.Pure;
17
18@SuppressWarnings("all")
19public class ComponentFaultTreeTrace {
20 @Accessors
21 private final ComponentFaultTree componentFaultTree = CftFactory.eINSTANCE.createComponentFaultTree();
22
23 private final ComponentNameGenerator nameGenerator = new ComponentNameGenerator();
24
25 private final Map<IPatternMatch, ComponentInstanceTrace> componentInstancesMap = CollectionLiterals.<IPatternMatch, ComponentInstanceTrace>newHashMap();
26
27 public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition) {
28 return this.instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false);
29 }
30
31 public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition, final Modality exists, final boolean allowMultiple) {
32 ComponentInstanceTrace _xblockexpression = null;
33 {
34 boolean _containsKey = this.componentInstancesMap.containsKey(patternMatch);
35 if (_containsKey) {
36 throw new IllegalArgumentException(("Already instantiated component for match: " + patternMatch));
37 }
38 final ComponentInstanceTrace componentTrace = new ComponentInstanceTrace(this.componentFaultTree, componenDefinition, this.nameGenerator, exists, allowMultiple);
39 this.componentInstancesMap.put(patternMatch, componentTrace);
40 _xblockexpression = componentTrace;
41 }
42 return _xblockexpression;
43 }
44
45 public void setTopLevel(final ComponentInstanceTrace trace) {
46 Output _topEvent = this.componentFaultTree.getTopEvent();
47 boolean _tripleNotEquals = (_topEvent != null);
48 if (_tripleNotEquals) {
49 throw new IllegalArgumentException("Top level component already set");
50 }
51 final EList<Output> outputs = trace.getOutputs();
52 int _size = outputs.size();
53 boolean _tripleNotEquals_1 = (_size != 1);
54 if (_tripleNotEquals_1) {
55 int _size_1 = outputs.size();
56 String _plus = ("Top level component must have 1 output, got " + Integer.valueOf(_size_1));
57 String _plus_1 = (_plus +
58 " instead");
59 throw new IllegalArgumentException(_plus_1);
60 }
61 boolean _appearsExactlyOnce = trace.appearsExactlyOnce();
62 boolean _not = (!_appearsExactlyOnce);
63 if (_not) {
64 throw new IllegalArgumentException("Top level must appear in the fault tree exactly once");
65 }
66 this.componentFaultTree.setTopEvent(IterableExtensions.<Output>head(outputs));
67 }
68
69 public ComponentInstanceTrace lookup(final IPatternMatch patternMatch) {
70 return this.componentInstancesMap.get(patternMatch);
71 }
72
73 @Pure
74 public ComponentFaultTree getComponentFaultTree() {
75 return this.componentFaultTree;
76 }
77}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java
deleted file mode 100644
index 4034bdf3..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java
+++ /dev/null
@@ -1,77 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import com.google.common.collect.Maps;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
11import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions;
13import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator;
14import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.InputTrace;
15import java.util.Map;
16import org.eclipse.emf.common.util.EList;
17
18@SuppressWarnings("all")
19public class ComponentInstanceTrace {
20 private final Component componentInstance = CftFactory.eINSTANCE.createComponent();
21
22 private final Map<InputEvent, InputTrace> inputEventsMap;
23
24 private final Map<EventDeclaration, Output> outputEventsMap;
25
26 protected ComponentInstanceTrace(final ComponentFaultTree faultTree, final ComponentDefinition componentDefinition, final ComponentNameGenerator nameGenerator, final Modality exists, final boolean multipleAllowed) {
27 this.componentInstance.setComponentDefinition(componentDefinition);
28 this.componentInstance.setName(nameGenerator.nextName(componentDefinition));
29 this.componentInstance.setExists(exists);
30 this.componentInstance.setMultipleAllowed(multipleAllowed);
31 this.inputEventsMap = Maps.<InputEvent, InputTrace>newHashMapWithExpectedSize(componentDefinition.getInputEvents().size());
32 EList<InputEvent> _inputEvents = componentDefinition.getInputEvents();
33 for (final InputEvent inputEvent : _inputEvents) {
34 {
35 final InputTrace inputTrace = new InputTrace(this.componentInstance, inputEvent);
36 this.inputEventsMap.put(inputEvent, inputTrace);
37 }
38 }
39 this.outputEventsMap = Maps.<EventDeclaration, Output>newHashMapWithExpectedSize(componentDefinition.getOutputEvents().size());
40 EList<EventDeclaration> _outputEvents = componentDefinition.getOutputEvents();
41 for (final EventDeclaration outputEvent : _outputEvents) {
42 {
43 final Output output = CftFactory.eINSTANCE.createOutput();
44 output.setEventDeclaration(outputEvent);
45 EList<Output> _outputs = this.componentInstance.getOutputs();
46 _outputs.add(output);
47 this.outputEventsMap.put(outputEvent, output);
48 }
49 }
50 EList<Component> _components = faultTree.getComponents();
51 _components.add(this.componentInstance);
52 }
53
54 public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent) {
55 this.assign(inputEvent, sourceComponent, outputEvent, Modality.MUST);
56 }
57
58 public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent, final Modality exists) {
59 final InputTrace inputTrace = this.inputEventsMap.get(inputEvent);
60 if ((inputTrace == null)) {
61 throw new IllegalArgumentException(("Unknown input: " + inputEvent));
62 }
63 final Output output = sourceComponent.outputEventsMap.get(outputEvent);
64 if ((output == null)) {
65 throw new IllegalArgumentException(("Unknown output: " + outputEvent));
66 }
67 inputTrace.assign(output, exists);
68 }
69
70 protected EList<Output> getOutputs() {
71 return this.componentInstance.getOutputs();
72 }
73
74 protected boolean appearsExactlyOnce() {
75 return CftExtensions.appearsExactlyOnce(this.componentInstance);
76 }
77}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java
deleted file mode 100644
index e7dca003..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java
+++ /dev/null
@@ -1,29 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
4import java.util.Map;
5import org.eclipse.xtext.xbase.lib.CollectionLiterals;
6
7@SuppressWarnings("all")
8public class ComponentNameGenerator {
9 private static final String DEFAULT_NAME = "__unnamed";
10
11 private final Map<ComponentDefinition, Integer> instanceCounts = CollectionLiterals.<ComponentDefinition, Integer>newHashMap();
12
13 public String nextName(final ComponentDefinition componentDefinition) {
14 String _xblockexpression = null;
15 {
16 final Integer instanceCount = this.instanceCounts.getOrDefault(componentDefinition, Integer.valueOf(0));
17 this.instanceCounts.put(componentDefinition, Integer.valueOf(((instanceCount).intValue() + 1)));
18 String _elvis = null;
19 String _name = componentDefinition.getName();
20 if (_name != null) {
21 _elvis = _name;
22 } else {
23 _elvis = ComponentNameGenerator.DEFAULT_NAME;
24 }
25 _xblockexpression = (_elvis + instanceCount);
26 }
27 return _xblockexpression;
28 }
29}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java
deleted file mode 100644
index a63c8e78..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java
+++ /dev/null
@@ -1,41 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import com.google.common.collect.ImmutableList;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree;
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace;
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingHandler;
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingQueries;
10import java.util.List;
11import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine;
12import org.eclipse.xtext.xbase.lib.Functions.Function1;
13import org.eclipse.xtext.xbase.lib.ListExtensions;
14
15@SuppressWarnings("all")
16public class Ecore2CftTransformation {
17 private final List<MappingHandler> mappingHandlers;
18
19 public Ecore2CftTransformation(final TransformationDefinition transformationDefinition, final ViatraQueryEngine viatraQueryEngine) {
20 final MappingQueries mappingQueries = new MappingQueries(transformationDefinition, viatraQueryEngine);
21 final Function1<MappingDefinition, MappingHandler> _function = (MappingDefinition mappingDefinition) -> {
22 return new MappingHandler(mappingDefinition, mappingQueries);
23 };
24 this.mappingHandlers = ImmutableList.<MappingHandler>copyOf(ListExtensions.<MappingDefinition, MappingHandler>map(transformationDefinition.getMappingDefinitions(), _function));
25 }
26
27 public ComponentFaultTree createComponentFaultTree() {
28 ComponentFaultTree _xblockexpression = null;
29 {
30 final ComponentFaultTreeTrace trace = new ComponentFaultTreeTrace();
31 for (final MappingHandler handler : this.mappingHandlers) {
32 handler.instantiateComponents(trace);
33 }
34 for (final MappingHandler handler_1 : this.mappingHandlers) {
35 handler_1.instantiateConnections(trace);
36 }
37 _xblockexpression = trace.getComponentFaultTree();
38 }
39 return _xblockexpression;
40 }
41}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java
deleted file mode 100644
index 2b30566f..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java
+++ /dev/null
@@ -1,43 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions;
11import java.util.Map;
12import org.eclipse.emf.common.util.EList;
13import org.eclipse.xtext.xbase.lib.CollectionLiterals;
14
15@SuppressWarnings("all")
16public class InputTrace {
17 private final Input input = CftFactory.eINSTANCE.createInput();
18
19 private final Map<Output, Connection> connectionsMap = CollectionLiterals.<Output, Connection>newHashMap();
20
21 protected InputTrace(final Component component, final InputEvent inputEvent) {
22 this.input.setInputEvent(inputEvent);
23 EList<Input> _inputs = component.getInputs();
24 _inputs.add(this.input);
25 }
26
27 public void assign(final Output output, final Modality exists) {
28 final Connection connection = this.connectionsMap.get(output);
29 if ((connection == null)) {
30 final Connection newConnection = CftFactory.eINSTANCE.createConnection();
31 newConnection.setOutput(output);
32 newConnection.setExists(exists);
33 EList<Connection> _incomingConnections = this.input.getIncomingConnections();
34 _incomingConnections.add(newConnection);
35 this.connectionsMap.put(output, newConnection);
36 } else {
37 boolean _isMoreConcreteThan = CftExtensions.isMoreConcreteThan(exists, connection.getExists());
38 if (_isMoreConcreteThan) {
39 connection.setExists(exists);
40 }
41 }
42 }
43}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java
deleted file mode 100644
index e155aac8..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java
+++ /dev/null
@@ -1,84 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter;
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace;
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern;
11import org.eclipse.viatra.query.runtime.api.IPatternMatch;
12import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher;
13import org.eclipse.xtext.xbase.lib.Conversions;
14
15@SuppressWarnings("all")
16public class LookupHandler {
17 private final int[] argumentIndices;
18
19 private final ViatraQueryMatcher<? extends IPatternMatch> lookedUpMatcher;
20
21 public LookupHandler(final MappingDefinition mappingDefinition, final LookupDefinition lookupDefinition, final ViatraQueryMatcher<? extends IPatternMatch> lookedUpMatcher) {
22 EObject _eContainer = lookupDefinition.eContainer();
23 boolean _notEquals = (!Objects.equal(_eContainer, mappingDefinition));
24 if (_notEquals) {
25 throw new IllegalArgumentException("lookupDefinition must be contained in mappingDefinition");
26 }
27 final int argumentCount = lookupDefinition.getArguments().size();
28 int _length = ((Object[])Conversions.unwrapArray(lookedUpMatcher.getParameterNames(), Object.class)).length;
29 boolean _notEquals_1 = (argumentCount != _length);
30 if (_notEquals_1) {
31 MappingDefinition _mapping = lookupDefinition.getMapping();
32 Pattern _pattern = null;
33 if (_mapping!=null) {
34 _pattern=_mapping.getPattern();
35 }
36 String _name = null;
37 if (_pattern!=null) {
38 _name=_pattern.getName();
39 }
40 String _plus = ("lookupDefinition (name: " + _name);
41 String _plus_1 = (_plus +
42 ") must have as many arguments as lookedUpMatcher (name: ");
43 String _patternName = lookedUpMatcher.getPatternName();
44 String _plus_2 = (_plus_1 + _patternName);
45 String _plus_3 = (_plus_2 + ")");
46 throw new IllegalArgumentException(_plus_3);
47 }
48 this.argumentIndices = new int[argumentCount];
49 for (int i = 0; (i < argumentCount); i++) {
50 {
51 final MappingParameter argument = lookupDefinition.getArguments().get(i);
52 final int argumentIndex = mappingDefinition.getParameters().indexOf(argument);
53 this.argumentIndices[i] = argumentIndex;
54 }
55 }
56 this.lookedUpMatcher = lookedUpMatcher;
57 }
58
59 public ComponentInstanceTrace lookupForMatch(final ComponentFaultTreeTrace faultTreeTrace, final IPatternMatch match) {
60 ComponentInstanceTrace _xblockexpression = null;
61 {
62 final IPatternMatch lookedUpMatch = this.createLookedUpMatch(match);
63 _xblockexpression = faultTreeTrace.lookup(lookedUpMatch);
64 }
65 return _xblockexpression;
66 }
67
68 private IPatternMatch createLookedUpMatch(final IPatternMatch match) {
69 IPatternMatch _xblockexpression = null;
70 {
71 final IPatternMatch lookedUpMatch = this.lookedUpMatcher.newEmptyMatch();
72 final int argumentCount = this.argumentIndices.length;
73 for (int i = 0; (i < argumentCount); i++) {
74 {
75 final int argumentIndex = this.argumentIndices[i];
76 Object argumentValue = match.get(argumentIndex);
77 lookedUpMatch.set(i, argumentValue);
78 }
79 }
80 _xblockexpression = lookedUpMatch;
81 }
82 return _xblockexpression;
83 }
84}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java
deleted file mode 100644
index 41703289..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java
+++ /dev/null
@@ -1,146 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import com.google.common.collect.ImmutableMap;
4import com.google.common.collect.Iterables;
5import com.google.common.collect.Maps;
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment;
7import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance;
8import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference;
9import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
10import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
11import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition;
13import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace;
14import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace;
15import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.LookupHandler;
16import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingQueries;
17import java.util.HashMap;
18import java.util.HashSet;
19import java.util.Map;
20import java.util.Set;
21import java.util.function.Consumer;
22import org.eclipse.emf.common.util.EList;
23import org.eclipse.viatra.query.runtime.api.IPatternMatch;
24import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher;
25import org.eclipse.xtext.xbase.lib.CollectionLiterals;
26import org.eclipse.xtext.xbase.lib.Functions.Function1;
27import org.eclipse.xtext.xbase.lib.IterableExtensions;
28
29@SuppressWarnings("all")
30public class MappingHandler {
31 private final ViatraQueryMatcher<? extends IPatternMatch> matcher;
32
33 private final MappingDefinition mappingDefinition;
34
35 private final Map<LookupDefinition, LookupHandler> lookupHandlers;
36
37 public MappingHandler(final MappingDefinition mappingDefinition, final MappingQueries mappingQueries) {
38 this.matcher = mappingQueries.getMatcher(mappingDefinition);
39 this.mappingDefinition = mappingDefinition;
40 final HashSet<Variable> variables = CollectionLiterals.<Variable>newHashSet();
41 EList<Assignment> _assignments = mappingDefinition.getAssignments();
42 for (final Assignment assignment : _assignments) {
43 {
44 Variable _component = assignment.getInput().getComponent();
45 variables.add(_component);
46 Variable _component_1 = assignment.getOutput().getComponent();
47 variables.add(_component_1);
48 }
49 }
50 final Function1<LookupDefinition, LookupDefinition> _function = (LookupDefinition it) -> {
51 return it;
52 };
53 final Function1<LookupDefinition, LookupHandler> _function_1 = (LookupDefinition lookupDefinition) -> {
54 return mappingQueries.createLookupHandler(mappingDefinition, lookupDefinition);
55 };
56 this.lookupHandlers = ImmutableMap.<LookupDefinition, LookupHandler>copyOf(IterableExtensions.<LookupDefinition, LookupDefinition, LookupHandler>toMap(Iterables.<LookupDefinition>filter(variables, LookupDefinition.class), _function, _function_1));
57 }
58
59 public void instantiateComponents(final ComponentFaultTreeTrace faultTreeTrace) {
60 boolean _hasComponentInstace = this.hasComponentInstace();
61 boolean _not = (!_hasComponentInstace);
62 if (_not) {
63 return;
64 }
65 final Consumer<IPatternMatch> _function = (IPatternMatch match) -> {
66 final ComponentInstanceTrace componentTrace = faultTreeTrace.instantiateComponent(match, this.getComponentDefinition());
67 boolean _isTopLevel = this.isTopLevel();
68 if (_isTopLevel) {
69 faultTreeTrace.setTopLevel(componentTrace);
70 }
71 };
72 this.matcher.forEachMatch(_function);
73 }
74
75 public void instantiateConnections(final ComponentFaultTreeTrace faultTreeTrace) {
76 boolean _hasConnections = this.hasConnections();
77 boolean _not = (!_hasConnections);
78 if (_not) {
79 return;
80 }
81 final Consumer<IPatternMatch> _function = (IPatternMatch match) -> {
82 final Map<Variable, ComponentInstanceTrace> lookedUpComponents = this.lookupComponents(faultTreeTrace, match);
83 EList<Assignment> _assignments = this.mappingDefinition.getAssignments();
84 for (final Assignment assignment : _assignments) {
85 {
86 final EventReference input = assignment.getInput();
87 final ComponentInstanceTrace inputComponent = lookedUpComponents.get(input.getComponent());
88 final EventReference output = assignment.getOutput();
89 final ComponentInstanceTrace outputComponent = lookedUpComponents.get(output.getComponent());
90 if (((inputComponent != null) && (outputComponent != null))) {
91 inputComponent.assign(input.getEvent(), outputComponent, output.getEvent());
92 }
93 }
94 }
95 };
96 this.matcher.forEachMatch(_function);
97 }
98
99 private Map<Variable, ComponentInstanceTrace> lookupComponents(final ComponentFaultTreeTrace faultTreeTrace, final IPatternMatch match) {
100 HashMap<Variable, ComponentInstanceTrace> _xblockexpression = null;
101 {
102 int _size = this.lookupHandlers.size();
103 int _plus = (_size + 1);
104 final HashMap<Variable, ComponentInstanceTrace> lookedUpComponents = Maps.<Variable, ComponentInstanceTrace>newHashMapWithExpectedSize(_plus);
105 boolean _hasComponentInstace = this.hasComponentInstace();
106 if (_hasComponentInstace) {
107 final ComponentInstanceTrace componentInstance = faultTreeTrace.lookup(match);
108 lookedUpComponents.put(this.mappingDefinition.getComponentInstance(), componentInstance);
109 }
110 Set<Map.Entry<LookupDefinition, LookupHandler>> _entrySet = this.lookupHandlers.entrySet();
111 for (final Map.Entry<LookupDefinition, LookupHandler> pair : _entrySet) {
112 {
113 final ComponentInstanceTrace componentInstance_1 = pair.getValue().lookupForMatch(faultTreeTrace, match);
114 if ((componentInstance_1 != null)) {
115 lookedUpComponents.put(pair.getKey(), componentInstance_1);
116 }
117 }
118 }
119 _xblockexpression = lookedUpComponents;
120 }
121 return _xblockexpression;
122 }
123
124 private ComponentDefinition getComponentDefinition() {
125 ComponentInstance _componentInstance = this.mappingDefinition.getComponentInstance();
126 ComponentDefinition _componentType = null;
127 if (_componentInstance!=null) {
128 _componentType=_componentInstance.getComponentType();
129 }
130 return _componentType;
131 }
132
133 private boolean hasComponentInstace() {
134 ComponentDefinition _componentDefinition = this.getComponentDefinition();
135 return (_componentDefinition != null);
136 }
137
138 private boolean isTopLevel() {
139 return this.mappingDefinition.isTopLevel();
140 }
141
142 private boolean hasConnections() {
143 boolean _isEmpty = this.mappingDefinition.getAssignments().isEmpty();
144 return (!_isEmpty);
145 }
146}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java
deleted file mode 100644
index 6147807e..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java
+++ /dev/null
@@ -1,60 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft;
2
3import com.google.common.collect.ImmutableMap;
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition;
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition;
6import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition;
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.LookupHandler;
8import java.util.Map;
9import org.eclipse.viatra.query.patternlanguage.emf.specification.SpecificationBuilder;
10import org.eclipse.viatra.query.runtime.api.GenericQueryGroup;
11import org.eclipse.viatra.query.runtime.api.IPatternMatch;
12import org.eclipse.viatra.query.runtime.api.IQuerySpecification;
13import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine;
14import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher;
15import org.eclipse.xtext.xbase.lib.Conversions;
16import org.eclipse.xtext.xbase.lib.Functions.Function1;
17import org.eclipse.xtext.xbase.lib.IterableExtensions;
18import org.eclipse.xtext.xbase.lib.MapExtensions;
19
20@SuppressWarnings("all")
21public class MappingQueries {
22 private final Map<MappingDefinition, ViatraQueryMatcher<? extends IPatternMatch>> matchersMap;
23
24 public MappingQueries(final TransformationDefinition transformationDefinition, final ViatraQueryEngine viatraQueryEngine) {
25 final SpecificationBuilder specificationBuilder = new SpecificationBuilder();
26 final Function1<MappingDefinition, MappingDefinition> _function = (MappingDefinition it) -> {
27 return it;
28 };
29 final Function1<MappingDefinition, IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> _function_1 = (MappingDefinition it) -> {
30 return specificationBuilder.getOrCreateSpecification(it.getPattern());
31 };
32 final Map<MappingDefinition, IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> querySpecificationsMap = IterableExtensions.<MappingDefinition, MappingDefinition, IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>>toMap(transformationDefinition.getMappingDefinitions(), _function, _function_1);
33 GenericQueryGroup.of(((IQuerySpecification<?>[])Conversions.unwrapArray(querySpecificationsMap.values(), IQuerySpecification.class))).prepare(viatraQueryEngine);
34 final Function1<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>, ViatraQueryMatcher<? extends IPatternMatch>> _function_2 = (IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>> it) -> {
35 return it.getMatcher(viatraQueryEngine);
36 };
37 this.matchersMap = ImmutableMap.<MappingDefinition, ViatraQueryMatcher<? extends IPatternMatch>>copyOf(MapExtensions.<MappingDefinition, IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>, ViatraQueryMatcher<? extends IPatternMatch>>mapValues(querySpecificationsMap, _function_2));
38 }
39
40 public ViatraQueryMatcher<? extends IPatternMatch> getMatcher(final MappingDefinition mappingDefinition) {
41 ViatraQueryMatcher<? extends IPatternMatch> _xblockexpression = null;
42 {
43 final ViatraQueryMatcher<? extends IPatternMatch> matcher = this.matchersMap.get(mappingDefinition);
44 if ((matcher == null)) {
45 throw new IllegalArgumentException(("Unknown mapping definition: " + mappingDefinition));
46 }
47 _xblockexpression = matcher;
48 }
49 return _xblockexpression;
50 }
51
52 public LookupHandler createLookupHandler(final MappingDefinition mappingDefinition, final LookupDefinition lookupDefinition) {
53 LookupHandler _xblockexpression = null;
54 {
55 final ViatraQueryMatcher<? extends IPatternMatch> lookedUpMatcher = this.getMatcher(lookupDefinition.getMapping());
56 _xblockexpression = new LookupHandler(mappingDefinition, lookupDefinition, lookedUpMatcher);
57 }
58 return _xblockexpression;
59 }
60}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin
deleted file mode 100644
index 0956e6e0..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore
deleted file mode 100644
index f4610b04..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.Ft2GalileoTransformation.java._trace
2/.Ft2GalileoTransformation.xtendbin
3/Ft2GalileoTransformation.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java
deleted file mode 100644
index 8748825d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java
+++ /dev/null
@@ -1,188 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo;
2
3import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution;
7import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution;
8import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
9import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate;
10import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate;
11import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate;
12import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent;
13import java.util.Arrays;
14import org.eclipse.emf.common.util.EList;
15import org.eclipse.xtend2.lib.StringConcatenation;
16import org.eclipse.xtend2.lib.StringConcatenationClient;
17
18@SuppressWarnings("all")
19public class Ft2GalileoTransformation {
20 public CharSequence toGalileo(final FaultTree faultTree) {
21 StringConcatenation _builder = new StringConcatenation();
22 _builder.append("toplevel \"");
23 String _name = faultTree.getTopEvent().getName();
24 _builder.append(_name);
25 _builder.append("\";");
26 _builder.newLineIfNotEmpty();
27 {
28 EList<RandomEvent> _events = faultTree.getEvents();
29 for(final RandomEvent event : _events) {
30 _builder.append("\"");
31 String _name_1 = event.getName();
32 _builder.append(_name_1);
33 _builder.append("\" ");
34 Object _defineEvent = this.defineEvent(event);
35 _builder.append(_defineEvent);
36 _builder.append(";");
37 _builder.newLineIfNotEmpty();
38 }
39 }
40 return _builder;
41 }
42
43 protected Object _defineEvent(final BasicEvent basicEvent) {
44 StringConcatenation _builder = new StringConcatenation();
45 StringConcatenationClient _defineDistribution = this.defineDistribution(basicEvent.getDistribution());
46 _builder.append(_defineDistribution);
47 _builder.append(" dorm=0.0");
48 return _builder;
49 }
50
51 protected StringConcatenationClient _defineDistribution(final ConstantDistribution distribution) {
52 StringConcatenationClient _client = new StringConcatenationClient() {
53 @Override
54 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
55 _builder.append("p=");
56 double _p = distribution.getP();
57 _builder.append(_p);
58 }
59 };
60 return _client;
61 }
62
63 protected StringConcatenationClient _defineDistribution(final ExponentialDistribution distribution) {
64 StringConcatenationClient _client = new StringConcatenationClient() {
65 @Override
66 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
67 _builder.append("lambda=");
68 double _lambda = distribution.getLambda();
69 _builder.append(_lambda);
70 }
71 };
72 return _client;
73 }
74
75 protected StringConcatenationClient _defineDistribution(final Distribution distribution) {
76 throw new IllegalArgumentException(("Unknown distribution: " + distribution));
77 }
78
79 protected StringConcatenationClient _defineEvent(final Gate gate) {
80 StringConcatenationClient _client = new StringConcatenationClient() {
81 @Override
82 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
83 StringConcatenationClient _defineGate = Ft2GalileoTransformation.this.defineGate(gate);
84 _builder.append(_defineGate);
85 _builder.append(" ");
86 {
87 EList<RandomEvent> _inputEvents = gate.getInputEvents();
88 boolean _hasElements = false;
89 for(final RandomEvent input : _inputEvents) {
90 if (!_hasElements) {
91 _hasElements = true;
92 } else {
93 _builder.appendImmediate(" ", "");
94 }
95 _builder.append("\"");
96 String _name = input.getName();
97 _builder.append(_name);
98 _builder.append("\"");
99 }
100 }
101 }
102 };
103 return _client;
104 }
105
106 protected StringConcatenationClient _defineGate(final AndGate gate) {
107 StringConcatenationClient _client = new StringConcatenationClient() {
108 @Override
109 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
110 _builder.append("and");
111 }
112 };
113 return _client;
114 }
115
116 protected StringConcatenationClient _defineGate(final OrGate gate) {
117 StringConcatenationClient _client = new StringConcatenationClient() {
118 @Override
119 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
120 _builder.append("or");
121 }
122 };
123 return _client;
124 }
125
126 protected StringConcatenationClient _defineGate(final KOfMGate gate) {
127 StringConcatenationClient _client = new StringConcatenationClient() {
128 @Override
129 protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) {
130 int _k = gate.getK();
131 _builder.append(_k);
132 _builder.append("of");
133 int _size = gate.getInputEvents().size();
134 _builder.append(_size);
135 }
136 };
137 return _client;
138 }
139
140 protected StringConcatenationClient _defineGate(final Gate gate) {
141 throw new IllegalArgumentException(("Unknown gate: " + gate));
142 }
143
144 protected StringConcatenationClient _defineEvent(final RandomEvent randomEvent) {
145 throw new IllegalArgumentException(("Unknown random even: " + randomEvent));
146 }
147
148 protected Object defineEvent(final RandomEvent basicEvent) {
149 if (basicEvent instanceof BasicEvent) {
150 return _defineEvent((BasicEvent)basicEvent);
151 } else if (basicEvent instanceof Gate) {
152 return _defineEvent((Gate)basicEvent);
153 } else if (basicEvent != null) {
154 return _defineEvent(basicEvent);
155 } else {
156 throw new IllegalArgumentException("Unhandled parameter types: " +
157 Arrays.<Object>asList(basicEvent).toString());
158 }
159 }
160
161 protected StringConcatenationClient defineDistribution(final Distribution distribution) {
162 if (distribution instanceof ConstantDistribution) {
163 return _defineDistribution((ConstantDistribution)distribution);
164 } else if (distribution instanceof ExponentialDistribution) {
165 return _defineDistribution((ExponentialDistribution)distribution);
166 } else if (distribution != null) {
167 return _defineDistribution(distribution);
168 } else {
169 throw new IllegalArgumentException("Unhandled parameter types: " +
170 Arrays.<Object>asList(distribution).toString());
171 }
172 }
173
174 protected StringConcatenationClient defineGate(final Gate gate) {
175 if (gate instanceof AndGate) {
176 return _defineGate((AndGate)gate);
177 } else if (gate instanceof KOfMGate) {
178 return _defineGate((KOfMGate)gate);
179 } else if (gate instanceof OrGate) {
180 return _defineGate((OrGate)gate);
181 } else if (gate != null) {
182 return _defineGate(gate);
183 } else {
184 throw new IllegalArgumentException("Unhandled parameter types: " +
185 Arrays.<Object>asList(gate).toString());
186 }
187 }
188}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin
deleted file mode 100644
index cdaacb58..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin
deleted file mode 100644
index 6e1908aa..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin
deleted file mode 100644
index 5772b0e7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin
deleted file mode 100644
index e1c1a8c7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin
+++ /dev/null
Binary files differ
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore
deleted file mode 100644
index 8a74c101..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore
+++ /dev/null
@@ -1,20 +0,0 @@
1/.StormDftSolver.java._trace
2/.StormDftConfiguration.java._trace
3/.StormDftMttfConfiguration.java._trace
4/.FtAnalysisObjective.java._trace
5/.ApproximationHeuristic.java._trace
6/.StormDftHandler.java._trace
7/.StormDftException.java._trace
8/.ReliabilityModelSolution.java._trace
9/.ReliabilityResult.java._trace
10/.ReliabilityResult.xtendbin
11/.StormDftConfiguration.xtendbin
12/.StormDftHandler.xtendbin
13/.StormDftSolver.xtendbin
14/ApproximationHeuristic.java
15/FtAnalysisObjective.java
16/ReliabilityResult.java
17/StormDftConfiguration.java
18/StormDftException.java
19/StormDftHandler.java
20/StormDftSolver.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java
deleted file mode 100644
index 822d4f36..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java
+++ /dev/null
@@ -1,8 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3@SuppressWarnings("all")
4public enum ApproximationHeuristic {
5 NONE,
6
7 DEPTH;
8}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java
deleted file mode 100644
index 528ada42..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java
+++ /dev/null
@@ -1,14 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3@SuppressWarnings("all")
4public abstract class FtAnalysisObjective {
5 public static final class TimeBound extends FtAnalysisObjective {
6 public double timeBound = 0;
7 }
8
9 public static final FtAnalysisObjective MTTF = new FtAnalysisObjective() {
10 };
11
12 private FtAnalysisObjective() {
13 }
14}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java
deleted file mode 100644
index c8c8b000..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java
+++ /dev/null
@@ -1,156 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3import org.eclipse.xtend.lib.annotations.Data;
4import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor;
5import org.eclipse.xtext.xbase.lib.Pure;
6import org.eclipse.xtext.xbase.lib.util.ToStringBuilder;
7
8@SuppressWarnings("all")
9public abstract class ReliabilityResult {
10 @Data
11 public static final class Solution extends ReliabilityResult {
12 private final double lowerBound;
13
14 private final double upperBound;
15
16 public Solution(final double value) {
17 this(value, value);
18 }
19
20 public Solution(final double lowerBound, final double upperBound) {
21 if ((lowerBound > upperBound)) {
22 throw new IllegalArgumentException("lowerBound must not be larger than upperBound");
23 }
24 this.lowerBound = lowerBound;
25 this.upperBound = upperBound;
26 }
27
28 @Override
29 public ReliabilityResult.Solution getOrThrow() {
30 return this;
31 }
32
33 @Override
34 @Pure
35 public int hashCode() {
36 final int prime = 31;
37 int result = 1;
38 result = prime * result + (int) (Double.doubleToLongBits(this.lowerBound) ^ (Double.doubleToLongBits(this.lowerBound) >>> 32));
39 return prime * result + (int) (Double.doubleToLongBits(this.upperBound) ^ (Double.doubleToLongBits(this.upperBound) >>> 32));
40 }
41
42 @Override
43 @Pure
44 public boolean equals(final Object obj) {
45 if (this == obj)
46 return true;
47 if (obj == null)
48 return false;
49 if (getClass() != obj.getClass())
50 return false;
51 ReliabilityResult.Solution other = (ReliabilityResult.Solution) obj;
52 if (Double.doubleToLongBits(other.lowerBound) != Double.doubleToLongBits(this.lowerBound))
53 return false;
54 if (Double.doubleToLongBits(other.upperBound) != Double.doubleToLongBits(this.upperBound))
55 return false;
56 return true;
57 }
58
59 @Override
60 @Pure
61 public String toString() {
62 return new ToStringBuilder(this)
63 .addAllFields()
64 .toString();
65 }
66
67 @Pure
68 public double getLowerBound() {
69 return this.lowerBound;
70 }
71
72 @Pure
73 public double getUpperBound() {
74 return this.upperBound;
75 }
76 }
77
78 @Data
79 public static final class Unknown extends ReliabilityResult {
80 private final String message;
81
82 private final Throwable cause;
83
84 @FinalFieldsConstructor
85 public Unknown(final String message, final Throwable cause) {
86 super();
87 this.message = message;
88 this.cause = cause;
89 }
90
91 public Unknown(final String message) {
92 this(message, null);
93 }
94
95 @Override
96 public ReliabilityResult.Solution getOrThrow() {
97 throw new RuntimeException(this.message, this.cause);
98 }
99
100 @Override
101 @Pure
102 public int hashCode() {
103 final int prime = 31;
104 int result = 1;
105 result = prime * result + ((this.message== null) ? 0 : this.message.hashCode());
106 return prime * result + ((this.cause== null) ? 0 : this.cause.hashCode());
107 }
108
109 @Override
110 @Pure
111 public boolean equals(final Object obj) {
112 if (this == obj)
113 return true;
114 if (obj == null)
115 return false;
116 if (getClass() != obj.getClass())
117 return false;
118 ReliabilityResult.Unknown other = (ReliabilityResult.Unknown) obj;
119 if (this.message == null) {
120 if (other.message != null)
121 return false;
122 } else if (!this.message.equals(other.message))
123 return false;
124 if (this.cause == null) {
125 if (other.cause != null)
126 return false;
127 } else if (!this.cause.equals(other.cause))
128 return false;
129 return true;
130 }
131
132 @Override
133 @Pure
134 public String toString() {
135 return new ToStringBuilder(this)
136 .addAllFields()
137 .toString();
138 }
139
140 @Pure
141 public String getMessage() {
142 return this.message;
143 }
144
145 @Pure
146 public Throwable getCause() {
147 return this.cause;
148 }
149 }
150
151 public static final ReliabilityResult.Unknown TIMEOUT = new ReliabilityResult.Unknown("Solver timed out");
152
153 public static final ReliabilityResult.Unknown MEMOUT = new ReliabilityResult.Unknown("Solver out of memory");
154
155 public abstract ReliabilityResult.Solution getOrThrow();
156}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java
deleted file mode 100644
index e1bb3625..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java
+++ /dev/null
@@ -1,31 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic;
5import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective;
6import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration;
7
8@SuppressWarnings("all")
9public final class StormDftConfiguration extends SolverConfiguration {
10 public static final String DEFAULT_SOLVER_PATH = "storm-dft";
11
12 public double precision = 1e-6;
13
14 public boolean bisimulation = true;
15
16 public boolean symmetryReduction = true;
17
18 public boolean modularization = true;
19
20 public boolean dontCarePropagation = true;
21
22 public double approximation = 0;
23
24 public ApproximationHeuristic approximationHeuristic = ApproximationHeuristic.NONE;
25
26 public FtAnalysisObjective objective;
27
28 public boolean isApproximationInUse() {
29 return (!Objects.equal(this.approximationHeuristic, ApproximationHeuristic.NONE));
30 }
31}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java
deleted file mode 100644
index 955c9ed1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java
+++ /dev/null
@@ -1,12 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3@SuppressWarnings("all")
4public class StormDftException extends RuntimeException {
5 public StormDftException(final String s) {
6 super(s);
7 }
8
9 public StormDftException(final String s, final Exception e) {
10 super(s, e);
11 }
12}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java
deleted file mode 100644
index 46127425..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java
+++ /dev/null
@@ -1,330 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3import com.google.common.base.Objects;
4import com.google.common.collect.ImmutableList;
5import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic;
6import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective;
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult;
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration;
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftException;
10import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel;
11import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration;
12import java.io.BufferedReader;
13import java.io.IOException;
14import java.io.InputStream;
15import java.io.InputStreamReader;
16import java.util.ArrayList;
17import java.util.regex.Matcher;
18import java.util.regex.Pattern;
19import org.eclipse.xtend2.lib.StringConcatenation;
20import org.eclipse.xtext.xbase.lib.CollectionLiterals;
21import org.eclipse.xtext.xbase.lib.Exceptions;
22import org.eclipse.xtext.xbase.lib.Extension;
23import org.eclipse.xtext.xbase.lib.Functions.Function0;
24import org.eclipse.xtext.xbase.lib.InputOutput;
25import org.eclipse.xtext.xbase.lib.IterableExtensions;
26
27@SuppressWarnings("all")
28public class StormDftHandler {
29 private static final String DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?";
30
31 private static final String SINGLE_RESULT_GROUP = "single";
32
33 private static final String LOWER_BOUND_GROUP = "lower";
34
35 private static final String UPPER_BOUND_GROUP = "upper";
36
37 private static final String RESULT_REGEX = new Function0<String>() {
38 public String apply() {
39 StringConcatenation _builder = new StringConcatenation();
40 _builder.append("^Result:\\s*\\[(?:(?<");
41 _builder.append(StormDftHandler.SINGLE_RESULT_GROUP);
42 _builder.append(">");
43 _builder.append(StormDftHandler.DOUBLE_REGEX);
44 _builder.append(")|\\((?<");
45 _builder.append(StormDftHandler.LOWER_BOUND_GROUP);
46 _builder.append(">");
47 _builder.append(StormDftHandler.DOUBLE_REGEX);
48 _builder.append("),\\s*(?<");
49 _builder.append(StormDftHandler.UPPER_BOUND_GROUP);
50 _builder.append(">");
51 _builder.append(StormDftHandler.DOUBLE_REGEX);
52 _builder.append(")\\))\\]");
53 return _builder.toString();
54 }
55 }.apply();
56
57 private static final Pattern RESULT_PATTERN = Pattern.compile(StormDftHandler.RESULT_REGEX);
58
59 private static final int SIGNAL_EXIT_VALUE_OFFSET = 0x80;
60
61 private static final int SIGXCPU = 24;
62
63 private static final int SIGXFSZ = 25;
64
65 private static final int STORM_GENERAL_ERROR = ((-1) & 0xff);
66
67 private static final int STORM_TIMEOUT = ((-2) & 0xff);
68
69 private static final int STORM_MEMOUT = ((-3) & 0xff);
70
71 public ReliabilityResult callSolver(final String dftFilePath, final StormDftConfiguration configuration) {
72 try {
73 ReliabilityResult _xblockexpression = null;
74 {
75 final ImmutableList<String> commandLine = this.toCommandLine(configuration, dftFilePath);
76 final DocumentationLevel documentationLevel = configuration.documentationLevel;
77 final boolean printOutput = (Objects.equal(documentationLevel, DocumentationLevel.NORMAL) ||
78 Objects.equal(documentationLevel, DocumentationLevel.FULL));
79 final ProcessBuilder processBuilder = new ProcessBuilder().command(commandLine);
80 Process process = null;
81 ReliabilityResult _xtrycatchfinallyexpression = null;
82 try {
83 ReliabilityResult _xtrycatchfinallyexpression_1 = null;
84 try {
85 ReliabilityResult _xblockexpression_1 = null;
86 {
87 process = processBuilder.start();
88 process.getOutputStream().close();
89 final ReliabilityResult.Solution result = this.readOutput(process.getInputStream(), printOutput);
90 final String error = this.readError(process.getErrorStream(), printOutput);
91 final int exitValue = process.waitFor();
92 ReliabilityResult _xifexpression = null;
93 if ((result == null)) {
94 _xifexpression = this.interpretExitStatus(exitValue, error);
95 } else {
96 _xifexpression = result;
97 }
98 _xblockexpression_1 = _xifexpression;
99 }
100 _xtrycatchfinallyexpression_1 = _xblockexpression_1;
101 } catch (final Throwable _t) {
102 if (_t instanceof IOException) {
103 final IOException e = (IOException)_t;
104 throw new StormDftException("Error during input/output handling of the stochastic solver.", e);
105 } else {
106 throw Exceptions.sneakyThrow(_t);
107 }
108 }
109 _xtrycatchfinallyexpression = _xtrycatchfinallyexpression_1;
110 } catch (final Throwable _t_1) {
111 if (_t_1 instanceof Exception) {
112 final Exception e_1 = (Exception)_t_1;
113 if ((process != null)) {
114 process.destroyForcibly().waitFor();
115 }
116 throw e_1;
117 } else {
118 throw Exceptions.sneakyThrow(_t_1);
119 }
120 }
121 _xblockexpression = _xtrycatchfinallyexpression;
122 }
123 return _xblockexpression;
124 } catch (Throwable _e) {
125 throw Exceptions.sneakyThrow(_e);
126 }
127 }
128
129 private ImmutableList<String> toCommandLine(@Extension final StormDftConfiguration configuration, final String dftFilePath) {
130 ImmutableList<String> _xblockexpression = null;
131 {
132 @Extension
133 final ImmutableList.Builder<String> optionsBuilder = ImmutableList.<String>builder();
134 String _elvis = null;
135 if (configuration.solverPath != null) {
136 _elvis = configuration.solverPath;
137 } else {
138 _elvis = StormDftConfiguration.DEFAULT_SOLVER_PATH;
139 }
140 optionsBuilder.add(_elvis);
141 if ((configuration.runtimeLimit != SolverConfiguration.Unlimited)) {
142 optionsBuilder.add("--timeout", Integer.valueOf(configuration.runtimeLimit).toString());
143 }
144 optionsBuilder.add("--precision", Double.valueOf(configuration.precision).toString());
145 if (configuration.bisimulation) {
146 optionsBuilder.add("--bisimulation");
147 }
148 if (configuration.symmetryReduction) {
149 optionsBuilder.add("--symmetryreduction");
150 }
151 if (configuration.modularization) {
152 optionsBuilder.add("--modularisation");
153 }
154 if ((!configuration.dontCarePropagation)) {
155 optionsBuilder.add("--disabledc");
156 }
157 boolean _isApproximationInUse = configuration.isApproximationInUse();
158 if (_isApproximationInUse) {
159 String _switchResult = null;
160 final ApproximationHeuristic approximationHeuristic = configuration.approximationHeuristic;
161 if (approximationHeuristic != null) {
162 switch (approximationHeuristic) {
163 case DEPTH:
164 _switchResult = "depth";
165 break;
166 default:
167 throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic));
168 }
169 } else {
170 throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic));
171 }
172 final String heuristicName = _switchResult;
173 optionsBuilder.add("--approximation", Double.valueOf(configuration.approximation).toString(), "--approximationheuristic", heuristicName);
174 }
175 optionsBuilder.add("--dftfile", dftFilePath);
176 final FtAnalysisObjective objective = configuration.objective;
177 boolean _matched = false;
178 if (Objects.equal(objective, FtAnalysisObjective.MTTF)) {
179 _matched=true;
180 optionsBuilder.add("--expectedtime");
181 }
182 if (!_matched) {
183 if (objective instanceof FtAnalysisObjective.TimeBound) {
184 _matched=true;
185 optionsBuilder.add("--timebound");
186 }
187 }
188 if (!_matched) {
189 throw new IllegalArgumentException(("Unknown analysis objective: " + configuration.objective));
190 }
191 boolean _equals = Objects.equal(configuration.documentationLevel, DocumentationLevel.FULL);
192 if (_equals) {
193 optionsBuilder.add("--verbose");
194 }
195 _xblockexpression = optionsBuilder.build();
196 }
197 return _xblockexpression;
198 }
199
200 private ReliabilityResult.Solution readOutput(final InputStream inputStream, final boolean printOutput) {
201 try {
202 Object _xblockexpression = null;
203 {
204 InputStreamReader _inputStreamReader = new InputStreamReader(inputStream);
205 final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader);
206 try {
207 String line = null;
208 while (((line = bufferedReader.readLine()) != null)) {
209 {
210 if (printOutput) {
211 InputOutput.<String>println(line);
212 }
213 final Matcher matcher = StormDftHandler.RESULT_PATTERN.matcher(line);
214 boolean _find = matcher.find();
215 if (_find) {
216 try {
217 final String single = matcher.group(StormDftHandler.SINGLE_RESULT_GROUP);
218 if ((single != null)) {
219 final double singleValue = Double.parseDouble(single);
220 return new ReliabilityResult.Solution(singleValue);
221 }
222 final String lower = matcher.group(StormDftHandler.LOWER_BOUND_GROUP);
223 final String upper = matcher.group(StormDftHandler.UPPER_BOUND_GROUP);
224 if (((lower != null) && (upper != null))) {
225 final double lowerValue = Double.parseDouble(lower);
226 final double upperValue = Double.parseDouble(upper);
227 return new ReliabilityResult.Solution(lowerValue, upperValue);
228 }
229 throw new StormDftException(("Inconsistent stochastic solver output: " + line));
230 } catch (final Throwable _t) {
231 if (_t instanceof NumberFormatException) {
232 final NumberFormatException e = (NumberFormatException)_t;
233 throw new StormDftException("Malformatted number from stochastic solver.", e);
234 } else {
235 throw Exceptions.sneakyThrow(_t);
236 }
237 }
238 }
239 }
240 }
241 } finally {
242 bufferedReader.close();
243 }
244 _xblockexpression = null;
245 }
246 return ((ReliabilityResult.Solution)_xblockexpression);
247 } catch (Throwable _e) {
248 throw Exceptions.sneakyThrow(_e);
249 }
250 }
251
252 private String readError(final InputStream inputStream, final boolean printOutput) {
253 try {
254 String _xblockexpression = null;
255 {
256 InputStreamReader _inputStreamReader = new InputStreamReader(inputStream);
257 final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader);
258 String _xtrycatchfinallyexpression = null;
259 try {
260 String _xblockexpression_1 = null;
261 {
262 final ArrayList<String> lines = CollectionLiterals.<String>newArrayList();
263 String line = null;
264 while (((line = bufferedReader.readLine()) != null)) {
265 {
266 if (printOutput) {
267 System.err.println(line);
268 }
269 lines.add(line);
270 }
271 }
272 _xblockexpression_1 = IterableExtensions.join(lines, "\n");
273 }
274 _xtrycatchfinallyexpression = _xblockexpression_1;
275 } finally {
276 bufferedReader.close();
277 }
278 _xblockexpression = _xtrycatchfinallyexpression;
279 }
280 return _xblockexpression;
281 } catch (Throwable _e) {
282 throw Exceptions.sneakyThrow(_e);
283 }
284 }
285
286 private ReliabilityResult.Unknown interpretExitStatus(final int exitValue, final String error) {
287 ReliabilityResult.Unknown _switchResult = null;
288 boolean _matched = false;
289 if (Objects.equal(exitValue, StormDftHandler.STORM_GENERAL_ERROR)) {
290 _matched=true;
291 throw new StormDftException(("Storm error: " + error));
292 }
293 if (!_matched) {
294 if (Objects.equal(exitValue, StormDftHandler.STORM_TIMEOUT)) {
295 _matched=true;
296 }
297 if (!_matched) {
298 if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXCPU))) {
299 _matched=true;
300 }
301 }
302 if (_matched) {
303 _switchResult = ReliabilityResult.TIMEOUT;
304 }
305 }
306 if (!_matched) {
307 if (Objects.equal(exitValue, StormDftHandler.STORM_MEMOUT)) {
308 _matched=true;
309 }
310 if (!_matched) {
311 if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXFSZ))) {
312 _matched=true;
313 }
314 }
315 if (_matched) {
316 _switchResult = ReliabilityResult.MEMOUT;
317 }
318 }
319 if (!_matched) {
320 {
321 if ((exitValue > StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET)) {
322 final int signalNumber = (exitValue - StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET);
323 throw new StormDftException(((("Storm unexpectedly killed by signal " + Integer.valueOf(signalNumber)) + ": ") + error));
324 }
325 throw new StormDftException(((("Storm unexpectedly exit with status " + Integer.valueOf(exitValue)) + ": ") + error));
326 }
327 }
328 return _switchResult;
329 }
330}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java
deleted file mode 100644
index 491e7fc1..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java
+++ /dev/null
@@ -1,79 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver;
2
3import com.google.common.base.Objects;
4import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel;
5import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree;
6import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel;
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation;
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective;
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult;
10import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration;
11import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftHandler;
12import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace;
13
14@SuppressWarnings("all")
15public class StormDftSolver {
16 private static final String DFT_FILE_NAME = "ft.dft";
17
18 private final Ft2GalileoTransformation ft2Galileo = new Ft2GalileoTransformation();
19
20 private final StormDftHandler handler = new StormDftHandler();
21
22 public ReliabilityResult solve(final ReliabilityModel reliabilityModel, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) {
23 ReliabilityResult _switchResult = null;
24 boolean _matched = false;
25 if (reliabilityModel instanceof FaultTree) {
26 _matched=true;
27 _switchResult = this.solve(((FaultTree)reliabilityModel), configuration, reasonerWorkspace);
28 }
29 if (!_matched) {
30 if (reliabilityModel instanceof ConstantModel) {
31 _matched=true;
32 ReliabilityResult.Solution _xblockexpression = null;
33 {
34 double _xifexpression = (double) 0;
35 boolean _isFailed = ((ConstantModel)reliabilityModel).isFailed();
36 if (_isFailed) {
37 _xifexpression = 0;
38 } else {
39 double _switchResult_1 = (double) 0;
40 final FtAnalysisObjective objective = configuration.objective;
41 boolean _matched_1 = false;
42 if (Objects.equal(objective, FtAnalysisObjective.MTTF)) {
43 _matched_1=true;
44 _switchResult_1 = Double.POSITIVE_INFINITY;
45 }
46 if (!_matched_1) {
47 if (objective instanceof FtAnalysisObjective.TimeBound) {
48 _matched_1=true;
49 _switchResult_1 = 1;
50 }
51 }
52 if (!_matched_1) {
53 throw new IllegalArgumentException(("Unknown objective: " + objective));
54 }
55 _xifexpression = _switchResult_1;
56 }
57 final double result = _xifexpression;
58 _xblockexpression = new ReliabilityResult.Solution(result);
59 }
60 _switchResult = _xblockexpression;
61 }
62 }
63 if (!_matched) {
64 throw new IllegalArgumentException(("Unknown reliability model: " + reliabilityModel));
65 }
66 return _switchResult;
67 }
68
69 public ReliabilityResult solve(final FaultTree faultTree, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) {
70 ReliabilityResult _xblockexpression = null;
71 {
72 final CharSequence galileo = this.ft2Galileo.toGalileo(faultTree);
73 reasonerWorkspace.writeText(StormDftSolver.DFT_FILE_NAME, galileo);
74 final String dftFilePath = reasonerWorkspace.getFile(StormDftSolver.DFT_FILE_NAME).getAbsolutePath();
75 _xblockexpression = this.handler.callSolver(dftFilePath, configuration);
76 }
77 return _xblockexpression;
78 }
79}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath
deleted file mode 100644
index 428337e5..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
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="src" path="xtend-gen"/>
7 <classpathentry kind="output" path="bin"/>
8</classpath>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project
deleted file mode 100644
index 98f85839..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project
+++ /dev/null
@@ -1,34 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dslreasoner.faulttree.ui</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.pde.PluginNature</nature>
31 <nature>org.eclipse.jdt.core.javanature</nature>
32 <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4org.eclipse.jdt.core.compiler.compliance=1.8
5org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7org.eclipse.jdt.core.compiler.source=1.8
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 59c1c5f7..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,25 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: Ui
4Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.ui;singleton:=true
5Bundle-Version: 1.0.0.qualifier
6Bundle-Activator: hu.bme.mit.inf.dslreasoner.faulttree.ui.Activator
7Require-Bundle: org.eclipse.ui,
8 org.eclipse.core.runtime,
9 com.google.guava,
10 org.eclipse.xtext.xbase.lib,
11 org.eclipse.xtend.lib,
12 org.eclipse.xtend.lib.macro,
13 org.eclipse.core.resources,
14 org.eclipse.emf.ecore,
15 org.eclipse.viatra.query.runtime,
16 org.eclipse.viatra.query.runtime.rete,
17 org.eclipse.viatra.query.runtime.localsearch,
18 hu.bme.mit.inf.dslreasoner.logic.model,
19 hu.bme.mit.inf.dslreasoner.faulttree.components,
20 hu.bme.mit.inf.dslreasoner.faulttree.transformation,
21 hu.bme.mit.inf.dslreasoner.application,
22 hu.bme.mit.inf.dslreasoner.application.ui
23Bundle-RequiredExecutionEnvironment: JavaSE-1.8
24Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.ui
25Bundle-ActivationPolicy: lazy
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore
deleted file mode 100644
index b271af76..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.ReliabilityAnalysisHandler.java._trace
2/.ReliabilityAnalysisHandler.xtendbin
3/ReliabilityAnalysisHandler.java
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend
deleted file mode 100644
index 5fa89148..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend
+++ /dev/null
@@ -1,128 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler
2
3import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
6import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult
10import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration
11import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver
12import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
13import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace
14import org.eclipse.core.commands.AbstractHandler
15import org.eclipse.core.commands.ExecutionEvent
16import org.eclipse.core.commands.ExecutionException
17import org.eclipse.core.resources.IFile
18import org.eclipse.core.resources.IProject
19import org.eclipse.core.resources.IResource
20import org.eclipse.core.runtime.IProgressMonitor
21import org.eclipse.core.runtime.NullProgressMonitor
22import org.eclipse.emf.common.util.URI
23import org.eclipse.emf.ecore.resource.Resource
24import org.eclipse.emf.ecore.resource.ResourceSet
25import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
26import org.eclipse.swt.widgets.MessageBox
27import org.eclipse.ui.PlatformUI
28import org.eclipse.ui.handlers.HandlerUtil
29import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine
30import org.eclipse.viatra.query.runtime.emf.EMFScope
31
32class ReliabilityAnalysisHandler extends AbstractHandler {
33
34 override execute(ExecutionEvent event) throws ExecutionException {
35 val selection = HandlerUtil.getCurrentStructuredSelection(event)
36 val resourceSet = new ResourceSetImpl
37 val iterator = selection.iterator
38 var IProject targetProject = null
39 var Resource targetResource = null
40 var TransformationDefinition transformationDefinition = null
41 while (iterator.hasNext) {
42 val selectedElement = iterator.next
43 if (selectedElement instanceof IFile) {
44 val resource = tryLoadResource(resourceSet, selectedElement)
45 if (resource !== null && !resource.contents.empty) {
46 val rootElement = resource.contents.head
47 if (rootElement instanceof CftModel) {
48 if (rootElement.transformationDefinitions.empty) {
49 throw new IllegalArgumentException("Selected cft file is not a transformation definition.")
50 }
51 if (transformationDefinition !== null) {
52 throw new IllegalArgumentException(
53 "Only a single transformation definition may be selected.")
54 }
55 transformationDefinition = rootElement.transformationDefinitions.head
56 } else {
57 if (targetResource !== null) {
58 throw new IllegalArgumentException("Only a single architecture model may be selected.")
59 }
60 targetResource = resource
61 targetProject = selectedElement.project
62 }
63 }
64 }
65 }
66 if (targetResource === null || targetResource === null) {
67 throw new IllegalArgumentException(
68 "A transformation definition and an architecture model must be selected.")
69 }
70 runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor)
71 null
72 }
73
74 private static def tryLoadResource(ResourceSet resourceSet, IFile file) {
75 val fullPath = file.fullPath.toString
76 val uri = URI.createPlatformResourceURI(fullPath, true)
77 try {
78 resourceSet.getResource(uri, true)
79 } catch (RuntimeException e) {
80 null
81 }
82 }
83
84 private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project,
85 IProgressMonitor monitor) {
86 val workspace = createWorkspace(project, monitor)
87 val cft = createComponentFaultTree(transformationDefinition, resource)
88 workspace.writeModel(cft, "cft.xmi")
89 val cft2ft = new Cft2FtTransformation
90 val ft = cft2ft.createFaultTree(cft)
91 workspace.writeModel(ft, "ft.xmi")
92 val solver = new StormDftSolver
93 val config = new StormDftConfiguration
94 config.progressMonitor = new EclipseBasedProgressMonitor(monitor)
95 config.documentationLevel = DocumentationLevel.NORMAL
96 config.objective = FtAnalysisObjective.MTTF
97 val result = solver.solve(ft, config, workspace)
98 displayResult(result)
99 }
100
101 private def createWorkspace(IProject project, IProgressMonitor monitor) {
102 val folder = project.getFolder("debug")
103 if (!folder.exists) {
104 folder.create(IResource.NONE, true, monitor)
105 }
106 val path = folder.fullPath.toString
107 val uri = URI.createPlatformResourceURI(path, true)
108 val workspace = new ProjectWorkspace(uri.toString, "")
109 workspace.initAndClear
110 workspace
111 }
112
113 private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) {
114 val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource))
115 try {
116 val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine)
117 ecore2cft.createComponentFaultTree
118 } finally {
119 queryEngine.dispose
120 }
121 }
122
123 private def displayResult(ReliabilityResult result) {
124 val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell)
125 messageBox.message = result.toString
126 messageBox.open
127 }
128}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties
deleted file mode 100644
index e9863e28..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
1source.. = src/
2output.. = bin/
3bin.includes = META-INF/,\
4 .,\
5 plugin.xml
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml
deleted file mode 100644
index 8a01c50c..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml
+++ /dev/null
@@ -1,25 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<plugin>
4 <extension
5 point="org.eclipse.ui.menus">
6 <menuContribution
7 allPopups="false"
8 locationURI="popup:hu.bme.mit.inf.dslreasoner.application.ui.menu?after=hu.bme.mit.inf.dslreasoner.application.ui.executescript">
9 <command
10 commandId="hu.bme.mit.inf.dslreasoner.faulttree.ui.reliabilityanalysis"
11 label="Reliability Analysis..."
12 style="push">
13 </command>
14 </menuContribution>
15 </extension>
16 <extension
17 point="org.eclipse.ui.commands">
18 <command
19 defaultHandler="hu.bme.mit.inf.dslreasoner.faulttree.ui.handler.ReliabilityAnalysisHandler"
20 id="hu.bme.mit.inf.dslreasoner.faulttree.ui.reliabilityanalysis"
21 name="Execute Reliability Analysis">
22 </command>
23 </extension>
24
25</plugin>
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java
deleted file mode 100644
index 4363fc63..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java
+++ /dev/null
@@ -1,44 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.ui;
2
3import org.eclipse.ui.plugin.AbstractUIPlugin;
4import org.osgi.framework.BundleContext;
5
6/**
7 * The activator class controls the plug-in life cycle
8 */
9public class Activator extends AbstractUIPlugin {
10
11 // The plug-in ID
12 public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.faulttree.ui"; //$NON-NLS-1$
13
14 // The shared instance
15 private static Activator plugin;
16
17 /**
18 * The constructor
19 */
20 public Activator() {
21 }
22
23 @Override
24 public void start(BundleContext context) throws Exception {
25 super.start(context);
26 plugin = this;
27 }
28
29 @Override
30 public void stop(BundleContext context) throws Exception {
31 plugin = null;
32 super.stop(context);
33 }
34
35 /**
36 * Returns the shared instance
37 *
38 * @return the shared instance
39 */
40 public static Activator getDefault() {
41 return plugin;
42 }
43
44}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend
deleted file mode 100644
index 5fa89148..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend
+++ /dev/null
@@ -1,128 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler
2
3import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor
4import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel
5import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition
6import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation
7import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation
8import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective
9import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult
10import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration
11import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver
12import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
13import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace
14import org.eclipse.core.commands.AbstractHandler
15import org.eclipse.core.commands.ExecutionEvent
16import org.eclipse.core.commands.ExecutionException
17import org.eclipse.core.resources.IFile
18import org.eclipse.core.resources.IProject
19import org.eclipse.core.resources.IResource
20import org.eclipse.core.runtime.IProgressMonitor
21import org.eclipse.core.runtime.NullProgressMonitor
22import org.eclipse.emf.common.util.URI
23import org.eclipse.emf.ecore.resource.Resource
24import org.eclipse.emf.ecore.resource.ResourceSet
25import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
26import org.eclipse.swt.widgets.MessageBox
27import org.eclipse.ui.PlatformUI
28import org.eclipse.ui.handlers.HandlerUtil
29import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine
30import org.eclipse.viatra.query.runtime.emf.EMFScope
31
32class ReliabilityAnalysisHandler extends AbstractHandler {
33
34 override execute(ExecutionEvent event) throws ExecutionException {
35 val selection = HandlerUtil.getCurrentStructuredSelection(event)
36 val resourceSet = new ResourceSetImpl
37 val iterator = selection.iterator
38 var IProject targetProject = null
39 var Resource targetResource = null
40 var TransformationDefinition transformationDefinition = null
41 while (iterator.hasNext) {
42 val selectedElement = iterator.next
43 if (selectedElement instanceof IFile) {
44 val resource = tryLoadResource(resourceSet, selectedElement)
45 if (resource !== null && !resource.contents.empty) {
46 val rootElement = resource.contents.head
47 if (rootElement instanceof CftModel) {
48 if (rootElement.transformationDefinitions.empty) {
49 throw new IllegalArgumentException("Selected cft file is not a transformation definition.")
50 }
51 if (transformationDefinition !== null) {
52 throw new IllegalArgumentException(
53 "Only a single transformation definition may be selected.")
54 }
55 transformationDefinition = rootElement.transformationDefinitions.head
56 } else {
57 if (targetResource !== null) {
58 throw new IllegalArgumentException("Only a single architecture model may be selected.")
59 }
60 targetResource = resource
61 targetProject = selectedElement.project
62 }
63 }
64 }
65 }
66 if (targetResource === null || targetResource === null) {
67 throw new IllegalArgumentException(
68 "A transformation definition and an architecture model must be selected.")
69 }
70 runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor)
71 null
72 }
73
74 private static def tryLoadResource(ResourceSet resourceSet, IFile file) {
75 val fullPath = file.fullPath.toString
76 val uri = URI.createPlatformResourceURI(fullPath, true)
77 try {
78 resourceSet.getResource(uri, true)
79 } catch (RuntimeException e) {
80 null
81 }
82 }
83
84 private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project,
85 IProgressMonitor monitor) {
86 val workspace = createWorkspace(project, monitor)
87 val cft = createComponentFaultTree(transformationDefinition, resource)
88 workspace.writeModel(cft, "cft.xmi")
89 val cft2ft = new Cft2FtTransformation
90 val ft = cft2ft.createFaultTree(cft)
91 workspace.writeModel(ft, "ft.xmi")
92 val solver = new StormDftSolver
93 val config = new StormDftConfiguration
94 config.progressMonitor = new EclipseBasedProgressMonitor(monitor)
95 config.documentationLevel = DocumentationLevel.NORMAL
96 config.objective = FtAnalysisObjective.MTTF
97 val result = solver.solve(ft, config, workspace)
98 displayResult(result)
99 }
100
101 private def createWorkspace(IProject project, IProgressMonitor monitor) {
102 val folder = project.getFolder("debug")
103 if (!folder.exists) {
104 folder.create(IResource.NONE, true, monitor)
105 }
106 val path = folder.fullPath.toString
107 val uri = URI.createPlatformResourceURI(path, true)
108 val workspace = new ProjectWorkspace(uri.toString, "")
109 workspace.initAndClear
110 workspace
111 }
112
113 private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) {
114 val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource))
115 try {
116 val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine)
117 ecore2cft.createComponentFaultTree
118 } finally {
119 queryEngine.dispose
120 }
121 }
122
123 private def displayResult(ReliabilityResult result) {
124 val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell)
125 messageBox.message = result.toString
126 messageBox.open
127 }
128}
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore
deleted file mode 100644
index b271af76..00000000
--- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/.ReliabilityAnalysisHandler.java._trace
2/.ReliabilityAnalysisHandler.xtendbin
3/ReliabilityAnalysisHandler.java