aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-06-13 19:24:25 -0400
committerLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-06-13 19:24:25 -0400
commit022a1e52e0cf20f64d9cd6685c65d945c04eaecc (patch)
treec281cd871d008ae63640fbdd9ff5739e273cb224
parentMerge branch 'Vampire-New' into Vampire-New (diff)
downloadVIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.tar.gz
VIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.tar.zst
VIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.zip
remove Alloy solver copy
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath12
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.gitignore4
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.project40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.incquery.patternlanguage.emf.EMFPatternLanguage.prefs29
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs29
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF26
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/build.properties11
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/lib/alloy4.2_2015-02-22.jar_GoesHere.txt1
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.properties4
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml17
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/signatureQueries.vql17
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/typeQueries.vql85
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend28
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend91
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Alloy2LogicMapper.xtend66
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend228
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation.xtend249
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation.xtend21
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_FilteredTypes.xtend72
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal.xtend20
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper.xtend491
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapperTrace.xtend56
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_ConstantMapper.xtend43
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Containment.xtend260
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_FunctionMapper.xtend87
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_RelationMapper.xtend199
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Support.xtend207
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper.xtend18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.xtend15
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal.xtend15
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes.xtend263
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_InheritanceAndHorizontal.xtend122
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/RunCommandMapper.xtend105
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/AlloyModelInterpretation.xtend_212
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/FunctionWithTimeout.xtend_40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/Logic2AlloyApiMapper.xtend_345
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/oldTypes74
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.classpath9
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.gitignore3
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.project34
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/META-INF/MANIFEST.MF28
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/build.properties6
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml398
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml_gen425
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AbstractAlloyLanguageUiModule.java201
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageExecutableExtensionFactory.java29
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/AbstractAlloyLanguageProposalProvider.java326
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/AlloyLanguageParser.java247
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/PartialAlloyLanguageContentAssistParser.java38
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.g10392
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.tokens139
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageLexer.java2854
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageParser.java29554
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/internal/AlloyLanguageActivator.java95
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageUiModule.java15
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/contentassist/AlloyLanguageProposalProvider.xtend12
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageDescriptionLabelProvider.xtend24
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageLabelProvider.xtend29
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/outline/AlloyLanguageOutlineTreeProvider.xtend13
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/quickfix/AlloyLanguageQuickfixProvider.xtend26
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.classpath9
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore3
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.launch/Generate Language Infrastructure (hu.bme.mit.inf.dslreasoner.alloy.language).launch18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.project34
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/META-INF/MANIFEST.MF38
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/build.properties7
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.ecore272
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.genmodel211
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml16
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml_gen16
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java161
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbinbin10013 -> 0 bytes
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java45
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java97
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java137
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java138
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java41
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java78
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java80
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java98
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java104
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java337
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java310
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java125
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java51
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java43
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java161
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java77
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java68
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java19
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java51
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java50
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java529
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java4834
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java312
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java392
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java397
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java165
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java265
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java265
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java306
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java335
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java176
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java368
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java172
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java177
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java167
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java243
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java438
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java176
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java264
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java240
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java42
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java177
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java40
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java193
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java837
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java2498
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java1212
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java1410
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java16
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java39
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g3139
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens139
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java2854
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java9153
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java2366
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java216
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java2721
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java18
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtext152
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageRuntimeModule.java11
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetup.java16
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/GenerateAlloyLanguage.mwe2133
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/formatting/AlloyLanguageFormatter.xtend96
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/generator/AlloyLanguageGenerator.xtend24
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/scoping/AlloyLanguageScopeProvider.xtend81
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/validation/AlloyLanguageValidator.xtend24
214 files changed, 0 insertions, 97234 deletions
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath
deleted file mode 100644
index 494c050c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath
+++ /dev/null
@@ -1,12 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<classpath>
3 <classpathentry kind="src" path="xtend-gen"/>
4 <classpathentry kind="src" path="queries"/>
5 <classpathentry kind="src" path="vql-gen"/>
6 <classpathentry exported="true" kind="lib" path="lib/alloy4.2_2015-02-22.jar"/>
7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
8 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9 <classpathentry kind="src" path="src"/>
10 <classpathentry kind="src" path="src-gen/"/>
11 <classpathentry kind="output" path="bin"/>
12</classpath>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.gitignore b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.gitignore
deleted file mode 100644
index e42fe9ea..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
1/bin/
2/src-gen/
3/vql-gen/
4/xtend-gen/ \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.project b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.project
deleted file mode 100644
index 6f6a3130..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.project
+++ /dev/null
@@ -1,40 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dlsreasoner.alloy.reasoner</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.viatra.query.tooling.core.projectbuilder</name>
10 <arguments>
11 </arguments>
12 </buildCommand>
13 <buildCommand>
14 <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
15 <arguments>
16 </arguments>
17 </buildCommand>
18 <buildCommand>
19 <name>org.eclipse.jdt.core.javabuilder</name>
20 <arguments>
21 </arguments>
22 </buildCommand>
23 <buildCommand>
24 <name>org.eclipse.pde.ManifestBuilder</name>
25 <arguments>
26 </arguments>
27 </buildCommand>
28 <buildCommand>
29 <name>org.eclipse.pde.SchemaBuilder</name>
30 <arguments>
31 </arguments>
32 </buildCommand>
33 </buildSpec>
34 <natures>
35 <nature>org.eclipse.pde.PluginNature</nature>
36 <nature>org.eclipse.jdt.core.javanature</nature>
37 <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
38 <nature>org.eclipse.viatra.query.projectnature</nature>
39 </natures>
40</projectDescription>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.incquery.patternlanguage.emf.EMFPatternLanguage.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.incquery.patternlanguage.emf.EMFPatternLanguage.prefs
deleted file mode 100644
index 1555fd84..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.incquery.patternlanguage.emf.EMFPatternLanguage.prefs
+++ /dev/null
@@ -1,29 +0,0 @@
1BuilderConfiguration.is_project_specific=true
2autobuilding=true
3eclipse.preferences.version=1
4generateGeneratedAnnotation=false
5generateSuppressWarnings=true
6generatedAnnotationComment=
7includeDateInGenerated=false
8outlet.DEFAULT_OUTPUT.cleanDirectory=false
9outlet.DEFAULT_OUTPUT.cleanupDerived=true
10outlet.DEFAULT_OUTPUT.createDirectory=true
11outlet.DEFAULT_OUTPUT.derived=true
12outlet.DEFAULT_OUTPUT.directory=./viatra-gen
13outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true
14outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false
15outlet.DEFAULT_OUTPUT.keepLocalHistory=true
16outlet.DEFAULT_OUTPUT.override=true
17outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.directory=
18outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.ignore=
19outlet.DEFAULT_OUTPUT.sourceFolder.queries.directory=
20outlet.DEFAULT_OUTPUT.sourceFolder.queries.ignore=
21outlet.DEFAULT_OUTPUT.sourceFolder.src-gen.directory=
22outlet.DEFAULT_OUTPUT.sourceFolder.src-gen.ignore=
23outlet.DEFAULT_OUTPUT.sourceFolder.src.directory=
24outlet.DEFAULT_OUTPUT.sourceFolder.src.ignore=
25outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.directory=
26outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.ignore=
27outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder=
28targetJavaVersion=JAVA5
29useJavaCompilerCompliance=true
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.jdt.core.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.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/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs
deleted file mode 100644
index e346b3ed..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs
+++ /dev/null
@@ -1,29 +0,0 @@
1BuilderConfiguration.is_project_specific=true
2autobuilding=true
3eclipse.preferences.version=1
4generateGeneratedAnnotation=false
5generateSuppressWarnings=true
6generatedAnnotationComment=
7includeDateInGenerated=false
8outlet.DEFAULT_OUTPUT.cleanDirectory=true
9outlet.DEFAULT_OUTPUT.cleanupDerived=true
10outlet.DEFAULT_OUTPUT.createDirectory=true
11outlet.DEFAULT_OUTPUT.derived=true
12outlet.DEFAULT_OUTPUT.directory=./vql-gen
13outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true
14outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false
15outlet.DEFAULT_OUTPUT.keepLocalHistory=true
16outlet.DEFAULT_OUTPUT.override=true
17outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.directory=
18outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.ignore=
19outlet.DEFAULT_OUTPUT.sourceFolder.queries.directory=
20outlet.DEFAULT_OUTPUT.sourceFolder.queries.ignore=
21outlet.DEFAULT_OUTPUT.sourceFolder.src.directory=
22outlet.DEFAULT_OUTPUT.sourceFolder.src.ignore=
23outlet.DEFAULT_OUTPUT.sourceFolder.viatra-gen.directory=
24outlet.DEFAULT_OUTPUT.sourceFolder.viatra-gen.ignore=
25outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.directory=
26outlet.DEFAULT_OUTPUT.sourceFolder.xtend-gen.ignore=
27outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder=
28targetJavaVersion=JAVA5
29useJavaCompilerCompliance=true
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF
deleted file mode 100644
index 87ff7abc..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: %pluginName
4Bundle-SymbolicName: hu.bme.mit.inf.dlsreasoner.alloy.reasoner;singleton:=true
5Bundle-Version: 1.0.0.qualifier
6Bundle-ClassPath: lib/alloy4.2_2015-02-22.jar,
7 .
8Bundle-Vendor: %providerName
9Bundle-Localization: plugin
10Export-Package: hu.bme.mit.inf.dlsreasoner.alloy.reasoner,
11 hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder,
12 hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries
13Require-Bundle: com.google.guava,
14 org.eclipse.xtend.lib,
15 org.eclipse.xtext.xbase.lib,
16 org.eclipse.core.runtime,
17 org.eclipse.emf.ecore;visibility:=reexport,
18 hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0";visibility:=reexport,
19 hu.bme.mit.inf.dslreasoner.alloy.language;bundle-version="1.0.0",
20 org.eclipse.viatra.query.runtime.base.itc;bundle-version="1.3.0",
21 hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0",
22 org.eclipse.viatra.query.runtime;bundle-version="2.0.0"
23Import-Package: org.apache.log4j;version="1.2.15"
24Automatic-Module-Name: hu.bme.mit.inf.dlsreasoner.alloy.reasoner
25Bundle-ActivationPolicy: lazy
26Bundle-RequiredExecutionEnvironment: JavaSE-1.8
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/build.properties b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/build.properties
deleted file mode 100644
index a406415f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
1bin.includes = .,\
2 META-INF/,\
3 plugin.xml,\
4 plugin.properties
5jars.compile.order = .
6source.. = src/,\
7 queries/,\
8 xtend-gen/,\
9 vql-gen/,\
10 src-gen/
11output.. = bin/
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/lib/alloy4.2_2015-02-22.jar_GoesHere.txt b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/lib/alloy4.2_2015-02-22.jar_GoesHere.txt
deleted file mode 100644
index 0df6fddc..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/lib/alloy4.2_2015-02-22.jar_GoesHere.txt
+++ /dev/null
@@ -1 +0,0 @@
1Download alloy4.2_2015-02-22.jar from http://alloy.mit.edu/alloy/downloads/alloy4.2_2015-02-22.jar and place here. \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.properties b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.properties
deleted file mode 100644
index 8a902309..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.properties
+++ /dev/null
@@ -1,4 +0,0 @@
1#
2
3pluginName = AlloyLanguage Model
4providerName = www.example.org
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml
deleted file mode 100644
index e57b595a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml
+++ /dev/null
@@ -1,17 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?><?eclipse version="3.0"?><!--
2--><plugin>
3 <extension id="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.SignatureQueries" point="org.eclipse.viatra.query.runtime.queryspecification">
4 <group group="org.eclipse.viatra.query.runtime.extensibility.SingletonExtensionFactory:hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.SignatureQueries" id="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.SignatureQueries">
5 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.directSubset"/>
6 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.subset"/>
7 </group>
8 </extension>
9 <extension id="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.TypeQueries" point="org.eclipse.viatra.query.runtime.queryspecification">
10 <group group="org.eclipse.viatra.query.runtime.extensibility.SingletonExtensionFactory:hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.TypeQueries" id="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.TypeQueries">
11 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.supertype"/>
12 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.topmostCommonSubtypes"/>
13 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.lowermostCommonSupertype"/>
14 <query-specification fqn="hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.lowestCommonSupertypeOfAllOccuranceOfElement"/>
15 </group>
16 </extension>
17</plugin>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/signatureQueries.vql b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/signatureQueries.vql
deleted file mode 100644
index 5b04960e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/signatureQueries.vql
+++ /dev/null
@@ -1,17 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries
2
3import epackage "http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"
4
5pattern directSubset(x: ALSSignatureDeclaration, y: ALSSignatureDeclaration) {
6 ALSSignatureBody.declarations(b,y);
7 ALSSignatureBody.supertype(b,x);
8} or {
9 ALSSignatureBody.declarations(b,y);
10 ALSSignatureBody.superset(b,x);
11}
12
13pattern subset(x: ALSSignatureDeclaration, y: ALSSignatureDeclaration) {
14 x == y;
15} or {
16 find directSubset+(x,y);
17}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/typeQueries.vql b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/typeQueries.vql
deleted file mode 100644
index 9847b60a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/queries/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/queries/typeQueries.vql
+++ /dev/null
@@ -1,85 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries
2
3import epackage "http://www.bme.hu/mit/inf/dslreasoner/logic/model/language"
4
5private pattern supertypeEdge(type1: Type, type2: Type) {
6 Type.supertypes(type1,type2);
7}
8
9pattern supertype(type1: Type, type2: Type) {
10 type1 == type2;
11} or {
12 find supertypeEdge+(type1,type2);
13}
14
15private pattern commonSubtype(type1: Type, type2: Type, common: Type) {
16 find supertype(common,type1);
17 find supertype(common,type2);
18}
19
20private pattern commonSupertype(type1: Type, type2: Type, common: Type) {
21 find supertype(common,type1);
22 find supertype(common,type2);
23}
24
25private pattern hasHigherCommonSubtype(type1: Type, type2: Type, common: Type, higher: Type) {
26 find supertype(higher,type1);
27 find supertype(higher,type2);
28 Type.supertypes(common,higher);
29 higher != common;
30}
31
32private pattern hasLowerCommonSupertype(type1: Type, type2: Type, common: Type, lower: Type) {
33 find supertype(type1,lower);
34 find supertype(type2,lower);
35 Type.supertypes(lower,common);
36 lower != common;
37}
38
39pattern topmostCommonSubtypes(type1: Type, type2: Type, common: Type) {
40 find commonSubtype(type1, type2, common);
41 neg find hasHigherCommonSubtype(type1, type2, common, _);
42}
43
44pattern lowermostCommonSupertype(type1: Type, type2: Type, common: Type) {
45 find commonSupertype(type1, type2, common);
46 neg find hasLowerCommonSupertype(type1, type2, common, _);
47}
48/*pattern topmostCommonSubtypesInObject(type1: Type, type2: Type, common: Type) {
49 find commonSubtype(type1, type2, common);
50 neg find supertypeEdge(type1,_);
51 neg find supertypeEdge(type2,_);
52 neg find hasHigherCommonSubtype(type1, type2, common, _);
53}
54pattern topmostCommonSubtypesInType(in: Type, type1: Type, type2: Type, common: Type) {
55 find commonSubtype(type1, type2, common);
56 find supertypeEdge(type1,in);
57 find supertypeEdge(type2,in);
58 neg find hasHigherCommonSubtype(type1, type2, common, _);
59}
60 */
61
62pattern lowestCommonSupertypeOfAllOccuranceOfElement(element: DefinedElement, type: Type) {
63 find typeContainsAllOccuranceOfElement(element,type);
64 neg find hasLowerCommonSupertypeOfAllOccuranceOfElement(element, type, _);
65}
66
67private pattern hasLowerCommonSupertypeOfAllOccuranceOfElement(element: DefinedElement, type: Type, lower: Type) {
68 find typeContainsAllOccuranceOfElement(element, type);
69 find typeContainsAllOccuranceOfElement(element, lower);
70 find supertype(lower, type);
71 type != lower;
72}
73
74private pattern typeContainsAllOccuranceOfElement(element: DefinedElement, type: Type) {
75 find supertype(containerType,type);
76 TypeDefinition.elements(containerType,element);
77 neg find typeDoesNotCoverElementOccurance(element,type,_);
78}
79
80private pattern typeDoesNotCoverElementOccurance(element: DefinedElement, type: Type, uncoveredOccurance: TypeDefinition) {
81 find supertype(containerType,type);
82 TypeDefinition.elements(containerType,element);
83 TypeDefinition.elements(uncoveredOccurance,element);
84 neg find supertype(uncoveredOccurance,type);
85} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend
deleted file mode 100644
index b16ed27f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend
+++ /dev/null
@@ -1,28 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner
2
3import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration
4
5class AlloySolverConfiguration extends LogicSolverConfiguration {
6 public var int symmetry = 20 // by default
7 public var AlloyBackendSolver solver = AlloyBackendSolver.SAT4J
8 public var TypeMappingTechnique typeMapping = TypeMappingTechnique.InheritanceAndHorizontal
9 public var randomise = 0
10}
11
12enum AlloyBackendSolver {
13 BerkMinPIPE,
14 SpearPIPE,
15 MiniSatJNI,
16 MiniSatProverJNI,
17 LingelingJNI,
18 PLingelingJNI,
19 GlucoseJNI,
20 CryptoMiniSatJNI,
21 SAT4J,
22 CNF,
23 KodKod
24}
25
26enum TypeMappingTechnique {
27 FilteredTypes, InheritanceAndHorizontal
28} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend
deleted file mode 100644
index 9cfa7391..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend
+++ /dev/null
@@ -1,91 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner
2
3import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
4import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.Alloy2LogicMapper
5import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.AlloyHandler
6import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.AlloyModelInterpretation
7import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.Logic2AlloyLanguageMapper
8import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.Logic2AlloyLanguageMapperTrace
9import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder.Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes
10import hu.bme.mit.inf.dslreasoner.AlloyLanguageStandaloneSetupGenerated
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage
12import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
13import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner
14import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasonerException
15import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration
16import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem
17import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult
18import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace
19
20class AlloySolver extends LogicReasoner{
21
22 new() {
23 AlloyLanguagePackage.eINSTANCE.eClass
24 val x = new AlloyLanguageStandaloneSetupGenerated
25 x.createInjectorAndDoEMFRegistration
26 }
27
28 val Logic2AlloyLanguageMapper forwardMapper = new Logic2AlloyLanguageMapper(new Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes)
29 val AlloyHandler handler = new AlloyHandler
30 val Alloy2LogicMapper backwardMapper = new Alloy2LogicMapper
31
32 val fileName = "problem.als"
33
34 override solve(LogicProblem problem, LogicSolverConfiguration configuration, ReasonerWorkspace workspace) throws LogicReasonerException {
35 val alloyConfig = configuration.asConfig
36 val writeFile = (
37 configuration.documentationLevel===DocumentationLevel::NORMAL ||
38 configuration.documentationLevel===DocumentationLevel::FULL)
39
40 // Start: Logic -> Alloy mapping
41 val transformationStart = System.currentTimeMillis
42 val result = forwardMapper.transformProblem(problem,alloyConfig)
43 val alloyProblem = result.output
44 val forwardTrace = result.trace
45
46 //var String fileURI = null;
47 var String alloyCode = workspace.writeModelToString(alloyProblem,fileName)
48 if(writeFile) {
49 workspace.writeModel(alloyProblem,fileName)
50 }
51 val transformationTime = System.currentTimeMillis - transformationStart
52 alloyConfig.progressMonitor.workedForwardTransformation
53 // Finish: Logic -> Alloy mapping
54
55 // Start: Solving Alloy problem
56 //val solverStart = System.currentTimeMillis
57 val result2 = handler.callSolver(alloyProblem,workspace,alloyConfig,alloyCode)
58 alloyConfig.progressMonitor.workedSearchFinished
59
60 val logicResult = backwardMapper.transformOutput(problem,configuration.solutionScope.numberOfRequiredSolution,result2,forwardTrace,transformationTime)
61 alloyConfig.progressMonitor.workedBackwardTransformationFinished
62 //val solverFinish = System.currentTimeMillis-solverStart
63 // Finish: Solving Alloy problem
64
65 //logicResult.statistics =
66
67 return logicResult
68 }
69
70 def asConfig(LogicSolverConfiguration configuration) {
71 if(configuration instanceof AlloySolverConfiguration) {
72 return configuration
73 } else {
74 throw new IllegalArgumentException('''The configuration has to be an «AlloySolverConfiguration.simpleName»!''')
75 }
76 }
77
78 override getInterpretations(ModelResult modelResult) {
79 //val answers = (modelResult.representation as MonitoredAlloySolution).aswers.map[key]
80 val sols = modelResult.representation// as List<A4Solution>
81 //val res = answers.map
82 sols.map[
83 new AlloyModelInterpretation(
84 forwardMapper.typeMapper.typeInterpreter,
85 it as A4Solution,
86 forwardMapper,
87 modelResult.trace as Logic2AlloyLanguageMapperTrace
88 )
89 ]
90 }
91} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Alloy2LogicMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Alloy2LogicMapper.xtend
deleted file mode 100644
index 09b67599..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Alloy2LogicMapper.xtend
+++ /dev/null
@@ -1,66 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem
4import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory
5
6class Alloy2LogicMapper {
7 val extension LogicresultFactory resultFactory = LogicresultFactory.eINSTANCE
8
9 public def transformOutput(LogicProblem problem, int requiredNumberOfSolution, MonitoredAlloySolution monitoredAlloySolution, Logic2AlloyLanguageMapperTrace trace, long transformationTime) {
10 val models = monitoredAlloySolution.aswers.map[it.key].toList
11
12 if(!monitoredAlloySolution.finishedBeforeTimeout) {
13 return createInsuficientResourcesResult => [
14 it.problem = problem
15 it.representation += models
16 it.trace = trace
17 it.statistics = transformStatistics(monitoredAlloySolution,transformationTime)
18 ]
19 } else {
20 if(models.last.satisfiable || requiredNumberOfSolution == -1) {
21 return createModelResult => [
22 it.problem = problem
23 it.representation += models
24 it.trace = trace
25 it.statistics = transformStatistics(monitoredAlloySolution,transformationTime)
26 ]
27 } else {
28 return createInconsistencyResult => [
29 it.problem = problem
30 it.representation += models
31 it.trace = trace
32 it.statistics = transformStatistics(monitoredAlloySolution,transformationTime)
33 ]
34 }
35 }
36 }
37
38 def transformStatistics(MonitoredAlloySolution solution, long transformationTime) {
39 createStatistics => [
40 it.transformationTime = transformationTime as int
41 for(solutionIndex : 0..<solution.aswers.size) {
42 val solutionTime = solution.aswers.get(solutionIndex).value
43 it.entries+= createIntStatisticEntry => [
44 it.name = '''Answer«solutionIndex»Time'''
45 it.value = solutionTime.intValue
46 ]
47 }
48 it.entries+= createIntStatisticEntry => [
49 it.name = "Alloy2KodKodTransformationTime"
50 it.value = solution.kodkodTime as int
51 ]
52 it.entries+= createIntStatisticEntry => [
53 it.name = "Alloy2KodKodTransformationTime"
54 it.value = solution.kodkodTime as int
55 ]
56 it.entries+= createStringStatisticEntry => [
57 it.name = "warnings"
58 it.value = '''[«FOR warning : solution.warnings SEPARATOR ","»«warning»«ENDFOR»]'''
59 ]
60 ]
61 }
62
63 def sum(Iterable<Long> ints) {
64 ints.reduce[p1, p2|p1+p2]
65 }
66} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend
deleted file mode 100644
index eee2d649..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend
+++ /dev/null
@@ -1,228 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4.A4Reporter
4import edu.mit.csail.sdg.alloy4.Err
5import edu.mit.csail.sdg.alloy4.ErrorWarning
6import edu.mit.csail.sdg.alloy4compiler.ast.Command
7import edu.mit.csail.sdg.alloy4compiler.parser.CompModule
8import edu.mit.csail.sdg.alloy4compiler.parser.CompUtil
9import edu.mit.csail.sdg.alloy4compiler.translator.A4Options
10import edu.mit.csail.sdg.alloy4compiler.translator.A4Options.SatSolver
11import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
12import edu.mit.csail.sdg.alloy4compiler.translator.TranslateAlloyToKodkod
13import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloyBackendSolver
14import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolverConfiguration
15import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
16import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration
17import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace
18import java.util.ArrayList
19import java.util.HashMap
20import java.util.LinkedList
21import java.util.List
22import java.util.Map
23import java.util.concurrent.Callable
24import java.util.concurrent.ExecutionException
25import java.util.concurrent.ExecutorService
26import java.util.concurrent.Executors
27import java.util.concurrent.TimeUnit
28import java.util.concurrent.TimeoutException
29import org.eclipse.xtend.lib.annotations.Data
30
31class AlloySolverException extends Exception{
32 new(String s) { super(s) }
33 new(String s, Exception e) { super(s,e) }
34 new(String s, List<String> errors, Exception e) {
35 super(s + '\n' + errors.join('\n'), e)
36 }
37}
38
39@Data class MonitoredAlloySolution{
40 List<String> warnings
41 List<String> debugs
42 long kodkodTime
43 val List<Pair<A4Solution, Long>> aswers
44 val boolean finishedBeforeTimeout
45}
46
47class AlloyHandler {
48
49 //val fileName = "problem.als"
50
51 def callSolver(ALSDocument problem, ReasonerWorkspace workspace, AlloySolverConfiguration configuration,String alloyCode) {
52
53 //Prepare
54 val warnings = new LinkedList<String>
55 val debugs = new LinkedList<String>
56 val runtime = new ArrayList<Long>
57 val reporter = new A4Reporter() {
58 override debug(String message) { debugs += message }
59 override resultSAT (Object command, long solvingTime, Object solution) { runtime += solvingTime }
60 override resultUNSAT (Object command, long solvingTime, Object solution) { runtime += solvingTime }
61 override warning(ErrorWarning msg) { warnings += msg.message }
62 }
63
64 val options = new A4Options() => [
65 it.symmetry = configuration.symmetry
66 it.noOverflow = true
67 it.solver = getSolver(configuration.solver, configuration)
68 if(configuration.solver.externalSolver) {
69 it.solverDirectory = configuration.solverPath
70 }
71 //it.inferPartialInstance
72 //it.tempDirectory = CommonPlugin.resolve(workspace.workspaceURI).toFileString
73 ]
74
75 // Transform
76 var Command command = null;
77 var CompModule compModule = null
78
79 // Start: Alloy -> Kodkod
80 val kodkodTransformStart = System.currentTimeMillis();
81 try {
82 compModule = CompUtil.parseEverything_fromString(reporter,alloyCode)
83 if(compModule.allCommands.size != 1)
84 throw new UnsupportedOperationException('''Alloy files with multiple commands are not supported!''')
85 command = compModule.allCommands.head
86 } catch (Err e){
87 throw new AlloySolverException(e.message,warnings,e)
88 }
89 val kodkodTransformFinish = System.currentTimeMillis - kodkodTransformStart
90 // Finish: Alloy -> Kodkod
91
92 val callable = new AlloyCallerWithTimeout(warnings,debugs,reporter,options,command,compModule,configuration)
93 var List<Pair<A4Solution, Long>> answers
94 var boolean finished
95 if(configuration.runtimeLimit == LogicSolverConfiguration::Unlimited) {
96 answers = callable.call
97 finished = true
98 } else {
99 val ExecutorService executor = Executors.newCachedThreadPool();
100 val future = executor.submit(callable)
101 try{
102 answers = future.get(configuration.runtimeLimit,TimeUnit.SECONDS)
103 finished = true
104 } catch (TimeoutException ex) {
105 // handle the timeout
106 } catch (InterruptedException e) {
107 // handle the interrupts
108 } catch (ExecutionException e) {
109 // handle other exceptions
110 } finally {
111 future.cancel(true);
112
113 answers = callable.partialAnswers
114 finished = false
115 }
116 }
117
118 new MonitoredAlloySolution(warnings,debugs,kodkodTransformFinish,answers,finished)
119 }
120
121 val static Map<SolverConfiguration, SatSolver> previousSolverConfigurations = new HashMap
122 def getSolverConfiguration(AlloyBackendSolver backedSolver, String path, String[] options) {
123 val config = new SolverConfiguration(backedSolver,path,options)
124 if(previousSolverConfigurations.containsKey(config)) {
125 return previousSolverConfigurations.get(config)
126 } else {
127 val id ='''DSLReasoner_Alloy_«previousSolverConfigurations.size»_«backedSolver»'''
128 val newSolver = A4Options.SatSolver.make(id,id,path,options)
129 previousSolverConfigurations.put(config,newSolver)
130 return newSolver
131 }
132 }
133
134 def getSolver(AlloyBackendSolver backedSolver, AlloySolverConfiguration configuration) {
135 switch(backedSolver){
136 case BerkMinPIPE: return A4Options.SatSolver.BerkMinPIPE
137 case SpearPIPE: return A4Options.SatSolver.SpearPIPE
138 case MiniSatJNI: return A4Options.SatSolver.MiniSatJNI
139 case MiniSatProverJNI: return A4Options.SatSolver.MiniSatProverJNI
140 case LingelingJNI: return A4Options.SatSolver.LingelingJNI
141 case PLingelingJNI: return getSolverConfiguration(backedSolver,configuration.solverPath,null)
142 case GlucoseJNI: return A4Options.SatSolver.GlucoseJNI
143 case CryptoMiniSatJNI: return A4Options.SatSolver.CryptoMiniSatJNI
144 case SAT4J: return A4Options.SatSolver.SAT4J
145 case CNF: return A4Options.SatSolver.CNF
146 case KodKod: return A4Options.SatSolver.KK
147 }
148 }
149
150 def isExternalSolver(AlloyBackendSolver backedSolver) {
151 return !(backedSolver == AlloyBackendSolver.SAT4J)
152 }
153}
154
155class AlloyCallerWithTimeout implements Callable<List<Pair<A4Solution,Long>>>{
156
157 val List<String> warnings
158 val List<String> debugs
159 val A4Reporter reporter
160 val A4Options options
161
162 val Command command
163 val CompModule compModule
164 val AlloySolverConfiguration configuration
165
166 val List<Pair<A4Solution,Long>> answers = new LinkedList()
167
168 new(List<String> warnings,
169 List<String> debugs,
170 A4Reporter reporter,
171 A4Options options,
172 Command command,
173 CompModule compModule,
174 AlloySolverConfiguration configuration)
175 {
176 this.warnings = warnings
177 this.debugs = debugs
178 this.reporter = reporter
179 this.options = options
180 this.command = command
181 this.compModule = compModule
182 this.configuration = configuration
183 }
184
185 override call() throws Exception {
186 val startTime = System.currentTimeMillis
187
188 // Start: Execute
189 var A4Solution lastAnswer = null
190 try {
191 if(!configuration.progressMonitor.isCancelled) {
192 do{
193 if(lastAnswer == null) {
194 lastAnswer = TranslateAlloyToKodkod.execute_command(reporter,compModule.allSigs,command,options)
195 } else {
196 lastAnswer = lastAnswer.next
197 }
198 configuration.progressMonitor.workedBackwardTransformation(configuration.solutionScope.numberOfRequiredSolution)
199
200 val runtime = System.currentTimeMillis -startTime
201 synchronized(this) {
202 answers += (lastAnswer->runtime)
203 }
204 } while(lastAnswer.satisfiable != false && !hasEnoughSolution(answers) && !configuration.progressMonitor.isCancelled)
205
206 }
207 }catch(Exception e) {
208 warnings +=e.message
209 }
210 // Finish: execute
211 return answers
212 }
213
214 def hasEnoughSolution(List<?> answers) {
215 if(configuration.solutionScope.numberOfRequiredSolution < 0) return false
216 else return answers.size() == configuration.solutionScope.numberOfRequiredSolution
217 }
218
219 public def getPartialAnswers() {
220 return answers
221 }
222}
223
224@Data class SolverConfiguration {
225 AlloyBackendSolver backedSolver
226 String path
227 String[] options
228} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation.xtend
deleted file mode 100644
index dcb4bb32..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation.xtend
+++ /dev/null
@@ -1,249 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4compiler.ast.ExprVar
4import edu.mit.csail.sdg.alloy4compiler.ast.Sig
5import edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field
6import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
7import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
10import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory
12import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
13import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
14import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
15import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
16import java.util.Arrays
17import java.util.HashMap
18import java.util.LinkedList
19import java.util.List
20import java.util.Map
21import java.util.Set
22import java.util.SortedSet
23import java.util.TreeSet
24
25import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
26
27class AlloyModelInterpretation implements LogicModelInterpretation{
28
29 protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE
30 protected val AlloyModelInterpretation_TypeInterpretation typeInterpretator
31
32 protected val Logic2AlloyLanguageMapper forwardMapper
33 protected val Logic2AlloyLanguageMapperTrace forwardTrace;
34
35 private var ExprVar logicLanguage;
36
37 private var String logicBooleanTrue;
38 private var String logicBooleanFalse;
39 private SortedSet<Integer> integerAtoms = new TreeSet
40 private SortedSet<String> stringAtoms = new TreeSet
41
42 private val Map<String, DefinedElement> alloyAtom2LogicElement = new HashMap
43 private val Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType = new HashMap
44
45 private val Map<ConstantDeclaration, Object> constant2Value
46 private val Map<FunctionDeclaration, ? extends Map<ParameterSubstitution, Object>> function2Value
47 private val Map<RelationDeclaration, ? extends Set<ParameterSubstitution>> relation2Value
48
49 //private val int minInt
50 //private val int maxInt
51
52 public new (AlloyModelInterpretation_TypeInterpretation typeInterpretator, A4Solution solution, Logic2AlloyLanguageMapper forwardMapper, Logic2AlloyLanguageMapperTrace trace) {
53 this.typeInterpretator = typeInterpretator
54 this.forwardMapper = forwardMapper
55 this.forwardTrace = trace
56
57 // Maps to trace language elements to the parsed problem.
58 val Map<String, Sig> name2AlloySig = new HashMap
59 val Map<String, Field> name2AlloyField = new HashMap
60 // exploring signatures
61 for(sig:solution.allReachableSigs) {
62 name2AlloySig.put(sig.label,sig)
63 for(field : sig.fields) {
64 name2AlloyField.put(field.label,field)
65 }
66 }
67 val unknownAtoms = collectUnknownAndResolveKnownAtoms(solution)
68 this.typeInterpretator.resolveUnknownAtoms(
69 unknownAtoms,
70 solution,
71 forwardTrace,
72 name2AlloySig,
73 name2AlloyField,
74 alloyAtom2LogicElement,
75 interpretationOfUndefinedType)
76
77 // eval consants
78 constant2Value = forwardTrace.constantDeclaration2LanguageField.mapValues[
79 solution.eval(it.name.lookup(name2AlloyField)).head.atom(1).atomLabel2Term
80 ]
81 // eval functions
82 val hostedfunction2Value = forwardTrace.functionDeclaration2HostedField.mapValues[ function |
83 newHashMap(
84 solution.eval(function.name.lookup(name2AlloyField))
85 .map[t | new ParameterSubstitution(#[t.atom(0).atomLabel2Term]) -> t.atom(1).atomLabel2Term])]
86
87 val globalfunction2Value = forwardTrace.functionDeclaration2LanguageField.keySet.toInvertedMap[ function |
88 val alsFunction = function.lookup(forwardTrace.functionDeclaration2LanguageField)
89 val paramIndexes = 1..(function.parameters.size)
90 return newHashMap(
91 solution.eval(alsFunction.name.lookup(name2AlloyField)).map[t |
92 new ParameterSubstitution(paramIndexes.map[t.atom(it).atomLabel2Term])
93 ->
94 t.atom(function.parameters.size + 1).atomLabel2Term
95 ])]
96 this.function2Value = Union(hostedfunction2Value,globalfunction2Value)
97 // eval relations
98 val hostedRelation2Value = forwardTrace.relationDeclaration2Field.mapValues[ relation |
99 solution.eval(relation.name.lookup(name2AlloyField)).map[ t |
100 new ParameterSubstitution(#[t.atom(0).atomLabel2Term,t.atom(1).atomLabel2Term])].toSet]
101 val globalRelation2Value = forwardTrace.relationDeclaration2Global.mapValues[ relation |
102 solution.eval(relation.name.lookup(name2AlloyField)).map[ t |
103 new ParameterSubstitution((1..<t.arity).map[int a|t.atom(a).atomLabel2Term])].toSet]
104 this.relation2Value = Union(hostedRelation2Value,globalRelation2Value)
105
106 //Int limits
107 //this.minInt = solution.min
108 //this.maxInt = solution.max
109
110 //print(trace)
111 }
112
113 def List<ExprVar> collectUnknownAndResolveKnownAtoms(A4Solution solution) {
114 val Iterable<ExprVar> allAtoms = solution.allAtoms
115 val List<ExprVar> unknownAtoms = new LinkedList
116
117 for(atom: allAtoms) {
118 val typeName = getName(atom.type)
119 val atomName = atom.name
120 println(atom.toString + " < - " + typeName)
121 if(typeName == forwardTrace.logicLanguage.name) {
122 this.logicLanguage = atom
123 } else if(typeName == "Int" || typeName == "seq/Int") {
124 val value = Integer.parseInt(atomName.join)
125 this.integerAtoms.add(value)
126 } else if(forwardTrace.boolType != null && typeName == forwardTrace.boolType.name) {
127 if(atomName.head == forwardTrace.boolTrue.name) { this.logicBooleanTrue = atom.label }
128 else if(atomName.head == forwardTrace.boolFalse.name) { this.logicBooleanFalse = atom.label}
129 else throw new UnsupportedOperationException('''Unknown boolean value: «atom»''')
130 } else if(typeName == "String") {
131 val value = parseString(atomName.join)
132 this.stringAtoms.add(value)
133 } else {
134 unknownAtoms += atom
135 }
136 }
137 val integerSignature = solution.allReachableSigs.filter[it.label=="Int"].head
138 for(i : solution.eval(integerSignature)) {
139 val value = Integer.parseInt(i.atom(0))
140 this.integerAtoms.add(value)
141 }
142 val stringSignature = solution.allReachableSigs.filter[it.label=="String"].head
143 for(i : solution.eval(stringSignature)) {
144 val value = parseString(i.atom(0))
145 this.stringAtoms.add(value)
146 }
147 return unknownAtoms
148 }
149
150 def private getName(edu.mit.csail.sdg.alloy4compiler.ast.Type type) {
151 val name = type.toString
152 if(name.startsWith("{this/") && name.endsWith("}")) {
153 return type.toString.replaceFirst("\\{this\\/","").replace("}","")
154 }
155 else throw new IllegalArgumentException('''Unknown type format: "«name»"!''')
156 }
157 def private getName(ExprVar atom) { atom.toString.split("\\$") }
158
159 def print(Logic2AlloyLanguageMapperTrace trace) {
160 println('''Undefined-----''')
161 interpretationOfUndefinedType.forEach[k,v|println('''«k.name» -> «v.map[name]»''')]
162 //println('''Defined-----''')
163 //trace.type2ALSType.keySet.filter(TypeDefinition).forEach[println('''«it.name» -> «it.elements.map[name.join]»''')]
164
165 println('''Constants-----''')
166 constant2Value.forEach[k, v|println('''«k.name» : «v»''')]
167 println('''Functions-----''')
168 function2Value.forEach[f,m|m.forEach[k,v| println('''«f.name» : «k» |-> «v»''')]]
169 println('''Relations-----''')
170 relation2Value.forEach[r,s|s.forEach[t | println('''«r.name»: («t»)''')]]
171 }
172
173 override getElements(Type type) { getElementsDispatch(type) }
174 def private dispatch getElementsDispatch(TypeDeclaration declaration) { return declaration.lookup(this.interpretationOfUndefinedType) }
175 def private dispatch getElementsDispatch(TypeDefinition declaration) { return declaration.elements }
176
177 override getInterpretation(FunctionDeclaration function, Object[] parameterSubstitution) {
178 val transformedParams = new ParameterSubstitution(parameterSubstitution)
179 return transformedParams.lookup(
180 function.lookup(this.function2Value)
181 )
182 }
183
184 override getInterpretation(RelationDeclaration relation, Object[] parameterSubstitution) {
185 relation.lookup(this.relation2Value).contains(new ParameterSubstitution(parameterSubstitution))
186 }
187
188 override getInterpretation(ConstantDeclaration constant) {
189 constant.lookup(this.constant2Value)
190 }
191
192 // Alloy term -> logic term
193 def private atomLabel2Term(String label) {
194 if(label.number) return Integer.parseInt(label)
195 else if(label == this.logicBooleanTrue) return true
196 else if(label == this.logicBooleanFalse) return false
197 else if(this.alloyAtom2LogicElement.containsKey(label)) return label.lookup(alloyAtom2LogicElement)
198 else if(label.isString) return parseString(label)
199 else throw new IllegalArgumentException('''Unknown atom label: "«label»"!''')
200 }
201 def private isNumber(String s) {
202 try{
203 Integer.parseInt(s)
204 return true
205 }catch(NumberFormatException e) {
206 return false
207 }
208 }
209 def private isString(String label) {
210 label.startsWith("\"") && label.endsWith("\"")
211 }
212 def private parseString(String label) {
213 label.substring(1,label.length-1)
214 }
215
216 override getAllIntegersInStructure() {
217 this.integerAtoms
218 }
219
220 override getAllRealsInStructure() {
221 new TreeSet
222 }
223
224 override getAllStringsInStructure() {
225 this.stringAtoms
226 }
227}
228
229/**
230 * Helper class for efficiently matching parameter substitutions for functions and relations.
231 */
232class ParameterSubstitution{
233 val Object[] data;
234
235 new(Object[] data) { this.data = data }
236
237 override equals(Object obj) {
238 if(obj === this) return true
239 else if(obj == null) return false
240 if(obj instanceof ParameterSubstitution) {
241 return Arrays.equals(this.data,obj.data)
242 }
243 return false
244 }
245
246 override hashCode() {
247 Arrays.hashCode(data)
248 }
249} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation.xtend
deleted file mode 100644
index 7082c946..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation.xtend
+++ /dev/null
@@ -1,21 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4compiler.ast.ExprVar
4import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
5import edu.mit.csail.sdg.alloy4compiler.ast.Sig
6import java.util.Map
7import edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
10import java.util.List
11
12interface AlloyModelInterpretation_TypeInterpretation {
13 def void resolveUnknownAtoms(
14 Iterable<ExprVar> objectAtoms,
15 A4Solution solution,
16 Logic2AlloyLanguageMapperTrace forwardTrace,
17 Map<String, Sig> name2AlloySig,
18 Map<String, Field> name2AlloyField,
19 Map<String,DefinedElement> expression2DefinedElement,
20 Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType)
21} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_FilteredTypes.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_FilteredTypes.xtend
deleted file mode 100644
index d486649c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_FilteredTypes.xtend
+++ /dev/null
@@ -1,72 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4compiler.ast.ExprVar
4import edu.mit.csail.sdg.alloy4compiler.ast.Sig
5import edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field
6import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
7import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
10import java.util.ArrayList
11import java.util.List
12import java.util.Map
13
14import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
15
16class AlloyModelInterpretation_TypeInterpretation_FilteredTypes implements AlloyModelInterpretation_TypeInterpretation{
17 protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE
18
19 override resolveUnknownAtoms(
20 Iterable<ExprVar> objectAtoms,
21 A4Solution solution,
22 Logic2AlloyLanguageMapperTrace forwardTrace,
23 Map<String, Sig> name2AlloySig,
24 Map<String, Field> name2AlloyField,
25 Map<String,DefinedElement> expression2DefinedElement,
26 Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType)
27 {
28 /*val Map<String,DefinedElement> expression2DefinedElement = new HashMap()
29 val Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType = new HashMap;*/
30
31 val typeTrace = forwardTrace.typeMapperTrace as Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes
32
33 // 1. Evaluate the defined elements
34 for(definedElementMappingEntry : typeTrace.definedElement2Declaration.entrySet) {
35 val name = definedElementMappingEntry.value.name
36 val matchingSig = '''this/«name»'''.toString.lookup(name2AlloySig)
37 val elementsOfSingletonSignature = solution.eval(matchingSig)
38 if(elementsOfSingletonSignature.size != 1) {
39 throw new IllegalArgumentException('''Defined element is unambigous: "«name»", possible values: «elementsOfSingletonSignature»!''')
40 } else {
41 val expressionOfDefinedElement = elementsOfSingletonSignature.head.atom(0)// as ExprVar
42 expression2DefinedElement.put(expressionOfDefinedElement, definedElementMappingEntry.key)
43 }
44 }
45
46 // 2. evaluate the signatures and create new elements if necessary
47 for(type2SingatureEntry : typeTrace.type2ALSType.entrySet) {
48 val type = type2SingatureEntry.key
49 if(type instanceof TypeDeclaration) {
50 val name = type2SingatureEntry.value.name
51 val matchingSig = '''this/«name»'''.toString.lookup(name2AlloySig)
52 val elementsOfSignature = solution.eval(matchingSig)
53 val elementList = new ArrayList(elementsOfSignature.size)
54 var newVariableIndex = 1;
55 for(elementOfSignature : elementsOfSignature) {
56 val expressionOfDefinedElement = elementOfSignature.atom(0)
57 if(expression2DefinedElement.containsKey(expressionOfDefinedElement)) {
58 elementList += expressionOfDefinedElement.lookup(expression2DefinedElement)
59 } else {
60 val newElementName = '''newObject «newVariableIndex.toString»'''
61 val newRepresentation = createDefinedElement => [
62 it.name = newElementName
63 ]
64 elementList += newRepresentation
65 expression2DefinedElement.put(expressionOfDefinedElement,newRepresentation)
66 }
67 }
68 interpretationOfUndefinedType.put(type,elementList)
69 }
70 }
71 }
72} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal.xtend
deleted file mode 100644
index 249820b6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal.xtend
+++ /dev/null
@@ -1,20 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4compiler.ast.ExprVar
4import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
5import java.util.Map
6import edu.mit.csail.sdg.alloy4compiler.ast.Sig
7import edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
10import java.util.List
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory
12
13class AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal implements AlloyModelInterpretation_TypeInterpretation{
14 protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE
15
16 override resolveUnknownAtoms(Iterable<ExprVar> objectAtoms, A4Solution solution, Logic2AlloyLanguageMapperTrace forwardTrace, Map<String, Sig> name2AlloySig, Map<String, Field> name2AlloyField, Map<String, DefinedElement> expression2DefinedElement, Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType) {
17 throw new UnsupportedOperationException("TODO: auto-generated method stub")
18 }
19
20} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper.xtend
deleted file mode 100644
index 65eaad47..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper.xtend
+++ /dev/null
@@ -1,491 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolverConfiguration
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
12import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.InverseRelationAssertion
13import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.LowerMultiplicityAssertion
14import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.UpperMultiplicityAssertion
15import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput
16import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And
17import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion
18import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral
19import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference
20import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference
21import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration
22import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition
23import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
24import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct
25import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison
26import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals
27import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists
28import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall
29import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration
30import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition
31import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff
32import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl
33import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf
34import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral
35import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference
36import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan
37import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan
38import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus
39import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod
40import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan
41import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan
42import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply
43import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not
44import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or
45import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus
46import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral
47import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference
48import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
49import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition
50import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral
51import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringTypeReference
52import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue
53import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term
54import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TransitiveClosure
55import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable
56import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation
57import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation
58import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem
59import java.util.Collection
60import java.util.Collections
61import java.util.HashMap
62import java.util.List
63import java.util.Map
64import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine
65import org.eclipse.viatra.query.runtime.emf.EMFScope
66import org.eclipse.xtend.lib.annotations.Accessors
67
68import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
69
70class Logic2AlloyLanguageMapper {
71 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
72 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
73 private val RunCommandMapper runCommandMapper
74 @Accessors(PUBLIC_GETTER) private val Logic2AlloyLanguageMapper_TypeMapper typeMapper;
75 @Accessors(PUBLIC_GETTER) private val Logic2AlloyLanguageMapper_ConstantMapper constantMapper = new Logic2AlloyLanguageMapper_ConstantMapper(this)
76 @Accessors(PUBLIC_GETTER) private val Logic2AlloyLanguageMapper_FunctionMapper functionMapper = new Logic2AlloyLanguageMapper_FunctionMapper(this)
77 @Accessors(PUBLIC_GETTER) private val Logic2AlloyLanguageMapper_RelationMapper relationMapper = new Logic2AlloyLanguageMapper_RelationMapper(this)
78 @Accessors(PUBLIC_GETTER) private val Logic2AlloyLanguageMapper_Containment containmentMapper = new Logic2AlloyLanguageMapper_Containment(this)
79
80 public new(Logic2AlloyLanguageMapper_TypeMapper typeMapper) {
81 this.typeMapper = typeMapper
82 this.runCommandMapper = new RunCommandMapper(typeMapper)
83 }
84
85 public def TracedOutput<ALSDocument,Logic2AlloyLanguageMapperTrace> transformProblem(LogicProblem problem, AlloySolverConfiguration config) {
86 val logicLanguage = createALSSignatureBody => [
87 it.multiplicity = ALSMultiplicity.ONE
88 it.declarations +=
89 createALSSignatureDeclaration => [
90 it.name = support.toID(#["util", "language"]) ]
91 ]
92
93 val specification = createALSDocument=>[
94 it.signatureBodies+=logicLanguage
95 ]
96 val trace = new Logic2AlloyLanguageMapperTrace => [
97 it.specification = specification
98 it.logicLanguage = logicLanguage.declarations.head
99 it.logicLanguageBody = logicLanguage
100
101 it.incqueryEngine = ViatraQueryEngine.on(new EMFScope(problem))
102 ]
103 specification.transformRandomisation(config.randomise)
104
105 typeMapper.transformTypes(problem.types,problem.elements,this,trace)
106
107 trace.constantDefinitions = problem.collectConstantDefinitions
108 trace.functionDefinitions = problem.collectFunctionDefinitions
109 trace.relationDefinitions = problem.collectRelationDefinitions
110 val calledInTransitiveClosure = problem.collectTransitiveRelationCalls
111
112 problem.constants.forEach[this.constantMapper.transformConstant(it, trace)]
113 problem.functions.forEach[this.functionMapper.transformFunction(it, trace)]
114 problem.relations.forEach[this.relationMapper.transformRelation(it, trace)]
115 calledInTransitiveClosure.forEach[this.relationMapper.prepareTransitiveClosure(it, trace)]
116
117 problem.constants.filter(ConstantDefinition).forEach[this.constantMapper.transformConstantDefinitionSpecification(it,trace)]
118 problem.functions.filter(FunctionDefinition).forEach[this.functionMapper.transformFunctionDefinitionSpecification(it,trace)]
119 problem.relations.filter(RelationDefinition).forEach[this.relationMapper.transformRelationDefinitionSpecification(it,trace)]
120
121 val containment = problem.getContainmentHierarchies.head
122 if(containment !== null) {
123 this.containmentMapper.transformContainmentHierarchy(containment,trace)
124 }
125
126 ////////////////////
127 // Collect EMF-specific assertions
128 ////////////////////
129 val assertion2InverseRelation = problem.annotations.collectAnnotations(InverseRelationAssertion)
130 val assertion2UpperMultiplicityAssertion = problem.annotations.collectAnnotations(UpperMultiplicityAssertion)
131 val assertion2LowerMultiplicityAssertion = problem.annotations.collectAnnotations(LowerMultiplicityAssertion)
132
133 ////////////////////
134 // Transform Assertions
135 ////////////////////
136 for(assertion : problem.assertions) {
137 if(assertion2InverseRelation.containsKey(assertion)) {
138 transformInverseAssertion(assertion.lookup(assertion2InverseRelation),trace)
139 } else if(assertion2UpperMultiplicityAssertion.containsKey(assertion)) {
140 transformUpperMultiplicityAssertion(assertion.lookup(assertion2UpperMultiplicityAssertion),trace)
141 } else if(assertion2LowerMultiplicityAssertion.containsKey(assertion)) {
142 transformLowerMultiplicityAssertion(assertion.lookup(assertion2LowerMultiplicityAssertion),trace)
143 } else {
144 transformAssertion(assertion,trace)
145 }
146 }
147
148 runCommandMapper.transformRunCommand(this, specification, trace, config)
149
150 return new TracedOutput(specification,trace)
151 }
152
153 def transformRandomisation(ALSDocument document, int randomisation) {
154 if(randomisation !== 0) {
155 document.signatureBodies += createALSSignatureBody => [
156 val declaration = createALSSignatureDeclaration => [
157 it.name = support.toID(#["language","util","randomseed"])
158 ]
159 it.declarations += declaration
160 it.multiplicity = ALSMultiplicity::ONE
161 for(i : 1..randomisation) {
162 it.fields+=createALSFieldDeclaration => [
163 it.name = support.toID(#["language","util","randomseedField",i.toString])
164 it.multiplicity = ALSMultiplicity::ONE
165 it.type = createALSReference => [referred = declaration]
166 ]
167 }
168 ]
169 }
170 }
171
172 def transformInverseAssertion(InverseRelationAssertion assertion, Logic2AlloyLanguageMapperTrace trace) {
173 val a = assertion.inverseA
174 val b = assertion.inverseB
175 if(a instanceof RelationDeclaration && b instanceof RelationDeclaration &&
176 !trace.relationDefinitions.containsKey(a) && !trace.relationDefinitions.containsKey(b))
177 {
178 val fact = createALSFactDeclaration => [
179 it.name = support.toID(assertion.target.name)
180 it.term = createALSEquals => [
181 it.leftOperand = relationMapper.transformRelationReference(a as RelationDeclaration, trace)
182 it.rightOperand = createALSInverseRelation => [it.operand = relationMapper.transformRelationReference(b as RelationDeclaration, trace) ]
183 ]
184 ]
185 trace.specification.factDeclarations += fact
186 } else {
187 return transformAssertion(assertion.target,trace)
188 }
189 }
190
191 def transformUpperMultiplicityAssertion(UpperMultiplicityAssertion assertion, Logic2AlloyLanguageMapperTrace trace) {
192 val x = assertion.relation
193 if(x instanceof RelationDeclaration && !trace.relationDefinitions.containsKey(x)) {
194 val relation = relationMapper.getRelationReference((x as RelationDeclaration),trace)
195 val type = relation.type
196
197 if(type instanceof ALSDirectProduct) {
198 type.rightMultiplicit = type.rightMultiplicit.addUpper
199 } else {
200 relation.multiplicity = relation.multiplicity.addUpper
201 }
202
203 if(assertion.upper === 1) {
204 return true
205 } else {
206 return transformAssertion(assertion.target,trace)
207 }
208
209 } else {
210 return transformAssertion(assertion.target,trace)
211 }
212 }
213
214 def transformLowerMultiplicityAssertion(LowerMultiplicityAssertion assertion, Logic2AlloyLanguageMapperTrace trace) {
215 val x = assertion.relation
216 if(x instanceof RelationDeclaration && !trace.relationDefinitions.containsKey(x)) {
217 val relation = relationMapper.getRelationReference((x as RelationDeclaration),trace)
218 val type = relation.type
219
220 if(type instanceof ALSDirectProduct) {
221 type.rightMultiplicit = type.rightMultiplicit.addLower
222 } else {
223 relation.multiplicity = relation.multiplicity.addLower
224 }
225
226 if(assertion.lower === 1) {
227 return true
228 } else {
229 return transformAssertion(assertion.target,trace)
230 }
231
232 } else {
233 return transformAssertion(assertion.target,trace)
234 }
235 }
236
237 private def addLower(ALSMultiplicity multiplicity) {
238 if(multiplicity === ALSMultiplicity::SET || multiplicity === null) {
239 return ALSMultiplicity::SOME
240 } else if(multiplicity === ALSMultiplicity::LONE) {
241 return ALSMultiplicity::ONE
242 } else if(multiplicity == ALSMultiplicity::ONE) {
243 return ALSMultiplicity::ONE
244 } else {
245 throw new IllegalArgumentException('''Lower multiplicity is already set!''')
246 }
247 }
248 private def addUpper(ALSMultiplicity multiplicity) {
249 if(multiplicity === ALSMultiplicity::ALL) {
250 return ALSMultiplicity::LONE
251 } else if(multiplicity === ALSMultiplicity::SET || multiplicity === null) {
252 return ALSMultiplicity::LONE
253 } else if(multiplicity === ALSMultiplicity::SOME) {
254 return ALSMultiplicity::ONE
255 } else if(multiplicity == ALSMultiplicity::ONE) {
256 return ALSMultiplicity::ONE
257 } else {
258 throw new IllegalArgumentException('''Upper multiplicity is already set!''')
259 }
260 }
261
262 private def <T extends AssertionAnnotation> collectAnnotations(Collection<? extends Annotation> collection, Class<T> annotationKind) {
263 val res = new HashMap
264 collection.filter(annotationKind).forEach[res.put(it.target,it)]
265 return res
266 }
267
268 private def collectConstantDefinitions(LogicProblem problem) {
269 val res = new HashMap
270 problem.constants.filter(ConstantDefinition).filter[it.defines!==null].forEach[
271 res.put(it.defines,it)
272 ]
273 return res
274 }
275 private def collectFunctionDefinitions(LogicProblem problem) {
276 val res = new HashMap
277 problem.functions.filter(FunctionDefinition).filter[it.defines!==null].forEach[
278 res.put(it.defines,it)
279 ]
280 return res
281 }
282 private def collectRelationDefinitions(LogicProblem problem) {
283 val res = new HashMap
284 problem.relations.filter(RelationDefinition).filter[it.defines!==null].forEach[
285 res.put(it.defines,it)
286 ]
287 return res
288 }
289 private def collectTransitiveRelationCalls(LogicProblem problem) {
290 return problem.eAllContents.filter(TransitiveClosure).map[it.relation].toSet
291 }
292
293 ////////////////////
294 // Type References
295 ////////////////////
296 def dispatch protected ALSTerm transformTypeReference(BoolTypeReference boolTypeReference, Logic2AlloyLanguageMapperTrace trace) {
297 return createALSReference => [ it.referred = support.getBooleanType(trace) ]
298 }
299 def dispatch protected ALSTerm transformTypeReference(IntTypeReference intTypeReference, Logic2AlloyLanguageMapperTrace trace) { createALSInt }
300 def dispatch protected ALSTerm transformTypeReference(RealTypeReference realTypeReference, Logic2AlloyLanguageMapperTrace trace) { createALSInt }
301 def dispatch protected ALSTerm transformTypeReference(StringTypeReference stringTypeReference, Logic2AlloyLanguageMapperTrace trace) { createALSString }
302 def dispatch protected ALSTerm transformTypeReference(ComplexTypeReference complexTypeReference, Logic2AlloyLanguageMapperTrace trace) {
303 val types = typeMapper.transformTypeReference(complexTypeReference.referred, this, trace)
304 return support.unfoldPlus(types.map[t|createALSReference=>[referred = t]])
305 }
306
307 //////////////
308 // Assertions + Terms
309 //////////////
310
311 def protected transformAssertion(Assertion assertion, Logic2AlloyLanguageMapperTrace trace) {
312 val res = createALSFactDeclaration => [
313 it.name = support.toID(assertion.name)
314 it.term = assertion.value.transformTerm(trace,Collections.EMPTY_MAP)
315 ]
316 trace.specification.factDeclarations += res
317 }
318
319 def dispatch protected ALSTerm transformTerm(BoolLiteral literal, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
320 var ALSEnumLiteral ref;
321 if(literal.value==true) {ref = support.getBooleanTrue(trace)}
322 else {ref = support.getBooleanFalse(trace)}
323 val refFinal = ref
324
325 return support.booleanToLogicValue((createALSReference => [referred = refFinal]),trace)
326 }
327 def dispatch protected ALSTerm transformTerm(RealLiteral literal, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
328 val v = literal.value.intValue
329 if(v>=0) { createALSNumberLiteral => [value = v]}
330 else {createALSUnaryMinus => [it.operand = createALSNumberLiteral => [value = v] ] }
331 }
332 def dispatch protected ALSTerm transformTerm(IntLiteral literal, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
333 if(literal.value>=0) { createALSNumberLiteral => [value = literal.value]}
334 else {createALSUnaryMinus => [it.operand = createALSNumberLiteral => [value = literal.value] ] }
335 }
336 def dispatch protected ALSTerm transformTerm(StringLiteral literal, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
337 createALSStringLiteral => [it.value = literal.value]
338 }
339
340 def dispatch protected ALSTerm transformTerm(Not not, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
341 createALSNot=>[operand = not.operand.transformTerm(trace,variables)] }
342 def dispatch protected ALSTerm transformTerm(And and, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
343 support.unfoldAnd(and.operands.map[transformTerm(trace,variables)]) }
344 def dispatch protected ALSTerm transformTerm(Or or, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
345 support.unfoldOr(or.operands.map[transformTerm(trace,variables)],trace) }
346 def dispatch protected ALSTerm transformTerm(Impl impl, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
347 createALSImpl => [leftOperand = impl.leftOperand.transformTerm(trace,variables) rightOperand = impl.rightOperand.transformTerm(trace,variables)] }
348 def dispatch protected ALSTerm transformTerm(Iff iff, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
349 createALSIff => [leftOperand = iff.leftOperand.transformTerm(trace,variables) rightOperand = iff.rightOperand.transformTerm(trace,variables)] }
350 def dispatch protected ALSTerm transformTerm(MoreThan moreThan, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
351 createALSMore => [leftOperand = moreThan.leftOperand.transformTerm(trace,variables) rightOperand = moreThan.rightOperand.transformTerm(trace,variables)] }
352 def dispatch protected ALSTerm transformTerm(LessThan lessThan, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
353 createALSLess => [leftOperand = lessThan.leftOperand.transformTerm(trace,variables) rightOperand = lessThan.rightOperand.transformTerm(trace,variables)] }
354 def dispatch protected ALSTerm transformTerm(MoreOrEqualThan moreThan, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
355 createALSMeq => [leftOperand = moreThan.leftOperand.transformTerm(trace,variables) rightOperand = moreThan.rightOperand.transformTerm(trace,variables)] }
356 def dispatch protected ALSTerm transformTerm(LessOrEqualThan lessThan, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
357 createALSLeq => [leftOperand = lessThan.leftOperand.transformTerm(trace,variables) rightOperand = lessThan.rightOperand.transformTerm(trace,variables)] }
358 def dispatch protected ALSTerm transformTerm(Equals equals, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
359 createALSEquals => [leftOperand = equals.leftOperand.transformTerm(trace,variables) rightOperand = equals.rightOperand.transformTerm(trace,variables)] }
360 def dispatch protected ALSTerm transformTerm(Distinct distinct, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
361 support.unfoldDistinctTerms(this,distinct.operands,trace,variables) }
362
363 def dispatch protected ALSTerm transformTerm(Plus plus, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
364 createALSFunctionCall => [it.params += plus.leftOperand.transformTerm(trace,variables) it.params += plus.rightOperand.transformTerm(trace,variables) it.referredNumericOperator = ALSNumericOperator.PLUS] }
365 def dispatch protected ALSTerm transformTerm(Minus minus, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
366 createALSFunctionCall => [it.params += minus.leftOperand.transformTerm(trace,variables) it.params += minus.rightOperand.transformTerm(trace,variables) it.referredNumericOperator = ALSNumericOperator.SUB] }
367 def dispatch protected ALSTerm transformTerm(Multiply multiply, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
368 createALSFunctionCall => [it.params += multiply.leftOperand.transformTerm(trace,variables) it.params += multiply.rightOperand.transformTerm(trace,variables) it.referredNumericOperator = ALSNumericOperator.MUL] }
369 def dispatch protected ALSTerm transformTerm(Divison div, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
370 createALSFunctionCall => [it.params += div.leftOperand.transformTerm(trace,variables) it.params += div.rightOperand.transformTerm(trace,variables) it.referredNumericOperator = ALSNumericOperator.DIV] }
371 def dispatch protected ALSTerm transformTerm(Mod mod, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
372 createALSFunctionCall => [it.params += mod.leftOperand.transformTerm(trace,variables) it.params += mod.rightOperand.transformTerm(trace,variables) it.referredNumericOperator = ALSNumericOperator.REM] }
373
374 def dispatch protected ALSTerm transformTerm(Forall forall, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
375 support.createQuantifiedExpression(this,forall,ALSMultiplicity.ALL,trace,variables) }
376 def dispatch protected ALSTerm transformTerm(Exists exists, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
377 support.createQuantifiedExpression(this,exists,ALSMultiplicity.SOME,trace,variables) }
378
379 def dispatch protected ALSTerm transformTerm(InstanceOf instanceOf, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
380 return createALSSubset => [
381 it.leftOperand = instanceOf.value.transformTerm(trace,variables)
382 it.rightOperand = instanceOf.range.transformTypeReference(trace)
383 ]
384 }
385
386 def dispatch protected ALSTerm transformTerm(TransitiveClosure tc, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
387 return this.relationMapper.transformTransitiveRelationReference(
388 tc.relation,
389 tc.leftOperand.transformTerm(trace,variables),
390 tc.rightOperand.transformTerm(trace,variables),
391 trace
392 )
393 }
394
395 def dispatch protected ALSTerm transformTerm(SymbolicValue symbolicValue, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
396 symbolicValue.symbolicReference.transformSymbolicReference(symbolicValue.parameterSubstitutions,trace,variables) }
397
398 def dispatch protected ALSTerm transformSymbolicReference(DefinedElement referred, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
399 typeMapper.transformReference(referred,trace)
400 }
401 def dispatch protected ALSTerm transformSymbolicReference(ConstantDeclaration constant, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
402 if(trace.constantDefinitions.containsKey(constant)) {
403 return this.transformSymbolicReference(constant.lookup(trace.constantDefinitions),parameterSubstitutions,trace,variables)
404 } else {
405 val res = createALSJoin=> [
406 leftOperand = createALSReference => [ referred = trace.logicLanguage ]
407 rightOperand = createALSReference => [ referred = constant.lookup(trace.constantDeclaration2LanguageField) ]
408 ]
409 return support.postprocessResultOfSymbolicReference(constant.type,res,trace)
410 }
411 }
412 def dispatch protected ALSTerm transformSymbolicReference(ConstantDefinition constant, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
413 val res = createALSFunctionCall => [
414 it.referredDefinition = constant.lookup(trace.constantDefinition2Function)
415 ]
416 return support.postprocessResultOfSymbolicReference(constant.type,res,trace)
417 }
418 def dispatch protected ALSTerm transformSymbolicReference(Variable variable, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
419 val res = createALSReference => [referred = variable.lookup(variables)]
420 return support.postprocessResultOfSymbolicReference(variable.range,res,trace)
421 }
422 def dispatch protected ALSTerm transformSymbolicReference(FunctionDeclaration function, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
423 if(trace.functionDefinitions.containsKey(function)) {
424 return this.transformSymbolicReference(function.lookup(trace.functionDefinitions),parameterSubstitutions,trace,variables)
425 } else {
426 if(functionMapper.transformedToHostedField(function,trace)) {
427 val param = parameterSubstitutions.get(0).transformTerm(trace,variables)
428 val res = createALSJoin => [
429 leftOperand = support.prepareParameterOfSymbolicReference(function.parameters.get(0),param,trace)
430 rightOperand = createALSReference => [referred = function.lookup(trace.functionDeclaration2HostedField)]
431 ]
432 return support.postprocessResultOfSymbolicReference(function.range,res,trace)
433 } else {
434 val functionExpression = createALSJoin=>[
435 leftOperand = createALSReference => [referred = trace.logicLanguage]
436 rightOperand = createALSReference => [referred = function.lookup(trace.functionDeclaration2LanguageField)]
437 ]
438 val res = support.unfoldDotJoin(this,parameterSubstitutions,functionExpression,trace,variables)
439 return support.postprocessResultOfSymbolicReference(function.range,res,trace)
440 }
441 }
442 }
443 def dispatch protected ALSTerm transformSymbolicReference(FunctionDefinition function, List<Term> parameterSubstitutions, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
444 val result = createALSFunctionCall => [
445 it.referredDefinition = function.lookup(trace.functionDefinition2Function)
446 it.params += parameterSubstitutions.map[it.transformTerm(trace,variables)]
447 ]
448 return support.postprocessResultOfSymbolicReference(function.range,result,trace)
449 }
450
451 def dispatch protected ALSTerm transformSymbolicReference(RelationDeclaration relation, List<Term> parameterSubstitutions,
452 Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
453 if(trace.relationDefinitions.containsKey(relation)) {
454 this.transformSymbolicReference(relation.lookup(trace.relationDefinitions),parameterSubstitutions,trace,variables)
455 } else {
456 if(relationMapper.transformToHostedField(relation,trace)) {
457 val alsRelation = relation.lookup(trace.relationDeclaration2Field)
458 // R(a,b) =>
459 // b in a.R
460 return createALSSubset => [
461 it.leftOperand = parameterSubstitutions.get(1).transformTerm(trace,variables)
462 it.rightOperand = createALSJoin => [
463 it.leftOperand = parameterSubstitutions.get(0).transformTerm(trace,variables)
464 it.rightOperand = createALSReference => [ it.referred = alsRelation ]
465 ]
466 ]
467 } else {
468 val target = createALSJoin => [
469 leftOperand = createALSReference => [referred = trace.logicLanguage]
470 rightOperand = createALSReference => [ referred = relation.lookup(trace.relationDeclaration2Global) ]]
471 val source = support.unfoldTermDirectProduct(this,parameterSubstitutions,trace,variables)
472
473 return createALSSubset => [
474 leftOperand = source
475 rightOperand = target
476 ]
477 }
478 }
479 }
480
481
482
483 def dispatch protected ALSTerm transformSymbolicReference(RelationDefinition relation, List<Term> parameterSubstitutions,
484 Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables)
485 {
486 return createALSFunctionCall => [
487 it.referredDefinition = relation.lookup(trace.relationDefinition2Predicate)
488 it.params += parameterSubstitutions.map[p | p.transformTerm(trace,variables)]
489 ]
490 }
491} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapperTrace.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapperTrace.xtend
deleted file mode 100644
index 6aadb285..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapperTrace.xtend
+++ /dev/null
@@ -1,56 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration
12import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition
13import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration
14import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition
15import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
16import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition
17import java.util.HashMap
18import java.util.Map
19import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine
20import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation
21
22interface Logic2AlloyLanguageMapper_TypeMapperTrace {}
23
24class Logic2AlloyLanguageMapperTrace {
25 public var ViatraQueryEngine incqueryEngine;
26
27 public var ALSDocument specification;
28 public var ALSSignatureDeclaration logicLanguage;
29 public var ALSSignatureBody logicLanguageBody;
30 public var ALSEnumDeclaration boolType;
31 public var ALSEnumLiteral boolTrue;
32 public var ALSEnumLiteral boolFalse;
33
34 public var Logic2AlloyLanguageMapper_TypeMapperTrace typeMapperTrace
35
36 public val Map<ConstantDeclaration, ALSFieldDeclaration> constantDeclaration2LanguageField = new HashMap
37 public val Map<ConstantDefinition, ALSFunctionDefinition> constantDefinition2Function = new HashMap
38
39 public val Map<FunctionDeclaration,ALSFieldDeclaration> functionDeclaration2HostedField = new HashMap
40 public val Map<FunctionDeclaration,ALSFieldDeclaration> functionDeclaration2LanguageField = new HashMap
41 public val Map<FunctionDefinition,ALSFunctionDefinition> functionDefinition2Function = new HashMap
42
43 public val Map<RelationDeclaration, ALSFieldDeclaration> relationDeclaration2Global = new HashMap
44 public val Map<RelationDeclaration, ALSFieldDeclaration> relationDeclaration2Field = new HashMap
45 public val Map<RelationDefinition,ALSRelationDefinition> relationDefinition2Predicate = new HashMap
46
47 public val Map<RelationDeclaration, ALSFieldDeclaration> transitiveClosureTarget2Global = new HashMap
48 public val Map<RelationDeclaration, ALSFieldDeclaration> transitiveClosureTarget2Field = new HashMap
49
50 public var Map<ConstantDeclaration, ConstantDefinition> constantDefinitions
51 public var Map<FunctionDeclaration, FunctionDefinition> functionDefinitions
52 public var Map<RelationDeclaration, RelationDefinition> relationDefinitions
53
54 public var Map<Relation, ALSFieldDeclaration> relationInTransitiveToGlobalField = new HashMap
55 public var Map<Relation, ALSFieldDeclaration> relationInTransitiveToHosterField = new HashMap
56} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_ConstantMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_ConstantMapper.xtend
deleted file mode 100644
index 22650a92..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_ConstantMapper.xtend
+++ /dev/null
@@ -1,43 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
4import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
6import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition
7import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
8
9class Logic2AlloyLanguageMapper_ConstantMapper {
10 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
11 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
12 val Logic2AlloyLanguageMapper base;
13 public new(Logic2AlloyLanguageMapper base) {
14 this.base = base
15 }
16
17 def protected dispatch transformConstant(ConstantDeclaration constant, Logic2AlloyLanguageMapperTrace trace) {
18 if(!trace.constantDefinitions.containsKey(constant)) {
19 val c = createALSFieldDeclaration=> [
20 name = support.toID(constant.name)
21 it.type = base.transformTypeReference(constant.type,trace)
22 it.multiplicity = ALSMultiplicity.ONE
23 ]
24 trace.logicLanguageBody.fields+= c
25 trace.constantDeclaration2LanguageField.put(constant,c)
26 }
27 }
28
29 def protected dispatch transformConstant(ConstantDefinition constant, Logic2AlloyLanguageMapperTrace trace) {
30 val c = createALSFunctionDefinition=> [
31 name = support.toID(constant.name)
32 it.type = base.transformTypeReference(constant.type,trace)
33 // the value is set later
34 ]
35 trace.specification.functionDefinitions += c
36 trace.constantDefinition2Function.put(constant,c)
37 }
38
39 def protected transformConstantDefinitionSpecification(ConstantDefinition constant, Logic2AlloyLanguageMapperTrace trace) {
40 val definition = constant.lookup(trace.constantDefinition2Function)
41 definition.value = base.transformTerm(constant.value, trace,emptyMap)
42 }
43} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Containment.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Containment.xtend
deleted file mode 100644
index 399a4eaf..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Containment.xtend
+++ /dev/null
@@ -1,260 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
5import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory
6import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
7import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy
8import java.util.HashMap
9
10class Logic2AlloyLanguageMapper_Containment {
11 val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
12 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
13 val Logic2AlloyLanguageMapper base;
14 public new(Logic2AlloyLanguageMapper base) {
15 this.base = base
16 }
17
18 def protected transformContainmentHierarchy(ContainmentHierarchy containment, Logic2AlloyLanguageMapperTrace trace) {
19 // Single root
20 val rootField = createALSFieldDeclaration => [
21 it.name= support.toID(#["util", "root"])
22 it.multiplicity = ALSMultiplicity.ONE
23 it.type = typesOrderedInContainment(containment,trace)
24 ]
25 trace.logicLanguageBody.fields += rootField
26
27 val contains = createALSFieldDeclaration => [
28 it.name = support.toID(#["util", "contains"])
29 //it.multiplicity = ALSMultiplicity::SET
30 it.type = createALSDirectProduct => [
31 it.leftMultiplicit = ALSMultiplicity::LONE
32 it.rightMultiplicit = ALSMultiplicity::SET
33 it.leftOperand = typesOrderedInContainment(containment,trace)
34 it.rightOperand = typesOrderedInContainment(containment,trace)
35 ]
36 ]
37 trace.logicLanguageBody.fields += contains
38
39 val containmentRelationDefinition = createALSFactDeclaration => [
40 it.name = support.toID(#["util", "containmentDefinition"])
41 ]
42
43 if(containment.containmentRelations.forall[it instanceof RelationDeclaration]) {
44 val containmentRelations = containment.containmentRelations.filter(RelationDeclaration).map[relation|
45 base.relationMapper.transformRelationReference(relation,trace)
46 ].toList
47
48 containmentRelationDefinition.term = createALSEquals => [
49 leftOperand = createALSJoin => [
50 leftOperand = createALSReference => [referred = trace.logicLanguage]
51 rightOperand = createALSReference => [ referred = contains ]]
52 rightOperand = support.unfoldPlus(containmentRelations)
53 ]
54 } else {
55 val parent = createALSVariableDeclaration => [
56 it.name = "parent"
57 it.range = typesOrderedInContainment(containment, trace)
58 ]
59 val child = createALSVariableDeclaration => [
60 it.name = "child"
61 it.range = typesOrderedInContainment(containment, trace)
62 ]
63
64 val logicFactory = LogiclanguageFactory.eINSTANCE
65 val logicParentVariable = logicFactory.createVariable
66 val logicChildVariable = logicFactory.createVariable
67 val logicParent = logicFactory.createSymbolicValue => [it.symbolicReference = logicParentVariable]
68 val logicChild = logicFactory.createSymbolicValue => [it.symbolicReference = logicChildVariable]
69 val variableMap = new HashMap => [put(logicParentVariable,parent) put(logicChildVariable,child)]
70 val possibleRelations = containment.containmentRelations.map[relation |
71 base.transformSymbolicReference(relation,#[logicParent,logicChild],trace,variableMap)
72 ]
73
74 containmentRelationDefinition.term = createALSQuantifiedEx => [
75 it.type = ALSMultiplicity.ALL
76 it.variables += parent
77 it.variables += child
78 it.expression = createALSIff => [
79 it.leftOperand = createALSSubset => [
80 it.leftOperand = createALSDirectProduct => [
81 it.leftOperand = createALSReference => [it.referred = child]
82 it.rightOperand = createALSReference => [it.referred = parent]
83 ]
84 it.rightOperand = createALSJoin => [
85 leftOperand = createALSReference => [referred = trace.logicLanguage]
86 rightOperand = createALSReference => [ referred = contains ]
87 ]
88 ]
89 it.rightOperand = support.unfoldOr(possibleRelations,trace)
90 ]
91 ]
92 }
93
94 trace.specification.factDeclarations += containmentRelationDefinition
95
96 // With the exception of the root, every object has at least one parent
97 // No parent for root
98 trace.specification.factDeclarations += createALSFactDeclaration => [
99 it.name = support.toID(#["util", "noParentForRoot"])
100 it.term = createALSQuantifiedEx => [
101 it.type = ALSMultiplicity::NO
102 val parent = createALSVariableDeclaration => [
103 it.name = "parent"
104 it.range = typesOrderedInContainment(containment,trace)
105 ]
106 it.variables += parent
107 it.expression = createALSSubset => [
108 it.leftOperand = createALSDirectProduct => [
109 it.leftOperand = createALSReference => [it.referred = parent]
110 it.rightOperand = createALSJoin => [
111 it.leftOperand = createALSReference => [it.referred = trace.logicLanguage]
112 it.rightOperand = createALSReference => [it.referred = rootField]
113 ]
114 ]
115 it.rightOperand = createALSJoin => [
116 leftOperand = createALSReference => [referred = trace.logicLanguage]
117 rightOperand = createALSReference => [ referred = contains ]
118 ]
119 ]
120 ]
121 ]
122 // Parent for nonroot
123 trace.specification.factDeclarations += createALSFactDeclaration => [
124 it.name = support.toID(#["util", "atLeastOneParent"])
125 it.term = createALSQuantifiedEx => [
126 it.type = ALSMultiplicity::ALL
127 val child = createALSVariableDeclaration => [
128 it.name = "child"
129 it.range = typesOrderedInContainment(containment,trace)
130 ]
131 it.variables += child
132 it.expression = createALSOr => [
133 it.leftOperand = createALSEquals => [
134 it.leftOperand = createALSReference => [it.referred = child]
135 it.rightOperand = createALSJoin => [
136 it.leftOperand = createALSReference => [it.referred = trace.logicLanguage]
137 it.rightOperand = createALSReference => [it.referred = rootField]
138 ]
139 ]
140 it.rightOperand = createALSQuantifiedEx => [
141 it.type = ALSMultiplicity::SOME
142 val parent = createALSVariableDeclaration => [
143 it.name = "parent"
144 it.range = typesOrderedInContainment(containment, trace)
145 ]
146 it.variables += parent
147 it.expression = createALSSubset => [
148 it.leftOperand = createALSDirectProduct => [
149 it.leftOperand = createALSReference => [it.referred = parent]
150 it.rightOperand = createALSReference => [it.referred = child]
151 ]
152 it.rightOperand = createALSJoin => [
153 leftOperand = createALSReference => [referred = trace.logicLanguage]
154 rightOperand = createALSReference => [ referred = contains ]
155 ]
156 ]
157 ]
158 ]
159 ]
160 ]
161
162 // Every object has at most one parent
163// trace.specification.factDeclarations += createALSFactDeclaration => [
164// it.name = support.toID(#["util", "atMostOneParent"])
165// it.term = createALSQuantifiedEx => [
166// it.type = ALSMultiplicity::ALL
167// val child = createALSVariableDeclaration => [
168// it.name = "child"
169// it.range = typesOrderedInContainment(containment,trace)
170// ]
171// it.variables += child
172// it.expression = createALSQuantifiedEx => [
173// it.type = ALSMultiplicity::LONE
174// val parent = createALSVariableDeclaration => [
175// it.name = "parent"
176// it.range = typesOrderedInContainment(containment, trace)
177// ]
178// it.variables += parent
179// it.expression = createALSFunctionCall => [
180// it.referredDefinition = containmentRelation
181// it.params += createALSReference => [
182// it.referred = parent
183// it.referred = child
184// ]
185// ]
186// ]
187// ]
188// ]
189
190 // No circle in containment
191 trace.specification.factDeclarations += createALSFactDeclaration => [
192 it.name = support.toID(#["util", "noCircularContainment"])
193 it.term = createALSQuantifiedEx => [
194 it.type = ALSMultiplicity::NO
195 val variable = createALSVariableDeclaration => [
196 it.name = "circle"
197 it.range = typesOrderedInContainment(containment,trace)
198 ]
199 it.variables += variable
200 it.expression = createALSSubset => [
201 it.leftOperand = createALSDirectProduct => [
202 it.leftOperand = createALSReference => [it.referred = variable]
203 it.rightOperand = createALSReference => [it.referred = variable]
204 ]
205 it.rightOperand = createAlSTransitiveClosure => [
206 it.operand = createALSJoin => [
207 leftOperand = createALSReference => [referred = trace.logicLanguage]
208 rightOperand = createALSReference => [ referred = contains ]
209 ]
210 ]
211 ]
212 ]
213 ]
214
215 }
216
217 /*def protected calculateContainmentTypeCoveringSignatures(ContainmentHierarchy containment, Logic2AlloyLanguageMapperTrace trace) {
218 val types = containment.typesOrderedInHierarchy
219 val signaturesInContainment = types.map[base.typeMapper.transformTypeReference(it, base, trace)].flatten.toList
220// val uncoveredSignatures = new ArrayList(signaturesInContainment)
221// val coveringSignatures = new LinkedList
222//
223 val engine = ViatraQueryEngine.on(new EMFScope(trace.specification))
224 //val directSubsetMatcher = DirectSubsetMatcher.on(engine)
225 // x <= y
226 val subsetMatcher = SubsetMatcher.on(engine)
227
228 if()
229 }*/
230
231 /*def boolean coveringAllSignaturesInContainment(ALSSignatureDeclaration target, List<ALSSignatureDeclaration> signaturesInContainment, SubsetMatcher matcher) {
232 for(signatureInContainment : signaturesInContainment) {
233 if(!matcher.hasMatch(signatureInContainment,target)) {
234 return false
235 }
236 }
237 return true
238 }*/
239
240 /*def boolean coveringSignatureNotInContainment(ALSSignatureDeclaration target, List<ALSSignatureDeclaration> signaturesInContainment, SubsetMatcher matcher) {
241 val subtypes = matcher.getAllValuesOfx(target);
242 for(subType : subtypes) {
243 val isSubtypeOfASignatureInContainment = signaturesInContainment.exists[contained |
244 matcher.hasMatch(subType,contained)
245 ]
246 if(!isSubtypeOfASignatureInContainment) {
247 return false
248 }
249 }
250 return true
251 }*/
252
253 def protected typesOrderedInContainment(ContainmentHierarchy containment, Logic2AlloyLanguageMapperTrace trace) {
254 val types = containment.typesOrderedInHierarchy
255 val signaturesInContainment = types.map[base.typeMapper.transformTypeReference(it, base, trace)].flatten
256 // val allSignatures = trace.specification.signatureBodies.map[declarations].flatten
257 val typeReferences = signaturesInContainment.map[sig | createALSReference => [it.referred = sig]].toList
258 return support.unfoldPlus(typeReferences)
259 }
260} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_FunctionMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_FunctionMapper.xtend
deleted file mode 100644
index 0915c306..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_FunctionMapper.xtend
+++ /dev/null
@@ -1,87 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
4import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration
5import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition
9import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
10import java.util.HashMap
11
12class Logic2AlloyLanguageMapper_FunctionMapper {
13 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
14 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
15 val Logic2AlloyLanguageMapper base;
16 public new(Logic2AlloyLanguageMapper base) {
17 this.base = base
18 }
19
20 def protected dispatch transformFunction(FunctionDeclaration f, Logic2AlloyLanguageMapperTrace trace) {
21 if(!trace.constantDefinitions.containsKey(f)) {
22 if(transformedToHostedField(f,trace)) transformFunctionToFieldOfSignature(f,trace)
23 else transformFunctionToGlobalRelation(f,trace)
24 }
25 }
26
27 def protected transformedToHostedField(FunctionDeclaration f, Logic2AlloyLanguageMapperTrace trace) {
28 if(f.parameters.size == 1 && f.parameters.head instanceof ComplexTypeReference) {
29 val head = f.parameters.head
30 if(head instanceof ComplexTypeReference) {
31 val types = base.typeMapper.transformTypeReference(head.referred,base,trace)
32 return types.size == 1
33 }
34 }
35 return (f.parameters.size == 1 && f.parameters.head instanceof ComplexTypeReference)
36 }
37 def protected transformFunctionToFieldOfSignature(FunctionDeclaration f,Logic2AlloyLanguageMapperTrace trace) {
38 val param = (f.parameters.head as ComplexTypeReference)
39 val referred = param.referred
40 val field = createALSFieldDeclaration => [
41 it.name = support.toID(f.getName)
42 it.multiplicity = ALSMultiplicity.ONE
43 it.type = base.transformTypeReference(f.range,trace)
44 ]
45 val host = base.typeMapper.transformTypeReference(referred,base,trace).get(0)
46 (host.eContainer as ALSSignatureBody).fields += field
47 trace.functionDeclaration2HostedField.put(f, field)
48 }
49 def protected transformFunctionToGlobalRelation(FunctionDeclaration f, Logic2AlloyLanguageMapperTrace trace) {
50 val field = createALSFieldDeclaration => [
51 it.name = support.toID(f.name)
52 it.multiplicity = ALSMultiplicity.SET
53 it.type = createALSDirectProduct => [
54 it.leftOperand = support.unfoldReferenceDirectProduct(base,f.parameters,trace)
55 it.rightMultiplicit = ALSMultiplicity.ONE
56 it.rightOperand = base.transformTypeReference(f.range,trace)
57 ]
58 ]
59 trace.logicLanguageBody.fields += field
60 trace.functionDeclaration2LanguageField.put(f, field)
61 }
62
63 def protected dispatch transformFunction(FunctionDefinition f, Logic2AlloyLanguageMapperTrace trace) {
64 val res = createALSFunctionDefinition => [
65 name = support.toID(f.name)
66 // variables + specification later
67 ]
68 trace.specification.functionDefinitions+=res;
69 trace.functionDefinition2Function.put(f,res)
70 }
71
72 def protected transformFunctionDefinitionSpecification(FunctionDefinition f, Logic2AlloyLanguageMapperTrace trace) {
73 val target = f.lookup(trace.functionDefinition2Function)
74 val variableMap = new HashMap
75 for(variable : f.variable) {
76 val v = createALSVariableDeclaration => [
77 it.name = support.toID(variable.name)
78 it.range = base.transformTypeReference(variable.range,trace)
79 // specification later
80 ]
81 target.variables+=v
82 variableMap.put(variable,v)
83 }
84 target.value = base.transformTerm(f.value,trace,variableMap)
85 }
86
87} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_RelationMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_RelationMapper.xtend
deleted file mode 100644
index d300a28b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_RelationMapper.xtend
+++ /dev/null
@@ -1,199 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
6import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference
7import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition
9import java.util.HashMap
10
11import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
12import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference
13import java.util.List
14import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation
15import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
16
17class Logic2AlloyLanguageMapper_RelationMapper {
18 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
19 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
20 val Logic2AlloyLanguageMapper base;
21 public new(Logic2AlloyLanguageMapper base) {
22 this.base = base
23 }
24
25 def dispatch public void transformRelation(RelationDeclaration r, Logic2AlloyLanguageMapperTrace trace) {
26 if(!trace.relationDefinitions.containsKey(r)) {
27 if(r.transformToHostedField(trace)) {
28 transformRelationDeclarationToHostedField(r,trace)
29 } else {
30 transformRelationDeclarationToGlobalField(r,trace)
31 }
32 }
33 }
34
35 def public createRelationDeclaration(String name, List<TypeReference> paramTypes, Logic2AlloyLanguageMapperTrace trace) {
36 val field = createALSFieldDeclaration => [
37 it.name = support.toID(name)
38 it.type = support.unfoldReferenceDirectProduct(base,paramTypes,trace)
39 ]
40 trace.logicLanguageBody.fields += field
41 return field
42 }
43
44 def protected transformToHostedField(RelationDeclaration r, Logic2AlloyLanguageMapperTrace trace) {
45 val first = r.parameters.get(0)
46 if(r.parameters.size == 2) {
47 if(first instanceof ComplexTypeReference) {
48 val types = base.typeMapper.transformTypeReference(first.referred,base,trace)
49 if(types.size == 1) {
50 return true
51 }
52 }
53 }
54 return false
55 }
56
57 def protected transformRelationDeclarationToHostedField(RelationDeclaration r, Logic2AlloyLanguageMapperTrace trace) {
58 val hostType = (r.parameters.head as ComplexTypeReference).referred
59
60 val targetBody = base.typeMapper.transformTypeReference(hostType,base,trace).get(0).eContainer as ALSSignatureBody
61 val field = createALSFieldDeclaration => [
62 it.name = support.toID(r.getName)
63 it.multiplicity = ALSMultiplicity.SET
64 it.type = base.transformTypeReference(r.parameters.get(1),trace)
65 ]
66 targetBody.fields += field
67 trace.relationDeclaration2Field.put(r,field)
68
69 }
70
71 def protected transformRelationDeclarationToGlobalField(RelationDeclaration r, Logic2AlloyLanguageMapperTrace trace) {
72 val field = createALSFieldDeclaration => [
73 it.name = support.toID(r.name)
74 it.type = support.unfoldReferenceDirectProduct(base,r.parameters,trace)
75 ]
76 trace.logicLanguageBody.fields += field
77 trace.relationDeclaration2Global.put(r, field)
78 }
79
80 def dispatch public void transformRelation(RelationDefinition r, Logic2AlloyLanguageMapperTrace trace) {
81 val res = createALSRelationDefinition => [
82 name = support.toID(r.name)
83 // fill the variables later
84 // fill the expression later
85 ]
86
87 trace.relationDefinition2Predicate.put(r,res)
88 trace.specification.relationDefinitions+=res;
89 }
90
91 def protected void transformRelationDefinitionSpecification(RelationDefinition r, Logic2AlloyLanguageMapperTrace trace) {
92 val predicate = r.lookup(trace.relationDefinition2Predicate)
93 if(predicate !== null) {
94 val variableMap = new HashMap
95 for(variable : r.variables) {
96 val v = createALSVariableDeclaration => [
97 it.name = support.toID(variable.name)
98 it.range = base.transformTypeReference(variable.range,trace)
99 ]
100 predicate.variables+=v
101 variableMap.put(variable,v)
102 }
103 predicate.value = base.transformTerm(r.value,trace,variableMap)
104 }
105 }
106
107 def public transformRelationReference(RelationDeclaration relation, Logic2AlloyLanguageMapperTrace trace) {
108 if(relation.transformToHostedField(trace)) {
109 return createALSReference => [it.referred = relation.lookup(trace.relationDeclaration2Field) ]
110 } else {
111 return createALSJoin => [
112 leftOperand = createALSReference => [referred = trace.logicLanguage]
113 rightOperand = createALSReference => [ referred = relation.lookup(trace.relationDeclaration2Global) ]]
114 }
115 }
116
117 def public getRelationReference(RelationDeclaration relation, Logic2AlloyLanguageMapperTrace trace) {
118 if(relation.transformToHostedField(trace)) {
119 return relation.lookup(trace.relationDeclaration2Field)
120 } else {
121 return relation.lookup(trace.relationDeclaration2Global)
122 }
123 }
124
125 public def dispatch void prepareTransitiveClosure(RelationDeclaration relation, Logic2AlloyLanguageMapperTrace trace) {
126 // There is nothing to do, relation can be used in ^relation expressions
127 if(transformToHostedField(relation,trace)) {
128 trace.relationInTransitiveToHosterField.put(relation,relation.lookup(trace.relationDeclaration2Field))
129 } else {
130 trace.relationInTransitiveToGlobalField.put(relation,relation.lookup(trace.relationDeclaration2Global))
131 }
132 }
133 public def dispatch void prepareTransitiveClosure(RelationDefinition relation, Logic2AlloyLanguageMapperTrace trace) {
134 if(relation.parameters.size === 2) {
135 /** 1. Create a relation that can be used in ^relation expressions */
136 val declaration = this.createRelationDeclaration('''AsDeclaration «relation.name»''',relation.parameters,trace)
137 trace.relationInTransitiveToHosterField.put(relation,declaration)
138 /** 2. Add fact that the declaration corresponds to the definition */
139 val fact = createALSFactDeclaration => [
140 it.name = '''EqualsAsDeclaration «relation.name»'''
141 it.term = createALSQuantifiedEx => [
142 val a = createALSVariableDeclaration => [
143 it.name = "a"
144 it.range = base.transformTypeReference(relation.parameters.get(0),trace)
145 ]
146 val b = createALSVariableDeclaration => [
147 it.name = "b"
148 it.range = base.transformTypeReference(relation.parameters.get(1),trace)
149 ]
150 it.variables += a
151 it.variables += b
152 it.type = ALSMultiplicity::ALL
153 it.expression = createALSIff => [
154 it.leftOperand = createALSFunctionCall => [
155 it.referredDefinition = relation.lookup(trace.relationDefinition2Predicate)
156 it.params += createALSReference => [ it.referred = a ]
157 it.params += createALSReference => [ it.referred = b ]
158 ]
159 it.rightOperand = createALSSubset => [
160 it.leftOperand = createALSJoin => [
161 it.leftOperand = createALSReference => [ referred = a ]
162 it.rightOperand = createALSReference => [ referred = b ]
163 ]
164 it.rightOperand = createALSJoin => [
165 leftOperand = createALSReference => [referred = trace.logicLanguage]
166 rightOperand = createALSReference => [ referred = declaration ]
167 ]
168 ]
169 ]
170 ]
171 ]
172 trace.specification.factDeclarations += fact
173 return
174 } else {
175 throw new AssertionError('''A non-binary relation "«relation.name»" is used in transitive clousure!''')
176 }
177 }
178
179 def public transformTransitiveRelationReference(Relation relation, ALSTerm source, ALSTerm target, Logic2AlloyLanguageMapperTrace trace) {
180 val alsTargetRelation = if(trace.relationInTransitiveToGlobalField.containsKey(relation)) {
181 createALSJoin => [
182 leftOperand = createALSReference => [referred = trace.logicLanguage]
183 rightOperand = createALSReference => [ referred =relation.lookup(trace.relationInTransitiveToGlobalField) ]
184 ]
185 } else if(trace.relationInTransitiveToHosterField.containsKey(relation)){
186 createALSReference => [it.referred = relation.lookup(trace.relationInTransitiveToHosterField) ]
187 } else {
188 throw new AssertionError('''Relation «relation.name» is not prepared to transitive closure!''')
189 }
190 return createALSSubset => [
191 it.leftOperand = createALSJoin => [
192 it.leftOperand = source
193 it.rightOperand = target
194 ]
195 it.rightOperand = createAlSTransitiveClosure => [it.operand = alsTargetRelation]
196
197 ]
198 }
199} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Support.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Support.xtend
deleted file mode 100644
index 0b8d2857..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_Support.xtend
+++ /dev/null
@@ -1,207 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference
10import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term
12import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference
13import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable
14import java.util.ArrayList
15import java.util.HashMap
16import java.util.List
17import java.util.Map
18import org.eclipse.emf.ecore.util.EcoreUtil
19
20class Logic2AlloyLanguageMapper_Support {
21 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
22
23 /// ID handling
24 def protected String toIDMultiple(String... ids) {
25 ids.map[it.split("\\s+").join("'")].join("'")
26 }
27
28 def protected String toID(String ids) {
29 ids.split("\\s+").join("'")
30 }
31 def protected String toID(List<String> ids) {
32 ids.map[it.split("\\s+").join("'")].join("'")
33 }
34
35 /// Support functions
36
37 def protected getBooleanType(Logic2AlloyLanguageMapperTrace trace) {
38 if(trace.boolType!=null) {
39 return trace.boolType
40 } else {
41 trace.boolType = createALSEnumDeclaration => [
42 it.name = toID(#["util","boolean"])
43 trace.boolTrue = createALSEnumLiteral =>[it.name=toID(#["util","boolean","true"])]
44 it.literal += trace.boolTrue
45 trace.boolFalse = createALSEnumLiteral =>[it.name=toID(#["util","boolean","false"])]
46 it.literal += trace.boolFalse
47 ]
48 trace.specification.enumDeclarations+=trace.boolType
49 return trace.boolType
50 }
51 }
52 def protected getBooleanTrue(Logic2AlloyLanguageMapperTrace trace) {
53 getBooleanType(trace)
54 return trace.boolTrue
55 }
56 def protected getBooleanFalse(Logic2AlloyLanguageMapperTrace trace) {
57 getBooleanType(trace)
58 return trace.boolFalse
59 }
60
61 def protected booleanToLogicValue(ALSTerm boolReference, Logic2AlloyLanguageMapperTrace trace) {
62 //println((boolReference as ALSReference).referred)
63 createALSEquals => [
64 leftOperand = EcoreUtil.copy(boolReference)
65 rightOperand = createALSReference => [referred = getBooleanTrue(trace)]
66 ]
67 }
68 def protected booleanToEnumValue(ALSTerm value, Logic2AlloyLanguageMapperTrace trace) {
69 if(value instanceof ALSEquals) {
70 val rightOperand = value.rightOperand
71 if(rightOperand instanceof ALSReference) {
72 if(rightOperand.referred == getBooleanTrue(trace)) {
73 return value.leftOperand
74 }
75 }
76 }
77 return value;
78 }
79 def protected prepareParameterOfSymbolicReference(TypeReference type, ALSTerm term, Logic2AlloyLanguageMapperTrace trace) {
80 if(type instanceof BoolTypeReference) {
81 return booleanToEnumValue(term,trace)
82 }
83 else return term
84 }
85 def protected postprocessResultOfSymbolicReference(TypeReference type, ALSTerm term, Logic2AlloyLanguageMapperTrace trace) {
86 if(type instanceof BoolTypeReference) {
87 return booleanToLogicValue(term,trace)
88 }
89 else return term
90 }
91
92 def protected ALSTerm unfoldAnd(List<? extends ALSTerm> operands) {
93 if(operands.size == 1) { return operands.head }
94 else if(operands.size > 1) { return createALSAnd=>[
95 leftOperand=operands.head
96 rightOperand=operands.subList(1,operands.size).unfoldAnd
97 ]}
98 else throw new UnsupportedOperationException('''Logic operator with 0 operands!''')
99 }
100
101 def protected ALSTerm unfoldOr(List<? extends ALSTerm> operands, Logic2AlloyLanguageMapperTrace trace) {
102 if(operands.size == 0) { return unfoldTrueStatement(trace)}
103 else if(operands.size == 1) { return operands.head }
104 else if(operands.size > 1) { return createALSOr=>[
105 leftOperand=operands.head
106 rightOperand=unfoldOr(operands.subList(1,operands.size),trace)
107 ]}
108 //else throw new UnsupportedOperationException('''Logic operator with 0 operands!''')
109 }
110
111 protected def unfoldTrueStatement(Logic2AlloyLanguageMapperTrace trace) {
112 createALSEquals => [
113 it.leftOperand = createALSReference => [it.referred = getBooleanTrue(trace)]
114 it.rightOperand = createALSReference => [it.referred = getBooleanTrue(trace)]
115 ]
116 }
117
118 protected def unfoldTFalseStatement(Logic2AlloyLanguageMapper m, Logic2AlloyLanguageMapperTrace trace) {
119 createALSEquals => [
120 it.leftOperand = createALSReference => [it.referred = getBooleanTrue(trace)]
121 it.rightOperand = createALSReference => [it.referred = getBooleanTrue(trace)]
122 ]
123 }
124
125 def protected ALSTerm unfoldPlus(List<? extends ALSTerm> operands) {
126 if(operands.size == 1) { return operands.head }
127 else if(operands.size > 1) { return createALSPlus=>[
128 leftOperand=operands.head
129 rightOperand=operands.subList(1,operands.size).unfoldPlus
130 ]}
131 else return createALSNone
132 }
133
134 def protected ALSTerm unfoldIntersection(List<? extends ALSTerm> operands) {
135 if(operands.size == 1) { return operands.head }
136 else if(operands.size > 1) { return createALSIntersection=>[
137 leftOperand=operands.head
138 rightOperand=operands.subList(1,operands.size).unfoldIntersection
139 ]}
140 else throw new UnsupportedOperationException('''Logic operator with 0 operands!''')
141 }
142
143 def protected ALSTerm unfoldDistinctTerms(Logic2AlloyLanguageMapper m, List<Term> operands, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
144 if(operands.size == 1) { return m.transformTerm(operands.head,trace,variables) }
145 else if(operands.size > 1) {
146 val notEquals = new ArrayList<ALSTerm>(operands.size*operands.size/2)
147 for(i:0..<operands.size) {
148 for(j: i+1..<operands.size) {
149 notEquals+=createALSNotEquals=>[
150 leftOperand = m.transformTerm(operands.get(i),trace,variables)
151 rightOperand = m.transformTerm(operands.get(j),trace,variables)
152 ]
153 }
154 }
155 return notEquals.unfoldAnd
156 }
157 else throw new UnsupportedOperationException('''Logic operator with 0 operands!''')
158 }
159
160 def protected ALSTerm unfoldReferenceDirectProduct(Logic2AlloyLanguageMapper m, List<TypeReference> references,Logic2AlloyLanguageMapperTrace trace) {
161 if(references.size == 1) return m.transformTypeReference(references.head,trace)
162 else if(references.size > 1) return createALSDirectProduct => [
163 it.leftOperand = m.transformTypeReference(references.head,trace)
164 it.rightOperand = unfoldReferenceDirectProduct(m,references.subList(1,references.size),trace)
165 ]
166 else throw new UnsupportedOperationException
167 }
168
169 def protected ALSTerm unfoldDotJoin(Logic2AlloyLanguageMapper m, List<Term> elements, ALSTerm target, Logic2AlloyLanguageMapperTrace trace,
170 Map<Variable, ALSVariableDeclaration> variables) {
171 if (elements.size == 1) {
172 return createALSJoin => [
173 it.leftOperand = m.transformTerm(elements.head,trace, variables)
174 it.rightOperand = target
175 ]
176 } else if (elements.size > 1) {
177 return createALSJoin => [
178 it.leftOperand = m.transformTerm(elements.last,trace, variables)
179 it.rightOperand = m.unfoldDotJoin(elements.subList(0, elements.size - 1), target, trace, variables)
180 ]
181 } else
182 throw new UnsupportedOperationException
183 }
184
185 def protected ALSTerm unfoldTermDirectProduct(Logic2AlloyLanguageMapper m, List<Term> references,Logic2AlloyLanguageMapperTrace trace,Map<Variable, ALSVariableDeclaration> variables) {
186 if(references.size == 1) return m.transformTerm(references.head,trace,variables)
187 else if(references.size > 1) return createALSDirectProduct => [
188 it.leftOperand = m.transformTerm(references.head,trace,variables)
189 it.rightOperand = unfoldTermDirectProduct(m,references.subList(1,references.size),trace, variables)
190 ]
191 else throw new UnsupportedOperationException
192 }
193
194 def protected createQuantifiedExpression(Logic2AlloyLanguageMapper m, QuantifiedExpression q, ALSMultiplicity multiplicity, Logic2AlloyLanguageMapperTrace trace, Map<Variable, ALSVariableDeclaration> variables) {
195 val variableMap = q.quantifiedVariables.toInvertedMap[v | createALSVariableDeclaration=> [
196 it.name = toID(v.name)
197 it.range = m.transformTypeReference(v.range,trace) ]]
198
199 createALSQuantifiedEx=>[
200 it.type = multiplicity
201 it.variables += variableMap.values
202 it.expression = m.transformTerm(q.expression,trace,variables.withAddition(variableMap))
203 ]
204 }
205
206 def protected withAddition(Map<Variable, ALSVariableDeclaration> v1, Map<Variable, ALSVariableDeclaration> v2) { new HashMap(v1) => [putAll(v2)] }
207} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper.xtend
deleted file mode 100644
index c998de1f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper.xtend
+++ /dev/null
@@ -1,18 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
5import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
6import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
7import java.util.Collection
8import java.util.List
9
10interface Logic2AlloyLanguageMapper_TypeMapper {
11 def void transformTypes(Collection<Type> types, Collection<DefinedElement> elements, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace);
12 def List<ALSSignatureDeclaration> transformTypeReference(Type referred, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace)
13 def ALSSignatureDeclaration getUndefinedSupertype(Logic2AlloyLanguageMapperTrace trace)
14 def int getUndefinedSupertypeScope(int undefinedScope,Logic2AlloyLanguageMapperTrace trace)
15 def ALSTerm transformReference(DefinedElement referred,Logic2AlloyLanguageMapperTrace trace)
16
17 def AlloyModelInterpretation_TypeInterpretation getTypeInterpreter()
18}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.xtend
deleted file mode 100644
index 17b1a87b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.xtend
+++ /dev/null
@@ -1,15 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
4import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
5import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
6import java.util.HashMap
7import java.util.Map
8
9class Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes
10 implements Logic2AlloyLanguageMapper_TypeMapperTrace
11{
12 public var ALSSignatureDeclaration objectSupperClass;
13 public val Map<Type, ALSSignatureDeclaration> type2ALSType = new HashMap;
14 public val Map<DefinedElement, ALSSignatureDeclaration> definedElement2Declaration = new HashMap
15} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal.xtend
deleted file mode 100644
index 1b04a877..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal.xtend
+++ /dev/null
@@ -1,15 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
4import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
5import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
6import java.util.HashMap
7import java.util.List
8import java.util.Map
9
10class Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal implements Logic2AlloyLanguageMapper_TypeMapperTrace {
11 public var ALSSignatureDeclaration objectSupperClass;
12 public val Map<Type, ALSSignatureDeclaration> type2ALSType = new HashMap;
13 public val Map<DefinedElement, ALSSignatureDeclaration> definedElement2Declaration = new HashMap
14 public val Map<Type, List<ALSSignatureDeclaration>> typeSelection = new HashMap
15}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes.xtend
deleted file mode 100644
index 9e548ab6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes.xtend
+++ /dev/null
@@ -1,263 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.queries.TypeQueries
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
10import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
12import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage
13import java.util.ArrayList
14import java.util.Collection
15import java.util.HashMap
16import java.util.List
17
18import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
19
20/**
21 * Each object is an element of an Object set, and types are subsets of the objects.
22 */
23class Logic2AlloyLanguageMapper_TypeMapper_FilteredTypes implements Logic2AlloyLanguageMapper_TypeMapper{
24 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
25 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
26
27 new() {
28 // Initialize package
29 LogicproblemPackage.eINSTANCE.class
30 }
31
32 override transformTypes(Collection<Type> types, Collection<DefinedElement> elements, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace) {
33 val typeTrace = new Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes
34 trace.typeMapperTrace = typeTrace
35
36 // 1. A global type for Objects is created
37 val objectSig = createALSSignatureDeclaration => [it.name = support.toID(#["util","Object"])]
38 val objectBody = createALSSignatureBody => [
39 it.declarations += objectSig
40 it.abstract = true
41 ]
42 typeTrace.objectSupperClass = objectSig
43 trace.specification.signatureBodies += objectBody
44
45 // 2. Each type is mapped to a unique sig
46 for(type : types) {
47 val sig = createALSSignatureDeclaration => [it.name = support.toIDMultiple("type",type.name)]
48 val body = createALSSignatureBody => [it.declarations += sig]
49 trace.specification.signatureBodies += body
50 typeTrace.type2ALSType.put(type,sig)
51 }
52
53 // 3. The elements of a defined type is mapped to singleton signatures
54 // 3.1 Collect the elements
55 val elementMatcher = TypeQueries.instance.getLowestCommonSupertypeOfAllOccuranceOfElement(trace.incqueryEngine)
56 val topmostType2Elements = new HashMap<ALSSignatureDeclaration,List<DefinedElement>>
57 for(element : elements) {
58 val topmostTypes = elementMatcher.getAllValuesOftype(element)
59 var ALSSignatureDeclaration selectedTopmostType;
60 if(topmostTypes.empty) {
61 selectedTopmostType = objectSig
62 } else{
63 selectedTopmostType = topmostTypes.head.lookup(typeTrace.type2ALSType)
64 }
65 topmostType2Elements.putOrAddToList(selectedTopmostType,element)
66 }
67
68 // 4. For each topmost types several singleton classes are generated, which represents the elements.
69 // For the sake of clarity, common bodies are used.
70 for(topmostEntry : topmostType2Elements.entrySet) {
71
72 for(element : topmostEntry.value) {
73 val signature = createALSSignatureDeclaration => [it.name = support.toIDMultiple("element",element.name)]
74 typeTrace.definedElement2Declaration.put(element,signature)
75 }
76
77 val body = createALSSignatureBody => [
78 it.multiplicity = ALSMultiplicity.ONE
79 it.declarations += topmostEntry.value.map[it.lookup(typeTrace.definedElement2Declaration)]
80 ]
81
82 val containerLogicType = topmostEntry.key
83 body.superset += containerLogicType
84
85 trace.specification.signatureBodies+=body
86 }
87
88 // 5.1 Each Defined Type is specified as the union of its elements
89 for(definedType : types.filter(TypeDefinition)) {
90 trace.specification.factDeclarations += createALSFactDeclaration => [
91 it.name = support.toIDMultiple("typedefinition",definedType.name)
92 it.term = createALSEquals => [
93 it.leftOperand = createALSReference => [ it.referred = definedType.lookup(typeTrace.type2ALSType) ]
94 it.rightOperand = support.unfoldPlus(definedType.elements.map[e|
95 createALSReference => [it.referred = e.lookup(typeTrace.definedElement2Declaration)]])
96 ]
97 ]
98 }
99 // 5.2 Each Defined Element is unique
100 for(definedType : types.filter(TypeDefinition)) {
101 val allElementsIncludingSubtypes =
102 definedType.<Type>transitiveClosureStar[it.subtypes].filter(TypeDefinition)
103 .map[elements].flatten.toSet.toList
104 if(allElementsIncludingSubtypes.size>=2) {
105 trace.specification.factDeclarations += createALSFactDeclaration => [
106 it.name = support.toIDMultiple("typeElementsUnique",definedType.name)
107 it.term = unfoldDistinctElements(allElementsIncludingSubtypes,trace)
108 ]
109 }
110 }
111
112 // 6. Each inheritance is modeled by subset operator 'in'
113 for(type : types) {
114 val sigBody = type.lookup(typeTrace.type2ALSType).eContainer as ALSSignatureBody
115 if(type.supertypes.empty) {
116 sigBody.superset += typeTrace.objectSupperClass
117 } else {
118 sigBody.superset += type.supertypes.map[lookup(typeTrace.type2ALSType)]
119 }
120 }
121
122
123 // 7. Each type is in the intersection of the supertypes
124 for(type : types.filter[it.supertypes.size>=2]) {
125 trace.specification.factDeclarations += createALSFactDeclaration => [
126 it.name = support.toIDMultiple("abstract",type.name)
127 it.term = createALSEquals => [
128 it.leftOperand = createALSReference => [ it.referred = type.lookup(typeTrace.type2ALSType) ]
129 it.rightOperand = support.unfoldIntersection(type.supertypes.map[e|
130 createALSReference => [it.referred = e.lookup(typeTrace.type2ALSType)]])
131 ]
132 ]
133 }
134
135 // 8. Each abstract type is equal to the union of the subtypes
136 for(type : types.filter[isIsAbstract]) {
137 trace.specification.factDeclarations += createALSFactDeclaration => [
138 it.name = support.toIDMultiple("abstract",type.name)
139 it.term = createALSEquals => [
140 it.leftOperand = createALSReference => [ it.referred = type.lookup(typeTrace.type2ALSType) ]
141 it.rightOperand = support.unfoldPlus(type.subtypes.map[e|
142 createALSReference => [it.referred = e.lookup(typeTrace.type2ALSType)]])
143 ]
144 ]
145 }
146 // 8.1 The object type is the union of the root types.
147 val rootTypes = types.filter[it.supertypes.empty].toList
148 trace.specification.factDeclarations += createALSFactDeclaration => [
149 it.name = support.toIDMultiple(#["ObjectTypeDefinition"])
150 it.term = createALSEquals => [
151 it.leftOperand = createALSReference => [ it.referred = typeTrace.objectSupperClass ]
152 it.rightOperand = support.unfoldPlus(rootTypes.map[e|
153 createALSReference => [it.referred = e.lookup(typeTrace.type2ALSType)]])
154 ]
155 ]
156
157 // 9. For each type X (including Object)
158 // only the common subtypes are in the intersection
159 // of the two subtype.
160 // 9.1. for the object
161 {
162 val rootTypeList = types.filter[it.supertypes.empty].toList
163 for(type1Index: 0..<rootTypeList.size) {
164 for(type2Index: 0..<type1Index) {
165 trace.specification.factDeclarations +=
166 commonSubtypeOnlyInDiamonds(rootTypeList.get(type1Index),rootTypeList.get(type2Index),trace)
167 }
168 }
169 }
170
171 //9.3 for the subtypes of each objects
172 {
173 for(inScope : types) {
174 val subtypeList = inScope.subtypes//.toList
175 if(subtypeList.size>=2) {
176 for(type1Index: 0..<subtypeList.size) {
177 for(type2Index: 0..<type1Index) {
178 trace.specification.factDeclarations +=
179 commonSubtypeOnlyInDiamonds(subtypeList.get(type1Index),subtypeList.get(type2Index),trace)
180 }
181 }
182 }
183 }
184 }
185 }
186
187 private def isEnumlikeType(Type type) {
188 if(type instanceof TypeDefinition) {
189 val elements = type.elements
190 return elements.forall[it.definedInType.size === 1 && it.definedInType.head === type]
191 }
192 return false
193 }
194
195 private def isEnumlikeElement(DefinedElement d) {
196 d.definedInType.size === 1 && d.definedInType.head.isEnumlikeType
197 }
198
199 def getTypeTrace(Logic2AlloyLanguageMapperTrace trace) {
200 val res = trace.typeMapperTrace
201 if(res instanceof Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes) {
202 return res
203 } else {
204 throw new IllegalArgumentException('''
205 Expected type mapping trace: «Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.name»,
206 but found «res.class.name»''')
207 }
208 }
209
210 def private commonSubtypeOnlyInDiamonds(Type t1, Type t2, Logic2AlloyLanguageMapperTrace trace) {
211 val topmostCommonSubtypes = TypeQueries.instance.getTopmostCommonSubtypes(trace.incqueryEngine)
212 val allTopmostCommon = topmostCommonSubtypes.getAllValuesOfcommon(t1,t2).toList
213 return createALSFactDeclaration => [
214 it.name = support.toIDMultiple("common","types",t1.name,t2.name)
215 it.term = createALSEquals => [
216 it.leftOperand = createALSIntersection => [
217 it.leftOperand = createALSReference => [it.referred = t1.lookup(trace.typeTrace.type2ALSType)]
218 it.rightOperand = createALSReference => [it.referred = t2.lookup(trace.typeTrace.type2ALSType)]
219 ]
220 it.rightOperand = support.unfoldPlus(allTopmostCommon.map[t|createALSReference => [it.referred = t.lookup(trace.typeTrace.type2ALSType)]])
221 ]
222 ]
223 }
224
225 def private unfoldDistinctElements(
226 List<DefinedElement> operands,
227 Logic2AlloyLanguageMapperTrace trace
228 ) {
229 if(operands.size == 1 || operands.size == 0) {support.unfoldTrueStatement(trace);}
230 else {
231 val notEquals = new ArrayList<ALSTerm>(operands.size*operands.size/2)
232 for(i:0..<operands.size) {
233 for(j: i+1..<operands.size) {
234 notEquals+=createALSNotEquals=>[
235 leftOperand = createALSReference => [it.referred = trace.typeTrace.definedElement2Declaration.get(operands.get(i)) ]
236 rightOperand = createALSReference => [it.referred = trace.typeTrace.definedElement2Declaration.get(operands.get(j)) ]
237 ]
238 }
239 }
240 return support.unfoldAnd(notEquals)
241 }
242 }
243
244 override transformTypeReference(Type referred, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace) {
245 return #[trace.typeTrace.type2ALSType.get(referred)]
246 }
247
248 override getUndefinedSupertype(Logic2AlloyLanguageMapperTrace trace) {
249 trace.typeTrace.objectSupperClass
250 }
251
252 override transformReference(DefinedElement referred, Logic2AlloyLanguageMapperTrace trace) {
253 createALSReference => [it.referred = referred.lookup(trace.typeTrace.definedElement2Declaration)]
254 }
255
256 override getUndefinedSupertypeScope(int undefinedScope, Logic2AlloyLanguageMapperTrace trace) {
257 if(undefinedScope == Integer.MAX_VALUE) return undefinedScope else return undefinedScope + trace.typeTrace.definedElement2Declaration.size
258 }
259
260 override getTypeInterpreter() {
261 return new AlloyModelInterpretation_TypeInterpretation_FilteredTypes
262 }
263} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_InheritanceAndHorizontal.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_InheritanceAndHorizontal.xtend
deleted file mode 100644
index 7d90b2b0..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/Logic2AlloyLanguageMapper_TypeMapper_InheritanceAndHorizontal.xtend
+++ /dev/null
@@ -1,122 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
6import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
7import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
9import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage
10import java.util.Collection
11import java.util.LinkedList
12
13class Logic2AlloyLanguageMapper_TypeMapper_InheritanceAndHorizontal implements Logic2AlloyLanguageMapper_TypeMapper{
14 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
15 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
16
17 new() {
18 LogicproblemPackage.eINSTANCE.class
19 }
20
21 override transformTypes(Collection<Type> types, Collection<DefinedElement> elements, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace) {
22 val typeTrace = new Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal
23 trace.typeMapperTrace = typeTrace
24
25 // 1. A global type for Objects is created
26 val objectSig = createALSSignatureDeclaration => [it.name = support.toID(#["util","Object"])]
27 val objectBody = createALSSignatureBody => [
28 it.declarations += objectSig
29 it.abstract = true
30 ]
31 typeTrace.objectSupperClass = objectSig
32 trace.specification.signatureBodies += objectBody
33
34 // 2. Each type is mapped to a unique sig
35 for(type : types) {
36 val sig = createALSSignatureDeclaration => [it.name = support.toIDMultiple("type",type.name)]
37 val body = createALSSignatureBody => [it.declarations += sig]
38 body.abstract = type.isIsAbstract || (type instanceof TypeDefinition)
39
40 trace.specification.signatureBodies += body
41 typeTrace.type2ALSType.put(type,sig)
42
43 typeTrace.typeSelection.put(type,new LinkedList()=>[add(sig)])
44 }
45
46 for(element : elements) {
47 val mostSpecificTypes = element.definedInType.filter[it.subtypes.empty]
48 if(mostSpecificTypes.size== 1) {
49 val mostSpecificSubtype = mostSpecificTypes.head
50 val elementContainer = createALSSignatureBody => [
51 it.multiplicity = ALSMultiplicity::ONE
52 it.supertype =typeTrace.type2ALSType.get(mostSpecificSubtype)
53 ]
54 val signature = createALSSignatureDeclaration => [it.name = support.toIDMultiple("element",element.name)]
55 elementContainer.declarations += signature
56 typeTrace.definedElement2Declaration.put(element,signature)
57 trace.specification.signatureBodies += elementContainer
58 } else {
59 throw new UnsupportedOperationException
60 }
61 }
62
63 // 6. Each inheritance is modeled by extend keyword
64 for(type : types) {
65 if(type.supertypes.size == 0) {
66 (typeTrace.type2ALSType.get(type).eContainer as ALSSignatureBody).supertype = typeTrace.objectSupperClass
67 }if(type.supertypes.size == 1) {
68 val alsType = typeTrace.type2ALSType.get(type.supertypes.head)
69 (typeTrace.type2ALSType.get(type).eContainer as ALSSignatureBody).supertype = alsType
70
71 } else if(type.supertypes.size > 1){
72 val alsMainType = typeTrace.type2ALSType.get(type.supertypes.head)
73 (typeTrace.type2ALSType.get(type).eContainer as ALSSignatureBody).supertype = alsMainType
74 for(otherType : type.supertypes.filter[it != alsMainType]) {
75 typeTrace.typeSelection.get(otherType).add(typeTrace.type2ALSType.get(type))
76 }
77 }
78 }
79 }
80
81 private def boolean hasDefinedSupertype(Type type) {
82 if(type instanceof TypeDefinition) {
83 return true
84 } else {
85 if(type.supertypes.empty) return false
86 else return type.supertypes.exists[it.hasDefinedSupertype]
87 }
88 }
89
90 def getTypeTrace(Logic2AlloyLanguageMapperTrace trace) {
91 val res = trace.typeMapperTrace
92 if(res instanceof Logic2AlloyLanguageMapper_TypeMapperTrace_InheritanceAndHorizontal) {
93 return res
94 } else {
95 throw new IllegalArgumentException('''
96 Expected type mapping trace: «Logic2AlloyLanguageMapper_TypeMapperTrace_FilteredTypes.name»,
97 but found «res.class.name»''')
98 }
99 }
100
101 override transformTypeReference(Type referred, Logic2AlloyLanguageMapper mapper, Logic2AlloyLanguageMapperTrace trace) {
102 trace.typeTrace.typeSelection.get(referred)
103 }
104
105 override getUndefinedSupertype(Logic2AlloyLanguageMapperTrace trace) {
106 trace.typeTrace.objectSupperClass
107 }
108
109 override transformReference(DefinedElement referred, Logic2AlloyLanguageMapperTrace trace) {
110 val r = trace.typeTrace.definedElement2Declaration.get(referred)
111 return createALSReference => [it.referred =r]
112 }
113
114 override getUndefinedSupertypeScope(int undefinedScope, Logic2AlloyLanguageMapperTrace trace) {
115 return undefinedScope + trace.typeTrace.definedElement2Declaration.size
116 }
117
118 override getTypeInterpreter() {
119 return new AlloyModelInterpretation_TypeInterpretation_InheritanceAndHorizontal
120 }
121
122} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/RunCommandMapper.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/RunCommandMapper.xtend
deleted file mode 100644
index fdc35412..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/RunCommandMapper.xtend
+++ /dev/null
@@ -1,105 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolverConfiguration
4import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
8import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
10import java.util.LinkedList
11import java.util.List
12
13import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
14
15class RunCommandMapper {
16 private val extension AlloyLanguageFactory factory = AlloyLanguageFactory.eINSTANCE
17 private val Logic2AlloyLanguageMapper_Support support = new Logic2AlloyLanguageMapper_Support;
18 private val Logic2AlloyLanguageMapper_TypeMapper typeMapper;
19
20 public new(Logic2AlloyLanguageMapper_TypeMapper typeMapper) {
21 this.typeMapper = typeMapper
22 }
23
24 def public transformRunCommand(Logic2AlloyLanguageMapper mapper, ALSDocument specification, Logic2AlloyLanguageMapperTrace trace, AlloySolverConfiguration config)
25 {
26 //val knownStringNumber = specification.eAllContents.filter(ALSStringLiteral).map[it.value].toSet.size
27
28 // add fact to ensure the existence of all literals in the scope
29 if(!config.typeScopes.knownStrings.empty) {
30 specification.factDeclarations += createALSFactDeclaration => [
31 it.name = "EnsureAllStrings"
32 val List<? extends ALSTerm> equals = config.typeScopes.knownStrings.map[x|createALSEquals => [
33 it.leftOperand =createALSStringLiteral => [it.value = x]
34 it.rightOperand =createALSStringLiteral => [it.value = x]
35 ]].toList
36 it.term = support.unfoldAnd(equals)
37 ]
38 }
39 val typeScopes = new LinkedList
40 for(definedScope : config.typeScopes.maxNewElementsByType.entrySet) {
41 val key = definedScope.key
42 val amount = definedScope.value
43 val exactly = config.typeScopes.minNewElementsByType.containsKey(key) && config.typeScopes.minNewElementsByType.get(key) === amount
44
45 val existing = key.transitiveClosureStar[it.subtypes].filter(TypeDefinition).map[elements].flatten.toSet
46 if(amount == 0 && exactly) {
47 specification.factDeclarations += createALSFactDeclaration => [
48 it.term = createALSEquals => [
49 it.leftOperand = support.unfoldPlus(typeMapper.transformTypeReference(key,mapper,trace).map[t|createALSReference => [it.referred = t]].toList)
50 it.rightOperand = support.unfoldPlus( existing.map[typeMapper.transformReference(it,trace)].toList )
51 ]
52 ]
53 }
54 val int n = existing.size-amount
55 typeScopes += createALSSigScope => [
56 it.type = typeMapper.transformTypeReference(key,mapper,trace).head
57 it.number = n
58 it.exactly =exactly
59 ]
60 }
61
62 specification.runCommand = createALSRunCommand => [
63 it.typeScopes+= createALSSigScope => [
64 it.type= typeMapper.getUndefinedSupertype(trace)
65 it.number = typeMapper.getUndefinedSupertypeScope(config.typeScopes.maxNewElements,trace)
66 it.exactly = (config.typeScopes.maxNewElements == config.typeScopes.minNewElements)
67 ]
68 if(config.typeScopes.maxNewIntegers == LogicSolverConfiguration::Unlimited) {
69 val integersUsed = specification.eAllContents.filter(ALSInt)
70 if(integersUsed.empty) {
71 // If no integer scope is defined, but the problem has no integers
72 // => scope can be empty
73 it.typeScopes+= createALSIntScope => [
74 it.number = 0
75 ]
76 } else {
77 // If no integer scope is defined, and the problem has integers
78 // => error
79 throw new UnsupportedOperationException('''An integer scope have to be specified for Alloy!''')
80 }
81 } else {
82 it.typeScopes += createALSIntScope => [
83 if(config.typeScopes.knownIntegers.empty) {
84 number = Integer.SIZE-Integer.numberOfLeadingZeros(config.typeScopes.maxNewIntegers+1/2)
85 } else {
86 var scope = Math.max(
87 Math.abs(config.typeScopes.knownIntegers.max),
88 Math.abs(config.typeScopes.knownIntegers.min))
89 if(scope*2+1 < config.typeScopes.knownIntegers.size + config.typeScopes.maxNewIntegers) {
90 scope += ((config.typeScopes.knownIntegers.size + config.typeScopes.maxNewIntegers) - (scope*2))/2
91 }
92 number = Integer.SIZE-Integer.numberOfLeadingZeros(scope)+1
93 }
94 ]
95 }
96 if(config.typeScopes.maxNewStrings === LogicSolverConfiguration::Unlimited) {
97 throw new UnsupportedOperationException('''An string scope have to be specified for Alloy!''')
98 } else {
99 if(config.typeScopes.maxNewStrings != 0) {
100 it.typeScopes += createALSStringScope => [it.number = 0]
101 }
102 }
103 ]
104 }
105} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/AlloyModelInterpretation.xtend_ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/AlloyModelInterpretation.xtend_
deleted file mode 100644
index 264e3ff8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/AlloyModelInterpretation.xtend_
+++ /dev/null
@@ -1,212 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import edu.mit.csail.sdg.alloy4compiler.ast.ExprVar
4import edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field
5import edu.mit.csail.sdg.alloy4compiler.translator.A4Solution
6import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation
7import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration
10import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory
11import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration
12import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
13import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
14import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
15import java.util.Arrays
16import java.util.HashMap
17import java.util.LinkedList
18import java.util.List
19import java.util.Map
20import java.util.Set
21
22import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.*
23
24class AlloyModelInterpretation implements LogicModelInterpretation{
25
26 protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE
27 //protected val extension LogicProblemBuilder builder = new LogicProblemBuilder
28
29 protected val Logic2AlloyLanguageMapper forwardMapper
30 protected val Logic2AlloyLanguageMapperTrace forwardTrace;
31
32 private var ExprVar logicLanguage;
33 private var String logicBooleanTrue;
34 private var String logicBooleanFalse;
35
36 val Map<String,DefinedElement> alloyAtom2LogicElement = new HashMap
37 private val Map<TypeDeclaration, List<DefinedElement>> interpretationOfUndefinedType = new HashMap
38
39 private val Map<ConstantDeclaration, Object> constant2Value
40 private val Map<FunctionDeclaration, ? extends Map<ParameterSubstitution, Object>> function2Value
41 private val Map<RelationDeclaration, ? extends Set<ParameterSubstitution>> relation2Value
42
43 private val int minInt
44 private val int maxInt
45
46 public new (A4Solution solution, Logic2AlloyLanguageMapper forwardMapper, Logic2AlloyLanguageMapperTrace trace) {
47
48 this.forwardMapper = forwardMapper
49 this.forwardTrace = trace
50
51 //TMP sig maps to identify alloy signatures by their names
52 val Map<String,Type> sigName2LogicType =
53 forwardTrace.type2ALSType.keySet.toMap[x|forwardTrace.type2ALSType.get(x).name]
54 val Map<String,DefinedElement> elementNameNamel2DefinedElement =
55 forwardTrace.definedElement2Declaration.keySet.toMap[x|forwardTrace.definedElement2Declaration.get(x).name]
56
57 // Fill the interpretation map with empty lists
58 forwardTrace.type2ALSType.keySet.filter(TypeDeclaration).forEach[x|interpretationOfUndefinedType.put(x,new LinkedList)]
59
60 // exporing individuals
61 for(atom: solution.allAtoms) {
62 val typeName = getName(atom.type)
63 val atomName = atom.name
64 //println(atom.toString + " < - " + typeName)
65 if(typeName == forwardTrace.logicLanguage.name) {
66 this.logicLanguage = atom
67 } else if(typeName == "Int" || typeName == "seq/Int") {
68 // do nothing
69 } else if(sigName2LogicType.containsKey(typeName) && typeName.lookup(sigName2LogicType) instanceof TypeDefinition) {
70 val element = elementNameNamel2DefinedElement.get(atomName.head)
71 alloyAtom2LogicElement.put(atom.label,element)
72 } else if(sigName2LogicType.containsKey(typeName)) {
73 val type = sigName2LogicType.get(typeName)
74 val elementsOfType = interpretationOfUndefinedType.get(type)
75 val element = createDefinedElement => [
76 it.name += type.name
77 it.name += (elementsOfType.size+1).toString
78 ]
79 alloyAtom2LogicElement.put(atom.label,element)
80 elementsOfType+=element
81 } else if(forwardTrace.boolType != null && typeName == forwardTrace.boolType.name) {
82 if(atomName.head == forwardTrace.boolTrue.name) { this.logicBooleanTrue = atom.label }
83 else if(atomName.head == forwardTrace.boolFalse.name) { this.logicBooleanFalse = atom.label}
84 else throw new UnsupportedOperationException('''Unknown boolean value: «atom»''')
85 }
86 else throw new UnsupportedOperationException('''Unknown atom: «atom»''')
87 }
88
89 //TMP field maps
90 val Map<String, Field> name2AlloyField = new HashMap
91 // exploring signatures
92 for(sig:solution.allReachableSigs) {
93 for(field : sig.fields) {
94 name2AlloyField.put(field.label,field)
95 }
96 }
97
98 // eval consants
99 constant2Value = forwardTrace.constantDeclaration2LanguageField.mapValues[
100 solution.eval(it.name.lookup(name2AlloyField)).head.atom(1).atomLabel2Term
101 ]
102 // eval functions
103 val hostedfunction2Value = forwardTrace.functionDeclaration2HostedField.mapValues[ function |
104 newHashMap(
105 solution.eval(function.name.lookup(name2AlloyField))
106 .map[t | new ParameterSubstitution(#[t.atom(0).atomLabel2Term]) -> t.atom(1).atomLabel2Term])]
107
108 val globalfunction2Value = forwardTrace.functionDeclaration2LanguageField.keySet.toInvertedMap[ function |
109 val alsFunction = function.lookup(forwardTrace.functionDeclaration2LanguageField)
110 val paramIndexes = 1..(function.parameters.size)
111 return newHashMap(
112 solution.eval(alsFunction.name.lookup(name2AlloyField)).map[t |
113 new ParameterSubstitution(paramIndexes.map[t.atom(it).atomLabel2Term])
114 ->
115 t.atom(function.parameters.size + 1).atomLabel2Term
116 ])]
117 this.function2Value = Union(hostedfunction2Value,globalfunction2Value)
118 // eval relations
119 val hostedRelation2Value = forwardTrace.relationDeclaration2Field.mapValues[ relation |
120 solution.eval(relation.name.lookup(name2AlloyField)).map[ t |
121 new ParameterSubstitution(#[t.atom(0).atomLabel2Term,t.atom(1).atomLabel2Term])].toSet]
122 val globalRelation2Value = forwardTrace.relationDeclaration2Global.mapValues[ relation |
123 solution.eval(relation.name.lookup(name2AlloyField)).map[ t |
124 new ParameterSubstitution((1..<t.arity).map[int a|t.atom(a).atomLabel2Term])].toSet]
125 this.relation2Value = Union(hostedRelation2Value,globalRelation2Value)
126
127 //Int limits
128 this.minInt = solution.min
129 this.maxInt = solution.max
130
131 //print
132 }
133
134 def print() {
135 println('''Elements-----''')
136 interpretationOfUndefinedType.forEach[k,v|println('''«k.name» -> «v»''')]
137
138 println('''Constants-----''')
139 constant2Value.forEach[k, v|println('''«k.name» : «v»''')]
140 println('''Functions-----''')
141 function2Value.forEach[f,m|m.forEach[k,v| println('''«f.name» : «k» |-> «v»''')]]
142 println('''Relations-----''')
143 relation2Value.forEach[r,s|s.forEach[t | println('''«r.name»: («t»)''')]]
144 }
145
146 def private getName(edu.mit.csail.sdg.alloy4compiler.ast.Type type) {
147 val name = type.toString
148 if(name.startsWith("{this/") && name.endsWith("}")) {
149 return type.toString.replaceFirst("\\{this\\/","").replace("}","")
150 }
151 else throw new IllegalArgumentException('''Unknown type format: "«name»"!''')
152 }
153 def private getName(ExprVar atom) { atom.toString.split("\\$") }
154
155 override getElements(Type type) { getElementsDispatch(type) }
156 def private dispatch getElementsDispatch(TypeDeclaration declaration) { return declaration.lookup(this.interpretationOfUndefinedType) }
157 def private dispatch getElementsDispatch(TypeDefinition declaration) { return declaration.elements }
158
159 override getInterpretation(FunctionDeclaration function, Object[] parameterSubstitution) {
160 val transformedParams = new ParameterSubstitution(parameterSubstitution)
161 return transformedParams.lookup(
162 function.lookup(this.function2Value)
163 )
164 }
165
166 override getInterpretation(RelationDeclaration relation, Object[] parameterSubstitution) {
167 relation.lookup(this.relation2Value).contains(new ParameterSubstitution(parameterSubstitution))
168 }
169
170 override getInterpretation(ConstantDeclaration constant) {
171 constant.lookup(this.constant2Value)
172 }
173
174 override getMinimalInteger() { this.minInt }
175 override getMaximalInteger() { this.maxInt }
176
177 // Alloy term -> logic term
178 def private atomLabel2Term(String label) {
179 if(label.number) return Integer.parseInt(label)
180 else if(label == this.logicBooleanTrue) return true
181 else if(label == this.logicBooleanFalse) return false
182 else if(this.alloyAtom2LogicElement.containsKey(label)) return label.lookup(alloyAtom2LogicElement)
183 else throw new IllegalArgumentException('''Unknown atom label: "«label»"!''')
184 }
185 def isNumber(String s) {
186 try{
187 Integer.parseInt(s)
188 return true
189 }catch(NumberFormatException e) {
190 return false
191 }
192 }
193}
194
195class ParameterSubstitution{
196 val Object[] data;
197
198 new(Object[] data) { this.data = data }
199
200 override equals(Object obj) {
201 if(obj === this) return true
202 else if(obj == null) return false
203 if(obj instanceof ParameterSubstitution) {
204 return Arrays.equals(this.data,obj.data)
205 }
206 return false
207 }
208
209 override hashCode() {
210 Arrays.hashCode(data)
211 }
212} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/FunctionWithTimeout.xtend_ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/FunctionWithTimeout.xtend_
deleted file mode 100644
index 4f001c72..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/FunctionWithTimeout.xtend_
+++ /dev/null
@@ -1,40 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import org.eclipse.xtext.xbase.lib.Functions.Function0
4import java.util.concurrent.Executors
5import java.util.concurrent.Callable
6import java.util.concurrent.TimeUnit
7import java.util.concurrent.TimeoutException
8import java.util.concurrent.ExecutionException
9
10class FunctionWithTimeout<Type> {
11 val Function0<Type> function;
12
13 new(Function0<Type> function) {
14 this.function = function
15 }
16
17 def execute(long millisecs) {
18 if(millisecs>0) {
19 val executor = Executors.newCachedThreadPool();
20 val task = new Callable<Type>() {
21 override Type call() { function.apply }
22 };
23 val future = executor.submit(task);
24 try {
25 val result = future.get(millisecs, TimeUnit.MILLISECONDS);
26 return result
27 } catch (TimeoutException ex) {
28 // handle the timeout
29 } catch (InterruptedException e) {
30 // handle the interrupts
31 } catch (ExecutionException e) {
32 // handle other exceptions
33 } finally {
34 future.cancel(true); // may or may not desire this
35 }
36 return null
37 }
38 else return function.apply
39 }
40} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/Logic2AlloyApiMapper.xtend_ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/Logic2AlloyApiMapper.xtend_
deleted file mode 100644
index 48ec4fd4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/Logic2AlloyApiMapper.xtend_
+++ /dev/null
@@ -1,345 +0,0 @@
1package hu.bme.mit.inf.dlsreasoner.alloy.reasoner.builder
2
3import java.util.Map
4import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput
5import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem
6import java.util.List
7import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference
8import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference
9import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference
10import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference
11import edu.mit.csail.sdg.alloy4compiler.ast.ExprConstant
12import edu.mit.csail.sdg.alloy4compiler.ast.Expr
13import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion
14import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral
15import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral
16import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable
17import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not
18import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And
19import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or
20import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl
21import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff
22import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan
23import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan
24import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan
25import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan
26import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals
27import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus
28import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus
29import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply
30import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison
31import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod
32import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall
33import java.util.HashMap
34import edu.mit.csail.sdg.alloy4compiler.ast.Decl
35import java.util.ArrayList
36import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists
37import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral
38import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration
39import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement
40import edu.mit.csail.sdg.alloy4compiler.ast.Attr
41import edu.mit.csail.sdg.alloy4compiler.ast.Sig.PrimSig
42import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation
43import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term
44import javax.naming.OperationNotSupportedException
45import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue
46import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant
47import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.alloylanguage.AlloySpecification
48import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.alloylanguage.Multiplicity
49import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.alloylanguage.InverseReference
50import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition
51import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type
52
53class AlloyInput{
54 public val List<PrimSig> typeDeclarations=new ArrayList
55 public val List<Expr> functionDeclarations=new ArrayList
56 public val List<Expr> assertions=new ArrayList
57 public val List<Expr> multiplicityConstraints=new ArrayList
58 public val List<Expr> inverseConstraints=new ArrayList
59}
60
61class Logic2AlloyApiMapperTrace {
62 val Map<Type, PrimSig> typeMap
63 val Map<DefinedElement, PrimSig> elementMap
64 //val Map<Function, SMTFunctionDeclaration> functionMap
65 val Map<Relation,Expr> relationMap
66 //val Map<Constant,SMTFunctionDeclaration> constantMap
67
68 new () {
69 this.typeMap = new HashMap
70 this.elementMap = new HashMap
71 //this.functionMap = new HashMap
72 this.relationMap = new HashMap
73 //this.constantMap = new HashMap
74 }
75 new (Map<Type, PrimSig> typeMap,
76 Map<DefinedElement, PrimSig> elementMap,
77 //Map<Function, SMTFunctionDeclaration> functionMap,
78 Map<Relation,Expr> relationMap/*,
79 Map<Constant,SMTFunctionDeclaration> constantMap*/)
80 {
81 this.typeMap = typeMap
82 this.elementMap = elementMap
83 //this.functionMap = functionMap
84 this.relationMap = relationMap
85 //this.constantMap = constantMap
86 }
87
88 def types() { typeMap }
89 def elements() { elementMap }
90 //def functions() { functionMap }
91 def relations() { relationMap }
92 //def constants() { constantMap }
93}
94
95class Logic2AlloyApiMapper{
96 //TODO output
97 public def TracedOutput<List<PrimSig>, Logic2AlloyApiMapperTrace> transformProblem(LogicProblem problem) {
98 val documentInput = new AlloyInput()
99 //createSMTInput => [satCommand = createSMTSimpleSatCommand getModelCommand = createSMTGetModelCommand]
100 //val document = createSMTDocument => [input = documentInput]
101 val List<PrimSig> document=new ArrayList
102 val trace = new Logic2AlloyApiMapperTrace
103
104 // Trafo
105 documentInput.typeDeclarations += problem.types.map[transformType(trace)]
106 //documentInput.functionDeclarations += problem.functions.map[transformFunction(trace)]
107 documentInput.functionDeclarations += problem.relations.map[transformRelation(trace)]
108 //documentInput.functionDeclarations += problem.constants.map[transformConstant(trace)]
109 documentInput.assertions += problem.assertions.map[transformAssertion(trace)]
110
111
112 val alloySpecification = problem.specifications.filter(AlloySpecification).head
113
114 for(mult: alloySpecification.multiplicities){
115 if(mult.min>0){
116 documentInput.multiplicityConstraints+=mult.transformMultiplicityLowerBound(trace)
117 }
118 if(mult.max!=-1){
119 documentInput.multiplicityConstraints+=mult.transformMultiplicityUpperBound(trace)
120 }
121 }
122
123 for(inv: alloySpecification.inverses){
124 documentInput.inverseConstraints += inv.transformInverse(trace)
125 }
126 // End trafo
127
128 return new TracedOutput(document,trace)
129 }
130
131 def Expr transformMultiplicityLowerBound(Multiplicity multiplicity, Logic2AlloyApiMapperTrace trace){
132
133 val Decl forallVariable=(trace.relations.get(multiplicity.multiplicityOf)).oneOf("o") as Decl
134 return (forallVariable.get.cardinality.gte(ExprConstant.makeNUMBER(multiplicity.min))).forAll(forallVariable)
135
136 }
137
138 def Expr transformMultiplicityUpperBound(Multiplicity multiplicity, Logic2AlloyApiMapperTrace trace){
139
140 val Decl forallVariable=(trace.relations.get(multiplicity.multiplicityOf)).oneOf("o") as Decl
141 return (forallVariable.get.cardinality.lte(ExprConstant.makeNUMBER(multiplicity.max))).forAll(forallVariable)
142
143 }
144
145 def Expr transformInverse(InverseReference inverse, Logic2AlloyApiMapperTrace trace){
146 return trace.relations.get(inverse.inverseOf.get(0)).equal(trace.relations.get(inverse.inverseOf.get(1)).transpose)
147 }
148
149 private def toID(List<String> names) {names.join("!") }
150
151 def dispatch protected transformType(TypeDefinition declaration, Logic2AlloyApiMapperTrace trace) {
152 val result = new PrimSig(declaration.name.toID, Attr.ABSTRACT)
153 trace.types.put(declaration,result)
154 return result
155 }
156
157 def protected transformDefinedElement(TypeDefinition enumType, DefinedElement element, Logic2AlloyApiMapperTrace trace) {
158 val result=new PrimSig(element.name.toID, trace.types.get(enumType), Attr.ONE)
159 trace.elements.put(element,result)
160 return result
161 }
162
163 def dispatch protected transformType(TypeDeclaration declaration, Logic2AlloyApiMapperTrace trace) {
164 //TODO �r�kles, absztrakt
165 val result = new PrimSig(declaration.name.toID)
166 trace.types.put(declaration,result)
167 return result
168 }
169
170 def dispatch protected transformTypeReference(BoolTypeReference boolTypeReference, Logic2AlloyApiMapperTrace trace) {
171 throw new UnsupportedOperationException("BoolTypeReference is not supported.")
172 }
173 def dispatch protected transformTypeReference(IntTypeReference intTypeReference, Logic2AlloyApiMapperTrace trace) {
174 return PrimSig.SIGINT
175 }
176 def dispatch protected transformTypeReference(RealTypeReference realTypeReference, Logic2AlloyApiMapperTrace trace) {
177 throw new UnsupportedOperationException("RealTypeReference is not supported.")
178 }
179 def dispatch protected PrimSig transformTypeReference(ComplexTypeReference complexTypeReference, Logic2AlloyApiMapperTrace trace) {
180 return trace.types.get(complexTypeReference.referred)
181 }
182
183 /*def protected transformFunction(Function declaration, Logic2AlloyApiMapperTrace trace) {
184 val functionDeclaration = createSMTFunctionDeclaration => [
185 name = declaration.name.toID
186 range = declaration.range.transformTypeReference(trace)
187 parameters+= declaration.parameters.map[transformTypeReference(trace)]
188 ]
189 trace.functions.put(declaration,functionDeclaration)
190 return functionDeclaration
191 }*/
192
193 def transformRelation(Relation relation, Logic2AlloyApiMapperTrace trace) {
194 if(relation.parameters.size==2){
195 trace.relations.put(relation,(relation.parameters.get(0).transformTypeReference(trace) as PrimSig).addField(relation.name.toID, (relation.parameters.get(1).transformTypeReference(trace) as PrimSig).setOf))
196 } else{
197 throw new OperationNotSupportedException("More parameters are not supported.")
198 }
199 }
200
201 /*def transformConstant(Constant constant, Logic2AlloyApiMapperTrace trace) {
202 val smtConstant = createSMTFunctionDeclaration => [
203 name = constant.name.toID
204 range = transformTypeReference(constant.type, trace)
205 ]
206 trace.constants.put(constant,smtConstant)
207 return smtConstant
208 }*/
209
210 def protected Expr transformAssertion(Assertion assertion, Logic2AlloyApiMapperTrace trace) {
211
212 return assertion.value.transformTerm(trace,emptyMap)
213 }
214
215 def dispatch protected Expr transformTerm(BoolLiteral literal, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
216 throw new UnsupportedOperationException("Bool is not supported")
217 //open util/boolean, autoPay: Bool
218 //https://code.google.com/p/valloy2009/source/browse/trunk/src/models/util/boolean.als?r=142
219 }
220 def dispatch protected Expr transformTerm(IntLiteral literal, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
221 return ExprConstant.makeNUMBER(literal.value)
222 }
223 def dispatch protected Expr transformTerm(RealLiteral literal, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
224 throw new UnsupportedOperationException("Real number is not supported")
225 }
226 def dispatch protected Expr transformTerm(Not not, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
227 return not.operand.transformTerm(trace,variables).not}
228 def dispatch protected Expr transformTerm(And and, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
229 val List<Expr> operands= and.operands.map[transformTerm(trace,variables)]
230 var andTerm=operands.get(0)
231 for(Integer i: 1..(operands.size-1)){
232 andTerm=andTerm.and(operands.get(i))
233 }
234 return andTerm
235 }
236 def dispatch protected Expr transformTerm(Or or, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
237 val List<Expr> operands= or.operands.map[transformTerm(trace,variables)]
238 var orTerm=operands.get(0)
239 for(Integer i: 1..(operands.size-1)){
240 orTerm=orTerm.or(operands.get(i))
241 }
242 return orTerm
243 }
244 def dispatch protected Expr transformTerm(Impl impl, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
245 return impl.leftOperand.transformTerm(trace,variables).implies(impl.rightOperand.transformTerm(trace,variables))
246 }
247 def dispatch protected Expr transformTerm(Iff ifExpression, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
248 return ifExpression.leftOperand.transformTerm(trace,variables).iff(ifExpression.rightOperand.transformTerm(trace,variables))
249 }
250 def dispatch protected Expr transformTerm(MoreThan moreThan, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
251 return moreThan.leftOperand.transformTerm(trace,variables).gt(moreThan.rightOperand.transformTerm(trace,variables))
252 }
253 def dispatch protected Expr transformTerm(LessThan lessThan, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
254 return lessThan.leftOperand.transformTerm(trace,variables).lt(lessThan.rightOperand.transformTerm(trace,variables))
255 }
256 def dispatch protected Expr transformTerm(MoreOrEqualThan moreThan, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
257 return moreThan.leftOperand.transformTerm(trace,variables).gte(moreThan.rightOperand.transformTerm(trace,variables))
258 }
259 def dispatch protected Expr transformTerm(LessOrEqualThan lessThan, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
260 return lessThan.leftOperand.transformTerm(trace,variables).lte(lessThan.rightOperand.transformTerm(trace,variables))
261 }
262 def dispatch protected Expr transformTerm(Equals equals, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
263 return equals.leftOperand.transformTerm(trace,variables).equal(equals.rightOperand.transformTerm(trace,variables))
264 }
265 /*def dispatch protected Expr transformTerm(Distinct distinct, Logic2AlloyApiMapperTrace trace, Map<Variable, SMTSortedVariable> variables) {
266 createSMTDistinct => [ operands += distinct.operands.map[transformTerm(trace,variables)]]}*/
267 def dispatch protected Expr transformTerm(Plus plus, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
268 return plus.leftOperand.transformTerm(trace,variables).plus(plus.rightOperand.transformTerm(trace,variables))
269 }
270 def dispatch protected Expr transformTerm(Minus minus, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
271 return minus.leftOperand.transformTerm(trace,variables).minus(minus.rightOperand.transformTerm(trace,variables))
272 }
273 def dispatch protected Expr transformTerm(Multiply multiply, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
274 return multiply.leftOperand.transformTerm(trace,variables).mul(multiply.rightOperand.transformTerm(trace,variables))
275 }
276 def dispatch protected Expr transformTerm(Divison div, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
277 return div.leftOperand.transformTerm(trace,variables).div(div.rightOperand.transformTerm(trace,variables))
278 }
279 def dispatch protected Expr transformTerm(Mod mod, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
280 throw new UnsupportedOperationException("Modulo is not supported.")
281 }
282 def dispatch protected Expr transformTerm(Forall forall, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
283 return configureForall(forall,trace,variables)
284 }
285 def dispatch protected Expr transformTerm(Exists exists, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
286 return configureExists(exists,trace,variables)
287 }
288 def dispatch protected Expr transformTerm(SymbolicValue symbolicValue, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
289 symbolicValue.symbolicReference.transformSymbolicReference(symbolicValue.parameterSubstitutions,trace,variables) }
290
291 def private configureForall(
292 Forall quantifiedExpression,
293 Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables)
294 {
295 val allVariables = new HashMap(variables)
296 val newAlloyVariables = new ArrayList<Decl>(quantifiedExpression.quantifiedVariables.size)
297
298 for(logicVariable: quantifiedExpression.quantifiedVariables) {
299 val newAlloyVariable = (logicVariable.range.transformTypeReference(trace)).oneOf(logicVariable.name.toID) as Decl
300 allVariables.put(logicVariable, newAlloyVariable)
301 newAlloyVariables += newAlloyVariable
302 }
303 val variable0=newAlloyVariables.get(0)
304 newAlloyVariables.remove(0)
305 return (quantifiedExpression.expression.transformTerm(trace,allVariables)).forAll(variable0, newAlloyVariables)
306 }
307
308 def private configureExists(
309 Exists quantifiedExpression,
310 Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables)
311 {
312 val allVariables = new HashMap(variables)
313 val newAlloyVariables = new ArrayList<Decl>(quantifiedExpression.quantifiedVariables.size)
314
315 for(logicVariable: quantifiedExpression.quantifiedVariables) {
316 val newAlloyVariable = (logicVariable.range.transformTypeReference(trace)).oneOf(logicVariable.name.toID) as Decl
317 allVariables.put(logicVariable, newAlloyVariable)
318 newAlloyVariables += newAlloyVariable
319 }
320 val variable0=newAlloyVariables.get(0)
321 newAlloyVariables.remove(0)
322 return (quantifiedExpression.expression.transformTerm(trace,allVariables)).forSome(variable0, newAlloyVariables)
323 }
324
325 def dispatch protected Expr transformSymbolicReference(DefinedElement referred, List<Term> parameterSubstitutions, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
326 return trace.elements.get(referred)
327 }
328 def dispatch protected Expr transformSymbolicReference(Variable variable, List<Term> parameterSubstitutions, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
329 return variables.get(variable).get
330 }
331 /*def dispatch protected Expr transformSymbolicReference(Function function, List<Term> parameterSubstitutions, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
332 val result = createSMTSymbolicValue => [sv | sv.symbolicReference = trace.functions.get(function)]
333 for(paramSubstitution : parameterSubstitutions) {
334 result.parameterSubstitutions.add(paramSubstitution.transformTerm(trace,variables))
335 }
336 return result
337 }*/
338 def dispatch protected Expr transformSymbolicReference(Relation relation, List<Term> parameterSubstitutions, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
339 return trace.relations.get(relation)
340 }
341 def dispatch protected Expr transformSymbolicReference(Constant constant, List<Term> parameterSubstitutions, Logic2AlloyApiMapperTrace trace, Map<Variable, Decl> variables) {
342 //createSMTSymbolicValue => [symbolicReference = trace.constants.get(constant)]
343 throw new UnsupportedOperationException("Constant is not supported")
344 }
345} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/oldTypes b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/oldTypes
deleted file mode 100644
index f5f5a9b6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/unused/oldTypes
+++ /dev/null
@@ -1,74 +0,0 @@
1/*def dispatch boolean hasDeclaredElement(TypeDefinition type) { return false; }
2 def dispatch boolean hasDeclaredElement(TypeDeclaration type) {
3 if(type.isAbstract) {
4 type.subtypes.exists[it.hasDeclaredElement]
5 } else return true;
6 }
7
8 def dispatch List<TypeDefinition> allEnumSubtypes(TypeDefinition type) { return #[type] }
9 def dispatch List<TypeDefinition> allEnumSubtypes(TypeDeclaration type) {
10 return type.subtypes.map[it.allEnumSubtypes].flatten.toList
11 }
12
13 def protected transformTypes(List<Type> types, Logic2AlloyLanguageMapperTrace trace) {
14 val Map<TypeDeclaration,ALSSignatureDeclaration> signatureTrace = new HashMap;
15
16 // Creating the root type
17 val objectType = createALSSignatureDeclaration => [ name=#["util","object"].toID it.abstract = true ]
18 trace.objectSupperClass = objectType
19 trace.specification.typeDeclarations += objectType
20
21 // Creating the images of the types
22 for(type : types) {
23 if(type instanceof TypeDefinition) {
24 if(type.elements.empty) {
25 trace.type2ALSType.put(type,#[]);
26 } else {
27 val e = createALSEnumDeclaration => [
28 it.name = type.name.toID
29 it.literal += type.elements.map[transformDefinedElement(trace)]
30 ]
31 trace.type2ALSType.put(type,#[e])
32 trace.specification.typeDeclarations += e
33 }
34 }
35 else if(type instanceof TypeDeclaration) {
36 if(hasDeclaredElement(type)) {
37 val s = createALSSignatureDeclaration => [
38 name=type.name.toID
39 it.abstract = type.isIsAbstract
40 ]
41 trace.type2ALSType.put(type,new LinkedList=>[add(s)])
42 signatureTrace.put(type, s)
43 trace.specification.typeDeclarations += s
44 }
45 else {
46 signatureTrace.put(type, null)
47 trace.type2ALSType.put(type,new LinkedList);// empty
48 }
49 }
50 else throw new IllegalArgumentException('''Unknown type «type.class.name»''')
51 }
52
53
54 for(type: types.filter(TypeDeclaration)) {
55 // Adding inheritance
56 val s = type.lookup(signatureTrace)
57 if(s!=null) {
58 for(supertype : type.supertypes) {
59 s.supertype += (supertype as TypeDeclaration).lookup(signatureTrace)
60 }
61 if(type.supertypes.empty) {
62 s.supertype += objectType
63 }
64 }
65 // Adding enum subtypes
66 type.lookup(trace.type2ALSType)+=type.allEnumSubtypes.map[it.lookup(trace.type2ALSType)].flatten
67 }
68 }
69
70 def protected transformDefinedElement(DefinedElement element, Logic2AlloyLanguageMapperTrace trace) {
71 val result = createALSEnumLiteral => [name = element.name.toID]
72 trace.definedElement2EnumProperty.put(element,result)
73 return result
74 }*/ \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.classpath b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.classpath
deleted file mode 100644
index 2d4e4672..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.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.pde.core.requiredPlugins"/>
7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.gitignore b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.gitignore
deleted file mode 100644
index f2741e97..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/bin/
2/vql-gen/
3/xtend-gen/
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.project b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.project
deleted file mode 100644
index 4274ea1d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.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.alloy.language.ui</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.jdt.core.javabuilder</name>
10 <arguments>
11 </arguments>
12 </buildCommand>
13 <buildCommand>
14 <name>org.eclipse.pde.ManifestBuilder</name>
15 <arguments>
16 </arguments>
17 </buildCommand>
18 <buildCommand>
19 <name>org.eclipse.pde.SchemaBuilder</name>
20 <arguments>
21 </arguments>
22 </buildCommand>
23 <buildCommand>
24 <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
25 <arguments>
26 </arguments>
27 </buildCommand>
28 </buildSpec>
29 <natures>
30 <nature>org.eclipse.jdt.core.javanature</nature>
31 <nature>org.eclipse.pde.PluginNature</nature>
32 <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.core.resources.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c02..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
1eclipse.preferences.version=1
2encoding/<project>=UTF-8
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.jdt.core.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c68a61d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.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/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/META-INF/MANIFEST.MF b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 50a765be..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,28 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: hu.bme.mit.inf.dslreasoner.alloy.language.ui
4Bundle-Vendor: My Company
5Bundle-Version: 1.0.0.qualifier
6Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.alloy.language.ui; singleton:=true
7Bundle-ActivationPolicy: lazy
8Require-Bundle: hu.bme.mit.inf.dslreasoner.alloy.language;visibility:=reexport,
9 org.eclipse.xtext.ui,
10 org.eclipse.ui.editors;bundle-version="3.5.0",
11 org.eclipse.ui.ide;bundle-version="3.5.0",
12 org.eclipse.xtext.ui.shared,
13 org.eclipse.ui,
14 org.eclipse.xtext.builder,
15 org.eclipse.xtext.xbase.lib,
16 org.antlr.runtime,
17 org.eclipse.xtext.common.types.ui,
18 org.eclipse.xtext.ui.codetemplates.ui,
19 org.eclipse.compare
20Import-Package: org.apache.log4j
21Bundle-RequiredExecutionEnvironment: JavaSE-1.8
22Export-Package: hu.bme.mit.inf.dslreasoner.ui.quickfix,
23 hu.bme.mit.inf.dslreasoner.ui.contentassist,
24 hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr,
25 hu.bme.mit.inf.dslreasoner.ui.internal,
26 hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal
27Bundle-Activator: hu.bme.mit.inf.dslreasoner.ui.internal.AlloyLanguageActivator
28Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.alloy.language.ui
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/build.properties b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/build.properties
deleted file mode 100644
index 31255ed0..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
1source.. = src/,\
2 src-gen/,\
3 xtend-gen/
4bin.includes = META-INF/,\
5 .,\
6 plugin.xml \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml
deleted file mode 100644
index 9c36e8a4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml
+++ /dev/null
@@ -1,398 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<plugin>
5
6 <extension
7 point="org.eclipse.ui.editors">
8 <editor
9 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
10 contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
11 default="true"
12 extensions="als"
13 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
14 name="AlloyLanguage Editor">
15 </editor>
16 </extension>
17 <extension
18 point="org.eclipse.ui.handlers">
19 <handler
20 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
21 commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
22 <activeWhen>
23 <reference
24 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
25 </reference>
26 </activeWhen>
27 </handler>
28 <handler
29 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
30 commandId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate">
31 <activeWhen>
32 <reference
33 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
34 </reference>
35 </activeWhen>
36 </handler>
37 <!-- copy qualified name -->
38 <handler
39 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
40 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
41 <activeWhen>
42 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
43 </activeWhen>
44 </handler>
45 <handler
46 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
47 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
48 <activeWhen>
49 <and>
50 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened" />
51 <iterate>
52 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
53 </iterate>
54 </and>
55 </activeWhen>
56 </handler>
57 </extension>
58 <extension point="org.eclipse.core.expressions.definitions">
59 <definition id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
60 <and>
61 <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
62 <with variable="activeEditor">
63 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
64 value="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
65 forcePluginActivation="true"/>
66 </with>
67 </and>
68 </definition>
69 <definition id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened">
70 <and>
71 <reference definitionId="isXtextEditorActive"/>
72 <with variable="activeEditor">
73 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
74 value="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
75 forcePluginActivation="true"/>
76 </with>
77 </and>
78 </definition>
79 </extension>
80 <extension
81 point="org.eclipse.ui.preferencePages">
82 <page
83 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
84 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
85 name="AlloyLanguage">
86 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
87 </page>
88 <page
89 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
90 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
91 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.coloring"
92 name="Syntax Coloring">
93 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
94 </page>
95 <page
96 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
97 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
98 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.templates"
99 name="Templates">
100 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
101 </page>
102 </extension>
103 <extension
104 point="org.eclipse.ui.propertyPages">
105 <page
106 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
107 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
108 name="AlloyLanguage">
109 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
110 <enabledWhen>
111 <adapt type="org.eclipse.core.resources.IProject"/>
112 </enabledWhen>
113 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
114 </page>
115 </extension>
116 <extension
117 point="org.eclipse.ui.keywords">
118 <keyword
119 id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"
120 label="AlloyLanguage"/>
121 </extension>
122 <extension
123 point="org.eclipse.ui.commands">
124 <command
125 description="Trigger expensive validation"
126 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate"
127 name="Validate">
128 </command>
129 <!-- copy qualified name -->
130 <command
131 id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
132 categoryId="org.eclipse.ui.category.edit"
133 description="Copy the qualified name for the selected element"
134 name="Copy Qualified Name">
135 </command>
136 <command
137 id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
138 categoryId="org.eclipse.ui.category.edit"
139 description="Copy the qualified name for the selected element"
140 name="Copy Qualified Name">
141 </command>
142 </extension>
143 <extension point="org.eclipse.ui.menus">
144 <menuContribution
145 locationURI="popup:#TextEditorContext?after=group.edit">
146 <command
147 commandId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate"
148 style="push"
149 tooltip="Trigger expensive validation">
150 <visibleWhen checkEnabled="false">
151 <reference
152 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
153 </reference>
154 </visibleWhen>
155 </command>
156 </menuContribution>
157 <!-- copy qualified name -->
158 <menuContribution locationURI="popup:#TextEditorContext?after=copy">
159 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
160 style="push" tooltip="Copy Qualified Name">
161 <visibleWhen checkEnabled="false">
162 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
163 </visibleWhen>
164 </command>
165 </menuContribution>
166 <menuContribution locationURI="menu:edit?after=copy">
167 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
168 style="push" tooltip="Copy Qualified Name">
169 <visibleWhen checkEnabled="false">
170 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
171 </visibleWhen>
172 </command>
173 </menuContribution>
174 <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
175 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
176 style="push" tooltip="Copy Qualified Name">
177 <visibleWhen checkEnabled="false">
178 <and>
179 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened" />
180 <iterate>
181 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
182 </iterate>
183 </and>
184 </visibleWhen>
185 </command>
186 </menuContribution>
187 </extension>
188 <extension point="org.eclipse.ui.menus">
189 <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
190 <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
191 <visibleWhen checkEnabled="false">
192 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
193 </reference>
194 </visibleWhen>
195 </command>
196 </menuContribution>
197 </extension>
198 <extension point="org.eclipse.ui.handlers">
199 <handler
200 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
201 commandId="org.eclipse.xtext.ui.editor.FindReferences">
202 <activeWhen>
203 <reference
204 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
205 </reference>
206 </activeWhen>
207 </handler>
208 </extension>
209
210<!-- adding resource factories -->
211
212 <extension
213 point="org.eclipse.emf.ecore.extension_parser">
214 <parser
215 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
216 type="als">
217 </parser>
218 </extension>
219 <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
220 <resourceServiceProvider
221 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
222 uriExtension="als">
223 </resourceServiceProvider>
224 </extension>
225
226
227 <!-- marker definitions for hu.bme.mit.inf.dslreasoner.AlloyLanguage -->
228 <extension
229 id="alloylanguage.check.fast"
230 name="AlloyLanguage Problem"
231 point="org.eclipse.core.resources.markers">
232 <super type="org.eclipse.xtext.ui.check.fast"/>
233 <persistent value="true"/>
234 </extension>
235 <extension
236 id="alloylanguage.check.normal"
237 name="AlloyLanguage Problem"
238 point="org.eclipse.core.resources.markers">
239 <super type="org.eclipse.xtext.ui.check.normal"/>
240 <persistent value="true"/>
241 </extension>
242 <extension
243 id="alloylanguage.check.expensive"
244 name="AlloyLanguage Problem"
245 point="org.eclipse.core.resources.markers">
246 <super type="org.eclipse.xtext.ui.check.expensive"/>
247 <persistent value="true"/>
248 </extension>
249
250 <extension
251 point="org.eclipse.xtext.builder.participant">
252 <participant
253 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
254 fileExtensions="als"
255 >
256 </participant>
257 </extension>
258 <extension
259 point="org.eclipse.ui.preferencePages">
260 <page
261 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
262 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
263 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compiler.preferencePage"
264 name="Compiler">
265 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
266 </page>
267 </extension>
268 <extension
269 point="org.eclipse.ui.propertyPages">
270 <page
271 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
272 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
273 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compiler.propertyPage"
274 name="Compiler">
275 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
276 <enabledWhen>
277 <adapt type="org.eclipse.core.resources.IProject"/>
278 </enabledWhen>
279 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
280 </page>
281 </extension>
282
283 <!-- Quick Outline -->
284 <extension
285 point="org.eclipse.ui.handlers">
286 <handler
287 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
288 commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
289 <activeWhen>
290 <reference
291 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
292 </reference>
293 </activeWhen>
294 </handler>
295 </extension>
296 <extension
297 point="org.eclipse.ui.commands">
298 <command
299 description="Open the quick outline."
300 id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
301 name="Quick Outline">
302 </command>
303 </extension>
304 <extension point="org.eclipse.ui.menus">
305 <menuContribution
306 locationURI="popup:#TextEditorContext?after=group.open">
307 <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
308 style="push"
309 tooltip="Open Quick Outline">
310 <visibleWhen checkEnabled="false">
311 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened"/>
312 </visibleWhen>
313 </command>
314 </menuContribution>
315 </extension>
316 <!-- quickfix marker resolution generator for hu.bme.mit.inf.dslreasoner.AlloyLanguage -->
317 <extension
318 point="org.eclipse.ui.ide.markerResolution">
319 <markerResolutionGenerator
320 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
321 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.fast">
322 <attribute
323 name="FIXABLE_KEY"
324 value="true">
325 </attribute>
326 </markerResolutionGenerator>
327 <markerResolutionGenerator
328 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
329 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.normal">
330 <attribute
331 name="FIXABLE_KEY"
332 value="true">
333 </attribute>
334 </markerResolutionGenerator>
335 <markerResolutionGenerator
336 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
337 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.expensive">
338 <attribute
339 name="FIXABLE_KEY"
340 value="true">
341 </attribute>
342 </markerResolutionGenerator>
343 </extension>
344 <!-- Rename Refactoring -->
345 <extension point="org.eclipse.ui.handlers">
346 <handler
347 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
348 commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
349 <activeWhen>
350 <reference
351 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
352 </reference>
353 </activeWhen>
354 </handler>
355 </extension>
356 <extension point="org.eclipse.ui.menus">
357 <menuContribution
358 locationURI="popup:#TextEditorContext?after=group.edit">
359 <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
360 style="push">
361 <visibleWhen checkEnabled="false">
362 <reference
363 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
364 </reference>
365 </visibleWhen>
366 </command>
367 </menuContribution>
368 </extension>
369 <extension point="org.eclipse.ui.preferencePages">
370 <page
371 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
372 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
373 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.refactoring"
374 name="Refactoring">
375 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
376 </page>
377 </extension>
378
379 <extension point="org.eclipse.compare.contentViewers">
380 <viewer id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compare.contentViewers"
381 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
382 extensions="als">
383 </viewer>
384 </extension>
385 <extension point="org.eclipse.compare.contentMergeViewers">
386 <viewer id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compare.contentMergeViewers"
387 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
388 extensions="als" label="AlloyLanguage Compare">
389 </viewer>
390 </extension>
391 <extension point="org.eclipse.ui.editors.documentProviders">
392 <provider id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.editors.documentProviders"
393 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
394 extensions="als">
395 </provider>
396 </extension>
397
398</plugin>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml_gen b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml_gen
deleted file mode 100644
index 78d943b4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/plugin.xml_gen
+++ /dev/null
@@ -1,425 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<plugin>
5
6 <extension
7 point="org.eclipse.ui.editors">
8 <editor
9 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
10 contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
11 default="true"
12 extensions="als"
13 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
14 name="AlloyLanguage Editor">
15 </editor>
16 </extension>
17 <extension
18 point="org.eclipse.ui.handlers">
19 <handler
20 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
21 commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
22 <activeWhen>
23 <reference
24 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
25 </reference>
26 </activeWhen>
27 </handler>
28 <handler
29 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
30 commandId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate">
31 <activeWhen>
32 <reference
33 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
34 </reference>
35 </activeWhen>
36 </handler>
37 <!-- copy qualified name -->
38 <handler
39 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
40 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
41 <activeWhen>
42 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
43 </activeWhen>
44 </handler>
45 <handler
46 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
47 commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
48 <activeWhen>
49 <and>
50 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened" />
51 <iterate>
52 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
53 </iterate>
54 </and>
55 </activeWhen>
56 </handler>
57 </extension>
58 <extension point="org.eclipse.core.expressions.definitions">
59 <definition id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
60 <and>
61 <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
62 <with variable="activeEditor">
63 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
64 value="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
65 forcePluginActivation="true"/>
66 </with>
67 </and>
68 </definition>
69 <definition id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened">
70 <and>
71 <reference definitionId="isXtextEditorActive"/>
72 <with variable="activeEditor">
73 <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
74 value="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
75 forcePluginActivation="true"/>
76 </with>
77 </and>
78 </definition>
79 </extension>
80 <extension
81 point="org.eclipse.ui.preferencePages">
82 <page
83 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
84 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
85 name="AlloyLanguage">
86 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
87 </page>
88 <page
89 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
90 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
91 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.coloring"
92 name="Syntax Coloring">
93 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
94 </page>
95 <page
96 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
97 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
98 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.templates"
99 name="Templates">
100 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
101 </page>
102 </extension>
103 <extension
104 point="org.eclipse.ui.propertyPages">
105 <page
106 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
107 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
108 name="AlloyLanguage">
109 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
110 <enabledWhen>
111 <adapt type="org.eclipse.core.resources.IProject"/>
112 </enabledWhen>
113 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
114 </page>
115 </extension>
116 <extension
117 point="org.eclipse.ui.keywords">
118 <keyword
119 id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"
120 label="AlloyLanguage"/>
121 </extension>
122 <extension
123 point="org.eclipse.ui.commands">
124 <command
125 description="Trigger expensive validation"
126 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate"
127 name="Validate">
128 </command>
129 <!-- copy qualified name -->
130 <command
131 id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
132 categoryId="org.eclipse.ui.category.edit"
133 description="Copy the qualified name for the selected element"
134 name="Copy Qualified Name">
135 </command>
136 <command
137 id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
138 categoryId="org.eclipse.ui.category.edit"
139 description="Copy the qualified name for the selected element"
140 name="Copy Qualified Name">
141 </command>
142 </extension>
143 <extension point="org.eclipse.ui.menus">
144 <menuContribution
145 locationURI="popup:#TextEditorContext?after=group.edit">
146 <command
147 commandId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.validate"
148 style="push"
149 tooltip="Trigger expensive validation">
150 <visibleWhen checkEnabled="false">
151 <reference
152 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
153 </reference>
154 </visibleWhen>
155 </command>
156 </menuContribution>
157 <!-- copy qualified name -->
158 <menuContribution locationURI="popup:#TextEditorContext?after=copy">
159 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
160 style="push" tooltip="Copy Qualified Name">
161 <visibleWhen checkEnabled="false">
162 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
163 </visibleWhen>
164 </command>
165 </menuContribution>
166 <menuContribution locationURI="menu:edit?after=copy">
167 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
168 style="push" tooltip="Copy Qualified Name">
169 <visibleWhen checkEnabled="false">
170 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
171 </visibleWhen>
172 </command>
173 </menuContribution>
174 <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
175 <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
176 style="push" tooltip="Copy Qualified Name">
177 <visibleWhen checkEnabled="false">
178 <and>
179 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.XtextEditor.opened" />
180 <iterate>
181 <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
182 </iterate>
183 </and>
184 </visibleWhen>
185 </command>
186 </menuContribution>
187 </extension>
188 <extension point="org.eclipse.ui.menus">
189 <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
190 <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
191 <visibleWhen checkEnabled="false">
192 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
193 </reference>
194 </visibleWhen>
195 </command>
196 </menuContribution>
197 </extension>
198 <extension point="org.eclipse.ui.handlers">
199 <handler
200 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
201 commandId="org.eclipse.xtext.ui.editor.FindReferences">
202 <activeWhen>
203 <reference
204 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
205 </reference>
206 </activeWhen>
207 </handler>
208 </extension>
209
210<!-- adding resource factories -->
211
212 <extension
213 point="org.eclipse.emf.ecore.extension_parser">
214 <parser
215 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
216 type="als">
217 </parser>
218 </extension>
219 <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
220 <resourceServiceProvider
221 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
222 uriExtension="als">
223 </resourceServiceProvider>
224 </extension>
225
226
227 <!-- marker definitions for hu.bme.mit.inf.dslreasoner.AlloyLanguage -->
228 <extension
229 id="alloylanguage.check.fast"
230 name="AlloyLanguage Problem"
231 point="org.eclipse.core.resources.markers">
232 <super type="org.eclipse.xtext.ui.check.fast"/>
233 <persistent value="true"/>
234 </extension>
235 <extension
236 id="alloylanguage.check.normal"
237 name="AlloyLanguage Problem"
238 point="org.eclipse.core.resources.markers">
239 <super type="org.eclipse.xtext.ui.check.normal"/>
240 <persistent value="true"/>
241 </extension>
242 <extension
243 id="alloylanguage.check.expensive"
244 name="AlloyLanguage Problem"
245 point="org.eclipse.core.resources.markers">
246 <super type="org.eclipse.xtext.ui.check.expensive"/>
247 <persistent value="true"/>
248 </extension>
249
250 <extension
251 point="org.eclipse.xtext.builder.participant">
252 <participant
253 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
254 fileExtensions="als"
255 >
256 </participant>
257 </extension>
258 <extension
259 point="org.eclipse.ui.preferencePages">
260 <page
261 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
262 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
263 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compiler.preferencePage"
264 name="Compiler">
265 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
266 </page>
267 </extension>
268 <extension
269 point="org.eclipse.ui.propertyPages">
270 <page
271 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
272 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
273 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compiler.propertyPage"
274 name="Compiler">
275 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
276 <enabledWhen>
277 <adapt type="org.eclipse.core.resources.IProject"/>
278 </enabledWhen>
279 <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
280 </page>
281 </extension>
282 <extension point="org.eclipse.ui.menus">
283 <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
284 <command
285 commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
286 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.OpenGeneratedCode"
287 style="push">
288 <visibleWhen checkEnabled="false">
289 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
290 </visibleWhen>
291 </command>
292 </menuContribution>
293 </extension>
294 <extension point="org.eclipse.ui.handlers">
295 <handler
296 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
297 commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
298 <activeWhen>
299 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened" />
300 </activeWhen>
301 </handler>
302 </extension>
303
304 <!-- Quick Outline -->
305 <extension
306 point="org.eclipse.ui.handlers">
307 <handler
308 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
309 commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
310 <activeWhen>
311 <reference
312 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
313 </reference>
314 </activeWhen>
315 </handler>
316 </extension>
317 <extension
318 point="org.eclipse.ui.commands">
319 <command
320 description="Open the quick outline."
321 id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
322 name="Quick Outline">
323 </command>
324 </extension>
325 <extension point="org.eclipse.ui.menus">
326 <menuContribution
327 locationURI="popup:#TextEditorContext?after=group.open">
328 <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
329 style="push"
330 tooltip="Open Quick Outline">
331 <visibleWhen checkEnabled="false">
332 <reference definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened"/>
333 </visibleWhen>
334 </command>
335 </menuContribution>
336 </extension>
337 <!-- quickfix marker resolution generator for hu.bme.mit.inf.dslreasoner.AlloyLanguage -->
338 <extension
339 point="org.eclipse.ui.ide.markerResolution">
340 <markerResolutionGenerator
341 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
342 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.fast">
343 <attribute
344 name="FIXABLE_KEY"
345 value="true">
346 </attribute>
347 </markerResolutionGenerator>
348 <markerResolutionGenerator
349 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
350 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.normal">
351 <attribute
352 name="FIXABLE_KEY"
353 value="true">
354 </attribute>
355 </markerResolutionGenerator>
356 <markerResolutionGenerator
357 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
358 markerType="hu.bme.mit.inf.dslreasoner.ui.alloylanguage.check.expensive">
359 <attribute
360 name="FIXABLE_KEY"
361 value="true">
362 </attribute>
363 </markerResolutionGenerator>
364 </extension>
365 <!-- Rename Refactoring -->
366 <extension point="org.eclipse.ui.handlers">
367 <handler
368 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
369 commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
370 <activeWhen>
371 <reference
372 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
373 </reference>
374 </activeWhen>
375 </handler>
376 </extension>
377 <extension point="org.eclipse.ui.menus">
378 <menuContribution
379 locationURI="popup:#TextEditorContext?after=group.edit">
380 <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
381 style="push">
382 <visibleWhen checkEnabled="false">
383 <reference
384 definitionId="hu.bme.mit.inf.dslreasoner.AlloyLanguage.Editor.opened">
385 </reference>
386 </visibleWhen>
387 </command>
388 </menuContribution>
389 </extension>
390 <extension point="org.eclipse.ui.preferencePages">
391 <page
392 category="hu.bme.mit.inf.dslreasoner.AlloyLanguage"
393 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
394 id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.refactoring"
395 name="Refactoring">
396 <keywordReference id="hu.bme.mit.inf.dslreasoner.ui.keyword_AlloyLanguage"/>
397 </page>
398 </extension>
399
400 <extension point="org.eclipse.compare.contentViewers">
401 <viewer id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compare.contentViewers"
402 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
403 extensions="als">
404 </viewer>
405 </extension>
406 <extension point="org.eclipse.compare.contentMergeViewers">
407 <viewer id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.compare.contentMergeViewers"
408 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
409 extensions="als" label="AlloyLanguage Compare">
410 </viewer>
411 </extension>
412 <extension point="org.eclipse.ui.editors.documentProviders">
413 <provider id="hu.bme.mit.inf.dslreasoner.AlloyLanguage.editors.documentProviders"
414 class="hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
415 extensions="als">
416 </provider>
417 </extension>
418 <extension point="org.eclipse.team.core.fileTypes">
419 <fileTypes
420 extension="als"
421 type="text">
422 </fileTypes>
423 </extension>
424
425</plugin>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AbstractAlloyLanguageUiModule.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AbstractAlloyLanguageUiModule.java
deleted file mode 100644
index 80a1c7ff..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AbstractAlloyLanguageUiModule.java
+++ /dev/null
@@ -1,201 +0,0 @@
1
2/*
3 * generated by Xtext
4 */
5package hu.bme.mit.inf.dslreasoner.ui;
6
7import org.eclipse.ui.plugin.AbstractUIPlugin;
8
9/**
10 * Manual modifications go to {hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageUiModule}
11 */
12@SuppressWarnings("all")
13public abstract class AbstractAlloyLanguageUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule {
14
15 public AbstractAlloyLanguageUiModule(AbstractUIPlugin plugin) {
16 super(plugin);
17 }
18
19
20 // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21 public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22 return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23 }
24
25 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27 return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28 }
29
30 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31 public void configureHighlightingLexer(com.google.inject.Binder binder) {
32 binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class);
33 }
34
35 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
36 public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
37 binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38 }
39
40 // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
41 public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
42 return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
43 }
44
45 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
46 public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
47 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
48 }
49
50 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51 public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
52 return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
53 }
54
55 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
56 public Class<? extends org.eclipse.xtext.generator.IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
57 return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class;
58 }
59
60 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
61 public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
62 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
63 }
64
65 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
66 public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
67 return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
68 }
69
70 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
71 public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
72 return org.eclipse.xtext.builder.BuilderParticipant.class;
73 }
74
75 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
76 public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
77 return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
78 }
79
80 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
81 public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
82 binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
83 }
84
85 // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
86 public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
87 return hu.bme.mit.inf.dslreasoner.ui.labeling.AlloyLanguageLabelProvider.class;
88 }
89
90 // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
91 public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
92 binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(hu.bme.mit.inf.dslreasoner.ui.labeling.AlloyLanguageDescriptionLabelProvider.class);
93 }
94
95 // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
96 public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
97 return hu.bme.mit.inf.dslreasoner.ui.outline.AlloyLanguageOutlineTreeProvider.class;
98 }
99
100 // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
101 public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
102 return hu.bme.mit.inf.dslreasoner.ui.outline.AlloyLanguageOutlineTreeProvider.class;
103 }
104
105 // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
106 public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
107 return hu.bme.mit.inf.dslreasoner.ui.quickfix.AlloyLanguageQuickfixProvider.class;
108 }
109
110 // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment
111 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
112 return hu.bme.mit.inf.dslreasoner.ui.contentassist.AlloyLanguageProposalProvider.class;
113 }
114
115 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
116 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
117 return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
118 }
119
120 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
121 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
122 return hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.AlloyLanguageParser.class;
123 }
124
125 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
126 public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
127 binder.bind(hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageLexer.class));
128 }
129
130 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
131 public void configureContentAssistLexer(com.google.inject.Binder binder) {
132 binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageLexer.class);
133 }
134
135 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
136 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() {
137 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class;
138 }
139
140 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
141 public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() {
142 return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class;
143 }
144
145 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
146 public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) {
147 binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class);
148 }
149
150 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
151 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
152 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class;
153 }
154
155 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
156 public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() {
157 return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class;
158 }
159
160 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment
161 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
162 return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
163 }
164
165 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
166 public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
167 return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
168 }
169
170 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
171 public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() {
172 return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry();
173 }
174
175 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
176 @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() {
177 return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class;
178 }
179
180 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
181 public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
182 return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class;
183 }
184
185 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
186 public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() {
187 return hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.PartialAlloyLanguageContentAssistParser.class;
188 }
189
190 // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment
191 public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() {
192 return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class;
193 }
194
195 // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment
196 public void configureCompareViewerTitle(com.google.inject.Binder binder) {
197 binder.bind(String.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.UIBindings.COMPARE_VIEWER_TITLE)).toInstance("AlloyLanguage Compare");
198 }
199
200
201}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageExecutableExtensionFactory.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageExecutableExtensionFactory.java
deleted file mode 100644
index c62a1aa1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageExecutableExtensionFactory.java
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui;
5
6import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
7import org.osgi.framework.Bundle;
8
9import com.google.inject.Injector;
10
11import hu.bme.mit.inf.dslreasoner.ui.internal.AlloyLanguageActivator;
12
13/**
14 * This class was generated. Customizations should only happen in a newly
15 * introduced subclass.
16 */
17public class AlloyLanguageExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
18
19 @Override
20 protected Bundle getBundle() {
21 return AlloyLanguageActivator.getInstance().getBundle();
22 }
23
24 @Override
25 protected Injector getInjector() {
26 return AlloyLanguageActivator.getInstance().getInjector(AlloyLanguageActivator.HU_BME_MIT_INF_DSLREASONER_ALLOYLANGUAGE);
27 }
28
29}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/AbstractAlloyLanguageProposalProvider.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/AbstractAlloyLanguageProposalProvider.java
deleted file mode 100644
index 17b08a58..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/AbstractAlloyLanguageProposalProvider.java
+++ /dev/null
@@ -1,326 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui.contentassist;
5
6import org.eclipse.emf.ecore.EObject;
7import org.eclipse.xtext.*;
8import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
9import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
10
11/**
12 * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider}.
13 * Methods are dynamically dispatched on the first parameter, i.e., you can override them
14 * with a more concrete subtype.
15 */
16@SuppressWarnings("all")
17public class AbstractAlloyLanguageProposalProvider extends org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider {
18
19 public void completeALSDocument_EnumDeclarations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
20 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
21 }
22 public void completeALSDocument_SignatureBodies(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
24 }
25 public void completeALSDocument_FunctionDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
26 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
27 }
28 public void completeALSDocument_RelationDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
29 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
30 }
31 public void completeALSDocument_FactDeclarations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
32 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
33 }
34 public void completeALSDocument_RunCommand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
35 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
36 }
37 public void completeALSEnumDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
38 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
39 }
40 public void completeALSEnumDeclaration_Literal(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
41 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
42 }
43 public void completeALSEnumLiteral_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
44 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
45 }
46 public void completeALSSignatureDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
47 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
48 }
49 public void completeALSSignatureBody_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
50 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
51 }
52 public void completeALSSignatureBody_Abstract(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
53 // subclasses may override
54 }
55 public void completeALSSignatureBody_Declarations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
56 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
57 }
58 public void completeALSSignatureBody_Supertype(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
59 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
60 }
61 public void completeALSSignatureBody_Superset(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
62 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
63 }
64 public void completeALSSignatureBody_Fields(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
65 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
66 }
67 public void completeALSFieldDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
68 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
69 }
70 public void completeALSFieldDeclaration_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
71 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
72 }
73 public void completeALSFieldDeclaration_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
74 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
75 }
76 public void completeALSFunctionDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
77 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
78 }
79 public void completeALSFunctionDefinition_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
80 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
81 }
82 public void completeALSFunctionDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
83 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
84 }
85 public void completeALSFunctionDefinition_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
86 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
87 }
88 public void completeALSRelationDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
89 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
90 }
91 public void completeALSRelationDefinition_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
92 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
93 }
94 public void completeALSRelationDefinition_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
95 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
96 }
97 public void completeALSFactDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
98 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
99 }
100 public void completeALSFactDeclaration_Term(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
101 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
102 }
103 public void completeALSQuantified_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
104 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
105 }
106 public void completeALSQuantified_Disj(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
107 // subclasses may override
108 }
109 public void completeALSQuantified_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
110 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
111 }
112 public void completeALSQuantified_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
113 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
114 }
115 public void completeALSOr_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
116 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
117 }
118 public void completeALSIff_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
119 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
120 }
121 public void completeALSImpl_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
122 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
123 }
124 public void completeALSImpl_ElseOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
125 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
126 }
127 public void completeALSAnd_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
128 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
129 }
130 public void completeALSComparison_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
131 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
132 }
133 public void completeALSOverride_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
134 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
135 }
136 public void completeALSRangeRestrictionRight_Filter(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
137 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
138 }
139 public void completeALSRangeRestrictionLeft_Relation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
140 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
141 }
142 public void completeALSJoin_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
143 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
144 }
145 public void completeALSMinus_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
146 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
147 }
148 public void completeALSPlus_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
149 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
150 }
151 public void completeALSIntersection_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
152 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
153 }
154 public void completeALSDirectProduct_LeftMultiplicit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
155 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
156 }
157 public void completeALSDirectProduct_RightMultiplicit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
158 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
159 }
160 public void completeALSDirectProduct_RightOperand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
161 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
162 }
163 public void completeALSPreficed_Operand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
164 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
165 }
166 public void completeALSPreficed_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
167 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
168 }
169 public void completeALSPreficed_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
170 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
171 }
172 public void completeALSPreficed_ReferredDefinition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
173 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
174 }
175 public void completeALSPreficed_ReferredNumericOperator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
176 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
177 }
178 public void completeALSPreficed_Params(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
179 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
180 }
181 public void completeALSVariableDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
182 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
183 }
184 public void completeALSVariableDeclaration_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
185 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
186 }
187 public void completeALSBasicRelationTerm_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
188 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
189 }
190 public void completeALSBasicRelationTerm_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
191 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
192 }
193 public void completeALSRunCommand_TypeScopes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
194 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
195 }
196 public void completeALSSigScope_Exactly(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
197 // subclasses may override
198 }
199 public void completeALSSigScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
200 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
201 }
202 public void completeALSSigScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
203 lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
204 }
205 public void completeALSIntScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
206 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
207 }
208 public void completeALSStringScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
209 completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
210 }
211
212 public void complete_ALSDocument(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
213 // subclasses may override
214 }
215 public void complete_ALSID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
216 // subclasses may override
217 }
218 public void complete_ALSMultiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
219 // subclasses may override
220 }
221 public void complete_ALSRelationDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
222 // subclasses may override
223 }
224 public void complete_ALSTypeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
225 // subclasses may override
226 }
227 public void complete_ALSEnumDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
228 // subclasses may override
229 }
230 public void complete_ALSEnumLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
231 // subclasses may override
232 }
233 public void complete_ALSSignatureDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
234 // subclasses may override
235 }
236 public void complete_ALSSignatureBody(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
237 // subclasses may override
238 }
239 public void complete_ALSFieldDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
240 // subclasses may override
241 }
242 public void complete_ALSDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
243 // subclasses may override
244 }
245 public void complete_ALSFunctionDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
246 // subclasses may override
247 }
248 public void complete_ALSRelationDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
249 // subclasses may override
250 }
251 public void complete_ALSFactDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
252 // subclasses may override
253 }
254 public void complete_ALSTerm(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
255 // subclasses may override
256 }
257 public void complete_ALSQuantified(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
258 // subclasses may override
259 }
260 public void complete_ALSOr(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
261 // subclasses may override
262 }
263 public void complete_ALSIff(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
264 // subclasses may override
265 }
266 public void complete_ALSImpl(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
267 // subclasses may override
268 }
269 public void complete_ALSAnd(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
270 // subclasses may override
271 }
272 public void complete_ALSComparison(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
273 // subclasses may override
274 }
275 public void complete_ALSOverride(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
276 // subclasses may override
277 }
278 public void complete_ALSRangeRestrictionRight(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
279 // subclasses may override
280 }
281 public void complete_ALSRangeRestrictionLeft(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
282 // subclasses may override
283 }
284 public void complete_ALSJoin(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
285 // subclasses may override
286 }
287 public void complete_ALSMinus(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
288 // subclasses may override
289 }
290 public void complete_ALSPlus(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
291 // subclasses may override
292 }
293 public void complete_ALSIntersection(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
294 // subclasses may override
295 }
296 public void complete_ALSDirectProduct(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
297 // subclasses may override
298 }
299 public void complete_ALSPreficed(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
300 // subclasses may override
301 }
302 public void complete_ALSNumericOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
303 // subclasses may override
304 }
305 public void complete_ALSVariableDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
306 // subclasses may override
307 }
308 public void complete_ALSBasicRelationTerm(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
309 // subclasses may override
310 }
311 public void complete_ALSRunCommand(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
312 // subclasses may override
313 }
314 public void complete_ALSTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
315 // subclasses may override
316 }
317 public void complete_ALSSigScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
318 // subclasses may override
319 }
320 public void complete_ALSIntScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
321 // subclasses may override
322 }
323 public void complete_ALSStringScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
324 // subclasses may override
325 }
326}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/AlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/AlloyLanguageParser.java
deleted file mode 100644
index 76a5f4b1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/AlloyLanguageParser.java
+++ /dev/null
@@ -1,247 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr;
5
6import java.util.Collection;
7import java.util.Map;
8import java.util.HashMap;
9
10import org.antlr.runtime.RecognitionException;
11import org.eclipse.xtext.AbstractElement;
12import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
13import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
14import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
15
16import com.google.inject.Inject;
17
18import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
19
20public class AlloyLanguageParser extends AbstractContentAssistParser {
21
22 @Inject
23 private AlloyLanguageGrammarAccess grammarAccess;
24
25 private Map<AbstractElement, String> nameMappings;
26
27 @Override
28 protected hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageParser createParser() {
29 hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageParser result = new hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageParser(null);
30 result.setGrammarAccess(grammarAccess);
31 return result;
32 }
33
34 @Override
35 protected String getRuleName(AbstractElement element) {
36 if (nameMappings == null) {
37 nameMappings = new HashMap<AbstractElement, String>() {
38 private static final long serialVersionUID = 1L;
39 {
40 put(grammarAccess.getALSDocumentAccess().getAlternatives_0(), "rule__ALSDocument__Alternatives_0");
41 put(grammarAccess.getALSRelationDeclarationAccess().getAlternatives(), "rule__ALSRelationDeclaration__Alternatives");
42 put(grammarAccess.getALSTypeDeclarationAccess().getAlternatives(), "rule__ALSTypeDeclaration__Alternatives");
43 put(grammarAccess.getALSSignatureBodyAccess().getAlternatives_4(), "rule__ALSSignatureBody__Alternatives_4");
44 put(grammarAccess.getALSDefinitionAccess().getAlternatives(), "rule__ALSDefinition__Alternatives");
45 put(grammarAccess.getALSQuantifiedAccess().getAlternatives(), "rule__ALSQuantified__Alternatives");
46 put(grammarAccess.getALSOrAccess().getAlternatives_1_1(), "rule__ALSOr__Alternatives_1_1");
47 put(grammarAccess.getALSIffAccess().getAlternatives_1_1(), "rule__ALSIff__Alternatives_1_1");
48 put(grammarAccess.getALSImplAccess().getAlternatives_1_1(), "rule__ALSImpl__Alternatives_1_1");
49 put(grammarAccess.getALSAndAccess().getAlternatives_1_1(), "rule__ALSAnd__Alternatives_1_1");
50 put(grammarAccess.getALSComparisonAccess().getAlternatives_1_0(), "rule__ALSComparison__Alternatives_1_0");
51 put(grammarAccess.getALSPreficedAccess().getAlternatives(), "rule__ALSPreficed__Alternatives");
52 put(grammarAccess.getALSPreficedAccess().getAlternatives_0_1_0(), "rule__ALSPreficed__Alternatives_0_1_0");
53 put(grammarAccess.getALSPreficedAccess().getAlternatives_7_1(), "rule__ALSPreficed__Alternatives_7_1");
54 put(grammarAccess.getALSBasicRelationTermAccess().getAlternatives(), "rule__ALSBasicRelationTerm__Alternatives");
55 put(grammarAccess.getALSTypeScopeAccess().getAlternatives(), "rule__ALSTypeScope__Alternatives");
56 put(grammarAccess.getALSMultiplicityAccess().getAlternatives(), "rule__ALSMultiplicity__Alternatives");
57 put(grammarAccess.getALSNumericOperatorAccess().getAlternatives(), "rule__ALSNumericOperator__Alternatives");
58 put(grammarAccess.getALSDocumentAccess().getGroup(), "rule__ALSDocument__Group__0");
59 put(grammarAccess.getALSEnumDeclarationAccess().getGroup(), "rule__ALSEnumDeclaration__Group__0");
60 put(grammarAccess.getALSEnumDeclarationAccess().getGroup_4(), "rule__ALSEnumDeclaration__Group_4__0");
61 put(grammarAccess.getALSSignatureBodyAccess().getGroup(), "rule__ALSSignatureBody__Group__0");
62 put(grammarAccess.getALSSignatureBodyAccess().getGroup_3(), "rule__ALSSignatureBody__Group_3__0");
63 put(grammarAccess.getALSSignatureBodyAccess().getGroup_4_0(), "rule__ALSSignatureBody__Group_4_0__0");
64 put(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1(), "rule__ALSSignatureBody__Group_4_1__0");
65 put(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1_2(), "rule__ALSSignatureBody__Group_4_1_2__0");
66 put(grammarAccess.getALSSignatureBodyAccess().getGroup_6(), "rule__ALSSignatureBody__Group_6__0");
67 put(grammarAccess.getALSSignatureBodyAccess().getGroup_6_1(), "rule__ALSSignatureBody__Group_6_1__0");
68 put(grammarAccess.getALSFieldDeclarationAccess().getGroup(), "rule__ALSFieldDeclaration__Group__0");
69 put(grammarAccess.getALSFunctionDefinitionAccess().getGroup(), "rule__ALSFunctionDefinition__Group__0");
70 put(grammarAccess.getALSFunctionDefinitionAccess().getGroup_4(), "rule__ALSFunctionDefinition__Group_4__0");
71 put(grammarAccess.getALSRelationDefinitionAccess().getGroup(), "rule__ALSRelationDefinition__Group__0");
72 put(grammarAccess.getALSRelationDefinitionAccess().getGroup_4(), "rule__ALSRelationDefinition__Group_4__0");
73 put(grammarAccess.getALSFactDeclarationAccess().getGroup(), "rule__ALSFactDeclaration__Group__0");
74 put(grammarAccess.getALSQuantifiedAccess().getGroup_0(), "rule__ALSQuantified__Group_0__0");
75 put(grammarAccess.getALSQuantifiedAccess().getGroup_0_4(), "rule__ALSQuantified__Group_0_4__0");
76 put(grammarAccess.getALSOrAccess().getGroup(), "rule__ALSOr__Group__0");
77 put(grammarAccess.getALSOrAccess().getGroup_1(), "rule__ALSOr__Group_1__0");
78 put(grammarAccess.getALSIffAccess().getGroup(), "rule__ALSIff__Group__0");
79 put(grammarAccess.getALSIffAccess().getGroup_1(), "rule__ALSIff__Group_1__0");
80 put(grammarAccess.getALSImplAccess().getGroup(), "rule__ALSImpl__Group__0");
81 put(grammarAccess.getALSImplAccess().getGroup_1(), "rule__ALSImpl__Group_1__0");
82 put(grammarAccess.getALSImplAccess().getGroup_1_3(), "rule__ALSImpl__Group_1_3__0");
83 put(grammarAccess.getALSAndAccess().getGroup(), "rule__ALSAnd__Group__0");
84 put(grammarAccess.getALSAndAccess().getGroup_1(), "rule__ALSAnd__Group_1__0");
85 put(grammarAccess.getALSComparisonAccess().getGroup(), "rule__ALSComparison__Group__0");
86 put(grammarAccess.getALSComparisonAccess().getGroup_1(), "rule__ALSComparison__Group_1__0");
87 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_0(), "rule__ALSComparison__Group_1_0_0__0");
88 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_1(), "rule__ALSComparison__Group_1_0_1__0");
89 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_2(), "rule__ALSComparison__Group_1_0_2__0");
90 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_3(), "rule__ALSComparison__Group_1_0_3__0");
91 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_4(), "rule__ALSComparison__Group_1_0_4__0");
92 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_5(), "rule__ALSComparison__Group_1_0_5__0");
93 put(grammarAccess.getALSComparisonAccess().getGroup_1_0_6(), "rule__ALSComparison__Group_1_0_6__0");
94 put(grammarAccess.getALSOverrideAccess().getGroup(), "rule__ALSOverride__Group__0");
95 put(grammarAccess.getALSOverrideAccess().getGroup_1(), "rule__ALSOverride__Group_1__0");
96 put(grammarAccess.getALSRangeRestrictionRightAccess().getGroup(), "rule__ALSRangeRestrictionRight__Group__0");
97 put(grammarAccess.getALSRangeRestrictionRightAccess().getGroup_1(), "rule__ALSRangeRestrictionRight__Group_1__0");
98 put(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup(), "rule__ALSRangeRestrictionLeft__Group__0");
99 put(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup_1(), "rule__ALSRangeRestrictionLeft__Group_1__0");
100 put(grammarAccess.getALSJoinAccess().getGroup(), "rule__ALSJoin__Group__0");
101 put(grammarAccess.getALSJoinAccess().getGroup_1(), "rule__ALSJoin__Group_1__0");
102 put(grammarAccess.getALSMinusAccess().getGroup(), "rule__ALSMinus__Group__0");
103 put(grammarAccess.getALSMinusAccess().getGroup_1(), "rule__ALSMinus__Group_1__0");
104 put(grammarAccess.getALSPlusAccess().getGroup(), "rule__ALSPlus__Group__0");
105 put(grammarAccess.getALSPlusAccess().getGroup_1(), "rule__ALSPlus__Group_1__0");
106 put(grammarAccess.getALSIntersectionAccess().getGroup(), "rule__ALSIntersection__Group__0");
107 put(grammarAccess.getALSIntersectionAccess().getGroup_1(), "rule__ALSIntersection__Group_1__0");
108 put(grammarAccess.getALSDirectProductAccess().getGroup(), "rule__ALSDirectProduct__Group__0");
109 put(grammarAccess.getALSDirectProductAccess().getGroup_1(), "rule__ALSDirectProduct__Group_1__0");
110 put(grammarAccess.getALSPreficedAccess().getGroup_0(), "rule__ALSPreficed__Group_0__0");
111 put(grammarAccess.getALSPreficedAccess().getGroup_0_1(), "rule__ALSPreficed__Group_0_1__0");
112 put(grammarAccess.getALSPreficedAccess().getGroup_1(), "rule__ALSPreficed__Group_1__0");
113 put(grammarAccess.getALSPreficedAccess().getGroup_2(), "rule__ALSPreficed__Group_2__0");
114 put(grammarAccess.getALSPreficedAccess().getGroup_3(), "rule__ALSPreficed__Group_3__0");
115 put(grammarAccess.getALSPreficedAccess().getGroup_4(), "rule__ALSPreficed__Group_4__0");
116 put(grammarAccess.getALSPreficedAccess().getGroup_5(), "rule__ALSPreficed__Group_5__0");
117 put(grammarAccess.getALSPreficedAccess().getGroup_6(), "rule__ALSPreficed__Group_6__0");
118 put(grammarAccess.getALSPreficedAccess().getGroup_6_3(), "rule__ALSPreficed__Group_6_3__0");
119 put(grammarAccess.getALSPreficedAccess().getGroup_7(), "rule__ALSPreficed__Group_7__0");
120 put(grammarAccess.getALSPreficedAccess().getGroup_7_4(), "rule__ALSPreficed__Group_7_4__0");
121 put(grammarAccess.getALSVariableDeclarationAccess().getGroup(), "rule__ALSVariableDeclaration__Group__0");
122 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_0(), "rule__ALSBasicRelationTerm__Group_0__0");
123 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_1(), "rule__ALSBasicRelationTerm__Group_1__0");
124 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_2(), "rule__ALSBasicRelationTerm__Group_2__0");
125 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_3(), "rule__ALSBasicRelationTerm__Group_3__0");
126 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_4(), "rule__ALSBasicRelationTerm__Group_4__0");
127 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_5(), "rule__ALSBasicRelationTerm__Group_5__0");
128 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_6(), "rule__ALSBasicRelationTerm__Group_6__0");
129 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_7(), "rule__ALSBasicRelationTerm__Group_7__0");
130 put(grammarAccess.getALSBasicRelationTermAccess().getGroup_8(), "rule__ALSBasicRelationTerm__Group_8__0");
131 put(grammarAccess.getALSRunCommandAccess().getGroup(), "rule__ALSRunCommand__Group__0");
132 put(grammarAccess.getALSRunCommandAccess().getGroup_4(), "rule__ALSRunCommand__Group_4__0");
133 put(grammarAccess.getALSRunCommandAccess().getGroup_4_2(), "rule__ALSRunCommand__Group_4_2__0");
134 put(grammarAccess.getALSSigScopeAccess().getGroup(), "rule__ALSSigScope__Group__0");
135 put(grammarAccess.getALSIntScopeAccess().getGroup(), "rule__ALSIntScope__Group__0");
136 put(grammarAccess.getALSStringScopeAccess().getGroup(), "rule__ALSStringScope__Group__0");
137 put(grammarAccess.getALSDocumentAccess().getEnumDeclarationsAssignment_0_0(), "rule__ALSDocument__EnumDeclarationsAssignment_0_0");
138 put(grammarAccess.getALSDocumentAccess().getSignatureBodiesAssignment_0_1(), "rule__ALSDocument__SignatureBodiesAssignment_0_1");
139 put(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsAssignment_0_2(), "rule__ALSDocument__FunctionDefinitionsAssignment_0_2");
140 put(grammarAccess.getALSDocumentAccess().getRelationDefinitionsAssignment_0_3(), "rule__ALSDocument__RelationDefinitionsAssignment_0_3");
141 put(grammarAccess.getALSDocumentAccess().getFactDeclarationsAssignment_0_4(), "rule__ALSDocument__FactDeclarationsAssignment_0_4");
142 put(grammarAccess.getALSDocumentAccess().getRunCommandAssignment_1(), "rule__ALSDocument__RunCommandAssignment_1");
143 put(grammarAccess.getALSEnumDeclarationAccess().getNameAssignment_1(), "rule__ALSEnumDeclaration__NameAssignment_1");
144 put(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_3(), "rule__ALSEnumDeclaration__LiteralAssignment_3");
145 put(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_4_1(), "rule__ALSEnumDeclaration__LiteralAssignment_4_1");
146 put(grammarAccess.getALSEnumLiteralAccess().getNameAssignment(), "rule__ALSEnumLiteral__NameAssignment");
147 put(grammarAccess.getALSSignatureDeclarationAccess().getNameAssignment(), "rule__ALSSignatureDeclaration__NameAssignment");
148 put(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0(), "rule__ALSSignatureBody__MultiplicityAssignment_0_0");
149 put(grammarAccess.getALSSignatureBodyAccess().getAbstractAssignment_0_1(), "rule__ALSSignatureBody__AbstractAssignment_0_1");
150 put(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_2(), "rule__ALSSignatureBody__DeclarationsAssignment_2");
151 put(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_3_1(), "rule__ALSSignatureBody__DeclarationsAssignment_3_1");
152 put(grammarAccess.getALSSignatureBodyAccess().getSupertypeAssignment_4_0_1(), "rule__ALSSignatureBody__SupertypeAssignment_4_0_1");
153 put(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_1(), "rule__ALSSignatureBody__SupersetAssignment_4_1_1");
154 put(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_2_1(), "rule__ALSSignatureBody__SupersetAssignment_4_1_2_1");
155 put(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_0(), "rule__ALSSignatureBody__FieldsAssignment_6_0");
156 put(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_1_1(), "rule__ALSSignatureBody__FieldsAssignment_6_1_1");
157 put(grammarAccess.getALSFieldDeclarationAccess().getNameAssignment_0(), "rule__ALSFieldDeclaration__NameAssignment_0");
158 put(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityAssignment_2(), "rule__ALSFieldDeclaration__MultiplicityAssignment_2");
159 put(grammarAccess.getALSFieldDeclarationAccess().getTypeAssignment_3(), "rule__ALSFieldDeclaration__TypeAssignment_3");
160 put(grammarAccess.getALSFunctionDefinitionAccess().getNameAssignment_1(), "rule__ALSFunctionDefinition__NameAssignment_1");
161 put(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_3(), "rule__ALSFunctionDefinition__VariablesAssignment_3");
162 put(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_4_1(), "rule__ALSFunctionDefinition__VariablesAssignment_4_1");
163 put(grammarAccess.getALSFunctionDefinitionAccess().getTypeAssignment_7(), "rule__ALSFunctionDefinition__TypeAssignment_7");
164 put(grammarAccess.getALSFunctionDefinitionAccess().getValueAssignment_9(), "rule__ALSFunctionDefinition__ValueAssignment_9");
165 put(grammarAccess.getALSRelationDefinitionAccess().getNameAssignment_1(), "rule__ALSRelationDefinition__NameAssignment_1");
166 put(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_3(), "rule__ALSRelationDefinition__VariablesAssignment_3");
167 put(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_4_1(), "rule__ALSRelationDefinition__VariablesAssignment_4_1");
168 put(grammarAccess.getALSRelationDefinitionAccess().getValueAssignment_7(), "rule__ALSRelationDefinition__ValueAssignment_7");
169 put(grammarAccess.getALSFactDeclarationAccess().getNameAssignment_2(), "rule__ALSFactDeclaration__NameAssignment_2");
170 put(grammarAccess.getALSFactDeclarationAccess().getTermAssignment_4(), "rule__ALSFactDeclaration__TermAssignment_4");
171 put(grammarAccess.getALSQuantifiedAccess().getTypeAssignment_0_1(), "rule__ALSQuantified__TypeAssignment_0_1");
172 put(grammarAccess.getALSQuantifiedAccess().getDisjAssignment_0_2(), "rule__ALSQuantified__DisjAssignment_0_2");
173 put(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_3(), "rule__ALSQuantified__VariablesAssignment_0_3");
174 put(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_4_1(), "rule__ALSQuantified__VariablesAssignment_0_4_1");
175 put(grammarAccess.getALSQuantifiedAccess().getExpressionAssignment_0_6(), "rule__ALSQuantified__ExpressionAssignment_0_6");
176 put(grammarAccess.getALSOrAccess().getRightOperandAssignment_1_2(), "rule__ALSOr__RightOperandAssignment_1_2");
177 put(grammarAccess.getALSIffAccess().getRightOperandAssignment_1_2(), "rule__ALSIff__RightOperandAssignment_1_2");
178 put(grammarAccess.getALSImplAccess().getRightOperandAssignment_1_2(), "rule__ALSImpl__RightOperandAssignment_1_2");
179 put(grammarAccess.getALSImplAccess().getElseOperandAssignment_1_3_1(), "rule__ALSImpl__ElseOperandAssignment_1_3_1");
180 put(grammarAccess.getALSAndAccess().getRightOperandAssignment_1_2(), "rule__ALSAnd__RightOperandAssignment_1_2");
181 put(grammarAccess.getALSComparisonAccess().getRightOperandAssignment_1_1(), "rule__ALSComparison__RightOperandAssignment_1_1");
182 put(grammarAccess.getALSOverrideAccess().getRightOperandAssignment_1_2(), "rule__ALSOverride__RightOperandAssignment_1_2");
183 put(grammarAccess.getALSRangeRestrictionRightAccess().getFilterAssignment_1_2(), "rule__ALSRangeRestrictionRight__FilterAssignment_1_2");
184 put(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationAssignment_1_2(), "rule__ALSRangeRestrictionLeft__RelationAssignment_1_2");
185 put(grammarAccess.getALSJoinAccess().getRightOperandAssignment_1_2(), "rule__ALSJoin__RightOperandAssignment_1_2");
186 put(grammarAccess.getALSMinusAccess().getRightOperandAssignment_1_2(), "rule__ALSMinus__RightOperandAssignment_1_2");
187 put(grammarAccess.getALSPlusAccess().getRightOperandAssignment_1_2(), "rule__ALSPlus__RightOperandAssignment_1_2");
188 put(grammarAccess.getALSIntersectionAccess().getRightOperandAssignment_1_2(), "rule__ALSIntersection__RightOperandAssignment_1_2");
189 put(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitAssignment_1_1(), "rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1");
190 put(grammarAccess.getALSDirectProductAccess().getRightMultiplicitAssignment_1_3(), "rule__ALSDirectProduct__RightMultiplicitAssignment_1_3");
191 put(grammarAccess.getALSDirectProductAccess().getRightOperandAssignment_1_4(), "rule__ALSDirectProduct__RightOperandAssignment_1_4");
192 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_0_2(), "rule__ALSPreficed__OperandAssignment_0_2");
193 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_1_2(), "rule__ALSPreficed__OperandAssignment_1_2");
194 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_2_2(), "rule__ALSPreficed__OperandAssignment_2_2");
195 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_3_2(), "rule__ALSPreficed__OperandAssignment_3_2");
196 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_4_2(), "rule__ALSPreficed__OperandAssignment_4_2");
197 put(grammarAccess.getALSPreficedAccess().getOperandAssignment_5_2(), "rule__ALSPreficed__OperandAssignment_5_2");
198 put(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_2(), "rule__ALSPreficed__VariablesAssignment_6_2");
199 put(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_3_1(), "rule__ALSPreficed__VariablesAssignment_6_3_1");
200 put(grammarAccess.getALSPreficedAccess().getExpressionAssignment_6_5(), "rule__ALSPreficed__ExpressionAssignment_6_5");
201 put(grammarAccess.getALSPreficedAccess().getReferredDefinitionAssignment_7_1_0(), "rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0");
202 put(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorAssignment_7_1_1(), "rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1");
203 put(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_3(), "rule__ALSPreficed__ParamsAssignment_7_3");
204 put(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_4_1(), "rule__ALSPreficed__ParamsAssignment_7_4_1");
205 put(grammarAccess.getALSVariableDeclarationAccess().getNameAssignment_0(), "rule__ALSVariableDeclaration__NameAssignment_0");
206 put(grammarAccess.getALSVariableDeclarationAccess().getRangeAssignment_2(), "rule__ALSVariableDeclaration__RangeAssignment_2");
207 put(grammarAccess.getALSBasicRelationTermAccess().getReferredAssignment_5_1(), "rule__ALSBasicRelationTerm__ReferredAssignment_5_1");
208 put(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_6_1(), "rule__ALSBasicRelationTerm__ValueAssignment_6_1");
209 put(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_7_1(), "rule__ALSBasicRelationTerm__ValueAssignment_7_1");
210 put(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_1(), "rule__ALSRunCommand__TypeScopesAssignment_4_1");
211 put(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_2_1(), "rule__ALSRunCommand__TypeScopesAssignment_4_2_1");
212 put(grammarAccess.getALSSigScopeAccess().getExactlyAssignment_0(), "rule__ALSSigScope__ExactlyAssignment_0");
213 put(grammarAccess.getALSSigScopeAccess().getNumberAssignment_1(), "rule__ALSSigScope__NumberAssignment_1");
214 put(grammarAccess.getALSSigScopeAccess().getTypeAssignment_2(), "rule__ALSSigScope__TypeAssignment_2");
215 put(grammarAccess.getALSIntScopeAccess().getNumberAssignment_0(), "rule__ALSIntScope__NumberAssignment_0");
216 put(grammarAccess.getALSStringScopeAccess().getNumberAssignment_1(), "rule__ALSStringScope__NumberAssignment_1");
217 put(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), "rule__ALSSignatureBody__UnorderedGroup_0");
218 }
219 };
220 }
221 return nameMappings.get(element);
222 }
223
224 @Override
225 protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
226 try {
227 hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageParser typedParser = (hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal.InternalAlloyLanguageParser) parser;
228 typedParser.entryRuleALSDocument();
229 return typedParser.getFollowElements();
230 } catch(RecognitionException ex) {
231 throw new RuntimeException(ex);
232 }
233 }
234
235 @Override
236 protected String[] getInitialHiddenTokens() {
237 return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
238 }
239
240 public AlloyLanguageGrammarAccess getGrammarAccess() {
241 return this.grammarAccess;
242 }
243
244 public void setGrammarAccess(AlloyLanguageGrammarAccess grammarAccess) {
245 this.grammarAccess = grammarAccess;
246 }
247}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/PartialAlloyLanguageContentAssistParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/PartialAlloyLanguageContentAssistParser.java
deleted file mode 100644
index a0c9d257..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/PartialAlloyLanguageContentAssistParser.java
+++ /dev/null
@@ -1,38 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr;
5
6import java.util.Collection;
7import java.util.Collections;
8
9import org.eclipse.xtext.AbstractRule;
10import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser;
11import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
12import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
13import org.eclipse.xtext.util.PolymorphicDispatcher;
14
15/*
16 * Template CodetemplatesGeneratorFragment.xpt
17 */
18public class PartialAlloyLanguageContentAssistParser extends AlloyLanguageParser implements IPartialContentAssistParser {
19
20 private AbstractRule rule;
21
22 @Override
23 public void initializeFor(AbstractRule rule) {
24 this.rule = rule;
25 }
26
27 @Override
28 protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
29 if (rule == null || rule.eIsProxy())
30 return Collections.emptyList();
31 String methodName = "entryRule" + rule.getName();
32 PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
33 new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
34 dispatcher.invoke();
35 return parser.getFollowElements();
36 }
37
38}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.g b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.g
deleted file mode 100644
index b374de9a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.g
+++ /dev/null
@@ -1,10392 +0,0 @@
1/*
2 * generated by Xtext
3 */
4grammar InternalAlloyLanguage;
5
6options {
7 superClass=AbstractInternalContentAssistParser;
8 backtrack=true;
9
10}
11
12@lexer::header {
13package hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal;
14
15// Hack: Use our own Lexer superclass by means of import.
16// Currently there is no other way to specify the superclass for the lexer.
17import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
18}
19
20@parser::header {
21package hu.bme.mit.inf.dslreasoner.ui.contentassist.antlr.internal;
22
23import java.io.InputStream;
24import org.eclipse.xtext.*;
25import org.eclipse.xtext.parser.*;
26import org.eclipse.xtext.parser.impl.*;
27import org.eclipse.emf.ecore.util.EcoreUtil;
28import org.eclipse.emf.ecore.EObject;
29import org.eclipse.xtext.parser.antlr.XtextTokenStream;
30import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
31import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
32import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
33import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
34
35}
36
37@parser::members {
38
39 private AlloyLanguageGrammarAccess grammarAccess;
40
41 public void setGrammarAccess(AlloyLanguageGrammarAccess grammarAccess) {
42 this.grammarAccess = grammarAccess;
43 }
44
45 @Override
46 protected Grammar getGrammar() {
47 return grammarAccess.getGrammar();
48 }
49
50 @Override
51 protected String getValueForTokenName(String tokenName) {
52 return tokenName;
53 }
54
55}
56
57
58
59
60// Entry rule entryRuleALSDocument
61entryRuleALSDocument
62:
63{ before(grammarAccess.getALSDocumentRule()); }
64 ruleALSDocument
65{ after(grammarAccess.getALSDocumentRule()); }
66 EOF
67;
68
69// Rule ALSDocument
70ruleALSDocument
71 @init {
72 int stackSize = keepStackSize();
73 }
74 :
75(
76{ before(grammarAccess.getALSDocumentAccess().getGroup()); }
77(rule__ALSDocument__Group__0)
78{ after(grammarAccess.getALSDocumentAccess().getGroup()); }
79)
80
81;
82finally {
83 restoreStackSize(stackSize);
84}
85
86
87
88// Entry rule entryRuleALSID
89entryRuleALSID
90:
91{ before(grammarAccess.getALSIDRule()); }
92 ruleALSID
93{ after(grammarAccess.getALSIDRule()); }
94 EOF
95;
96
97// Rule ALSID
98ruleALSID
99 @init {
100 int stackSize = keepStackSize();
101 }
102 :
103(
104{ before(grammarAccess.getALSIDAccess().getIDTerminalRuleCall()); }
105 RULE_ID
106{ after(grammarAccess.getALSIDAccess().getIDTerminalRuleCall()); }
107)
108
109;
110finally {
111 restoreStackSize(stackSize);
112}
113
114
115
116
117
118// Entry rule entryRuleALSTypeDeclaration
119entryRuleALSTypeDeclaration
120:
121{ before(grammarAccess.getALSTypeDeclarationRule()); }
122 ruleALSTypeDeclaration
123{ after(grammarAccess.getALSTypeDeclarationRule()); }
124 EOF
125;
126
127// Rule ALSTypeDeclaration
128ruleALSTypeDeclaration
129 @init {
130 int stackSize = keepStackSize();
131 }
132 :
133(
134{ before(grammarAccess.getALSTypeDeclarationAccess().getAlternatives()); }
135(rule__ALSTypeDeclaration__Alternatives)
136{ after(grammarAccess.getALSTypeDeclarationAccess().getAlternatives()); }
137)
138
139;
140finally {
141 restoreStackSize(stackSize);
142}
143
144
145
146// Entry rule entryRuleALSEnumDeclaration
147entryRuleALSEnumDeclaration
148:
149{ before(grammarAccess.getALSEnumDeclarationRule()); }
150 ruleALSEnumDeclaration
151{ after(grammarAccess.getALSEnumDeclarationRule()); }
152 EOF
153;
154
155// Rule ALSEnumDeclaration
156ruleALSEnumDeclaration
157 @init {
158 int stackSize = keepStackSize();
159 }
160 :
161(
162{ before(grammarAccess.getALSEnumDeclarationAccess().getGroup()); }
163(rule__ALSEnumDeclaration__Group__0)
164{ after(grammarAccess.getALSEnumDeclarationAccess().getGroup()); }
165)
166
167;
168finally {
169 restoreStackSize(stackSize);
170}
171
172
173
174// Entry rule entryRuleALSEnumLiteral
175entryRuleALSEnumLiteral
176:
177{ before(grammarAccess.getALSEnumLiteralRule()); }
178 ruleALSEnumLiteral
179{ after(grammarAccess.getALSEnumLiteralRule()); }
180 EOF
181;
182
183// Rule ALSEnumLiteral
184ruleALSEnumLiteral
185 @init {
186 int stackSize = keepStackSize();
187 }
188 :
189(
190{ before(grammarAccess.getALSEnumLiteralAccess().getNameAssignment()); }
191(rule__ALSEnumLiteral__NameAssignment)
192{ after(grammarAccess.getALSEnumLiteralAccess().getNameAssignment()); }
193)
194
195;
196finally {
197 restoreStackSize(stackSize);
198}
199
200
201
202// Entry rule entryRuleALSSignatureDeclaration
203entryRuleALSSignatureDeclaration
204:
205{ before(grammarAccess.getALSSignatureDeclarationRule()); }
206 ruleALSSignatureDeclaration
207{ after(grammarAccess.getALSSignatureDeclarationRule()); }
208 EOF
209;
210
211// Rule ALSSignatureDeclaration
212ruleALSSignatureDeclaration
213 @init {
214 int stackSize = keepStackSize();
215 }
216 :
217(
218{ before(grammarAccess.getALSSignatureDeclarationAccess().getNameAssignment()); }
219(rule__ALSSignatureDeclaration__NameAssignment)
220{ after(grammarAccess.getALSSignatureDeclarationAccess().getNameAssignment()); }
221)
222
223;
224finally {
225 restoreStackSize(stackSize);
226}
227
228
229
230// Entry rule entryRuleALSSignatureBody
231entryRuleALSSignatureBody
232:
233{ before(grammarAccess.getALSSignatureBodyRule()); }
234 ruleALSSignatureBody
235{ after(grammarAccess.getALSSignatureBodyRule()); }
236 EOF
237;
238
239// Rule ALSSignatureBody
240ruleALSSignatureBody
241 @init {
242 int stackSize = keepStackSize();
243 }
244 :
245(
246{ before(grammarAccess.getALSSignatureBodyAccess().getGroup()); }
247(rule__ALSSignatureBody__Group__0)
248{ after(grammarAccess.getALSSignatureBodyAccess().getGroup()); }
249)
250
251;
252finally {
253 restoreStackSize(stackSize);
254}
255
256
257
258// Entry rule entryRuleALSFieldDeclaration
259entryRuleALSFieldDeclaration
260:
261{ before(grammarAccess.getALSFieldDeclarationRule()); }
262 ruleALSFieldDeclaration
263{ after(grammarAccess.getALSFieldDeclarationRule()); }
264 EOF
265;
266
267// Rule ALSFieldDeclaration
268ruleALSFieldDeclaration
269 @init {
270 int stackSize = keepStackSize();
271 }
272 :
273(
274{ before(grammarAccess.getALSFieldDeclarationAccess().getGroup()); }
275(rule__ALSFieldDeclaration__Group__0)
276{ after(grammarAccess.getALSFieldDeclarationAccess().getGroup()); }
277)
278
279;
280finally {
281 restoreStackSize(stackSize);
282}
283
284
285
286
287
288// Entry rule entryRuleALSFunctionDefinition
289entryRuleALSFunctionDefinition
290:
291{ before(grammarAccess.getALSFunctionDefinitionRule()); }
292 ruleALSFunctionDefinition
293{ after(grammarAccess.getALSFunctionDefinitionRule()); }
294 EOF
295;
296
297// Rule ALSFunctionDefinition
298ruleALSFunctionDefinition
299 @init {
300 int stackSize = keepStackSize();
301 }
302 :
303(
304{ before(grammarAccess.getALSFunctionDefinitionAccess().getGroup()); }
305(rule__ALSFunctionDefinition__Group__0)
306{ after(grammarAccess.getALSFunctionDefinitionAccess().getGroup()); }
307)
308
309;
310finally {
311 restoreStackSize(stackSize);
312}
313
314
315
316// Entry rule entryRuleALSRelationDefinition
317entryRuleALSRelationDefinition
318:
319{ before(grammarAccess.getALSRelationDefinitionRule()); }
320 ruleALSRelationDefinition
321{ after(grammarAccess.getALSRelationDefinitionRule()); }
322 EOF
323;
324
325// Rule ALSRelationDefinition
326ruleALSRelationDefinition
327 @init {
328 int stackSize = keepStackSize();
329 }
330 :
331(
332{ before(grammarAccess.getALSRelationDefinitionAccess().getGroup()); }
333(rule__ALSRelationDefinition__Group__0)
334{ after(grammarAccess.getALSRelationDefinitionAccess().getGroup()); }
335)
336
337;
338finally {
339 restoreStackSize(stackSize);
340}
341
342
343
344// Entry rule entryRuleALSFactDeclaration
345entryRuleALSFactDeclaration
346:
347{ before(grammarAccess.getALSFactDeclarationRule()); }
348 ruleALSFactDeclaration
349{ after(grammarAccess.getALSFactDeclarationRule()); }
350 EOF
351;
352
353// Rule ALSFactDeclaration
354ruleALSFactDeclaration
355 @init {
356 int stackSize = keepStackSize();
357 }
358 :
359(
360{ before(grammarAccess.getALSFactDeclarationAccess().getGroup()); }
361(rule__ALSFactDeclaration__Group__0)
362{ after(grammarAccess.getALSFactDeclarationAccess().getGroup()); }
363)
364
365;
366finally {
367 restoreStackSize(stackSize);
368}
369
370
371
372// Entry rule entryRuleALSTerm
373entryRuleALSTerm
374:
375{ before(grammarAccess.getALSTermRule()); }
376 ruleALSTerm
377{ after(grammarAccess.getALSTermRule()); }
378 EOF
379;
380
381// Rule ALSTerm
382ruleALSTerm
383 @init {
384 int stackSize = keepStackSize();
385 }
386 :
387(
388{ before(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall()); }
389 ruleALSQuantified
390{ after(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall()); }
391)
392
393;
394finally {
395 restoreStackSize(stackSize);
396}
397
398
399
400// Entry rule entryRuleALSQuantified
401entryRuleALSQuantified
402:
403{ before(grammarAccess.getALSQuantifiedRule()); }
404 ruleALSQuantified
405{ after(grammarAccess.getALSQuantifiedRule()); }
406 EOF
407;
408
409// Rule ALSQuantified
410ruleALSQuantified
411 @init {
412 int stackSize = keepStackSize();
413 }
414 :
415(
416{ before(grammarAccess.getALSQuantifiedAccess().getAlternatives()); }
417(rule__ALSQuantified__Alternatives)
418{ after(grammarAccess.getALSQuantifiedAccess().getAlternatives()); }
419)
420
421;
422finally {
423 restoreStackSize(stackSize);
424}
425
426
427
428// Entry rule entryRuleALSOr
429entryRuleALSOr
430:
431{ before(grammarAccess.getALSOrRule()); }
432 ruleALSOr
433{ after(grammarAccess.getALSOrRule()); }
434 EOF
435;
436
437// Rule ALSOr
438ruleALSOr
439 @init {
440 int stackSize = keepStackSize();
441 }
442 :
443(
444{ before(grammarAccess.getALSOrAccess().getGroup()); }
445(rule__ALSOr__Group__0)
446{ after(grammarAccess.getALSOrAccess().getGroup()); }
447)
448
449;
450finally {
451 restoreStackSize(stackSize);
452}
453
454
455
456// Entry rule entryRuleALSIff
457entryRuleALSIff
458:
459{ before(grammarAccess.getALSIffRule()); }
460 ruleALSIff
461{ after(grammarAccess.getALSIffRule()); }
462 EOF
463;
464
465// Rule ALSIff
466ruleALSIff
467 @init {
468 int stackSize = keepStackSize();
469 }
470 :
471(
472{ before(grammarAccess.getALSIffAccess().getGroup()); }
473(rule__ALSIff__Group__0)
474{ after(grammarAccess.getALSIffAccess().getGroup()); }
475)
476
477;
478finally {
479 restoreStackSize(stackSize);
480}
481
482
483
484// Entry rule entryRuleALSImpl
485entryRuleALSImpl
486:
487{ before(grammarAccess.getALSImplRule()); }
488 ruleALSImpl
489{ after(grammarAccess.getALSImplRule()); }
490 EOF
491;
492
493// Rule ALSImpl
494ruleALSImpl
495 @init {
496 int stackSize = keepStackSize();
497 }
498 :
499(
500{ before(grammarAccess.getALSImplAccess().getGroup()); }
501(rule__ALSImpl__Group__0)
502{ after(grammarAccess.getALSImplAccess().getGroup()); }
503)
504
505;
506finally {
507 restoreStackSize(stackSize);
508}
509
510
511
512// Entry rule entryRuleALSAnd
513entryRuleALSAnd
514:
515{ before(grammarAccess.getALSAndRule()); }
516 ruleALSAnd
517{ after(grammarAccess.getALSAndRule()); }
518 EOF
519;
520
521// Rule ALSAnd
522ruleALSAnd
523 @init {
524 int stackSize = keepStackSize();
525 }
526 :
527(
528{ before(grammarAccess.getALSAndAccess().getGroup()); }
529(rule__ALSAnd__Group__0)
530{ after(grammarAccess.getALSAndAccess().getGroup()); }
531)
532
533;
534finally {
535 restoreStackSize(stackSize);
536}
537
538
539
540// Entry rule entryRuleALSComparison
541entryRuleALSComparison
542:
543{ before(grammarAccess.getALSComparisonRule()); }
544 ruleALSComparison
545{ after(grammarAccess.getALSComparisonRule()); }
546 EOF
547;
548
549// Rule ALSComparison
550ruleALSComparison
551 @init {
552 int stackSize = keepStackSize();
553 }
554 :
555(
556{ before(grammarAccess.getALSComparisonAccess().getGroup()); }
557(rule__ALSComparison__Group__0)
558{ after(grammarAccess.getALSComparisonAccess().getGroup()); }
559)
560
561;
562finally {
563 restoreStackSize(stackSize);
564}
565
566
567
568// Entry rule entryRuleALSOverride
569entryRuleALSOverride
570:
571{ before(grammarAccess.getALSOverrideRule()); }
572 ruleALSOverride
573{ after(grammarAccess.getALSOverrideRule()); }
574 EOF
575;
576
577// Rule ALSOverride
578ruleALSOverride
579 @init {
580 int stackSize = keepStackSize();
581 }
582 :
583(
584{ before(grammarAccess.getALSOverrideAccess().getGroup()); }
585(rule__ALSOverride__Group__0)
586{ after(grammarAccess.getALSOverrideAccess().getGroup()); }
587)
588
589;
590finally {
591 restoreStackSize(stackSize);
592}
593
594
595
596// Entry rule entryRuleALSRangeRestrictionRight
597entryRuleALSRangeRestrictionRight
598:
599{ before(grammarAccess.getALSRangeRestrictionRightRule()); }
600 ruleALSRangeRestrictionRight
601{ after(grammarAccess.getALSRangeRestrictionRightRule()); }
602 EOF
603;
604
605// Rule ALSRangeRestrictionRight
606ruleALSRangeRestrictionRight
607 @init {
608 int stackSize = keepStackSize();
609 }
610 :
611(
612{ before(grammarAccess.getALSRangeRestrictionRightAccess().getGroup()); }
613(rule__ALSRangeRestrictionRight__Group__0)
614{ after(grammarAccess.getALSRangeRestrictionRightAccess().getGroup()); }
615)
616
617;
618finally {
619 restoreStackSize(stackSize);
620}
621
622
623
624// Entry rule entryRuleALSRangeRestrictionLeft
625entryRuleALSRangeRestrictionLeft
626:
627{ before(grammarAccess.getALSRangeRestrictionLeftRule()); }
628 ruleALSRangeRestrictionLeft
629{ after(grammarAccess.getALSRangeRestrictionLeftRule()); }
630 EOF
631;
632
633// Rule ALSRangeRestrictionLeft
634ruleALSRangeRestrictionLeft
635 @init {
636 int stackSize = keepStackSize();
637 }
638 :
639(
640{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup()); }
641(rule__ALSRangeRestrictionLeft__Group__0)
642{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup()); }
643)
644
645;
646finally {
647 restoreStackSize(stackSize);
648}
649
650
651
652// Entry rule entryRuleALSJoin
653entryRuleALSJoin
654:
655{ before(grammarAccess.getALSJoinRule()); }
656 ruleALSJoin
657{ after(grammarAccess.getALSJoinRule()); }
658 EOF
659;
660
661// Rule ALSJoin
662ruleALSJoin
663 @init {
664 int stackSize = keepStackSize();
665 }
666 :
667(
668{ before(grammarAccess.getALSJoinAccess().getGroup()); }
669(rule__ALSJoin__Group__0)
670{ after(grammarAccess.getALSJoinAccess().getGroup()); }
671)
672
673;
674finally {
675 restoreStackSize(stackSize);
676}
677
678
679
680// Entry rule entryRuleALSMinus
681entryRuleALSMinus
682:
683{ before(grammarAccess.getALSMinusRule()); }
684 ruleALSMinus
685{ after(grammarAccess.getALSMinusRule()); }
686 EOF
687;
688
689// Rule ALSMinus
690ruleALSMinus
691 @init {
692 int stackSize = keepStackSize();
693 }
694 :
695(
696{ before(grammarAccess.getALSMinusAccess().getGroup()); }
697(rule__ALSMinus__Group__0)
698{ after(grammarAccess.getALSMinusAccess().getGroup()); }
699)
700
701;
702finally {
703 restoreStackSize(stackSize);
704}
705
706
707
708// Entry rule entryRuleALSPlus
709entryRuleALSPlus
710:
711{ before(grammarAccess.getALSPlusRule()); }
712 ruleALSPlus
713{ after(grammarAccess.getALSPlusRule()); }
714 EOF
715;
716
717// Rule ALSPlus
718ruleALSPlus
719 @init {
720 int stackSize = keepStackSize();
721 }
722 :
723(
724{ before(grammarAccess.getALSPlusAccess().getGroup()); }
725(rule__ALSPlus__Group__0)
726{ after(grammarAccess.getALSPlusAccess().getGroup()); }
727)
728
729;
730finally {
731 restoreStackSize(stackSize);
732}
733
734
735
736// Entry rule entryRuleALSIntersection
737entryRuleALSIntersection
738:
739{ before(grammarAccess.getALSIntersectionRule()); }
740 ruleALSIntersection
741{ after(grammarAccess.getALSIntersectionRule()); }
742 EOF
743;
744
745// Rule ALSIntersection
746ruleALSIntersection
747 @init {
748 int stackSize = keepStackSize();
749 }
750 :
751(
752{ before(grammarAccess.getALSIntersectionAccess().getGroup()); }
753(rule__ALSIntersection__Group__0)
754{ after(grammarAccess.getALSIntersectionAccess().getGroup()); }
755)
756
757;
758finally {
759 restoreStackSize(stackSize);
760}
761
762
763
764// Entry rule entryRuleALSDirectProduct
765entryRuleALSDirectProduct
766:
767{ before(grammarAccess.getALSDirectProductRule()); }
768 ruleALSDirectProduct
769{ after(grammarAccess.getALSDirectProductRule()); }
770 EOF
771;
772
773// Rule ALSDirectProduct
774ruleALSDirectProduct
775 @init {
776 int stackSize = keepStackSize();
777 }
778 :
779(
780{ before(grammarAccess.getALSDirectProductAccess().getGroup()); }
781(rule__ALSDirectProduct__Group__0)
782{ after(grammarAccess.getALSDirectProductAccess().getGroup()); }
783)
784
785;
786finally {
787 restoreStackSize(stackSize);
788}
789
790
791
792// Entry rule entryRuleALSPreficed
793entryRuleALSPreficed
794:
795{ before(grammarAccess.getALSPreficedRule()); }
796 ruleALSPreficed
797{ after(grammarAccess.getALSPreficedRule()); }
798 EOF
799;
800
801// Rule ALSPreficed
802ruleALSPreficed
803 @init {
804 int stackSize = keepStackSize();
805 }
806 :
807(
808{ before(grammarAccess.getALSPreficedAccess().getAlternatives()); }
809(rule__ALSPreficed__Alternatives)
810{ after(grammarAccess.getALSPreficedAccess().getAlternatives()); }
811)
812
813;
814finally {
815 restoreStackSize(stackSize);
816}
817
818
819
820// Entry rule entryRuleALSVariableDeclaration
821entryRuleALSVariableDeclaration
822:
823{ before(grammarAccess.getALSVariableDeclarationRule()); }
824 ruleALSVariableDeclaration
825{ after(grammarAccess.getALSVariableDeclarationRule()); }
826 EOF
827;
828
829// Rule ALSVariableDeclaration
830ruleALSVariableDeclaration
831 @init {
832 int stackSize = keepStackSize();
833 }
834 :
835(
836{ before(grammarAccess.getALSVariableDeclarationAccess().getGroup()); }
837(rule__ALSVariableDeclaration__Group__0)
838{ after(grammarAccess.getALSVariableDeclarationAccess().getGroup()); }
839)
840
841;
842finally {
843 restoreStackSize(stackSize);
844}
845
846
847
848// Entry rule entryRuleALSBasicRelationTerm
849entryRuleALSBasicRelationTerm
850:
851{ before(grammarAccess.getALSBasicRelationTermRule()); }
852 ruleALSBasicRelationTerm
853{ after(grammarAccess.getALSBasicRelationTermRule()); }
854 EOF
855;
856
857// Rule ALSBasicRelationTerm
858ruleALSBasicRelationTerm
859 @init {
860 int stackSize = keepStackSize();
861 }
862 :
863(
864{ before(grammarAccess.getALSBasicRelationTermAccess().getAlternatives()); }
865(rule__ALSBasicRelationTerm__Alternatives)
866{ after(grammarAccess.getALSBasicRelationTermAccess().getAlternatives()); }
867)
868
869;
870finally {
871 restoreStackSize(stackSize);
872}
873
874
875
876// Entry rule entryRuleALSRunCommand
877entryRuleALSRunCommand
878:
879{ before(grammarAccess.getALSRunCommandRule()); }
880 ruleALSRunCommand
881{ after(grammarAccess.getALSRunCommandRule()); }
882 EOF
883;
884
885// Rule ALSRunCommand
886ruleALSRunCommand
887 @init {
888 int stackSize = keepStackSize();
889 }
890 :
891(
892{ before(grammarAccess.getALSRunCommandAccess().getGroup()); }
893(rule__ALSRunCommand__Group__0)
894{ after(grammarAccess.getALSRunCommandAccess().getGroup()); }
895)
896
897;
898finally {
899 restoreStackSize(stackSize);
900}
901
902
903
904// Entry rule entryRuleALSTypeScope
905entryRuleALSTypeScope
906:
907{ before(grammarAccess.getALSTypeScopeRule()); }
908 ruleALSTypeScope
909{ after(grammarAccess.getALSTypeScopeRule()); }
910 EOF
911;
912
913// Rule ALSTypeScope
914ruleALSTypeScope
915 @init {
916 int stackSize = keepStackSize();
917 }
918 :
919(
920{ before(grammarAccess.getALSTypeScopeAccess().getAlternatives()); }
921(rule__ALSTypeScope__Alternatives)
922{ after(grammarAccess.getALSTypeScopeAccess().getAlternatives()); }
923)
924
925;
926finally {
927 restoreStackSize(stackSize);
928}
929
930
931
932// Entry rule entryRuleALSSigScope
933entryRuleALSSigScope
934:
935{ before(grammarAccess.getALSSigScopeRule()); }
936 ruleALSSigScope
937{ after(grammarAccess.getALSSigScopeRule()); }
938 EOF
939;
940
941// Rule ALSSigScope
942ruleALSSigScope
943 @init {
944 int stackSize = keepStackSize();
945 }
946 :
947(
948{ before(grammarAccess.getALSSigScopeAccess().getGroup()); }
949(rule__ALSSigScope__Group__0)
950{ after(grammarAccess.getALSSigScopeAccess().getGroup()); }
951)
952
953;
954finally {
955 restoreStackSize(stackSize);
956}
957
958
959
960// Entry rule entryRuleALSIntScope
961entryRuleALSIntScope
962:
963{ before(grammarAccess.getALSIntScopeRule()); }
964 ruleALSIntScope
965{ after(grammarAccess.getALSIntScopeRule()); }
966 EOF
967;
968
969// Rule ALSIntScope
970ruleALSIntScope
971 @init {
972 int stackSize = keepStackSize();
973 }
974 :
975(
976{ before(grammarAccess.getALSIntScopeAccess().getGroup()); }
977(rule__ALSIntScope__Group__0)
978{ after(grammarAccess.getALSIntScopeAccess().getGroup()); }
979)
980
981;
982finally {
983 restoreStackSize(stackSize);
984}
985
986
987
988// Entry rule entryRuleALSStringScope
989entryRuleALSStringScope
990:
991{ before(grammarAccess.getALSStringScopeRule()); }
992 ruleALSStringScope
993{ after(grammarAccess.getALSStringScopeRule()); }
994 EOF
995;
996
997// Rule ALSStringScope
998ruleALSStringScope
999 @init {
1000 int stackSize = keepStackSize();
1001 }
1002 :
1003(
1004{ before(grammarAccess.getALSStringScopeAccess().getGroup()); }
1005(rule__ALSStringScope__Group__0)
1006{ after(grammarAccess.getALSStringScopeAccess().getGroup()); }
1007)
1008
1009;
1010finally {
1011 restoreStackSize(stackSize);
1012}
1013
1014
1015
1016
1017// Rule ALSMultiplicity
1018ruleALSMultiplicity
1019 @init {
1020 int stackSize = keepStackSize();
1021 }
1022:
1023(
1024{ before(grammarAccess.getALSMultiplicityAccess().getAlternatives()); }
1025(rule__ALSMultiplicity__Alternatives)
1026{ after(grammarAccess.getALSMultiplicityAccess().getAlternatives()); }
1027)
1028
1029;
1030finally {
1031 restoreStackSize(stackSize);
1032}
1033
1034
1035
1036// Rule ALSNumericOperator
1037ruleALSNumericOperator
1038 @init {
1039 int stackSize = keepStackSize();
1040 }
1041:
1042(
1043{ before(grammarAccess.getALSNumericOperatorAccess().getAlternatives()); }
1044(rule__ALSNumericOperator__Alternatives)
1045{ after(grammarAccess.getALSNumericOperatorAccess().getAlternatives()); }
1046)
1047
1048;
1049finally {
1050 restoreStackSize(stackSize);
1051}
1052
1053
1054
1055rule__ALSDocument__Alternatives_0
1056 @init {
1057 int stackSize = keepStackSize();
1058 }
1059:
1060(
1061{ before(grammarAccess.getALSDocumentAccess().getEnumDeclarationsAssignment_0_0()); }
1062(rule__ALSDocument__EnumDeclarationsAssignment_0_0)
1063{ after(grammarAccess.getALSDocumentAccess().getEnumDeclarationsAssignment_0_0()); }
1064)
1065
1066 |(
1067{ before(grammarAccess.getALSDocumentAccess().getSignatureBodiesAssignment_0_1()); }
1068(rule__ALSDocument__SignatureBodiesAssignment_0_1)
1069{ after(grammarAccess.getALSDocumentAccess().getSignatureBodiesAssignment_0_1()); }
1070)
1071
1072 |(
1073{ before(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsAssignment_0_2()); }
1074(rule__ALSDocument__FunctionDefinitionsAssignment_0_2)
1075{ after(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsAssignment_0_2()); }
1076)
1077
1078 |(
1079{ before(grammarAccess.getALSDocumentAccess().getRelationDefinitionsAssignment_0_3()); }
1080(rule__ALSDocument__RelationDefinitionsAssignment_0_3)
1081{ after(grammarAccess.getALSDocumentAccess().getRelationDefinitionsAssignment_0_3()); }
1082)
1083
1084 |(
1085{ before(grammarAccess.getALSDocumentAccess().getFactDeclarationsAssignment_0_4()); }
1086(rule__ALSDocument__FactDeclarationsAssignment_0_4)
1087{ after(grammarAccess.getALSDocumentAccess().getFactDeclarationsAssignment_0_4()); }
1088)
1089
1090;
1091finally {
1092 restoreStackSize(stackSize);
1093}
1094
1095
1096rule__ALSTypeDeclaration__Alternatives
1097 @init {
1098 int stackSize = keepStackSize();
1099 }
1100:
1101(
1102{ before(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0()); }
1103 ruleALSEnumDeclaration
1104{ after(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0()); }
1105)
1106
1107 |(
1108{ before(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1()); }
1109 ruleALSSignatureDeclaration
1110{ after(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1()); }
1111)
1112
1113;
1114finally {
1115 restoreStackSize(stackSize);
1116}
1117
1118rule__ALSSignatureBody__Alternatives_4
1119 @init {
1120 int stackSize = keepStackSize();
1121 }
1122:
1123(
1124{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_0()); }
1125(rule__ALSSignatureBody__Group_4_0__0)
1126{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_0()); }
1127)
1128
1129 |(
1130{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1()); }
1131(rule__ALSSignatureBody__Group_4_1__0)
1132{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1()); }
1133)
1134
1135;
1136finally {
1137 restoreStackSize(stackSize);
1138}
1139
1140
1141rule__ALSQuantified__Alternatives
1142 @init {
1143 int stackSize = keepStackSize();
1144 }
1145:
1146(
1147{ before(grammarAccess.getALSQuantifiedAccess().getGroup_0()); }
1148(rule__ALSQuantified__Group_0__0)
1149{ after(grammarAccess.getALSQuantifiedAccess().getGroup_0()); }
1150)
1151
1152 |(
1153{ before(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1()); }
1154 ruleALSOr
1155{ after(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1()); }
1156)
1157
1158;
1159finally {
1160 restoreStackSize(stackSize);
1161}
1162
1163rule__ALSOr__Alternatives_1_1
1164 @init {
1165 int stackSize = keepStackSize();
1166 }
1167:
1168(
1169{ before(grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0()); }
1170
1171 '||'
1172
1173{ after(grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0()); }
1174)
1175
1176 |(
1177{ before(grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()); }
1178
1179 'or'
1180
1181{ after(grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()); }
1182)
1183
1184;
1185finally {
1186 restoreStackSize(stackSize);
1187}
1188
1189rule__ALSIff__Alternatives_1_1
1190 @init {
1191 int stackSize = keepStackSize();
1192 }
1193:
1194(
1195{ before(grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0()); }
1196
1197 '<=>'
1198
1199{ after(grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0()); }
1200)
1201
1202 |(
1203{ before(grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()); }
1204
1205 'iff'
1206
1207{ after(grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()); }
1208)
1209
1210;
1211finally {
1212 restoreStackSize(stackSize);
1213}
1214
1215rule__ALSImpl__Alternatives_1_1
1216 @init {
1217 int stackSize = keepStackSize();
1218 }
1219:
1220(
1221{ before(grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()); }
1222
1223 '=>'
1224
1225{ after(grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()); }
1226)
1227
1228 |(
1229{ before(grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1()); }
1230
1231 'implies'
1232
1233{ after(grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1()); }
1234)
1235
1236;
1237finally {
1238 restoreStackSize(stackSize);
1239}
1240
1241rule__ALSAnd__Alternatives_1_1
1242 @init {
1243 int stackSize = keepStackSize();
1244 }
1245:
1246(
1247{ before(grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()); }
1248
1249 '&&'
1250
1251{ after(grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()); }
1252)
1253
1254 |(
1255{ before(grammarAccess.getALSAndAccess().getAndKeyword_1_1_1()); }
1256
1257 'and'
1258
1259{ after(grammarAccess.getALSAndAccess().getAndKeyword_1_1_1()); }
1260)
1261
1262;
1263finally {
1264 restoreStackSize(stackSize);
1265}
1266
1267rule__ALSComparison__Alternatives_1_0
1268 @init {
1269 int stackSize = keepStackSize();
1270 }
1271:
1272(
1273{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_0()); }
1274(rule__ALSComparison__Group_1_0_0__0)
1275{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_0()); }
1276)
1277
1278 |(
1279{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_1()); }
1280(rule__ALSComparison__Group_1_0_1__0)
1281{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_1()); }
1282)
1283
1284 |(
1285{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_2()); }
1286(rule__ALSComparison__Group_1_0_2__0)
1287{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_2()); }
1288)
1289
1290 |(
1291{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_3()); }
1292(rule__ALSComparison__Group_1_0_3__0)
1293{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_3()); }
1294)
1295
1296 |(
1297{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_4()); }
1298(rule__ALSComparison__Group_1_0_4__0)
1299{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_4()); }
1300)
1301
1302 |(
1303{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_5()); }
1304(rule__ALSComparison__Group_1_0_5__0)
1305{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_5()); }
1306)
1307
1308 |(
1309{ before(grammarAccess.getALSComparisonAccess().getGroup_1_0_6()); }
1310(rule__ALSComparison__Group_1_0_6__0)
1311{ after(grammarAccess.getALSComparisonAccess().getGroup_1_0_6()); }
1312)
1313
1314;
1315finally {
1316 restoreStackSize(stackSize);
1317}
1318
1319rule__ALSPreficed__Alternatives
1320 @init {
1321 int stackSize = keepStackSize();
1322 }
1323:
1324(
1325{ before(grammarAccess.getALSPreficedAccess().getGroup_0()); }
1326(rule__ALSPreficed__Group_0__0)
1327{ after(grammarAccess.getALSPreficedAccess().getGroup_0()); }
1328)
1329
1330 |(
1331{ before(grammarAccess.getALSPreficedAccess().getGroup_1()); }
1332(rule__ALSPreficed__Group_1__0)
1333{ after(grammarAccess.getALSPreficedAccess().getGroup_1()); }
1334)
1335
1336 |(
1337{ before(grammarAccess.getALSPreficedAccess().getGroup_2()); }
1338(rule__ALSPreficed__Group_2__0)
1339{ after(grammarAccess.getALSPreficedAccess().getGroup_2()); }
1340)
1341
1342 |(
1343{ before(grammarAccess.getALSPreficedAccess().getGroup_3()); }
1344(rule__ALSPreficed__Group_3__0)
1345{ after(grammarAccess.getALSPreficedAccess().getGroup_3()); }
1346)
1347
1348 |(
1349{ before(grammarAccess.getALSPreficedAccess().getGroup_4()); }
1350(rule__ALSPreficed__Group_4__0)
1351{ after(grammarAccess.getALSPreficedAccess().getGroup_4()); }
1352)
1353
1354 |(
1355{ before(grammarAccess.getALSPreficedAccess().getGroup_5()); }
1356(rule__ALSPreficed__Group_5__0)
1357{ after(grammarAccess.getALSPreficedAccess().getGroup_5()); }
1358)
1359
1360 |(
1361{ before(grammarAccess.getALSPreficedAccess().getGroup_6()); }
1362(rule__ALSPreficed__Group_6__0)
1363{ after(grammarAccess.getALSPreficedAccess().getGroup_6()); }
1364)
1365
1366 |(
1367{ before(grammarAccess.getALSPreficedAccess().getGroup_7()); }
1368(rule__ALSPreficed__Group_7__0)
1369{ after(grammarAccess.getALSPreficedAccess().getGroup_7()); }
1370)
1371
1372 |(
1373{ before(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8()); }
1374 ruleALSBasicRelationTerm
1375{ after(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8()); }
1376)
1377
1378;
1379finally {
1380 restoreStackSize(stackSize);
1381}
1382
1383rule__ALSPreficed__Alternatives_0_1_0
1384 @init {
1385 int stackSize = keepStackSize();
1386 }
1387:
1388(
1389{ before(grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()); }
1390
1391 '!'
1392
1393{ after(grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()); }
1394)
1395
1396 |(
1397{ before(grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1()); }
1398
1399 'not'
1400
1401{ after(grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1()); }
1402)
1403
1404;
1405finally {
1406 restoreStackSize(stackSize);
1407}
1408
1409rule__ALSPreficed__Alternatives_7_1
1410 @init {
1411 int stackSize = keepStackSize();
1412 }
1413:
1414(
1415{ before(grammarAccess.getALSPreficedAccess().getReferredDefinitionAssignment_7_1_0()); }
1416(rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0)
1417{ after(grammarAccess.getALSPreficedAccess().getReferredDefinitionAssignment_7_1_0()); }
1418)
1419
1420 |(
1421{ before(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorAssignment_7_1_1()); }
1422(rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1)
1423{ after(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorAssignment_7_1_1()); }
1424)
1425
1426;
1427finally {
1428 restoreStackSize(stackSize);
1429}
1430
1431rule__ALSBasicRelationTerm__Alternatives
1432 @init {
1433 int stackSize = keepStackSize();
1434 }
1435:
1436(
1437{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_0()); }
1438(rule__ALSBasicRelationTerm__Group_0__0)
1439{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_0()); }
1440)
1441
1442 |(
1443{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_1()); }
1444(rule__ALSBasicRelationTerm__Group_1__0)
1445{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_1()); }
1446)
1447
1448 |(
1449{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_2()); }
1450(rule__ALSBasicRelationTerm__Group_2__0)
1451{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_2()); }
1452)
1453
1454 |(
1455{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_3()); }
1456(rule__ALSBasicRelationTerm__Group_3__0)
1457{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_3()); }
1458)
1459
1460 |(
1461{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_4()); }
1462(rule__ALSBasicRelationTerm__Group_4__0)
1463{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_4()); }
1464)
1465
1466 |(
1467{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_5()); }
1468(rule__ALSBasicRelationTerm__Group_5__0)
1469{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_5()); }
1470)
1471
1472 |(
1473{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_6()); }
1474(rule__ALSBasicRelationTerm__Group_6__0)
1475{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_6()); }
1476)
1477
1478 |(
1479{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_7()); }
1480(rule__ALSBasicRelationTerm__Group_7__0)
1481{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_7()); }
1482)
1483
1484 |(
1485{ before(grammarAccess.getALSBasicRelationTermAccess().getGroup_8()); }
1486(rule__ALSBasicRelationTerm__Group_8__0)
1487{ after(grammarAccess.getALSBasicRelationTermAccess().getGroup_8()); }
1488)
1489
1490;
1491finally {
1492 restoreStackSize(stackSize);
1493}
1494
1495rule__ALSTypeScope__Alternatives
1496 @init {
1497 int stackSize = keepStackSize();
1498 }
1499:
1500(
1501{ before(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0()); }
1502 ruleALSSigScope
1503{ after(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0()); }
1504)
1505
1506 |(
1507{ before(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1()); }
1508 ruleALSIntScope
1509{ after(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1()); }
1510)
1511
1512 |(
1513{ before(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2()); }
1514 ruleALSStringScope
1515{ after(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2()); }
1516)
1517
1518;
1519finally {
1520 restoreStackSize(stackSize);
1521}
1522
1523rule__ALSMultiplicity__Alternatives
1524 @init {
1525 int stackSize = keepStackSize();
1526 }
1527:
1528(
1529{ before(grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0()); }
1530( 'all'
1531)
1532{ after(grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0()); }
1533)
1534
1535 |(
1536{ before(grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1()); }
1537( 'no'
1538)
1539{ after(grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1()); }
1540)
1541
1542 |(
1543{ before(grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2()); }
1544( 'some'
1545)
1546{ after(grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2()); }
1547)
1548
1549 |(
1550{ before(grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3()); }
1551( 'lone'
1552)
1553{ after(grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3()); }
1554)
1555
1556 |(
1557{ before(grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4()); }
1558( 'one'
1559)
1560{ after(grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4()); }
1561)
1562
1563 |(
1564{ before(grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5()); }
1565( 'set'
1566)
1567{ after(grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5()); }
1568)
1569
1570;
1571finally {
1572 restoreStackSize(stackSize);
1573}
1574
1575rule__ALSNumericOperator__Alternatives
1576 @init {
1577 int stackSize = keepStackSize();
1578 }
1579:
1580(
1581{ before(grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0()); }
1582( 'plus'
1583)
1584{ after(grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0()); }
1585)
1586
1587 |(
1588{ before(grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1()); }
1589( 'sub'
1590)
1591{ after(grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1()); }
1592)
1593
1594 |(
1595{ before(grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2()); }
1596( 'mul'
1597)
1598{ after(grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2()); }
1599)
1600
1601 |(
1602{ before(grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3()); }
1603( 'rem'
1604)
1605{ after(grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3()); }
1606)
1607
1608 |(
1609{ before(grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4()); }
1610( 'div'
1611)
1612{ after(grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4()); }
1613)
1614
1615;
1616finally {
1617 restoreStackSize(stackSize);
1618}
1619
1620
1621
1622rule__ALSDocument__Group__0
1623 @init {
1624 int stackSize = keepStackSize();
1625 }
1626:
1627 rule__ALSDocument__Group__0__Impl
1628 rule__ALSDocument__Group__1
1629;
1630finally {
1631 restoreStackSize(stackSize);
1632}
1633
1634rule__ALSDocument__Group__0__Impl
1635 @init {
1636 int stackSize = keepStackSize();
1637 }
1638:
1639(
1640(
1641{ before(grammarAccess.getALSDocumentAccess().getAlternatives_0()); }
1642(rule__ALSDocument__Alternatives_0)
1643{ after(grammarAccess.getALSDocumentAccess().getAlternatives_0()); }
1644)
1645(
1646{ before(grammarAccess.getALSDocumentAccess().getAlternatives_0()); }
1647(rule__ALSDocument__Alternatives_0)*
1648{ after(grammarAccess.getALSDocumentAccess().getAlternatives_0()); }
1649)
1650)
1651
1652;
1653finally {
1654 restoreStackSize(stackSize);
1655}
1656
1657
1658rule__ALSDocument__Group__1
1659 @init {
1660 int stackSize = keepStackSize();
1661 }
1662:
1663 rule__ALSDocument__Group__1__Impl
1664;
1665finally {
1666 restoreStackSize(stackSize);
1667}
1668
1669rule__ALSDocument__Group__1__Impl
1670 @init {
1671 int stackSize = keepStackSize();
1672 }
1673:
1674(
1675{ before(grammarAccess.getALSDocumentAccess().getRunCommandAssignment_1()); }
1676(rule__ALSDocument__RunCommandAssignment_1)
1677{ after(grammarAccess.getALSDocumentAccess().getRunCommandAssignment_1()); }
1678)
1679
1680;
1681finally {
1682 restoreStackSize(stackSize);
1683}
1684
1685
1686
1687
1688
1689
1690rule__ALSEnumDeclaration__Group__0
1691 @init {
1692 int stackSize = keepStackSize();
1693 }
1694:
1695 rule__ALSEnumDeclaration__Group__0__Impl
1696 rule__ALSEnumDeclaration__Group__1
1697;
1698finally {
1699 restoreStackSize(stackSize);
1700}
1701
1702rule__ALSEnumDeclaration__Group__0__Impl
1703 @init {
1704 int stackSize = keepStackSize();
1705 }
1706:
1707(
1708{ before(grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0()); }
1709
1710 'enum'
1711
1712{ after(grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0()); }
1713)
1714
1715;
1716finally {
1717 restoreStackSize(stackSize);
1718}
1719
1720
1721rule__ALSEnumDeclaration__Group__1
1722 @init {
1723 int stackSize = keepStackSize();
1724 }
1725:
1726 rule__ALSEnumDeclaration__Group__1__Impl
1727 rule__ALSEnumDeclaration__Group__2
1728;
1729finally {
1730 restoreStackSize(stackSize);
1731}
1732
1733rule__ALSEnumDeclaration__Group__1__Impl
1734 @init {
1735 int stackSize = keepStackSize();
1736 }
1737:
1738(
1739{ before(grammarAccess.getALSEnumDeclarationAccess().getNameAssignment_1()); }
1740(rule__ALSEnumDeclaration__NameAssignment_1)
1741{ after(grammarAccess.getALSEnumDeclarationAccess().getNameAssignment_1()); }
1742)
1743
1744;
1745finally {
1746 restoreStackSize(stackSize);
1747}
1748
1749
1750rule__ALSEnumDeclaration__Group__2
1751 @init {
1752 int stackSize = keepStackSize();
1753 }
1754:
1755 rule__ALSEnumDeclaration__Group__2__Impl
1756 rule__ALSEnumDeclaration__Group__3
1757;
1758finally {
1759 restoreStackSize(stackSize);
1760}
1761
1762rule__ALSEnumDeclaration__Group__2__Impl
1763 @init {
1764 int stackSize = keepStackSize();
1765 }
1766:
1767(
1768{ before(grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2()); }
1769
1770 '{'
1771
1772{ after(grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2()); }
1773)
1774
1775;
1776finally {
1777 restoreStackSize(stackSize);
1778}
1779
1780
1781rule__ALSEnumDeclaration__Group__3
1782 @init {
1783 int stackSize = keepStackSize();
1784 }
1785:
1786 rule__ALSEnumDeclaration__Group__3__Impl
1787 rule__ALSEnumDeclaration__Group__4
1788;
1789finally {
1790 restoreStackSize(stackSize);
1791}
1792
1793rule__ALSEnumDeclaration__Group__3__Impl
1794 @init {
1795 int stackSize = keepStackSize();
1796 }
1797:
1798(
1799{ before(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_3()); }
1800(rule__ALSEnumDeclaration__LiteralAssignment_3)
1801{ after(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_3()); }
1802)
1803
1804;
1805finally {
1806 restoreStackSize(stackSize);
1807}
1808
1809
1810rule__ALSEnumDeclaration__Group__4
1811 @init {
1812 int stackSize = keepStackSize();
1813 }
1814:
1815 rule__ALSEnumDeclaration__Group__4__Impl
1816 rule__ALSEnumDeclaration__Group__5
1817;
1818finally {
1819 restoreStackSize(stackSize);
1820}
1821
1822rule__ALSEnumDeclaration__Group__4__Impl
1823 @init {
1824 int stackSize = keepStackSize();
1825 }
1826:
1827(
1828{ before(grammarAccess.getALSEnumDeclarationAccess().getGroup_4()); }
1829(rule__ALSEnumDeclaration__Group_4__0)*
1830{ after(grammarAccess.getALSEnumDeclarationAccess().getGroup_4()); }
1831)
1832
1833;
1834finally {
1835 restoreStackSize(stackSize);
1836}
1837
1838
1839rule__ALSEnumDeclaration__Group__5
1840 @init {
1841 int stackSize = keepStackSize();
1842 }
1843:
1844 rule__ALSEnumDeclaration__Group__5__Impl
1845;
1846finally {
1847 restoreStackSize(stackSize);
1848}
1849
1850rule__ALSEnumDeclaration__Group__5__Impl
1851 @init {
1852 int stackSize = keepStackSize();
1853 }
1854:
1855(
1856{ before(grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5()); }
1857
1858 '}'
1859
1860{ after(grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5()); }
1861)
1862
1863;
1864finally {
1865 restoreStackSize(stackSize);
1866}
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881rule__ALSEnumDeclaration__Group_4__0
1882 @init {
1883 int stackSize = keepStackSize();
1884 }
1885:
1886 rule__ALSEnumDeclaration__Group_4__0__Impl
1887 rule__ALSEnumDeclaration__Group_4__1
1888;
1889finally {
1890 restoreStackSize(stackSize);
1891}
1892
1893rule__ALSEnumDeclaration__Group_4__0__Impl
1894 @init {
1895 int stackSize = keepStackSize();
1896 }
1897:
1898(
1899{ before(grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0()); }
1900
1901 ','
1902
1903{ after(grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0()); }
1904)
1905
1906;
1907finally {
1908 restoreStackSize(stackSize);
1909}
1910
1911
1912rule__ALSEnumDeclaration__Group_4__1
1913 @init {
1914 int stackSize = keepStackSize();
1915 }
1916:
1917 rule__ALSEnumDeclaration__Group_4__1__Impl
1918;
1919finally {
1920 restoreStackSize(stackSize);
1921}
1922
1923rule__ALSEnumDeclaration__Group_4__1__Impl
1924 @init {
1925 int stackSize = keepStackSize();
1926 }
1927:
1928(
1929{ before(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_4_1()); }
1930(rule__ALSEnumDeclaration__LiteralAssignment_4_1)
1931{ after(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_4_1()); }
1932)
1933
1934;
1935finally {
1936 restoreStackSize(stackSize);
1937}
1938
1939
1940
1941
1942
1943
1944rule__ALSSignatureBody__Group__0
1945 @init {
1946 int stackSize = keepStackSize();
1947 }
1948:
1949 rule__ALSSignatureBody__Group__0__Impl
1950 rule__ALSSignatureBody__Group__1
1951;
1952finally {
1953 restoreStackSize(stackSize);
1954}
1955
1956rule__ALSSignatureBody__Group__0__Impl
1957 @init {
1958 int stackSize = keepStackSize();
1959 }
1960:
1961(
1962{ before(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); }
1963(rule__ALSSignatureBody__UnorderedGroup_0)
1964{ after(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); }
1965)
1966
1967;
1968finally {
1969 restoreStackSize(stackSize);
1970}
1971
1972
1973rule__ALSSignatureBody__Group__1
1974 @init {
1975 int stackSize = keepStackSize();
1976 }
1977:
1978 rule__ALSSignatureBody__Group__1__Impl
1979 rule__ALSSignatureBody__Group__2
1980;
1981finally {
1982 restoreStackSize(stackSize);
1983}
1984
1985rule__ALSSignatureBody__Group__1__Impl
1986 @init {
1987 int stackSize = keepStackSize();
1988 }
1989:
1990(
1991{ before(grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1()); }
1992
1993 'sig'
1994
1995{ after(grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1()); }
1996)
1997
1998;
1999finally {
2000 restoreStackSize(stackSize);
2001}
2002
2003
2004rule__ALSSignatureBody__Group__2
2005 @init {
2006 int stackSize = keepStackSize();
2007 }
2008:
2009 rule__ALSSignatureBody__Group__2__Impl
2010 rule__ALSSignatureBody__Group__3
2011;
2012finally {
2013 restoreStackSize(stackSize);
2014}
2015
2016rule__ALSSignatureBody__Group__2__Impl
2017 @init {
2018 int stackSize = keepStackSize();
2019 }
2020:
2021(
2022{ before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_2()); }
2023(rule__ALSSignatureBody__DeclarationsAssignment_2)
2024{ after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_2()); }
2025)
2026
2027;
2028finally {
2029 restoreStackSize(stackSize);
2030}
2031
2032
2033rule__ALSSignatureBody__Group__3
2034 @init {
2035 int stackSize = keepStackSize();
2036 }
2037:
2038 rule__ALSSignatureBody__Group__3__Impl
2039 rule__ALSSignatureBody__Group__4
2040;
2041finally {
2042 restoreStackSize(stackSize);
2043}
2044
2045rule__ALSSignatureBody__Group__3__Impl
2046 @init {
2047 int stackSize = keepStackSize();
2048 }
2049:
2050(
2051{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_3()); }
2052(rule__ALSSignatureBody__Group_3__0)*
2053{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_3()); }
2054)
2055
2056;
2057finally {
2058 restoreStackSize(stackSize);
2059}
2060
2061
2062rule__ALSSignatureBody__Group__4
2063 @init {
2064 int stackSize = keepStackSize();
2065 }
2066:
2067 rule__ALSSignatureBody__Group__4__Impl
2068 rule__ALSSignatureBody__Group__5
2069;
2070finally {
2071 restoreStackSize(stackSize);
2072}
2073
2074rule__ALSSignatureBody__Group__4__Impl
2075 @init {
2076 int stackSize = keepStackSize();
2077 }
2078:
2079(
2080{ before(grammarAccess.getALSSignatureBodyAccess().getAlternatives_4()); }
2081(rule__ALSSignatureBody__Alternatives_4)?
2082{ after(grammarAccess.getALSSignatureBodyAccess().getAlternatives_4()); }
2083)
2084
2085;
2086finally {
2087 restoreStackSize(stackSize);
2088}
2089
2090
2091rule__ALSSignatureBody__Group__5
2092 @init {
2093 int stackSize = keepStackSize();
2094 }
2095:
2096 rule__ALSSignatureBody__Group__5__Impl
2097 rule__ALSSignatureBody__Group__6
2098;
2099finally {
2100 restoreStackSize(stackSize);
2101}
2102
2103rule__ALSSignatureBody__Group__5__Impl
2104 @init {
2105 int stackSize = keepStackSize();
2106 }
2107:
2108(
2109{ before(grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5()); }
2110
2111 '{'
2112
2113{ after(grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5()); }
2114)
2115
2116;
2117finally {
2118 restoreStackSize(stackSize);
2119}
2120
2121
2122rule__ALSSignatureBody__Group__6
2123 @init {
2124 int stackSize = keepStackSize();
2125 }
2126:
2127 rule__ALSSignatureBody__Group__6__Impl
2128 rule__ALSSignatureBody__Group__7
2129;
2130finally {
2131 restoreStackSize(stackSize);
2132}
2133
2134rule__ALSSignatureBody__Group__6__Impl
2135 @init {
2136 int stackSize = keepStackSize();
2137 }
2138:
2139(
2140{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_6()); }
2141(rule__ALSSignatureBody__Group_6__0)?
2142{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_6()); }
2143)
2144
2145;
2146finally {
2147 restoreStackSize(stackSize);
2148}
2149
2150
2151rule__ALSSignatureBody__Group__7
2152 @init {
2153 int stackSize = keepStackSize();
2154 }
2155:
2156 rule__ALSSignatureBody__Group__7__Impl
2157;
2158finally {
2159 restoreStackSize(stackSize);
2160}
2161
2162rule__ALSSignatureBody__Group__7__Impl
2163 @init {
2164 int stackSize = keepStackSize();
2165 }
2166:
2167(
2168{ before(grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7()); }
2169
2170 '}'
2171
2172{ after(grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7()); }
2173)
2174
2175;
2176finally {
2177 restoreStackSize(stackSize);
2178}
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197rule__ALSSignatureBody__Group_3__0
2198 @init {
2199 int stackSize = keepStackSize();
2200 }
2201:
2202 rule__ALSSignatureBody__Group_3__0__Impl
2203 rule__ALSSignatureBody__Group_3__1
2204;
2205finally {
2206 restoreStackSize(stackSize);
2207}
2208
2209rule__ALSSignatureBody__Group_3__0__Impl
2210 @init {
2211 int stackSize = keepStackSize();
2212 }
2213:
2214(
2215{ before(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0()); }
2216
2217 ','
2218
2219{ after(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0()); }
2220)
2221
2222;
2223finally {
2224 restoreStackSize(stackSize);
2225}
2226
2227
2228rule__ALSSignatureBody__Group_3__1
2229 @init {
2230 int stackSize = keepStackSize();
2231 }
2232:
2233 rule__ALSSignatureBody__Group_3__1__Impl
2234;
2235finally {
2236 restoreStackSize(stackSize);
2237}
2238
2239rule__ALSSignatureBody__Group_3__1__Impl
2240 @init {
2241 int stackSize = keepStackSize();
2242 }
2243:
2244(
2245{ before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_3_1()); }
2246(rule__ALSSignatureBody__DeclarationsAssignment_3_1)
2247{ after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_3_1()); }
2248)
2249
2250;
2251finally {
2252 restoreStackSize(stackSize);
2253}
2254
2255
2256
2257
2258
2259
2260rule__ALSSignatureBody__Group_4_0__0
2261 @init {
2262 int stackSize = keepStackSize();
2263 }
2264:
2265 rule__ALSSignatureBody__Group_4_0__0__Impl
2266 rule__ALSSignatureBody__Group_4_0__1
2267;
2268finally {
2269 restoreStackSize(stackSize);
2270}
2271
2272rule__ALSSignatureBody__Group_4_0__0__Impl
2273 @init {
2274 int stackSize = keepStackSize();
2275 }
2276:
2277(
2278{ before(grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0()); }
2279
2280 'extends'
2281
2282{ after(grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0()); }
2283)
2284
2285;
2286finally {
2287 restoreStackSize(stackSize);
2288}
2289
2290
2291rule__ALSSignatureBody__Group_4_0__1
2292 @init {
2293 int stackSize = keepStackSize();
2294 }
2295:
2296 rule__ALSSignatureBody__Group_4_0__1__Impl
2297;
2298finally {
2299 restoreStackSize(stackSize);
2300}
2301
2302rule__ALSSignatureBody__Group_4_0__1__Impl
2303 @init {
2304 int stackSize = keepStackSize();
2305 }
2306:
2307(
2308{ before(grammarAccess.getALSSignatureBodyAccess().getSupertypeAssignment_4_0_1()); }
2309(rule__ALSSignatureBody__SupertypeAssignment_4_0_1)
2310{ after(grammarAccess.getALSSignatureBodyAccess().getSupertypeAssignment_4_0_1()); }
2311)
2312
2313;
2314finally {
2315 restoreStackSize(stackSize);
2316}
2317
2318
2319
2320
2321
2322
2323rule__ALSSignatureBody__Group_4_1__0
2324 @init {
2325 int stackSize = keepStackSize();
2326 }
2327:
2328 rule__ALSSignatureBody__Group_4_1__0__Impl
2329 rule__ALSSignatureBody__Group_4_1__1
2330;
2331finally {
2332 restoreStackSize(stackSize);
2333}
2334
2335rule__ALSSignatureBody__Group_4_1__0__Impl
2336 @init {
2337 int stackSize = keepStackSize();
2338 }
2339:
2340(
2341{ before(grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0()); }
2342
2343 'in'
2344
2345{ after(grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0()); }
2346)
2347
2348;
2349finally {
2350 restoreStackSize(stackSize);
2351}
2352
2353
2354rule__ALSSignatureBody__Group_4_1__1
2355 @init {
2356 int stackSize = keepStackSize();
2357 }
2358:
2359 rule__ALSSignatureBody__Group_4_1__1__Impl
2360 rule__ALSSignatureBody__Group_4_1__2
2361;
2362finally {
2363 restoreStackSize(stackSize);
2364}
2365
2366rule__ALSSignatureBody__Group_4_1__1__Impl
2367 @init {
2368 int stackSize = keepStackSize();
2369 }
2370:
2371(
2372{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_1()); }
2373(rule__ALSSignatureBody__SupersetAssignment_4_1_1)
2374{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_1()); }
2375)
2376
2377;
2378finally {
2379 restoreStackSize(stackSize);
2380}
2381
2382
2383rule__ALSSignatureBody__Group_4_1__2
2384 @init {
2385 int stackSize = keepStackSize();
2386 }
2387:
2388 rule__ALSSignatureBody__Group_4_1__2__Impl
2389;
2390finally {
2391 restoreStackSize(stackSize);
2392}
2393
2394rule__ALSSignatureBody__Group_4_1__2__Impl
2395 @init {
2396 int stackSize = keepStackSize();
2397 }
2398:
2399(
2400{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1_2()); }
2401(rule__ALSSignatureBody__Group_4_1_2__0)*
2402{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1_2()); }
2403)
2404
2405;
2406finally {
2407 restoreStackSize(stackSize);
2408}
2409
2410
2411
2412
2413
2414
2415
2416
2417rule__ALSSignatureBody__Group_4_1_2__0
2418 @init {
2419 int stackSize = keepStackSize();
2420 }
2421:
2422 rule__ALSSignatureBody__Group_4_1_2__0__Impl
2423 rule__ALSSignatureBody__Group_4_1_2__1
2424;
2425finally {
2426 restoreStackSize(stackSize);
2427}
2428
2429rule__ALSSignatureBody__Group_4_1_2__0__Impl
2430 @init {
2431 int stackSize = keepStackSize();
2432 }
2433:
2434(
2435{ before(grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0()); }
2436
2437 '+'
2438
2439{ after(grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0()); }
2440)
2441
2442;
2443finally {
2444 restoreStackSize(stackSize);
2445}
2446
2447
2448rule__ALSSignatureBody__Group_4_1_2__1
2449 @init {
2450 int stackSize = keepStackSize();
2451 }
2452:
2453 rule__ALSSignatureBody__Group_4_1_2__1__Impl
2454;
2455finally {
2456 restoreStackSize(stackSize);
2457}
2458
2459rule__ALSSignatureBody__Group_4_1_2__1__Impl
2460 @init {
2461 int stackSize = keepStackSize();
2462 }
2463:
2464(
2465{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_2_1()); }
2466(rule__ALSSignatureBody__SupersetAssignment_4_1_2_1)
2467{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_2_1()); }
2468)
2469
2470;
2471finally {
2472 restoreStackSize(stackSize);
2473}
2474
2475
2476
2477
2478
2479
2480rule__ALSSignatureBody__Group_6__0
2481 @init {
2482 int stackSize = keepStackSize();
2483 }
2484:
2485 rule__ALSSignatureBody__Group_6__0__Impl
2486 rule__ALSSignatureBody__Group_6__1
2487;
2488finally {
2489 restoreStackSize(stackSize);
2490}
2491
2492rule__ALSSignatureBody__Group_6__0__Impl
2493 @init {
2494 int stackSize = keepStackSize();
2495 }
2496:
2497(
2498{ before(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_0()); }
2499(rule__ALSSignatureBody__FieldsAssignment_6_0)
2500{ after(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_0()); }
2501)
2502
2503;
2504finally {
2505 restoreStackSize(stackSize);
2506}
2507
2508
2509rule__ALSSignatureBody__Group_6__1
2510 @init {
2511 int stackSize = keepStackSize();
2512 }
2513:
2514 rule__ALSSignatureBody__Group_6__1__Impl
2515;
2516finally {
2517 restoreStackSize(stackSize);
2518}
2519
2520rule__ALSSignatureBody__Group_6__1__Impl
2521 @init {
2522 int stackSize = keepStackSize();
2523 }
2524:
2525(
2526{ before(grammarAccess.getALSSignatureBodyAccess().getGroup_6_1()); }
2527(rule__ALSSignatureBody__Group_6_1__0)*
2528{ after(grammarAccess.getALSSignatureBodyAccess().getGroup_6_1()); }
2529)
2530
2531;
2532finally {
2533 restoreStackSize(stackSize);
2534}
2535
2536
2537
2538
2539
2540
2541rule__ALSSignatureBody__Group_6_1__0
2542 @init {
2543 int stackSize = keepStackSize();
2544 }
2545:
2546 rule__ALSSignatureBody__Group_6_1__0__Impl
2547 rule__ALSSignatureBody__Group_6_1__1
2548;
2549finally {
2550 restoreStackSize(stackSize);
2551}
2552
2553rule__ALSSignatureBody__Group_6_1__0__Impl
2554 @init {
2555 int stackSize = keepStackSize();
2556 }
2557:
2558(
2559{ before(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0()); }
2560
2561 ','
2562
2563{ after(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0()); }
2564)
2565
2566;
2567finally {
2568 restoreStackSize(stackSize);
2569}
2570
2571
2572rule__ALSSignatureBody__Group_6_1__1
2573 @init {
2574 int stackSize = keepStackSize();
2575 }
2576:
2577 rule__ALSSignatureBody__Group_6_1__1__Impl
2578;
2579finally {
2580 restoreStackSize(stackSize);
2581}
2582
2583rule__ALSSignatureBody__Group_6_1__1__Impl
2584 @init {
2585 int stackSize = keepStackSize();
2586 }
2587:
2588(
2589{ before(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_1_1()); }
2590(rule__ALSSignatureBody__FieldsAssignment_6_1_1)
2591{ after(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_1_1()); }
2592)
2593
2594;
2595finally {
2596 restoreStackSize(stackSize);
2597}
2598
2599
2600
2601
2602
2603
2604rule__ALSFieldDeclaration__Group__0
2605 @init {
2606 int stackSize = keepStackSize();
2607 }
2608:
2609 rule__ALSFieldDeclaration__Group__0__Impl
2610 rule__ALSFieldDeclaration__Group__1
2611;
2612finally {
2613 restoreStackSize(stackSize);
2614}
2615
2616rule__ALSFieldDeclaration__Group__0__Impl
2617 @init {
2618 int stackSize = keepStackSize();
2619 }
2620:
2621(
2622{ before(grammarAccess.getALSFieldDeclarationAccess().getNameAssignment_0()); }
2623(rule__ALSFieldDeclaration__NameAssignment_0)
2624{ after(grammarAccess.getALSFieldDeclarationAccess().getNameAssignment_0()); }
2625)
2626
2627;
2628finally {
2629 restoreStackSize(stackSize);
2630}
2631
2632
2633rule__ALSFieldDeclaration__Group__1
2634 @init {
2635 int stackSize = keepStackSize();
2636 }
2637:
2638 rule__ALSFieldDeclaration__Group__1__Impl
2639 rule__ALSFieldDeclaration__Group__2
2640;
2641finally {
2642 restoreStackSize(stackSize);
2643}
2644
2645rule__ALSFieldDeclaration__Group__1__Impl
2646 @init {
2647 int stackSize = keepStackSize();
2648 }
2649:
2650(
2651{ before(grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1()); }
2652
2653 ':'
2654
2655{ after(grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1()); }
2656)
2657
2658;
2659finally {
2660 restoreStackSize(stackSize);
2661}
2662
2663
2664rule__ALSFieldDeclaration__Group__2
2665 @init {
2666 int stackSize = keepStackSize();
2667 }
2668:
2669 rule__ALSFieldDeclaration__Group__2__Impl
2670 rule__ALSFieldDeclaration__Group__3
2671;
2672finally {
2673 restoreStackSize(stackSize);
2674}
2675
2676rule__ALSFieldDeclaration__Group__2__Impl
2677 @init {
2678 int stackSize = keepStackSize();
2679 }
2680:
2681(
2682{ before(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityAssignment_2()); }
2683(rule__ALSFieldDeclaration__MultiplicityAssignment_2)?
2684{ after(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityAssignment_2()); }
2685)
2686
2687;
2688finally {
2689 restoreStackSize(stackSize);
2690}
2691
2692
2693rule__ALSFieldDeclaration__Group__3
2694 @init {
2695 int stackSize = keepStackSize();
2696 }
2697:
2698 rule__ALSFieldDeclaration__Group__3__Impl
2699;
2700finally {
2701 restoreStackSize(stackSize);
2702}
2703
2704rule__ALSFieldDeclaration__Group__3__Impl
2705 @init {
2706 int stackSize = keepStackSize();
2707 }
2708:
2709(
2710{ before(grammarAccess.getALSFieldDeclarationAccess().getTypeAssignment_3()); }
2711(rule__ALSFieldDeclaration__TypeAssignment_3)
2712{ after(grammarAccess.getALSFieldDeclarationAccess().getTypeAssignment_3()); }
2713)
2714
2715;
2716finally {
2717 restoreStackSize(stackSize);
2718}
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729rule__ALSFunctionDefinition__Group__0
2730 @init {
2731 int stackSize = keepStackSize();
2732 }
2733:
2734 rule__ALSFunctionDefinition__Group__0__Impl
2735 rule__ALSFunctionDefinition__Group__1
2736;
2737finally {
2738 restoreStackSize(stackSize);
2739}
2740
2741rule__ALSFunctionDefinition__Group__0__Impl
2742 @init {
2743 int stackSize = keepStackSize();
2744 }
2745:
2746(
2747{ before(grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0()); }
2748
2749 'fun'
2750
2751{ after(grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0()); }
2752)
2753
2754;
2755finally {
2756 restoreStackSize(stackSize);
2757}
2758
2759
2760rule__ALSFunctionDefinition__Group__1
2761 @init {
2762 int stackSize = keepStackSize();
2763 }
2764:
2765 rule__ALSFunctionDefinition__Group__1__Impl
2766 rule__ALSFunctionDefinition__Group__2
2767;
2768finally {
2769 restoreStackSize(stackSize);
2770}
2771
2772rule__ALSFunctionDefinition__Group__1__Impl
2773 @init {
2774 int stackSize = keepStackSize();
2775 }
2776:
2777(
2778{ before(grammarAccess.getALSFunctionDefinitionAccess().getNameAssignment_1()); }
2779(rule__ALSFunctionDefinition__NameAssignment_1)
2780{ after(grammarAccess.getALSFunctionDefinitionAccess().getNameAssignment_1()); }
2781)
2782
2783;
2784finally {
2785 restoreStackSize(stackSize);
2786}
2787
2788
2789rule__ALSFunctionDefinition__Group__2
2790 @init {
2791 int stackSize = keepStackSize();
2792 }
2793:
2794 rule__ALSFunctionDefinition__Group__2__Impl
2795 rule__ALSFunctionDefinition__Group__3
2796;
2797finally {
2798 restoreStackSize(stackSize);
2799}
2800
2801rule__ALSFunctionDefinition__Group__2__Impl
2802 @init {
2803 int stackSize = keepStackSize();
2804 }
2805:
2806(
2807{ before(grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2()); }
2808
2809 '['
2810
2811{ after(grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2()); }
2812)
2813
2814;
2815finally {
2816 restoreStackSize(stackSize);
2817}
2818
2819
2820rule__ALSFunctionDefinition__Group__3
2821 @init {
2822 int stackSize = keepStackSize();
2823 }
2824:
2825 rule__ALSFunctionDefinition__Group__3__Impl
2826 rule__ALSFunctionDefinition__Group__4
2827;
2828finally {
2829 restoreStackSize(stackSize);
2830}
2831
2832rule__ALSFunctionDefinition__Group__3__Impl
2833 @init {
2834 int stackSize = keepStackSize();
2835 }
2836:
2837(
2838{ before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_3()); }
2839(rule__ALSFunctionDefinition__VariablesAssignment_3)
2840{ after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_3()); }
2841)
2842
2843;
2844finally {
2845 restoreStackSize(stackSize);
2846}
2847
2848
2849rule__ALSFunctionDefinition__Group__4
2850 @init {
2851 int stackSize = keepStackSize();
2852 }
2853:
2854 rule__ALSFunctionDefinition__Group__4__Impl
2855 rule__ALSFunctionDefinition__Group__5
2856;
2857finally {
2858 restoreStackSize(stackSize);
2859}
2860
2861rule__ALSFunctionDefinition__Group__4__Impl
2862 @init {
2863 int stackSize = keepStackSize();
2864 }
2865:
2866(
2867{ before(grammarAccess.getALSFunctionDefinitionAccess().getGroup_4()); }
2868(rule__ALSFunctionDefinition__Group_4__0)*
2869{ after(grammarAccess.getALSFunctionDefinitionAccess().getGroup_4()); }
2870)
2871
2872;
2873finally {
2874 restoreStackSize(stackSize);
2875}
2876
2877
2878rule__ALSFunctionDefinition__Group__5
2879 @init {
2880 int stackSize = keepStackSize();
2881 }
2882:
2883 rule__ALSFunctionDefinition__Group__5__Impl
2884 rule__ALSFunctionDefinition__Group__6
2885;
2886finally {
2887 restoreStackSize(stackSize);
2888}
2889
2890rule__ALSFunctionDefinition__Group__5__Impl
2891 @init {
2892 int stackSize = keepStackSize();
2893 }
2894:
2895(
2896{ before(grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5()); }
2897
2898 ']'
2899
2900{ after(grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5()); }
2901)
2902
2903;
2904finally {
2905 restoreStackSize(stackSize);
2906}
2907
2908
2909rule__ALSFunctionDefinition__Group__6
2910 @init {
2911 int stackSize = keepStackSize();
2912 }
2913:
2914 rule__ALSFunctionDefinition__Group__6__Impl
2915 rule__ALSFunctionDefinition__Group__7
2916;
2917finally {
2918 restoreStackSize(stackSize);
2919}
2920
2921rule__ALSFunctionDefinition__Group__6__Impl
2922 @init {
2923 int stackSize = keepStackSize();
2924 }
2925:
2926(
2927{ before(grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6()); }
2928
2929 ':'
2930
2931{ after(grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6()); }
2932)
2933
2934;
2935finally {
2936 restoreStackSize(stackSize);
2937}
2938
2939
2940rule__ALSFunctionDefinition__Group__7
2941 @init {
2942 int stackSize = keepStackSize();
2943 }
2944:
2945 rule__ALSFunctionDefinition__Group__7__Impl
2946 rule__ALSFunctionDefinition__Group__8
2947;
2948finally {
2949 restoreStackSize(stackSize);
2950}
2951
2952rule__ALSFunctionDefinition__Group__7__Impl
2953 @init {
2954 int stackSize = keepStackSize();
2955 }
2956:
2957(
2958{ before(grammarAccess.getALSFunctionDefinitionAccess().getTypeAssignment_7()); }
2959(rule__ALSFunctionDefinition__TypeAssignment_7)
2960{ after(grammarAccess.getALSFunctionDefinitionAccess().getTypeAssignment_7()); }
2961)
2962
2963;
2964finally {
2965 restoreStackSize(stackSize);
2966}
2967
2968
2969rule__ALSFunctionDefinition__Group__8
2970 @init {
2971 int stackSize = keepStackSize();
2972 }
2973:
2974 rule__ALSFunctionDefinition__Group__8__Impl
2975 rule__ALSFunctionDefinition__Group__9
2976;
2977finally {
2978 restoreStackSize(stackSize);
2979}
2980
2981rule__ALSFunctionDefinition__Group__8__Impl
2982 @init {
2983 int stackSize = keepStackSize();
2984 }
2985:
2986(
2987{ before(grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8()); }
2988
2989 '{'
2990
2991{ after(grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8()); }
2992)
2993
2994;
2995finally {
2996 restoreStackSize(stackSize);
2997}
2998
2999
3000rule__ALSFunctionDefinition__Group__9
3001 @init {
3002 int stackSize = keepStackSize();
3003 }
3004:
3005 rule__ALSFunctionDefinition__Group__9__Impl
3006 rule__ALSFunctionDefinition__Group__10
3007;
3008finally {
3009 restoreStackSize(stackSize);
3010}
3011
3012rule__ALSFunctionDefinition__Group__9__Impl
3013 @init {
3014 int stackSize = keepStackSize();
3015 }
3016:
3017(
3018{ before(grammarAccess.getALSFunctionDefinitionAccess().getValueAssignment_9()); }
3019(rule__ALSFunctionDefinition__ValueAssignment_9)
3020{ after(grammarAccess.getALSFunctionDefinitionAccess().getValueAssignment_9()); }
3021)
3022
3023;
3024finally {
3025 restoreStackSize(stackSize);
3026}
3027
3028
3029rule__ALSFunctionDefinition__Group__10
3030 @init {
3031 int stackSize = keepStackSize();
3032 }
3033:
3034 rule__ALSFunctionDefinition__Group__10__Impl
3035;
3036finally {
3037 restoreStackSize(stackSize);
3038}
3039
3040rule__ALSFunctionDefinition__Group__10__Impl
3041 @init {
3042 int stackSize = keepStackSize();
3043 }
3044:
3045(
3046{ before(grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10()); }
3047
3048 '}'
3049
3050{ after(grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10()); }
3051)
3052
3053;
3054finally {
3055 restoreStackSize(stackSize);
3056}
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081rule__ALSFunctionDefinition__Group_4__0
3082 @init {
3083 int stackSize = keepStackSize();
3084 }
3085:
3086 rule__ALSFunctionDefinition__Group_4__0__Impl
3087 rule__ALSFunctionDefinition__Group_4__1
3088;
3089finally {
3090 restoreStackSize(stackSize);
3091}
3092
3093rule__ALSFunctionDefinition__Group_4__0__Impl
3094 @init {
3095 int stackSize = keepStackSize();
3096 }
3097:
3098(
3099{ before(grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0()); }
3100
3101 ','
3102
3103{ after(grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0()); }
3104)
3105
3106;
3107finally {
3108 restoreStackSize(stackSize);
3109}
3110
3111
3112rule__ALSFunctionDefinition__Group_4__1
3113 @init {
3114 int stackSize = keepStackSize();
3115 }
3116:
3117 rule__ALSFunctionDefinition__Group_4__1__Impl
3118;
3119finally {
3120 restoreStackSize(stackSize);
3121}
3122
3123rule__ALSFunctionDefinition__Group_4__1__Impl
3124 @init {
3125 int stackSize = keepStackSize();
3126 }
3127:
3128(
3129{ before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_4_1()); }
3130(rule__ALSFunctionDefinition__VariablesAssignment_4_1)
3131{ after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_4_1()); }
3132)
3133
3134;
3135finally {
3136 restoreStackSize(stackSize);
3137}
3138
3139
3140
3141
3142
3143
3144rule__ALSRelationDefinition__Group__0
3145 @init {
3146 int stackSize = keepStackSize();
3147 }
3148:
3149 rule__ALSRelationDefinition__Group__0__Impl
3150 rule__ALSRelationDefinition__Group__1
3151;
3152finally {
3153 restoreStackSize(stackSize);
3154}
3155
3156rule__ALSRelationDefinition__Group__0__Impl
3157 @init {
3158 int stackSize = keepStackSize();
3159 }
3160:
3161(
3162{ before(grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0()); }
3163
3164 'pred'
3165
3166{ after(grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0()); }
3167)
3168
3169;
3170finally {
3171 restoreStackSize(stackSize);
3172}
3173
3174
3175rule__ALSRelationDefinition__Group__1
3176 @init {
3177 int stackSize = keepStackSize();
3178 }
3179:
3180 rule__ALSRelationDefinition__Group__1__Impl
3181 rule__ALSRelationDefinition__Group__2
3182;
3183finally {
3184 restoreStackSize(stackSize);
3185}
3186
3187rule__ALSRelationDefinition__Group__1__Impl
3188 @init {
3189 int stackSize = keepStackSize();
3190 }
3191:
3192(
3193{ before(grammarAccess.getALSRelationDefinitionAccess().getNameAssignment_1()); }
3194(rule__ALSRelationDefinition__NameAssignment_1)
3195{ after(grammarAccess.getALSRelationDefinitionAccess().getNameAssignment_1()); }
3196)
3197
3198;
3199finally {
3200 restoreStackSize(stackSize);
3201}
3202
3203
3204rule__ALSRelationDefinition__Group__2
3205 @init {
3206 int stackSize = keepStackSize();
3207 }
3208:
3209 rule__ALSRelationDefinition__Group__2__Impl
3210 rule__ALSRelationDefinition__Group__3
3211;
3212finally {
3213 restoreStackSize(stackSize);
3214}
3215
3216rule__ALSRelationDefinition__Group__2__Impl
3217 @init {
3218 int stackSize = keepStackSize();
3219 }
3220:
3221(
3222{ before(grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2()); }
3223
3224 '['
3225
3226{ after(grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2()); }
3227)
3228
3229;
3230finally {
3231 restoreStackSize(stackSize);
3232}
3233
3234
3235rule__ALSRelationDefinition__Group__3
3236 @init {
3237 int stackSize = keepStackSize();
3238 }
3239:
3240 rule__ALSRelationDefinition__Group__3__Impl
3241 rule__ALSRelationDefinition__Group__4
3242;
3243finally {
3244 restoreStackSize(stackSize);
3245}
3246
3247rule__ALSRelationDefinition__Group__3__Impl
3248 @init {
3249 int stackSize = keepStackSize();
3250 }
3251:
3252(
3253{ before(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_3()); }
3254(rule__ALSRelationDefinition__VariablesAssignment_3)
3255{ after(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_3()); }
3256)
3257
3258;
3259finally {
3260 restoreStackSize(stackSize);
3261}
3262
3263
3264rule__ALSRelationDefinition__Group__4
3265 @init {
3266 int stackSize = keepStackSize();
3267 }
3268:
3269 rule__ALSRelationDefinition__Group__4__Impl
3270 rule__ALSRelationDefinition__Group__5
3271;
3272finally {
3273 restoreStackSize(stackSize);
3274}
3275
3276rule__ALSRelationDefinition__Group__4__Impl
3277 @init {
3278 int stackSize = keepStackSize();
3279 }
3280:
3281(
3282{ before(grammarAccess.getALSRelationDefinitionAccess().getGroup_4()); }
3283(rule__ALSRelationDefinition__Group_4__0)*
3284{ after(grammarAccess.getALSRelationDefinitionAccess().getGroup_4()); }
3285)
3286
3287;
3288finally {
3289 restoreStackSize(stackSize);
3290}
3291
3292
3293rule__ALSRelationDefinition__Group__5
3294 @init {
3295 int stackSize = keepStackSize();
3296 }
3297:
3298 rule__ALSRelationDefinition__Group__5__Impl
3299 rule__ALSRelationDefinition__Group__6
3300;
3301finally {
3302 restoreStackSize(stackSize);
3303}
3304
3305rule__ALSRelationDefinition__Group__5__Impl
3306 @init {
3307 int stackSize = keepStackSize();
3308 }
3309:
3310(
3311{ before(grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5()); }
3312
3313 ']'
3314
3315{ after(grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5()); }
3316)
3317
3318;
3319finally {
3320 restoreStackSize(stackSize);
3321}
3322
3323
3324rule__ALSRelationDefinition__Group__6
3325 @init {
3326 int stackSize = keepStackSize();
3327 }
3328:
3329 rule__ALSRelationDefinition__Group__6__Impl
3330 rule__ALSRelationDefinition__Group__7
3331;
3332finally {
3333 restoreStackSize(stackSize);
3334}
3335
3336rule__ALSRelationDefinition__Group__6__Impl
3337 @init {
3338 int stackSize = keepStackSize();
3339 }
3340:
3341(
3342{ before(grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6()); }
3343
3344 '{'
3345
3346{ after(grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6()); }
3347)
3348
3349;
3350finally {
3351 restoreStackSize(stackSize);
3352}
3353
3354
3355rule__ALSRelationDefinition__Group__7
3356 @init {
3357 int stackSize = keepStackSize();
3358 }
3359:
3360 rule__ALSRelationDefinition__Group__7__Impl
3361 rule__ALSRelationDefinition__Group__8
3362;
3363finally {
3364 restoreStackSize(stackSize);
3365}
3366
3367rule__ALSRelationDefinition__Group__7__Impl
3368 @init {
3369 int stackSize = keepStackSize();
3370 }
3371:
3372(
3373{ before(grammarAccess.getALSRelationDefinitionAccess().getValueAssignment_7()); }
3374(rule__ALSRelationDefinition__ValueAssignment_7)
3375{ after(grammarAccess.getALSRelationDefinitionAccess().getValueAssignment_7()); }
3376)
3377
3378;
3379finally {
3380 restoreStackSize(stackSize);
3381}
3382
3383
3384rule__ALSRelationDefinition__Group__8
3385 @init {
3386 int stackSize = keepStackSize();
3387 }
3388:
3389 rule__ALSRelationDefinition__Group__8__Impl
3390;
3391finally {
3392 restoreStackSize(stackSize);
3393}
3394
3395rule__ALSRelationDefinition__Group__8__Impl
3396 @init {
3397 int stackSize = keepStackSize();
3398 }
3399:
3400(
3401{ before(grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8()); }
3402
3403 '}'
3404
3405{ after(grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8()); }
3406)
3407
3408;
3409finally {
3410 restoreStackSize(stackSize);
3411}
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432rule__ALSRelationDefinition__Group_4__0
3433 @init {
3434 int stackSize = keepStackSize();
3435 }
3436:
3437 rule__ALSRelationDefinition__Group_4__0__Impl
3438 rule__ALSRelationDefinition__Group_4__1
3439;
3440finally {
3441 restoreStackSize(stackSize);
3442}
3443
3444rule__ALSRelationDefinition__Group_4__0__Impl
3445 @init {
3446 int stackSize = keepStackSize();
3447 }
3448:
3449(
3450{ before(grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0()); }
3451
3452 ','
3453
3454{ after(grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0()); }
3455)
3456
3457;
3458finally {
3459 restoreStackSize(stackSize);
3460}
3461
3462
3463rule__ALSRelationDefinition__Group_4__1
3464 @init {
3465 int stackSize = keepStackSize();
3466 }
3467:
3468 rule__ALSRelationDefinition__Group_4__1__Impl
3469;
3470finally {
3471 restoreStackSize(stackSize);
3472}
3473
3474rule__ALSRelationDefinition__Group_4__1__Impl
3475 @init {
3476 int stackSize = keepStackSize();
3477 }
3478:
3479(
3480{ before(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_4_1()); }
3481(rule__ALSRelationDefinition__VariablesAssignment_4_1)
3482{ after(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_4_1()); }
3483)
3484
3485;
3486finally {
3487 restoreStackSize(stackSize);
3488}
3489
3490
3491
3492
3493
3494
3495rule__ALSFactDeclaration__Group__0
3496 @init {
3497 int stackSize = keepStackSize();
3498 }
3499:
3500 rule__ALSFactDeclaration__Group__0__Impl
3501 rule__ALSFactDeclaration__Group__1
3502;
3503finally {
3504 restoreStackSize(stackSize);
3505}
3506
3507rule__ALSFactDeclaration__Group__0__Impl
3508 @init {
3509 int stackSize = keepStackSize();
3510 }
3511:
3512(
3513{ before(grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0()); }
3514(
3515
3516)
3517{ after(grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0()); }
3518)
3519
3520;
3521finally {
3522 restoreStackSize(stackSize);
3523}
3524
3525
3526rule__ALSFactDeclaration__Group__1
3527 @init {
3528 int stackSize = keepStackSize();
3529 }
3530:
3531 rule__ALSFactDeclaration__Group__1__Impl
3532 rule__ALSFactDeclaration__Group__2
3533;
3534finally {
3535 restoreStackSize(stackSize);
3536}
3537
3538rule__ALSFactDeclaration__Group__1__Impl
3539 @init {
3540 int stackSize = keepStackSize();
3541 }
3542:
3543(
3544{ before(grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1()); }
3545
3546 'fact'
3547
3548{ after(grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1()); }
3549)
3550
3551;
3552finally {
3553 restoreStackSize(stackSize);
3554}
3555
3556
3557rule__ALSFactDeclaration__Group__2
3558 @init {
3559 int stackSize = keepStackSize();
3560 }
3561:
3562 rule__ALSFactDeclaration__Group__2__Impl
3563 rule__ALSFactDeclaration__Group__3
3564;
3565finally {
3566 restoreStackSize(stackSize);
3567}
3568
3569rule__ALSFactDeclaration__Group__2__Impl
3570 @init {
3571 int stackSize = keepStackSize();
3572 }
3573:
3574(
3575{ before(grammarAccess.getALSFactDeclarationAccess().getNameAssignment_2()); }
3576(rule__ALSFactDeclaration__NameAssignment_2)?
3577{ after(grammarAccess.getALSFactDeclarationAccess().getNameAssignment_2()); }
3578)
3579
3580;
3581finally {
3582 restoreStackSize(stackSize);
3583}
3584
3585
3586rule__ALSFactDeclaration__Group__3
3587 @init {
3588 int stackSize = keepStackSize();
3589 }
3590:
3591 rule__ALSFactDeclaration__Group__3__Impl
3592 rule__ALSFactDeclaration__Group__4
3593;
3594finally {
3595 restoreStackSize(stackSize);
3596}
3597
3598rule__ALSFactDeclaration__Group__3__Impl
3599 @init {
3600 int stackSize = keepStackSize();
3601 }
3602:
3603(
3604{ before(grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3()); }
3605
3606 '{'
3607
3608{ after(grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3()); }
3609)
3610
3611;
3612finally {
3613 restoreStackSize(stackSize);
3614}
3615
3616
3617rule__ALSFactDeclaration__Group__4
3618 @init {
3619 int stackSize = keepStackSize();
3620 }
3621:
3622 rule__ALSFactDeclaration__Group__4__Impl
3623 rule__ALSFactDeclaration__Group__5
3624;
3625finally {
3626 restoreStackSize(stackSize);
3627}
3628
3629rule__ALSFactDeclaration__Group__4__Impl
3630 @init {
3631 int stackSize = keepStackSize();
3632 }
3633:
3634(
3635{ before(grammarAccess.getALSFactDeclarationAccess().getTermAssignment_4()); }
3636(rule__ALSFactDeclaration__TermAssignment_4)
3637{ after(grammarAccess.getALSFactDeclarationAccess().getTermAssignment_4()); }
3638)
3639
3640;
3641finally {
3642 restoreStackSize(stackSize);
3643}
3644
3645
3646rule__ALSFactDeclaration__Group__5
3647 @init {
3648 int stackSize = keepStackSize();
3649 }
3650:
3651 rule__ALSFactDeclaration__Group__5__Impl
3652;
3653finally {
3654 restoreStackSize(stackSize);
3655}
3656
3657rule__ALSFactDeclaration__Group__5__Impl
3658 @init {
3659 int stackSize = keepStackSize();
3660 }
3661:
3662(
3663{ before(grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5()); }
3664
3665 '}'
3666
3667{ after(grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5()); }
3668)
3669
3670;
3671finally {
3672 restoreStackSize(stackSize);
3673}
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688rule__ALSQuantified__Group_0__0
3689 @init {
3690 int stackSize = keepStackSize();
3691 }
3692:
3693 rule__ALSQuantified__Group_0__0__Impl
3694 rule__ALSQuantified__Group_0__1
3695;
3696finally {
3697 restoreStackSize(stackSize);
3698}
3699
3700rule__ALSQuantified__Group_0__0__Impl
3701 @init {
3702 int stackSize = keepStackSize();
3703 }
3704:
3705(
3706{ before(grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0()); }
3707(
3708
3709)
3710{ after(grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0()); }
3711)
3712
3713;
3714finally {
3715 restoreStackSize(stackSize);
3716}
3717
3718
3719rule__ALSQuantified__Group_0__1
3720 @init {
3721 int stackSize = keepStackSize();
3722 }
3723:
3724 rule__ALSQuantified__Group_0__1__Impl
3725 rule__ALSQuantified__Group_0__2
3726;
3727finally {
3728 restoreStackSize(stackSize);
3729}
3730
3731rule__ALSQuantified__Group_0__1__Impl
3732 @init {
3733 int stackSize = keepStackSize();
3734 }
3735:
3736(
3737{ before(grammarAccess.getALSQuantifiedAccess().getTypeAssignment_0_1()); }
3738(rule__ALSQuantified__TypeAssignment_0_1)
3739{ after(grammarAccess.getALSQuantifiedAccess().getTypeAssignment_0_1()); }
3740)
3741
3742;
3743finally {
3744 restoreStackSize(stackSize);
3745}
3746
3747
3748rule__ALSQuantified__Group_0__2
3749 @init {
3750 int stackSize = keepStackSize();
3751 }
3752:
3753 rule__ALSQuantified__Group_0__2__Impl
3754 rule__ALSQuantified__Group_0__3
3755;
3756finally {
3757 restoreStackSize(stackSize);
3758}
3759
3760rule__ALSQuantified__Group_0__2__Impl
3761 @init {
3762 int stackSize = keepStackSize();
3763 }
3764:
3765(
3766{ before(grammarAccess.getALSQuantifiedAccess().getDisjAssignment_0_2()); }
3767(rule__ALSQuantified__DisjAssignment_0_2)?
3768{ after(grammarAccess.getALSQuantifiedAccess().getDisjAssignment_0_2()); }
3769)
3770
3771;
3772finally {
3773 restoreStackSize(stackSize);
3774}
3775
3776
3777rule__ALSQuantified__Group_0__3
3778 @init {
3779 int stackSize = keepStackSize();
3780 }
3781:
3782 rule__ALSQuantified__Group_0__3__Impl
3783 rule__ALSQuantified__Group_0__4
3784;
3785finally {
3786 restoreStackSize(stackSize);
3787}
3788
3789rule__ALSQuantified__Group_0__3__Impl
3790 @init {
3791 int stackSize = keepStackSize();
3792 }
3793:
3794(
3795{ before(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_3()); }
3796(rule__ALSQuantified__VariablesAssignment_0_3)
3797{ after(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_3()); }
3798)
3799
3800;
3801finally {
3802 restoreStackSize(stackSize);
3803}
3804
3805
3806rule__ALSQuantified__Group_0__4
3807 @init {
3808 int stackSize = keepStackSize();
3809 }
3810:
3811 rule__ALSQuantified__Group_0__4__Impl
3812 rule__ALSQuantified__Group_0__5
3813;
3814finally {
3815 restoreStackSize(stackSize);
3816}
3817
3818rule__ALSQuantified__Group_0__4__Impl
3819 @init {
3820 int stackSize = keepStackSize();
3821 }
3822:
3823(
3824{ before(grammarAccess.getALSQuantifiedAccess().getGroup_0_4()); }
3825(rule__ALSQuantified__Group_0_4__0)*
3826{ after(grammarAccess.getALSQuantifiedAccess().getGroup_0_4()); }
3827)
3828
3829;
3830finally {
3831 restoreStackSize(stackSize);
3832}
3833
3834
3835rule__ALSQuantified__Group_0__5
3836 @init {
3837 int stackSize = keepStackSize();
3838 }
3839:
3840 rule__ALSQuantified__Group_0__5__Impl
3841 rule__ALSQuantified__Group_0__6
3842;
3843finally {
3844 restoreStackSize(stackSize);
3845}
3846
3847rule__ALSQuantified__Group_0__5__Impl
3848 @init {
3849 int stackSize = keepStackSize();
3850 }
3851:
3852(
3853{ before(grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5()); }
3854
3855 '{'
3856
3857{ after(grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5()); }
3858)
3859
3860;
3861finally {
3862 restoreStackSize(stackSize);
3863}
3864
3865
3866rule__ALSQuantified__Group_0__6
3867 @init {
3868 int stackSize = keepStackSize();
3869 }
3870:
3871 rule__ALSQuantified__Group_0__6__Impl
3872 rule__ALSQuantified__Group_0__7
3873;
3874finally {
3875 restoreStackSize(stackSize);
3876}
3877
3878rule__ALSQuantified__Group_0__6__Impl
3879 @init {
3880 int stackSize = keepStackSize();
3881 }
3882:
3883(
3884{ before(grammarAccess.getALSQuantifiedAccess().getExpressionAssignment_0_6()); }
3885(rule__ALSQuantified__ExpressionAssignment_0_6)
3886{ after(grammarAccess.getALSQuantifiedAccess().getExpressionAssignment_0_6()); }
3887)
3888
3889;
3890finally {
3891 restoreStackSize(stackSize);
3892}
3893
3894
3895rule__ALSQuantified__Group_0__7
3896 @init {
3897 int stackSize = keepStackSize();
3898 }
3899:
3900 rule__ALSQuantified__Group_0__7__Impl
3901;
3902finally {
3903 restoreStackSize(stackSize);
3904}
3905
3906rule__ALSQuantified__Group_0__7__Impl
3907 @init {
3908 int stackSize = keepStackSize();
3909 }
3910:
3911(
3912{ before(grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7()); }
3913
3914 '}'
3915
3916{ after(grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7()); }
3917)
3918
3919;
3920finally {
3921 restoreStackSize(stackSize);
3922}
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941rule__ALSQuantified__Group_0_4__0
3942 @init {
3943 int stackSize = keepStackSize();
3944 }
3945:
3946 rule__ALSQuantified__Group_0_4__0__Impl
3947 rule__ALSQuantified__Group_0_4__1
3948;
3949finally {
3950 restoreStackSize(stackSize);
3951}
3952
3953rule__ALSQuantified__Group_0_4__0__Impl
3954 @init {
3955 int stackSize = keepStackSize();
3956 }
3957:
3958(
3959{ before(grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0()); }
3960
3961 ','
3962
3963{ after(grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0()); }
3964)
3965
3966;
3967finally {
3968 restoreStackSize(stackSize);
3969}
3970
3971
3972rule__ALSQuantified__Group_0_4__1
3973 @init {
3974 int stackSize = keepStackSize();
3975 }
3976:
3977 rule__ALSQuantified__Group_0_4__1__Impl
3978;
3979finally {
3980 restoreStackSize(stackSize);
3981}
3982
3983rule__ALSQuantified__Group_0_4__1__Impl
3984 @init {
3985 int stackSize = keepStackSize();
3986 }
3987:
3988(
3989{ before(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_4_1()); }
3990(rule__ALSQuantified__VariablesAssignment_0_4_1)
3991{ after(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_4_1()); }
3992)
3993
3994;
3995finally {
3996 restoreStackSize(stackSize);
3997}
3998
3999
4000
4001
4002
4003
4004rule__ALSOr__Group__0
4005 @init {
4006 int stackSize = keepStackSize();
4007 }
4008:
4009 rule__ALSOr__Group__0__Impl
4010 rule__ALSOr__Group__1
4011;
4012finally {
4013 restoreStackSize(stackSize);
4014}
4015
4016rule__ALSOr__Group__0__Impl
4017 @init {
4018 int stackSize = keepStackSize();
4019 }
4020:
4021(
4022{ before(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0()); }
4023 ruleALSIff
4024{ after(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0()); }
4025)
4026
4027;
4028finally {
4029 restoreStackSize(stackSize);
4030}
4031
4032
4033rule__ALSOr__Group__1
4034 @init {
4035 int stackSize = keepStackSize();
4036 }
4037:
4038 rule__ALSOr__Group__1__Impl
4039;
4040finally {
4041 restoreStackSize(stackSize);
4042}
4043
4044rule__ALSOr__Group__1__Impl
4045 @init {
4046 int stackSize = keepStackSize();
4047 }
4048:
4049(
4050{ before(grammarAccess.getALSOrAccess().getGroup_1()); }
4051(rule__ALSOr__Group_1__0)?
4052{ after(grammarAccess.getALSOrAccess().getGroup_1()); }
4053)
4054
4055;
4056finally {
4057 restoreStackSize(stackSize);
4058}
4059
4060
4061
4062
4063
4064
4065rule__ALSOr__Group_1__0
4066 @init {
4067 int stackSize = keepStackSize();
4068 }
4069:
4070 rule__ALSOr__Group_1__0__Impl
4071 rule__ALSOr__Group_1__1
4072;
4073finally {
4074 restoreStackSize(stackSize);
4075}
4076
4077rule__ALSOr__Group_1__0__Impl
4078 @init {
4079 int stackSize = keepStackSize();
4080 }
4081:
4082(
4083{ before(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0()); }
4084(
4085
4086)
4087{ after(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0()); }
4088)
4089
4090;
4091finally {
4092 restoreStackSize(stackSize);
4093}
4094
4095
4096rule__ALSOr__Group_1__1
4097 @init {
4098 int stackSize = keepStackSize();
4099 }
4100:
4101 rule__ALSOr__Group_1__1__Impl
4102 rule__ALSOr__Group_1__2
4103;
4104finally {
4105 restoreStackSize(stackSize);
4106}
4107
4108rule__ALSOr__Group_1__1__Impl
4109 @init {
4110 int stackSize = keepStackSize();
4111 }
4112:
4113(
4114{ before(grammarAccess.getALSOrAccess().getAlternatives_1_1()); }
4115(rule__ALSOr__Alternatives_1_1)
4116{ after(grammarAccess.getALSOrAccess().getAlternatives_1_1()); }
4117)
4118
4119;
4120finally {
4121 restoreStackSize(stackSize);
4122}
4123
4124
4125rule__ALSOr__Group_1__2
4126 @init {
4127 int stackSize = keepStackSize();
4128 }
4129:
4130 rule__ALSOr__Group_1__2__Impl
4131;
4132finally {
4133 restoreStackSize(stackSize);
4134}
4135
4136rule__ALSOr__Group_1__2__Impl
4137 @init {
4138 int stackSize = keepStackSize();
4139 }
4140:
4141(
4142{ before(grammarAccess.getALSOrAccess().getRightOperandAssignment_1_2()); }
4143(rule__ALSOr__RightOperandAssignment_1_2)
4144{ after(grammarAccess.getALSOrAccess().getRightOperandAssignment_1_2()); }
4145)
4146
4147;
4148finally {
4149 restoreStackSize(stackSize);
4150}
4151
4152
4153
4154
4155
4156
4157
4158
4159rule__ALSIff__Group__0
4160 @init {
4161 int stackSize = keepStackSize();
4162 }
4163:
4164 rule__ALSIff__Group__0__Impl
4165 rule__ALSIff__Group__1
4166;
4167finally {
4168 restoreStackSize(stackSize);
4169}
4170
4171rule__ALSIff__Group__0__Impl
4172 @init {
4173 int stackSize = keepStackSize();
4174 }
4175:
4176(
4177{ before(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0()); }
4178 ruleALSImpl
4179{ after(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0()); }
4180)
4181
4182;
4183finally {
4184 restoreStackSize(stackSize);
4185}
4186
4187
4188rule__ALSIff__Group__1
4189 @init {
4190 int stackSize = keepStackSize();
4191 }
4192:
4193 rule__ALSIff__Group__1__Impl
4194;
4195finally {
4196 restoreStackSize(stackSize);
4197}
4198
4199rule__ALSIff__Group__1__Impl
4200 @init {
4201 int stackSize = keepStackSize();
4202 }
4203:
4204(
4205{ before(grammarAccess.getALSIffAccess().getGroup_1()); }
4206(rule__ALSIff__Group_1__0)?
4207{ after(grammarAccess.getALSIffAccess().getGroup_1()); }
4208)
4209
4210;
4211finally {
4212 restoreStackSize(stackSize);
4213}
4214
4215
4216
4217
4218
4219
4220rule__ALSIff__Group_1__0
4221 @init {
4222 int stackSize = keepStackSize();
4223 }
4224:
4225 rule__ALSIff__Group_1__0__Impl
4226 rule__ALSIff__Group_1__1
4227;
4228finally {
4229 restoreStackSize(stackSize);
4230}
4231
4232rule__ALSIff__Group_1__0__Impl
4233 @init {
4234 int stackSize = keepStackSize();
4235 }
4236:
4237(
4238{ before(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0()); }
4239(
4240
4241)
4242{ after(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0()); }
4243)
4244
4245;
4246finally {
4247 restoreStackSize(stackSize);
4248}
4249
4250
4251rule__ALSIff__Group_1__1
4252 @init {
4253 int stackSize = keepStackSize();
4254 }
4255:
4256 rule__ALSIff__Group_1__1__Impl
4257 rule__ALSIff__Group_1__2
4258;
4259finally {
4260 restoreStackSize(stackSize);
4261}
4262
4263rule__ALSIff__Group_1__1__Impl
4264 @init {
4265 int stackSize = keepStackSize();
4266 }
4267:
4268(
4269{ before(grammarAccess.getALSIffAccess().getAlternatives_1_1()); }
4270(rule__ALSIff__Alternatives_1_1)
4271{ after(grammarAccess.getALSIffAccess().getAlternatives_1_1()); }
4272)
4273
4274;
4275finally {
4276 restoreStackSize(stackSize);
4277}
4278
4279
4280rule__ALSIff__Group_1__2
4281 @init {
4282 int stackSize = keepStackSize();
4283 }
4284:
4285 rule__ALSIff__Group_1__2__Impl
4286;
4287finally {
4288 restoreStackSize(stackSize);
4289}
4290
4291rule__ALSIff__Group_1__2__Impl
4292 @init {
4293 int stackSize = keepStackSize();
4294 }
4295:
4296(
4297{ before(grammarAccess.getALSIffAccess().getRightOperandAssignment_1_2()); }
4298(rule__ALSIff__RightOperandAssignment_1_2)
4299{ after(grammarAccess.getALSIffAccess().getRightOperandAssignment_1_2()); }
4300)
4301
4302;
4303finally {
4304 restoreStackSize(stackSize);
4305}
4306
4307
4308
4309
4310
4311
4312
4313
4314rule__ALSImpl__Group__0
4315 @init {
4316 int stackSize = keepStackSize();
4317 }
4318:
4319 rule__ALSImpl__Group__0__Impl
4320 rule__ALSImpl__Group__1
4321;
4322finally {
4323 restoreStackSize(stackSize);
4324}
4325
4326rule__ALSImpl__Group__0__Impl
4327 @init {
4328 int stackSize = keepStackSize();
4329 }
4330:
4331(
4332{ before(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0()); }
4333 ruleALSAnd
4334{ after(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0()); }
4335)
4336
4337;
4338finally {
4339 restoreStackSize(stackSize);
4340}
4341
4342
4343rule__ALSImpl__Group__1
4344 @init {
4345 int stackSize = keepStackSize();
4346 }
4347:
4348 rule__ALSImpl__Group__1__Impl
4349;
4350finally {
4351 restoreStackSize(stackSize);
4352}
4353
4354rule__ALSImpl__Group__1__Impl
4355 @init {
4356 int stackSize = keepStackSize();
4357 }
4358:
4359(
4360{ before(grammarAccess.getALSImplAccess().getGroup_1()); }
4361(rule__ALSImpl__Group_1__0)?
4362{ after(grammarAccess.getALSImplAccess().getGroup_1()); }
4363)
4364
4365;
4366finally {
4367 restoreStackSize(stackSize);
4368}
4369
4370
4371
4372
4373
4374
4375rule__ALSImpl__Group_1__0
4376 @init {
4377 int stackSize = keepStackSize();
4378 }
4379:
4380 rule__ALSImpl__Group_1__0__Impl
4381 rule__ALSImpl__Group_1__1
4382;
4383finally {
4384 restoreStackSize(stackSize);
4385}
4386
4387rule__ALSImpl__Group_1__0__Impl
4388 @init {
4389 int stackSize = keepStackSize();
4390 }
4391:
4392(
4393{ before(grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0()); }
4394(
4395
4396)
4397{ after(grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0()); }
4398)
4399
4400;
4401finally {
4402 restoreStackSize(stackSize);
4403}
4404
4405
4406rule__ALSImpl__Group_1__1
4407 @init {
4408 int stackSize = keepStackSize();
4409 }
4410:
4411 rule__ALSImpl__Group_1__1__Impl
4412 rule__ALSImpl__Group_1__2
4413;
4414finally {
4415 restoreStackSize(stackSize);
4416}
4417
4418rule__ALSImpl__Group_1__1__Impl
4419 @init {
4420 int stackSize = keepStackSize();
4421 }
4422:
4423(
4424{ before(grammarAccess.getALSImplAccess().getAlternatives_1_1()); }
4425(rule__ALSImpl__Alternatives_1_1)
4426{ after(grammarAccess.getALSImplAccess().getAlternatives_1_1()); }
4427)
4428
4429;
4430finally {
4431 restoreStackSize(stackSize);
4432}
4433
4434
4435rule__ALSImpl__Group_1__2
4436 @init {
4437 int stackSize = keepStackSize();
4438 }
4439:
4440 rule__ALSImpl__Group_1__2__Impl
4441 rule__ALSImpl__Group_1__3
4442;
4443finally {
4444 restoreStackSize(stackSize);
4445}
4446
4447rule__ALSImpl__Group_1__2__Impl
4448 @init {
4449 int stackSize = keepStackSize();
4450 }
4451:
4452(
4453{ before(grammarAccess.getALSImplAccess().getRightOperandAssignment_1_2()); }
4454(rule__ALSImpl__RightOperandAssignment_1_2)
4455{ after(grammarAccess.getALSImplAccess().getRightOperandAssignment_1_2()); }
4456)
4457
4458;
4459finally {
4460 restoreStackSize(stackSize);
4461}
4462
4463
4464rule__ALSImpl__Group_1__3
4465 @init {
4466 int stackSize = keepStackSize();
4467 }
4468:
4469 rule__ALSImpl__Group_1__3__Impl
4470;
4471finally {
4472 restoreStackSize(stackSize);
4473}
4474
4475rule__ALSImpl__Group_1__3__Impl
4476 @init {
4477 int stackSize = keepStackSize();
4478 }
4479:
4480(
4481{ before(grammarAccess.getALSImplAccess().getGroup_1_3()); }
4482(rule__ALSImpl__Group_1_3__0)?
4483{ after(grammarAccess.getALSImplAccess().getGroup_1_3()); }
4484)
4485
4486;
4487finally {
4488 restoreStackSize(stackSize);
4489}
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500rule__ALSImpl__Group_1_3__0
4501 @init {
4502 int stackSize = keepStackSize();
4503 }
4504:
4505 rule__ALSImpl__Group_1_3__0__Impl
4506 rule__ALSImpl__Group_1_3__1
4507;
4508finally {
4509 restoreStackSize(stackSize);
4510}
4511
4512rule__ALSImpl__Group_1_3__0__Impl
4513 @init {
4514 int stackSize = keepStackSize();
4515 }
4516:
4517(
4518{ before(grammarAccess.getALSImplAccess().getElseKeyword_1_3_0()); }
4519
4520 'else'
4521
4522{ after(grammarAccess.getALSImplAccess().getElseKeyword_1_3_0()); }
4523)
4524
4525;
4526finally {
4527 restoreStackSize(stackSize);
4528}
4529
4530
4531rule__ALSImpl__Group_1_3__1
4532 @init {
4533 int stackSize = keepStackSize();
4534 }
4535:
4536 rule__ALSImpl__Group_1_3__1__Impl
4537;
4538finally {
4539 restoreStackSize(stackSize);
4540}
4541
4542rule__ALSImpl__Group_1_3__1__Impl
4543 @init {
4544 int stackSize = keepStackSize();
4545 }
4546:
4547(
4548{ before(grammarAccess.getALSImplAccess().getElseOperandAssignment_1_3_1()); }
4549(rule__ALSImpl__ElseOperandAssignment_1_3_1)
4550{ after(grammarAccess.getALSImplAccess().getElseOperandAssignment_1_3_1()); }
4551)
4552
4553;
4554finally {
4555 restoreStackSize(stackSize);
4556}
4557
4558
4559
4560
4561
4562
4563rule__ALSAnd__Group__0
4564 @init {
4565 int stackSize = keepStackSize();
4566 }
4567:
4568 rule__ALSAnd__Group__0__Impl
4569 rule__ALSAnd__Group__1
4570;
4571finally {
4572 restoreStackSize(stackSize);
4573}
4574
4575rule__ALSAnd__Group__0__Impl
4576 @init {
4577 int stackSize = keepStackSize();
4578 }
4579:
4580(
4581{ before(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0()); }
4582 ruleALSComparison
4583{ after(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0()); }
4584)
4585
4586;
4587finally {
4588 restoreStackSize(stackSize);
4589}
4590
4591
4592rule__ALSAnd__Group__1
4593 @init {
4594 int stackSize = keepStackSize();
4595 }
4596:
4597 rule__ALSAnd__Group__1__Impl
4598;
4599finally {
4600 restoreStackSize(stackSize);
4601}
4602
4603rule__ALSAnd__Group__1__Impl
4604 @init {
4605 int stackSize = keepStackSize();
4606 }
4607:
4608(
4609{ before(grammarAccess.getALSAndAccess().getGroup_1()); }
4610(rule__ALSAnd__Group_1__0)?
4611{ after(grammarAccess.getALSAndAccess().getGroup_1()); }
4612)
4613
4614;
4615finally {
4616 restoreStackSize(stackSize);
4617}
4618
4619
4620
4621
4622
4623
4624rule__ALSAnd__Group_1__0
4625 @init {
4626 int stackSize = keepStackSize();
4627 }
4628:
4629 rule__ALSAnd__Group_1__0__Impl
4630 rule__ALSAnd__Group_1__1
4631;
4632finally {
4633 restoreStackSize(stackSize);
4634}
4635
4636rule__ALSAnd__Group_1__0__Impl
4637 @init {
4638 int stackSize = keepStackSize();
4639 }
4640:
4641(
4642{ before(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0()); }
4643(
4644
4645)
4646{ after(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0()); }
4647)
4648
4649;
4650finally {
4651 restoreStackSize(stackSize);
4652}
4653
4654
4655rule__ALSAnd__Group_1__1
4656 @init {
4657 int stackSize = keepStackSize();
4658 }
4659:
4660 rule__ALSAnd__Group_1__1__Impl
4661 rule__ALSAnd__Group_1__2
4662;
4663finally {
4664 restoreStackSize(stackSize);
4665}
4666
4667rule__ALSAnd__Group_1__1__Impl
4668 @init {
4669 int stackSize = keepStackSize();
4670 }
4671:
4672(
4673{ before(grammarAccess.getALSAndAccess().getAlternatives_1_1()); }
4674(rule__ALSAnd__Alternatives_1_1)
4675{ after(grammarAccess.getALSAndAccess().getAlternatives_1_1()); }
4676)
4677
4678;
4679finally {
4680 restoreStackSize(stackSize);
4681}
4682
4683
4684rule__ALSAnd__Group_1__2
4685 @init {
4686 int stackSize = keepStackSize();
4687 }
4688:
4689 rule__ALSAnd__Group_1__2__Impl
4690;
4691finally {
4692 restoreStackSize(stackSize);
4693}
4694
4695rule__ALSAnd__Group_1__2__Impl
4696 @init {
4697 int stackSize = keepStackSize();
4698 }
4699:
4700(
4701{ before(grammarAccess.getALSAndAccess().getRightOperandAssignment_1_2()); }
4702(rule__ALSAnd__RightOperandAssignment_1_2)
4703{ after(grammarAccess.getALSAndAccess().getRightOperandAssignment_1_2()); }
4704)
4705
4706;
4707finally {
4708 restoreStackSize(stackSize);
4709}
4710
4711
4712
4713
4714
4715
4716
4717
4718rule__ALSComparison__Group__0
4719 @init {
4720 int stackSize = keepStackSize();
4721 }
4722:
4723 rule__ALSComparison__Group__0__Impl
4724 rule__ALSComparison__Group__1
4725;
4726finally {
4727 restoreStackSize(stackSize);
4728}
4729
4730rule__ALSComparison__Group__0__Impl
4731 @init {
4732 int stackSize = keepStackSize();
4733 }
4734:
4735(
4736{ before(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0()); }
4737 ruleALSOverride
4738{ after(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0()); }
4739)
4740
4741;
4742finally {
4743 restoreStackSize(stackSize);
4744}
4745
4746
4747rule__ALSComparison__Group__1
4748 @init {
4749 int stackSize = keepStackSize();
4750 }
4751:
4752 rule__ALSComparison__Group__1__Impl
4753;
4754finally {
4755 restoreStackSize(stackSize);
4756}
4757
4758rule__ALSComparison__Group__1__Impl
4759 @init {
4760 int stackSize = keepStackSize();
4761 }
4762:
4763(
4764{ before(grammarAccess.getALSComparisonAccess().getGroup_1()); }
4765(rule__ALSComparison__Group_1__0)?
4766{ after(grammarAccess.getALSComparisonAccess().getGroup_1()); }
4767)
4768
4769;
4770finally {
4771 restoreStackSize(stackSize);
4772}
4773
4774
4775
4776
4777
4778
4779rule__ALSComparison__Group_1__0
4780 @init {
4781 int stackSize = keepStackSize();
4782 }
4783:
4784 rule__ALSComparison__Group_1__0__Impl
4785 rule__ALSComparison__Group_1__1
4786;
4787finally {
4788 restoreStackSize(stackSize);
4789}
4790
4791rule__ALSComparison__Group_1__0__Impl
4792 @init {
4793 int stackSize = keepStackSize();
4794 }
4795:
4796(
4797{ before(grammarAccess.getALSComparisonAccess().getAlternatives_1_0()); }
4798(rule__ALSComparison__Alternatives_1_0)
4799{ after(grammarAccess.getALSComparisonAccess().getAlternatives_1_0()); }
4800)
4801
4802;
4803finally {
4804 restoreStackSize(stackSize);
4805}
4806
4807
4808rule__ALSComparison__Group_1__1
4809 @init {
4810 int stackSize = keepStackSize();
4811 }
4812:
4813 rule__ALSComparison__Group_1__1__Impl
4814;
4815finally {
4816 restoreStackSize(stackSize);
4817}
4818
4819rule__ALSComparison__Group_1__1__Impl
4820 @init {
4821 int stackSize = keepStackSize();
4822 }
4823:
4824(
4825{ before(grammarAccess.getALSComparisonAccess().getRightOperandAssignment_1_1()); }
4826(rule__ALSComparison__RightOperandAssignment_1_1)
4827{ after(grammarAccess.getALSComparisonAccess().getRightOperandAssignment_1_1()); }
4828)
4829
4830;
4831finally {
4832 restoreStackSize(stackSize);
4833}
4834
4835
4836
4837
4838
4839
4840rule__ALSComparison__Group_1_0_0__0
4841 @init {
4842 int stackSize = keepStackSize();
4843 }
4844:
4845 rule__ALSComparison__Group_1_0_0__0__Impl
4846 rule__ALSComparison__Group_1_0_0__1
4847;
4848finally {
4849 restoreStackSize(stackSize);
4850}
4851
4852rule__ALSComparison__Group_1_0_0__0__Impl
4853 @init {
4854 int stackSize = keepStackSize();
4855 }
4856:
4857(
4858{ before(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0()); }
4859(
4860
4861)
4862{ after(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0()); }
4863)
4864
4865;
4866finally {
4867 restoreStackSize(stackSize);
4868}
4869
4870
4871rule__ALSComparison__Group_1_0_0__1
4872 @init {
4873 int stackSize = keepStackSize();
4874 }
4875:
4876 rule__ALSComparison__Group_1_0_0__1__Impl
4877;
4878finally {
4879 restoreStackSize(stackSize);
4880}
4881
4882rule__ALSComparison__Group_1_0_0__1__Impl
4883 @init {
4884 int stackSize = keepStackSize();
4885 }
4886:
4887(
4888{ before(grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1()); }
4889
4890 '='
4891
4892{ after(grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1()); }
4893)
4894
4895;
4896finally {
4897 restoreStackSize(stackSize);
4898}
4899
4900
4901
4902
4903
4904
4905rule__ALSComparison__Group_1_0_1__0
4906 @init {
4907 int stackSize = keepStackSize();
4908 }
4909:
4910 rule__ALSComparison__Group_1_0_1__0__Impl
4911 rule__ALSComparison__Group_1_0_1__1
4912;
4913finally {
4914 restoreStackSize(stackSize);
4915}
4916
4917rule__ALSComparison__Group_1_0_1__0__Impl
4918 @init {
4919 int stackSize = keepStackSize();
4920 }
4921:
4922(
4923{ before(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0()); }
4924(
4925
4926)
4927{ after(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0()); }
4928)
4929
4930;
4931finally {
4932 restoreStackSize(stackSize);
4933}
4934
4935
4936rule__ALSComparison__Group_1_0_1__1
4937 @init {
4938 int stackSize = keepStackSize();
4939 }
4940:
4941 rule__ALSComparison__Group_1_0_1__1__Impl
4942;
4943finally {
4944 restoreStackSize(stackSize);
4945}
4946
4947rule__ALSComparison__Group_1_0_1__1__Impl
4948 @init {
4949 int stackSize = keepStackSize();
4950 }
4951:
4952(
4953{ before(grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1()); }
4954
4955 '!='
4956
4957{ after(grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1()); }
4958)
4959
4960;
4961finally {
4962 restoreStackSize(stackSize);
4963}
4964
4965
4966
4967
4968
4969
4970rule__ALSComparison__Group_1_0_2__0
4971 @init {
4972 int stackSize = keepStackSize();
4973 }
4974:
4975 rule__ALSComparison__Group_1_0_2__0__Impl
4976 rule__ALSComparison__Group_1_0_2__1
4977;
4978finally {
4979 restoreStackSize(stackSize);
4980}
4981
4982rule__ALSComparison__Group_1_0_2__0__Impl
4983 @init {
4984 int stackSize = keepStackSize();
4985 }
4986:
4987(
4988{ before(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0()); }
4989(
4990
4991)
4992{ after(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0()); }
4993)
4994
4995;
4996finally {
4997 restoreStackSize(stackSize);
4998}
4999
5000
5001rule__ALSComparison__Group_1_0_2__1
5002 @init {
5003 int stackSize = keepStackSize();
5004 }
5005:
5006 rule__ALSComparison__Group_1_0_2__1__Impl
5007;
5008finally {
5009 restoreStackSize(stackSize);
5010}
5011
5012rule__ALSComparison__Group_1_0_2__1__Impl
5013 @init {
5014 int stackSize = keepStackSize();
5015 }
5016:
5017(
5018{ before(grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1()); }
5019
5020 'in'
5021
5022{ after(grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1()); }
5023)
5024
5025;
5026finally {
5027 restoreStackSize(stackSize);
5028}
5029
5030
5031
5032
5033
5034
5035rule__ALSComparison__Group_1_0_3__0
5036 @init {
5037 int stackSize = keepStackSize();
5038 }
5039:
5040 rule__ALSComparison__Group_1_0_3__0__Impl
5041 rule__ALSComparison__Group_1_0_3__1
5042;
5043finally {
5044 restoreStackSize(stackSize);
5045}
5046
5047rule__ALSComparison__Group_1_0_3__0__Impl
5048 @init {
5049 int stackSize = keepStackSize();
5050 }
5051:
5052(
5053{ before(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0()); }
5054(
5055
5056)
5057{ after(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0()); }
5058)
5059
5060;
5061finally {
5062 restoreStackSize(stackSize);
5063}
5064
5065
5066rule__ALSComparison__Group_1_0_3__1
5067 @init {
5068 int stackSize = keepStackSize();
5069 }
5070:
5071 rule__ALSComparison__Group_1_0_3__1__Impl
5072;
5073finally {
5074 restoreStackSize(stackSize);
5075}
5076
5077rule__ALSComparison__Group_1_0_3__1__Impl
5078 @init {
5079 int stackSize = keepStackSize();
5080 }
5081:
5082(
5083{ before(grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1()); }
5084
5085 '>'
5086
5087{ after(grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1()); }
5088)
5089
5090;
5091finally {
5092 restoreStackSize(stackSize);
5093}
5094
5095
5096
5097
5098
5099
5100rule__ALSComparison__Group_1_0_4__0
5101 @init {
5102 int stackSize = keepStackSize();
5103 }
5104:
5105 rule__ALSComparison__Group_1_0_4__0__Impl
5106 rule__ALSComparison__Group_1_0_4__1
5107;
5108finally {
5109 restoreStackSize(stackSize);
5110}
5111
5112rule__ALSComparison__Group_1_0_4__0__Impl
5113 @init {
5114 int stackSize = keepStackSize();
5115 }
5116:
5117(
5118{ before(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0()); }
5119(
5120
5121)
5122{ after(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0()); }
5123)
5124
5125;
5126finally {
5127 restoreStackSize(stackSize);
5128}
5129
5130
5131rule__ALSComparison__Group_1_0_4__1
5132 @init {
5133 int stackSize = keepStackSize();
5134 }
5135:
5136 rule__ALSComparison__Group_1_0_4__1__Impl
5137;
5138finally {
5139 restoreStackSize(stackSize);
5140}
5141
5142rule__ALSComparison__Group_1_0_4__1__Impl
5143 @init {
5144 int stackSize = keepStackSize();
5145 }
5146:
5147(
5148{ before(grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1()); }
5149
5150 '>='
5151
5152{ after(grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1()); }
5153)
5154
5155;
5156finally {
5157 restoreStackSize(stackSize);
5158}
5159
5160
5161
5162
5163
5164
5165rule__ALSComparison__Group_1_0_5__0
5166 @init {
5167 int stackSize = keepStackSize();
5168 }
5169:
5170 rule__ALSComparison__Group_1_0_5__0__Impl
5171 rule__ALSComparison__Group_1_0_5__1
5172;
5173finally {
5174 restoreStackSize(stackSize);
5175}
5176
5177rule__ALSComparison__Group_1_0_5__0__Impl
5178 @init {
5179 int stackSize = keepStackSize();
5180 }
5181:
5182(
5183{ before(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0()); }
5184(
5185
5186)
5187{ after(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0()); }
5188)
5189
5190;
5191finally {
5192 restoreStackSize(stackSize);
5193}
5194
5195
5196rule__ALSComparison__Group_1_0_5__1
5197 @init {
5198 int stackSize = keepStackSize();
5199 }
5200:
5201 rule__ALSComparison__Group_1_0_5__1__Impl
5202;
5203finally {
5204 restoreStackSize(stackSize);
5205}
5206
5207rule__ALSComparison__Group_1_0_5__1__Impl
5208 @init {
5209 int stackSize = keepStackSize();
5210 }
5211:
5212(
5213{ before(grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1()); }
5214
5215 '<'
5216
5217{ after(grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1()); }
5218)
5219
5220;
5221finally {
5222 restoreStackSize(stackSize);
5223}
5224
5225
5226
5227
5228
5229
5230rule__ALSComparison__Group_1_0_6__0
5231 @init {
5232 int stackSize = keepStackSize();
5233 }
5234:
5235 rule__ALSComparison__Group_1_0_6__0__Impl
5236 rule__ALSComparison__Group_1_0_6__1
5237;
5238finally {
5239 restoreStackSize(stackSize);
5240}
5241
5242rule__ALSComparison__Group_1_0_6__0__Impl
5243 @init {
5244 int stackSize = keepStackSize();
5245 }
5246:
5247(
5248{ before(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0()); }
5249(
5250
5251)
5252{ after(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0()); }
5253)
5254
5255;
5256finally {
5257 restoreStackSize(stackSize);
5258}
5259
5260
5261rule__ALSComparison__Group_1_0_6__1
5262 @init {
5263 int stackSize = keepStackSize();
5264 }
5265:
5266 rule__ALSComparison__Group_1_0_6__1__Impl
5267;
5268finally {
5269 restoreStackSize(stackSize);
5270}
5271
5272rule__ALSComparison__Group_1_0_6__1__Impl
5273 @init {
5274 int stackSize = keepStackSize();
5275 }
5276:
5277(
5278{ before(grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1()); }
5279
5280 '<='
5281
5282{ after(grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1()); }
5283)
5284
5285;
5286finally {
5287 restoreStackSize(stackSize);
5288}
5289
5290
5291
5292
5293
5294
5295rule__ALSOverride__Group__0
5296 @init {
5297 int stackSize = keepStackSize();
5298 }
5299:
5300 rule__ALSOverride__Group__0__Impl
5301 rule__ALSOverride__Group__1
5302;
5303finally {
5304 restoreStackSize(stackSize);
5305}
5306
5307rule__ALSOverride__Group__0__Impl
5308 @init {
5309 int stackSize = keepStackSize();
5310 }
5311:
5312(
5313{ before(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0()); }
5314 ruleALSRangeRestrictionRight
5315{ after(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0()); }
5316)
5317
5318;
5319finally {
5320 restoreStackSize(stackSize);
5321}
5322
5323
5324rule__ALSOverride__Group__1
5325 @init {
5326 int stackSize = keepStackSize();
5327 }
5328:
5329 rule__ALSOverride__Group__1__Impl
5330;
5331finally {
5332 restoreStackSize(stackSize);
5333}
5334
5335rule__ALSOverride__Group__1__Impl
5336 @init {
5337 int stackSize = keepStackSize();
5338 }
5339:
5340(
5341{ before(grammarAccess.getALSOverrideAccess().getGroup_1()); }
5342(rule__ALSOverride__Group_1__0)?
5343{ after(grammarAccess.getALSOverrideAccess().getGroup_1()); }
5344)
5345
5346;
5347finally {
5348 restoreStackSize(stackSize);
5349}
5350
5351
5352
5353
5354
5355
5356rule__ALSOverride__Group_1__0
5357 @init {
5358 int stackSize = keepStackSize();
5359 }
5360:
5361 rule__ALSOverride__Group_1__0__Impl
5362 rule__ALSOverride__Group_1__1
5363;
5364finally {
5365 restoreStackSize(stackSize);
5366}
5367
5368rule__ALSOverride__Group_1__0__Impl
5369 @init {
5370 int stackSize = keepStackSize();
5371 }
5372:
5373(
5374{ before(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0()); }
5375(
5376
5377)
5378{ after(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0()); }
5379)
5380
5381;
5382finally {
5383 restoreStackSize(stackSize);
5384}
5385
5386
5387rule__ALSOverride__Group_1__1
5388 @init {
5389 int stackSize = keepStackSize();
5390 }
5391:
5392 rule__ALSOverride__Group_1__1__Impl
5393 rule__ALSOverride__Group_1__2
5394;
5395finally {
5396 restoreStackSize(stackSize);
5397}
5398
5399rule__ALSOverride__Group_1__1__Impl
5400 @init {
5401 int stackSize = keepStackSize();
5402 }
5403:
5404(
5405{ before(grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1()); }
5406
5407 '++'
5408
5409{ after(grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1()); }
5410)
5411
5412;
5413finally {
5414 restoreStackSize(stackSize);
5415}
5416
5417
5418rule__ALSOverride__Group_1__2
5419 @init {
5420 int stackSize = keepStackSize();
5421 }
5422:
5423 rule__ALSOverride__Group_1__2__Impl
5424;
5425finally {
5426 restoreStackSize(stackSize);
5427}
5428
5429rule__ALSOverride__Group_1__2__Impl
5430 @init {
5431 int stackSize = keepStackSize();
5432 }
5433:
5434(
5435{ before(grammarAccess.getALSOverrideAccess().getRightOperandAssignment_1_2()); }
5436(rule__ALSOverride__RightOperandAssignment_1_2)
5437{ after(grammarAccess.getALSOverrideAccess().getRightOperandAssignment_1_2()); }
5438)
5439
5440;
5441finally {
5442 restoreStackSize(stackSize);
5443}
5444
5445
5446
5447
5448
5449
5450
5451
5452rule__ALSRangeRestrictionRight__Group__0
5453 @init {
5454 int stackSize = keepStackSize();
5455 }
5456:
5457 rule__ALSRangeRestrictionRight__Group__0__Impl
5458 rule__ALSRangeRestrictionRight__Group__1
5459;
5460finally {
5461 restoreStackSize(stackSize);
5462}
5463
5464rule__ALSRangeRestrictionRight__Group__0__Impl
5465 @init {
5466 int stackSize = keepStackSize();
5467 }
5468:
5469(
5470{ before(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0()); }
5471 ruleALSRangeRestrictionLeft
5472{ after(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0()); }
5473)
5474
5475;
5476finally {
5477 restoreStackSize(stackSize);
5478}
5479
5480
5481rule__ALSRangeRestrictionRight__Group__1
5482 @init {
5483 int stackSize = keepStackSize();
5484 }
5485:
5486 rule__ALSRangeRestrictionRight__Group__1__Impl
5487;
5488finally {
5489 restoreStackSize(stackSize);
5490}
5491
5492rule__ALSRangeRestrictionRight__Group__1__Impl
5493 @init {
5494 int stackSize = keepStackSize();
5495 }
5496:
5497(
5498{ before(grammarAccess.getALSRangeRestrictionRightAccess().getGroup_1()); }
5499(rule__ALSRangeRestrictionRight__Group_1__0)?
5500{ after(grammarAccess.getALSRangeRestrictionRightAccess().getGroup_1()); }
5501)
5502
5503;
5504finally {
5505 restoreStackSize(stackSize);
5506}
5507
5508
5509
5510
5511
5512
5513rule__ALSRangeRestrictionRight__Group_1__0
5514 @init {
5515 int stackSize = keepStackSize();
5516 }
5517:
5518 rule__ALSRangeRestrictionRight__Group_1__0__Impl
5519 rule__ALSRangeRestrictionRight__Group_1__1
5520;
5521finally {
5522 restoreStackSize(stackSize);
5523}
5524
5525rule__ALSRangeRestrictionRight__Group_1__0__Impl
5526 @init {
5527 int stackSize = keepStackSize();
5528 }
5529:
5530(
5531{ before(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0()); }
5532(
5533
5534)
5535{ after(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0()); }
5536)
5537
5538;
5539finally {
5540 restoreStackSize(stackSize);
5541}
5542
5543
5544rule__ALSRangeRestrictionRight__Group_1__1
5545 @init {
5546 int stackSize = keepStackSize();
5547 }
5548:
5549 rule__ALSRangeRestrictionRight__Group_1__1__Impl
5550 rule__ALSRangeRestrictionRight__Group_1__2
5551;
5552finally {
5553 restoreStackSize(stackSize);
5554}
5555
5556rule__ALSRangeRestrictionRight__Group_1__1__Impl
5557 @init {
5558 int stackSize = keepStackSize();
5559 }
5560:
5561(
5562{ before(grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1()); }
5563
5564 ':>'
5565
5566{ after(grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1()); }
5567)
5568
5569;
5570finally {
5571 restoreStackSize(stackSize);
5572}
5573
5574
5575rule__ALSRangeRestrictionRight__Group_1__2
5576 @init {
5577 int stackSize = keepStackSize();
5578 }
5579:
5580 rule__ALSRangeRestrictionRight__Group_1__2__Impl
5581;
5582finally {
5583 restoreStackSize(stackSize);
5584}
5585
5586rule__ALSRangeRestrictionRight__Group_1__2__Impl
5587 @init {
5588 int stackSize = keepStackSize();
5589 }
5590:
5591(
5592{ before(grammarAccess.getALSRangeRestrictionRightAccess().getFilterAssignment_1_2()); }
5593(rule__ALSRangeRestrictionRight__FilterAssignment_1_2)
5594{ after(grammarAccess.getALSRangeRestrictionRightAccess().getFilterAssignment_1_2()); }
5595)
5596
5597;
5598finally {
5599 restoreStackSize(stackSize);
5600}
5601
5602
5603
5604
5605
5606
5607
5608
5609rule__ALSRangeRestrictionLeft__Group__0
5610 @init {
5611 int stackSize = keepStackSize();
5612 }
5613:
5614 rule__ALSRangeRestrictionLeft__Group__0__Impl
5615 rule__ALSRangeRestrictionLeft__Group__1
5616;
5617finally {
5618 restoreStackSize(stackSize);
5619}
5620
5621rule__ALSRangeRestrictionLeft__Group__0__Impl
5622 @init {
5623 int stackSize = keepStackSize();
5624 }
5625:
5626(
5627{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0()); }
5628 ruleALSJoin
5629{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0()); }
5630)
5631
5632;
5633finally {
5634 restoreStackSize(stackSize);
5635}
5636
5637
5638rule__ALSRangeRestrictionLeft__Group__1
5639 @init {
5640 int stackSize = keepStackSize();
5641 }
5642:
5643 rule__ALSRangeRestrictionLeft__Group__1__Impl
5644;
5645finally {
5646 restoreStackSize(stackSize);
5647}
5648
5649rule__ALSRangeRestrictionLeft__Group__1__Impl
5650 @init {
5651 int stackSize = keepStackSize();
5652 }
5653:
5654(
5655{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup_1()); }
5656(rule__ALSRangeRestrictionLeft__Group_1__0)?
5657{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup_1()); }
5658)
5659
5660;
5661finally {
5662 restoreStackSize(stackSize);
5663}
5664
5665
5666
5667
5668
5669
5670rule__ALSRangeRestrictionLeft__Group_1__0
5671 @init {
5672 int stackSize = keepStackSize();
5673 }
5674:
5675 rule__ALSRangeRestrictionLeft__Group_1__0__Impl
5676 rule__ALSRangeRestrictionLeft__Group_1__1
5677;
5678finally {
5679 restoreStackSize(stackSize);
5680}
5681
5682rule__ALSRangeRestrictionLeft__Group_1__0__Impl
5683 @init {
5684 int stackSize = keepStackSize();
5685 }
5686:
5687(
5688{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0()); }
5689(
5690
5691)
5692{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0()); }
5693)
5694
5695;
5696finally {
5697 restoreStackSize(stackSize);
5698}
5699
5700
5701rule__ALSRangeRestrictionLeft__Group_1__1
5702 @init {
5703 int stackSize = keepStackSize();
5704 }
5705:
5706 rule__ALSRangeRestrictionLeft__Group_1__1__Impl
5707 rule__ALSRangeRestrictionLeft__Group_1__2
5708;
5709finally {
5710 restoreStackSize(stackSize);
5711}
5712
5713rule__ALSRangeRestrictionLeft__Group_1__1__Impl
5714 @init {
5715 int stackSize = keepStackSize();
5716 }
5717:
5718(
5719{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1()); }
5720
5721 '<:'
5722
5723{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1()); }
5724)
5725
5726;
5727finally {
5728 restoreStackSize(stackSize);
5729}
5730
5731
5732rule__ALSRangeRestrictionLeft__Group_1__2
5733 @init {
5734 int stackSize = keepStackSize();
5735 }
5736:
5737 rule__ALSRangeRestrictionLeft__Group_1__2__Impl
5738;
5739finally {
5740 restoreStackSize(stackSize);
5741}
5742
5743rule__ALSRangeRestrictionLeft__Group_1__2__Impl
5744 @init {
5745 int stackSize = keepStackSize();
5746 }
5747:
5748(
5749{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationAssignment_1_2()); }
5750(rule__ALSRangeRestrictionLeft__RelationAssignment_1_2)
5751{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationAssignment_1_2()); }
5752)
5753
5754;
5755finally {
5756 restoreStackSize(stackSize);
5757}
5758
5759
5760
5761
5762
5763
5764
5765
5766rule__ALSJoin__Group__0
5767 @init {
5768 int stackSize = keepStackSize();
5769 }
5770:
5771 rule__ALSJoin__Group__0__Impl
5772 rule__ALSJoin__Group__1
5773;
5774finally {
5775 restoreStackSize(stackSize);
5776}
5777
5778rule__ALSJoin__Group__0__Impl
5779 @init {
5780 int stackSize = keepStackSize();
5781 }
5782:
5783(
5784{ before(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0()); }
5785 ruleALSMinus
5786{ after(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0()); }
5787)
5788
5789;
5790finally {
5791 restoreStackSize(stackSize);
5792}
5793
5794
5795rule__ALSJoin__Group__1
5796 @init {
5797 int stackSize = keepStackSize();
5798 }
5799:
5800 rule__ALSJoin__Group__1__Impl
5801;
5802finally {
5803 restoreStackSize(stackSize);
5804}
5805
5806rule__ALSJoin__Group__1__Impl
5807 @init {
5808 int stackSize = keepStackSize();
5809 }
5810:
5811(
5812{ before(grammarAccess.getALSJoinAccess().getGroup_1()); }
5813(rule__ALSJoin__Group_1__0)*
5814{ after(grammarAccess.getALSJoinAccess().getGroup_1()); }
5815)
5816
5817;
5818finally {
5819 restoreStackSize(stackSize);
5820}
5821
5822
5823
5824
5825
5826
5827rule__ALSJoin__Group_1__0
5828 @init {
5829 int stackSize = keepStackSize();
5830 }
5831:
5832 rule__ALSJoin__Group_1__0__Impl
5833 rule__ALSJoin__Group_1__1
5834;
5835finally {
5836 restoreStackSize(stackSize);
5837}
5838
5839rule__ALSJoin__Group_1__0__Impl
5840 @init {
5841 int stackSize = keepStackSize();
5842 }
5843:
5844(
5845{ before(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0()); }
5846(
5847
5848)
5849{ after(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0()); }
5850)
5851
5852;
5853finally {
5854 restoreStackSize(stackSize);
5855}
5856
5857
5858rule__ALSJoin__Group_1__1
5859 @init {
5860 int stackSize = keepStackSize();
5861 }
5862:
5863 rule__ALSJoin__Group_1__1__Impl
5864 rule__ALSJoin__Group_1__2
5865;
5866finally {
5867 restoreStackSize(stackSize);
5868}
5869
5870rule__ALSJoin__Group_1__1__Impl
5871 @init {
5872 int stackSize = keepStackSize();
5873 }
5874:
5875(
5876{ before(grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1()); }
5877
5878 '.'
5879
5880{ after(grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1()); }
5881)
5882
5883;
5884finally {
5885 restoreStackSize(stackSize);
5886}
5887
5888
5889rule__ALSJoin__Group_1__2
5890 @init {
5891 int stackSize = keepStackSize();
5892 }
5893:
5894 rule__ALSJoin__Group_1__2__Impl
5895;
5896finally {
5897 restoreStackSize(stackSize);
5898}
5899
5900rule__ALSJoin__Group_1__2__Impl
5901 @init {
5902 int stackSize = keepStackSize();
5903 }
5904:
5905(
5906{ before(grammarAccess.getALSJoinAccess().getRightOperandAssignment_1_2()); }
5907(rule__ALSJoin__RightOperandAssignment_1_2)
5908{ after(grammarAccess.getALSJoinAccess().getRightOperandAssignment_1_2()); }
5909)
5910
5911;
5912finally {
5913 restoreStackSize(stackSize);
5914}
5915
5916
5917
5918
5919
5920
5921
5922
5923rule__ALSMinus__Group__0
5924 @init {
5925 int stackSize = keepStackSize();
5926 }
5927:
5928 rule__ALSMinus__Group__0__Impl
5929 rule__ALSMinus__Group__1
5930;
5931finally {
5932 restoreStackSize(stackSize);
5933}
5934
5935rule__ALSMinus__Group__0__Impl
5936 @init {
5937 int stackSize = keepStackSize();
5938 }
5939:
5940(
5941{ before(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0()); }
5942 ruleALSPlus
5943{ after(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0()); }
5944)
5945
5946;
5947finally {
5948 restoreStackSize(stackSize);
5949}
5950
5951
5952rule__ALSMinus__Group__1
5953 @init {
5954 int stackSize = keepStackSize();
5955 }
5956:
5957 rule__ALSMinus__Group__1__Impl
5958;
5959finally {
5960 restoreStackSize(stackSize);
5961}
5962
5963rule__ALSMinus__Group__1__Impl
5964 @init {
5965 int stackSize = keepStackSize();
5966 }
5967:
5968(
5969{ before(grammarAccess.getALSMinusAccess().getGroup_1()); }
5970(rule__ALSMinus__Group_1__0)*
5971{ after(grammarAccess.getALSMinusAccess().getGroup_1()); }
5972)
5973
5974;
5975finally {
5976 restoreStackSize(stackSize);
5977}
5978
5979
5980
5981
5982
5983
5984rule__ALSMinus__Group_1__0
5985 @init {
5986 int stackSize = keepStackSize();
5987 }
5988:
5989 rule__ALSMinus__Group_1__0__Impl
5990 rule__ALSMinus__Group_1__1
5991;
5992finally {
5993 restoreStackSize(stackSize);
5994}
5995
5996rule__ALSMinus__Group_1__0__Impl
5997 @init {
5998 int stackSize = keepStackSize();
5999 }
6000:
6001(
6002{ before(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0()); }
6003(
6004
6005)
6006{ after(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0()); }
6007)
6008
6009;
6010finally {
6011 restoreStackSize(stackSize);
6012}
6013
6014
6015rule__ALSMinus__Group_1__1
6016 @init {
6017 int stackSize = keepStackSize();
6018 }
6019:
6020 rule__ALSMinus__Group_1__1__Impl
6021 rule__ALSMinus__Group_1__2
6022;
6023finally {
6024 restoreStackSize(stackSize);
6025}
6026
6027rule__ALSMinus__Group_1__1__Impl
6028 @init {
6029 int stackSize = keepStackSize();
6030 }
6031:
6032(
6033{ before(grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1()); }
6034
6035 '-'
6036
6037{ after(grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1()); }
6038)
6039
6040;
6041finally {
6042 restoreStackSize(stackSize);
6043}
6044
6045
6046rule__ALSMinus__Group_1__2
6047 @init {
6048 int stackSize = keepStackSize();
6049 }
6050:
6051 rule__ALSMinus__Group_1__2__Impl
6052;
6053finally {
6054 restoreStackSize(stackSize);
6055}
6056
6057rule__ALSMinus__Group_1__2__Impl
6058 @init {
6059 int stackSize = keepStackSize();
6060 }
6061:
6062(
6063{ before(grammarAccess.getALSMinusAccess().getRightOperandAssignment_1_2()); }
6064(rule__ALSMinus__RightOperandAssignment_1_2)
6065{ after(grammarAccess.getALSMinusAccess().getRightOperandAssignment_1_2()); }
6066)
6067
6068;
6069finally {
6070 restoreStackSize(stackSize);
6071}
6072
6073
6074
6075
6076
6077
6078
6079
6080rule__ALSPlus__Group__0
6081 @init {
6082 int stackSize = keepStackSize();
6083 }
6084:
6085 rule__ALSPlus__Group__0__Impl
6086 rule__ALSPlus__Group__1
6087;
6088finally {
6089 restoreStackSize(stackSize);
6090}
6091
6092rule__ALSPlus__Group__0__Impl
6093 @init {
6094 int stackSize = keepStackSize();
6095 }
6096:
6097(
6098{ before(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0()); }
6099 ruleALSIntersection
6100{ after(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0()); }
6101)
6102
6103;
6104finally {
6105 restoreStackSize(stackSize);
6106}
6107
6108
6109rule__ALSPlus__Group__1
6110 @init {
6111 int stackSize = keepStackSize();
6112 }
6113:
6114 rule__ALSPlus__Group__1__Impl
6115;
6116finally {
6117 restoreStackSize(stackSize);
6118}
6119
6120rule__ALSPlus__Group__1__Impl
6121 @init {
6122 int stackSize = keepStackSize();
6123 }
6124:
6125(
6126{ before(grammarAccess.getALSPlusAccess().getGroup_1()); }
6127(rule__ALSPlus__Group_1__0)*
6128{ after(grammarAccess.getALSPlusAccess().getGroup_1()); }
6129)
6130
6131;
6132finally {
6133 restoreStackSize(stackSize);
6134}
6135
6136
6137
6138
6139
6140
6141rule__ALSPlus__Group_1__0
6142 @init {
6143 int stackSize = keepStackSize();
6144 }
6145:
6146 rule__ALSPlus__Group_1__0__Impl
6147 rule__ALSPlus__Group_1__1
6148;
6149finally {
6150 restoreStackSize(stackSize);
6151}
6152
6153rule__ALSPlus__Group_1__0__Impl
6154 @init {
6155 int stackSize = keepStackSize();
6156 }
6157:
6158(
6159{ before(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0()); }
6160(
6161
6162)
6163{ after(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0()); }
6164)
6165
6166;
6167finally {
6168 restoreStackSize(stackSize);
6169}
6170
6171
6172rule__ALSPlus__Group_1__1
6173 @init {
6174 int stackSize = keepStackSize();
6175 }
6176:
6177 rule__ALSPlus__Group_1__1__Impl
6178 rule__ALSPlus__Group_1__2
6179;
6180finally {
6181 restoreStackSize(stackSize);
6182}
6183
6184rule__ALSPlus__Group_1__1__Impl
6185 @init {
6186 int stackSize = keepStackSize();
6187 }
6188:
6189(
6190{ before(grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1()); }
6191
6192 '+'
6193
6194{ after(grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1()); }
6195)
6196
6197;
6198finally {
6199 restoreStackSize(stackSize);
6200}
6201
6202
6203rule__ALSPlus__Group_1__2
6204 @init {
6205 int stackSize = keepStackSize();
6206 }
6207:
6208 rule__ALSPlus__Group_1__2__Impl
6209;
6210finally {
6211 restoreStackSize(stackSize);
6212}
6213
6214rule__ALSPlus__Group_1__2__Impl
6215 @init {
6216 int stackSize = keepStackSize();
6217 }
6218:
6219(
6220{ before(grammarAccess.getALSPlusAccess().getRightOperandAssignment_1_2()); }
6221(rule__ALSPlus__RightOperandAssignment_1_2)
6222{ after(grammarAccess.getALSPlusAccess().getRightOperandAssignment_1_2()); }
6223)
6224
6225;
6226finally {
6227 restoreStackSize(stackSize);
6228}
6229
6230
6231
6232
6233
6234
6235
6236
6237rule__ALSIntersection__Group__0
6238 @init {
6239 int stackSize = keepStackSize();
6240 }
6241:
6242 rule__ALSIntersection__Group__0__Impl
6243 rule__ALSIntersection__Group__1
6244;
6245finally {
6246 restoreStackSize(stackSize);
6247}
6248
6249rule__ALSIntersection__Group__0__Impl
6250 @init {
6251 int stackSize = keepStackSize();
6252 }
6253:
6254(
6255{ before(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0()); }
6256 ruleALSDirectProduct
6257{ after(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0()); }
6258)
6259
6260;
6261finally {
6262 restoreStackSize(stackSize);
6263}
6264
6265
6266rule__ALSIntersection__Group__1
6267 @init {
6268 int stackSize = keepStackSize();
6269 }
6270:
6271 rule__ALSIntersection__Group__1__Impl
6272;
6273finally {
6274 restoreStackSize(stackSize);
6275}
6276
6277rule__ALSIntersection__Group__1__Impl
6278 @init {
6279 int stackSize = keepStackSize();
6280 }
6281:
6282(
6283{ before(grammarAccess.getALSIntersectionAccess().getGroup_1()); }
6284(rule__ALSIntersection__Group_1__0)*
6285{ after(grammarAccess.getALSIntersectionAccess().getGroup_1()); }
6286)
6287
6288;
6289finally {
6290 restoreStackSize(stackSize);
6291}
6292
6293
6294
6295
6296
6297
6298rule__ALSIntersection__Group_1__0
6299 @init {
6300 int stackSize = keepStackSize();
6301 }
6302:
6303 rule__ALSIntersection__Group_1__0__Impl
6304 rule__ALSIntersection__Group_1__1
6305;
6306finally {
6307 restoreStackSize(stackSize);
6308}
6309
6310rule__ALSIntersection__Group_1__0__Impl
6311 @init {
6312 int stackSize = keepStackSize();
6313 }
6314:
6315(
6316{ before(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0()); }
6317(
6318
6319)
6320{ after(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0()); }
6321)
6322
6323;
6324finally {
6325 restoreStackSize(stackSize);
6326}
6327
6328
6329rule__ALSIntersection__Group_1__1
6330 @init {
6331 int stackSize = keepStackSize();
6332 }
6333:
6334 rule__ALSIntersection__Group_1__1__Impl
6335 rule__ALSIntersection__Group_1__2
6336;
6337finally {
6338 restoreStackSize(stackSize);
6339}
6340
6341rule__ALSIntersection__Group_1__1__Impl
6342 @init {
6343 int stackSize = keepStackSize();
6344 }
6345:
6346(
6347{ before(grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1()); }
6348
6349 '&'
6350
6351{ after(grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1()); }
6352)
6353
6354;
6355finally {
6356 restoreStackSize(stackSize);
6357}
6358
6359
6360rule__ALSIntersection__Group_1__2
6361 @init {
6362 int stackSize = keepStackSize();
6363 }
6364:
6365 rule__ALSIntersection__Group_1__2__Impl
6366;
6367finally {
6368 restoreStackSize(stackSize);
6369}
6370
6371rule__ALSIntersection__Group_1__2__Impl
6372 @init {
6373 int stackSize = keepStackSize();
6374 }
6375:
6376(
6377{ before(grammarAccess.getALSIntersectionAccess().getRightOperandAssignment_1_2()); }
6378(rule__ALSIntersection__RightOperandAssignment_1_2)
6379{ after(grammarAccess.getALSIntersectionAccess().getRightOperandAssignment_1_2()); }
6380)
6381
6382;
6383finally {
6384 restoreStackSize(stackSize);
6385}
6386
6387
6388
6389
6390
6391
6392
6393
6394rule__ALSDirectProduct__Group__0
6395 @init {
6396 int stackSize = keepStackSize();
6397 }
6398:
6399 rule__ALSDirectProduct__Group__0__Impl
6400 rule__ALSDirectProduct__Group__1
6401;
6402finally {
6403 restoreStackSize(stackSize);
6404}
6405
6406rule__ALSDirectProduct__Group__0__Impl
6407 @init {
6408 int stackSize = keepStackSize();
6409 }
6410:
6411(
6412{ before(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0()); }
6413 ruleALSPreficed
6414{ after(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0()); }
6415)
6416
6417;
6418finally {
6419 restoreStackSize(stackSize);
6420}
6421
6422
6423rule__ALSDirectProduct__Group__1
6424 @init {
6425 int stackSize = keepStackSize();
6426 }
6427:
6428 rule__ALSDirectProduct__Group__1__Impl
6429;
6430finally {
6431 restoreStackSize(stackSize);
6432}
6433
6434rule__ALSDirectProduct__Group__1__Impl
6435 @init {
6436 int stackSize = keepStackSize();
6437 }
6438:
6439(
6440{ before(grammarAccess.getALSDirectProductAccess().getGroup_1()); }
6441(rule__ALSDirectProduct__Group_1__0)?
6442{ after(grammarAccess.getALSDirectProductAccess().getGroup_1()); }
6443)
6444
6445;
6446finally {
6447 restoreStackSize(stackSize);
6448}
6449
6450
6451
6452
6453
6454
6455rule__ALSDirectProduct__Group_1__0
6456 @init {
6457 int stackSize = keepStackSize();
6458 }
6459:
6460 rule__ALSDirectProduct__Group_1__0__Impl
6461 rule__ALSDirectProduct__Group_1__1
6462;
6463finally {
6464 restoreStackSize(stackSize);
6465}
6466
6467rule__ALSDirectProduct__Group_1__0__Impl
6468 @init {
6469 int stackSize = keepStackSize();
6470 }
6471:
6472(
6473{ before(grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0()); }
6474(
6475
6476)
6477{ after(grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0()); }
6478)
6479
6480;
6481finally {
6482 restoreStackSize(stackSize);
6483}
6484
6485
6486rule__ALSDirectProduct__Group_1__1
6487 @init {
6488 int stackSize = keepStackSize();
6489 }
6490:
6491 rule__ALSDirectProduct__Group_1__1__Impl
6492 rule__ALSDirectProduct__Group_1__2
6493;
6494finally {
6495 restoreStackSize(stackSize);
6496}
6497
6498rule__ALSDirectProduct__Group_1__1__Impl
6499 @init {
6500 int stackSize = keepStackSize();
6501 }
6502:
6503(
6504{ before(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitAssignment_1_1()); }
6505(rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1)?
6506{ after(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitAssignment_1_1()); }
6507)
6508
6509;
6510finally {
6511 restoreStackSize(stackSize);
6512}
6513
6514
6515rule__ALSDirectProduct__Group_1__2
6516 @init {
6517 int stackSize = keepStackSize();
6518 }
6519:
6520 rule__ALSDirectProduct__Group_1__2__Impl
6521 rule__ALSDirectProduct__Group_1__3
6522;
6523finally {
6524 restoreStackSize(stackSize);
6525}
6526
6527rule__ALSDirectProduct__Group_1__2__Impl
6528 @init {
6529 int stackSize = keepStackSize();
6530 }
6531:
6532(
6533{ before(grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2()); }
6534
6535 '->'
6536
6537{ after(grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2()); }
6538)
6539
6540;
6541finally {
6542 restoreStackSize(stackSize);
6543}
6544
6545
6546rule__ALSDirectProduct__Group_1__3
6547 @init {
6548 int stackSize = keepStackSize();
6549 }
6550:
6551 rule__ALSDirectProduct__Group_1__3__Impl
6552 rule__ALSDirectProduct__Group_1__4
6553;
6554finally {
6555 restoreStackSize(stackSize);
6556}
6557
6558rule__ALSDirectProduct__Group_1__3__Impl
6559 @init {
6560 int stackSize = keepStackSize();
6561 }
6562:
6563(
6564{ before(grammarAccess.getALSDirectProductAccess().getRightMultiplicitAssignment_1_3()); }
6565(rule__ALSDirectProduct__RightMultiplicitAssignment_1_3)?
6566{ after(grammarAccess.getALSDirectProductAccess().getRightMultiplicitAssignment_1_3()); }
6567)
6568
6569;
6570finally {
6571 restoreStackSize(stackSize);
6572}
6573
6574
6575rule__ALSDirectProduct__Group_1__4
6576 @init {
6577 int stackSize = keepStackSize();
6578 }
6579:
6580 rule__ALSDirectProduct__Group_1__4__Impl
6581;
6582finally {
6583 restoreStackSize(stackSize);
6584}
6585
6586rule__ALSDirectProduct__Group_1__4__Impl
6587 @init {
6588 int stackSize = keepStackSize();
6589 }
6590:
6591(
6592{ before(grammarAccess.getALSDirectProductAccess().getRightOperandAssignment_1_4()); }
6593(rule__ALSDirectProduct__RightOperandAssignment_1_4)
6594{ after(grammarAccess.getALSDirectProductAccess().getRightOperandAssignment_1_4()); }
6595)
6596
6597;
6598finally {
6599 restoreStackSize(stackSize);
6600}
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613rule__ALSPreficed__Group_0__0
6614 @init {
6615 int stackSize = keepStackSize();
6616 }
6617:
6618 rule__ALSPreficed__Group_0__0__Impl
6619 rule__ALSPreficed__Group_0__1
6620;
6621finally {
6622 restoreStackSize(stackSize);
6623}
6624
6625rule__ALSPreficed__Group_0__0__Impl
6626 @init {
6627 int stackSize = keepStackSize();
6628 }
6629:
6630(
6631{ before(grammarAccess.getALSPreficedAccess().getALSNotAction_0_0()); }
6632(
6633
6634)
6635{ after(grammarAccess.getALSPreficedAccess().getALSNotAction_0_0()); }
6636)
6637
6638;
6639finally {
6640 restoreStackSize(stackSize);
6641}
6642
6643
6644rule__ALSPreficed__Group_0__1
6645 @init {
6646 int stackSize = keepStackSize();
6647 }
6648:
6649 rule__ALSPreficed__Group_0__1__Impl
6650 rule__ALSPreficed__Group_0__2
6651;
6652finally {
6653 restoreStackSize(stackSize);
6654}
6655
6656rule__ALSPreficed__Group_0__1__Impl
6657 @init {
6658 int stackSize = keepStackSize();
6659 }
6660:
6661(
6662{ before(grammarAccess.getALSPreficedAccess().getGroup_0_1()); }
6663(rule__ALSPreficed__Group_0_1__0)
6664{ after(grammarAccess.getALSPreficedAccess().getGroup_0_1()); }
6665)
6666
6667;
6668finally {
6669 restoreStackSize(stackSize);
6670}
6671
6672
6673rule__ALSPreficed__Group_0__2
6674 @init {
6675 int stackSize = keepStackSize();
6676 }
6677:
6678 rule__ALSPreficed__Group_0__2__Impl
6679;
6680finally {
6681 restoreStackSize(stackSize);
6682}
6683
6684rule__ALSPreficed__Group_0__2__Impl
6685 @init {
6686 int stackSize = keepStackSize();
6687 }
6688:
6689(
6690{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_0_2()); }
6691(rule__ALSPreficed__OperandAssignment_0_2)
6692{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_0_2()); }
6693)
6694
6695;
6696finally {
6697 restoreStackSize(stackSize);
6698}
6699
6700
6701
6702
6703
6704
6705
6706
6707rule__ALSPreficed__Group_0_1__0
6708 @init {
6709 int stackSize = keepStackSize();
6710 }
6711:
6712 rule__ALSPreficed__Group_0_1__0__Impl
6713;
6714finally {
6715 restoreStackSize(stackSize);
6716}
6717
6718rule__ALSPreficed__Group_0_1__0__Impl
6719 @init {
6720 int stackSize = keepStackSize();
6721 }
6722:
6723(
6724{ before(grammarAccess.getALSPreficedAccess().getAlternatives_0_1_0()); }
6725(rule__ALSPreficed__Alternatives_0_1_0)
6726{ after(grammarAccess.getALSPreficedAccess().getAlternatives_0_1_0()); }
6727)
6728
6729;
6730finally {
6731 restoreStackSize(stackSize);
6732}
6733
6734
6735
6736
6737rule__ALSPreficed__Group_1__0
6738 @init {
6739 int stackSize = keepStackSize();
6740 }
6741:
6742 rule__ALSPreficed__Group_1__0__Impl
6743 rule__ALSPreficed__Group_1__1
6744;
6745finally {
6746 restoreStackSize(stackSize);
6747}
6748
6749rule__ALSPreficed__Group_1__0__Impl
6750 @init {
6751 int stackSize = keepStackSize();
6752 }
6753:
6754(
6755{ before(grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0()); }
6756(
6757
6758)
6759{ after(grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0()); }
6760)
6761
6762;
6763finally {
6764 restoreStackSize(stackSize);
6765}
6766
6767
6768rule__ALSPreficed__Group_1__1
6769 @init {
6770 int stackSize = keepStackSize();
6771 }
6772:
6773 rule__ALSPreficed__Group_1__1__Impl
6774 rule__ALSPreficed__Group_1__2
6775;
6776finally {
6777 restoreStackSize(stackSize);
6778}
6779
6780rule__ALSPreficed__Group_1__1__Impl
6781 @init {
6782 int stackSize = keepStackSize();
6783 }
6784:
6785(
6786{ before(grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1()); }
6787(
6788 '~'
6789)
6790{ after(grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1()); }
6791)
6792
6793;
6794finally {
6795 restoreStackSize(stackSize);
6796}
6797
6798
6799rule__ALSPreficed__Group_1__2
6800 @init {
6801 int stackSize = keepStackSize();
6802 }
6803:
6804 rule__ALSPreficed__Group_1__2__Impl
6805;
6806finally {
6807 restoreStackSize(stackSize);
6808}
6809
6810rule__ALSPreficed__Group_1__2__Impl
6811 @init {
6812 int stackSize = keepStackSize();
6813 }
6814:
6815(
6816{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_1_2()); }
6817(rule__ALSPreficed__OperandAssignment_1_2)
6818{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_1_2()); }
6819)
6820
6821;
6822finally {
6823 restoreStackSize(stackSize);
6824}
6825
6826
6827
6828
6829
6830
6831
6832
6833rule__ALSPreficed__Group_2__0
6834 @init {
6835 int stackSize = keepStackSize();
6836 }
6837:
6838 rule__ALSPreficed__Group_2__0__Impl
6839 rule__ALSPreficed__Group_2__1
6840;
6841finally {
6842 restoreStackSize(stackSize);
6843}
6844
6845rule__ALSPreficed__Group_2__0__Impl
6846 @init {
6847 int stackSize = keepStackSize();
6848 }
6849:
6850(
6851{ before(grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0()); }
6852(
6853
6854)
6855{ after(grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0()); }
6856)
6857
6858;
6859finally {
6860 restoreStackSize(stackSize);
6861}
6862
6863
6864rule__ALSPreficed__Group_2__1
6865 @init {
6866 int stackSize = keepStackSize();
6867 }
6868:
6869 rule__ALSPreficed__Group_2__1__Impl
6870 rule__ALSPreficed__Group_2__2
6871;
6872finally {
6873 restoreStackSize(stackSize);
6874}
6875
6876rule__ALSPreficed__Group_2__1__Impl
6877 @init {
6878 int stackSize = keepStackSize();
6879 }
6880:
6881(
6882{ before(grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1()); }
6883
6884 '^'
6885
6886{ after(grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1()); }
6887)
6888
6889;
6890finally {
6891 restoreStackSize(stackSize);
6892}
6893
6894
6895rule__ALSPreficed__Group_2__2
6896 @init {
6897 int stackSize = keepStackSize();
6898 }
6899:
6900 rule__ALSPreficed__Group_2__2__Impl
6901;
6902finally {
6903 restoreStackSize(stackSize);
6904}
6905
6906rule__ALSPreficed__Group_2__2__Impl
6907 @init {
6908 int stackSize = keepStackSize();
6909 }
6910:
6911(
6912{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_2_2()); }
6913(rule__ALSPreficed__OperandAssignment_2_2)
6914{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_2_2()); }
6915)
6916
6917;
6918finally {
6919 restoreStackSize(stackSize);
6920}
6921
6922
6923
6924
6925
6926
6927
6928
6929rule__ALSPreficed__Group_3__0
6930 @init {
6931 int stackSize = keepStackSize();
6932 }
6933:
6934 rule__ALSPreficed__Group_3__0__Impl
6935 rule__ALSPreficed__Group_3__1
6936;
6937finally {
6938 restoreStackSize(stackSize);
6939}
6940
6941rule__ALSPreficed__Group_3__0__Impl
6942 @init {
6943 int stackSize = keepStackSize();
6944 }
6945:
6946(
6947{ before(grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0()); }
6948(
6949
6950)
6951{ after(grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0()); }
6952)
6953
6954;
6955finally {
6956 restoreStackSize(stackSize);
6957}
6958
6959
6960rule__ALSPreficed__Group_3__1
6961 @init {
6962 int stackSize = keepStackSize();
6963 }
6964:
6965 rule__ALSPreficed__Group_3__1__Impl
6966 rule__ALSPreficed__Group_3__2
6967;
6968finally {
6969 restoreStackSize(stackSize);
6970}
6971
6972rule__ALSPreficed__Group_3__1__Impl
6973 @init {
6974 int stackSize = keepStackSize();
6975 }
6976:
6977(
6978{ before(grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1()); }
6979
6980 '*'
6981
6982{ after(grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1()); }
6983)
6984
6985;
6986finally {
6987 restoreStackSize(stackSize);
6988}
6989
6990
6991rule__ALSPreficed__Group_3__2
6992 @init {
6993 int stackSize = keepStackSize();
6994 }
6995:
6996 rule__ALSPreficed__Group_3__2__Impl
6997;
6998finally {
6999 restoreStackSize(stackSize);
7000}
7001
7002rule__ALSPreficed__Group_3__2__Impl
7003 @init {
7004 int stackSize = keepStackSize();
7005 }
7006:
7007(
7008{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_3_2()); }
7009(rule__ALSPreficed__OperandAssignment_3_2)
7010{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_3_2()); }
7011)
7012
7013;
7014finally {
7015 restoreStackSize(stackSize);
7016}
7017
7018
7019
7020
7021
7022
7023
7024
7025rule__ALSPreficed__Group_4__0
7026 @init {
7027 int stackSize = keepStackSize();
7028 }
7029:
7030 rule__ALSPreficed__Group_4__0__Impl
7031 rule__ALSPreficed__Group_4__1
7032;
7033finally {
7034 restoreStackSize(stackSize);
7035}
7036
7037rule__ALSPreficed__Group_4__0__Impl
7038 @init {
7039 int stackSize = keepStackSize();
7040 }
7041:
7042(
7043{ before(grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0()); }
7044(
7045
7046)
7047{ after(grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0()); }
7048)
7049
7050;
7051finally {
7052 restoreStackSize(stackSize);
7053}
7054
7055
7056rule__ALSPreficed__Group_4__1
7057 @init {
7058 int stackSize = keepStackSize();
7059 }
7060:
7061 rule__ALSPreficed__Group_4__1__Impl
7062 rule__ALSPreficed__Group_4__2
7063;
7064finally {
7065 restoreStackSize(stackSize);
7066}
7067
7068rule__ALSPreficed__Group_4__1__Impl
7069 @init {
7070 int stackSize = keepStackSize();
7071 }
7072:
7073(
7074{ before(grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1()); }
7075
7076 '#'
7077
7078{ after(grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1()); }
7079)
7080
7081;
7082finally {
7083 restoreStackSize(stackSize);
7084}
7085
7086
7087rule__ALSPreficed__Group_4__2
7088 @init {
7089 int stackSize = keepStackSize();
7090 }
7091:
7092 rule__ALSPreficed__Group_4__2__Impl
7093;
7094finally {
7095 restoreStackSize(stackSize);
7096}
7097
7098rule__ALSPreficed__Group_4__2__Impl
7099 @init {
7100 int stackSize = keepStackSize();
7101 }
7102:
7103(
7104{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_4_2()); }
7105(rule__ALSPreficed__OperandAssignment_4_2)
7106{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_4_2()); }
7107)
7108
7109;
7110finally {
7111 restoreStackSize(stackSize);
7112}
7113
7114
7115
7116
7117
7118
7119
7120
7121rule__ALSPreficed__Group_5__0
7122 @init {
7123 int stackSize = keepStackSize();
7124 }
7125:
7126 rule__ALSPreficed__Group_5__0__Impl
7127 rule__ALSPreficed__Group_5__1
7128;
7129finally {
7130 restoreStackSize(stackSize);
7131}
7132
7133rule__ALSPreficed__Group_5__0__Impl
7134 @init {
7135 int stackSize = keepStackSize();
7136 }
7137:
7138(
7139{ before(grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0()); }
7140(
7141
7142)
7143{ after(grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0()); }
7144)
7145
7146;
7147finally {
7148 restoreStackSize(stackSize);
7149}
7150
7151
7152rule__ALSPreficed__Group_5__1
7153 @init {
7154 int stackSize = keepStackSize();
7155 }
7156:
7157 rule__ALSPreficed__Group_5__1__Impl
7158 rule__ALSPreficed__Group_5__2
7159;
7160finally {
7161 restoreStackSize(stackSize);
7162}
7163
7164rule__ALSPreficed__Group_5__1__Impl
7165 @init {
7166 int stackSize = keepStackSize();
7167 }
7168:
7169(
7170{ before(grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1()); }
7171(
7172 '-'
7173)
7174{ after(grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1()); }
7175)
7176
7177;
7178finally {
7179 restoreStackSize(stackSize);
7180}
7181
7182
7183rule__ALSPreficed__Group_5__2
7184 @init {
7185 int stackSize = keepStackSize();
7186 }
7187:
7188 rule__ALSPreficed__Group_5__2__Impl
7189;
7190finally {
7191 restoreStackSize(stackSize);
7192}
7193
7194rule__ALSPreficed__Group_5__2__Impl
7195 @init {
7196 int stackSize = keepStackSize();
7197 }
7198:
7199(
7200{ before(grammarAccess.getALSPreficedAccess().getOperandAssignment_5_2()); }
7201(rule__ALSPreficed__OperandAssignment_5_2)
7202{ after(grammarAccess.getALSPreficedAccess().getOperandAssignment_5_2()); }
7203)
7204
7205;
7206finally {
7207 restoreStackSize(stackSize);
7208}
7209
7210
7211
7212
7213
7214
7215
7216
7217rule__ALSPreficed__Group_6__0
7218 @init {
7219 int stackSize = keepStackSize();
7220 }
7221:
7222 rule__ALSPreficed__Group_6__0__Impl
7223 rule__ALSPreficed__Group_6__1
7224;
7225finally {
7226 restoreStackSize(stackSize);
7227}
7228
7229rule__ALSPreficed__Group_6__0__Impl
7230 @init {
7231 int stackSize = keepStackSize();
7232 }
7233:
7234(
7235{ before(grammarAccess.getALSPreficedAccess().getALSSumAction_6_0()); }
7236(
7237
7238)
7239{ after(grammarAccess.getALSPreficedAccess().getALSSumAction_6_0()); }
7240)
7241
7242;
7243finally {
7244 restoreStackSize(stackSize);
7245}
7246
7247
7248rule__ALSPreficed__Group_6__1
7249 @init {
7250 int stackSize = keepStackSize();
7251 }
7252:
7253 rule__ALSPreficed__Group_6__1__Impl
7254 rule__ALSPreficed__Group_6__2
7255;
7256finally {
7257 restoreStackSize(stackSize);
7258}
7259
7260rule__ALSPreficed__Group_6__1__Impl
7261 @init {
7262 int stackSize = keepStackSize();
7263 }
7264:
7265(
7266{ before(grammarAccess.getALSPreficedAccess().getSumKeyword_6_1()); }
7267
7268 'sum'
7269
7270{ after(grammarAccess.getALSPreficedAccess().getSumKeyword_6_1()); }
7271)
7272
7273;
7274finally {
7275 restoreStackSize(stackSize);
7276}
7277
7278
7279rule__ALSPreficed__Group_6__2
7280 @init {
7281 int stackSize = keepStackSize();
7282 }
7283:
7284 rule__ALSPreficed__Group_6__2__Impl
7285 rule__ALSPreficed__Group_6__3
7286;
7287finally {
7288 restoreStackSize(stackSize);
7289}
7290
7291rule__ALSPreficed__Group_6__2__Impl
7292 @init {
7293 int stackSize = keepStackSize();
7294 }
7295:
7296(
7297{ before(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_2()); }
7298(rule__ALSPreficed__VariablesAssignment_6_2)
7299{ after(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_2()); }
7300)
7301
7302;
7303finally {
7304 restoreStackSize(stackSize);
7305}
7306
7307
7308rule__ALSPreficed__Group_6__3
7309 @init {
7310 int stackSize = keepStackSize();
7311 }
7312:
7313 rule__ALSPreficed__Group_6__3__Impl
7314 rule__ALSPreficed__Group_6__4
7315;
7316finally {
7317 restoreStackSize(stackSize);
7318}
7319
7320rule__ALSPreficed__Group_6__3__Impl
7321 @init {
7322 int stackSize = keepStackSize();
7323 }
7324:
7325(
7326{ before(grammarAccess.getALSPreficedAccess().getGroup_6_3()); }
7327(rule__ALSPreficed__Group_6_3__0)*
7328{ after(grammarAccess.getALSPreficedAccess().getGroup_6_3()); }
7329)
7330
7331;
7332finally {
7333 restoreStackSize(stackSize);
7334}
7335
7336
7337rule__ALSPreficed__Group_6__4
7338 @init {
7339 int stackSize = keepStackSize();
7340 }
7341:
7342 rule__ALSPreficed__Group_6__4__Impl
7343 rule__ALSPreficed__Group_6__5
7344;
7345finally {
7346 restoreStackSize(stackSize);
7347}
7348
7349rule__ALSPreficed__Group_6__4__Impl
7350 @init {
7351 int stackSize = keepStackSize();
7352 }
7353:
7354(
7355{ before(grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4()); }
7356
7357 '{'
7358
7359{ after(grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4()); }
7360)
7361
7362;
7363finally {
7364 restoreStackSize(stackSize);
7365}
7366
7367
7368rule__ALSPreficed__Group_6__5
7369 @init {
7370 int stackSize = keepStackSize();
7371 }
7372:
7373 rule__ALSPreficed__Group_6__5__Impl
7374 rule__ALSPreficed__Group_6__6
7375;
7376finally {
7377 restoreStackSize(stackSize);
7378}
7379
7380rule__ALSPreficed__Group_6__5__Impl
7381 @init {
7382 int stackSize = keepStackSize();
7383 }
7384:
7385(
7386{ before(grammarAccess.getALSPreficedAccess().getExpressionAssignment_6_5()); }
7387(rule__ALSPreficed__ExpressionAssignment_6_5)
7388{ after(grammarAccess.getALSPreficedAccess().getExpressionAssignment_6_5()); }
7389)
7390
7391;
7392finally {
7393 restoreStackSize(stackSize);
7394}
7395
7396
7397rule__ALSPreficed__Group_6__6
7398 @init {
7399 int stackSize = keepStackSize();
7400 }
7401:
7402 rule__ALSPreficed__Group_6__6__Impl
7403;
7404finally {
7405 restoreStackSize(stackSize);
7406}
7407
7408rule__ALSPreficed__Group_6__6__Impl
7409 @init {
7410 int stackSize = keepStackSize();
7411 }
7412:
7413(
7414{ before(grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6()); }
7415
7416 '}'
7417
7418{ after(grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6()); }
7419)
7420
7421;
7422finally {
7423 restoreStackSize(stackSize);
7424}
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441rule__ALSPreficed__Group_6_3__0
7442 @init {
7443 int stackSize = keepStackSize();
7444 }
7445:
7446 rule__ALSPreficed__Group_6_3__0__Impl
7447 rule__ALSPreficed__Group_6_3__1
7448;
7449finally {
7450 restoreStackSize(stackSize);
7451}
7452
7453rule__ALSPreficed__Group_6_3__0__Impl
7454 @init {
7455 int stackSize = keepStackSize();
7456 }
7457:
7458(
7459{ before(grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0()); }
7460
7461 ','
7462
7463{ after(grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0()); }
7464)
7465
7466;
7467finally {
7468 restoreStackSize(stackSize);
7469}
7470
7471
7472rule__ALSPreficed__Group_6_3__1
7473 @init {
7474 int stackSize = keepStackSize();
7475 }
7476:
7477 rule__ALSPreficed__Group_6_3__1__Impl
7478;
7479finally {
7480 restoreStackSize(stackSize);
7481}
7482
7483rule__ALSPreficed__Group_6_3__1__Impl
7484 @init {
7485 int stackSize = keepStackSize();
7486 }
7487:
7488(
7489{ before(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_3_1()); }
7490(rule__ALSPreficed__VariablesAssignment_6_3_1)
7491{ after(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_3_1()); }
7492)
7493
7494;
7495finally {
7496 restoreStackSize(stackSize);
7497}
7498
7499
7500
7501
7502
7503
7504rule__ALSPreficed__Group_7__0
7505 @init {
7506 int stackSize = keepStackSize();
7507 }
7508:
7509 rule__ALSPreficed__Group_7__0__Impl
7510 rule__ALSPreficed__Group_7__1
7511;
7512finally {
7513 restoreStackSize(stackSize);
7514}
7515
7516rule__ALSPreficed__Group_7__0__Impl
7517 @init {
7518 int stackSize = keepStackSize();
7519 }
7520:
7521(
7522{ before(grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0()); }
7523(
7524
7525)
7526{ after(grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0()); }
7527)
7528
7529;
7530finally {
7531 restoreStackSize(stackSize);
7532}
7533
7534
7535rule__ALSPreficed__Group_7__1
7536 @init {
7537 int stackSize = keepStackSize();
7538 }
7539:
7540 rule__ALSPreficed__Group_7__1__Impl
7541 rule__ALSPreficed__Group_7__2
7542;
7543finally {
7544 restoreStackSize(stackSize);
7545}
7546
7547rule__ALSPreficed__Group_7__1__Impl
7548 @init {
7549 int stackSize = keepStackSize();
7550 }
7551:
7552(
7553{ before(grammarAccess.getALSPreficedAccess().getAlternatives_7_1()); }
7554(rule__ALSPreficed__Alternatives_7_1)
7555{ after(grammarAccess.getALSPreficedAccess().getAlternatives_7_1()); }
7556)
7557
7558;
7559finally {
7560 restoreStackSize(stackSize);
7561}
7562
7563
7564rule__ALSPreficed__Group_7__2
7565 @init {
7566 int stackSize = keepStackSize();
7567 }
7568:
7569 rule__ALSPreficed__Group_7__2__Impl
7570 rule__ALSPreficed__Group_7__3
7571;
7572finally {
7573 restoreStackSize(stackSize);
7574}
7575
7576rule__ALSPreficed__Group_7__2__Impl
7577 @init {
7578 int stackSize = keepStackSize();
7579 }
7580:
7581(
7582{ before(grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2()); }
7583
7584 '['
7585
7586{ after(grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2()); }
7587)
7588
7589;
7590finally {
7591 restoreStackSize(stackSize);
7592}
7593
7594
7595rule__ALSPreficed__Group_7__3
7596 @init {
7597 int stackSize = keepStackSize();
7598 }
7599:
7600 rule__ALSPreficed__Group_7__3__Impl
7601 rule__ALSPreficed__Group_7__4
7602;
7603finally {
7604 restoreStackSize(stackSize);
7605}
7606
7607rule__ALSPreficed__Group_7__3__Impl
7608 @init {
7609 int stackSize = keepStackSize();
7610 }
7611:
7612(
7613{ before(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_3()); }
7614(rule__ALSPreficed__ParamsAssignment_7_3)
7615{ after(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_3()); }
7616)
7617
7618;
7619finally {
7620 restoreStackSize(stackSize);
7621}
7622
7623
7624rule__ALSPreficed__Group_7__4
7625 @init {
7626 int stackSize = keepStackSize();
7627 }
7628:
7629 rule__ALSPreficed__Group_7__4__Impl
7630 rule__ALSPreficed__Group_7__5
7631;
7632finally {
7633 restoreStackSize(stackSize);
7634}
7635
7636rule__ALSPreficed__Group_7__4__Impl
7637 @init {
7638 int stackSize = keepStackSize();
7639 }
7640:
7641(
7642{ before(grammarAccess.getALSPreficedAccess().getGroup_7_4()); }
7643(rule__ALSPreficed__Group_7_4__0)*
7644{ after(grammarAccess.getALSPreficedAccess().getGroup_7_4()); }
7645)
7646
7647;
7648finally {
7649 restoreStackSize(stackSize);
7650}
7651
7652
7653rule__ALSPreficed__Group_7__5
7654 @init {
7655 int stackSize = keepStackSize();
7656 }
7657:
7658 rule__ALSPreficed__Group_7__5__Impl
7659;
7660finally {
7661 restoreStackSize(stackSize);
7662}
7663
7664rule__ALSPreficed__Group_7__5__Impl
7665 @init {
7666 int stackSize = keepStackSize();
7667 }
7668:
7669(
7670{ before(grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5()); }
7671
7672 ']'
7673
7674{ after(grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5()); }
7675)
7676
7677;
7678finally {
7679 restoreStackSize(stackSize);
7680}
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695rule__ALSPreficed__Group_7_4__0
7696 @init {
7697 int stackSize = keepStackSize();
7698 }
7699:
7700 rule__ALSPreficed__Group_7_4__0__Impl
7701 rule__ALSPreficed__Group_7_4__1
7702;
7703finally {
7704 restoreStackSize(stackSize);
7705}
7706
7707rule__ALSPreficed__Group_7_4__0__Impl
7708 @init {
7709 int stackSize = keepStackSize();
7710 }
7711:
7712(
7713{ before(grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0()); }
7714
7715 ','
7716
7717{ after(grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0()); }
7718)
7719
7720;
7721finally {
7722 restoreStackSize(stackSize);
7723}
7724
7725
7726rule__ALSPreficed__Group_7_4__1
7727 @init {
7728 int stackSize = keepStackSize();
7729 }
7730:
7731 rule__ALSPreficed__Group_7_4__1__Impl
7732;
7733finally {
7734 restoreStackSize(stackSize);
7735}
7736
7737rule__ALSPreficed__Group_7_4__1__Impl
7738 @init {
7739 int stackSize = keepStackSize();
7740 }
7741:
7742(
7743{ before(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_4_1()); }
7744(rule__ALSPreficed__ParamsAssignment_7_4_1)
7745{ after(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_4_1()); }
7746)
7747
7748;
7749finally {
7750 restoreStackSize(stackSize);
7751}
7752
7753
7754
7755
7756
7757
7758rule__ALSVariableDeclaration__Group__0
7759 @init {
7760 int stackSize = keepStackSize();
7761 }
7762:
7763 rule__ALSVariableDeclaration__Group__0__Impl
7764 rule__ALSVariableDeclaration__Group__1
7765;
7766finally {
7767 restoreStackSize(stackSize);
7768}
7769
7770rule__ALSVariableDeclaration__Group__0__Impl
7771 @init {
7772 int stackSize = keepStackSize();
7773 }
7774:
7775(
7776{ before(grammarAccess.getALSVariableDeclarationAccess().getNameAssignment_0()); }
7777(rule__ALSVariableDeclaration__NameAssignment_0)
7778{ after(grammarAccess.getALSVariableDeclarationAccess().getNameAssignment_0()); }
7779)
7780
7781;
7782finally {
7783 restoreStackSize(stackSize);
7784}
7785
7786
7787rule__ALSVariableDeclaration__Group__1
7788 @init {
7789 int stackSize = keepStackSize();
7790 }
7791:
7792 rule__ALSVariableDeclaration__Group__1__Impl
7793 rule__ALSVariableDeclaration__Group__2
7794;
7795finally {
7796 restoreStackSize(stackSize);
7797}
7798
7799rule__ALSVariableDeclaration__Group__1__Impl
7800 @init {
7801 int stackSize = keepStackSize();
7802 }
7803:
7804(
7805{ before(grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1()); }
7806
7807 ':'
7808
7809{ after(grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1()); }
7810)
7811
7812;
7813finally {
7814 restoreStackSize(stackSize);
7815}
7816
7817
7818rule__ALSVariableDeclaration__Group__2
7819 @init {
7820 int stackSize = keepStackSize();
7821 }
7822:
7823 rule__ALSVariableDeclaration__Group__2__Impl
7824;
7825finally {
7826 restoreStackSize(stackSize);
7827}
7828
7829rule__ALSVariableDeclaration__Group__2__Impl
7830 @init {
7831 int stackSize = keepStackSize();
7832 }
7833:
7834(
7835{ before(grammarAccess.getALSVariableDeclarationAccess().getRangeAssignment_2()); }
7836(rule__ALSVariableDeclaration__RangeAssignment_2)
7837{ after(grammarAccess.getALSVariableDeclarationAccess().getRangeAssignment_2()); }
7838)
7839
7840;
7841finally {
7842 restoreStackSize(stackSize);
7843}
7844
7845
7846
7847
7848
7849
7850
7851
7852rule__ALSBasicRelationTerm__Group_0__0
7853 @init {
7854 int stackSize = keepStackSize();
7855 }
7856:
7857 rule__ALSBasicRelationTerm__Group_0__0__Impl
7858 rule__ALSBasicRelationTerm__Group_0__1
7859;
7860finally {
7861 restoreStackSize(stackSize);
7862}
7863
7864rule__ALSBasicRelationTerm__Group_0__0__Impl
7865 @init {
7866 int stackSize = keepStackSize();
7867 }
7868:
7869(
7870{ before(grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0()); }
7871(
7872
7873)
7874{ after(grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0()); }
7875)
7876
7877;
7878finally {
7879 restoreStackSize(stackSize);
7880}
7881
7882
7883rule__ALSBasicRelationTerm__Group_0__1
7884 @init {
7885 int stackSize = keepStackSize();
7886 }
7887:
7888 rule__ALSBasicRelationTerm__Group_0__1__Impl
7889;
7890finally {
7891 restoreStackSize(stackSize);
7892}
7893
7894rule__ALSBasicRelationTerm__Group_0__1__Impl
7895 @init {
7896 int stackSize = keepStackSize();
7897 }
7898:
7899(
7900{ before(grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1()); }
7901
7902 'none'
7903
7904{ after(grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1()); }
7905)
7906
7907;
7908finally {
7909 restoreStackSize(stackSize);
7910}
7911
7912
7913
7914
7915
7916
7917rule__ALSBasicRelationTerm__Group_1__0
7918 @init {
7919 int stackSize = keepStackSize();
7920 }
7921:
7922 rule__ALSBasicRelationTerm__Group_1__0__Impl
7923 rule__ALSBasicRelationTerm__Group_1__1
7924;
7925finally {
7926 restoreStackSize(stackSize);
7927}
7928
7929rule__ALSBasicRelationTerm__Group_1__0__Impl
7930 @init {
7931 int stackSize = keepStackSize();
7932 }
7933:
7934(
7935{ before(grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0()); }
7936(
7937
7938)
7939{ after(grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0()); }
7940)
7941
7942;
7943finally {
7944 restoreStackSize(stackSize);
7945}
7946
7947
7948rule__ALSBasicRelationTerm__Group_1__1
7949 @init {
7950 int stackSize = keepStackSize();
7951 }
7952:
7953 rule__ALSBasicRelationTerm__Group_1__1__Impl
7954;
7955finally {
7956 restoreStackSize(stackSize);
7957}
7958
7959rule__ALSBasicRelationTerm__Group_1__1__Impl
7960 @init {
7961 int stackSize = keepStackSize();
7962 }
7963:
7964(
7965{ before(grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1()); }
7966
7967 'iden'
7968
7969{ after(grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1()); }
7970)
7971
7972;
7973finally {
7974 restoreStackSize(stackSize);
7975}
7976
7977
7978
7979
7980
7981
7982rule__ALSBasicRelationTerm__Group_2__0
7983 @init {
7984 int stackSize = keepStackSize();
7985 }
7986:
7987 rule__ALSBasicRelationTerm__Group_2__0__Impl
7988 rule__ALSBasicRelationTerm__Group_2__1
7989;
7990finally {
7991 restoreStackSize(stackSize);
7992}
7993
7994rule__ALSBasicRelationTerm__Group_2__0__Impl
7995 @init {
7996 int stackSize = keepStackSize();
7997 }
7998:
7999(
8000{ before(grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0()); }
8001(
8002
8003)
8004{ after(grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0()); }
8005)
8006
8007;
8008finally {
8009 restoreStackSize(stackSize);
8010}
8011
8012
8013rule__ALSBasicRelationTerm__Group_2__1
8014 @init {
8015 int stackSize = keepStackSize();
8016 }
8017:
8018 rule__ALSBasicRelationTerm__Group_2__1__Impl
8019;
8020finally {
8021 restoreStackSize(stackSize);
8022}
8023
8024rule__ALSBasicRelationTerm__Group_2__1__Impl
8025 @init {
8026 int stackSize = keepStackSize();
8027 }
8028:
8029(
8030{ before(grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1()); }
8031
8032 'univ'
8033
8034{ after(grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1()); }
8035)
8036
8037;
8038finally {
8039 restoreStackSize(stackSize);
8040}
8041
8042
8043
8044
8045
8046
8047rule__ALSBasicRelationTerm__Group_3__0
8048 @init {
8049 int stackSize = keepStackSize();
8050 }
8051:
8052 rule__ALSBasicRelationTerm__Group_3__0__Impl
8053 rule__ALSBasicRelationTerm__Group_3__1
8054;
8055finally {
8056 restoreStackSize(stackSize);
8057}
8058
8059rule__ALSBasicRelationTerm__Group_3__0__Impl
8060 @init {
8061 int stackSize = keepStackSize();
8062 }
8063:
8064(
8065{ before(grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0()); }
8066(
8067
8068)
8069{ after(grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0()); }
8070)
8071
8072;
8073finally {
8074 restoreStackSize(stackSize);
8075}
8076
8077
8078rule__ALSBasicRelationTerm__Group_3__1
8079 @init {
8080 int stackSize = keepStackSize();
8081 }
8082:
8083 rule__ALSBasicRelationTerm__Group_3__1__Impl
8084;
8085finally {
8086 restoreStackSize(stackSize);
8087}
8088
8089rule__ALSBasicRelationTerm__Group_3__1__Impl
8090 @init {
8091 int stackSize = keepStackSize();
8092 }
8093:
8094(
8095{ before(grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1()); }
8096
8097 'Int'
8098
8099{ after(grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1()); }
8100)
8101
8102;
8103finally {
8104 restoreStackSize(stackSize);
8105}
8106
8107
8108
8109
8110
8111
8112rule__ALSBasicRelationTerm__Group_4__0
8113 @init {
8114 int stackSize = keepStackSize();
8115 }
8116:
8117 rule__ALSBasicRelationTerm__Group_4__0__Impl
8118 rule__ALSBasicRelationTerm__Group_4__1
8119;
8120finally {
8121 restoreStackSize(stackSize);
8122}
8123
8124rule__ALSBasicRelationTerm__Group_4__0__Impl
8125 @init {
8126 int stackSize = keepStackSize();
8127 }
8128:
8129(
8130{ before(grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0()); }
8131(
8132
8133)
8134{ after(grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0()); }
8135)
8136
8137;
8138finally {
8139 restoreStackSize(stackSize);
8140}
8141
8142
8143rule__ALSBasicRelationTerm__Group_4__1
8144 @init {
8145 int stackSize = keepStackSize();
8146 }
8147:
8148 rule__ALSBasicRelationTerm__Group_4__1__Impl
8149;
8150finally {
8151 restoreStackSize(stackSize);
8152}
8153
8154rule__ALSBasicRelationTerm__Group_4__1__Impl
8155 @init {
8156 int stackSize = keepStackSize();
8157 }
8158:
8159(
8160{ before(grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1()); }
8161
8162 'String'
8163
8164{ after(grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1()); }
8165)
8166
8167;
8168finally {
8169 restoreStackSize(stackSize);
8170}
8171
8172
8173
8174
8175
8176
8177rule__ALSBasicRelationTerm__Group_5__0
8178 @init {
8179 int stackSize = keepStackSize();
8180 }
8181:
8182 rule__ALSBasicRelationTerm__Group_5__0__Impl
8183 rule__ALSBasicRelationTerm__Group_5__1
8184;
8185finally {
8186 restoreStackSize(stackSize);
8187}
8188
8189rule__ALSBasicRelationTerm__Group_5__0__Impl
8190 @init {
8191 int stackSize = keepStackSize();
8192 }
8193:
8194(
8195{ before(grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0()); }
8196(
8197
8198)
8199{ after(grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0()); }
8200)
8201
8202;
8203finally {
8204 restoreStackSize(stackSize);
8205}
8206
8207
8208rule__ALSBasicRelationTerm__Group_5__1
8209 @init {
8210 int stackSize = keepStackSize();
8211 }
8212:
8213 rule__ALSBasicRelationTerm__Group_5__1__Impl
8214;
8215finally {
8216 restoreStackSize(stackSize);
8217}
8218
8219rule__ALSBasicRelationTerm__Group_5__1__Impl
8220 @init {
8221 int stackSize = keepStackSize();
8222 }
8223:
8224(
8225{ before(grammarAccess.getALSBasicRelationTermAccess().getReferredAssignment_5_1()); }
8226(rule__ALSBasicRelationTerm__ReferredAssignment_5_1)
8227{ after(grammarAccess.getALSBasicRelationTermAccess().getReferredAssignment_5_1()); }
8228)
8229
8230;
8231finally {
8232 restoreStackSize(stackSize);
8233}
8234
8235
8236
8237
8238
8239
8240rule__ALSBasicRelationTerm__Group_6__0
8241 @init {
8242 int stackSize = keepStackSize();
8243 }
8244:
8245 rule__ALSBasicRelationTerm__Group_6__0__Impl
8246 rule__ALSBasicRelationTerm__Group_6__1
8247;
8248finally {
8249 restoreStackSize(stackSize);
8250}
8251
8252rule__ALSBasicRelationTerm__Group_6__0__Impl
8253 @init {
8254 int stackSize = keepStackSize();
8255 }
8256:
8257(
8258{ before(grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0()); }
8259(
8260
8261)
8262{ after(grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0()); }
8263)
8264
8265;
8266finally {
8267 restoreStackSize(stackSize);
8268}
8269
8270
8271rule__ALSBasicRelationTerm__Group_6__1
8272 @init {
8273 int stackSize = keepStackSize();
8274 }
8275:
8276 rule__ALSBasicRelationTerm__Group_6__1__Impl
8277;
8278finally {
8279 restoreStackSize(stackSize);
8280}
8281
8282rule__ALSBasicRelationTerm__Group_6__1__Impl
8283 @init {
8284 int stackSize = keepStackSize();
8285 }
8286:
8287(
8288{ before(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_6_1()); }
8289(rule__ALSBasicRelationTerm__ValueAssignment_6_1)
8290{ after(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_6_1()); }
8291)
8292
8293;
8294finally {
8295 restoreStackSize(stackSize);
8296}
8297
8298
8299
8300
8301
8302
8303rule__ALSBasicRelationTerm__Group_7__0
8304 @init {
8305 int stackSize = keepStackSize();
8306 }
8307:
8308 rule__ALSBasicRelationTerm__Group_7__0__Impl
8309 rule__ALSBasicRelationTerm__Group_7__1
8310;
8311finally {
8312 restoreStackSize(stackSize);
8313}
8314
8315rule__ALSBasicRelationTerm__Group_7__0__Impl
8316 @init {
8317 int stackSize = keepStackSize();
8318 }
8319:
8320(
8321{ before(grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0()); }
8322(
8323
8324)
8325{ after(grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0()); }
8326)
8327
8328;
8329finally {
8330 restoreStackSize(stackSize);
8331}
8332
8333
8334rule__ALSBasicRelationTerm__Group_7__1
8335 @init {
8336 int stackSize = keepStackSize();
8337 }
8338:
8339 rule__ALSBasicRelationTerm__Group_7__1__Impl
8340;
8341finally {
8342 restoreStackSize(stackSize);
8343}
8344
8345rule__ALSBasicRelationTerm__Group_7__1__Impl
8346 @init {
8347 int stackSize = keepStackSize();
8348 }
8349:
8350(
8351{ before(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_7_1()); }
8352(rule__ALSBasicRelationTerm__ValueAssignment_7_1)
8353{ after(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_7_1()); }
8354)
8355
8356;
8357finally {
8358 restoreStackSize(stackSize);
8359}
8360
8361
8362
8363
8364
8365
8366rule__ALSBasicRelationTerm__Group_8__0
8367 @init {
8368 int stackSize = keepStackSize();
8369 }
8370:
8371 rule__ALSBasicRelationTerm__Group_8__0__Impl
8372 rule__ALSBasicRelationTerm__Group_8__1
8373;
8374finally {
8375 restoreStackSize(stackSize);
8376}
8377
8378rule__ALSBasicRelationTerm__Group_8__0__Impl
8379 @init {
8380 int stackSize = keepStackSize();
8381 }
8382:
8383(
8384{ before(grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); }
8385
8386 '('
8387
8388{ after(grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); }
8389)
8390
8391;
8392finally {
8393 restoreStackSize(stackSize);
8394}
8395
8396
8397rule__ALSBasicRelationTerm__Group_8__1
8398 @init {
8399 int stackSize = keepStackSize();
8400 }
8401:
8402 rule__ALSBasicRelationTerm__Group_8__1__Impl
8403 rule__ALSBasicRelationTerm__Group_8__2
8404;
8405finally {
8406 restoreStackSize(stackSize);
8407}
8408
8409rule__ALSBasicRelationTerm__Group_8__1__Impl
8410 @init {
8411 int stackSize = keepStackSize();
8412 }
8413:
8414(
8415{ before(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1()); }
8416 ruleALSTerm
8417{ after(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1()); }
8418)
8419
8420;
8421finally {
8422 restoreStackSize(stackSize);
8423}
8424
8425
8426rule__ALSBasicRelationTerm__Group_8__2
8427 @init {
8428 int stackSize = keepStackSize();
8429 }
8430:
8431 rule__ALSBasicRelationTerm__Group_8__2__Impl
8432;
8433finally {
8434 restoreStackSize(stackSize);
8435}
8436
8437rule__ALSBasicRelationTerm__Group_8__2__Impl
8438 @init {
8439 int stackSize = keepStackSize();
8440 }
8441:
8442(
8443{ before(grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2()); }
8444
8445 ')'
8446
8447{ after(grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2()); }
8448)
8449
8450;
8451finally {
8452 restoreStackSize(stackSize);
8453}
8454
8455
8456
8457
8458
8459
8460
8461
8462rule__ALSRunCommand__Group__0
8463 @init {
8464 int stackSize = keepStackSize();
8465 }
8466:
8467 rule__ALSRunCommand__Group__0__Impl
8468 rule__ALSRunCommand__Group__1
8469;
8470finally {
8471 restoreStackSize(stackSize);
8472}
8473
8474rule__ALSRunCommand__Group__0__Impl
8475 @init {
8476 int stackSize = keepStackSize();
8477 }
8478:
8479(
8480{ before(grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0()); }
8481(
8482
8483)
8484{ after(grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0()); }
8485)
8486
8487;
8488finally {
8489 restoreStackSize(stackSize);
8490}
8491
8492
8493rule__ALSRunCommand__Group__1
8494 @init {
8495 int stackSize = keepStackSize();
8496 }
8497:
8498 rule__ALSRunCommand__Group__1__Impl
8499 rule__ALSRunCommand__Group__2
8500;
8501finally {
8502 restoreStackSize(stackSize);
8503}
8504
8505rule__ALSRunCommand__Group__1__Impl
8506 @init {
8507 int stackSize = keepStackSize();
8508 }
8509:
8510(
8511{ before(grammarAccess.getALSRunCommandAccess().getRunKeyword_1()); }
8512
8513 'run'
8514
8515{ after(grammarAccess.getALSRunCommandAccess().getRunKeyword_1()); }
8516)
8517
8518;
8519finally {
8520 restoreStackSize(stackSize);
8521}
8522
8523
8524rule__ALSRunCommand__Group__2
8525 @init {
8526 int stackSize = keepStackSize();
8527 }
8528:
8529 rule__ALSRunCommand__Group__2__Impl
8530 rule__ALSRunCommand__Group__3
8531;
8532finally {
8533 restoreStackSize(stackSize);
8534}
8535
8536rule__ALSRunCommand__Group__2__Impl
8537 @init {
8538 int stackSize = keepStackSize();
8539 }
8540:
8541(
8542{ before(grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2()); }
8543
8544 '{'
8545
8546{ after(grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2()); }
8547)
8548
8549;
8550finally {
8551 restoreStackSize(stackSize);
8552}
8553
8554
8555rule__ALSRunCommand__Group__3
8556 @init {
8557 int stackSize = keepStackSize();
8558 }
8559:
8560 rule__ALSRunCommand__Group__3__Impl
8561 rule__ALSRunCommand__Group__4
8562;
8563finally {
8564 restoreStackSize(stackSize);
8565}
8566
8567rule__ALSRunCommand__Group__3__Impl
8568 @init {
8569 int stackSize = keepStackSize();
8570 }
8571:
8572(
8573{ before(grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3()); }
8574
8575 '}'
8576
8577{ after(grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3()); }
8578)
8579
8580;
8581finally {
8582 restoreStackSize(stackSize);
8583}
8584
8585
8586rule__ALSRunCommand__Group__4
8587 @init {
8588 int stackSize = keepStackSize();
8589 }
8590:
8591 rule__ALSRunCommand__Group__4__Impl
8592;
8593finally {
8594 restoreStackSize(stackSize);
8595}
8596
8597rule__ALSRunCommand__Group__4__Impl
8598 @init {
8599 int stackSize = keepStackSize();
8600 }
8601:
8602(
8603{ before(grammarAccess.getALSRunCommandAccess().getGroup_4()); }
8604(rule__ALSRunCommand__Group_4__0)?
8605{ after(grammarAccess.getALSRunCommandAccess().getGroup_4()); }
8606)
8607
8608;
8609finally {
8610 restoreStackSize(stackSize);
8611}
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624rule__ALSRunCommand__Group_4__0
8625 @init {
8626 int stackSize = keepStackSize();
8627 }
8628:
8629 rule__ALSRunCommand__Group_4__0__Impl
8630 rule__ALSRunCommand__Group_4__1
8631;
8632finally {
8633 restoreStackSize(stackSize);
8634}
8635
8636rule__ALSRunCommand__Group_4__0__Impl
8637 @init {
8638 int stackSize = keepStackSize();
8639 }
8640:
8641(
8642{ before(grammarAccess.getALSRunCommandAccess().getForKeyword_4_0()); }
8643
8644 'for'
8645
8646{ after(grammarAccess.getALSRunCommandAccess().getForKeyword_4_0()); }
8647)
8648
8649;
8650finally {
8651 restoreStackSize(stackSize);
8652}
8653
8654
8655rule__ALSRunCommand__Group_4__1
8656 @init {
8657 int stackSize = keepStackSize();
8658 }
8659:
8660 rule__ALSRunCommand__Group_4__1__Impl
8661 rule__ALSRunCommand__Group_4__2
8662;
8663finally {
8664 restoreStackSize(stackSize);
8665}
8666
8667rule__ALSRunCommand__Group_4__1__Impl
8668 @init {
8669 int stackSize = keepStackSize();
8670 }
8671:
8672(
8673{ before(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_1()); }
8674(rule__ALSRunCommand__TypeScopesAssignment_4_1)
8675{ after(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_1()); }
8676)
8677
8678;
8679finally {
8680 restoreStackSize(stackSize);
8681}
8682
8683
8684rule__ALSRunCommand__Group_4__2
8685 @init {
8686 int stackSize = keepStackSize();
8687 }
8688:
8689 rule__ALSRunCommand__Group_4__2__Impl
8690;
8691finally {
8692 restoreStackSize(stackSize);
8693}
8694
8695rule__ALSRunCommand__Group_4__2__Impl
8696 @init {
8697 int stackSize = keepStackSize();
8698 }
8699:
8700(
8701{ before(grammarAccess.getALSRunCommandAccess().getGroup_4_2()); }
8702(rule__ALSRunCommand__Group_4_2__0)*
8703{ after(grammarAccess.getALSRunCommandAccess().getGroup_4_2()); }
8704)
8705
8706;
8707finally {
8708 restoreStackSize(stackSize);
8709}
8710
8711
8712
8713
8714
8715
8716
8717
8718rule__ALSRunCommand__Group_4_2__0
8719 @init {
8720 int stackSize = keepStackSize();
8721 }
8722:
8723 rule__ALSRunCommand__Group_4_2__0__Impl
8724 rule__ALSRunCommand__Group_4_2__1
8725;
8726finally {
8727 restoreStackSize(stackSize);
8728}
8729
8730rule__ALSRunCommand__Group_4_2__0__Impl
8731 @init {
8732 int stackSize = keepStackSize();
8733 }
8734:
8735(
8736{ before(grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0()); }
8737
8738 ','
8739
8740{ after(grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0()); }
8741)
8742
8743;
8744finally {
8745 restoreStackSize(stackSize);
8746}
8747
8748
8749rule__ALSRunCommand__Group_4_2__1
8750 @init {
8751 int stackSize = keepStackSize();
8752 }
8753:
8754 rule__ALSRunCommand__Group_4_2__1__Impl
8755;
8756finally {
8757 restoreStackSize(stackSize);
8758}
8759
8760rule__ALSRunCommand__Group_4_2__1__Impl
8761 @init {
8762 int stackSize = keepStackSize();
8763 }
8764:
8765(
8766{ before(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_2_1()); }
8767(rule__ALSRunCommand__TypeScopesAssignment_4_2_1)
8768{ after(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_2_1()); }
8769)
8770
8771;
8772finally {
8773 restoreStackSize(stackSize);
8774}
8775
8776
8777
8778
8779
8780
8781rule__ALSSigScope__Group__0
8782 @init {
8783 int stackSize = keepStackSize();
8784 }
8785:
8786 rule__ALSSigScope__Group__0__Impl
8787 rule__ALSSigScope__Group__1
8788;
8789finally {
8790 restoreStackSize(stackSize);
8791}
8792
8793rule__ALSSigScope__Group__0__Impl
8794 @init {
8795 int stackSize = keepStackSize();
8796 }
8797:
8798(
8799{ before(grammarAccess.getALSSigScopeAccess().getExactlyAssignment_0()); }
8800(rule__ALSSigScope__ExactlyAssignment_0)?
8801{ after(grammarAccess.getALSSigScopeAccess().getExactlyAssignment_0()); }
8802)
8803
8804;
8805finally {
8806 restoreStackSize(stackSize);
8807}
8808
8809
8810rule__ALSSigScope__Group__1
8811 @init {
8812 int stackSize = keepStackSize();
8813 }
8814:
8815 rule__ALSSigScope__Group__1__Impl
8816 rule__ALSSigScope__Group__2
8817;
8818finally {
8819 restoreStackSize(stackSize);
8820}
8821
8822rule__ALSSigScope__Group__1__Impl
8823 @init {
8824 int stackSize = keepStackSize();
8825 }
8826:
8827(
8828{ before(grammarAccess.getALSSigScopeAccess().getNumberAssignment_1()); }
8829(rule__ALSSigScope__NumberAssignment_1)
8830{ after(grammarAccess.getALSSigScopeAccess().getNumberAssignment_1()); }
8831)
8832
8833;
8834finally {
8835 restoreStackSize(stackSize);
8836}
8837
8838
8839rule__ALSSigScope__Group__2
8840 @init {
8841 int stackSize = keepStackSize();
8842 }
8843:
8844 rule__ALSSigScope__Group__2__Impl
8845;
8846finally {
8847 restoreStackSize(stackSize);
8848}
8849
8850rule__ALSSigScope__Group__2__Impl
8851 @init {
8852 int stackSize = keepStackSize();
8853 }
8854:
8855(
8856{ before(grammarAccess.getALSSigScopeAccess().getTypeAssignment_2()); }
8857(rule__ALSSigScope__TypeAssignment_2)
8858{ after(grammarAccess.getALSSigScopeAccess().getTypeAssignment_2()); }
8859)
8860
8861;
8862finally {
8863 restoreStackSize(stackSize);
8864}
8865
8866
8867
8868
8869
8870
8871
8872
8873rule__ALSIntScope__Group__0
8874 @init {
8875 int stackSize = keepStackSize();
8876 }
8877:
8878 rule__ALSIntScope__Group__0__Impl
8879 rule__ALSIntScope__Group__1
8880;
8881finally {
8882 restoreStackSize(stackSize);
8883}
8884
8885rule__ALSIntScope__Group__0__Impl
8886 @init {
8887 int stackSize = keepStackSize();
8888 }
8889:
8890(
8891{ before(grammarAccess.getALSIntScopeAccess().getNumberAssignment_0()); }
8892(rule__ALSIntScope__NumberAssignment_0)
8893{ after(grammarAccess.getALSIntScopeAccess().getNumberAssignment_0()); }
8894)
8895
8896;
8897finally {
8898 restoreStackSize(stackSize);
8899}
8900
8901
8902rule__ALSIntScope__Group__1
8903 @init {
8904 int stackSize = keepStackSize();
8905 }
8906:
8907 rule__ALSIntScope__Group__1__Impl
8908;
8909finally {
8910 restoreStackSize(stackSize);
8911}
8912
8913rule__ALSIntScope__Group__1__Impl
8914 @init {
8915 int stackSize = keepStackSize();
8916 }
8917:
8918(
8919{ before(grammarAccess.getALSIntScopeAccess().getIntKeyword_1()); }
8920
8921 'Int'
8922
8923{ after(grammarAccess.getALSIntScopeAccess().getIntKeyword_1()); }
8924)
8925
8926;
8927finally {
8928 restoreStackSize(stackSize);
8929}
8930
8931
8932
8933
8934
8935
8936rule__ALSStringScope__Group__0
8937 @init {
8938 int stackSize = keepStackSize();
8939 }
8940:
8941 rule__ALSStringScope__Group__0__Impl
8942 rule__ALSStringScope__Group__1
8943;
8944finally {
8945 restoreStackSize(stackSize);
8946}
8947
8948rule__ALSStringScope__Group__0__Impl
8949 @init {
8950 int stackSize = keepStackSize();
8951 }
8952:
8953(
8954{ before(grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0()); }
8955
8956 'exactly'
8957
8958{ after(grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0()); }
8959)
8960
8961;
8962finally {
8963 restoreStackSize(stackSize);
8964}
8965
8966
8967rule__ALSStringScope__Group__1
8968 @init {
8969 int stackSize = keepStackSize();
8970 }
8971:
8972 rule__ALSStringScope__Group__1__Impl
8973 rule__ALSStringScope__Group__2
8974;
8975finally {
8976 restoreStackSize(stackSize);
8977}
8978
8979rule__ALSStringScope__Group__1__Impl
8980 @init {
8981 int stackSize = keepStackSize();
8982 }
8983:
8984(
8985{ before(grammarAccess.getALSStringScopeAccess().getNumberAssignment_1()); }
8986(rule__ALSStringScope__NumberAssignment_1)
8987{ after(grammarAccess.getALSStringScopeAccess().getNumberAssignment_1()); }
8988)
8989
8990;
8991finally {
8992 restoreStackSize(stackSize);
8993}
8994
8995
8996rule__ALSStringScope__Group__2
8997 @init {
8998 int stackSize = keepStackSize();
8999 }
9000:
9001 rule__ALSStringScope__Group__2__Impl
9002;
9003finally {
9004 restoreStackSize(stackSize);
9005}
9006
9007rule__ALSStringScope__Group__2__Impl
9008 @init {
9009 int stackSize = keepStackSize();
9010 }
9011:
9012(
9013{ before(grammarAccess.getALSStringScopeAccess().getStringKeyword_2()); }
9014
9015 'String'
9016
9017{ after(grammarAccess.getALSStringScopeAccess().getStringKeyword_2()); }
9018)
9019
9020;
9021finally {
9022 restoreStackSize(stackSize);
9023}
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033rule__ALSSignatureBody__UnorderedGroup_0
9034 @init {
9035 int stackSize = keepStackSize();
9036 getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
9037 }
9038:
9039 rule__ALSSignatureBody__UnorderedGroup_0__0
9040 ?
9041
9042;
9043finally {
9044 getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
9045 restoreStackSize(stackSize);
9046}
9047
9048
9049rule__ALSSignatureBody__UnorderedGroup_0__Impl
9050 @init {
9051 int stackSize = keepStackSize();
9052 boolean selected = false;
9053 }
9054:
9055 (
9056
9057 (
9058 {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)}?=>(
9059 {
9060 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
9061 }
9062 {
9063 selected = true;
9064 }
9065 (
9066
9067 { before(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0()); }
9068 (rule__ALSSignatureBody__MultiplicityAssignment_0_0)
9069 { after(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0()); }
9070 )
9071 )
9072 ) |
9073
9074 (
9075 {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)}?=>(
9076 {
9077 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1);
9078 }
9079 {
9080 selected = true;
9081 }
9082 (
9083
9084 { before(grammarAccess.getALSSignatureBodyAccess().getAbstractAssignment_0_1()); }
9085 (rule__ALSSignatureBody__AbstractAssignment_0_1)
9086 { after(grammarAccess.getALSSignatureBodyAccess().getAbstractAssignment_0_1()); }
9087 )
9088 )
9089 )
9090
9091 )
9092;
9093finally {
9094 if (selected)
9095 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
9096 restoreStackSize(stackSize);
9097}
9098
9099
9100rule__ALSSignatureBody__UnorderedGroup_0__0
9101 @init {
9102 int stackSize = keepStackSize();
9103 }
9104:
9105 rule__ALSSignatureBody__UnorderedGroup_0__Impl
9106 rule__ALSSignatureBody__UnorderedGroup_0__1?
9107;
9108finally {
9109 restoreStackSize(stackSize);
9110}
9111
9112
9113rule__ALSSignatureBody__UnorderedGroup_0__1
9114 @init {
9115 int stackSize = keepStackSize();
9116 }
9117:
9118 rule__ALSSignatureBody__UnorderedGroup_0__Impl
9119;
9120finally {
9121 restoreStackSize(stackSize);
9122}
9123
9124
9125
9126
9127
9128
9129rule__ALSDocument__EnumDeclarationsAssignment_0_0
9130 @init {
9131 int stackSize = keepStackSize();
9132 }
9133:
9134(
9135{ before(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0()); }
9136 ruleALSEnumDeclaration{ after(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0()); }
9137)
9138
9139;
9140finally {
9141 restoreStackSize(stackSize);
9142}
9143
9144rule__ALSDocument__SignatureBodiesAssignment_0_1
9145 @init {
9146 int stackSize = keepStackSize();
9147 }
9148:
9149(
9150{ before(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0()); }
9151 ruleALSSignatureBody{ after(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0()); }
9152)
9153
9154;
9155finally {
9156 restoreStackSize(stackSize);
9157}
9158
9159rule__ALSDocument__FunctionDefinitionsAssignment_0_2
9160 @init {
9161 int stackSize = keepStackSize();
9162 }
9163:
9164(
9165{ before(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0()); }
9166 ruleALSFunctionDefinition{ after(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0()); }
9167)
9168
9169;
9170finally {
9171 restoreStackSize(stackSize);
9172}
9173
9174rule__ALSDocument__RelationDefinitionsAssignment_0_3
9175 @init {
9176 int stackSize = keepStackSize();
9177 }
9178:
9179(
9180{ before(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0()); }
9181 ruleALSRelationDefinition{ after(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0()); }
9182)
9183
9184;
9185finally {
9186 restoreStackSize(stackSize);
9187}
9188
9189rule__ALSDocument__FactDeclarationsAssignment_0_4
9190 @init {
9191 int stackSize = keepStackSize();
9192 }
9193:
9194(
9195{ before(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0()); }
9196 ruleALSFactDeclaration{ after(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0()); }
9197)
9198
9199;
9200finally {
9201 restoreStackSize(stackSize);
9202}
9203
9204rule__ALSDocument__RunCommandAssignment_1
9205 @init {
9206 int stackSize = keepStackSize();
9207 }
9208:
9209(
9210{ before(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0()); }
9211 ruleALSRunCommand{ after(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0()); }
9212)
9213
9214;
9215finally {
9216 restoreStackSize(stackSize);
9217}
9218
9219rule__ALSEnumDeclaration__NameAssignment_1
9220 @init {
9221 int stackSize = keepStackSize();
9222 }
9223:
9224(
9225{ before(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0()); }
9226 ruleALSID{ after(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0()); }
9227)
9228
9229;
9230finally {
9231 restoreStackSize(stackSize);
9232}
9233
9234rule__ALSEnumDeclaration__LiteralAssignment_3
9235 @init {
9236 int stackSize = keepStackSize();
9237 }
9238:
9239(
9240{ before(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0()); }
9241 ruleALSEnumLiteral{ after(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0()); }
9242)
9243
9244;
9245finally {
9246 restoreStackSize(stackSize);
9247}
9248
9249rule__ALSEnumDeclaration__LiteralAssignment_4_1
9250 @init {
9251 int stackSize = keepStackSize();
9252 }
9253:
9254(
9255{ before(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0()); }
9256 ruleALSEnumLiteral{ after(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0()); }
9257)
9258
9259;
9260finally {
9261 restoreStackSize(stackSize);
9262}
9263
9264rule__ALSEnumLiteral__NameAssignment
9265 @init {
9266 int stackSize = keepStackSize();
9267 }
9268:
9269(
9270{ before(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0()); }
9271 ruleALSID{ after(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0()); }
9272)
9273
9274;
9275finally {
9276 restoreStackSize(stackSize);
9277}
9278
9279rule__ALSSignatureDeclaration__NameAssignment
9280 @init {
9281 int stackSize = keepStackSize();
9282 }
9283:
9284(
9285{ before(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0()); }
9286 ruleALSID{ after(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0()); }
9287)
9288
9289;
9290finally {
9291 restoreStackSize(stackSize);
9292}
9293
9294rule__ALSSignatureBody__MultiplicityAssignment_0_0
9295 @init {
9296 int stackSize = keepStackSize();
9297 }
9298:
9299(
9300{ before(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0()); }
9301 ruleALSMultiplicity{ after(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0()); }
9302)
9303
9304;
9305finally {
9306 restoreStackSize(stackSize);
9307}
9308
9309rule__ALSSignatureBody__AbstractAssignment_0_1
9310 @init {
9311 int stackSize = keepStackSize();
9312 }
9313:
9314(
9315{ before(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); }
9316(
9317{ before(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); }
9318
9319 'abstract'
9320
9321{ after(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); }
9322)
9323
9324{ after(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); }
9325)
9326
9327;
9328finally {
9329 restoreStackSize(stackSize);
9330}
9331
9332rule__ALSSignatureBody__DeclarationsAssignment_2
9333 @init {
9334 int stackSize = keepStackSize();
9335 }
9336:
9337(
9338{ before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0()); }
9339 ruleALSSignatureDeclaration{ after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0()); }
9340)
9341
9342;
9343finally {
9344 restoreStackSize(stackSize);
9345}
9346
9347rule__ALSSignatureBody__DeclarationsAssignment_3_1
9348 @init {
9349 int stackSize = keepStackSize();
9350 }
9351:
9352(
9353{ before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0()); }
9354 ruleALSSignatureDeclaration{ after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0()); }
9355)
9356
9357;
9358finally {
9359 restoreStackSize(stackSize);
9360}
9361
9362rule__ALSSignatureBody__SupertypeAssignment_4_0_1
9363 @init {
9364 int stackSize = keepStackSize();
9365 }
9366:
9367(
9368{ before(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0()); }
9369(
9370{ before(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1()); }
9371 RULE_ID{ after(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1()); }
9372)
9373{ after(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0()); }
9374)
9375
9376;
9377finally {
9378 restoreStackSize(stackSize);
9379}
9380
9381rule__ALSSignatureBody__SupersetAssignment_4_1_1
9382 @init {
9383 int stackSize = keepStackSize();
9384 }
9385:
9386(
9387{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0()); }
9388(
9389{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1()); }
9390 RULE_ID{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1()); }
9391)
9392{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0()); }
9393)
9394
9395;
9396finally {
9397 restoreStackSize(stackSize);
9398}
9399
9400rule__ALSSignatureBody__SupersetAssignment_4_1_2_1
9401 @init {
9402 int stackSize = keepStackSize();
9403 }
9404:
9405(
9406{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0()); }
9407(
9408{ before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1()); }
9409 RULE_ID{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1()); }
9410)
9411{ after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0()); }
9412)
9413
9414;
9415finally {
9416 restoreStackSize(stackSize);
9417}
9418
9419rule__ALSSignatureBody__FieldsAssignment_6_0
9420 @init {
9421 int stackSize = keepStackSize();
9422 }
9423:
9424(
9425{ before(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0()); }
9426 ruleALSFieldDeclaration{ after(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0()); }
9427)
9428
9429;
9430finally {
9431 restoreStackSize(stackSize);
9432}
9433
9434rule__ALSSignatureBody__FieldsAssignment_6_1_1
9435 @init {
9436 int stackSize = keepStackSize();
9437 }
9438:
9439(
9440{ before(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0()); }
9441 ruleALSFieldDeclaration{ after(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0()); }
9442)
9443
9444;
9445finally {
9446 restoreStackSize(stackSize);
9447}
9448
9449rule__ALSFieldDeclaration__NameAssignment_0
9450 @init {
9451 int stackSize = keepStackSize();
9452 }
9453:
9454(
9455{ before(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0()); }
9456 ruleALSID{ after(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0()); }
9457)
9458
9459;
9460finally {
9461 restoreStackSize(stackSize);
9462}
9463
9464rule__ALSFieldDeclaration__MultiplicityAssignment_2
9465 @init {
9466 int stackSize = keepStackSize();
9467 }
9468:
9469(
9470{ before(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0()); }
9471 ruleALSMultiplicity{ after(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0()); }
9472)
9473
9474;
9475finally {
9476 restoreStackSize(stackSize);
9477}
9478
9479rule__ALSFieldDeclaration__TypeAssignment_3
9480 @init {
9481 int stackSize = keepStackSize();
9482 }
9483:
9484(
9485{ before(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0()); }
9486 ruleALSTerm{ after(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0()); }
9487)
9488
9489;
9490finally {
9491 restoreStackSize(stackSize);
9492}
9493
9494rule__ALSFunctionDefinition__NameAssignment_1
9495 @init {
9496 int stackSize = keepStackSize();
9497 }
9498:
9499(
9500{ before(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0()); }
9501 ruleALSID{ after(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0()); }
9502)
9503
9504;
9505finally {
9506 restoreStackSize(stackSize);
9507}
9508
9509rule__ALSFunctionDefinition__VariablesAssignment_3
9510 @init {
9511 int stackSize = keepStackSize();
9512 }
9513:
9514(
9515{ before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); }
9516 ruleALSVariableDeclaration{ after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); }
9517)
9518
9519;
9520finally {
9521 restoreStackSize(stackSize);
9522}
9523
9524rule__ALSFunctionDefinition__VariablesAssignment_4_1
9525 @init {
9526 int stackSize = keepStackSize();
9527 }
9528:
9529(
9530{ before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); }
9531 ruleALSVariableDeclaration{ after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); }
9532)
9533
9534;
9535finally {
9536 restoreStackSize(stackSize);
9537}
9538
9539rule__ALSFunctionDefinition__TypeAssignment_7
9540 @init {
9541 int stackSize = keepStackSize();
9542 }
9543:
9544(
9545{ before(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0()); }
9546 ruleALSTerm{ after(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0()); }
9547)
9548
9549;
9550finally {
9551 restoreStackSize(stackSize);
9552}
9553
9554rule__ALSFunctionDefinition__ValueAssignment_9
9555 @init {
9556 int stackSize = keepStackSize();
9557 }
9558:
9559(
9560{ before(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0()); }
9561 ruleALSTerm{ after(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0()); }
9562)
9563
9564;
9565finally {
9566 restoreStackSize(stackSize);
9567}
9568
9569rule__ALSRelationDefinition__NameAssignment_1
9570 @init {
9571 int stackSize = keepStackSize();
9572 }
9573:
9574(
9575{ before(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0()); }
9576 ruleALSID{ after(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0()); }
9577)
9578
9579;
9580finally {
9581 restoreStackSize(stackSize);
9582}
9583
9584rule__ALSRelationDefinition__VariablesAssignment_3
9585 @init {
9586 int stackSize = keepStackSize();
9587 }
9588:
9589(
9590{ before(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); }
9591 ruleALSVariableDeclaration{ after(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); }
9592)
9593
9594;
9595finally {
9596 restoreStackSize(stackSize);
9597}
9598
9599rule__ALSRelationDefinition__VariablesAssignment_4_1
9600 @init {
9601 int stackSize = keepStackSize();
9602 }
9603:
9604(
9605{ before(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); }
9606 ruleALSVariableDeclaration{ after(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); }
9607)
9608
9609;
9610finally {
9611 restoreStackSize(stackSize);
9612}
9613
9614rule__ALSRelationDefinition__ValueAssignment_7
9615 @init {
9616 int stackSize = keepStackSize();
9617 }
9618:
9619(
9620{ before(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0()); }
9621 ruleALSTerm{ after(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0()); }
9622)
9623
9624;
9625finally {
9626 restoreStackSize(stackSize);
9627}
9628
9629rule__ALSFactDeclaration__NameAssignment_2
9630 @init {
9631 int stackSize = keepStackSize();
9632 }
9633:
9634(
9635{ before(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0()); }
9636 ruleALSID{ after(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0()); }
9637)
9638
9639;
9640finally {
9641 restoreStackSize(stackSize);
9642}
9643
9644rule__ALSFactDeclaration__TermAssignment_4
9645 @init {
9646 int stackSize = keepStackSize();
9647 }
9648:
9649(
9650{ before(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0()); }
9651 ruleALSTerm{ after(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0()); }
9652)
9653
9654;
9655finally {
9656 restoreStackSize(stackSize);
9657}
9658
9659rule__ALSQuantified__TypeAssignment_0_1
9660 @init {
9661 int stackSize = keepStackSize();
9662 }
9663:
9664(
9665{ before(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0()); }
9666 ruleALSMultiplicity{ after(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0()); }
9667)
9668
9669;
9670finally {
9671 restoreStackSize(stackSize);
9672}
9673
9674rule__ALSQuantified__DisjAssignment_0_2
9675 @init {
9676 int stackSize = keepStackSize();
9677 }
9678:
9679(
9680{ before(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); }
9681(
9682{ before(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); }
9683
9684 'disj'
9685
9686{ after(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); }
9687)
9688
9689{ after(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); }
9690)
9691
9692;
9693finally {
9694 restoreStackSize(stackSize);
9695}
9696
9697rule__ALSQuantified__VariablesAssignment_0_3
9698 @init {
9699 int stackSize = keepStackSize();
9700 }
9701:
9702(
9703{ before(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0()); }
9704 ruleALSVariableDeclaration{ after(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0()); }
9705)
9706
9707;
9708finally {
9709 restoreStackSize(stackSize);
9710}
9711
9712rule__ALSQuantified__VariablesAssignment_0_4_1
9713 @init {
9714 int stackSize = keepStackSize();
9715 }
9716:
9717(
9718{ before(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0()); }
9719 ruleALSVariableDeclaration{ after(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0()); }
9720)
9721
9722;
9723finally {
9724 restoreStackSize(stackSize);
9725}
9726
9727rule__ALSQuantified__ExpressionAssignment_0_6
9728 @init {
9729 int stackSize = keepStackSize();
9730 }
9731:
9732(
9733{ before(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0()); }
9734 ruleALSTerm{ after(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0()); }
9735)
9736
9737;
9738finally {
9739 restoreStackSize(stackSize);
9740}
9741
9742rule__ALSOr__RightOperandAssignment_1_2
9743 @init {
9744 int stackSize = keepStackSize();
9745 }
9746:
9747(
9748{ before(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0()); }
9749 ruleALSIff{ after(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0()); }
9750)
9751
9752;
9753finally {
9754 restoreStackSize(stackSize);
9755}
9756
9757rule__ALSIff__RightOperandAssignment_1_2
9758 @init {
9759 int stackSize = keepStackSize();
9760 }
9761:
9762(
9763{ before(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0()); }
9764 ruleALSImpl{ after(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0()); }
9765)
9766
9767;
9768finally {
9769 restoreStackSize(stackSize);
9770}
9771
9772rule__ALSImpl__RightOperandAssignment_1_2
9773 @init {
9774 int stackSize = keepStackSize();
9775 }
9776:
9777(
9778{ before(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0()); }
9779 ruleALSAnd{ after(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0()); }
9780)
9781
9782;
9783finally {
9784 restoreStackSize(stackSize);
9785}
9786
9787rule__ALSImpl__ElseOperandAssignment_1_3_1
9788 @init {
9789 int stackSize = keepStackSize();
9790 }
9791:
9792(
9793{ before(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0()); }
9794 ruleALSAnd{ after(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0()); }
9795)
9796
9797;
9798finally {
9799 restoreStackSize(stackSize);
9800}
9801
9802rule__ALSAnd__RightOperandAssignment_1_2
9803 @init {
9804 int stackSize = keepStackSize();
9805 }
9806:
9807(
9808{ before(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0()); }
9809 ruleALSComparison{ after(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0()); }
9810)
9811
9812;
9813finally {
9814 restoreStackSize(stackSize);
9815}
9816
9817rule__ALSComparison__RightOperandAssignment_1_1
9818 @init {
9819 int stackSize = keepStackSize();
9820 }
9821:
9822(
9823{ before(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0()); }
9824 ruleALSOverride{ after(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0()); }
9825)
9826
9827;
9828finally {
9829 restoreStackSize(stackSize);
9830}
9831
9832rule__ALSOverride__RightOperandAssignment_1_2
9833 @init {
9834 int stackSize = keepStackSize();
9835 }
9836:
9837(
9838{ before(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0()); }
9839 ruleALSRangeRestrictionRight{ after(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0()); }
9840)
9841
9842;
9843finally {
9844 restoreStackSize(stackSize);
9845}
9846
9847rule__ALSRangeRestrictionRight__FilterAssignment_1_2
9848 @init {
9849 int stackSize = keepStackSize();
9850 }
9851:
9852(
9853{ before(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0()); }
9854 ruleALSRangeRestrictionLeft{ after(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0()); }
9855)
9856
9857;
9858finally {
9859 restoreStackSize(stackSize);
9860}
9861
9862rule__ALSRangeRestrictionLeft__RelationAssignment_1_2
9863 @init {
9864 int stackSize = keepStackSize();
9865 }
9866:
9867(
9868{ before(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0()); }
9869 ruleALSJoin{ after(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0()); }
9870)
9871
9872;
9873finally {
9874 restoreStackSize(stackSize);
9875}
9876
9877rule__ALSJoin__RightOperandAssignment_1_2
9878 @init {
9879 int stackSize = keepStackSize();
9880 }
9881:
9882(
9883{ before(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0()); }
9884 ruleALSMinus{ after(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0()); }
9885)
9886
9887;
9888finally {
9889 restoreStackSize(stackSize);
9890}
9891
9892rule__ALSMinus__RightOperandAssignment_1_2
9893 @init {
9894 int stackSize = keepStackSize();
9895 }
9896:
9897(
9898{ before(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0()); }
9899 ruleALSPlus{ after(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0()); }
9900)
9901
9902;
9903finally {
9904 restoreStackSize(stackSize);
9905}
9906
9907rule__ALSPlus__RightOperandAssignment_1_2
9908 @init {
9909 int stackSize = keepStackSize();
9910 }
9911:
9912(
9913{ before(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0()); }
9914 ruleALSIntersection{ after(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0()); }
9915)
9916
9917;
9918finally {
9919 restoreStackSize(stackSize);
9920}
9921
9922rule__ALSIntersection__RightOperandAssignment_1_2
9923 @init {
9924 int stackSize = keepStackSize();
9925 }
9926:
9927(
9928{ before(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0()); }
9929 ruleALSDirectProduct{ after(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0()); }
9930)
9931
9932;
9933finally {
9934 restoreStackSize(stackSize);
9935}
9936
9937rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1
9938 @init {
9939 int stackSize = keepStackSize();
9940 }
9941:
9942(
9943{ before(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0()); }
9944 ruleALSMultiplicity{ after(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0()); }
9945)
9946
9947;
9948finally {
9949 restoreStackSize(stackSize);
9950}
9951
9952rule__ALSDirectProduct__RightMultiplicitAssignment_1_3
9953 @init {
9954 int stackSize = keepStackSize();
9955 }
9956:
9957(
9958{ before(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0()); }
9959 ruleALSMultiplicity{ after(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0()); }
9960)
9961
9962;
9963finally {
9964 restoreStackSize(stackSize);
9965}
9966
9967rule__ALSDirectProduct__RightOperandAssignment_1_4
9968 @init {
9969 int stackSize = keepStackSize();
9970 }
9971:
9972(
9973{ before(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0()); }
9974 ruleALSPreficed{ after(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0()); }
9975)
9976
9977;
9978finally {
9979 restoreStackSize(stackSize);
9980}
9981
9982rule__ALSPreficed__OperandAssignment_0_2
9983 @init {
9984 int stackSize = keepStackSize();
9985 }
9986:
9987(
9988{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0()); }
9989 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0()); }
9990)
9991
9992;
9993finally {
9994 restoreStackSize(stackSize);
9995}
9996
9997rule__ALSPreficed__OperandAssignment_1_2
9998 @init {
9999 int stackSize = keepStackSize();
10000 }
10001:
10002(
10003{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0()); }
10004 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0()); }
10005)
10006
10007;
10008finally {
10009 restoreStackSize(stackSize);
10010}
10011
10012rule__ALSPreficed__OperandAssignment_2_2
10013 @init {
10014 int stackSize = keepStackSize();
10015 }
10016:
10017(
10018{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0()); }
10019 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0()); }
10020)
10021
10022;
10023finally {
10024 restoreStackSize(stackSize);
10025}
10026
10027rule__ALSPreficed__OperandAssignment_3_2
10028 @init {
10029 int stackSize = keepStackSize();
10030 }
10031:
10032(
10033{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0()); }
10034 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0()); }
10035)
10036
10037;
10038finally {
10039 restoreStackSize(stackSize);
10040}
10041
10042rule__ALSPreficed__OperandAssignment_4_2
10043 @init {
10044 int stackSize = keepStackSize();
10045 }
10046:
10047(
10048{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0()); }
10049 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0()); }
10050)
10051
10052;
10053finally {
10054 restoreStackSize(stackSize);
10055}
10056
10057rule__ALSPreficed__OperandAssignment_5_2
10058 @init {
10059 int stackSize = keepStackSize();
10060 }
10061:
10062(
10063{ before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0()); }
10064 ruleALSBasicRelationTerm{ after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0()); }
10065)
10066
10067;
10068finally {
10069 restoreStackSize(stackSize);
10070}
10071
10072rule__ALSPreficed__VariablesAssignment_6_2
10073 @init {
10074 int stackSize = keepStackSize();
10075 }
10076:
10077(
10078{ before(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0()); }
10079 ruleALSVariableDeclaration{ after(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0()); }
10080)
10081
10082;
10083finally {
10084 restoreStackSize(stackSize);
10085}
10086
10087rule__ALSPreficed__VariablesAssignment_6_3_1
10088 @init {
10089 int stackSize = keepStackSize();
10090 }
10091:
10092(
10093{ before(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0()); }
10094 ruleALSVariableDeclaration{ after(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0()); }
10095)
10096
10097;
10098finally {
10099 restoreStackSize(stackSize);
10100}
10101
10102rule__ALSPreficed__ExpressionAssignment_6_5
10103 @init {
10104 int stackSize = keepStackSize();
10105 }
10106:
10107(
10108{ before(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0()); }
10109 ruleALSTerm{ after(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0()); }
10110)
10111
10112;
10113finally {
10114 restoreStackSize(stackSize);
10115}
10116
10117rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0
10118 @init {
10119 int stackSize = keepStackSize();
10120 }
10121:
10122(
10123{ before(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0()); }
10124(
10125{ before(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1()); }
10126 RULE_ID{ after(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1()); }
10127)
10128{ after(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0()); }
10129)
10130
10131;
10132finally {
10133 restoreStackSize(stackSize);
10134}
10135
10136rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1
10137 @init {
10138 int stackSize = keepStackSize();
10139 }
10140:
10141(
10142{ before(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0()); }
10143 ruleALSNumericOperator{ after(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0()); }
10144)
10145
10146;
10147finally {
10148 restoreStackSize(stackSize);
10149}
10150
10151rule__ALSPreficed__ParamsAssignment_7_3
10152 @init {
10153 int stackSize = keepStackSize();
10154 }
10155:
10156(
10157{ before(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0()); }
10158 ruleALSTerm{ after(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0()); }
10159)
10160
10161;
10162finally {
10163 restoreStackSize(stackSize);
10164}
10165
10166rule__ALSPreficed__ParamsAssignment_7_4_1
10167 @init {
10168 int stackSize = keepStackSize();
10169 }
10170:
10171(
10172{ before(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0()); }
10173 ruleALSTerm{ after(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0()); }
10174)
10175
10176;
10177finally {
10178 restoreStackSize(stackSize);
10179}
10180
10181rule__ALSVariableDeclaration__NameAssignment_0
10182 @init {
10183 int stackSize = keepStackSize();
10184 }
10185:
10186(
10187{ before(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0()); }
10188 ruleALSID{ after(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0()); }
10189)
10190
10191;
10192finally {
10193 restoreStackSize(stackSize);
10194}
10195
10196rule__ALSVariableDeclaration__RangeAssignment_2
10197 @init {
10198 int stackSize = keepStackSize();
10199 }
10200:
10201(
10202{ before(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0()); }
10203 ruleALSTerm{ after(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0()); }
10204)
10205
10206;
10207finally {
10208 restoreStackSize(stackSize);
10209}
10210
10211rule__ALSBasicRelationTerm__ReferredAssignment_5_1
10212 @init {
10213 int stackSize = keepStackSize();
10214 }
10215:
10216(
10217{ before(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0()); }
10218(
10219{ before(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1()); }
10220 RULE_ID{ after(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1()); }
10221)
10222{ after(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0()); }
10223)
10224
10225;
10226finally {
10227 restoreStackSize(stackSize);
10228}
10229
10230rule__ALSBasicRelationTerm__ValueAssignment_6_1
10231 @init {
10232 int stackSize = keepStackSize();
10233 }
10234:
10235(
10236{ before(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0()); }
10237 RULE_INT{ after(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0()); }
10238)
10239
10240;
10241finally {
10242 restoreStackSize(stackSize);
10243}
10244
10245rule__ALSBasicRelationTerm__ValueAssignment_7_1
10246 @init {
10247 int stackSize = keepStackSize();
10248 }
10249:
10250(
10251{ before(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0()); }
10252 RULE_STRING{ after(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0()); }
10253)
10254
10255;
10256finally {
10257 restoreStackSize(stackSize);
10258}
10259
10260rule__ALSRunCommand__TypeScopesAssignment_4_1
10261 @init {
10262 int stackSize = keepStackSize();
10263 }
10264:
10265(
10266{ before(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0()); }
10267 ruleALSTypeScope{ after(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0()); }
10268)
10269
10270;
10271finally {
10272 restoreStackSize(stackSize);
10273}
10274
10275rule__ALSRunCommand__TypeScopesAssignment_4_2_1
10276 @init {
10277 int stackSize = keepStackSize();
10278 }
10279:
10280(
10281{ before(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0()); }
10282 ruleALSTypeScope{ after(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0()); }
10283)
10284
10285;
10286finally {
10287 restoreStackSize(stackSize);
10288}
10289
10290rule__ALSSigScope__ExactlyAssignment_0
10291 @init {
10292 int stackSize = keepStackSize();
10293 }
10294:
10295(
10296{ before(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); }
10297(
10298{ before(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); }
10299
10300 'exactly'
10301
10302{ after(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); }
10303)
10304
10305{ after(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); }
10306)
10307
10308;
10309finally {
10310 restoreStackSize(stackSize);
10311}
10312
10313rule__ALSSigScope__NumberAssignment_1
10314 @init {
10315 int stackSize = keepStackSize();
10316 }
10317:
10318(
10319{ before(grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0()); }
10320 RULE_INT{ after(grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0()); }
10321)
10322
10323;
10324finally {
10325 restoreStackSize(stackSize);
10326}
10327
10328rule__ALSSigScope__TypeAssignment_2
10329 @init {
10330 int stackSize = keepStackSize();
10331 }
10332:
10333(
10334{ before(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0()); }
10335(
10336{ before(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1()); }
10337 RULE_ID{ after(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1()); }
10338)
10339{ after(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0()); }
10340)
10341
10342;
10343finally {
10344 restoreStackSize(stackSize);
10345}
10346
10347rule__ALSIntScope__NumberAssignment_0
10348 @init {
10349 int stackSize = keepStackSize();
10350 }
10351:
10352(
10353{ before(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0()); }
10354 RULE_INT{ after(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0()); }
10355)
10356
10357;
10358finally {
10359 restoreStackSize(stackSize);
10360}
10361
10362rule__ALSStringScope__NumberAssignment_1
10363 @init {
10364 int stackSize = keepStackSize();
10365 }
10366:
10367(
10368{ before(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0()); }
10369 RULE_INT{ after(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0()); }
10370)
10371
10372;
10373finally {
10374 restoreStackSize(stackSize);
10375}
10376
10377
10378RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'\''|'"'|'0'..'9')*;
10379
10380RULE_INT : ('0'..'9')+;
10381
10382RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
10383
10384RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
10385
10386RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
10387
10388RULE_WS : (' '|'\t'|'\r'|'\n')+;
10389
10390RULE_ANY_OTHER : .;
10391
10392
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.tokens b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.tokens
deleted file mode 100644
index a7695d52..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguage.tokens
+++ /dev/null
@@ -1,139 +0,0 @@
1'!'=19
2'!='=48
3'#'=63
4'&&'=17
5'&'=58
6'('=70
7')'=71
8'*'=62
9'+'=39
10'++'=53
11','=35
12'-'=57
13'->'=59
14'.'=56
15':'=40
16':>'=54
17'<'=51
18'<:'=55
19'<='=52
20'<=>'=13
21'='=47
22'=>'=15
23'>'=49
24'>='=50
25'Int'=68
26'String'=69
27'['=42
28']'=43
29'^'=61
30'abstract'=75
31'all'=21
32'and'=18
33'disj'=76
34'div'=31
35'else'=46
36'enum'=32
37'exactly'=74
38'extends'=37
39'fact'=45
40'for'=73
41'fun'=41
42'iden'=66
43'iff'=14
44'implies'=16
45'in'=38
46'lone'=24
47'mul'=29
48'no'=22
49'none'=65
50'not'=20
51'one'=25
52'or'=12
53'plus'=27
54'pred'=44
55'rem'=30
56'run'=72
57'set'=26
58'sig'=36
59'some'=23
60'sub'=28
61'sum'=64
62'univ'=67
63'{'=33
64'||'=11
65'}'=34
66'~'=60
67RULE_ANY_OTHER=10
68RULE_ID=4
69RULE_INT=5
70RULE_ML_COMMENT=7
71RULE_SL_COMMENT=8
72RULE_STRING=6
73RULE_WS=9
74T__11=11
75T__12=12
76T__13=13
77T__14=14
78T__15=15
79T__16=16
80T__17=17
81T__18=18
82T__19=19
83T__20=20
84T__21=21
85T__22=22
86T__23=23
87T__24=24
88T__25=25
89T__26=26
90T__27=27
91T__28=28
92T__29=29
93T__30=30
94T__31=31
95T__32=32
96T__33=33
97T__34=34
98T__35=35
99T__36=36
100T__37=37
101T__38=38
102T__39=39
103T__40=40
104T__41=41
105T__42=42
106T__43=43
107T__44=44
108T__45=45
109T__46=46
110T__47=47
111T__48=48
112T__49=49
113T__50=50
114T__51=51
115T__52=52
116T__53=53
117T__54=54
118T__55=55
119T__56=56
120T__57=57
121T__58=58
122T__59=59
123T__60=60
124T__61=61
125T__62=62
126T__63=63
127T__64=64
128T__65=65
129T__66=66
130T__67=67
131T__68=68
132T__69=69
133T__70=70
134T__71=71
135T__72=72
136T__73=73
137T__74=74
138T__75=75
139T__76=76
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageLexer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageLexer.java
deleted file mode 100644
index 410c21e7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageLexer.java
+++ /dev/null
@@ -1,2854 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.ui.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.ui.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 InternalAlloyLanguageLexer extends Lexer {
15 public static final int T__50=50;
16 public static final int T__19=19;
17 public static final int T__15=15;
18 public static final int T__59=59;
19 public static final int T__16=16;
20 public static final int T__17=17;
21 public static final int T__18=18;
22 public static final int T__11=11;
23 public static final int T__55=55;
24 public static final int T__12=12;
25 public static final int T__56=56;
26 public static final int T__13=13;
27 public static final int T__57=57;
28 public static final int T__14=14;
29 public static final int T__58=58;
30 public static final int T__51=51;
31 public static final int T__52=52;
32 public static final int T__53=53;
33 public static final int T__54=54;
34 public static final int T__60=60;
35 public static final int T__61=61;
36 public static final int RULE_ID=4;
37 public static final int T__26=26;
38 public static final int T__27=27;
39 public static final int T__28=28;
40 public static final int RULE_INT=5;
41 public static final int T__29=29;
42 public static final int T__22=22;
43 public static final int T__66=66;
44 public static final int RULE_ML_COMMENT=7;
45 public static final int T__23=23;
46 public static final int T__67=67;
47 public static final int T__24=24;
48 public static final int T__68=68;
49 public static final int T__25=25;
50 public static final int T__69=69;
51 public static final int T__62=62;
52 public static final int T__63=63;
53 public static final int T__20=20;
54 public static final int T__64=64;
55 public static final int T__21=21;
56 public static final int T__65=65;
57 public static final int T__70=70;
58 public static final int T__71=71;
59 public static final int T__72=72;
60 public static final int RULE_STRING=6;
61 public static final int RULE_SL_COMMENT=8;
62 public static final int T__37=37;
63 public static final int T__38=38;
64 public static final int T__39=39;
65 public static final int T__33=33;
66 public static final int T__34=34;
67 public static final int T__35=35;
68 public static final int T__36=36;
69 public static final int T__73=73;
70 public static final int EOF=-1;
71 public static final int T__30=30;
72 public static final int T__74=74;
73 public static final int T__31=31;
74 public static final int T__75=75;
75 public static final int T__32=32;
76 public static final int T__76=76;
77 public static final int RULE_WS=9;
78 public static final int RULE_ANY_OTHER=10;
79 public static final int T__48=48;
80 public static final int T__49=49;
81 public static final int T__44=44;
82 public static final int T__45=45;
83 public static final int T__46=46;
84 public static final int T__47=47;
85 public static final int T__40=40;
86 public static final int T__41=41;
87 public static final int T__42=42;
88 public static final int T__43=43;
89
90 // delegates
91 // delegators
92
93 public InternalAlloyLanguageLexer() {;}
94 public InternalAlloyLanguageLexer(CharStream input) {
95 this(input, new RecognizerSharedState());
96 }
97 public InternalAlloyLanguageLexer(CharStream input, RecognizerSharedState state) {
98 super(input,state);
99
100 }
101 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
102
103 // $ANTLR start "T__11"
104 public final void mT__11() throws RecognitionException {
105 try {
106 int _type = T__11;
107 int _channel = DEFAULT_TOKEN_CHANNEL;
108 // InternalAlloyLanguage.g:11:7: ( '||' )
109 // InternalAlloyLanguage.g:11:9: '||'
110 {
111 match("||");
112
113
114 }
115
116 state.type = _type;
117 state.channel = _channel;
118 }
119 finally {
120 }
121 }
122 // $ANTLR end "T__11"
123
124 // $ANTLR start "T__12"
125 public final void mT__12() throws RecognitionException {
126 try {
127 int _type = T__12;
128 int _channel = DEFAULT_TOKEN_CHANNEL;
129 // InternalAlloyLanguage.g:12:7: ( 'or' )
130 // InternalAlloyLanguage.g:12:9: 'or'
131 {
132 match("or");
133
134
135 }
136
137 state.type = _type;
138 state.channel = _channel;
139 }
140 finally {
141 }
142 }
143 // $ANTLR end "T__12"
144
145 // $ANTLR start "T__13"
146 public final void mT__13() throws RecognitionException {
147 try {
148 int _type = T__13;
149 int _channel = DEFAULT_TOKEN_CHANNEL;
150 // InternalAlloyLanguage.g:13:7: ( '<=>' )
151 // InternalAlloyLanguage.g:13:9: '<=>'
152 {
153 match("<=>");
154
155
156 }
157
158 state.type = _type;
159 state.channel = _channel;
160 }
161 finally {
162 }
163 }
164 // $ANTLR end "T__13"
165
166 // $ANTLR start "T__14"
167 public final void mT__14() throws RecognitionException {
168 try {
169 int _type = T__14;
170 int _channel = DEFAULT_TOKEN_CHANNEL;
171 // InternalAlloyLanguage.g:14:7: ( 'iff' )
172 // InternalAlloyLanguage.g:14:9: 'iff'
173 {
174 match("iff");
175
176
177 }
178
179 state.type = _type;
180 state.channel = _channel;
181 }
182 finally {
183 }
184 }
185 // $ANTLR end "T__14"
186
187 // $ANTLR start "T__15"
188 public final void mT__15() throws RecognitionException {
189 try {
190 int _type = T__15;
191 int _channel = DEFAULT_TOKEN_CHANNEL;
192 // InternalAlloyLanguage.g:15:7: ( '=>' )
193 // InternalAlloyLanguage.g:15:9: '=>'
194 {
195 match("=>");
196
197
198 }
199
200 state.type = _type;
201 state.channel = _channel;
202 }
203 finally {
204 }
205 }
206 // $ANTLR end "T__15"
207
208 // $ANTLR start "T__16"
209 public final void mT__16() throws RecognitionException {
210 try {
211 int _type = T__16;
212 int _channel = DEFAULT_TOKEN_CHANNEL;
213 // InternalAlloyLanguage.g:16:7: ( 'implies' )
214 // InternalAlloyLanguage.g:16:9: 'implies'
215 {
216 match("implies");
217
218
219 }
220
221 state.type = _type;
222 state.channel = _channel;
223 }
224 finally {
225 }
226 }
227 // $ANTLR end "T__16"
228
229 // $ANTLR start "T__17"
230 public final void mT__17() throws RecognitionException {
231 try {
232 int _type = T__17;
233 int _channel = DEFAULT_TOKEN_CHANNEL;
234 // InternalAlloyLanguage.g:17:7: ( '&&' )
235 // InternalAlloyLanguage.g:17:9: '&&'
236 {
237 match("&&");
238
239
240 }
241
242 state.type = _type;
243 state.channel = _channel;
244 }
245 finally {
246 }
247 }
248 // $ANTLR end "T__17"
249
250 // $ANTLR start "T__18"
251 public final void mT__18() throws RecognitionException {
252 try {
253 int _type = T__18;
254 int _channel = DEFAULT_TOKEN_CHANNEL;
255 // InternalAlloyLanguage.g:18:7: ( 'and' )
256 // InternalAlloyLanguage.g:18:9: 'and'
257 {
258 match("and");
259
260
261 }
262
263 state.type = _type;
264 state.channel = _channel;
265 }
266 finally {
267 }
268 }
269 // $ANTLR end "T__18"
270
271 // $ANTLR start "T__19"
272 public final void mT__19() throws RecognitionException {
273 try {
274 int _type = T__19;
275 int _channel = DEFAULT_TOKEN_CHANNEL;
276 // InternalAlloyLanguage.g:19:7: ( '!' )
277 // InternalAlloyLanguage.g:19:9: '!'
278 {
279 match('!');
280
281 }
282
283 state.type = _type;
284 state.channel = _channel;
285 }
286 finally {
287 }
288 }
289 // $ANTLR end "T__19"
290
291 // $ANTLR start "T__20"
292 public final void mT__20() throws RecognitionException {
293 try {
294 int _type = T__20;
295 int _channel = DEFAULT_TOKEN_CHANNEL;
296 // InternalAlloyLanguage.g:20:7: ( 'not' )
297 // InternalAlloyLanguage.g:20:9: 'not'
298 {
299 match("not");
300
301
302 }
303
304 state.type = _type;
305 state.channel = _channel;
306 }
307 finally {
308 }
309 }
310 // $ANTLR end "T__20"
311
312 // $ANTLR start "T__21"
313 public final void mT__21() throws RecognitionException {
314 try {
315 int _type = T__21;
316 int _channel = DEFAULT_TOKEN_CHANNEL;
317 // InternalAlloyLanguage.g:21:7: ( 'all' )
318 // InternalAlloyLanguage.g:21:9: 'all'
319 {
320 match("all");
321
322
323 }
324
325 state.type = _type;
326 state.channel = _channel;
327 }
328 finally {
329 }
330 }
331 // $ANTLR end "T__21"
332
333 // $ANTLR start "T__22"
334 public final void mT__22() throws RecognitionException {
335 try {
336 int _type = T__22;
337 int _channel = DEFAULT_TOKEN_CHANNEL;
338 // InternalAlloyLanguage.g:22:7: ( 'no' )
339 // InternalAlloyLanguage.g:22:9: 'no'
340 {
341 match("no");
342
343
344 }
345
346 state.type = _type;
347 state.channel = _channel;
348 }
349 finally {
350 }
351 }
352 // $ANTLR end "T__22"
353
354 // $ANTLR start "T__23"
355 public final void mT__23() throws RecognitionException {
356 try {
357 int _type = T__23;
358 int _channel = DEFAULT_TOKEN_CHANNEL;
359 // InternalAlloyLanguage.g:23:7: ( 'some' )
360 // InternalAlloyLanguage.g:23:9: 'some'
361 {
362 match("some");
363
364
365 }
366
367 state.type = _type;
368 state.channel = _channel;
369 }
370 finally {
371 }
372 }
373 // $ANTLR end "T__23"
374
375 // $ANTLR start "T__24"
376 public final void mT__24() throws RecognitionException {
377 try {
378 int _type = T__24;
379 int _channel = DEFAULT_TOKEN_CHANNEL;
380 // InternalAlloyLanguage.g:24:7: ( 'lone' )
381 // InternalAlloyLanguage.g:24:9: 'lone'
382 {
383 match("lone");
384
385
386 }
387
388 state.type = _type;
389 state.channel = _channel;
390 }
391 finally {
392 }
393 }
394 // $ANTLR end "T__24"
395
396 // $ANTLR start "T__25"
397 public final void mT__25() throws RecognitionException {
398 try {
399 int _type = T__25;
400 int _channel = DEFAULT_TOKEN_CHANNEL;
401 // InternalAlloyLanguage.g:25:7: ( 'one' )
402 // InternalAlloyLanguage.g:25:9: 'one'
403 {
404 match("one");
405
406
407 }
408
409 state.type = _type;
410 state.channel = _channel;
411 }
412 finally {
413 }
414 }
415 // $ANTLR end "T__25"
416
417 // $ANTLR start "T__26"
418 public final void mT__26() throws RecognitionException {
419 try {
420 int _type = T__26;
421 int _channel = DEFAULT_TOKEN_CHANNEL;
422 // InternalAlloyLanguage.g:26:7: ( 'set' )
423 // InternalAlloyLanguage.g:26:9: 'set'
424 {
425 match("set");
426
427
428 }
429
430 state.type = _type;
431 state.channel = _channel;
432 }
433 finally {
434 }
435 }
436 // $ANTLR end "T__26"
437
438 // $ANTLR start "T__27"
439 public final void mT__27() throws RecognitionException {
440 try {
441 int _type = T__27;
442 int _channel = DEFAULT_TOKEN_CHANNEL;
443 // InternalAlloyLanguage.g:27:7: ( 'plus' )
444 // InternalAlloyLanguage.g:27:9: 'plus'
445 {
446 match("plus");
447
448
449 }
450
451 state.type = _type;
452 state.channel = _channel;
453 }
454 finally {
455 }
456 }
457 // $ANTLR end "T__27"
458
459 // $ANTLR start "T__28"
460 public final void mT__28() throws RecognitionException {
461 try {
462 int _type = T__28;
463 int _channel = DEFAULT_TOKEN_CHANNEL;
464 // InternalAlloyLanguage.g:28:7: ( 'sub' )
465 // InternalAlloyLanguage.g:28:9: 'sub'
466 {
467 match("sub");
468
469
470 }
471
472 state.type = _type;
473 state.channel = _channel;
474 }
475 finally {
476 }
477 }
478 // $ANTLR end "T__28"
479
480 // $ANTLR start "T__29"
481 public final void mT__29() throws RecognitionException {
482 try {
483 int _type = T__29;
484 int _channel = DEFAULT_TOKEN_CHANNEL;
485 // InternalAlloyLanguage.g:29:7: ( 'mul' )
486 // InternalAlloyLanguage.g:29:9: 'mul'
487 {
488 match("mul");
489
490
491 }
492
493 state.type = _type;
494 state.channel = _channel;
495 }
496 finally {
497 }
498 }
499 // $ANTLR end "T__29"
500
501 // $ANTLR start "T__30"
502 public final void mT__30() throws RecognitionException {
503 try {
504 int _type = T__30;
505 int _channel = DEFAULT_TOKEN_CHANNEL;
506 // InternalAlloyLanguage.g:30:7: ( 'rem' )
507 // InternalAlloyLanguage.g:30:9: 'rem'
508 {
509 match("rem");
510
511
512 }
513
514 state.type = _type;
515 state.channel = _channel;
516 }
517 finally {
518 }
519 }
520 // $ANTLR end "T__30"
521
522 // $ANTLR start "T__31"
523 public final void mT__31() throws RecognitionException {
524 try {
525 int _type = T__31;
526 int _channel = DEFAULT_TOKEN_CHANNEL;
527 // InternalAlloyLanguage.g:31:7: ( 'div' )
528 // InternalAlloyLanguage.g:31:9: 'div'
529 {
530 match("div");
531
532
533 }
534
535 state.type = _type;
536 state.channel = _channel;
537 }
538 finally {
539 }
540 }
541 // $ANTLR end "T__31"
542
543 // $ANTLR start "T__32"
544 public final void mT__32() throws RecognitionException {
545 try {
546 int _type = T__32;
547 int _channel = DEFAULT_TOKEN_CHANNEL;
548 // InternalAlloyLanguage.g:32:7: ( 'enum' )
549 // InternalAlloyLanguage.g:32:9: 'enum'
550 {
551 match("enum");
552
553
554 }
555
556 state.type = _type;
557 state.channel = _channel;
558 }
559 finally {
560 }
561 }
562 // $ANTLR end "T__32"
563
564 // $ANTLR start "T__33"
565 public final void mT__33() throws RecognitionException {
566 try {
567 int _type = T__33;
568 int _channel = DEFAULT_TOKEN_CHANNEL;
569 // InternalAlloyLanguage.g:33:7: ( '{' )
570 // InternalAlloyLanguage.g:33:9: '{'
571 {
572 match('{');
573
574 }
575
576 state.type = _type;
577 state.channel = _channel;
578 }
579 finally {
580 }
581 }
582 // $ANTLR end "T__33"
583
584 // $ANTLR start "T__34"
585 public final void mT__34() throws RecognitionException {
586 try {
587 int _type = T__34;
588 int _channel = DEFAULT_TOKEN_CHANNEL;
589 // InternalAlloyLanguage.g:34:7: ( '}' )
590 // InternalAlloyLanguage.g:34:9: '}'
591 {
592 match('}');
593
594 }
595
596 state.type = _type;
597 state.channel = _channel;
598 }
599 finally {
600 }
601 }
602 // $ANTLR end "T__34"
603
604 // $ANTLR start "T__35"
605 public final void mT__35() throws RecognitionException {
606 try {
607 int _type = T__35;
608 int _channel = DEFAULT_TOKEN_CHANNEL;
609 // InternalAlloyLanguage.g:35:7: ( ',' )
610 // InternalAlloyLanguage.g:35:9: ','
611 {
612 match(',');
613
614 }
615
616 state.type = _type;
617 state.channel = _channel;
618 }
619 finally {
620 }
621 }
622 // $ANTLR end "T__35"
623
624 // $ANTLR start "T__36"
625 public final void mT__36() throws RecognitionException {
626 try {
627 int _type = T__36;
628 int _channel = DEFAULT_TOKEN_CHANNEL;
629 // InternalAlloyLanguage.g:36:7: ( 'sig' )
630 // InternalAlloyLanguage.g:36:9: 'sig'
631 {
632 match("sig");
633
634
635 }
636
637 state.type = _type;
638 state.channel = _channel;
639 }
640 finally {
641 }
642 }
643 // $ANTLR end "T__36"
644
645 // $ANTLR start "T__37"
646 public final void mT__37() throws RecognitionException {
647 try {
648 int _type = T__37;
649 int _channel = DEFAULT_TOKEN_CHANNEL;
650 // InternalAlloyLanguage.g:37:7: ( 'extends' )
651 // InternalAlloyLanguage.g:37:9: 'extends'
652 {
653 match("extends");
654
655
656 }
657
658 state.type = _type;
659 state.channel = _channel;
660 }
661 finally {
662 }
663 }
664 // $ANTLR end "T__37"
665
666 // $ANTLR start "T__38"
667 public final void mT__38() throws RecognitionException {
668 try {
669 int _type = T__38;
670 int _channel = DEFAULT_TOKEN_CHANNEL;
671 // InternalAlloyLanguage.g:38:7: ( 'in' )
672 // InternalAlloyLanguage.g:38:9: 'in'
673 {
674 match("in");
675
676
677 }
678
679 state.type = _type;
680 state.channel = _channel;
681 }
682 finally {
683 }
684 }
685 // $ANTLR end "T__38"
686
687 // $ANTLR start "T__39"
688 public final void mT__39() throws RecognitionException {
689 try {
690 int _type = T__39;
691 int _channel = DEFAULT_TOKEN_CHANNEL;
692 // InternalAlloyLanguage.g:39:7: ( '+' )
693 // InternalAlloyLanguage.g:39:9: '+'
694 {
695 match('+');
696
697 }
698
699 state.type = _type;
700 state.channel = _channel;
701 }
702 finally {
703 }
704 }
705 // $ANTLR end "T__39"
706
707 // $ANTLR start "T__40"
708 public final void mT__40() throws RecognitionException {
709 try {
710 int _type = T__40;
711 int _channel = DEFAULT_TOKEN_CHANNEL;
712 // InternalAlloyLanguage.g:40:7: ( ':' )
713 // InternalAlloyLanguage.g:40:9: ':'
714 {
715 match(':');
716
717 }
718
719 state.type = _type;
720 state.channel = _channel;
721 }
722 finally {
723 }
724 }
725 // $ANTLR end "T__40"
726
727 // $ANTLR start "T__41"
728 public final void mT__41() throws RecognitionException {
729 try {
730 int _type = T__41;
731 int _channel = DEFAULT_TOKEN_CHANNEL;
732 // InternalAlloyLanguage.g:41:7: ( 'fun' )
733 // InternalAlloyLanguage.g:41:9: 'fun'
734 {
735 match("fun");
736
737
738 }
739
740 state.type = _type;
741 state.channel = _channel;
742 }
743 finally {
744 }
745 }
746 // $ANTLR end "T__41"
747
748 // $ANTLR start "T__42"
749 public final void mT__42() throws RecognitionException {
750 try {
751 int _type = T__42;
752 int _channel = DEFAULT_TOKEN_CHANNEL;
753 // InternalAlloyLanguage.g:42:7: ( '[' )
754 // InternalAlloyLanguage.g:42:9: '['
755 {
756 match('[');
757
758 }
759
760 state.type = _type;
761 state.channel = _channel;
762 }
763 finally {
764 }
765 }
766 // $ANTLR end "T__42"
767
768 // $ANTLR start "T__43"
769 public final void mT__43() throws RecognitionException {
770 try {
771 int _type = T__43;
772 int _channel = DEFAULT_TOKEN_CHANNEL;
773 // InternalAlloyLanguage.g:43:7: ( ']' )
774 // InternalAlloyLanguage.g:43:9: ']'
775 {
776 match(']');
777
778 }
779
780 state.type = _type;
781 state.channel = _channel;
782 }
783 finally {
784 }
785 }
786 // $ANTLR end "T__43"
787
788 // $ANTLR start "T__44"
789 public final void mT__44() throws RecognitionException {
790 try {
791 int _type = T__44;
792 int _channel = DEFAULT_TOKEN_CHANNEL;
793 // InternalAlloyLanguage.g:44:7: ( 'pred' )
794 // InternalAlloyLanguage.g:44:9: 'pred'
795 {
796 match("pred");
797
798
799 }
800
801 state.type = _type;
802 state.channel = _channel;
803 }
804 finally {
805 }
806 }
807 // $ANTLR end "T__44"
808
809 // $ANTLR start "T__45"
810 public final void mT__45() throws RecognitionException {
811 try {
812 int _type = T__45;
813 int _channel = DEFAULT_TOKEN_CHANNEL;
814 // InternalAlloyLanguage.g:45:7: ( 'fact' )
815 // InternalAlloyLanguage.g:45:9: 'fact'
816 {
817 match("fact");
818
819
820 }
821
822 state.type = _type;
823 state.channel = _channel;
824 }
825 finally {
826 }
827 }
828 // $ANTLR end "T__45"
829
830 // $ANTLR start "T__46"
831 public final void mT__46() throws RecognitionException {
832 try {
833 int _type = T__46;
834 int _channel = DEFAULT_TOKEN_CHANNEL;
835 // InternalAlloyLanguage.g:46:7: ( 'else' )
836 // InternalAlloyLanguage.g:46:9: 'else'
837 {
838 match("else");
839
840
841 }
842
843 state.type = _type;
844 state.channel = _channel;
845 }
846 finally {
847 }
848 }
849 // $ANTLR end "T__46"
850
851 // $ANTLR start "T__47"
852 public final void mT__47() throws RecognitionException {
853 try {
854 int _type = T__47;
855 int _channel = DEFAULT_TOKEN_CHANNEL;
856 // InternalAlloyLanguage.g:47:7: ( '=' )
857 // InternalAlloyLanguage.g:47:9: '='
858 {
859 match('=');
860
861 }
862
863 state.type = _type;
864 state.channel = _channel;
865 }
866 finally {
867 }
868 }
869 // $ANTLR end "T__47"
870
871 // $ANTLR start "T__48"
872 public final void mT__48() throws RecognitionException {
873 try {
874 int _type = T__48;
875 int _channel = DEFAULT_TOKEN_CHANNEL;
876 // InternalAlloyLanguage.g:48:7: ( '!=' )
877 // InternalAlloyLanguage.g:48:9: '!='
878 {
879 match("!=");
880
881
882 }
883
884 state.type = _type;
885 state.channel = _channel;
886 }
887 finally {
888 }
889 }
890 // $ANTLR end "T__48"
891
892 // $ANTLR start "T__49"
893 public final void mT__49() throws RecognitionException {
894 try {
895 int _type = T__49;
896 int _channel = DEFAULT_TOKEN_CHANNEL;
897 // InternalAlloyLanguage.g:49:7: ( '>' )
898 // InternalAlloyLanguage.g:49:9: '>'
899 {
900 match('>');
901
902 }
903
904 state.type = _type;
905 state.channel = _channel;
906 }
907 finally {
908 }
909 }
910 // $ANTLR end "T__49"
911
912 // $ANTLR start "T__50"
913 public final void mT__50() throws RecognitionException {
914 try {
915 int _type = T__50;
916 int _channel = DEFAULT_TOKEN_CHANNEL;
917 // InternalAlloyLanguage.g:50:7: ( '>=' )
918 // InternalAlloyLanguage.g:50:9: '>='
919 {
920 match(">=");
921
922
923 }
924
925 state.type = _type;
926 state.channel = _channel;
927 }
928 finally {
929 }
930 }
931 // $ANTLR end "T__50"
932
933 // $ANTLR start "T__51"
934 public final void mT__51() throws RecognitionException {
935 try {
936 int _type = T__51;
937 int _channel = DEFAULT_TOKEN_CHANNEL;
938 // InternalAlloyLanguage.g:51:7: ( '<' )
939 // InternalAlloyLanguage.g:51:9: '<'
940 {
941 match('<');
942
943 }
944
945 state.type = _type;
946 state.channel = _channel;
947 }
948 finally {
949 }
950 }
951 // $ANTLR end "T__51"
952
953 // $ANTLR start "T__52"
954 public final void mT__52() throws RecognitionException {
955 try {
956 int _type = T__52;
957 int _channel = DEFAULT_TOKEN_CHANNEL;
958 // InternalAlloyLanguage.g:52:7: ( '<=' )
959 // InternalAlloyLanguage.g:52:9: '<='
960 {
961 match("<=");
962
963
964 }
965
966 state.type = _type;
967 state.channel = _channel;
968 }
969 finally {
970 }
971 }
972 // $ANTLR end "T__52"
973
974 // $ANTLR start "T__53"
975 public final void mT__53() throws RecognitionException {
976 try {
977 int _type = T__53;
978 int _channel = DEFAULT_TOKEN_CHANNEL;
979 // InternalAlloyLanguage.g:53:7: ( '++' )
980 // InternalAlloyLanguage.g:53:9: '++'
981 {
982 match("++");
983
984
985 }
986
987 state.type = _type;
988 state.channel = _channel;
989 }
990 finally {
991 }
992 }
993 // $ANTLR end "T__53"
994
995 // $ANTLR start "T__54"
996 public final void mT__54() throws RecognitionException {
997 try {
998 int _type = T__54;
999 int _channel = DEFAULT_TOKEN_CHANNEL;
1000 // InternalAlloyLanguage.g:54:7: ( ':>' )
1001 // InternalAlloyLanguage.g:54:9: ':>'
1002 {
1003 match(":>");
1004
1005
1006 }
1007
1008 state.type = _type;
1009 state.channel = _channel;
1010 }
1011 finally {
1012 }
1013 }
1014 // $ANTLR end "T__54"
1015
1016 // $ANTLR start "T__55"
1017 public final void mT__55() throws RecognitionException {
1018 try {
1019 int _type = T__55;
1020 int _channel = DEFAULT_TOKEN_CHANNEL;
1021 // InternalAlloyLanguage.g:55:7: ( '<:' )
1022 // InternalAlloyLanguage.g:55:9: '<:'
1023 {
1024 match("<:");
1025
1026
1027 }
1028
1029 state.type = _type;
1030 state.channel = _channel;
1031 }
1032 finally {
1033 }
1034 }
1035 // $ANTLR end "T__55"
1036
1037 // $ANTLR start "T__56"
1038 public final void mT__56() throws RecognitionException {
1039 try {
1040 int _type = T__56;
1041 int _channel = DEFAULT_TOKEN_CHANNEL;
1042 // InternalAlloyLanguage.g:56:7: ( '.' )
1043 // InternalAlloyLanguage.g:56:9: '.'
1044 {
1045 match('.');
1046
1047 }
1048
1049 state.type = _type;
1050 state.channel = _channel;
1051 }
1052 finally {
1053 }
1054 }
1055 // $ANTLR end "T__56"
1056
1057 // $ANTLR start "T__57"
1058 public final void mT__57() throws RecognitionException {
1059 try {
1060 int _type = T__57;
1061 int _channel = DEFAULT_TOKEN_CHANNEL;
1062 // InternalAlloyLanguage.g:57:7: ( '-' )
1063 // InternalAlloyLanguage.g:57:9: '-'
1064 {
1065 match('-');
1066
1067 }
1068
1069 state.type = _type;
1070 state.channel = _channel;
1071 }
1072 finally {
1073 }
1074 }
1075 // $ANTLR end "T__57"
1076
1077 // $ANTLR start "T__58"
1078 public final void mT__58() throws RecognitionException {
1079 try {
1080 int _type = T__58;
1081 int _channel = DEFAULT_TOKEN_CHANNEL;
1082 // InternalAlloyLanguage.g:58:7: ( '&' )
1083 // InternalAlloyLanguage.g:58:9: '&'
1084 {
1085 match('&');
1086
1087 }
1088
1089 state.type = _type;
1090 state.channel = _channel;
1091 }
1092 finally {
1093 }
1094 }
1095 // $ANTLR end "T__58"
1096
1097 // $ANTLR start "T__59"
1098 public final void mT__59() throws RecognitionException {
1099 try {
1100 int _type = T__59;
1101 int _channel = DEFAULT_TOKEN_CHANNEL;
1102 // InternalAlloyLanguage.g:59:7: ( '->' )
1103 // InternalAlloyLanguage.g:59:9: '->'
1104 {
1105 match("->");
1106
1107
1108 }
1109
1110 state.type = _type;
1111 state.channel = _channel;
1112 }
1113 finally {
1114 }
1115 }
1116 // $ANTLR end "T__59"
1117
1118 // $ANTLR start "T__60"
1119 public final void mT__60() throws RecognitionException {
1120 try {
1121 int _type = T__60;
1122 int _channel = DEFAULT_TOKEN_CHANNEL;
1123 // InternalAlloyLanguage.g:60:7: ( '~' )
1124 // InternalAlloyLanguage.g:60:9: '~'
1125 {
1126 match('~');
1127
1128 }
1129
1130 state.type = _type;
1131 state.channel = _channel;
1132 }
1133 finally {
1134 }
1135 }
1136 // $ANTLR end "T__60"
1137
1138 // $ANTLR start "T__61"
1139 public final void mT__61() throws RecognitionException {
1140 try {
1141 int _type = T__61;
1142 int _channel = DEFAULT_TOKEN_CHANNEL;
1143 // InternalAlloyLanguage.g:61:7: ( '^' )
1144 // InternalAlloyLanguage.g:61:9: '^'
1145 {
1146 match('^');
1147
1148 }
1149
1150 state.type = _type;
1151 state.channel = _channel;
1152 }
1153 finally {
1154 }
1155 }
1156 // $ANTLR end "T__61"
1157
1158 // $ANTLR start "T__62"
1159 public final void mT__62() throws RecognitionException {
1160 try {
1161 int _type = T__62;
1162 int _channel = DEFAULT_TOKEN_CHANNEL;
1163 // InternalAlloyLanguage.g:62:7: ( '*' )
1164 // InternalAlloyLanguage.g:62:9: '*'
1165 {
1166 match('*');
1167
1168 }
1169
1170 state.type = _type;
1171 state.channel = _channel;
1172 }
1173 finally {
1174 }
1175 }
1176 // $ANTLR end "T__62"
1177
1178 // $ANTLR start "T__63"
1179 public final void mT__63() throws RecognitionException {
1180 try {
1181 int _type = T__63;
1182 int _channel = DEFAULT_TOKEN_CHANNEL;
1183 // InternalAlloyLanguage.g:63:7: ( '#' )
1184 // InternalAlloyLanguage.g:63:9: '#'
1185 {
1186 match('#');
1187
1188 }
1189
1190 state.type = _type;
1191 state.channel = _channel;
1192 }
1193 finally {
1194 }
1195 }
1196 // $ANTLR end "T__63"
1197
1198 // $ANTLR start "T__64"
1199 public final void mT__64() throws RecognitionException {
1200 try {
1201 int _type = T__64;
1202 int _channel = DEFAULT_TOKEN_CHANNEL;
1203 // InternalAlloyLanguage.g:64:7: ( 'sum' )
1204 // InternalAlloyLanguage.g:64:9: 'sum'
1205 {
1206 match("sum");
1207
1208
1209 }
1210
1211 state.type = _type;
1212 state.channel = _channel;
1213 }
1214 finally {
1215 }
1216 }
1217 // $ANTLR end "T__64"
1218
1219 // $ANTLR start "T__65"
1220 public final void mT__65() throws RecognitionException {
1221 try {
1222 int _type = T__65;
1223 int _channel = DEFAULT_TOKEN_CHANNEL;
1224 // InternalAlloyLanguage.g:65:7: ( 'none' )
1225 // InternalAlloyLanguage.g:65:9: 'none'
1226 {
1227 match("none");
1228
1229
1230 }
1231
1232 state.type = _type;
1233 state.channel = _channel;
1234 }
1235 finally {
1236 }
1237 }
1238 // $ANTLR end "T__65"
1239
1240 // $ANTLR start "T__66"
1241 public final void mT__66() throws RecognitionException {
1242 try {
1243 int _type = T__66;
1244 int _channel = DEFAULT_TOKEN_CHANNEL;
1245 // InternalAlloyLanguage.g:66:7: ( 'iden' )
1246 // InternalAlloyLanguage.g:66:9: 'iden'
1247 {
1248 match("iden");
1249
1250
1251 }
1252
1253 state.type = _type;
1254 state.channel = _channel;
1255 }
1256 finally {
1257 }
1258 }
1259 // $ANTLR end "T__66"
1260
1261 // $ANTLR start "T__67"
1262 public final void mT__67() throws RecognitionException {
1263 try {
1264 int _type = T__67;
1265 int _channel = DEFAULT_TOKEN_CHANNEL;
1266 // InternalAlloyLanguage.g:67:7: ( 'univ' )
1267 // InternalAlloyLanguage.g:67:9: 'univ'
1268 {
1269 match("univ");
1270
1271
1272 }
1273
1274 state.type = _type;
1275 state.channel = _channel;
1276 }
1277 finally {
1278 }
1279 }
1280 // $ANTLR end "T__67"
1281
1282 // $ANTLR start "T__68"
1283 public final void mT__68() throws RecognitionException {
1284 try {
1285 int _type = T__68;
1286 int _channel = DEFAULT_TOKEN_CHANNEL;
1287 // InternalAlloyLanguage.g:68:7: ( 'Int' )
1288 // InternalAlloyLanguage.g:68:9: 'Int'
1289 {
1290 match("Int");
1291
1292
1293 }
1294
1295 state.type = _type;
1296 state.channel = _channel;
1297 }
1298 finally {
1299 }
1300 }
1301 // $ANTLR end "T__68"
1302
1303 // $ANTLR start "T__69"
1304 public final void mT__69() throws RecognitionException {
1305 try {
1306 int _type = T__69;
1307 int _channel = DEFAULT_TOKEN_CHANNEL;
1308 // InternalAlloyLanguage.g:69:7: ( 'String' )
1309 // InternalAlloyLanguage.g:69:9: 'String'
1310 {
1311 match("String");
1312
1313
1314 }
1315
1316 state.type = _type;
1317 state.channel = _channel;
1318 }
1319 finally {
1320 }
1321 }
1322 // $ANTLR end "T__69"
1323
1324 // $ANTLR start "T__70"
1325 public final void mT__70() throws RecognitionException {
1326 try {
1327 int _type = T__70;
1328 int _channel = DEFAULT_TOKEN_CHANNEL;
1329 // InternalAlloyLanguage.g:70:7: ( '(' )
1330 // InternalAlloyLanguage.g:70:9: '('
1331 {
1332 match('(');
1333
1334 }
1335
1336 state.type = _type;
1337 state.channel = _channel;
1338 }
1339 finally {
1340 }
1341 }
1342 // $ANTLR end "T__70"
1343
1344 // $ANTLR start "T__71"
1345 public final void mT__71() throws RecognitionException {
1346 try {
1347 int _type = T__71;
1348 int _channel = DEFAULT_TOKEN_CHANNEL;
1349 // InternalAlloyLanguage.g:71:7: ( ')' )
1350 // InternalAlloyLanguage.g:71:9: ')'
1351 {
1352 match(')');
1353
1354 }
1355
1356 state.type = _type;
1357 state.channel = _channel;
1358 }
1359 finally {
1360 }
1361 }
1362 // $ANTLR end "T__71"
1363
1364 // $ANTLR start "T__72"
1365 public final void mT__72() throws RecognitionException {
1366 try {
1367 int _type = T__72;
1368 int _channel = DEFAULT_TOKEN_CHANNEL;
1369 // InternalAlloyLanguage.g:72:7: ( 'run' )
1370 // InternalAlloyLanguage.g:72:9: 'run'
1371 {
1372 match("run");
1373
1374
1375 }
1376
1377 state.type = _type;
1378 state.channel = _channel;
1379 }
1380 finally {
1381 }
1382 }
1383 // $ANTLR end "T__72"
1384
1385 // $ANTLR start "T__73"
1386 public final void mT__73() throws RecognitionException {
1387 try {
1388 int _type = T__73;
1389 int _channel = DEFAULT_TOKEN_CHANNEL;
1390 // InternalAlloyLanguage.g:73:7: ( 'for' )
1391 // InternalAlloyLanguage.g:73:9: 'for'
1392 {
1393 match("for");
1394
1395
1396 }
1397
1398 state.type = _type;
1399 state.channel = _channel;
1400 }
1401 finally {
1402 }
1403 }
1404 // $ANTLR end "T__73"
1405
1406 // $ANTLR start "T__74"
1407 public final void mT__74() throws RecognitionException {
1408 try {
1409 int _type = T__74;
1410 int _channel = DEFAULT_TOKEN_CHANNEL;
1411 // InternalAlloyLanguage.g:74:7: ( 'exactly' )
1412 // InternalAlloyLanguage.g:74:9: 'exactly'
1413 {
1414 match("exactly");
1415
1416
1417 }
1418
1419 state.type = _type;
1420 state.channel = _channel;
1421 }
1422 finally {
1423 }
1424 }
1425 // $ANTLR end "T__74"
1426
1427 // $ANTLR start "T__75"
1428 public final void mT__75() throws RecognitionException {
1429 try {
1430 int _type = T__75;
1431 int _channel = DEFAULT_TOKEN_CHANNEL;
1432 // InternalAlloyLanguage.g:75:7: ( 'abstract' )
1433 // InternalAlloyLanguage.g:75:9: 'abstract'
1434 {
1435 match("abstract");
1436
1437
1438 }
1439
1440 state.type = _type;
1441 state.channel = _channel;
1442 }
1443 finally {
1444 }
1445 }
1446 // $ANTLR end "T__75"
1447
1448 // $ANTLR start "T__76"
1449 public final void mT__76() throws RecognitionException {
1450 try {
1451 int _type = T__76;
1452 int _channel = DEFAULT_TOKEN_CHANNEL;
1453 // InternalAlloyLanguage.g:76:7: ( 'disj' )
1454 // InternalAlloyLanguage.g:76:9: 'disj'
1455 {
1456 match("disj");
1457
1458
1459 }
1460
1461 state.type = _type;
1462 state.channel = _channel;
1463 }
1464 finally {
1465 }
1466 }
1467 // $ANTLR end "T__76"
1468
1469 // $ANTLR start "RULE_ID"
1470 public final void mRULE_ID() throws RecognitionException {
1471 try {
1472 int _type = RULE_ID;
1473 int _channel = DEFAULT_TOKEN_CHANNEL;
1474 // InternalAlloyLanguage.g:10378:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* )
1475 // InternalAlloyLanguage.g:10378:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1476 {
1477 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
1478 input.consume();
1479
1480 }
1481 else {
1482 MismatchedSetException mse = new MismatchedSetException(null,input);
1483 recover(mse);
1484 throw mse;}
1485
1486 // InternalAlloyLanguage.g:10378:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1487 loop1:
1488 do {
1489 int alt1=2;
1490 int LA1_0 = input.LA(1);
1491
1492 if ( (LA1_0=='\"'||LA1_0=='\''||(LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {
1493 alt1=1;
1494 }
1495
1496
1497 switch (alt1) {
1498 case 1 :
1499 // InternalAlloyLanguage.g:
1500 {
1501 if ( input.LA(1)=='\"'||input.LA(1)=='\''||(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') ) {
1502 input.consume();
1503
1504 }
1505 else {
1506 MismatchedSetException mse = new MismatchedSetException(null,input);
1507 recover(mse);
1508 throw mse;}
1509
1510
1511 }
1512 break;
1513
1514 default :
1515 break loop1;
1516 }
1517 } while (true);
1518
1519
1520 }
1521
1522 state.type = _type;
1523 state.channel = _channel;
1524 }
1525 finally {
1526 }
1527 }
1528 // $ANTLR end "RULE_ID"
1529
1530 // $ANTLR start "RULE_INT"
1531 public final void mRULE_INT() throws RecognitionException {
1532 try {
1533 int _type = RULE_INT;
1534 int _channel = DEFAULT_TOKEN_CHANNEL;
1535 // InternalAlloyLanguage.g:10380:10: ( ( '0' .. '9' )+ )
1536 // InternalAlloyLanguage.g:10380:12: ( '0' .. '9' )+
1537 {
1538 // InternalAlloyLanguage.g:10380:12: ( '0' .. '9' )+
1539 int cnt2=0;
1540 loop2:
1541 do {
1542 int alt2=2;
1543 int LA2_0 = input.LA(1);
1544
1545 if ( ((LA2_0>='0' && LA2_0<='9')) ) {
1546 alt2=1;
1547 }
1548
1549
1550 switch (alt2) {
1551 case 1 :
1552 // InternalAlloyLanguage.g:10380:13: '0' .. '9'
1553 {
1554 matchRange('0','9');
1555
1556 }
1557 break;
1558
1559 default :
1560 if ( cnt2 >= 1 ) break loop2;
1561 EarlyExitException eee =
1562 new EarlyExitException(2, input);
1563 throw eee;
1564 }
1565 cnt2++;
1566 } while (true);
1567
1568
1569 }
1570
1571 state.type = _type;
1572 state.channel = _channel;
1573 }
1574 finally {
1575 }
1576 }
1577 // $ANTLR end "RULE_INT"
1578
1579 // $ANTLR start "RULE_STRING"
1580 public final void mRULE_STRING() throws RecognitionException {
1581 try {
1582 int _type = RULE_STRING;
1583 int _channel = DEFAULT_TOKEN_CHANNEL;
1584 // InternalAlloyLanguage.g:10382:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1585 // InternalAlloyLanguage.g:10382:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1586 {
1587 // InternalAlloyLanguage.g:10382:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1588 int alt5=2;
1589 int LA5_0 = input.LA(1);
1590
1591 if ( (LA5_0=='\"') ) {
1592 alt5=1;
1593 }
1594 else if ( (LA5_0=='\'') ) {
1595 alt5=2;
1596 }
1597 else {
1598 NoViableAltException nvae =
1599 new NoViableAltException("", 5, 0, input);
1600
1601 throw nvae;
1602 }
1603 switch (alt5) {
1604 case 1 :
1605 // InternalAlloyLanguage.g:10382:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1606 {
1607 match('\"');
1608 // InternalAlloyLanguage.g:10382:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1609 loop3:
1610 do {
1611 int alt3=3;
1612 int LA3_0 = input.LA(1);
1613
1614 if ( (LA3_0=='\\') ) {
1615 alt3=1;
1616 }
1617 else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) {
1618 alt3=2;
1619 }
1620
1621
1622 switch (alt3) {
1623 case 1 :
1624 // InternalAlloyLanguage.g:10382:21: '\\\\' .
1625 {
1626 match('\\');
1627 matchAny();
1628
1629 }
1630 break;
1631 case 2 :
1632 // InternalAlloyLanguage.g:10382:28: ~ ( ( '\\\\' | '\"' ) )
1633 {
1634 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1635 input.consume();
1636
1637 }
1638 else {
1639 MismatchedSetException mse = new MismatchedSetException(null,input);
1640 recover(mse);
1641 throw mse;}
1642
1643
1644 }
1645 break;
1646
1647 default :
1648 break loop3;
1649 }
1650 } while (true);
1651
1652 match('\"');
1653
1654 }
1655 break;
1656 case 2 :
1657 // InternalAlloyLanguage.g:10382:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1658 {
1659 match('\'');
1660 // InternalAlloyLanguage.g:10382:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1661 loop4:
1662 do {
1663 int alt4=3;
1664 int LA4_0 = input.LA(1);
1665
1666 if ( (LA4_0=='\\') ) {
1667 alt4=1;
1668 }
1669 else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
1670 alt4=2;
1671 }
1672
1673
1674 switch (alt4) {
1675 case 1 :
1676 // InternalAlloyLanguage.g:10382:54: '\\\\' .
1677 {
1678 match('\\');
1679 matchAny();
1680
1681 }
1682 break;
1683 case 2 :
1684 // InternalAlloyLanguage.g:10382:61: ~ ( ( '\\\\' | '\\'' ) )
1685 {
1686 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1687 input.consume();
1688
1689 }
1690 else {
1691 MismatchedSetException mse = new MismatchedSetException(null,input);
1692 recover(mse);
1693 throw mse;}
1694
1695
1696 }
1697 break;
1698
1699 default :
1700 break loop4;
1701 }
1702 } while (true);
1703
1704 match('\'');
1705
1706 }
1707 break;
1708
1709 }
1710
1711
1712 }
1713
1714 state.type = _type;
1715 state.channel = _channel;
1716 }
1717 finally {
1718 }
1719 }
1720 // $ANTLR end "RULE_STRING"
1721
1722 // $ANTLR start "RULE_ML_COMMENT"
1723 public final void mRULE_ML_COMMENT() throws RecognitionException {
1724 try {
1725 int _type = RULE_ML_COMMENT;
1726 int _channel = DEFAULT_TOKEN_CHANNEL;
1727 // InternalAlloyLanguage.g:10384:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1728 // InternalAlloyLanguage.g:10384:19: '/*' ( options {greedy=false; } : . )* '*/'
1729 {
1730 match("/*");
1731
1732 // InternalAlloyLanguage.g:10384:24: ( options {greedy=false; } : . )*
1733 loop6:
1734 do {
1735 int alt6=2;
1736 int LA6_0 = input.LA(1);
1737
1738 if ( (LA6_0=='*') ) {
1739 int LA6_1 = input.LA(2);
1740
1741 if ( (LA6_1=='/') ) {
1742 alt6=2;
1743 }
1744 else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) {
1745 alt6=1;
1746 }
1747
1748
1749 }
1750 else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) {
1751 alt6=1;
1752 }
1753
1754
1755 switch (alt6) {
1756 case 1 :
1757 // InternalAlloyLanguage.g:10384:52: .
1758 {
1759 matchAny();
1760
1761 }
1762 break;
1763
1764 default :
1765 break loop6;
1766 }
1767 } while (true);
1768
1769 match("*/");
1770
1771
1772 }
1773
1774 state.type = _type;
1775 state.channel = _channel;
1776 }
1777 finally {
1778 }
1779 }
1780 // $ANTLR end "RULE_ML_COMMENT"
1781
1782 // $ANTLR start "RULE_SL_COMMENT"
1783 public final void mRULE_SL_COMMENT() throws RecognitionException {
1784 try {
1785 int _type = RULE_SL_COMMENT;
1786 int _channel = DEFAULT_TOKEN_CHANNEL;
1787 // InternalAlloyLanguage.g:10386:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1788 // InternalAlloyLanguage.g:10386:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1789 {
1790 match("//");
1791
1792 // InternalAlloyLanguage.g:10386:24: (~ ( ( '\\n' | '\\r' ) ) )*
1793 loop7:
1794 do {
1795 int alt7=2;
1796 int LA7_0 = input.LA(1);
1797
1798 if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) {
1799 alt7=1;
1800 }
1801
1802
1803 switch (alt7) {
1804 case 1 :
1805 // InternalAlloyLanguage.g:10386:24: ~ ( ( '\\n' | '\\r' ) )
1806 {
1807 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') ) {
1808 input.consume();
1809
1810 }
1811 else {
1812 MismatchedSetException mse = new MismatchedSetException(null,input);
1813 recover(mse);
1814 throw mse;}
1815
1816
1817 }
1818 break;
1819
1820 default :
1821 break loop7;
1822 }
1823 } while (true);
1824
1825 // InternalAlloyLanguage.g:10386:40: ( ( '\\r' )? '\\n' )?
1826 int alt9=2;
1827 int LA9_0 = input.LA(1);
1828
1829 if ( (LA9_0=='\n'||LA9_0=='\r') ) {
1830 alt9=1;
1831 }
1832 switch (alt9) {
1833 case 1 :
1834 // InternalAlloyLanguage.g:10386:41: ( '\\r' )? '\\n'
1835 {
1836 // InternalAlloyLanguage.g:10386:41: ( '\\r' )?
1837 int alt8=2;
1838 int LA8_0 = input.LA(1);
1839
1840 if ( (LA8_0=='\r') ) {
1841 alt8=1;
1842 }
1843 switch (alt8) {
1844 case 1 :
1845 // InternalAlloyLanguage.g:10386:41: '\\r'
1846 {
1847 match('\r');
1848
1849 }
1850 break;
1851
1852 }
1853
1854 match('\n');
1855
1856 }
1857 break;
1858
1859 }
1860
1861
1862 }
1863
1864 state.type = _type;
1865 state.channel = _channel;
1866 }
1867 finally {
1868 }
1869 }
1870 // $ANTLR end "RULE_SL_COMMENT"
1871
1872 // $ANTLR start "RULE_WS"
1873 public final void mRULE_WS() throws RecognitionException {
1874 try {
1875 int _type = RULE_WS;
1876 int _channel = DEFAULT_TOKEN_CHANNEL;
1877 // InternalAlloyLanguage.g:10388:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1878 // InternalAlloyLanguage.g:10388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1879 {
1880 // InternalAlloyLanguage.g:10388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1881 int cnt10=0;
1882 loop10:
1883 do {
1884 int alt10=2;
1885 int LA10_0 = input.LA(1);
1886
1887 if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {
1888 alt10=1;
1889 }
1890
1891
1892 switch (alt10) {
1893 case 1 :
1894 // InternalAlloyLanguage.g:
1895 {
1896 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1897 input.consume();
1898
1899 }
1900 else {
1901 MismatchedSetException mse = new MismatchedSetException(null,input);
1902 recover(mse);
1903 throw mse;}
1904
1905
1906 }
1907 break;
1908
1909 default :
1910 if ( cnt10 >= 1 ) break loop10;
1911 EarlyExitException eee =
1912 new EarlyExitException(10, input);
1913 throw eee;
1914 }
1915 cnt10++;
1916 } while (true);
1917
1918
1919 }
1920
1921 state.type = _type;
1922 state.channel = _channel;
1923 }
1924 finally {
1925 }
1926 }
1927 // $ANTLR end "RULE_WS"
1928
1929 // $ANTLR start "RULE_ANY_OTHER"
1930 public final void mRULE_ANY_OTHER() throws RecognitionException {
1931 try {
1932 int _type = RULE_ANY_OTHER;
1933 int _channel = DEFAULT_TOKEN_CHANNEL;
1934 // InternalAlloyLanguage.g:10390:16: ( . )
1935 // InternalAlloyLanguage.g:10390:18: .
1936 {
1937 matchAny();
1938
1939 }
1940
1941 state.type = _type;
1942 state.channel = _channel;
1943 }
1944 finally {
1945 }
1946 }
1947 // $ANTLR end "RULE_ANY_OTHER"
1948
1949 public void mTokens() throws RecognitionException {
1950 // InternalAlloyLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1951 int alt11=73;
1952 alt11 = dfa11.predict(input);
1953 switch (alt11) {
1954 case 1 :
1955 // InternalAlloyLanguage.g:1:10: T__11
1956 {
1957 mT__11();
1958
1959 }
1960 break;
1961 case 2 :
1962 // InternalAlloyLanguage.g:1:16: T__12
1963 {
1964 mT__12();
1965
1966 }
1967 break;
1968 case 3 :
1969 // InternalAlloyLanguage.g:1:22: T__13
1970 {
1971 mT__13();
1972
1973 }
1974 break;
1975 case 4 :
1976 // InternalAlloyLanguage.g:1:28: T__14
1977 {
1978 mT__14();
1979
1980 }
1981 break;
1982 case 5 :
1983 // InternalAlloyLanguage.g:1:34: T__15
1984 {
1985 mT__15();
1986
1987 }
1988 break;
1989 case 6 :
1990 // InternalAlloyLanguage.g:1:40: T__16
1991 {
1992 mT__16();
1993
1994 }
1995 break;
1996 case 7 :
1997 // InternalAlloyLanguage.g:1:46: T__17
1998 {
1999 mT__17();
2000
2001 }
2002 break;
2003 case 8 :
2004 // InternalAlloyLanguage.g:1:52: T__18
2005 {
2006 mT__18();
2007
2008 }
2009 break;
2010 case 9 :
2011 // InternalAlloyLanguage.g:1:58: T__19
2012 {
2013 mT__19();
2014
2015 }
2016 break;
2017 case 10 :
2018 // InternalAlloyLanguage.g:1:64: T__20
2019 {
2020 mT__20();
2021
2022 }
2023 break;
2024 case 11 :
2025 // InternalAlloyLanguage.g:1:70: T__21
2026 {
2027 mT__21();
2028
2029 }
2030 break;
2031 case 12 :
2032 // InternalAlloyLanguage.g:1:76: T__22
2033 {
2034 mT__22();
2035
2036 }
2037 break;
2038 case 13 :
2039 // InternalAlloyLanguage.g:1:82: T__23
2040 {
2041 mT__23();
2042
2043 }
2044 break;
2045 case 14 :
2046 // InternalAlloyLanguage.g:1:88: T__24
2047 {
2048 mT__24();
2049
2050 }
2051 break;
2052 case 15 :
2053 // InternalAlloyLanguage.g:1:94: T__25
2054 {
2055 mT__25();
2056
2057 }
2058 break;
2059 case 16 :
2060 // InternalAlloyLanguage.g:1:100: T__26
2061 {
2062 mT__26();
2063
2064 }
2065 break;
2066 case 17 :
2067 // InternalAlloyLanguage.g:1:106: T__27
2068 {
2069 mT__27();
2070
2071 }
2072 break;
2073 case 18 :
2074 // InternalAlloyLanguage.g:1:112: T__28
2075 {
2076 mT__28();
2077
2078 }
2079 break;
2080 case 19 :
2081 // InternalAlloyLanguage.g:1:118: T__29
2082 {
2083 mT__29();
2084
2085 }
2086 break;
2087 case 20 :
2088 // InternalAlloyLanguage.g:1:124: T__30
2089 {
2090 mT__30();
2091
2092 }
2093 break;
2094 case 21 :
2095 // InternalAlloyLanguage.g:1:130: T__31
2096 {
2097 mT__31();
2098
2099 }
2100 break;
2101 case 22 :
2102 // InternalAlloyLanguage.g:1:136: T__32
2103 {
2104 mT__32();
2105
2106 }
2107 break;
2108 case 23 :
2109 // InternalAlloyLanguage.g:1:142: T__33
2110 {
2111 mT__33();
2112
2113 }
2114 break;
2115 case 24 :
2116 // InternalAlloyLanguage.g:1:148: T__34
2117 {
2118 mT__34();
2119
2120 }
2121 break;
2122 case 25 :
2123 // InternalAlloyLanguage.g:1:154: T__35
2124 {
2125 mT__35();
2126
2127 }
2128 break;
2129 case 26 :
2130 // InternalAlloyLanguage.g:1:160: T__36
2131 {
2132 mT__36();
2133
2134 }
2135 break;
2136 case 27 :
2137 // InternalAlloyLanguage.g:1:166: T__37
2138 {
2139 mT__37();
2140
2141 }
2142 break;
2143 case 28 :
2144 // InternalAlloyLanguage.g:1:172: T__38
2145 {
2146 mT__38();
2147
2148 }
2149 break;
2150 case 29 :
2151 // InternalAlloyLanguage.g:1:178: T__39
2152 {
2153 mT__39();
2154
2155 }
2156 break;
2157 case 30 :
2158 // InternalAlloyLanguage.g:1:184: T__40
2159 {
2160 mT__40();
2161
2162 }
2163 break;
2164 case 31 :
2165 // InternalAlloyLanguage.g:1:190: T__41
2166 {
2167 mT__41();
2168
2169 }
2170 break;
2171 case 32 :
2172 // InternalAlloyLanguage.g:1:196: T__42
2173 {
2174 mT__42();
2175
2176 }
2177 break;
2178 case 33 :
2179 // InternalAlloyLanguage.g:1:202: T__43
2180 {
2181 mT__43();
2182
2183 }
2184 break;
2185 case 34 :
2186 // InternalAlloyLanguage.g:1:208: T__44
2187 {
2188 mT__44();
2189
2190 }
2191 break;
2192 case 35 :
2193 // InternalAlloyLanguage.g:1:214: T__45
2194 {
2195 mT__45();
2196
2197 }
2198 break;
2199 case 36 :
2200 // InternalAlloyLanguage.g:1:220: T__46
2201 {
2202 mT__46();
2203
2204 }
2205 break;
2206 case 37 :
2207 // InternalAlloyLanguage.g:1:226: T__47
2208 {
2209 mT__47();
2210
2211 }
2212 break;
2213 case 38 :
2214 // InternalAlloyLanguage.g:1:232: T__48
2215 {
2216 mT__48();
2217
2218 }
2219 break;
2220 case 39 :
2221 // InternalAlloyLanguage.g:1:238: T__49
2222 {
2223 mT__49();
2224
2225 }
2226 break;
2227 case 40 :
2228 // InternalAlloyLanguage.g:1:244: T__50
2229 {
2230 mT__50();
2231
2232 }
2233 break;
2234 case 41 :
2235 // InternalAlloyLanguage.g:1:250: T__51
2236 {
2237 mT__51();
2238
2239 }
2240 break;
2241 case 42 :
2242 // InternalAlloyLanguage.g:1:256: T__52
2243 {
2244 mT__52();
2245
2246 }
2247 break;
2248 case 43 :
2249 // InternalAlloyLanguage.g:1:262: T__53
2250 {
2251 mT__53();
2252
2253 }
2254 break;
2255 case 44 :
2256 // InternalAlloyLanguage.g:1:268: T__54
2257 {
2258 mT__54();
2259
2260 }
2261 break;
2262 case 45 :
2263 // InternalAlloyLanguage.g:1:274: T__55
2264 {
2265 mT__55();
2266
2267 }
2268 break;
2269 case 46 :
2270 // InternalAlloyLanguage.g:1:280: T__56
2271 {
2272 mT__56();
2273
2274 }
2275 break;
2276 case 47 :
2277 // InternalAlloyLanguage.g:1:286: T__57
2278 {
2279 mT__57();
2280
2281 }
2282 break;
2283 case 48 :
2284 // InternalAlloyLanguage.g:1:292: T__58
2285 {
2286 mT__58();
2287
2288 }
2289 break;
2290 case 49 :
2291 // InternalAlloyLanguage.g:1:298: T__59
2292 {
2293 mT__59();
2294
2295 }
2296 break;
2297 case 50 :
2298 // InternalAlloyLanguage.g:1:304: T__60
2299 {
2300 mT__60();
2301
2302 }
2303 break;
2304 case 51 :
2305 // InternalAlloyLanguage.g:1:310: T__61
2306 {
2307 mT__61();
2308
2309 }
2310 break;
2311 case 52 :
2312 // InternalAlloyLanguage.g:1:316: T__62
2313 {
2314 mT__62();
2315
2316 }
2317 break;
2318 case 53 :
2319 // InternalAlloyLanguage.g:1:322: T__63
2320 {
2321 mT__63();
2322
2323 }
2324 break;
2325 case 54 :
2326 // InternalAlloyLanguage.g:1:328: T__64
2327 {
2328 mT__64();
2329
2330 }
2331 break;
2332 case 55 :
2333 // InternalAlloyLanguage.g:1:334: T__65
2334 {
2335 mT__65();
2336
2337 }
2338 break;
2339 case 56 :
2340 // InternalAlloyLanguage.g:1:340: T__66
2341 {
2342 mT__66();
2343
2344 }
2345 break;
2346 case 57 :
2347 // InternalAlloyLanguage.g:1:346: T__67
2348 {
2349 mT__67();
2350
2351 }
2352 break;
2353 case 58 :
2354 // InternalAlloyLanguage.g:1:352: T__68
2355 {
2356 mT__68();
2357
2358 }
2359 break;
2360 case 59 :
2361 // InternalAlloyLanguage.g:1:358: T__69
2362 {
2363 mT__69();
2364
2365 }
2366 break;
2367 case 60 :
2368 // InternalAlloyLanguage.g:1:364: T__70
2369 {
2370 mT__70();
2371
2372 }
2373 break;
2374 case 61 :
2375 // InternalAlloyLanguage.g:1:370: T__71
2376 {
2377 mT__71();
2378
2379 }
2380 break;
2381 case 62 :
2382 // InternalAlloyLanguage.g:1:376: T__72
2383 {
2384 mT__72();
2385
2386 }
2387 break;
2388 case 63 :
2389 // InternalAlloyLanguage.g:1:382: T__73
2390 {
2391 mT__73();
2392
2393 }
2394 break;
2395 case 64 :
2396 // InternalAlloyLanguage.g:1:388: T__74
2397 {
2398 mT__74();
2399
2400 }
2401 break;
2402 case 65 :
2403 // InternalAlloyLanguage.g:1:394: T__75
2404 {
2405 mT__75();
2406
2407 }
2408 break;
2409 case 66 :
2410 // InternalAlloyLanguage.g:1:400: T__76
2411 {
2412 mT__76();
2413
2414 }
2415 break;
2416 case 67 :
2417 // InternalAlloyLanguage.g:1:406: RULE_ID
2418 {
2419 mRULE_ID();
2420
2421 }
2422 break;
2423 case 68 :
2424 // InternalAlloyLanguage.g:1:414: RULE_INT
2425 {
2426 mRULE_INT();
2427
2428 }
2429 break;
2430 case 69 :
2431 // InternalAlloyLanguage.g:1:423: RULE_STRING
2432 {
2433 mRULE_STRING();
2434
2435 }
2436 break;
2437 case 70 :
2438 // InternalAlloyLanguage.g:1:435: RULE_ML_COMMENT
2439 {
2440 mRULE_ML_COMMENT();
2441
2442 }
2443 break;
2444 case 71 :
2445 // InternalAlloyLanguage.g:1:451: RULE_SL_COMMENT
2446 {
2447 mRULE_SL_COMMENT();
2448
2449 }
2450 break;
2451 case 72 :
2452 // InternalAlloyLanguage.g:1:467: RULE_WS
2453 {
2454 mRULE_WS();
2455
2456 }
2457 break;
2458 case 73 :
2459 // InternalAlloyLanguage.g:1:475: RULE_ANY_OTHER
2460 {
2461 mRULE_ANY_OTHER();
2462
2463 }
2464 break;
2465
2466 }
2467
2468 }
2469
2470
2471 protected DFA11 dfa11 = new DFA11(this);
2472 static final String DFA11_eotS =
2473 "\1\uffff\1\53\1\57\1\62\1\57\1\70\1\72\1\57\1\77\10\57\3\uffff\1\123\1\125\1\57\2\uffff\1\134\1\uffff\1\137\4\uffff\3\57\4\uffff\3\53\3\uffff\1\156\1\57\1\uffff\1\161\2\uffff\2\57\1\164\1\57\4\uffff\3\57\2\uffff\1\173\16\57\7\uffff\3\57\13\uffff\3\57\10\uffff\1\u0093\2\uffff\1\u0094\1\57\1\uffff\1\57\1\u0097\1\u0098\1\57\1\u009a\1\57\1\uffff\1\57\1\u009d\1\u009e\1\u009f\1\u00a0\3\57\1\u00a4\1\u00a5\1\u00a6\1\u00a7\5\57\1\u00ad\1\57\1\u00af\1\57\1\u00b1\1\57\2\uffff\1\57\1\u00b4\2\uffff\1\57\1\uffff\1\u00b6\1\u00b7\4\uffff\1\u00b8\1\u00b9\1\u00ba\4\uffff\1\u00bb\1\u00bc\2\57\1\u00bf\1\uffff\1\u00c0\1\uffff\1\u00c1\1\uffff\2\57\1\uffff\1\57\7\uffff\2\57\3\uffff\5\57\1\u00cc\1\u00cd\1\57\1\u00cf\1\u00d0\2\uffff\1\u00d1\3\uffff";
2474 static final String DFA11_eofS =
2475 "\u00d2\uffff";
2476 static final String DFA11_minS =
2477 "\1\0\1\174\1\156\1\72\1\144\1\76\1\46\1\142\1\75\1\157\1\145\1\157\1\154\1\165\1\145\1\151\1\154\3\uffff\1\53\1\76\1\141\2\uffff\1\75\1\uffff\1\76\4\uffff\2\156\1\164\4\uffff\2\0\1\52\3\uffff\1\42\1\145\1\uffff\1\76\2\uffff\1\146\1\160\1\42\1\145\4\uffff\1\144\1\154\1\163\2\uffff\1\42\1\155\1\164\1\142\1\147\1\156\1\165\1\145\1\154\1\155\1\156\1\163\1\165\1\141\1\163\7\uffff\1\156\1\143\1\162\13\uffff\1\151\1\164\1\162\10\uffff\1\42\2\uffff\1\42\1\154\1\uffff\1\156\2\42\1\164\1\42\1\145\1\uffff\1\145\4\42\1\145\1\163\1\144\4\42\1\152\1\155\1\145\1\143\1\145\1\42\1\164\1\42\1\166\1\42\1\151\2\uffff\1\151\1\42\2\uffff\1\162\1\uffff\2\42\4\uffff\3\42\4\uffff\2\42\1\156\1\164\1\42\1\uffff\1\42\1\uffff\1\42\1\uffff\1\156\1\145\1\uffff\1\141\7\uffff\1\144\1\154\3\uffff\1\147\1\163\1\143\1\163\1\171\2\42\1\164\2\42\2\uffff\1\42\3\uffff";
2478 static final String DFA11_maxS =
2479 "\1\uffff\1\174\1\162\1\75\1\156\1\76\1\46\1\156\1\75\1\157\1\165\1\157\1\162\2\165\1\151\1\170\3\uffff\1\53\1\76\1\165\2\uffff\1\75\1\uffff\1\76\4\uffff\2\156\1\164\4\uffff\2\uffff\1\57\3\uffff\1\172\1\145\1\uffff\1\76\2\uffff\1\146\1\160\1\172\1\145\4\uffff\1\144\1\154\1\163\2\uffff\1\172\1\155\1\164\1\155\1\147\1\156\1\165\1\145\1\154\1\155\1\156\1\166\1\165\1\164\1\163\7\uffff\1\156\1\143\1\162\13\uffff\1\151\1\164\1\162\10\uffff\1\172\2\uffff\1\172\1\154\1\uffff\1\156\2\172\1\164\1\172\1\145\1\uffff\1\145\4\172\1\145\1\163\1\144\4\172\1\152\1\155\1\145\1\143\1\145\1\172\1\164\1\172\1\166\1\172\1\151\2\uffff\1\151\1\172\2\uffff\1\162\1\uffff\2\172\4\uffff\3\172\4\uffff\2\172\1\156\1\164\1\172\1\uffff\1\172\1\uffff\1\172\1\uffff\1\156\1\145\1\uffff\1\141\7\uffff\1\144\1\154\3\uffff\1\147\1\163\1\143\1\163\1\171\2\172\1\164\2\172\2\uffff\1\172\3\uffff";
2480 static final String DFA11_acceptS =
2481 "\21\uffff\1\27\1\30\1\31\3\uffff\1\40\1\41\1\uffff\1\56\1\uffff\1\62\1\63\1\64\1\65\3\uffff\1\74\1\75\1\103\1\104\3\uffff\1\110\1\111\1\1\2\uffff\1\103\1\uffff\1\55\1\51\4\uffff\1\5\1\45\1\7\1\60\3\uffff\1\46\1\11\17\uffff\1\27\1\30\1\31\1\53\1\35\1\54\1\36\3\uffff\1\40\1\41\1\50\1\47\1\56\1\61\1\57\1\62\1\63\1\64\1\65\3\uffff\1\74\1\75\1\104\1\105\1\106\1\107\1\110\1\2\1\uffff\1\3\1\52\2\uffff\1\34\6\uffff\1\14\27\uffff\1\17\1\4\2\uffff\1\10\1\13\1\uffff\1\12\2\uffff\1\20\1\22\1\66\1\32\3\uffff\1\23\1\24\1\76\1\25\5\uffff\1\37\1\uffff\1\77\1\uffff\1\72\2\uffff\1\70\1\uffff\1\67\1\15\1\16\1\21\1\42\1\102\1\26\2\uffff\1\44\1\43\1\71\12\uffff\1\73\1\6\1\uffff\1\33\1\100\1\101";
2482 static final String DFA11_specialS =
2483 "\1\2\46\uffff\1\1\1\0\u00a9\uffff}>";
2484 static final String[] DFA11_transitionS = {
2485 "\11\53\2\52\2\53\1\52\22\53\1\52\1\10\1\47\1\37\2\53\1\6\1\50\1\43\1\44\1\36\1\24\1\23\1\33\1\32\1\51\12\46\1\25\1\53\1\3\1\5\1\31\2\53\10\45\1\41\11\45\1\42\7\45\1\27\1\53\1\30\1\35\1\45\1\53\1\7\2\45\1\17\1\20\1\26\2\45\1\4\2\45\1\13\1\15\1\11\1\2\1\14\1\45\1\16\1\12\1\45\1\40\5\45\1\21\1\1\1\22\1\34\uff81\53",
2486 "\1\54",
2487 "\1\56\3\uffff\1\55",
2488 "\1\61\2\uffff\1\60",
2489 "\1\66\1\uffff\1\63\6\uffff\1\64\1\65",
2490 "\1\67",
2491 "\1\71",
2492 "\1\75\11\uffff\1\74\1\uffff\1\73",
2493 "\1\76",
2494 "\1\100",
2495 "\1\102\3\uffff\1\104\5\uffff\1\101\5\uffff\1\103",
2496 "\1\105",
2497 "\1\106\5\uffff\1\107",
2498 "\1\110",
2499 "\1\111\17\uffff\1\112",
2500 "\1\113",
2501 "\1\116\1\uffff\1\114\11\uffff\1\115",
2502 "",
2503 "",
2504 "",
2505 "\1\122",
2506 "\1\124",
2507 "\1\127\15\uffff\1\130\5\uffff\1\126",
2508 "",
2509 "",
2510 "\1\133",
2511 "",
2512 "\1\136",
2513 "",
2514 "",
2515 "",
2516 "",
2517 "\1\144",
2518 "\1\145",
2519 "\1\146",
2520 "",
2521 "",
2522 "",
2523 "",
2524 "\0\152",
2525 "\0\152",
2526 "\1\153\4\uffff\1\154",
2527 "",
2528 "",
2529 "",
2530 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2531 "\1\157",
2532 "",
2533 "\1\160",
2534 "",
2535 "",
2536 "\1\162",
2537 "\1\163",
2538 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2539 "\1\165",
2540 "",
2541 "",
2542 "",
2543 "",
2544 "\1\166",
2545 "\1\167",
2546 "\1\170",
2547 "",
2548 "",
2549 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\15\57\1\172\5\57\1\171\6\57",
2550 "\1\174",
2551 "\1\175",
2552 "\1\176\12\uffff\1\177",
2553 "\1\u0080",
2554 "\1\u0081",
2555 "\1\u0082",
2556 "\1\u0083",
2557 "\1\u0084",
2558 "\1\u0085",
2559 "\1\u0086",
2560 "\1\u0088\2\uffff\1\u0087",
2561 "\1\u0089",
2562 "\1\u008b\22\uffff\1\u008a",
2563 "\1\u008c",
2564 "",
2565 "",
2566 "",
2567 "",
2568 "",
2569 "",
2570 "",
2571 "\1\u008d",
2572 "\1\u008e",
2573 "\1\u008f",
2574 "",
2575 "",
2576 "",
2577 "",
2578 "",
2579 "",
2580 "",
2581 "",
2582 "",
2583 "",
2584 "",
2585 "\1\u0090",
2586 "\1\u0091",
2587 "\1\u0092",
2588 "",
2589 "",
2590 "",
2591 "",
2592 "",
2593 "",
2594 "",
2595 "",
2596 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2597 "",
2598 "",
2599 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2600 "\1\u0095",
2601 "",
2602 "\1\u0096",
2603 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2604 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2605 "\1\u0099",
2606 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2607 "\1\u009b",
2608 "",
2609 "\1\u009c",
2610 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2611 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2612 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2613 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2614 "\1\u00a1",
2615 "\1\u00a2",
2616 "\1\u00a3",
2617 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2618 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2619 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2620 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2621 "\1\u00a8",
2622 "\1\u00a9",
2623 "\1\u00aa",
2624 "\1\u00ab",
2625 "\1\u00ac",
2626 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2627 "\1\u00ae",
2628 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2629 "\1\u00b0",
2630 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2631 "\1\u00b2",
2632 "",
2633 "",
2634 "\1\u00b3",
2635 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2636 "",
2637 "",
2638 "\1\u00b5",
2639 "",
2640 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2641 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2642 "",
2643 "",
2644 "",
2645 "",
2646 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2647 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2648 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2649 "",
2650 "",
2651 "",
2652 "",
2653 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2654 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2655 "\1\u00bd",
2656 "\1\u00be",
2657 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2658 "",
2659 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2660 "",
2661 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2662 "",
2663 "\1\u00c2",
2664 "\1\u00c3",
2665 "",
2666 "\1\u00c4",
2667 "",
2668 "",
2669 "",
2670 "",
2671 "",
2672 "",
2673 "",
2674 "\1\u00c5",
2675 "\1\u00c6",
2676 "",
2677 "",
2678 "",
2679 "\1\u00c7",
2680 "\1\u00c8",
2681 "\1\u00c9",
2682 "\1\u00ca",
2683 "\1\u00cb",
2684 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2685 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2686 "\1\u00ce",
2687 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2688 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2689 "",
2690 "",
2691 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2692 "",
2693 "",
2694 ""
2695 };
2696
2697 static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS);
2698 static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS);
2699 static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS);
2700 static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS);
2701 static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS);
2702 static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS);
2703 static final short[][] DFA11_transition;
2704
2705 static {
2706 int numStates = DFA11_transitionS.length;
2707 DFA11_transition = new short[numStates][];
2708 for (int i=0; i<numStates; i++) {
2709 DFA11_transition[i] = DFA.unpackEncodedString(DFA11_transitionS[i]);
2710 }
2711 }
2712
2713 class DFA11 extends DFA {
2714
2715 public DFA11(BaseRecognizer recognizer) {
2716 this.recognizer = recognizer;
2717 this.decisionNumber = 11;
2718 this.eot = DFA11_eot;
2719 this.eof = DFA11_eof;
2720 this.min = DFA11_min;
2721 this.max = DFA11_max;
2722 this.accept = DFA11_accept;
2723 this.special = DFA11_special;
2724 this.transition = DFA11_transition;
2725 }
2726 public String getDescription() {
2727 return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
2728 }
2729 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
2730 IntStream input = _input;
2731 int _s = s;
2732 switch ( s ) {
2733 case 0 :
2734 int LA11_40 = input.LA(1);
2735
2736 s = -1;
2737 if ( ((LA11_40>='\u0000' && LA11_40<='\uFFFF')) ) {s = 106;}
2738
2739 else s = 43;
2740
2741 if ( s>=0 ) return s;
2742 break;
2743 case 1 :
2744 int LA11_39 = input.LA(1);
2745
2746 s = -1;
2747 if ( ((LA11_39>='\u0000' && LA11_39<='\uFFFF')) ) {s = 106;}
2748
2749 else s = 43;
2750
2751 if ( s>=0 ) return s;
2752 break;
2753 case 2 :
2754 int LA11_0 = input.LA(1);
2755
2756 s = -1;
2757 if ( (LA11_0=='|') ) {s = 1;}
2758
2759 else if ( (LA11_0=='o') ) {s = 2;}
2760
2761 else if ( (LA11_0=='<') ) {s = 3;}
2762
2763 else if ( (LA11_0=='i') ) {s = 4;}
2764
2765 else if ( (LA11_0=='=') ) {s = 5;}
2766
2767 else if ( (LA11_0=='&') ) {s = 6;}
2768
2769 else if ( (LA11_0=='a') ) {s = 7;}
2770
2771 else if ( (LA11_0=='!') ) {s = 8;}
2772
2773 else if ( (LA11_0=='n') ) {s = 9;}
2774
2775 else if ( (LA11_0=='s') ) {s = 10;}
2776
2777 else if ( (LA11_0=='l') ) {s = 11;}
2778
2779 else if ( (LA11_0=='p') ) {s = 12;}
2780
2781 else if ( (LA11_0=='m') ) {s = 13;}
2782
2783 else if ( (LA11_0=='r') ) {s = 14;}
2784
2785 else if ( (LA11_0=='d') ) {s = 15;}
2786
2787 else if ( (LA11_0=='e') ) {s = 16;}
2788
2789 else if ( (LA11_0=='{') ) {s = 17;}
2790
2791 else if ( (LA11_0=='}') ) {s = 18;}
2792
2793 else if ( (LA11_0==',') ) {s = 19;}
2794
2795 else if ( (LA11_0=='+') ) {s = 20;}
2796
2797 else if ( (LA11_0==':') ) {s = 21;}
2798
2799 else if ( (LA11_0=='f') ) {s = 22;}
2800
2801 else if ( (LA11_0=='[') ) {s = 23;}
2802
2803 else if ( (LA11_0==']') ) {s = 24;}
2804
2805 else if ( (LA11_0=='>') ) {s = 25;}
2806
2807 else if ( (LA11_0=='.') ) {s = 26;}
2808
2809 else if ( (LA11_0=='-') ) {s = 27;}
2810
2811 else if ( (LA11_0=='~') ) {s = 28;}
2812
2813 else if ( (LA11_0=='^') ) {s = 29;}
2814
2815 else if ( (LA11_0=='*') ) {s = 30;}
2816
2817 else if ( (LA11_0=='#') ) {s = 31;}
2818
2819 else if ( (LA11_0=='u') ) {s = 32;}
2820
2821 else if ( (LA11_0=='I') ) {s = 33;}
2822
2823 else if ( (LA11_0=='S') ) {s = 34;}
2824
2825 else if ( (LA11_0=='(') ) {s = 35;}
2826
2827 else if ( (LA11_0==')') ) {s = 36;}
2828
2829 else if ( ((LA11_0>='A' && LA11_0<='H')||(LA11_0>='J' && LA11_0<='R')||(LA11_0>='T' && LA11_0<='Z')||LA11_0=='_'||(LA11_0>='b' && LA11_0<='c')||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='k')||LA11_0=='q'||LA11_0=='t'||(LA11_0>='v' && LA11_0<='z')) ) {s = 37;}
2830
2831 else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 38;}
2832
2833 else if ( (LA11_0=='\"') ) {s = 39;}
2834
2835 else if ( (LA11_0=='\'') ) {s = 40;}
2836
2837 else if ( (LA11_0=='/') ) {s = 41;}
2838
2839 else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 42;}
2840
2841 else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='$' && LA11_0<='%')||LA11_0==';'||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='\u007F' && LA11_0<='\uFFFF')) ) {s = 43;}
2842
2843 if ( s>=0 ) return s;
2844 break;
2845 }
2846 NoViableAltException nvae =
2847 new NoViableAltException(getDescription(), 11, _s, input);
2848 error(nvae);
2849 throw nvae;
2850 }
2851 }
2852
2853
2854} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageParser.java
deleted file mode 100644
index 96888ce4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/contentassist/antlr/internal/InternalAlloyLanguageParser.java
+++ /dev/null
@@ -1,29554 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.ui.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.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
12import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
13import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
14
15
16
17import org.antlr.runtime.*;
18import java.util.Stack;
19import java.util.List;
20import java.util.ArrayList;
21import java.util.Map;
22import java.util.HashMap;
23@SuppressWarnings("all")
24public class InternalAlloyLanguageParser extends AbstractInternalContentAssistParser {
25 public static final String[] tokenNames = new String[] {
26 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'||'", "'or'", "'<=>'", "'iff'", "'=>'", "'implies'", "'&&'", "'and'", "'!'", "'not'", "'all'", "'no'", "'some'", "'lone'", "'one'", "'set'", "'plus'", "'sub'", "'mul'", "'rem'", "'div'", "'enum'", "'{'", "'}'", "','", "'sig'", "'extends'", "'in'", "'+'", "':'", "'fun'", "'['", "']'", "'pred'", "'fact'", "'else'", "'='", "'!='", "'>'", "'>='", "'<'", "'<='", "'++'", "':>'", "'<:'", "'.'", "'-'", "'&'", "'->'", "'~'", "'^'", "'*'", "'#'", "'sum'", "'none'", "'iden'", "'univ'", "'Int'", "'String'", "'('", "')'", "'run'", "'for'", "'exactly'", "'abstract'", "'disj'"
27 };
28 public static final int T__50=50;
29 public static final int T__19=19;
30 public static final int T__15=15;
31 public static final int T__59=59;
32 public static final int T__16=16;
33 public static final int T__17=17;
34 public static final int T__18=18;
35 public static final int T__11=11;
36 public static final int T__55=55;
37 public static final int T__12=12;
38 public static final int T__56=56;
39 public static final int T__13=13;
40 public static final int T__57=57;
41 public static final int T__14=14;
42 public static final int T__58=58;
43 public static final int T__51=51;
44 public static final int T__52=52;
45 public static final int T__53=53;
46 public static final int T__54=54;
47 public static final int T__60=60;
48 public static final int T__61=61;
49 public static final int RULE_ID=4;
50 public static final int T__26=26;
51 public static final int T__27=27;
52 public static final int T__28=28;
53 public static final int RULE_INT=5;
54 public static final int T__29=29;
55 public static final int T__22=22;
56 public static final int T__66=66;
57 public static final int RULE_ML_COMMENT=7;
58 public static final int T__23=23;
59 public static final int T__67=67;
60 public static final int T__24=24;
61 public static final int T__68=68;
62 public static final int T__25=25;
63 public static final int T__69=69;
64 public static final int T__62=62;
65 public static final int T__63=63;
66 public static final int T__20=20;
67 public static final int T__64=64;
68 public static final int T__21=21;
69 public static final int T__65=65;
70 public static final int T__70=70;
71 public static final int T__71=71;
72 public static final int T__72=72;
73 public static final int RULE_STRING=6;
74 public static final int RULE_SL_COMMENT=8;
75 public static final int T__37=37;
76 public static final int T__38=38;
77 public static final int T__39=39;
78 public static final int T__33=33;
79 public static final int T__34=34;
80 public static final int T__35=35;
81 public static final int T__36=36;
82 public static final int T__73=73;
83 public static final int EOF=-1;
84 public static final int T__30=30;
85 public static final int T__74=74;
86 public static final int T__31=31;
87 public static final int T__75=75;
88 public static final int T__32=32;
89 public static final int T__76=76;
90 public static final int RULE_WS=9;
91 public static final int RULE_ANY_OTHER=10;
92 public static final int T__48=48;
93 public static final int T__49=49;
94 public static final int T__44=44;
95 public static final int T__45=45;
96 public static final int T__46=46;
97 public static final int T__47=47;
98 public static final int T__40=40;
99 public static final int T__41=41;
100 public static final int T__42=42;
101 public static final int T__43=43;
102
103 // delegates
104 // delegators
105
106
107 public InternalAlloyLanguageParser(TokenStream input) {
108 this(input, new RecognizerSharedState());
109 }
110 public InternalAlloyLanguageParser(TokenStream input, RecognizerSharedState state) {
111 super(input, state);
112
113 }
114
115
116 public String[] getTokenNames() { return InternalAlloyLanguageParser.tokenNames; }
117 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
118
119
120
121 private AlloyLanguageGrammarAccess grammarAccess;
122
123 public void setGrammarAccess(AlloyLanguageGrammarAccess grammarAccess) {
124 this.grammarAccess = grammarAccess;
125 }
126
127 @Override
128 protected Grammar getGrammar() {
129 return grammarAccess.getGrammar();
130 }
131
132 @Override
133 protected String getValueForTokenName(String tokenName) {
134 return tokenName;
135 }
136
137
138
139
140 // $ANTLR start "entryRuleALSDocument"
141 // InternalAlloyLanguage.g:61:1: entryRuleALSDocument : ruleALSDocument EOF ;
142 public final void entryRuleALSDocument() throws RecognitionException {
143 try {
144 // InternalAlloyLanguage.g:62:1: ( ruleALSDocument EOF )
145 // InternalAlloyLanguage.g:63:1: ruleALSDocument EOF
146 {
147 if ( state.backtracking==0 ) {
148 before(grammarAccess.getALSDocumentRule());
149 }
150 pushFollow(FOLLOW_1);
151 ruleALSDocument();
152
153 state._fsp--;
154 if (state.failed) return ;
155 if ( state.backtracking==0 ) {
156 after(grammarAccess.getALSDocumentRule());
157 }
158 match(input,EOF,FOLLOW_2); if (state.failed) return ;
159
160 }
161
162 }
163 catch (RecognitionException re) {
164 reportError(re);
165 recover(input,re);
166 }
167 finally {
168 }
169 return ;
170 }
171 // $ANTLR end "entryRuleALSDocument"
172
173
174 // $ANTLR start "ruleALSDocument"
175 // InternalAlloyLanguage.g:70:1: ruleALSDocument : ( ( rule__ALSDocument__Group__0 ) ) ;
176 public final void ruleALSDocument() throws RecognitionException {
177
178 int stackSize = keepStackSize();
179
180 try {
181 // InternalAlloyLanguage.g:74:2: ( ( ( rule__ALSDocument__Group__0 ) ) )
182 // InternalAlloyLanguage.g:75:1: ( ( rule__ALSDocument__Group__0 ) )
183 {
184 // InternalAlloyLanguage.g:75:1: ( ( rule__ALSDocument__Group__0 ) )
185 // InternalAlloyLanguage.g:76:1: ( rule__ALSDocument__Group__0 )
186 {
187 if ( state.backtracking==0 ) {
188 before(grammarAccess.getALSDocumentAccess().getGroup());
189 }
190 // InternalAlloyLanguage.g:77:1: ( rule__ALSDocument__Group__0 )
191 // InternalAlloyLanguage.g:77:2: rule__ALSDocument__Group__0
192 {
193 pushFollow(FOLLOW_2);
194 rule__ALSDocument__Group__0();
195
196 state._fsp--;
197 if (state.failed) return ;
198
199 }
200
201 if ( state.backtracking==0 ) {
202 after(grammarAccess.getALSDocumentAccess().getGroup());
203 }
204
205 }
206
207
208 }
209
210 }
211 catch (RecognitionException re) {
212 reportError(re);
213 recover(input,re);
214 }
215 finally {
216
217 restoreStackSize(stackSize);
218
219 }
220 return ;
221 }
222 // $ANTLR end "ruleALSDocument"
223
224
225 // $ANTLR start "entryRuleALSID"
226 // InternalAlloyLanguage.g:89:1: entryRuleALSID : ruleALSID EOF ;
227 public final void entryRuleALSID() throws RecognitionException {
228 try {
229 // InternalAlloyLanguage.g:90:1: ( ruleALSID EOF )
230 // InternalAlloyLanguage.g:91:1: ruleALSID EOF
231 {
232 if ( state.backtracking==0 ) {
233 before(grammarAccess.getALSIDRule());
234 }
235 pushFollow(FOLLOW_1);
236 ruleALSID();
237
238 state._fsp--;
239 if (state.failed) return ;
240 if ( state.backtracking==0 ) {
241 after(grammarAccess.getALSIDRule());
242 }
243 match(input,EOF,FOLLOW_2); if (state.failed) return ;
244
245 }
246
247 }
248 catch (RecognitionException re) {
249 reportError(re);
250 recover(input,re);
251 }
252 finally {
253 }
254 return ;
255 }
256 // $ANTLR end "entryRuleALSID"
257
258
259 // $ANTLR start "ruleALSID"
260 // InternalAlloyLanguage.g:98:1: ruleALSID : ( RULE_ID ) ;
261 public final void ruleALSID() throws RecognitionException {
262
263 int stackSize = keepStackSize();
264
265 try {
266 // InternalAlloyLanguage.g:102:2: ( ( RULE_ID ) )
267 // InternalAlloyLanguage.g:103:1: ( RULE_ID )
268 {
269 // InternalAlloyLanguage.g:103:1: ( RULE_ID )
270 // InternalAlloyLanguage.g:104:1: RULE_ID
271 {
272 if ( state.backtracking==0 ) {
273 before(grammarAccess.getALSIDAccess().getIDTerminalRuleCall());
274 }
275 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
276 if ( state.backtracking==0 ) {
277 after(grammarAccess.getALSIDAccess().getIDTerminalRuleCall());
278 }
279
280 }
281
282
283 }
284
285 }
286 catch (RecognitionException re) {
287 reportError(re);
288 recover(input,re);
289 }
290 finally {
291
292 restoreStackSize(stackSize);
293
294 }
295 return ;
296 }
297 // $ANTLR end "ruleALSID"
298
299
300 // $ANTLR start "entryRuleALSTypeDeclaration"
301 // InternalAlloyLanguage.g:119:1: entryRuleALSTypeDeclaration : ruleALSTypeDeclaration EOF ;
302 public final void entryRuleALSTypeDeclaration() throws RecognitionException {
303 try {
304 // InternalAlloyLanguage.g:120:1: ( ruleALSTypeDeclaration EOF )
305 // InternalAlloyLanguage.g:121:1: ruleALSTypeDeclaration EOF
306 {
307 if ( state.backtracking==0 ) {
308 before(grammarAccess.getALSTypeDeclarationRule());
309 }
310 pushFollow(FOLLOW_1);
311 ruleALSTypeDeclaration();
312
313 state._fsp--;
314 if (state.failed) return ;
315 if ( state.backtracking==0 ) {
316 after(grammarAccess.getALSTypeDeclarationRule());
317 }
318 match(input,EOF,FOLLOW_2); if (state.failed) return ;
319
320 }
321
322 }
323 catch (RecognitionException re) {
324 reportError(re);
325 recover(input,re);
326 }
327 finally {
328 }
329 return ;
330 }
331 // $ANTLR end "entryRuleALSTypeDeclaration"
332
333
334 // $ANTLR start "ruleALSTypeDeclaration"
335 // InternalAlloyLanguage.g:128:1: ruleALSTypeDeclaration : ( ( rule__ALSTypeDeclaration__Alternatives ) ) ;
336 public final void ruleALSTypeDeclaration() throws RecognitionException {
337
338 int stackSize = keepStackSize();
339
340 try {
341 // InternalAlloyLanguage.g:132:2: ( ( ( rule__ALSTypeDeclaration__Alternatives ) ) )
342 // InternalAlloyLanguage.g:133:1: ( ( rule__ALSTypeDeclaration__Alternatives ) )
343 {
344 // InternalAlloyLanguage.g:133:1: ( ( rule__ALSTypeDeclaration__Alternatives ) )
345 // InternalAlloyLanguage.g:134:1: ( rule__ALSTypeDeclaration__Alternatives )
346 {
347 if ( state.backtracking==0 ) {
348 before(grammarAccess.getALSTypeDeclarationAccess().getAlternatives());
349 }
350 // InternalAlloyLanguage.g:135:1: ( rule__ALSTypeDeclaration__Alternatives )
351 // InternalAlloyLanguage.g:135:2: rule__ALSTypeDeclaration__Alternatives
352 {
353 pushFollow(FOLLOW_2);
354 rule__ALSTypeDeclaration__Alternatives();
355
356 state._fsp--;
357 if (state.failed) return ;
358
359 }
360
361 if ( state.backtracking==0 ) {
362 after(grammarAccess.getALSTypeDeclarationAccess().getAlternatives());
363 }
364
365 }
366
367
368 }
369
370 }
371 catch (RecognitionException re) {
372 reportError(re);
373 recover(input,re);
374 }
375 finally {
376
377 restoreStackSize(stackSize);
378
379 }
380 return ;
381 }
382 // $ANTLR end "ruleALSTypeDeclaration"
383
384
385 // $ANTLR start "entryRuleALSEnumDeclaration"
386 // InternalAlloyLanguage.g:147:1: entryRuleALSEnumDeclaration : ruleALSEnumDeclaration EOF ;
387 public final void entryRuleALSEnumDeclaration() throws RecognitionException {
388 try {
389 // InternalAlloyLanguage.g:148:1: ( ruleALSEnumDeclaration EOF )
390 // InternalAlloyLanguage.g:149:1: ruleALSEnumDeclaration EOF
391 {
392 if ( state.backtracking==0 ) {
393 before(grammarAccess.getALSEnumDeclarationRule());
394 }
395 pushFollow(FOLLOW_1);
396 ruleALSEnumDeclaration();
397
398 state._fsp--;
399 if (state.failed) return ;
400 if ( state.backtracking==0 ) {
401 after(grammarAccess.getALSEnumDeclarationRule());
402 }
403 match(input,EOF,FOLLOW_2); if (state.failed) return ;
404
405 }
406
407 }
408 catch (RecognitionException re) {
409 reportError(re);
410 recover(input,re);
411 }
412 finally {
413 }
414 return ;
415 }
416 // $ANTLR end "entryRuleALSEnumDeclaration"
417
418
419 // $ANTLR start "ruleALSEnumDeclaration"
420 // InternalAlloyLanguage.g:156:1: ruleALSEnumDeclaration : ( ( rule__ALSEnumDeclaration__Group__0 ) ) ;
421 public final void ruleALSEnumDeclaration() throws RecognitionException {
422
423 int stackSize = keepStackSize();
424
425 try {
426 // InternalAlloyLanguage.g:160:2: ( ( ( rule__ALSEnumDeclaration__Group__0 ) ) )
427 // InternalAlloyLanguage.g:161:1: ( ( rule__ALSEnumDeclaration__Group__0 ) )
428 {
429 // InternalAlloyLanguage.g:161:1: ( ( rule__ALSEnumDeclaration__Group__0 ) )
430 // InternalAlloyLanguage.g:162:1: ( rule__ALSEnumDeclaration__Group__0 )
431 {
432 if ( state.backtracking==0 ) {
433 before(grammarAccess.getALSEnumDeclarationAccess().getGroup());
434 }
435 // InternalAlloyLanguage.g:163:1: ( rule__ALSEnumDeclaration__Group__0 )
436 // InternalAlloyLanguage.g:163:2: rule__ALSEnumDeclaration__Group__0
437 {
438 pushFollow(FOLLOW_2);
439 rule__ALSEnumDeclaration__Group__0();
440
441 state._fsp--;
442 if (state.failed) return ;
443
444 }
445
446 if ( state.backtracking==0 ) {
447 after(grammarAccess.getALSEnumDeclarationAccess().getGroup());
448 }
449
450 }
451
452
453 }
454
455 }
456 catch (RecognitionException re) {
457 reportError(re);
458 recover(input,re);
459 }
460 finally {
461
462 restoreStackSize(stackSize);
463
464 }
465 return ;
466 }
467 // $ANTLR end "ruleALSEnumDeclaration"
468
469
470 // $ANTLR start "entryRuleALSEnumLiteral"
471 // InternalAlloyLanguage.g:175:1: entryRuleALSEnumLiteral : ruleALSEnumLiteral EOF ;
472 public final void entryRuleALSEnumLiteral() throws RecognitionException {
473 try {
474 // InternalAlloyLanguage.g:176:1: ( ruleALSEnumLiteral EOF )
475 // InternalAlloyLanguage.g:177:1: ruleALSEnumLiteral EOF
476 {
477 if ( state.backtracking==0 ) {
478 before(grammarAccess.getALSEnumLiteralRule());
479 }
480 pushFollow(FOLLOW_1);
481 ruleALSEnumLiteral();
482
483 state._fsp--;
484 if (state.failed) return ;
485 if ( state.backtracking==0 ) {
486 after(grammarAccess.getALSEnumLiteralRule());
487 }
488 match(input,EOF,FOLLOW_2); if (state.failed) return ;
489
490 }
491
492 }
493 catch (RecognitionException re) {
494 reportError(re);
495 recover(input,re);
496 }
497 finally {
498 }
499 return ;
500 }
501 // $ANTLR end "entryRuleALSEnumLiteral"
502
503
504 // $ANTLR start "ruleALSEnumLiteral"
505 // InternalAlloyLanguage.g:184:1: ruleALSEnumLiteral : ( ( rule__ALSEnumLiteral__NameAssignment ) ) ;
506 public final void ruleALSEnumLiteral() throws RecognitionException {
507
508 int stackSize = keepStackSize();
509
510 try {
511 // InternalAlloyLanguage.g:188:2: ( ( ( rule__ALSEnumLiteral__NameAssignment ) ) )
512 // InternalAlloyLanguage.g:189:1: ( ( rule__ALSEnumLiteral__NameAssignment ) )
513 {
514 // InternalAlloyLanguage.g:189:1: ( ( rule__ALSEnumLiteral__NameAssignment ) )
515 // InternalAlloyLanguage.g:190:1: ( rule__ALSEnumLiteral__NameAssignment )
516 {
517 if ( state.backtracking==0 ) {
518 before(grammarAccess.getALSEnumLiteralAccess().getNameAssignment());
519 }
520 // InternalAlloyLanguage.g:191:1: ( rule__ALSEnumLiteral__NameAssignment )
521 // InternalAlloyLanguage.g:191:2: rule__ALSEnumLiteral__NameAssignment
522 {
523 pushFollow(FOLLOW_2);
524 rule__ALSEnumLiteral__NameAssignment();
525
526 state._fsp--;
527 if (state.failed) return ;
528
529 }
530
531 if ( state.backtracking==0 ) {
532 after(grammarAccess.getALSEnumLiteralAccess().getNameAssignment());
533 }
534
535 }
536
537
538 }
539
540 }
541 catch (RecognitionException re) {
542 reportError(re);
543 recover(input,re);
544 }
545 finally {
546
547 restoreStackSize(stackSize);
548
549 }
550 return ;
551 }
552 // $ANTLR end "ruleALSEnumLiteral"
553
554
555 // $ANTLR start "entryRuleALSSignatureDeclaration"
556 // InternalAlloyLanguage.g:203:1: entryRuleALSSignatureDeclaration : ruleALSSignatureDeclaration EOF ;
557 public final void entryRuleALSSignatureDeclaration() throws RecognitionException {
558 try {
559 // InternalAlloyLanguage.g:204:1: ( ruleALSSignatureDeclaration EOF )
560 // InternalAlloyLanguage.g:205:1: ruleALSSignatureDeclaration EOF
561 {
562 if ( state.backtracking==0 ) {
563 before(grammarAccess.getALSSignatureDeclarationRule());
564 }
565 pushFollow(FOLLOW_1);
566 ruleALSSignatureDeclaration();
567
568 state._fsp--;
569 if (state.failed) return ;
570 if ( state.backtracking==0 ) {
571 after(grammarAccess.getALSSignatureDeclarationRule());
572 }
573 match(input,EOF,FOLLOW_2); if (state.failed) return ;
574
575 }
576
577 }
578 catch (RecognitionException re) {
579 reportError(re);
580 recover(input,re);
581 }
582 finally {
583 }
584 return ;
585 }
586 // $ANTLR end "entryRuleALSSignatureDeclaration"
587
588
589 // $ANTLR start "ruleALSSignatureDeclaration"
590 // InternalAlloyLanguage.g:212:1: ruleALSSignatureDeclaration : ( ( rule__ALSSignatureDeclaration__NameAssignment ) ) ;
591 public final void ruleALSSignatureDeclaration() throws RecognitionException {
592
593 int stackSize = keepStackSize();
594
595 try {
596 // InternalAlloyLanguage.g:216:2: ( ( ( rule__ALSSignatureDeclaration__NameAssignment ) ) )
597 // InternalAlloyLanguage.g:217:1: ( ( rule__ALSSignatureDeclaration__NameAssignment ) )
598 {
599 // InternalAlloyLanguage.g:217:1: ( ( rule__ALSSignatureDeclaration__NameAssignment ) )
600 // InternalAlloyLanguage.g:218:1: ( rule__ALSSignatureDeclaration__NameAssignment )
601 {
602 if ( state.backtracking==0 ) {
603 before(grammarAccess.getALSSignatureDeclarationAccess().getNameAssignment());
604 }
605 // InternalAlloyLanguage.g:219:1: ( rule__ALSSignatureDeclaration__NameAssignment )
606 // InternalAlloyLanguage.g:219:2: rule__ALSSignatureDeclaration__NameAssignment
607 {
608 pushFollow(FOLLOW_2);
609 rule__ALSSignatureDeclaration__NameAssignment();
610
611 state._fsp--;
612 if (state.failed) return ;
613
614 }
615
616 if ( state.backtracking==0 ) {
617 after(grammarAccess.getALSSignatureDeclarationAccess().getNameAssignment());
618 }
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 "ruleALSSignatureDeclaration"
638
639
640 // $ANTLR start "entryRuleALSSignatureBody"
641 // InternalAlloyLanguage.g:231:1: entryRuleALSSignatureBody : ruleALSSignatureBody EOF ;
642 public final void entryRuleALSSignatureBody() throws RecognitionException {
643 try {
644 // InternalAlloyLanguage.g:232:1: ( ruleALSSignatureBody EOF )
645 // InternalAlloyLanguage.g:233:1: ruleALSSignatureBody EOF
646 {
647 if ( state.backtracking==0 ) {
648 before(grammarAccess.getALSSignatureBodyRule());
649 }
650 pushFollow(FOLLOW_1);
651 ruleALSSignatureBody();
652
653 state._fsp--;
654 if (state.failed) return ;
655 if ( state.backtracking==0 ) {
656 after(grammarAccess.getALSSignatureBodyRule());
657 }
658 match(input,EOF,FOLLOW_2); if (state.failed) return ;
659
660 }
661
662 }
663 catch (RecognitionException re) {
664 reportError(re);
665 recover(input,re);
666 }
667 finally {
668 }
669 return ;
670 }
671 // $ANTLR end "entryRuleALSSignatureBody"
672
673
674 // $ANTLR start "ruleALSSignatureBody"
675 // InternalAlloyLanguage.g:240:1: ruleALSSignatureBody : ( ( rule__ALSSignatureBody__Group__0 ) ) ;
676 public final void ruleALSSignatureBody() throws RecognitionException {
677
678 int stackSize = keepStackSize();
679
680 try {
681 // InternalAlloyLanguage.g:244:2: ( ( ( rule__ALSSignatureBody__Group__0 ) ) )
682 // InternalAlloyLanguage.g:245:1: ( ( rule__ALSSignatureBody__Group__0 ) )
683 {
684 // InternalAlloyLanguage.g:245:1: ( ( rule__ALSSignatureBody__Group__0 ) )
685 // InternalAlloyLanguage.g:246:1: ( rule__ALSSignatureBody__Group__0 )
686 {
687 if ( state.backtracking==0 ) {
688 before(grammarAccess.getALSSignatureBodyAccess().getGroup());
689 }
690 // InternalAlloyLanguage.g:247:1: ( rule__ALSSignatureBody__Group__0 )
691 // InternalAlloyLanguage.g:247:2: rule__ALSSignatureBody__Group__0
692 {
693 pushFollow(FOLLOW_2);
694 rule__ALSSignatureBody__Group__0();
695
696 state._fsp--;
697 if (state.failed) return ;
698
699 }
700
701 if ( state.backtracking==0 ) {
702 after(grammarAccess.getALSSignatureBodyAccess().getGroup());
703 }
704
705 }
706
707
708 }
709
710 }
711 catch (RecognitionException re) {
712 reportError(re);
713 recover(input,re);
714 }
715 finally {
716
717 restoreStackSize(stackSize);
718
719 }
720 return ;
721 }
722 // $ANTLR end "ruleALSSignatureBody"
723
724
725 // $ANTLR start "entryRuleALSFieldDeclaration"
726 // InternalAlloyLanguage.g:259:1: entryRuleALSFieldDeclaration : ruleALSFieldDeclaration EOF ;
727 public final void entryRuleALSFieldDeclaration() throws RecognitionException {
728 try {
729 // InternalAlloyLanguage.g:260:1: ( ruleALSFieldDeclaration EOF )
730 // InternalAlloyLanguage.g:261:1: ruleALSFieldDeclaration EOF
731 {
732 if ( state.backtracking==0 ) {
733 before(grammarAccess.getALSFieldDeclarationRule());
734 }
735 pushFollow(FOLLOW_1);
736 ruleALSFieldDeclaration();
737
738 state._fsp--;
739 if (state.failed) return ;
740 if ( state.backtracking==0 ) {
741 after(grammarAccess.getALSFieldDeclarationRule());
742 }
743 match(input,EOF,FOLLOW_2); if (state.failed) return ;
744
745 }
746
747 }
748 catch (RecognitionException re) {
749 reportError(re);
750 recover(input,re);
751 }
752 finally {
753 }
754 return ;
755 }
756 // $ANTLR end "entryRuleALSFieldDeclaration"
757
758
759 // $ANTLR start "ruleALSFieldDeclaration"
760 // InternalAlloyLanguage.g:268:1: ruleALSFieldDeclaration : ( ( rule__ALSFieldDeclaration__Group__0 ) ) ;
761 public final void ruleALSFieldDeclaration() throws RecognitionException {
762
763 int stackSize = keepStackSize();
764
765 try {
766 // InternalAlloyLanguage.g:272:2: ( ( ( rule__ALSFieldDeclaration__Group__0 ) ) )
767 // InternalAlloyLanguage.g:273:1: ( ( rule__ALSFieldDeclaration__Group__0 ) )
768 {
769 // InternalAlloyLanguage.g:273:1: ( ( rule__ALSFieldDeclaration__Group__0 ) )
770 // InternalAlloyLanguage.g:274:1: ( rule__ALSFieldDeclaration__Group__0 )
771 {
772 if ( state.backtracking==0 ) {
773 before(grammarAccess.getALSFieldDeclarationAccess().getGroup());
774 }
775 // InternalAlloyLanguage.g:275:1: ( rule__ALSFieldDeclaration__Group__0 )
776 // InternalAlloyLanguage.g:275:2: rule__ALSFieldDeclaration__Group__0
777 {
778 pushFollow(FOLLOW_2);
779 rule__ALSFieldDeclaration__Group__0();
780
781 state._fsp--;
782 if (state.failed) return ;
783
784 }
785
786 if ( state.backtracking==0 ) {
787 after(grammarAccess.getALSFieldDeclarationAccess().getGroup());
788 }
789
790 }
791
792
793 }
794
795 }
796 catch (RecognitionException re) {
797 reportError(re);
798 recover(input,re);
799 }
800 finally {
801
802 restoreStackSize(stackSize);
803
804 }
805 return ;
806 }
807 // $ANTLR end "ruleALSFieldDeclaration"
808
809
810 // $ANTLR start "entryRuleALSFunctionDefinition"
811 // InternalAlloyLanguage.g:289:1: entryRuleALSFunctionDefinition : ruleALSFunctionDefinition EOF ;
812 public final void entryRuleALSFunctionDefinition() throws RecognitionException {
813 try {
814 // InternalAlloyLanguage.g:290:1: ( ruleALSFunctionDefinition EOF )
815 // InternalAlloyLanguage.g:291:1: ruleALSFunctionDefinition EOF
816 {
817 if ( state.backtracking==0 ) {
818 before(grammarAccess.getALSFunctionDefinitionRule());
819 }
820 pushFollow(FOLLOW_1);
821 ruleALSFunctionDefinition();
822
823 state._fsp--;
824 if (state.failed) return ;
825 if ( state.backtracking==0 ) {
826 after(grammarAccess.getALSFunctionDefinitionRule());
827 }
828 match(input,EOF,FOLLOW_2); if (state.failed) return ;
829
830 }
831
832 }
833 catch (RecognitionException re) {
834 reportError(re);
835 recover(input,re);
836 }
837 finally {
838 }
839 return ;
840 }
841 // $ANTLR end "entryRuleALSFunctionDefinition"
842
843
844 // $ANTLR start "ruleALSFunctionDefinition"
845 // InternalAlloyLanguage.g:298:1: ruleALSFunctionDefinition : ( ( rule__ALSFunctionDefinition__Group__0 ) ) ;
846 public final void ruleALSFunctionDefinition() throws RecognitionException {
847
848 int stackSize = keepStackSize();
849
850 try {
851 // InternalAlloyLanguage.g:302:2: ( ( ( rule__ALSFunctionDefinition__Group__0 ) ) )
852 // InternalAlloyLanguage.g:303:1: ( ( rule__ALSFunctionDefinition__Group__0 ) )
853 {
854 // InternalAlloyLanguage.g:303:1: ( ( rule__ALSFunctionDefinition__Group__0 ) )
855 // InternalAlloyLanguage.g:304:1: ( rule__ALSFunctionDefinition__Group__0 )
856 {
857 if ( state.backtracking==0 ) {
858 before(grammarAccess.getALSFunctionDefinitionAccess().getGroup());
859 }
860 // InternalAlloyLanguage.g:305:1: ( rule__ALSFunctionDefinition__Group__0 )
861 // InternalAlloyLanguage.g:305:2: rule__ALSFunctionDefinition__Group__0
862 {
863 pushFollow(FOLLOW_2);
864 rule__ALSFunctionDefinition__Group__0();
865
866 state._fsp--;
867 if (state.failed) return ;
868
869 }
870
871 if ( state.backtracking==0 ) {
872 after(grammarAccess.getALSFunctionDefinitionAccess().getGroup());
873 }
874
875 }
876
877
878 }
879
880 }
881 catch (RecognitionException re) {
882 reportError(re);
883 recover(input,re);
884 }
885 finally {
886
887 restoreStackSize(stackSize);
888
889 }
890 return ;
891 }
892 // $ANTLR end "ruleALSFunctionDefinition"
893
894
895 // $ANTLR start "entryRuleALSRelationDefinition"
896 // InternalAlloyLanguage.g:317:1: entryRuleALSRelationDefinition : ruleALSRelationDefinition EOF ;
897 public final void entryRuleALSRelationDefinition() throws RecognitionException {
898 try {
899 // InternalAlloyLanguage.g:318:1: ( ruleALSRelationDefinition EOF )
900 // InternalAlloyLanguage.g:319:1: ruleALSRelationDefinition EOF
901 {
902 if ( state.backtracking==0 ) {
903 before(grammarAccess.getALSRelationDefinitionRule());
904 }
905 pushFollow(FOLLOW_1);
906 ruleALSRelationDefinition();
907
908 state._fsp--;
909 if (state.failed) return ;
910 if ( state.backtracking==0 ) {
911 after(grammarAccess.getALSRelationDefinitionRule());
912 }
913 match(input,EOF,FOLLOW_2); if (state.failed) return ;
914
915 }
916
917 }
918 catch (RecognitionException re) {
919 reportError(re);
920 recover(input,re);
921 }
922 finally {
923 }
924 return ;
925 }
926 // $ANTLR end "entryRuleALSRelationDefinition"
927
928
929 // $ANTLR start "ruleALSRelationDefinition"
930 // InternalAlloyLanguage.g:326:1: ruleALSRelationDefinition : ( ( rule__ALSRelationDefinition__Group__0 ) ) ;
931 public final void ruleALSRelationDefinition() throws RecognitionException {
932
933 int stackSize = keepStackSize();
934
935 try {
936 // InternalAlloyLanguage.g:330:2: ( ( ( rule__ALSRelationDefinition__Group__0 ) ) )
937 // InternalAlloyLanguage.g:331:1: ( ( rule__ALSRelationDefinition__Group__0 ) )
938 {
939 // InternalAlloyLanguage.g:331:1: ( ( rule__ALSRelationDefinition__Group__0 ) )
940 // InternalAlloyLanguage.g:332:1: ( rule__ALSRelationDefinition__Group__0 )
941 {
942 if ( state.backtracking==0 ) {
943 before(grammarAccess.getALSRelationDefinitionAccess().getGroup());
944 }
945 // InternalAlloyLanguage.g:333:1: ( rule__ALSRelationDefinition__Group__0 )
946 // InternalAlloyLanguage.g:333:2: rule__ALSRelationDefinition__Group__0
947 {
948 pushFollow(FOLLOW_2);
949 rule__ALSRelationDefinition__Group__0();
950
951 state._fsp--;
952 if (state.failed) return ;
953
954 }
955
956 if ( state.backtracking==0 ) {
957 after(grammarAccess.getALSRelationDefinitionAccess().getGroup());
958 }
959
960 }
961
962
963 }
964
965 }
966 catch (RecognitionException re) {
967 reportError(re);
968 recover(input,re);
969 }
970 finally {
971
972 restoreStackSize(stackSize);
973
974 }
975 return ;
976 }
977 // $ANTLR end "ruleALSRelationDefinition"
978
979
980 // $ANTLR start "entryRuleALSFactDeclaration"
981 // InternalAlloyLanguage.g:345:1: entryRuleALSFactDeclaration : ruleALSFactDeclaration EOF ;
982 public final void entryRuleALSFactDeclaration() throws RecognitionException {
983 try {
984 // InternalAlloyLanguage.g:346:1: ( ruleALSFactDeclaration EOF )
985 // InternalAlloyLanguage.g:347:1: ruleALSFactDeclaration EOF
986 {
987 if ( state.backtracking==0 ) {
988 before(grammarAccess.getALSFactDeclarationRule());
989 }
990 pushFollow(FOLLOW_1);
991 ruleALSFactDeclaration();
992
993 state._fsp--;
994 if (state.failed) return ;
995 if ( state.backtracking==0 ) {
996 after(grammarAccess.getALSFactDeclarationRule());
997 }
998 match(input,EOF,FOLLOW_2); if (state.failed) return ;
999
1000 }
1001
1002 }
1003 catch (RecognitionException re) {
1004 reportError(re);
1005 recover(input,re);
1006 }
1007 finally {
1008 }
1009 return ;
1010 }
1011 // $ANTLR end "entryRuleALSFactDeclaration"
1012
1013
1014 // $ANTLR start "ruleALSFactDeclaration"
1015 // InternalAlloyLanguage.g:354:1: ruleALSFactDeclaration : ( ( rule__ALSFactDeclaration__Group__0 ) ) ;
1016 public final void ruleALSFactDeclaration() throws RecognitionException {
1017
1018 int stackSize = keepStackSize();
1019
1020 try {
1021 // InternalAlloyLanguage.g:358:2: ( ( ( rule__ALSFactDeclaration__Group__0 ) ) )
1022 // InternalAlloyLanguage.g:359:1: ( ( rule__ALSFactDeclaration__Group__0 ) )
1023 {
1024 // InternalAlloyLanguage.g:359:1: ( ( rule__ALSFactDeclaration__Group__0 ) )
1025 // InternalAlloyLanguage.g:360:1: ( rule__ALSFactDeclaration__Group__0 )
1026 {
1027 if ( state.backtracking==0 ) {
1028 before(grammarAccess.getALSFactDeclarationAccess().getGroup());
1029 }
1030 // InternalAlloyLanguage.g:361:1: ( rule__ALSFactDeclaration__Group__0 )
1031 // InternalAlloyLanguage.g:361:2: rule__ALSFactDeclaration__Group__0
1032 {
1033 pushFollow(FOLLOW_2);
1034 rule__ALSFactDeclaration__Group__0();
1035
1036 state._fsp--;
1037 if (state.failed) return ;
1038
1039 }
1040
1041 if ( state.backtracking==0 ) {
1042 after(grammarAccess.getALSFactDeclarationAccess().getGroup());
1043 }
1044
1045 }
1046
1047
1048 }
1049
1050 }
1051 catch (RecognitionException re) {
1052 reportError(re);
1053 recover(input,re);
1054 }
1055 finally {
1056
1057 restoreStackSize(stackSize);
1058
1059 }
1060 return ;
1061 }
1062 // $ANTLR end "ruleALSFactDeclaration"
1063
1064
1065 // $ANTLR start "entryRuleALSTerm"
1066 // InternalAlloyLanguage.g:373:1: entryRuleALSTerm : ruleALSTerm EOF ;
1067 public final void entryRuleALSTerm() throws RecognitionException {
1068 try {
1069 // InternalAlloyLanguage.g:374:1: ( ruleALSTerm EOF )
1070 // InternalAlloyLanguage.g:375:1: ruleALSTerm EOF
1071 {
1072 if ( state.backtracking==0 ) {
1073 before(grammarAccess.getALSTermRule());
1074 }
1075 pushFollow(FOLLOW_1);
1076 ruleALSTerm();
1077
1078 state._fsp--;
1079 if (state.failed) return ;
1080 if ( state.backtracking==0 ) {
1081 after(grammarAccess.getALSTermRule());
1082 }
1083 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1084
1085 }
1086
1087 }
1088 catch (RecognitionException re) {
1089 reportError(re);
1090 recover(input,re);
1091 }
1092 finally {
1093 }
1094 return ;
1095 }
1096 // $ANTLR end "entryRuleALSTerm"
1097
1098
1099 // $ANTLR start "ruleALSTerm"
1100 // InternalAlloyLanguage.g:382:1: ruleALSTerm : ( ruleALSQuantified ) ;
1101 public final void ruleALSTerm() throws RecognitionException {
1102
1103 int stackSize = keepStackSize();
1104
1105 try {
1106 // InternalAlloyLanguage.g:386:2: ( ( ruleALSQuantified ) )
1107 // InternalAlloyLanguage.g:387:1: ( ruleALSQuantified )
1108 {
1109 // InternalAlloyLanguage.g:387:1: ( ruleALSQuantified )
1110 // InternalAlloyLanguage.g:388:1: ruleALSQuantified
1111 {
1112 if ( state.backtracking==0 ) {
1113 before(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall());
1114 }
1115 pushFollow(FOLLOW_2);
1116 ruleALSQuantified();
1117
1118 state._fsp--;
1119 if (state.failed) return ;
1120 if ( state.backtracking==0 ) {
1121 after(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall());
1122 }
1123
1124 }
1125
1126
1127 }
1128
1129 }
1130 catch (RecognitionException re) {
1131 reportError(re);
1132 recover(input,re);
1133 }
1134 finally {
1135
1136 restoreStackSize(stackSize);
1137
1138 }
1139 return ;
1140 }
1141 // $ANTLR end "ruleALSTerm"
1142
1143
1144 // $ANTLR start "entryRuleALSQuantified"
1145 // InternalAlloyLanguage.g:401:1: entryRuleALSQuantified : ruleALSQuantified EOF ;
1146 public final void entryRuleALSQuantified() throws RecognitionException {
1147 try {
1148 // InternalAlloyLanguage.g:402:1: ( ruleALSQuantified EOF )
1149 // InternalAlloyLanguage.g:403:1: ruleALSQuantified EOF
1150 {
1151 if ( state.backtracking==0 ) {
1152 before(grammarAccess.getALSQuantifiedRule());
1153 }
1154 pushFollow(FOLLOW_1);
1155 ruleALSQuantified();
1156
1157 state._fsp--;
1158 if (state.failed) return ;
1159 if ( state.backtracking==0 ) {
1160 after(grammarAccess.getALSQuantifiedRule());
1161 }
1162 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1163
1164 }
1165
1166 }
1167 catch (RecognitionException re) {
1168 reportError(re);
1169 recover(input,re);
1170 }
1171 finally {
1172 }
1173 return ;
1174 }
1175 // $ANTLR end "entryRuleALSQuantified"
1176
1177
1178 // $ANTLR start "ruleALSQuantified"
1179 // InternalAlloyLanguage.g:410:1: ruleALSQuantified : ( ( rule__ALSQuantified__Alternatives ) ) ;
1180 public final void ruleALSQuantified() throws RecognitionException {
1181
1182 int stackSize = keepStackSize();
1183
1184 try {
1185 // InternalAlloyLanguage.g:414:2: ( ( ( rule__ALSQuantified__Alternatives ) ) )
1186 // InternalAlloyLanguage.g:415:1: ( ( rule__ALSQuantified__Alternatives ) )
1187 {
1188 // InternalAlloyLanguage.g:415:1: ( ( rule__ALSQuantified__Alternatives ) )
1189 // InternalAlloyLanguage.g:416:1: ( rule__ALSQuantified__Alternatives )
1190 {
1191 if ( state.backtracking==0 ) {
1192 before(grammarAccess.getALSQuantifiedAccess().getAlternatives());
1193 }
1194 // InternalAlloyLanguage.g:417:1: ( rule__ALSQuantified__Alternatives )
1195 // InternalAlloyLanguage.g:417:2: rule__ALSQuantified__Alternatives
1196 {
1197 pushFollow(FOLLOW_2);
1198 rule__ALSQuantified__Alternatives();
1199
1200 state._fsp--;
1201 if (state.failed) return ;
1202
1203 }
1204
1205 if ( state.backtracking==0 ) {
1206 after(grammarAccess.getALSQuantifiedAccess().getAlternatives());
1207 }
1208
1209 }
1210
1211
1212 }
1213
1214 }
1215 catch (RecognitionException re) {
1216 reportError(re);
1217 recover(input,re);
1218 }
1219 finally {
1220
1221 restoreStackSize(stackSize);
1222
1223 }
1224 return ;
1225 }
1226 // $ANTLR end "ruleALSQuantified"
1227
1228
1229 // $ANTLR start "entryRuleALSOr"
1230 // InternalAlloyLanguage.g:429:1: entryRuleALSOr : ruleALSOr EOF ;
1231 public final void entryRuleALSOr() throws RecognitionException {
1232 try {
1233 // InternalAlloyLanguage.g:430:1: ( ruleALSOr EOF )
1234 // InternalAlloyLanguage.g:431:1: ruleALSOr EOF
1235 {
1236 if ( state.backtracking==0 ) {
1237 before(grammarAccess.getALSOrRule());
1238 }
1239 pushFollow(FOLLOW_1);
1240 ruleALSOr();
1241
1242 state._fsp--;
1243 if (state.failed) return ;
1244 if ( state.backtracking==0 ) {
1245 after(grammarAccess.getALSOrRule());
1246 }
1247 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1248
1249 }
1250
1251 }
1252 catch (RecognitionException re) {
1253 reportError(re);
1254 recover(input,re);
1255 }
1256 finally {
1257 }
1258 return ;
1259 }
1260 // $ANTLR end "entryRuleALSOr"
1261
1262
1263 // $ANTLR start "ruleALSOr"
1264 // InternalAlloyLanguage.g:438:1: ruleALSOr : ( ( rule__ALSOr__Group__0 ) ) ;
1265 public final void ruleALSOr() throws RecognitionException {
1266
1267 int stackSize = keepStackSize();
1268
1269 try {
1270 // InternalAlloyLanguage.g:442:2: ( ( ( rule__ALSOr__Group__0 ) ) )
1271 // InternalAlloyLanguage.g:443:1: ( ( rule__ALSOr__Group__0 ) )
1272 {
1273 // InternalAlloyLanguage.g:443:1: ( ( rule__ALSOr__Group__0 ) )
1274 // InternalAlloyLanguage.g:444:1: ( rule__ALSOr__Group__0 )
1275 {
1276 if ( state.backtracking==0 ) {
1277 before(grammarAccess.getALSOrAccess().getGroup());
1278 }
1279 // InternalAlloyLanguage.g:445:1: ( rule__ALSOr__Group__0 )
1280 // InternalAlloyLanguage.g:445:2: rule__ALSOr__Group__0
1281 {
1282 pushFollow(FOLLOW_2);
1283 rule__ALSOr__Group__0();
1284
1285 state._fsp--;
1286 if (state.failed) return ;
1287
1288 }
1289
1290 if ( state.backtracking==0 ) {
1291 after(grammarAccess.getALSOrAccess().getGroup());
1292 }
1293
1294 }
1295
1296
1297 }
1298
1299 }
1300 catch (RecognitionException re) {
1301 reportError(re);
1302 recover(input,re);
1303 }
1304 finally {
1305
1306 restoreStackSize(stackSize);
1307
1308 }
1309 return ;
1310 }
1311 // $ANTLR end "ruleALSOr"
1312
1313
1314 // $ANTLR start "entryRuleALSIff"
1315 // InternalAlloyLanguage.g:457:1: entryRuleALSIff : ruleALSIff EOF ;
1316 public final void entryRuleALSIff() throws RecognitionException {
1317 try {
1318 // InternalAlloyLanguage.g:458:1: ( ruleALSIff EOF )
1319 // InternalAlloyLanguage.g:459:1: ruleALSIff EOF
1320 {
1321 if ( state.backtracking==0 ) {
1322 before(grammarAccess.getALSIffRule());
1323 }
1324 pushFollow(FOLLOW_1);
1325 ruleALSIff();
1326
1327 state._fsp--;
1328 if (state.failed) return ;
1329 if ( state.backtracking==0 ) {
1330 after(grammarAccess.getALSIffRule());
1331 }
1332 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1333
1334 }
1335
1336 }
1337 catch (RecognitionException re) {
1338 reportError(re);
1339 recover(input,re);
1340 }
1341 finally {
1342 }
1343 return ;
1344 }
1345 // $ANTLR end "entryRuleALSIff"
1346
1347
1348 // $ANTLR start "ruleALSIff"
1349 // InternalAlloyLanguage.g:466:1: ruleALSIff : ( ( rule__ALSIff__Group__0 ) ) ;
1350 public final void ruleALSIff() throws RecognitionException {
1351
1352 int stackSize = keepStackSize();
1353
1354 try {
1355 // InternalAlloyLanguage.g:470:2: ( ( ( rule__ALSIff__Group__0 ) ) )
1356 // InternalAlloyLanguage.g:471:1: ( ( rule__ALSIff__Group__0 ) )
1357 {
1358 // InternalAlloyLanguage.g:471:1: ( ( rule__ALSIff__Group__0 ) )
1359 // InternalAlloyLanguage.g:472:1: ( rule__ALSIff__Group__0 )
1360 {
1361 if ( state.backtracking==0 ) {
1362 before(grammarAccess.getALSIffAccess().getGroup());
1363 }
1364 // InternalAlloyLanguage.g:473:1: ( rule__ALSIff__Group__0 )
1365 // InternalAlloyLanguage.g:473:2: rule__ALSIff__Group__0
1366 {
1367 pushFollow(FOLLOW_2);
1368 rule__ALSIff__Group__0();
1369
1370 state._fsp--;
1371 if (state.failed) return ;
1372
1373 }
1374
1375 if ( state.backtracking==0 ) {
1376 after(grammarAccess.getALSIffAccess().getGroup());
1377 }
1378
1379 }
1380
1381
1382 }
1383
1384 }
1385 catch (RecognitionException re) {
1386 reportError(re);
1387 recover(input,re);
1388 }
1389 finally {
1390
1391 restoreStackSize(stackSize);
1392
1393 }
1394 return ;
1395 }
1396 // $ANTLR end "ruleALSIff"
1397
1398
1399 // $ANTLR start "entryRuleALSImpl"
1400 // InternalAlloyLanguage.g:485:1: entryRuleALSImpl : ruleALSImpl EOF ;
1401 public final void entryRuleALSImpl() throws RecognitionException {
1402 try {
1403 // InternalAlloyLanguage.g:486:1: ( ruleALSImpl EOF )
1404 // InternalAlloyLanguage.g:487:1: ruleALSImpl EOF
1405 {
1406 if ( state.backtracking==0 ) {
1407 before(grammarAccess.getALSImplRule());
1408 }
1409 pushFollow(FOLLOW_1);
1410 ruleALSImpl();
1411
1412 state._fsp--;
1413 if (state.failed) return ;
1414 if ( state.backtracking==0 ) {
1415 after(grammarAccess.getALSImplRule());
1416 }
1417 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1418
1419 }
1420
1421 }
1422 catch (RecognitionException re) {
1423 reportError(re);
1424 recover(input,re);
1425 }
1426 finally {
1427 }
1428 return ;
1429 }
1430 // $ANTLR end "entryRuleALSImpl"
1431
1432
1433 // $ANTLR start "ruleALSImpl"
1434 // InternalAlloyLanguage.g:494:1: ruleALSImpl : ( ( rule__ALSImpl__Group__0 ) ) ;
1435 public final void ruleALSImpl() throws RecognitionException {
1436
1437 int stackSize = keepStackSize();
1438
1439 try {
1440 // InternalAlloyLanguage.g:498:2: ( ( ( rule__ALSImpl__Group__0 ) ) )
1441 // InternalAlloyLanguage.g:499:1: ( ( rule__ALSImpl__Group__0 ) )
1442 {
1443 // InternalAlloyLanguage.g:499:1: ( ( rule__ALSImpl__Group__0 ) )
1444 // InternalAlloyLanguage.g:500:1: ( rule__ALSImpl__Group__0 )
1445 {
1446 if ( state.backtracking==0 ) {
1447 before(grammarAccess.getALSImplAccess().getGroup());
1448 }
1449 // InternalAlloyLanguage.g:501:1: ( rule__ALSImpl__Group__0 )
1450 // InternalAlloyLanguage.g:501:2: rule__ALSImpl__Group__0
1451 {
1452 pushFollow(FOLLOW_2);
1453 rule__ALSImpl__Group__0();
1454
1455 state._fsp--;
1456 if (state.failed) return ;
1457
1458 }
1459
1460 if ( state.backtracking==0 ) {
1461 after(grammarAccess.getALSImplAccess().getGroup());
1462 }
1463
1464 }
1465
1466
1467 }
1468
1469 }
1470 catch (RecognitionException re) {
1471 reportError(re);
1472 recover(input,re);
1473 }
1474 finally {
1475
1476 restoreStackSize(stackSize);
1477
1478 }
1479 return ;
1480 }
1481 // $ANTLR end "ruleALSImpl"
1482
1483
1484 // $ANTLR start "entryRuleALSAnd"
1485 // InternalAlloyLanguage.g:513:1: entryRuleALSAnd : ruleALSAnd EOF ;
1486 public final void entryRuleALSAnd() throws RecognitionException {
1487 try {
1488 // InternalAlloyLanguage.g:514:1: ( ruleALSAnd EOF )
1489 // InternalAlloyLanguage.g:515:1: ruleALSAnd EOF
1490 {
1491 if ( state.backtracking==0 ) {
1492 before(grammarAccess.getALSAndRule());
1493 }
1494 pushFollow(FOLLOW_1);
1495 ruleALSAnd();
1496
1497 state._fsp--;
1498 if (state.failed) return ;
1499 if ( state.backtracking==0 ) {
1500 after(grammarAccess.getALSAndRule());
1501 }
1502 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1503
1504 }
1505
1506 }
1507 catch (RecognitionException re) {
1508 reportError(re);
1509 recover(input,re);
1510 }
1511 finally {
1512 }
1513 return ;
1514 }
1515 // $ANTLR end "entryRuleALSAnd"
1516
1517
1518 // $ANTLR start "ruleALSAnd"
1519 // InternalAlloyLanguage.g:522:1: ruleALSAnd : ( ( rule__ALSAnd__Group__0 ) ) ;
1520 public final void ruleALSAnd() throws RecognitionException {
1521
1522 int stackSize = keepStackSize();
1523
1524 try {
1525 // InternalAlloyLanguage.g:526:2: ( ( ( rule__ALSAnd__Group__0 ) ) )
1526 // InternalAlloyLanguage.g:527:1: ( ( rule__ALSAnd__Group__0 ) )
1527 {
1528 // InternalAlloyLanguage.g:527:1: ( ( rule__ALSAnd__Group__0 ) )
1529 // InternalAlloyLanguage.g:528:1: ( rule__ALSAnd__Group__0 )
1530 {
1531 if ( state.backtracking==0 ) {
1532 before(grammarAccess.getALSAndAccess().getGroup());
1533 }
1534 // InternalAlloyLanguage.g:529:1: ( rule__ALSAnd__Group__0 )
1535 // InternalAlloyLanguage.g:529:2: rule__ALSAnd__Group__0
1536 {
1537 pushFollow(FOLLOW_2);
1538 rule__ALSAnd__Group__0();
1539
1540 state._fsp--;
1541 if (state.failed) return ;
1542
1543 }
1544
1545 if ( state.backtracking==0 ) {
1546 after(grammarAccess.getALSAndAccess().getGroup());
1547 }
1548
1549 }
1550
1551
1552 }
1553
1554 }
1555 catch (RecognitionException re) {
1556 reportError(re);
1557 recover(input,re);
1558 }
1559 finally {
1560
1561 restoreStackSize(stackSize);
1562
1563 }
1564 return ;
1565 }
1566 // $ANTLR end "ruleALSAnd"
1567
1568
1569 // $ANTLR start "entryRuleALSComparison"
1570 // InternalAlloyLanguage.g:541:1: entryRuleALSComparison : ruleALSComparison EOF ;
1571 public final void entryRuleALSComparison() throws RecognitionException {
1572 try {
1573 // InternalAlloyLanguage.g:542:1: ( ruleALSComparison EOF )
1574 // InternalAlloyLanguage.g:543:1: ruleALSComparison EOF
1575 {
1576 if ( state.backtracking==0 ) {
1577 before(grammarAccess.getALSComparisonRule());
1578 }
1579 pushFollow(FOLLOW_1);
1580 ruleALSComparison();
1581
1582 state._fsp--;
1583 if (state.failed) return ;
1584 if ( state.backtracking==0 ) {
1585 after(grammarAccess.getALSComparisonRule());
1586 }
1587 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1588
1589 }
1590
1591 }
1592 catch (RecognitionException re) {
1593 reportError(re);
1594 recover(input,re);
1595 }
1596 finally {
1597 }
1598 return ;
1599 }
1600 // $ANTLR end "entryRuleALSComparison"
1601
1602
1603 // $ANTLR start "ruleALSComparison"
1604 // InternalAlloyLanguage.g:550:1: ruleALSComparison : ( ( rule__ALSComparison__Group__0 ) ) ;
1605 public final void ruleALSComparison() throws RecognitionException {
1606
1607 int stackSize = keepStackSize();
1608
1609 try {
1610 // InternalAlloyLanguage.g:554:2: ( ( ( rule__ALSComparison__Group__0 ) ) )
1611 // InternalAlloyLanguage.g:555:1: ( ( rule__ALSComparison__Group__0 ) )
1612 {
1613 // InternalAlloyLanguage.g:555:1: ( ( rule__ALSComparison__Group__0 ) )
1614 // InternalAlloyLanguage.g:556:1: ( rule__ALSComparison__Group__0 )
1615 {
1616 if ( state.backtracking==0 ) {
1617 before(grammarAccess.getALSComparisonAccess().getGroup());
1618 }
1619 // InternalAlloyLanguage.g:557:1: ( rule__ALSComparison__Group__0 )
1620 // InternalAlloyLanguage.g:557:2: rule__ALSComparison__Group__0
1621 {
1622 pushFollow(FOLLOW_2);
1623 rule__ALSComparison__Group__0();
1624
1625 state._fsp--;
1626 if (state.failed) return ;
1627
1628 }
1629
1630 if ( state.backtracking==0 ) {
1631 after(grammarAccess.getALSComparisonAccess().getGroup());
1632 }
1633
1634 }
1635
1636
1637 }
1638
1639 }
1640 catch (RecognitionException re) {
1641 reportError(re);
1642 recover(input,re);
1643 }
1644 finally {
1645
1646 restoreStackSize(stackSize);
1647
1648 }
1649 return ;
1650 }
1651 // $ANTLR end "ruleALSComparison"
1652
1653
1654 // $ANTLR start "entryRuleALSOverride"
1655 // InternalAlloyLanguage.g:569:1: entryRuleALSOverride : ruleALSOverride EOF ;
1656 public final void entryRuleALSOverride() throws RecognitionException {
1657 try {
1658 // InternalAlloyLanguage.g:570:1: ( ruleALSOverride EOF )
1659 // InternalAlloyLanguage.g:571:1: ruleALSOverride EOF
1660 {
1661 if ( state.backtracking==0 ) {
1662 before(grammarAccess.getALSOverrideRule());
1663 }
1664 pushFollow(FOLLOW_1);
1665 ruleALSOverride();
1666
1667 state._fsp--;
1668 if (state.failed) return ;
1669 if ( state.backtracking==0 ) {
1670 after(grammarAccess.getALSOverrideRule());
1671 }
1672 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1673
1674 }
1675
1676 }
1677 catch (RecognitionException re) {
1678 reportError(re);
1679 recover(input,re);
1680 }
1681 finally {
1682 }
1683 return ;
1684 }
1685 // $ANTLR end "entryRuleALSOverride"
1686
1687
1688 // $ANTLR start "ruleALSOverride"
1689 // InternalAlloyLanguage.g:578:1: ruleALSOverride : ( ( rule__ALSOverride__Group__0 ) ) ;
1690 public final void ruleALSOverride() throws RecognitionException {
1691
1692 int stackSize = keepStackSize();
1693
1694 try {
1695 // InternalAlloyLanguage.g:582:2: ( ( ( rule__ALSOverride__Group__0 ) ) )
1696 // InternalAlloyLanguage.g:583:1: ( ( rule__ALSOverride__Group__0 ) )
1697 {
1698 // InternalAlloyLanguage.g:583:1: ( ( rule__ALSOverride__Group__0 ) )
1699 // InternalAlloyLanguage.g:584:1: ( rule__ALSOverride__Group__0 )
1700 {
1701 if ( state.backtracking==0 ) {
1702 before(grammarAccess.getALSOverrideAccess().getGroup());
1703 }
1704 // InternalAlloyLanguage.g:585:1: ( rule__ALSOverride__Group__0 )
1705 // InternalAlloyLanguage.g:585:2: rule__ALSOverride__Group__0
1706 {
1707 pushFollow(FOLLOW_2);
1708 rule__ALSOverride__Group__0();
1709
1710 state._fsp--;
1711 if (state.failed) return ;
1712
1713 }
1714
1715 if ( state.backtracking==0 ) {
1716 after(grammarAccess.getALSOverrideAccess().getGroup());
1717 }
1718
1719 }
1720
1721
1722 }
1723
1724 }
1725 catch (RecognitionException re) {
1726 reportError(re);
1727 recover(input,re);
1728 }
1729 finally {
1730
1731 restoreStackSize(stackSize);
1732
1733 }
1734 return ;
1735 }
1736 // $ANTLR end "ruleALSOverride"
1737
1738
1739 // $ANTLR start "entryRuleALSRangeRestrictionRight"
1740 // InternalAlloyLanguage.g:597:1: entryRuleALSRangeRestrictionRight : ruleALSRangeRestrictionRight EOF ;
1741 public final void entryRuleALSRangeRestrictionRight() throws RecognitionException {
1742 try {
1743 // InternalAlloyLanguage.g:598:1: ( ruleALSRangeRestrictionRight EOF )
1744 // InternalAlloyLanguage.g:599:1: ruleALSRangeRestrictionRight EOF
1745 {
1746 if ( state.backtracking==0 ) {
1747 before(grammarAccess.getALSRangeRestrictionRightRule());
1748 }
1749 pushFollow(FOLLOW_1);
1750 ruleALSRangeRestrictionRight();
1751
1752 state._fsp--;
1753 if (state.failed) return ;
1754 if ( state.backtracking==0 ) {
1755 after(grammarAccess.getALSRangeRestrictionRightRule());
1756 }
1757 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1758
1759 }
1760
1761 }
1762 catch (RecognitionException re) {
1763 reportError(re);
1764 recover(input,re);
1765 }
1766 finally {
1767 }
1768 return ;
1769 }
1770 // $ANTLR end "entryRuleALSRangeRestrictionRight"
1771
1772
1773 // $ANTLR start "ruleALSRangeRestrictionRight"
1774 // InternalAlloyLanguage.g:606:1: ruleALSRangeRestrictionRight : ( ( rule__ALSRangeRestrictionRight__Group__0 ) ) ;
1775 public final void ruleALSRangeRestrictionRight() throws RecognitionException {
1776
1777 int stackSize = keepStackSize();
1778
1779 try {
1780 // InternalAlloyLanguage.g:610:2: ( ( ( rule__ALSRangeRestrictionRight__Group__0 ) ) )
1781 // InternalAlloyLanguage.g:611:1: ( ( rule__ALSRangeRestrictionRight__Group__0 ) )
1782 {
1783 // InternalAlloyLanguage.g:611:1: ( ( rule__ALSRangeRestrictionRight__Group__0 ) )
1784 // InternalAlloyLanguage.g:612:1: ( rule__ALSRangeRestrictionRight__Group__0 )
1785 {
1786 if ( state.backtracking==0 ) {
1787 before(grammarAccess.getALSRangeRestrictionRightAccess().getGroup());
1788 }
1789 // InternalAlloyLanguage.g:613:1: ( rule__ALSRangeRestrictionRight__Group__0 )
1790 // InternalAlloyLanguage.g:613:2: rule__ALSRangeRestrictionRight__Group__0
1791 {
1792 pushFollow(FOLLOW_2);
1793 rule__ALSRangeRestrictionRight__Group__0();
1794
1795 state._fsp--;
1796 if (state.failed) return ;
1797
1798 }
1799
1800 if ( state.backtracking==0 ) {
1801 after(grammarAccess.getALSRangeRestrictionRightAccess().getGroup());
1802 }
1803
1804 }
1805
1806
1807 }
1808
1809 }
1810 catch (RecognitionException re) {
1811 reportError(re);
1812 recover(input,re);
1813 }
1814 finally {
1815
1816 restoreStackSize(stackSize);
1817
1818 }
1819 return ;
1820 }
1821 // $ANTLR end "ruleALSRangeRestrictionRight"
1822
1823
1824 // $ANTLR start "entryRuleALSRangeRestrictionLeft"
1825 // InternalAlloyLanguage.g:625:1: entryRuleALSRangeRestrictionLeft : ruleALSRangeRestrictionLeft EOF ;
1826 public final void entryRuleALSRangeRestrictionLeft() throws RecognitionException {
1827 try {
1828 // InternalAlloyLanguage.g:626:1: ( ruleALSRangeRestrictionLeft EOF )
1829 // InternalAlloyLanguage.g:627:1: ruleALSRangeRestrictionLeft EOF
1830 {
1831 if ( state.backtracking==0 ) {
1832 before(grammarAccess.getALSRangeRestrictionLeftRule());
1833 }
1834 pushFollow(FOLLOW_1);
1835 ruleALSRangeRestrictionLeft();
1836
1837 state._fsp--;
1838 if (state.failed) return ;
1839 if ( state.backtracking==0 ) {
1840 after(grammarAccess.getALSRangeRestrictionLeftRule());
1841 }
1842 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1843
1844 }
1845
1846 }
1847 catch (RecognitionException re) {
1848 reportError(re);
1849 recover(input,re);
1850 }
1851 finally {
1852 }
1853 return ;
1854 }
1855 // $ANTLR end "entryRuleALSRangeRestrictionLeft"
1856
1857
1858 // $ANTLR start "ruleALSRangeRestrictionLeft"
1859 // InternalAlloyLanguage.g:634:1: ruleALSRangeRestrictionLeft : ( ( rule__ALSRangeRestrictionLeft__Group__0 ) ) ;
1860 public final void ruleALSRangeRestrictionLeft() throws RecognitionException {
1861
1862 int stackSize = keepStackSize();
1863
1864 try {
1865 // InternalAlloyLanguage.g:638:2: ( ( ( rule__ALSRangeRestrictionLeft__Group__0 ) ) )
1866 // InternalAlloyLanguage.g:639:1: ( ( rule__ALSRangeRestrictionLeft__Group__0 ) )
1867 {
1868 // InternalAlloyLanguage.g:639:1: ( ( rule__ALSRangeRestrictionLeft__Group__0 ) )
1869 // InternalAlloyLanguage.g:640:1: ( rule__ALSRangeRestrictionLeft__Group__0 )
1870 {
1871 if ( state.backtracking==0 ) {
1872 before(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup());
1873 }
1874 // InternalAlloyLanguage.g:641:1: ( rule__ALSRangeRestrictionLeft__Group__0 )
1875 // InternalAlloyLanguage.g:641:2: rule__ALSRangeRestrictionLeft__Group__0
1876 {
1877 pushFollow(FOLLOW_2);
1878 rule__ALSRangeRestrictionLeft__Group__0();
1879
1880 state._fsp--;
1881 if (state.failed) return ;
1882
1883 }
1884
1885 if ( state.backtracking==0 ) {
1886 after(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup());
1887 }
1888
1889 }
1890
1891
1892 }
1893
1894 }
1895 catch (RecognitionException re) {
1896 reportError(re);
1897 recover(input,re);
1898 }
1899 finally {
1900
1901 restoreStackSize(stackSize);
1902
1903 }
1904 return ;
1905 }
1906 // $ANTLR end "ruleALSRangeRestrictionLeft"
1907
1908
1909 // $ANTLR start "entryRuleALSJoin"
1910 // InternalAlloyLanguage.g:653:1: entryRuleALSJoin : ruleALSJoin EOF ;
1911 public final void entryRuleALSJoin() throws RecognitionException {
1912 try {
1913 // InternalAlloyLanguage.g:654:1: ( ruleALSJoin EOF )
1914 // InternalAlloyLanguage.g:655:1: ruleALSJoin EOF
1915 {
1916 if ( state.backtracking==0 ) {
1917 before(grammarAccess.getALSJoinRule());
1918 }
1919 pushFollow(FOLLOW_1);
1920 ruleALSJoin();
1921
1922 state._fsp--;
1923 if (state.failed) return ;
1924 if ( state.backtracking==0 ) {
1925 after(grammarAccess.getALSJoinRule());
1926 }
1927 match(input,EOF,FOLLOW_2); if (state.failed) return ;
1928
1929 }
1930
1931 }
1932 catch (RecognitionException re) {
1933 reportError(re);
1934 recover(input,re);
1935 }
1936 finally {
1937 }
1938 return ;
1939 }
1940 // $ANTLR end "entryRuleALSJoin"
1941
1942
1943 // $ANTLR start "ruleALSJoin"
1944 // InternalAlloyLanguage.g:662:1: ruleALSJoin : ( ( rule__ALSJoin__Group__0 ) ) ;
1945 public final void ruleALSJoin() throws RecognitionException {
1946
1947 int stackSize = keepStackSize();
1948
1949 try {
1950 // InternalAlloyLanguage.g:666:2: ( ( ( rule__ALSJoin__Group__0 ) ) )
1951 // InternalAlloyLanguage.g:667:1: ( ( rule__ALSJoin__Group__0 ) )
1952 {
1953 // InternalAlloyLanguage.g:667:1: ( ( rule__ALSJoin__Group__0 ) )
1954 // InternalAlloyLanguage.g:668:1: ( rule__ALSJoin__Group__0 )
1955 {
1956 if ( state.backtracking==0 ) {
1957 before(grammarAccess.getALSJoinAccess().getGroup());
1958 }
1959 // InternalAlloyLanguage.g:669:1: ( rule__ALSJoin__Group__0 )
1960 // InternalAlloyLanguage.g:669:2: rule__ALSJoin__Group__0
1961 {
1962 pushFollow(FOLLOW_2);
1963 rule__ALSJoin__Group__0();
1964
1965 state._fsp--;
1966 if (state.failed) return ;
1967
1968 }
1969
1970 if ( state.backtracking==0 ) {
1971 after(grammarAccess.getALSJoinAccess().getGroup());
1972 }
1973
1974 }
1975
1976
1977 }
1978
1979 }
1980 catch (RecognitionException re) {
1981 reportError(re);
1982 recover(input,re);
1983 }
1984 finally {
1985
1986 restoreStackSize(stackSize);
1987
1988 }
1989 return ;
1990 }
1991 // $ANTLR end "ruleALSJoin"
1992
1993
1994 // $ANTLR start "entryRuleALSMinus"
1995 // InternalAlloyLanguage.g:681:1: entryRuleALSMinus : ruleALSMinus EOF ;
1996 public final void entryRuleALSMinus() throws RecognitionException {
1997 try {
1998 // InternalAlloyLanguage.g:682:1: ( ruleALSMinus EOF )
1999 // InternalAlloyLanguage.g:683:1: ruleALSMinus EOF
2000 {
2001 if ( state.backtracking==0 ) {
2002 before(grammarAccess.getALSMinusRule());
2003 }
2004 pushFollow(FOLLOW_1);
2005 ruleALSMinus();
2006
2007 state._fsp--;
2008 if (state.failed) return ;
2009 if ( state.backtracking==0 ) {
2010 after(grammarAccess.getALSMinusRule());
2011 }
2012 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2013
2014 }
2015
2016 }
2017 catch (RecognitionException re) {
2018 reportError(re);
2019 recover(input,re);
2020 }
2021 finally {
2022 }
2023 return ;
2024 }
2025 // $ANTLR end "entryRuleALSMinus"
2026
2027
2028 // $ANTLR start "ruleALSMinus"
2029 // InternalAlloyLanguage.g:690:1: ruleALSMinus : ( ( rule__ALSMinus__Group__0 ) ) ;
2030 public final void ruleALSMinus() throws RecognitionException {
2031
2032 int stackSize = keepStackSize();
2033
2034 try {
2035 // InternalAlloyLanguage.g:694:2: ( ( ( rule__ALSMinus__Group__0 ) ) )
2036 // InternalAlloyLanguage.g:695:1: ( ( rule__ALSMinus__Group__0 ) )
2037 {
2038 // InternalAlloyLanguage.g:695:1: ( ( rule__ALSMinus__Group__0 ) )
2039 // InternalAlloyLanguage.g:696:1: ( rule__ALSMinus__Group__0 )
2040 {
2041 if ( state.backtracking==0 ) {
2042 before(grammarAccess.getALSMinusAccess().getGroup());
2043 }
2044 // InternalAlloyLanguage.g:697:1: ( rule__ALSMinus__Group__0 )
2045 // InternalAlloyLanguage.g:697:2: rule__ALSMinus__Group__0
2046 {
2047 pushFollow(FOLLOW_2);
2048 rule__ALSMinus__Group__0();
2049
2050 state._fsp--;
2051 if (state.failed) return ;
2052
2053 }
2054
2055 if ( state.backtracking==0 ) {
2056 after(grammarAccess.getALSMinusAccess().getGroup());
2057 }
2058
2059 }
2060
2061
2062 }
2063
2064 }
2065 catch (RecognitionException re) {
2066 reportError(re);
2067 recover(input,re);
2068 }
2069 finally {
2070
2071 restoreStackSize(stackSize);
2072
2073 }
2074 return ;
2075 }
2076 // $ANTLR end "ruleALSMinus"
2077
2078
2079 // $ANTLR start "entryRuleALSPlus"
2080 // InternalAlloyLanguage.g:709:1: entryRuleALSPlus : ruleALSPlus EOF ;
2081 public final void entryRuleALSPlus() throws RecognitionException {
2082 try {
2083 // InternalAlloyLanguage.g:710:1: ( ruleALSPlus EOF )
2084 // InternalAlloyLanguage.g:711:1: ruleALSPlus EOF
2085 {
2086 if ( state.backtracking==0 ) {
2087 before(grammarAccess.getALSPlusRule());
2088 }
2089 pushFollow(FOLLOW_1);
2090 ruleALSPlus();
2091
2092 state._fsp--;
2093 if (state.failed) return ;
2094 if ( state.backtracking==0 ) {
2095 after(grammarAccess.getALSPlusRule());
2096 }
2097 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2098
2099 }
2100
2101 }
2102 catch (RecognitionException re) {
2103 reportError(re);
2104 recover(input,re);
2105 }
2106 finally {
2107 }
2108 return ;
2109 }
2110 // $ANTLR end "entryRuleALSPlus"
2111
2112
2113 // $ANTLR start "ruleALSPlus"
2114 // InternalAlloyLanguage.g:718:1: ruleALSPlus : ( ( rule__ALSPlus__Group__0 ) ) ;
2115 public final void ruleALSPlus() throws RecognitionException {
2116
2117 int stackSize = keepStackSize();
2118
2119 try {
2120 // InternalAlloyLanguage.g:722:2: ( ( ( rule__ALSPlus__Group__0 ) ) )
2121 // InternalAlloyLanguage.g:723:1: ( ( rule__ALSPlus__Group__0 ) )
2122 {
2123 // InternalAlloyLanguage.g:723:1: ( ( rule__ALSPlus__Group__0 ) )
2124 // InternalAlloyLanguage.g:724:1: ( rule__ALSPlus__Group__0 )
2125 {
2126 if ( state.backtracking==0 ) {
2127 before(grammarAccess.getALSPlusAccess().getGroup());
2128 }
2129 // InternalAlloyLanguage.g:725:1: ( rule__ALSPlus__Group__0 )
2130 // InternalAlloyLanguage.g:725:2: rule__ALSPlus__Group__0
2131 {
2132 pushFollow(FOLLOW_2);
2133 rule__ALSPlus__Group__0();
2134
2135 state._fsp--;
2136 if (state.failed) return ;
2137
2138 }
2139
2140 if ( state.backtracking==0 ) {
2141 after(grammarAccess.getALSPlusAccess().getGroup());
2142 }
2143
2144 }
2145
2146
2147 }
2148
2149 }
2150 catch (RecognitionException re) {
2151 reportError(re);
2152 recover(input,re);
2153 }
2154 finally {
2155
2156 restoreStackSize(stackSize);
2157
2158 }
2159 return ;
2160 }
2161 // $ANTLR end "ruleALSPlus"
2162
2163
2164 // $ANTLR start "entryRuleALSIntersection"
2165 // InternalAlloyLanguage.g:737:1: entryRuleALSIntersection : ruleALSIntersection EOF ;
2166 public final void entryRuleALSIntersection() throws RecognitionException {
2167 try {
2168 // InternalAlloyLanguage.g:738:1: ( ruleALSIntersection EOF )
2169 // InternalAlloyLanguage.g:739:1: ruleALSIntersection EOF
2170 {
2171 if ( state.backtracking==0 ) {
2172 before(grammarAccess.getALSIntersectionRule());
2173 }
2174 pushFollow(FOLLOW_1);
2175 ruleALSIntersection();
2176
2177 state._fsp--;
2178 if (state.failed) return ;
2179 if ( state.backtracking==0 ) {
2180 after(grammarAccess.getALSIntersectionRule());
2181 }
2182 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2183
2184 }
2185
2186 }
2187 catch (RecognitionException re) {
2188 reportError(re);
2189 recover(input,re);
2190 }
2191 finally {
2192 }
2193 return ;
2194 }
2195 // $ANTLR end "entryRuleALSIntersection"
2196
2197
2198 // $ANTLR start "ruleALSIntersection"
2199 // InternalAlloyLanguage.g:746:1: ruleALSIntersection : ( ( rule__ALSIntersection__Group__0 ) ) ;
2200 public final void ruleALSIntersection() throws RecognitionException {
2201
2202 int stackSize = keepStackSize();
2203
2204 try {
2205 // InternalAlloyLanguage.g:750:2: ( ( ( rule__ALSIntersection__Group__0 ) ) )
2206 // InternalAlloyLanguage.g:751:1: ( ( rule__ALSIntersection__Group__0 ) )
2207 {
2208 // InternalAlloyLanguage.g:751:1: ( ( rule__ALSIntersection__Group__0 ) )
2209 // InternalAlloyLanguage.g:752:1: ( rule__ALSIntersection__Group__0 )
2210 {
2211 if ( state.backtracking==0 ) {
2212 before(grammarAccess.getALSIntersectionAccess().getGroup());
2213 }
2214 // InternalAlloyLanguage.g:753:1: ( rule__ALSIntersection__Group__0 )
2215 // InternalAlloyLanguage.g:753:2: rule__ALSIntersection__Group__0
2216 {
2217 pushFollow(FOLLOW_2);
2218 rule__ALSIntersection__Group__0();
2219
2220 state._fsp--;
2221 if (state.failed) return ;
2222
2223 }
2224
2225 if ( state.backtracking==0 ) {
2226 after(grammarAccess.getALSIntersectionAccess().getGroup());
2227 }
2228
2229 }
2230
2231
2232 }
2233
2234 }
2235 catch (RecognitionException re) {
2236 reportError(re);
2237 recover(input,re);
2238 }
2239 finally {
2240
2241 restoreStackSize(stackSize);
2242
2243 }
2244 return ;
2245 }
2246 // $ANTLR end "ruleALSIntersection"
2247
2248
2249 // $ANTLR start "entryRuleALSDirectProduct"
2250 // InternalAlloyLanguage.g:765:1: entryRuleALSDirectProduct : ruleALSDirectProduct EOF ;
2251 public final void entryRuleALSDirectProduct() throws RecognitionException {
2252 try {
2253 // InternalAlloyLanguage.g:766:1: ( ruleALSDirectProduct EOF )
2254 // InternalAlloyLanguage.g:767:1: ruleALSDirectProduct EOF
2255 {
2256 if ( state.backtracking==0 ) {
2257 before(grammarAccess.getALSDirectProductRule());
2258 }
2259 pushFollow(FOLLOW_1);
2260 ruleALSDirectProduct();
2261
2262 state._fsp--;
2263 if (state.failed) return ;
2264 if ( state.backtracking==0 ) {
2265 after(grammarAccess.getALSDirectProductRule());
2266 }
2267 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2268
2269 }
2270
2271 }
2272 catch (RecognitionException re) {
2273 reportError(re);
2274 recover(input,re);
2275 }
2276 finally {
2277 }
2278 return ;
2279 }
2280 // $ANTLR end "entryRuleALSDirectProduct"
2281
2282
2283 // $ANTLR start "ruleALSDirectProduct"
2284 // InternalAlloyLanguage.g:774:1: ruleALSDirectProduct : ( ( rule__ALSDirectProduct__Group__0 ) ) ;
2285 public final void ruleALSDirectProduct() throws RecognitionException {
2286
2287 int stackSize = keepStackSize();
2288
2289 try {
2290 // InternalAlloyLanguage.g:778:2: ( ( ( rule__ALSDirectProduct__Group__0 ) ) )
2291 // InternalAlloyLanguage.g:779:1: ( ( rule__ALSDirectProduct__Group__0 ) )
2292 {
2293 // InternalAlloyLanguage.g:779:1: ( ( rule__ALSDirectProduct__Group__0 ) )
2294 // InternalAlloyLanguage.g:780:1: ( rule__ALSDirectProduct__Group__0 )
2295 {
2296 if ( state.backtracking==0 ) {
2297 before(grammarAccess.getALSDirectProductAccess().getGroup());
2298 }
2299 // InternalAlloyLanguage.g:781:1: ( rule__ALSDirectProduct__Group__0 )
2300 // InternalAlloyLanguage.g:781:2: rule__ALSDirectProduct__Group__0
2301 {
2302 pushFollow(FOLLOW_2);
2303 rule__ALSDirectProduct__Group__0();
2304
2305 state._fsp--;
2306 if (state.failed) return ;
2307
2308 }
2309
2310 if ( state.backtracking==0 ) {
2311 after(grammarAccess.getALSDirectProductAccess().getGroup());
2312 }
2313
2314 }
2315
2316
2317 }
2318
2319 }
2320 catch (RecognitionException re) {
2321 reportError(re);
2322 recover(input,re);
2323 }
2324 finally {
2325
2326 restoreStackSize(stackSize);
2327
2328 }
2329 return ;
2330 }
2331 // $ANTLR end "ruleALSDirectProduct"
2332
2333
2334 // $ANTLR start "entryRuleALSPreficed"
2335 // InternalAlloyLanguage.g:793:1: entryRuleALSPreficed : ruleALSPreficed EOF ;
2336 public final void entryRuleALSPreficed() throws RecognitionException {
2337 try {
2338 // InternalAlloyLanguage.g:794:1: ( ruleALSPreficed EOF )
2339 // InternalAlloyLanguage.g:795:1: ruleALSPreficed EOF
2340 {
2341 if ( state.backtracking==0 ) {
2342 before(grammarAccess.getALSPreficedRule());
2343 }
2344 pushFollow(FOLLOW_1);
2345 ruleALSPreficed();
2346
2347 state._fsp--;
2348 if (state.failed) return ;
2349 if ( state.backtracking==0 ) {
2350 after(grammarAccess.getALSPreficedRule());
2351 }
2352 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2353
2354 }
2355
2356 }
2357 catch (RecognitionException re) {
2358 reportError(re);
2359 recover(input,re);
2360 }
2361 finally {
2362 }
2363 return ;
2364 }
2365 // $ANTLR end "entryRuleALSPreficed"
2366
2367
2368 // $ANTLR start "ruleALSPreficed"
2369 // InternalAlloyLanguage.g:802:1: ruleALSPreficed : ( ( rule__ALSPreficed__Alternatives ) ) ;
2370 public final void ruleALSPreficed() throws RecognitionException {
2371
2372 int stackSize = keepStackSize();
2373
2374 try {
2375 // InternalAlloyLanguage.g:806:2: ( ( ( rule__ALSPreficed__Alternatives ) ) )
2376 // InternalAlloyLanguage.g:807:1: ( ( rule__ALSPreficed__Alternatives ) )
2377 {
2378 // InternalAlloyLanguage.g:807:1: ( ( rule__ALSPreficed__Alternatives ) )
2379 // InternalAlloyLanguage.g:808:1: ( rule__ALSPreficed__Alternatives )
2380 {
2381 if ( state.backtracking==0 ) {
2382 before(grammarAccess.getALSPreficedAccess().getAlternatives());
2383 }
2384 // InternalAlloyLanguage.g:809:1: ( rule__ALSPreficed__Alternatives )
2385 // InternalAlloyLanguage.g:809:2: rule__ALSPreficed__Alternatives
2386 {
2387 pushFollow(FOLLOW_2);
2388 rule__ALSPreficed__Alternatives();
2389
2390 state._fsp--;
2391 if (state.failed) return ;
2392
2393 }
2394
2395 if ( state.backtracking==0 ) {
2396 after(grammarAccess.getALSPreficedAccess().getAlternatives());
2397 }
2398
2399 }
2400
2401
2402 }
2403
2404 }
2405 catch (RecognitionException re) {
2406 reportError(re);
2407 recover(input,re);
2408 }
2409 finally {
2410
2411 restoreStackSize(stackSize);
2412
2413 }
2414 return ;
2415 }
2416 // $ANTLR end "ruleALSPreficed"
2417
2418
2419 // $ANTLR start "entryRuleALSVariableDeclaration"
2420 // InternalAlloyLanguage.g:821:1: entryRuleALSVariableDeclaration : ruleALSVariableDeclaration EOF ;
2421 public final void entryRuleALSVariableDeclaration() throws RecognitionException {
2422 try {
2423 // InternalAlloyLanguage.g:822:1: ( ruleALSVariableDeclaration EOF )
2424 // InternalAlloyLanguage.g:823:1: ruleALSVariableDeclaration EOF
2425 {
2426 if ( state.backtracking==0 ) {
2427 before(grammarAccess.getALSVariableDeclarationRule());
2428 }
2429 pushFollow(FOLLOW_1);
2430 ruleALSVariableDeclaration();
2431
2432 state._fsp--;
2433 if (state.failed) return ;
2434 if ( state.backtracking==0 ) {
2435 after(grammarAccess.getALSVariableDeclarationRule());
2436 }
2437 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2438
2439 }
2440
2441 }
2442 catch (RecognitionException re) {
2443 reportError(re);
2444 recover(input,re);
2445 }
2446 finally {
2447 }
2448 return ;
2449 }
2450 // $ANTLR end "entryRuleALSVariableDeclaration"
2451
2452
2453 // $ANTLR start "ruleALSVariableDeclaration"
2454 // InternalAlloyLanguage.g:830:1: ruleALSVariableDeclaration : ( ( rule__ALSVariableDeclaration__Group__0 ) ) ;
2455 public final void ruleALSVariableDeclaration() throws RecognitionException {
2456
2457 int stackSize = keepStackSize();
2458
2459 try {
2460 // InternalAlloyLanguage.g:834:2: ( ( ( rule__ALSVariableDeclaration__Group__0 ) ) )
2461 // InternalAlloyLanguage.g:835:1: ( ( rule__ALSVariableDeclaration__Group__0 ) )
2462 {
2463 // InternalAlloyLanguage.g:835:1: ( ( rule__ALSVariableDeclaration__Group__0 ) )
2464 // InternalAlloyLanguage.g:836:1: ( rule__ALSVariableDeclaration__Group__0 )
2465 {
2466 if ( state.backtracking==0 ) {
2467 before(grammarAccess.getALSVariableDeclarationAccess().getGroup());
2468 }
2469 // InternalAlloyLanguage.g:837:1: ( rule__ALSVariableDeclaration__Group__0 )
2470 // InternalAlloyLanguage.g:837:2: rule__ALSVariableDeclaration__Group__0
2471 {
2472 pushFollow(FOLLOW_2);
2473 rule__ALSVariableDeclaration__Group__0();
2474
2475 state._fsp--;
2476 if (state.failed) return ;
2477
2478 }
2479
2480 if ( state.backtracking==0 ) {
2481 after(grammarAccess.getALSVariableDeclarationAccess().getGroup());
2482 }
2483
2484 }
2485
2486
2487 }
2488
2489 }
2490 catch (RecognitionException re) {
2491 reportError(re);
2492 recover(input,re);
2493 }
2494 finally {
2495
2496 restoreStackSize(stackSize);
2497
2498 }
2499 return ;
2500 }
2501 // $ANTLR end "ruleALSVariableDeclaration"
2502
2503
2504 // $ANTLR start "entryRuleALSBasicRelationTerm"
2505 // InternalAlloyLanguage.g:849:1: entryRuleALSBasicRelationTerm : ruleALSBasicRelationTerm EOF ;
2506 public final void entryRuleALSBasicRelationTerm() throws RecognitionException {
2507 try {
2508 // InternalAlloyLanguage.g:850:1: ( ruleALSBasicRelationTerm EOF )
2509 // InternalAlloyLanguage.g:851:1: ruleALSBasicRelationTerm EOF
2510 {
2511 if ( state.backtracking==0 ) {
2512 before(grammarAccess.getALSBasicRelationTermRule());
2513 }
2514 pushFollow(FOLLOW_1);
2515 ruleALSBasicRelationTerm();
2516
2517 state._fsp--;
2518 if (state.failed) return ;
2519 if ( state.backtracking==0 ) {
2520 after(grammarAccess.getALSBasicRelationTermRule());
2521 }
2522 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2523
2524 }
2525
2526 }
2527 catch (RecognitionException re) {
2528 reportError(re);
2529 recover(input,re);
2530 }
2531 finally {
2532 }
2533 return ;
2534 }
2535 // $ANTLR end "entryRuleALSBasicRelationTerm"
2536
2537
2538 // $ANTLR start "ruleALSBasicRelationTerm"
2539 // InternalAlloyLanguage.g:858:1: ruleALSBasicRelationTerm : ( ( rule__ALSBasicRelationTerm__Alternatives ) ) ;
2540 public final void ruleALSBasicRelationTerm() throws RecognitionException {
2541
2542 int stackSize = keepStackSize();
2543
2544 try {
2545 // InternalAlloyLanguage.g:862:2: ( ( ( rule__ALSBasicRelationTerm__Alternatives ) ) )
2546 // InternalAlloyLanguage.g:863:1: ( ( rule__ALSBasicRelationTerm__Alternatives ) )
2547 {
2548 // InternalAlloyLanguage.g:863:1: ( ( rule__ALSBasicRelationTerm__Alternatives ) )
2549 // InternalAlloyLanguage.g:864:1: ( rule__ALSBasicRelationTerm__Alternatives )
2550 {
2551 if ( state.backtracking==0 ) {
2552 before(grammarAccess.getALSBasicRelationTermAccess().getAlternatives());
2553 }
2554 // InternalAlloyLanguage.g:865:1: ( rule__ALSBasicRelationTerm__Alternatives )
2555 // InternalAlloyLanguage.g:865:2: rule__ALSBasicRelationTerm__Alternatives
2556 {
2557 pushFollow(FOLLOW_2);
2558 rule__ALSBasicRelationTerm__Alternatives();
2559
2560 state._fsp--;
2561 if (state.failed) return ;
2562
2563 }
2564
2565 if ( state.backtracking==0 ) {
2566 after(grammarAccess.getALSBasicRelationTermAccess().getAlternatives());
2567 }
2568
2569 }
2570
2571
2572 }
2573
2574 }
2575 catch (RecognitionException re) {
2576 reportError(re);
2577 recover(input,re);
2578 }
2579 finally {
2580
2581 restoreStackSize(stackSize);
2582
2583 }
2584 return ;
2585 }
2586 // $ANTLR end "ruleALSBasicRelationTerm"
2587
2588
2589 // $ANTLR start "entryRuleALSRunCommand"
2590 // InternalAlloyLanguage.g:877:1: entryRuleALSRunCommand : ruleALSRunCommand EOF ;
2591 public final void entryRuleALSRunCommand() throws RecognitionException {
2592 try {
2593 // InternalAlloyLanguage.g:878:1: ( ruleALSRunCommand EOF )
2594 // InternalAlloyLanguage.g:879:1: ruleALSRunCommand EOF
2595 {
2596 if ( state.backtracking==0 ) {
2597 before(grammarAccess.getALSRunCommandRule());
2598 }
2599 pushFollow(FOLLOW_1);
2600 ruleALSRunCommand();
2601
2602 state._fsp--;
2603 if (state.failed) return ;
2604 if ( state.backtracking==0 ) {
2605 after(grammarAccess.getALSRunCommandRule());
2606 }
2607 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2608
2609 }
2610
2611 }
2612 catch (RecognitionException re) {
2613 reportError(re);
2614 recover(input,re);
2615 }
2616 finally {
2617 }
2618 return ;
2619 }
2620 // $ANTLR end "entryRuleALSRunCommand"
2621
2622
2623 // $ANTLR start "ruleALSRunCommand"
2624 // InternalAlloyLanguage.g:886:1: ruleALSRunCommand : ( ( rule__ALSRunCommand__Group__0 ) ) ;
2625 public final void ruleALSRunCommand() throws RecognitionException {
2626
2627 int stackSize = keepStackSize();
2628
2629 try {
2630 // InternalAlloyLanguage.g:890:2: ( ( ( rule__ALSRunCommand__Group__0 ) ) )
2631 // InternalAlloyLanguage.g:891:1: ( ( rule__ALSRunCommand__Group__0 ) )
2632 {
2633 // InternalAlloyLanguage.g:891:1: ( ( rule__ALSRunCommand__Group__0 ) )
2634 // InternalAlloyLanguage.g:892:1: ( rule__ALSRunCommand__Group__0 )
2635 {
2636 if ( state.backtracking==0 ) {
2637 before(grammarAccess.getALSRunCommandAccess().getGroup());
2638 }
2639 // InternalAlloyLanguage.g:893:1: ( rule__ALSRunCommand__Group__0 )
2640 // InternalAlloyLanguage.g:893:2: rule__ALSRunCommand__Group__0
2641 {
2642 pushFollow(FOLLOW_2);
2643 rule__ALSRunCommand__Group__0();
2644
2645 state._fsp--;
2646 if (state.failed) return ;
2647
2648 }
2649
2650 if ( state.backtracking==0 ) {
2651 after(grammarAccess.getALSRunCommandAccess().getGroup());
2652 }
2653
2654 }
2655
2656
2657 }
2658
2659 }
2660 catch (RecognitionException re) {
2661 reportError(re);
2662 recover(input,re);
2663 }
2664 finally {
2665
2666 restoreStackSize(stackSize);
2667
2668 }
2669 return ;
2670 }
2671 // $ANTLR end "ruleALSRunCommand"
2672
2673
2674 // $ANTLR start "entryRuleALSTypeScope"
2675 // InternalAlloyLanguage.g:905:1: entryRuleALSTypeScope : ruleALSTypeScope EOF ;
2676 public final void entryRuleALSTypeScope() throws RecognitionException {
2677 try {
2678 // InternalAlloyLanguage.g:906:1: ( ruleALSTypeScope EOF )
2679 // InternalAlloyLanguage.g:907:1: ruleALSTypeScope EOF
2680 {
2681 if ( state.backtracking==0 ) {
2682 before(grammarAccess.getALSTypeScopeRule());
2683 }
2684 pushFollow(FOLLOW_1);
2685 ruleALSTypeScope();
2686
2687 state._fsp--;
2688 if (state.failed) return ;
2689 if ( state.backtracking==0 ) {
2690 after(grammarAccess.getALSTypeScopeRule());
2691 }
2692 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2693
2694 }
2695
2696 }
2697 catch (RecognitionException re) {
2698 reportError(re);
2699 recover(input,re);
2700 }
2701 finally {
2702 }
2703 return ;
2704 }
2705 // $ANTLR end "entryRuleALSTypeScope"
2706
2707
2708 // $ANTLR start "ruleALSTypeScope"
2709 // InternalAlloyLanguage.g:914:1: ruleALSTypeScope : ( ( rule__ALSTypeScope__Alternatives ) ) ;
2710 public final void ruleALSTypeScope() throws RecognitionException {
2711
2712 int stackSize = keepStackSize();
2713
2714 try {
2715 // InternalAlloyLanguage.g:918:2: ( ( ( rule__ALSTypeScope__Alternatives ) ) )
2716 // InternalAlloyLanguage.g:919:1: ( ( rule__ALSTypeScope__Alternatives ) )
2717 {
2718 // InternalAlloyLanguage.g:919:1: ( ( rule__ALSTypeScope__Alternatives ) )
2719 // InternalAlloyLanguage.g:920:1: ( rule__ALSTypeScope__Alternatives )
2720 {
2721 if ( state.backtracking==0 ) {
2722 before(grammarAccess.getALSTypeScopeAccess().getAlternatives());
2723 }
2724 // InternalAlloyLanguage.g:921:1: ( rule__ALSTypeScope__Alternatives )
2725 // InternalAlloyLanguage.g:921:2: rule__ALSTypeScope__Alternatives
2726 {
2727 pushFollow(FOLLOW_2);
2728 rule__ALSTypeScope__Alternatives();
2729
2730 state._fsp--;
2731 if (state.failed) return ;
2732
2733 }
2734
2735 if ( state.backtracking==0 ) {
2736 after(grammarAccess.getALSTypeScopeAccess().getAlternatives());
2737 }
2738
2739 }
2740
2741
2742 }
2743
2744 }
2745 catch (RecognitionException re) {
2746 reportError(re);
2747 recover(input,re);
2748 }
2749 finally {
2750
2751 restoreStackSize(stackSize);
2752
2753 }
2754 return ;
2755 }
2756 // $ANTLR end "ruleALSTypeScope"
2757
2758
2759 // $ANTLR start "entryRuleALSSigScope"
2760 // InternalAlloyLanguage.g:933:1: entryRuleALSSigScope : ruleALSSigScope EOF ;
2761 public final void entryRuleALSSigScope() throws RecognitionException {
2762 try {
2763 // InternalAlloyLanguage.g:934:1: ( ruleALSSigScope EOF )
2764 // InternalAlloyLanguage.g:935:1: ruleALSSigScope EOF
2765 {
2766 if ( state.backtracking==0 ) {
2767 before(grammarAccess.getALSSigScopeRule());
2768 }
2769 pushFollow(FOLLOW_1);
2770 ruleALSSigScope();
2771
2772 state._fsp--;
2773 if (state.failed) return ;
2774 if ( state.backtracking==0 ) {
2775 after(grammarAccess.getALSSigScopeRule());
2776 }
2777 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2778
2779 }
2780
2781 }
2782 catch (RecognitionException re) {
2783 reportError(re);
2784 recover(input,re);
2785 }
2786 finally {
2787 }
2788 return ;
2789 }
2790 // $ANTLR end "entryRuleALSSigScope"
2791
2792
2793 // $ANTLR start "ruleALSSigScope"
2794 // InternalAlloyLanguage.g:942:1: ruleALSSigScope : ( ( rule__ALSSigScope__Group__0 ) ) ;
2795 public final void ruleALSSigScope() throws RecognitionException {
2796
2797 int stackSize = keepStackSize();
2798
2799 try {
2800 // InternalAlloyLanguage.g:946:2: ( ( ( rule__ALSSigScope__Group__0 ) ) )
2801 // InternalAlloyLanguage.g:947:1: ( ( rule__ALSSigScope__Group__0 ) )
2802 {
2803 // InternalAlloyLanguage.g:947:1: ( ( rule__ALSSigScope__Group__0 ) )
2804 // InternalAlloyLanguage.g:948:1: ( rule__ALSSigScope__Group__0 )
2805 {
2806 if ( state.backtracking==0 ) {
2807 before(grammarAccess.getALSSigScopeAccess().getGroup());
2808 }
2809 // InternalAlloyLanguage.g:949:1: ( rule__ALSSigScope__Group__0 )
2810 // InternalAlloyLanguage.g:949:2: rule__ALSSigScope__Group__0
2811 {
2812 pushFollow(FOLLOW_2);
2813 rule__ALSSigScope__Group__0();
2814
2815 state._fsp--;
2816 if (state.failed) return ;
2817
2818 }
2819
2820 if ( state.backtracking==0 ) {
2821 after(grammarAccess.getALSSigScopeAccess().getGroup());
2822 }
2823
2824 }
2825
2826
2827 }
2828
2829 }
2830 catch (RecognitionException re) {
2831 reportError(re);
2832 recover(input,re);
2833 }
2834 finally {
2835
2836 restoreStackSize(stackSize);
2837
2838 }
2839 return ;
2840 }
2841 // $ANTLR end "ruleALSSigScope"
2842
2843
2844 // $ANTLR start "entryRuleALSIntScope"
2845 // InternalAlloyLanguage.g:961:1: entryRuleALSIntScope : ruleALSIntScope EOF ;
2846 public final void entryRuleALSIntScope() throws RecognitionException {
2847 try {
2848 // InternalAlloyLanguage.g:962:1: ( ruleALSIntScope EOF )
2849 // InternalAlloyLanguage.g:963:1: ruleALSIntScope EOF
2850 {
2851 if ( state.backtracking==0 ) {
2852 before(grammarAccess.getALSIntScopeRule());
2853 }
2854 pushFollow(FOLLOW_1);
2855 ruleALSIntScope();
2856
2857 state._fsp--;
2858 if (state.failed) return ;
2859 if ( state.backtracking==0 ) {
2860 after(grammarAccess.getALSIntScopeRule());
2861 }
2862 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2863
2864 }
2865
2866 }
2867 catch (RecognitionException re) {
2868 reportError(re);
2869 recover(input,re);
2870 }
2871 finally {
2872 }
2873 return ;
2874 }
2875 // $ANTLR end "entryRuleALSIntScope"
2876
2877
2878 // $ANTLR start "ruleALSIntScope"
2879 // InternalAlloyLanguage.g:970:1: ruleALSIntScope : ( ( rule__ALSIntScope__Group__0 ) ) ;
2880 public final void ruleALSIntScope() throws RecognitionException {
2881
2882 int stackSize = keepStackSize();
2883
2884 try {
2885 // InternalAlloyLanguage.g:974:2: ( ( ( rule__ALSIntScope__Group__0 ) ) )
2886 // InternalAlloyLanguage.g:975:1: ( ( rule__ALSIntScope__Group__0 ) )
2887 {
2888 // InternalAlloyLanguage.g:975:1: ( ( rule__ALSIntScope__Group__0 ) )
2889 // InternalAlloyLanguage.g:976:1: ( rule__ALSIntScope__Group__0 )
2890 {
2891 if ( state.backtracking==0 ) {
2892 before(grammarAccess.getALSIntScopeAccess().getGroup());
2893 }
2894 // InternalAlloyLanguage.g:977:1: ( rule__ALSIntScope__Group__0 )
2895 // InternalAlloyLanguage.g:977:2: rule__ALSIntScope__Group__0
2896 {
2897 pushFollow(FOLLOW_2);
2898 rule__ALSIntScope__Group__0();
2899
2900 state._fsp--;
2901 if (state.failed) return ;
2902
2903 }
2904
2905 if ( state.backtracking==0 ) {
2906 after(grammarAccess.getALSIntScopeAccess().getGroup());
2907 }
2908
2909 }
2910
2911
2912 }
2913
2914 }
2915 catch (RecognitionException re) {
2916 reportError(re);
2917 recover(input,re);
2918 }
2919 finally {
2920
2921 restoreStackSize(stackSize);
2922
2923 }
2924 return ;
2925 }
2926 // $ANTLR end "ruleALSIntScope"
2927
2928
2929 // $ANTLR start "entryRuleALSStringScope"
2930 // InternalAlloyLanguage.g:989:1: entryRuleALSStringScope : ruleALSStringScope EOF ;
2931 public final void entryRuleALSStringScope() throws RecognitionException {
2932 try {
2933 // InternalAlloyLanguage.g:990:1: ( ruleALSStringScope EOF )
2934 // InternalAlloyLanguage.g:991:1: ruleALSStringScope EOF
2935 {
2936 if ( state.backtracking==0 ) {
2937 before(grammarAccess.getALSStringScopeRule());
2938 }
2939 pushFollow(FOLLOW_1);
2940 ruleALSStringScope();
2941
2942 state._fsp--;
2943 if (state.failed) return ;
2944 if ( state.backtracking==0 ) {
2945 after(grammarAccess.getALSStringScopeRule());
2946 }
2947 match(input,EOF,FOLLOW_2); if (state.failed) return ;
2948
2949 }
2950
2951 }
2952 catch (RecognitionException re) {
2953 reportError(re);
2954 recover(input,re);
2955 }
2956 finally {
2957 }
2958 return ;
2959 }
2960 // $ANTLR end "entryRuleALSStringScope"
2961
2962
2963 // $ANTLR start "ruleALSStringScope"
2964 // InternalAlloyLanguage.g:998:1: ruleALSStringScope : ( ( rule__ALSStringScope__Group__0 ) ) ;
2965 public final void ruleALSStringScope() throws RecognitionException {
2966
2967 int stackSize = keepStackSize();
2968
2969 try {
2970 // InternalAlloyLanguage.g:1002:2: ( ( ( rule__ALSStringScope__Group__0 ) ) )
2971 // InternalAlloyLanguage.g:1003:1: ( ( rule__ALSStringScope__Group__0 ) )
2972 {
2973 // InternalAlloyLanguage.g:1003:1: ( ( rule__ALSStringScope__Group__0 ) )
2974 // InternalAlloyLanguage.g:1004:1: ( rule__ALSStringScope__Group__0 )
2975 {
2976 if ( state.backtracking==0 ) {
2977 before(grammarAccess.getALSStringScopeAccess().getGroup());
2978 }
2979 // InternalAlloyLanguage.g:1005:1: ( rule__ALSStringScope__Group__0 )
2980 // InternalAlloyLanguage.g:1005:2: rule__ALSStringScope__Group__0
2981 {
2982 pushFollow(FOLLOW_2);
2983 rule__ALSStringScope__Group__0();
2984
2985 state._fsp--;
2986 if (state.failed) return ;
2987
2988 }
2989
2990 if ( state.backtracking==0 ) {
2991 after(grammarAccess.getALSStringScopeAccess().getGroup());
2992 }
2993
2994 }
2995
2996
2997 }
2998
2999 }
3000 catch (RecognitionException re) {
3001 reportError(re);
3002 recover(input,re);
3003 }
3004 finally {
3005
3006 restoreStackSize(stackSize);
3007
3008 }
3009 return ;
3010 }
3011 // $ANTLR end "ruleALSStringScope"
3012
3013
3014 // $ANTLR start "ruleALSMultiplicity"
3015 // InternalAlloyLanguage.g:1018:1: ruleALSMultiplicity : ( ( rule__ALSMultiplicity__Alternatives ) ) ;
3016 public final void ruleALSMultiplicity() throws RecognitionException {
3017
3018 int stackSize = keepStackSize();
3019
3020 try {
3021 // InternalAlloyLanguage.g:1022:1: ( ( ( rule__ALSMultiplicity__Alternatives ) ) )
3022 // InternalAlloyLanguage.g:1023:1: ( ( rule__ALSMultiplicity__Alternatives ) )
3023 {
3024 // InternalAlloyLanguage.g:1023:1: ( ( rule__ALSMultiplicity__Alternatives ) )
3025 // InternalAlloyLanguage.g:1024:1: ( rule__ALSMultiplicity__Alternatives )
3026 {
3027 if ( state.backtracking==0 ) {
3028 before(grammarAccess.getALSMultiplicityAccess().getAlternatives());
3029 }
3030 // InternalAlloyLanguage.g:1025:1: ( rule__ALSMultiplicity__Alternatives )
3031 // InternalAlloyLanguage.g:1025:2: rule__ALSMultiplicity__Alternatives
3032 {
3033 pushFollow(FOLLOW_2);
3034 rule__ALSMultiplicity__Alternatives();
3035
3036 state._fsp--;
3037 if (state.failed) return ;
3038
3039 }
3040
3041 if ( state.backtracking==0 ) {
3042 after(grammarAccess.getALSMultiplicityAccess().getAlternatives());
3043 }
3044
3045 }
3046
3047
3048 }
3049
3050 }
3051 catch (RecognitionException re) {
3052 reportError(re);
3053 recover(input,re);
3054 }
3055 finally {
3056
3057 restoreStackSize(stackSize);
3058
3059 }
3060 return ;
3061 }
3062 // $ANTLR end "ruleALSMultiplicity"
3063
3064
3065 // $ANTLR start "ruleALSNumericOperator"
3066 // InternalAlloyLanguage.g:1037:1: ruleALSNumericOperator : ( ( rule__ALSNumericOperator__Alternatives ) ) ;
3067 public final void ruleALSNumericOperator() throws RecognitionException {
3068
3069 int stackSize = keepStackSize();
3070
3071 try {
3072 // InternalAlloyLanguage.g:1041:1: ( ( ( rule__ALSNumericOperator__Alternatives ) ) )
3073 // InternalAlloyLanguage.g:1042:1: ( ( rule__ALSNumericOperator__Alternatives ) )
3074 {
3075 // InternalAlloyLanguage.g:1042:1: ( ( rule__ALSNumericOperator__Alternatives ) )
3076 // InternalAlloyLanguage.g:1043:1: ( rule__ALSNumericOperator__Alternatives )
3077 {
3078 if ( state.backtracking==0 ) {
3079 before(grammarAccess.getALSNumericOperatorAccess().getAlternatives());
3080 }
3081 // InternalAlloyLanguage.g:1044:1: ( rule__ALSNumericOperator__Alternatives )
3082 // InternalAlloyLanguage.g:1044:2: rule__ALSNumericOperator__Alternatives
3083 {
3084 pushFollow(FOLLOW_2);
3085 rule__ALSNumericOperator__Alternatives();
3086
3087 state._fsp--;
3088 if (state.failed) return ;
3089
3090 }
3091
3092 if ( state.backtracking==0 ) {
3093 after(grammarAccess.getALSNumericOperatorAccess().getAlternatives());
3094 }
3095
3096 }
3097
3098
3099 }
3100
3101 }
3102 catch (RecognitionException re) {
3103 reportError(re);
3104 recover(input,re);
3105 }
3106 finally {
3107
3108 restoreStackSize(stackSize);
3109
3110 }
3111 return ;
3112 }
3113 // $ANTLR end "ruleALSNumericOperator"
3114
3115
3116 // $ANTLR start "rule__ALSDocument__Alternatives_0"
3117 // InternalAlloyLanguage.g:1055:1: rule__ALSDocument__Alternatives_0 : ( ( ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 ) ) | ( ( rule__ALSDocument__SignatureBodiesAssignment_0_1 ) ) | ( ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 ) ) | ( ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 ) ) | ( ( rule__ALSDocument__FactDeclarationsAssignment_0_4 ) ) );
3118 public final void rule__ALSDocument__Alternatives_0() throws RecognitionException {
3119
3120 int stackSize = keepStackSize();
3121
3122 try {
3123 // InternalAlloyLanguage.g:1059:1: ( ( ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 ) ) | ( ( rule__ALSDocument__SignatureBodiesAssignment_0_1 ) ) | ( ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 ) ) | ( ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 ) ) | ( ( rule__ALSDocument__FactDeclarationsAssignment_0_4 ) ) )
3124 int alt1=5;
3125 switch ( input.LA(1) ) {
3126 case 32:
3127 {
3128 alt1=1;
3129 }
3130 break;
3131 case 21:
3132 case 22:
3133 case 23:
3134 case 24:
3135 case 25:
3136 case 26:
3137 case 36:
3138 case 75:
3139 {
3140 alt1=2;
3141 }
3142 break;
3143 case 41:
3144 {
3145 alt1=3;
3146 }
3147 break;
3148 case 44:
3149 {
3150 alt1=4;
3151 }
3152 break;
3153 case 45:
3154 {
3155 alt1=5;
3156 }
3157 break;
3158 default:
3159 if (state.backtracking>0) {state.failed=true; return ;}
3160 NoViableAltException nvae =
3161 new NoViableAltException("", 1, 0, input);
3162
3163 throw nvae;
3164 }
3165
3166 switch (alt1) {
3167 case 1 :
3168 // InternalAlloyLanguage.g:1060:1: ( ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 ) )
3169 {
3170 // InternalAlloyLanguage.g:1060:1: ( ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 ) )
3171 // InternalAlloyLanguage.g:1061:1: ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 )
3172 {
3173 if ( state.backtracking==0 ) {
3174 before(grammarAccess.getALSDocumentAccess().getEnumDeclarationsAssignment_0_0());
3175 }
3176 // InternalAlloyLanguage.g:1062:1: ( rule__ALSDocument__EnumDeclarationsAssignment_0_0 )
3177 // InternalAlloyLanguage.g:1062:2: rule__ALSDocument__EnumDeclarationsAssignment_0_0
3178 {
3179 pushFollow(FOLLOW_2);
3180 rule__ALSDocument__EnumDeclarationsAssignment_0_0();
3181
3182 state._fsp--;
3183 if (state.failed) return ;
3184
3185 }
3186
3187 if ( state.backtracking==0 ) {
3188 after(grammarAccess.getALSDocumentAccess().getEnumDeclarationsAssignment_0_0());
3189 }
3190
3191 }
3192
3193
3194 }
3195 break;
3196 case 2 :
3197 // InternalAlloyLanguage.g:1066:6: ( ( rule__ALSDocument__SignatureBodiesAssignment_0_1 ) )
3198 {
3199 // InternalAlloyLanguage.g:1066:6: ( ( rule__ALSDocument__SignatureBodiesAssignment_0_1 ) )
3200 // InternalAlloyLanguage.g:1067:1: ( rule__ALSDocument__SignatureBodiesAssignment_0_1 )
3201 {
3202 if ( state.backtracking==0 ) {
3203 before(grammarAccess.getALSDocumentAccess().getSignatureBodiesAssignment_0_1());
3204 }
3205 // InternalAlloyLanguage.g:1068:1: ( rule__ALSDocument__SignatureBodiesAssignment_0_1 )
3206 // InternalAlloyLanguage.g:1068:2: rule__ALSDocument__SignatureBodiesAssignment_0_1
3207 {
3208 pushFollow(FOLLOW_2);
3209 rule__ALSDocument__SignatureBodiesAssignment_0_1();
3210
3211 state._fsp--;
3212 if (state.failed) return ;
3213
3214 }
3215
3216 if ( state.backtracking==0 ) {
3217 after(grammarAccess.getALSDocumentAccess().getSignatureBodiesAssignment_0_1());
3218 }
3219
3220 }
3221
3222
3223 }
3224 break;
3225 case 3 :
3226 // InternalAlloyLanguage.g:1072:6: ( ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 ) )
3227 {
3228 // InternalAlloyLanguage.g:1072:6: ( ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 ) )
3229 // InternalAlloyLanguage.g:1073:1: ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 )
3230 {
3231 if ( state.backtracking==0 ) {
3232 before(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsAssignment_0_2());
3233 }
3234 // InternalAlloyLanguage.g:1074:1: ( rule__ALSDocument__FunctionDefinitionsAssignment_0_2 )
3235 // InternalAlloyLanguage.g:1074:2: rule__ALSDocument__FunctionDefinitionsAssignment_0_2
3236 {
3237 pushFollow(FOLLOW_2);
3238 rule__ALSDocument__FunctionDefinitionsAssignment_0_2();
3239
3240 state._fsp--;
3241 if (state.failed) return ;
3242
3243 }
3244
3245 if ( state.backtracking==0 ) {
3246 after(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsAssignment_0_2());
3247 }
3248
3249 }
3250
3251
3252 }
3253 break;
3254 case 4 :
3255 // InternalAlloyLanguage.g:1078:6: ( ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 ) )
3256 {
3257 // InternalAlloyLanguage.g:1078:6: ( ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 ) )
3258 // InternalAlloyLanguage.g:1079:1: ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 )
3259 {
3260 if ( state.backtracking==0 ) {
3261 before(grammarAccess.getALSDocumentAccess().getRelationDefinitionsAssignment_0_3());
3262 }
3263 // InternalAlloyLanguage.g:1080:1: ( rule__ALSDocument__RelationDefinitionsAssignment_0_3 )
3264 // InternalAlloyLanguage.g:1080:2: rule__ALSDocument__RelationDefinitionsAssignment_0_3
3265 {
3266 pushFollow(FOLLOW_2);
3267 rule__ALSDocument__RelationDefinitionsAssignment_0_3();
3268
3269 state._fsp--;
3270 if (state.failed) return ;
3271
3272 }
3273
3274 if ( state.backtracking==0 ) {
3275 after(grammarAccess.getALSDocumentAccess().getRelationDefinitionsAssignment_0_3());
3276 }
3277
3278 }
3279
3280
3281 }
3282 break;
3283 case 5 :
3284 // InternalAlloyLanguage.g:1084:6: ( ( rule__ALSDocument__FactDeclarationsAssignment_0_4 ) )
3285 {
3286 // InternalAlloyLanguage.g:1084:6: ( ( rule__ALSDocument__FactDeclarationsAssignment_0_4 ) )
3287 // InternalAlloyLanguage.g:1085:1: ( rule__ALSDocument__FactDeclarationsAssignment_0_4 )
3288 {
3289 if ( state.backtracking==0 ) {
3290 before(grammarAccess.getALSDocumentAccess().getFactDeclarationsAssignment_0_4());
3291 }
3292 // InternalAlloyLanguage.g:1086:1: ( rule__ALSDocument__FactDeclarationsAssignment_0_4 )
3293 // InternalAlloyLanguage.g:1086:2: rule__ALSDocument__FactDeclarationsAssignment_0_4
3294 {
3295 pushFollow(FOLLOW_2);
3296 rule__ALSDocument__FactDeclarationsAssignment_0_4();
3297
3298 state._fsp--;
3299 if (state.failed) return ;
3300
3301 }
3302
3303 if ( state.backtracking==0 ) {
3304 after(grammarAccess.getALSDocumentAccess().getFactDeclarationsAssignment_0_4());
3305 }
3306
3307 }
3308
3309
3310 }
3311 break;
3312
3313 }
3314 }
3315 catch (RecognitionException re) {
3316 reportError(re);
3317 recover(input,re);
3318 }
3319 finally {
3320
3321 restoreStackSize(stackSize);
3322
3323 }
3324 return ;
3325 }
3326 // $ANTLR end "rule__ALSDocument__Alternatives_0"
3327
3328
3329 // $ANTLR start "rule__ALSTypeDeclaration__Alternatives"
3330 // InternalAlloyLanguage.g:1096:1: rule__ALSTypeDeclaration__Alternatives : ( ( ruleALSEnumDeclaration ) | ( ruleALSSignatureDeclaration ) );
3331 public final void rule__ALSTypeDeclaration__Alternatives() throws RecognitionException {
3332
3333 int stackSize = keepStackSize();
3334
3335 try {
3336 // InternalAlloyLanguage.g:1100:1: ( ( ruleALSEnumDeclaration ) | ( ruleALSSignatureDeclaration ) )
3337 int alt2=2;
3338 int LA2_0 = input.LA(1);
3339
3340 if ( (LA2_0==32) ) {
3341 alt2=1;
3342 }
3343 else if ( (LA2_0==RULE_ID) ) {
3344 alt2=2;
3345 }
3346 else {
3347 if (state.backtracking>0) {state.failed=true; return ;}
3348 NoViableAltException nvae =
3349 new NoViableAltException("", 2, 0, input);
3350
3351 throw nvae;
3352 }
3353 switch (alt2) {
3354 case 1 :
3355 // InternalAlloyLanguage.g:1101:1: ( ruleALSEnumDeclaration )
3356 {
3357 // InternalAlloyLanguage.g:1101:1: ( ruleALSEnumDeclaration )
3358 // InternalAlloyLanguage.g:1102:1: ruleALSEnumDeclaration
3359 {
3360 if ( state.backtracking==0 ) {
3361 before(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0());
3362 }
3363 pushFollow(FOLLOW_2);
3364 ruleALSEnumDeclaration();
3365
3366 state._fsp--;
3367 if (state.failed) return ;
3368 if ( state.backtracking==0 ) {
3369 after(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0());
3370 }
3371
3372 }
3373
3374
3375 }
3376 break;
3377 case 2 :
3378 // InternalAlloyLanguage.g:1107:6: ( ruleALSSignatureDeclaration )
3379 {
3380 // InternalAlloyLanguage.g:1107:6: ( ruleALSSignatureDeclaration )
3381 // InternalAlloyLanguage.g:1108:1: ruleALSSignatureDeclaration
3382 {
3383 if ( state.backtracking==0 ) {
3384 before(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1());
3385 }
3386 pushFollow(FOLLOW_2);
3387 ruleALSSignatureDeclaration();
3388
3389 state._fsp--;
3390 if (state.failed) return ;
3391 if ( state.backtracking==0 ) {
3392 after(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1());
3393 }
3394
3395 }
3396
3397
3398 }
3399 break;
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__ALSTypeDeclaration__Alternatives"
3415
3416
3417 // $ANTLR start "rule__ALSSignatureBody__Alternatives_4"
3418 // InternalAlloyLanguage.g:1118:1: rule__ALSSignatureBody__Alternatives_4 : ( ( ( rule__ALSSignatureBody__Group_4_0__0 ) ) | ( ( rule__ALSSignatureBody__Group_4_1__0 ) ) );
3419 public final void rule__ALSSignatureBody__Alternatives_4() throws RecognitionException {
3420
3421 int stackSize = keepStackSize();
3422
3423 try {
3424 // InternalAlloyLanguage.g:1122:1: ( ( ( rule__ALSSignatureBody__Group_4_0__0 ) ) | ( ( rule__ALSSignatureBody__Group_4_1__0 ) ) )
3425 int alt3=2;
3426 int LA3_0 = input.LA(1);
3427
3428 if ( (LA3_0==37) ) {
3429 alt3=1;
3430 }
3431 else if ( (LA3_0==38) ) {
3432 alt3=2;
3433 }
3434 else {
3435 if (state.backtracking>0) {state.failed=true; return ;}
3436 NoViableAltException nvae =
3437 new NoViableAltException("", 3, 0, input);
3438
3439 throw nvae;
3440 }
3441 switch (alt3) {
3442 case 1 :
3443 // InternalAlloyLanguage.g:1123:1: ( ( rule__ALSSignatureBody__Group_4_0__0 ) )
3444 {
3445 // InternalAlloyLanguage.g:1123:1: ( ( rule__ALSSignatureBody__Group_4_0__0 ) )
3446 // InternalAlloyLanguage.g:1124:1: ( rule__ALSSignatureBody__Group_4_0__0 )
3447 {
3448 if ( state.backtracking==0 ) {
3449 before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_0());
3450 }
3451 // InternalAlloyLanguage.g:1125:1: ( rule__ALSSignatureBody__Group_4_0__0 )
3452 // InternalAlloyLanguage.g:1125:2: rule__ALSSignatureBody__Group_4_0__0
3453 {
3454 pushFollow(FOLLOW_2);
3455 rule__ALSSignatureBody__Group_4_0__0();
3456
3457 state._fsp--;
3458 if (state.failed) return ;
3459
3460 }
3461
3462 if ( state.backtracking==0 ) {
3463 after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_0());
3464 }
3465
3466 }
3467
3468
3469 }
3470 break;
3471 case 2 :
3472 // InternalAlloyLanguage.g:1129:6: ( ( rule__ALSSignatureBody__Group_4_1__0 ) )
3473 {
3474 // InternalAlloyLanguage.g:1129:6: ( ( rule__ALSSignatureBody__Group_4_1__0 ) )
3475 // InternalAlloyLanguage.g:1130:1: ( rule__ALSSignatureBody__Group_4_1__0 )
3476 {
3477 if ( state.backtracking==0 ) {
3478 before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1());
3479 }
3480 // InternalAlloyLanguage.g:1131:1: ( rule__ALSSignatureBody__Group_4_1__0 )
3481 // InternalAlloyLanguage.g:1131:2: rule__ALSSignatureBody__Group_4_1__0
3482 {
3483 pushFollow(FOLLOW_2);
3484 rule__ALSSignatureBody__Group_4_1__0();
3485
3486 state._fsp--;
3487 if (state.failed) return ;
3488
3489 }
3490
3491 if ( state.backtracking==0 ) {
3492 after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1());
3493 }
3494
3495 }
3496
3497
3498 }
3499 break;
3500
3501 }
3502 }
3503 catch (RecognitionException re) {
3504 reportError(re);
3505 recover(input,re);
3506 }
3507 finally {
3508
3509 restoreStackSize(stackSize);
3510
3511 }
3512 return ;
3513 }
3514 // $ANTLR end "rule__ALSSignatureBody__Alternatives_4"
3515
3516
3517 // $ANTLR start "rule__ALSQuantified__Alternatives"
3518 // InternalAlloyLanguage.g:1141:1: rule__ALSQuantified__Alternatives : ( ( ( rule__ALSQuantified__Group_0__0 ) ) | ( ruleALSOr ) );
3519 public final void rule__ALSQuantified__Alternatives() throws RecognitionException {
3520
3521 int stackSize = keepStackSize();
3522
3523 try {
3524 // InternalAlloyLanguage.g:1145:1: ( ( ( rule__ALSQuantified__Group_0__0 ) ) | ( ruleALSOr ) )
3525 int alt4=2;
3526 int LA4_0 = input.LA(1);
3527
3528 if ( ((LA4_0>=21 && LA4_0<=26)) ) {
3529 alt4=1;
3530 }
3531 else if ( ((LA4_0>=RULE_ID && LA4_0<=RULE_STRING)||(LA4_0>=19 && LA4_0<=20)||(LA4_0>=27 && LA4_0<=31)||LA4_0==57||(LA4_0>=60 && LA4_0<=70)) ) {
3532 alt4=2;
3533 }
3534 else {
3535 if (state.backtracking>0) {state.failed=true; return ;}
3536 NoViableAltException nvae =
3537 new NoViableAltException("", 4, 0, input);
3538
3539 throw nvae;
3540 }
3541 switch (alt4) {
3542 case 1 :
3543 // InternalAlloyLanguage.g:1146:1: ( ( rule__ALSQuantified__Group_0__0 ) )
3544 {
3545 // InternalAlloyLanguage.g:1146:1: ( ( rule__ALSQuantified__Group_0__0 ) )
3546 // InternalAlloyLanguage.g:1147:1: ( rule__ALSQuantified__Group_0__0 )
3547 {
3548 if ( state.backtracking==0 ) {
3549 before(grammarAccess.getALSQuantifiedAccess().getGroup_0());
3550 }
3551 // InternalAlloyLanguage.g:1148:1: ( rule__ALSQuantified__Group_0__0 )
3552 // InternalAlloyLanguage.g:1148:2: rule__ALSQuantified__Group_0__0
3553 {
3554 pushFollow(FOLLOW_2);
3555 rule__ALSQuantified__Group_0__0();
3556
3557 state._fsp--;
3558 if (state.failed) return ;
3559
3560 }
3561
3562 if ( state.backtracking==0 ) {
3563 after(grammarAccess.getALSQuantifiedAccess().getGroup_0());
3564 }
3565
3566 }
3567
3568
3569 }
3570 break;
3571 case 2 :
3572 // InternalAlloyLanguage.g:1152:6: ( ruleALSOr )
3573 {
3574 // InternalAlloyLanguage.g:1152:6: ( ruleALSOr )
3575 // InternalAlloyLanguage.g:1153:1: ruleALSOr
3576 {
3577 if ( state.backtracking==0 ) {
3578 before(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1());
3579 }
3580 pushFollow(FOLLOW_2);
3581 ruleALSOr();
3582
3583 state._fsp--;
3584 if (state.failed) return ;
3585 if ( state.backtracking==0 ) {
3586 after(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1());
3587 }
3588
3589 }
3590
3591
3592 }
3593 break;
3594
3595 }
3596 }
3597 catch (RecognitionException re) {
3598 reportError(re);
3599 recover(input,re);
3600 }
3601 finally {
3602
3603 restoreStackSize(stackSize);
3604
3605 }
3606 return ;
3607 }
3608 // $ANTLR end "rule__ALSQuantified__Alternatives"
3609
3610
3611 // $ANTLR start "rule__ALSOr__Alternatives_1_1"
3612 // InternalAlloyLanguage.g:1163:1: rule__ALSOr__Alternatives_1_1 : ( ( '||' ) | ( 'or' ) );
3613 public final void rule__ALSOr__Alternatives_1_1() throws RecognitionException {
3614
3615 int stackSize = keepStackSize();
3616
3617 try {
3618 // InternalAlloyLanguage.g:1167:1: ( ( '||' ) | ( 'or' ) )
3619 int alt5=2;
3620 int LA5_0 = input.LA(1);
3621
3622 if ( (LA5_0==11) ) {
3623 alt5=1;
3624 }
3625 else if ( (LA5_0==12) ) {
3626 alt5=2;
3627 }
3628 else {
3629 if (state.backtracking>0) {state.failed=true; return ;}
3630 NoViableAltException nvae =
3631 new NoViableAltException("", 5, 0, input);
3632
3633 throw nvae;
3634 }
3635 switch (alt5) {
3636 case 1 :
3637 // InternalAlloyLanguage.g:1168:1: ( '||' )
3638 {
3639 // InternalAlloyLanguage.g:1168:1: ( '||' )
3640 // InternalAlloyLanguage.g:1169:1: '||'
3641 {
3642 if ( state.backtracking==0 ) {
3643 before(grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0());
3644 }
3645 match(input,11,FOLLOW_2); if (state.failed) return ;
3646 if ( state.backtracking==0 ) {
3647 after(grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0());
3648 }
3649
3650 }
3651
3652
3653 }
3654 break;
3655 case 2 :
3656 // InternalAlloyLanguage.g:1176:6: ( 'or' )
3657 {
3658 // InternalAlloyLanguage.g:1176:6: ( 'or' )
3659 // InternalAlloyLanguage.g:1177:1: 'or'
3660 {
3661 if ( state.backtracking==0 ) {
3662 before(grammarAccess.getALSOrAccess().getOrKeyword_1_1_1());
3663 }
3664 match(input,12,FOLLOW_2); if (state.failed) return ;
3665 if ( state.backtracking==0 ) {
3666 after(grammarAccess.getALSOrAccess().getOrKeyword_1_1_1());
3667 }
3668
3669 }
3670
3671
3672 }
3673 break;
3674
3675 }
3676 }
3677 catch (RecognitionException re) {
3678 reportError(re);
3679 recover(input,re);
3680 }
3681 finally {
3682
3683 restoreStackSize(stackSize);
3684
3685 }
3686 return ;
3687 }
3688 // $ANTLR end "rule__ALSOr__Alternatives_1_1"
3689
3690
3691 // $ANTLR start "rule__ALSIff__Alternatives_1_1"
3692 // InternalAlloyLanguage.g:1189:1: rule__ALSIff__Alternatives_1_1 : ( ( '<=>' ) | ( 'iff' ) );
3693 public final void rule__ALSIff__Alternatives_1_1() throws RecognitionException {
3694
3695 int stackSize = keepStackSize();
3696
3697 try {
3698 // InternalAlloyLanguage.g:1193:1: ( ( '<=>' ) | ( 'iff' ) )
3699 int alt6=2;
3700 int LA6_0 = input.LA(1);
3701
3702 if ( (LA6_0==13) ) {
3703 alt6=1;
3704 }
3705 else if ( (LA6_0==14) ) {
3706 alt6=2;
3707 }
3708 else {
3709 if (state.backtracking>0) {state.failed=true; return ;}
3710 NoViableAltException nvae =
3711 new NoViableAltException("", 6, 0, input);
3712
3713 throw nvae;
3714 }
3715 switch (alt6) {
3716 case 1 :
3717 // InternalAlloyLanguage.g:1194:1: ( '<=>' )
3718 {
3719 // InternalAlloyLanguage.g:1194:1: ( '<=>' )
3720 // InternalAlloyLanguage.g:1195:1: '<=>'
3721 {
3722 if ( state.backtracking==0 ) {
3723 before(grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0());
3724 }
3725 match(input,13,FOLLOW_2); if (state.failed) return ;
3726 if ( state.backtracking==0 ) {
3727 after(grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0());
3728 }
3729
3730 }
3731
3732
3733 }
3734 break;
3735 case 2 :
3736 // InternalAlloyLanguage.g:1202:6: ( 'iff' )
3737 {
3738 // InternalAlloyLanguage.g:1202:6: ( 'iff' )
3739 // InternalAlloyLanguage.g:1203:1: 'iff'
3740 {
3741 if ( state.backtracking==0 ) {
3742 before(grammarAccess.getALSIffAccess().getIffKeyword_1_1_1());
3743 }
3744 match(input,14,FOLLOW_2); if (state.failed) return ;
3745 if ( state.backtracking==0 ) {
3746 after(grammarAccess.getALSIffAccess().getIffKeyword_1_1_1());
3747 }
3748
3749 }
3750
3751
3752 }
3753 break;
3754
3755 }
3756 }
3757 catch (RecognitionException re) {
3758 reportError(re);
3759 recover(input,re);
3760 }
3761 finally {
3762
3763 restoreStackSize(stackSize);
3764
3765 }
3766 return ;
3767 }
3768 // $ANTLR end "rule__ALSIff__Alternatives_1_1"
3769
3770
3771 // $ANTLR start "rule__ALSImpl__Alternatives_1_1"
3772 // InternalAlloyLanguage.g:1215:1: rule__ALSImpl__Alternatives_1_1 : ( ( '=>' ) | ( 'implies' ) );
3773 public final void rule__ALSImpl__Alternatives_1_1() throws RecognitionException {
3774
3775 int stackSize = keepStackSize();
3776
3777 try {
3778 // InternalAlloyLanguage.g:1219:1: ( ( '=>' ) | ( 'implies' ) )
3779 int alt7=2;
3780 int LA7_0 = input.LA(1);
3781
3782 if ( (LA7_0==15) ) {
3783 alt7=1;
3784 }
3785 else if ( (LA7_0==16) ) {
3786 alt7=2;
3787 }
3788 else {
3789 if (state.backtracking>0) {state.failed=true; return ;}
3790 NoViableAltException nvae =
3791 new NoViableAltException("", 7, 0, input);
3792
3793 throw nvae;
3794 }
3795 switch (alt7) {
3796 case 1 :
3797 // InternalAlloyLanguage.g:1220:1: ( '=>' )
3798 {
3799 // InternalAlloyLanguage.g:1220:1: ( '=>' )
3800 // InternalAlloyLanguage.g:1221:1: '=>'
3801 {
3802 if ( state.backtracking==0 ) {
3803 before(grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0());
3804 }
3805 match(input,15,FOLLOW_2); if (state.failed) return ;
3806 if ( state.backtracking==0 ) {
3807 after(grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0());
3808 }
3809
3810 }
3811
3812
3813 }
3814 break;
3815 case 2 :
3816 // InternalAlloyLanguage.g:1228:6: ( 'implies' )
3817 {
3818 // InternalAlloyLanguage.g:1228:6: ( 'implies' )
3819 // InternalAlloyLanguage.g:1229:1: 'implies'
3820 {
3821 if ( state.backtracking==0 ) {
3822 before(grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1());
3823 }
3824 match(input,16,FOLLOW_2); if (state.failed) return ;
3825 if ( state.backtracking==0 ) {
3826 after(grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1());
3827 }
3828
3829 }
3830
3831
3832 }
3833 break;
3834
3835 }
3836 }
3837 catch (RecognitionException re) {
3838 reportError(re);
3839 recover(input,re);
3840 }
3841 finally {
3842
3843 restoreStackSize(stackSize);
3844
3845 }
3846 return ;
3847 }
3848 // $ANTLR end "rule__ALSImpl__Alternatives_1_1"
3849
3850
3851 // $ANTLR start "rule__ALSAnd__Alternatives_1_1"
3852 // InternalAlloyLanguage.g:1241:1: rule__ALSAnd__Alternatives_1_1 : ( ( '&&' ) | ( 'and' ) );
3853 public final void rule__ALSAnd__Alternatives_1_1() throws RecognitionException {
3854
3855 int stackSize = keepStackSize();
3856
3857 try {
3858 // InternalAlloyLanguage.g:1245:1: ( ( '&&' ) | ( 'and' ) )
3859 int alt8=2;
3860 int LA8_0 = input.LA(1);
3861
3862 if ( (LA8_0==17) ) {
3863 alt8=1;
3864 }
3865 else if ( (LA8_0==18) ) {
3866 alt8=2;
3867 }
3868 else {
3869 if (state.backtracking>0) {state.failed=true; return ;}
3870 NoViableAltException nvae =
3871 new NoViableAltException("", 8, 0, input);
3872
3873 throw nvae;
3874 }
3875 switch (alt8) {
3876 case 1 :
3877 // InternalAlloyLanguage.g:1246:1: ( '&&' )
3878 {
3879 // InternalAlloyLanguage.g:1246:1: ( '&&' )
3880 // InternalAlloyLanguage.g:1247:1: '&&'
3881 {
3882 if ( state.backtracking==0 ) {
3883 before(grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0());
3884 }
3885 match(input,17,FOLLOW_2); if (state.failed) return ;
3886 if ( state.backtracking==0 ) {
3887 after(grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0());
3888 }
3889
3890 }
3891
3892
3893 }
3894 break;
3895 case 2 :
3896 // InternalAlloyLanguage.g:1254:6: ( 'and' )
3897 {
3898 // InternalAlloyLanguage.g:1254:6: ( 'and' )
3899 // InternalAlloyLanguage.g:1255:1: 'and'
3900 {
3901 if ( state.backtracking==0 ) {
3902 before(grammarAccess.getALSAndAccess().getAndKeyword_1_1_1());
3903 }
3904 match(input,18,FOLLOW_2); if (state.failed) return ;
3905 if ( state.backtracking==0 ) {
3906 after(grammarAccess.getALSAndAccess().getAndKeyword_1_1_1());
3907 }
3908
3909 }
3910
3911
3912 }
3913 break;
3914
3915 }
3916 }
3917 catch (RecognitionException re) {
3918 reportError(re);
3919 recover(input,re);
3920 }
3921 finally {
3922
3923 restoreStackSize(stackSize);
3924
3925 }
3926 return ;
3927 }
3928 // $ANTLR end "rule__ALSAnd__Alternatives_1_1"
3929
3930
3931 // $ANTLR start "rule__ALSComparison__Alternatives_1_0"
3932 // InternalAlloyLanguage.g:1267:1: rule__ALSComparison__Alternatives_1_0 : ( ( ( rule__ALSComparison__Group_1_0_0__0 ) ) | ( ( rule__ALSComparison__Group_1_0_1__0 ) ) | ( ( rule__ALSComparison__Group_1_0_2__0 ) ) | ( ( rule__ALSComparison__Group_1_0_3__0 ) ) | ( ( rule__ALSComparison__Group_1_0_4__0 ) ) | ( ( rule__ALSComparison__Group_1_0_5__0 ) ) | ( ( rule__ALSComparison__Group_1_0_6__0 ) ) );
3933 public final void rule__ALSComparison__Alternatives_1_0() throws RecognitionException {
3934
3935 int stackSize = keepStackSize();
3936
3937 try {
3938 // InternalAlloyLanguage.g:1271:1: ( ( ( rule__ALSComparison__Group_1_0_0__0 ) ) | ( ( rule__ALSComparison__Group_1_0_1__0 ) ) | ( ( rule__ALSComparison__Group_1_0_2__0 ) ) | ( ( rule__ALSComparison__Group_1_0_3__0 ) ) | ( ( rule__ALSComparison__Group_1_0_4__0 ) ) | ( ( rule__ALSComparison__Group_1_0_5__0 ) ) | ( ( rule__ALSComparison__Group_1_0_6__0 ) ) )
3939 int alt9=7;
3940 switch ( input.LA(1) ) {
3941 case 47:
3942 {
3943 alt9=1;
3944 }
3945 break;
3946 case 48:
3947 {
3948 alt9=2;
3949 }
3950 break;
3951 case 38:
3952 {
3953 alt9=3;
3954 }
3955 break;
3956 case 49:
3957 {
3958 alt9=4;
3959 }
3960 break;
3961 case 50:
3962 {
3963 alt9=5;
3964 }
3965 break;
3966 case 51:
3967 {
3968 alt9=6;
3969 }
3970 break;
3971 case 52:
3972 {
3973 alt9=7;
3974 }
3975 break;
3976 default:
3977 if (state.backtracking>0) {state.failed=true; return ;}
3978 NoViableAltException nvae =
3979 new NoViableAltException("", 9, 0, input);
3980
3981 throw nvae;
3982 }
3983
3984 switch (alt9) {
3985 case 1 :
3986 // InternalAlloyLanguage.g:1272:1: ( ( rule__ALSComparison__Group_1_0_0__0 ) )
3987 {
3988 // InternalAlloyLanguage.g:1272:1: ( ( rule__ALSComparison__Group_1_0_0__0 ) )
3989 // InternalAlloyLanguage.g:1273:1: ( rule__ALSComparison__Group_1_0_0__0 )
3990 {
3991 if ( state.backtracking==0 ) {
3992 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_0());
3993 }
3994 // InternalAlloyLanguage.g:1274:1: ( rule__ALSComparison__Group_1_0_0__0 )
3995 // InternalAlloyLanguage.g:1274:2: rule__ALSComparison__Group_1_0_0__0
3996 {
3997 pushFollow(FOLLOW_2);
3998 rule__ALSComparison__Group_1_0_0__0();
3999
4000 state._fsp--;
4001 if (state.failed) return ;
4002
4003 }
4004
4005 if ( state.backtracking==0 ) {
4006 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_0());
4007 }
4008
4009 }
4010
4011
4012 }
4013 break;
4014 case 2 :
4015 // InternalAlloyLanguage.g:1278:6: ( ( rule__ALSComparison__Group_1_0_1__0 ) )
4016 {
4017 // InternalAlloyLanguage.g:1278:6: ( ( rule__ALSComparison__Group_1_0_1__0 ) )
4018 // InternalAlloyLanguage.g:1279:1: ( rule__ALSComparison__Group_1_0_1__0 )
4019 {
4020 if ( state.backtracking==0 ) {
4021 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_1());
4022 }
4023 // InternalAlloyLanguage.g:1280:1: ( rule__ALSComparison__Group_1_0_1__0 )
4024 // InternalAlloyLanguage.g:1280:2: rule__ALSComparison__Group_1_0_1__0
4025 {
4026 pushFollow(FOLLOW_2);
4027 rule__ALSComparison__Group_1_0_1__0();
4028
4029 state._fsp--;
4030 if (state.failed) return ;
4031
4032 }
4033
4034 if ( state.backtracking==0 ) {
4035 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_1());
4036 }
4037
4038 }
4039
4040
4041 }
4042 break;
4043 case 3 :
4044 // InternalAlloyLanguage.g:1284:6: ( ( rule__ALSComparison__Group_1_0_2__0 ) )
4045 {
4046 // InternalAlloyLanguage.g:1284:6: ( ( rule__ALSComparison__Group_1_0_2__0 ) )
4047 // InternalAlloyLanguage.g:1285:1: ( rule__ALSComparison__Group_1_0_2__0 )
4048 {
4049 if ( state.backtracking==0 ) {
4050 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_2());
4051 }
4052 // InternalAlloyLanguage.g:1286:1: ( rule__ALSComparison__Group_1_0_2__0 )
4053 // InternalAlloyLanguage.g:1286:2: rule__ALSComparison__Group_1_0_2__0
4054 {
4055 pushFollow(FOLLOW_2);
4056 rule__ALSComparison__Group_1_0_2__0();
4057
4058 state._fsp--;
4059 if (state.failed) return ;
4060
4061 }
4062
4063 if ( state.backtracking==0 ) {
4064 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_2());
4065 }
4066
4067 }
4068
4069
4070 }
4071 break;
4072 case 4 :
4073 // InternalAlloyLanguage.g:1290:6: ( ( rule__ALSComparison__Group_1_0_3__0 ) )
4074 {
4075 // InternalAlloyLanguage.g:1290:6: ( ( rule__ALSComparison__Group_1_0_3__0 ) )
4076 // InternalAlloyLanguage.g:1291:1: ( rule__ALSComparison__Group_1_0_3__0 )
4077 {
4078 if ( state.backtracking==0 ) {
4079 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_3());
4080 }
4081 // InternalAlloyLanguage.g:1292:1: ( rule__ALSComparison__Group_1_0_3__0 )
4082 // InternalAlloyLanguage.g:1292:2: rule__ALSComparison__Group_1_0_3__0
4083 {
4084 pushFollow(FOLLOW_2);
4085 rule__ALSComparison__Group_1_0_3__0();
4086
4087 state._fsp--;
4088 if (state.failed) return ;
4089
4090 }
4091
4092 if ( state.backtracking==0 ) {
4093 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_3());
4094 }
4095
4096 }
4097
4098
4099 }
4100 break;
4101 case 5 :
4102 // InternalAlloyLanguage.g:1296:6: ( ( rule__ALSComparison__Group_1_0_4__0 ) )
4103 {
4104 // InternalAlloyLanguage.g:1296:6: ( ( rule__ALSComparison__Group_1_0_4__0 ) )
4105 // InternalAlloyLanguage.g:1297:1: ( rule__ALSComparison__Group_1_0_4__0 )
4106 {
4107 if ( state.backtracking==0 ) {
4108 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_4());
4109 }
4110 // InternalAlloyLanguage.g:1298:1: ( rule__ALSComparison__Group_1_0_4__0 )
4111 // InternalAlloyLanguage.g:1298:2: rule__ALSComparison__Group_1_0_4__0
4112 {
4113 pushFollow(FOLLOW_2);
4114 rule__ALSComparison__Group_1_0_4__0();
4115
4116 state._fsp--;
4117 if (state.failed) return ;
4118
4119 }
4120
4121 if ( state.backtracking==0 ) {
4122 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_4());
4123 }
4124
4125 }
4126
4127
4128 }
4129 break;
4130 case 6 :
4131 // InternalAlloyLanguage.g:1302:6: ( ( rule__ALSComparison__Group_1_0_5__0 ) )
4132 {
4133 // InternalAlloyLanguage.g:1302:6: ( ( rule__ALSComparison__Group_1_0_5__0 ) )
4134 // InternalAlloyLanguage.g:1303:1: ( rule__ALSComparison__Group_1_0_5__0 )
4135 {
4136 if ( state.backtracking==0 ) {
4137 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_5());
4138 }
4139 // InternalAlloyLanguage.g:1304:1: ( rule__ALSComparison__Group_1_0_5__0 )
4140 // InternalAlloyLanguage.g:1304:2: rule__ALSComparison__Group_1_0_5__0
4141 {
4142 pushFollow(FOLLOW_2);
4143 rule__ALSComparison__Group_1_0_5__0();
4144
4145 state._fsp--;
4146 if (state.failed) return ;
4147
4148 }
4149
4150 if ( state.backtracking==0 ) {
4151 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_5());
4152 }
4153
4154 }
4155
4156
4157 }
4158 break;
4159 case 7 :
4160 // InternalAlloyLanguage.g:1308:6: ( ( rule__ALSComparison__Group_1_0_6__0 ) )
4161 {
4162 // InternalAlloyLanguage.g:1308:6: ( ( rule__ALSComparison__Group_1_0_6__0 ) )
4163 // InternalAlloyLanguage.g:1309:1: ( rule__ALSComparison__Group_1_0_6__0 )
4164 {
4165 if ( state.backtracking==0 ) {
4166 before(grammarAccess.getALSComparisonAccess().getGroup_1_0_6());
4167 }
4168 // InternalAlloyLanguage.g:1310:1: ( rule__ALSComparison__Group_1_0_6__0 )
4169 // InternalAlloyLanguage.g:1310:2: rule__ALSComparison__Group_1_0_6__0
4170 {
4171 pushFollow(FOLLOW_2);
4172 rule__ALSComparison__Group_1_0_6__0();
4173
4174 state._fsp--;
4175 if (state.failed) return ;
4176
4177 }
4178
4179 if ( state.backtracking==0 ) {
4180 after(grammarAccess.getALSComparisonAccess().getGroup_1_0_6());
4181 }
4182
4183 }
4184
4185
4186 }
4187 break;
4188
4189 }
4190 }
4191 catch (RecognitionException re) {
4192 reportError(re);
4193 recover(input,re);
4194 }
4195 finally {
4196
4197 restoreStackSize(stackSize);
4198
4199 }
4200 return ;
4201 }
4202 // $ANTLR end "rule__ALSComparison__Alternatives_1_0"
4203
4204
4205 // $ANTLR start "rule__ALSPreficed__Alternatives"
4206 // InternalAlloyLanguage.g:1319:1: rule__ALSPreficed__Alternatives : ( ( ( rule__ALSPreficed__Group_0__0 ) ) | ( ( rule__ALSPreficed__Group_1__0 ) ) | ( ( rule__ALSPreficed__Group_2__0 ) ) | ( ( rule__ALSPreficed__Group_3__0 ) ) | ( ( rule__ALSPreficed__Group_4__0 ) ) | ( ( rule__ALSPreficed__Group_5__0 ) ) | ( ( rule__ALSPreficed__Group_6__0 ) ) | ( ( rule__ALSPreficed__Group_7__0 ) ) | ( ruleALSBasicRelationTerm ) );
4207 public final void rule__ALSPreficed__Alternatives() throws RecognitionException {
4208
4209 int stackSize = keepStackSize();
4210
4211 try {
4212 // InternalAlloyLanguage.g:1323:1: ( ( ( rule__ALSPreficed__Group_0__0 ) ) | ( ( rule__ALSPreficed__Group_1__0 ) ) | ( ( rule__ALSPreficed__Group_2__0 ) ) | ( ( rule__ALSPreficed__Group_3__0 ) ) | ( ( rule__ALSPreficed__Group_4__0 ) ) | ( ( rule__ALSPreficed__Group_5__0 ) ) | ( ( rule__ALSPreficed__Group_6__0 ) ) | ( ( rule__ALSPreficed__Group_7__0 ) ) | ( ruleALSBasicRelationTerm ) )
4213 int alt10=9;
4214 alt10 = dfa10.predict(input);
4215 switch (alt10) {
4216 case 1 :
4217 // InternalAlloyLanguage.g:1324:1: ( ( rule__ALSPreficed__Group_0__0 ) )
4218 {
4219 // InternalAlloyLanguage.g:1324:1: ( ( rule__ALSPreficed__Group_0__0 ) )
4220 // InternalAlloyLanguage.g:1325:1: ( rule__ALSPreficed__Group_0__0 )
4221 {
4222 if ( state.backtracking==0 ) {
4223 before(grammarAccess.getALSPreficedAccess().getGroup_0());
4224 }
4225 // InternalAlloyLanguage.g:1326:1: ( rule__ALSPreficed__Group_0__0 )
4226 // InternalAlloyLanguage.g:1326:2: rule__ALSPreficed__Group_0__0
4227 {
4228 pushFollow(FOLLOW_2);
4229 rule__ALSPreficed__Group_0__0();
4230
4231 state._fsp--;
4232 if (state.failed) return ;
4233
4234 }
4235
4236 if ( state.backtracking==0 ) {
4237 after(grammarAccess.getALSPreficedAccess().getGroup_0());
4238 }
4239
4240 }
4241
4242
4243 }
4244 break;
4245 case 2 :
4246 // InternalAlloyLanguage.g:1330:6: ( ( rule__ALSPreficed__Group_1__0 ) )
4247 {
4248 // InternalAlloyLanguage.g:1330:6: ( ( rule__ALSPreficed__Group_1__0 ) )
4249 // InternalAlloyLanguage.g:1331:1: ( rule__ALSPreficed__Group_1__0 )
4250 {
4251 if ( state.backtracking==0 ) {
4252 before(grammarAccess.getALSPreficedAccess().getGroup_1());
4253 }
4254 // InternalAlloyLanguage.g:1332:1: ( rule__ALSPreficed__Group_1__0 )
4255 // InternalAlloyLanguage.g:1332:2: rule__ALSPreficed__Group_1__0
4256 {
4257 pushFollow(FOLLOW_2);
4258 rule__ALSPreficed__Group_1__0();
4259
4260 state._fsp--;
4261 if (state.failed) return ;
4262
4263 }
4264
4265 if ( state.backtracking==0 ) {
4266 after(grammarAccess.getALSPreficedAccess().getGroup_1());
4267 }
4268
4269 }
4270
4271
4272 }
4273 break;
4274 case 3 :
4275 // InternalAlloyLanguage.g:1336:6: ( ( rule__ALSPreficed__Group_2__0 ) )
4276 {
4277 // InternalAlloyLanguage.g:1336:6: ( ( rule__ALSPreficed__Group_2__0 ) )
4278 // InternalAlloyLanguage.g:1337:1: ( rule__ALSPreficed__Group_2__0 )
4279 {
4280 if ( state.backtracking==0 ) {
4281 before(grammarAccess.getALSPreficedAccess().getGroup_2());
4282 }
4283 // InternalAlloyLanguage.g:1338:1: ( rule__ALSPreficed__Group_2__0 )
4284 // InternalAlloyLanguage.g:1338:2: rule__ALSPreficed__Group_2__0
4285 {
4286 pushFollow(FOLLOW_2);
4287 rule__ALSPreficed__Group_2__0();
4288
4289 state._fsp--;
4290 if (state.failed) return ;
4291
4292 }
4293
4294 if ( state.backtracking==0 ) {
4295 after(grammarAccess.getALSPreficedAccess().getGroup_2());
4296 }
4297
4298 }
4299
4300
4301 }
4302 break;
4303 case 4 :
4304 // InternalAlloyLanguage.g:1342:6: ( ( rule__ALSPreficed__Group_3__0 ) )
4305 {
4306 // InternalAlloyLanguage.g:1342:6: ( ( rule__ALSPreficed__Group_3__0 ) )
4307 // InternalAlloyLanguage.g:1343:1: ( rule__ALSPreficed__Group_3__0 )
4308 {
4309 if ( state.backtracking==0 ) {
4310 before(grammarAccess.getALSPreficedAccess().getGroup_3());
4311 }
4312 // InternalAlloyLanguage.g:1344:1: ( rule__ALSPreficed__Group_3__0 )
4313 // InternalAlloyLanguage.g:1344:2: rule__ALSPreficed__Group_3__0
4314 {
4315 pushFollow(FOLLOW_2);
4316 rule__ALSPreficed__Group_3__0();
4317
4318 state._fsp--;
4319 if (state.failed) return ;
4320
4321 }
4322
4323 if ( state.backtracking==0 ) {
4324 after(grammarAccess.getALSPreficedAccess().getGroup_3());
4325 }
4326
4327 }
4328
4329
4330 }
4331 break;
4332 case 5 :
4333 // InternalAlloyLanguage.g:1348:6: ( ( rule__ALSPreficed__Group_4__0 ) )
4334 {
4335 // InternalAlloyLanguage.g:1348:6: ( ( rule__ALSPreficed__Group_4__0 ) )
4336 // InternalAlloyLanguage.g:1349:1: ( rule__ALSPreficed__Group_4__0 )
4337 {
4338 if ( state.backtracking==0 ) {
4339 before(grammarAccess.getALSPreficedAccess().getGroup_4());
4340 }
4341 // InternalAlloyLanguage.g:1350:1: ( rule__ALSPreficed__Group_4__0 )
4342 // InternalAlloyLanguage.g:1350:2: rule__ALSPreficed__Group_4__0
4343 {
4344 pushFollow(FOLLOW_2);
4345 rule__ALSPreficed__Group_4__0();
4346
4347 state._fsp--;
4348 if (state.failed) return ;
4349
4350 }
4351
4352 if ( state.backtracking==0 ) {
4353 after(grammarAccess.getALSPreficedAccess().getGroup_4());
4354 }
4355
4356 }
4357
4358
4359 }
4360 break;
4361 case 6 :
4362 // InternalAlloyLanguage.g:1354:6: ( ( rule__ALSPreficed__Group_5__0 ) )
4363 {
4364 // InternalAlloyLanguage.g:1354:6: ( ( rule__ALSPreficed__Group_5__0 ) )
4365 // InternalAlloyLanguage.g:1355:1: ( rule__ALSPreficed__Group_5__0 )
4366 {
4367 if ( state.backtracking==0 ) {
4368 before(grammarAccess.getALSPreficedAccess().getGroup_5());
4369 }
4370 // InternalAlloyLanguage.g:1356:1: ( rule__ALSPreficed__Group_5__0 )
4371 // InternalAlloyLanguage.g:1356:2: rule__ALSPreficed__Group_5__0
4372 {
4373 pushFollow(FOLLOW_2);
4374 rule__ALSPreficed__Group_5__0();
4375
4376 state._fsp--;
4377 if (state.failed) return ;
4378
4379 }
4380
4381 if ( state.backtracking==0 ) {
4382 after(grammarAccess.getALSPreficedAccess().getGroup_5());
4383 }
4384
4385 }
4386
4387
4388 }
4389 break;
4390 case 7 :
4391 // InternalAlloyLanguage.g:1360:6: ( ( rule__ALSPreficed__Group_6__0 ) )
4392 {
4393 // InternalAlloyLanguage.g:1360:6: ( ( rule__ALSPreficed__Group_6__0 ) )
4394 // InternalAlloyLanguage.g:1361:1: ( rule__ALSPreficed__Group_6__0 )
4395 {
4396 if ( state.backtracking==0 ) {
4397 before(grammarAccess.getALSPreficedAccess().getGroup_6());
4398 }
4399 // InternalAlloyLanguage.g:1362:1: ( rule__ALSPreficed__Group_6__0 )
4400 // InternalAlloyLanguage.g:1362:2: rule__ALSPreficed__Group_6__0
4401 {
4402 pushFollow(FOLLOW_2);
4403 rule__ALSPreficed__Group_6__0();
4404
4405 state._fsp--;
4406 if (state.failed) return ;
4407
4408 }
4409
4410 if ( state.backtracking==0 ) {
4411 after(grammarAccess.getALSPreficedAccess().getGroup_6());
4412 }
4413
4414 }
4415
4416
4417 }
4418 break;
4419 case 8 :
4420 // InternalAlloyLanguage.g:1366:6: ( ( rule__ALSPreficed__Group_7__0 ) )
4421 {
4422 // InternalAlloyLanguage.g:1366:6: ( ( rule__ALSPreficed__Group_7__0 ) )
4423 // InternalAlloyLanguage.g:1367:1: ( rule__ALSPreficed__Group_7__0 )
4424 {
4425 if ( state.backtracking==0 ) {
4426 before(grammarAccess.getALSPreficedAccess().getGroup_7());
4427 }
4428 // InternalAlloyLanguage.g:1368:1: ( rule__ALSPreficed__Group_7__0 )
4429 // InternalAlloyLanguage.g:1368:2: rule__ALSPreficed__Group_7__0
4430 {
4431 pushFollow(FOLLOW_2);
4432 rule__ALSPreficed__Group_7__0();
4433
4434 state._fsp--;
4435 if (state.failed) return ;
4436
4437 }
4438
4439 if ( state.backtracking==0 ) {
4440 after(grammarAccess.getALSPreficedAccess().getGroup_7());
4441 }
4442
4443 }
4444
4445
4446 }
4447 break;
4448 case 9 :
4449 // InternalAlloyLanguage.g:1372:6: ( ruleALSBasicRelationTerm )
4450 {
4451 // InternalAlloyLanguage.g:1372:6: ( ruleALSBasicRelationTerm )
4452 // InternalAlloyLanguage.g:1373:1: ruleALSBasicRelationTerm
4453 {
4454 if ( state.backtracking==0 ) {
4455 before(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8());
4456 }
4457 pushFollow(FOLLOW_2);
4458 ruleALSBasicRelationTerm();
4459
4460 state._fsp--;
4461 if (state.failed) return ;
4462 if ( state.backtracking==0 ) {
4463 after(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8());
4464 }
4465
4466 }
4467
4468
4469 }
4470 break;
4471
4472 }
4473 }
4474 catch (RecognitionException re) {
4475 reportError(re);
4476 recover(input,re);
4477 }
4478 finally {
4479
4480 restoreStackSize(stackSize);
4481
4482 }
4483 return ;
4484 }
4485 // $ANTLR end "rule__ALSPreficed__Alternatives"
4486
4487
4488 // $ANTLR start "rule__ALSPreficed__Alternatives_0_1_0"
4489 // InternalAlloyLanguage.g:1383:1: rule__ALSPreficed__Alternatives_0_1_0 : ( ( '!' ) | ( 'not' ) );
4490 public final void rule__ALSPreficed__Alternatives_0_1_0() throws RecognitionException {
4491
4492 int stackSize = keepStackSize();
4493
4494 try {
4495 // InternalAlloyLanguage.g:1387:1: ( ( '!' ) | ( 'not' ) )
4496 int alt11=2;
4497 int LA11_0 = input.LA(1);
4498
4499 if ( (LA11_0==19) ) {
4500 alt11=1;
4501 }
4502 else if ( (LA11_0==20) ) {
4503 alt11=2;
4504 }
4505 else {
4506 if (state.backtracking>0) {state.failed=true; return ;}
4507 NoViableAltException nvae =
4508 new NoViableAltException("", 11, 0, input);
4509
4510 throw nvae;
4511 }
4512 switch (alt11) {
4513 case 1 :
4514 // InternalAlloyLanguage.g:1388:1: ( '!' )
4515 {
4516 // InternalAlloyLanguage.g:1388:1: ( '!' )
4517 // InternalAlloyLanguage.g:1389:1: '!'
4518 {
4519 if ( state.backtracking==0 ) {
4520 before(grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0());
4521 }
4522 match(input,19,FOLLOW_2); if (state.failed) return ;
4523 if ( state.backtracking==0 ) {
4524 after(grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0());
4525 }
4526
4527 }
4528
4529
4530 }
4531 break;
4532 case 2 :
4533 // InternalAlloyLanguage.g:1396:6: ( 'not' )
4534 {
4535 // InternalAlloyLanguage.g:1396:6: ( 'not' )
4536 // InternalAlloyLanguage.g:1397:1: 'not'
4537 {
4538 if ( state.backtracking==0 ) {
4539 before(grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1());
4540 }
4541 match(input,20,FOLLOW_2); if (state.failed) return ;
4542 if ( state.backtracking==0 ) {
4543 after(grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1());
4544 }
4545
4546 }
4547
4548
4549 }
4550 break;
4551
4552 }
4553 }
4554 catch (RecognitionException re) {
4555 reportError(re);
4556 recover(input,re);
4557 }
4558 finally {
4559
4560 restoreStackSize(stackSize);
4561
4562 }
4563 return ;
4564 }
4565 // $ANTLR end "rule__ALSPreficed__Alternatives_0_1_0"
4566
4567
4568 // $ANTLR start "rule__ALSPreficed__Alternatives_7_1"
4569 // InternalAlloyLanguage.g:1409:1: rule__ALSPreficed__Alternatives_7_1 : ( ( ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 ) ) | ( ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 ) ) );
4570 public final void rule__ALSPreficed__Alternatives_7_1() throws RecognitionException {
4571
4572 int stackSize = keepStackSize();
4573
4574 try {
4575 // InternalAlloyLanguage.g:1413:1: ( ( ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 ) ) | ( ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 ) ) )
4576 int alt12=2;
4577 int LA12_0 = input.LA(1);
4578
4579 if ( (LA12_0==RULE_ID) ) {
4580 alt12=1;
4581 }
4582 else if ( ((LA12_0>=27 && LA12_0<=31)) ) {
4583 alt12=2;
4584 }
4585 else {
4586 if (state.backtracking>0) {state.failed=true; return ;}
4587 NoViableAltException nvae =
4588 new NoViableAltException("", 12, 0, input);
4589
4590 throw nvae;
4591 }
4592 switch (alt12) {
4593 case 1 :
4594 // InternalAlloyLanguage.g:1414:1: ( ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 ) )
4595 {
4596 // InternalAlloyLanguage.g:1414:1: ( ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 ) )
4597 // InternalAlloyLanguage.g:1415:1: ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 )
4598 {
4599 if ( state.backtracking==0 ) {
4600 before(grammarAccess.getALSPreficedAccess().getReferredDefinitionAssignment_7_1_0());
4601 }
4602 // InternalAlloyLanguage.g:1416:1: ( rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 )
4603 // InternalAlloyLanguage.g:1416:2: rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0
4604 {
4605 pushFollow(FOLLOW_2);
4606 rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0();
4607
4608 state._fsp--;
4609 if (state.failed) return ;
4610
4611 }
4612
4613 if ( state.backtracking==0 ) {
4614 after(grammarAccess.getALSPreficedAccess().getReferredDefinitionAssignment_7_1_0());
4615 }
4616
4617 }
4618
4619
4620 }
4621 break;
4622 case 2 :
4623 // InternalAlloyLanguage.g:1420:6: ( ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 ) )
4624 {
4625 // InternalAlloyLanguage.g:1420:6: ( ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 ) )
4626 // InternalAlloyLanguage.g:1421:1: ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 )
4627 {
4628 if ( state.backtracking==0 ) {
4629 before(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorAssignment_7_1_1());
4630 }
4631 // InternalAlloyLanguage.g:1422:1: ( rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 )
4632 // InternalAlloyLanguage.g:1422:2: rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1
4633 {
4634 pushFollow(FOLLOW_2);
4635 rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1();
4636
4637 state._fsp--;
4638 if (state.failed) return ;
4639
4640 }
4641
4642 if ( state.backtracking==0 ) {
4643 after(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorAssignment_7_1_1());
4644 }
4645
4646 }
4647
4648
4649 }
4650 break;
4651
4652 }
4653 }
4654 catch (RecognitionException re) {
4655 reportError(re);
4656 recover(input,re);
4657 }
4658 finally {
4659
4660 restoreStackSize(stackSize);
4661
4662 }
4663 return ;
4664 }
4665 // $ANTLR end "rule__ALSPreficed__Alternatives_7_1"
4666
4667
4668 // $ANTLR start "rule__ALSBasicRelationTerm__Alternatives"
4669 // InternalAlloyLanguage.g:1431:1: rule__ALSBasicRelationTerm__Alternatives : ( ( ( rule__ALSBasicRelationTerm__Group_0__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_1__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_2__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_3__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_4__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_5__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_6__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_7__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_8__0 ) ) );
4670 public final void rule__ALSBasicRelationTerm__Alternatives() throws RecognitionException {
4671
4672 int stackSize = keepStackSize();
4673
4674 try {
4675 // InternalAlloyLanguage.g:1435:1: ( ( ( rule__ALSBasicRelationTerm__Group_0__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_1__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_2__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_3__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_4__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_5__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_6__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_7__0 ) ) | ( ( rule__ALSBasicRelationTerm__Group_8__0 ) ) )
4676 int alt13=9;
4677 switch ( input.LA(1) ) {
4678 case 65:
4679 {
4680 alt13=1;
4681 }
4682 break;
4683 case 66:
4684 {
4685 alt13=2;
4686 }
4687 break;
4688 case 67:
4689 {
4690 alt13=3;
4691 }
4692 break;
4693 case 68:
4694 {
4695 alt13=4;
4696 }
4697 break;
4698 case 69:
4699 {
4700 alt13=5;
4701 }
4702 break;
4703 case RULE_ID:
4704 {
4705 alt13=6;
4706 }
4707 break;
4708 case RULE_INT:
4709 {
4710 alt13=7;
4711 }
4712 break;
4713 case RULE_STRING:
4714 {
4715 alt13=8;
4716 }
4717 break;
4718 case 70:
4719 {
4720 alt13=9;
4721 }
4722 break;
4723 default:
4724 if (state.backtracking>0) {state.failed=true; return ;}
4725 NoViableAltException nvae =
4726 new NoViableAltException("", 13, 0, input);
4727
4728 throw nvae;
4729 }
4730
4731 switch (alt13) {
4732 case 1 :
4733 // InternalAlloyLanguage.g:1436:1: ( ( rule__ALSBasicRelationTerm__Group_0__0 ) )
4734 {
4735 // InternalAlloyLanguage.g:1436:1: ( ( rule__ALSBasicRelationTerm__Group_0__0 ) )
4736 // InternalAlloyLanguage.g:1437:1: ( rule__ALSBasicRelationTerm__Group_0__0 )
4737 {
4738 if ( state.backtracking==0 ) {
4739 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_0());
4740 }
4741 // InternalAlloyLanguage.g:1438:1: ( rule__ALSBasicRelationTerm__Group_0__0 )
4742 // InternalAlloyLanguage.g:1438:2: rule__ALSBasicRelationTerm__Group_0__0
4743 {
4744 pushFollow(FOLLOW_2);
4745 rule__ALSBasicRelationTerm__Group_0__0();
4746
4747 state._fsp--;
4748 if (state.failed) return ;
4749
4750 }
4751
4752 if ( state.backtracking==0 ) {
4753 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_0());
4754 }
4755
4756 }
4757
4758
4759 }
4760 break;
4761 case 2 :
4762 // InternalAlloyLanguage.g:1442:6: ( ( rule__ALSBasicRelationTerm__Group_1__0 ) )
4763 {
4764 // InternalAlloyLanguage.g:1442:6: ( ( rule__ALSBasicRelationTerm__Group_1__0 ) )
4765 // InternalAlloyLanguage.g:1443:1: ( rule__ALSBasicRelationTerm__Group_1__0 )
4766 {
4767 if ( state.backtracking==0 ) {
4768 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_1());
4769 }
4770 // InternalAlloyLanguage.g:1444:1: ( rule__ALSBasicRelationTerm__Group_1__0 )
4771 // InternalAlloyLanguage.g:1444:2: rule__ALSBasicRelationTerm__Group_1__0
4772 {
4773 pushFollow(FOLLOW_2);
4774 rule__ALSBasicRelationTerm__Group_1__0();
4775
4776 state._fsp--;
4777 if (state.failed) return ;
4778
4779 }
4780
4781 if ( state.backtracking==0 ) {
4782 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_1());
4783 }
4784
4785 }
4786
4787
4788 }
4789 break;
4790 case 3 :
4791 // InternalAlloyLanguage.g:1448:6: ( ( rule__ALSBasicRelationTerm__Group_2__0 ) )
4792 {
4793 // InternalAlloyLanguage.g:1448:6: ( ( rule__ALSBasicRelationTerm__Group_2__0 ) )
4794 // InternalAlloyLanguage.g:1449:1: ( rule__ALSBasicRelationTerm__Group_2__0 )
4795 {
4796 if ( state.backtracking==0 ) {
4797 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_2());
4798 }
4799 // InternalAlloyLanguage.g:1450:1: ( rule__ALSBasicRelationTerm__Group_2__0 )
4800 // InternalAlloyLanguage.g:1450:2: rule__ALSBasicRelationTerm__Group_2__0
4801 {
4802 pushFollow(FOLLOW_2);
4803 rule__ALSBasicRelationTerm__Group_2__0();
4804
4805 state._fsp--;
4806 if (state.failed) return ;
4807
4808 }
4809
4810 if ( state.backtracking==0 ) {
4811 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_2());
4812 }
4813
4814 }
4815
4816
4817 }
4818 break;
4819 case 4 :
4820 // InternalAlloyLanguage.g:1454:6: ( ( rule__ALSBasicRelationTerm__Group_3__0 ) )
4821 {
4822 // InternalAlloyLanguage.g:1454:6: ( ( rule__ALSBasicRelationTerm__Group_3__0 ) )
4823 // InternalAlloyLanguage.g:1455:1: ( rule__ALSBasicRelationTerm__Group_3__0 )
4824 {
4825 if ( state.backtracking==0 ) {
4826 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_3());
4827 }
4828 // InternalAlloyLanguage.g:1456:1: ( rule__ALSBasicRelationTerm__Group_3__0 )
4829 // InternalAlloyLanguage.g:1456:2: rule__ALSBasicRelationTerm__Group_3__0
4830 {
4831 pushFollow(FOLLOW_2);
4832 rule__ALSBasicRelationTerm__Group_3__0();
4833
4834 state._fsp--;
4835 if (state.failed) return ;
4836
4837 }
4838
4839 if ( state.backtracking==0 ) {
4840 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_3());
4841 }
4842
4843 }
4844
4845
4846 }
4847 break;
4848 case 5 :
4849 // InternalAlloyLanguage.g:1460:6: ( ( rule__ALSBasicRelationTerm__Group_4__0 ) )
4850 {
4851 // InternalAlloyLanguage.g:1460:6: ( ( rule__ALSBasicRelationTerm__Group_4__0 ) )
4852 // InternalAlloyLanguage.g:1461:1: ( rule__ALSBasicRelationTerm__Group_4__0 )
4853 {
4854 if ( state.backtracking==0 ) {
4855 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_4());
4856 }
4857 // InternalAlloyLanguage.g:1462:1: ( rule__ALSBasicRelationTerm__Group_4__0 )
4858 // InternalAlloyLanguage.g:1462:2: rule__ALSBasicRelationTerm__Group_4__0
4859 {
4860 pushFollow(FOLLOW_2);
4861 rule__ALSBasicRelationTerm__Group_4__0();
4862
4863 state._fsp--;
4864 if (state.failed) return ;
4865
4866 }
4867
4868 if ( state.backtracking==0 ) {
4869 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_4());
4870 }
4871
4872 }
4873
4874
4875 }
4876 break;
4877 case 6 :
4878 // InternalAlloyLanguage.g:1466:6: ( ( rule__ALSBasicRelationTerm__Group_5__0 ) )
4879 {
4880 // InternalAlloyLanguage.g:1466:6: ( ( rule__ALSBasicRelationTerm__Group_5__0 ) )
4881 // InternalAlloyLanguage.g:1467:1: ( rule__ALSBasicRelationTerm__Group_5__0 )
4882 {
4883 if ( state.backtracking==0 ) {
4884 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_5());
4885 }
4886 // InternalAlloyLanguage.g:1468:1: ( rule__ALSBasicRelationTerm__Group_5__0 )
4887 // InternalAlloyLanguage.g:1468:2: rule__ALSBasicRelationTerm__Group_5__0
4888 {
4889 pushFollow(FOLLOW_2);
4890 rule__ALSBasicRelationTerm__Group_5__0();
4891
4892 state._fsp--;
4893 if (state.failed) return ;
4894
4895 }
4896
4897 if ( state.backtracking==0 ) {
4898 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_5());
4899 }
4900
4901 }
4902
4903
4904 }
4905 break;
4906 case 7 :
4907 // InternalAlloyLanguage.g:1472:6: ( ( rule__ALSBasicRelationTerm__Group_6__0 ) )
4908 {
4909 // InternalAlloyLanguage.g:1472:6: ( ( rule__ALSBasicRelationTerm__Group_6__0 ) )
4910 // InternalAlloyLanguage.g:1473:1: ( rule__ALSBasicRelationTerm__Group_6__0 )
4911 {
4912 if ( state.backtracking==0 ) {
4913 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_6());
4914 }
4915 // InternalAlloyLanguage.g:1474:1: ( rule__ALSBasicRelationTerm__Group_6__0 )
4916 // InternalAlloyLanguage.g:1474:2: rule__ALSBasicRelationTerm__Group_6__0
4917 {
4918 pushFollow(FOLLOW_2);
4919 rule__ALSBasicRelationTerm__Group_6__0();
4920
4921 state._fsp--;
4922 if (state.failed) return ;
4923
4924 }
4925
4926 if ( state.backtracking==0 ) {
4927 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_6());
4928 }
4929
4930 }
4931
4932
4933 }
4934 break;
4935 case 8 :
4936 // InternalAlloyLanguage.g:1478:6: ( ( rule__ALSBasicRelationTerm__Group_7__0 ) )
4937 {
4938 // InternalAlloyLanguage.g:1478:6: ( ( rule__ALSBasicRelationTerm__Group_7__0 ) )
4939 // InternalAlloyLanguage.g:1479:1: ( rule__ALSBasicRelationTerm__Group_7__0 )
4940 {
4941 if ( state.backtracking==0 ) {
4942 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_7());
4943 }
4944 // InternalAlloyLanguage.g:1480:1: ( rule__ALSBasicRelationTerm__Group_7__0 )
4945 // InternalAlloyLanguage.g:1480:2: rule__ALSBasicRelationTerm__Group_7__0
4946 {
4947 pushFollow(FOLLOW_2);
4948 rule__ALSBasicRelationTerm__Group_7__0();
4949
4950 state._fsp--;
4951 if (state.failed) return ;
4952
4953 }
4954
4955 if ( state.backtracking==0 ) {
4956 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_7());
4957 }
4958
4959 }
4960
4961
4962 }
4963 break;
4964 case 9 :
4965 // InternalAlloyLanguage.g:1484:6: ( ( rule__ALSBasicRelationTerm__Group_8__0 ) )
4966 {
4967 // InternalAlloyLanguage.g:1484:6: ( ( rule__ALSBasicRelationTerm__Group_8__0 ) )
4968 // InternalAlloyLanguage.g:1485:1: ( rule__ALSBasicRelationTerm__Group_8__0 )
4969 {
4970 if ( state.backtracking==0 ) {
4971 before(grammarAccess.getALSBasicRelationTermAccess().getGroup_8());
4972 }
4973 // InternalAlloyLanguage.g:1486:1: ( rule__ALSBasicRelationTerm__Group_8__0 )
4974 // InternalAlloyLanguage.g:1486:2: rule__ALSBasicRelationTerm__Group_8__0
4975 {
4976 pushFollow(FOLLOW_2);
4977 rule__ALSBasicRelationTerm__Group_8__0();
4978
4979 state._fsp--;
4980 if (state.failed) return ;
4981
4982 }
4983
4984 if ( state.backtracking==0 ) {
4985 after(grammarAccess.getALSBasicRelationTermAccess().getGroup_8());
4986 }
4987
4988 }
4989
4990
4991 }
4992 break;
4993
4994 }
4995 }
4996 catch (RecognitionException re) {
4997 reportError(re);
4998 recover(input,re);
4999 }
5000 finally {
5001
5002 restoreStackSize(stackSize);
5003
5004 }
5005 return ;
5006 }
5007 // $ANTLR end "rule__ALSBasicRelationTerm__Alternatives"
5008
5009
5010 // $ANTLR start "rule__ALSTypeScope__Alternatives"
5011 // InternalAlloyLanguage.g:1495:1: rule__ALSTypeScope__Alternatives : ( ( ruleALSSigScope ) | ( ruleALSIntScope ) | ( ruleALSStringScope ) );
5012 public final void rule__ALSTypeScope__Alternatives() throws RecognitionException {
5013
5014 int stackSize = keepStackSize();
5015
5016 try {
5017 // InternalAlloyLanguage.g:1499:1: ( ( ruleALSSigScope ) | ( ruleALSIntScope ) | ( ruleALSStringScope ) )
5018 int alt14=3;
5019 int LA14_0 = input.LA(1);
5020
5021 if ( (LA14_0==74) ) {
5022 int LA14_1 = input.LA(2);
5023
5024 if ( (LA14_1==RULE_INT) ) {
5025 int LA14_3 = input.LA(3);
5026
5027 if ( (LA14_3==69) ) {
5028 alt14=3;
5029 }
5030 else if ( (LA14_3==RULE_ID) ) {
5031 alt14=1;
5032 }
5033 else {
5034 if (state.backtracking>0) {state.failed=true; return ;}
5035 NoViableAltException nvae =
5036 new NoViableAltException("", 14, 3, input);
5037
5038 throw nvae;
5039 }
5040 }
5041 else {
5042 if (state.backtracking>0) {state.failed=true; return ;}
5043 NoViableAltException nvae =
5044 new NoViableAltException("", 14, 1, input);
5045
5046 throw nvae;
5047 }
5048 }
5049 else if ( (LA14_0==RULE_INT) ) {
5050 int LA14_2 = input.LA(2);
5051
5052 if ( (LA14_2==68) ) {
5053 alt14=2;
5054 }
5055 else if ( (LA14_2==RULE_ID) ) {
5056 alt14=1;
5057 }
5058 else {
5059 if (state.backtracking>0) {state.failed=true; return ;}
5060 NoViableAltException nvae =
5061 new NoViableAltException("", 14, 2, input);
5062
5063 throw nvae;
5064 }
5065 }
5066 else {
5067 if (state.backtracking>0) {state.failed=true; return ;}
5068 NoViableAltException nvae =
5069 new NoViableAltException("", 14, 0, input);
5070
5071 throw nvae;
5072 }
5073 switch (alt14) {
5074 case 1 :
5075 // InternalAlloyLanguage.g:1500:1: ( ruleALSSigScope )
5076 {
5077 // InternalAlloyLanguage.g:1500:1: ( ruleALSSigScope )
5078 // InternalAlloyLanguage.g:1501:1: ruleALSSigScope
5079 {
5080 if ( state.backtracking==0 ) {
5081 before(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
5082 }
5083 pushFollow(FOLLOW_2);
5084 ruleALSSigScope();
5085
5086 state._fsp--;
5087 if (state.failed) return ;
5088 if ( state.backtracking==0 ) {
5089 after(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
5090 }
5091
5092 }
5093
5094
5095 }
5096 break;
5097 case 2 :
5098 // InternalAlloyLanguage.g:1506:6: ( ruleALSIntScope )
5099 {
5100 // InternalAlloyLanguage.g:1506:6: ( ruleALSIntScope )
5101 // InternalAlloyLanguage.g:1507:1: ruleALSIntScope
5102 {
5103 if ( state.backtracking==0 ) {
5104 before(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
5105 }
5106 pushFollow(FOLLOW_2);
5107 ruleALSIntScope();
5108
5109 state._fsp--;
5110 if (state.failed) return ;
5111 if ( state.backtracking==0 ) {
5112 after(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
5113 }
5114
5115 }
5116
5117
5118 }
5119 break;
5120 case 3 :
5121 // InternalAlloyLanguage.g:1512:6: ( ruleALSStringScope )
5122 {
5123 // InternalAlloyLanguage.g:1512:6: ( ruleALSStringScope )
5124 // InternalAlloyLanguage.g:1513:1: ruleALSStringScope
5125 {
5126 if ( state.backtracking==0 ) {
5127 before(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2());
5128 }
5129 pushFollow(FOLLOW_2);
5130 ruleALSStringScope();
5131
5132 state._fsp--;
5133 if (state.failed) return ;
5134 if ( state.backtracking==0 ) {
5135 after(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2());
5136 }
5137
5138 }
5139
5140
5141 }
5142 break;
5143
5144 }
5145 }
5146 catch (RecognitionException re) {
5147 reportError(re);
5148 recover(input,re);
5149 }
5150 finally {
5151
5152 restoreStackSize(stackSize);
5153
5154 }
5155 return ;
5156 }
5157 // $ANTLR end "rule__ALSTypeScope__Alternatives"
5158
5159
5160 // $ANTLR start "rule__ALSMultiplicity__Alternatives"
5161 // InternalAlloyLanguage.g:1523:1: rule__ALSMultiplicity__Alternatives : ( ( ( 'all' ) ) | ( ( 'no' ) ) | ( ( 'some' ) ) | ( ( 'lone' ) ) | ( ( 'one' ) ) | ( ( 'set' ) ) );
5162 public final void rule__ALSMultiplicity__Alternatives() throws RecognitionException {
5163
5164 int stackSize = keepStackSize();
5165
5166 try {
5167 // InternalAlloyLanguage.g:1527:1: ( ( ( 'all' ) ) | ( ( 'no' ) ) | ( ( 'some' ) ) | ( ( 'lone' ) ) | ( ( 'one' ) ) | ( ( 'set' ) ) )
5168 int alt15=6;
5169 switch ( input.LA(1) ) {
5170 case 21:
5171 {
5172 alt15=1;
5173 }
5174 break;
5175 case 22:
5176 {
5177 alt15=2;
5178 }
5179 break;
5180 case 23:
5181 {
5182 alt15=3;
5183 }
5184 break;
5185 case 24:
5186 {
5187 alt15=4;
5188 }
5189 break;
5190 case 25:
5191 {
5192 alt15=5;
5193 }
5194 break;
5195 case 26:
5196 {
5197 alt15=6;
5198 }
5199 break;
5200 default:
5201 if (state.backtracking>0) {state.failed=true; return ;}
5202 NoViableAltException nvae =
5203 new NoViableAltException("", 15, 0, input);
5204
5205 throw nvae;
5206 }
5207
5208 switch (alt15) {
5209 case 1 :
5210 // InternalAlloyLanguage.g:1528:1: ( ( 'all' ) )
5211 {
5212 // InternalAlloyLanguage.g:1528:1: ( ( 'all' ) )
5213 // InternalAlloyLanguage.g:1529:1: ( 'all' )
5214 {
5215 if ( state.backtracking==0 ) {
5216 before(grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
5217 }
5218 // InternalAlloyLanguage.g:1530:1: ( 'all' )
5219 // InternalAlloyLanguage.g:1530:3: 'all'
5220 {
5221 match(input,21,FOLLOW_2); if (state.failed) return ;
5222
5223 }
5224
5225 if ( state.backtracking==0 ) {
5226 after(grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
5227 }
5228
5229 }
5230
5231
5232 }
5233 break;
5234 case 2 :
5235 // InternalAlloyLanguage.g:1535:6: ( ( 'no' ) )
5236 {
5237 // InternalAlloyLanguage.g:1535:6: ( ( 'no' ) )
5238 // InternalAlloyLanguage.g:1536:1: ( 'no' )
5239 {
5240 if ( state.backtracking==0 ) {
5241 before(grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
5242 }
5243 // InternalAlloyLanguage.g:1537:1: ( 'no' )
5244 // InternalAlloyLanguage.g:1537:3: 'no'
5245 {
5246 match(input,22,FOLLOW_2); if (state.failed) return ;
5247
5248 }
5249
5250 if ( state.backtracking==0 ) {
5251 after(grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
5252 }
5253
5254 }
5255
5256
5257 }
5258 break;
5259 case 3 :
5260 // InternalAlloyLanguage.g:1542:6: ( ( 'some' ) )
5261 {
5262 // InternalAlloyLanguage.g:1542:6: ( ( 'some' ) )
5263 // InternalAlloyLanguage.g:1543:1: ( 'some' )
5264 {
5265 if ( state.backtracking==0 ) {
5266 before(grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
5267 }
5268 // InternalAlloyLanguage.g:1544:1: ( 'some' )
5269 // InternalAlloyLanguage.g:1544:3: 'some'
5270 {
5271 match(input,23,FOLLOW_2); if (state.failed) return ;
5272
5273 }
5274
5275 if ( state.backtracking==0 ) {
5276 after(grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
5277 }
5278
5279 }
5280
5281
5282 }
5283 break;
5284 case 4 :
5285 // InternalAlloyLanguage.g:1549:6: ( ( 'lone' ) )
5286 {
5287 // InternalAlloyLanguage.g:1549:6: ( ( 'lone' ) )
5288 // InternalAlloyLanguage.g:1550:1: ( 'lone' )
5289 {
5290 if ( state.backtracking==0 ) {
5291 before(grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
5292 }
5293 // InternalAlloyLanguage.g:1551:1: ( 'lone' )
5294 // InternalAlloyLanguage.g:1551:3: 'lone'
5295 {
5296 match(input,24,FOLLOW_2); if (state.failed) return ;
5297
5298 }
5299
5300 if ( state.backtracking==0 ) {
5301 after(grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
5302 }
5303
5304 }
5305
5306
5307 }
5308 break;
5309 case 5 :
5310 // InternalAlloyLanguage.g:1556:6: ( ( 'one' ) )
5311 {
5312 // InternalAlloyLanguage.g:1556:6: ( ( 'one' ) )
5313 // InternalAlloyLanguage.g:1557:1: ( 'one' )
5314 {
5315 if ( state.backtracking==0 ) {
5316 before(grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
5317 }
5318 // InternalAlloyLanguage.g:1558:1: ( 'one' )
5319 // InternalAlloyLanguage.g:1558:3: 'one'
5320 {
5321 match(input,25,FOLLOW_2); if (state.failed) return ;
5322
5323 }
5324
5325 if ( state.backtracking==0 ) {
5326 after(grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
5327 }
5328
5329 }
5330
5331
5332 }
5333 break;
5334 case 6 :
5335 // InternalAlloyLanguage.g:1563:6: ( ( 'set' ) )
5336 {
5337 // InternalAlloyLanguage.g:1563:6: ( ( 'set' ) )
5338 // InternalAlloyLanguage.g:1564:1: ( 'set' )
5339 {
5340 if ( state.backtracking==0 ) {
5341 before(grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
5342 }
5343 // InternalAlloyLanguage.g:1565:1: ( 'set' )
5344 // InternalAlloyLanguage.g:1565:3: 'set'
5345 {
5346 match(input,26,FOLLOW_2); if (state.failed) return ;
5347
5348 }
5349
5350 if ( state.backtracking==0 ) {
5351 after(grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
5352 }
5353
5354 }
5355
5356
5357 }
5358 break;
5359
5360 }
5361 }
5362 catch (RecognitionException re) {
5363 reportError(re);
5364 recover(input,re);
5365 }
5366 finally {
5367
5368 restoreStackSize(stackSize);
5369
5370 }
5371 return ;
5372 }
5373 // $ANTLR end "rule__ALSMultiplicity__Alternatives"
5374
5375
5376 // $ANTLR start "rule__ALSNumericOperator__Alternatives"
5377 // InternalAlloyLanguage.g:1575:1: rule__ALSNumericOperator__Alternatives : ( ( ( 'plus' ) ) | ( ( 'sub' ) ) | ( ( 'mul' ) ) | ( ( 'rem' ) ) | ( ( 'div' ) ) );
5378 public final void rule__ALSNumericOperator__Alternatives() throws RecognitionException {
5379
5380 int stackSize = keepStackSize();
5381
5382 try {
5383 // InternalAlloyLanguage.g:1579:1: ( ( ( 'plus' ) ) | ( ( 'sub' ) ) | ( ( 'mul' ) ) | ( ( 'rem' ) ) | ( ( 'div' ) ) )
5384 int alt16=5;
5385 switch ( input.LA(1) ) {
5386 case 27:
5387 {
5388 alt16=1;
5389 }
5390 break;
5391 case 28:
5392 {
5393 alt16=2;
5394 }
5395 break;
5396 case 29:
5397 {
5398 alt16=3;
5399 }
5400 break;
5401 case 30:
5402 {
5403 alt16=4;
5404 }
5405 break;
5406 case 31:
5407 {
5408 alt16=5;
5409 }
5410 break;
5411 default:
5412 if (state.backtracking>0) {state.failed=true; return ;}
5413 NoViableAltException nvae =
5414 new NoViableAltException("", 16, 0, input);
5415
5416 throw nvae;
5417 }
5418
5419 switch (alt16) {
5420 case 1 :
5421 // InternalAlloyLanguage.g:1580:1: ( ( 'plus' ) )
5422 {
5423 // InternalAlloyLanguage.g:1580:1: ( ( 'plus' ) )
5424 // InternalAlloyLanguage.g:1581:1: ( 'plus' )
5425 {
5426 if ( state.backtracking==0 ) {
5427 before(grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
5428 }
5429 // InternalAlloyLanguage.g:1582:1: ( 'plus' )
5430 // InternalAlloyLanguage.g:1582:3: 'plus'
5431 {
5432 match(input,27,FOLLOW_2); if (state.failed) return ;
5433
5434 }
5435
5436 if ( state.backtracking==0 ) {
5437 after(grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
5438 }
5439
5440 }
5441
5442
5443 }
5444 break;
5445 case 2 :
5446 // InternalAlloyLanguage.g:1587:6: ( ( 'sub' ) )
5447 {
5448 // InternalAlloyLanguage.g:1587:6: ( ( 'sub' ) )
5449 // InternalAlloyLanguage.g:1588:1: ( 'sub' )
5450 {
5451 if ( state.backtracking==0 ) {
5452 before(grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
5453 }
5454 // InternalAlloyLanguage.g:1589:1: ( 'sub' )
5455 // InternalAlloyLanguage.g:1589:3: 'sub'
5456 {
5457 match(input,28,FOLLOW_2); if (state.failed) return ;
5458
5459 }
5460
5461 if ( state.backtracking==0 ) {
5462 after(grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
5463 }
5464
5465 }
5466
5467
5468 }
5469 break;
5470 case 3 :
5471 // InternalAlloyLanguage.g:1594:6: ( ( 'mul' ) )
5472 {
5473 // InternalAlloyLanguage.g:1594:6: ( ( 'mul' ) )
5474 // InternalAlloyLanguage.g:1595:1: ( 'mul' )
5475 {
5476 if ( state.backtracking==0 ) {
5477 before(grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
5478 }
5479 // InternalAlloyLanguage.g:1596:1: ( 'mul' )
5480 // InternalAlloyLanguage.g:1596:3: 'mul'
5481 {
5482 match(input,29,FOLLOW_2); if (state.failed) return ;
5483
5484 }
5485
5486 if ( state.backtracking==0 ) {
5487 after(grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
5488 }
5489
5490 }
5491
5492
5493 }
5494 break;
5495 case 4 :
5496 // InternalAlloyLanguage.g:1601:6: ( ( 'rem' ) )
5497 {
5498 // InternalAlloyLanguage.g:1601:6: ( ( 'rem' ) )
5499 // InternalAlloyLanguage.g:1602:1: ( 'rem' )
5500 {
5501 if ( state.backtracking==0 ) {
5502 before(grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
5503 }
5504 // InternalAlloyLanguage.g:1603:1: ( 'rem' )
5505 // InternalAlloyLanguage.g:1603:3: 'rem'
5506 {
5507 match(input,30,FOLLOW_2); if (state.failed) return ;
5508
5509 }
5510
5511 if ( state.backtracking==0 ) {
5512 after(grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
5513 }
5514
5515 }
5516
5517
5518 }
5519 break;
5520 case 5 :
5521 // InternalAlloyLanguage.g:1608:6: ( ( 'div' ) )
5522 {
5523 // InternalAlloyLanguage.g:1608:6: ( ( 'div' ) )
5524 // InternalAlloyLanguage.g:1609:1: ( 'div' )
5525 {
5526 if ( state.backtracking==0 ) {
5527 before(grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
5528 }
5529 // InternalAlloyLanguage.g:1610:1: ( 'div' )
5530 // InternalAlloyLanguage.g:1610:3: 'div'
5531 {
5532 match(input,31,FOLLOW_2); if (state.failed) return ;
5533
5534 }
5535
5536 if ( state.backtracking==0 ) {
5537 after(grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
5538 }
5539
5540 }
5541
5542
5543 }
5544 break;
5545
5546 }
5547 }
5548 catch (RecognitionException re) {
5549 reportError(re);
5550 recover(input,re);
5551 }
5552 finally {
5553
5554 restoreStackSize(stackSize);
5555
5556 }
5557 return ;
5558 }
5559 // $ANTLR end "rule__ALSNumericOperator__Alternatives"
5560
5561
5562 // $ANTLR start "rule__ALSDocument__Group__0"
5563 // InternalAlloyLanguage.g:1622:1: rule__ALSDocument__Group__0 : rule__ALSDocument__Group__0__Impl rule__ALSDocument__Group__1 ;
5564 public final void rule__ALSDocument__Group__0() throws RecognitionException {
5565
5566 int stackSize = keepStackSize();
5567
5568 try {
5569 // InternalAlloyLanguage.g:1626:1: ( rule__ALSDocument__Group__0__Impl rule__ALSDocument__Group__1 )
5570 // InternalAlloyLanguage.g:1627:2: rule__ALSDocument__Group__0__Impl rule__ALSDocument__Group__1
5571 {
5572 pushFollow(FOLLOW_3);
5573 rule__ALSDocument__Group__0__Impl();
5574
5575 state._fsp--;
5576 if (state.failed) return ;
5577 pushFollow(FOLLOW_2);
5578 rule__ALSDocument__Group__1();
5579
5580 state._fsp--;
5581 if (state.failed) return ;
5582
5583 }
5584
5585 }
5586 catch (RecognitionException re) {
5587 reportError(re);
5588 recover(input,re);
5589 }
5590 finally {
5591
5592 restoreStackSize(stackSize);
5593
5594 }
5595 return ;
5596 }
5597 // $ANTLR end "rule__ALSDocument__Group__0"
5598
5599
5600 // $ANTLR start "rule__ALSDocument__Group__0__Impl"
5601 // InternalAlloyLanguage.g:1634:1: rule__ALSDocument__Group__0__Impl : ( ( ( rule__ALSDocument__Alternatives_0 ) ) ( ( rule__ALSDocument__Alternatives_0 )* ) ) ;
5602 public final void rule__ALSDocument__Group__0__Impl() throws RecognitionException {
5603
5604 int stackSize = keepStackSize();
5605
5606 try {
5607 // InternalAlloyLanguage.g:1638:1: ( ( ( ( rule__ALSDocument__Alternatives_0 ) ) ( ( rule__ALSDocument__Alternatives_0 )* ) ) )
5608 // InternalAlloyLanguage.g:1639:1: ( ( ( rule__ALSDocument__Alternatives_0 ) ) ( ( rule__ALSDocument__Alternatives_0 )* ) )
5609 {
5610 // InternalAlloyLanguage.g:1639:1: ( ( ( rule__ALSDocument__Alternatives_0 ) ) ( ( rule__ALSDocument__Alternatives_0 )* ) )
5611 // InternalAlloyLanguage.g:1640:1: ( ( rule__ALSDocument__Alternatives_0 ) ) ( ( rule__ALSDocument__Alternatives_0 )* )
5612 {
5613 // InternalAlloyLanguage.g:1640:1: ( ( rule__ALSDocument__Alternatives_0 ) )
5614 // InternalAlloyLanguage.g:1641:1: ( rule__ALSDocument__Alternatives_0 )
5615 {
5616 if ( state.backtracking==0 ) {
5617 before(grammarAccess.getALSDocumentAccess().getAlternatives_0());
5618 }
5619 // InternalAlloyLanguage.g:1642:1: ( rule__ALSDocument__Alternatives_0 )
5620 // InternalAlloyLanguage.g:1642:2: rule__ALSDocument__Alternatives_0
5621 {
5622 pushFollow(FOLLOW_4);
5623 rule__ALSDocument__Alternatives_0();
5624
5625 state._fsp--;
5626 if (state.failed) return ;
5627
5628 }
5629
5630 if ( state.backtracking==0 ) {
5631 after(grammarAccess.getALSDocumentAccess().getAlternatives_0());
5632 }
5633
5634 }
5635
5636 // InternalAlloyLanguage.g:1645:1: ( ( rule__ALSDocument__Alternatives_0 )* )
5637 // InternalAlloyLanguage.g:1646:1: ( rule__ALSDocument__Alternatives_0 )*
5638 {
5639 if ( state.backtracking==0 ) {
5640 before(grammarAccess.getALSDocumentAccess().getAlternatives_0());
5641 }
5642 // InternalAlloyLanguage.g:1647:1: ( rule__ALSDocument__Alternatives_0 )*
5643 loop17:
5644 do {
5645 int alt17=2;
5646 int LA17_0 = input.LA(1);
5647
5648 if ( ((LA17_0>=21 && LA17_0<=26)||LA17_0==32||LA17_0==36||LA17_0==41||(LA17_0>=44 && LA17_0<=45)||LA17_0==75) ) {
5649 alt17=1;
5650 }
5651
5652
5653 switch (alt17) {
5654 case 1 :
5655 // InternalAlloyLanguage.g:1647:2: rule__ALSDocument__Alternatives_0
5656 {
5657 pushFollow(FOLLOW_4);
5658 rule__ALSDocument__Alternatives_0();
5659
5660 state._fsp--;
5661 if (state.failed) return ;
5662
5663 }
5664 break;
5665
5666 default :
5667 break loop17;
5668 }
5669 } while (true);
5670
5671 if ( state.backtracking==0 ) {
5672 after(grammarAccess.getALSDocumentAccess().getAlternatives_0());
5673 }
5674
5675 }
5676
5677
5678 }
5679
5680
5681 }
5682
5683 }
5684 catch (RecognitionException re) {
5685 reportError(re);
5686 recover(input,re);
5687 }
5688 finally {
5689
5690 restoreStackSize(stackSize);
5691
5692 }
5693 return ;
5694 }
5695 // $ANTLR end "rule__ALSDocument__Group__0__Impl"
5696
5697
5698 // $ANTLR start "rule__ALSDocument__Group__1"
5699 // InternalAlloyLanguage.g:1658:1: rule__ALSDocument__Group__1 : rule__ALSDocument__Group__1__Impl ;
5700 public final void rule__ALSDocument__Group__1() throws RecognitionException {
5701
5702 int stackSize = keepStackSize();
5703
5704 try {
5705 // InternalAlloyLanguage.g:1662:1: ( rule__ALSDocument__Group__1__Impl )
5706 // InternalAlloyLanguage.g:1663:2: rule__ALSDocument__Group__1__Impl
5707 {
5708 pushFollow(FOLLOW_2);
5709 rule__ALSDocument__Group__1__Impl();
5710
5711 state._fsp--;
5712 if (state.failed) return ;
5713
5714 }
5715
5716 }
5717 catch (RecognitionException re) {
5718 reportError(re);
5719 recover(input,re);
5720 }
5721 finally {
5722
5723 restoreStackSize(stackSize);
5724
5725 }
5726 return ;
5727 }
5728 // $ANTLR end "rule__ALSDocument__Group__1"
5729
5730
5731 // $ANTLR start "rule__ALSDocument__Group__1__Impl"
5732 // InternalAlloyLanguage.g:1669:1: rule__ALSDocument__Group__1__Impl : ( ( rule__ALSDocument__RunCommandAssignment_1 ) ) ;
5733 public final void rule__ALSDocument__Group__1__Impl() throws RecognitionException {
5734
5735 int stackSize = keepStackSize();
5736
5737 try {
5738 // InternalAlloyLanguage.g:1673:1: ( ( ( rule__ALSDocument__RunCommandAssignment_1 ) ) )
5739 // InternalAlloyLanguage.g:1674:1: ( ( rule__ALSDocument__RunCommandAssignment_1 ) )
5740 {
5741 // InternalAlloyLanguage.g:1674:1: ( ( rule__ALSDocument__RunCommandAssignment_1 ) )
5742 // InternalAlloyLanguage.g:1675:1: ( rule__ALSDocument__RunCommandAssignment_1 )
5743 {
5744 if ( state.backtracking==0 ) {
5745 before(grammarAccess.getALSDocumentAccess().getRunCommandAssignment_1());
5746 }
5747 // InternalAlloyLanguage.g:1676:1: ( rule__ALSDocument__RunCommandAssignment_1 )
5748 // InternalAlloyLanguage.g:1676:2: rule__ALSDocument__RunCommandAssignment_1
5749 {
5750 pushFollow(FOLLOW_2);
5751 rule__ALSDocument__RunCommandAssignment_1();
5752
5753 state._fsp--;
5754 if (state.failed) return ;
5755
5756 }
5757
5758 if ( state.backtracking==0 ) {
5759 after(grammarAccess.getALSDocumentAccess().getRunCommandAssignment_1());
5760 }
5761
5762 }
5763
5764
5765 }
5766
5767 }
5768 catch (RecognitionException re) {
5769 reportError(re);
5770 recover(input,re);
5771 }
5772 finally {
5773
5774 restoreStackSize(stackSize);
5775
5776 }
5777 return ;
5778 }
5779 // $ANTLR end "rule__ALSDocument__Group__1__Impl"
5780
5781
5782 // $ANTLR start "rule__ALSEnumDeclaration__Group__0"
5783 // InternalAlloyLanguage.g:1690:1: rule__ALSEnumDeclaration__Group__0 : rule__ALSEnumDeclaration__Group__0__Impl rule__ALSEnumDeclaration__Group__1 ;
5784 public final void rule__ALSEnumDeclaration__Group__0() throws RecognitionException {
5785
5786 int stackSize = keepStackSize();
5787
5788 try {
5789 // InternalAlloyLanguage.g:1694:1: ( rule__ALSEnumDeclaration__Group__0__Impl rule__ALSEnumDeclaration__Group__1 )
5790 // InternalAlloyLanguage.g:1695:2: rule__ALSEnumDeclaration__Group__0__Impl rule__ALSEnumDeclaration__Group__1
5791 {
5792 pushFollow(FOLLOW_5);
5793 rule__ALSEnumDeclaration__Group__0__Impl();
5794
5795 state._fsp--;
5796 if (state.failed) return ;
5797 pushFollow(FOLLOW_2);
5798 rule__ALSEnumDeclaration__Group__1();
5799
5800 state._fsp--;
5801 if (state.failed) return ;
5802
5803 }
5804
5805 }
5806 catch (RecognitionException re) {
5807 reportError(re);
5808 recover(input,re);
5809 }
5810 finally {
5811
5812 restoreStackSize(stackSize);
5813
5814 }
5815 return ;
5816 }
5817 // $ANTLR end "rule__ALSEnumDeclaration__Group__0"
5818
5819
5820 // $ANTLR start "rule__ALSEnumDeclaration__Group__0__Impl"
5821 // InternalAlloyLanguage.g:1702:1: rule__ALSEnumDeclaration__Group__0__Impl : ( 'enum' ) ;
5822 public final void rule__ALSEnumDeclaration__Group__0__Impl() throws RecognitionException {
5823
5824 int stackSize = keepStackSize();
5825
5826 try {
5827 // InternalAlloyLanguage.g:1706:1: ( ( 'enum' ) )
5828 // InternalAlloyLanguage.g:1707:1: ( 'enum' )
5829 {
5830 // InternalAlloyLanguage.g:1707:1: ( 'enum' )
5831 // InternalAlloyLanguage.g:1708:1: 'enum'
5832 {
5833 if ( state.backtracking==0 ) {
5834 before(grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0());
5835 }
5836 match(input,32,FOLLOW_2); if (state.failed) return ;
5837 if ( state.backtracking==0 ) {
5838 after(grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0());
5839 }
5840
5841 }
5842
5843
5844 }
5845
5846 }
5847 catch (RecognitionException re) {
5848 reportError(re);
5849 recover(input,re);
5850 }
5851 finally {
5852
5853 restoreStackSize(stackSize);
5854
5855 }
5856 return ;
5857 }
5858 // $ANTLR end "rule__ALSEnumDeclaration__Group__0__Impl"
5859
5860
5861 // $ANTLR start "rule__ALSEnumDeclaration__Group__1"
5862 // InternalAlloyLanguage.g:1721:1: rule__ALSEnumDeclaration__Group__1 : rule__ALSEnumDeclaration__Group__1__Impl rule__ALSEnumDeclaration__Group__2 ;
5863 public final void rule__ALSEnumDeclaration__Group__1() throws RecognitionException {
5864
5865 int stackSize = keepStackSize();
5866
5867 try {
5868 // InternalAlloyLanguage.g:1725:1: ( rule__ALSEnumDeclaration__Group__1__Impl rule__ALSEnumDeclaration__Group__2 )
5869 // InternalAlloyLanguage.g:1726:2: rule__ALSEnumDeclaration__Group__1__Impl rule__ALSEnumDeclaration__Group__2
5870 {
5871 pushFollow(FOLLOW_6);
5872 rule__ALSEnumDeclaration__Group__1__Impl();
5873
5874 state._fsp--;
5875 if (state.failed) return ;
5876 pushFollow(FOLLOW_2);
5877 rule__ALSEnumDeclaration__Group__2();
5878
5879 state._fsp--;
5880 if (state.failed) return ;
5881
5882 }
5883
5884 }
5885 catch (RecognitionException re) {
5886 reportError(re);
5887 recover(input,re);
5888 }
5889 finally {
5890
5891 restoreStackSize(stackSize);
5892
5893 }
5894 return ;
5895 }
5896 // $ANTLR end "rule__ALSEnumDeclaration__Group__1"
5897
5898
5899 // $ANTLR start "rule__ALSEnumDeclaration__Group__1__Impl"
5900 // InternalAlloyLanguage.g:1733:1: rule__ALSEnumDeclaration__Group__1__Impl : ( ( rule__ALSEnumDeclaration__NameAssignment_1 ) ) ;
5901 public final void rule__ALSEnumDeclaration__Group__1__Impl() throws RecognitionException {
5902
5903 int stackSize = keepStackSize();
5904
5905 try {
5906 // InternalAlloyLanguage.g:1737:1: ( ( ( rule__ALSEnumDeclaration__NameAssignment_1 ) ) )
5907 // InternalAlloyLanguage.g:1738:1: ( ( rule__ALSEnumDeclaration__NameAssignment_1 ) )
5908 {
5909 // InternalAlloyLanguage.g:1738:1: ( ( rule__ALSEnumDeclaration__NameAssignment_1 ) )
5910 // InternalAlloyLanguage.g:1739:1: ( rule__ALSEnumDeclaration__NameAssignment_1 )
5911 {
5912 if ( state.backtracking==0 ) {
5913 before(grammarAccess.getALSEnumDeclarationAccess().getNameAssignment_1());
5914 }
5915 // InternalAlloyLanguage.g:1740:1: ( rule__ALSEnumDeclaration__NameAssignment_1 )
5916 // InternalAlloyLanguage.g:1740:2: rule__ALSEnumDeclaration__NameAssignment_1
5917 {
5918 pushFollow(FOLLOW_2);
5919 rule__ALSEnumDeclaration__NameAssignment_1();
5920
5921 state._fsp--;
5922 if (state.failed) return ;
5923
5924 }
5925
5926 if ( state.backtracking==0 ) {
5927 after(grammarAccess.getALSEnumDeclarationAccess().getNameAssignment_1());
5928 }
5929
5930 }
5931
5932
5933 }
5934
5935 }
5936 catch (RecognitionException re) {
5937 reportError(re);
5938 recover(input,re);
5939 }
5940 finally {
5941
5942 restoreStackSize(stackSize);
5943
5944 }
5945 return ;
5946 }
5947 // $ANTLR end "rule__ALSEnumDeclaration__Group__1__Impl"
5948
5949
5950 // $ANTLR start "rule__ALSEnumDeclaration__Group__2"
5951 // InternalAlloyLanguage.g:1750:1: rule__ALSEnumDeclaration__Group__2 : rule__ALSEnumDeclaration__Group__2__Impl rule__ALSEnumDeclaration__Group__3 ;
5952 public final void rule__ALSEnumDeclaration__Group__2() throws RecognitionException {
5953
5954 int stackSize = keepStackSize();
5955
5956 try {
5957 // InternalAlloyLanguage.g:1754:1: ( rule__ALSEnumDeclaration__Group__2__Impl rule__ALSEnumDeclaration__Group__3 )
5958 // InternalAlloyLanguage.g:1755:2: rule__ALSEnumDeclaration__Group__2__Impl rule__ALSEnumDeclaration__Group__3
5959 {
5960 pushFollow(FOLLOW_5);
5961 rule__ALSEnumDeclaration__Group__2__Impl();
5962
5963 state._fsp--;
5964 if (state.failed) return ;
5965 pushFollow(FOLLOW_2);
5966 rule__ALSEnumDeclaration__Group__3();
5967
5968 state._fsp--;
5969 if (state.failed) return ;
5970
5971 }
5972
5973 }
5974 catch (RecognitionException re) {
5975 reportError(re);
5976 recover(input,re);
5977 }
5978 finally {
5979
5980 restoreStackSize(stackSize);
5981
5982 }
5983 return ;
5984 }
5985 // $ANTLR end "rule__ALSEnumDeclaration__Group__2"
5986
5987
5988 // $ANTLR start "rule__ALSEnumDeclaration__Group__2__Impl"
5989 // InternalAlloyLanguage.g:1762:1: rule__ALSEnumDeclaration__Group__2__Impl : ( '{' ) ;
5990 public final void rule__ALSEnumDeclaration__Group__2__Impl() throws RecognitionException {
5991
5992 int stackSize = keepStackSize();
5993
5994 try {
5995 // InternalAlloyLanguage.g:1766:1: ( ( '{' ) )
5996 // InternalAlloyLanguage.g:1767:1: ( '{' )
5997 {
5998 // InternalAlloyLanguage.g:1767:1: ( '{' )
5999 // InternalAlloyLanguage.g:1768:1: '{'
6000 {
6001 if ( state.backtracking==0 ) {
6002 before(grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2());
6003 }
6004 match(input,33,FOLLOW_2); if (state.failed) return ;
6005 if ( state.backtracking==0 ) {
6006 after(grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2());
6007 }
6008
6009 }
6010
6011
6012 }
6013
6014 }
6015 catch (RecognitionException re) {
6016 reportError(re);
6017 recover(input,re);
6018 }
6019 finally {
6020
6021 restoreStackSize(stackSize);
6022
6023 }
6024 return ;
6025 }
6026 // $ANTLR end "rule__ALSEnumDeclaration__Group__2__Impl"
6027
6028
6029 // $ANTLR start "rule__ALSEnumDeclaration__Group__3"
6030 // InternalAlloyLanguage.g:1781:1: rule__ALSEnumDeclaration__Group__3 : rule__ALSEnumDeclaration__Group__3__Impl rule__ALSEnumDeclaration__Group__4 ;
6031 public final void rule__ALSEnumDeclaration__Group__3() throws RecognitionException {
6032
6033 int stackSize = keepStackSize();
6034
6035 try {
6036 // InternalAlloyLanguage.g:1785:1: ( rule__ALSEnumDeclaration__Group__3__Impl rule__ALSEnumDeclaration__Group__4 )
6037 // InternalAlloyLanguage.g:1786:2: rule__ALSEnumDeclaration__Group__3__Impl rule__ALSEnumDeclaration__Group__4
6038 {
6039 pushFollow(FOLLOW_7);
6040 rule__ALSEnumDeclaration__Group__3__Impl();
6041
6042 state._fsp--;
6043 if (state.failed) return ;
6044 pushFollow(FOLLOW_2);
6045 rule__ALSEnumDeclaration__Group__4();
6046
6047 state._fsp--;
6048 if (state.failed) return ;
6049
6050 }
6051
6052 }
6053 catch (RecognitionException re) {
6054 reportError(re);
6055 recover(input,re);
6056 }
6057 finally {
6058
6059 restoreStackSize(stackSize);
6060
6061 }
6062 return ;
6063 }
6064 // $ANTLR end "rule__ALSEnumDeclaration__Group__3"
6065
6066
6067 // $ANTLR start "rule__ALSEnumDeclaration__Group__3__Impl"
6068 // InternalAlloyLanguage.g:1793:1: rule__ALSEnumDeclaration__Group__3__Impl : ( ( rule__ALSEnumDeclaration__LiteralAssignment_3 ) ) ;
6069 public final void rule__ALSEnumDeclaration__Group__3__Impl() throws RecognitionException {
6070
6071 int stackSize = keepStackSize();
6072
6073 try {
6074 // InternalAlloyLanguage.g:1797:1: ( ( ( rule__ALSEnumDeclaration__LiteralAssignment_3 ) ) )
6075 // InternalAlloyLanguage.g:1798:1: ( ( rule__ALSEnumDeclaration__LiteralAssignment_3 ) )
6076 {
6077 // InternalAlloyLanguage.g:1798:1: ( ( rule__ALSEnumDeclaration__LiteralAssignment_3 ) )
6078 // InternalAlloyLanguage.g:1799:1: ( rule__ALSEnumDeclaration__LiteralAssignment_3 )
6079 {
6080 if ( state.backtracking==0 ) {
6081 before(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_3());
6082 }
6083 // InternalAlloyLanguage.g:1800:1: ( rule__ALSEnumDeclaration__LiteralAssignment_3 )
6084 // InternalAlloyLanguage.g:1800:2: rule__ALSEnumDeclaration__LiteralAssignment_3
6085 {
6086 pushFollow(FOLLOW_2);
6087 rule__ALSEnumDeclaration__LiteralAssignment_3();
6088
6089 state._fsp--;
6090 if (state.failed) return ;
6091
6092 }
6093
6094 if ( state.backtracking==0 ) {
6095 after(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_3());
6096 }
6097
6098 }
6099
6100
6101 }
6102
6103 }
6104 catch (RecognitionException re) {
6105 reportError(re);
6106 recover(input,re);
6107 }
6108 finally {
6109
6110 restoreStackSize(stackSize);
6111
6112 }
6113 return ;
6114 }
6115 // $ANTLR end "rule__ALSEnumDeclaration__Group__3__Impl"
6116
6117
6118 // $ANTLR start "rule__ALSEnumDeclaration__Group__4"
6119 // InternalAlloyLanguage.g:1810:1: rule__ALSEnumDeclaration__Group__4 : rule__ALSEnumDeclaration__Group__4__Impl rule__ALSEnumDeclaration__Group__5 ;
6120 public final void rule__ALSEnumDeclaration__Group__4() throws RecognitionException {
6121
6122 int stackSize = keepStackSize();
6123
6124 try {
6125 // InternalAlloyLanguage.g:1814:1: ( rule__ALSEnumDeclaration__Group__4__Impl rule__ALSEnumDeclaration__Group__5 )
6126 // InternalAlloyLanguage.g:1815:2: rule__ALSEnumDeclaration__Group__4__Impl rule__ALSEnumDeclaration__Group__5
6127 {
6128 pushFollow(FOLLOW_7);
6129 rule__ALSEnumDeclaration__Group__4__Impl();
6130
6131 state._fsp--;
6132 if (state.failed) return ;
6133 pushFollow(FOLLOW_2);
6134 rule__ALSEnumDeclaration__Group__5();
6135
6136 state._fsp--;
6137 if (state.failed) return ;
6138
6139 }
6140
6141 }
6142 catch (RecognitionException re) {
6143 reportError(re);
6144 recover(input,re);
6145 }
6146 finally {
6147
6148 restoreStackSize(stackSize);
6149
6150 }
6151 return ;
6152 }
6153 // $ANTLR end "rule__ALSEnumDeclaration__Group__4"
6154
6155
6156 // $ANTLR start "rule__ALSEnumDeclaration__Group__4__Impl"
6157 // InternalAlloyLanguage.g:1822:1: rule__ALSEnumDeclaration__Group__4__Impl : ( ( rule__ALSEnumDeclaration__Group_4__0 )* ) ;
6158 public final void rule__ALSEnumDeclaration__Group__4__Impl() throws RecognitionException {
6159
6160 int stackSize = keepStackSize();
6161
6162 try {
6163 // InternalAlloyLanguage.g:1826:1: ( ( ( rule__ALSEnumDeclaration__Group_4__0 )* ) )
6164 // InternalAlloyLanguage.g:1827:1: ( ( rule__ALSEnumDeclaration__Group_4__0 )* )
6165 {
6166 // InternalAlloyLanguage.g:1827:1: ( ( rule__ALSEnumDeclaration__Group_4__0 )* )
6167 // InternalAlloyLanguage.g:1828:1: ( rule__ALSEnumDeclaration__Group_4__0 )*
6168 {
6169 if ( state.backtracking==0 ) {
6170 before(grammarAccess.getALSEnumDeclarationAccess().getGroup_4());
6171 }
6172 // InternalAlloyLanguage.g:1829:1: ( rule__ALSEnumDeclaration__Group_4__0 )*
6173 loop18:
6174 do {
6175 int alt18=2;
6176 int LA18_0 = input.LA(1);
6177
6178 if ( (LA18_0==35) ) {
6179 alt18=1;
6180 }
6181
6182
6183 switch (alt18) {
6184 case 1 :
6185 // InternalAlloyLanguage.g:1829:2: rule__ALSEnumDeclaration__Group_4__0
6186 {
6187 pushFollow(FOLLOW_8);
6188 rule__ALSEnumDeclaration__Group_4__0();
6189
6190 state._fsp--;
6191 if (state.failed) return ;
6192
6193 }
6194 break;
6195
6196 default :
6197 break loop18;
6198 }
6199 } while (true);
6200
6201 if ( state.backtracking==0 ) {
6202 after(grammarAccess.getALSEnumDeclarationAccess().getGroup_4());
6203 }
6204
6205 }
6206
6207
6208 }
6209
6210 }
6211 catch (RecognitionException re) {
6212 reportError(re);
6213 recover(input,re);
6214 }
6215 finally {
6216
6217 restoreStackSize(stackSize);
6218
6219 }
6220 return ;
6221 }
6222 // $ANTLR end "rule__ALSEnumDeclaration__Group__4__Impl"
6223
6224
6225 // $ANTLR start "rule__ALSEnumDeclaration__Group__5"
6226 // InternalAlloyLanguage.g:1839:1: rule__ALSEnumDeclaration__Group__5 : rule__ALSEnumDeclaration__Group__5__Impl ;
6227 public final void rule__ALSEnumDeclaration__Group__5() throws RecognitionException {
6228
6229 int stackSize = keepStackSize();
6230
6231 try {
6232 // InternalAlloyLanguage.g:1843:1: ( rule__ALSEnumDeclaration__Group__5__Impl )
6233 // InternalAlloyLanguage.g:1844:2: rule__ALSEnumDeclaration__Group__5__Impl
6234 {
6235 pushFollow(FOLLOW_2);
6236 rule__ALSEnumDeclaration__Group__5__Impl();
6237
6238 state._fsp--;
6239 if (state.failed) return ;
6240
6241 }
6242
6243 }
6244 catch (RecognitionException re) {
6245 reportError(re);
6246 recover(input,re);
6247 }
6248 finally {
6249
6250 restoreStackSize(stackSize);
6251
6252 }
6253 return ;
6254 }
6255 // $ANTLR end "rule__ALSEnumDeclaration__Group__5"
6256
6257
6258 // $ANTLR start "rule__ALSEnumDeclaration__Group__5__Impl"
6259 // InternalAlloyLanguage.g:1850:1: rule__ALSEnumDeclaration__Group__5__Impl : ( '}' ) ;
6260 public final void rule__ALSEnumDeclaration__Group__5__Impl() throws RecognitionException {
6261
6262 int stackSize = keepStackSize();
6263
6264 try {
6265 // InternalAlloyLanguage.g:1854:1: ( ( '}' ) )
6266 // InternalAlloyLanguage.g:1855:1: ( '}' )
6267 {
6268 // InternalAlloyLanguage.g:1855:1: ( '}' )
6269 // InternalAlloyLanguage.g:1856:1: '}'
6270 {
6271 if ( state.backtracking==0 ) {
6272 before(grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5());
6273 }
6274 match(input,34,FOLLOW_2); if (state.failed) return ;
6275 if ( state.backtracking==0 ) {
6276 after(grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5());
6277 }
6278
6279 }
6280
6281
6282 }
6283
6284 }
6285 catch (RecognitionException re) {
6286 reportError(re);
6287 recover(input,re);
6288 }
6289 finally {
6290
6291 restoreStackSize(stackSize);
6292
6293 }
6294 return ;
6295 }
6296 // $ANTLR end "rule__ALSEnumDeclaration__Group__5__Impl"
6297
6298
6299 // $ANTLR start "rule__ALSEnumDeclaration__Group_4__0"
6300 // InternalAlloyLanguage.g:1881:1: rule__ALSEnumDeclaration__Group_4__0 : rule__ALSEnumDeclaration__Group_4__0__Impl rule__ALSEnumDeclaration__Group_4__1 ;
6301 public final void rule__ALSEnumDeclaration__Group_4__0() throws RecognitionException {
6302
6303 int stackSize = keepStackSize();
6304
6305 try {
6306 // InternalAlloyLanguage.g:1885:1: ( rule__ALSEnumDeclaration__Group_4__0__Impl rule__ALSEnumDeclaration__Group_4__1 )
6307 // InternalAlloyLanguage.g:1886:2: rule__ALSEnumDeclaration__Group_4__0__Impl rule__ALSEnumDeclaration__Group_4__1
6308 {
6309 pushFollow(FOLLOW_5);
6310 rule__ALSEnumDeclaration__Group_4__0__Impl();
6311
6312 state._fsp--;
6313 if (state.failed) return ;
6314 pushFollow(FOLLOW_2);
6315 rule__ALSEnumDeclaration__Group_4__1();
6316
6317 state._fsp--;
6318 if (state.failed) return ;
6319
6320 }
6321
6322 }
6323 catch (RecognitionException re) {
6324 reportError(re);
6325 recover(input,re);
6326 }
6327 finally {
6328
6329 restoreStackSize(stackSize);
6330
6331 }
6332 return ;
6333 }
6334 // $ANTLR end "rule__ALSEnumDeclaration__Group_4__0"
6335
6336
6337 // $ANTLR start "rule__ALSEnumDeclaration__Group_4__0__Impl"
6338 // InternalAlloyLanguage.g:1893:1: rule__ALSEnumDeclaration__Group_4__0__Impl : ( ',' ) ;
6339 public final void rule__ALSEnumDeclaration__Group_4__0__Impl() throws RecognitionException {
6340
6341 int stackSize = keepStackSize();
6342
6343 try {
6344 // InternalAlloyLanguage.g:1897:1: ( ( ',' ) )
6345 // InternalAlloyLanguage.g:1898:1: ( ',' )
6346 {
6347 // InternalAlloyLanguage.g:1898:1: ( ',' )
6348 // InternalAlloyLanguage.g:1899:1: ','
6349 {
6350 if ( state.backtracking==0 ) {
6351 before(grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0());
6352 }
6353 match(input,35,FOLLOW_2); if (state.failed) return ;
6354 if ( state.backtracking==0 ) {
6355 after(grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0());
6356 }
6357
6358 }
6359
6360
6361 }
6362
6363 }
6364 catch (RecognitionException re) {
6365 reportError(re);
6366 recover(input,re);
6367 }
6368 finally {
6369
6370 restoreStackSize(stackSize);
6371
6372 }
6373 return ;
6374 }
6375 // $ANTLR end "rule__ALSEnumDeclaration__Group_4__0__Impl"
6376
6377
6378 // $ANTLR start "rule__ALSEnumDeclaration__Group_4__1"
6379 // InternalAlloyLanguage.g:1912:1: rule__ALSEnumDeclaration__Group_4__1 : rule__ALSEnumDeclaration__Group_4__1__Impl ;
6380 public final void rule__ALSEnumDeclaration__Group_4__1() throws RecognitionException {
6381
6382 int stackSize = keepStackSize();
6383
6384 try {
6385 // InternalAlloyLanguage.g:1916:1: ( rule__ALSEnumDeclaration__Group_4__1__Impl )
6386 // InternalAlloyLanguage.g:1917:2: rule__ALSEnumDeclaration__Group_4__1__Impl
6387 {
6388 pushFollow(FOLLOW_2);
6389 rule__ALSEnumDeclaration__Group_4__1__Impl();
6390
6391 state._fsp--;
6392 if (state.failed) return ;
6393
6394 }
6395
6396 }
6397 catch (RecognitionException re) {
6398 reportError(re);
6399 recover(input,re);
6400 }
6401 finally {
6402
6403 restoreStackSize(stackSize);
6404
6405 }
6406 return ;
6407 }
6408 // $ANTLR end "rule__ALSEnumDeclaration__Group_4__1"
6409
6410
6411 // $ANTLR start "rule__ALSEnumDeclaration__Group_4__1__Impl"
6412 // InternalAlloyLanguage.g:1923:1: rule__ALSEnumDeclaration__Group_4__1__Impl : ( ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 ) ) ;
6413 public final void rule__ALSEnumDeclaration__Group_4__1__Impl() throws RecognitionException {
6414
6415 int stackSize = keepStackSize();
6416
6417 try {
6418 // InternalAlloyLanguage.g:1927:1: ( ( ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 ) ) )
6419 // InternalAlloyLanguage.g:1928:1: ( ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 ) )
6420 {
6421 // InternalAlloyLanguage.g:1928:1: ( ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 ) )
6422 // InternalAlloyLanguage.g:1929:1: ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 )
6423 {
6424 if ( state.backtracking==0 ) {
6425 before(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_4_1());
6426 }
6427 // InternalAlloyLanguage.g:1930:1: ( rule__ALSEnumDeclaration__LiteralAssignment_4_1 )
6428 // InternalAlloyLanguage.g:1930:2: rule__ALSEnumDeclaration__LiteralAssignment_4_1
6429 {
6430 pushFollow(FOLLOW_2);
6431 rule__ALSEnumDeclaration__LiteralAssignment_4_1();
6432
6433 state._fsp--;
6434 if (state.failed) return ;
6435
6436 }
6437
6438 if ( state.backtracking==0 ) {
6439 after(grammarAccess.getALSEnumDeclarationAccess().getLiteralAssignment_4_1());
6440 }
6441
6442 }
6443
6444
6445 }
6446
6447 }
6448 catch (RecognitionException re) {
6449 reportError(re);
6450 recover(input,re);
6451 }
6452 finally {
6453
6454 restoreStackSize(stackSize);
6455
6456 }
6457 return ;
6458 }
6459 // $ANTLR end "rule__ALSEnumDeclaration__Group_4__1__Impl"
6460
6461
6462 // $ANTLR start "rule__ALSSignatureBody__Group__0"
6463 // InternalAlloyLanguage.g:1944:1: rule__ALSSignatureBody__Group__0 : rule__ALSSignatureBody__Group__0__Impl rule__ALSSignatureBody__Group__1 ;
6464 public final void rule__ALSSignatureBody__Group__0() throws RecognitionException {
6465
6466 int stackSize = keepStackSize();
6467
6468 try {
6469 // InternalAlloyLanguage.g:1948:1: ( rule__ALSSignatureBody__Group__0__Impl rule__ALSSignatureBody__Group__1 )
6470 // InternalAlloyLanguage.g:1949:2: rule__ALSSignatureBody__Group__0__Impl rule__ALSSignatureBody__Group__1
6471 {
6472 pushFollow(FOLLOW_9);
6473 rule__ALSSignatureBody__Group__0__Impl();
6474
6475 state._fsp--;
6476 if (state.failed) return ;
6477 pushFollow(FOLLOW_2);
6478 rule__ALSSignatureBody__Group__1();
6479
6480 state._fsp--;
6481 if (state.failed) return ;
6482
6483 }
6484
6485 }
6486 catch (RecognitionException re) {
6487 reportError(re);
6488 recover(input,re);
6489 }
6490 finally {
6491
6492 restoreStackSize(stackSize);
6493
6494 }
6495 return ;
6496 }
6497 // $ANTLR end "rule__ALSSignatureBody__Group__0"
6498
6499
6500 // $ANTLR start "rule__ALSSignatureBody__Group__0__Impl"
6501 // InternalAlloyLanguage.g:1956:1: rule__ALSSignatureBody__Group__0__Impl : ( ( rule__ALSSignatureBody__UnorderedGroup_0 ) ) ;
6502 public final void rule__ALSSignatureBody__Group__0__Impl() throws RecognitionException {
6503
6504 int stackSize = keepStackSize();
6505
6506 try {
6507 // InternalAlloyLanguage.g:1960:1: ( ( ( rule__ALSSignatureBody__UnorderedGroup_0 ) ) )
6508 // InternalAlloyLanguage.g:1961:1: ( ( rule__ALSSignatureBody__UnorderedGroup_0 ) )
6509 {
6510 // InternalAlloyLanguage.g:1961:1: ( ( rule__ALSSignatureBody__UnorderedGroup_0 ) )
6511 // InternalAlloyLanguage.g:1962:1: ( rule__ALSSignatureBody__UnorderedGroup_0 )
6512 {
6513 if ( state.backtracking==0 ) {
6514 before(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
6515 }
6516 // InternalAlloyLanguage.g:1963:1: ( rule__ALSSignatureBody__UnorderedGroup_0 )
6517 // InternalAlloyLanguage.g:1963:2: rule__ALSSignatureBody__UnorderedGroup_0
6518 {
6519 pushFollow(FOLLOW_2);
6520 rule__ALSSignatureBody__UnorderedGroup_0();
6521
6522 state._fsp--;
6523 if (state.failed) return ;
6524
6525 }
6526
6527 if ( state.backtracking==0 ) {
6528 after(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
6529 }
6530
6531 }
6532
6533
6534 }
6535
6536 }
6537 catch (RecognitionException re) {
6538 reportError(re);
6539 recover(input,re);
6540 }
6541 finally {
6542
6543 restoreStackSize(stackSize);
6544
6545 }
6546 return ;
6547 }
6548 // $ANTLR end "rule__ALSSignatureBody__Group__0__Impl"
6549
6550
6551 // $ANTLR start "rule__ALSSignatureBody__Group__1"
6552 // InternalAlloyLanguage.g:1973:1: rule__ALSSignatureBody__Group__1 : rule__ALSSignatureBody__Group__1__Impl rule__ALSSignatureBody__Group__2 ;
6553 public final void rule__ALSSignatureBody__Group__1() throws RecognitionException {
6554
6555 int stackSize = keepStackSize();
6556
6557 try {
6558 // InternalAlloyLanguage.g:1977:1: ( rule__ALSSignatureBody__Group__1__Impl rule__ALSSignatureBody__Group__2 )
6559 // InternalAlloyLanguage.g:1978:2: rule__ALSSignatureBody__Group__1__Impl rule__ALSSignatureBody__Group__2
6560 {
6561 pushFollow(FOLLOW_5);
6562 rule__ALSSignatureBody__Group__1__Impl();
6563
6564 state._fsp--;
6565 if (state.failed) return ;
6566 pushFollow(FOLLOW_2);
6567 rule__ALSSignatureBody__Group__2();
6568
6569 state._fsp--;
6570 if (state.failed) return ;
6571
6572 }
6573
6574 }
6575 catch (RecognitionException re) {
6576 reportError(re);
6577 recover(input,re);
6578 }
6579 finally {
6580
6581 restoreStackSize(stackSize);
6582
6583 }
6584 return ;
6585 }
6586 // $ANTLR end "rule__ALSSignatureBody__Group__1"
6587
6588
6589 // $ANTLR start "rule__ALSSignatureBody__Group__1__Impl"
6590 // InternalAlloyLanguage.g:1985:1: rule__ALSSignatureBody__Group__1__Impl : ( 'sig' ) ;
6591 public final void rule__ALSSignatureBody__Group__1__Impl() throws RecognitionException {
6592
6593 int stackSize = keepStackSize();
6594
6595 try {
6596 // InternalAlloyLanguage.g:1989:1: ( ( 'sig' ) )
6597 // InternalAlloyLanguage.g:1990:1: ( 'sig' )
6598 {
6599 // InternalAlloyLanguage.g:1990:1: ( 'sig' )
6600 // InternalAlloyLanguage.g:1991:1: 'sig'
6601 {
6602 if ( state.backtracking==0 ) {
6603 before(grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1());
6604 }
6605 match(input,36,FOLLOW_2); if (state.failed) return ;
6606 if ( state.backtracking==0 ) {
6607 after(grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1());
6608 }
6609
6610 }
6611
6612
6613 }
6614
6615 }
6616 catch (RecognitionException re) {
6617 reportError(re);
6618 recover(input,re);
6619 }
6620 finally {
6621
6622 restoreStackSize(stackSize);
6623
6624 }
6625 return ;
6626 }
6627 // $ANTLR end "rule__ALSSignatureBody__Group__1__Impl"
6628
6629
6630 // $ANTLR start "rule__ALSSignatureBody__Group__2"
6631 // InternalAlloyLanguage.g:2004:1: rule__ALSSignatureBody__Group__2 : rule__ALSSignatureBody__Group__2__Impl rule__ALSSignatureBody__Group__3 ;
6632 public final void rule__ALSSignatureBody__Group__2() throws RecognitionException {
6633
6634 int stackSize = keepStackSize();
6635
6636 try {
6637 // InternalAlloyLanguage.g:2008:1: ( rule__ALSSignatureBody__Group__2__Impl rule__ALSSignatureBody__Group__3 )
6638 // InternalAlloyLanguage.g:2009:2: rule__ALSSignatureBody__Group__2__Impl rule__ALSSignatureBody__Group__3
6639 {
6640 pushFollow(FOLLOW_10);
6641 rule__ALSSignatureBody__Group__2__Impl();
6642
6643 state._fsp--;
6644 if (state.failed) return ;
6645 pushFollow(FOLLOW_2);
6646 rule__ALSSignatureBody__Group__3();
6647
6648 state._fsp--;
6649 if (state.failed) return ;
6650
6651 }
6652
6653 }
6654 catch (RecognitionException re) {
6655 reportError(re);
6656 recover(input,re);
6657 }
6658 finally {
6659
6660 restoreStackSize(stackSize);
6661
6662 }
6663 return ;
6664 }
6665 // $ANTLR end "rule__ALSSignatureBody__Group__2"
6666
6667
6668 // $ANTLR start "rule__ALSSignatureBody__Group__2__Impl"
6669 // InternalAlloyLanguage.g:2016:1: rule__ALSSignatureBody__Group__2__Impl : ( ( rule__ALSSignatureBody__DeclarationsAssignment_2 ) ) ;
6670 public final void rule__ALSSignatureBody__Group__2__Impl() throws RecognitionException {
6671
6672 int stackSize = keepStackSize();
6673
6674 try {
6675 // InternalAlloyLanguage.g:2020:1: ( ( ( rule__ALSSignatureBody__DeclarationsAssignment_2 ) ) )
6676 // InternalAlloyLanguage.g:2021:1: ( ( rule__ALSSignatureBody__DeclarationsAssignment_2 ) )
6677 {
6678 // InternalAlloyLanguage.g:2021:1: ( ( rule__ALSSignatureBody__DeclarationsAssignment_2 ) )
6679 // InternalAlloyLanguage.g:2022:1: ( rule__ALSSignatureBody__DeclarationsAssignment_2 )
6680 {
6681 if ( state.backtracking==0 ) {
6682 before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_2());
6683 }
6684 // InternalAlloyLanguage.g:2023:1: ( rule__ALSSignatureBody__DeclarationsAssignment_2 )
6685 // InternalAlloyLanguage.g:2023:2: rule__ALSSignatureBody__DeclarationsAssignment_2
6686 {
6687 pushFollow(FOLLOW_2);
6688 rule__ALSSignatureBody__DeclarationsAssignment_2();
6689
6690 state._fsp--;
6691 if (state.failed) return ;
6692
6693 }
6694
6695 if ( state.backtracking==0 ) {
6696 after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_2());
6697 }
6698
6699 }
6700
6701
6702 }
6703
6704 }
6705 catch (RecognitionException re) {
6706 reportError(re);
6707 recover(input,re);
6708 }
6709 finally {
6710
6711 restoreStackSize(stackSize);
6712
6713 }
6714 return ;
6715 }
6716 // $ANTLR end "rule__ALSSignatureBody__Group__2__Impl"
6717
6718
6719 // $ANTLR start "rule__ALSSignatureBody__Group__3"
6720 // InternalAlloyLanguage.g:2033:1: rule__ALSSignatureBody__Group__3 : rule__ALSSignatureBody__Group__3__Impl rule__ALSSignatureBody__Group__4 ;
6721 public final void rule__ALSSignatureBody__Group__3() throws RecognitionException {
6722
6723 int stackSize = keepStackSize();
6724
6725 try {
6726 // InternalAlloyLanguage.g:2037:1: ( rule__ALSSignatureBody__Group__3__Impl rule__ALSSignatureBody__Group__4 )
6727 // InternalAlloyLanguage.g:2038:2: rule__ALSSignatureBody__Group__3__Impl rule__ALSSignatureBody__Group__4
6728 {
6729 pushFollow(FOLLOW_10);
6730 rule__ALSSignatureBody__Group__3__Impl();
6731
6732 state._fsp--;
6733 if (state.failed) return ;
6734 pushFollow(FOLLOW_2);
6735 rule__ALSSignatureBody__Group__4();
6736
6737 state._fsp--;
6738 if (state.failed) return ;
6739
6740 }
6741
6742 }
6743 catch (RecognitionException re) {
6744 reportError(re);
6745 recover(input,re);
6746 }
6747 finally {
6748
6749 restoreStackSize(stackSize);
6750
6751 }
6752 return ;
6753 }
6754 // $ANTLR end "rule__ALSSignatureBody__Group__3"
6755
6756
6757 // $ANTLR start "rule__ALSSignatureBody__Group__3__Impl"
6758 // InternalAlloyLanguage.g:2045:1: rule__ALSSignatureBody__Group__3__Impl : ( ( rule__ALSSignatureBody__Group_3__0 )* ) ;
6759 public final void rule__ALSSignatureBody__Group__3__Impl() throws RecognitionException {
6760
6761 int stackSize = keepStackSize();
6762
6763 try {
6764 // InternalAlloyLanguage.g:2049:1: ( ( ( rule__ALSSignatureBody__Group_3__0 )* ) )
6765 // InternalAlloyLanguage.g:2050:1: ( ( rule__ALSSignatureBody__Group_3__0 )* )
6766 {
6767 // InternalAlloyLanguage.g:2050:1: ( ( rule__ALSSignatureBody__Group_3__0 )* )
6768 // InternalAlloyLanguage.g:2051:1: ( rule__ALSSignatureBody__Group_3__0 )*
6769 {
6770 if ( state.backtracking==0 ) {
6771 before(grammarAccess.getALSSignatureBodyAccess().getGroup_3());
6772 }
6773 // InternalAlloyLanguage.g:2052:1: ( rule__ALSSignatureBody__Group_3__0 )*
6774 loop19:
6775 do {
6776 int alt19=2;
6777 int LA19_0 = input.LA(1);
6778
6779 if ( (LA19_0==35) ) {
6780 alt19=1;
6781 }
6782
6783
6784 switch (alt19) {
6785 case 1 :
6786 // InternalAlloyLanguage.g:2052:2: rule__ALSSignatureBody__Group_3__0
6787 {
6788 pushFollow(FOLLOW_8);
6789 rule__ALSSignatureBody__Group_3__0();
6790
6791 state._fsp--;
6792 if (state.failed) return ;
6793
6794 }
6795 break;
6796
6797 default :
6798 break loop19;
6799 }
6800 } while (true);
6801
6802 if ( state.backtracking==0 ) {
6803 after(grammarAccess.getALSSignatureBodyAccess().getGroup_3());
6804 }
6805
6806 }
6807
6808
6809 }
6810
6811 }
6812 catch (RecognitionException re) {
6813 reportError(re);
6814 recover(input,re);
6815 }
6816 finally {
6817
6818 restoreStackSize(stackSize);
6819
6820 }
6821 return ;
6822 }
6823 // $ANTLR end "rule__ALSSignatureBody__Group__3__Impl"
6824
6825
6826 // $ANTLR start "rule__ALSSignatureBody__Group__4"
6827 // InternalAlloyLanguage.g:2062:1: rule__ALSSignatureBody__Group__4 : rule__ALSSignatureBody__Group__4__Impl rule__ALSSignatureBody__Group__5 ;
6828 public final void rule__ALSSignatureBody__Group__4() throws RecognitionException {
6829
6830 int stackSize = keepStackSize();
6831
6832 try {
6833 // InternalAlloyLanguage.g:2066:1: ( rule__ALSSignatureBody__Group__4__Impl rule__ALSSignatureBody__Group__5 )
6834 // InternalAlloyLanguage.g:2067:2: rule__ALSSignatureBody__Group__4__Impl rule__ALSSignatureBody__Group__5
6835 {
6836 pushFollow(FOLLOW_10);
6837 rule__ALSSignatureBody__Group__4__Impl();
6838
6839 state._fsp--;
6840 if (state.failed) return ;
6841 pushFollow(FOLLOW_2);
6842 rule__ALSSignatureBody__Group__5();
6843
6844 state._fsp--;
6845 if (state.failed) return ;
6846
6847 }
6848
6849 }
6850 catch (RecognitionException re) {
6851 reportError(re);
6852 recover(input,re);
6853 }
6854 finally {
6855
6856 restoreStackSize(stackSize);
6857
6858 }
6859 return ;
6860 }
6861 // $ANTLR end "rule__ALSSignatureBody__Group__4"
6862
6863
6864 // $ANTLR start "rule__ALSSignatureBody__Group__4__Impl"
6865 // InternalAlloyLanguage.g:2074:1: rule__ALSSignatureBody__Group__4__Impl : ( ( rule__ALSSignatureBody__Alternatives_4 )? ) ;
6866 public final void rule__ALSSignatureBody__Group__4__Impl() throws RecognitionException {
6867
6868 int stackSize = keepStackSize();
6869
6870 try {
6871 // InternalAlloyLanguage.g:2078:1: ( ( ( rule__ALSSignatureBody__Alternatives_4 )? ) )
6872 // InternalAlloyLanguage.g:2079:1: ( ( rule__ALSSignatureBody__Alternatives_4 )? )
6873 {
6874 // InternalAlloyLanguage.g:2079:1: ( ( rule__ALSSignatureBody__Alternatives_4 )? )
6875 // InternalAlloyLanguage.g:2080:1: ( rule__ALSSignatureBody__Alternatives_4 )?
6876 {
6877 if ( state.backtracking==0 ) {
6878 before(grammarAccess.getALSSignatureBodyAccess().getAlternatives_4());
6879 }
6880 // InternalAlloyLanguage.g:2081:1: ( rule__ALSSignatureBody__Alternatives_4 )?
6881 int alt20=2;
6882 int LA20_0 = input.LA(1);
6883
6884 if ( ((LA20_0>=37 && LA20_0<=38)) ) {
6885 alt20=1;
6886 }
6887 switch (alt20) {
6888 case 1 :
6889 // InternalAlloyLanguage.g:2081:2: rule__ALSSignatureBody__Alternatives_4
6890 {
6891 pushFollow(FOLLOW_2);
6892 rule__ALSSignatureBody__Alternatives_4();
6893
6894 state._fsp--;
6895 if (state.failed) return ;
6896
6897 }
6898 break;
6899
6900 }
6901
6902 if ( state.backtracking==0 ) {
6903 after(grammarAccess.getALSSignatureBodyAccess().getAlternatives_4());
6904 }
6905
6906 }
6907
6908
6909 }
6910
6911 }
6912 catch (RecognitionException re) {
6913 reportError(re);
6914 recover(input,re);
6915 }
6916 finally {
6917
6918 restoreStackSize(stackSize);
6919
6920 }
6921 return ;
6922 }
6923 // $ANTLR end "rule__ALSSignatureBody__Group__4__Impl"
6924
6925
6926 // $ANTLR start "rule__ALSSignatureBody__Group__5"
6927 // InternalAlloyLanguage.g:2091:1: rule__ALSSignatureBody__Group__5 : rule__ALSSignatureBody__Group__5__Impl rule__ALSSignatureBody__Group__6 ;
6928 public final void rule__ALSSignatureBody__Group__5() throws RecognitionException {
6929
6930 int stackSize = keepStackSize();
6931
6932 try {
6933 // InternalAlloyLanguage.g:2095:1: ( rule__ALSSignatureBody__Group__5__Impl rule__ALSSignatureBody__Group__6 )
6934 // InternalAlloyLanguage.g:2096:2: rule__ALSSignatureBody__Group__5__Impl rule__ALSSignatureBody__Group__6
6935 {
6936 pushFollow(FOLLOW_11);
6937 rule__ALSSignatureBody__Group__5__Impl();
6938
6939 state._fsp--;
6940 if (state.failed) return ;
6941 pushFollow(FOLLOW_2);
6942 rule__ALSSignatureBody__Group__6();
6943
6944 state._fsp--;
6945 if (state.failed) return ;
6946
6947 }
6948
6949 }
6950 catch (RecognitionException re) {
6951 reportError(re);
6952 recover(input,re);
6953 }
6954 finally {
6955
6956 restoreStackSize(stackSize);
6957
6958 }
6959 return ;
6960 }
6961 // $ANTLR end "rule__ALSSignatureBody__Group__5"
6962
6963
6964 // $ANTLR start "rule__ALSSignatureBody__Group__5__Impl"
6965 // InternalAlloyLanguage.g:2103:1: rule__ALSSignatureBody__Group__5__Impl : ( '{' ) ;
6966 public final void rule__ALSSignatureBody__Group__5__Impl() throws RecognitionException {
6967
6968 int stackSize = keepStackSize();
6969
6970 try {
6971 // InternalAlloyLanguage.g:2107:1: ( ( '{' ) )
6972 // InternalAlloyLanguage.g:2108:1: ( '{' )
6973 {
6974 // InternalAlloyLanguage.g:2108:1: ( '{' )
6975 // InternalAlloyLanguage.g:2109:1: '{'
6976 {
6977 if ( state.backtracking==0 ) {
6978 before(grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5());
6979 }
6980 match(input,33,FOLLOW_2); if (state.failed) return ;
6981 if ( state.backtracking==0 ) {
6982 after(grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5());
6983 }
6984
6985 }
6986
6987
6988 }
6989
6990 }
6991 catch (RecognitionException re) {
6992 reportError(re);
6993 recover(input,re);
6994 }
6995 finally {
6996
6997 restoreStackSize(stackSize);
6998
6999 }
7000 return ;
7001 }
7002 // $ANTLR end "rule__ALSSignatureBody__Group__5__Impl"
7003
7004
7005 // $ANTLR start "rule__ALSSignatureBody__Group__6"
7006 // InternalAlloyLanguage.g:2122:1: rule__ALSSignatureBody__Group__6 : rule__ALSSignatureBody__Group__6__Impl rule__ALSSignatureBody__Group__7 ;
7007 public final void rule__ALSSignatureBody__Group__6() throws RecognitionException {
7008
7009 int stackSize = keepStackSize();
7010
7011 try {
7012 // InternalAlloyLanguage.g:2126:1: ( rule__ALSSignatureBody__Group__6__Impl rule__ALSSignatureBody__Group__7 )
7013 // InternalAlloyLanguage.g:2127:2: rule__ALSSignatureBody__Group__6__Impl rule__ALSSignatureBody__Group__7
7014 {
7015 pushFollow(FOLLOW_11);
7016 rule__ALSSignatureBody__Group__6__Impl();
7017
7018 state._fsp--;
7019 if (state.failed) return ;
7020 pushFollow(FOLLOW_2);
7021 rule__ALSSignatureBody__Group__7();
7022
7023 state._fsp--;
7024 if (state.failed) return ;
7025
7026 }
7027
7028 }
7029 catch (RecognitionException re) {
7030 reportError(re);
7031 recover(input,re);
7032 }
7033 finally {
7034
7035 restoreStackSize(stackSize);
7036
7037 }
7038 return ;
7039 }
7040 // $ANTLR end "rule__ALSSignatureBody__Group__6"
7041
7042
7043 // $ANTLR start "rule__ALSSignatureBody__Group__6__Impl"
7044 // InternalAlloyLanguage.g:2134:1: rule__ALSSignatureBody__Group__6__Impl : ( ( rule__ALSSignatureBody__Group_6__0 )? ) ;
7045 public final void rule__ALSSignatureBody__Group__6__Impl() throws RecognitionException {
7046
7047 int stackSize = keepStackSize();
7048
7049 try {
7050 // InternalAlloyLanguage.g:2138:1: ( ( ( rule__ALSSignatureBody__Group_6__0 )? ) )
7051 // InternalAlloyLanguage.g:2139:1: ( ( rule__ALSSignatureBody__Group_6__0 )? )
7052 {
7053 // InternalAlloyLanguage.g:2139:1: ( ( rule__ALSSignatureBody__Group_6__0 )? )
7054 // InternalAlloyLanguage.g:2140:1: ( rule__ALSSignatureBody__Group_6__0 )?
7055 {
7056 if ( state.backtracking==0 ) {
7057 before(grammarAccess.getALSSignatureBodyAccess().getGroup_6());
7058 }
7059 // InternalAlloyLanguage.g:2141:1: ( rule__ALSSignatureBody__Group_6__0 )?
7060 int alt21=2;
7061 int LA21_0 = input.LA(1);
7062
7063 if ( (LA21_0==RULE_ID) ) {
7064 alt21=1;
7065 }
7066 switch (alt21) {
7067 case 1 :
7068 // InternalAlloyLanguage.g:2141:2: rule__ALSSignatureBody__Group_6__0
7069 {
7070 pushFollow(FOLLOW_2);
7071 rule__ALSSignatureBody__Group_6__0();
7072
7073 state._fsp--;
7074 if (state.failed) return ;
7075
7076 }
7077 break;
7078
7079 }
7080
7081 if ( state.backtracking==0 ) {
7082 after(grammarAccess.getALSSignatureBodyAccess().getGroup_6());
7083 }
7084
7085 }
7086
7087
7088 }
7089
7090 }
7091 catch (RecognitionException re) {
7092 reportError(re);
7093 recover(input,re);
7094 }
7095 finally {
7096
7097 restoreStackSize(stackSize);
7098
7099 }
7100 return ;
7101 }
7102 // $ANTLR end "rule__ALSSignatureBody__Group__6__Impl"
7103
7104
7105 // $ANTLR start "rule__ALSSignatureBody__Group__7"
7106 // InternalAlloyLanguage.g:2151:1: rule__ALSSignatureBody__Group__7 : rule__ALSSignatureBody__Group__7__Impl ;
7107 public final void rule__ALSSignatureBody__Group__7() throws RecognitionException {
7108
7109 int stackSize = keepStackSize();
7110
7111 try {
7112 // InternalAlloyLanguage.g:2155:1: ( rule__ALSSignatureBody__Group__7__Impl )
7113 // InternalAlloyLanguage.g:2156:2: rule__ALSSignatureBody__Group__7__Impl
7114 {
7115 pushFollow(FOLLOW_2);
7116 rule__ALSSignatureBody__Group__7__Impl();
7117
7118 state._fsp--;
7119 if (state.failed) return ;
7120
7121 }
7122
7123 }
7124 catch (RecognitionException re) {
7125 reportError(re);
7126 recover(input,re);
7127 }
7128 finally {
7129
7130 restoreStackSize(stackSize);
7131
7132 }
7133 return ;
7134 }
7135 // $ANTLR end "rule__ALSSignatureBody__Group__7"
7136
7137
7138 // $ANTLR start "rule__ALSSignatureBody__Group__7__Impl"
7139 // InternalAlloyLanguage.g:2162:1: rule__ALSSignatureBody__Group__7__Impl : ( '}' ) ;
7140 public final void rule__ALSSignatureBody__Group__7__Impl() throws RecognitionException {
7141
7142 int stackSize = keepStackSize();
7143
7144 try {
7145 // InternalAlloyLanguage.g:2166:1: ( ( '}' ) )
7146 // InternalAlloyLanguage.g:2167:1: ( '}' )
7147 {
7148 // InternalAlloyLanguage.g:2167:1: ( '}' )
7149 // InternalAlloyLanguage.g:2168:1: '}'
7150 {
7151 if ( state.backtracking==0 ) {
7152 before(grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7());
7153 }
7154 match(input,34,FOLLOW_2); if (state.failed) return ;
7155 if ( state.backtracking==0 ) {
7156 after(grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7());
7157 }
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__ALSSignatureBody__Group__7__Impl"
7177
7178
7179 // $ANTLR start "rule__ALSSignatureBody__Group_3__0"
7180 // InternalAlloyLanguage.g:2197:1: rule__ALSSignatureBody__Group_3__0 : rule__ALSSignatureBody__Group_3__0__Impl rule__ALSSignatureBody__Group_3__1 ;
7181 public final void rule__ALSSignatureBody__Group_3__0() throws RecognitionException {
7182
7183 int stackSize = keepStackSize();
7184
7185 try {
7186 // InternalAlloyLanguage.g:2201:1: ( rule__ALSSignatureBody__Group_3__0__Impl rule__ALSSignatureBody__Group_3__1 )
7187 // InternalAlloyLanguage.g:2202:2: rule__ALSSignatureBody__Group_3__0__Impl rule__ALSSignatureBody__Group_3__1
7188 {
7189 pushFollow(FOLLOW_5);
7190 rule__ALSSignatureBody__Group_3__0__Impl();
7191
7192 state._fsp--;
7193 if (state.failed) return ;
7194 pushFollow(FOLLOW_2);
7195 rule__ALSSignatureBody__Group_3__1();
7196
7197 state._fsp--;
7198 if (state.failed) return ;
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__ALSSignatureBody__Group_3__0"
7215
7216
7217 // $ANTLR start "rule__ALSSignatureBody__Group_3__0__Impl"
7218 // InternalAlloyLanguage.g:2209:1: rule__ALSSignatureBody__Group_3__0__Impl : ( ',' ) ;
7219 public final void rule__ALSSignatureBody__Group_3__0__Impl() throws RecognitionException {
7220
7221 int stackSize = keepStackSize();
7222
7223 try {
7224 // InternalAlloyLanguage.g:2213:1: ( ( ',' ) )
7225 // InternalAlloyLanguage.g:2214:1: ( ',' )
7226 {
7227 // InternalAlloyLanguage.g:2214:1: ( ',' )
7228 // InternalAlloyLanguage.g:2215:1: ','
7229 {
7230 if ( state.backtracking==0 ) {
7231 before(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0());
7232 }
7233 match(input,35,FOLLOW_2); if (state.failed) return ;
7234 if ( state.backtracking==0 ) {
7235 after(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0());
7236 }
7237
7238 }
7239
7240
7241 }
7242
7243 }
7244 catch (RecognitionException re) {
7245 reportError(re);
7246 recover(input,re);
7247 }
7248 finally {
7249
7250 restoreStackSize(stackSize);
7251
7252 }
7253 return ;
7254 }
7255 // $ANTLR end "rule__ALSSignatureBody__Group_3__0__Impl"
7256
7257
7258 // $ANTLR start "rule__ALSSignatureBody__Group_3__1"
7259 // InternalAlloyLanguage.g:2228:1: rule__ALSSignatureBody__Group_3__1 : rule__ALSSignatureBody__Group_3__1__Impl ;
7260 public final void rule__ALSSignatureBody__Group_3__1() throws RecognitionException {
7261
7262 int stackSize = keepStackSize();
7263
7264 try {
7265 // InternalAlloyLanguage.g:2232:1: ( rule__ALSSignatureBody__Group_3__1__Impl )
7266 // InternalAlloyLanguage.g:2233:2: rule__ALSSignatureBody__Group_3__1__Impl
7267 {
7268 pushFollow(FOLLOW_2);
7269 rule__ALSSignatureBody__Group_3__1__Impl();
7270
7271 state._fsp--;
7272 if (state.failed) return ;
7273
7274 }
7275
7276 }
7277 catch (RecognitionException re) {
7278 reportError(re);
7279 recover(input,re);
7280 }
7281 finally {
7282
7283 restoreStackSize(stackSize);
7284
7285 }
7286 return ;
7287 }
7288 // $ANTLR end "rule__ALSSignatureBody__Group_3__1"
7289
7290
7291 // $ANTLR start "rule__ALSSignatureBody__Group_3__1__Impl"
7292 // InternalAlloyLanguage.g:2239:1: rule__ALSSignatureBody__Group_3__1__Impl : ( ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 ) ) ;
7293 public final void rule__ALSSignatureBody__Group_3__1__Impl() throws RecognitionException {
7294
7295 int stackSize = keepStackSize();
7296
7297 try {
7298 // InternalAlloyLanguage.g:2243:1: ( ( ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 ) ) )
7299 // InternalAlloyLanguage.g:2244:1: ( ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 ) )
7300 {
7301 // InternalAlloyLanguage.g:2244:1: ( ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 ) )
7302 // InternalAlloyLanguage.g:2245:1: ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 )
7303 {
7304 if ( state.backtracking==0 ) {
7305 before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_3_1());
7306 }
7307 // InternalAlloyLanguage.g:2246:1: ( rule__ALSSignatureBody__DeclarationsAssignment_3_1 )
7308 // InternalAlloyLanguage.g:2246:2: rule__ALSSignatureBody__DeclarationsAssignment_3_1
7309 {
7310 pushFollow(FOLLOW_2);
7311 rule__ALSSignatureBody__DeclarationsAssignment_3_1();
7312
7313 state._fsp--;
7314 if (state.failed) return ;
7315
7316 }
7317
7318 if ( state.backtracking==0 ) {
7319 after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsAssignment_3_1());
7320 }
7321
7322 }
7323
7324
7325 }
7326
7327 }
7328 catch (RecognitionException re) {
7329 reportError(re);
7330 recover(input,re);
7331 }
7332 finally {
7333
7334 restoreStackSize(stackSize);
7335
7336 }
7337 return ;
7338 }
7339 // $ANTLR end "rule__ALSSignatureBody__Group_3__1__Impl"
7340
7341
7342 // $ANTLR start "rule__ALSSignatureBody__Group_4_0__0"
7343 // InternalAlloyLanguage.g:2260:1: rule__ALSSignatureBody__Group_4_0__0 : rule__ALSSignatureBody__Group_4_0__0__Impl rule__ALSSignatureBody__Group_4_0__1 ;
7344 public final void rule__ALSSignatureBody__Group_4_0__0() throws RecognitionException {
7345
7346 int stackSize = keepStackSize();
7347
7348 try {
7349 // InternalAlloyLanguage.g:2264:1: ( rule__ALSSignatureBody__Group_4_0__0__Impl rule__ALSSignatureBody__Group_4_0__1 )
7350 // InternalAlloyLanguage.g:2265:2: rule__ALSSignatureBody__Group_4_0__0__Impl rule__ALSSignatureBody__Group_4_0__1
7351 {
7352 pushFollow(FOLLOW_5);
7353 rule__ALSSignatureBody__Group_4_0__0__Impl();
7354
7355 state._fsp--;
7356 if (state.failed) return ;
7357 pushFollow(FOLLOW_2);
7358 rule__ALSSignatureBody__Group_4_0__1();
7359
7360 state._fsp--;
7361 if (state.failed) return ;
7362
7363 }
7364
7365 }
7366 catch (RecognitionException re) {
7367 reportError(re);
7368 recover(input,re);
7369 }
7370 finally {
7371
7372 restoreStackSize(stackSize);
7373
7374 }
7375 return ;
7376 }
7377 // $ANTLR end "rule__ALSSignatureBody__Group_4_0__0"
7378
7379
7380 // $ANTLR start "rule__ALSSignatureBody__Group_4_0__0__Impl"
7381 // InternalAlloyLanguage.g:2272:1: rule__ALSSignatureBody__Group_4_0__0__Impl : ( 'extends' ) ;
7382 public final void rule__ALSSignatureBody__Group_4_0__0__Impl() throws RecognitionException {
7383
7384 int stackSize = keepStackSize();
7385
7386 try {
7387 // InternalAlloyLanguage.g:2276:1: ( ( 'extends' ) )
7388 // InternalAlloyLanguage.g:2277:1: ( 'extends' )
7389 {
7390 // InternalAlloyLanguage.g:2277:1: ( 'extends' )
7391 // InternalAlloyLanguage.g:2278:1: 'extends'
7392 {
7393 if ( state.backtracking==0 ) {
7394 before(grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0());
7395 }
7396 match(input,37,FOLLOW_2); if (state.failed) return ;
7397 if ( state.backtracking==0 ) {
7398 after(grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0());
7399 }
7400
7401 }
7402
7403
7404 }
7405
7406 }
7407 catch (RecognitionException re) {
7408 reportError(re);
7409 recover(input,re);
7410 }
7411 finally {
7412
7413 restoreStackSize(stackSize);
7414
7415 }
7416 return ;
7417 }
7418 // $ANTLR end "rule__ALSSignatureBody__Group_4_0__0__Impl"
7419
7420
7421 // $ANTLR start "rule__ALSSignatureBody__Group_4_0__1"
7422 // InternalAlloyLanguage.g:2291:1: rule__ALSSignatureBody__Group_4_0__1 : rule__ALSSignatureBody__Group_4_0__1__Impl ;
7423 public final void rule__ALSSignatureBody__Group_4_0__1() throws RecognitionException {
7424
7425 int stackSize = keepStackSize();
7426
7427 try {
7428 // InternalAlloyLanguage.g:2295:1: ( rule__ALSSignatureBody__Group_4_0__1__Impl )
7429 // InternalAlloyLanguage.g:2296:2: rule__ALSSignatureBody__Group_4_0__1__Impl
7430 {
7431 pushFollow(FOLLOW_2);
7432 rule__ALSSignatureBody__Group_4_0__1__Impl();
7433
7434 state._fsp--;
7435 if (state.failed) return ;
7436
7437 }
7438
7439 }
7440 catch (RecognitionException re) {
7441 reportError(re);
7442 recover(input,re);
7443 }
7444 finally {
7445
7446 restoreStackSize(stackSize);
7447
7448 }
7449 return ;
7450 }
7451 // $ANTLR end "rule__ALSSignatureBody__Group_4_0__1"
7452
7453
7454 // $ANTLR start "rule__ALSSignatureBody__Group_4_0__1__Impl"
7455 // InternalAlloyLanguage.g:2302:1: rule__ALSSignatureBody__Group_4_0__1__Impl : ( ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 ) ) ;
7456 public final void rule__ALSSignatureBody__Group_4_0__1__Impl() throws RecognitionException {
7457
7458 int stackSize = keepStackSize();
7459
7460 try {
7461 // InternalAlloyLanguage.g:2306:1: ( ( ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 ) ) )
7462 // InternalAlloyLanguage.g:2307:1: ( ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 ) )
7463 {
7464 // InternalAlloyLanguage.g:2307:1: ( ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 ) )
7465 // InternalAlloyLanguage.g:2308:1: ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 )
7466 {
7467 if ( state.backtracking==0 ) {
7468 before(grammarAccess.getALSSignatureBodyAccess().getSupertypeAssignment_4_0_1());
7469 }
7470 // InternalAlloyLanguage.g:2309:1: ( rule__ALSSignatureBody__SupertypeAssignment_4_0_1 )
7471 // InternalAlloyLanguage.g:2309:2: rule__ALSSignatureBody__SupertypeAssignment_4_0_1
7472 {
7473 pushFollow(FOLLOW_2);
7474 rule__ALSSignatureBody__SupertypeAssignment_4_0_1();
7475
7476 state._fsp--;
7477 if (state.failed) return ;
7478
7479 }
7480
7481 if ( state.backtracking==0 ) {
7482 after(grammarAccess.getALSSignatureBodyAccess().getSupertypeAssignment_4_0_1());
7483 }
7484
7485 }
7486
7487
7488 }
7489
7490 }
7491 catch (RecognitionException re) {
7492 reportError(re);
7493 recover(input,re);
7494 }
7495 finally {
7496
7497 restoreStackSize(stackSize);
7498
7499 }
7500 return ;
7501 }
7502 // $ANTLR end "rule__ALSSignatureBody__Group_4_0__1__Impl"
7503
7504
7505 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__0"
7506 // InternalAlloyLanguage.g:2323:1: rule__ALSSignatureBody__Group_4_1__0 : rule__ALSSignatureBody__Group_4_1__0__Impl rule__ALSSignatureBody__Group_4_1__1 ;
7507 public final void rule__ALSSignatureBody__Group_4_1__0() throws RecognitionException {
7508
7509 int stackSize = keepStackSize();
7510
7511 try {
7512 // InternalAlloyLanguage.g:2327:1: ( rule__ALSSignatureBody__Group_4_1__0__Impl rule__ALSSignatureBody__Group_4_1__1 )
7513 // InternalAlloyLanguage.g:2328:2: rule__ALSSignatureBody__Group_4_1__0__Impl rule__ALSSignatureBody__Group_4_1__1
7514 {
7515 pushFollow(FOLLOW_5);
7516 rule__ALSSignatureBody__Group_4_1__0__Impl();
7517
7518 state._fsp--;
7519 if (state.failed) return ;
7520 pushFollow(FOLLOW_2);
7521 rule__ALSSignatureBody__Group_4_1__1();
7522
7523 state._fsp--;
7524 if (state.failed) return ;
7525
7526 }
7527
7528 }
7529 catch (RecognitionException re) {
7530 reportError(re);
7531 recover(input,re);
7532 }
7533 finally {
7534
7535 restoreStackSize(stackSize);
7536
7537 }
7538 return ;
7539 }
7540 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__0"
7541
7542
7543 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__0__Impl"
7544 // InternalAlloyLanguage.g:2335:1: rule__ALSSignatureBody__Group_4_1__0__Impl : ( 'in' ) ;
7545 public final void rule__ALSSignatureBody__Group_4_1__0__Impl() throws RecognitionException {
7546
7547 int stackSize = keepStackSize();
7548
7549 try {
7550 // InternalAlloyLanguage.g:2339:1: ( ( 'in' ) )
7551 // InternalAlloyLanguage.g:2340:1: ( 'in' )
7552 {
7553 // InternalAlloyLanguage.g:2340:1: ( 'in' )
7554 // InternalAlloyLanguage.g:2341:1: 'in'
7555 {
7556 if ( state.backtracking==0 ) {
7557 before(grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0());
7558 }
7559 match(input,38,FOLLOW_2); if (state.failed) return ;
7560 if ( state.backtracking==0 ) {
7561 after(grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0());
7562 }
7563
7564 }
7565
7566
7567 }
7568
7569 }
7570 catch (RecognitionException re) {
7571 reportError(re);
7572 recover(input,re);
7573 }
7574 finally {
7575
7576 restoreStackSize(stackSize);
7577
7578 }
7579 return ;
7580 }
7581 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__0__Impl"
7582
7583
7584 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__1"
7585 // InternalAlloyLanguage.g:2354:1: rule__ALSSignatureBody__Group_4_1__1 : rule__ALSSignatureBody__Group_4_1__1__Impl rule__ALSSignatureBody__Group_4_1__2 ;
7586 public final void rule__ALSSignatureBody__Group_4_1__1() throws RecognitionException {
7587
7588 int stackSize = keepStackSize();
7589
7590 try {
7591 // InternalAlloyLanguage.g:2358:1: ( rule__ALSSignatureBody__Group_4_1__1__Impl rule__ALSSignatureBody__Group_4_1__2 )
7592 // InternalAlloyLanguage.g:2359:2: rule__ALSSignatureBody__Group_4_1__1__Impl rule__ALSSignatureBody__Group_4_1__2
7593 {
7594 pushFollow(FOLLOW_12);
7595 rule__ALSSignatureBody__Group_4_1__1__Impl();
7596
7597 state._fsp--;
7598 if (state.failed) return ;
7599 pushFollow(FOLLOW_2);
7600 rule__ALSSignatureBody__Group_4_1__2();
7601
7602 state._fsp--;
7603 if (state.failed) return ;
7604
7605 }
7606
7607 }
7608 catch (RecognitionException re) {
7609 reportError(re);
7610 recover(input,re);
7611 }
7612 finally {
7613
7614 restoreStackSize(stackSize);
7615
7616 }
7617 return ;
7618 }
7619 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__1"
7620
7621
7622 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__1__Impl"
7623 // InternalAlloyLanguage.g:2366:1: rule__ALSSignatureBody__Group_4_1__1__Impl : ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 ) ) ;
7624 public final void rule__ALSSignatureBody__Group_4_1__1__Impl() throws RecognitionException {
7625
7626 int stackSize = keepStackSize();
7627
7628 try {
7629 // InternalAlloyLanguage.g:2370:1: ( ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 ) ) )
7630 // InternalAlloyLanguage.g:2371:1: ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 ) )
7631 {
7632 // InternalAlloyLanguage.g:2371:1: ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 ) )
7633 // InternalAlloyLanguage.g:2372:1: ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 )
7634 {
7635 if ( state.backtracking==0 ) {
7636 before(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_1());
7637 }
7638 // InternalAlloyLanguage.g:2373:1: ( rule__ALSSignatureBody__SupersetAssignment_4_1_1 )
7639 // InternalAlloyLanguage.g:2373:2: rule__ALSSignatureBody__SupersetAssignment_4_1_1
7640 {
7641 pushFollow(FOLLOW_2);
7642 rule__ALSSignatureBody__SupersetAssignment_4_1_1();
7643
7644 state._fsp--;
7645 if (state.failed) return ;
7646
7647 }
7648
7649 if ( state.backtracking==0 ) {
7650 after(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_1());
7651 }
7652
7653 }
7654
7655
7656 }
7657
7658 }
7659 catch (RecognitionException re) {
7660 reportError(re);
7661 recover(input,re);
7662 }
7663 finally {
7664
7665 restoreStackSize(stackSize);
7666
7667 }
7668 return ;
7669 }
7670 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__1__Impl"
7671
7672
7673 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__2"
7674 // InternalAlloyLanguage.g:2383:1: rule__ALSSignatureBody__Group_4_1__2 : rule__ALSSignatureBody__Group_4_1__2__Impl ;
7675 public final void rule__ALSSignatureBody__Group_4_1__2() throws RecognitionException {
7676
7677 int stackSize = keepStackSize();
7678
7679 try {
7680 // InternalAlloyLanguage.g:2387:1: ( rule__ALSSignatureBody__Group_4_1__2__Impl )
7681 // InternalAlloyLanguage.g:2388:2: rule__ALSSignatureBody__Group_4_1__2__Impl
7682 {
7683 pushFollow(FOLLOW_2);
7684 rule__ALSSignatureBody__Group_4_1__2__Impl();
7685
7686 state._fsp--;
7687 if (state.failed) return ;
7688
7689 }
7690
7691 }
7692 catch (RecognitionException re) {
7693 reportError(re);
7694 recover(input,re);
7695 }
7696 finally {
7697
7698 restoreStackSize(stackSize);
7699
7700 }
7701 return ;
7702 }
7703 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__2"
7704
7705
7706 // $ANTLR start "rule__ALSSignatureBody__Group_4_1__2__Impl"
7707 // InternalAlloyLanguage.g:2394:1: rule__ALSSignatureBody__Group_4_1__2__Impl : ( ( rule__ALSSignatureBody__Group_4_1_2__0 )* ) ;
7708 public final void rule__ALSSignatureBody__Group_4_1__2__Impl() throws RecognitionException {
7709
7710 int stackSize = keepStackSize();
7711
7712 try {
7713 // InternalAlloyLanguage.g:2398:1: ( ( ( rule__ALSSignatureBody__Group_4_1_2__0 )* ) )
7714 // InternalAlloyLanguage.g:2399:1: ( ( rule__ALSSignatureBody__Group_4_1_2__0 )* )
7715 {
7716 // InternalAlloyLanguage.g:2399:1: ( ( rule__ALSSignatureBody__Group_4_1_2__0 )* )
7717 // InternalAlloyLanguage.g:2400:1: ( rule__ALSSignatureBody__Group_4_1_2__0 )*
7718 {
7719 if ( state.backtracking==0 ) {
7720 before(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1_2());
7721 }
7722 // InternalAlloyLanguage.g:2401:1: ( rule__ALSSignatureBody__Group_4_1_2__0 )*
7723 loop22:
7724 do {
7725 int alt22=2;
7726 int LA22_0 = input.LA(1);
7727
7728 if ( (LA22_0==39) ) {
7729 alt22=1;
7730 }
7731
7732
7733 switch (alt22) {
7734 case 1 :
7735 // InternalAlloyLanguage.g:2401:2: rule__ALSSignatureBody__Group_4_1_2__0
7736 {
7737 pushFollow(FOLLOW_13);
7738 rule__ALSSignatureBody__Group_4_1_2__0();
7739
7740 state._fsp--;
7741 if (state.failed) return ;
7742
7743 }
7744 break;
7745
7746 default :
7747 break loop22;
7748 }
7749 } while (true);
7750
7751 if ( state.backtracking==0 ) {
7752 after(grammarAccess.getALSSignatureBodyAccess().getGroup_4_1_2());
7753 }
7754
7755 }
7756
7757
7758 }
7759
7760 }
7761 catch (RecognitionException re) {
7762 reportError(re);
7763 recover(input,re);
7764 }
7765 finally {
7766
7767 restoreStackSize(stackSize);
7768
7769 }
7770 return ;
7771 }
7772 // $ANTLR end "rule__ALSSignatureBody__Group_4_1__2__Impl"
7773
7774
7775 // $ANTLR start "rule__ALSSignatureBody__Group_4_1_2__0"
7776 // InternalAlloyLanguage.g:2417:1: rule__ALSSignatureBody__Group_4_1_2__0 : rule__ALSSignatureBody__Group_4_1_2__0__Impl rule__ALSSignatureBody__Group_4_1_2__1 ;
7777 public final void rule__ALSSignatureBody__Group_4_1_2__0() throws RecognitionException {
7778
7779 int stackSize = keepStackSize();
7780
7781 try {
7782 // InternalAlloyLanguage.g:2421:1: ( rule__ALSSignatureBody__Group_4_1_2__0__Impl rule__ALSSignatureBody__Group_4_1_2__1 )
7783 // InternalAlloyLanguage.g:2422:2: rule__ALSSignatureBody__Group_4_1_2__0__Impl rule__ALSSignatureBody__Group_4_1_2__1
7784 {
7785 pushFollow(FOLLOW_5);
7786 rule__ALSSignatureBody__Group_4_1_2__0__Impl();
7787
7788 state._fsp--;
7789 if (state.failed) return ;
7790 pushFollow(FOLLOW_2);
7791 rule__ALSSignatureBody__Group_4_1_2__1();
7792
7793 state._fsp--;
7794 if (state.failed) return ;
7795
7796 }
7797
7798 }
7799 catch (RecognitionException re) {
7800 reportError(re);
7801 recover(input,re);
7802 }
7803 finally {
7804
7805 restoreStackSize(stackSize);
7806
7807 }
7808 return ;
7809 }
7810 // $ANTLR end "rule__ALSSignatureBody__Group_4_1_2__0"
7811
7812
7813 // $ANTLR start "rule__ALSSignatureBody__Group_4_1_2__0__Impl"
7814 // InternalAlloyLanguage.g:2429:1: rule__ALSSignatureBody__Group_4_1_2__0__Impl : ( '+' ) ;
7815 public final void rule__ALSSignatureBody__Group_4_1_2__0__Impl() throws RecognitionException {
7816
7817 int stackSize = keepStackSize();
7818
7819 try {
7820 // InternalAlloyLanguage.g:2433:1: ( ( '+' ) )
7821 // InternalAlloyLanguage.g:2434:1: ( '+' )
7822 {
7823 // InternalAlloyLanguage.g:2434:1: ( '+' )
7824 // InternalAlloyLanguage.g:2435:1: '+'
7825 {
7826 if ( state.backtracking==0 ) {
7827 before(grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0());
7828 }
7829 match(input,39,FOLLOW_2); if (state.failed) return ;
7830 if ( state.backtracking==0 ) {
7831 after(grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0());
7832 }
7833
7834 }
7835
7836
7837 }
7838
7839 }
7840 catch (RecognitionException re) {
7841 reportError(re);
7842 recover(input,re);
7843 }
7844 finally {
7845
7846 restoreStackSize(stackSize);
7847
7848 }
7849 return ;
7850 }
7851 // $ANTLR end "rule__ALSSignatureBody__Group_4_1_2__0__Impl"
7852
7853
7854 // $ANTLR start "rule__ALSSignatureBody__Group_4_1_2__1"
7855 // InternalAlloyLanguage.g:2448:1: rule__ALSSignatureBody__Group_4_1_2__1 : rule__ALSSignatureBody__Group_4_1_2__1__Impl ;
7856 public final void rule__ALSSignatureBody__Group_4_1_2__1() throws RecognitionException {
7857
7858 int stackSize = keepStackSize();
7859
7860 try {
7861 // InternalAlloyLanguage.g:2452:1: ( rule__ALSSignatureBody__Group_4_1_2__1__Impl )
7862 // InternalAlloyLanguage.g:2453:2: rule__ALSSignatureBody__Group_4_1_2__1__Impl
7863 {
7864 pushFollow(FOLLOW_2);
7865 rule__ALSSignatureBody__Group_4_1_2__1__Impl();
7866
7867 state._fsp--;
7868 if (state.failed) return ;
7869
7870 }
7871
7872 }
7873 catch (RecognitionException re) {
7874 reportError(re);
7875 recover(input,re);
7876 }
7877 finally {
7878
7879 restoreStackSize(stackSize);
7880
7881 }
7882 return ;
7883 }
7884 // $ANTLR end "rule__ALSSignatureBody__Group_4_1_2__1"
7885
7886
7887 // $ANTLR start "rule__ALSSignatureBody__Group_4_1_2__1__Impl"
7888 // InternalAlloyLanguage.g:2459:1: rule__ALSSignatureBody__Group_4_1_2__1__Impl : ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 ) ) ;
7889 public final void rule__ALSSignatureBody__Group_4_1_2__1__Impl() throws RecognitionException {
7890
7891 int stackSize = keepStackSize();
7892
7893 try {
7894 // InternalAlloyLanguage.g:2463:1: ( ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 ) ) )
7895 // InternalAlloyLanguage.g:2464:1: ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 ) )
7896 {
7897 // InternalAlloyLanguage.g:2464:1: ( ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 ) )
7898 // InternalAlloyLanguage.g:2465:1: ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 )
7899 {
7900 if ( state.backtracking==0 ) {
7901 before(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_2_1());
7902 }
7903 // InternalAlloyLanguage.g:2466:1: ( rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 )
7904 // InternalAlloyLanguage.g:2466:2: rule__ALSSignatureBody__SupersetAssignment_4_1_2_1
7905 {
7906 pushFollow(FOLLOW_2);
7907 rule__ALSSignatureBody__SupersetAssignment_4_1_2_1();
7908
7909 state._fsp--;
7910 if (state.failed) return ;
7911
7912 }
7913
7914 if ( state.backtracking==0 ) {
7915 after(grammarAccess.getALSSignatureBodyAccess().getSupersetAssignment_4_1_2_1());
7916 }
7917
7918 }
7919
7920
7921 }
7922
7923 }
7924 catch (RecognitionException re) {
7925 reportError(re);
7926 recover(input,re);
7927 }
7928 finally {
7929
7930 restoreStackSize(stackSize);
7931
7932 }
7933 return ;
7934 }
7935 // $ANTLR end "rule__ALSSignatureBody__Group_4_1_2__1__Impl"
7936
7937
7938 // $ANTLR start "rule__ALSSignatureBody__Group_6__0"
7939 // InternalAlloyLanguage.g:2480:1: rule__ALSSignatureBody__Group_6__0 : rule__ALSSignatureBody__Group_6__0__Impl rule__ALSSignatureBody__Group_6__1 ;
7940 public final void rule__ALSSignatureBody__Group_6__0() throws RecognitionException {
7941
7942 int stackSize = keepStackSize();
7943
7944 try {
7945 // InternalAlloyLanguage.g:2484:1: ( rule__ALSSignatureBody__Group_6__0__Impl rule__ALSSignatureBody__Group_6__1 )
7946 // InternalAlloyLanguage.g:2485:2: rule__ALSSignatureBody__Group_6__0__Impl rule__ALSSignatureBody__Group_6__1
7947 {
7948 pushFollow(FOLLOW_14);
7949 rule__ALSSignatureBody__Group_6__0__Impl();
7950
7951 state._fsp--;
7952 if (state.failed) return ;
7953 pushFollow(FOLLOW_2);
7954 rule__ALSSignatureBody__Group_6__1();
7955
7956 state._fsp--;
7957 if (state.failed) return ;
7958
7959 }
7960
7961 }
7962 catch (RecognitionException re) {
7963 reportError(re);
7964 recover(input,re);
7965 }
7966 finally {
7967
7968 restoreStackSize(stackSize);
7969
7970 }
7971 return ;
7972 }
7973 // $ANTLR end "rule__ALSSignatureBody__Group_6__0"
7974
7975
7976 // $ANTLR start "rule__ALSSignatureBody__Group_6__0__Impl"
7977 // InternalAlloyLanguage.g:2492:1: rule__ALSSignatureBody__Group_6__0__Impl : ( ( rule__ALSSignatureBody__FieldsAssignment_6_0 ) ) ;
7978 public final void rule__ALSSignatureBody__Group_6__0__Impl() throws RecognitionException {
7979
7980 int stackSize = keepStackSize();
7981
7982 try {
7983 // InternalAlloyLanguage.g:2496:1: ( ( ( rule__ALSSignatureBody__FieldsAssignment_6_0 ) ) )
7984 // InternalAlloyLanguage.g:2497:1: ( ( rule__ALSSignatureBody__FieldsAssignment_6_0 ) )
7985 {
7986 // InternalAlloyLanguage.g:2497:1: ( ( rule__ALSSignatureBody__FieldsAssignment_6_0 ) )
7987 // InternalAlloyLanguage.g:2498:1: ( rule__ALSSignatureBody__FieldsAssignment_6_0 )
7988 {
7989 if ( state.backtracking==0 ) {
7990 before(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_0());
7991 }
7992 // InternalAlloyLanguage.g:2499:1: ( rule__ALSSignatureBody__FieldsAssignment_6_0 )
7993 // InternalAlloyLanguage.g:2499:2: rule__ALSSignatureBody__FieldsAssignment_6_0
7994 {
7995 pushFollow(FOLLOW_2);
7996 rule__ALSSignatureBody__FieldsAssignment_6_0();
7997
7998 state._fsp--;
7999 if (state.failed) return ;
8000
8001 }
8002
8003 if ( state.backtracking==0 ) {
8004 after(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_0());
8005 }
8006
8007 }
8008
8009
8010 }
8011
8012 }
8013 catch (RecognitionException re) {
8014 reportError(re);
8015 recover(input,re);
8016 }
8017 finally {
8018
8019 restoreStackSize(stackSize);
8020
8021 }
8022 return ;
8023 }
8024 // $ANTLR end "rule__ALSSignatureBody__Group_6__0__Impl"
8025
8026
8027 // $ANTLR start "rule__ALSSignatureBody__Group_6__1"
8028 // InternalAlloyLanguage.g:2509:1: rule__ALSSignatureBody__Group_6__1 : rule__ALSSignatureBody__Group_6__1__Impl ;
8029 public final void rule__ALSSignatureBody__Group_6__1() throws RecognitionException {
8030
8031 int stackSize = keepStackSize();
8032
8033 try {
8034 // InternalAlloyLanguage.g:2513:1: ( rule__ALSSignatureBody__Group_6__1__Impl )
8035 // InternalAlloyLanguage.g:2514:2: rule__ALSSignatureBody__Group_6__1__Impl
8036 {
8037 pushFollow(FOLLOW_2);
8038 rule__ALSSignatureBody__Group_6__1__Impl();
8039
8040 state._fsp--;
8041 if (state.failed) return ;
8042
8043 }
8044
8045 }
8046 catch (RecognitionException re) {
8047 reportError(re);
8048 recover(input,re);
8049 }
8050 finally {
8051
8052 restoreStackSize(stackSize);
8053
8054 }
8055 return ;
8056 }
8057 // $ANTLR end "rule__ALSSignatureBody__Group_6__1"
8058
8059
8060 // $ANTLR start "rule__ALSSignatureBody__Group_6__1__Impl"
8061 // InternalAlloyLanguage.g:2520:1: rule__ALSSignatureBody__Group_6__1__Impl : ( ( rule__ALSSignatureBody__Group_6_1__0 )* ) ;
8062 public final void rule__ALSSignatureBody__Group_6__1__Impl() throws RecognitionException {
8063
8064 int stackSize = keepStackSize();
8065
8066 try {
8067 // InternalAlloyLanguage.g:2524:1: ( ( ( rule__ALSSignatureBody__Group_6_1__0 )* ) )
8068 // InternalAlloyLanguage.g:2525:1: ( ( rule__ALSSignatureBody__Group_6_1__0 )* )
8069 {
8070 // InternalAlloyLanguage.g:2525:1: ( ( rule__ALSSignatureBody__Group_6_1__0 )* )
8071 // InternalAlloyLanguage.g:2526:1: ( rule__ALSSignatureBody__Group_6_1__0 )*
8072 {
8073 if ( state.backtracking==0 ) {
8074 before(grammarAccess.getALSSignatureBodyAccess().getGroup_6_1());
8075 }
8076 // InternalAlloyLanguage.g:2527:1: ( rule__ALSSignatureBody__Group_6_1__0 )*
8077 loop23:
8078 do {
8079 int alt23=2;
8080 int LA23_0 = input.LA(1);
8081
8082 if ( (LA23_0==35) ) {
8083 alt23=1;
8084 }
8085
8086
8087 switch (alt23) {
8088 case 1 :
8089 // InternalAlloyLanguage.g:2527:2: rule__ALSSignatureBody__Group_6_1__0
8090 {
8091 pushFollow(FOLLOW_8);
8092 rule__ALSSignatureBody__Group_6_1__0();
8093
8094 state._fsp--;
8095 if (state.failed) return ;
8096
8097 }
8098 break;
8099
8100 default :
8101 break loop23;
8102 }
8103 } while (true);
8104
8105 if ( state.backtracking==0 ) {
8106 after(grammarAccess.getALSSignatureBodyAccess().getGroup_6_1());
8107 }
8108
8109 }
8110
8111
8112 }
8113
8114 }
8115 catch (RecognitionException re) {
8116 reportError(re);
8117 recover(input,re);
8118 }
8119 finally {
8120
8121 restoreStackSize(stackSize);
8122
8123 }
8124 return ;
8125 }
8126 // $ANTLR end "rule__ALSSignatureBody__Group_6__1__Impl"
8127
8128
8129 // $ANTLR start "rule__ALSSignatureBody__Group_6_1__0"
8130 // InternalAlloyLanguage.g:2541:1: rule__ALSSignatureBody__Group_6_1__0 : rule__ALSSignatureBody__Group_6_1__0__Impl rule__ALSSignatureBody__Group_6_1__1 ;
8131 public final void rule__ALSSignatureBody__Group_6_1__0() throws RecognitionException {
8132
8133 int stackSize = keepStackSize();
8134
8135 try {
8136 // InternalAlloyLanguage.g:2545:1: ( rule__ALSSignatureBody__Group_6_1__0__Impl rule__ALSSignatureBody__Group_6_1__1 )
8137 // InternalAlloyLanguage.g:2546:2: rule__ALSSignatureBody__Group_6_1__0__Impl rule__ALSSignatureBody__Group_6_1__1
8138 {
8139 pushFollow(FOLLOW_5);
8140 rule__ALSSignatureBody__Group_6_1__0__Impl();
8141
8142 state._fsp--;
8143 if (state.failed) return ;
8144 pushFollow(FOLLOW_2);
8145 rule__ALSSignatureBody__Group_6_1__1();
8146
8147 state._fsp--;
8148 if (state.failed) return ;
8149
8150 }
8151
8152 }
8153 catch (RecognitionException re) {
8154 reportError(re);
8155 recover(input,re);
8156 }
8157 finally {
8158
8159 restoreStackSize(stackSize);
8160
8161 }
8162 return ;
8163 }
8164 // $ANTLR end "rule__ALSSignatureBody__Group_6_1__0"
8165
8166
8167 // $ANTLR start "rule__ALSSignatureBody__Group_6_1__0__Impl"
8168 // InternalAlloyLanguage.g:2553:1: rule__ALSSignatureBody__Group_6_1__0__Impl : ( ',' ) ;
8169 public final void rule__ALSSignatureBody__Group_6_1__0__Impl() throws RecognitionException {
8170
8171 int stackSize = keepStackSize();
8172
8173 try {
8174 // InternalAlloyLanguage.g:2557:1: ( ( ',' ) )
8175 // InternalAlloyLanguage.g:2558:1: ( ',' )
8176 {
8177 // InternalAlloyLanguage.g:2558:1: ( ',' )
8178 // InternalAlloyLanguage.g:2559:1: ','
8179 {
8180 if ( state.backtracking==0 ) {
8181 before(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0());
8182 }
8183 match(input,35,FOLLOW_2); if (state.failed) return ;
8184 if ( state.backtracking==0 ) {
8185 after(grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0());
8186 }
8187
8188 }
8189
8190
8191 }
8192
8193 }
8194 catch (RecognitionException re) {
8195 reportError(re);
8196 recover(input,re);
8197 }
8198 finally {
8199
8200 restoreStackSize(stackSize);
8201
8202 }
8203 return ;
8204 }
8205 // $ANTLR end "rule__ALSSignatureBody__Group_6_1__0__Impl"
8206
8207
8208 // $ANTLR start "rule__ALSSignatureBody__Group_6_1__1"
8209 // InternalAlloyLanguage.g:2572:1: rule__ALSSignatureBody__Group_6_1__1 : rule__ALSSignatureBody__Group_6_1__1__Impl ;
8210 public final void rule__ALSSignatureBody__Group_6_1__1() throws RecognitionException {
8211
8212 int stackSize = keepStackSize();
8213
8214 try {
8215 // InternalAlloyLanguage.g:2576:1: ( rule__ALSSignatureBody__Group_6_1__1__Impl )
8216 // InternalAlloyLanguage.g:2577:2: rule__ALSSignatureBody__Group_6_1__1__Impl
8217 {
8218 pushFollow(FOLLOW_2);
8219 rule__ALSSignatureBody__Group_6_1__1__Impl();
8220
8221 state._fsp--;
8222 if (state.failed) return ;
8223
8224 }
8225
8226 }
8227 catch (RecognitionException re) {
8228 reportError(re);
8229 recover(input,re);
8230 }
8231 finally {
8232
8233 restoreStackSize(stackSize);
8234
8235 }
8236 return ;
8237 }
8238 // $ANTLR end "rule__ALSSignatureBody__Group_6_1__1"
8239
8240
8241 // $ANTLR start "rule__ALSSignatureBody__Group_6_1__1__Impl"
8242 // InternalAlloyLanguage.g:2583:1: rule__ALSSignatureBody__Group_6_1__1__Impl : ( ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 ) ) ;
8243 public final void rule__ALSSignatureBody__Group_6_1__1__Impl() throws RecognitionException {
8244
8245 int stackSize = keepStackSize();
8246
8247 try {
8248 // InternalAlloyLanguage.g:2587:1: ( ( ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 ) ) )
8249 // InternalAlloyLanguage.g:2588:1: ( ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 ) )
8250 {
8251 // InternalAlloyLanguage.g:2588:1: ( ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 ) )
8252 // InternalAlloyLanguage.g:2589:1: ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 )
8253 {
8254 if ( state.backtracking==0 ) {
8255 before(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_1_1());
8256 }
8257 // InternalAlloyLanguage.g:2590:1: ( rule__ALSSignatureBody__FieldsAssignment_6_1_1 )
8258 // InternalAlloyLanguage.g:2590:2: rule__ALSSignatureBody__FieldsAssignment_6_1_1
8259 {
8260 pushFollow(FOLLOW_2);
8261 rule__ALSSignatureBody__FieldsAssignment_6_1_1();
8262
8263 state._fsp--;
8264 if (state.failed) return ;
8265
8266 }
8267
8268 if ( state.backtracking==0 ) {
8269 after(grammarAccess.getALSSignatureBodyAccess().getFieldsAssignment_6_1_1());
8270 }
8271
8272 }
8273
8274
8275 }
8276
8277 }
8278 catch (RecognitionException re) {
8279 reportError(re);
8280 recover(input,re);
8281 }
8282 finally {
8283
8284 restoreStackSize(stackSize);
8285
8286 }
8287 return ;
8288 }
8289 // $ANTLR end "rule__ALSSignatureBody__Group_6_1__1__Impl"
8290
8291
8292 // $ANTLR start "rule__ALSFieldDeclaration__Group__0"
8293 // InternalAlloyLanguage.g:2604:1: rule__ALSFieldDeclaration__Group__0 : rule__ALSFieldDeclaration__Group__0__Impl rule__ALSFieldDeclaration__Group__1 ;
8294 public final void rule__ALSFieldDeclaration__Group__0() throws RecognitionException {
8295
8296 int stackSize = keepStackSize();
8297
8298 try {
8299 // InternalAlloyLanguage.g:2608:1: ( rule__ALSFieldDeclaration__Group__0__Impl rule__ALSFieldDeclaration__Group__1 )
8300 // InternalAlloyLanguage.g:2609:2: rule__ALSFieldDeclaration__Group__0__Impl rule__ALSFieldDeclaration__Group__1
8301 {
8302 pushFollow(FOLLOW_15);
8303 rule__ALSFieldDeclaration__Group__0__Impl();
8304
8305 state._fsp--;
8306 if (state.failed) return ;
8307 pushFollow(FOLLOW_2);
8308 rule__ALSFieldDeclaration__Group__1();
8309
8310 state._fsp--;
8311 if (state.failed) return ;
8312
8313 }
8314
8315 }
8316 catch (RecognitionException re) {
8317 reportError(re);
8318 recover(input,re);
8319 }
8320 finally {
8321
8322 restoreStackSize(stackSize);
8323
8324 }
8325 return ;
8326 }
8327 // $ANTLR end "rule__ALSFieldDeclaration__Group__0"
8328
8329
8330 // $ANTLR start "rule__ALSFieldDeclaration__Group__0__Impl"
8331 // InternalAlloyLanguage.g:2616:1: rule__ALSFieldDeclaration__Group__0__Impl : ( ( rule__ALSFieldDeclaration__NameAssignment_0 ) ) ;
8332 public final void rule__ALSFieldDeclaration__Group__0__Impl() throws RecognitionException {
8333
8334 int stackSize = keepStackSize();
8335
8336 try {
8337 // InternalAlloyLanguage.g:2620:1: ( ( ( rule__ALSFieldDeclaration__NameAssignment_0 ) ) )
8338 // InternalAlloyLanguage.g:2621:1: ( ( rule__ALSFieldDeclaration__NameAssignment_0 ) )
8339 {
8340 // InternalAlloyLanguage.g:2621:1: ( ( rule__ALSFieldDeclaration__NameAssignment_0 ) )
8341 // InternalAlloyLanguage.g:2622:1: ( rule__ALSFieldDeclaration__NameAssignment_0 )
8342 {
8343 if ( state.backtracking==0 ) {
8344 before(grammarAccess.getALSFieldDeclarationAccess().getNameAssignment_0());
8345 }
8346 // InternalAlloyLanguage.g:2623:1: ( rule__ALSFieldDeclaration__NameAssignment_0 )
8347 // InternalAlloyLanguage.g:2623:2: rule__ALSFieldDeclaration__NameAssignment_0
8348 {
8349 pushFollow(FOLLOW_2);
8350 rule__ALSFieldDeclaration__NameAssignment_0();
8351
8352 state._fsp--;
8353 if (state.failed) return ;
8354
8355 }
8356
8357 if ( state.backtracking==0 ) {
8358 after(grammarAccess.getALSFieldDeclarationAccess().getNameAssignment_0());
8359 }
8360
8361 }
8362
8363
8364 }
8365
8366 }
8367 catch (RecognitionException re) {
8368 reportError(re);
8369 recover(input,re);
8370 }
8371 finally {
8372
8373 restoreStackSize(stackSize);
8374
8375 }
8376 return ;
8377 }
8378 // $ANTLR end "rule__ALSFieldDeclaration__Group__0__Impl"
8379
8380
8381 // $ANTLR start "rule__ALSFieldDeclaration__Group__1"
8382 // InternalAlloyLanguage.g:2633:1: rule__ALSFieldDeclaration__Group__1 : rule__ALSFieldDeclaration__Group__1__Impl rule__ALSFieldDeclaration__Group__2 ;
8383 public final void rule__ALSFieldDeclaration__Group__1() throws RecognitionException {
8384
8385 int stackSize = keepStackSize();
8386
8387 try {
8388 // InternalAlloyLanguage.g:2637:1: ( rule__ALSFieldDeclaration__Group__1__Impl rule__ALSFieldDeclaration__Group__2 )
8389 // InternalAlloyLanguage.g:2638:2: rule__ALSFieldDeclaration__Group__1__Impl rule__ALSFieldDeclaration__Group__2
8390 {
8391 pushFollow(FOLLOW_16);
8392 rule__ALSFieldDeclaration__Group__1__Impl();
8393
8394 state._fsp--;
8395 if (state.failed) return ;
8396 pushFollow(FOLLOW_2);
8397 rule__ALSFieldDeclaration__Group__2();
8398
8399 state._fsp--;
8400 if (state.failed) return ;
8401
8402 }
8403
8404 }
8405 catch (RecognitionException re) {
8406 reportError(re);
8407 recover(input,re);
8408 }
8409 finally {
8410
8411 restoreStackSize(stackSize);
8412
8413 }
8414 return ;
8415 }
8416 // $ANTLR end "rule__ALSFieldDeclaration__Group__1"
8417
8418
8419 // $ANTLR start "rule__ALSFieldDeclaration__Group__1__Impl"
8420 // InternalAlloyLanguage.g:2645:1: rule__ALSFieldDeclaration__Group__1__Impl : ( ':' ) ;
8421 public final void rule__ALSFieldDeclaration__Group__1__Impl() throws RecognitionException {
8422
8423 int stackSize = keepStackSize();
8424
8425 try {
8426 // InternalAlloyLanguage.g:2649:1: ( ( ':' ) )
8427 // InternalAlloyLanguage.g:2650:1: ( ':' )
8428 {
8429 // InternalAlloyLanguage.g:2650:1: ( ':' )
8430 // InternalAlloyLanguage.g:2651:1: ':'
8431 {
8432 if ( state.backtracking==0 ) {
8433 before(grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1());
8434 }
8435 match(input,40,FOLLOW_2); if (state.failed) return ;
8436 if ( state.backtracking==0 ) {
8437 after(grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1());
8438 }
8439
8440 }
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__ALSFieldDeclaration__Group__1__Impl"
8458
8459
8460 // $ANTLR start "rule__ALSFieldDeclaration__Group__2"
8461 // InternalAlloyLanguage.g:2664:1: rule__ALSFieldDeclaration__Group__2 : rule__ALSFieldDeclaration__Group__2__Impl rule__ALSFieldDeclaration__Group__3 ;
8462 public final void rule__ALSFieldDeclaration__Group__2() throws RecognitionException {
8463
8464 int stackSize = keepStackSize();
8465
8466 try {
8467 // InternalAlloyLanguage.g:2668:1: ( rule__ALSFieldDeclaration__Group__2__Impl rule__ALSFieldDeclaration__Group__3 )
8468 // InternalAlloyLanguage.g:2669:2: rule__ALSFieldDeclaration__Group__2__Impl rule__ALSFieldDeclaration__Group__3
8469 {
8470 pushFollow(FOLLOW_16);
8471 rule__ALSFieldDeclaration__Group__2__Impl();
8472
8473 state._fsp--;
8474 if (state.failed) return ;
8475 pushFollow(FOLLOW_2);
8476 rule__ALSFieldDeclaration__Group__3();
8477
8478 state._fsp--;
8479 if (state.failed) return ;
8480
8481 }
8482
8483 }
8484 catch (RecognitionException re) {
8485 reportError(re);
8486 recover(input,re);
8487 }
8488 finally {
8489
8490 restoreStackSize(stackSize);
8491
8492 }
8493 return ;
8494 }
8495 // $ANTLR end "rule__ALSFieldDeclaration__Group__2"
8496
8497
8498 // $ANTLR start "rule__ALSFieldDeclaration__Group__2__Impl"
8499 // InternalAlloyLanguage.g:2676:1: rule__ALSFieldDeclaration__Group__2__Impl : ( ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )? ) ;
8500 public final void rule__ALSFieldDeclaration__Group__2__Impl() throws RecognitionException {
8501
8502 int stackSize = keepStackSize();
8503
8504 try {
8505 // InternalAlloyLanguage.g:2680:1: ( ( ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )? ) )
8506 // InternalAlloyLanguage.g:2681:1: ( ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )? )
8507 {
8508 // InternalAlloyLanguage.g:2681:1: ( ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )? )
8509 // InternalAlloyLanguage.g:2682:1: ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )?
8510 {
8511 if ( state.backtracking==0 ) {
8512 before(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityAssignment_2());
8513 }
8514 // InternalAlloyLanguage.g:2683:1: ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )?
8515 int alt24=2;
8516 alt24 = dfa24.predict(input);
8517 switch (alt24) {
8518 case 1 :
8519 // InternalAlloyLanguage.g:2683:2: rule__ALSFieldDeclaration__MultiplicityAssignment_2
8520 {
8521 pushFollow(FOLLOW_2);
8522 rule__ALSFieldDeclaration__MultiplicityAssignment_2();
8523
8524 state._fsp--;
8525 if (state.failed) return ;
8526
8527 }
8528 break;
8529
8530 }
8531
8532 if ( state.backtracking==0 ) {
8533 after(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityAssignment_2());
8534 }
8535
8536 }
8537
8538
8539 }
8540
8541 }
8542 catch (RecognitionException re) {
8543 reportError(re);
8544 recover(input,re);
8545 }
8546 finally {
8547
8548 restoreStackSize(stackSize);
8549
8550 }
8551 return ;
8552 }
8553 // $ANTLR end "rule__ALSFieldDeclaration__Group__2__Impl"
8554
8555
8556 // $ANTLR start "rule__ALSFieldDeclaration__Group__3"
8557 // InternalAlloyLanguage.g:2693:1: rule__ALSFieldDeclaration__Group__3 : rule__ALSFieldDeclaration__Group__3__Impl ;
8558 public final void rule__ALSFieldDeclaration__Group__3() throws RecognitionException {
8559
8560 int stackSize = keepStackSize();
8561
8562 try {
8563 // InternalAlloyLanguage.g:2697:1: ( rule__ALSFieldDeclaration__Group__3__Impl )
8564 // InternalAlloyLanguage.g:2698:2: rule__ALSFieldDeclaration__Group__3__Impl
8565 {
8566 pushFollow(FOLLOW_2);
8567 rule__ALSFieldDeclaration__Group__3__Impl();
8568
8569 state._fsp--;
8570 if (state.failed) return ;
8571
8572 }
8573
8574 }
8575 catch (RecognitionException re) {
8576 reportError(re);
8577 recover(input,re);
8578 }
8579 finally {
8580
8581 restoreStackSize(stackSize);
8582
8583 }
8584 return ;
8585 }
8586 // $ANTLR end "rule__ALSFieldDeclaration__Group__3"
8587
8588
8589 // $ANTLR start "rule__ALSFieldDeclaration__Group__3__Impl"
8590 // InternalAlloyLanguage.g:2704:1: rule__ALSFieldDeclaration__Group__3__Impl : ( ( rule__ALSFieldDeclaration__TypeAssignment_3 ) ) ;
8591 public final void rule__ALSFieldDeclaration__Group__3__Impl() throws RecognitionException {
8592
8593 int stackSize = keepStackSize();
8594
8595 try {
8596 // InternalAlloyLanguage.g:2708:1: ( ( ( rule__ALSFieldDeclaration__TypeAssignment_3 ) ) )
8597 // InternalAlloyLanguage.g:2709:1: ( ( rule__ALSFieldDeclaration__TypeAssignment_3 ) )
8598 {
8599 // InternalAlloyLanguage.g:2709:1: ( ( rule__ALSFieldDeclaration__TypeAssignment_3 ) )
8600 // InternalAlloyLanguage.g:2710:1: ( rule__ALSFieldDeclaration__TypeAssignment_3 )
8601 {
8602 if ( state.backtracking==0 ) {
8603 before(grammarAccess.getALSFieldDeclarationAccess().getTypeAssignment_3());
8604 }
8605 // InternalAlloyLanguage.g:2711:1: ( rule__ALSFieldDeclaration__TypeAssignment_3 )
8606 // InternalAlloyLanguage.g:2711:2: rule__ALSFieldDeclaration__TypeAssignment_3
8607 {
8608 pushFollow(FOLLOW_2);
8609 rule__ALSFieldDeclaration__TypeAssignment_3();
8610
8611 state._fsp--;
8612 if (state.failed) return ;
8613
8614 }
8615
8616 if ( state.backtracking==0 ) {
8617 after(grammarAccess.getALSFieldDeclarationAccess().getTypeAssignment_3());
8618 }
8619
8620 }
8621
8622
8623 }
8624
8625 }
8626 catch (RecognitionException re) {
8627 reportError(re);
8628 recover(input,re);
8629 }
8630 finally {
8631
8632 restoreStackSize(stackSize);
8633
8634 }
8635 return ;
8636 }
8637 // $ANTLR end "rule__ALSFieldDeclaration__Group__3__Impl"
8638
8639
8640 // $ANTLR start "rule__ALSFunctionDefinition__Group__0"
8641 // InternalAlloyLanguage.g:2729:1: rule__ALSFunctionDefinition__Group__0 : rule__ALSFunctionDefinition__Group__0__Impl rule__ALSFunctionDefinition__Group__1 ;
8642 public final void rule__ALSFunctionDefinition__Group__0() throws RecognitionException {
8643
8644 int stackSize = keepStackSize();
8645
8646 try {
8647 // InternalAlloyLanguage.g:2733:1: ( rule__ALSFunctionDefinition__Group__0__Impl rule__ALSFunctionDefinition__Group__1 )
8648 // InternalAlloyLanguage.g:2734:2: rule__ALSFunctionDefinition__Group__0__Impl rule__ALSFunctionDefinition__Group__1
8649 {
8650 pushFollow(FOLLOW_5);
8651 rule__ALSFunctionDefinition__Group__0__Impl();
8652
8653 state._fsp--;
8654 if (state.failed) return ;
8655 pushFollow(FOLLOW_2);
8656 rule__ALSFunctionDefinition__Group__1();
8657
8658 state._fsp--;
8659 if (state.failed) return ;
8660
8661 }
8662
8663 }
8664 catch (RecognitionException re) {
8665 reportError(re);
8666 recover(input,re);
8667 }
8668 finally {
8669
8670 restoreStackSize(stackSize);
8671
8672 }
8673 return ;
8674 }
8675 // $ANTLR end "rule__ALSFunctionDefinition__Group__0"
8676
8677
8678 // $ANTLR start "rule__ALSFunctionDefinition__Group__0__Impl"
8679 // InternalAlloyLanguage.g:2741:1: rule__ALSFunctionDefinition__Group__0__Impl : ( 'fun' ) ;
8680 public final void rule__ALSFunctionDefinition__Group__0__Impl() throws RecognitionException {
8681
8682 int stackSize = keepStackSize();
8683
8684 try {
8685 // InternalAlloyLanguage.g:2745:1: ( ( 'fun' ) )
8686 // InternalAlloyLanguage.g:2746:1: ( 'fun' )
8687 {
8688 // InternalAlloyLanguage.g:2746:1: ( 'fun' )
8689 // InternalAlloyLanguage.g:2747:1: 'fun'
8690 {
8691 if ( state.backtracking==0 ) {
8692 before(grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0());
8693 }
8694 match(input,41,FOLLOW_2); if (state.failed) return ;
8695 if ( state.backtracking==0 ) {
8696 after(grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0());
8697 }
8698
8699 }
8700
8701
8702 }
8703
8704 }
8705 catch (RecognitionException re) {
8706 reportError(re);
8707 recover(input,re);
8708 }
8709 finally {
8710
8711 restoreStackSize(stackSize);
8712
8713 }
8714 return ;
8715 }
8716 // $ANTLR end "rule__ALSFunctionDefinition__Group__0__Impl"
8717
8718
8719 // $ANTLR start "rule__ALSFunctionDefinition__Group__1"
8720 // InternalAlloyLanguage.g:2760:1: rule__ALSFunctionDefinition__Group__1 : rule__ALSFunctionDefinition__Group__1__Impl rule__ALSFunctionDefinition__Group__2 ;
8721 public final void rule__ALSFunctionDefinition__Group__1() throws RecognitionException {
8722
8723 int stackSize = keepStackSize();
8724
8725 try {
8726 // InternalAlloyLanguage.g:2764:1: ( rule__ALSFunctionDefinition__Group__1__Impl rule__ALSFunctionDefinition__Group__2 )
8727 // InternalAlloyLanguage.g:2765:2: rule__ALSFunctionDefinition__Group__1__Impl rule__ALSFunctionDefinition__Group__2
8728 {
8729 pushFollow(FOLLOW_17);
8730 rule__ALSFunctionDefinition__Group__1__Impl();
8731
8732 state._fsp--;
8733 if (state.failed) return ;
8734 pushFollow(FOLLOW_2);
8735 rule__ALSFunctionDefinition__Group__2();
8736
8737 state._fsp--;
8738 if (state.failed) return ;
8739
8740 }
8741
8742 }
8743 catch (RecognitionException re) {
8744 reportError(re);
8745 recover(input,re);
8746 }
8747 finally {
8748
8749 restoreStackSize(stackSize);
8750
8751 }
8752 return ;
8753 }
8754 // $ANTLR end "rule__ALSFunctionDefinition__Group__1"
8755
8756
8757 // $ANTLR start "rule__ALSFunctionDefinition__Group__1__Impl"
8758 // InternalAlloyLanguage.g:2772:1: rule__ALSFunctionDefinition__Group__1__Impl : ( ( rule__ALSFunctionDefinition__NameAssignment_1 ) ) ;
8759 public final void rule__ALSFunctionDefinition__Group__1__Impl() throws RecognitionException {
8760
8761 int stackSize = keepStackSize();
8762
8763 try {
8764 // InternalAlloyLanguage.g:2776:1: ( ( ( rule__ALSFunctionDefinition__NameAssignment_1 ) ) )
8765 // InternalAlloyLanguage.g:2777:1: ( ( rule__ALSFunctionDefinition__NameAssignment_1 ) )
8766 {
8767 // InternalAlloyLanguage.g:2777:1: ( ( rule__ALSFunctionDefinition__NameAssignment_1 ) )
8768 // InternalAlloyLanguage.g:2778:1: ( rule__ALSFunctionDefinition__NameAssignment_1 )
8769 {
8770 if ( state.backtracking==0 ) {
8771 before(grammarAccess.getALSFunctionDefinitionAccess().getNameAssignment_1());
8772 }
8773 // InternalAlloyLanguage.g:2779:1: ( rule__ALSFunctionDefinition__NameAssignment_1 )
8774 // InternalAlloyLanguage.g:2779:2: rule__ALSFunctionDefinition__NameAssignment_1
8775 {
8776 pushFollow(FOLLOW_2);
8777 rule__ALSFunctionDefinition__NameAssignment_1();
8778
8779 state._fsp--;
8780 if (state.failed) return ;
8781
8782 }
8783
8784 if ( state.backtracking==0 ) {
8785 after(grammarAccess.getALSFunctionDefinitionAccess().getNameAssignment_1());
8786 }
8787
8788 }
8789
8790
8791 }
8792
8793 }
8794 catch (RecognitionException re) {
8795 reportError(re);
8796 recover(input,re);
8797 }
8798 finally {
8799
8800 restoreStackSize(stackSize);
8801
8802 }
8803 return ;
8804 }
8805 // $ANTLR end "rule__ALSFunctionDefinition__Group__1__Impl"
8806
8807
8808 // $ANTLR start "rule__ALSFunctionDefinition__Group__2"
8809 // InternalAlloyLanguage.g:2789:1: rule__ALSFunctionDefinition__Group__2 : rule__ALSFunctionDefinition__Group__2__Impl rule__ALSFunctionDefinition__Group__3 ;
8810 public final void rule__ALSFunctionDefinition__Group__2() throws RecognitionException {
8811
8812 int stackSize = keepStackSize();
8813
8814 try {
8815 // InternalAlloyLanguage.g:2793:1: ( rule__ALSFunctionDefinition__Group__2__Impl rule__ALSFunctionDefinition__Group__3 )
8816 // InternalAlloyLanguage.g:2794:2: rule__ALSFunctionDefinition__Group__2__Impl rule__ALSFunctionDefinition__Group__3
8817 {
8818 pushFollow(FOLLOW_5);
8819 rule__ALSFunctionDefinition__Group__2__Impl();
8820
8821 state._fsp--;
8822 if (state.failed) return ;
8823 pushFollow(FOLLOW_2);
8824 rule__ALSFunctionDefinition__Group__3();
8825
8826 state._fsp--;
8827 if (state.failed) return ;
8828
8829 }
8830
8831 }
8832 catch (RecognitionException re) {
8833 reportError(re);
8834 recover(input,re);
8835 }
8836 finally {
8837
8838 restoreStackSize(stackSize);
8839
8840 }
8841 return ;
8842 }
8843 // $ANTLR end "rule__ALSFunctionDefinition__Group__2"
8844
8845
8846 // $ANTLR start "rule__ALSFunctionDefinition__Group__2__Impl"
8847 // InternalAlloyLanguage.g:2801:1: rule__ALSFunctionDefinition__Group__2__Impl : ( '[' ) ;
8848 public final void rule__ALSFunctionDefinition__Group__2__Impl() throws RecognitionException {
8849
8850 int stackSize = keepStackSize();
8851
8852 try {
8853 // InternalAlloyLanguage.g:2805:1: ( ( '[' ) )
8854 // InternalAlloyLanguage.g:2806:1: ( '[' )
8855 {
8856 // InternalAlloyLanguage.g:2806:1: ( '[' )
8857 // InternalAlloyLanguage.g:2807:1: '['
8858 {
8859 if ( state.backtracking==0 ) {
8860 before(grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2());
8861 }
8862 match(input,42,FOLLOW_2); if (state.failed) return ;
8863 if ( state.backtracking==0 ) {
8864 after(grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2());
8865 }
8866
8867 }
8868
8869
8870 }
8871
8872 }
8873 catch (RecognitionException re) {
8874 reportError(re);
8875 recover(input,re);
8876 }
8877 finally {
8878
8879 restoreStackSize(stackSize);
8880
8881 }
8882 return ;
8883 }
8884 // $ANTLR end "rule__ALSFunctionDefinition__Group__2__Impl"
8885
8886
8887 // $ANTLR start "rule__ALSFunctionDefinition__Group__3"
8888 // InternalAlloyLanguage.g:2820:1: rule__ALSFunctionDefinition__Group__3 : rule__ALSFunctionDefinition__Group__3__Impl rule__ALSFunctionDefinition__Group__4 ;
8889 public final void rule__ALSFunctionDefinition__Group__3() throws RecognitionException {
8890
8891 int stackSize = keepStackSize();
8892
8893 try {
8894 // InternalAlloyLanguage.g:2824:1: ( rule__ALSFunctionDefinition__Group__3__Impl rule__ALSFunctionDefinition__Group__4 )
8895 // InternalAlloyLanguage.g:2825:2: rule__ALSFunctionDefinition__Group__3__Impl rule__ALSFunctionDefinition__Group__4
8896 {
8897 pushFollow(FOLLOW_18);
8898 rule__ALSFunctionDefinition__Group__3__Impl();
8899
8900 state._fsp--;
8901 if (state.failed) return ;
8902 pushFollow(FOLLOW_2);
8903 rule__ALSFunctionDefinition__Group__4();
8904
8905 state._fsp--;
8906 if (state.failed) return ;
8907
8908 }
8909
8910 }
8911 catch (RecognitionException re) {
8912 reportError(re);
8913 recover(input,re);
8914 }
8915 finally {
8916
8917 restoreStackSize(stackSize);
8918
8919 }
8920 return ;
8921 }
8922 // $ANTLR end "rule__ALSFunctionDefinition__Group__3"
8923
8924
8925 // $ANTLR start "rule__ALSFunctionDefinition__Group__3__Impl"
8926 // InternalAlloyLanguage.g:2832:1: rule__ALSFunctionDefinition__Group__3__Impl : ( ( rule__ALSFunctionDefinition__VariablesAssignment_3 ) ) ;
8927 public final void rule__ALSFunctionDefinition__Group__3__Impl() throws RecognitionException {
8928
8929 int stackSize = keepStackSize();
8930
8931 try {
8932 // InternalAlloyLanguage.g:2836:1: ( ( ( rule__ALSFunctionDefinition__VariablesAssignment_3 ) ) )
8933 // InternalAlloyLanguage.g:2837:1: ( ( rule__ALSFunctionDefinition__VariablesAssignment_3 ) )
8934 {
8935 // InternalAlloyLanguage.g:2837:1: ( ( rule__ALSFunctionDefinition__VariablesAssignment_3 ) )
8936 // InternalAlloyLanguage.g:2838:1: ( rule__ALSFunctionDefinition__VariablesAssignment_3 )
8937 {
8938 if ( state.backtracking==0 ) {
8939 before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_3());
8940 }
8941 // InternalAlloyLanguage.g:2839:1: ( rule__ALSFunctionDefinition__VariablesAssignment_3 )
8942 // InternalAlloyLanguage.g:2839:2: rule__ALSFunctionDefinition__VariablesAssignment_3
8943 {
8944 pushFollow(FOLLOW_2);
8945 rule__ALSFunctionDefinition__VariablesAssignment_3();
8946
8947 state._fsp--;
8948 if (state.failed) return ;
8949
8950 }
8951
8952 if ( state.backtracking==0 ) {
8953 after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_3());
8954 }
8955
8956 }
8957
8958
8959 }
8960
8961 }
8962 catch (RecognitionException re) {
8963 reportError(re);
8964 recover(input,re);
8965 }
8966 finally {
8967
8968 restoreStackSize(stackSize);
8969
8970 }
8971 return ;
8972 }
8973 // $ANTLR end "rule__ALSFunctionDefinition__Group__3__Impl"
8974
8975
8976 // $ANTLR start "rule__ALSFunctionDefinition__Group__4"
8977 // InternalAlloyLanguage.g:2849:1: rule__ALSFunctionDefinition__Group__4 : rule__ALSFunctionDefinition__Group__4__Impl rule__ALSFunctionDefinition__Group__5 ;
8978 public final void rule__ALSFunctionDefinition__Group__4() throws RecognitionException {
8979
8980 int stackSize = keepStackSize();
8981
8982 try {
8983 // InternalAlloyLanguage.g:2853:1: ( rule__ALSFunctionDefinition__Group__4__Impl rule__ALSFunctionDefinition__Group__5 )
8984 // InternalAlloyLanguage.g:2854:2: rule__ALSFunctionDefinition__Group__4__Impl rule__ALSFunctionDefinition__Group__5
8985 {
8986 pushFollow(FOLLOW_18);
8987 rule__ALSFunctionDefinition__Group__4__Impl();
8988
8989 state._fsp--;
8990 if (state.failed) return ;
8991 pushFollow(FOLLOW_2);
8992 rule__ALSFunctionDefinition__Group__5();
8993
8994 state._fsp--;
8995 if (state.failed) return ;
8996
8997 }
8998
8999 }
9000 catch (RecognitionException re) {
9001 reportError(re);
9002 recover(input,re);
9003 }
9004 finally {
9005
9006 restoreStackSize(stackSize);
9007
9008 }
9009 return ;
9010 }
9011 // $ANTLR end "rule__ALSFunctionDefinition__Group__4"
9012
9013
9014 // $ANTLR start "rule__ALSFunctionDefinition__Group__4__Impl"
9015 // InternalAlloyLanguage.g:2861:1: rule__ALSFunctionDefinition__Group__4__Impl : ( ( rule__ALSFunctionDefinition__Group_4__0 )* ) ;
9016 public final void rule__ALSFunctionDefinition__Group__4__Impl() throws RecognitionException {
9017
9018 int stackSize = keepStackSize();
9019
9020 try {
9021 // InternalAlloyLanguage.g:2865:1: ( ( ( rule__ALSFunctionDefinition__Group_4__0 )* ) )
9022 // InternalAlloyLanguage.g:2866:1: ( ( rule__ALSFunctionDefinition__Group_4__0 )* )
9023 {
9024 // InternalAlloyLanguage.g:2866:1: ( ( rule__ALSFunctionDefinition__Group_4__0 )* )
9025 // InternalAlloyLanguage.g:2867:1: ( rule__ALSFunctionDefinition__Group_4__0 )*
9026 {
9027 if ( state.backtracking==0 ) {
9028 before(grammarAccess.getALSFunctionDefinitionAccess().getGroup_4());
9029 }
9030 // InternalAlloyLanguage.g:2868:1: ( rule__ALSFunctionDefinition__Group_4__0 )*
9031 loop25:
9032 do {
9033 int alt25=2;
9034 int LA25_0 = input.LA(1);
9035
9036 if ( (LA25_0==35) ) {
9037 alt25=1;
9038 }
9039
9040
9041 switch (alt25) {
9042 case 1 :
9043 // InternalAlloyLanguage.g:2868:2: rule__ALSFunctionDefinition__Group_4__0
9044 {
9045 pushFollow(FOLLOW_8);
9046 rule__ALSFunctionDefinition__Group_4__0();
9047
9048 state._fsp--;
9049 if (state.failed) return ;
9050
9051 }
9052 break;
9053
9054 default :
9055 break loop25;
9056 }
9057 } while (true);
9058
9059 if ( state.backtracking==0 ) {
9060 after(grammarAccess.getALSFunctionDefinitionAccess().getGroup_4());
9061 }
9062
9063 }
9064
9065
9066 }
9067
9068 }
9069 catch (RecognitionException re) {
9070 reportError(re);
9071 recover(input,re);
9072 }
9073 finally {
9074
9075 restoreStackSize(stackSize);
9076
9077 }
9078 return ;
9079 }
9080 // $ANTLR end "rule__ALSFunctionDefinition__Group__4__Impl"
9081
9082
9083 // $ANTLR start "rule__ALSFunctionDefinition__Group__5"
9084 // InternalAlloyLanguage.g:2878:1: rule__ALSFunctionDefinition__Group__5 : rule__ALSFunctionDefinition__Group__5__Impl rule__ALSFunctionDefinition__Group__6 ;
9085 public final void rule__ALSFunctionDefinition__Group__5() throws RecognitionException {
9086
9087 int stackSize = keepStackSize();
9088
9089 try {
9090 // InternalAlloyLanguage.g:2882:1: ( rule__ALSFunctionDefinition__Group__5__Impl rule__ALSFunctionDefinition__Group__6 )
9091 // InternalAlloyLanguage.g:2883:2: rule__ALSFunctionDefinition__Group__5__Impl rule__ALSFunctionDefinition__Group__6
9092 {
9093 pushFollow(FOLLOW_15);
9094 rule__ALSFunctionDefinition__Group__5__Impl();
9095
9096 state._fsp--;
9097 if (state.failed) return ;
9098 pushFollow(FOLLOW_2);
9099 rule__ALSFunctionDefinition__Group__6();
9100
9101 state._fsp--;
9102 if (state.failed) return ;
9103
9104 }
9105
9106 }
9107 catch (RecognitionException re) {
9108 reportError(re);
9109 recover(input,re);
9110 }
9111 finally {
9112
9113 restoreStackSize(stackSize);
9114
9115 }
9116 return ;
9117 }
9118 // $ANTLR end "rule__ALSFunctionDefinition__Group__5"
9119
9120
9121 // $ANTLR start "rule__ALSFunctionDefinition__Group__5__Impl"
9122 // InternalAlloyLanguage.g:2890:1: rule__ALSFunctionDefinition__Group__5__Impl : ( ']' ) ;
9123 public final void rule__ALSFunctionDefinition__Group__5__Impl() throws RecognitionException {
9124
9125 int stackSize = keepStackSize();
9126
9127 try {
9128 // InternalAlloyLanguage.g:2894:1: ( ( ']' ) )
9129 // InternalAlloyLanguage.g:2895:1: ( ']' )
9130 {
9131 // InternalAlloyLanguage.g:2895:1: ( ']' )
9132 // InternalAlloyLanguage.g:2896:1: ']'
9133 {
9134 if ( state.backtracking==0 ) {
9135 before(grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5());
9136 }
9137 match(input,43,FOLLOW_2); if (state.failed) return ;
9138 if ( state.backtracking==0 ) {
9139 after(grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5());
9140 }
9141
9142 }
9143
9144
9145 }
9146
9147 }
9148 catch (RecognitionException re) {
9149 reportError(re);
9150 recover(input,re);
9151 }
9152 finally {
9153
9154 restoreStackSize(stackSize);
9155
9156 }
9157 return ;
9158 }
9159 // $ANTLR end "rule__ALSFunctionDefinition__Group__5__Impl"
9160
9161
9162 // $ANTLR start "rule__ALSFunctionDefinition__Group__6"
9163 // InternalAlloyLanguage.g:2909:1: rule__ALSFunctionDefinition__Group__6 : rule__ALSFunctionDefinition__Group__6__Impl rule__ALSFunctionDefinition__Group__7 ;
9164 public final void rule__ALSFunctionDefinition__Group__6() throws RecognitionException {
9165
9166 int stackSize = keepStackSize();
9167
9168 try {
9169 // InternalAlloyLanguage.g:2913:1: ( rule__ALSFunctionDefinition__Group__6__Impl rule__ALSFunctionDefinition__Group__7 )
9170 // InternalAlloyLanguage.g:2914:2: rule__ALSFunctionDefinition__Group__6__Impl rule__ALSFunctionDefinition__Group__7
9171 {
9172 pushFollow(FOLLOW_16);
9173 rule__ALSFunctionDefinition__Group__6__Impl();
9174
9175 state._fsp--;
9176 if (state.failed) return ;
9177 pushFollow(FOLLOW_2);
9178 rule__ALSFunctionDefinition__Group__7();
9179
9180 state._fsp--;
9181 if (state.failed) return ;
9182
9183 }
9184
9185 }
9186 catch (RecognitionException re) {
9187 reportError(re);
9188 recover(input,re);
9189 }
9190 finally {
9191
9192 restoreStackSize(stackSize);
9193
9194 }
9195 return ;
9196 }
9197 // $ANTLR end "rule__ALSFunctionDefinition__Group__6"
9198
9199
9200 // $ANTLR start "rule__ALSFunctionDefinition__Group__6__Impl"
9201 // InternalAlloyLanguage.g:2921:1: rule__ALSFunctionDefinition__Group__6__Impl : ( ':' ) ;
9202 public final void rule__ALSFunctionDefinition__Group__6__Impl() throws RecognitionException {
9203
9204 int stackSize = keepStackSize();
9205
9206 try {
9207 // InternalAlloyLanguage.g:2925:1: ( ( ':' ) )
9208 // InternalAlloyLanguage.g:2926:1: ( ':' )
9209 {
9210 // InternalAlloyLanguage.g:2926:1: ( ':' )
9211 // InternalAlloyLanguage.g:2927:1: ':'
9212 {
9213 if ( state.backtracking==0 ) {
9214 before(grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6());
9215 }
9216 match(input,40,FOLLOW_2); if (state.failed) return ;
9217 if ( state.backtracking==0 ) {
9218 after(grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6());
9219 }
9220
9221 }
9222
9223
9224 }
9225
9226 }
9227 catch (RecognitionException re) {
9228 reportError(re);
9229 recover(input,re);
9230 }
9231 finally {
9232
9233 restoreStackSize(stackSize);
9234
9235 }
9236 return ;
9237 }
9238 // $ANTLR end "rule__ALSFunctionDefinition__Group__6__Impl"
9239
9240
9241 // $ANTLR start "rule__ALSFunctionDefinition__Group__7"
9242 // InternalAlloyLanguage.g:2940:1: rule__ALSFunctionDefinition__Group__7 : rule__ALSFunctionDefinition__Group__7__Impl rule__ALSFunctionDefinition__Group__8 ;
9243 public final void rule__ALSFunctionDefinition__Group__7() throws RecognitionException {
9244
9245 int stackSize = keepStackSize();
9246
9247 try {
9248 // InternalAlloyLanguage.g:2944:1: ( rule__ALSFunctionDefinition__Group__7__Impl rule__ALSFunctionDefinition__Group__8 )
9249 // InternalAlloyLanguage.g:2945:2: rule__ALSFunctionDefinition__Group__7__Impl rule__ALSFunctionDefinition__Group__8
9250 {
9251 pushFollow(FOLLOW_6);
9252 rule__ALSFunctionDefinition__Group__7__Impl();
9253
9254 state._fsp--;
9255 if (state.failed) return ;
9256 pushFollow(FOLLOW_2);
9257 rule__ALSFunctionDefinition__Group__8();
9258
9259 state._fsp--;
9260 if (state.failed) return ;
9261
9262 }
9263
9264 }
9265 catch (RecognitionException re) {
9266 reportError(re);
9267 recover(input,re);
9268 }
9269 finally {
9270
9271 restoreStackSize(stackSize);
9272
9273 }
9274 return ;
9275 }
9276 // $ANTLR end "rule__ALSFunctionDefinition__Group__7"
9277
9278
9279 // $ANTLR start "rule__ALSFunctionDefinition__Group__7__Impl"
9280 // InternalAlloyLanguage.g:2952:1: rule__ALSFunctionDefinition__Group__7__Impl : ( ( rule__ALSFunctionDefinition__TypeAssignment_7 ) ) ;
9281 public final void rule__ALSFunctionDefinition__Group__7__Impl() throws RecognitionException {
9282
9283 int stackSize = keepStackSize();
9284
9285 try {
9286 // InternalAlloyLanguage.g:2956:1: ( ( ( rule__ALSFunctionDefinition__TypeAssignment_7 ) ) )
9287 // InternalAlloyLanguage.g:2957:1: ( ( rule__ALSFunctionDefinition__TypeAssignment_7 ) )
9288 {
9289 // InternalAlloyLanguage.g:2957:1: ( ( rule__ALSFunctionDefinition__TypeAssignment_7 ) )
9290 // InternalAlloyLanguage.g:2958:1: ( rule__ALSFunctionDefinition__TypeAssignment_7 )
9291 {
9292 if ( state.backtracking==0 ) {
9293 before(grammarAccess.getALSFunctionDefinitionAccess().getTypeAssignment_7());
9294 }
9295 // InternalAlloyLanguage.g:2959:1: ( rule__ALSFunctionDefinition__TypeAssignment_7 )
9296 // InternalAlloyLanguage.g:2959:2: rule__ALSFunctionDefinition__TypeAssignment_7
9297 {
9298 pushFollow(FOLLOW_2);
9299 rule__ALSFunctionDefinition__TypeAssignment_7();
9300
9301 state._fsp--;
9302 if (state.failed) return ;
9303
9304 }
9305
9306 if ( state.backtracking==0 ) {
9307 after(grammarAccess.getALSFunctionDefinitionAccess().getTypeAssignment_7());
9308 }
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__ALSFunctionDefinition__Group__7__Impl"
9328
9329
9330 // $ANTLR start "rule__ALSFunctionDefinition__Group__8"
9331 // InternalAlloyLanguage.g:2969:1: rule__ALSFunctionDefinition__Group__8 : rule__ALSFunctionDefinition__Group__8__Impl rule__ALSFunctionDefinition__Group__9 ;
9332 public final void rule__ALSFunctionDefinition__Group__8() throws RecognitionException {
9333
9334 int stackSize = keepStackSize();
9335
9336 try {
9337 // InternalAlloyLanguage.g:2973:1: ( rule__ALSFunctionDefinition__Group__8__Impl rule__ALSFunctionDefinition__Group__9 )
9338 // InternalAlloyLanguage.g:2974:2: rule__ALSFunctionDefinition__Group__8__Impl rule__ALSFunctionDefinition__Group__9
9339 {
9340 pushFollow(FOLLOW_16);
9341 rule__ALSFunctionDefinition__Group__8__Impl();
9342
9343 state._fsp--;
9344 if (state.failed) return ;
9345 pushFollow(FOLLOW_2);
9346 rule__ALSFunctionDefinition__Group__9();
9347
9348 state._fsp--;
9349 if (state.failed) return ;
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__ALSFunctionDefinition__Group__8"
9366
9367
9368 // $ANTLR start "rule__ALSFunctionDefinition__Group__8__Impl"
9369 // InternalAlloyLanguage.g:2981:1: rule__ALSFunctionDefinition__Group__8__Impl : ( '{' ) ;
9370 public final void rule__ALSFunctionDefinition__Group__8__Impl() throws RecognitionException {
9371
9372 int stackSize = keepStackSize();
9373
9374 try {
9375 // InternalAlloyLanguage.g:2985:1: ( ( '{' ) )
9376 // InternalAlloyLanguage.g:2986:1: ( '{' )
9377 {
9378 // InternalAlloyLanguage.g:2986:1: ( '{' )
9379 // InternalAlloyLanguage.g:2987:1: '{'
9380 {
9381 if ( state.backtracking==0 ) {
9382 before(grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8());
9383 }
9384 match(input,33,FOLLOW_2); if (state.failed) return ;
9385 if ( state.backtracking==0 ) {
9386 after(grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8());
9387 }
9388
9389 }
9390
9391
9392 }
9393
9394 }
9395 catch (RecognitionException re) {
9396 reportError(re);
9397 recover(input,re);
9398 }
9399 finally {
9400
9401 restoreStackSize(stackSize);
9402
9403 }
9404 return ;
9405 }
9406 // $ANTLR end "rule__ALSFunctionDefinition__Group__8__Impl"
9407
9408
9409 // $ANTLR start "rule__ALSFunctionDefinition__Group__9"
9410 // InternalAlloyLanguage.g:3000:1: rule__ALSFunctionDefinition__Group__9 : rule__ALSFunctionDefinition__Group__9__Impl rule__ALSFunctionDefinition__Group__10 ;
9411 public final void rule__ALSFunctionDefinition__Group__9() throws RecognitionException {
9412
9413 int stackSize = keepStackSize();
9414
9415 try {
9416 // InternalAlloyLanguage.g:3004:1: ( rule__ALSFunctionDefinition__Group__9__Impl rule__ALSFunctionDefinition__Group__10 )
9417 // InternalAlloyLanguage.g:3005:2: rule__ALSFunctionDefinition__Group__9__Impl rule__ALSFunctionDefinition__Group__10
9418 {
9419 pushFollow(FOLLOW_19);
9420 rule__ALSFunctionDefinition__Group__9__Impl();
9421
9422 state._fsp--;
9423 if (state.failed) return ;
9424 pushFollow(FOLLOW_2);
9425 rule__ALSFunctionDefinition__Group__10();
9426
9427 state._fsp--;
9428 if (state.failed) return ;
9429
9430 }
9431
9432 }
9433 catch (RecognitionException re) {
9434 reportError(re);
9435 recover(input,re);
9436 }
9437 finally {
9438
9439 restoreStackSize(stackSize);
9440
9441 }
9442 return ;
9443 }
9444 // $ANTLR end "rule__ALSFunctionDefinition__Group__9"
9445
9446
9447 // $ANTLR start "rule__ALSFunctionDefinition__Group__9__Impl"
9448 // InternalAlloyLanguage.g:3012:1: rule__ALSFunctionDefinition__Group__9__Impl : ( ( rule__ALSFunctionDefinition__ValueAssignment_9 ) ) ;
9449 public final void rule__ALSFunctionDefinition__Group__9__Impl() throws RecognitionException {
9450
9451 int stackSize = keepStackSize();
9452
9453 try {
9454 // InternalAlloyLanguage.g:3016:1: ( ( ( rule__ALSFunctionDefinition__ValueAssignment_9 ) ) )
9455 // InternalAlloyLanguage.g:3017:1: ( ( rule__ALSFunctionDefinition__ValueAssignment_9 ) )
9456 {
9457 // InternalAlloyLanguage.g:3017:1: ( ( rule__ALSFunctionDefinition__ValueAssignment_9 ) )
9458 // InternalAlloyLanguage.g:3018:1: ( rule__ALSFunctionDefinition__ValueAssignment_9 )
9459 {
9460 if ( state.backtracking==0 ) {
9461 before(grammarAccess.getALSFunctionDefinitionAccess().getValueAssignment_9());
9462 }
9463 // InternalAlloyLanguage.g:3019:1: ( rule__ALSFunctionDefinition__ValueAssignment_9 )
9464 // InternalAlloyLanguage.g:3019:2: rule__ALSFunctionDefinition__ValueAssignment_9
9465 {
9466 pushFollow(FOLLOW_2);
9467 rule__ALSFunctionDefinition__ValueAssignment_9();
9468
9469 state._fsp--;
9470 if (state.failed) return ;
9471
9472 }
9473
9474 if ( state.backtracking==0 ) {
9475 after(grammarAccess.getALSFunctionDefinitionAccess().getValueAssignment_9());
9476 }
9477
9478 }
9479
9480
9481 }
9482
9483 }
9484 catch (RecognitionException re) {
9485 reportError(re);
9486 recover(input,re);
9487 }
9488 finally {
9489
9490 restoreStackSize(stackSize);
9491
9492 }
9493 return ;
9494 }
9495 // $ANTLR end "rule__ALSFunctionDefinition__Group__9__Impl"
9496
9497
9498 // $ANTLR start "rule__ALSFunctionDefinition__Group__10"
9499 // InternalAlloyLanguage.g:3029:1: rule__ALSFunctionDefinition__Group__10 : rule__ALSFunctionDefinition__Group__10__Impl ;
9500 public final void rule__ALSFunctionDefinition__Group__10() throws RecognitionException {
9501
9502 int stackSize = keepStackSize();
9503
9504 try {
9505 // InternalAlloyLanguage.g:3033:1: ( rule__ALSFunctionDefinition__Group__10__Impl )
9506 // InternalAlloyLanguage.g:3034:2: rule__ALSFunctionDefinition__Group__10__Impl
9507 {
9508 pushFollow(FOLLOW_2);
9509 rule__ALSFunctionDefinition__Group__10__Impl();
9510
9511 state._fsp--;
9512 if (state.failed) return ;
9513
9514 }
9515
9516 }
9517 catch (RecognitionException re) {
9518 reportError(re);
9519 recover(input,re);
9520 }
9521 finally {
9522
9523 restoreStackSize(stackSize);
9524
9525 }
9526 return ;
9527 }
9528 // $ANTLR end "rule__ALSFunctionDefinition__Group__10"
9529
9530
9531 // $ANTLR start "rule__ALSFunctionDefinition__Group__10__Impl"
9532 // InternalAlloyLanguage.g:3040:1: rule__ALSFunctionDefinition__Group__10__Impl : ( '}' ) ;
9533 public final void rule__ALSFunctionDefinition__Group__10__Impl() throws RecognitionException {
9534
9535 int stackSize = keepStackSize();
9536
9537 try {
9538 // InternalAlloyLanguage.g:3044:1: ( ( '}' ) )
9539 // InternalAlloyLanguage.g:3045:1: ( '}' )
9540 {
9541 // InternalAlloyLanguage.g:3045:1: ( '}' )
9542 // InternalAlloyLanguage.g:3046:1: '}'
9543 {
9544 if ( state.backtracking==0 ) {
9545 before(grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10());
9546 }
9547 match(input,34,FOLLOW_2); if (state.failed) return ;
9548 if ( state.backtracking==0 ) {
9549 after(grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10());
9550 }
9551
9552 }
9553
9554
9555 }
9556
9557 }
9558 catch (RecognitionException re) {
9559 reportError(re);
9560 recover(input,re);
9561 }
9562 finally {
9563
9564 restoreStackSize(stackSize);
9565
9566 }
9567 return ;
9568 }
9569 // $ANTLR end "rule__ALSFunctionDefinition__Group__10__Impl"
9570
9571
9572 // $ANTLR start "rule__ALSFunctionDefinition__Group_4__0"
9573 // InternalAlloyLanguage.g:3081:1: rule__ALSFunctionDefinition__Group_4__0 : rule__ALSFunctionDefinition__Group_4__0__Impl rule__ALSFunctionDefinition__Group_4__1 ;
9574 public final void rule__ALSFunctionDefinition__Group_4__0() throws RecognitionException {
9575
9576 int stackSize = keepStackSize();
9577
9578 try {
9579 // InternalAlloyLanguage.g:3085:1: ( rule__ALSFunctionDefinition__Group_4__0__Impl rule__ALSFunctionDefinition__Group_4__1 )
9580 // InternalAlloyLanguage.g:3086:2: rule__ALSFunctionDefinition__Group_4__0__Impl rule__ALSFunctionDefinition__Group_4__1
9581 {
9582 pushFollow(FOLLOW_5);
9583 rule__ALSFunctionDefinition__Group_4__0__Impl();
9584
9585 state._fsp--;
9586 if (state.failed) return ;
9587 pushFollow(FOLLOW_2);
9588 rule__ALSFunctionDefinition__Group_4__1();
9589
9590 state._fsp--;
9591 if (state.failed) return ;
9592
9593 }
9594
9595 }
9596 catch (RecognitionException re) {
9597 reportError(re);
9598 recover(input,re);
9599 }
9600 finally {
9601
9602 restoreStackSize(stackSize);
9603
9604 }
9605 return ;
9606 }
9607 // $ANTLR end "rule__ALSFunctionDefinition__Group_4__0"
9608
9609
9610 // $ANTLR start "rule__ALSFunctionDefinition__Group_4__0__Impl"
9611 // InternalAlloyLanguage.g:3093:1: rule__ALSFunctionDefinition__Group_4__0__Impl : ( ',' ) ;
9612 public final void rule__ALSFunctionDefinition__Group_4__0__Impl() throws RecognitionException {
9613
9614 int stackSize = keepStackSize();
9615
9616 try {
9617 // InternalAlloyLanguage.g:3097:1: ( ( ',' ) )
9618 // InternalAlloyLanguage.g:3098:1: ( ',' )
9619 {
9620 // InternalAlloyLanguage.g:3098:1: ( ',' )
9621 // InternalAlloyLanguage.g:3099:1: ','
9622 {
9623 if ( state.backtracking==0 ) {
9624 before(grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0());
9625 }
9626 match(input,35,FOLLOW_2); if (state.failed) return ;
9627 if ( state.backtracking==0 ) {
9628 after(grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0());
9629 }
9630
9631 }
9632
9633
9634 }
9635
9636 }
9637 catch (RecognitionException re) {
9638 reportError(re);
9639 recover(input,re);
9640 }
9641 finally {
9642
9643 restoreStackSize(stackSize);
9644
9645 }
9646 return ;
9647 }
9648 // $ANTLR end "rule__ALSFunctionDefinition__Group_4__0__Impl"
9649
9650
9651 // $ANTLR start "rule__ALSFunctionDefinition__Group_4__1"
9652 // InternalAlloyLanguage.g:3112:1: rule__ALSFunctionDefinition__Group_4__1 : rule__ALSFunctionDefinition__Group_4__1__Impl ;
9653 public final void rule__ALSFunctionDefinition__Group_4__1() throws RecognitionException {
9654
9655 int stackSize = keepStackSize();
9656
9657 try {
9658 // InternalAlloyLanguage.g:3116:1: ( rule__ALSFunctionDefinition__Group_4__1__Impl )
9659 // InternalAlloyLanguage.g:3117:2: rule__ALSFunctionDefinition__Group_4__1__Impl
9660 {
9661 pushFollow(FOLLOW_2);
9662 rule__ALSFunctionDefinition__Group_4__1__Impl();
9663
9664 state._fsp--;
9665 if (state.failed) return ;
9666
9667 }
9668
9669 }
9670 catch (RecognitionException re) {
9671 reportError(re);
9672 recover(input,re);
9673 }
9674 finally {
9675
9676 restoreStackSize(stackSize);
9677
9678 }
9679 return ;
9680 }
9681 // $ANTLR end "rule__ALSFunctionDefinition__Group_4__1"
9682
9683
9684 // $ANTLR start "rule__ALSFunctionDefinition__Group_4__1__Impl"
9685 // InternalAlloyLanguage.g:3123:1: rule__ALSFunctionDefinition__Group_4__1__Impl : ( ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 ) ) ;
9686 public final void rule__ALSFunctionDefinition__Group_4__1__Impl() throws RecognitionException {
9687
9688 int stackSize = keepStackSize();
9689
9690 try {
9691 // InternalAlloyLanguage.g:3127:1: ( ( ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 ) ) )
9692 // InternalAlloyLanguage.g:3128:1: ( ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 ) )
9693 {
9694 // InternalAlloyLanguage.g:3128:1: ( ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 ) )
9695 // InternalAlloyLanguage.g:3129:1: ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 )
9696 {
9697 if ( state.backtracking==0 ) {
9698 before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_4_1());
9699 }
9700 // InternalAlloyLanguage.g:3130:1: ( rule__ALSFunctionDefinition__VariablesAssignment_4_1 )
9701 // InternalAlloyLanguage.g:3130:2: rule__ALSFunctionDefinition__VariablesAssignment_4_1
9702 {
9703 pushFollow(FOLLOW_2);
9704 rule__ALSFunctionDefinition__VariablesAssignment_4_1();
9705
9706 state._fsp--;
9707 if (state.failed) return ;
9708
9709 }
9710
9711 if ( state.backtracking==0 ) {
9712 after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesAssignment_4_1());
9713 }
9714
9715 }
9716
9717
9718 }
9719
9720 }
9721 catch (RecognitionException re) {
9722 reportError(re);
9723 recover(input,re);
9724 }
9725 finally {
9726
9727 restoreStackSize(stackSize);
9728
9729 }
9730 return ;
9731 }
9732 // $ANTLR end "rule__ALSFunctionDefinition__Group_4__1__Impl"
9733
9734
9735 // $ANTLR start "rule__ALSRelationDefinition__Group__0"
9736 // InternalAlloyLanguage.g:3144:1: rule__ALSRelationDefinition__Group__0 : rule__ALSRelationDefinition__Group__0__Impl rule__ALSRelationDefinition__Group__1 ;
9737 public final void rule__ALSRelationDefinition__Group__0() throws RecognitionException {
9738
9739 int stackSize = keepStackSize();
9740
9741 try {
9742 // InternalAlloyLanguage.g:3148:1: ( rule__ALSRelationDefinition__Group__0__Impl rule__ALSRelationDefinition__Group__1 )
9743 // InternalAlloyLanguage.g:3149:2: rule__ALSRelationDefinition__Group__0__Impl rule__ALSRelationDefinition__Group__1
9744 {
9745 pushFollow(FOLLOW_5);
9746 rule__ALSRelationDefinition__Group__0__Impl();
9747
9748 state._fsp--;
9749 if (state.failed) return ;
9750 pushFollow(FOLLOW_2);
9751 rule__ALSRelationDefinition__Group__1();
9752
9753 state._fsp--;
9754 if (state.failed) return ;
9755
9756 }
9757
9758 }
9759 catch (RecognitionException re) {
9760 reportError(re);
9761 recover(input,re);
9762 }
9763 finally {
9764
9765 restoreStackSize(stackSize);
9766
9767 }
9768 return ;
9769 }
9770 // $ANTLR end "rule__ALSRelationDefinition__Group__0"
9771
9772
9773 // $ANTLR start "rule__ALSRelationDefinition__Group__0__Impl"
9774 // InternalAlloyLanguage.g:3156:1: rule__ALSRelationDefinition__Group__0__Impl : ( 'pred' ) ;
9775 public final void rule__ALSRelationDefinition__Group__0__Impl() throws RecognitionException {
9776
9777 int stackSize = keepStackSize();
9778
9779 try {
9780 // InternalAlloyLanguage.g:3160:1: ( ( 'pred' ) )
9781 // InternalAlloyLanguage.g:3161:1: ( 'pred' )
9782 {
9783 // InternalAlloyLanguage.g:3161:1: ( 'pred' )
9784 // InternalAlloyLanguage.g:3162:1: 'pred'
9785 {
9786 if ( state.backtracking==0 ) {
9787 before(grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0());
9788 }
9789 match(input,44,FOLLOW_2); if (state.failed) return ;
9790 if ( state.backtracking==0 ) {
9791 after(grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0());
9792 }
9793
9794 }
9795
9796
9797 }
9798
9799 }
9800 catch (RecognitionException re) {
9801 reportError(re);
9802 recover(input,re);
9803 }
9804 finally {
9805
9806 restoreStackSize(stackSize);
9807
9808 }
9809 return ;
9810 }
9811 // $ANTLR end "rule__ALSRelationDefinition__Group__0__Impl"
9812
9813
9814 // $ANTLR start "rule__ALSRelationDefinition__Group__1"
9815 // InternalAlloyLanguage.g:3175:1: rule__ALSRelationDefinition__Group__1 : rule__ALSRelationDefinition__Group__1__Impl rule__ALSRelationDefinition__Group__2 ;
9816 public final void rule__ALSRelationDefinition__Group__1() throws RecognitionException {
9817
9818 int stackSize = keepStackSize();
9819
9820 try {
9821 // InternalAlloyLanguage.g:3179:1: ( rule__ALSRelationDefinition__Group__1__Impl rule__ALSRelationDefinition__Group__2 )
9822 // InternalAlloyLanguage.g:3180:2: rule__ALSRelationDefinition__Group__1__Impl rule__ALSRelationDefinition__Group__2
9823 {
9824 pushFollow(FOLLOW_17);
9825 rule__ALSRelationDefinition__Group__1__Impl();
9826
9827 state._fsp--;
9828 if (state.failed) return ;
9829 pushFollow(FOLLOW_2);
9830 rule__ALSRelationDefinition__Group__2();
9831
9832 state._fsp--;
9833 if (state.failed) return ;
9834
9835 }
9836
9837 }
9838 catch (RecognitionException re) {
9839 reportError(re);
9840 recover(input,re);
9841 }
9842 finally {
9843
9844 restoreStackSize(stackSize);
9845
9846 }
9847 return ;
9848 }
9849 // $ANTLR end "rule__ALSRelationDefinition__Group__1"
9850
9851
9852 // $ANTLR start "rule__ALSRelationDefinition__Group__1__Impl"
9853 // InternalAlloyLanguage.g:3187:1: rule__ALSRelationDefinition__Group__1__Impl : ( ( rule__ALSRelationDefinition__NameAssignment_1 ) ) ;
9854 public final void rule__ALSRelationDefinition__Group__1__Impl() throws RecognitionException {
9855
9856 int stackSize = keepStackSize();
9857
9858 try {
9859 // InternalAlloyLanguage.g:3191:1: ( ( ( rule__ALSRelationDefinition__NameAssignment_1 ) ) )
9860 // InternalAlloyLanguage.g:3192:1: ( ( rule__ALSRelationDefinition__NameAssignment_1 ) )
9861 {
9862 // InternalAlloyLanguage.g:3192:1: ( ( rule__ALSRelationDefinition__NameAssignment_1 ) )
9863 // InternalAlloyLanguage.g:3193:1: ( rule__ALSRelationDefinition__NameAssignment_1 )
9864 {
9865 if ( state.backtracking==0 ) {
9866 before(grammarAccess.getALSRelationDefinitionAccess().getNameAssignment_1());
9867 }
9868 // InternalAlloyLanguage.g:3194:1: ( rule__ALSRelationDefinition__NameAssignment_1 )
9869 // InternalAlloyLanguage.g:3194:2: rule__ALSRelationDefinition__NameAssignment_1
9870 {
9871 pushFollow(FOLLOW_2);
9872 rule__ALSRelationDefinition__NameAssignment_1();
9873
9874 state._fsp--;
9875 if (state.failed) return ;
9876
9877 }
9878
9879 if ( state.backtracking==0 ) {
9880 after(grammarAccess.getALSRelationDefinitionAccess().getNameAssignment_1());
9881 }
9882
9883 }
9884
9885
9886 }
9887
9888 }
9889 catch (RecognitionException re) {
9890 reportError(re);
9891 recover(input,re);
9892 }
9893 finally {
9894
9895 restoreStackSize(stackSize);
9896
9897 }
9898 return ;
9899 }
9900 // $ANTLR end "rule__ALSRelationDefinition__Group__1__Impl"
9901
9902
9903 // $ANTLR start "rule__ALSRelationDefinition__Group__2"
9904 // InternalAlloyLanguage.g:3204:1: rule__ALSRelationDefinition__Group__2 : rule__ALSRelationDefinition__Group__2__Impl rule__ALSRelationDefinition__Group__3 ;
9905 public final void rule__ALSRelationDefinition__Group__2() throws RecognitionException {
9906
9907 int stackSize = keepStackSize();
9908
9909 try {
9910 // InternalAlloyLanguage.g:3208:1: ( rule__ALSRelationDefinition__Group__2__Impl rule__ALSRelationDefinition__Group__3 )
9911 // InternalAlloyLanguage.g:3209:2: rule__ALSRelationDefinition__Group__2__Impl rule__ALSRelationDefinition__Group__3
9912 {
9913 pushFollow(FOLLOW_5);
9914 rule__ALSRelationDefinition__Group__2__Impl();
9915
9916 state._fsp--;
9917 if (state.failed) return ;
9918 pushFollow(FOLLOW_2);
9919 rule__ALSRelationDefinition__Group__3();
9920
9921 state._fsp--;
9922 if (state.failed) return ;
9923
9924 }
9925
9926 }
9927 catch (RecognitionException re) {
9928 reportError(re);
9929 recover(input,re);
9930 }
9931 finally {
9932
9933 restoreStackSize(stackSize);
9934
9935 }
9936 return ;
9937 }
9938 // $ANTLR end "rule__ALSRelationDefinition__Group__2"
9939
9940
9941 // $ANTLR start "rule__ALSRelationDefinition__Group__2__Impl"
9942 // InternalAlloyLanguage.g:3216:1: rule__ALSRelationDefinition__Group__2__Impl : ( '[' ) ;
9943 public final void rule__ALSRelationDefinition__Group__2__Impl() throws RecognitionException {
9944
9945 int stackSize = keepStackSize();
9946
9947 try {
9948 // InternalAlloyLanguage.g:3220:1: ( ( '[' ) )
9949 // InternalAlloyLanguage.g:3221:1: ( '[' )
9950 {
9951 // InternalAlloyLanguage.g:3221:1: ( '[' )
9952 // InternalAlloyLanguage.g:3222:1: '['
9953 {
9954 if ( state.backtracking==0 ) {
9955 before(grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2());
9956 }
9957 match(input,42,FOLLOW_2); if (state.failed) return ;
9958 if ( state.backtracking==0 ) {
9959 after(grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2());
9960 }
9961
9962 }
9963
9964
9965 }
9966
9967 }
9968 catch (RecognitionException re) {
9969 reportError(re);
9970 recover(input,re);
9971 }
9972 finally {
9973
9974 restoreStackSize(stackSize);
9975
9976 }
9977 return ;
9978 }
9979 // $ANTLR end "rule__ALSRelationDefinition__Group__2__Impl"
9980
9981
9982 // $ANTLR start "rule__ALSRelationDefinition__Group__3"
9983 // InternalAlloyLanguage.g:3235:1: rule__ALSRelationDefinition__Group__3 : rule__ALSRelationDefinition__Group__3__Impl rule__ALSRelationDefinition__Group__4 ;
9984 public final void rule__ALSRelationDefinition__Group__3() throws RecognitionException {
9985
9986 int stackSize = keepStackSize();
9987
9988 try {
9989 // InternalAlloyLanguage.g:3239:1: ( rule__ALSRelationDefinition__Group__3__Impl rule__ALSRelationDefinition__Group__4 )
9990 // InternalAlloyLanguage.g:3240:2: rule__ALSRelationDefinition__Group__3__Impl rule__ALSRelationDefinition__Group__4
9991 {
9992 pushFollow(FOLLOW_18);
9993 rule__ALSRelationDefinition__Group__3__Impl();
9994
9995 state._fsp--;
9996 if (state.failed) return ;
9997 pushFollow(FOLLOW_2);
9998 rule__ALSRelationDefinition__Group__4();
9999
10000 state._fsp--;
10001 if (state.failed) return ;
10002
10003 }
10004
10005 }
10006 catch (RecognitionException re) {
10007 reportError(re);
10008 recover(input,re);
10009 }
10010 finally {
10011
10012 restoreStackSize(stackSize);
10013
10014 }
10015 return ;
10016 }
10017 // $ANTLR end "rule__ALSRelationDefinition__Group__3"
10018
10019
10020 // $ANTLR start "rule__ALSRelationDefinition__Group__3__Impl"
10021 // InternalAlloyLanguage.g:3247:1: rule__ALSRelationDefinition__Group__3__Impl : ( ( rule__ALSRelationDefinition__VariablesAssignment_3 ) ) ;
10022 public final void rule__ALSRelationDefinition__Group__3__Impl() throws RecognitionException {
10023
10024 int stackSize = keepStackSize();
10025
10026 try {
10027 // InternalAlloyLanguage.g:3251:1: ( ( ( rule__ALSRelationDefinition__VariablesAssignment_3 ) ) )
10028 // InternalAlloyLanguage.g:3252:1: ( ( rule__ALSRelationDefinition__VariablesAssignment_3 ) )
10029 {
10030 // InternalAlloyLanguage.g:3252:1: ( ( rule__ALSRelationDefinition__VariablesAssignment_3 ) )
10031 // InternalAlloyLanguage.g:3253:1: ( rule__ALSRelationDefinition__VariablesAssignment_3 )
10032 {
10033 if ( state.backtracking==0 ) {
10034 before(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_3());
10035 }
10036 // InternalAlloyLanguage.g:3254:1: ( rule__ALSRelationDefinition__VariablesAssignment_3 )
10037 // InternalAlloyLanguage.g:3254:2: rule__ALSRelationDefinition__VariablesAssignment_3
10038 {
10039 pushFollow(FOLLOW_2);
10040 rule__ALSRelationDefinition__VariablesAssignment_3();
10041
10042 state._fsp--;
10043 if (state.failed) return ;
10044
10045 }
10046
10047 if ( state.backtracking==0 ) {
10048 after(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_3());
10049 }
10050
10051 }
10052
10053
10054 }
10055
10056 }
10057 catch (RecognitionException re) {
10058 reportError(re);
10059 recover(input,re);
10060 }
10061 finally {
10062
10063 restoreStackSize(stackSize);
10064
10065 }
10066 return ;
10067 }
10068 // $ANTLR end "rule__ALSRelationDefinition__Group__3__Impl"
10069
10070
10071 // $ANTLR start "rule__ALSRelationDefinition__Group__4"
10072 // InternalAlloyLanguage.g:3264:1: rule__ALSRelationDefinition__Group__4 : rule__ALSRelationDefinition__Group__4__Impl rule__ALSRelationDefinition__Group__5 ;
10073 public final void rule__ALSRelationDefinition__Group__4() throws RecognitionException {
10074
10075 int stackSize = keepStackSize();
10076
10077 try {
10078 // InternalAlloyLanguage.g:3268:1: ( rule__ALSRelationDefinition__Group__4__Impl rule__ALSRelationDefinition__Group__5 )
10079 // InternalAlloyLanguage.g:3269:2: rule__ALSRelationDefinition__Group__4__Impl rule__ALSRelationDefinition__Group__5
10080 {
10081 pushFollow(FOLLOW_18);
10082 rule__ALSRelationDefinition__Group__4__Impl();
10083
10084 state._fsp--;
10085 if (state.failed) return ;
10086 pushFollow(FOLLOW_2);
10087 rule__ALSRelationDefinition__Group__5();
10088
10089 state._fsp--;
10090 if (state.failed) return ;
10091
10092 }
10093
10094 }
10095 catch (RecognitionException re) {
10096 reportError(re);
10097 recover(input,re);
10098 }
10099 finally {
10100
10101 restoreStackSize(stackSize);
10102
10103 }
10104 return ;
10105 }
10106 // $ANTLR end "rule__ALSRelationDefinition__Group__4"
10107
10108
10109 // $ANTLR start "rule__ALSRelationDefinition__Group__4__Impl"
10110 // InternalAlloyLanguage.g:3276:1: rule__ALSRelationDefinition__Group__4__Impl : ( ( rule__ALSRelationDefinition__Group_4__0 )* ) ;
10111 public final void rule__ALSRelationDefinition__Group__4__Impl() throws RecognitionException {
10112
10113 int stackSize = keepStackSize();
10114
10115 try {
10116 // InternalAlloyLanguage.g:3280:1: ( ( ( rule__ALSRelationDefinition__Group_4__0 )* ) )
10117 // InternalAlloyLanguage.g:3281:1: ( ( rule__ALSRelationDefinition__Group_4__0 )* )
10118 {
10119 // InternalAlloyLanguage.g:3281:1: ( ( rule__ALSRelationDefinition__Group_4__0 )* )
10120 // InternalAlloyLanguage.g:3282:1: ( rule__ALSRelationDefinition__Group_4__0 )*
10121 {
10122 if ( state.backtracking==0 ) {
10123 before(grammarAccess.getALSRelationDefinitionAccess().getGroup_4());
10124 }
10125 // InternalAlloyLanguage.g:3283:1: ( rule__ALSRelationDefinition__Group_4__0 )*
10126 loop26:
10127 do {
10128 int alt26=2;
10129 int LA26_0 = input.LA(1);
10130
10131 if ( (LA26_0==35) ) {
10132 alt26=1;
10133 }
10134
10135
10136 switch (alt26) {
10137 case 1 :
10138 // InternalAlloyLanguage.g:3283:2: rule__ALSRelationDefinition__Group_4__0
10139 {
10140 pushFollow(FOLLOW_8);
10141 rule__ALSRelationDefinition__Group_4__0();
10142
10143 state._fsp--;
10144 if (state.failed) return ;
10145
10146 }
10147 break;
10148
10149 default :
10150 break loop26;
10151 }
10152 } while (true);
10153
10154 if ( state.backtracking==0 ) {
10155 after(grammarAccess.getALSRelationDefinitionAccess().getGroup_4());
10156 }
10157
10158 }
10159
10160
10161 }
10162
10163 }
10164 catch (RecognitionException re) {
10165 reportError(re);
10166 recover(input,re);
10167 }
10168 finally {
10169
10170 restoreStackSize(stackSize);
10171
10172 }
10173 return ;
10174 }
10175 // $ANTLR end "rule__ALSRelationDefinition__Group__4__Impl"
10176
10177
10178 // $ANTLR start "rule__ALSRelationDefinition__Group__5"
10179 // InternalAlloyLanguage.g:3293:1: rule__ALSRelationDefinition__Group__5 : rule__ALSRelationDefinition__Group__5__Impl rule__ALSRelationDefinition__Group__6 ;
10180 public final void rule__ALSRelationDefinition__Group__5() throws RecognitionException {
10181
10182 int stackSize = keepStackSize();
10183
10184 try {
10185 // InternalAlloyLanguage.g:3297:1: ( rule__ALSRelationDefinition__Group__5__Impl rule__ALSRelationDefinition__Group__6 )
10186 // InternalAlloyLanguage.g:3298:2: rule__ALSRelationDefinition__Group__5__Impl rule__ALSRelationDefinition__Group__6
10187 {
10188 pushFollow(FOLLOW_6);
10189 rule__ALSRelationDefinition__Group__5__Impl();
10190
10191 state._fsp--;
10192 if (state.failed) return ;
10193 pushFollow(FOLLOW_2);
10194 rule__ALSRelationDefinition__Group__6();
10195
10196 state._fsp--;
10197 if (state.failed) return ;
10198
10199 }
10200
10201 }
10202 catch (RecognitionException re) {
10203 reportError(re);
10204 recover(input,re);
10205 }
10206 finally {
10207
10208 restoreStackSize(stackSize);
10209
10210 }
10211 return ;
10212 }
10213 // $ANTLR end "rule__ALSRelationDefinition__Group__5"
10214
10215
10216 // $ANTLR start "rule__ALSRelationDefinition__Group__5__Impl"
10217 // InternalAlloyLanguage.g:3305:1: rule__ALSRelationDefinition__Group__5__Impl : ( ']' ) ;
10218 public final void rule__ALSRelationDefinition__Group__5__Impl() throws RecognitionException {
10219
10220 int stackSize = keepStackSize();
10221
10222 try {
10223 // InternalAlloyLanguage.g:3309:1: ( ( ']' ) )
10224 // InternalAlloyLanguage.g:3310:1: ( ']' )
10225 {
10226 // InternalAlloyLanguage.g:3310:1: ( ']' )
10227 // InternalAlloyLanguage.g:3311:1: ']'
10228 {
10229 if ( state.backtracking==0 ) {
10230 before(grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5());
10231 }
10232 match(input,43,FOLLOW_2); if (state.failed) return ;
10233 if ( state.backtracking==0 ) {
10234 after(grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5());
10235 }
10236
10237 }
10238
10239
10240 }
10241
10242 }
10243 catch (RecognitionException re) {
10244 reportError(re);
10245 recover(input,re);
10246 }
10247 finally {
10248
10249 restoreStackSize(stackSize);
10250
10251 }
10252 return ;
10253 }
10254 // $ANTLR end "rule__ALSRelationDefinition__Group__5__Impl"
10255
10256
10257 // $ANTLR start "rule__ALSRelationDefinition__Group__6"
10258 // InternalAlloyLanguage.g:3324:1: rule__ALSRelationDefinition__Group__6 : rule__ALSRelationDefinition__Group__6__Impl rule__ALSRelationDefinition__Group__7 ;
10259 public final void rule__ALSRelationDefinition__Group__6() throws RecognitionException {
10260
10261 int stackSize = keepStackSize();
10262
10263 try {
10264 // InternalAlloyLanguage.g:3328:1: ( rule__ALSRelationDefinition__Group__6__Impl rule__ALSRelationDefinition__Group__7 )
10265 // InternalAlloyLanguage.g:3329:2: rule__ALSRelationDefinition__Group__6__Impl rule__ALSRelationDefinition__Group__7
10266 {
10267 pushFollow(FOLLOW_16);
10268 rule__ALSRelationDefinition__Group__6__Impl();
10269
10270 state._fsp--;
10271 if (state.failed) return ;
10272 pushFollow(FOLLOW_2);
10273 rule__ALSRelationDefinition__Group__7();
10274
10275 state._fsp--;
10276 if (state.failed) return ;
10277
10278 }
10279
10280 }
10281 catch (RecognitionException re) {
10282 reportError(re);
10283 recover(input,re);
10284 }
10285 finally {
10286
10287 restoreStackSize(stackSize);
10288
10289 }
10290 return ;
10291 }
10292 // $ANTLR end "rule__ALSRelationDefinition__Group__6"
10293
10294
10295 // $ANTLR start "rule__ALSRelationDefinition__Group__6__Impl"
10296 // InternalAlloyLanguage.g:3336:1: rule__ALSRelationDefinition__Group__6__Impl : ( '{' ) ;
10297 public final void rule__ALSRelationDefinition__Group__6__Impl() throws RecognitionException {
10298
10299 int stackSize = keepStackSize();
10300
10301 try {
10302 // InternalAlloyLanguage.g:3340:1: ( ( '{' ) )
10303 // InternalAlloyLanguage.g:3341:1: ( '{' )
10304 {
10305 // InternalAlloyLanguage.g:3341:1: ( '{' )
10306 // InternalAlloyLanguage.g:3342:1: '{'
10307 {
10308 if ( state.backtracking==0 ) {
10309 before(grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6());
10310 }
10311 match(input,33,FOLLOW_2); if (state.failed) return ;
10312 if ( state.backtracking==0 ) {
10313 after(grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6());
10314 }
10315
10316 }
10317
10318
10319 }
10320
10321 }
10322 catch (RecognitionException re) {
10323 reportError(re);
10324 recover(input,re);
10325 }
10326 finally {
10327
10328 restoreStackSize(stackSize);
10329
10330 }
10331 return ;
10332 }
10333 // $ANTLR end "rule__ALSRelationDefinition__Group__6__Impl"
10334
10335
10336 // $ANTLR start "rule__ALSRelationDefinition__Group__7"
10337 // InternalAlloyLanguage.g:3355:1: rule__ALSRelationDefinition__Group__7 : rule__ALSRelationDefinition__Group__7__Impl rule__ALSRelationDefinition__Group__8 ;
10338 public final void rule__ALSRelationDefinition__Group__7() throws RecognitionException {
10339
10340 int stackSize = keepStackSize();
10341
10342 try {
10343 // InternalAlloyLanguage.g:3359:1: ( rule__ALSRelationDefinition__Group__7__Impl rule__ALSRelationDefinition__Group__8 )
10344 // InternalAlloyLanguage.g:3360:2: rule__ALSRelationDefinition__Group__7__Impl rule__ALSRelationDefinition__Group__8
10345 {
10346 pushFollow(FOLLOW_19);
10347 rule__ALSRelationDefinition__Group__7__Impl();
10348
10349 state._fsp--;
10350 if (state.failed) return ;
10351 pushFollow(FOLLOW_2);
10352 rule__ALSRelationDefinition__Group__8();
10353
10354 state._fsp--;
10355 if (state.failed) return ;
10356
10357 }
10358
10359 }
10360 catch (RecognitionException re) {
10361 reportError(re);
10362 recover(input,re);
10363 }
10364 finally {
10365
10366 restoreStackSize(stackSize);
10367
10368 }
10369 return ;
10370 }
10371 // $ANTLR end "rule__ALSRelationDefinition__Group__7"
10372
10373
10374 // $ANTLR start "rule__ALSRelationDefinition__Group__7__Impl"
10375 // InternalAlloyLanguage.g:3367:1: rule__ALSRelationDefinition__Group__7__Impl : ( ( rule__ALSRelationDefinition__ValueAssignment_7 ) ) ;
10376 public final void rule__ALSRelationDefinition__Group__7__Impl() throws RecognitionException {
10377
10378 int stackSize = keepStackSize();
10379
10380 try {
10381 // InternalAlloyLanguage.g:3371:1: ( ( ( rule__ALSRelationDefinition__ValueAssignment_7 ) ) )
10382 // InternalAlloyLanguage.g:3372:1: ( ( rule__ALSRelationDefinition__ValueAssignment_7 ) )
10383 {
10384 // InternalAlloyLanguage.g:3372:1: ( ( rule__ALSRelationDefinition__ValueAssignment_7 ) )
10385 // InternalAlloyLanguage.g:3373:1: ( rule__ALSRelationDefinition__ValueAssignment_7 )
10386 {
10387 if ( state.backtracking==0 ) {
10388 before(grammarAccess.getALSRelationDefinitionAccess().getValueAssignment_7());
10389 }
10390 // InternalAlloyLanguage.g:3374:1: ( rule__ALSRelationDefinition__ValueAssignment_7 )
10391 // InternalAlloyLanguage.g:3374:2: rule__ALSRelationDefinition__ValueAssignment_7
10392 {
10393 pushFollow(FOLLOW_2);
10394 rule__ALSRelationDefinition__ValueAssignment_7();
10395
10396 state._fsp--;
10397 if (state.failed) return ;
10398
10399 }
10400
10401 if ( state.backtracking==0 ) {
10402 after(grammarAccess.getALSRelationDefinitionAccess().getValueAssignment_7());
10403 }
10404
10405 }
10406
10407
10408 }
10409
10410 }
10411 catch (RecognitionException re) {
10412 reportError(re);
10413 recover(input,re);
10414 }
10415 finally {
10416
10417 restoreStackSize(stackSize);
10418
10419 }
10420 return ;
10421 }
10422 // $ANTLR end "rule__ALSRelationDefinition__Group__7__Impl"
10423
10424
10425 // $ANTLR start "rule__ALSRelationDefinition__Group__8"
10426 // InternalAlloyLanguage.g:3384:1: rule__ALSRelationDefinition__Group__8 : rule__ALSRelationDefinition__Group__8__Impl ;
10427 public final void rule__ALSRelationDefinition__Group__8() throws RecognitionException {
10428
10429 int stackSize = keepStackSize();
10430
10431 try {
10432 // InternalAlloyLanguage.g:3388:1: ( rule__ALSRelationDefinition__Group__8__Impl )
10433 // InternalAlloyLanguage.g:3389:2: rule__ALSRelationDefinition__Group__8__Impl
10434 {
10435 pushFollow(FOLLOW_2);
10436 rule__ALSRelationDefinition__Group__8__Impl();
10437
10438 state._fsp--;
10439 if (state.failed) return ;
10440
10441 }
10442
10443 }
10444 catch (RecognitionException re) {
10445 reportError(re);
10446 recover(input,re);
10447 }
10448 finally {
10449
10450 restoreStackSize(stackSize);
10451
10452 }
10453 return ;
10454 }
10455 // $ANTLR end "rule__ALSRelationDefinition__Group__8"
10456
10457
10458 // $ANTLR start "rule__ALSRelationDefinition__Group__8__Impl"
10459 // InternalAlloyLanguage.g:3395:1: rule__ALSRelationDefinition__Group__8__Impl : ( '}' ) ;
10460 public final void rule__ALSRelationDefinition__Group__8__Impl() throws RecognitionException {
10461
10462 int stackSize = keepStackSize();
10463
10464 try {
10465 // InternalAlloyLanguage.g:3399:1: ( ( '}' ) )
10466 // InternalAlloyLanguage.g:3400:1: ( '}' )
10467 {
10468 // InternalAlloyLanguage.g:3400:1: ( '}' )
10469 // InternalAlloyLanguage.g:3401:1: '}'
10470 {
10471 if ( state.backtracking==0 ) {
10472 before(grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8());
10473 }
10474 match(input,34,FOLLOW_2); if (state.failed) return ;
10475 if ( state.backtracking==0 ) {
10476 after(grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8());
10477 }
10478
10479 }
10480
10481
10482 }
10483
10484 }
10485 catch (RecognitionException re) {
10486 reportError(re);
10487 recover(input,re);
10488 }
10489 finally {
10490
10491 restoreStackSize(stackSize);
10492
10493 }
10494 return ;
10495 }
10496 // $ANTLR end "rule__ALSRelationDefinition__Group__8__Impl"
10497
10498
10499 // $ANTLR start "rule__ALSRelationDefinition__Group_4__0"
10500 // InternalAlloyLanguage.g:3432:1: rule__ALSRelationDefinition__Group_4__0 : rule__ALSRelationDefinition__Group_4__0__Impl rule__ALSRelationDefinition__Group_4__1 ;
10501 public final void rule__ALSRelationDefinition__Group_4__0() throws RecognitionException {
10502
10503 int stackSize = keepStackSize();
10504
10505 try {
10506 // InternalAlloyLanguage.g:3436:1: ( rule__ALSRelationDefinition__Group_4__0__Impl rule__ALSRelationDefinition__Group_4__1 )
10507 // InternalAlloyLanguage.g:3437:2: rule__ALSRelationDefinition__Group_4__0__Impl rule__ALSRelationDefinition__Group_4__1
10508 {
10509 pushFollow(FOLLOW_5);
10510 rule__ALSRelationDefinition__Group_4__0__Impl();
10511
10512 state._fsp--;
10513 if (state.failed) return ;
10514 pushFollow(FOLLOW_2);
10515 rule__ALSRelationDefinition__Group_4__1();
10516
10517 state._fsp--;
10518 if (state.failed) return ;
10519
10520 }
10521
10522 }
10523 catch (RecognitionException re) {
10524 reportError(re);
10525 recover(input,re);
10526 }
10527 finally {
10528
10529 restoreStackSize(stackSize);
10530
10531 }
10532 return ;
10533 }
10534 // $ANTLR end "rule__ALSRelationDefinition__Group_4__0"
10535
10536
10537 // $ANTLR start "rule__ALSRelationDefinition__Group_4__0__Impl"
10538 // InternalAlloyLanguage.g:3444:1: rule__ALSRelationDefinition__Group_4__0__Impl : ( ',' ) ;
10539 public final void rule__ALSRelationDefinition__Group_4__0__Impl() throws RecognitionException {
10540
10541 int stackSize = keepStackSize();
10542
10543 try {
10544 // InternalAlloyLanguage.g:3448:1: ( ( ',' ) )
10545 // InternalAlloyLanguage.g:3449:1: ( ',' )
10546 {
10547 // InternalAlloyLanguage.g:3449:1: ( ',' )
10548 // InternalAlloyLanguage.g:3450:1: ','
10549 {
10550 if ( state.backtracking==0 ) {
10551 before(grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0());
10552 }
10553 match(input,35,FOLLOW_2); if (state.failed) return ;
10554 if ( state.backtracking==0 ) {
10555 after(grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0());
10556 }
10557
10558 }
10559
10560
10561 }
10562
10563 }
10564 catch (RecognitionException re) {
10565 reportError(re);
10566 recover(input,re);
10567 }
10568 finally {
10569
10570 restoreStackSize(stackSize);
10571
10572 }
10573 return ;
10574 }
10575 // $ANTLR end "rule__ALSRelationDefinition__Group_4__0__Impl"
10576
10577
10578 // $ANTLR start "rule__ALSRelationDefinition__Group_4__1"
10579 // InternalAlloyLanguage.g:3463:1: rule__ALSRelationDefinition__Group_4__1 : rule__ALSRelationDefinition__Group_4__1__Impl ;
10580 public final void rule__ALSRelationDefinition__Group_4__1() throws RecognitionException {
10581
10582 int stackSize = keepStackSize();
10583
10584 try {
10585 // InternalAlloyLanguage.g:3467:1: ( rule__ALSRelationDefinition__Group_4__1__Impl )
10586 // InternalAlloyLanguage.g:3468:2: rule__ALSRelationDefinition__Group_4__1__Impl
10587 {
10588 pushFollow(FOLLOW_2);
10589 rule__ALSRelationDefinition__Group_4__1__Impl();
10590
10591 state._fsp--;
10592 if (state.failed) return ;
10593
10594 }
10595
10596 }
10597 catch (RecognitionException re) {
10598 reportError(re);
10599 recover(input,re);
10600 }
10601 finally {
10602
10603 restoreStackSize(stackSize);
10604
10605 }
10606 return ;
10607 }
10608 // $ANTLR end "rule__ALSRelationDefinition__Group_4__1"
10609
10610
10611 // $ANTLR start "rule__ALSRelationDefinition__Group_4__1__Impl"
10612 // InternalAlloyLanguage.g:3474:1: rule__ALSRelationDefinition__Group_4__1__Impl : ( ( rule__ALSRelationDefinition__VariablesAssignment_4_1 ) ) ;
10613 public final void rule__ALSRelationDefinition__Group_4__1__Impl() throws RecognitionException {
10614
10615 int stackSize = keepStackSize();
10616
10617 try {
10618 // InternalAlloyLanguage.g:3478:1: ( ( ( rule__ALSRelationDefinition__VariablesAssignment_4_1 ) ) )
10619 // InternalAlloyLanguage.g:3479:1: ( ( rule__ALSRelationDefinition__VariablesAssignment_4_1 ) )
10620 {
10621 // InternalAlloyLanguage.g:3479:1: ( ( rule__ALSRelationDefinition__VariablesAssignment_4_1 ) )
10622 // InternalAlloyLanguage.g:3480:1: ( rule__ALSRelationDefinition__VariablesAssignment_4_1 )
10623 {
10624 if ( state.backtracking==0 ) {
10625 before(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_4_1());
10626 }
10627 // InternalAlloyLanguage.g:3481:1: ( rule__ALSRelationDefinition__VariablesAssignment_4_1 )
10628 // InternalAlloyLanguage.g:3481:2: rule__ALSRelationDefinition__VariablesAssignment_4_1
10629 {
10630 pushFollow(FOLLOW_2);
10631 rule__ALSRelationDefinition__VariablesAssignment_4_1();
10632
10633 state._fsp--;
10634 if (state.failed) return ;
10635
10636 }
10637
10638 if ( state.backtracking==0 ) {
10639 after(grammarAccess.getALSRelationDefinitionAccess().getVariablesAssignment_4_1());
10640 }
10641
10642 }
10643
10644
10645 }
10646
10647 }
10648 catch (RecognitionException re) {
10649 reportError(re);
10650 recover(input,re);
10651 }
10652 finally {
10653
10654 restoreStackSize(stackSize);
10655
10656 }
10657 return ;
10658 }
10659 // $ANTLR end "rule__ALSRelationDefinition__Group_4__1__Impl"
10660
10661
10662 // $ANTLR start "rule__ALSFactDeclaration__Group__0"
10663 // InternalAlloyLanguage.g:3495:1: rule__ALSFactDeclaration__Group__0 : rule__ALSFactDeclaration__Group__0__Impl rule__ALSFactDeclaration__Group__1 ;
10664 public final void rule__ALSFactDeclaration__Group__0() throws RecognitionException {
10665
10666 int stackSize = keepStackSize();
10667
10668 try {
10669 // InternalAlloyLanguage.g:3499:1: ( rule__ALSFactDeclaration__Group__0__Impl rule__ALSFactDeclaration__Group__1 )
10670 // InternalAlloyLanguage.g:3500:2: rule__ALSFactDeclaration__Group__0__Impl rule__ALSFactDeclaration__Group__1
10671 {
10672 pushFollow(FOLLOW_20);
10673 rule__ALSFactDeclaration__Group__0__Impl();
10674
10675 state._fsp--;
10676 if (state.failed) return ;
10677 pushFollow(FOLLOW_2);
10678 rule__ALSFactDeclaration__Group__1();
10679
10680 state._fsp--;
10681 if (state.failed) return ;
10682
10683 }
10684
10685 }
10686 catch (RecognitionException re) {
10687 reportError(re);
10688 recover(input,re);
10689 }
10690 finally {
10691
10692 restoreStackSize(stackSize);
10693
10694 }
10695 return ;
10696 }
10697 // $ANTLR end "rule__ALSFactDeclaration__Group__0"
10698
10699
10700 // $ANTLR start "rule__ALSFactDeclaration__Group__0__Impl"
10701 // InternalAlloyLanguage.g:3507:1: rule__ALSFactDeclaration__Group__0__Impl : ( () ) ;
10702 public final void rule__ALSFactDeclaration__Group__0__Impl() throws RecognitionException {
10703
10704 int stackSize = keepStackSize();
10705
10706 try {
10707 // InternalAlloyLanguage.g:3511:1: ( ( () ) )
10708 // InternalAlloyLanguage.g:3512:1: ( () )
10709 {
10710 // InternalAlloyLanguage.g:3512:1: ( () )
10711 // InternalAlloyLanguage.g:3513:1: ()
10712 {
10713 if ( state.backtracking==0 ) {
10714 before(grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0());
10715 }
10716 // InternalAlloyLanguage.g:3514:1: ()
10717 // InternalAlloyLanguage.g:3516:1:
10718 {
10719 }
10720
10721 if ( state.backtracking==0 ) {
10722 after(grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0());
10723 }
10724
10725 }
10726
10727
10728 }
10729
10730 }
10731 finally {
10732
10733 restoreStackSize(stackSize);
10734
10735 }
10736 return ;
10737 }
10738 // $ANTLR end "rule__ALSFactDeclaration__Group__0__Impl"
10739
10740
10741 // $ANTLR start "rule__ALSFactDeclaration__Group__1"
10742 // InternalAlloyLanguage.g:3526:1: rule__ALSFactDeclaration__Group__1 : rule__ALSFactDeclaration__Group__1__Impl rule__ALSFactDeclaration__Group__2 ;
10743 public final void rule__ALSFactDeclaration__Group__1() throws RecognitionException {
10744
10745 int stackSize = keepStackSize();
10746
10747 try {
10748 // InternalAlloyLanguage.g:3530:1: ( rule__ALSFactDeclaration__Group__1__Impl rule__ALSFactDeclaration__Group__2 )
10749 // InternalAlloyLanguage.g:3531:2: rule__ALSFactDeclaration__Group__1__Impl rule__ALSFactDeclaration__Group__2
10750 {
10751 pushFollow(FOLLOW_21);
10752 rule__ALSFactDeclaration__Group__1__Impl();
10753
10754 state._fsp--;
10755 if (state.failed) return ;
10756 pushFollow(FOLLOW_2);
10757 rule__ALSFactDeclaration__Group__2();
10758
10759 state._fsp--;
10760 if (state.failed) return ;
10761
10762 }
10763
10764 }
10765 catch (RecognitionException re) {
10766 reportError(re);
10767 recover(input,re);
10768 }
10769 finally {
10770
10771 restoreStackSize(stackSize);
10772
10773 }
10774 return ;
10775 }
10776 // $ANTLR end "rule__ALSFactDeclaration__Group__1"
10777
10778
10779 // $ANTLR start "rule__ALSFactDeclaration__Group__1__Impl"
10780 // InternalAlloyLanguage.g:3538:1: rule__ALSFactDeclaration__Group__1__Impl : ( 'fact' ) ;
10781 public final void rule__ALSFactDeclaration__Group__1__Impl() throws RecognitionException {
10782
10783 int stackSize = keepStackSize();
10784
10785 try {
10786 // InternalAlloyLanguage.g:3542:1: ( ( 'fact' ) )
10787 // InternalAlloyLanguage.g:3543:1: ( 'fact' )
10788 {
10789 // InternalAlloyLanguage.g:3543:1: ( 'fact' )
10790 // InternalAlloyLanguage.g:3544:1: 'fact'
10791 {
10792 if ( state.backtracking==0 ) {
10793 before(grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1());
10794 }
10795 match(input,45,FOLLOW_2); if (state.failed) return ;
10796 if ( state.backtracking==0 ) {
10797 after(grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1());
10798 }
10799
10800 }
10801
10802
10803 }
10804
10805 }
10806 catch (RecognitionException re) {
10807 reportError(re);
10808 recover(input,re);
10809 }
10810 finally {
10811
10812 restoreStackSize(stackSize);
10813
10814 }
10815 return ;
10816 }
10817 // $ANTLR end "rule__ALSFactDeclaration__Group__1__Impl"
10818
10819
10820 // $ANTLR start "rule__ALSFactDeclaration__Group__2"
10821 // InternalAlloyLanguage.g:3557:1: rule__ALSFactDeclaration__Group__2 : rule__ALSFactDeclaration__Group__2__Impl rule__ALSFactDeclaration__Group__3 ;
10822 public final void rule__ALSFactDeclaration__Group__2() throws RecognitionException {
10823
10824 int stackSize = keepStackSize();
10825
10826 try {
10827 // InternalAlloyLanguage.g:3561:1: ( rule__ALSFactDeclaration__Group__2__Impl rule__ALSFactDeclaration__Group__3 )
10828 // InternalAlloyLanguage.g:3562:2: rule__ALSFactDeclaration__Group__2__Impl rule__ALSFactDeclaration__Group__3
10829 {
10830 pushFollow(FOLLOW_21);
10831 rule__ALSFactDeclaration__Group__2__Impl();
10832
10833 state._fsp--;
10834 if (state.failed) return ;
10835 pushFollow(FOLLOW_2);
10836 rule__ALSFactDeclaration__Group__3();
10837
10838 state._fsp--;
10839 if (state.failed) return ;
10840
10841 }
10842
10843 }
10844 catch (RecognitionException re) {
10845 reportError(re);
10846 recover(input,re);
10847 }
10848 finally {
10849
10850 restoreStackSize(stackSize);
10851
10852 }
10853 return ;
10854 }
10855 // $ANTLR end "rule__ALSFactDeclaration__Group__2"
10856
10857
10858 // $ANTLR start "rule__ALSFactDeclaration__Group__2__Impl"
10859 // InternalAlloyLanguage.g:3569:1: rule__ALSFactDeclaration__Group__2__Impl : ( ( rule__ALSFactDeclaration__NameAssignment_2 )? ) ;
10860 public final void rule__ALSFactDeclaration__Group__2__Impl() throws RecognitionException {
10861
10862 int stackSize = keepStackSize();
10863
10864 try {
10865 // InternalAlloyLanguage.g:3573:1: ( ( ( rule__ALSFactDeclaration__NameAssignment_2 )? ) )
10866 // InternalAlloyLanguage.g:3574:1: ( ( rule__ALSFactDeclaration__NameAssignment_2 )? )
10867 {
10868 // InternalAlloyLanguage.g:3574:1: ( ( rule__ALSFactDeclaration__NameAssignment_2 )? )
10869 // InternalAlloyLanguage.g:3575:1: ( rule__ALSFactDeclaration__NameAssignment_2 )?
10870 {
10871 if ( state.backtracking==0 ) {
10872 before(grammarAccess.getALSFactDeclarationAccess().getNameAssignment_2());
10873 }
10874 // InternalAlloyLanguage.g:3576:1: ( rule__ALSFactDeclaration__NameAssignment_2 )?
10875 int alt27=2;
10876 int LA27_0 = input.LA(1);
10877
10878 if ( (LA27_0==RULE_ID) ) {
10879 alt27=1;
10880 }
10881 switch (alt27) {
10882 case 1 :
10883 // InternalAlloyLanguage.g:3576:2: rule__ALSFactDeclaration__NameAssignment_2
10884 {
10885 pushFollow(FOLLOW_2);
10886 rule__ALSFactDeclaration__NameAssignment_2();
10887
10888 state._fsp--;
10889 if (state.failed) return ;
10890
10891 }
10892 break;
10893
10894 }
10895
10896 if ( state.backtracking==0 ) {
10897 after(grammarAccess.getALSFactDeclarationAccess().getNameAssignment_2());
10898 }
10899
10900 }
10901
10902
10903 }
10904
10905 }
10906 catch (RecognitionException re) {
10907 reportError(re);
10908 recover(input,re);
10909 }
10910 finally {
10911
10912 restoreStackSize(stackSize);
10913
10914 }
10915 return ;
10916 }
10917 // $ANTLR end "rule__ALSFactDeclaration__Group__2__Impl"
10918
10919
10920 // $ANTLR start "rule__ALSFactDeclaration__Group__3"
10921 // InternalAlloyLanguage.g:3586:1: rule__ALSFactDeclaration__Group__3 : rule__ALSFactDeclaration__Group__3__Impl rule__ALSFactDeclaration__Group__4 ;
10922 public final void rule__ALSFactDeclaration__Group__3() throws RecognitionException {
10923
10924 int stackSize = keepStackSize();
10925
10926 try {
10927 // InternalAlloyLanguage.g:3590:1: ( rule__ALSFactDeclaration__Group__3__Impl rule__ALSFactDeclaration__Group__4 )
10928 // InternalAlloyLanguage.g:3591:2: rule__ALSFactDeclaration__Group__3__Impl rule__ALSFactDeclaration__Group__4
10929 {
10930 pushFollow(FOLLOW_16);
10931 rule__ALSFactDeclaration__Group__3__Impl();
10932
10933 state._fsp--;
10934 if (state.failed) return ;
10935 pushFollow(FOLLOW_2);
10936 rule__ALSFactDeclaration__Group__4();
10937
10938 state._fsp--;
10939 if (state.failed) return ;
10940
10941 }
10942
10943 }
10944 catch (RecognitionException re) {
10945 reportError(re);
10946 recover(input,re);
10947 }
10948 finally {
10949
10950 restoreStackSize(stackSize);
10951
10952 }
10953 return ;
10954 }
10955 // $ANTLR end "rule__ALSFactDeclaration__Group__3"
10956
10957
10958 // $ANTLR start "rule__ALSFactDeclaration__Group__3__Impl"
10959 // InternalAlloyLanguage.g:3598:1: rule__ALSFactDeclaration__Group__3__Impl : ( '{' ) ;
10960 public final void rule__ALSFactDeclaration__Group__3__Impl() throws RecognitionException {
10961
10962 int stackSize = keepStackSize();
10963
10964 try {
10965 // InternalAlloyLanguage.g:3602:1: ( ( '{' ) )
10966 // InternalAlloyLanguage.g:3603:1: ( '{' )
10967 {
10968 // InternalAlloyLanguage.g:3603:1: ( '{' )
10969 // InternalAlloyLanguage.g:3604:1: '{'
10970 {
10971 if ( state.backtracking==0 ) {
10972 before(grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3());
10973 }
10974 match(input,33,FOLLOW_2); if (state.failed) return ;
10975 if ( state.backtracking==0 ) {
10976 after(grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3());
10977 }
10978
10979 }
10980
10981
10982 }
10983
10984 }
10985 catch (RecognitionException re) {
10986 reportError(re);
10987 recover(input,re);
10988 }
10989 finally {
10990
10991 restoreStackSize(stackSize);
10992
10993 }
10994 return ;
10995 }
10996 // $ANTLR end "rule__ALSFactDeclaration__Group__3__Impl"
10997
10998
10999 // $ANTLR start "rule__ALSFactDeclaration__Group__4"
11000 // InternalAlloyLanguage.g:3617:1: rule__ALSFactDeclaration__Group__4 : rule__ALSFactDeclaration__Group__4__Impl rule__ALSFactDeclaration__Group__5 ;
11001 public final void rule__ALSFactDeclaration__Group__4() throws RecognitionException {
11002
11003 int stackSize = keepStackSize();
11004
11005 try {
11006 // InternalAlloyLanguage.g:3621:1: ( rule__ALSFactDeclaration__Group__4__Impl rule__ALSFactDeclaration__Group__5 )
11007 // InternalAlloyLanguage.g:3622:2: rule__ALSFactDeclaration__Group__4__Impl rule__ALSFactDeclaration__Group__5
11008 {
11009 pushFollow(FOLLOW_19);
11010 rule__ALSFactDeclaration__Group__4__Impl();
11011
11012 state._fsp--;
11013 if (state.failed) return ;
11014 pushFollow(FOLLOW_2);
11015 rule__ALSFactDeclaration__Group__5();
11016
11017 state._fsp--;
11018 if (state.failed) return ;
11019
11020 }
11021
11022 }
11023 catch (RecognitionException re) {
11024 reportError(re);
11025 recover(input,re);
11026 }
11027 finally {
11028
11029 restoreStackSize(stackSize);
11030
11031 }
11032 return ;
11033 }
11034 // $ANTLR end "rule__ALSFactDeclaration__Group__4"
11035
11036
11037 // $ANTLR start "rule__ALSFactDeclaration__Group__4__Impl"
11038 // InternalAlloyLanguage.g:3629:1: rule__ALSFactDeclaration__Group__4__Impl : ( ( rule__ALSFactDeclaration__TermAssignment_4 ) ) ;
11039 public final void rule__ALSFactDeclaration__Group__4__Impl() throws RecognitionException {
11040
11041 int stackSize = keepStackSize();
11042
11043 try {
11044 // InternalAlloyLanguage.g:3633:1: ( ( ( rule__ALSFactDeclaration__TermAssignment_4 ) ) )
11045 // InternalAlloyLanguage.g:3634:1: ( ( rule__ALSFactDeclaration__TermAssignment_4 ) )
11046 {
11047 // InternalAlloyLanguage.g:3634:1: ( ( rule__ALSFactDeclaration__TermAssignment_4 ) )
11048 // InternalAlloyLanguage.g:3635:1: ( rule__ALSFactDeclaration__TermAssignment_4 )
11049 {
11050 if ( state.backtracking==0 ) {
11051 before(grammarAccess.getALSFactDeclarationAccess().getTermAssignment_4());
11052 }
11053 // InternalAlloyLanguage.g:3636:1: ( rule__ALSFactDeclaration__TermAssignment_4 )
11054 // InternalAlloyLanguage.g:3636:2: rule__ALSFactDeclaration__TermAssignment_4
11055 {
11056 pushFollow(FOLLOW_2);
11057 rule__ALSFactDeclaration__TermAssignment_4();
11058
11059 state._fsp--;
11060 if (state.failed) return ;
11061
11062 }
11063
11064 if ( state.backtracking==0 ) {
11065 after(grammarAccess.getALSFactDeclarationAccess().getTermAssignment_4());
11066 }
11067
11068 }
11069
11070
11071 }
11072
11073 }
11074 catch (RecognitionException re) {
11075 reportError(re);
11076 recover(input,re);
11077 }
11078 finally {
11079
11080 restoreStackSize(stackSize);
11081
11082 }
11083 return ;
11084 }
11085 // $ANTLR end "rule__ALSFactDeclaration__Group__4__Impl"
11086
11087
11088 // $ANTLR start "rule__ALSFactDeclaration__Group__5"
11089 // InternalAlloyLanguage.g:3646:1: rule__ALSFactDeclaration__Group__5 : rule__ALSFactDeclaration__Group__5__Impl ;
11090 public final void rule__ALSFactDeclaration__Group__5() throws RecognitionException {
11091
11092 int stackSize = keepStackSize();
11093
11094 try {
11095 // InternalAlloyLanguage.g:3650:1: ( rule__ALSFactDeclaration__Group__5__Impl )
11096 // InternalAlloyLanguage.g:3651:2: rule__ALSFactDeclaration__Group__5__Impl
11097 {
11098 pushFollow(FOLLOW_2);
11099 rule__ALSFactDeclaration__Group__5__Impl();
11100
11101 state._fsp--;
11102 if (state.failed) return ;
11103
11104 }
11105
11106 }
11107 catch (RecognitionException re) {
11108 reportError(re);
11109 recover(input,re);
11110 }
11111 finally {
11112
11113 restoreStackSize(stackSize);
11114
11115 }
11116 return ;
11117 }
11118 // $ANTLR end "rule__ALSFactDeclaration__Group__5"
11119
11120
11121 // $ANTLR start "rule__ALSFactDeclaration__Group__5__Impl"
11122 // InternalAlloyLanguage.g:3657:1: rule__ALSFactDeclaration__Group__5__Impl : ( '}' ) ;
11123 public final void rule__ALSFactDeclaration__Group__5__Impl() throws RecognitionException {
11124
11125 int stackSize = keepStackSize();
11126
11127 try {
11128 // InternalAlloyLanguage.g:3661:1: ( ( '}' ) )
11129 // InternalAlloyLanguage.g:3662:1: ( '}' )
11130 {
11131 // InternalAlloyLanguage.g:3662:1: ( '}' )
11132 // InternalAlloyLanguage.g:3663:1: '}'
11133 {
11134 if ( state.backtracking==0 ) {
11135 before(grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5());
11136 }
11137 match(input,34,FOLLOW_2); if (state.failed) return ;
11138 if ( state.backtracking==0 ) {
11139 after(grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5());
11140 }
11141
11142 }
11143
11144
11145 }
11146
11147 }
11148 catch (RecognitionException re) {
11149 reportError(re);
11150 recover(input,re);
11151 }
11152 finally {
11153
11154 restoreStackSize(stackSize);
11155
11156 }
11157 return ;
11158 }
11159 // $ANTLR end "rule__ALSFactDeclaration__Group__5__Impl"
11160
11161
11162 // $ANTLR start "rule__ALSQuantified__Group_0__0"
11163 // InternalAlloyLanguage.g:3688:1: rule__ALSQuantified__Group_0__0 : rule__ALSQuantified__Group_0__0__Impl rule__ALSQuantified__Group_0__1 ;
11164 public final void rule__ALSQuantified__Group_0__0() throws RecognitionException {
11165
11166 int stackSize = keepStackSize();
11167
11168 try {
11169 // InternalAlloyLanguage.g:3692:1: ( rule__ALSQuantified__Group_0__0__Impl rule__ALSQuantified__Group_0__1 )
11170 // InternalAlloyLanguage.g:3693:2: rule__ALSQuantified__Group_0__0__Impl rule__ALSQuantified__Group_0__1
11171 {
11172 pushFollow(FOLLOW_22);
11173 rule__ALSQuantified__Group_0__0__Impl();
11174
11175 state._fsp--;
11176 if (state.failed) return ;
11177 pushFollow(FOLLOW_2);
11178 rule__ALSQuantified__Group_0__1();
11179
11180 state._fsp--;
11181 if (state.failed) return ;
11182
11183 }
11184
11185 }
11186 catch (RecognitionException re) {
11187 reportError(re);
11188 recover(input,re);
11189 }
11190 finally {
11191
11192 restoreStackSize(stackSize);
11193
11194 }
11195 return ;
11196 }
11197 // $ANTLR end "rule__ALSQuantified__Group_0__0"
11198
11199
11200 // $ANTLR start "rule__ALSQuantified__Group_0__0__Impl"
11201 // InternalAlloyLanguage.g:3700:1: rule__ALSQuantified__Group_0__0__Impl : ( () ) ;
11202 public final void rule__ALSQuantified__Group_0__0__Impl() throws RecognitionException {
11203
11204 int stackSize = keepStackSize();
11205
11206 try {
11207 // InternalAlloyLanguage.g:3704:1: ( ( () ) )
11208 // InternalAlloyLanguage.g:3705:1: ( () )
11209 {
11210 // InternalAlloyLanguage.g:3705:1: ( () )
11211 // InternalAlloyLanguage.g:3706:1: ()
11212 {
11213 if ( state.backtracking==0 ) {
11214 before(grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0());
11215 }
11216 // InternalAlloyLanguage.g:3707:1: ()
11217 // InternalAlloyLanguage.g:3709:1:
11218 {
11219 }
11220
11221 if ( state.backtracking==0 ) {
11222 after(grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0());
11223 }
11224
11225 }
11226
11227
11228 }
11229
11230 }
11231 finally {
11232
11233 restoreStackSize(stackSize);
11234
11235 }
11236 return ;
11237 }
11238 // $ANTLR end "rule__ALSQuantified__Group_0__0__Impl"
11239
11240
11241 // $ANTLR start "rule__ALSQuantified__Group_0__1"
11242 // InternalAlloyLanguage.g:3719:1: rule__ALSQuantified__Group_0__1 : rule__ALSQuantified__Group_0__1__Impl rule__ALSQuantified__Group_0__2 ;
11243 public final void rule__ALSQuantified__Group_0__1() throws RecognitionException {
11244
11245 int stackSize = keepStackSize();
11246
11247 try {
11248 // InternalAlloyLanguage.g:3723:1: ( rule__ALSQuantified__Group_0__1__Impl rule__ALSQuantified__Group_0__2 )
11249 // InternalAlloyLanguage.g:3724:2: rule__ALSQuantified__Group_0__1__Impl rule__ALSQuantified__Group_0__2
11250 {
11251 pushFollow(FOLLOW_23);
11252 rule__ALSQuantified__Group_0__1__Impl();
11253
11254 state._fsp--;
11255 if (state.failed) return ;
11256 pushFollow(FOLLOW_2);
11257 rule__ALSQuantified__Group_0__2();
11258
11259 state._fsp--;
11260 if (state.failed) return ;
11261
11262 }
11263
11264 }
11265 catch (RecognitionException re) {
11266 reportError(re);
11267 recover(input,re);
11268 }
11269 finally {
11270
11271 restoreStackSize(stackSize);
11272
11273 }
11274 return ;
11275 }
11276 // $ANTLR end "rule__ALSQuantified__Group_0__1"
11277
11278
11279 // $ANTLR start "rule__ALSQuantified__Group_0__1__Impl"
11280 // InternalAlloyLanguage.g:3731:1: rule__ALSQuantified__Group_0__1__Impl : ( ( rule__ALSQuantified__TypeAssignment_0_1 ) ) ;
11281 public final void rule__ALSQuantified__Group_0__1__Impl() throws RecognitionException {
11282
11283 int stackSize = keepStackSize();
11284
11285 try {
11286 // InternalAlloyLanguage.g:3735:1: ( ( ( rule__ALSQuantified__TypeAssignment_0_1 ) ) )
11287 // InternalAlloyLanguage.g:3736:1: ( ( rule__ALSQuantified__TypeAssignment_0_1 ) )
11288 {
11289 // InternalAlloyLanguage.g:3736:1: ( ( rule__ALSQuantified__TypeAssignment_0_1 ) )
11290 // InternalAlloyLanguage.g:3737:1: ( rule__ALSQuantified__TypeAssignment_0_1 )
11291 {
11292 if ( state.backtracking==0 ) {
11293 before(grammarAccess.getALSQuantifiedAccess().getTypeAssignment_0_1());
11294 }
11295 // InternalAlloyLanguage.g:3738:1: ( rule__ALSQuantified__TypeAssignment_0_1 )
11296 // InternalAlloyLanguage.g:3738:2: rule__ALSQuantified__TypeAssignment_0_1
11297 {
11298 pushFollow(FOLLOW_2);
11299 rule__ALSQuantified__TypeAssignment_0_1();
11300
11301 state._fsp--;
11302 if (state.failed) return ;
11303
11304 }
11305
11306 if ( state.backtracking==0 ) {
11307 after(grammarAccess.getALSQuantifiedAccess().getTypeAssignment_0_1());
11308 }
11309
11310 }
11311
11312
11313 }
11314
11315 }
11316 catch (RecognitionException re) {
11317 reportError(re);
11318 recover(input,re);
11319 }
11320 finally {
11321
11322 restoreStackSize(stackSize);
11323
11324 }
11325 return ;
11326 }
11327 // $ANTLR end "rule__ALSQuantified__Group_0__1__Impl"
11328
11329
11330 // $ANTLR start "rule__ALSQuantified__Group_0__2"
11331 // InternalAlloyLanguage.g:3748:1: rule__ALSQuantified__Group_0__2 : rule__ALSQuantified__Group_0__2__Impl rule__ALSQuantified__Group_0__3 ;
11332 public final void rule__ALSQuantified__Group_0__2() throws RecognitionException {
11333
11334 int stackSize = keepStackSize();
11335
11336 try {
11337 // InternalAlloyLanguage.g:3752:1: ( rule__ALSQuantified__Group_0__2__Impl rule__ALSQuantified__Group_0__3 )
11338 // InternalAlloyLanguage.g:3753:2: rule__ALSQuantified__Group_0__2__Impl rule__ALSQuantified__Group_0__3
11339 {
11340 pushFollow(FOLLOW_23);
11341 rule__ALSQuantified__Group_0__2__Impl();
11342
11343 state._fsp--;
11344 if (state.failed) return ;
11345 pushFollow(FOLLOW_2);
11346 rule__ALSQuantified__Group_0__3();
11347
11348 state._fsp--;
11349 if (state.failed) return ;
11350
11351 }
11352
11353 }
11354 catch (RecognitionException re) {
11355 reportError(re);
11356 recover(input,re);
11357 }
11358 finally {
11359
11360 restoreStackSize(stackSize);
11361
11362 }
11363 return ;
11364 }
11365 // $ANTLR end "rule__ALSQuantified__Group_0__2"
11366
11367
11368 // $ANTLR start "rule__ALSQuantified__Group_0__2__Impl"
11369 // InternalAlloyLanguage.g:3760:1: rule__ALSQuantified__Group_0__2__Impl : ( ( rule__ALSQuantified__DisjAssignment_0_2 )? ) ;
11370 public final void rule__ALSQuantified__Group_0__2__Impl() throws RecognitionException {
11371
11372 int stackSize = keepStackSize();
11373
11374 try {
11375 // InternalAlloyLanguage.g:3764:1: ( ( ( rule__ALSQuantified__DisjAssignment_0_2 )? ) )
11376 // InternalAlloyLanguage.g:3765:1: ( ( rule__ALSQuantified__DisjAssignment_0_2 )? )
11377 {
11378 // InternalAlloyLanguage.g:3765:1: ( ( rule__ALSQuantified__DisjAssignment_0_2 )? )
11379 // InternalAlloyLanguage.g:3766:1: ( rule__ALSQuantified__DisjAssignment_0_2 )?
11380 {
11381 if ( state.backtracking==0 ) {
11382 before(grammarAccess.getALSQuantifiedAccess().getDisjAssignment_0_2());
11383 }
11384 // InternalAlloyLanguage.g:3767:1: ( rule__ALSQuantified__DisjAssignment_0_2 )?
11385 int alt28=2;
11386 int LA28_0 = input.LA(1);
11387
11388 if ( (LA28_0==76) ) {
11389 alt28=1;
11390 }
11391 switch (alt28) {
11392 case 1 :
11393 // InternalAlloyLanguage.g:3767:2: rule__ALSQuantified__DisjAssignment_0_2
11394 {
11395 pushFollow(FOLLOW_2);
11396 rule__ALSQuantified__DisjAssignment_0_2();
11397
11398 state._fsp--;
11399 if (state.failed) return ;
11400
11401 }
11402 break;
11403
11404 }
11405
11406 if ( state.backtracking==0 ) {
11407 after(grammarAccess.getALSQuantifiedAccess().getDisjAssignment_0_2());
11408 }
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__ALSQuantified__Group_0__2__Impl"
11428
11429
11430 // $ANTLR start "rule__ALSQuantified__Group_0__3"
11431 // InternalAlloyLanguage.g:3777:1: rule__ALSQuantified__Group_0__3 : rule__ALSQuantified__Group_0__3__Impl rule__ALSQuantified__Group_0__4 ;
11432 public final void rule__ALSQuantified__Group_0__3() throws RecognitionException {
11433
11434 int stackSize = keepStackSize();
11435
11436 try {
11437 // InternalAlloyLanguage.g:3781:1: ( rule__ALSQuantified__Group_0__3__Impl rule__ALSQuantified__Group_0__4 )
11438 // InternalAlloyLanguage.g:3782:2: rule__ALSQuantified__Group_0__3__Impl rule__ALSQuantified__Group_0__4
11439 {
11440 pushFollow(FOLLOW_24);
11441 rule__ALSQuantified__Group_0__3__Impl();
11442
11443 state._fsp--;
11444 if (state.failed) return ;
11445 pushFollow(FOLLOW_2);
11446 rule__ALSQuantified__Group_0__4();
11447
11448 state._fsp--;
11449 if (state.failed) return ;
11450
11451 }
11452
11453 }
11454 catch (RecognitionException re) {
11455 reportError(re);
11456 recover(input,re);
11457 }
11458 finally {
11459
11460 restoreStackSize(stackSize);
11461
11462 }
11463 return ;
11464 }
11465 // $ANTLR end "rule__ALSQuantified__Group_0__3"
11466
11467
11468 // $ANTLR start "rule__ALSQuantified__Group_0__3__Impl"
11469 // InternalAlloyLanguage.g:3789:1: rule__ALSQuantified__Group_0__3__Impl : ( ( rule__ALSQuantified__VariablesAssignment_0_3 ) ) ;
11470 public final void rule__ALSQuantified__Group_0__3__Impl() throws RecognitionException {
11471
11472 int stackSize = keepStackSize();
11473
11474 try {
11475 // InternalAlloyLanguage.g:3793:1: ( ( ( rule__ALSQuantified__VariablesAssignment_0_3 ) ) )
11476 // InternalAlloyLanguage.g:3794:1: ( ( rule__ALSQuantified__VariablesAssignment_0_3 ) )
11477 {
11478 // InternalAlloyLanguage.g:3794:1: ( ( rule__ALSQuantified__VariablesAssignment_0_3 ) )
11479 // InternalAlloyLanguage.g:3795:1: ( rule__ALSQuantified__VariablesAssignment_0_3 )
11480 {
11481 if ( state.backtracking==0 ) {
11482 before(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_3());
11483 }
11484 // InternalAlloyLanguage.g:3796:1: ( rule__ALSQuantified__VariablesAssignment_0_3 )
11485 // InternalAlloyLanguage.g:3796:2: rule__ALSQuantified__VariablesAssignment_0_3
11486 {
11487 pushFollow(FOLLOW_2);
11488 rule__ALSQuantified__VariablesAssignment_0_3();
11489
11490 state._fsp--;
11491 if (state.failed) return ;
11492
11493 }
11494
11495 if ( state.backtracking==0 ) {
11496 after(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_3());
11497 }
11498
11499 }
11500
11501
11502 }
11503
11504 }
11505 catch (RecognitionException re) {
11506 reportError(re);
11507 recover(input,re);
11508 }
11509 finally {
11510
11511 restoreStackSize(stackSize);
11512
11513 }
11514 return ;
11515 }
11516 // $ANTLR end "rule__ALSQuantified__Group_0__3__Impl"
11517
11518
11519 // $ANTLR start "rule__ALSQuantified__Group_0__4"
11520 // InternalAlloyLanguage.g:3806:1: rule__ALSQuantified__Group_0__4 : rule__ALSQuantified__Group_0__4__Impl rule__ALSQuantified__Group_0__5 ;
11521 public final void rule__ALSQuantified__Group_0__4() throws RecognitionException {
11522
11523 int stackSize = keepStackSize();
11524
11525 try {
11526 // InternalAlloyLanguage.g:3810:1: ( rule__ALSQuantified__Group_0__4__Impl rule__ALSQuantified__Group_0__5 )
11527 // InternalAlloyLanguage.g:3811:2: rule__ALSQuantified__Group_0__4__Impl rule__ALSQuantified__Group_0__5
11528 {
11529 pushFollow(FOLLOW_24);
11530 rule__ALSQuantified__Group_0__4__Impl();
11531
11532 state._fsp--;
11533 if (state.failed) return ;
11534 pushFollow(FOLLOW_2);
11535 rule__ALSQuantified__Group_0__5();
11536
11537 state._fsp--;
11538 if (state.failed) return ;
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__ALSQuantified__Group_0__4"
11555
11556
11557 // $ANTLR start "rule__ALSQuantified__Group_0__4__Impl"
11558 // InternalAlloyLanguage.g:3818:1: rule__ALSQuantified__Group_0__4__Impl : ( ( rule__ALSQuantified__Group_0_4__0 )* ) ;
11559 public final void rule__ALSQuantified__Group_0__4__Impl() throws RecognitionException {
11560
11561 int stackSize = keepStackSize();
11562
11563 try {
11564 // InternalAlloyLanguage.g:3822:1: ( ( ( rule__ALSQuantified__Group_0_4__0 )* ) )
11565 // InternalAlloyLanguage.g:3823:1: ( ( rule__ALSQuantified__Group_0_4__0 )* )
11566 {
11567 // InternalAlloyLanguage.g:3823:1: ( ( rule__ALSQuantified__Group_0_4__0 )* )
11568 // InternalAlloyLanguage.g:3824:1: ( rule__ALSQuantified__Group_0_4__0 )*
11569 {
11570 if ( state.backtracking==0 ) {
11571 before(grammarAccess.getALSQuantifiedAccess().getGroup_0_4());
11572 }
11573 // InternalAlloyLanguage.g:3825:1: ( rule__ALSQuantified__Group_0_4__0 )*
11574 loop29:
11575 do {
11576 int alt29=2;
11577 int LA29_0 = input.LA(1);
11578
11579 if ( (LA29_0==35) ) {
11580 alt29=1;
11581 }
11582
11583
11584 switch (alt29) {
11585 case 1 :
11586 // InternalAlloyLanguage.g:3825:2: rule__ALSQuantified__Group_0_4__0
11587 {
11588 pushFollow(FOLLOW_8);
11589 rule__ALSQuantified__Group_0_4__0();
11590
11591 state._fsp--;
11592 if (state.failed) return ;
11593
11594 }
11595 break;
11596
11597 default :
11598 break loop29;
11599 }
11600 } while (true);
11601
11602 if ( state.backtracking==0 ) {
11603 after(grammarAccess.getALSQuantifiedAccess().getGroup_0_4());
11604 }
11605
11606 }
11607
11608
11609 }
11610
11611 }
11612 catch (RecognitionException re) {
11613 reportError(re);
11614 recover(input,re);
11615 }
11616 finally {
11617
11618 restoreStackSize(stackSize);
11619
11620 }
11621 return ;
11622 }
11623 // $ANTLR end "rule__ALSQuantified__Group_0__4__Impl"
11624
11625
11626 // $ANTLR start "rule__ALSQuantified__Group_0__5"
11627 // InternalAlloyLanguage.g:3835:1: rule__ALSQuantified__Group_0__5 : rule__ALSQuantified__Group_0__5__Impl rule__ALSQuantified__Group_0__6 ;
11628 public final void rule__ALSQuantified__Group_0__5() throws RecognitionException {
11629
11630 int stackSize = keepStackSize();
11631
11632 try {
11633 // InternalAlloyLanguage.g:3839:1: ( rule__ALSQuantified__Group_0__5__Impl rule__ALSQuantified__Group_0__6 )
11634 // InternalAlloyLanguage.g:3840:2: rule__ALSQuantified__Group_0__5__Impl rule__ALSQuantified__Group_0__6
11635 {
11636 pushFollow(FOLLOW_16);
11637 rule__ALSQuantified__Group_0__5__Impl();
11638
11639 state._fsp--;
11640 if (state.failed) return ;
11641 pushFollow(FOLLOW_2);
11642 rule__ALSQuantified__Group_0__6();
11643
11644 state._fsp--;
11645 if (state.failed) return ;
11646
11647 }
11648
11649 }
11650 catch (RecognitionException re) {
11651 reportError(re);
11652 recover(input,re);
11653 }
11654 finally {
11655
11656 restoreStackSize(stackSize);
11657
11658 }
11659 return ;
11660 }
11661 // $ANTLR end "rule__ALSQuantified__Group_0__5"
11662
11663
11664 // $ANTLR start "rule__ALSQuantified__Group_0__5__Impl"
11665 // InternalAlloyLanguage.g:3847:1: rule__ALSQuantified__Group_0__5__Impl : ( '{' ) ;
11666 public final void rule__ALSQuantified__Group_0__5__Impl() throws RecognitionException {
11667
11668 int stackSize = keepStackSize();
11669
11670 try {
11671 // InternalAlloyLanguage.g:3851:1: ( ( '{' ) )
11672 // InternalAlloyLanguage.g:3852:1: ( '{' )
11673 {
11674 // InternalAlloyLanguage.g:3852:1: ( '{' )
11675 // InternalAlloyLanguage.g:3853:1: '{'
11676 {
11677 if ( state.backtracking==0 ) {
11678 before(grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5());
11679 }
11680 match(input,33,FOLLOW_2); if (state.failed) return ;
11681 if ( state.backtracking==0 ) {
11682 after(grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5());
11683 }
11684
11685 }
11686
11687
11688 }
11689
11690 }
11691 catch (RecognitionException re) {
11692 reportError(re);
11693 recover(input,re);
11694 }
11695 finally {
11696
11697 restoreStackSize(stackSize);
11698
11699 }
11700 return ;
11701 }
11702 // $ANTLR end "rule__ALSQuantified__Group_0__5__Impl"
11703
11704
11705 // $ANTLR start "rule__ALSQuantified__Group_0__6"
11706 // InternalAlloyLanguage.g:3866:1: rule__ALSQuantified__Group_0__6 : rule__ALSQuantified__Group_0__6__Impl rule__ALSQuantified__Group_0__7 ;
11707 public final void rule__ALSQuantified__Group_0__6() throws RecognitionException {
11708
11709 int stackSize = keepStackSize();
11710
11711 try {
11712 // InternalAlloyLanguage.g:3870:1: ( rule__ALSQuantified__Group_0__6__Impl rule__ALSQuantified__Group_0__7 )
11713 // InternalAlloyLanguage.g:3871:2: rule__ALSQuantified__Group_0__6__Impl rule__ALSQuantified__Group_0__7
11714 {
11715 pushFollow(FOLLOW_19);
11716 rule__ALSQuantified__Group_0__6__Impl();
11717
11718 state._fsp--;
11719 if (state.failed) return ;
11720 pushFollow(FOLLOW_2);
11721 rule__ALSQuantified__Group_0__7();
11722
11723 state._fsp--;
11724 if (state.failed) return ;
11725
11726 }
11727
11728 }
11729 catch (RecognitionException re) {
11730 reportError(re);
11731 recover(input,re);
11732 }
11733 finally {
11734
11735 restoreStackSize(stackSize);
11736
11737 }
11738 return ;
11739 }
11740 // $ANTLR end "rule__ALSQuantified__Group_0__6"
11741
11742
11743 // $ANTLR start "rule__ALSQuantified__Group_0__6__Impl"
11744 // InternalAlloyLanguage.g:3878:1: rule__ALSQuantified__Group_0__6__Impl : ( ( rule__ALSQuantified__ExpressionAssignment_0_6 ) ) ;
11745 public final void rule__ALSQuantified__Group_0__6__Impl() throws RecognitionException {
11746
11747 int stackSize = keepStackSize();
11748
11749 try {
11750 // InternalAlloyLanguage.g:3882:1: ( ( ( rule__ALSQuantified__ExpressionAssignment_0_6 ) ) )
11751 // InternalAlloyLanguage.g:3883:1: ( ( rule__ALSQuantified__ExpressionAssignment_0_6 ) )
11752 {
11753 // InternalAlloyLanguage.g:3883:1: ( ( rule__ALSQuantified__ExpressionAssignment_0_6 ) )
11754 // InternalAlloyLanguage.g:3884:1: ( rule__ALSQuantified__ExpressionAssignment_0_6 )
11755 {
11756 if ( state.backtracking==0 ) {
11757 before(grammarAccess.getALSQuantifiedAccess().getExpressionAssignment_0_6());
11758 }
11759 // InternalAlloyLanguage.g:3885:1: ( rule__ALSQuantified__ExpressionAssignment_0_6 )
11760 // InternalAlloyLanguage.g:3885:2: rule__ALSQuantified__ExpressionAssignment_0_6
11761 {
11762 pushFollow(FOLLOW_2);
11763 rule__ALSQuantified__ExpressionAssignment_0_6();
11764
11765 state._fsp--;
11766 if (state.failed) return ;
11767
11768 }
11769
11770 if ( state.backtracking==0 ) {
11771 after(grammarAccess.getALSQuantifiedAccess().getExpressionAssignment_0_6());
11772 }
11773
11774 }
11775
11776
11777 }
11778
11779 }
11780 catch (RecognitionException re) {
11781 reportError(re);
11782 recover(input,re);
11783 }
11784 finally {
11785
11786 restoreStackSize(stackSize);
11787
11788 }
11789 return ;
11790 }
11791 // $ANTLR end "rule__ALSQuantified__Group_0__6__Impl"
11792
11793
11794 // $ANTLR start "rule__ALSQuantified__Group_0__7"
11795 // InternalAlloyLanguage.g:3895:1: rule__ALSQuantified__Group_0__7 : rule__ALSQuantified__Group_0__7__Impl ;
11796 public final void rule__ALSQuantified__Group_0__7() throws RecognitionException {
11797
11798 int stackSize = keepStackSize();
11799
11800 try {
11801 // InternalAlloyLanguage.g:3899:1: ( rule__ALSQuantified__Group_0__7__Impl )
11802 // InternalAlloyLanguage.g:3900:2: rule__ALSQuantified__Group_0__7__Impl
11803 {
11804 pushFollow(FOLLOW_2);
11805 rule__ALSQuantified__Group_0__7__Impl();
11806
11807 state._fsp--;
11808 if (state.failed) return ;
11809
11810 }
11811
11812 }
11813 catch (RecognitionException re) {
11814 reportError(re);
11815 recover(input,re);
11816 }
11817 finally {
11818
11819 restoreStackSize(stackSize);
11820
11821 }
11822 return ;
11823 }
11824 // $ANTLR end "rule__ALSQuantified__Group_0__7"
11825
11826
11827 // $ANTLR start "rule__ALSQuantified__Group_0__7__Impl"
11828 // InternalAlloyLanguage.g:3906:1: rule__ALSQuantified__Group_0__7__Impl : ( '}' ) ;
11829 public final void rule__ALSQuantified__Group_0__7__Impl() throws RecognitionException {
11830
11831 int stackSize = keepStackSize();
11832
11833 try {
11834 // InternalAlloyLanguage.g:3910:1: ( ( '}' ) )
11835 // InternalAlloyLanguage.g:3911:1: ( '}' )
11836 {
11837 // InternalAlloyLanguage.g:3911:1: ( '}' )
11838 // InternalAlloyLanguage.g:3912:1: '}'
11839 {
11840 if ( state.backtracking==0 ) {
11841 before(grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7());
11842 }
11843 match(input,34,FOLLOW_2); if (state.failed) return ;
11844 if ( state.backtracking==0 ) {
11845 after(grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7());
11846 }
11847
11848 }
11849
11850
11851 }
11852
11853 }
11854 catch (RecognitionException re) {
11855 reportError(re);
11856 recover(input,re);
11857 }
11858 finally {
11859
11860 restoreStackSize(stackSize);
11861
11862 }
11863 return ;
11864 }
11865 // $ANTLR end "rule__ALSQuantified__Group_0__7__Impl"
11866
11867
11868 // $ANTLR start "rule__ALSQuantified__Group_0_4__0"
11869 // InternalAlloyLanguage.g:3941:1: rule__ALSQuantified__Group_0_4__0 : rule__ALSQuantified__Group_0_4__0__Impl rule__ALSQuantified__Group_0_4__1 ;
11870 public final void rule__ALSQuantified__Group_0_4__0() throws RecognitionException {
11871
11872 int stackSize = keepStackSize();
11873
11874 try {
11875 // InternalAlloyLanguage.g:3945:1: ( rule__ALSQuantified__Group_0_4__0__Impl rule__ALSQuantified__Group_0_4__1 )
11876 // InternalAlloyLanguage.g:3946:2: rule__ALSQuantified__Group_0_4__0__Impl rule__ALSQuantified__Group_0_4__1
11877 {
11878 pushFollow(FOLLOW_5);
11879 rule__ALSQuantified__Group_0_4__0__Impl();
11880
11881 state._fsp--;
11882 if (state.failed) return ;
11883 pushFollow(FOLLOW_2);
11884 rule__ALSQuantified__Group_0_4__1();
11885
11886 state._fsp--;
11887 if (state.failed) return ;
11888
11889 }
11890
11891 }
11892 catch (RecognitionException re) {
11893 reportError(re);
11894 recover(input,re);
11895 }
11896 finally {
11897
11898 restoreStackSize(stackSize);
11899
11900 }
11901 return ;
11902 }
11903 // $ANTLR end "rule__ALSQuantified__Group_0_4__0"
11904
11905
11906 // $ANTLR start "rule__ALSQuantified__Group_0_4__0__Impl"
11907 // InternalAlloyLanguage.g:3953:1: rule__ALSQuantified__Group_0_4__0__Impl : ( ',' ) ;
11908 public final void rule__ALSQuantified__Group_0_4__0__Impl() throws RecognitionException {
11909
11910 int stackSize = keepStackSize();
11911
11912 try {
11913 // InternalAlloyLanguage.g:3957:1: ( ( ',' ) )
11914 // InternalAlloyLanguage.g:3958:1: ( ',' )
11915 {
11916 // InternalAlloyLanguage.g:3958:1: ( ',' )
11917 // InternalAlloyLanguage.g:3959:1: ','
11918 {
11919 if ( state.backtracking==0 ) {
11920 before(grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0());
11921 }
11922 match(input,35,FOLLOW_2); if (state.failed) return ;
11923 if ( state.backtracking==0 ) {
11924 after(grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0());
11925 }
11926
11927 }
11928
11929
11930 }
11931
11932 }
11933 catch (RecognitionException re) {
11934 reportError(re);
11935 recover(input,re);
11936 }
11937 finally {
11938
11939 restoreStackSize(stackSize);
11940
11941 }
11942 return ;
11943 }
11944 // $ANTLR end "rule__ALSQuantified__Group_0_4__0__Impl"
11945
11946
11947 // $ANTLR start "rule__ALSQuantified__Group_0_4__1"
11948 // InternalAlloyLanguage.g:3972:1: rule__ALSQuantified__Group_0_4__1 : rule__ALSQuantified__Group_0_4__1__Impl ;
11949 public final void rule__ALSQuantified__Group_0_4__1() throws RecognitionException {
11950
11951 int stackSize = keepStackSize();
11952
11953 try {
11954 // InternalAlloyLanguage.g:3976:1: ( rule__ALSQuantified__Group_0_4__1__Impl )
11955 // InternalAlloyLanguage.g:3977:2: rule__ALSQuantified__Group_0_4__1__Impl
11956 {
11957 pushFollow(FOLLOW_2);
11958 rule__ALSQuantified__Group_0_4__1__Impl();
11959
11960 state._fsp--;
11961 if (state.failed) return ;
11962
11963 }
11964
11965 }
11966 catch (RecognitionException re) {
11967 reportError(re);
11968 recover(input,re);
11969 }
11970 finally {
11971
11972 restoreStackSize(stackSize);
11973
11974 }
11975 return ;
11976 }
11977 // $ANTLR end "rule__ALSQuantified__Group_0_4__1"
11978
11979
11980 // $ANTLR start "rule__ALSQuantified__Group_0_4__1__Impl"
11981 // InternalAlloyLanguage.g:3983:1: rule__ALSQuantified__Group_0_4__1__Impl : ( ( rule__ALSQuantified__VariablesAssignment_0_4_1 ) ) ;
11982 public final void rule__ALSQuantified__Group_0_4__1__Impl() throws RecognitionException {
11983
11984 int stackSize = keepStackSize();
11985
11986 try {
11987 // InternalAlloyLanguage.g:3987:1: ( ( ( rule__ALSQuantified__VariablesAssignment_0_4_1 ) ) )
11988 // InternalAlloyLanguage.g:3988:1: ( ( rule__ALSQuantified__VariablesAssignment_0_4_1 ) )
11989 {
11990 // InternalAlloyLanguage.g:3988:1: ( ( rule__ALSQuantified__VariablesAssignment_0_4_1 ) )
11991 // InternalAlloyLanguage.g:3989:1: ( rule__ALSQuantified__VariablesAssignment_0_4_1 )
11992 {
11993 if ( state.backtracking==0 ) {
11994 before(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_4_1());
11995 }
11996 // InternalAlloyLanguage.g:3990:1: ( rule__ALSQuantified__VariablesAssignment_0_4_1 )
11997 // InternalAlloyLanguage.g:3990:2: rule__ALSQuantified__VariablesAssignment_0_4_1
11998 {
11999 pushFollow(FOLLOW_2);
12000 rule__ALSQuantified__VariablesAssignment_0_4_1();
12001
12002 state._fsp--;
12003 if (state.failed) return ;
12004
12005 }
12006
12007 if ( state.backtracking==0 ) {
12008 after(grammarAccess.getALSQuantifiedAccess().getVariablesAssignment_0_4_1());
12009 }
12010
12011 }
12012
12013
12014 }
12015
12016 }
12017 catch (RecognitionException re) {
12018 reportError(re);
12019 recover(input,re);
12020 }
12021 finally {
12022
12023 restoreStackSize(stackSize);
12024
12025 }
12026 return ;
12027 }
12028 // $ANTLR end "rule__ALSQuantified__Group_0_4__1__Impl"
12029
12030
12031 // $ANTLR start "rule__ALSOr__Group__0"
12032 // InternalAlloyLanguage.g:4004:1: rule__ALSOr__Group__0 : rule__ALSOr__Group__0__Impl rule__ALSOr__Group__1 ;
12033 public final void rule__ALSOr__Group__0() throws RecognitionException {
12034
12035 int stackSize = keepStackSize();
12036
12037 try {
12038 // InternalAlloyLanguage.g:4008:1: ( rule__ALSOr__Group__0__Impl rule__ALSOr__Group__1 )
12039 // InternalAlloyLanguage.g:4009:2: rule__ALSOr__Group__0__Impl rule__ALSOr__Group__1
12040 {
12041 pushFollow(FOLLOW_25);
12042 rule__ALSOr__Group__0__Impl();
12043
12044 state._fsp--;
12045 if (state.failed) return ;
12046 pushFollow(FOLLOW_2);
12047 rule__ALSOr__Group__1();
12048
12049 state._fsp--;
12050 if (state.failed) return ;
12051
12052 }
12053
12054 }
12055 catch (RecognitionException re) {
12056 reportError(re);
12057 recover(input,re);
12058 }
12059 finally {
12060
12061 restoreStackSize(stackSize);
12062
12063 }
12064 return ;
12065 }
12066 // $ANTLR end "rule__ALSOr__Group__0"
12067
12068
12069 // $ANTLR start "rule__ALSOr__Group__0__Impl"
12070 // InternalAlloyLanguage.g:4016:1: rule__ALSOr__Group__0__Impl : ( ruleALSIff ) ;
12071 public final void rule__ALSOr__Group__0__Impl() throws RecognitionException {
12072
12073 int stackSize = keepStackSize();
12074
12075 try {
12076 // InternalAlloyLanguage.g:4020:1: ( ( ruleALSIff ) )
12077 // InternalAlloyLanguage.g:4021:1: ( ruleALSIff )
12078 {
12079 // InternalAlloyLanguage.g:4021:1: ( ruleALSIff )
12080 // InternalAlloyLanguage.g:4022:1: ruleALSIff
12081 {
12082 if ( state.backtracking==0 ) {
12083 before(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0());
12084 }
12085 pushFollow(FOLLOW_2);
12086 ruleALSIff();
12087
12088 state._fsp--;
12089 if (state.failed) return ;
12090 if ( state.backtracking==0 ) {
12091 after(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0());
12092 }
12093
12094 }
12095
12096
12097 }
12098
12099 }
12100 catch (RecognitionException re) {
12101 reportError(re);
12102 recover(input,re);
12103 }
12104 finally {
12105
12106 restoreStackSize(stackSize);
12107
12108 }
12109 return ;
12110 }
12111 // $ANTLR end "rule__ALSOr__Group__0__Impl"
12112
12113
12114 // $ANTLR start "rule__ALSOr__Group__1"
12115 // InternalAlloyLanguage.g:4033:1: rule__ALSOr__Group__1 : rule__ALSOr__Group__1__Impl ;
12116 public final void rule__ALSOr__Group__1() throws RecognitionException {
12117
12118 int stackSize = keepStackSize();
12119
12120 try {
12121 // InternalAlloyLanguage.g:4037:1: ( rule__ALSOr__Group__1__Impl )
12122 // InternalAlloyLanguage.g:4038:2: rule__ALSOr__Group__1__Impl
12123 {
12124 pushFollow(FOLLOW_2);
12125 rule__ALSOr__Group__1__Impl();
12126
12127 state._fsp--;
12128 if (state.failed) return ;
12129
12130 }
12131
12132 }
12133 catch (RecognitionException re) {
12134 reportError(re);
12135 recover(input,re);
12136 }
12137 finally {
12138
12139 restoreStackSize(stackSize);
12140
12141 }
12142 return ;
12143 }
12144 // $ANTLR end "rule__ALSOr__Group__1"
12145
12146
12147 // $ANTLR start "rule__ALSOr__Group__1__Impl"
12148 // InternalAlloyLanguage.g:4044:1: rule__ALSOr__Group__1__Impl : ( ( rule__ALSOr__Group_1__0 )? ) ;
12149 public final void rule__ALSOr__Group__1__Impl() throws RecognitionException {
12150
12151 int stackSize = keepStackSize();
12152
12153 try {
12154 // InternalAlloyLanguage.g:4048:1: ( ( ( rule__ALSOr__Group_1__0 )? ) )
12155 // InternalAlloyLanguage.g:4049:1: ( ( rule__ALSOr__Group_1__0 )? )
12156 {
12157 // InternalAlloyLanguage.g:4049:1: ( ( rule__ALSOr__Group_1__0 )? )
12158 // InternalAlloyLanguage.g:4050:1: ( rule__ALSOr__Group_1__0 )?
12159 {
12160 if ( state.backtracking==0 ) {
12161 before(grammarAccess.getALSOrAccess().getGroup_1());
12162 }
12163 // InternalAlloyLanguage.g:4051:1: ( rule__ALSOr__Group_1__0 )?
12164 int alt30=2;
12165 int LA30_0 = input.LA(1);
12166
12167 if ( ((LA30_0>=11 && LA30_0<=12)) ) {
12168 alt30=1;
12169 }
12170 switch (alt30) {
12171 case 1 :
12172 // InternalAlloyLanguage.g:4051:2: rule__ALSOr__Group_1__0
12173 {
12174 pushFollow(FOLLOW_2);
12175 rule__ALSOr__Group_1__0();
12176
12177 state._fsp--;
12178 if (state.failed) return ;
12179
12180 }
12181 break;
12182
12183 }
12184
12185 if ( state.backtracking==0 ) {
12186 after(grammarAccess.getALSOrAccess().getGroup_1());
12187 }
12188
12189 }
12190
12191
12192 }
12193
12194 }
12195 catch (RecognitionException re) {
12196 reportError(re);
12197 recover(input,re);
12198 }
12199 finally {
12200
12201 restoreStackSize(stackSize);
12202
12203 }
12204 return ;
12205 }
12206 // $ANTLR end "rule__ALSOr__Group__1__Impl"
12207
12208
12209 // $ANTLR start "rule__ALSOr__Group_1__0"
12210 // InternalAlloyLanguage.g:4065:1: rule__ALSOr__Group_1__0 : rule__ALSOr__Group_1__0__Impl rule__ALSOr__Group_1__1 ;
12211 public final void rule__ALSOr__Group_1__0() throws RecognitionException {
12212
12213 int stackSize = keepStackSize();
12214
12215 try {
12216 // InternalAlloyLanguage.g:4069:1: ( rule__ALSOr__Group_1__0__Impl rule__ALSOr__Group_1__1 )
12217 // InternalAlloyLanguage.g:4070:2: rule__ALSOr__Group_1__0__Impl rule__ALSOr__Group_1__1
12218 {
12219 pushFollow(FOLLOW_25);
12220 rule__ALSOr__Group_1__0__Impl();
12221
12222 state._fsp--;
12223 if (state.failed) return ;
12224 pushFollow(FOLLOW_2);
12225 rule__ALSOr__Group_1__1();
12226
12227 state._fsp--;
12228 if (state.failed) return ;
12229
12230 }
12231
12232 }
12233 catch (RecognitionException re) {
12234 reportError(re);
12235 recover(input,re);
12236 }
12237 finally {
12238
12239 restoreStackSize(stackSize);
12240
12241 }
12242 return ;
12243 }
12244 // $ANTLR end "rule__ALSOr__Group_1__0"
12245
12246
12247 // $ANTLR start "rule__ALSOr__Group_1__0__Impl"
12248 // InternalAlloyLanguage.g:4077:1: rule__ALSOr__Group_1__0__Impl : ( () ) ;
12249 public final void rule__ALSOr__Group_1__0__Impl() throws RecognitionException {
12250
12251 int stackSize = keepStackSize();
12252
12253 try {
12254 // InternalAlloyLanguage.g:4081:1: ( ( () ) )
12255 // InternalAlloyLanguage.g:4082:1: ( () )
12256 {
12257 // InternalAlloyLanguage.g:4082:1: ( () )
12258 // InternalAlloyLanguage.g:4083:1: ()
12259 {
12260 if ( state.backtracking==0 ) {
12261 before(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0());
12262 }
12263 // InternalAlloyLanguage.g:4084:1: ()
12264 // InternalAlloyLanguage.g:4086:1:
12265 {
12266 }
12267
12268 if ( state.backtracking==0 ) {
12269 after(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0());
12270 }
12271
12272 }
12273
12274
12275 }
12276
12277 }
12278 finally {
12279
12280 restoreStackSize(stackSize);
12281
12282 }
12283 return ;
12284 }
12285 // $ANTLR end "rule__ALSOr__Group_1__0__Impl"
12286
12287
12288 // $ANTLR start "rule__ALSOr__Group_1__1"
12289 // InternalAlloyLanguage.g:4096:1: rule__ALSOr__Group_1__1 : rule__ALSOr__Group_1__1__Impl rule__ALSOr__Group_1__2 ;
12290 public final void rule__ALSOr__Group_1__1() throws RecognitionException {
12291
12292 int stackSize = keepStackSize();
12293
12294 try {
12295 // InternalAlloyLanguage.g:4100:1: ( rule__ALSOr__Group_1__1__Impl rule__ALSOr__Group_1__2 )
12296 // InternalAlloyLanguage.g:4101:2: rule__ALSOr__Group_1__1__Impl rule__ALSOr__Group_1__2
12297 {
12298 pushFollow(FOLLOW_16);
12299 rule__ALSOr__Group_1__1__Impl();
12300
12301 state._fsp--;
12302 if (state.failed) return ;
12303 pushFollow(FOLLOW_2);
12304 rule__ALSOr__Group_1__2();
12305
12306 state._fsp--;
12307 if (state.failed) return ;
12308
12309 }
12310
12311 }
12312 catch (RecognitionException re) {
12313 reportError(re);
12314 recover(input,re);
12315 }
12316 finally {
12317
12318 restoreStackSize(stackSize);
12319
12320 }
12321 return ;
12322 }
12323 // $ANTLR end "rule__ALSOr__Group_1__1"
12324
12325
12326 // $ANTLR start "rule__ALSOr__Group_1__1__Impl"
12327 // InternalAlloyLanguage.g:4108:1: rule__ALSOr__Group_1__1__Impl : ( ( rule__ALSOr__Alternatives_1_1 ) ) ;
12328 public final void rule__ALSOr__Group_1__1__Impl() throws RecognitionException {
12329
12330 int stackSize = keepStackSize();
12331
12332 try {
12333 // InternalAlloyLanguage.g:4112:1: ( ( ( rule__ALSOr__Alternatives_1_1 ) ) )
12334 // InternalAlloyLanguage.g:4113:1: ( ( rule__ALSOr__Alternatives_1_1 ) )
12335 {
12336 // InternalAlloyLanguage.g:4113:1: ( ( rule__ALSOr__Alternatives_1_1 ) )
12337 // InternalAlloyLanguage.g:4114:1: ( rule__ALSOr__Alternatives_1_1 )
12338 {
12339 if ( state.backtracking==0 ) {
12340 before(grammarAccess.getALSOrAccess().getAlternatives_1_1());
12341 }
12342 // InternalAlloyLanguage.g:4115:1: ( rule__ALSOr__Alternatives_1_1 )
12343 // InternalAlloyLanguage.g:4115:2: rule__ALSOr__Alternatives_1_1
12344 {
12345 pushFollow(FOLLOW_2);
12346 rule__ALSOr__Alternatives_1_1();
12347
12348 state._fsp--;
12349 if (state.failed) return ;
12350
12351 }
12352
12353 if ( state.backtracking==0 ) {
12354 after(grammarAccess.getALSOrAccess().getAlternatives_1_1());
12355 }
12356
12357 }
12358
12359
12360 }
12361
12362 }
12363 catch (RecognitionException re) {
12364 reportError(re);
12365 recover(input,re);
12366 }
12367 finally {
12368
12369 restoreStackSize(stackSize);
12370
12371 }
12372 return ;
12373 }
12374 // $ANTLR end "rule__ALSOr__Group_1__1__Impl"
12375
12376
12377 // $ANTLR start "rule__ALSOr__Group_1__2"
12378 // InternalAlloyLanguage.g:4125:1: rule__ALSOr__Group_1__2 : rule__ALSOr__Group_1__2__Impl ;
12379 public final void rule__ALSOr__Group_1__2() throws RecognitionException {
12380
12381 int stackSize = keepStackSize();
12382
12383 try {
12384 // InternalAlloyLanguage.g:4129:1: ( rule__ALSOr__Group_1__2__Impl )
12385 // InternalAlloyLanguage.g:4130:2: rule__ALSOr__Group_1__2__Impl
12386 {
12387 pushFollow(FOLLOW_2);
12388 rule__ALSOr__Group_1__2__Impl();
12389
12390 state._fsp--;
12391 if (state.failed) return ;
12392
12393 }
12394
12395 }
12396 catch (RecognitionException re) {
12397 reportError(re);
12398 recover(input,re);
12399 }
12400 finally {
12401
12402 restoreStackSize(stackSize);
12403
12404 }
12405 return ;
12406 }
12407 // $ANTLR end "rule__ALSOr__Group_1__2"
12408
12409
12410 // $ANTLR start "rule__ALSOr__Group_1__2__Impl"
12411 // InternalAlloyLanguage.g:4136:1: rule__ALSOr__Group_1__2__Impl : ( ( rule__ALSOr__RightOperandAssignment_1_2 ) ) ;
12412 public final void rule__ALSOr__Group_1__2__Impl() throws RecognitionException {
12413
12414 int stackSize = keepStackSize();
12415
12416 try {
12417 // InternalAlloyLanguage.g:4140:1: ( ( ( rule__ALSOr__RightOperandAssignment_1_2 ) ) )
12418 // InternalAlloyLanguage.g:4141:1: ( ( rule__ALSOr__RightOperandAssignment_1_2 ) )
12419 {
12420 // InternalAlloyLanguage.g:4141:1: ( ( rule__ALSOr__RightOperandAssignment_1_2 ) )
12421 // InternalAlloyLanguage.g:4142:1: ( rule__ALSOr__RightOperandAssignment_1_2 )
12422 {
12423 if ( state.backtracking==0 ) {
12424 before(grammarAccess.getALSOrAccess().getRightOperandAssignment_1_2());
12425 }
12426 // InternalAlloyLanguage.g:4143:1: ( rule__ALSOr__RightOperandAssignment_1_2 )
12427 // InternalAlloyLanguage.g:4143:2: rule__ALSOr__RightOperandAssignment_1_2
12428 {
12429 pushFollow(FOLLOW_2);
12430 rule__ALSOr__RightOperandAssignment_1_2();
12431
12432 state._fsp--;
12433 if (state.failed) return ;
12434
12435 }
12436
12437 if ( state.backtracking==0 ) {
12438 after(grammarAccess.getALSOrAccess().getRightOperandAssignment_1_2());
12439 }
12440
12441 }
12442
12443
12444 }
12445
12446 }
12447 catch (RecognitionException re) {
12448 reportError(re);
12449 recover(input,re);
12450 }
12451 finally {
12452
12453 restoreStackSize(stackSize);
12454
12455 }
12456 return ;
12457 }
12458 // $ANTLR end "rule__ALSOr__Group_1__2__Impl"
12459
12460
12461 // $ANTLR start "rule__ALSIff__Group__0"
12462 // InternalAlloyLanguage.g:4159:1: rule__ALSIff__Group__0 : rule__ALSIff__Group__0__Impl rule__ALSIff__Group__1 ;
12463 public final void rule__ALSIff__Group__0() throws RecognitionException {
12464
12465 int stackSize = keepStackSize();
12466
12467 try {
12468 // InternalAlloyLanguage.g:4163:1: ( rule__ALSIff__Group__0__Impl rule__ALSIff__Group__1 )
12469 // InternalAlloyLanguage.g:4164:2: rule__ALSIff__Group__0__Impl rule__ALSIff__Group__1
12470 {
12471 pushFollow(FOLLOW_26);
12472 rule__ALSIff__Group__0__Impl();
12473
12474 state._fsp--;
12475 if (state.failed) return ;
12476 pushFollow(FOLLOW_2);
12477 rule__ALSIff__Group__1();
12478
12479 state._fsp--;
12480 if (state.failed) return ;
12481
12482 }
12483
12484 }
12485 catch (RecognitionException re) {
12486 reportError(re);
12487 recover(input,re);
12488 }
12489 finally {
12490
12491 restoreStackSize(stackSize);
12492
12493 }
12494 return ;
12495 }
12496 // $ANTLR end "rule__ALSIff__Group__0"
12497
12498
12499 // $ANTLR start "rule__ALSIff__Group__0__Impl"
12500 // InternalAlloyLanguage.g:4171:1: rule__ALSIff__Group__0__Impl : ( ruleALSImpl ) ;
12501 public final void rule__ALSIff__Group__0__Impl() throws RecognitionException {
12502
12503 int stackSize = keepStackSize();
12504
12505 try {
12506 // InternalAlloyLanguage.g:4175:1: ( ( ruleALSImpl ) )
12507 // InternalAlloyLanguage.g:4176:1: ( ruleALSImpl )
12508 {
12509 // InternalAlloyLanguage.g:4176:1: ( ruleALSImpl )
12510 // InternalAlloyLanguage.g:4177:1: ruleALSImpl
12511 {
12512 if ( state.backtracking==0 ) {
12513 before(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0());
12514 }
12515 pushFollow(FOLLOW_2);
12516 ruleALSImpl();
12517
12518 state._fsp--;
12519 if (state.failed) return ;
12520 if ( state.backtracking==0 ) {
12521 after(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0());
12522 }
12523
12524 }
12525
12526
12527 }
12528
12529 }
12530 catch (RecognitionException re) {
12531 reportError(re);
12532 recover(input,re);
12533 }
12534 finally {
12535
12536 restoreStackSize(stackSize);
12537
12538 }
12539 return ;
12540 }
12541 // $ANTLR end "rule__ALSIff__Group__0__Impl"
12542
12543
12544 // $ANTLR start "rule__ALSIff__Group__1"
12545 // InternalAlloyLanguage.g:4188:1: rule__ALSIff__Group__1 : rule__ALSIff__Group__1__Impl ;
12546 public final void rule__ALSIff__Group__1() throws RecognitionException {
12547
12548 int stackSize = keepStackSize();
12549
12550 try {
12551 // InternalAlloyLanguage.g:4192:1: ( rule__ALSIff__Group__1__Impl )
12552 // InternalAlloyLanguage.g:4193:2: rule__ALSIff__Group__1__Impl
12553 {
12554 pushFollow(FOLLOW_2);
12555 rule__ALSIff__Group__1__Impl();
12556
12557 state._fsp--;
12558 if (state.failed) return ;
12559
12560 }
12561
12562 }
12563 catch (RecognitionException re) {
12564 reportError(re);
12565 recover(input,re);
12566 }
12567 finally {
12568
12569 restoreStackSize(stackSize);
12570
12571 }
12572 return ;
12573 }
12574 // $ANTLR end "rule__ALSIff__Group__1"
12575
12576
12577 // $ANTLR start "rule__ALSIff__Group__1__Impl"
12578 // InternalAlloyLanguage.g:4199:1: rule__ALSIff__Group__1__Impl : ( ( rule__ALSIff__Group_1__0 )? ) ;
12579 public final void rule__ALSIff__Group__1__Impl() throws RecognitionException {
12580
12581 int stackSize = keepStackSize();
12582
12583 try {
12584 // InternalAlloyLanguage.g:4203:1: ( ( ( rule__ALSIff__Group_1__0 )? ) )
12585 // InternalAlloyLanguage.g:4204:1: ( ( rule__ALSIff__Group_1__0 )? )
12586 {
12587 // InternalAlloyLanguage.g:4204:1: ( ( rule__ALSIff__Group_1__0 )? )
12588 // InternalAlloyLanguage.g:4205:1: ( rule__ALSIff__Group_1__0 )?
12589 {
12590 if ( state.backtracking==0 ) {
12591 before(grammarAccess.getALSIffAccess().getGroup_1());
12592 }
12593 // InternalAlloyLanguage.g:4206:1: ( rule__ALSIff__Group_1__0 )?
12594 int alt31=2;
12595 int LA31_0 = input.LA(1);
12596
12597 if ( ((LA31_0>=13 && LA31_0<=14)) ) {
12598 alt31=1;
12599 }
12600 switch (alt31) {
12601 case 1 :
12602 // InternalAlloyLanguage.g:4206:2: rule__ALSIff__Group_1__0
12603 {
12604 pushFollow(FOLLOW_2);
12605 rule__ALSIff__Group_1__0();
12606
12607 state._fsp--;
12608 if (state.failed) return ;
12609
12610 }
12611 break;
12612
12613 }
12614
12615 if ( state.backtracking==0 ) {
12616 after(grammarAccess.getALSIffAccess().getGroup_1());
12617 }
12618
12619 }
12620
12621
12622 }
12623
12624 }
12625 catch (RecognitionException re) {
12626 reportError(re);
12627 recover(input,re);
12628 }
12629 finally {
12630
12631 restoreStackSize(stackSize);
12632
12633 }
12634 return ;
12635 }
12636 // $ANTLR end "rule__ALSIff__Group__1__Impl"
12637
12638
12639 // $ANTLR start "rule__ALSIff__Group_1__0"
12640 // InternalAlloyLanguage.g:4220:1: rule__ALSIff__Group_1__0 : rule__ALSIff__Group_1__0__Impl rule__ALSIff__Group_1__1 ;
12641 public final void rule__ALSIff__Group_1__0() throws RecognitionException {
12642
12643 int stackSize = keepStackSize();
12644
12645 try {
12646 // InternalAlloyLanguage.g:4224:1: ( rule__ALSIff__Group_1__0__Impl rule__ALSIff__Group_1__1 )
12647 // InternalAlloyLanguage.g:4225:2: rule__ALSIff__Group_1__0__Impl rule__ALSIff__Group_1__1
12648 {
12649 pushFollow(FOLLOW_26);
12650 rule__ALSIff__Group_1__0__Impl();
12651
12652 state._fsp--;
12653 if (state.failed) return ;
12654 pushFollow(FOLLOW_2);
12655 rule__ALSIff__Group_1__1();
12656
12657 state._fsp--;
12658 if (state.failed) return ;
12659
12660 }
12661
12662 }
12663 catch (RecognitionException re) {
12664 reportError(re);
12665 recover(input,re);
12666 }
12667 finally {
12668
12669 restoreStackSize(stackSize);
12670
12671 }
12672 return ;
12673 }
12674 // $ANTLR end "rule__ALSIff__Group_1__0"
12675
12676
12677 // $ANTLR start "rule__ALSIff__Group_1__0__Impl"
12678 // InternalAlloyLanguage.g:4232:1: rule__ALSIff__Group_1__0__Impl : ( () ) ;
12679 public final void rule__ALSIff__Group_1__0__Impl() throws RecognitionException {
12680
12681 int stackSize = keepStackSize();
12682
12683 try {
12684 // InternalAlloyLanguage.g:4236:1: ( ( () ) )
12685 // InternalAlloyLanguage.g:4237:1: ( () )
12686 {
12687 // InternalAlloyLanguage.g:4237:1: ( () )
12688 // InternalAlloyLanguage.g:4238:1: ()
12689 {
12690 if ( state.backtracking==0 ) {
12691 before(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0());
12692 }
12693 // InternalAlloyLanguage.g:4239:1: ()
12694 // InternalAlloyLanguage.g:4241:1:
12695 {
12696 }
12697
12698 if ( state.backtracking==0 ) {
12699 after(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0());
12700 }
12701
12702 }
12703
12704
12705 }
12706
12707 }
12708 finally {
12709
12710 restoreStackSize(stackSize);
12711
12712 }
12713 return ;
12714 }
12715 // $ANTLR end "rule__ALSIff__Group_1__0__Impl"
12716
12717
12718 // $ANTLR start "rule__ALSIff__Group_1__1"
12719 // InternalAlloyLanguage.g:4251:1: rule__ALSIff__Group_1__1 : rule__ALSIff__Group_1__1__Impl rule__ALSIff__Group_1__2 ;
12720 public final void rule__ALSIff__Group_1__1() throws RecognitionException {
12721
12722 int stackSize = keepStackSize();
12723
12724 try {
12725 // InternalAlloyLanguage.g:4255:1: ( rule__ALSIff__Group_1__1__Impl rule__ALSIff__Group_1__2 )
12726 // InternalAlloyLanguage.g:4256:2: rule__ALSIff__Group_1__1__Impl rule__ALSIff__Group_1__2
12727 {
12728 pushFollow(FOLLOW_16);
12729 rule__ALSIff__Group_1__1__Impl();
12730
12731 state._fsp--;
12732 if (state.failed) return ;
12733 pushFollow(FOLLOW_2);
12734 rule__ALSIff__Group_1__2();
12735
12736 state._fsp--;
12737 if (state.failed) return ;
12738
12739 }
12740
12741 }
12742 catch (RecognitionException re) {
12743 reportError(re);
12744 recover(input,re);
12745 }
12746 finally {
12747
12748 restoreStackSize(stackSize);
12749
12750 }
12751 return ;
12752 }
12753 // $ANTLR end "rule__ALSIff__Group_1__1"
12754
12755
12756 // $ANTLR start "rule__ALSIff__Group_1__1__Impl"
12757 // InternalAlloyLanguage.g:4263:1: rule__ALSIff__Group_1__1__Impl : ( ( rule__ALSIff__Alternatives_1_1 ) ) ;
12758 public final void rule__ALSIff__Group_1__1__Impl() throws RecognitionException {
12759
12760 int stackSize = keepStackSize();
12761
12762 try {
12763 // InternalAlloyLanguage.g:4267:1: ( ( ( rule__ALSIff__Alternatives_1_1 ) ) )
12764 // InternalAlloyLanguage.g:4268:1: ( ( rule__ALSIff__Alternatives_1_1 ) )
12765 {
12766 // InternalAlloyLanguage.g:4268:1: ( ( rule__ALSIff__Alternatives_1_1 ) )
12767 // InternalAlloyLanguage.g:4269:1: ( rule__ALSIff__Alternatives_1_1 )
12768 {
12769 if ( state.backtracking==0 ) {
12770 before(grammarAccess.getALSIffAccess().getAlternatives_1_1());
12771 }
12772 // InternalAlloyLanguage.g:4270:1: ( rule__ALSIff__Alternatives_1_1 )
12773 // InternalAlloyLanguage.g:4270:2: rule__ALSIff__Alternatives_1_1
12774 {
12775 pushFollow(FOLLOW_2);
12776 rule__ALSIff__Alternatives_1_1();
12777
12778 state._fsp--;
12779 if (state.failed) return ;
12780
12781 }
12782
12783 if ( state.backtracking==0 ) {
12784 after(grammarAccess.getALSIffAccess().getAlternatives_1_1());
12785 }
12786
12787 }
12788
12789
12790 }
12791
12792 }
12793 catch (RecognitionException re) {
12794 reportError(re);
12795 recover(input,re);
12796 }
12797 finally {
12798
12799 restoreStackSize(stackSize);
12800
12801 }
12802 return ;
12803 }
12804 // $ANTLR end "rule__ALSIff__Group_1__1__Impl"
12805
12806
12807 // $ANTLR start "rule__ALSIff__Group_1__2"
12808 // InternalAlloyLanguage.g:4280:1: rule__ALSIff__Group_1__2 : rule__ALSIff__Group_1__2__Impl ;
12809 public final void rule__ALSIff__Group_1__2() throws RecognitionException {
12810
12811 int stackSize = keepStackSize();
12812
12813 try {
12814 // InternalAlloyLanguage.g:4284:1: ( rule__ALSIff__Group_1__2__Impl )
12815 // InternalAlloyLanguage.g:4285:2: rule__ALSIff__Group_1__2__Impl
12816 {
12817 pushFollow(FOLLOW_2);
12818 rule__ALSIff__Group_1__2__Impl();
12819
12820 state._fsp--;
12821 if (state.failed) return ;
12822
12823 }
12824
12825 }
12826 catch (RecognitionException re) {
12827 reportError(re);
12828 recover(input,re);
12829 }
12830 finally {
12831
12832 restoreStackSize(stackSize);
12833
12834 }
12835 return ;
12836 }
12837 // $ANTLR end "rule__ALSIff__Group_1__2"
12838
12839
12840 // $ANTLR start "rule__ALSIff__Group_1__2__Impl"
12841 // InternalAlloyLanguage.g:4291:1: rule__ALSIff__Group_1__2__Impl : ( ( rule__ALSIff__RightOperandAssignment_1_2 ) ) ;
12842 public final void rule__ALSIff__Group_1__2__Impl() throws RecognitionException {
12843
12844 int stackSize = keepStackSize();
12845
12846 try {
12847 // InternalAlloyLanguage.g:4295:1: ( ( ( rule__ALSIff__RightOperandAssignment_1_2 ) ) )
12848 // InternalAlloyLanguage.g:4296:1: ( ( rule__ALSIff__RightOperandAssignment_1_2 ) )
12849 {
12850 // InternalAlloyLanguage.g:4296:1: ( ( rule__ALSIff__RightOperandAssignment_1_2 ) )
12851 // InternalAlloyLanguage.g:4297:1: ( rule__ALSIff__RightOperandAssignment_1_2 )
12852 {
12853 if ( state.backtracking==0 ) {
12854 before(grammarAccess.getALSIffAccess().getRightOperandAssignment_1_2());
12855 }
12856 // InternalAlloyLanguage.g:4298:1: ( rule__ALSIff__RightOperandAssignment_1_2 )
12857 // InternalAlloyLanguage.g:4298:2: rule__ALSIff__RightOperandAssignment_1_2
12858 {
12859 pushFollow(FOLLOW_2);
12860 rule__ALSIff__RightOperandAssignment_1_2();
12861
12862 state._fsp--;
12863 if (state.failed) return ;
12864
12865 }
12866
12867 if ( state.backtracking==0 ) {
12868 after(grammarAccess.getALSIffAccess().getRightOperandAssignment_1_2());
12869 }
12870
12871 }
12872
12873
12874 }
12875
12876 }
12877 catch (RecognitionException re) {
12878 reportError(re);
12879 recover(input,re);
12880 }
12881 finally {
12882
12883 restoreStackSize(stackSize);
12884
12885 }
12886 return ;
12887 }
12888 // $ANTLR end "rule__ALSIff__Group_1__2__Impl"
12889
12890
12891 // $ANTLR start "rule__ALSImpl__Group__0"
12892 // InternalAlloyLanguage.g:4314:1: rule__ALSImpl__Group__0 : rule__ALSImpl__Group__0__Impl rule__ALSImpl__Group__1 ;
12893 public final void rule__ALSImpl__Group__0() throws RecognitionException {
12894
12895 int stackSize = keepStackSize();
12896
12897 try {
12898 // InternalAlloyLanguage.g:4318:1: ( rule__ALSImpl__Group__0__Impl rule__ALSImpl__Group__1 )
12899 // InternalAlloyLanguage.g:4319:2: rule__ALSImpl__Group__0__Impl rule__ALSImpl__Group__1
12900 {
12901 pushFollow(FOLLOW_27);
12902 rule__ALSImpl__Group__0__Impl();
12903
12904 state._fsp--;
12905 if (state.failed) return ;
12906 pushFollow(FOLLOW_2);
12907 rule__ALSImpl__Group__1();
12908
12909 state._fsp--;
12910 if (state.failed) return ;
12911
12912 }
12913
12914 }
12915 catch (RecognitionException re) {
12916 reportError(re);
12917 recover(input,re);
12918 }
12919 finally {
12920
12921 restoreStackSize(stackSize);
12922
12923 }
12924 return ;
12925 }
12926 // $ANTLR end "rule__ALSImpl__Group__0"
12927
12928
12929 // $ANTLR start "rule__ALSImpl__Group__0__Impl"
12930 // InternalAlloyLanguage.g:4326:1: rule__ALSImpl__Group__0__Impl : ( ruleALSAnd ) ;
12931 public final void rule__ALSImpl__Group__0__Impl() throws RecognitionException {
12932
12933 int stackSize = keepStackSize();
12934
12935 try {
12936 // InternalAlloyLanguage.g:4330:1: ( ( ruleALSAnd ) )
12937 // InternalAlloyLanguage.g:4331:1: ( ruleALSAnd )
12938 {
12939 // InternalAlloyLanguage.g:4331:1: ( ruleALSAnd )
12940 // InternalAlloyLanguage.g:4332:1: ruleALSAnd
12941 {
12942 if ( state.backtracking==0 ) {
12943 before(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0());
12944 }
12945 pushFollow(FOLLOW_2);
12946 ruleALSAnd();
12947
12948 state._fsp--;
12949 if (state.failed) return ;
12950 if ( state.backtracking==0 ) {
12951 after(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0());
12952 }
12953
12954 }
12955
12956
12957 }
12958
12959 }
12960 catch (RecognitionException re) {
12961 reportError(re);
12962 recover(input,re);
12963 }
12964 finally {
12965
12966 restoreStackSize(stackSize);
12967
12968 }
12969 return ;
12970 }
12971 // $ANTLR end "rule__ALSImpl__Group__0__Impl"
12972
12973
12974 // $ANTLR start "rule__ALSImpl__Group__1"
12975 // InternalAlloyLanguage.g:4343:1: rule__ALSImpl__Group__1 : rule__ALSImpl__Group__1__Impl ;
12976 public final void rule__ALSImpl__Group__1() throws RecognitionException {
12977
12978 int stackSize = keepStackSize();
12979
12980 try {
12981 // InternalAlloyLanguage.g:4347:1: ( rule__ALSImpl__Group__1__Impl )
12982 // InternalAlloyLanguage.g:4348:2: rule__ALSImpl__Group__1__Impl
12983 {
12984 pushFollow(FOLLOW_2);
12985 rule__ALSImpl__Group__1__Impl();
12986
12987 state._fsp--;
12988 if (state.failed) return ;
12989
12990 }
12991
12992 }
12993 catch (RecognitionException re) {
12994 reportError(re);
12995 recover(input,re);
12996 }
12997 finally {
12998
12999 restoreStackSize(stackSize);
13000
13001 }
13002 return ;
13003 }
13004 // $ANTLR end "rule__ALSImpl__Group__1"
13005
13006
13007 // $ANTLR start "rule__ALSImpl__Group__1__Impl"
13008 // InternalAlloyLanguage.g:4354:1: rule__ALSImpl__Group__1__Impl : ( ( rule__ALSImpl__Group_1__0 )? ) ;
13009 public final void rule__ALSImpl__Group__1__Impl() throws RecognitionException {
13010
13011 int stackSize = keepStackSize();
13012
13013 try {
13014 // InternalAlloyLanguage.g:4358:1: ( ( ( rule__ALSImpl__Group_1__0 )? ) )
13015 // InternalAlloyLanguage.g:4359:1: ( ( rule__ALSImpl__Group_1__0 )? )
13016 {
13017 // InternalAlloyLanguage.g:4359:1: ( ( rule__ALSImpl__Group_1__0 )? )
13018 // InternalAlloyLanguage.g:4360:1: ( rule__ALSImpl__Group_1__0 )?
13019 {
13020 if ( state.backtracking==0 ) {
13021 before(grammarAccess.getALSImplAccess().getGroup_1());
13022 }
13023 // InternalAlloyLanguage.g:4361:1: ( rule__ALSImpl__Group_1__0 )?
13024 int alt32=2;
13025 int LA32_0 = input.LA(1);
13026
13027 if ( ((LA32_0>=15 && LA32_0<=16)) ) {
13028 alt32=1;
13029 }
13030 switch (alt32) {
13031 case 1 :
13032 // InternalAlloyLanguage.g:4361:2: rule__ALSImpl__Group_1__0
13033 {
13034 pushFollow(FOLLOW_2);
13035 rule__ALSImpl__Group_1__0();
13036
13037 state._fsp--;
13038 if (state.failed) return ;
13039
13040 }
13041 break;
13042
13043 }
13044
13045 if ( state.backtracking==0 ) {
13046 after(grammarAccess.getALSImplAccess().getGroup_1());
13047 }
13048
13049 }
13050
13051
13052 }
13053
13054 }
13055 catch (RecognitionException re) {
13056 reportError(re);
13057 recover(input,re);
13058 }
13059 finally {
13060
13061 restoreStackSize(stackSize);
13062
13063 }
13064 return ;
13065 }
13066 // $ANTLR end "rule__ALSImpl__Group__1__Impl"
13067
13068
13069 // $ANTLR start "rule__ALSImpl__Group_1__0"
13070 // InternalAlloyLanguage.g:4375:1: rule__ALSImpl__Group_1__0 : rule__ALSImpl__Group_1__0__Impl rule__ALSImpl__Group_1__1 ;
13071 public final void rule__ALSImpl__Group_1__0() throws RecognitionException {
13072
13073 int stackSize = keepStackSize();
13074
13075 try {
13076 // InternalAlloyLanguage.g:4379:1: ( rule__ALSImpl__Group_1__0__Impl rule__ALSImpl__Group_1__1 )
13077 // InternalAlloyLanguage.g:4380:2: rule__ALSImpl__Group_1__0__Impl rule__ALSImpl__Group_1__1
13078 {
13079 pushFollow(FOLLOW_27);
13080 rule__ALSImpl__Group_1__0__Impl();
13081
13082 state._fsp--;
13083 if (state.failed) return ;
13084 pushFollow(FOLLOW_2);
13085 rule__ALSImpl__Group_1__1();
13086
13087 state._fsp--;
13088 if (state.failed) return ;
13089
13090 }
13091
13092 }
13093 catch (RecognitionException re) {
13094 reportError(re);
13095 recover(input,re);
13096 }
13097 finally {
13098
13099 restoreStackSize(stackSize);
13100
13101 }
13102 return ;
13103 }
13104 // $ANTLR end "rule__ALSImpl__Group_1__0"
13105
13106
13107 // $ANTLR start "rule__ALSImpl__Group_1__0__Impl"
13108 // InternalAlloyLanguage.g:4387:1: rule__ALSImpl__Group_1__0__Impl : ( () ) ;
13109 public final void rule__ALSImpl__Group_1__0__Impl() throws RecognitionException {
13110
13111 int stackSize = keepStackSize();
13112
13113 try {
13114 // InternalAlloyLanguage.g:4391:1: ( ( () ) )
13115 // InternalAlloyLanguage.g:4392:1: ( () )
13116 {
13117 // InternalAlloyLanguage.g:4392:1: ( () )
13118 // InternalAlloyLanguage.g:4393:1: ()
13119 {
13120 if ( state.backtracking==0 ) {
13121 before(grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0());
13122 }
13123 // InternalAlloyLanguage.g:4394:1: ()
13124 // InternalAlloyLanguage.g:4396:1:
13125 {
13126 }
13127
13128 if ( state.backtracking==0 ) {
13129 after(grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0());
13130 }
13131
13132 }
13133
13134
13135 }
13136
13137 }
13138 finally {
13139
13140 restoreStackSize(stackSize);
13141
13142 }
13143 return ;
13144 }
13145 // $ANTLR end "rule__ALSImpl__Group_1__0__Impl"
13146
13147
13148 // $ANTLR start "rule__ALSImpl__Group_1__1"
13149 // InternalAlloyLanguage.g:4406:1: rule__ALSImpl__Group_1__1 : rule__ALSImpl__Group_1__1__Impl rule__ALSImpl__Group_1__2 ;
13150 public final void rule__ALSImpl__Group_1__1() throws RecognitionException {
13151
13152 int stackSize = keepStackSize();
13153
13154 try {
13155 // InternalAlloyLanguage.g:4410:1: ( rule__ALSImpl__Group_1__1__Impl rule__ALSImpl__Group_1__2 )
13156 // InternalAlloyLanguage.g:4411:2: rule__ALSImpl__Group_1__1__Impl rule__ALSImpl__Group_1__2
13157 {
13158 pushFollow(FOLLOW_16);
13159 rule__ALSImpl__Group_1__1__Impl();
13160
13161 state._fsp--;
13162 if (state.failed) return ;
13163 pushFollow(FOLLOW_2);
13164 rule__ALSImpl__Group_1__2();
13165
13166 state._fsp--;
13167 if (state.failed) return ;
13168
13169 }
13170
13171 }
13172 catch (RecognitionException re) {
13173 reportError(re);
13174 recover(input,re);
13175 }
13176 finally {
13177
13178 restoreStackSize(stackSize);
13179
13180 }
13181 return ;
13182 }
13183 // $ANTLR end "rule__ALSImpl__Group_1__1"
13184
13185
13186 // $ANTLR start "rule__ALSImpl__Group_1__1__Impl"
13187 // InternalAlloyLanguage.g:4418:1: rule__ALSImpl__Group_1__1__Impl : ( ( rule__ALSImpl__Alternatives_1_1 ) ) ;
13188 public final void rule__ALSImpl__Group_1__1__Impl() throws RecognitionException {
13189
13190 int stackSize = keepStackSize();
13191
13192 try {
13193 // InternalAlloyLanguage.g:4422:1: ( ( ( rule__ALSImpl__Alternatives_1_1 ) ) )
13194 // InternalAlloyLanguage.g:4423:1: ( ( rule__ALSImpl__Alternatives_1_1 ) )
13195 {
13196 // InternalAlloyLanguage.g:4423:1: ( ( rule__ALSImpl__Alternatives_1_1 ) )
13197 // InternalAlloyLanguage.g:4424:1: ( rule__ALSImpl__Alternatives_1_1 )
13198 {
13199 if ( state.backtracking==0 ) {
13200 before(grammarAccess.getALSImplAccess().getAlternatives_1_1());
13201 }
13202 // InternalAlloyLanguage.g:4425:1: ( rule__ALSImpl__Alternatives_1_1 )
13203 // InternalAlloyLanguage.g:4425:2: rule__ALSImpl__Alternatives_1_1
13204 {
13205 pushFollow(FOLLOW_2);
13206 rule__ALSImpl__Alternatives_1_1();
13207
13208 state._fsp--;
13209 if (state.failed) return ;
13210
13211 }
13212
13213 if ( state.backtracking==0 ) {
13214 after(grammarAccess.getALSImplAccess().getAlternatives_1_1());
13215 }
13216
13217 }
13218
13219
13220 }
13221
13222 }
13223 catch (RecognitionException re) {
13224 reportError(re);
13225 recover(input,re);
13226 }
13227 finally {
13228
13229 restoreStackSize(stackSize);
13230
13231 }
13232 return ;
13233 }
13234 // $ANTLR end "rule__ALSImpl__Group_1__1__Impl"
13235
13236
13237 // $ANTLR start "rule__ALSImpl__Group_1__2"
13238 // InternalAlloyLanguage.g:4435:1: rule__ALSImpl__Group_1__2 : rule__ALSImpl__Group_1__2__Impl rule__ALSImpl__Group_1__3 ;
13239 public final void rule__ALSImpl__Group_1__2() throws RecognitionException {
13240
13241 int stackSize = keepStackSize();
13242
13243 try {
13244 // InternalAlloyLanguage.g:4439:1: ( rule__ALSImpl__Group_1__2__Impl rule__ALSImpl__Group_1__3 )
13245 // InternalAlloyLanguage.g:4440:2: rule__ALSImpl__Group_1__2__Impl rule__ALSImpl__Group_1__3
13246 {
13247 pushFollow(FOLLOW_28);
13248 rule__ALSImpl__Group_1__2__Impl();
13249
13250 state._fsp--;
13251 if (state.failed) return ;
13252 pushFollow(FOLLOW_2);
13253 rule__ALSImpl__Group_1__3();
13254
13255 state._fsp--;
13256 if (state.failed) return ;
13257
13258 }
13259
13260 }
13261 catch (RecognitionException re) {
13262 reportError(re);
13263 recover(input,re);
13264 }
13265 finally {
13266
13267 restoreStackSize(stackSize);
13268
13269 }
13270 return ;
13271 }
13272 // $ANTLR end "rule__ALSImpl__Group_1__2"
13273
13274
13275 // $ANTLR start "rule__ALSImpl__Group_1__2__Impl"
13276 // InternalAlloyLanguage.g:4447:1: rule__ALSImpl__Group_1__2__Impl : ( ( rule__ALSImpl__RightOperandAssignment_1_2 ) ) ;
13277 public final void rule__ALSImpl__Group_1__2__Impl() throws RecognitionException {
13278
13279 int stackSize = keepStackSize();
13280
13281 try {
13282 // InternalAlloyLanguage.g:4451:1: ( ( ( rule__ALSImpl__RightOperandAssignment_1_2 ) ) )
13283 // InternalAlloyLanguage.g:4452:1: ( ( rule__ALSImpl__RightOperandAssignment_1_2 ) )
13284 {
13285 // InternalAlloyLanguage.g:4452:1: ( ( rule__ALSImpl__RightOperandAssignment_1_2 ) )
13286 // InternalAlloyLanguage.g:4453:1: ( rule__ALSImpl__RightOperandAssignment_1_2 )
13287 {
13288 if ( state.backtracking==0 ) {
13289 before(grammarAccess.getALSImplAccess().getRightOperandAssignment_1_2());
13290 }
13291 // InternalAlloyLanguage.g:4454:1: ( rule__ALSImpl__RightOperandAssignment_1_2 )
13292 // InternalAlloyLanguage.g:4454:2: rule__ALSImpl__RightOperandAssignment_1_2
13293 {
13294 pushFollow(FOLLOW_2);
13295 rule__ALSImpl__RightOperandAssignment_1_2();
13296
13297 state._fsp--;
13298 if (state.failed) return ;
13299
13300 }
13301
13302 if ( state.backtracking==0 ) {
13303 after(grammarAccess.getALSImplAccess().getRightOperandAssignment_1_2());
13304 }
13305
13306 }
13307
13308
13309 }
13310
13311 }
13312 catch (RecognitionException re) {
13313 reportError(re);
13314 recover(input,re);
13315 }
13316 finally {
13317
13318 restoreStackSize(stackSize);
13319
13320 }
13321 return ;
13322 }
13323 // $ANTLR end "rule__ALSImpl__Group_1__2__Impl"
13324
13325
13326 // $ANTLR start "rule__ALSImpl__Group_1__3"
13327 // InternalAlloyLanguage.g:4464:1: rule__ALSImpl__Group_1__3 : rule__ALSImpl__Group_1__3__Impl ;
13328 public final void rule__ALSImpl__Group_1__3() throws RecognitionException {
13329
13330 int stackSize = keepStackSize();
13331
13332 try {
13333 // InternalAlloyLanguage.g:4468:1: ( rule__ALSImpl__Group_1__3__Impl )
13334 // InternalAlloyLanguage.g:4469:2: rule__ALSImpl__Group_1__3__Impl
13335 {
13336 pushFollow(FOLLOW_2);
13337 rule__ALSImpl__Group_1__3__Impl();
13338
13339 state._fsp--;
13340 if (state.failed) return ;
13341
13342 }
13343
13344 }
13345 catch (RecognitionException re) {
13346 reportError(re);
13347 recover(input,re);
13348 }
13349 finally {
13350
13351 restoreStackSize(stackSize);
13352
13353 }
13354 return ;
13355 }
13356 // $ANTLR end "rule__ALSImpl__Group_1__3"
13357
13358
13359 // $ANTLR start "rule__ALSImpl__Group_1__3__Impl"
13360 // InternalAlloyLanguage.g:4475:1: rule__ALSImpl__Group_1__3__Impl : ( ( rule__ALSImpl__Group_1_3__0 )? ) ;
13361 public final void rule__ALSImpl__Group_1__3__Impl() throws RecognitionException {
13362
13363 int stackSize = keepStackSize();
13364
13365 try {
13366 // InternalAlloyLanguage.g:4479:1: ( ( ( rule__ALSImpl__Group_1_3__0 )? ) )
13367 // InternalAlloyLanguage.g:4480:1: ( ( rule__ALSImpl__Group_1_3__0 )? )
13368 {
13369 // InternalAlloyLanguage.g:4480:1: ( ( rule__ALSImpl__Group_1_3__0 )? )
13370 // InternalAlloyLanguage.g:4481:1: ( rule__ALSImpl__Group_1_3__0 )?
13371 {
13372 if ( state.backtracking==0 ) {
13373 before(grammarAccess.getALSImplAccess().getGroup_1_3());
13374 }
13375 // InternalAlloyLanguage.g:4482:1: ( rule__ALSImpl__Group_1_3__0 )?
13376 int alt33=2;
13377 int LA33_0 = input.LA(1);
13378
13379 if ( (LA33_0==46) ) {
13380 alt33=1;
13381 }
13382 switch (alt33) {
13383 case 1 :
13384 // InternalAlloyLanguage.g:4482:2: rule__ALSImpl__Group_1_3__0
13385 {
13386 pushFollow(FOLLOW_2);
13387 rule__ALSImpl__Group_1_3__0();
13388
13389 state._fsp--;
13390 if (state.failed) return ;
13391
13392 }
13393 break;
13394
13395 }
13396
13397 if ( state.backtracking==0 ) {
13398 after(grammarAccess.getALSImplAccess().getGroup_1_3());
13399 }
13400
13401 }
13402
13403
13404 }
13405
13406 }
13407 catch (RecognitionException re) {
13408 reportError(re);
13409 recover(input,re);
13410 }
13411 finally {
13412
13413 restoreStackSize(stackSize);
13414
13415 }
13416 return ;
13417 }
13418 // $ANTLR end "rule__ALSImpl__Group_1__3__Impl"
13419
13420
13421 // $ANTLR start "rule__ALSImpl__Group_1_3__0"
13422 // InternalAlloyLanguage.g:4500:1: rule__ALSImpl__Group_1_3__0 : rule__ALSImpl__Group_1_3__0__Impl rule__ALSImpl__Group_1_3__1 ;
13423 public final void rule__ALSImpl__Group_1_3__0() throws RecognitionException {
13424
13425 int stackSize = keepStackSize();
13426
13427 try {
13428 // InternalAlloyLanguage.g:4504:1: ( rule__ALSImpl__Group_1_3__0__Impl rule__ALSImpl__Group_1_3__1 )
13429 // InternalAlloyLanguage.g:4505:2: rule__ALSImpl__Group_1_3__0__Impl rule__ALSImpl__Group_1_3__1
13430 {
13431 pushFollow(FOLLOW_16);
13432 rule__ALSImpl__Group_1_3__0__Impl();
13433
13434 state._fsp--;
13435 if (state.failed) return ;
13436 pushFollow(FOLLOW_2);
13437 rule__ALSImpl__Group_1_3__1();
13438
13439 state._fsp--;
13440 if (state.failed) return ;
13441
13442 }
13443
13444 }
13445 catch (RecognitionException re) {
13446 reportError(re);
13447 recover(input,re);
13448 }
13449 finally {
13450
13451 restoreStackSize(stackSize);
13452
13453 }
13454 return ;
13455 }
13456 // $ANTLR end "rule__ALSImpl__Group_1_3__0"
13457
13458
13459 // $ANTLR start "rule__ALSImpl__Group_1_3__0__Impl"
13460 // InternalAlloyLanguage.g:4512:1: rule__ALSImpl__Group_1_3__0__Impl : ( 'else' ) ;
13461 public final void rule__ALSImpl__Group_1_3__0__Impl() throws RecognitionException {
13462
13463 int stackSize = keepStackSize();
13464
13465 try {
13466 // InternalAlloyLanguage.g:4516:1: ( ( 'else' ) )
13467 // InternalAlloyLanguage.g:4517:1: ( 'else' )
13468 {
13469 // InternalAlloyLanguage.g:4517:1: ( 'else' )
13470 // InternalAlloyLanguage.g:4518:1: 'else'
13471 {
13472 if ( state.backtracking==0 ) {
13473 before(grammarAccess.getALSImplAccess().getElseKeyword_1_3_0());
13474 }
13475 match(input,46,FOLLOW_2); if (state.failed) return ;
13476 if ( state.backtracking==0 ) {
13477 after(grammarAccess.getALSImplAccess().getElseKeyword_1_3_0());
13478 }
13479
13480 }
13481
13482
13483 }
13484
13485 }
13486 catch (RecognitionException re) {
13487 reportError(re);
13488 recover(input,re);
13489 }
13490 finally {
13491
13492 restoreStackSize(stackSize);
13493
13494 }
13495 return ;
13496 }
13497 // $ANTLR end "rule__ALSImpl__Group_1_3__0__Impl"
13498
13499
13500 // $ANTLR start "rule__ALSImpl__Group_1_3__1"
13501 // InternalAlloyLanguage.g:4531:1: rule__ALSImpl__Group_1_3__1 : rule__ALSImpl__Group_1_3__1__Impl ;
13502 public final void rule__ALSImpl__Group_1_3__1() throws RecognitionException {
13503
13504 int stackSize = keepStackSize();
13505
13506 try {
13507 // InternalAlloyLanguage.g:4535:1: ( rule__ALSImpl__Group_1_3__1__Impl )
13508 // InternalAlloyLanguage.g:4536:2: rule__ALSImpl__Group_1_3__1__Impl
13509 {
13510 pushFollow(FOLLOW_2);
13511 rule__ALSImpl__Group_1_3__1__Impl();
13512
13513 state._fsp--;
13514 if (state.failed) return ;
13515
13516 }
13517
13518 }
13519 catch (RecognitionException re) {
13520 reportError(re);
13521 recover(input,re);
13522 }
13523 finally {
13524
13525 restoreStackSize(stackSize);
13526
13527 }
13528 return ;
13529 }
13530 // $ANTLR end "rule__ALSImpl__Group_1_3__1"
13531
13532
13533 // $ANTLR start "rule__ALSImpl__Group_1_3__1__Impl"
13534 // InternalAlloyLanguage.g:4542:1: rule__ALSImpl__Group_1_3__1__Impl : ( ( rule__ALSImpl__ElseOperandAssignment_1_3_1 ) ) ;
13535 public final void rule__ALSImpl__Group_1_3__1__Impl() throws RecognitionException {
13536
13537 int stackSize = keepStackSize();
13538
13539 try {
13540 // InternalAlloyLanguage.g:4546:1: ( ( ( rule__ALSImpl__ElseOperandAssignment_1_3_1 ) ) )
13541 // InternalAlloyLanguage.g:4547:1: ( ( rule__ALSImpl__ElseOperandAssignment_1_3_1 ) )
13542 {
13543 // InternalAlloyLanguage.g:4547:1: ( ( rule__ALSImpl__ElseOperandAssignment_1_3_1 ) )
13544 // InternalAlloyLanguage.g:4548:1: ( rule__ALSImpl__ElseOperandAssignment_1_3_1 )
13545 {
13546 if ( state.backtracking==0 ) {
13547 before(grammarAccess.getALSImplAccess().getElseOperandAssignment_1_3_1());
13548 }
13549 // InternalAlloyLanguage.g:4549:1: ( rule__ALSImpl__ElseOperandAssignment_1_3_1 )
13550 // InternalAlloyLanguage.g:4549:2: rule__ALSImpl__ElseOperandAssignment_1_3_1
13551 {
13552 pushFollow(FOLLOW_2);
13553 rule__ALSImpl__ElseOperandAssignment_1_3_1();
13554
13555 state._fsp--;
13556 if (state.failed) return ;
13557
13558 }
13559
13560 if ( state.backtracking==0 ) {
13561 after(grammarAccess.getALSImplAccess().getElseOperandAssignment_1_3_1());
13562 }
13563
13564 }
13565
13566
13567 }
13568
13569 }
13570 catch (RecognitionException re) {
13571 reportError(re);
13572 recover(input,re);
13573 }
13574 finally {
13575
13576 restoreStackSize(stackSize);
13577
13578 }
13579 return ;
13580 }
13581 // $ANTLR end "rule__ALSImpl__Group_1_3__1__Impl"
13582
13583
13584 // $ANTLR start "rule__ALSAnd__Group__0"
13585 // InternalAlloyLanguage.g:4563:1: rule__ALSAnd__Group__0 : rule__ALSAnd__Group__0__Impl rule__ALSAnd__Group__1 ;
13586 public final void rule__ALSAnd__Group__0() throws RecognitionException {
13587
13588 int stackSize = keepStackSize();
13589
13590 try {
13591 // InternalAlloyLanguage.g:4567:1: ( rule__ALSAnd__Group__0__Impl rule__ALSAnd__Group__1 )
13592 // InternalAlloyLanguage.g:4568:2: rule__ALSAnd__Group__0__Impl rule__ALSAnd__Group__1
13593 {
13594 pushFollow(FOLLOW_29);
13595 rule__ALSAnd__Group__0__Impl();
13596
13597 state._fsp--;
13598 if (state.failed) return ;
13599 pushFollow(FOLLOW_2);
13600 rule__ALSAnd__Group__1();
13601
13602 state._fsp--;
13603 if (state.failed) return ;
13604
13605 }
13606
13607 }
13608 catch (RecognitionException re) {
13609 reportError(re);
13610 recover(input,re);
13611 }
13612 finally {
13613
13614 restoreStackSize(stackSize);
13615
13616 }
13617 return ;
13618 }
13619 // $ANTLR end "rule__ALSAnd__Group__0"
13620
13621
13622 // $ANTLR start "rule__ALSAnd__Group__0__Impl"
13623 // InternalAlloyLanguage.g:4575:1: rule__ALSAnd__Group__0__Impl : ( ruleALSComparison ) ;
13624 public final void rule__ALSAnd__Group__0__Impl() throws RecognitionException {
13625
13626 int stackSize = keepStackSize();
13627
13628 try {
13629 // InternalAlloyLanguage.g:4579:1: ( ( ruleALSComparison ) )
13630 // InternalAlloyLanguage.g:4580:1: ( ruleALSComparison )
13631 {
13632 // InternalAlloyLanguage.g:4580:1: ( ruleALSComparison )
13633 // InternalAlloyLanguage.g:4581:1: ruleALSComparison
13634 {
13635 if ( state.backtracking==0 ) {
13636 before(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0());
13637 }
13638 pushFollow(FOLLOW_2);
13639 ruleALSComparison();
13640
13641 state._fsp--;
13642 if (state.failed) return ;
13643 if ( state.backtracking==0 ) {
13644 after(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0());
13645 }
13646
13647 }
13648
13649
13650 }
13651
13652 }
13653 catch (RecognitionException re) {
13654 reportError(re);
13655 recover(input,re);
13656 }
13657 finally {
13658
13659 restoreStackSize(stackSize);
13660
13661 }
13662 return ;
13663 }
13664 // $ANTLR end "rule__ALSAnd__Group__0__Impl"
13665
13666
13667 // $ANTLR start "rule__ALSAnd__Group__1"
13668 // InternalAlloyLanguage.g:4592:1: rule__ALSAnd__Group__1 : rule__ALSAnd__Group__1__Impl ;
13669 public final void rule__ALSAnd__Group__1() throws RecognitionException {
13670
13671 int stackSize = keepStackSize();
13672
13673 try {
13674 // InternalAlloyLanguage.g:4596:1: ( rule__ALSAnd__Group__1__Impl )
13675 // InternalAlloyLanguage.g:4597:2: rule__ALSAnd__Group__1__Impl
13676 {
13677 pushFollow(FOLLOW_2);
13678 rule__ALSAnd__Group__1__Impl();
13679
13680 state._fsp--;
13681 if (state.failed) return ;
13682
13683 }
13684
13685 }
13686 catch (RecognitionException re) {
13687 reportError(re);
13688 recover(input,re);
13689 }
13690 finally {
13691
13692 restoreStackSize(stackSize);
13693
13694 }
13695 return ;
13696 }
13697 // $ANTLR end "rule__ALSAnd__Group__1"
13698
13699
13700 // $ANTLR start "rule__ALSAnd__Group__1__Impl"
13701 // InternalAlloyLanguage.g:4603:1: rule__ALSAnd__Group__1__Impl : ( ( rule__ALSAnd__Group_1__0 )? ) ;
13702 public final void rule__ALSAnd__Group__1__Impl() throws RecognitionException {
13703
13704 int stackSize = keepStackSize();
13705
13706 try {
13707 // InternalAlloyLanguage.g:4607:1: ( ( ( rule__ALSAnd__Group_1__0 )? ) )
13708 // InternalAlloyLanguage.g:4608:1: ( ( rule__ALSAnd__Group_1__0 )? )
13709 {
13710 // InternalAlloyLanguage.g:4608:1: ( ( rule__ALSAnd__Group_1__0 )? )
13711 // InternalAlloyLanguage.g:4609:1: ( rule__ALSAnd__Group_1__0 )?
13712 {
13713 if ( state.backtracking==0 ) {
13714 before(grammarAccess.getALSAndAccess().getGroup_1());
13715 }
13716 // InternalAlloyLanguage.g:4610:1: ( rule__ALSAnd__Group_1__0 )?
13717 int alt34=2;
13718 int LA34_0 = input.LA(1);
13719
13720 if ( ((LA34_0>=17 && LA34_0<=18)) ) {
13721 alt34=1;
13722 }
13723 switch (alt34) {
13724 case 1 :
13725 // InternalAlloyLanguage.g:4610:2: rule__ALSAnd__Group_1__0
13726 {
13727 pushFollow(FOLLOW_2);
13728 rule__ALSAnd__Group_1__0();
13729
13730 state._fsp--;
13731 if (state.failed) return ;
13732
13733 }
13734 break;
13735
13736 }
13737
13738 if ( state.backtracking==0 ) {
13739 after(grammarAccess.getALSAndAccess().getGroup_1());
13740 }
13741
13742 }
13743
13744
13745 }
13746
13747 }
13748 catch (RecognitionException re) {
13749 reportError(re);
13750 recover(input,re);
13751 }
13752 finally {
13753
13754 restoreStackSize(stackSize);
13755
13756 }
13757 return ;
13758 }
13759 // $ANTLR end "rule__ALSAnd__Group__1__Impl"
13760
13761
13762 // $ANTLR start "rule__ALSAnd__Group_1__0"
13763 // InternalAlloyLanguage.g:4624:1: rule__ALSAnd__Group_1__0 : rule__ALSAnd__Group_1__0__Impl rule__ALSAnd__Group_1__1 ;
13764 public final void rule__ALSAnd__Group_1__0() throws RecognitionException {
13765
13766 int stackSize = keepStackSize();
13767
13768 try {
13769 // InternalAlloyLanguage.g:4628:1: ( rule__ALSAnd__Group_1__0__Impl rule__ALSAnd__Group_1__1 )
13770 // InternalAlloyLanguage.g:4629:2: rule__ALSAnd__Group_1__0__Impl rule__ALSAnd__Group_1__1
13771 {
13772 pushFollow(FOLLOW_29);
13773 rule__ALSAnd__Group_1__0__Impl();
13774
13775 state._fsp--;
13776 if (state.failed) return ;
13777 pushFollow(FOLLOW_2);
13778 rule__ALSAnd__Group_1__1();
13779
13780 state._fsp--;
13781 if (state.failed) return ;
13782
13783 }
13784
13785 }
13786 catch (RecognitionException re) {
13787 reportError(re);
13788 recover(input,re);
13789 }
13790 finally {
13791
13792 restoreStackSize(stackSize);
13793
13794 }
13795 return ;
13796 }
13797 // $ANTLR end "rule__ALSAnd__Group_1__0"
13798
13799
13800 // $ANTLR start "rule__ALSAnd__Group_1__0__Impl"
13801 // InternalAlloyLanguage.g:4636:1: rule__ALSAnd__Group_1__0__Impl : ( () ) ;
13802 public final void rule__ALSAnd__Group_1__0__Impl() throws RecognitionException {
13803
13804 int stackSize = keepStackSize();
13805
13806 try {
13807 // InternalAlloyLanguage.g:4640:1: ( ( () ) )
13808 // InternalAlloyLanguage.g:4641:1: ( () )
13809 {
13810 // InternalAlloyLanguage.g:4641:1: ( () )
13811 // InternalAlloyLanguage.g:4642:1: ()
13812 {
13813 if ( state.backtracking==0 ) {
13814 before(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0());
13815 }
13816 // InternalAlloyLanguage.g:4643:1: ()
13817 // InternalAlloyLanguage.g:4645:1:
13818 {
13819 }
13820
13821 if ( state.backtracking==0 ) {
13822 after(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0());
13823 }
13824
13825 }
13826
13827
13828 }
13829
13830 }
13831 finally {
13832
13833 restoreStackSize(stackSize);
13834
13835 }
13836 return ;
13837 }
13838 // $ANTLR end "rule__ALSAnd__Group_1__0__Impl"
13839
13840
13841 // $ANTLR start "rule__ALSAnd__Group_1__1"
13842 // InternalAlloyLanguage.g:4655:1: rule__ALSAnd__Group_1__1 : rule__ALSAnd__Group_1__1__Impl rule__ALSAnd__Group_1__2 ;
13843 public final void rule__ALSAnd__Group_1__1() throws RecognitionException {
13844
13845 int stackSize = keepStackSize();
13846
13847 try {
13848 // InternalAlloyLanguage.g:4659:1: ( rule__ALSAnd__Group_1__1__Impl rule__ALSAnd__Group_1__2 )
13849 // InternalAlloyLanguage.g:4660:2: rule__ALSAnd__Group_1__1__Impl rule__ALSAnd__Group_1__2
13850 {
13851 pushFollow(FOLLOW_16);
13852 rule__ALSAnd__Group_1__1__Impl();
13853
13854 state._fsp--;
13855 if (state.failed) return ;
13856 pushFollow(FOLLOW_2);
13857 rule__ALSAnd__Group_1__2();
13858
13859 state._fsp--;
13860 if (state.failed) return ;
13861
13862 }
13863
13864 }
13865 catch (RecognitionException re) {
13866 reportError(re);
13867 recover(input,re);
13868 }
13869 finally {
13870
13871 restoreStackSize(stackSize);
13872
13873 }
13874 return ;
13875 }
13876 // $ANTLR end "rule__ALSAnd__Group_1__1"
13877
13878
13879 // $ANTLR start "rule__ALSAnd__Group_1__1__Impl"
13880 // InternalAlloyLanguage.g:4667:1: rule__ALSAnd__Group_1__1__Impl : ( ( rule__ALSAnd__Alternatives_1_1 ) ) ;
13881 public final void rule__ALSAnd__Group_1__1__Impl() throws RecognitionException {
13882
13883 int stackSize = keepStackSize();
13884
13885 try {
13886 // InternalAlloyLanguage.g:4671:1: ( ( ( rule__ALSAnd__Alternatives_1_1 ) ) )
13887 // InternalAlloyLanguage.g:4672:1: ( ( rule__ALSAnd__Alternatives_1_1 ) )
13888 {
13889 // InternalAlloyLanguage.g:4672:1: ( ( rule__ALSAnd__Alternatives_1_1 ) )
13890 // InternalAlloyLanguage.g:4673:1: ( rule__ALSAnd__Alternatives_1_1 )
13891 {
13892 if ( state.backtracking==0 ) {
13893 before(grammarAccess.getALSAndAccess().getAlternatives_1_1());
13894 }
13895 // InternalAlloyLanguage.g:4674:1: ( rule__ALSAnd__Alternatives_1_1 )
13896 // InternalAlloyLanguage.g:4674:2: rule__ALSAnd__Alternatives_1_1
13897 {
13898 pushFollow(FOLLOW_2);
13899 rule__ALSAnd__Alternatives_1_1();
13900
13901 state._fsp--;
13902 if (state.failed) return ;
13903
13904 }
13905
13906 if ( state.backtracking==0 ) {
13907 after(grammarAccess.getALSAndAccess().getAlternatives_1_1());
13908 }
13909
13910 }
13911
13912
13913 }
13914
13915 }
13916 catch (RecognitionException re) {
13917 reportError(re);
13918 recover(input,re);
13919 }
13920 finally {
13921
13922 restoreStackSize(stackSize);
13923
13924 }
13925 return ;
13926 }
13927 // $ANTLR end "rule__ALSAnd__Group_1__1__Impl"
13928
13929
13930 // $ANTLR start "rule__ALSAnd__Group_1__2"
13931 // InternalAlloyLanguage.g:4684:1: rule__ALSAnd__Group_1__2 : rule__ALSAnd__Group_1__2__Impl ;
13932 public final void rule__ALSAnd__Group_1__2() throws RecognitionException {
13933
13934 int stackSize = keepStackSize();
13935
13936 try {
13937 // InternalAlloyLanguage.g:4688:1: ( rule__ALSAnd__Group_1__2__Impl )
13938 // InternalAlloyLanguage.g:4689:2: rule__ALSAnd__Group_1__2__Impl
13939 {
13940 pushFollow(FOLLOW_2);
13941 rule__ALSAnd__Group_1__2__Impl();
13942
13943 state._fsp--;
13944 if (state.failed) return ;
13945
13946 }
13947
13948 }
13949 catch (RecognitionException re) {
13950 reportError(re);
13951 recover(input,re);
13952 }
13953 finally {
13954
13955 restoreStackSize(stackSize);
13956
13957 }
13958 return ;
13959 }
13960 // $ANTLR end "rule__ALSAnd__Group_1__2"
13961
13962
13963 // $ANTLR start "rule__ALSAnd__Group_1__2__Impl"
13964 // InternalAlloyLanguage.g:4695:1: rule__ALSAnd__Group_1__2__Impl : ( ( rule__ALSAnd__RightOperandAssignment_1_2 ) ) ;
13965 public final void rule__ALSAnd__Group_1__2__Impl() throws RecognitionException {
13966
13967 int stackSize = keepStackSize();
13968
13969 try {
13970 // InternalAlloyLanguage.g:4699:1: ( ( ( rule__ALSAnd__RightOperandAssignment_1_2 ) ) )
13971 // InternalAlloyLanguage.g:4700:1: ( ( rule__ALSAnd__RightOperandAssignment_1_2 ) )
13972 {
13973 // InternalAlloyLanguage.g:4700:1: ( ( rule__ALSAnd__RightOperandAssignment_1_2 ) )
13974 // InternalAlloyLanguage.g:4701:1: ( rule__ALSAnd__RightOperandAssignment_1_2 )
13975 {
13976 if ( state.backtracking==0 ) {
13977 before(grammarAccess.getALSAndAccess().getRightOperandAssignment_1_2());
13978 }
13979 // InternalAlloyLanguage.g:4702:1: ( rule__ALSAnd__RightOperandAssignment_1_2 )
13980 // InternalAlloyLanguage.g:4702:2: rule__ALSAnd__RightOperandAssignment_1_2
13981 {
13982 pushFollow(FOLLOW_2);
13983 rule__ALSAnd__RightOperandAssignment_1_2();
13984
13985 state._fsp--;
13986 if (state.failed) return ;
13987
13988 }
13989
13990 if ( state.backtracking==0 ) {
13991 after(grammarAccess.getALSAndAccess().getRightOperandAssignment_1_2());
13992 }
13993
13994 }
13995
13996
13997 }
13998
13999 }
14000 catch (RecognitionException re) {
14001 reportError(re);
14002 recover(input,re);
14003 }
14004 finally {
14005
14006 restoreStackSize(stackSize);
14007
14008 }
14009 return ;
14010 }
14011 // $ANTLR end "rule__ALSAnd__Group_1__2__Impl"
14012
14013
14014 // $ANTLR start "rule__ALSComparison__Group__0"
14015 // InternalAlloyLanguage.g:4718:1: rule__ALSComparison__Group__0 : rule__ALSComparison__Group__0__Impl rule__ALSComparison__Group__1 ;
14016 public final void rule__ALSComparison__Group__0() throws RecognitionException {
14017
14018 int stackSize = keepStackSize();
14019
14020 try {
14021 // InternalAlloyLanguage.g:4722:1: ( rule__ALSComparison__Group__0__Impl rule__ALSComparison__Group__1 )
14022 // InternalAlloyLanguage.g:4723:2: rule__ALSComparison__Group__0__Impl rule__ALSComparison__Group__1
14023 {
14024 pushFollow(FOLLOW_30);
14025 rule__ALSComparison__Group__0__Impl();
14026
14027 state._fsp--;
14028 if (state.failed) return ;
14029 pushFollow(FOLLOW_2);
14030 rule__ALSComparison__Group__1();
14031
14032 state._fsp--;
14033 if (state.failed) return ;
14034
14035 }
14036
14037 }
14038 catch (RecognitionException re) {
14039 reportError(re);
14040 recover(input,re);
14041 }
14042 finally {
14043
14044 restoreStackSize(stackSize);
14045
14046 }
14047 return ;
14048 }
14049 // $ANTLR end "rule__ALSComparison__Group__0"
14050
14051
14052 // $ANTLR start "rule__ALSComparison__Group__0__Impl"
14053 // InternalAlloyLanguage.g:4730:1: rule__ALSComparison__Group__0__Impl : ( ruleALSOverride ) ;
14054 public final void rule__ALSComparison__Group__0__Impl() throws RecognitionException {
14055
14056 int stackSize = keepStackSize();
14057
14058 try {
14059 // InternalAlloyLanguage.g:4734:1: ( ( ruleALSOverride ) )
14060 // InternalAlloyLanguage.g:4735:1: ( ruleALSOverride )
14061 {
14062 // InternalAlloyLanguage.g:4735:1: ( ruleALSOverride )
14063 // InternalAlloyLanguage.g:4736:1: ruleALSOverride
14064 {
14065 if ( state.backtracking==0 ) {
14066 before(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0());
14067 }
14068 pushFollow(FOLLOW_2);
14069 ruleALSOverride();
14070
14071 state._fsp--;
14072 if (state.failed) return ;
14073 if ( state.backtracking==0 ) {
14074 after(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0());
14075 }
14076
14077 }
14078
14079
14080 }
14081
14082 }
14083 catch (RecognitionException re) {
14084 reportError(re);
14085 recover(input,re);
14086 }
14087 finally {
14088
14089 restoreStackSize(stackSize);
14090
14091 }
14092 return ;
14093 }
14094 // $ANTLR end "rule__ALSComparison__Group__0__Impl"
14095
14096
14097 // $ANTLR start "rule__ALSComparison__Group__1"
14098 // InternalAlloyLanguage.g:4747:1: rule__ALSComparison__Group__1 : rule__ALSComparison__Group__1__Impl ;
14099 public final void rule__ALSComparison__Group__1() throws RecognitionException {
14100
14101 int stackSize = keepStackSize();
14102
14103 try {
14104 // InternalAlloyLanguage.g:4751:1: ( rule__ALSComparison__Group__1__Impl )
14105 // InternalAlloyLanguage.g:4752:2: rule__ALSComparison__Group__1__Impl
14106 {
14107 pushFollow(FOLLOW_2);
14108 rule__ALSComparison__Group__1__Impl();
14109
14110 state._fsp--;
14111 if (state.failed) return ;
14112
14113 }
14114
14115 }
14116 catch (RecognitionException re) {
14117 reportError(re);
14118 recover(input,re);
14119 }
14120 finally {
14121
14122 restoreStackSize(stackSize);
14123
14124 }
14125 return ;
14126 }
14127 // $ANTLR end "rule__ALSComparison__Group__1"
14128
14129
14130 // $ANTLR start "rule__ALSComparison__Group__1__Impl"
14131 // InternalAlloyLanguage.g:4758:1: rule__ALSComparison__Group__1__Impl : ( ( rule__ALSComparison__Group_1__0 )? ) ;
14132 public final void rule__ALSComparison__Group__1__Impl() throws RecognitionException {
14133
14134 int stackSize = keepStackSize();
14135
14136 try {
14137 // InternalAlloyLanguage.g:4762:1: ( ( ( rule__ALSComparison__Group_1__0 )? ) )
14138 // InternalAlloyLanguage.g:4763:1: ( ( rule__ALSComparison__Group_1__0 )? )
14139 {
14140 // InternalAlloyLanguage.g:4763:1: ( ( rule__ALSComparison__Group_1__0 )? )
14141 // InternalAlloyLanguage.g:4764:1: ( rule__ALSComparison__Group_1__0 )?
14142 {
14143 if ( state.backtracking==0 ) {
14144 before(grammarAccess.getALSComparisonAccess().getGroup_1());
14145 }
14146 // InternalAlloyLanguage.g:4765:1: ( rule__ALSComparison__Group_1__0 )?
14147 int alt35=2;
14148 int LA35_0 = input.LA(1);
14149
14150 if ( (LA35_0==38||(LA35_0>=47 && LA35_0<=52)) ) {
14151 alt35=1;
14152 }
14153 switch (alt35) {
14154 case 1 :
14155 // InternalAlloyLanguage.g:4765:2: rule__ALSComparison__Group_1__0
14156 {
14157 pushFollow(FOLLOW_2);
14158 rule__ALSComparison__Group_1__0();
14159
14160 state._fsp--;
14161 if (state.failed) return ;
14162
14163 }
14164 break;
14165
14166 }
14167
14168 if ( state.backtracking==0 ) {
14169 after(grammarAccess.getALSComparisonAccess().getGroup_1());
14170 }
14171
14172 }
14173
14174
14175 }
14176
14177 }
14178 catch (RecognitionException re) {
14179 reportError(re);
14180 recover(input,re);
14181 }
14182 finally {
14183
14184 restoreStackSize(stackSize);
14185
14186 }
14187 return ;
14188 }
14189 // $ANTLR end "rule__ALSComparison__Group__1__Impl"
14190
14191
14192 // $ANTLR start "rule__ALSComparison__Group_1__0"
14193 // InternalAlloyLanguage.g:4779:1: rule__ALSComparison__Group_1__0 : rule__ALSComparison__Group_1__0__Impl rule__ALSComparison__Group_1__1 ;
14194 public final void rule__ALSComparison__Group_1__0() throws RecognitionException {
14195
14196 int stackSize = keepStackSize();
14197
14198 try {
14199 // InternalAlloyLanguage.g:4783:1: ( rule__ALSComparison__Group_1__0__Impl rule__ALSComparison__Group_1__1 )
14200 // InternalAlloyLanguage.g:4784:2: rule__ALSComparison__Group_1__0__Impl rule__ALSComparison__Group_1__1
14201 {
14202 pushFollow(FOLLOW_16);
14203 rule__ALSComparison__Group_1__0__Impl();
14204
14205 state._fsp--;
14206 if (state.failed) return ;
14207 pushFollow(FOLLOW_2);
14208 rule__ALSComparison__Group_1__1();
14209
14210 state._fsp--;
14211 if (state.failed) return ;
14212
14213 }
14214
14215 }
14216 catch (RecognitionException re) {
14217 reportError(re);
14218 recover(input,re);
14219 }
14220 finally {
14221
14222 restoreStackSize(stackSize);
14223
14224 }
14225 return ;
14226 }
14227 // $ANTLR end "rule__ALSComparison__Group_1__0"
14228
14229
14230 // $ANTLR start "rule__ALSComparison__Group_1__0__Impl"
14231 // InternalAlloyLanguage.g:4791:1: rule__ALSComparison__Group_1__0__Impl : ( ( rule__ALSComparison__Alternatives_1_0 ) ) ;
14232 public final void rule__ALSComparison__Group_1__0__Impl() throws RecognitionException {
14233
14234 int stackSize = keepStackSize();
14235
14236 try {
14237 // InternalAlloyLanguage.g:4795:1: ( ( ( rule__ALSComparison__Alternatives_1_0 ) ) )
14238 // InternalAlloyLanguage.g:4796:1: ( ( rule__ALSComparison__Alternatives_1_0 ) )
14239 {
14240 // InternalAlloyLanguage.g:4796:1: ( ( rule__ALSComparison__Alternatives_1_0 ) )
14241 // InternalAlloyLanguage.g:4797:1: ( rule__ALSComparison__Alternatives_1_0 )
14242 {
14243 if ( state.backtracking==0 ) {
14244 before(grammarAccess.getALSComparisonAccess().getAlternatives_1_0());
14245 }
14246 // InternalAlloyLanguage.g:4798:1: ( rule__ALSComparison__Alternatives_1_0 )
14247 // InternalAlloyLanguage.g:4798:2: rule__ALSComparison__Alternatives_1_0
14248 {
14249 pushFollow(FOLLOW_2);
14250 rule__ALSComparison__Alternatives_1_0();
14251
14252 state._fsp--;
14253 if (state.failed) return ;
14254
14255 }
14256
14257 if ( state.backtracking==0 ) {
14258 after(grammarAccess.getALSComparisonAccess().getAlternatives_1_0());
14259 }
14260
14261 }
14262
14263
14264 }
14265
14266 }
14267 catch (RecognitionException re) {
14268 reportError(re);
14269 recover(input,re);
14270 }
14271 finally {
14272
14273 restoreStackSize(stackSize);
14274
14275 }
14276 return ;
14277 }
14278 // $ANTLR end "rule__ALSComparison__Group_1__0__Impl"
14279
14280
14281 // $ANTLR start "rule__ALSComparison__Group_1__1"
14282 // InternalAlloyLanguage.g:4808:1: rule__ALSComparison__Group_1__1 : rule__ALSComparison__Group_1__1__Impl ;
14283 public final void rule__ALSComparison__Group_1__1() throws RecognitionException {
14284
14285 int stackSize = keepStackSize();
14286
14287 try {
14288 // InternalAlloyLanguage.g:4812:1: ( rule__ALSComparison__Group_1__1__Impl )
14289 // InternalAlloyLanguage.g:4813:2: rule__ALSComparison__Group_1__1__Impl
14290 {
14291 pushFollow(FOLLOW_2);
14292 rule__ALSComparison__Group_1__1__Impl();
14293
14294 state._fsp--;
14295 if (state.failed) return ;
14296
14297 }
14298
14299 }
14300 catch (RecognitionException re) {
14301 reportError(re);
14302 recover(input,re);
14303 }
14304 finally {
14305
14306 restoreStackSize(stackSize);
14307
14308 }
14309 return ;
14310 }
14311 // $ANTLR end "rule__ALSComparison__Group_1__1"
14312
14313
14314 // $ANTLR start "rule__ALSComparison__Group_1__1__Impl"
14315 // InternalAlloyLanguage.g:4819:1: rule__ALSComparison__Group_1__1__Impl : ( ( rule__ALSComparison__RightOperandAssignment_1_1 ) ) ;
14316 public final void rule__ALSComparison__Group_1__1__Impl() throws RecognitionException {
14317
14318 int stackSize = keepStackSize();
14319
14320 try {
14321 // InternalAlloyLanguage.g:4823:1: ( ( ( rule__ALSComparison__RightOperandAssignment_1_1 ) ) )
14322 // InternalAlloyLanguage.g:4824:1: ( ( rule__ALSComparison__RightOperandAssignment_1_1 ) )
14323 {
14324 // InternalAlloyLanguage.g:4824:1: ( ( rule__ALSComparison__RightOperandAssignment_1_1 ) )
14325 // InternalAlloyLanguage.g:4825:1: ( rule__ALSComparison__RightOperandAssignment_1_1 )
14326 {
14327 if ( state.backtracking==0 ) {
14328 before(grammarAccess.getALSComparisonAccess().getRightOperandAssignment_1_1());
14329 }
14330 // InternalAlloyLanguage.g:4826:1: ( rule__ALSComparison__RightOperandAssignment_1_1 )
14331 // InternalAlloyLanguage.g:4826:2: rule__ALSComparison__RightOperandAssignment_1_1
14332 {
14333 pushFollow(FOLLOW_2);
14334 rule__ALSComparison__RightOperandAssignment_1_1();
14335
14336 state._fsp--;
14337 if (state.failed) return ;
14338
14339 }
14340
14341 if ( state.backtracking==0 ) {
14342 after(grammarAccess.getALSComparisonAccess().getRightOperandAssignment_1_1());
14343 }
14344
14345 }
14346
14347
14348 }
14349
14350 }
14351 catch (RecognitionException re) {
14352 reportError(re);
14353 recover(input,re);
14354 }
14355 finally {
14356
14357 restoreStackSize(stackSize);
14358
14359 }
14360 return ;
14361 }
14362 // $ANTLR end "rule__ALSComparison__Group_1__1__Impl"
14363
14364
14365 // $ANTLR start "rule__ALSComparison__Group_1_0_0__0"
14366 // InternalAlloyLanguage.g:4840:1: rule__ALSComparison__Group_1_0_0__0 : rule__ALSComparison__Group_1_0_0__0__Impl rule__ALSComparison__Group_1_0_0__1 ;
14367 public final void rule__ALSComparison__Group_1_0_0__0() throws RecognitionException {
14368
14369 int stackSize = keepStackSize();
14370
14371 try {
14372 // InternalAlloyLanguage.g:4844:1: ( rule__ALSComparison__Group_1_0_0__0__Impl rule__ALSComparison__Group_1_0_0__1 )
14373 // InternalAlloyLanguage.g:4845:2: rule__ALSComparison__Group_1_0_0__0__Impl rule__ALSComparison__Group_1_0_0__1
14374 {
14375 pushFollow(FOLLOW_31);
14376 rule__ALSComparison__Group_1_0_0__0__Impl();
14377
14378 state._fsp--;
14379 if (state.failed) return ;
14380 pushFollow(FOLLOW_2);
14381 rule__ALSComparison__Group_1_0_0__1();
14382
14383 state._fsp--;
14384 if (state.failed) return ;
14385
14386 }
14387
14388 }
14389 catch (RecognitionException re) {
14390 reportError(re);
14391 recover(input,re);
14392 }
14393 finally {
14394
14395 restoreStackSize(stackSize);
14396
14397 }
14398 return ;
14399 }
14400 // $ANTLR end "rule__ALSComparison__Group_1_0_0__0"
14401
14402
14403 // $ANTLR start "rule__ALSComparison__Group_1_0_0__0__Impl"
14404 // InternalAlloyLanguage.g:4852:1: rule__ALSComparison__Group_1_0_0__0__Impl : ( () ) ;
14405 public final void rule__ALSComparison__Group_1_0_0__0__Impl() throws RecognitionException {
14406
14407 int stackSize = keepStackSize();
14408
14409 try {
14410 // InternalAlloyLanguage.g:4856:1: ( ( () ) )
14411 // InternalAlloyLanguage.g:4857:1: ( () )
14412 {
14413 // InternalAlloyLanguage.g:4857:1: ( () )
14414 // InternalAlloyLanguage.g:4858:1: ()
14415 {
14416 if ( state.backtracking==0 ) {
14417 before(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0());
14418 }
14419 // InternalAlloyLanguage.g:4859:1: ()
14420 // InternalAlloyLanguage.g:4861:1:
14421 {
14422 }
14423
14424 if ( state.backtracking==0 ) {
14425 after(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0());
14426 }
14427
14428 }
14429
14430
14431 }
14432
14433 }
14434 finally {
14435
14436 restoreStackSize(stackSize);
14437
14438 }
14439 return ;
14440 }
14441 // $ANTLR end "rule__ALSComparison__Group_1_0_0__0__Impl"
14442
14443
14444 // $ANTLR start "rule__ALSComparison__Group_1_0_0__1"
14445 // InternalAlloyLanguage.g:4871:1: rule__ALSComparison__Group_1_0_0__1 : rule__ALSComparison__Group_1_0_0__1__Impl ;
14446 public final void rule__ALSComparison__Group_1_0_0__1() throws RecognitionException {
14447
14448 int stackSize = keepStackSize();
14449
14450 try {
14451 // InternalAlloyLanguage.g:4875:1: ( rule__ALSComparison__Group_1_0_0__1__Impl )
14452 // InternalAlloyLanguage.g:4876:2: rule__ALSComparison__Group_1_0_0__1__Impl
14453 {
14454 pushFollow(FOLLOW_2);
14455 rule__ALSComparison__Group_1_0_0__1__Impl();
14456
14457 state._fsp--;
14458 if (state.failed) return ;
14459
14460 }
14461
14462 }
14463 catch (RecognitionException re) {
14464 reportError(re);
14465 recover(input,re);
14466 }
14467 finally {
14468
14469 restoreStackSize(stackSize);
14470
14471 }
14472 return ;
14473 }
14474 // $ANTLR end "rule__ALSComparison__Group_1_0_0__1"
14475
14476
14477 // $ANTLR start "rule__ALSComparison__Group_1_0_0__1__Impl"
14478 // InternalAlloyLanguage.g:4882:1: rule__ALSComparison__Group_1_0_0__1__Impl : ( '=' ) ;
14479 public final void rule__ALSComparison__Group_1_0_0__1__Impl() throws RecognitionException {
14480
14481 int stackSize = keepStackSize();
14482
14483 try {
14484 // InternalAlloyLanguage.g:4886:1: ( ( '=' ) )
14485 // InternalAlloyLanguage.g:4887:1: ( '=' )
14486 {
14487 // InternalAlloyLanguage.g:4887:1: ( '=' )
14488 // InternalAlloyLanguage.g:4888:1: '='
14489 {
14490 if ( state.backtracking==0 ) {
14491 before(grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1());
14492 }
14493 match(input,47,FOLLOW_2); if (state.failed) return ;
14494 if ( state.backtracking==0 ) {
14495 after(grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1());
14496 }
14497
14498 }
14499
14500
14501 }
14502
14503 }
14504 catch (RecognitionException re) {
14505 reportError(re);
14506 recover(input,re);
14507 }
14508 finally {
14509
14510 restoreStackSize(stackSize);
14511
14512 }
14513 return ;
14514 }
14515 // $ANTLR end "rule__ALSComparison__Group_1_0_0__1__Impl"
14516
14517
14518 // $ANTLR start "rule__ALSComparison__Group_1_0_1__0"
14519 // InternalAlloyLanguage.g:4905:1: rule__ALSComparison__Group_1_0_1__0 : rule__ALSComparison__Group_1_0_1__0__Impl rule__ALSComparison__Group_1_0_1__1 ;
14520 public final void rule__ALSComparison__Group_1_0_1__0() throws RecognitionException {
14521
14522 int stackSize = keepStackSize();
14523
14524 try {
14525 // InternalAlloyLanguage.g:4909:1: ( rule__ALSComparison__Group_1_0_1__0__Impl rule__ALSComparison__Group_1_0_1__1 )
14526 // InternalAlloyLanguage.g:4910:2: rule__ALSComparison__Group_1_0_1__0__Impl rule__ALSComparison__Group_1_0_1__1
14527 {
14528 pushFollow(FOLLOW_32);
14529 rule__ALSComparison__Group_1_0_1__0__Impl();
14530
14531 state._fsp--;
14532 if (state.failed) return ;
14533 pushFollow(FOLLOW_2);
14534 rule__ALSComparison__Group_1_0_1__1();
14535
14536 state._fsp--;
14537 if (state.failed) return ;
14538
14539 }
14540
14541 }
14542 catch (RecognitionException re) {
14543 reportError(re);
14544 recover(input,re);
14545 }
14546 finally {
14547
14548 restoreStackSize(stackSize);
14549
14550 }
14551 return ;
14552 }
14553 // $ANTLR end "rule__ALSComparison__Group_1_0_1__0"
14554
14555
14556 // $ANTLR start "rule__ALSComparison__Group_1_0_1__0__Impl"
14557 // InternalAlloyLanguage.g:4917:1: rule__ALSComparison__Group_1_0_1__0__Impl : ( () ) ;
14558 public final void rule__ALSComparison__Group_1_0_1__0__Impl() throws RecognitionException {
14559
14560 int stackSize = keepStackSize();
14561
14562 try {
14563 // InternalAlloyLanguage.g:4921:1: ( ( () ) )
14564 // InternalAlloyLanguage.g:4922:1: ( () )
14565 {
14566 // InternalAlloyLanguage.g:4922:1: ( () )
14567 // InternalAlloyLanguage.g:4923:1: ()
14568 {
14569 if ( state.backtracking==0 ) {
14570 before(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0());
14571 }
14572 // InternalAlloyLanguage.g:4924:1: ()
14573 // InternalAlloyLanguage.g:4926:1:
14574 {
14575 }
14576
14577 if ( state.backtracking==0 ) {
14578 after(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0());
14579 }
14580
14581 }
14582
14583
14584 }
14585
14586 }
14587 finally {
14588
14589 restoreStackSize(stackSize);
14590
14591 }
14592 return ;
14593 }
14594 // $ANTLR end "rule__ALSComparison__Group_1_0_1__0__Impl"
14595
14596
14597 // $ANTLR start "rule__ALSComparison__Group_1_0_1__1"
14598 // InternalAlloyLanguage.g:4936:1: rule__ALSComparison__Group_1_0_1__1 : rule__ALSComparison__Group_1_0_1__1__Impl ;
14599 public final void rule__ALSComparison__Group_1_0_1__1() throws RecognitionException {
14600
14601 int stackSize = keepStackSize();
14602
14603 try {
14604 // InternalAlloyLanguage.g:4940:1: ( rule__ALSComparison__Group_1_0_1__1__Impl )
14605 // InternalAlloyLanguage.g:4941:2: rule__ALSComparison__Group_1_0_1__1__Impl
14606 {
14607 pushFollow(FOLLOW_2);
14608 rule__ALSComparison__Group_1_0_1__1__Impl();
14609
14610 state._fsp--;
14611 if (state.failed) return ;
14612
14613 }
14614
14615 }
14616 catch (RecognitionException re) {
14617 reportError(re);
14618 recover(input,re);
14619 }
14620 finally {
14621
14622 restoreStackSize(stackSize);
14623
14624 }
14625 return ;
14626 }
14627 // $ANTLR end "rule__ALSComparison__Group_1_0_1__1"
14628
14629
14630 // $ANTLR start "rule__ALSComparison__Group_1_0_1__1__Impl"
14631 // InternalAlloyLanguage.g:4947:1: rule__ALSComparison__Group_1_0_1__1__Impl : ( '!=' ) ;
14632 public final void rule__ALSComparison__Group_1_0_1__1__Impl() throws RecognitionException {
14633
14634 int stackSize = keepStackSize();
14635
14636 try {
14637 // InternalAlloyLanguage.g:4951:1: ( ( '!=' ) )
14638 // InternalAlloyLanguage.g:4952:1: ( '!=' )
14639 {
14640 // InternalAlloyLanguage.g:4952:1: ( '!=' )
14641 // InternalAlloyLanguage.g:4953:1: '!='
14642 {
14643 if ( state.backtracking==0 ) {
14644 before(grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1());
14645 }
14646 match(input,48,FOLLOW_2); if (state.failed) return ;
14647 if ( state.backtracking==0 ) {
14648 after(grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1());
14649 }
14650
14651 }
14652
14653
14654 }
14655
14656 }
14657 catch (RecognitionException re) {
14658 reportError(re);
14659 recover(input,re);
14660 }
14661 finally {
14662
14663 restoreStackSize(stackSize);
14664
14665 }
14666 return ;
14667 }
14668 // $ANTLR end "rule__ALSComparison__Group_1_0_1__1__Impl"
14669
14670
14671 // $ANTLR start "rule__ALSComparison__Group_1_0_2__0"
14672 // InternalAlloyLanguage.g:4970:1: rule__ALSComparison__Group_1_0_2__0 : rule__ALSComparison__Group_1_0_2__0__Impl rule__ALSComparison__Group_1_0_2__1 ;
14673 public final void rule__ALSComparison__Group_1_0_2__0() throws RecognitionException {
14674
14675 int stackSize = keepStackSize();
14676
14677 try {
14678 // InternalAlloyLanguage.g:4974:1: ( rule__ALSComparison__Group_1_0_2__0__Impl rule__ALSComparison__Group_1_0_2__1 )
14679 // InternalAlloyLanguage.g:4975:2: rule__ALSComparison__Group_1_0_2__0__Impl rule__ALSComparison__Group_1_0_2__1
14680 {
14681 pushFollow(FOLLOW_33);
14682 rule__ALSComparison__Group_1_0_2__0__Impl();
14683
14684 state._fsp--;
14685 if (state.failed) return ;
14686 pushFollow(FOLLOW_2);
14687 rule__ALSComparison__Group_1_0_2__1();
14688
14689 state._fsp--;
14690 if (state.failed) return ;
14691
14692 }
14693
14694 }
14695 catch (RecognitionException re) {
14696 reportError(re);
14697 recover(input,re);
14698 }
14699 finally {
14700
14701 restoreStackSize(stackSize);
14702
14703 }
14704 return ;
14705 }
14706 // $ANTLR end "rule__ALSComparison__Group_1_0_2__0"
14707
14708
14709 // $ANTLR start "rule__ALSComparison__Group_1_0_2__0__Impl"
14710 // InternalAlloyLanguage.g:4982:1: rule__ALSComparison__Group_1_0_2__0__Impl : ( () ) ;
14711 public final void rule__ALSComparison__Group_1_0_2__0__Impl() throws RecognitionException {
14712
14713 int stackSize = keepStackSize();
14714
14715 try {
14716 // InternalAlloyLanguage.g:4986:1: ( ( () ) )
14717 // InternalAlloyLanguage.g:4987:1: ( () )
14718 {
14719 // InternalAlloyLanguage.g:4987:1: ( () )
14720 // InternalAlloyLanguage.g:4988:1: ()
14721 {
14722 if ( state.backtracking==0 ) {
14723 before(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0());
14724 }
14725 // InternalAlloyLanguage.g:4989:1: ()
14726 // InternalAlloyLanguage.g:4991:1:
14727 {
14728 }
14729
14730 if ( state.backtracking==0 ) {
14731 after(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0());
14732 }
14733
14734 }
14735
14736
14737 }
14738
14739 }
14740 finally {
14741
14742 restoreStackSize(stackSize);
14743
14744 }
14745 return ;
14746 }
14747 // $ANTLR end "rule__ALSComparison__Group_1_0_2__0__Impl"
14748
14749
14750 // $ANTLR start "rule__ALSComparison__Group_1_0_2__1"
14751 // InternalAlloyLanguage.g:5001:1: rule__ALSComparison__Group_1_0_2__1 : rule__ALSComparison__Group_1_0_2__1__Impl ;
14752 public final void rule__ALSComparison__Group_1_0_2__1() throws RecognitionException {
14753
14754 int stackSize = keepStackSize();
14755
14756 try {
14757 // InternalAlloyLanguage.g:5005:1: ( rule__ALSComparison__Group_1_0_2__1__Impl )
14758 // InternalAlloyLanguage.g:5006:2: rule__ALSComparison__Group_1_0_2__1__Impl
14759 {
14760 pushFollow(FOLLOW_2);
14761 rule__ALSComparison__Group_1_0_2__1__Impl();
14762
14763 state._fsp--;
14764 if (state.failed) return ;
14765
14766 }
14767
14768 }
14769 catch (RecognitionException re) {
14770 reportError(re);
14771 recover(input,re);
14772 }
14773 finally {
14774
14775 restoreStackSize(stackSize);
14776
14777 }
14778 return ;
14779 }
14780 // $ANTLR end "rule__ALSComparison__Group_1_0_2__1"
14781
14782
14783 // $ANTLR start "rule__ALSComparison__Group_1_0_2__1__Impl"
14784 // InternalAlloyLanguage.g:5012:1: rule__ALSComparison__Group_1_0_2__1__Impl : ( 'in' ) ;
14785 public final void rule__ALSComparison__Group_1_0_2__1__Impl() throws RecognitionException {
14786
14787 int stackSize = keepStackSize();
14788
14789 try {
14790 // InternalAlloyLanguage.g:5016:1: ( ( 'in' ) )
14791 // InternalAlloyLanguage.g:5017:1: ( 'in' )
14792 {
14793 // InternalAlloyLanguage.g:5017:1: ( 'in' )
14794 // InternalAlloyLanguage.g:5018:1: 'in'
14795 {
14796 if ( state.backtracking==0 ) {
14797 before(grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1());
14798 }
14799 match(input,38,FOLLOW_2); if (state.failed) return ;
14800 if ( state.backtracking==0 ) {
14801 after(grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1());
14802 }
14803
14804 }
14805
14806
14807 }
14808
14809 }
14810 catch (RecognitionException re) {
14811 reportError(re);
14812 recover(input,re);
14813 }
14814 finally {
14815
14816 restoreStackSize(stackSize);
14817
14818 }
14819 return ;
14820 }
14821 // $ANTLR end "rule__ALSComparison__Group_1_0_2__1__Impl"
14822
14823
14824 // $ANTLR start "rule__ALSComparison__Group_1_0_3__0"
14825 // InternalAlloyLanguage.g:5035:1: rule__ALSComparison__Group_1_0_3__0 : rule__ALSComparison__Group_1_0_3__0__Impl rule__ALSComparison__Group_1_0_3__1 ;
14826 public final void rule__ALSComparison__Group_1_0_3__0() throws RecognitionException {
14827
14828 int stackSize = keepStackSize();
14829
14830 try {
14831 // InternalAlloyLanguage.g:5039:1: ( rule__ALSComparison__Group_1_0_3__0__Impl rule__ALSComparison__Group_1_0_3__1 )
14832 // InternalAlloyLanguage.g:5040:2: rule__ALSComparison__Group_1_0_3__0__Impl rule__ALSComparison__Group_1_0_3__1
14833 {
14834 pushFollow(FOLLOW_34);
14835 rule__ALSComparison__Group_1_0_3__0__Impl();
14836
14837 state._fsp--;
14838 if (state.failed) return ;
14839 pushFollow(FOLLOW_2);
14840 rule__ALSComparison__Group_1_0_3__1();
14841
14842 state._fsp--;
14843 if (state.failed) return ;
14844
14845 }
14846
14847 }
14848 catch (RecognitionException re) {
14849 reportError(re);
14850 recover(input,re);
14851 }
14852 finally {
14853
14854 restoreStackSize(stackSize);
14855
14856 }
14857 return ;
14858 }
14859 // $ANTLR end "rule__ALSComparison__Group_1_0_3__0"
14860
14861
14862 // $ANTLR start "rule__ALSComparison__Group_1_0_3__0__Impl"
14863 // InternalAlloyLanguage.g:5047:1: rule__ALSComparison__Group_1_0_3__0__Impl : ( () ) ;
14864 public final void rule__ALSComparison__Group_1_0_3__0__Impl() throws RecognitionException {
14865
14866 int stackSize = keepStackSize();
14867
14868 try {
14869 // InternalAlloyLanguage.g:5051:1: ( ( () ) )
14870 // InternalAlloyLanguage.g:5052:1: ( () )
14871 {
14872 // InternalAlloyLanguage.g:5052:1: ( () )
14873 // InternalAlloyLanguage.g:5053:1: ()
14874 {
14875 if ( state.backtracking==0 ) {
14876 before(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0());
14877 }
14878 // InternalAlloyLanguage.g:5054:1: ()
14879 // InternalAlloyLanguage.g:5056:1:
14880 {
14881 }
14882
14883 if ( state.backtracking==0 ) {
14884 after(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0());
14885 }
14886
14887 }
14888
14889
14890 }
14891
14892 }
14893 finally {
14894
14895 restoreStackSize(stackSize);
14896
14897 }
14898 return ;
14899 }
14900 // $ANTLR end "rule__ALSComparison__Group_1_0_3__0__Impl"
14901
14902
14903 // $ANTLR start "rule__ALSComparison__Group_1_0_3__1"
14904 // InternalAlloyLanguage.g:5066:1: rule__ALSComparison__Group_1_0_3__1 : rule__ALSComparison__Group_1_0_3__1__Impl ;
14905 public final void rule__ALSComparison__Group_1_0_3__1() throws RecognitionException {
14906
14907 int stackSize = keepStackSize();
14908
14909 try {
14910 // InternalAlloyLanguage.g:5070:1: ( rule__ALSComparison__Group_1_0_3__1__Impl )
14911 // InternalAlloyLanguage.g:5071:2: rule__ALSComparison__Group_1_0_3__1__Impl
14912 {
14913 pushFollow(FOLLOW_2);
14914 rule__ALSComparison__Group_1_0_3__1__Impl();
14915
14916 state._fsp--;
14917 if (state.failed) return ;
14918
14919 }
14920
14921 }
14922 catch (RecognitionException re) {
14923 reportError(re);
14924 recover(input,re);
14925 }
14926 finally {
14927
14928 restoreStackSize(stackSize);
14929
14930 }
14931 return ;
14932 }
14933 // $ANTLR end "rule__ALSComparison__Group_1_0_3__1"
14934
14935
14936 // $ANTLR start "rule__ALSComparison__Group_1_0_3__1__Impl"
14937 // InternalAlloyLanguage.g:5077:1: rule__ALSComparison__Group_1_0_3__1__Impl : ( '>' ) ;
14938 public final void rule__ALSComparison__Group_1_0_3__1__Impl() throws RecognitionException {
14939
14940 int stackSize = keepStackSize();
14941
14942 try {
14943 // InternalAlloyLanguage.g:5081:1: ( ( '>' ) )
14944 // InternalAlloyLanguage.g:5082:1: ( '>' )
14945 {
14946 // InternalAlloyLanguage.g:5082:1: ( '>' )
14947 // InternalAlloyLanguage.g:5083:1: '>'
14948 {
14949 if ( state.backtracking==0 ) {
14950 before(grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1());
14951 }
14952 match(input,49,FOLLOW_2); if (state.failed) return ;
14953 if ( state.backtracking==0 ) {
14954 after(grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1());
14955 }
14956
14957 }
14958
14959
14960 }
14961
14962 }
14963 catch (RecognitionException re) {
14964 reportError(re);
14965 recover(input,re);
14966 }
14967 finally {
14968
14969 restoreStackSize(stackSize);
14970
14971 }
14972 return ;
14973 }
14974 // $ANTLR end "rule__ALSComparison__Group_1_0_3__1__Impl"
14975
14976
14977 // $ANTLR start "rule__ALSComparison__Group_1_0_4__0"
14978 // InternalAlloyLanguage.g:5100:1: rule__ALSComparison__Group_1_0_4__0 : rule__ALSComparison__Group_1_0_4__0__Impl rule__ALSComparison__Group_1_0_4__1 ;
14979 public final void rule__ALSComparison__Group_1_0_4__0() throws RecognitionException {
14980
14981 int stackSize = keepStackSize();
14982
14983 try {
14984 // InternalAlloyLanguage.g:5104:1: ( rule__ALSComparison__Group_1_0_4__0__Impl rule__ALSComparison__Group_1_0_4__1 )
14985 // InternalAlloyLanguage.g:5105:2: rule__ALSComparison__Group_1_0_4__0__Impl rule__ALSComparison__Group_1_0_4__1
14986 {
14987 pushFollow(FOLLOW_35);
14988 rule__ALSComparison__Group_1_0_4__0__Impl();
14989
14990 state._fsp--;
14991 if (state.failed) return ;
14992 pushFollow(FOLLOW_2);
14993 rule__ALSComparison__Group_1_0_4__1();
14994
14995 state._fsp--;
14996 if (state.failed) return ;
14997
14998 }
14999
15000 }
15001 catch (RecognitionException re) {
15002 reportError(re);
15003 recover(input,re);
15004 }
15005 finally {
15006
15007 restoreStackSize(stackSize);
15008
15009 }
15010 return ;
15011 }
15012 // $ANTLR end "rule__ALSComparison__Group_1_0_4__0"
15013
15014
15015 // $ANTLR start "rule__ALSComparison__Group_1_0_4__0__Impl"
15016 // InternalAlloyLanguage.g:5112:1: rule__ALSComparison__Group_1_0_4__0__Impl : ( () ) ;
15017 public final void rule__ALSComparison__Group_1_0_4__0__Impl() throws RecognitionException {
15018
15019 int stackSize = keepStackSize();
15020
15021 try {
15022 // InternalAlloyLanguage.g:5116:1: ( ( () ) )
15023 // InternalAlloyLanguage.g:5117:1: ( () )
15024 {
15025 // InternalAlloyLanguage.g:5117:1: ( () )
15026 // InternalAlloyLanguage.g:5118:1: ()
15027 {
15028 if ( state.backtracking==0 ) {
15029 before(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0());
15030 }
15031 // InternalAlloyLanguage.g:5119:1: ()
15032 // InternalAlloyLanguage.g:5121:1:
15033 {
15034 }
15035
15036 if ( state.backtracking==0 ) {
15037 after(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0());
15038 }
15039
15040 }
15041
15042
15043 }
15044
15045 }
15046 finally {
15047
15048 restoreStackSize(stackSize);
15049
15050 }
15051 return ;
15052 }
15053 // $ANTLR end "rule__ALSComparison__Group_1_0_4__0__Impl"
15054
15055
15056 // $ANTLR start "rule__ALSComparison__Group_1_0_4__1"
15057 // InternalAlloyLanguage.g:5131:1: rule__ALSComparison__Group_1_0_4__1 : rule__ALSComparison__Group_1_0_4__1__Impl ;
15058 public final void rule__ALSComparison__Group_1_0_4__1() throws RecognitionException {
15059
15060 int stackSize = keepStackSize();
15061
15062 try {
15063 // InternalAlloyLanguage.g:5135:1: ( rule__ALSComparison__Group_1_0_4__1__Impl )
15064 // InternalAlloyLanguage.g:5136:2: rule__ALSComparison__Group_1_0_4__1__Impl
15065 {
15066 pushFollow(FOLLOW_2);
15067 rule__ALSComparison__Group_1_0_4__1__Impl();
15068
15069 state._fsp--;
15070 if (state.failed) return ;
15071
15072 }
15073
15074 }
15075 catch (RecognitionException re) {
15076 reportError(re);
15077 recover(input,re);
15078 }
15079 finally {
15080
15081 restoreStackSize(stackSize);
15082
15083 }
15084 return ;
15085 }
15086 // $ANTLR end "rule__ALSComparison__Group_1_0_4__1"
15087
15088
15089 // $ANTLR start "rule__ALSComparison__Group_1_0_4__1__Impl"
15090 // InternalAlloyLanguage.g:5142:1: rule__ALSComparison__Group_1_0_4__1__Impl : ( '>=' ) ;
15091 public final void rule__ALSComparison__Group_1_0_4__1__Impl() throws RecognitionException {
15092
15093 int stackSize = keepStackSize();
15094
15095 try {
15096 // InternalAlloyLanguage.g:5146:1: ( ( '>=' ) )
15097 // InternalAlloyLanguage.g:5147:1: ( '>=' )
15098 {
15099 // InternalAlloyLanguage.g:5147:1: ( '>=' )
15100 // InternalAlloyLanguage.g:5148:1: '>='
15101 {
15102 if ( state.backtracking==0 ) {
15103 before(grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1());
15104 }
15105 match(input,50,FOLLOW_2); if (state.failed) return ;
15106 if ( state.backtracking==0 ) {
15107 after(grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1());
15108 }
15109
15110 }
15111
15112
15113 }
15114
15115 }
15116 catch (RecognitionException re) {
15117 reportError(re);
15118 recover(input,re);
15119 }
15120 finally {
15121
15122 restoreStackSize(stackSize);
15123
15124 }
15125 return ;
15126 }
15127 // $ANTLR end "rule__ALSComparison__Group_1_0_4__1__Impl"
15128
15129
15130 // $ANTLR start "rule__ALSComparison__Group_1_0_5__0"
15131 // InternalAlloyLanguage.g:5165:1: rule__ALSComparison__Group_1_0_5__0 : rule__ALSComparison__Group_1_0_5__0__Impl rule__ALSComparison__Group_1_0_5__1 ;
15132 public final void rule__ALSComparison__Group_1_0_5__0() throws RecognitionException {
15133
15134 int stackSize = keepStackSize();
15135
15136 try {
15137 // InternalAlloyLanguage.g:5169:1: ( rule__ALSComparison__Group_1_0_5__0__Impl rule__ALSComparison__Group_1_0_5__1 )
15138 // InternalAlloyLanguage.g:5170:2: rule__ALSComparison__Group_1_0_5__0__Impl rule__ALSComparison__Group_1_0_5__1
15139 {
15140 pushFollow(FOLLOW_36);
15141 rule__ALSComparison__Group_1_0_5__0__Impl();
15142
15143 state._fsp--;
15144 if (state.failed) return ;
15145 pushFollow(FOLLOW_2);
15146 rule__ALSComparison__Group_1_0_5__1();
15147
15148 state._fsp--;
15149 if (state.failed) return ;
15150
15151 }
15152
15153 }
15154 catch (RecognitionException re) {
15155 reportError(re);
15156 recover(input,re);
15157 }
15158 finally {
15159
15160 restoreStackSize(stackSize);
15161
15162 }
15163 return ;
15164 }
15165 // $ANTLR end "rule__ALSComparison__Group_1_0_5__0"
15166
15167
15168 // $ANTLR start "rule__ALSComparison__Group_1_0_5__0__Impl"
15169 // InternalAlloyLanguage.g:5177:1: rule__ALSComparison__Group_1_0_5__0__Impl : ( () ) ;
15170 public final void rule__ALSComparison__Group_1_0_5__0__Impl() throws RecognitionException {
15171
15172 int stackSize = keepStackSize();
15173
15174 try {
15175 // InternalAlloyLanguage.g:5181:1: ( ( () ) )
15176 // InternalAlloyLanguage.g:5182:1: ( () )
15177 {
15178 // InternalAlloyLanguage.g:5182:1: ( () )
15179 // InternalAlloyLanguage.g:5183:1: ()
15180 {
15181 if ( state.backtracking==0 ) {
15182 before(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0());
15183 }
15184 // InternalAlloyLanguage.g:5184:1: ()
15185 // InternalAlloyLanguage.g:5186:1:
15186 {
15187 }
15188
15189 if ( state.backtracking==0 ) {
15190 after(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0());
15191 }
15192
15193 }
15194
15195
15196 }
15197
15198 }
15199 finally {
15200
15201 restoreStackSize(stackSize);
15202
15203 }
15204 return ;
15205 }
15206 // $ANTLR end "rule__ALSComparison__Group_1_0_5__0__Impl"
15207
15208
15209 // $ANTLR start "rule__ALSComparison__Group_1_0_5__1"
15210 // InternalAlloyLanguage.g:5196:1: rule__ALSComparison__Group_1_0_5__1 : rule__ALSComparison__Group_1_0_5__1__Impl ;
15211 public final void rule__ALSComparison__Group_1_0_5__1() throws RecognitionException {
15212
15213 int stackSize = keepStackSize();
15214
15215 try {
15216 // InternalAlloyLanguage.g:5200:1: ( rule__ALSComparison__Group_1_0_5__1__Impl )
15217 // InternalAlloyLanguage.g:5201:2: rule__ALSComparison__Group_1_0_5__1__Impl
15218 {
15219 pushFollow(FOLLOW_2);
15220 rule__ALSComparison__Group_1_0_5__1__Impl();
15221
15222 state._fsp--;
15223 if (state.failed) return ;
15224
15225 }
15226
15227 }
15228 catch (RecognitionException re) {
15229 reportError(re);
15230 recover(input,re);
15231 }
15232 finally {
15233
15234 restoreStackSize(stackSize);
15235
15236 }
15237 return ;
15238 }
15239 // $ANTLR end "rule__ALSComparison__Group_1_0_5__1"
15240
15241
15242 // $ANTLR start "rule__ALSComparison__Group_1_0_5__1__Impl"
15243 // InternalAlloyLanguage.g:5207:1: rule__ALSComparison__Group_1_0_5__1__Impl : ( '<' ) ;
15244 public final void rule__ALSComparison__Group_1_0_5__1__Impl() throws RecognitionException {
15245
15246 int stackSize = keepStackSize();
15247
15248 try {
15249 // InternalAlloyLanguage.g:5211:1: ( ( '<' ) )
15250 // InternalAlloyLanguage.g:5212:1: ( '<' )
15251 {
15252 // InternalAlloyLanguage.g:5212:1: ( '<' )
15253 // InternalAlloyLanguage.g:5213:1: '<'
15254 {
15255 if ( state.backtracking==0 ) {
15256 before(grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1());
15257 }
15258 match(input,51,FOLLOW_2); if (state.failed) return ;
15259 if ( state.backtracking==0 ) {
15260 after(grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1());
15261 }
15262
15263 }
15264
15265
15266 }
15267
15268 }
15269 catch (RecognitionException re) {
15270 reportError(re);
15271 recover(input,re);
15272 }
15273 finally {
15274
15275 restoreStackSize(stackSize);
15276
15277 }
15278 return ;
15279 }
15280 // $ANTLR end "rule__ALSComparison__Group_1_0_5__1__Impl"
15281
15282
15283 // $ANTLR start "rule__ALSComparison__Group_1_0_6__0"
15284 // InternalAlloyLanguage.g:5230:1: rule__ALSComparison__Group_1_0_6__0 : rule__ALSComparison__Group_1_0_6__0__Impl rule__ALSComparison__Group_1_0_6__1 ;
15285 public final void rule__ALSComparison__Group_1_0_6__0() throws RecognitionException {
15286
15287 int stackSize = keepStackSize();
15288
15289 try {
15290 // InternalAlloyLanguage.g:5234:1: ( rule__ALSComparison__Group_1_0_6__0__Impl rule__ALSComparison__Group_1_0_6__1 )
15291 // InternalAlloyLanguage.g:5235:2: rule__ALSComparison__Group_1_0_6__0__Impl rule__ALSComparison__Group_1_0_6__1
15292 {
15293 pushFollow(FOLLOW_30);
15294 rule__ALSComparison__Group_1_0_6__0__Impl();
15295
15296 state._fsp--;
15297 if (state.failed) return ;
15298 pushFollow(FOLLOW_2);
15299 rule__ALSComparison__Group_1_0_6__1();
15300
15301 state._fsp--;
15302 if (state.failed) return ;
15303
15304 }
15305
15306 }
15307 catch (RecognitionException re) {
15308 reportError(re);
15309 recover(input,re);
15310 }
15311 finally {
15312
15313 restoreStackSize(stackSize);
15314
15315 }
15316 return ;
15317 }
15318 // $ANTLR end "rule__ALSComparison__Group_1_0_6__0"
15319
15320
15321 // $ANTLR start "rule__ALSComparison__Group_1_0_6__0__Impl"
15322 // InternalAlloyLanguage.g:5242:1: rule__ALSComparison__Group_1_0_6__0__Impl : ( () ) ;
15323 public final void rule__ALSComparison__Group_1_0_6__0__Impl() throws RecognitionException {
15324
15325 int stackSize = keepStackSize();
15326
15327 try {
15328 // InternalAlloyLanguage.g:5246:1: ( ( () ) )
15329 // InternalAlloyLanguage.g:5247:1: ( () )
15330 {
15331 // InternalAlloyLanguage.g:5247:1: ( () )
15332 // InternalAlloyLanguage.g:5248:1: ()
15333 {
15334 if ( state.backtracking==0 ) {
15335 before(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0());
15336 }
15337 // InternalAlloyLanguage.g:5249:1: ()
15338 // InternalAlloyLanguage.g:5251:1:
15339 {
15340 }
15341
15342 if ( state.backtracking==0 ) {
15343 after(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0());
15344 }
15345
15346 }
15347
15348
15349 }
15350
15351 }
15352 finally {
15353
15354 restoreStackSize(stackSize);
15355
15356 }
15357 return ;
15358 }
15359 // $ANTLR end "rule__ALSComparison__Group_1_0_6__0__Impl"
15360
15361
15362 // $ANTLR start "rule__ALSComparison__Group_1_0_6__1"
15363 // InternalAlloyLanguage.g:5261:1: rule__ALSComparison__Group_1_0_6__1 : rule__ALSComparison__Group_1_0_6__1__Impl ;
15364 public final void rule__ALSComparison__Group_1_0_6__1() throws RecognitionException {
15365
15366 int stackSize = keepStackSize();
15367
15368 try {
15369 // InternalAlloyLanguage.g:5265:1: ( rule__ALSComparison__Group_1_0_6__1__Impl )
15370 // InternalAlloyLanguage.g:5266:2: rule__ALSComparison__Group_1_0_6__1__Impl
15371 {
15372 pushFollow(FOLLOW_2);
15373 rule__ALSComparison__Group_1_0_6__1__Impl();
15374
15375 state._fsp--;
15376 if (state.failed) return ;
15377
15378 }
15379
15380 }
15381 catch (RecognitionException re) {
15382 reportError(re);
15383 recover(input,re);
15384 }
15385 finally {
15386
15387 restoreStackSize(stackSize);
15388
15389 }
15390 return ;
15391 }
15392 // $ANTLR end "rule__ALSComparison__Group_1_0_6__1"
15393
15394
15395 // $ANTLR start "rule__ALSComparison__Group_1_0_6__1__Impl"
15396 // InternalAlloyLanguage.g:5272:1: rule__ALSComparison__Group_1_0_6__1__Impl : ( '<=' ) ;
15397 public final void rule__ALSComparison__Group_1_0_6__1__Impl() throws RecognitionException {
15398
15399 int stackSize = keepStackSize();
15400
15401 try {
15402 // InternalAlloyLanguage.g:5276:1: ( ( '<=' ) )
15403 // InternalAlloyLanguage.g:5277:1: ( '<=' )
15404 {
15405 // InternalAlloyLanguage.g:5277:1: ( '<=' )
15406 // InternalAlloyLanguage.g:5278:1: '<='
15407 {
15408 if ( state.backtracking==0 ) {
15409 before(grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1());
15410 }
15411 match(input,52,FOLLOW_2); if (state.failed) return ;
15412 if ( state.backtracking==0 ) {
15413 after(grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1());
15414 }
15415
15416 }
15417
15418
15419 }
15420
15421 }
15422 catch (RecognitionException re) {
15423 reportError(re);
15424 recover(input,re);
15425 }
15426 finally {
15427
15428 restoreStackSize(stackSize);
15429
15430 }
15431 return ;
15432 }
15433 // $ANTLR end "rule__ALSComparison__Group_1_0_6__1__Impl"
15434
15435
15436 // $ANTLR start "rule__ALSOverride__Group__0"
15437 // InternalAlloyLanguage.g:5295:1: rule__ALSOverride__Group__0 : rule__ALSOverride__Group__0__Impl rule__ALSOverride__Group__1 ;
15438 public final void rule__ALSOverride__Group__0() throws RecognitionException {
15439
15440 int stackSize = keepStackSize();
15441
15442 try {
15443 // InternalAlloyLanguage.g:5299:1: ( rule__ALSOverride__Group__0__Impl rule__ALSOverride__Group__1 )
15444 // InternalAlloyLanguage.g:5300:2: rule__ALSOverride__Group__0__Impl rule__ALSOverride__Group__1
15445 {
15446 pushFollow(FOLLOW_37);
15447 rule__ALSOverride__Group__0__Impl();
15448
15449 state._fsp--;
15450 if (state.failed) return ;
15451 pushFollow(FOLLOW_2);
15452 rule__ALSOverride__Group__1();
15453
15454 state._fsp--;
15455 if (state.failed) return ;
15456
15457 }
15458
15459 }
15460 catch (RecognitionException re) {
15461 reportError(re);
15462 recover(input,re);
15463 }
15464 finally {
15465
15466 restoreStackSize(stackSize);
15467
15468 }
15469 return ;
15470 }
15471 // $ANTLR end "rule__ALSOverride__Group__0"
15472
15473
15474 // $ANTLR start "rule__ALSOverride__Group__0__Impl"
15475 // InternalAlloyLanguage.g:5307:1: rule__ALSOverride__Group__0__Impl : ( ruleALSRangeRestrictionRight ) ;
15476 public final void rule__ALSOverride__Group__0__Impl() throws RecognitionException {
15477
15478 int stackSize = keepStackSize();
15479
15480 try {
15481 // InternalAlloyLanguage.g:5311:1: ( ( ruleALSRangeRestrictionRight ) )
15482 // InternalAlloyLanguage.g:5312:1: ( ruleALSRangeRestrictionRight )
15483 {
15484 // InternalAlloyLanguage.g:5312:1: ( ruleALSRangeRestrictionRight )
15485 // InternalAlloyLanguage.g:5313:1: ruleALSRangeRestrictionRight
15486 {
15487 if ( state.backtracking==0 ) {
15488 before(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0());
15489 }
15490 pushFollow(FOLLOW_2);
15491 ruleALSRangeRestrictionRight();
15492
15493 state._fsp--;
15494 if (state.failed) return ;
15495 if ( state.backtracking==0 ) {
15496 after(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0());
15497 }
15498
15499 }
15500
15501
15502 }
15503
15504 }
15505 catch (RecognitionException re) {
15506 reportError(re);
15507 recover(input,re);
15508 }
15509 finally {
15510
15511 restoreStackSize(stackSize);
15512
15513 }
15514 return ;
15515 }
15516 // $ANTLR end "rule__ALSOverride__Group__0__Impl"
15517
15518
15519 // $ANTLR start "rule__ALSOverride__Group__1"
15520 // InternalAlloyLanguage.g:5324:1: rule__ALSOverride__Group__1 : rule__ALSOverride__Group__1__Impl ;
15521 public final void rule__ALSOverride__Group__1() throws RecognitionException {
15522
15523 int stackSize = keepStackSize();
15524
15525 try {
15526 // InternalAlloyLanguage.g:5328:1: ( rule__ALSOverride__Group__1__Impl )
15527 // InternalAlloyLanguage.g:5329:2: rule__ALSOverride__Group__1__Impl
15528 {
15529 pushFollow(FOLLOW_2);
15530 rule__ALSOverride__Group__1__Impl();
15531
15532 state._fsp--;
15533 if (state.failed) return ;
15534
15535 }
15536
15537 }
15538 catch (RecognitionException re) {
15539 reportError(re);
15540 recover(input,re);
15541 }
15542 finally {
15543
15544 restoreStackSize(stackSize);
15545
15546 }
15547 return ;
15548 }
15549 // $ANTLR end "rule__ALSOverride__Group__1"
15550
15551
15552 // $ANTLR start "rule__ALSOverride__Group__1__Impl"
15553 // InternalAlloyLanguage.g:5335:1: rule__ALSOverride__Group__1__Impl : ( ( rule__ALSOverride__Group_1__0 )? ) ;
15554 public final void rule__ALSOverride__Group__1__Impl() throws RecognitionException {
15555
15556 int stackSize = keepStackSize();
15557
15558 try {
15559 // InternalAlloyLanguage.g:5339:1: ( ( ( rule__ALSOverride__Group_1__0 )? ) )
15560 // InternalAlloyLanguage.g:5340:1: ( ( rule__ALSOverride__Group_1__0 )? )
15561 {
15562 // InternalAlloyLanguage.g:5340:1: ( ( rule__ALSOverride__Group_1__0 )? )
15563 // InternalAlloyLanguage.g:5341:1: ( rule__ALSOverride__Group_1__0 )?
15564 {
15565 if ( state.backtracking==0 ) {
15566 before(grammarAccess.getALSOverrideAccess().getGroup_1());
15567 }
15568 // InternalAlloyLanguage.g:5342:1: ( rule__ALSOverride__Group_1__0 )?
15569 int alt36=2;
15570 int LA36_0 = input.LA(1);
15571
15572 if ( (LA36_0==53) ) {
15573 alt36=1;
15574 }
15575 switch (alt36) {
15576 case 1 :
15577 // InternalAlloyLanguage.g:5342:2: rule__ALSOverride__Group_1__0
15578 {
15579 pushFollow(FOLLOW_2);
15580 rule__ALSOverride__Group_1__0();
15581
15582 state._fsp--;
15583 if (state.failed) return ;
15584
15585 }
15586 break;
15587
15588 }
15589
15590 if ( state.backtracking==0 ) {
15591 after(grammarAccess.getALSOverrideAccess().getGroup_1());
15592 }
15593
15594 }
15595
15596
15597 }
15598
15599 }
15600 catch (RecognitionException re) {
15601 reportError(re);
15602 recover(input,re);
15603 }
15604 finally {
15605
15606 restoreStackSize(stackSize);
15607
15608 }
15609 return ;
15610 }
15611 // $ANTLR end "rule__ALSOverride__Group__1__Impl"
15612
15613
15614 // $ANTLR start "rule__ALSOverride__Group_1__0"
15615 // InternalAlloyLanguage.g:5356:1: rule__ALSOverride__Group_1__0 : rule__ALSOverride__Group_1__0__Impl rule__ALSOverride__Group_1__1 ;
15616 public final void rule__ALSOverride__Group_1__0() throws RecognitionException {
15617
15618 int stackSize = keepStackSize();
15619
15620 try {
15621 // InternalAlloyLanguage.g:5360:1: ( rule__ALSOverride__Group_1__0__Impl rule__ALSOverride__Group_1__1 )
15622 // InternalAlloyLanguage.g:5361:2: rule__ALSOverride__Group_1__0__Impl rule__ALSOverride__Group_1__1
15623 {
15624 pushFollow(FOLLOW_37);
15625 rule__ALSOverride__Group_1__0__Impl();
15626
15627 state._fsp--;
15628 if (state.failed) return ;
15629 pushFollow(FOLLOW_2);
15630 rule__ALSOverride__Group_1__1();
15631
15632 state._fsp--;
15633 if (state.failed) return ;
15634
15635 }
15636
15637 }
15638 catch (RecognitionException re) {
15639 reportError(re);
15640 recover(input,re);
15641 }
15642 finally {
15643
15644 restoreStackSize(stackSize);
15645
15646 }
15647 return ;
15648 }
15649 // $ANTLR end "rule__ALSOverride__Group_1__0"
15650
15651
15652 // $ANTLR start "rule__ALSOverride__Group_1__0__Impl"
15653 // InternalAlloyLanguage.g:5368:1: rule__ALSOverride__Group_1__0__Impl : ( () ) ;
15654 public final void rule__ALSOverride__Group_1__0__Impl() throws RecognitionException {
15655
15656 int stackSize = keepStackSize();
15657
15658 try {
15659 // InternalAlloyLanguage.g:5372:1: ( ( () ) )
15660 // InternalAlloyLanguage.g:5373:1: ( () )
15661 {
15662 // InternalAlloyLanguage.g:5373:1: ( () )
15663 // InternalAlloyLanguage.g:5374:1: ()
15664 {
15665 if ( state.backtracking==0 ) {
15666 before(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0());
15667 }
15668 // InternalAlloyLanguage.g:5375:1: ()
15669 // InternalAlloyLanguage.g:5377:1:
15670 {
15671 }
15672
15673 if ( state.backtracking==0 ) {
15674 after(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0());
15675 }
15676
15677 }
15678
15679
15680 }
15681
15682 }
15683 finally {
15684
15685 restoreStackSize(stackSize);
15686
15687 }
15688 return ;
15689 }
15690 // $ANTLR end "rule__ALSOverride__Group_1__0__Impl"
15691
15692
15693 // $ANTLR start "rule__ALSOverride__Group_1__1"
15694 // InternalAlloyLanguage.g:5387:1: rule__ALSOverride__Group_1__1 : rule__ALSOverride__Group_1__1__Impl rule__ALSOverride__Group_1__2 ;
15695 public final void rule__ALSOverride__Group_1__1() throws RecognitionException {
15696
15697 int stackSize = keepStackSize();
15698
15699 try {
15700 // InternalAlloyLanguage.g:5391:1: ( rule__ALSOverride__Group_1__1__Impl rule__ALSOverride__Group_1__2 )
15701 // InternalAlloyLanguage.g:5392:2: rule__ALSOverride__Group_1__1__Impl rule__ALSOverride__Group_1__2
15702 {
15703 pushFollow(FOLLOW_16);
15704 rule__ALSOverride__Group_1__1__Impl();
15705
15706 state._fsp--;
15707 if (state.failed) return ;
15708 pushFollow(FOLLOW_2);
15709 rule__ALSOverride__Group_1__2();
15710
15711 state._fsp--;
15712 if (state.failed) return ;
15713
15714 }
15715
15716 }
15717 catch (RecognitionException re) {
15718 reportError(re);
15719 recover(input,re);
15720 }
15721 finally {
15722
15723 restoreStackSize(stackSize);
15724
15725 }
15726 return ;
15727 }
15728 // $ANTLR end "rule__ALSOverride__Group_1__1"
15729
15730
15731 // $ANTLR start "rule__ALSOverride__Group_1__1__Impl"
15732 // InternalAlloyLanguage.g:5399:1: rule__ALSOverride__Group_1__1__Impl : ( '++' ) ;
15733 public final void rule__ALSOverride__Group_1__1__Impl() throws RecognitionException {
15734
15735 int stackSize = keepStackSize();
15736
15737 try {
15738 // InternalAlloyLanguage.g:5403:1: ( ( '++' ) )
15739 // InternalAlloyLanguage.g:5404:1: ( '++' )
15740 {
15741 // InternalAlloyLanguage.g:5404:1: ( '++' )
15742 // InternalAlloyLanguage.g:5405:1: '++'
15743 {
15744 if ( state.backtracking==0 ) {
15745 before(grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1());
15746 }
15747 match(input,53,FOLLOW_2); if (state.failed) return ;
15748 if ( state.backtracking==0 ) {
15749 after(grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1());
15750 }
15751
15752 }
15753
15754
15755 }
15756
15757 }
15758 catch (RecognitionException re) {
15759 reportError(re);
15760 recover(input,re);
15761 }
15762 finally {
15763
15764 restoreStackSize(stackSize);
15765
15766 }
15767 return ;
15768 }
15769 // $ANTLR end "rule__ALSOverride__Group_1__1__Impl"
15770
15771
15772 // $ANTLR start "rule__ALSOverride__Group_1__2"
15773 // InternalAlloyLanguage.g:5418:1: rule__ALSOverride__Group_1__2 : rule__ALSOverride__Group_1__2__Impl ;
15774 public final void rule__ALSOverride__Group_1__2() throws RecognitionException {
15775
15776 int stackSize = keepStackSize();
15777
15778 try {
15779 // InternalAlloyLanguage.g:5422:1: ( rule__ALSOverride__Group_1__2__Impl )
15780 // InternalAlloyLanguage.g:5423:2: rule__ALSOverride__Group_1__2__Impl
15781 {
15782 pushFollow(FOLLOW_2);
15783 rule__ALSOverride__Group_1__2__Impl();
15784
15785 state._fsp--;
15786 if (state.failed) return ;
15787
15788 }
15789
15790 }
15791 catch (RecognitionException re) {
15792 reportError(re);
15793 recover(input,re);
15794 }
15795 finally {
15796
15797 restoreStackSize(stackSize);
15798
15799 }
15800 return ;
15801 }
15802 // $ANTLR end "rule__ALSOverride__Group_1__2"
15803
15804
15805 // $ANTLR start "rule__ALSOverride__Group_1__2__Impl"
15806 // InternalAlloyLanguage.g:5429:1: rule__ALSOverride__Group_1__2__Impl : ( ( rule__ALSOverride__RightOperandAssignment_1_2 ) ) ;
15807 public final void rule__ALSOverride__Group_1__2__Impl() throws RecognitionException {
15808
15809 int stackSize = keepStackSize();
15810
15811 try {
15812 // InternalAlloyLanguage.g:5433:1: ( ( ( rule__ALSOverride__RightOperandAssignment_1_2 ) ) )
15813 // InternalAlloyLanguage.g:5434:1: ( ( rule__ALSOverride__RightOperandAssignment_1_2 ) )
15814 {
15815 // InternalAlloyLanguage.g:5434:1: ( ( rule__ALSOverride__RightOperandAssignment_1_2 ) )
15816 // InternalAlloyLanguage.g:5435:1: ( rule__ALSOverride__RightOperandAssignment_1_2 )
15817 {
15818 if ( state.backtracking==0 ) {
15819 before(grammarAccess.getALSOverrideAccess().getRightOperandAssignment_1_2());
15820 }
15821 // InternalAlloyLanguage.g:5436:1: ( rule__ALSOverride__RightOperandAssignment_1_2 )
15822 // InternalAlloyLanguage.g:5436:2: rule__ALSOverride__RightOperandAssignment_1_2
15823 {
15824 pushFollow(FOLLOW_2);
15825 rule__ALSOverride__RightOperandAssignment_1_2();
15826
15827 state._fsp--;
15828 if (state.failed) return ;
15829
15830 }
15831
15832 if ( state.backtracking==0 ) {
15833 after(grammarAccess.getALSOverrideAccess().getRightOperandAssignment_1_2());
15834 }
15835
15836 }
15837
15838
15839 }
15840
15841 }
15842 catch (RecognitionException re) {
15843 reportError(re);
15844 recover(input,re);
15845 }
15846 finally {
15847
15848 restoreStackSize(stackSize);
15849
15850 }
15851 return ;
15852 }
15853 // $ANTLR end "rule__ALSOverride__Group_1__2__Impl"
15854
15855
15856 // $ANTLR start "rule__ALSRangeRestrictionRight__Group__0"
15857 // InternalAlloyLanguage.g:5452:1: rule__ALSRangeRestrictionRight__Group__0 : rule__ALSRangeRestrictionRight__Group__0__Impl rule__ALSRangeRestrictionRight__Group__1 ;
15858 public final void rule__ALSRangeRestrictionRight__Group__0() throws RecognitionException {
15859
15860 int stackSize = keepStackSize();
15861
15862 try {
15863 // InternalAlloyLanguage.g:5456:1: ( rule__ALSRangeRestrictionRight__Group__0__Impl rule__ALSRangeRestrictionRight__Group__1 )
15864 // InternalAlloyLanguage.g:5457:2: rule__ALSRangeRestrictionRight__Group__0__Impl rule__ALSRangeRestrictionRight__Group__1
15865 {
15866 pushFollow(FOLLOW_38);
15867 rule__ALSRangeRestrictionRight__Group__0__Impl();
15868
15869 state._fsp--;
15870 if (state.failed) return ;
15871 pushFollow(FOLLOW_2);
15872 rule__ALSRangeRestrictionRight__Group__1();
15873
15874 state._fsp--;
15875 if (state.failed) return ;
15876
15877 }
15878
15879 }
15880 catch (RecognitionException re) {
15881 reportError(re);
15882 recover(input,re);
15883 }
15884 finally {
15885
15886 restoreStackSize(stackSize);
15887
15888 }
15889 return ;
15890 }
15891 // $ANTLR end "rule__ALSRangeRestrictionRight__Group__0"
15892
15893
15894 // $ANTLR start "rule__ALSRangeRestrictionRight__Group__0__Impl"
15895 // InternalAlloyLanguage.g:5464:1: rule__ALSRangeRestrictionRight__Group__0__Impl : ( ruleALSRangeRestrictionLeft ) ;
15896 public final void rule__ALSRangeRestrictionRight__Group__0__Impl() throws RecognitionException {
15897
15898 int stackSize = keepStackSize();
15899
15900 try {
15901 // InternalAlloyLanguage.g:5468:1: ( ( ruleALSRangeRestrictionLeft ) )
15902 // InternalAlloyLanguage.g:5469:1: ( ruleALSRangeRestrictionLeft )
15903 {
15904 // InternalAlloyLanguage.g:5469:1: ( ruleALSRangeRestrictionLeft )
15905 // InternalAlloyLanguage.g:5470:1: ruleALSRangeRestrictionLeft
15906 {
15907 if ( state.backtracking==0 ) {
15908 before(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0());
15909 }
15910 pushFollow(FOLLOW_2);
15911 ruleALSRangeRestrictionLeft();
15912
15913 state._fsp--;
15914 if (state.failed) return ;
15915 if ( state.backtracking==0 ) {
15916 after(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0());
15917 }
15918
15919 }
15920
15921
15922 }
15923
15924 }
15925 catch (RecognitionException re) {
15926 reportError(re);
15927 recover(input,re);
15928 }
15929 finally {
15930
15931 restoreStackSize(stackSize);
15932
15933 }
15934 return ;
15935 }
15936 // $ANTLR end "rule__ALSRangeRestrictionRight__Group__0__Impl"
15937
15938
15939 // $ANTLR start "rule__ALSRangeRestrictionRight__Group__1"
15940 // InternalAlloyLanguage.g:5481:1: rule__ALSRangeRestrictionRight__Group__1 : rule__ALSRangeRestrictionRight__Group__1__Impl ;
15941 public final void rule__ALSRangeRestrictionRight__Group__1() throws RecognitionException {
15942
15943 int stackSize = keepStackSize();
15944
15945 try {
15946 // InternalAlloyLanguage.g:5485:1: ( rule__ALSRangeRestrictionRight__Group__1__Impl )
15947 // InternalAlloyLanguage.g:5486:2: rule__ALSRangeRestrictionRight__Group__1__Impl
15948 {
15949 pushFollow(FOLLOW_2);
15950 rule__ALSRangeRestrictionRight__Group__1__Impl();
15951
15952 state._fsp--;
15953 if (state.failed) return ;
15954
15955 }
15956
15957 }
15958 catch (RecognitionException re) {
15959 reportError(re);
15960 recover(input,re);
15961 }
15962 finally {
15963
15964 restoreStackSize(stackSize);
15965
15966 }
15967 return ;
15968 }
15969 // $ANTLR end "rule__ALSRangeRestrictionRight__Group__1"
15970
15971
15972 // $ANTLR start "rule__ALSRangeRestrictionRight__Group__1__Impl"
15973 // InternalAlloyLanguage.g:5492:1: rule__ALSRangeRestrictionRight__Group__1__Impl : ( ( rule__ALSRangeRestrictionRight__Group_1__0 )? ) ;
15974 public final void rule__ALSRangeRestrictionRight__Group__1__Impl() throws RecognitionException {
15975
15976 int stackSize = keepStackSize();
15977
15978 try {
15979 // InternalAlloyLanguage.g:5496:1: ( ( ( rule__ALSRangeRestrictionRight__Group_1__0 )? ) )
15980 // InternalAlloyLanguage.g:5497:1: ( ( rule__ALSRangeRestrictionRight__Group_1__0 )? )
15981 {
15982 // InternalAlloyLanguage.g:5497:1: ( ( rule__ALSRangeRestrictionRight__Group_1__0 )? )
15983 // InternalAlloyLanguage.g:5498:1: ( rule__ALSRangeRestrictionRight__Group_1__0 )?
15984 {
15985 if ( state.backtracking==0 ) {
15986 before(grammarAccess.getALSRangeRestrictionRightAccess().getGroup_1());
15987 }
15988 // InternalAlloyLanguage.g:5499:1: ( rule__ALSRangeRestrictionRight__Group_1__0 )?
15989 int alt37=2;
15990 int LA37_0 = input.LA(1);
15991
15992 if ( (LA37_0==54) ) {
15993 alt37=1;
15994 }
15995 switch (alt37) {
15996 case 1 :
15997 // InternalAlloyLanguage.g:5499:2: rule__ALSRangeRestrictionRight__Group_1__0
15998 {
15999 pushFollow(FOLLOW_2);
16000 rule__ALSRangeRestrictionRight__Group_1__0();
16001
16002 state._fsp--;
16003 if (state.failed) return ;
16004
16005 }
16006 break;
16007
16008 }
16009
16010 if ( state.backtracking==0 ) {
16011 after(grammarAccess.getALSRangeRestrictionRightAccess().getGroup_1());
16012 }
16013
16014 }
16015
16016
16017 }
16018
16019 }
16020 catch (RecognitionException re) {
16021 reportError(re);
16022 recover(input,re);
16023 }
16024 finally {
16025
16026 restoreStackSize(stackSize);
16027
16028 }
16029 return ;
16030 }
16031 // $ANTLR end "rule__ALSRangeRestrictionRight__Group__1__Impl"
16032
16033
16034 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__0"
16035 // InternalAlloyLanguage.g:5513:1: rule__ALSRangeRestrictionRight__Group_1__0 : rule__ALSRangeRestrictionRight__Group_1__0__Impl rule__ALSRangeRestrictionRight__Group_1__1 ;
16036 public final void rule__ALSRangeRestrictionRight__Group_1__0() throws RecognitionException {
16037
16038 int stackSize = keepStackSize();
16039
16040 try {
16041 // InternalAlloyLanguage.g:5517:1: ( rule__ALSRangeRestrictionRight__Group_1__0__Impl rule__ALSRangeRestrictionRight__Group_1__1 )
16042 // InternalAlloyLanguage.g:5518:2: rule__ALSRangeRestrictionRight__Group_1__0__Impl rule__ALSRangeRestrictionRight__Group_1__1
16043 {
16044 pushFollow(FOLLOW_38);
16045 rule__ALSRangeRestrictionRight__Group_1__0__Impl();
16046
16047 state._fsp--;
16048 if (state.failed) return ;
16049 pushFollow(FOLLOW_2);
16050 rule__ALSRangeRestrictionRight__Group_1__1();
16051
16052 state._fsp--;
16053 if (state.failed) return ;
16054
16055 }
16056
16057 }
16058 catch (RecognitionException re) {
16059 reportError(re);
16060 recover(input,re);
16061 }
16062 finally {
16063
16064 restoreStackSize(stackSize);
16065
16066 }
16067 return ;
16068 }
16069 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__0"
16070
16071
16072 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__0__Impl"
16073 // InternalAlloyLanguage.g:5525:1: rule__ALSRangeRestrictionRight__Group_1__0__Impl : ( () ) ;
16074 public final void rule__ALSRangeRestrictionRight__Group_1__0__Impl() throws RecognitionException {
16075
16076 int stackSize = keepStackSize();
16077
16078 try {
16079 // InternalAlloyLanguage.g:5529:1: ( ( () ) )
16080 // InternalAlloyLanguage.g:5530:1: ( () )
16081 {
16082 // InternalAlloyLanguage.g:5530:1: ( () )
16083 // InternalAlloyLanguage.g:5531:1: ()
16084 {
16085 if ( state.backtracking==0 ) {
16086 before(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0());
16087 }
16088 // InternalAlloyLanguage.g:5532:1: ()
16089 // InternalAlloyLanguage.g:5534:1:
16090 {
16091 }
16092
16093 if ( state.backtracking==0 ) {
16094 after(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0());
16095 }
16096
16097 }
16098
16099
16100 }
16101
16102 }
16103 finally {
16104
16105 restoreStackSize(stackSize);
16106
16107 }
16108 return ;
16109 }
16110 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__0__Impl"
16111
16112
16113 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__1"
16114 // InternalAlloyLanguage.g:5544:1: rule__ALSRangeRestrictionRight__Group_1__1 : rule__ALSRangeRestrictionRight__Group_1__1__Impl rule__ALSRangeRestrictionRight__Group_1__2 ;
16115 public final void rule__ALSRangeRestrictionRight__Group_1__1() throws RecognitionException {
16116
16117 int stackSize = keepStackSize();
16118
16119 try {
16120 // InternalAlloyLanguage.g:5548:1: ( rule__ALSRangeRestrictionRight__Group_1__1__Impl rule__ALSRangeRestrictionRight__Group_1__2 )
16121 // InternalAlloyLanguage.g:5549:2: rule__ALSRangeRestrictionRight__Group_1__1__Impl rule__ALSRangeRestrictionRight__Group_1__2
16122 {
16123 pushFollow(FOLLOW_16);
16124 rule__ALSRangeRestrictionRight__Group_1__1__Impl();
16125
16126 state._fsp--;
16127 if (state.failed) return ;
16128 pushFollow(FOLLOW_2);
16129 rule__ALSRangeRestrictionRight__Group_1__2();
16130
16131 state._fsp--;
16132 if (state.failed) return ;
16133
16134 }
16135
16136 }
16137 catch (RecognitionException re) {
16138 reportError(re);
16139 recover(input,re);
16140 }
16141 finally {
16142
16143 restoreStackSize(stackSize);
16144
16145 }
16146 return ;
16147 }
16148 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__1"
16149
16150
16151 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__1__Impl"
16152 // InternalAlloyLanguage.g:5556:1: rule__ALSRangeRestrictionRight__Group_1__1__Impl : ( ':>' ) ;
16153 public final void rule__ALSRangeRestrictionRight__Group_1__1__Impl() throws RecognitionException {
16154
16155 int stackSize = keepStackSize();
16156
16157 try {
16158 // InternalAlloyLanguage.g:5560:1: ( ( ':>' ) )
16159 // InternalAlloyLanguage.g:5561:1: ( ':>' )
16160 {
16161 // InternalAlloyLanguage.g:5561:1: ( ':>' )
16162 // InternalAlloyLanguage.g:5562:1: ':>'
16163 {
16164 if ( state.backtracking==0 ) {
16165 before(grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1());
16166 }
16167 match(input,54,FOLLOW_2); if (state.failed) return ;
16168 if ( state.backtracking==0 ) {
16169 after(grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1());
16170 }
16171
16172 }
16173
16174
16175 }
16176
16177 }
16178 catch (RecognitionException re) {
16179 reportError(re);
16180 recover(input,re);
16181 }
16182 finally {
16183
16184 restoreStackSize(stackSize);
16185
16186 }
16187 return ;
16188 }
16189 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__1__Impl"
16190
16191
16192 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__2"
16193 // InternalAlloyLanguage.g:5575:1: rule__ALSRangeRestrictionRight__Group_1__2 : rule__ALSRangeRestrictionRight__Group_1__2__Impl ;
16194 public final void rule__ALSRangeRestrictionRight__Group_1__2() throws RecognitionException {
16195
16196 int stackSize = keepStackSize();
16197
16198 try {
16199 // InternalAlloyLanguage.g:5579:1: ( rule__ALSRangeRestrictionRight__Group_1__2__Impl )
16200 // InternalAlloyLanguage.g:5580:2: rule__ALSRangeRestrictionRight__Group_1__2__Impl
16201 {
16202 pushFollow(FOLLOW_2);
16203 rule__ALSRangeRestrictionRight__Group_1__2__Impl();
16204
16205 state._fsp--;
16206 if (state.failed) return ;
16207
16208 }
16209
16210 }
16211 catch (RecognitionException re) {
16212 reportError(re);
16213 recover(input,re);
16214 }
16215 finally {
16216
16217 restoreStackSize(stackSize);
16218
16219 }
16220 return ;
16221 }
16222 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__2"
16223
16224
16225 // $ANTLR start "rule__ALSRangeRestrictionRight__Group_1__2__Impl"
16226 // InternalAlloyLanguage.g:5586:1: rule__ALSRangeRestrictionRight__Group_1__2__Impl : ( ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 ) ) ;
16227 public final void rule__ALSRangeRestrictionRight__Group_1__2__Impl() throws RecognitionException {
16228
16229 int stackSize = keepStackSize();
16230
16231 try {
16232 // InternalAlloyLanguage.g:5590:1: ( ( ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 ) ) )
16233 // InternalAlloyLanguage.g:5591:1: ( ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 ) )
16234 {
16235 // InternalAlloyLanguage.g:5591:1: ( ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 ) )
16236 // InternalAlloyLanguage.g:5592:1: ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 )
16237 {
16238 if ( state.backtracking==0 ) {
16239 before(grammarAccess.getALSRangeRestrictionRightAccess().getFilterAssignment_1_2());
16240 }
16241 // InternalAlloyLanguage.g:5593:1: ( rule__ALSRangeRestrictionRight__FilterAssignment_1_2 )
16242 // InternalAlloyLanguage.g:5593:2: rule__ALSRangeRestrictionRight__FilterAssignment_1_2
16243 {
16244 pushFollow(FOLLOW_2);
16245 rule__ALSRangeRestrictionRight__FilterAssignment_1_2();
16246
16247 state._fsp--;
16248 if (state.failed) return ;
16249
16250 }
16251
16252 if ( state.backtracking==0 ) {
16253 after(grammarAccess.getALSRangeRestrictionRightAccess().getFilterAssignment_1_2());
16254 }
16255
16256 }
16257
16258
16259 }
16260
16261 }
16262 catch (RecognitionException re) {
16263 reportError(re);
16264 recover(input,re);
16265 }
16266 finally {
16267
16268 restoreStackSize(stackSize);
16269
16270 }
16271 return ;
16272 }
16273 // $ANTLR end "rule__ALSRangeRestrictionRight__Group_1__2__Impl"
16274
16275
16276 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group__0"
16277 // InternalAlloyLanguage.g:5609:1: rule__ALSRangeRestrictionLeft__Group__0 : rule__ALSRangeRestrictionLeft__Group__0__Impl rule__ALSRangeRestrictionLeft__Group__1 ;
16278 public final void rule__ALSRangeRestrictionLeft__Group__0() throws RecognitionException {
16279
16280 int stackSize = keepStackSize();
16281
16282 try {
16283 // InternalAlloyLanguage.g:5613:1: ( rule__ALSRangeRestrictionLeft__Group__0__Impl rule__ALSRangeRestrictionLeft__Group__1 )
16284 // InternalAlloyLanguage.g:5614:2: rule__ALSRangeRestrictionLeft__Group__0__Impl rule__ALSRangeRestrictionLeft__Group__1
16285 {
16286 pushFollow(FOLLOW_39);
16287 rule__ALSRangeRestrictionLeft__Group__0__Impl();
16288
16289 state._fsp--;
16290 if (state.failed) return ;
16291 pushFollow(FOLLOW_2);
16292 rule__ALSRangeRestrictionLeft__Group__1();
16293
16294 state._fsp--;
16295 if (state.failed) return ;
16296
16297 }
16298
16299 }
16300 catch (RecognitionException re) {
16301 reportError(re);
16302 recover(input,re);
16303 }
16304 finally {
16305
16306 restoreStackSize(stackSize);
16307
16308 }
16309 return ;
16310 }
16311 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group__0"
16312
16313
16314 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group__0__Impl"
16315 // InternalAlloyLanguage.g:5621:1: rule__ALSRangeRestrictionLeft__Group__0__Impl : ( ruleALSJoin ) ;
16316 public final void rule__ALSRangeRestrictionLeft__Group__0__Impl() throws RecognitionException {
16317
16318 int stackSize = keepStackSize();
16319
16320 try {
16321 // InternalAlloyLanguage.g:5625:1: ( ( ruleALSJoin ) )
16322 // InternalAlloyLanguage.g:5626:1: ( ruleALSJoin )
16323 {
16324 // InternalAlloyLanguage.g:5626:1: ( ruleALSJoin )
16325 // InternalAlloyLanguage.g:5627:1: ruleALSJoin
16326 {
16327 if ( state.backtracking==0 ) {
16328 before(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0());
16329 }
16330 pushFollow(FOLLOW_2);
16331 ruleALSJoin();
16332
16333 state._fsp--;
16334 if (state.failed) return ;
16335 if ( state.backtracking==0 ) {
16336 after(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0());
16337 }
16338
16339 }
16340
16341
16342 }
16343
16344 }
16345 catch (RecognitionException re) {
16346 reportError(re);
16347 recover(input,re);
16348 }
16349 finally {
16350
16351 restoreStackSize(stackSize);
16352
16353 }
16354 return ;
16355 }
16356 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group__0__Impl"
16357
16358
16359 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group__1"
16360 // InternalAlloyLanguage.g:5638:1: rule__ALSRangeRestrictionLeft__Group__1 : rule__ALSRangeRestrictionLeft__Group__1__Impl ;
16361 public final void rule__ALSRangeRestrictionLeft__Group__1() throws RecognitionException {
16362
16363 int stackSize = keepStackSize();
16364
16365 try {
16366 // InternalAlloyLanguage.g:5642:1: ( rule__ALSRangeRestrictionLeft__Group__1__Impl )
16367 // InternalAlloyLanguage.g:5643:2: rule__ALSRangeRestrictionLeft__Group__1__Impl
16368 {
16369 pushFollow(FOLLOW_2);
16370 rule__ALSRangeRestrictionLeft__Group__1__Impl();
16371
16372 state._fsp--;
16373 if (state.failed) return ;
16374
16375 }
16376
16377 }
16378 catch (RecognitionException re) {
16379 reportError(re);
16380 recover(input,re);
16381 }
16382 finally {
16383
16384 restoreStackSize(stackSize);
16385
16386 }
16387 return ;
16388 }
16389 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group__1"
16390
16391
16392 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group__1__Impl"
16393 // InternalAlloyLanguage.g:5649:1: rule__ALSRangeRestrictionLeft__Group__1__Impl : ( ( rule__ALSRangeRestrictionLeft__Group_1__0 )? ) ;
16394 public final void rule__ALSRangeRestrictionLeft__Group__1__Impl() throws RecognitionException {
16395
16396 int stackSize = keepStackSize();
16397
16398 try {
16399 // InternalAlloyLanguage.g:5653:1: ( ( ( rule__ALSRangeRestrictionLeft__Group_1__0 )? ) )
16400 // InternalAlloyLanguage.g:5654:1: ( ( rule__ALSRangeRestrictionLeft__Group_1__0 )? )
16401 {
16402 // InternalAlloyLanguage.g:5654:1: ( ( rule__ALSRangeRestrictionLeft__Group_1__0 )? )
16403 // InternalAlloyLanguage.g:5655:1: ( rule__ALSRangeRestrictionLeft__Group_1__0 )?
16404 {
16405 if ( state.backtracking==0 ) {
16406 before(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup_1());
16407 }
16408 // InternalAlloyLanguage.g:5656:1: ( rule__ALSRangeRestrictionLeft__Group_1__0 )?
16409 int alt38=2;
16410 int LA38_0 = input.LA(1);
16411
16412 if ( (LA38_0==55) ) {
16413 alt38=1;
16414 }
16415 switch (alt38) {
16416 case 1 :
16417 // InternalAlloyLanguage.g:5656:2: rule__ALSRangeRestrictionLeft__Group_1__0
16418 {
16419 pushFollow(FOLLOW_2);
16420 rule__ALSRangeRestrictionLeft__Group_1__0();
16421
16422 state._fsp--;
16423 if (state.failed) return ;
16424
16425 }
16426 break;
16427
16428 }
16429
16430 if ( state.backtracking==0 ) {
16431 after(grammarAccess.getALSRangeRestrictionLeftAccess().getGroup_1());
16432 }
16433
16434 }
16435
16436
16437 }
16438
16439 }
16440 catch (RecognitionException re) {
16441 reportError(re);
16442 recover(input,re);
16443 }
16444 finally {
16445
16446 restoreStackSize(stackSize);
16447
16448 }
16449 return ;
16450 }
16451 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group__1__Impl"
16452
16453
16454 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__0"
16455 // InternalAlloyLanguage.g:5670:1: rule__ALSRangeRestrictionLeft__Group_1__0 : rule__ALSRangeRestrictionLeft__Group_1__0__Impl rule__ALSRangeRestrictionLeft__Group_1__1 ;
16456 public final void rule__ALSRangeRestrictionLeft__Group_1__0() throws RecognitionException {
16457
16458 int stackSize = keepStackSize();
16459
16460 try {
16461 // InternalAlloyLanguage.g:5674:1: ( rule__ALSRangeRestrictionLeft__Group_1__0__Impl rule__ALSRangeRestrictionLeft__Group_1__1 )
16462 // InternalAlloyLanguage.g:5675:2: rule__ALSRangeRestrictionLeft__Group_1__0__Impl rule__ALSRangeRestrictionLeft__Group_1__1
16463 {
16464 pushFollow(FOLLOW_39);
16465 rule__ALSRangeRestrictionLeft__Group_1__0__Impl();
16466
16467 state._fsp--;
16468 if (state.failed) return ;
16469 pushFollow(FOLLOW_2);
16470 rule__ALSRangeRestrictionLeft__Group_1__1();
16471
16472 state._fsp--;
16473 if (state.failed) return ;
16474
16475 }
16476
16477 }
16478 catch (RecognitionException re) {
16479 reportError(re);
16480 recover(input,re);
16481 }
16482 finally {
16483
16484 restoreStackSize(stackSize);
16485
16486 }
16487 return ;
16488 }
16489 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__0"
16490
16491
16492 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__0__Impl"
16493 // InternalAlloyLanguage.g:5682:1: rule__ALSRangeRestrictionLeft__Group_1__0__Impl : ( () ) ;
16494 public final void rule__ALSRangeRestrictionLeft__Group_1__0__Impl() throws RecognitionException {
16495
16496 int stackSize = keepStackSize();
16497
16498 try {
16499 // InternalAlloyLanguage.g:5686:1: ( ( () ) )
16500 // InternalAlloyLanguage.g:5687:1: ( () )
16501 {
16502 // InternalAlloyLanguage.g:5687:1: ( () )
16503 // InternalAlloyLanguage.g:5688:1: ()
16504 {
16505 if ( state.backtracking==0 ) {
16506 before(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0());
16507 }
16508 // InternalAlloyLanguage.g:5689:1: ()
16509 // InternalAlloyLanguage.g:5691:1:
16510 {
16511 }
16512
16513 if ( state.backtracking==0 ) {
16514 after(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0());
16515 }
16516
16517 }
16518
16519
16520 }
16521
16522 }
16523 finally {
16524
16525 restoreStackSize(stackSize);
16526
16527 }
16528 return ;
16529 }
16530 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__0__Impl"
16531
16532
16533 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__1"
16534 // InternalAlloyLanguage.g:5701:1: rule__ALSRangeRestrictionLeft__Group_1__1 : rule__ALSRangeRestrictionLeft__Group_1__1__Impl rule__ALSRangeRestrictionLeft__Group_1__2 ;
16535 public final void rule__ALSRangeRestrictionLeft__Group_1__1() throws RecognitionException {
16536
16537 int stackSize = keepStackSize();
16538
16539 try {
16540 // InternalAlloyLanguage.g:5705:1: ( rule__ALSRangeRestrictionLeft__Group_1__1__Impl rule__ALSRangeRestrictionLeft__Group_1__2 )
16541 // InternalAlloyLanguage.g:5706:2: rule__ALSRangeRestrictionLeft__Group_1__1__Impl rule__ALSRangeRestrictionLeft__Group_1__2
16542 {
16543 pushFollow(FOLLOW_16);
16544 rule__ALSRangeRestrictionLeft__Group_1__1__Impl();
16545
16546 state._fsp--;
16547 if (state.failed) return ;
16548 pushFollow(FOLLOW_2);
16549 rule__ALSRangeRestrictionLeft__Group_1__2();
16550
16551 state._fsp--;
16552 if (state.failed) return ;
16553
16554 }
16555
16556 }
16557 catch (RecognitionException re) {
16558 reportError(re);
16559 recover(input,re);
16560 }
16561 finally {
16562
16563 restoreStackSize(stackSize);
16564
16565 }
16566 return ;
16567 }
16568 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__1"
16569
16570
16571 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__1__Impl"
16572 // InternalAlloyLanguage.g:5713:1: rule__ALSRangeRestrictionLeft__Group_1__1__Impl : ( '<:' ) ;
16573 public final void rule__ALSRangeRestrictionLeft__Group_1__1__Impl() throws RecognitionException {
16574
16575 int stackSize = keepStackSize();
16576
16577 try {
16578 // InternalAlloyLanguage.g:5717:1: ( ( '<:' ) )
16579 // InternalAlloyLanguage.g:5718:1: ( '<:' )
16580 {
16581 // InternalAlloyLanguage.g:5718:1: ( '<:' )
16582 // InternalAlloyLanguage.g:5719:1: '<:'
16583 {
16584 if ( state.backtracking==0 ) {
16585 before(grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1());
16586 }
16587 match(input,55,FOLLOW_2); if (state.failed) return ;
16588 if ( state.backtracking==0 ) {
16589 after(grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1());
16590 }
16591
16592 }
16593
16594
16595 }
16596
16597 }
16598 catch (RecognitionException re) {
16599 reportError(re);
16600 recover(input,re);
16601 }
16602 finally {
16603
16604 restoreStackSize(stackSize);
16605
16606 }
16607 return ;
16608 }
16609 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__1__Impl"
16610
16611
16612 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__2"
16613 // InternalAlloyLanguage.g:5732:1: rule__ALSRangeRestrictionLeft__Group_1__2 : rule__ALSRangeRestrictionLeft__Group_1__2__Impl ;
16614 public final void rule__ALSRangeRestrictionLeft__Group_1__2() throws RecognitionException {
16615
16616 int stackSize = keepStackSize();
16617
16618 try {
16619 // InternalAlloyLanguage.g:5736:1: ( rule__ALSRangeRestrictionLeft__Group_1__2__Impl )
16620 // InternalAlloyLanguage.g:5737:2: rule__ALSRangeRestrictionLeft__Group_1__2__Impl
16621 {
16622 pushFollow(FOLLOW_2);
16623 rule__ALSRangeRestrictionLeft__Group_1__2__Impl();
16624
16625 state._fsp--;
16626 if (state.failed) return ;
16627
16628 }
16629
16630 }
16631 catch (RecognitionException re) {
16632 reportError(re);
16633 recover(input,re);
16634 }
16635 finally {
16636
16637 restoreStackSize(stackSize);
16638
16639 }
16640 return ;
16641 }
16642 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__2"
16643
16644
16645 // $ANTLR start "rule__ALSRangeRestrictionLeft__Group_1__2__Impl"
16646 // InternalAlloyLanguage.g:5743:1: rule__ALSRangeRestrictionLeft__Group_1__2__Impl : ( ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 ) ) ;
16647 public final void rule__ALSRangeRestrictionLeft__Group_1__2__Impl() throws RecognitionException {
16648
16649 int stackSize = keepStackSize();
16650
16651 try {
16652 // InternalAlloyLanguage.g:5747:1: ( ( ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 ) ) )
16653 // InternalAlloyLanguage.g:5748:1: ( ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 ) )
16654 {
16655 // InternalAlloyLanguage.g:5748:1: ( ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 ) )
16656 // InternalAlloyLanguage.g:5749:1: ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 )
16657 {
16658 if ( state.backtracking==0 ) {
16659 before(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationAssignment_1_2());
16660 }
16661 // InternalAlloyLanguage.g:5750:1: ( rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 )
16662 // InternalAlloyLanguage.g:5750:2: rule__ALSRangeRestrictionLeft__RelationAssignment_1_2
16663 {
16664 pushFollow(FOLLOW_2);
16665 rule__ALSRangeRestrictionLeft__RelationAssignment_1_2();
16666
16667 state._fsp--;
16668 if (state.failed) return ;
16669
16670 }
16671
16672 if ( state.backtracking==0 ) {
16673 after(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationAssignment_1_2());
16674 }
16675
16676 }
16677
16678
16679 }
16680
16681 }
16682 catch (RecognitionException re) {
16683 reportError(re);
16684 recover(input,re);
16685 }
16686 finally {
16687
16688 restoreStackSize(stackSize);
16689
16690 }
16691 return ;
16692 }
16693 // $ANTLR end "rule__ALSRangeRestrictionLeft__Group_1__2__Impl"
16694
16695
16696 // $ANTLR start "rule__ALSJoin__Group__0"
16697 // InternalAlloyLanguage.g:5766:1: rule__ALSJoin__Group__0 : rule__ALSJoin__Group__0__Impl rule__ALSJoin__Group__1 ;
16698 public final void rule__ALSJoin__Group__0() throws RecognitionException {
16699
16700 int stackSize = keepStackSize();
16701
16702 try {
16703 // InternalAlloyLanguage.g:5770:1: ( rule__ALSJoin__Group__0__Impl rule__ALSJoin__Group__1 )
16704 // InternalAlloyLanguage.g:5771:2: rule__ALSJoin__Group__0__Impl rule__ALSJoin__Group__1
16705 {
16706 pushFollow(FOLLOW_40);
16707 rule__ALSJoin__Group__0__Impl();
16708
16709 state._fsp--;
16710 if (state.failed) return ;
16711 pushFollow(FOLLOW_2);
16712 rule__ALSJoin__Group__1();
16713
16714 state._fsp--;
16715 if (state.failed) return ;
16716
16717 }
16718
16719 }
16720 catch (RecognitionException re) {
16721 reportError(re);
16722 recover(input,re);
16723 }
16724 finally {
16725
16726 restoreStackSize(stackSize);
16727
16728 }
16729 return ;
16730 }
16731 // $ANTLR end "rule__ALSJoin__Group__0"
16732
16733
16734 // $ANTLR start "rule__ALSJoin__Group__0__Impl"
16735 // InternalAlloyLanguage.g:5778:1: rule__ALSJoin__Group__0__Impl : ( ruleALSMinus ) ;
16736 public final void rule__ALSJoin__Group__0__Impl() throws RecognitionException {
16737
16738 int stackSize = keepStackSize();
16739
16740 try {
16741 // InternalAlloyLanguage.g:5782:1: ( ( ruleALSMinus ) )
16742 // InternalAlloyLanguage.g:5783:1: ( ruleALSMinus )
16743 {
16744 // InternalAlloyLanguage.g:5783:1: ( ruleALSMinus )
16745 // InternalAlloyLanguage.g:5784:1: ruleALSMinus
16746 {
16747 if ( state.backtracking==0 ) {
16748 before(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0());
16749 }
16750 pushFollow(FOLLOW_2);
16751 ruleALSMinus();
16752
16753 state._fsp--;
16754 if (state.failed) return ;
16755 if ( state.backtracking==0 ) {
16756 after(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0());
16757 }
16758
16759 }
16760
16761
16762 }
16763
16764 }
16765 catch (RecognitionException re) {
16766 reportError(re);
16767 recover(input,re);
16768 }
16769 finally {
16770
16771 restoreStackSize(stackSize);
16772
16773 }
16774 return ;
16775 }
16776 // $ANTLR end "rule__ALSJoin__Group__0__Impl"
16777
16778
16779 // $ANTLR start "rule__ALSJoin__Group__1"
16780 // InternalAlloyLanguage.g:5795:1: rule__ALSJoin__Group__1 : rule__ALSJoin__Group__1__Impl ;
16781 public final void rule__ALSJoin__Group__1() throws RecognitionException {
16782
16783 int stackSize = keepStackSize();
16784
16785 try {
16786 // InternalAlloyLanguage.g:5799:1: ( rule__ALSJoin__Group__1__Impl )
16787 // InternalAlloyLanguage.g:5800:2: rule__ALSJoin__Group__1__Impl
16788 {
16789 pushFollow(FOLLOW_2);
16790 rule__ALSJoin__Group__1__Impl();
16791
16792 state._fsp--;
16793 if (state.failed) return ;
16794
16795 }
16796
16797 }
16798 catch (RecognitionException re) {
16799 reportError(re);
16800 recover(input,re);
16801 }
16802 finally {
16803
16804 restoreStackSize(stackSize);
16805
16806 }
16807 return ;
16808 }
16809 // $ANTLR end "rule__ALSJoin__Group__1"
16810
16811
16812 // $ANTLR start "rule__ALSJoin__Group__1__Impl"
16813 // InternalAlloyLanguage.g:5806:1: rule__ALSJoin__Group__1__Impl : ( ( rule__ALSJoin__Group_1__0 )* ) ;
16814 public final void rule__ALSJoin__Group__1__Impl() throws RecognitionException {
16815
16816 int stackSize = keepStackSize();
16817
16818 try {
16819 // InternalAlloyLanguage.g:5810:1: ( ( ( rule__ALSJoin__Group_1__0 )* ) )
16820 // InternalAlloyLanguage.g:5811:1: ( ( rule__ALSJoin__Group_1__0 )* )
16821 {
16822 // InternalAlloyLanguage.g:5811:1: ( ( rule__ALSJoin__Group_1__0 )* )
16823 // InternalAlloyLanguage.g:5812:1: ( rule__ALSJoin__Group_1__0 )*
16824 {
16825 if ( state.backtracking==0 ) {
16826 before(grammarAccess.getALSJoinAccess().getGroup_1());
16827 }
16828 // InternalAlloyLanguage.g:5813:1: ( rule__ALSJoin__Group_1__0 )*
16829 loop39:
16830 do {
16831 int alt39=2;
16832 int LA39_0 = input.LA(1);
16833
16834 if ( (LA39_0==56) ) {
16835 alt39=1;
16836 }
16837
16838
16839 switch (alt39) {
16840 case 1 :
16841 // InternalAlloyLanguage.g:5813:2: rule__ALSJoin__Group_1__0
16842 {
16843 pushFollow(FOLLOW_41);
16844 rule__ALSJoin__Group_1__0();
16845
16846 state._fsp--;
16847 if (state.failed) return ;
16848
16849 }
16850 break;
16851
16852 default :
16853 break loop39;
16854 }
16855 } while (true);
16856
16857 if ( state.backtracking==0 ) {
16858 after(grammarAccess.getALSJoinAccess().getGroup_1());
16859 }
16860
16861 }
16862
16863
16864 }
16865
16866 }
16867 catch (RecognitionException re) {
16868 reportError(re);
16869 recover(input,re);
16870 }
16871 finally {
16872
16873 restoreStackSize(stackSize);
16874
16875 }
16876 return ;
16877 }
16878 // $ANTLR end "rule__ALSJoin__Group__1__Impl"
16879
16880
16881 // $ANTLR start "rule__ALSJoin__Group_1__0"
16882 // InternalAlloyLanguage.g:5827:1: rule__ALSJoin__Group_1__0 : rule__ALSJoin__Group_1__0__Impl rule__ALSJoin__Group_1__1 ;
16883 public final void rule__ALSJoin__Group_1__0() throws RecognitionException {
16884
16885 int stackSize = keepStackSize();
16886
16887 try {
16888 // InternalAlloyLanguage.g:5831:1: ( rule__ALSJoin__Group_1__0__Impl rule__ALSJoin__Group_1__1 )
16889 // InternalAlloyLanguage.g:5832:2: rule__ALSJoin__Group_1__0__Impl rule__ALSJoin__Group_1__1
16890 {
16891 pushFollow(FOLLOW_40);
16892 rule__ALSJoin__Group_1__0__Impl();
16893
16894 state._fsp--;
16895 if (state.failed) return ;
16896 pushFollow(FOLLOW_2);
16897 rule__ALSJoin__Group_1__1();
16898
16899 state._fsp--;
16900 if (state.failed) return ;
16901
16902 }
16903
16904 }
16905 catch (RecognitionException re) {
16906 reportError(re);
16907 recover(input,re);
16908 }
16909 finally {
16910
16911 restoreStackSize(stackSize);
16912
16913 }
16914 return ;
16915 }
16916 // $ANTLR end "rule__ALSJoin__Group_1__0"
16917
16918
16919 // $ANTLR start "rule__ALSJoin__Group_1__0__Impl"
16920 // InternalAlloyLanguage.g:5839:1: rule__ALSJoin__Group_1__0__Impl : ( () ) ;
16921 public final void rule__ALSJoin__Group_1__0__Impl() throws RecognitionException {
16922
16923 int stackSize = keepStackSize();
16924
16925 try {
16926 // InternalAlloyLanguage.g:5843:1: ( ( () ) )
16927 // InternalAlloyLanguage.g:5844:1: ( () )
16928 {
16929 // InternalAlloyLanguage.g:5844:1: ( () )
16930 // InternalAlloyLanguage.g:5845:1: ()
16931 {
16932 if ( state.backtracking==0 ) {
16933 before(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0());
16934 }
16935 // InternalAlloyLanguage.g:5846:1: ()
16936 // InternalAlloyLanguage.g:5848:1:
16937 {
16938 }
16939
16940 if ( state.backtracking==0 ) {
16941 after(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0());
16942 }
16943
16944 }
16945
16946
16947 }
16948
16949 }
16950 finally {
16951
16952 restoreStackSize(stackSize);
16953
16954 }
16955 return ;
16956 }
16957 // $ANTLR end "rule__ALSJoin__Group_1__0__Impl"
16958
16959
16960 // $ANTLR start "rule__ALSJoin__Group_1__1"
16961 // InternalAlloyLanguage.g:5858:1: rule__ALSJoin__Group_1__1 : rule__ALSJoin__Group_1__1__Impl rule__ALSJoin__Group_1__2 ;
16962 public final void rule__ALSJoin__Group_1__1() throws RecognitionException {
16963
16964 int stackSize = keepStackSize();
16965
16966 try {
16967 // InternalAlloyLanguage.g:5862:1: ( rule__ALSJoin__Group_1__1__Impl rule__ALSJoin__Group_1__2 )
16968 // InternalAlloyLanguage.g:5863:2: rule__ALSJoin__Group_1__1__Impl rule__ALSJoin__Group_1__2
16969 {
16970 pushFollow(FOLLOW_16);
16971 rule__ALSJoin__Group_1__1__Impl();
16972
16973 state._fsp--;
16974 if (state.failed) return ;
16975 pushFollow(FOLLOW_2);
16976 rule__ALSJoin__Group_1__2();
16977
16978 state._fsp--;
16979 if (state.failed) return ;
16980
16981 }
16982
16983 }
16984 catch (RecognitionException re) {
16985 reportError(re);
16986 recover(input,re);
16987 }
16988 finally {
16989
16990 restoreStackSize(stackSize);
16991
16992 }
16993 return ;
16994 }
16995 // $ANTLR end "rule__ALSJoin__Group_1__1"
16996
16997
16998 // $ANTLR start "rule__ALSJoin__Group_1__1__Impl"
16999 // InternalAlloyLanguage.g:5870:1: rule__ALSJoin__Group_1__1__Impl : ( '.' ) ;
17000 public final void rule__ALSJoin__Group_1__1__Impl() throws RecognitionException {
17001
17002 int stackSize = keepStackSize();
17003
17004 try {
17005 // InternalAlloyLanguage.g:5874:1: ( ( '.' ) )
17006 // InternalAlloyLanguage.g:5875:1: ( '.' )
17007 {
17008 // InternalAlloyLanguage.g:5875:1: ( '.' )
17009 // InternalAlloyLanguage.g:5876:1: '.'
17010 {
17011 if ( state.backtracking==0 ) {
17012 before(grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1());
17013 }
17014 match(input,56,FOLLOW_2); if (state.failed) return ;
17015 if ( state.backtracking==0 ) {
17016 after(grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1());
17017 }
17018
17019 }
17020
17021
17022 }
17023
17024 }
17025 catch (RecognitionException re) {
17026 reportError(re);
17027 recover(input,re);
17028 }
17029 finally {
17030
17031 restoreStackSize(stackSize);
17032
17033 }
17034 return ;
17035 }
17036 // $ANTLR end "rule__ALSJoin__Group_1__1__Impl"
17037
17038
17039 // $ANTLR start "rule__ALSJoin__Group_1__2"
17040 // InternalAlloyLanguage.g:5889:1: rule__ALSJoin__Group_1__2 : rule__ALSJoin__Group_1__2__Impl ;
17041 public final void rule__ALSJoin__Group_1__2() throws RecognitionException {
17042
17043 int stackSize = keepStackSize();
17044
17045 try {
17046 // InternalAlloyLanguage.g:5893:1: ( rule__ALSJoin__Group_1__2__Impl )
17047 // InternalAlloyLanguage.g:5894:2: rule__ALSJoin__Group_1__2__Impl
17048 {
17049 pushFollow(FOLLOW_2);
17050 rule__ALSJoin__Group_1__2__Impl();
17051
17052 state._fsp--;
17053 if (state.failed) return ;
17054
17055 }
17056
17057 }
17058 catch (RecognitionException re) {
17059 reportError(re);
17060 recover(input,re);
17061 }
17062 finally {
17063
17064 restoreStackSize(stackSize);
17065
17066 }
17067 return ;
17068 }
17069 // $ANTLR end "rule__ALSJoin__Group_1__2"
17070
17071
17072 // $ANTLR start "rule__ALSJoin__Group_1__2__Impl"
17073 // InternalAlloyLanguage.g:5900:1: rule__ALSJoin__Group_1__2__Impl : ( ( rule__ALSJoin__RightOperandAssignment_1_2 ) ) ;
17074 public final void rule__ALSJoin__Group_1__2__Impl() throws RecognitionException {
17075
17076 int stackSize = keepStackSize();
17077
17078 try {
17079 // InternalAlloyLanguage.g:5904:1: ( ( ( rule__ALSJoin__RightOperandAssignment_1_2 ) ) )
17080 // InternalAlloyLanguage.g:5905:1: ( ( rule__ALSJoin__RightOperandAssignment_1_2 ) )
17081 {
17082 // InternalAlloyLanguage.g:5905:1: ( ( rule__ALSJoin__RightOperandAssignment_1_2 ) )
17083 // InternalAlloyLanguage.g:5906:1: ( rule__ALSJoin__RightOperandAssignment_1_2 )
17084 {
17085 if ( state.backtracking==0 ) {
17086 before(grammarAccess.getALSJoinAccess().getRightOperandAssignment_1_2());
17087 }
17088 // InternalAlloyLanguage.g:5907:1: ( rule__ALSJoin__RightOperandAssignment_1_2 )
17089 // InternalAlloyLanguage.g:5907:2: rule__ALSJoin__RightOperandAssignment_1_2
17090 {
17091 pushFollow(FOLLOW_2);
17092 rule__ALSJoin__RightOperandAssignment_1_2();
17093
17094 state._fsp--;
17095 if (state.failed) return ;
17096
17097 }
17098
17099 if ( state.backtracking==0 ) {
17100 after(grammarAccess.getALSJoinAccess().getRightOperandAssignment_1_2());
17101 }
17102
17103 }
17104
17105
17106 }
17107
17108 }
17109 catch (RecognitionException re) {
17110 reportError(re);
17111 recover(input,re);
17112 }
17113 finally {
17114
17115 restoreStackSize(stackSize);
17116
17117 }
17118 return ;
17119 }
17120 // $ANTLR end "rule__ALSJoin__Group_1__2__Impl"
17121
17122
17123 // $ANTLR start "rule__ALSMinus__Group__0"
17124 // InternalAlloyLanguage.g:5923:1: rule__ALSMinus__Group__0 : rule__ALSMinus__Group__0__Impl rule__ALSMinus__Group__1 ;
17125 public final void rule__ALSMinus__Group__0() throws RecognitionException {
17126
17127 int stackSize = keepStackSize();
17128
17129 try {
17130 // InternalAlloyLanguage.g:5927:1: ( rule__ALSMinus__Group__0__Impl rule__ALSMinus__Group__1 )
17131 // InternalAlloyLanguage.g:5928:2: rule__ALSMinus__Group__0__Impl rule__ALSMinus__Group__1
17132 {
17133 pushFollow(FOLLOW_42);
17134 rule__ALSMinus__Group__0__Impl();
17135
17136 state._fsp--;
17137 if (state.failed) return ;
17138 pushFollow(FOLLOW_2);
17139 rule__ALSMinus__Group__1();
17140
17141 state._fsp--;
17142 if (state.failed) return ;
17143
17144 }
17145
17146 }
17147 catch (RecognitionException re) {
17148 reportError(re);
17149 recover(input,re);
17150 }
17151 finally {
17152
17153 restoreStackSize(stackSize);
17154
17155 }
17156 return ;
17157 }
17158 // $ANTLR end "rule__ALSMinus__Group__0"
17159
17160
17161 // $ANTLR start "rule__ALSMinus__Group__0__Impl"
17162 // InternalAlloyLanguage.g:5935:1: rule__ALSMinus__Group__0__Impl : ( ruleALSPlus ) ;
17163 public final void rule__ALSMinus__Group__0__Impl() throws RecognitionException {
17164
17165 int stackSize = keepStackSize();
17166
17167 try {
17168 // InternalAlloyLanguage.g:5939:1: ( ( ruleALSPlus ) )
17169 // InternalAlloyLanguage.g:5940:1: ( ruleALSPlus )
17170 {
17171 // InternalAlloyLanguage.g:5940:1: ( ruleALSPlus )
17172 // InternalAlloyLanguage.g:5941:1: ruleALSPlus
17173 {
17174 if ( state.backtracking==0 ) {
17175 before(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0());
17176 }
17177 pushFollow(FOLLOW_2);
17178 ruleALSPlus();
17179
17180 state._fsp--;
17181 if (state.failed) return ;
17182 if ( state.backtracking==0 ) {
17183 after(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0());
17184 }
17185
17186 }
17187
17188
17189 }
17190
17191 }
17192 catch (RecognitionException re) {
17193 reportError(re);
17194 recover(input,re);
17195 }
17196 finally {
17197
17198 restoreStackSize(stackSize);
17199
17200 }
17201 return ;
17202 }
17203 // $ANTLR end "rule__ALSMinus__Group__0__Impl"
17204
17205
17206 // $ANTLR start "rule__ALSMinus__Group__1"
17207 // InternalAlloyLanguage.g:5952:1: rule__ALSMinus__Group__1 : rule__ALSMinus__Group__1__Impl ;
17208 public final void rule__ALSMinus__Group__1() throws RecognitionException {
17209
17210 int stackSize = keepStackSize();
17211
17212 try {
17213 // InternalAlloyLanguage.g:5956:1: ( rule__ALSMinus__Group__1__Impl )
17214 // InternalAlloyLanguage.g:5957:2: rule__ALSMinus__Group__1__Impl
17215 {
17216 pushFollow(FOLLOW_2);
17217 rule__ALSMinus__Group__1__Impl();
17218
17219 state._fsp--;
17220 if (state.failed) return ;
17221
17222 }
17223
17224 }
17225 catch (RecognitionException re) {
17226 reportError(re);
17227 recover(input,re);
17228 }
17229 finally {
17230
17231 restoreStackSize(stackSize);
17232
17233 }
17234 return ;
17235 }
17236 // $ANTLR end "rule__ALSMinus__Group__1"
17237
17238
17239 // $ANTLR start "rule__ALSMinus__Group__1__Impl"
17240 // InternalAlloyLanguage.g:5963:1: rule__ALSMinus__Group__1__Impl : ( ( rule__ALSMinus__Group_1__0 )* ) ;
17241 public final void rule__ALSMinus__Group__1__Impl() throws RecognitionException {
17242
17243 int stackSize = keepStackSize();
17244
17245 try {
17246 // InternalAlloyLanguage.g:5967:1: ( ( ( rule__ALSMinus__Group_1__0 )* ) )
17247 // InternalAlloyLanguage.g:5968:1: ( ( rule__ALSMinus__Group_1__0 )* )
17248 {
17249 // InternalAlloyLanguage.g:5968:1: ( ( rule__ALSMinus__Group_1__0 )* )
17250 // InternalAlloyLanguage.g:5969:1: ( rule__ALSMinus__Group_1__0 )*
17251 {
17252 if ( state.backtracking==0 ) {
17253 before(grammarAccess.getALSMinusAccess().getGroup_1());
17254 }
17255 // InternalAlloyLanguage.g:5970:1: ( rule__ALSMinus__Group_1__0 )*
17256 loop40:
17257 do {
17258 int alt40=2;
17259 int LA40_0 = input.LA(1);
17260
17261 if ( (LA40_0==57) ) {
17262 alt40=1;
17263 }
17264
17265
17266 switch (alt40) {
17267 case 1 :
17268 // InternalAlloyLanguage.g:5970:2: rule__ALSMinus__Group_1__0
17269 {
17270 pushFollow(FOLLOW_43);
17271 rule__ALSMinus__Group_1__0();
17272
17273 state._fsp--;
17274 if (state.failed) return ;
17275
17276 }
17277 break;
17278
17279 default :
17280 break loop40;
17281 }
17282 } while (true);
17283
17284 if ( state.backtracking==0 ) {
17285 after(grammarAccess.getALSMinusAccess().getGroup_1());
17286 }
17287
17288 }
17289
17290
17291 }
17292
17293 }
17294 catch (RecognitionException re) {
17295 reportError(re);
17296 recover(input,re);
17297 }
17298 finally {
17299
17300 restoreStackSize(stackSize);
17301
17302 }
17303 return ;
17304 }
17305 // $ANTLR end "rule__ALSMinus__Group__1__Impl"
17306
17307
17308 // $ANTLR start "rule__ALSMinus__Group_1__0"
17309 // InternalAlloyLanguage.g:5984:1: rule__ALSMinus__Group_1__0 : rule__ALSMinus__Group_1__0__Impl rule__ALSMinus__Group_1__1 ;
17310 public final void rule__ALSMinus__Group_1__0() throws RecognitionException {
17311
17312 int stackSize = keepStackSize();
17313
17314 try {
17315 // InternalAlloyLanguage.g:5988:1: ( rule__ALSMinus__Group_1__0__Impl rule__ALSMinus__Group_1__1 )
17316 // InternalAlloyLanguage.g:5989:2: rule__ALSMinus__Group_1__0__Impl rule__ALSMinus__Group_1__1
17317 {
17318 pushFollow(FOLLOW_42);
17319 rule__ALSMinus__Group_1__0__Impl();
17320
17321 state._fsp--;
17322 if (state.failed) return ;
17323 pushFollow(FOLLOW_2);
17324 rule__ALSMinus__Group_1__1();
17325
17326 state._fsp--;
17327 if (state.failed) return ;
17328
17329 }
17330
17331 }
17332 catch (RecognitionException re) {
17333 reportError(re);
17334 recover(input,re);
17335 }
17336 finally {
17337
17338 restoreStackSize(stackSize);
17339
17340 }
17341 return ;
17342 }
17343 // $ANTLR end "rule__ALSMinus__Group_1__0"
17344
17345
17346 // $ANTLR start "rule__ALSMinus__Group_1__0__Impl"
17347 // InternalAlloyLanguage.g:5996:1: rule__ALSMinus__Group_1__0__Impl : ( () ) ;
17348 public final void rule__ALSMinus__Group_1__0__Impl() throws RecognitionException {
17349
17350 int stackSize = keepStackSize();
17351
17352 try {
17353 // InternalAlloyLanguage.g:6000:1: ( ( () ) )
17354 // InternalAlloyLanguage.g:6001:1: ( () )
17355 {
17356 // InternalAlloyLanguage.g:6001:1: ( () )
17357 // InternalAlloyLanguage.g:6002:1: ()
17358 {
17359 if ( state.backtracking==0 ) {
17360 before(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0());
17361 }
17362 // InternalAlloyLanguage.g:6003:1: ()
17363 // InternalAlloyLanguage.g:6005:1:
17364 {
17365 }
17366
17367 if ( state.backtracking==0 ) {
17368 after(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0());
17369 }
17370
17371 }
17372
17373
17374 }
17375
17376 }
17377 finally {
17378
17379 restoreStackSize(stackSize);
17380
17381 }
17382 return ;
17383 }
17384 // $ANTLR end "rule__ALSMinus__Group_1__0__Impl"
17385
17386
17387 // $ANTLR start "rule__ALSMinus__Group_1__1"
17388 // InternalAlloyLanguage.g:6015:1: rule__ALSMinus__Group_1__1 : rule__ALSMinus__Group_1__1__Impl rule__ALSMinus__Group_1__2 ;
17389 public final void rule__ALSMinus__Group_1__1() throws RecognitionException {
17390
17391 int stackSize = keepStackSize();
17392
17393 try {
17394 // InternalAlloyLanguage.g:6019:1: ( rule__ALSMinus__Group_1__1__Impl rule__ALSMinus__Group_1__2 )
17395 // InternalAlloyLanguage.g:6020:2: rule__ALSMinus__Group_1__1__Impl rule__ALSMinus__Group_1__2
17396 {
17397 pushFollow(FOLLOW_16);
17398 rule__ALSMinus__Group_1__1__Impl();
17399
17400 state._fsp--;
17401 if (state.failed) return ;
17402 pushFollow(FOLLOW_2);
17403 rule__ALSMinus__Group_1__2();
17404
17405 state._fsp--;
17406 if (state.failed) return ;
17407
17408 }
17409
17410 }
17411 catch (RecognitionException re) {
17412 reportError(re);
17413 recover(input,re);
17414 }
17415 finally {
17416
17417 restoreStackSize(stackSize);
17418
17419 }
17420 return ;
17421 }
17422 // $ANTLR end "rule__ALSMinus__Group_1__1"
17423
17424
17425 // $ANTLR start "rule__ALSMinus__Group_1__1__Impl"
17426 // InternalAlloyLanguage.g:6027:1: rule__ALSMinus__Group_1__1__Impl : ( '-' ) ;
17427 public final void rule__ALSMinus__Group_1__1__Impl() throws RecognitionException {
17428
17429 int stackSize = keepStackSize();
17430
17431 try {
17432 // InternalAlloyLanguage.g:6031:1: ( ( '-' ) )
17433 // InternalAlloyLanguage.g:6032:1: ( '-' )
17434 {
17435 // InternalAlloyLanguage.g:6032:1: ( '-' )
17436 // InternalAlloyLanguage.g:6033:1: '-'
17437 {
17438 if ( state.backtracking==0 ) {
17439 before(grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1());
17440 }
17441 match(input,57,FOLLOW_2); if (state.failed) return ;
17442 if ( state.backtracking==0 ) {
17443 after(grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1());
17444 }
17445
17446 }
17447
17448
17449 }
17450
17451 }
17452 catch (RecognitionException re) {
17453 reportError(re);
17454 recover(input,re);
17455 }
17456 finally {
17457
17458 restoreStackSize(stackSize);
17459
17460 }
17461 return ;
17462 }
17463 // $ANTLR end "rule__ALSMinus__Group_1__1__Impl"
17464
17465
17466 // $ANTLR start "rule__ALSMinus__Group_1__2"
17467 // InternalAlloyLanguage.g:6046:1: rule__ALSMinus__Group_1__2 : rule__ALSMinus__Group_1__2__Impl ;
17468 public final void rule__ALSMinus__Group_1__2() throws RecognitionException {
17469
17470 int stackSize = keepStackSize();
17471
17472 try {
17473 // InternalAlloyLanguage.g:6050:1: ( rule__ALSMinus__Group_1__2__Impl )
17474 // InternalAlloyLanguage.g:6051:2: rule__ALSMinus__Group_1__2__Impl
17475 {
17476 pushFollow(FOLLOW_2);
17477 rule__ALSMinus__Group_1__2__Impl();
17478
17479 state._fsp--;
17480 if (state.failed) return ;
17481
17482 }
17483
17484 }
17485 catch (RecognitionException re) {
17486 reportError(re);
17487 recover(input,re);
17488 }
17489 finally {
17490
17491 restoreStackSize(stackSize);
17492
17493 }
17494 return ;
17495 }
17496 // $ANTLR end "rule__ALSMinus__Group_1__2"
17497
17498
17499 // $ANTLR start "rule__ALSMinus__Group_1__2__Impl"
17500 // InternalAlloyLanguage.g:6057:1: rule__ALSMinus__Group_1__2__Impl : ( ( rule__ALSMinus__RightOperandAssignment_1_2 ) ) ;
17501 public final void rule__ALSMinus__Group_1__2__Impl() throws RecognitionException {
17502
17503 int stackSize = keepStackSize();
17504
17505 try {
17506 // InternalAlloyLanguage.g:6061:1: ( ( ( rule__ALSMinus__RightOperandAssignment_1_2 ) ) )
17507 // InternalAlloyLanguage.g:6062:1: ( ( rule__ALSMinus__RightOperandAssignment_1_2 ) )
17508 {
17509 // InternalAlloyLanguage.g:6062:1: ( ( rule__ALSMinus__RightOperandAssignment_1_2 ) )
17510 // InternalAlloyLanguage.g:6063:1: ( rule__ALSMinus__RightOperandAssignment_1_2 )
17511 {
17512 if ( state.backtracking==0 ) {
17513 before(grammarAccess.getALSMinusAccess().getRightOperandAssignment_1_2());
17514 }
17515 // InternalAlloyLanguage.g:6064:1: ( rule__ALSMinus__RightOperandAssignment_1_2 )
17516 // InternalAlloyLanguage.g:6064:2: rule__ALSMinus__RightOperandAssignment_1_2
17517 {
17518 pushFollow(FOLLOW_2);
17519 rule__ALSMinus__RightOperandAssignment_1_2();
17520
17521 state._fsp--;
17522 if (state.failed) return ;
17523
17524 }
17525
17526 if ( state.backtracking==0 ) {
17527 after(grammarAccess.getALSMinusAccess().getRightOperandAssignment_1_2());
17528 }
17529
17530 }
17531
17532
17533 }
17534
17535 }
17536 catch (RecognitionException re) {
17537 reportError(re);
17538 recover(input,re);
17539 }
17540 finally {
17541
17542 restoreStackSize(stackSize);
17543
17544 }
17545 return ;
17546 }
17547 // $ANTLR end "rule__ALSMinus__Group_1__2__Impl"
17548
17549
17550 // $ANTLR start "rule__ALSPlus__Group__0"
17551 // InternalAlloyLanguage.g:6080:1: rule__ALSPlus__Group__0 : rule__ALSPlus__Group__0__Impl rule__ALSPlus__Group__1 ;
17552 public final void rule__ALSPlus__Group__0() throws RecognitionException {
17553
17554 int stackSize = keepStackSize();
17555
17556 try {
17557 // InternalAlloyLanguage.g:6084:1: ( rule__ALSPlus__Group__0__Impl rule__ALSPlus__Group__1 )
17558 // InternalAlloyLanguage.g:6085:2: rule__ALSPlus__Group__0__Impl rule__ALSPlus__Group__1
17559 {
17560 pushFollow(FOLLOW_12);
17561 rule__ALSPlus__Group__0__Impl();
17562
17563 state._fsp--;
17564 if (state.failed) return ;
17565 pushFollow(FOLLOW_2);
17566 rule__ALSPlus__Group__1();
17567
17568 state._fsp--;
17569 if (state.failed) return ;
17570
17571 }
17572
17573 }
17574 catch (RecognitionException re) {
17575 reportError(re);
17576 recover(input,re);
17577 }
17578 finally {
17579
17580 restoreStackSize(stackSize);
17581
17582 }
17583 return ;
17584 }
17585 // $ANTLR end "rule__ALSPlus__Group__0"
17586
17587
17588 // $ANTLR start "rule__ALSPlus__Group__0__Impl"
17589 // InternalAlloyLanguage.g:6092:1: rule__ALSPlus__Group__0__Impl : ( ruleALSIntersection ) ;
17590 public final void rule__ALSPlus__Group__0__Impl() throws RecognitionException {
17591
17592 int stackSize = keepStackSize();
17593
17594 try {
17595 // InternalAlloyLanguage.g:6096:1: ( ( ruleALSIntersection ) )
17596 // InternalAlloyLanguage.g:6097:1: ( ruleALSIntersection )
17597 {
17598 // InternalAlloyLanguage.g:6097:1: ( ruleALSIntersection )
17599 // InternalAlloyLanguage.g:6098:1: ruleALSIntersection
17600 {
17601 if ( state.backtracking==0 ) {
17602 before(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0());
17603 }
17604 pushFollow(FOLLOW_2);
17605 ruleALSIntersection();
17606
17607 state._fsp--;
17608 if (state.failed) return ;
17609 if ( state.backtracking==0 ) {
17610 after(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0());
17611 }
17612
17613 }
17614
17615
17616 }
17617
17618 }
17619 catch (RecognitionException re) {
17620 reportError(re);
17621 recover(input,re);
17622 }
17623 finally {
17624
17625 restoreStackSize(stackSize);
17626
17627 }
17628 return ;
17629 }
17630 // $ANTLR end "rule__ALSPlus__Group__0__Impl"
17631
17632
17633 // $ANTLR start "rule__ALSPlus__Group__1"
17634 // InternalAlloyLanguage.g:6109:1: rule__ALSPlus__Group__1 : rule__ALSPlus__Group__1__Impl ;
17635 public final void rule__ALSPlus__Group__1() throws RecognitionException {
17636
17637 int stackSize = keepStackSize();
17638
17639 try {
17640 // InternalAlloyLanguage.g:6113:1: ( rule__ALSPlus__Group__1__Impl )
17641 // InternalAlloyLanguage.g:6114:2: rule__ALSPlus__Group__1__Impl
17642 {
17643 pushFollow(FOLLOW_2);
17644 rule__ALSPlus__Group__1__Impl();
17645
17646 state._fsp--;
17647 if (state.failed) return ;
17648
17649 }
17650
17651 }
17652 catch (RecognitionException re) {
17653 reportError(re);
17654 recover(input,re);
17655 }
17656 finally {
17657
17658 restoreStackSize(stackSize);
17659
17660 }
17661 return ;
17662 }
17663 // $ANTLR end "rule__ALSPlus__Group__1"
17664
17665
17666 // $ANTLR start "rule__ALSPlus__Group__1__Impl"
17667 // InternalAlloyLanguage.g:6120:1: rule__ALSPlus__Group__1__Impl : ( ( rule__ALSPlus__Group_1__0 )* ) ;
17668 public final void rule__ALSPlus__Group__1__Impl() throws RecognitionException {
17669
17670 int stackSize = keepStackSize();
17671
17672 try {
17673 // InternalAlloyLanguage.g:6124:1: ( ( ( rule__ALSPlus__Group_1__0 )* ) )
17674 // InternalAlloyLanguage.g:6125:1: ( ( rule__ALSPlus__Group_1__0 )* )
17675 {
17676 // InternalAlloyLanguage.g:6125:1: ( ( rule__ALSPlus__Group_1__0 )* )
17677 // InternalAlloyLanguage.g:6126:1: ( rule__ALSPlus__Group_1__0 )*
17678 {
17679 if ( state.backtracking==0 ) {
17680 before(grammarAccess.getALSPlusAccess().getGroup_1());
17681 }
17682 // InternalAlloyLanguage.g:6127:1: ( rule__ALSPlus__Group_1__0 )*
17683 loop41:
17684 do {
17685 int alt41=2;
17686 int LA41_0 = input.LA(1);
17687
17688 if ( (LA41_0==39) ) {
17689 alt41=1;
17690 }
17691
17692
17693 switch (alt41) {
17694 case 1 :
17695 // InternalAlloyLanguage.g:6127:2: rule__ALSPlus__Group_1__0
17696 {
17697 pushFollow(FOLLOW_13);
17698 rule__ALSPlus__Group_1__0();
17699
17700 state._fsp--;
17701 if (state.failed) return ;
17702
17703 }
17704 break;
17705
17706 default :
17707 break loop41;
17708 }
17709 } while (true);
17710
17711 if ( state.backtracking==0 ) {
17712 after(grammarAccess.getALSPlusAccess().getGroup_1());
17713 }
17714
17715 }
17716
17717
17718 }
17719
17720 }
17721 catch (RecognitionException re) {
17722 reportError(re);
17723 recover(input,re);
17724 }
17725 finally {
17726
17727 restoreStackSize(stackSize);
17728
17729 }
17730 return ;
17731 }
17732 // $ANTLR end "rule__ALSPlus__Group__1__Impl"
17733
17734
17735 // $ANTLR start "rule__ALSPlus__Group_1__0"
17736 // InternalAlloyLanguage.g:6141:1: rule__ALSPlus__Group_1__0 : rule__ALSPlus__Group_1__0__Impl rule__ALSPlus__Group_1__1 ;
17737 public final void rule__ALSPlus__Group_1__0() throws RecognitionException {
17738
17739 int stackSize = keepStackSize();
17740
17741 try {
17742 // InternalAlloyLanguage.g:6145:1: ( rule__ALSPlus__Group_1__0__Impl rule__ALSPlus__Group_1__1 )
17743 // InternalAlloyLanguage.g:6146:2: rule__ALSPlus__Group_1__0__Impl rule__ALSPlus__Group_1__1
17744 {
17745 pushFollow(FOLLOW_12);
17746 rule__ALSPlus__Group_1__0__Impl();
17747
17748 state._fsp--;
17749 if (state.failed) return ;
17750 pushFollow(FOLLOW_2);
17751 rule__ALSPlus__Group_1__1();
17752
17753 state._fsp--;
17754 if (state.failed) return ;
17755
17756 }
17757
17758 }
17759 catch (RecognitionException re) {
17760 reportError(re);
17761 recover(input,re);
17762 }
17763 finally {
17764
17765 restoreStackSize(stackSize);
17766
17767 }
17768 return ;
17769 }
17770 // $ANTLR end "rule__ALSPlus__Group_1__0"
17771
17772
17773 // $ANTLR start "rule__ALSPlus__Group_1__0__Impl"
17774 // InternalAlloyLanguage.g:6153:1: rule__ALSPlus__Group_1__0__Impl : ( () ) ;
17775 public final void rule__ALSPlus__Group_1__0__Impl() throws RecognitionException {
17776
17777 int stackSize = keepStackSize();
17778
17779 try {
17780 // InternalAlloyLanguage.g:6157:1: ( ( () ) )
17781 // InternalAlloyLanguage.g:6158:1: ( () )
17782 {
17783 // InternalAlloyLanguage.g:6158:1: ( () )
17784 // InternalAlloyLanguage.g:6159:1: ()
17785 {
17786 if ( state.backtracking==0 ) {
17787 before(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0());
17788 }
17789 // InternalAlloyLanguage.g:6160:1: ()
17790 // InternalAlloyLanguage.g:6162:1:
17791 {
17792 }
17793
17794 if ( state.backtracking==0 ) {
17795 after(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0());
17796 }
17797
17798 }
17799
17800
17801 }
17802
17803 }
17804 finally {
17805
17806 restoreStackSize(stackSize);
17807
17808 }
17809 return ;
17810 }
17811 // $ANTLR end "rule__ALSPlus__Group_1__0__Impl"
17812
17813
17814 // $ANTLR start "rule__ALSPlus__Group_1__1"
17815 // InternalAlloyLanguage.g:6172:1: rule__ALSPlus__Group_1__1 : rule__ALSPlus__Group_1__1__Impl rule__ALSPlus__Group_1__2 ;
17816 public final void rule__ALSPlus__Group_1__1() throws RecognitionException {
17817
17818 int stackSize = keepStackSize();
17819
17820 try {
17821 // InternalAlloyLanguage.g:6176:1: ( rule__ALSPlus__Group_1__1__Impl rule__ALSPlus__Group_1__2 )
17822 // InternalAlloyLanguage.g:6177:2: rule__ALSPlus__Group_1__1__Impl rule__ALSPlus__Group_1__2
17823 {
17824 pushFollow(FOLLOW_16);
17825 rule__ALSPlus__Group_1__1__Impl();
17826
17827 state._fsp--;
17828 if (state.failed) return ;
17829 pushFollow(FOLLOW_2);
17830 rule__ALSPlus__Group_1__2();
17831
17832 state._fsp--;
17833 if (state.failed) return ;
17834
17835 }
17836
17837 }
17838 catch (RecognitionException re) {
17839 reportError(re);
17840 recover(input,re);
17841 }
17842 finally {
17843
17844 restoreStackSize(stackSize);
17845
17846 }
17847 return ;
17848 }
17849 // $ANTLR end "rule__ALSPlus__Group_1__1"
17850
17851
17852 // $ANTLR start "rule__ALSPlus__Group_1__1__Impl"
17853 // InternalAlloyLanguage.g:6184:1: rule__ALSPlus__Group_1__1__Impl : ( '+' ) ;
17854 public final void rule__ALSPlus__Group_1__1__Impl() throws RecognitionException {
17855
17856 int stackSize = keepStackSize();
17857
17858 try {
17859 // InternalAlloyLanguage.g:6188:1: ( ( '+' ) )
17860 // InternalAlloyLanguage.g:6189:1: ( '+' )
17861 {
17862 // InternalAlloyLanguage.g:6189:1: ( '+' )
17863 // InternalAlloyLanguage.g:6190:1: '+'
17864 {
17865 if ( state.backtracking==0 ) {
17866 before(grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1());
17867 }
17868 match(input,39,FOLLOW_2); if (state.failed) return ;
17869 if ( state.backtracking==0 ) {
17870 after(grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1());
17871 }
17872
17873 }
17874
17875
17876 }
17877
17878 }
17879 catch (RecognitionException re) {
17880 reportError(re);
17881 recover(input,re);
17882 }
17883 finally {
17884
17885 restoreStackSize(stackSize);
17886
17887 }
17888 return ;
17889 }
17890 // $ANTLR end "rule__ALSPlus__Group_1__1__Impl"
17891
17892
17893 // $ANTLR start "rule__ALSPlus__Group_1__2"
17894 // InternalAlloyLanguage.g:6203:1: rule__ALSPlus__Group_1__2 : rule__ALSPlus__Group_1__2__Impl ;
17895 public final void rule__ALSPlus__Group_1__2() throws RecognitionException {
17896
17897 int stackSize = keepStackSize();
17898
17899 try {
17900 // InternalAlloyLanguage.g:6207:1: ( rule__ALSPlus__Group_1__2__Impl )
17901 // InternalAlloyLanguage.g:6208:2: rule__ALSPlus__Group_1__2__Impl
17902 {
17903 pushFollow(FOLLOW_2);
17904 rule__ALSPlus__Group_1__2__Impl();
17905
17906 state._fsp--;
17907 if (state.failed) return ;
17908
17909 }
17910
17911 }
17912 catch (RecognitionException re) {
17913 reportError(re);
17914 recover(input,re);
17915 }
17916 finally {
17917
17918 restoreStackSize(stackSize);
17919
17920 }
17921 return ;
17922 }
17923 // $ANTLR end "rule__ALSPlus__Group_1__2"
17924
17925
17926 // $ANTLR start "rule__ALSPlus__Group_1__2__Impl"
17927 // InternalAlloyLanguage.g:6214:1: rule__ALSPlus__Group_1__2__Impl : ( ( rule__ALSPlus__RightOperandAssignment_1_2 ) ) ;
17928 public final void rule__ALSPlus__Group_1__2__Impl() throws RecognitionException {
17929
17930 int stackSize = keepStackSize();
17931
17932 try {
17933 // InternalAlloyLanguage.g:6218:1: ( ( ( rule__ALSPlus__RightOperandAssignment_1_2 ) ) )
17934 // InternalAlloyLanguage.g:6219:1: ( ( rule__ALSPlus__RightOperandAssignment_1_2 ) )
17935 {
17936 // InternalAlloyLanguage.g:6219:1: ( ( rule__ALSPlus__RightOperandAssignment_1_2 ) )
17937 // InternalAlloyLanguage.g:6220:1: ( rule__ALSPlus__RightOperandAssignment_1_2 )
17938 {
17939 if ( state.backtracking==0 ) {
17940 before(grammarAccess.getALSPlusAccess().getRightOperandAssignment_1_2());
17941 }
17942 // InternalAlloyLanguage.g:6221:1: ( rule__ALSPlus__RightOperandAssignment_1_2 )
17943 // InternalAlloyLanguage.g:6221:2: rule__ALSPlus__RightOperandAssignment_1_2
17944 {
17945 pushFollow(FOLLOW_2);
17946 rule__ALSPlus__RightOperandAssignment_1_2();
17947
17948 state._fsp--;
17949 if (state.failed) return ;
17950
17951 }
17952
17953 if ( state.backtracking==0 ) {
17954 after(grammarAccess.getALSPlusAccess().getRightOperandAssignment_1_2());
17955 }
17956
17957 }
17958
17959
17960 }
17961
17962 }
17963 catch (RecognitionException re) {
17964 reportError(re);
17965 recover(input,re);
17966 }
17967 finally {
17968
17969 restoreStackSize(stackSize);
17970
17971 }
17972 return ;
17973 }
17974 // $ANTLR end "rule__ALSPlus__Group_1__2__Impl"
17975
17976
17977 // $ANTLR start "rule__ALSIntersection__Group__0"
17978 // InternalAlloyLanguage.g:6237:1: rule__ALSIntersection__Group__0 : rule__ALSIntersection__Group__0__Impl rule__ALSIntersection__Group__1 ;
17979 public final void rule__ALSIntersection__Group__0() throws RecognitionException {
17980
17981 int stackSize = keepStackSize();
17982
17983 try {
17984 // InternalAlloyLanguage.g:6241:1: ( rule__ALSIntersection__Group__0__Impl rule__ALSIntersection__Group__1 )
17985 // InternalAlloyLanguage.g:6242:2: rule__ALSIntersection__Group__0__Impl rule__ALSIntersection__Group__1
17986 {
17987 pushFollow(FOLLOW_44);
17988 rule__ALSIntersection__Group__0__Impl();
17989
17990 state._fsp--;
17991 if (state.failed) return ;
17992 pushFollow(FOLLOW_2);
17993 rule__ALSIntersection__Group__1();
17994
17995 state._fsp--;
17996 if (state.failed) return ;
17997
17998 }
17999
18000 }
18001 catch (RecognitionException re) {
18002 reportError(re);
18003 recover(input,re);
18004 }
18005 finally {
18006
18007 restoreStackSize(stackSize);
18008
18009 }
18010 return ;
18011 }
18012 // $ANTLR end "rule__ALSIntersection__Group__0"
18013
18014
18015 // $ANTLR start "rule__ALSIntersection__Group__0__Impl"
18016 // InternalAlloyLanguage.g:6249:1: rule__ALSIntersection__Group__0__Impl : ( ruleALSDirectProduct ) ;
18017 public final void rule__ALSIntersection__Group__0__Impl() throws RecognitionException {
18018
18019 int stackSize = keepStackSize();
18020
18021 try {
18022 // InternalAlloyLanguage.g:6253:1: ( ( ruleALSDirectProduct ) )
18023 // InternalAlloyLanguage.g:6254:1: ( ruleALSDirectProduct )
18024 {
18025 // InternalAlloyLanguage.g:6254:1: ( ruleALSDirectProduct )
18026 // InternalAlloyLanguage.g:6255:1: ruleALSDirectProduct
18027 {
18028 if ( state.backtracking==0 ) {
18029 before(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0());
18030 }
18031 pushFollow(FOLLOW_2);
18032 ruleALSDirectProduct();
18033
18034 state._fsp--;
18035 if (state.failed) return ;
18036 if ( state.backtracking==0 ) {
18037 after(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0());
18038 }
18039
18040 }
18041
18042
18043 }
18044
18045 }
18046 catch (RecognitionException re) {
18047 reportError(re);
18048 recover(input,re);
18049 }
18050 finally {
18051
18052 restoreStackSize(stackSize);
18053
18054 }
18055 return ;
18056 }
18057 // $ANTLR end "rule__ALSIntersection__Group__0__Impl"
18058
18059
18060 // $ANTLR start "rule__ALSIntersection__Group__1"
18061 // InternalAlloyLanguage.g:6266:1: rule__ALSIntersection__Group__1 : rule__ALSIntersection__Group__1__Impl ;
18062 public final void rule__ALSIntersection__Group__1() throws RecognitionException {
18063
18064 int stackSize = keepStackSize();
18065
18066 try {
18067 // InternalAlloyLanguage.g:6270:1: ( rule__ALSIntersection__Group__1__Impl )
18068 // InternalAlloyLanguage.g:6271:2: rule__ALSIntersection__Group__1__Impl
18069 {
18070 pushFollow(FOLLOW_2);
18071 rule__ALSIntersection__Group__1__Impl();
18072
18073 state._fsp--;
18074 if (state.failed) return ;
18075
18076 }
18077
18078 }
18079 catch (RecognitionException re) {
18080 reportError(re);
18081 recover(input,re);
18082 }
18083 finally {
18084
18085 restoreStackSize(stackSize);
18086
18087 }
18088 return ;
18089 }
18090 // $ANTLR end "rule__ALSIntersection__Group__1"
18091
18092
18093 // $ANTLR start "rule__ALSIntersection__Group__1__Impl"
18094 // InternalAlloyLanguage.g:6277:1: rule__ALSIntersection__Group__1__Impl : ( ( rule__ALSIntersection__Group_1__0 )* ) ;
18095 public final void rule__ALSIntersection__Group__1__Impl() throws RecognitionException {
18096
18097 int stackSize = keepStackSize();
18098
18099 try {
18100 // InternalAlloyLanguage.g:6281:1: ( ( ( rule__ALSIntersection__Group_1__0 )* ) )
18101 // InternalAlloyLanguage.g:6282:1: ( ( rule__ALSIntersection__Group_1__0 )* )
18102 {
18103 // InternalAlloyLanguage.g:6282:1: ( ( rule__ALSIntersection__Group_1__0 )* )
18104 // InternalAlloyLanguage.g:6283:1: ( rule__ALSIntersection__Group_1__0 )*
18105 {
18106 if ( state.backtracking==0 ) {
18107 before(grammarAccess.getALSIntersectionAccess().getGroup_1());
18108 }
18109 // InternalAlloyLanguage.g:6284:1: ( rule__ALSIntersection__Group_1__0 )*
18110 loop42:
18111 do {
18112 int alt42=2;
18113 int LA42_0 = input.LA(1);
18114
18115 if ( (LA42_0==58) ) {
18116 alt42=1;
18117 }
18118
18119
18120 switch (alt42) {
18121 case 1 :
18122 // InternalAlloyLanguage.g:6284:2: rule__ALSIntersection__Group_1__0
18123 {
18124 pushFollow(FOLLOW_45);
18125 rule__ALSIntersection__Group_1__0();
18126
18127 state._fsp--;
18128 if (state.failed) return ;
18129
18130 }
18131 break;
18132
18133 default :
18134 break loop42;
18135 }
18136 } while (true);
18137
18138 if ( state.backtracking==0 ) {
18139 after(grammarAccess.getALSIntersectionAccess().getGroup_1());
18140 }
18141
18142 }
18143
18144
18145 }
18146
18147 }
18148 catch (RecognitionException re) {
18149 reportError(re);
18150 recover(input,re);
18151 }
18152 finally {
18153
18154 restoreStackSize(stackSize);
18155
18156 }
18157 return ;
18158 }
18159 // $ANTLR end "rule__ALSIntersection__Group__1__Impl"
18160
18161
18162 // $ANTLR start "rule__ALSIntersection__Group_1__0"
18163 // InternalAlloyLanguage.g:6298:1: rule__ALSIntersection__Group_1__0 : rule__ALSIntersection__Group_1__0__Impl rule__ALSIntersection__Group_1__1 ;
18164 public final void rule__ALSIntersection__Group_1__0() throws RecognitionException {
18165
18166 int stackSize = keepStackSize();
18167
18168 try {
18169 // InternalAlloyLanguage.g:6302:1: ( rule__ALSIntersection__Group_1__0__Impl rule__ALSIntersection__Group_1__1 )
18170 // InternalAlloyLanguage.g:6303:2: rule__ALSIntersection__Group_1__0__Impl rule__ALSIntersection__Group_1__1
18171 {
18172 pushFollow(FOLLOW_44);
18173 rule__ALSIntersection__Group_1__0__Impl();
18174
18175 state._fsp--;
18176 if (state.failed) return ;
18177 pushFollow(FOLLOW_2);
18178 rule__ALSIntersection__Group_1__1();
18179
18180 state._fsp--;
18181 if (state.failed) return ;
18182
18183 }
18184
18185 }
18186 catch (RecognitionException re) {
18187 reportError(re);
18188 recover(input,re);
18189 }
18190 finally {
18191
18192 restoreStackSize(stackSize);
18193
18194 }
18195 return ;
18196 }
18197 // $ANTLR end "rule__ALSIntersection__Group_1__0"
18198
18199
18200 // $ANTLR start "rule__ALSIntersection__Group_1__0__Impl"
18201 // InternalAlloyLanguage.g:6310:1: rule__ALSIntersection__Group_1__0__Impl : ( () ) ;
18202 public final void rule__ALSIntersection__Group_1__0__Impl() throws RecognitionException {
18203
18204 int stackSize = keepStackSize();
18205
18206 try {
18207 // InternalAlloyLanguage.g:6314:1: ( ( () ) )
18208 // InternalAlloyLanguage.g:6315:1: ( () )
18209 {
18210 // InternalAlloyLanguage.g:6315:1: ( () )
18211 // InternalAlloyLanguage.g:6316:1: ()
18212 {
18213 if ( state.backtracking==0 ) {
18214 before(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0());
18215 }
18216 // InternalAlloyLanguage.g:6317:1: ()
18217 // InternalAlloyLanguage.g:6319:1:
18218 {
18219 }
18220
18221 if ( state.backtracking==0 ) {
18222 after(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0());
18223 }
18224
18225 }
18226
18227
18228 }
18229
18230 }
18231 finally {
18232
18233 restoreStackSize(stackSize);
18234
18235 }
18236 return ;
18237 }
18238 // $ANTLR end "rule__ALSIntersection__Group_1__0__Impl"
18239
18240
18241 // $ANTLR start "rule__ALSIntersection__Group_1__1"
18242 // InternalAlloyLanguage.g:6329:1: rule__ALSIntersection__Group_1__1 : rule__ALSIntersection__Group_1__1__Impl rule__ALSIntersection__Group_1__2 ;
18243 public final void rule__ALSIntersection__Group_1__1() throws RecognitionException {
18244
18245 int stackSize = keepStackSize();
18246
18247 try {
18248 // InternalAlloyLanguage.g:6333:1: ( rule__ALSIntersection__Group_1__1__Impl rule__ALSIntersection__Group_1__2 )
18249 // InternalAlloyLanguage.g:6334:2: rule__ALSIntersection__Group_1__1__Impl rule__ALSIntersection__Group_1__2
18250 {
18251 pushFollow(FOLLOW_16);
18252 rule__ALSIntersection__Group_1__1__Impl();
18253
18254 state._fsp--;
18255 if (state.failed) return ;
18256 pushFollow(FOLLOW_2);
18257 rule__ALSIntersection__Group_1__2();
18258
18259 state._fsp--;
18260 if (state.failed) return ;
18261
18262 }
18263
18264 }
18265 catch (RecognitionException re) {
18266 reportError(re);
18267 recover(input,re);
18268 }
18269 finally {
18270
18271 restoreStackSize(stackSize);
18272
18273 }
18274 return ;
18275 }
18276 // $ANTLR end "rule__ALSIntersection__Group_1__1"
18277
18278
18279 // $ANTLR start "rule__ALSIntersection__Group_1__1__Impl"
18280 // InternalAlloyLanguage.g:6341:1: rule__ALSIntersection__Group_1__1__Impl : ( '&' ) ;
18281 public final void rule__ALSIntersection__Group_1__1__Impl() throws RecognitionException {
18282
18283 int stackSize = keepStackSize();
18284
18285 try {
18286 // InternalAlloyLanguage.g:6345:1: ( ( '&' ) )
18287 // InternalAlloyLanguage.g:6346:1: ( '&' )
18288 {
18289 // InternalAlloyLanguage.g:6346:1: ( '&' )
18290 // InternalAlloyLanguage.g:6347:1: '&'
18291 {
18292 if ( state.backtracking==0 ) {
18293 before(grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1());
18294 }
18295 match(input,58,FOLLOW_2); if (state.failed) return ;
18296 if ( state.backtracking==0 ) {
18297 after(grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1());
18298 }
18299
18300 }
18301
18302
18303 }
18304
18305 }
18306 catch (RecognitionException re) {
18307 reportError(re);
18308 recover(input,re);
18309 }
18310 finally {
18311
18312 restoreStackSize(stackSize);
18313
18314 }
18315 return ;
18316 }
18317 // $ANTLR end "rule__ALSIntersection__Group_1__1__Impl"
18318
18319
18320 // $ANTLR start "rule__ALSIntersection__Group_1__2"
18321 // InternalAlloyLanguage.g:6360:1: rule__ALSIntersection__Group_1__2 : rule__ALSIntersection__Group_1__2__Impl ;
18322 public final void rule__ALSIntersection__Group_1__2() throws RecognitionException {
18323
18324 int stackSize = keepStackSize();
18325
18326 try {
18327 // InternalAlloyLanguage.g:6364:1: ( rule__ALSIntersection__Group_1__2__Impl )
18328 // InternalAlloyLanguage.g:6365:2: rule__ALSIntersection__Group_1__2__Impl
18329 {
18330 pushFollow(FOLLOW_2);
18331 rule__ALSIntersection__Group_1__2__Impl();
18332
18333 state._fsp--;
18334 if (state.failed) return ;
18335
18336 }
18337
18338 }
18339 catch (RecognitionException re) {
18340 reportError(re);
18341 recover(input,re);
18342 }
18343 finally {
18344
18345 restoreStackSize(stackSize);
18346
18347 }
18348 return ;
18349 }
18350 // $ANTLR end "rule__ALSIntersection__Group_1__2"
18351
18352
18353 // $ANTLR start "rule__ALSIntersection__Group_1__2__Impl"
18354 // InternalAlloyLanguage.g:6371:1: rule__ALSIntersection__Group_1__2__Impl : ( ( rule__ALSIntersection__RightOperandAssignment_1_2 ) ) ;
18355 public final void rule__ALSIntersection__Group_1__2__Impl() throws RecognitionException {
18356
18357 int stackSize = keepStackSize();
18358
18359 try {
18360 // InternalAlloyLanguage.g:6375:1: ( ( ( rule__ALSIntersection__RightOperandAssignment_1_2 ) ) )
18361 // InternalAlloyLanguage.g:6376:1: ( ( rule__ALSIntersection__RightOperandAssignment_1_2 ) )
18362 {
18363 // InternalAlloyLanguage.g:6376:1: ( ( rule__ALSIntersection__RightOperandAssignment_1_2 ) )
18364 // InternalAlloyLanguage.g:6377:1: ( rule__ALSIntersection__RightOperandAssignment_1_2 )
18365 {
18366 if ( state.backtracking==0 ) {
18367 before(grammarAccess.getALSIntersectionAccess().getRightOperandAssignment_1_2());
18368 }
18369 // InternalAlloyLanguage.g:6378:1: ( rule__ALSIntersection__RightOperandAssignment_1_2 )
18370 // InternalAlloyLanguage.g:6378:2: rule__ALSIntersection__RightOperandAssignment_1_2
18371 {
18372 pushFollow(FOLLOW_2);
18373 rule__ALSIntersection__RightOperandAssignment_1_2();
18374
18375 state._fsp--;
18376 if (state.failed) return ;
18377
18378 }
18379
18380 if ( state.backtracking==0 ) {
18381 after(grammarAccess.getALSIntersectionAccess().getRightOperandAssignment_1_2());
18382 }
18383
18384 }
18385
18386
18387 }
18388
18389 }
18390 catch (RecognitionException re) {
18391 reportError(re);
18392 recover(input,re);
18393 }
18394 finally {
18395
18396 restoreStackSize(stackSize);
18397
18398 }
18399 return ;
18400 }
18401 // $ANTLR end "rule__ALSIntersection__Group_1__2__Impl"
18402
18403
18404 // $ANTLR start "rule__ALSDirectProduct__Group__0"
18405 // InternalAlloyLanguage.g:6394:1: rule__ALSDirectProduct__Group__0 : rule__ALSDirectProduct__Group__0__Impl rule__ALSDirectProduct__Group__1 ;
18406 public final void rule__ALSDirectProduct__Group__0() throws RecognitionException {
18407
18408 int stackSize = keepStackSize();
18409
18410 try {
18411 // InternalAlloyLanguage.g:6398:1: ( rule__ALSDirectProduct__Group__0__Impl rule__ALSDirectProduct__Group__1 )
18412 // InternalAlloyLanguage.g:6399:2: rule__ALSDirectProduct__Group__0__Impl rule__ALSDirectProduct__Group__1
18413 {
18414 pushFollow(FOLLOW_46);
18415 rule__ALSDirectProduct__Group__0__Impl();
18416
18417 state._fsp--;
18418 if (state.failed) return ;
18419 pushFollow(FOLLOW_2);
18420 rule__ALSDirectProduct__Group__1();
18421
18422 state._fsp--;
18423 if (state.failed) return ;
18424
18425 }
18426
18427 }
18428 catch (RecognitionException re) {
18429 reportError(re);
18430 recover(input,re);
18431 }
18432 finally {
18433
18434 restoreStackSize(stackSize);
18435
18436 }
18437 return ;
18438 }
18439 // $ANTLR end "rule__ALSDirectProduct__Group__0"
18440
18441
18442 // $ANTLR start "rule__ALSDirectProduct__Group__0__Impl"
18443 // InternalAlloyLanguage.g:6406:1: rule__ALSDirectProduct__Group__0__Impl : ( ruleALSPreficed ) ;
18444 public final void rule__ALSDirectProduct__Group__0__Impl() throws RecognitionException {
18445
18446 int stackSize = keepStackSize();
18447
18448 try {
18449 // InternalAlloyLanguage.g:6410:1: ( ( ruleALSPreficed ) )
18450 // InternalAlloyLanguage.g:6411:1: ( ruleALSPreficed )
18451 {
18452 // InternalAlloyLanguage.g:6411:1: ( ruleALSPreficed )
18453 // InternalAlloyLanguage.g:6412:1: ruleALSPreficed
18454 {
18455 if ( state.backtracking==0 ) {
18456 before(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0());
18457 }
18458 pushFollow(FOLLOW_2);
18459 ruleALSPreficed();
18460
18461 state._fsp--;
18462 if (state.failed) return ;
18463 if ( state.backtracking==0 ) {
18464 after(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0());
18465 }
18466
18467 }
18468
18469
18470 }
18471
18472 }
18473 catch (RecognitionException re) {
18474 reportError(re);
18475 recover(input,re);
18476 }
18477 finally {
18478
18479 restoreStackSize(stackSize);
18480
18481 }
18482 return ;
18483 }
18484 // $ANTLR end "rule__ALSDirectProduct__Group__0__Impl"
18485
18486
18487 // $ANTLR start "rule__ALSDirectProduct__Group__1"
18488 // InternalAlloyLanguage.g:6423:1: rule__ALSDirectProduct__Group__1 : rule__ALSDirectProduct__Group__1__Impl ;
18489 public final void rule__ALSDirectProduct__Group__1() throws RecognitionException {
18490
18491 int stackSize = keepStackSize();
18492
18493 try {
18494 // InternalAlloyLanguage.g:6427:1: ( rule__ALSDirectProduct__Group__1__Impl )
18495 // InternalAlloyLanguage.g:6428:2: rule__ALSDirectProduct__Group__1__Impl
18496 {
18497 pushFollow(FOLLOW_2);
18498 rule__ALSDirectProduct__Group__1__Impl();
18499
18500 state._fsp--;
18501 if (state.failed) return ;
18502
18503 }
18504
18505 }
18506 catch (RecognitionException re) {
18507 reportError(re);
18508 recover(input,re);
18509 }
18510 finally {
18511
18512 restoreStackSize(stackSize);
18513
18514 }
18515 return ;
18516 }
18517 // $ANTLR end "rule__ALSDirectProduct__Group__1"
18518
18519
18520 // $ANTLR start "rule__ALSDirectProduct__Group__1__Impl"
18521 // InternalAlloyLanguage.g:6434:1: rule__ALSDirectProduct__Group__1__Impl : ( ( rule__ALSDirectProduct__Group_1__0 )? ) ;
18522 public final void rule__ALSDirectProduct__Group__1__Impl() throws RecognitionException {
18523
18524 int stackSize = keepStackSize();
18525
18526 try {
18527 // InternalAlloyLanguage.g:6438:1: ( ( ( rule__ALSDirectProduct__Group_1__0 )? ) )
18528 // InternalAlloyLanguage.g:6439:1: ( ( rule__ALSDirectProduct__Group_1__0 )? )
18529 {
18530 // InternalAlloyLanguage.g:6439:1: ( ( rule__ALSDirectProduct__Group_1__0 )? )
18531 // InternalAlloyLanguage.g:6440:1: ( rule__ALSDirectProduct__Group_1__0 )?
18532 {
18533 if ( state.backtracking==0 ) {
18534 before(grammarAccess.getALSDirectProductAccess().getGroup_1());
18535 }
18536 // InternalAlloyLanguage.g:6441:1: ( rule__ALSDirectProduct__Group_1__0 )?
18537 int alt43=2;
18538 int LA43_0 = input.LA(1);
18539
18540 if ( ((LA43_0>=21 && LA43_0<=26)||LA43_0==59) ) {
18541 alt43=1;
18542 }
18543 switch (alt43) {
18544 case 1 :
18545 // InternalAlloyLanguage.g:6441:2: rule__ALSDirectProduct__Group_1__0
18546 {
18547 pushFollow(FOLLOW_2);
18548 rule__ALSDirectProduct__Group_1__0();
18549
18550 state._fsp--;
18551 if (state.failed) return ;
18552
18553 }
18554 break;
18555
18556 }
18557
18558 if ( state.backtracking==0 ) {
18559 after(grammarAccess.getALSDirectProductAccess().getGroup_1());
18560 }
18561
18562 }
18563
18564
18565 }
18566
18567 }
18568 catch (RecognitionException re) {
18569 reportError(re);
18570 recover(input,re);
18571 }
18572 finally {
18573
18574 restoreStackSize(stackSize);
18575
18576 }
18577 return ;
18578 }
18579 // $ANTLR end "rule__ALSDirectProduct__Group__1__Impl"
18580
18581
18582 // $ANTLR start "rule__ALSDirectProduct__Group_1__0"
18583 // InternalAlloyLanguage.g:6455:1: rule__ALSDirectProduct__Group_1__0 : rule__ALSDirectProduct__Group_1__0__Impl rule__ALSDirectProduct__Group_1__1 ;
18584 public final void rule__ALSDirectProduct__Group_1__0() throws RecognitionException {
18585
18586 int stackSize = keepStackSize();
18587
18588 try {
18589 // InternalAlloyLanguage.g:6459:1: ( rule__ALSDirectProduct__Group_1__0__Impl rule__ALSDirectProduct__Group_1__1 )
18590 // InternalAlloyLanguage.g:6460:2: rule__ALSDirectProduct__Group_1__0__Impl rule__ALSDirectProduct__Group_1__1
18591 {
18592 pushFollow(FOLLOW_46);
18593 rule__ALSDirectProduct__Group_1__0__Impl();
18594
18595 state._fsp--;
18596 if (state.failed) return ;
18597 pushFollow(FOLLOW_2);
18598 rule__ALSDirectProduct__Group_1__1();
18599
18600 state._fsp--;
18601 if (state.failed) return ;
18602
18603 }
18604
18605 }
18606 catch (RecognitionException re) {
18607 reportError(re);
18608 recover(input,re);
18609 }
18610 finally {
18611
18612 restoreStackSize(stackSize);
18613
18614 }
18615 return ;
18616 }
18617 // $ANTLR end "rule__ALSDirectProduct__Group_1__0"
18618
18619
18620 // $ANTLR start "rule__ALSDirectProduct__Group_1__0__Impl"
18621 // InternalAlloyLanguage.g:6467:1: rule__ALSDirectProduct__Group_1__0__Impl : ( () ) ;
18622 public final void rule__ALSDirectProduct__Group_1__0__Impl() throws RecognitionException {
18623
18624 int stackSize = keepStackSize();
18625
18626 try {
18627 // InternalAlloyLanguage.g:6471:1: ( ( () ) )
18628 // InternalAlloyLanguage.g:6472:1: ( () )
18629 {
18630 // InternalAlloyLanguage.g:6472:1: ( () )
18631 // InternalAlloyLanguage.g:6473:1: ()
18632 {
18633 if ( state.backtracking==0 ) {
18634 before(grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0());
18635 }
18636 // InternalAlloyLanguage.g:6474:1: ()
18637 // InternalAlloyLanguage.g:6476:1:
18638 {
18639 }
18640
18641 if ( state.backtracking==0 ) {
18642 after(grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0());
18643 }
18644
18645 }
18646
18647
18648 }
18649
18650 }
18651 finally {
18652
18653 restoreStackSize(stackSize);
18654
18655 }
18656 return ;
18657 }
18658 // $ANTLR end "rule__ALSDirectProduct__Group_1__0__Impl"
18659
18660
18661 // $ANTLR start "rule__ALSDirectProduct__Group_1__1"
18662 // InternalAlloyLanguage.g:6486:1: rule__ALSDirectProduct__Group_1__1 : rule__ALSDirectProduct__Group_1__1__Impl rule__ALSDirectProduct__Group_1__2 ;
18663 public final void rule__ALSDirectProduct__Group_1__1() throws RecognitionException {
18664
18665 int stackSize = keepStackSize();
18666
18667 try {
18668 // InternalAlloyLanguage.g:6490:1: ( rule__ALSDirectProduct__Group_1__1__Impl rule__ALSDirectProduct__Group_1__2 )
18669 // InternalAlloyLanguage.g:6491:2: rule__ALSDirectProduct__Group_1__1__Impl rule__ALSDirectProduct__Group_1__2
18670 {
18671 pushFollow(FOLLOW_46);
18672 rule__ALSDirectProduct__Group_1__1__Impl();
18673
18674 state._fsp--;
18675 if (state.failed) return ;
18676 pushFollow(FOLLOW_2);
18677 rule__ALSDirectProduct__Group_1__2();
18678
18679 state._fsp--;
18680 if (state.failed) return ;
18681
18682 }
18683
18684 }
18685 catch (RecognitionException re) {
18686 reportError(re);
18687 recover(input,re);
18688 }
18689 finally {
18690
18691 restoreStackSize(stackSize);
18692
18693 }
18694 return ;
18695 }
18696 // $ANTLR end "rule__ALSDirectProduct__Group_1__1"
18697
18698
18699 // $ANTLR start "rule__ALSDirectProduct__Group_1__1__Impl"
18700 // InternalAlloyLanguage.g:6498:1: rule__ALSDirectProduct__Group_1__1__Impl : ( ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )? ) ;
18701 public final void rule__ALSDirectProduct__Group_1__1__Impl() throws RecognitionException {
18702
18703 int stackSize = keepStackSize();
18704
18705 try {
18706 // InternalAlloyLanguage.g:6502:1: ( ( ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )? ) )
18707 // InternalAlloyLanguage.g:6503:1: ( ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )? )
18708 {
18709 // InternalAlloyLanguage.g:6503:1: ( ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )? )
18710 // InternalAlloyLanguage.g:6504:1: ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )?
18711 {
18712 if ( state.backtracking==0 ) {
18713 before(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitAssignment_1_1());
18714 }
18715 // InternalAlloyLanguage.g:6505:1: ( rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 )?
18716 int alt44=2;
18717 int LA44_0 = input.LA(1);
18718
18719 if ( ((LA44_0>=21 && LA44_0<=26)) ) {
18720 alt44=1;
18721 }
18722 switch (alt44) {
18723 case 1 :
18724 // InternalAlloyLanguage.g:6505:2: rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1
18725 {
18726 pushFollow(FOLLOW_2);
18727 rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1();
18728
18729 state._fsp--;
18730 if (state.failed) return ;
18731
18732 }
18733 break;
18734
18735 }
18736
18737 if ( state.backtracking==0 ) {
18738 after(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitAssignment_1_1());
18739 }
18740
18741 }
18742
18743
18744 }
18745
18746 }
18747 catch (RecognitionException re) {
18748 reportError(re);
18749 recover(input,re);
18750 }
18751 finally {
18752
18753 restoreStackSize(stackSize);
18754
18755 }
18756 return ;
18757 }
18758 // $ANTLR end "rule__ALSDirectProduct__Group_1__1__Impl"
18759
18760
18761 // $ANTLR start "rule__ALSDirectProduct__Group_1__2"
18762 // InternalAlloyLanguage.g:6515:1: rule__ALSDirectProduct__Group_1__2 : rule__ALSDirectProduct__Group_1__2__Impl rule__ALSDirectProduct__Group_1__3 ;
18763 public final void rule__ALSDirectProduct__Group_1__2() throws RecognitionException {
18764
18765 int stackSize = keepStackSize();
18766
18767 try {
18768 // InternalAlloyLanguage.g:6519:1: ( rule__ALSDirectProduct__Group_1__2__Impl rule__ALSDirectProduct__Group_1__3 )
18769 // InternalAlloyLanguage.g:6520:2: rule__ALSDirectProduct__Group_1__2__Impl rule__ALSDirectProduct__Group_1__3
18770 {
18771 pushFollow(FOLLOW_16);
18772 rule__ALSDirectProduct__Group_1__2__Impl();
18773
18774 state._fsp--;
18775 if (state.failed) return ;
18776 pushFollow(FOLLOW_2);
18777 rule__ALSDirectProduct__Group_1__3();
18778
18779 state._fsp--;
18780 if (state.failed) return ;
18781
18782 }
18783
18784 }
18785 catch (RecognitionException re) {
18786 reportError(re);
18787 recover(input,re);
18788 }
18789 finally {
18790
18791 restoreStackSize(stackSize);
18792
18793 }
18794 return ;
18795 }
18796 // $ANTLR end "rule__ALSDirectProduct__Group_1__2"
18797
18798
18799 // $ANTLR start "rule__ALSDirectProduct__Group_1__2__Impl"
18800 // InternalAlloyLanguage.g:6527:1: rule__ALSDirectProduct__Group_1__2__Impl : ( '->' ) ;
18801 public final void rule__ALSDirectProduct__Group_1__2__Impl() throws RecognitionException {
18802
18803 int stackSize = keepStackSize();
18804
18805 try {
18806 // InternalAlloyLanguage.g:6531:1: ( ( '->' ) )
18807 // InternalAlloyLanguage.g:6532:1: ( '->' )
18808 {
18809 // InternalAlloyLanguage.g:6532:1: ( '->' )
18810 // InternalAlloyLanguage.g:6533:1: '->'
18811 {
18812 if ( state.backtracking==0 ) {
18813 before(grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2());
18814 }
18815 match(input,59,FOLLOW_2); if (state.failed) return ;
18816 if ( state.backtracking==0 ) {
18817 after(grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2());
18818 }
18819
18820 }
18821
18822
18823 }
18824
18825 }
18826 catch (RecognitionException re) {
18827 reportError(re);
18828 recover(input,re);
18829 }
18830 finally {
18831
18832 restoreStackSize(stackSize);
18833
18834 }
18835 return ;
18836 }
18837 // $ANTLR end "rule__ALSDirectProduct__Group_1__2__Impl"
18838
18839
18840 // $ANTLR start "rule__ALSDirectProduct__Group_1__3"
18841 // InternalAlloyLanguage.g:6546:1: rule__ALSDirectProduct__Group_1__3 : rule__ALSDirectProduct__Group_1__3__Impl rule__ALSDirectProduct__Group_1__4 ;
18842 public final void rule__ALSDirectProduct__Group_1__3() throws RecognitionException {
18843
18844 int stackSize = keepStackSize();
18845
18846 try {
18847 // InternalAlloyLanguage.g:6550:1: ( rule__ALSDirectProduct__Group_1__3__Impl rule__ALSDirectProduct__Group_1__4 )
18848 // InternalAlloyLanguage.g:6551:2: rule__ALSDirectProduct__Group_1__3__Impl rule__ALSDirectProduct__Group_1__4
18849 {
18850 pushFollow(FOLLOW_16);
18851 rule__ALSDirectProduct__Group_1__3__Impl();
18852
18853 state._fsp--;
18854 if (state.failed) return ;
18855 pushFollow(FOLLOW_2);
18856 rule__ALSDirectProduct__Group_1__4();
18857
18858 state._fsp--;
18859 if (state.failed) return ;
18860
18861 }
18862
18863 }
18864 catch (RecognitionException re) {
18865 reportError(re);
18866 recover(input,re);
18867 }
18868 finally {
18869
18870 restoreStackSize(stackSize);
18871
18872 }
18873 return ;
18874 }
18875 // $ANTLR end "rule__ALSDirectProduct__Group_1__3"
18876
18877
18878 // $ANTLR start "rule__ALSDirectProduct__Group_1__3__Impl"
18879 // InternalAlloyLanguage.g:6558:1: rule__ALSDirectProduct__Group_1__3__Impl : ( ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )? ) ;
18880 public final void rule__ALSDirectProduct__Group_1__3__Impl() throws RecognitionException {
18881
18882 int stackSize = keepStackSize();
18883
18884 try {
18885 // InternalAlloyLanguage.g:6562:1: ( ( ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )? ) )
18886 // InternalAlloyLanguage.g:6563:1: ( ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )? )
18887 {
18888 // InternalAlloyLanguage.g:6563:1: ( ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )? )
18889 // InternalAlloyLanguage.g:6564:1: ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )?
18890 {
18891 if ( state.backtracking==0 ) {
18892 before(grammarAccess.getALSDirectProductAccess().getRightMultiplicitAssignment_1_3());
18893 }
18894 // InternalAlloyLanguage.g:6565:1: ( rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 )?
18895 int alt45=2;
18896 int LA45_0 = input.LA(1);
18897
18898 if ( ((LA45_0>=21 && LA45_0<=26)) ) {
18899 alt45=1;
18900 }
18901 switch (alt45) {
18902 case 1 :
18903 // InternalAlloyLanguage.g:6565:2: rule__ALSDirectProduct__RightMultiplicitAssignment_1_3
18904 {
18905 pushFollow(FOLLOW_2);
18906 rule__ALSDirectProduct__RightMultiplicitAssignment_1_3();
18907
18908 state._fsp--;
18909 if (state.failed) return ;
18910
18911 }
18912 break;
18913
18914 }
18915
18916 if ( state.backtracking==0 ) {
18917 after(grammarAccess.getALSDirectProductAccess().getRightMultiplicitAssignment_1_3());
18918 }
18919
18920 }
18921
18922
18923 }
18924
18925 }
18926 catch (RecognitionException re) {
18927 reportError(re);
18928 recover(input,re);
18929 }
18930 finally {
18931
18932 restoreStackSize(stackSize);
18933
18934 }
18935 return ;
18936 }
18937 // $ANTLR end "rule__ALSDirectProduct__Group_1__3__Impl"
18938
18939
18940 // $ANTLR start "rule__ALSDirectProduct__Group_1__4"
18941 // InternalAlloyLanguage.g:6575:1: rule__ALSDirectProduct__Group_1__4 : rule__ALSDirectProduct__Group_1__4__Impl ;
18942 public final void rule__ALSDirectProduct__Group_1__4() throws RecognitionException {
18943
18944 int stackSize = keepStackSize();
18945
18946 try {
18947 // InternalAlloyLanguage.g:6579:1: ( rule__ALSDirectProduct__Group_1__4__Impl )
18948 // InternalAlloyLanguage.g:6580:2: rule__ALSDirectProduct__Group_1__4__Impl
18949 {
18950 pushFollow(FOLLOW_2);
18951 rule__ALSDirectProduct__Group_1__4__Impl();
18952
18953 state._fsp--;
18954 if (state.failed) return ;
18955
18956 }
18957
18958 }
18959 catch (RecognitionException re) {
18960 reportError(re);
18961 recover(input,re);
18962 }
18963 finally {
18964
18965 restoreStackSize(stackSize);
18966
18967 }
18968 return ;
18969 }
18970 // $ANTLR end "rule__ALSDirectProduct__Group_1__4"
18971
18972
18973 // $ANTLR start "rule__ALSDirectProduct__Group_1__4__Impl"
18974 // InternalAlloyLanguage.g:6586:1: rule__ALSDirectProduct__Group_1__4__Impl : ( ( rule__ALSDirectProduct__RightOperandAssignment_1_4 ) ) ;
18975 public final void rule__ALSDirectProduct__Group_1__4__Impl() throws RecognitionException {
18976
18977 int stackSize = keepStackSize();
18978
18979 try {
18980 // InternalAlloyLanguage.g:6590:1: ( ( ( rule__ALSDirectProduct__RightOperandAssignment_1_4 ) ) )
18981 // InternalAlloyLanguage.g:6591:1: ( ( rule__ALSDirectProduct__RightOperandAssignment_1_4 ) )
18982 {
18983 // InternalAlloyLanguage.g:6591:1: ( ( rule__ALSDirectProduct__RightOperandAssignment_1_4 ) )
18984 // InternalAlloyLanguage.g:6592:1: ( rule__ALSDirectProduct__RightOperandAssignment_1_4 )
18985 {
18986 if ( state.backtracking==0 ) {
18987 before(grammarAccess.getALSDirectProductAccess().getRightOperandAssignment_1_4());
18988 }
18989 // InternalAlloyLanguage.g:6593:1: ( rule__ALSDirectProduct__RightOperandAssignment_1_4 )
18990 // InternalAlloyLanguage.g:6593:2: rule__ALSDirectProduct__RightOperandAssignment_1_4
18991 {
18992 pushFollow(FOLLOW_2);
18993 rule__ALSDirectProduct__RightOperandAssignment_1_4();
18994
18995 state._fsp--;
18996 if (state.failed) return ;
18997
18998 }
18999
19000 if ( state.backtracking==0 ) {
19001 after(grammarAccess.getALSDirectProductAccess().getRightOperandAssignment_1_4());
19002 }
19003
19004 }
19005
19006
19007 }
19008
19009 }
19010 catch (RecognitionException re) {
19011 reportError(re);
19012 recover(input,re);
19013 }
19014 finally {
19015
19016 restoreStackSize(stackSize);
19017
19018 }
19019 return ;
19020 }
19021 // $ANTLR end "rule__ALSDirectProduct__Group_1__4__Impl"
19022
19023
19024 // $ANTLR start "rule__ALSPreficed__Group_0__0"
19025 // InternalAlloyLanguage.g:6613:1: rule__ALSPreficed__Group_0__0 : rule__ALSPreficed__Group_0__0__Impl rule__ALSPreficed__Group_0__1 ;
19026 public final void rule__ALSPreficed__Group_0__0() throws RecognitionException {
19027
19028 int stackSize = keepStackSize();
19029
19030 try {
19031 // InternalAlloyLanguage.g:6617:1: ( rule__ALSPreficed__Group_0__0__Impl rule__ALSPreficed__Group_0__1 )
19032 // InternalAlloyLanguage.g:6618:2: rule__ALSPreficed__Group_0__0__Impl rule__ALSPreficed__Group_0__1
19033 {
19034 pushFollow(FOLLOW_47);
19035 rule__ALSPreficed__Group_0__0__Impl();
19036
19037 state._fsp--;
19038 if (state.failed) return ;
19039 pushFollow(FOLLOW_2);
19040 rule__ALSPreficed__Group_0__1();
19041
19042 state._fsp--;
19043 if (state.failed) return ;
19044
19045 }
19046
19047 }
19048 catch (RecognitionException re) {
19049 reportError(re);
19050 recover(input,re);
19051 }
19052 finally {
19053
19054 restoreStackSize(stackSize);
19055
19056 }
19057 return ;
19058 }
19059 // $ANTLR end "rule__ALSPreficed__Group_0__0"
19060
19061
19062 // $ANTLR start "rule__ALSPreficed__Group_0__0__Impl"
19063 // InternalAlloyLanguage.g:6625:1: rule__ALSPreficed__Group_0__0__Impl : ( () ) ;
19064 public final void rule__ALSPreficed__Group_0__0__Impl() throws RecognitionException {
19065
19066 int stackSize = keepStackSize();
19067
19068 try {
19069 // InternalAlloyLanguage.g:6629:1: ( ( () ) )
19070 // InternalAlloyLanguage.g:6630:1: ( () )
19071 {
19072 // InternalAlloyLanguage.g:6630:1: ( () )
19073 // InternalAlloyLanguage.g:6631:1: ()
19074 {
19075 if ( state.backtracking==0 ) {
19076 before(grammarAccess.getALSPreficedAccess().getALSNotAction_0_0());
19077 }
19078 // InternalAlloyLanguage.g:6632:1: ()
19079 // InternalAlloyLanguage.g:6634:1:
19080 {
19081 }
19082
19083 if ( state.backtracking==0 ) {
19084 after(grammarAccess.getALSPreficedAccess().getALSNotAction_0_0());
19085 }
19086
19087 }
19088
19089
19090 }
19091
19092 }
19093 finally {
19094
19095 restoreStackSize(stackSize);
19096
19097 }
19098 return ;
19099 }
19100 // $ANTLR end "rule__ALSPreficed__Group_0__0__Impl"
19101
19102
19103 // $ANTLR start "rule__ALSPreficed__Group_0__1"
19104 // InternalAlloyLanguage.g:6644:1: rule__ALSPreficed__Group_0__1 : rule__ALSPreficed__Group_0__1__Impl rule__ALSPreficed__Group_0__2 ;
19105 public final void rule__ALSPreficed__Group_0__1() throws RecognitionException {
19106
19107 int stackSize = keepStackSize();
19108
19109 try {
19110 // InternalAlloyLanguage.g:6648:1: ( rule__ALSPreficed__Group_0__1__Impl rule__ALSPreficed__Group_0__2 )
19111 // InternalAlloyLanguage.g:6649:2: rule__ALSPreficed__Group_0__1__Impl rule__ALSPreficed__Group_0__2
19112 {
19113 pushFollow(FOLLOW_16);
19114 rule__ALSPreficed__Group_0__1__Impl();
19115
19116 state._fsp--;
19117 if (state.failed) return ;
19118 pushFollow(FOLLOW_2);
19119 rule__ALSPreficed__Group_0__2();
19120
19121 state._fsp--;
19122 if (state.failed) return ;
19123
19124 }
19125
19126 }
19127 catch (RecognitionException re) {
19128 reportError(re);
19129 recover(input,re);
19130 }
19131 finally {
19132
19133 restoreStackSize(stackSize);
19134
19135 }
19136 return ;
19137 }
19138 // $ANTLR end "rule__ALSPreficed__Group_0__1"
19139
19140
19141 // $ANTLR start "rule__ALSPreficed__Group_0__1__Impl"
19142 // InternalAlloyLanguage.g:6656:1: rule__ALSPreficed__Group_0__1__Impl : ( ( rule__ALSPreficed__Group_0_1__0 ) ) ;
19143 public final void rule__ALSPreficed__Group_0__1__Impl() throws RecognitionException {
19144
19145 int stackSize = keepStackSize();
19146
19147 try {
19148 // InternalAlloyLanguage.g:6660:1: ( ( ( rule__ALSPreficed__Group_0_1__0 ) ) )
19149 // InternalAlloyLanguage.g:6661:1: ( ( rule__ALSPreficed__Group_0_1__0 ) )
19150 {
19151 // InternalAlloyLanguage.g:6661:1: ( ( rule__ALSPreficed__Group_0_1__0 ) )
19152 // InternalAlloyLanguage.g:6662:1: ( rule__ALSPreficed__Group_0_1__0 )
19153 {
19154 if ( state.backtracking==0 ) {
19155 before(grammarAccess.getALSPreficedAccess().getGroup_0_1());
19156 }
19157 // InternalAlloyLanguage.g:6663:1: ( rule__ALSPreficed__Group_0_1__0 )
19158 // InternalAlloyLanguage.g:6663:2: rule__ALSPreficed__Group_0_1__0
19159 {
19160 pushFollow(FOLLOW_2);
19161 rule__ALSPreficed__Group_0_1__0();
19162
19163 state._fsp--;
19164 if (state.failed) return ;
19165
19166 }
19167
19168 if ( state.backtracking==0 ) {
19169 after(grammarAccess.getALSPreficedAccess().getGroup_0_1());
19170 }
19171
19172 }
19173
19174
19175 }
19176
19177 }
19178 catch (RecognitionException re) {
19179 reportError(re);
19180 recover(input,re);
19181 }
19182 finally {
19183
19184 restoreStackSize(stackSize);
19185
19186 }
19187 return ;
19188 }
19189 // $ANTLR end "rule__ALSPreficed__Group_0__1__Impl"
19190
19191
19192 // $ANTLR start "rule__ALSPreficed__Group_0__2"
19193 // InternalAlloyLanguage.g:6673:1: rule__ALSPreficed__Group_0__2 : rule__ALSPreficed__Group_0__2__Impl ;
19194 public final void rule__ALSPreficed__Group_0__2() throws RecognitionException {
19195
19196 int stackSize = keepStackSize();
19197
19198 try {
19199 // InternalAlloyLanguage.g:6677:1: ( rule__ALSPreficed__Group_0__2__Impl )
19200 // InternalAlloyLanguage.g:6678:2: rule__ALSPreficed__Group_0__2__Impl
19201 {
19202 pushFollow(FOLLOW_2);
19203 rule__ALSPreficed__Group_0__2__Impl();
19204
19205 state._fsp--;
19206 if (state.failed) return ;
19207
19208 }
19209
19210 }
19211 catch (RecognitionException re) {
19212 reportError(re);
19213 recover(input,re);
19214 }
19215 finally {
19216
19217 restoreStackSize(stackSize);
19218
19219 }
19220 return ;
19221 }
19222 // $ANTLR end "rule__ALSPreficed__Group_0__2"
19223
19224
19225 // $ANTLR start "rule__ALSPreficed__Group_0__2__Impl"
19226 // InternalAlloyLanguage.g:6684:1: rule__ALSPreficed__Group_0__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_0_2 ) ) ;
19227 public final void rule__ALSPreficed__Group_0__2__Impl() throws RecognitionException {
19228
19229 int stackSize = keepStackSize();
19230
19231 try {
19232 // InternalAlloyLanguage.g:6688:1: ( ( ( rule__ALSPreficed__OperandAssignment_0_2 ) ) )
19233 // InternalAlloyLanguage.g:6689:1: ( ( rule__ALSPreficed__OperandAssignment_0_2 ) )
19234 {
19235 // InternalAlloyLanguage.g:6689:1: ( ( rule__ALSPreficed__OperandAssignment_0_2 ) )
19236 // InternalAlloyLanguage.g:6690:1: ( rule__ALSPreficed__OperandAssignment_0_2 )
19237 {
19238 if ( state.backtracking==0 ) {
19239 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_0_2());
19240 }
19241 // InternalAlloyLanguage.g:6691:1: ( rule__ALSPreficed__OperandAssignment_0_2 )
19242 // InternalAlloyLanguage.g:6691:2: rule__ALSPreficed__OperandAssignment_0_2
19243 {
19244 pushFollow(FOLLOW_2);
19245 rule__ALSPreficed__OperandAssignment_0_2();
19246
19247 state._fsp--;
19248 if (state.failed) return ;
19249
19250 }
19251
19252 if ( state.backtracking==0 ) {
19253 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_0_2());
19254 }
19255
19256 }
19257
19258
19259 }
19260
19261 }
19262 catch (RecognitionException re) {
19263 reportError(re);
19264 recover(input,re);
19265 }
19266 finally {
19267
19268 restoreStackSize(stackSize);
19269
19270 }
19271 return ;
19272 }
19273 // $ANTLR end "rule__ALSPreficed__Group_0__2__Impl"
19274
19275
19276 // $ANTLR start "rule__ALSPreficed__Group_0_1__0"
19277 // InternalAlloyLanguage.g:6707:1: rule__ALSPreficed__Group_0_1__0 : rule__ALSPreficed__Group_0_1__0__Impl ;
19278 public final void rule__ALSPreficed__Group_0_1__0() throws RecognitionException {
19279
19280 int stackSize = keepStackSize();
19281
19282 try {
19283 // InternalAlloyLanguage.g:6711:1: ( rule__ALSPreficed__Group_0_1__0__Impl )
19284 // InternalAlloyLanguage.g:6712:2: rule__ALSPreficed__Group_0_1__0__Impl
19285 {
19286 pushFollow(FOLLOW_2);
19287 rule__ALSPreficed__Group_0_1__0__Impl();
19288
19289 state._fsp--;
19290 if (state.failed) return ;
19291
19292 }
19293
19294 }
19295 catch (RecognitionException re) {
19296 reportError(re);
19297 recover(input,re);
19298 }
19299 finally {
19300
19301 restoreStackSize(stackSize);
19302
19303 }
19304 return ;
19305 }
19306 // $ANTLR end "rule__ALSPreficed__Group_0_1__0"
19307
19308
19309 // $ANTLR start "rule__ALSPreficed__Group_0_1__0__Impl"
19310 // InternalAlloyLanguage.g:6718:1: rule__ALSPreficed__Group_0_1__0__Impl : ( ( rule__ALSPreficed__Alternatives_0_1_0 ) ) ;
19311 public final void rule__ALSPreficed__Group_0_1__0__Impl() throws RecognitionException {
19312
19313 int stackSize = keepStackSize();
19314
19315 try {
19316 // InternalAlloyLanguage.g:6722:1: ( ( ( rule__ALSPreficed__Alternatives_0_1_0 ) ) )
19317 // InternalAlloyLanguage.g:6723:1: ( ( rule__ALSPreficed__Alternatives_0_1_0 ) )
19318 {
19319 // InternalAlloyLanguage.g:6723:1: ( ( rule__ALSPreficed__Alternatives_0_1_0 ) )
19320 // InternalAlloyLanguage.g:6724:1: ( rule__ALSPreficed__Alternatives_0_1_0 )
19321 {
19322 if ( state.backtracking==0 ) {
19323 before(grammarAccess.getALSPreficedAccess().getAlternatives_0_1_0());
19324 }
19325 // InternalAlloyLanguage.g:6725:1: ( rule__ALSPreficed__Alternatives_0_1_0 )
19326 // InternalAlloyLanguage.g:6725:2: rule__ALSPreficed__Alternatives_0_1_0
19327 {
19328 pushFollow(FOLLOW_2);
19329 rule__ALSPreficed__Alternatives_0_1_0();
19330
19331 state._fsp--;
19332 if (state.failed) return ;
19333
19334 }
19335
19336 if ( state.backtracking==0 ) {
19337 after(grammarAccess.getALSPreficedAccess().getAlternatives_0_1_0());
19338 }
19339
19340 }
19341
19342
19343 }
19344
19345 }
19346 catch (RecognitionException re) {
19347 reportError(re);
19348 recover(input,re);
19349 }
19350 finally {
19351
19352 restoreStackSize(stackSize);
19353
19354 }
19355 return ;
19356 }
19357 // $ANTLR end "rule__ALSPreficed__Group_0_1__0__Impl"
19358
19359
19360 // $ANTLR start "rule__ALSPreficed__Group_1__0"
19361 // InternalAlloyLanguage.g:6737:1: rule__ALSPreficed__Group_1__0 : rule__ALSPreficed__Group_1__0__Impl rule__ALSPreficed__Group_1__1 ;
19362 public final void rule__ALSPreficed__Group_1__0() throws RecognitionException {
19363
19364 int stackSize = keepStackSize();
19365
19366 try {
19367 // InternalAlloyLanguage.g:6741:1: ( rule__ALSPreficed__Group_1__0__Impl rule__ALSPreficed__Group_1__1 )
19368 // InternalAlloyLanguage.g:6742:2: rule__ALSPreficed__Group_1__0__Impl rule__ALSPreficed__Group_1__1
19369 {
19370 pushFollow(FOLLOW_48);
19371 rule__ALSPreficed__Group_1__0__Impl();
19372
19373 state._fsp--;
19374 if (state.failed) return ;
19375 pushFollow(FOLLOW_2);
19376 rule__ALSPreficed__Group_1__1();
19377
19378 state._fsp--;
19379 if (state.failed) return ;
19380
19381 }
19382
19383 }
19384 catch (RecognitionException re) {
19385 reportError(re);
19386 recover(input,re);
19387 }
19388 finally {
19389
19390 restoreStackSize(stackSize);
19391
19392 }
19393 return ;
19394 }
19395 // $ANTLR end "rule__ALSPreficed__Group_1__0"
19396
19397
19398 // $ANTLR start "rule__ALSPreficed__Group_1__0__Impl"
19399 // InternalAlloyLanguage.g:6749:1: rule__ALSPreficed__Group_1__0__Impl : ( () ) ;
19400 public final void rule__ALSPreficed__Group_1__0__Impl() throws RecognitionException {
19401
19402 int stackSize = keepStackSize();
19403
19404 try {
19405 // InternalAlloyLanguage.g:6753:1: ( ( () ) )
19406 // InternalAlloyLanguage.g:6754:1: ( () )
19407 {
19408 // InternalAlloyLanguage.g:6754:1: ( () )
19409 // InternalAlloyLanguage.g:6755:1: ()
19410 {
19411 if ( state.backtracking==0 ) {
19412 before(grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0());
19413 }
19414 // InternalAlloyLanguage.g:6756:1: ()
19415 // InternalAlloyLanguage.g:6758:1:
19416 {
19417 }
19418
19419 if ( state.backtracking==0 ) {
19420 after(grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0());
19421 }
19422
19423 }
19424
19425
19426 }
19427
19428 }
19429 finally {
19430
19431 restoreStackSize(stackSize);
19432
19433 }
19434 return ;
19435 }
19436 // $ANTLR end "rule__ALSPreficed__Group_1__0__Impl"
19437
19438
19439 // $ANTLR start "rule__ALSPreficed__Group_1__1"
19440 // InternalAlloyLanguage.g:6768:1: rule__ALSPreficed__Group_1__1 : rule__ALSPreficed__Group_1__1__Impl rule__ALSPreficed__Group_1__2 ;
19441 public final void rule__ALSPreficed__Group_1__1() throws RecognitionException {
19442
19443 int stackSize = keepStackSize();
19444
19445 try {
19446 // InternalAlloyLanguage.g:6772:1: ( rule__ALSPreficed__Group_1__1__Impl rule__ALSPreficed__Group_1__2 )
19447 // InternalAlloyLanguage.g:6773:2: rule__ALSPreficed__Group_1__1__Impl rule__ALSPreficed__Group_1__2
19448 {
19449 pushFollow(FOLLOW_16);
19450 rule__ALSPreficed__Group_1__1__Impl();
19451
19452 state._fsp--;
19453 if (state.failed) return ;
19454 pushFollow(FOLLOW_2);
19455 rule__ALSPreficed__Group_1__2();
19456
19457 state._fsp--;
19458 if (state.failed) return ;
19459
19460 }
19461
19462 }
19463 catch (RecognitionException re) {
19464 reportError(re);
19465 recover(input,re);
19466 }
19467 finally {
19468
19469 restoreStackSize(stackSize);
19470
19471 }
19472 return ;
19473 }
19474 // $ANTLR end "rule__ALSPreficed__Group_1__1"
19475
19476
19477 // $ANTLR start "rule__ALSPreficed__Group_1__1__Impl"
19478 // InternalAlloyLanguage.g:6780:1: rule__ALSPreficed__Group_1__1__Impl : ( ( '~' ) ) ;
19479 public final void rule__ALSPreficed__Group_1__1__Impl() throws RecognitionException {
19480
19481 int stackSize = keepStackSize();
19482
19483 try {
19484 // InternalAlloyLanguage.g:6784:1: ( ( ( '~' ) ) )
19485 // InternalAlloyLanguage.g:6785:1: ( ( '~' ) )
19486 {
19487 // InternalAlloyLanguage.g:6785:1: ( ( '~' ) )
19488 // InternalAlloyLanguage.g:6786:1: ( '~' )
19489 {
19490 if ( state.backtracking==0 ) {
19491 before(grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1());
19492 }
19493 // InternalAlloyLanguage.g:6787:1: ( '~' )
19494 // InternalAlloyLanguage.g:6788:2: '~'
19495 {
19496 match(input,60,FOLLOW_2); if (state.failed) return ;
19497
19498 }
19499
19500 if ( state.backtracking==0 ) {
19501 after(grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1());
19502 }
19503
19504 }
19505
19506
19507 }
19508
19509 }
19510 catch (RecognitionException re) {
19511 reportError(re);
19512 recover(input,re);
19513 }
19514 finally {
19515
19516 restoreStackSize(stackSize);
19517
19518 }
19519 return ;
19520 }
19521 // $ANTLR end "rule__ALSPreficed__Group_1__1__Impl"
19522
19523
19524 // $ANTLR start "rule__ALSPreficed__Group_1__2"
19525 // InternalAlloyLanguage.g:6799:1: rule__ALSPreficed__Group_1__2 : rule__ALSPreficed__Group_1__2__Impl ;
19526 public final void rule__ALSPreficed__Group_1__2() throws RecognitionException {
19527
19528 int stackSize = keepStackSize();
19529
19530 try {
19531 // InternalAlloyLanguage.g:6803:1: ( rule__ALSPreficed__Group_1__2__Impl )
19532 // InternalAlloyLanguage.g:6804:2: rule__ALSPreficed__Group_1__2__Impl
19533 {
19534 pushFollow(FOLLOW_2);
19535 rule__ALSPreficed__Group_1__2__Impl();
19536
19537 state._fsp--;
19538 if (state.failed) return ;
19539
19540 }
19541
19542 }
19543 catch (RecognitionException re) {
19544 reportError(re);
19545 recover(input,re);
19546 }
19547 finally {
19548
19549 restoreStackSize(stackSize);
19550
19551 }
19552 return ;
19553 }
19554 // $ANTLR end "rule__ALSPreficed__Group_1__2"
19555
19556
19557 // $ANTLR start "rule__ALSPreficed__Group_1__2__Impl"
19558 // InternalAlloyLanguage.g:6810:1: rule__ALSPreficed__Group_1__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_1_2 ) ) ;
19559 public final void rule__ALSPreficed__Group_1__2__Impl() throws RecognitionException {
19560
19561 int stackSize = keepStackSize();
19562
19563 try {
19564 // InternalAlloyLanguage.g:6814:1: ( ( ( rule__ALSPreficed__OperandAssignment_1_2 ) ) )
19565 // InternalAlloyLanguage.g:6815:1: ( ( rule__ALSPreficed__OperandAssignment_1_2 ) )
19566 {
19567 // InternalAlloyLanguage.g:6815:1: ( ( rule__ALSPreficed__OperandAssignment_1_2 ) )
19568 // InternalAlloyLanguage.g:6816:1: ( rule__ALSPreficed__OperandAssignment_1_2 )
19569 {
19570 if ( state.backtracking==0 ) {
19571 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_1_2());
19572 }
19573 // InternalAlloyLanguage.g:6817:1: ( rule__ALSPreficed__OperandAssignment_1_2 )
19574 // InternalAlloyLanguage.g:6817:2: rule__ALSPreficed__OperandAssignment_1_2
19575 {
19576 pushFollow(FOLLOW_2);
19577 rule__ALSPreficed__OperandAssignment_1_2();
19578
19579 state._fsp--;
19580 if (state.failed) return ;
19581
19582 }
19583
19584 if ( state.backtracking==0 ) {
19585 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_1_2());
19586 }
19587
19588 }
19589
19590
19591 }
19592
19593 }
19594 catch (RecognitionException re) {
19595 reportError(re);
19596 recover(input,re);
19597 }
19598 finally {
19599
19600 restoreStackSize(stackSize);
19601
19602 }
19603 return ;
19604 }
19605 // $ANTLR end "rule__ALSPreficed__Group_1__2__Impl"
19606
19607
19608 // $ANTLR start "rule__ALSPreficed__Group_2__0"
19609 // InternalAlloyLanguage.g:6833:1: rule__ALSPreficed__Group_2__0 : rule__ALSPreficed__Group_2__0__Impl rule__ALSPreficed__Group_2__1 ;
19610 public final void rule__ALSPreficed__Group_2__0() throws RecognitionException {
19611
19612 int stackSize = keepStackSize();
19613
19614 try {
19615 // InternalAlloyLanguage.g:6837:1: ( rule__ALSPreficed__Group_2__0__Impl rule__ALSPreficed__Group_2__1 )
19616 // InternalAlloyLanguage.g:6838:2: rule__ALSPreficed__Group_2__0__Impl rule__ALSPreficed__Group_2__1
19617 {
19618 pushFollow(FOLLOW_49);
19619 rule__ALSPreficed__Group_2__0__Impl();
19620
19621 state._fsp--;
19622 if (state.failed) return ;
19623 pushFollow(FOLLOW_2);
19624 rule__ALSPreficed__Group_2__1();
19625
19626 state._fsp--;
19627 if (state.failed) return ;
19628
19629 }
19630
19631 }
19632 catch (RecognitionException re) {
19633 reportError(re);
19634 recover(input,re);
19635 }
19636 finally {
19637
19638 restoreStackSize(stackSize);
19639
19640 }
19641 return ;
19642 }
19643 // $ANTLR end "rule__ALSPreficed__Group_2__0"
19644
19645
19646 // $ANTLR start "rule__ALSPreficed__Group_2__0__Impl"
19647 // InternalAlloyLanguage.g:6845:1: rule__ALSPreficed__Group_2__0__Impl : ( () ) ;
19648 public final void rule__ALSPreficed__Group_2__0__Impl() throws RecognitionException {
19649
19650 int stackSize = keepStackSize();
19651
19652 try {
19653 // InternalAlloyLanguage.g:6849:1: ( ( () ) )
19654 // InternalAlloyLanguage.g:6850:1: ( () )
19655 {
19656 // InternalAlloyLanguage.g:6850:1: ( () )
19657 // InternalAlloyLanguage.g:6851:1: ()
19658 {
19659 if ( state.backtracking==0 ) {
19660 before(grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0());
19661 }
19662 // InternalAlloyLanguage.g:6852:1: ()
19663 // InternalAlloyLanguage.g:6854:1:
19664 {
19665 }
19666
19667 if ( state.backtracking==0 ) {
19668 after(grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0());
19669 }
19670
19671 }
19672
19673
19674 }
19675
19676 }
19677 finally {
19678
19679 restoreStackSize(stackSize);
19680
19681 }
19682 return ;
19683 }
19684 // $ANTLR end "rule__ALSPreficed__Group_2__0__Impl"
19685
19686
19687 // $ANTLR start "rule__ALSPreficed__Group_2__1"
19688 // InternalAlloyLanguage.g:6864:1: rule__ALSPreficed__Group_2__1 : rule__ALSPreficed__Group_2__1__Impl rule__ALSPreficed__Group_2__2 ;
19689 public final void rule__ALSPreficed__Group_2__1() throws RecognitionException {
19690
19691 int stackSize = keepStackSize();
19692
19693 try {
19694 // InternalAlloyLanguage.g:6868:1: ( rule__ALSPreficed__Group_2__1__Impl rule__ALSPreficed__Group_2__2 )
19695 // InternalAlloyLanguage.g:6869:2: rule__ALSPreficed__Group_2__1__Impl rule__ALSPreficed__Group_2__2
19696 {
19697 pushFollow(FOLLOW_16);
19698 rule__ALSPreficed__Group_2__1__Impl();
19699
19700 state._fsp--;
19701 if (state.failed) return ;
19702 pushFollow(FOLLOW_2);
19703 rule__ALSPreficed__Group_2__2();
19704
19705 state._fsp--;
19706 if (state.failed) return ;
19707
19708 }
19709
19710 }
19711 catch (RecognitionException re) {
19712 reportError(re);
19713 recover(input,re);
19714 }
19715 finally {
19716
19717 restoreStackSize(stackSize);
19718
19719 }
19720 return ;
19721 }
19722 // $ANTLR end "rule__ALSPreficed__Group_2__1"
19723
19724
19725 // $ANTLR start "rule__ALSPreficed__Group_2__1__Impl"
19726 // InternalAlloyLanguage.g:6876:1: rule__ALSPreficed__Group_2__1__Impl : ( '^' ) ;
19727 public final void rule__ALSPreficed__Group_2__1__Impl() throws RecognitionException {
19728
19729 int stackSize = keepStackSize();
19730
19731 try {
19732 // InternalAlloyLanguage.g:6880:1: ( ( '^' ) )
19733 // InternalAlloyLanguage.g:6881:1: ( '^' )
19734 {
19735 // InternalAlloyLanguage.g:6881:1: ( '^' )
19736 // InternalAlloyLanguage.g:6882:1: '^'
19737 {
19738 if ( state.backtracking==0 ) {
19739 before(grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1());
19740 }
19741 match(input,61,FOLLOW_2); if (state.failed) return ;
19742 if ( state.backtracking==0 ) {
19743 after(grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1());
19744 }
19745
19746 }
19747
19748
19749 }
19750
19751 }
19752 catch (RecognitionException re) {
19753 reportError(re);
19754 recover(input,re);
19755 }
19756 finally {
19757
19758 restoreStackSize(stackSize);
19759
19760 }
19761 return ;
19762 }
19763 // $ANTLR end "rule__ALSPreficed__Group_2__1__Impl"
19764
19765
19766 // $ANTLR start "rule__ALSPreficed__Group_2__2"
19767 // InternalAlloyLanguage.g:6895:1: rule__ALSPreficed__Group_2__2 : rule__ALSPreficed__Group_2__2__Impl ;
19768 public final void rule__ALSPreficed__Group_2__2() throws RecognitionException {
19769
19770 int stackSize = keepStackSize();
19771
19772 try {
19773 // InternalAlloyLanguage.g:6899:1: ( rule__ALSPreficed__Group_2__2__Impl )
19774 // InternalAlloyLanguage.g:6900:2: rule__ALSPreficed__Group_2__2__Impl
19775 {
19776 pushFollow(FOLLOW_2);
19777 rule__ALSPreficed__Group_2__2__Impl();
19778
19779 state._fsp--;
19780 if (state.failed) return ;
19781
19782 }
19783
19784 }
19785 catch (RecognitionException re) {
19786 reportError(re);
19787 recover(input,re);
19788 }
19789 finally {
19790
19791 restoreStackSize(stackSize);
19792
19793 }
19794 return ;
19795 }
19796 // $ANTLR end "rule__ALSPreficed__Group_2__2"
19797
19798
19799 // $ANTLR start "rule__ALSPreficed__Group_2__2__Impl"
19800 // InternalAlloyLanguage.g:6906:1: rule__ALSPreficed__Group_2__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_2_2 ) ) ;
19801 public final void rule__ALSPreficed__Group_2__2__Impl() throws RecognitionException {
19802
19803 int stackSize = keepStackSize();
19804
19805 try {
19806 // InternalAlloyLanguage.g:6910:1: ( ( ( rule__ALSPreficed__OperandAssignment_2_2 ) ) )
19807 // InternalAlloyLanguage.g:6911:1: ( ( rule__ALSPreficed__OperandAssignment_2_2 ) )
19808 {
19809 // InternalAlloyLanguage.g:6911:1: ( ( rule__ALSPreficed__OperandAssignment_2_2 ) )
19810 // InternalAlloyLanguage.g:6912:1: ( rule__ALSPreficed__OperandAssignment_2_2 )
19811 {
19812 if ( state.backtracking==0 ) {
19813 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_2_2());
19814 }
19815 // InternalAlloyLanguage.g:6913:1: ( rule__ALSPreficed__OperandAssignment_2_2 )
19816 // InternalAlloyLanguage.g:6913:2: rule__ALSPreficed__OperandAssignment_2_2
19817 {
19818 pushFollow(FOLLOW_2);
19819 rule__ALSPreficed__OperandAssignment_2_2();
19820
19821 state._fsp--;
19822 if (state.failed) return ;
19823
19824 }
19825
19826 if ( state.backtracking==0 ) {
19827 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_2_2());
19828 }
19829
19830 }
19831
19832
19833 }
19834
19835 }
19836 catch (RecognitionException re) {
19837 reportError(re);
19838 recover(input,re);
19839 }
19840 finally {
19841
19842 restoreStackSize(stackSize);
19843
19844 }
19845 return ;
19846 }
19847 // $ANTLR end "rule__ALSPreficed__Group_2__2__Impl"
19848
19849
19850 // $ANTLR start "rule__ALSPreficed__Group_3__0"
19851 // InternalAlloyLanguage.g:6929:1: rule__ALSPreficed__Group_3__0 : rule__ALSPreficed__Group_3__0__Impl rule__ALSPreficed__Group_3__1 ;
19852 public final void rule__ALSPreficed__Group_3__0() throws RecognitionException {
19853
19854 int stackSize = keepStackSize();
19855
19856 try {
19857 // InternalAlloyLanguage.g:6933:1: ( rule__ALSPreficed__Group_3__0__Impl rule__ALSPreficed__Group_3__1 )
19858 // InternalAlloyLanguage.g:6934:2: rule__ALSPreficed__Group_3__0__Impl rule__ALSPreficed__Group_3__1
19859 {
19860 pushFollow(FOLLOW_50);
19861 rule__ALSPreficed__Group_3__0__Impl();
19862
19863 state._fsp--;
19864 if (state.failed) return ;
19865 pushFollow(FOLLOW_2);
19866 rule__ALSPreficed__Group_3__1();
19867
19868 state._fsp--;
19869 if (state.failed) return ;
19870
19871 }
19872
19873 }
19874 catch (RecognitionException re) {
19875 reportError(re);
19876 recover(input,re);
19877 }
19878 finally {
19879
19880 restoreStackSize(stackSize);
19881
19882 }
19883 return ;
19884 }
19885 // $ANTLR end "rule__ALSPreficed__Group_3__0"
19886
19887
19888 // $ANTLR start "rule__ALSPreficed__Group_3__0__Impl"
19889 // InternalAlloyLanguage.g:6941:1: rule__ALSPreficed__Group_3__0__Impl : ( () ) ;
19890 public final void rule__ALSPreficed__Group_3__0__Impl() throws RecognitionException {
19891
19892 int stackSize = keepStackSize();
19893
19894 try {
19895 // InternalAlloyLanguage.g:6945:1: ( ( () ) )
19896 // InternalAlloyLanguage.g:6946:1: ( () )
19897 {
19898 // InternalAlloyLanguage.g:6946:1: ( () )
19899 // InternalAlloyLanguage.g:6947:1: ()
19900 {
19901 if ( state.backtracking==0 ) {
19902 before(grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0());
19903 }
19904 // InternalAlloyLanguage.g:6948:1: ()
19905 // InternalAlloyLanguage.g:6950:1:
19906 {
19907 }
19908
19909 if ( state.backtracking==0 ) {
19910 after(grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0());
19911 }
19912
19913 }
19914
19915
19916 }
19917
19918 }
19919 finally {
19920
19921 restoreStackSize(stackSize);
19922
19923 }
19924 return ;
19925 }
19926 // $ANTLR end "rule__ALSPreficed__Group_3__0__Impl"
19927
19928
19929 // $ANTLR start "rule__ALSPreficed__Group_3__1"
19930 // InternalAlloyLanguage.g:6960:1: rule__ALSPreficed__Group_3__1 : rule__ALSPreficed__Group_3__1__Impl rule__ALSPreficed__Group_3__2 ;
19931 public final void rule__ALSPreficed__Group_3__1() throws RecognitionException {
19932
19933 int stackSize = keepStackSize();
19934
19935 try {
19936 // InternalAlloyLanguage.g:6964:1: ( rule__ALSPreficed__Group_3__1__Impl rule__ALSPreficed__Group_3__2 )
19937 // InternalAlloyLanguage.g:6965:2: rule__ALSPreficed__Group_3__1__Impl rule__ALSPreficed__Group_3__2
19938 {
19939 pushFollow(FOLLOW_16);
19940 rule__ALSPreficed__Group_3__1__Impl();
19941
19942 state._fsp--;
19943 if (state.failed) return ;
19944 pushFollow(FOLLOW_2);
19945 rule__ALSPreficed__Group_3__2();
19946
19947 state._fsp--;
19948 if (state.failed) return ;
19949
19950 }
19951
19952 }
19953 catch (RecognitionException re) {
19954 reportError(re);
19955 recover(input,re);
19956 }
19957 finally {
19958
19959 restoreStackSize(stackSize);
19960
19961 }
19962 return ;
19963 }
19964 // $ANTLR end "rule__ALSPreficed__Group_3__1"
19965
19966
19967 // $ANTLR start "rule__ALSPreficed__Group_3__1__Impl"
19968 // InternalAlloyLanguage.g:6972:1: rule__ALSPreficed__Group_3__1__Impl : ( '*' ) ;
19969 public final void rule__ALSPreficed__Group_3__1__Impl() throws RecognitionException {
19970
19971 int stackSize = keepStackSize();
19972
19973 try {
19974 // InternalAlloyLanguage.g:6976:1: ( ( '*' ) )
19975 // InternalAlloyLanguage.g:6977:1: ( '*' )
19976 {
19977 // InternalAlloyLanguage.g:6977:1: ( '*' )
19978 // InternalAlloyLanguage.g:6978:1: '*'
19979 {
19980 if ( state.backtracking==0 ) {
19981 before(grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1());
19982 }
19983 match(input,62,FOLLOW_2); if (state.failed) return ;
19984 if ( state.backtracking==0 ) {
19985 after(grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1());
19986 }
19987
19988 }
19989
19990
19991 }
19992
19993 }
19994 catch (RecognitionException re) {
19995 reportError(re);
19996 recover(input,re);
19997 }
19998 finally {
19999
20000 restoreStackSize(stackSize);
20001
20002 }
20003 return ;
20004 }
20005 // $ANTLR end "rule__ALSPreficed__Group_3__1__Impl"
20006
20007
20008 // $ANTLR start "rule__ALSPreficed__Group_3__2"
20009 // InternalAlloyLanguage.g:6991:1: rule__ALSPreficed__Group_3__2 : rule__ALSPreficed__Group_3__2__Impl ;
20010 public final void rule__ALSPreficed__Group_3__2() throws RecognitionException {
20011
20012 int stackSize = keepStackSize();
20013
20014 try {
20015 // InternalAlloyLanguage.g:6995:1: ( rule__ALSPreficed__Group_3__2__Impl )
20016 // InternalAlloyLanguage.g:6996:2: rule__ALSPreficed__Group_3__2__Impl
20017 {
20018 pushFollow(FOLLOW_2);
20019 rule__ALSPreficed__Group_3__2__Impl();
20020
20021 state._fsp--;
20022 if (state.failed) return ;
20023
20024 }
20025
20026 }
20027 catch (RecognitionException re) {
20028 reportError(re);
20029 recover(input,re);
20030 }
20031 finally {
20032
20033 restoreStackSize(stackSize);
20034
20035 }
20036 return ;
20037 }
20038 // $ANTLR end "rule__ALSPreficed__Group_3__2"
20039
20040
20041 // $ANTLR start "rule__ALSPreficed__Group_3__2__Impl"
20042 // InternalAlloyLanguage.g:7002:1: rule__ALSPreficed__Group_3__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_3_2 ) ) ;
20043 public final void rule__ALSPreficed__Group_3__2__Impl() throws RecognitionException {
20044
20045 int stackSize = keepStackSize();
20046
20047 try {
20048 // InternalAlloyLanguage.g:7006:1: ( ( ( rule__ALSPreficed__OperandAssignment_3_2 ) ) )
20049 // InternalAlloyLanguage.g:7007:1: ( ( rule__ALSPreficed__OperandAssignment_3_2 ) )
20050 {
20051 // InternalAlloyLanguage.g:7007:1: ( ( rule__ALSPreficed__OperandAssignment_3_2 ) )
20052 // InternalAlloyLanguage.g:7008:1: ( rule__ALSPreficed__OperandAssignment_3_2 )
20053 {
20054 if ( state.backtracking==0 ) {
20055 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_3_2());
20056 }
20057 // InternalAlloyLanguage.g:7009:1: ( rule__ALSPreficed__OperandAssignment_3_2 )
20058 // InternalAlloyLanguage.g:7009:2: rule__ALSPreficed__OperandAssignment_3_2
20059 {
20060 pushFollow(FOLLOW_2);
20061 rule__ALSPreficed__OperandAssignment_3_2();
20062
20063 state._fsp--;
20064 if (state.failed) return ;
20065
20066 }
20067
20068 if ( state.backtracking==0 ) {
20069 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_3_2());
20070 }
20071
20072 }
20073
20074
20075 }
20076
20077 }
20078 catch (RecognitionException re) {
20079 reportError(re);
20080 recover(input,re);
20081 }
20082 finally {
20083
20084 restoreStackSize(stackSize);
20085
20086 }
20087 return ;
20088 }
20089 // $ANTLR end "rule__ALSPreficed__Group_3__2__Impl"
20090
20091
20092 // $ANTLR start "rule__ALSPreficed__Group_4__0"
20093 // InternalAlloyLanguage.g:7025:1: rule__ALSPreficed__Group_4__0 : rule__ALSPreficed__Group_4__0__Impl rule__ALSPreficed__Group_4__1 ;
20094 public final void rule__ALSPreficed__Group_4__0() throws RecognitionException {
20095
20096 int stackSize = keepStackSize();
20097
20098 try {
20099 // InternalAlloyLanguage.g:7029:1: ( rule__ALSPreficed__Group_4__0__Impl rule__ALSPreficed__Group_4__1 )
20100 // InternalAlloyLanguage.g:7030:2: rule__ALSPreficed__Group_4__0__Impl rule__ALSPreficed__Group_4__1
20101 {
20102 pushFollow(FOLLOW_51);
20103 rule__ALSPreficed__Group_4__0__Impl();
20104
20105 state._fsp--;
20106 if (state.failed) return ;
20107 pushFollow(FOLLOW_2);
20108 rule__ALSPreficed__Group_4__1();
20109
20110 state._fsp--;
20111 if (state.failed) return ;
20112
20113 }
20114
20115 }
20116 catch (RecognitionException re) {
20117 reportError(re);
20118 recover(input,re);
20119 }
20120 finally {
20121
20122 restoreStackSize(stackSize);
20123
20124 }
20125 return ;
20126 }
20127 // $ANTLR end "rule__ALSPreficed__Group_4__0"
20128
20129
20130 // $ANTLR start "rule__ALSPreficed__Group_4__0__Impl"
20131 // InternalAlloyLanguage.g:7037:1: rule__ALSPreficed__Group_4__0__Impl : ( () ) ;
20132 public final void rule__ALSPreficed__Group_4__0__Impl() throws RecognitionException {
20133
20134 int stackSize = keepStackSize();
20135
20136 try {
20137 // InternalAlloyLanguage.g:7041:1: ( ( () ) )
20138 // InternalAlloyLanguage.g:7042:1: ( () )
20139 {
20140 // InternalAlloyLanguage.g:7042:1: ( () )
20141 // InternalAlloyLanguage.g:7043:1: ()
20142 {
20143 if ( state.backtracking==0 ) {
20144 before(grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0());
20145 }
20146 // InternalAlloyLanguage.g:7044:1: ()
20147 // InternalAlloyLanguage.g:7046:1:
20148 {
20149 }
20150
20151 if ( state.backtracking==0 ) {
20152 after(grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0());
20153 }
20154
20155 }
20156
20157
20158 }
20159
20160 }
20161 finally {
20162
20163 restoreStackSize(stackSize);
20164
20165 }
20166 return ;
20167 }
20168 // $ANTLR end "rule__ALSPreficed__Group_4__0__Impl"
20169
20170
20171 // $ANTLR start "rule__ALSPreficed__Group_4__1"
20172 // InternalAlloyLanguage.g:7056:1: rule__ALSPreficed__Group_4__1 : rule__ALSPreficed__Group_4__1__Impl rule__ALSPreficed__Group_4__2 ;
20173 public final void rule__ALSPreficed__Group_4__1() throws RecognitionException {
20174
20175 int stackSize = keepStackSize();
20176
20177 try {
20178 // InternalAlloyLanguage.g:7060:1: ( rule__ALSPreficed__Group_4__1__Impl rule__ALSPreficed__Group_4__2 )
20179 // InternalAlloyLanguage.g:7061:2: rule__ALSPreficed__Group_4__1__Impl rule__ALSPreficed__Group_4__2
20180 {
20181 pushFollow(FOLLOW_16);
20182 rule__ALSPreficed__Group_4__1__Impl();
20183
20184 state._fsp--;
20185 if (state.failed) return ;
20186 pushFollow(FOLLOW_2);
20187 rule__ALSPreficed__Group_4__2();
20188
20189 state._fsp--;
20190 if (state.failed) return ;
20191
20192 }
20193
20194 }
20195 catch (RecognitionException re) {
20196 reportError(re);
20197 recover(input,re);
20198 }
20199 finally {
20200
20201 restoreStackSize(stackSize);
20202
20203 }
20204 return ;
20205 }
20206 // $ANTLR end "rule__ALSPreficed__Group_4__1"
20207
20208
20209 // $ANTLR start "rule__ALSPreficed__Group_4__1__Impl"
20210 // InternalAlloyLanguage.g:7068:1: rule__ALSPreficed__Group_4__1__Impl : ( '#' ) ;
20211 public final void rule__ALSPreficed__Group_4__1__Impl() throws RecognitionException {
20212
20213 int stackSize = keepStackSize();
20214
20215 try {
20216 // InternalAlloyLanguage.g:7072:1: ( ( '#' ) )
20217 // InternalAlloyLanguage.g:7073:1: ( '#' )
20218 {
20219 // InternalAlloyLanguage.g:7073:1: ( '#' )
20220 // InternalAlloyLanguage.g:7074:1: '#'
20221 {
20222 if ( state.backtracking==0 ) {
20223 before(grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1());
20224 }
20225 match(input,63,FOLLOW_2); if (state.failed) return ;
20226 if ( state.backtracking==0 ) {
20227 after(grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1());
20228 }
20229
20230 }
20231
20232
20233 }
20234
20235 }
20236 catch (RecognitionException re) {
20237 reportError(re);
20238 recover(input,re);
20239 }
20240 finally {
20241
20242 restoreStackSize(stackSize);
20243
20244 }
20245 return ;
20246 }
20247 // $ANTLR end "rule__ALSPreficed__Group_4__1__Impl"
20248
20249
20250 // $ANTLR start "rule__ALSPreficed__Group_4__2"
20251 // InternalAlloyLanguage.g:7087:1: rule__ALSPreficed__Group_4__2 : rule__ALSPreficed__Group_4__2__Impl ;
20252 public final void rule__ALSPreficed__Group_4__2() throws RecognitionException {
20253
20254 int stackSize = keepStackSize();
20255
20256 try {
20257 // InternalAlloyLanguage.g:7091:1: ( rule__ALSPreficed__Group_4__2__Impl )
20258 // InternalAlloyLanguage.g:7092:2: rule__ALSPreficed__Group_4__2__Impl
20259 {
20260 pushFollow(FOLLOW_2);
20261 rule__ALSPreficed__Group_4__2__Impl();
20262
20263 state._fsp--;
20264 if (state.failed) return ;
20265
20266 }
20267
20268 }
20269 catch (RecognitionException re) {
20270 reportError(re);
20271 recover(input,re);
20272 }
20273 finally {
20274
20275 restoreStackSize(stackSize);
20276
20277 }
20278 return ;
20279 }
20280 // $ANTLR end "rule__ALSPreficed__Group_4__2"
20281
20282
20283 // $ANTLR start "rule__ALSPreficed__Group_4__2__Impl"
20284 // InternalAlloyLanguage.g:7098:1: rule__ALSPreficed__Group_4__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_4_2 ) ) ;
20285 public final void rule__ALSPreficed__Group_4__2__Impl() throws RecognitionException {
20286
20287 int stackSize = keepStackSize();
20288
20289 try {
20290 // InternalAlloyLanguage.g:7102:1: ( ( ( rule__ALSPreficed__OperandAssignment_4_2 ) ) )
20291 // InternalAlloyLanguage.g:7103:1: ( ( rule__ALSPreficed__OperandAssignment_4_2 ) )
20292 {
20293 // InternalAlloyLanguage.g:7103:1: ( ( rule__ALSPreficed__OperandAssignment_4_2 ) )
20294 // InternalAlloyLanguage.g:7104:1: ( rule__ALSPreficed__OperandAssignment_4_2 )
20295 {
20296 if ( state.backtracking==0 ) {
20297 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_4_2());
20298 }
20299 // InternalAlloyLanguage.g:7105:1: ( rule__ALSPreficed__OperandAssignment_4_2 )
20300 // InternalAlloyLanguage.g:7105:2: rule__ALSPreficed__OperandAssignment_4_2
20301 {
20302 pushFollow(FOLLOW_2);
20303 rule__ALSPreficed__OperandAssignment_4_2();
20304
20305 state._fsp--;
20306 if (state.failed) return ;
20307
20308 }
20309
20310 if ( state.backtracking==0 ) {
20311 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_4_2());
20312 }
20313
20314 }
20315
20316
20317 }
20318
20319 }
20320 catch (RecognitionException re) {
20321 reportError(re);
20322 recover(input,re);
20323 }
20324 finally {
20325
20326 restoreStackSize(stackSize);
20327
20328 }
20329 return ;
20330 }
20331 // $ANTLR end "rule__ALSPreficed__Group_4__2__Impl"
20332
20333
20334 // $ANTLR start "rule__ALSPreficed__Group_5__0"
20335 // InternalAlloyLanguage.g:7121:1: rule__ALSPreficed__Group_5__0 : rule__ALSPreficed__Group_5__0__Impl rule__ALSPreficed__Group_5__1 ;
20336 public final void rule__ALSPreficed__Group_5__0() throws RecognitionException {
20337
20338 int stackSize = keepStackSize();
20339
20340 try {
20341 // InternalAlloyLanguage.g:7125:1: ( rule__ALSPreficed__Group_5__0__Impl rule__ALSPreficed__Group_5__1 )
20342 // InternalAlloyLanguage.g:7126:2: rule__ALSPreficed__Group_5__0__Impl rule__ALSPreficed__Group_5__1
20343 {
20344 pushFollow(FOLLOW_42);
20345 rule__ALSPreficed__Group_5__0__Impl();
20346
20347 state._fsp--;
20348 if (state.failed) return ;
20349 pushFollow(FOLLOW_2);
20350 rule__ALSPreficed__Group_5__1();
20351
20352 state._fsp--;
20353 if (state.failed) return ;
20354
20355 }
20356
20357 }
20358 catch (RecognitionException re) {
20359 reportError(re);
20360 recover(input,re);
20361 }
20362 finally {
20363
20364 restoreStackSize(stackSize);
20365
20366 }
20367 return ;
20368 }
20369 // $ANTLR end "rule__ALSPreficed__Group_5__0"
20370
20371
20372 // $ANTLR start "rule__ALSPreficed__Group_5__0__Impl"
20373 // InternalAlloyLanguage.g:7133:1: rule__ALSPreficed__Group_5__0__Impl : ( () ) ;
20374 public final void rule__ALSPreficed__Group_5__0__Impl() throws RecognitionException {
20375
20376 int stackSize = keepStackSize();
20377
20378 try {
20379 // InternalAlloyLanguage.g:7137:1: ( ( () ) )
20380 // InternalAlloyLanguage.g:7138:1: ( () )
20381 {
20382 // InternalAlloyLanguage.g:7138:1: ( () )
20383 // InternalAlloyLanguage.g:7139:1: ()
20384 {
20385 if ( state.backtracking==0 ) {
20386 before(grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0());
20387 }
20388 // InternalAlloyLanguage.g:7140:1: ()
20389 // InternalAlloyLanguage.g:7142:1:
20390 {
20391 }
20392
20393 if ( state.backtracking==0 ) {
20394 after(grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0());
20395 }
20396
20397 }
20398
20399
20400 }
20401
20402 }
20403 finally {
20404
20405 restoreStackSize(stackSize);
20406
20407 }
20408 return ;
20409 }
20410 // $ANTLR end "rule__ALSPreficed__Group_5__0__Impl"
20411
20412
20413 // $ANTLR start "rule__ALSPreficed__Group_5__1"
20414 // InternalAlloyLanguage.g:7152:1: rule__ALSPreficed__Group_5__1 : rule__ALSPreficed__Group_5__1__Impl rule__ALSPreficed__Group_5__2 ;
20415 public final void rule__ALSPreficed__Group_5__1() throws RecognitionException {
20416
20417 int stackSize = keepStackSize();
20418
20419 try {
20420 // InternalAlloyLanguage.g:7156:1: ( rule__ALSPreficed__Group_5__1__Impl rule__ALSPreficed__Group_5__2 )
20421 // InternalAlloyLanguage.g:7157:2: rule__ALSPreficed__Group_5__1__Impl rule__ALSPreficed__Group_5__2
20422 {
20423 pushFollow(FOLLOW_16);
20424 rule__ALSPreficed__Group_5__1__Impl();
20425
20426 state._fsp--;
20427 if (state.failed) return ;
20428 pushFollow(FOLLOW_2);
20429 rule__ALSPreficed__Group_5__2();
20430
20431 state._fsp--;
20432 if (state.failed) return ;
20433
20434 }
20435
20436 }
20437 catch (RecognitionException re) {
20438 reportError(re);
20439 recover(input,re);
20440 }
20441 finally {
20442
20443 restoreStackSize(stackSize);
20444
20445 }
20446 return ;
20447 }
20448 // $ANTLR end "rule__ALSPreficed__Group_5__1"
20449
20450
20451 // $ANTLR start "rule__ALSPreficed__Group_5__1__Impl"
20452 // InternalAlloyLanguage.g:7164:1: rule__ALSPreficed__Group_5__1__Impl : ( ( '-' ) ) ;
20453 public final void rule__ALSPreficed__Group_5__1__Impl() throws RecognitionException {
20454
20455 int stackSize = keepStackSize();
20456
20457 try {
20458 // InternalAlloyLanguage.g:7168:1: ( ( ( '-' ) ) )
20459 // InternalAlloyLanguage.g:7169:1: ( ( '-' ) )
20460 {
20461 // InternalAlloyLanguage.g:7169:1: ( ( '-' ) )
20462 // InternalAlloyLanguage.g:7170:1: ( '-' )
20463 {
20464 if ( state.backtracking==0 ) {
20465 before(grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1());
20466 }
20467 // InternalAlloyLanguage.g:7171:1: ( '-' )
20468 // InternalAlloyLanguage.g:7172:2: '-'
20469 {
20470 match(input,57,FOLLOW_2); if (state.failed) return ;
20471
20472 }
20473
20474 if ( state.backtracking==0 ) {
20475 after(grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1());
20476 }
20477
20478 }
20479
20480
20481 }
20482
20483 }
20484 catch (RecognitionException re) {
20485 reportError(re);
20486 recover(input,re);
20487 }
20488 finally {
20489
20490 restoreStackSize(stackSize);
20491
20492 }
20493 return ;
20494 }
20495 // $ANTLR end "rule__ALSPreficed__Group_5__1__Impl"
20496
20497
20498 // $ANTLR start "rule__ALSPreficed__Group_5__2"
20499 // InternalAlloyLanguage.g:7183:1: rule__ALSPreficed__Group_5__2 : rule__ALSPreficed__Group_5__2__Impl ;
20500 public final void rule__ALSPreficed__Group_5__2() throws RecognitionException {
20501
20502 int stackSize = keepStackSize();
20503
20504 try {
20505 // InternalAlloyLanguage.g:7187:1: ( rule__ALSPreficed__Group_5__2__Impl )
20506 // InternalAlloyLanguage.g:7188:2: rule__ALSPreficed__Group_5__2__Impl
20507 {
20508 pushFollow(FOLLOW_2);
20509 rule__ALSPreficed__Group_5__2__Impl();
20510
20511 state._fsp--;
20512 if (state.failed) return ;
20513
20514 }
20515
20516 }
20517 catch (RecognitionException re) {
20518 reportError(re);
20519 recover(input,re);
20520 }
20521 finally {
20522
20523 restoreStackSize(stackSize);
20524
20525 }
20526 return ;
20527 }
20528 // $ANTLR end "rule__ALSPreficed__Group_5__2"
20529
20530
20531 // $ANTLR start "rule__ALSPreficed__Group_5__2__Impl"
20532 // InternalAlloyLanguage.g:7194:1: rule__ALSPreficed__Group_5__2__Impl : ( ( rule__ALSPreficed__OperandAssignment_5_2 ) ) ;
20533 public final void rule__ALSPreficed__Group_5__2__Impl() throws RecognitionException {
20534
20535 int stackSize = keepStackSize();
20536
20537 try {
20538 // InternalAlloyLanguage.g:7198:1: ( ( ( rule__ALSPreficed__OperandAssignment_5_2 ) ) )
20539 // InternalAlloyLanguage.g:7199:1: ( ( rule__ALSPreficed__OperandAssignment_5_2 ) )
20540 {
20541 // InternalAlloyLanguage.g:7199:1: ( ( rule__ALSPreficed__OperandAssignment_5_2 ) )
20542 // InternalAlloyLanguage.g:7200:1: ( rule__ALSPreficed__OperandAssignment_5_2 )
20543 {
20544 if ( state.backtracking==0 ) {
20545 before(grammarAccess.getALSPreficedAccess().getOperandAssignment_5_2());
20546 }
20547 // InternalAlloyLanguage.g:7201:1: ( rule__ALSPreficed__OperandAssignment_5_2 )
20548 // InternalAlloyLanguage.g:7201:2: rule__ALSPreficed__OperandAssignment_5_2
20549 {
20550 pushFollow(FOLLOW_2);
20551 rule__ALSPreficed__OperandAssignment_5_2();
20552
20553 state._fsp--;
20554 if (state.failed) return ;
20555
20556 }
20557
20558 if ( state.backtracking==0 ) {
20559 after(grammarAccess.getALSPreficedAccess().getOperandAssignment_5_2());
20560 }
20561
20562 }
20563
20564
20565 }
20566
20567 }
20568 catch (RecognitionException re) {
20569 reportError(re);
20570 recover(input,re);
20571 }
20572 finally {
20573
20574 restoreStackSize(stackSize);
20575
20576 }
20577 return ;
20578 }
20579 // $ANTLR end "rule__ALSPreficed__Group_5__2__Impl"
20580
20581
20582 // $ANTLR start "rule__ALSPreficed__Group_6__0"
20583 // InternalAlloyLanguage.g:7217:1: rule__ALSPreficed__Group_6__0 : rule__ALSPreficed__Group_6__0__Impl rule__ALSPreficed__Group_6__1 ;
20584 public final void rule__ALSPreficed__Group_6__0() throws RecognitionException {
20585
20586 int stackSize = keepStackSize();
20587
20588 try {
20589 // InternalAlloyLanguage.g:7221:1: ( rule__ALSPreficed__Group_6__0__Impl rule__ALSPreficed__Group_6__1 )
20590 // InternalAlloyLanguage.g:7222:2: rule__ALSPreficed__Group_6__0__Impl rule__ALSPreficed__Group_6__1
20591 {
20592 pushFollow(FOLLOW_52);
20593 rule__ALSPreficed__Group_6__0__Impl();
20594
20595 state._fsp--;
20596 if (state.failed) return ;
20597 pushFollow(FOLLOW_2);
20598 rule__ALSPreficed__Group_6__1();
20599
20600 state._fsp--;
20601 if (state.failed) return ;
20602
20603 }
20604
20605 }
20606 catch (RecognitionException re) {
20607 reportError(re);
20608 recover(input,re);
20609 }
20610 finally {
20611
20612 restoreStackSize(stackSize);
20613
20614 }
20615 return ;
20616 }
20617 // $ANTLR end "rule__ALSPreficed__Group_6__0"
20618
20619
20620 // $ANTLR start "rule__ALSPreficed__Group_6__0__Impl"
20621 // InternalAlloyLanguage.g:7229:1: rule__ALSPreficed__Group_6__0__Impl : ( () ) ;
20622 public final void rule__ALSPreficed__Group_6__0__Impl() throws RecognitionException {
20623
20624 int stackSize = keepStackSize();
20625
20626 try {
20627 // InternalAlloyLanguage.g:7233:1: ( ( () ) )
20628 // InternalAlloyLanguage.g:7234:1: ( () )
20629 {
20630 // InternalAlloyLanguage.g:7234:1: ( () )
20631 // InternalAlloyLanguage.g:7235:1: ()
20632 {
20633 if ( state.backtracking==0 ) {
20634 before(grammarAccess.getALSPreficedAccess().getALSSumAction_6_0());
20635 }
20636 // InternalAlloyLanguage.g:7236:1: ()
20637 // InternalAlloyLanguage.g:7238:1:
20638 {
20639 }
20640
20641 if ( state.backtracking==0 ) {
20642 after(grammarAccess.getALSPreficedAccess().getALSSumAction_6_0());
20643 }
20644
20645 }
20646
20647
20648 }
20649
20650 }
20651 finally {
20652
20653 restoreStackSize(stackSize);
20654
20655 }
20656 return ;
20657 }
20658 // $ANTLR end "rule__ALSPreficed__Group_6__0__Impl"
20659
20660
20661 // $ANTLR start "rule__ALSPreficed__Group_6__1"
20662 // InternalAlloyLanguage.g:7248:1: rule__ALSPreficed__Group_6__1 : rule__ALSPreficed__Group_6__1__Impl rule__ALSPreficed__Group_6__2 ;
20663 public final void rule__ALSPreficed__Group_6__1() throws RecognitionException {
20664
20665 int stackSize = keepStackSize();
20666
20667 try {
20668 // InternalAlloyLanguage.g:7252:1: ( rule__ALSPreficed__Group_6__1__Impl rule__ALSPreficed__Group_6__2 )
20669 // InternalAlloyLanguage.g:7253:2: rule__ALSPreficed__Group_6__1__Impl rule__ALSPreficed__Group_6__2
20670 {
20671 pushFollow(FOLLOW_5);
20672 rule__ALSPreficed__Group_6__1__Impl();
20673
20674 state._fsp--;
20675 if (state.failed) return ;
20676 pushFollow(FOLLOW_2);
20677 rule__ALSPreficed__Group_6__2();
20678
20679 state._fsp--;
20680 if (state.failed) return ;
20681
20682 }
20683
20684 }
20685 catch (RecognitionException re) {
20686 reportError(re);
20687 recover(input,re);
20688 }
20689 finally {
20690
20691 restoreStackSize(stackSize);
20692
20693 }
20694 return ;
20695 }
20696 // $ANTLR end "rule__ALSPreficed__Group_6__1"
20697
20698
20699 // $ANTLR start "rule__ALSPreficed__Group_6__1__Impl"
20700 // InternalAlloyLanguage.g:7260:1: rule__ALSPreficed__Group_6__1__Impl : ( 'sum' ) ;
20701 public final void rule__ALSPreficed__Group_6__1__Impl() throws RecognitionException {
20702
20703 int stackSize = keepStackSize();
20704
20705 try {
20706 // InternalAlloyLanguage.g:7264:1: ( ( 'sum' ) )
20707 // InternalAlloyLanguage.g:7265:1: ( 'sum' )
20708 {
20709 // InternalAlloyLanguage.g:7265:1: ( 'sum' )
20710 // InternalAlloyLanguage.g:7266:1: 'sum'
20711 {
20712 if ( state.backtracking==0 ) {
20713 before(grammarAccess.getALSPreficedAccess().getSumKeyword_6_1());
20714 }
20715 match(input,64,FOLLOW_2); if (state.failed) return ;
20716 if ( state.backtracking==0 ) {
20717 after(grammarAccess.getALSPreficedAccess().getSumKeyword_6_1());
20718 }
20719
20720 }
20721
20722
20723 }
20724
20725 }
20726 catch (RecognitionException re) {
20727 reportError(re);
20728 recover(input,re);
20729 }
20730 finally {
20731
20732 restoreStackSize(stackSize);
20733
20734 }
20735 return ;
20736 }
20737 // $ANTLR end "rule__ALSPreficed__Group_6__1__Impl"
20738
20739
20740 // $ANTLR start "rule__ALSPreficed__Group_6__2"
20741 // InternalAlloyLanguage.g:7279:1: rule__ALSPreficed__Group_6__2 : rule__ALSPreficed__Group_6__2__Impl rule__ALSPreficed__Group_6__3 ;
20742 public final void rule__ALSPreficed__Group_6__2() throws RecognitionException {
20743
20744 int stackSize = keepStackSize();
20745
20746 try {
20747 // InternalAlloyLanguage.g:7283:1: ( rule__ALSPreficed__Group_6__2__Impl rule__ALSPreficed__Group_6__3 )
20748 // InternalAlloyLanguage.g:7284:2: rule__ALSPreficed__Group_6__2__Impl rule__ALSPreficed__Group_6__3
20749 {
20750 pushFollow(FOLLOW_24);
20751 rule__ALSPreficed__Group_6__2__Impl();
20752
20753 state._fsp--;
20754 if (state.failed) return ;
20755 pushFollow(FOLLOW_2);
20756 rule__ALSPreficed__Group_6__3();
20757
20758 state._fsp--;
20759 if (state.failed) return ;
20760
20761 }
20762
20763 }
20764 catch (RecognitionException re) {
20765 reportError(re);
20766 recover(input,re);
20767 }
20768 finally {
20769
20770 restoreStackSize(stackSize);
20771
20772 }
20773 return ;
20774 }
20775 // $ANTLR end "rule__ALSPreficed__Group_6__2"
20776
20777
20778 // $ANTLR start "rule__ALSPreficed__Group_6__2__Impl"
20779 // InternalAlloyLanguage.g:7291:1: rule__ALSPreficed__Group_6__2__Impl : ( ( rule__ALSPreficed__VariablesAssignment_6_2 ) ) ;
20780 public final void rule__ALSPreficed__Group_6__2__Impl() throws RecognitionException {
20781
20782 int stackSize = keepStackSize();
20783
20784 try {
20785 // InternalAlloyLanguage.g:7295:1: ( ( ( rule__ALSPreficed__VariablesAssignment_6_2 ) ) )
20786 // InternalAlloyLanguage.g:7296:1: ( ( rule__ALSPreficed__VariablesAssignment_6_2 ) )
20787 {
20788 // InternalAlloyLanguage.g:7296:1: ( ( rule__ALSPreficed__VariablesAssignment_6_2 ) )
20789 // InternalAlloyLanguage.g:7297:1: ( rule__ALSPreficed__VariablesAssignment_6_2 )
20790 {
20791 if ( state.backtracking==0 ) {
20792 before(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_2());
20793 }
20794 // InternalAlloyLanguage.g:7298:1: ( rule__ALSPreficed__VariablesAssignment_6_2 )
20795 // InternalAlloyLanguage.g:7298:2: rule__ALSPreficed__VariablesAssignment_6_2
20796 {
20797 pushFollow(FOLLOW_2);
20798 rule__ALSPreficed__VariablesAssignment_6_2();
20799
20800 state._fsp--;
20801 if (state.failed) return ;
20802
20803 }
20804
20805 if ( state.backtracking==0 ) {
20806 after(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_2());
20807 }
20808
20809 }
20810
20811
20812 }
20813
20814 }
20815 catch (RecognitionException re) {
20816 reportError(re);
20817 recover(input,re);
20818 }
20819 finally {
20820
20821 restoreStackSize(stackSize);
20822
20823 }
20824 return ;
20825 }
20826 // $ANTLR end "rule__ALSPreficed__Group_6__2__Impl"
20827
20828
20829 // $ANTLR start "rule__ALSPreficed__Group_6__3"
20830 // InternalAlloyLanguage.g:7308:1: rule__ALSPreficed__Group_6__3 : rule__ALSPreficed__Group_6__3__Impl rule__ALSPreficed__Group_6__4 ;
20831 public final void rule__ALSPreficed__Group_6__3() throws RecognitionException {
20832
20833 int stackSize = keepStackSize();
20834
20835 try {
20836 // InternalAlloyLanguage.g:7312:1: ( rule__ALSPreficed__Group_6__3__Impl rule__ALSPreficed__Group_6__4 )
20837 // InternalAlloyLanguage.g:7313:2: rule__ALSPreficed__Group_6__3__Impl rule__ALSPreficed__Group_6__4
20838 {
20839 pushFollow(FOLLOW_24);
20840 rule__ALSPreficed__Group_6__3__Impl();
20841
20842 state._fsp--;
20843 if (state.failed) return ;
20844 pushFollow(FOLLOW_2);
20845 rule__ALSPreficed__Group_6__4();
20846
20847 state._fsp--;
20848 if (state.failed) return ;
20849
20850 }
20851
20852 }
20853 catch (RecognitionException re) {
20854 reportError(re);
20855 recover(input,re);
20856 }
20857 finally {
20858
20859 restoreStackSize(stackSize);
20860
20861 }
20862 return ;
20863 }
20864 // $ANTLR end "rule__ALSPreficed__Group_6__3"
20865
20866
20867 // $ANTLR start "rule__ALSPreficed__Group_6__3__Impl"
20868 // InternalAlloyLanguage.g:7320:1: rule__ALSPreficed__Group_6__3__Impl : ( ( rule__ALSPreficed__Group_6_3__0 )* ) ;
20869 public final void rule__ALSPreficed__Group_6__3__Impl() throws RecognitionException {
20870
20871 int stackSize = keepStackSize();
20872
20873 try {
20874 // InternalAlloyLanguage.g:7324:1: ( ( ( rule__ALSPreficed__Group_6_3__0 )* ) )
20875 // InternalAlloyLanguage.g:7325:1: ( ( rule__ALSPreficed__Group_6_3__0 )* )
20876 {
20877 // InternalAlloyLanguage.g:7325:1: ( ( rule__ALSPreficed__Group_6_3__0 )* )
20878 // InternalAlloyLanguage.g:7326:1: ( rule__ALSPreficed__Group_6_3__0 )*
20879 {
20880 if ( state.backtracking==0 ) {
20881 before(grammarAccess.getALSPreficedAccess().getGroup_6_3());
20882 }
20883 // InternalAlloyLanguage.g:7327:1: ( rule__ALSPreficed__Group_6_3__0 )*
20884 loop46:
20885 do {
20886 int alt46=2;
20887 int LA46_0 = input.LA(1);
20888
20889 if ( (LA46_0==35) ) {
20890 alt46=1;
20891 }
20892
20893
20894 switch (alt46) {
20895 case 1 :
20896 // InternalAlloyLanguage.g:7327:2: rule__ALSPreficed__Group_6_3__0
20897 {
20898 pushFollow(FOLLOW_8);
20899 rule__ALSPreficed__Group_6_3__0();
20900
20901 state._fsp--;
20902 if (state.failed) return ;
20903
20904 }
20905 break;
20906
20907 default :
20908 break loop46;
20909 }
20910 } while (true);
20911
20912 if ( state.backtracking==0 ) {
20913 after(grammarAccess.getALSPreficedAccess().getGroup_6_3());
20914 }
20915
20916 }
20917
20918
20919 }
20920
20921 }
20922 catch (RecognitionException re) {
20923 reportError(re);
20924 recover(input,re);
20925 }
20926 finally {
20927
20928 restoreStackSize(stackSize);
20929
20930 }
20931 return ;
20932 }
20933 // $ANTLR end "rule__ALSPreficed__Group_6__3__Impl"
20934
20935
20936 // $ANTLR start "rule__ALSPreficed__Group_6__4"
20937 // InternalAlloyLanguage.g:7337:1: rule__ALSPreficed__Group_6__4 : rule__ALSPreficed__Group_6__4__Impl rule__ALSPreficed__Group_6__5 ;
20938 public final void rule__ALSPreficed__Group_6__4() throws RecognitionException {
20939
20940 int stackSize = keepStackSize();
20941
20942 try {
20943 // InternalAlloyLanguage.g:7341:1: ( rule__ALSPreficed__Group_6__4__Impl rule__ALSPreficed__Group_6__5 )
20944 // InternalAlloyLanguage.g:7342:2: rule__ALSPreficed__Group_6__4__Impl rule__ALSPreficed__Group_6__5
20945 {
20946 pushFollow(FOLLOW_16);
20947 rule__ALSPreficed__Group_6__4__Impl();
20948
20949 state._fsp--;
20950 if (state.failed) return ;
20951 pushFollow(FOLLOW_2);
20952 rule__ALSPreficed__Group_6__5();
20953
20954 state._fsp--;
20955 if (state.failed) return ;
20956
20957 }
20958
20959 }
20960 catch (RecognitionException re) {
20961 reportError(re);
20962 recover(input,re);
20963 }
20964 finally {
20965
20966 restoreStackSize(stackSize);
20967
20968 }
20969 return ;
20970 }
20971 // $ANTLR end "rule__ALSPreficed__Group_6__4"
20972
20973
20974 // $ANTLR start "rule__ALSPreficed__Group_6__4__Impl"
20975 // InternalAlloyLanguage.g:7349:1: rule__ALSPreficed__Group_6__4__Impl : ( '{' ) ;
20976 public final void rule__ALSPreficed__Group_6__4__Impl() throws RecognitionException {
20977
20978 int stackSize = keepStackSize();
20979
20980 try {
20981 // InternalAlloyLanguage.g:7353:1: ( ( '{' ) )
20982 // InternalAlloyLanguage.g:7354:1: ( '{' )
20983 {
20984 // InternalAlloyLanguage.g:7354:1: ( '{' )
20985 // InternalAlloyLanguage.g:7355:1: '{'
20986 {
20987 if ( state.backtracking==0 ) {
20988 before(grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4());
20989 }
20990 match(input,33,FOLLOW_2); if (state.failed) return ;
20991 if ( state.backtracking==0 ) {
20992 after(grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4());
20993 }
20994
20995 }
20996
20997
20998 }
20999
21000 }
21001 catch (RecognitionException re) {
21002 reportError(re);
21003 recover(input,re);
21004 }
21005 finally {
21006
21007 restoreStackSize(stackSize);
21008
21009 }
21010 return ;
21011 }
21012 // $ANTLR end "rule__ALSPreficed__Group_6__4__Impl"
21013
21014
21015 // $ANTLR start "rule__ALSPreficed__Group_6__5"
21016 // InternalAlloyLanguage.g:7368:1: rule__ALSPreficed__Group_6__5 : rule__ALSPreficed__Group_6__5__Impl rule__ALSPreficed__Group_6__6 ;
21017 public final void rule__ALSPreficed__Group_6__5() throws RecognitionException {
21018
21019 int stackSize = keepStackSize();
21020
21021 try {
21022 // InternalAlloyLanguage.g:7372:1: ( rule__ALSPreficed__Group_6__5__Impl rule__ALSPreficed__Group_6__6 )
21023 // InternalAlloyLanguage.g:7373:2: rule__ALSPreficed__Group_6__5__Impl rule__ALSPreficed__Group_6__6
21024 {
21025 pushFollow(FOLLOW_19);
21026 rule__ALSPreficed__Group_6__5__Impl();
21027
21028 state._fsp--;
21029 if (state.failed) return ;
21030 pushFollow(FOLLOW_2);
21031 rule__ALSPreficed__Group_6__6();
21032
21033 state._fsp--;
21034 if (state.failed) return ;
21035
21036 }
21037
21038 }
21039 catch (RecognitionException re) {
21040 reportError(re);
21041 recover(input,re);
21042 }
21043 finally {
21044
21045 restoreStackSize(stackSize);
21046
21047 }
21048 return ;
21049 }
21050 // $ANTLR end "rule__ALSPreficed__Group_6__5"
21051
21052
21053 // $ANTLR start "rule__ALSPreficed__Group_6__5__Impl"
21054 // InternalAlloyLanguage.g:7380:1: rule__ALSPreficed__Group_6__5__Impl : ( ( rule__ALSPreficed__ExpressionAssignment_6_5 ) ) ;
21055 public final void rule__ALSPreficed__Group_6__5__Impl() throws RecognitionException {
21056
21057 int stackSize = keepStackSize();
21058
21059 try {
21060 // InternalAlloyLanguage.g:7384:1: ( ( ( rule__ALSPreficed__ExpressionAssignment_6_5 ) ) )
21061 // InternalAlloyLanguage.g:7385:1: ( ( rule__ALSPreficed__ExpressionAssignment_6_5 ) )
21062 {
21063 // InternalAlloyLanguage.g:7385:1: ( ( rule__ALSPreficed__ExpressionAssignment_6_5 ) )
21064 // InternalAlloyLanguage.g:7386:1: ( rule__ALSPreficed__ExpressionAssignment_6_5 )
21065 {
21066 if ( state.backtracking==0 ) {
21067 before(grammarAccess.getALSPreficedAccess().getExpressionAssignment_6_5());
21068 }
21069 // InternalAlloyLanguage.g:7387:1: ( rule__ALSPreficed__ExpressionAssignment_6_5 )
21070 // InternalAlloyLanguage.g:7387:2: rule__ALSPreficed__ExpressionAssignment_6_5
21071 {
21072 pushFollow(FOLLOW_2);
21073 rule__ALSPreficed__ExpressionAssignment_6_5();
21074
21075 state._fsp--;
21076 if (state.failed) return ;
21077
21078 }
21079
21080 if ( state.backtracking==0 ) {
21081 after(grammarAccess.getALSPreficedAccess().getExpressionAssignment_6_5());
21082 }
21083
21084 }
21085
21086
21087 }
21088
21089 }
21090 catch (RecognitionException re) {
21091 reportError(re);
21092 recover(input,re);
21093 }
21094 finally {
21095
21096 restoreStackSize(stackSize);
21097
21098 }
21099 return ;
21100 }
21101 // $ANTLR end "rule__ALSPreficed__Group_6__5__Impl"
21102
21103
21104 // $ANTLR start "rule__ALSPreficed__Group_6__6"
21105 // InternalAlloyLanguage.g:7397:1: rule__ALSPreficed__Group_6__6 : rule__ALSPreficed__Group_6__6__Impl ;
21106 public final void rule__ALSPreficed__Group_6__6() throws RecognitionException {
21107
21108 int stackSize = keepStackSize();
21109
21110 try {
21111 // InternalAlloyLanguage.g:7401:1: ( rule__ALSPreficed__Group_6__6__Impl )
21112 // InternalAlloyLanguage.g:7402:2: rule__ALSPreficed__Group_6__6__Impl
21113 {
21114 pushFollow(FOLLOW_2);
21115 rule__ALSPreficed__Group_6__6__Impl();
21116
21117 state._fsp--;
21118 if (state.failed) return ;
21119
21120 }
21121
21122 }
21123 catch (RecognitionException re) {
21124 reportError(re);
21125 recover(input,re);
21126 }
21127 finally {
21128
21129 restoreStackSize(stackSize);
21130
21131 }
21132 return ;
21133 }
21134 // $ANTLR end "rule__ALSPreficed__Group_6__6"
21135
21136
21137 // $ANTLR start "rule__ALSPreficed__Group_6__6__Impl"
21138 // InternalAlloyLanguage.g:7408:1: rule__ALSPreficed__Group_6__6__Impl : ( '}' ) ;
21139 public final void rule__ALSPreficed__Group_6__6__Impl() throws RecognitionException {
21140
21141 int stackSize = keepStackSize();
21142
21143 try {
21144 // InternalAlloyLanguage.g:7412:1: ( ( '}' ) )
21145 // InternalAlloyLanguage.g:7413:1: ( '}' )
21146 {
21147 // InternalAlloyLanguage.g:7413:1: ( '}' )
21148 // InternalAlloyLanguage.g:7414:1: '}'
21149 {
21150 if ( state.backtracking==0 ) {
21151 before(grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6());
21152 }
21153 match(input,34,FOLLOW_2); if (state.failed) return ;
21154 if ( state.backtracking==0 ) {
21155 after(grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6());
21156 }
21157
21158 }
21159
21160
21161 }
21162
21163 }
21164 catch (RecognitionException re) {
21165 reportError(re);
21166 recover(input,re);
21167 }
21168 finally {
21169
21170 restoreStackSize(stackSize);
21171
21172 }
21173 return ;
21174 }
21175 // $ANTLR end "rule__ALSPreficed__Group_6__6__Impl"
21176
21177
21178 // $ANTLR start "rule__ALSPreficed__Group_6_3__0"
21179 // InternalAlloyLanguage.g:7441:1: rule__ALSPreficed__Group_6_3__0 : rule__ALSPreficed__Group_6_3__0__Impl rule__ALSPreficed__Group_6_3__1 ;
21180 public final void rule__ALSPreficed__Group_6_3__0() throws RecognitionException {
21181
21182 int stackSize = keepStackSize();
21183
21184 try {
21185 // InternalAlloyLanguage.g:7445:1: ( rule__ALSPreficed__Group_6_3__0__Impl rule__ALSPreficed__Group_6_3__1 )
21186 // InternalAlloyLanguage.g:7446:2: rule__ALSPreficed__Group_6_3__0__Impl rule__ALSPreficed__Group_6_3__1
21187 {
21188 pushFollow(FOLLOW_5);
21189 rule__ALSPreficed__Group_6_3__0__Impl();
21190
21191 state._fsp--;
21192 if (state.failed) return ;
21193 pushFollow(FOLLOW_2);
21194 rule__ALSPreficed__Group_6_3__1();
21195
21196 state._fsp--;
21197 if (state.failed) return ;
21198
21199 }
21200
21201 }
21202 catch (RecognitionException re) {
21203 reportError(re);
21204 recover(input,re);
21205 }
21206 finally {
21207
21208 restoreStackSize(stackSize);
21209
21210 }
21211 return ;
21212 }
21213 // $ANTLR end "rule__ALSPreficed__Group_6_3__0"
21214
21215
21216 // $ANTLR start "rule__ALSPreficed__Group_6_3__0__Impl"
21217 // InternalAlloyLanguage.g:7453:1: rule__ALSPreficed__Group_6_3__0__Impl : ( ',' ) ;
21218 public final void rule__ALSPreficed__Group_6_3__0__Impl() throws RecognitionException {
21219
21220 int stackSize = keepStackSize();
21221
21222 try {
21223 // InternalAlloyLanguage.g:7457:1: ( ( ',' ) )
21224 // InternalAlloyLanguage.g:7458:1: ( ',' )
21225 {
21226 // InternalAlloyLanguage.g:7458:1: ( ',' )
21227 // InternalAlloyLanguage.g:7459:1: ','
21228 {
21229 if ( state.backtracking==0 ) {
21230 before(grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0());
21231 }
21232 match(input,35,FOLLOW_2); if (state.failed) return ;
21233 if ( state.backtracking==0 ) {
21234 after(grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0());
21235 }
21236
21237 }
21238
21239
21240 }
21241
21242 }
21243 catch (RecognitionException re) {
21244 reportError(re);
21245 recover(input,re);
21246 }
21247 finally {
21248
21249 restoreStackSize(stackSize);
21250
21251 }
21252 return ;
21253 }
21254 // $ANTLR end "rule__ALSPreficed__Group_6_3__0__Impl"
21255
21256
21257 // $ANTLR start "rule__ALSPreficed__Group_6_3__1"
21258 // InternalAlloyLanguage.g:7472:1: rule__ALSPreficed__Group_6_3__1 : rule__ALSPreficed__Group_6_3__1__Impl ;
21259 public final void rule__ALSPreficed__Group_6_3__1() throws RecognitionException {
21260
21261 int stackSize = keepStackSize();
21262
21263 try {
21264 // InternalAlloyLanguage.g:7476:1: ( rule__ALSPreficed__Group_6_3__1__Impl )
21265 // InternalAlloyLanguage.g:7477:2: rule__ALSPreficed__Group_6_3__1__Impl
21266 {
21267 pushFollow(FOLLOW_2);
21268 rule__ALSPreficed__Group_6_3__1__Impl();
21269
21270 state._fsp--;
21271 if (state.failed) return ;
21272
21273 }
21274
21275 }
21276 catch (RecognitionException re) {
21277 reportError(re);
21278 recover(input,re);
21279 }
21280 finally {
21281
21282 restoreStackSize(stackSize);
21283
21284 }
21285 return ;
21286 }
21287 // $ANTLR end "rule__ALSPreficed__Group_6_3__1"
21288
21289
21290 // $ANTLR start "rule__ALSPreficed__Group_6_3__1__Impl"
21291 // InternalAlloyLanguage.g:7483:1: rule__ALSPreficed__Group_6_3__1__Impl : ( ( rule__ALSPreficed__VariablesAssignment_6_3_1 ) ) ;
21292 public final void rule__ALSPreficed__Group_6_3__1__Impl() throws RecognitionException {
21293
21294 int stackSize = keepStackSize();
21295
21296 try {
21297 // InternalAlloyLanguage.g:7487:1: ( ( ( rule__ALSPreficed__VariablesAssignment_6_3_1 ) ) )
21298 // InternalAlloyLanguage.g:7488:1: ( ( rule__ALSPreficed__VariablesAssignment_6_3_1 ) )
21299 {
21300 // InternalAlloyLanguage.g:7488:1: ( ( rule__ALSPreficed__VariablesAssignment_6_3_1 ) )
21301 // InternalAlloyLanguage.g:7489:1: ( rule__ALSPreficed__VariablesAssignment_6_3_1 )
21302 {
21303 if ( state.backtracking==0 ) {
21304 before(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_3_1());
21305 }
21306 // InternalAlloyLanguage.g:7490:1: ( rule__ALSPreficed__VariablesAssignment_6_3_1 )
21307 // InternalAlloyLanguage.g:7490:2: rule__ALSPreficed__VariablesAssignment_6_3_1
21308 {
21309 pushFollow(FOLLOW_2);
21310 rule__ALSPreficed__VariablesAssignment_6_3_1();
21311
21312 state._fsp--;
21313 if (state.failed) return ;
21314
21315 }
21316
21317 if ( state.backtracking==0 ) {
21318 after(grammarAccess.getALSPreficedAccess().getVariablesAssignment_6_3_1());
21319 }
21320
21321 }
21322
21323
21324 }
21325
21326 }
21327 catch (RecognitionException re) {
21328 reportError(re);
21329 recover(input,re);
21330 }
21331 finally {
21332
21333 restoreStackSize(stackSize);
21334
21335 }
21336 return ;
21337 }
21338 // $ANTLR end "rule__ALSPreficed__Group_6_3__1__Impl"
21339
21340
21341 // $ANTLR start "rule__ALSPreficed__Group_7__0"
21342 // InternalAlloyLanguage.g:7504:1: rule__ALSPreficed__Group_7__0 : rule__ALSPreficed__Group_7__0__Impl rule__ALSPreficed__Group_7__1 ;
21343 public final void rule__ALSPreficed__Group_7__0() throws RecognitionException {
21344
21345 int stackSize = keepStackSize();
21346
21347 try {
21348 // InternalAlloyLanguage.g:7508:1: ( rule__ALSPreficed__Group_7__0__Impl rule__ALSPreficed__Group_7__1 )
21349 // InternalAlloyLanguage.g:7509:2: rule__ALSPreficed__Group_7__0__Impl rule__ALSPreficed__Group_7__1
21350 {
21351 pushFollow(FOLLOW_53);
21352 rule__ALSPreficed__Group_7__0__Impl();
21353
21354 state._fsp--;
21355 if (state.failed) return ;
21356 pushFollow(FOLLOW_2);
21357 rule__ALSPreficed__Group_7__1();
21358
21359 state._fsp--;
21360 if (state.failed) return ;
21361
21362 }
21363
21364 }
21365 catch (RecognitionException re) {
21366 reportError(re);
21367 recover(input,re);
21368 }
21369 finally {
21370
21371 restoreStackSize(stackSize);
21372
21373 }
21374 return ;
21375 }
21376 // $ANTLR end "rule__ALSPreficed__Group_7__0"
21377
21378
21379 // $ANTLR start "rule__ALSPreficed__Group_7__0__Impl"
21380 // InternalAlloyLanguage.g:7516:1: rule__ALSPreficed__Group_7__0__Impl : ( () ) ;
21381 public final void rule__ALSPreficed__Group_7__0__Impl() throws RecognitionException {
21382
21383 int stackSize = keepStackSize();
21384
21385 try {
21386 // InternalAlloyLanguage.g:7520:1: ( ( () ) )
21387 // InternalAlloyLanguage.g:7521:1: ( () )
21388 {
21389 // InternalAlloyLanguage.g:7521:1: ( () )
21390 // InternalAlloyLanguage.g:7522:1: ()
21391 {
21392 if ( state.backtracking==0 ) {
21393 before(grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0());
21394 }
21395 // InternalAlloyLanguage.g:7523:1: ()
21396 // InternalAlloyLanguage.g:7525:1:
21397 {
21398 }
21399
21400 if ( state.backtracking==0 ) {
21401 after(grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0());
21402 }
21403
21404 }
21405
21406
21407 }
21408
21409 }
21410 finally {
21411
21412 restoreStackSize(stackSize);
21413
21414 }
21415 return ;
21416 }
21417 // $ANTLR end "rule__ALSPreficed__Group_7__0__Impl"
21418
21419
21420 // $ANTLR start "rule__ALSPreficed__Group_7__1"
21421 // InternalAlloyLanguage.g:7535:1: rule__ALSPreficed__Group_7__1 : rule__ALSPreficed__Group_7__1__Impl rule__ALSPreficed__Group_7__2 ;
21422 public final void rule__ALSPreficed__Group_7__1() throws RecognitionException {
21423
21424 int stackSize = keepStackSize();
21425
21426 try {
21427 // InternalAlloyLanguage.g:7539:1: ( rule__ALSPreficed__Group_7__1__Impl rule__ALSPreficed__Group_7__2 )
21428 // InternalAlloyLanguage.g:7540:2: rule__ALSPreficed__Group_7__1__Impl rule__ALSPreficed__Group_7__2
21429 {
21430 pushFollow(FOLLOW_17);
21431 rule__ALSPreficed__Group_7__1__Impl();
21432
21433 state._fsp--;
21434 if (state.failed) return ;
21435 pushFollow(FOLLOW_2);
21436 rule__ALSPreficed__Group_7__2();
21437
21438 state._fsp--;
21439 if (state.failed) return ;
21440
21441 }
21442
21443 }
21444 catch (RecognitionException re) {
21445 reportError(re);
21446 recover(input,re);
21447 }
21448 finally {
21449
21450 restoreStackSize(stackSize);
21451
21452 }
21453 return ;
21454 }
21455 // $ANTLR end "rule__ALSPreficed__Group_7__1"
21456
21457
21458 // $ANTLR start "rule__ALSPreficed__Group_7__1__Impl"
21459 // InternalAlloyLanguage.g:7547:1: rule__ALSPreficed__Group_7__1__Impl : ( ( rule__ALSPreficed__Alternatives_7_1 ) ) ;
21460 public final void rule__ALSPreficed__Group_7__1__Impl() throws RecognitionException {
21461
21462 int stackSize = keepStackSize();
21463
21464 try {
21465 // InternalAlloyLanguage.g:7551:1: ( ( ( rule__ALSPreficed__Alternatives_7_1 ) ) )
21466 // InternalAlloyLanguage.g:7552:1: ( ( rule__ALSPreficed__Alternatives_7_1 ) )
21467 {
21468 // InternalAlloyLanguage.g:7552:1: ( ( rule__ALSPreficed__Alternatives_7_1 ) )
21469 // InternalAlloyLanguage.g:7553:1: ( rule__ALSPreficed__Alternatives_7_1 )
21470 {
21471 if ( state.backtracking==0 ) {
21472 before(grammarAccess.getALSPreficedAccess().getAlternatives_7_1());
21473 }
21474 // InternalAlloyLanguage.g:7554:1: ( rule__ALSPreficed__Alternatives_7_1 )
21475 // InternalAlloyLanguage.g:7554:2: rule__ALSPreficed__Alternatives_7_1
21476 {
21477 pushFollow(FOLLOW_2);
21478 rule__ALSPreficed__Alternatives_7_1();
21479
21480 state._fsp--;
21481 if (state.failed) return ;
21482
21483 }
21484
21485 if ( state.backtracking==0 ) {
21486 after(grammarAccess.getALSPreficedAccess().getAlternatives_7_1());
21487 }
21488
21489 }
21490
21491
21492 }
21493
21494 }
21495 catch (RecognitionException re) {
21496 reportError(re);
21497 recover(input,re);
21498 }
21499 finally {
21500
21501 restoreStackSize(stackSize);
21502
21503 }
21504 return ;
21505 }
21506 // $ANTLR end "rule__ALSPreficed__Group_7__1__Impl"
21507
21508
21509 // $ANTLR start "rule__ALSPreficed__Group_7__2"
21510 // InternalAlloyLanguage.g:7564:1: rule__ALSPreficed__Group_7__2 : rule__ALSPreficed__Group_7__2__Impl rule__ALSPreficed__Group_7__3 ;
21511 public final void rule__ALSPreficed__Group_7__2() throws RecognitionException {
21512
21513 int stackSize = keepStackSize();
21514
21515 try {
21516 // InternalAlloyLanguage.g:7568:1: ( rule__ALSPreficed__Group_7__2__Impl rule__ALSPreficed__Group_7__3 )
21517 // InternalAlloyLanguage.g:7569:2: rule__ALSPreficed__Group_7__2__Impl rule__ALSPreficed__Group_7__3
21518 {
21519 pushFollow(FOLLOW_16);
21520 rule__ALSPreficed__Group_7__2__Impl();
21521
21522 state._fsp--;
21523 if (state.failed) return ;
21524 pushFollow(FOLLOW_2);
21525 rule__ALSPreficed__Group_7__3();
21526
21527 state._fsp--;
21528 if (state.failed) return ;
21529
21530 }
21531
21532 }
21533 catch (RecognitionException re) {
21534 reportError(re);
21535 recover(input,re);
21536 }
21537 finally {
21538
21539 restoreStackSize(stackSize);
21540
21541 }
21542 return ;
21543 }
21544 // $ANTLR end "rule__ALSPreficed__Group_7__2"
21545
21546
21547 // $ANTLR start "rule__ALSPreficed__Group_7__2__Impl"
21548 // InternalAlloyLanguage.g:7576:1: rule__ALSPreficed__Group_7__2__Impl : ( '[' ) ;
21549 public final void rule__ALSPreficed__Group_7__2__Impl() throws RecognitionException {
21550
21551 int stackSize = keepStackSize();
21552
21553 try {
21554 // InternalAlloyLanguage.g:7580:1: ( ( '[' ) )
21555 // InternalAlloyLanguage.g:7581:1: ( '[' )
21556 {
21557 // InternalAlloyLanguage.g:7581:1: ( '[' )
21558 // InternalAlloyLanguage.g:7582:1: '['
21559 {
21560 if ( state.backtracking==0 ) {
21561 before(grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2());
21562 }
21563 match(input,42,FOLLOW_2); if (state.failed) return ;
21564 if ( state.backtracking==0 ) {
21565 after(grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2());
21566 }
21567
21568 }
21569
21570
21571 }
21572
21573 }
21574 catch (RecognitionException re) {
21575 reportError(re);
21576 recover(input,re);
21577 }
21578 finally {
21579
21580 restoreStackSize(stackSize);
21581
21582 }
21583 return ;
21584 }
21585 // $ANTLR end "rule__ALSPreficed__Group_7__2__Impl"
21586
21587
21588 // $ANTLR start "rule__ALSPreficed__Group_7__3"
21589 // InternalAlloyLanguage.g:7595:1: rule__ALSPreficed__Group_7__3 : rule__ALSPreficed__Group_7__3__Impl rule__ALSPreficed__Group_7__4 ;
21590 public final void rule__ALSPreficed__Group_7__3() throws RecognitionException {
21591
21592 int stackSize = keepStackSize();
21593
21594 try {
21595 // InternalAlloyLanguage.g:7599:1: ( rule__ALSPreficed__Group_7__3__Impl rule__ALSPreficed__Group_7__4 )
21596 // InternalAlloyLanguage.g:7600:2: rule__ALSPreficed__Group_7__3__Impl rule__ALSPreficed__Group_7__4
21597 {
21598 pushFollow(FOLLOW_18);
21599 rule__ALSPreficed__Group_7__3__Impl();
21600
21601 state._fsp--;
21602 if (state.failed) return ;
21603 pushFollow(FOLLOW_2);
21604 rule__ALSPreficed__Group_7__4();
21605
21606 state._fsp--;
21607 if (state.failed) return ;
21608
21609 }
21610
21611 }
21612 catch (RecognitionException re) {
21613 reportError(re);
21614 recover(input,re);
21615 }
21616 finally {
21617
21618 restoreStackSize(stackSize);
21619
21620 }
21621 return ;
21622 }
21623 // $ANTLR end "rule__ALSPreficed__Group_7__3"
21624
21625
21626 // $ANTLR start "rule__ALSPreficed__Group_7__3__Impl"
21627 // InternalAlloyLanguage.g:7607:1: rule__ALSPreficed__Group_7__3__Impl : ( ( rule__ALSPreficed__ParamsAssignment_7_3 ) ) ;
21628 public final void rule__ALSPreficed__Group_7__3__Impl() throws RecognitionException {
21629
21630 int stackSize = keepStackSize();
21631
21632 try {
21633 // InternalAlloyLanguage.g:7611:1: ( ( ( rule__ALSPreficed__ParamsAssignment_7_3 ) ) )
21634 // InternalAlloyLanguage.g:7612:1: ( ( rule__ALSPreficed__ParamsAssignment_7_3 ) )
21635 {
21636 // InternalAlloyLanguage.g:7612:1: ( ( rule__ALSPreficed__ParamsAssignment_7_3 ) )
21637 // InternalAlloyLanguage.g:7613:1: ( rule__ALSPreficed__ParamsAssignment_7_3 )
21638 {
21639 if ( state.backtracking==0 ) {
21640 before(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_3());
21641 }
21642 // InternalAlloyLanguage.g:7614:1: ( rule__ALSPreficed__ParamsAssignment_7_3 )
21643 // InternalAlloyLanguage.g:7614:2: rule__ALSPreficed__ParamsAssignment_7_3
21644 {
21645 pushFollow(FOLLOW_2);
21646 rule__ALSPreficed__ParamsAssignment_7_3();
21647
21648 state._fsp--;
21649 if (state.failed) return ;
21650
21651 }
21652
21653 if ( state.backtracking==0 ) {
21654 after(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_3());
21655 }
21656
21657 }
21658
21659
21660 }
21661
21662 }
21663 catch (RecognitionException re) {
21664 reportError(re);
21665 recover(input,re);
21666 }
21667 finally {
21668
21669 restoreStackSize(stackSize);
21670
21671 }
21672 return ;
21673 }
21674 // $ANTLR end "rule__ALSPreficed__Group_7__3__Impl"
21675
21676
21677 // $ANTLR start "rule__ALSPreficed__Group_7__4"
21678 // InternalAlloyLanguage.g:7624:1: rule__ALSPreficed__Group_7__4 : rule__ALSPreficed__Group_7__4__Impl rule__ALSPreficed__Group_7__5 ;
21679 public final void rule__ALSPreficed__Group_7__4() throws RecognitionException {
21680
21681 int stackSize = keepStackSize();
21682
21683 try {
21684 // InternalAlloyLanguage.g:7628:1: ( rule__ALSPreficed__Group_7__4__Impl rule__ALSPreficed__Group_7__5 )
21685 // InternalAlloyLanguage.g:7629:2: rule__ALSPreficed__Group_7__4__Impl rule__ALSPreficed__Group_7__5
21686 {
21687 pushFollow(FOLLOW_18);
21688 rule__ALSPreficed__Group_7__4__Impl();
21689
21690 state._fsp--;
21691 if (state.failed) return ;
21692 pushFollow(FOLLOW_2);
21693 rule__ALSPreficed__Group_7__5();
21694
21695 state._fsp--;
21696 if (state.failed) return ;
21697
21698 }
21699
21700 }
21701 catch (RecognitionException re) {
21702 reportError(re);
21703 recover(input,re);
21704 }
21705 finally {
21706
21707 restoreStackSize(stackSize);
21708
21709 }
21710 return ;
21711 }
21712 // $ANTLR end "rule__ALSPreficed__Group_7__4"
21713
21714
21715 // $ANTLR start "rule__ALSPreficed__Group_7__4__Impl"
21716 // InternalAlloyLanguage.g:7636:1: rule__ALSPreficed__Group_7__4__Impl : ( ( rule__ALSPreficed__Group_7_4__0 )* ) ;
21717 public final void rule__ALSPreficed__Group_7__4__Impl() throws RecognitionException {
21718
21719 int stackSize = keepStackSize();
21720
21721 try {
21722 // InternalAlloyLanguage.g:7640:1: ( ( ( rule__ALSPreficed__Group_7_4__0 )* ) )
21723 // InternalAlloyLanguage.g:7641:1: ( ( rule__ALSPreficed__Group_7_4__0 )* )
21724 {
21725 // InternalAlloyLanguage.g:7641:1: ( ( rule__ALSPreficed__Group_7_4__0 )* )
21726 // InternalAlloyLanguage.g:7642:1: ( rule__ALSPreficed__Group_7_4__0 )*
21727 {
21728 if ( state.backtracking==0 ) {
21729 before(grammarAccess.getALSPreficedAccess().getGroup_7_4());
21730 }
21731 // InternalAlloyLanguage.g:7643:1: ( rule__ALSPreficed__Group_7_4__0 )*
21732 loop47:
21733 do {
21734 int alt47=2;
21735 int LA47_0 = input.LA(1);
21736
21737 if ( (LA47_0==35) ) {
21738 alt47=1;
21739 }
21740
21741
21742 switch (alt47) {
21743 case 1 :
21744 // InternalAlloyLanguage.g:7643:2: rule__ALSPreficed__Group_7_4__0
21745 {
21746 pushFollow(FOLLOW_8);
21747 rule__ALSPreficed__Group_7_4__0();
21748
21749 state._fsp--;
21750 if (state.failed) return ;
21751
21752 }
21753 break;
21754
21755 default :
21756 break loop47;
21757 }
21758 } while (true);
21759
21760 if ( state.backtracking==0 ) {
21761 after(grammarAccess.getALSPreficedAccess().getGroup_7_4());
21762 }
21763
21764 }
21765
21766
21767 }
21768
21769 }
21770 catch (RecognitionException re) {
21771 reportError(re);
21772 recover(input,re);
21773 }
21774 finally {
21775
21776 restoreStackSize(stackSize);
21777
21778 }
21779 return ;
21780 }
21781 // $ANTLR end "rule__ALSPreficed__Group_7__4__Impl"
21782
21783
21784 // $ANTLR start "rule__ALSPreficed__Group_7__5"
21785 // InternalAlloyLanguage.g:7653:1: rule__ALSPreficed__Group_7__5 : rule__ALSPreficed__Group_7__5__Impl ;
21786 public final void rule__ALSPreficed__Group_7__5() throws RecognitionException {
21787
21788 int stackSize = keepStackSize();
21789
21790 try {
21791 // InternalAlloyLanguage.g:7657:1: ( rule__ALSPreficed__Group_7__5__Impl )
21792 // InternalAlloyLanguage.g:7658:2: rule__ALSPreficed__Group_7__5__Impl
21793 {
21794 pushFollow(FOLLOW_2);
21795 rule__ALSPreficed__Group_7__5__Impl();
21796
21797 state._fsp--;
21798 if (state.failed) return ;
21799
21800 }
21801
21802 }
21803 catch (RecognitionException re) {
21804 reportError(re);
21805 recover(input,re);
21806 }
21807 finally {
21808
21809 restoreStackSize(stackSize);
21810
21811 }
21812 return ;
21813 }
21814 // $ANTLR end "rule__ALSPreficed__Group_7__5"
21815
21816
21817 // $ANTLR start "rule__ALSPreficed__Group_7__5__Impl"
21818 // InternalAlloyLanguage.g:7664:1: rule__ALSPreficed__Group_7__5__Impl : ( ']' ) ;
21819 public final void rule__ALSPreficed__Group_7__5__Impl() throws RecognitionException {
21820
21821 int stackSize = keepStackSize();
21822
21823 try {
21824 // InternalAlloyLanguage.g:7668:1: ( ( ']' ) )
21825 // InternalAlloyLanguage.g:7669:1: ( ']' )
21826 {
21827 // InternalAlloyLanguage.g:7669:1: ( ']' )
21828 // InternalAlloyLanguage.g:7670:1: ']'
21829 {
21830 if ( state.backtracking==0 ) {
21831 before(grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5());
21832 }
21833 match(input,43,FOLLOW_2); if (state.failed) return ;
21834 if ( state.backtracking==0 ) {
21835 after(grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5());
21836 }
21837
21838 }
21839
21840
21841 }
21842
21843 }
21844 catch (RecognitionException re) {
21845 reportError(re);
21846 recover(input,re);
21847 }
21848 finally {
21849
21850 restoreStackSize(stackSize);
21851
21852 }
21853 return ;
21854 }
21855 // $ANTLR end "rule__ALSPreficed__Group_7__5__Impl"
21856
21857
21858 // $ANTLR start "rule__ALSPreficed__Group_7_4__0"
21859 // InternalAlloyLanguage.g:7695:1: rule__ALSPreficed__Group_7_4__0 : rule__ALSPreficed__Group_7_4__0__Impl rule__ALSPreficed__Group_7_4__1 ;
21860 public final void rule__ALSPreficed__Group_7_4__0() throws RecognitionException {
21861
21862 int stackSize = keepStackSize();
21863
21864 try {
21865 // InternalAlloyLanguage.g:7699:1: ( rule__ALSPreficed__Group_7_4__0__Impl rule__ALSPreficed__Group_7_4__1 )
21866 // InternalAlloyLanguage.g:7700:2: rule__ALSPreficed__Group_7_4__0__Impl rule__ALSPreficed__Group_7_4__1
21867 {
21868 pushFollow(FOLLOW_16);
21869 rule__ALSPreficed__Group_7_4__0__Impl();
21870
21871 state._fsp--;
21872 if (state.failed) return ;
21873 pushFollow(FOLLOW_2);
21874 rule__ALSPreficed__Group_7_4__1();
21875
21876 state._fsp--;
21877 if (state.failed) return ;
21878
21879 }
21880
21881 }
21882 catch (RecognitionException re) {
21883 reportError(re);
21884 recover(input,re);
21885 }
21886 finally {
21887
21888 restoreStackSize(stackSize);
21889
21890 }
21891 return ;
21892 }
21893 // $ANTLR end "rule__ALSPreficed__Group_7_4__0"
21894
21895
21896 // $ANTLR start "rule__ALSPreficed__Group_7_4__0__Impl"
21897 // InternalAlloyLanguage.g:7707:1: rule__ALSPreficed__Group_7_4__0__Impl : ( ',' ) ;
21898 public final void rule__ALSPreficed__Group_7_4__0__Impl() throws RecognitionException {
21899
21900 int stackSize = keepStackSize();
21901
21902 try {
21903 // InternalAlloyLanguage.g:7711:1: ( ( ',' ) )
21904 // InternalAlloyLanguage.g:7712:1: ( ',' )
21905 {
21906 // InternalAlloyLanguage.g:7712:1: ( ',' )
21907 // InternalAlloyLanguage.g:7713:1: ','
21908 {
21909 if ( state.backtracking==0 ) {
21910 before(grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0());
21911 }
21912 match(input,35,FOLLOW_2); if (state.failed) return ;
21913 if ( state.backtracking==0 ) {
21914 after(grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0());
21915 }
21916
21917 }
21918
21919
21920 }
21921
21922 }
21923 catch (RecognitionException re) {
21924 reportError(re);
21925 recover(input,re);
21926 }
21927 finally {
21928
21929 restoreStackSize(stackSize);
21930
21931 }
21932 return ;
21933 }
21934 // $ANTLR end "rule__ALSPreficed__Group_7_4__0__Impl"
21935
21936
21937 // $ANTLR start "rule__ALSPreficed__Group_7_4__1"
21938 // InternalAlloyLanguage.g:7726:1: rule__ALSPreficed__Group_7_4__1 : rule__ALSPreficed__Group_7_4__1__Impl ;
21939 public final void rule__ALSPreficed__Group_7_4__1() throws RecognitionException {
21940
21941 int stackSize = keepStackSize();
21942
21943 try {
21944 // InternalAlloyLanguage.g:7730:1: ( rule__ALSPreficed__Group_7_4__1__Impl )
21945 // InternalAlloyLanguage.g:7731:2: rule__ALSPreficed__Group_7_4__1__Impl
21946 {
21947 pushFollow(FOLLOW_2);
21948 rule__ALSPreficed__Group_7_4__1__Impl();
21949
21950 state._fsp--;
21951 if (state.failed) return ;
21952
21953 }
21954
21955 }
21956 catch (RecognitionException re) {
21957 reportError(re);
21958 recover(input,re);
21959 }
21960 finally {
21961
21962 restoreStackSize(stackSize);
21963
21964 }
21965 return ;
21966 }
21967 // $ANTLR end "rule__ALSPreficed__Group_7_4__1"
21968
21969
21970 // $ANTLR start "rule__ALSPreficed__Group_7_4__1__Impl"
21971 // InternalAlloyLanguage.g:7737:1: rule__ALSPreficed__Group_7_4__1__Impl : ( ( rule__ALSPreficed__ParamsAssignment_7_4_1 ) ) ;
21972 public final void rule__ALSPreficed__Group_7_4__1__Impl() throws RecognitionException {
21973
21974 int stackSize = keepStackSize();
21975
21976 try {
21977 // InternalAlloyLanguage.g:7741:1: ( ( ( rule__ALSPreficed__ParamsAssignment_7_4_1 ) ) )
21978 // InternalAlloyLanguage.g:7742:1: ( ( rule__ALSPreficed__ParamsAssignment_7_4_1 ) )
21979 {
21980 // InternalAlloyLanguage.g:7742:1: ( ( rule__ALSPreficed__ParamsAssignment_7_4_1 ) )
21981 // InternalAlloyLanguage.g:7743:1: ( rule__ALSPreficed__ParamsAssignment_7_4_1 )
21982 {
21983 if ( state.backtracking==0 ) {
21984 before(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_4_1());
21985 }
21986 // InternalAlloyLanguage.g:7744:1: ( rule__ALSPreficed__ParamsAssignment_7_4_1 )
21987 // InternalAlloyLanguage.g:7744:2: rule__ALSPreficed__ParamsAssignment_7_4_1
21988 {
21989 pushFollow(FOLLOW_2);
21990 rule__ALSPreficed__ParamsAssignment_7_4_1();
21991
21992 state._fsp--;
21993 if (state.failed) return ;
21994
21995 }
21996
21997 if ( state.backtracking==0 ) {
21998 after(grammarAccess.getALSPreficedAccess().getParamsAssignment_7_4_1());
21999 }
22000
22001 }
22002
22003
22004 }
22005
22006 }
22007 catch (RecognitionException re) {
22008 reportError(re);
22009 recover(input,re);
22010 }
22011 finally {
22012
22013 restoreStackSize(stackSize);
22014
22015 }
22016 return ;
22017 }
22018 // $ANTLR end "rule__ALSPreficed__Group_7_4__1__Impl"
22019
22020
22021 // $ANTLR start "rule__ALSVariableDeclaration__Group__0"
22022 // InternalAlloyLanguage.g:7758:1: rule__ALSVariableDeclaration__Group__0 : rule__ALSVariableDeclaration__Group__0__Impl rule__ALSVariableDeclaration__Group__1 ;
22023 public final void rule__ALSVariableDeclaration__Group__0() throws RecognitionException {
22024
22025 int stackSize = keepStackSize();
22026
22027 try {
22028 // InternalAlloyLanguage.g:7762:1: ( rule__ALSVariableDeclaration__Group__0__Impl rule__ALSVariableDeclaration__Group__1 )
22029 // InternalAlloyLanguage.g:7763:2: rule__ALSVariableDeclaration__Group__0__Impl rule__ALSVariableDeclaration__Group__1
22030 {
22031 pushFollow(FOLLOW_15);
22032 rule__ALSVariableDeclaration__Group__0__Impl();
22033
22034 state._fsp--;
22035 if (state.failed) return ;
22036 pushFollow(FOLLOW_2);
22037 rule__ALSVariableDeclaration__Group__1();
22038
22039 state._fsp--;
22040 if (state.failed) return ;
22041
22042 }
22043
22044 }
22045 catch (RecognitionException re) {
22046 reportError(re);
22047 recover(input,re);
22048 }
22049 finally {
22050
22051 restoreStackSize(stackSize);
22052
22053 }
22054 return ;
22055 }
22056 // $ANTLR end "rule__ALSVariableDeclaration__Group__0"
22057
22058
22059 // $ANTLR start "rule__ALSVariableDeclaration__Group__0__Impl"
22060 // InternalAlloyLanguage.g:7770:1: rule__ALSVariableDeclaration__Group__0__Impl : ( ( rule__ALSVariableDeclaration__NameAssignment_0 ) ) ;
22061 public final void rule__ALSVariableDeclaration__Group__0__Impl() throws RecognitionException {
22062
22063 int stackSize = keepStackSize();
22064
22065 try {
22066 // InternalAlloyLanguage.g:7774:1: ( ( ( rule__ALSVariableDeclaration__NameAssignment_0 ) ) )
22067 // InternalAlloyLanguage.g:7775:1: ( ( rule__ALSVariableDeclaration__NameAssignment_0 ) )
22068 {
22069 // InternalAlloyLanguage.g:7775:1: ( ( rule__ALSVariableDeclaration__NameAssignment_0 ) )
22070 // InternalAlloyLanguage.g:7776:1: ( rule__ALSVariableDeclaration__NameAssignment_0 )
22071 {
22072 if ( state.backtracking==0 ) {
22073 before(grammarAccess.getALSVariableDeclarationAccess().getNameAssignment_0());
22074 }
22075 // InternalAlloyLanguage.g:7777:1: ( rule__ALSVariableDeclaration__NameAssignment_0 )
22076 // InternalAlloyLanguage.g:7777:2: rule__ALSVariableDeclaration__NameAssignment_0
22077 {
22078 pushFollow(FOLLOW_2);
22079 rule__ALSVariableDeclaration__NameAssignment_0();
22080
22081 state._fsp--;
22082 if (state.failed) return ;
22083
22084 }
22085
22086 if ( state.backtracking==0 ) {
22087 after(grammarAccess.getALSVariableDeclarationAccess().getNameAssignment_0());
22088 }
22089
22090 }
22091
22092
22093 }
22094
22095 }
22096 catch (RecognitionException re) {
22097 reportError(re);
22098 recover(input,re);
22099 }
22100 finally {
22101
22102 restoreStackSize(stackSize);
22103
22104 }
22105 return ;
22106 }
22107 // $ANTLR end "rule__ALSVariableDeclaration__Group__0__Impl"
22108
22109
22110 // $ANTLR start "rule__ALSVariableDeclaration__Group__1"
22111 // InternalAlloyLanguage.g:7787:1: rule__ALSVariableDeclaration__Group__1 : rule__ALSVariableDeclaration__Group__1__Impl rule__ALSVariableDeclaration__Group__2 ;
22112 public final void rule__ALSVariableDeclaration__Group__1() throws RecognitionException {
22113
22114 int stackSize = keepStackSize();
22115
22116 try {
22117 // InternalAlloyLanguage.g:7791:1: ( rule__ALSVariableDeclaration__Group__1__Impl rule__ALSVariableDeclaration__Group__2 )
22118 // InternalAlloyLanguage.g:7792:2: rule__ALSVariableDeclaration__Group__1__Impl rule__ALSVariableDeclaration__Group__2
22119 {
22120 pushFollow(FOLLOW_16);
22121 rule__ALSVariableDeclaration__Group__1__Impl();
22122
22123 state._fsp--;
22124 if (state.failed) return ;
22125 pushFollow(FOLLOW_2);
22126 rule__ALSVariableDeclaration__Group__2();
22127
22128 state._fsp--;
22129 if (state.failed) return ;
22130
22131 }
22132
22133 }
22134 catch (RecognitionException re) {
22135 reportError(re);
22136 recover(input,re);
22137 }
22138 finally {
22139
22140 restoreStackSize(stackSize);
22141
22142 }
22143 return ;
22144 }
22145 // $ANTLR end "rule__ALSVariableDeclaration__Group__1"
22146
22147
22148 // $ANTLR start "rule__ALSVariableDeclaration__Group__1__Impl"
22149 // InternalAlloyLanguage.g:7799:1: rule__ALSVariableDeclaration__Group__1__Impl : ( ':' ) ;
22150 public final void rule__ALSVariableDeclaration__Group__1__Impl() throws RecognitionException {
22151
22152 int stackSize = keepStackSize();
22153
22154 try {
22155 // InternalAlloyLanguage.g:7803:1: ( ( ':' ) )
22156 // InternalAlloyLanguage.g:7804:1: ( ':' )
22157 {
22158 // InternalAlloyLanguage.g:7804:1: ( ':' )
22159 // InternalAlloyLanguage.g:7805:1: ':'
22160 {
22161 if ( state.backtracking==0 ) {
22162 before(grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1());
22163 }
22164 match(input,40,FOLLOW_2); if (state.failed) return ;
22165 if ( state.backtracking==0 ) {
22166 after(grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1());
22167 }
22168
22169 }
22170
22171
22172 }
22173
22174 }
22175 catch (RecognitionException re) {
22176 reportError(re);
22177 recover(input,re);
22178 }
22179 finally {
22180
22181 restoreStackSize(stackSize);
22182
22183 }
22184 return ;
22185 }
22186 // $ANTLR end "rule__ALSVariableDeclaration__Group__1__Impl"
22187
22188
22189 // $ANTLR start "rule__ALSVariableDeclaration__Group__2"
22190 // InternalAlloyLanguage.g:7818:1: rule__ALSVariableDeclaration__Group__2 : rule__ALSVariableDeclaration__Group__2__Impl ;
22191 public final void rule__ALSVariableDeclaration__Group__2() throws RecognitionException {
22192
22193 int stackSize = keepStackSize();
22194
22195 try {
22196 // InternalAlloyLanguage.g:7822:1: ( rule__ALSVariableDeclaration__Group__2__Impl )
22197 // InternalAlloyLanguage.g:7823:2: rule__ALSVariableDeclaration__Group__2__Impl
22198 {
22199 pushFollow(FOLLOW_2);
22200 rule__ALSVariableDeclaration__Group__2__Impl();
22201
22202 state._fsp--;
22203 if (state.failed) return ;
22204
22205 }
22206
22207 }
22208 catch (RecognitionException re) {
22209 reportError(re);
22210 recover(input,re);
22211 }
22212 finally {
22213
22214 restoreStackSize(stackSize);
22215
22216 }
22217 return ;
22218 }
22219 // $ANTLR end "rule__ALSVariableDeclaration__Group__2"
22220
22221
22222 // $ANTLR start "rule__ALSVariableDeclaration__Group__2__Impl"
22223 // InternalAlloyLanguage.g:7829:1: rule__ALSVariableDeclaration__Group__2__Impl : ( ( rule__ALSVariableDeclaration__RangeAssignment_2 ) ) ;
22224 public final void rule__ALSVariableDeclaration__Group__2__Impl() throws RecognitionException {
22225
22226 int stackSize = keepStackSize();
22227
22228 try {
22229 // InternalAlloyLanguage.g:7833:1: ( ( ( rule__ALSVariableDeclaration__RangeAssignment_2 ) ) )
22230 // InternalAlloyLanguage.g:7834:1: ( ( rule__ALSVariableDeclaration__RangeAssignment_2 ) )
22231 {
22232 // InternalAlloyLanguage.g:7834:1: ( ( rule__ALSVariableDeclaration__RangeAssignment_2 ) )
22233 // InternalAlloyLanguage.g:7835:1: ( rule__ALSVariableDeclaration__RangeAssignment_2 )
22234 {
22235 if ( state.backtracking==0 ) {
22236 before(grammarAccess.getALSVariableDeclarationAccess().getRangeAssignment_2());
22237 }
22238 // InternalAlloyLanguage.g:7836:1: ( rule__ALSVariableDeclaration__RangeAssignment_2 )
22239 // InternalAlloyLanguage.g:7836:2: rule__ALSVariableDeclaration__RangeAssignment_2
22240 {
22241 pushFollow(FOLLOW_2);
22242 rule__ALSVariableDeclaration__RangeAssignment_2();
22243
22244 state._fsp--;
22245 if (state.failed) return ;
22246
22247 }
22248
22249 if ( state.backtracking==0 ) {
22250 after(grammarAccess.getALSVariableDeclarationAccess().getRangeAssignment_2());
22251 }
22252
22253 }
22254
22255
22256 }
22257
22258 }
22259 catch (RecognitionException re) {
22260 reportError(re);
22261 recover(input,re);
22262 }
22263 finally {
22264
22265 restoreStackSize(stackSize);
22266
22267 }
22268 return ;
22269 }
22270 // $ANTLR end "rule__ALSVariableDeclaration__Group__2__Impl"
22271
22272
22273 // $ANTLR start "rule__ALSBasicRelationTerm__Group_0__0"
22274 // InternalAlloyLanguage.g:7852:1: rule__ALSBasicRelationTerm__Group_0__0 : rule__ALSBasicRelationTerm__Group_0__0__Impl rule__ALSBasicRelationTerm__Group_0__1 ;
22275 public final void rule__ALSBasicRelationTerm__Group_0__0() throws RecognitionException {
22276
22277 int stackSize = keepStackSize();
22278
22279 try {
22280 // InternalAlloyLanguage.g:7856:1: ( rule__ALSBasicRelationTerm__Group_0__0__Impl rule__ALSBasicRelationTerm__Group_0__1 )
22281 // InternalAlloyLanguage.g:7857:2: rule__ALSBasicRelationTerm__Group_0__0__Impl rule__ALSBasicRelationTerm__Group_0__1
22282 {
22283 pushFollow(FOLLOW_54);
22284 rule__ALSBasicRelationTerm__Group_0__0__Impl();
22285
22286 state._fsp--;
22287 if (state.failed) return ;
22288 pushFollow(FOLLOW_2);
22289 rule__ALSBasicRelationTerm__Group_0__1();
22290
22291 state._fsp--;
22292 if (state.failed) return ;
22293
22294 }
22295
22296 }
22297 catch (RecognitionException re) {
22298 reportError(re);
22299 recover(input,re);
22300 }
22301 finally {
22302
22303 restoreStackSize(stackSize);
22304
22305 }
22306 return ;
22307 }
22308 // $ANTLR end "rule__ALSBasicRelationTerm__Group_0__0"
22309
22310
22311 // $ANTLR start "rule__ALSBasicRelationTerm__Group_0__0__Impl"
22312 // InternalAlloyLanguage.g:7864:1: rule__ALSBasicRelationTerm__Group_0__0__Impl : ( () ) ;
22313 public final void rule__ALSBasicRelationTerm__Group_0__0__Impl() throws RecognitionException {
22314
22315 int stackSize = keepStackSize();
22316
22317 try {
22318 // InternalAlloyLanguage.g:7868:1: ( ( () ) )
22319 // InternalAlloyLanguage.g:7869:1: ( () )
22320 {
22321 // InternalAlloyLanguage.g:7869:1: ( () )
22322 // InternalAlloyLanguage.g:7870:1: ()
22323 {
22324 if ( state.backtracking==0 ) {
22325 before(grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0());
22326 }
22327 // InternalAlloyLanguage.g:7871:1: ()
22328 // InternalAlloyLanguage.g:7873:1:
22329 {
22330 }
22331
22332 if ( state.backtracking==0 ) {
22333 after(grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0());
22334 }
22335
22336 }
22337
22338
22339 }
22340
22341 }
22342 finally {
22343
22344 restoreStackSize(stackSize);
22345
22346 }
22347 return ;
22348 }
22349 // $ANTLR end "rule__ALSBasicRelationTerm__Group_0__0__Impl"
22350
22351
22352 // $ANTLR start "rule__ALSBasicRelationTerm__Group_0__1"
22353 // InternalAlloyLanguage.g:7883:1: rule__ALSBasicRelationTerm__Group_0__1 : rule__ALSBasicRelationTerm__Group_0__1__Impl ;
22354 public final void rule__ALSBasicRelationTerm__Group_0__1() throws RecognitionException {
22355
22356 int stackSize = keepStackSize();
22357
22358 try {
22359 // InternalAlloyLanguage.g:7887:1: ( rule__ALSBasicRelationTerm__Group_0__1__Impl )
22360 // InternalAlloyLanguage.g:7888:2: rule__ALSBasicRelationTerm__Group_0__1__Impl
22361 {
22362 pushFollow(FOLLOW_2);
22363 rule__ALSBasicRelationTerm__Group_0__1__Impl();
22364
22365 state._fsp--;
22366 if (state.failed) return ;
22367
22368 }
22369
22370 }
22371 catch (RecognitionException re) {
22372 reportError(re);
22373 recover(input,re);
22374 }
22375 finally {
22376
22377 restoreStackSize(stackSize);
22378
22379 }
22380 return ;
22381 }
22382 // $ANTLR end "rule__ALSBasicRelationTerm__Group_0__1"
22383
22384
22385 // $ANTLR start "rule__ALSBasicRelationTerm__Group_0__1__Impl"
22386 // InternalAlloyLanguage.g:7894:1: rule__ALSBasicRelationTerm__Group_0__1__Impl : ( 'none' ) ;
22387 public final void rule__ALSBasicRelationTerm__Group_0__1__Impl() throws RecognitionException {
22388
22389 int stackSize = keepStackSize();
22390
22391 try {
22392 // InternalAlloyLanguage.g:7898:1: ( ( 'none' ) )
22393 // InternalAlloyLanguage.g:7899:1: ( 'none' )
22394 {
22395 // InternalAlloyLanguage.g:7899:1: ( 'none' )
22396 // InternalAlloyLanguage.g:7900:1: 'none'
22397 {
22398 if ( state.backtracking==0 ) {
22399 before(grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1());
22400 }
22401 match(input,65,FOLLOW_2); if (state.failed) return ;
22402 if ( state.backtracking==0 ) {
22403 after(grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1());
22404 }
22405
22406 }
22407
22408
22409 }
22410
22411 }
22412 catch (RecognitionException re) {
22413 reportError(re);
22414 recover(input,re);
22415 }
22416 finally {
22417
22418 restoreStackSize(stackSize);
22419
22420 }
22421 return ;
22422 }
22423 // $ANTLR end "rule__ALSBasicRelationTerm__Group_0__1__Impl"
22424
22425
22426 // $ANTLR start "rule__ALSBasicRelationTerm__Group_1__0"
22427 // InternalAlloyLanguage.g:7917:1: rule__ALSBasicRelationTerm__Group_1__0 : rule__ALSBasicRelationTerm__Group_1__0__Impl rule__ALSBasicRelationTerm__Group_1__1 ;
22428 public final void rule__ALSBasicRelationTerm__Group_1__0() throws RecognitionException {
22429
22430 int stackSize = keepStackSize();
22431
22432 try {
22433 // InternalAlloyLanguage.g:7921:1: ( rule__ALSBasicRelationTerm__Group_1__0__Impl rule__ALSBasicRelationTerm__Group_1__1 )
22434 // InternalAlloyLanguage.g:7922:2: rule__ALSBasicRelationTerm__Group_1__0__Impl rule__ALSBasicRelationTerm__Group_1__1
22435 {
22436 pushFollow(FOLLOW_55);
22437 rule__ALSBasicRelationTerm__Group_1__0__Impl();
22438
22439 state._fsp--;
22440 if (state.failed) return ;
22441 pushFollow(FOLLOW_2);
22442 rule__ALSBasicRelationTerm__Group_1__1();
22443
22444 state._fsp--;
22445 if (state.failed) return ;
22446
22447 }
22448
22449 }
22450 catch (RecognitionException re) {
22451 reportError(re);
22452 recover(input,re);
22453 }
22454 finally {
22455
22456 restoreStackSize(stackSize);
22457
22458 }
22459 return ;
22460 }
22461 // $ANTLR end "rule__ALSBasicRelationTerm__Group_1__0"
22462
22463
22464 // $ANTLR start "rule__ALSBasicRelationTerm__Group_1__0__Impl"
22465 // InternalAlloyLanguage.g:7929:1: rule__ALSBasicRelationTerm__Group_1__0__Impl : ( () ) ;
22466 public final void rule__ALSBasicRelationTerm__Group_1__0__Impl() throws RecognitionException {
22467
22468 int stackSize = keepStackSize();
22469
22470 try {
22471 // InternalAlloyLanguage.g:7933:1: ( ( () ) )
22472 // InternalAlloyLanguage.g:7934:1: ( () )
22473 {
22474 // InternalAlloyLanguage.g:7934:1: ( () )
22475 // InternalAlloyLanguage.g:7935:1: ()
22476 {
22477 if ( state.backtracking==0 ) {
22478 before(grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0());
22479 }
22480 // InternalAlloyLanguage.g:7936:1: ()
22481 // InternalAlloyLanguage.g:7938:1:
22482 {
22483 }
22484
22485 if ( state.backtracking==0 ) {
22486 after(grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0());
22487 }
22488
22489 }
22490
22491
22492 }
22493
22494 }
22495 finally {
22496
22497 restoreStackSize(stackSize);
22498
22499 }
22500 return ;
22501 }
22502 // $ANTLR end "rule__ALSBasicRelationTerm__Group_1__0__Impl"
22503
22504
22505 // $ANTLR start "rule__ALSBasicRelationTerm__Group_1__1"
22506 // InternalAlloyLanguage.g:7948:1: rule__ALSBasicRelationTerm__Group_1__1 : rule__ALSBasicRelationTerm__Group_1__1__Impl ;
22507 public final void rule__ALSBasicRelationTerm__Group_1__1() throws RecognitionException {
22508
22509 int stackSize = keepStackSize();
22510
22511 try {
22512 // InternalAlloyLanguage.g:7952:1: ( rule__ALSBasicRelationTerm__Group_1__1__Impl )
22513 // InternalAlloyLanguage.g:7953:2: rule__ALSBasicRelationTerm__Group_1__1__Impl
22514 {
22515 pushFollow(FOLLOW_2);
22516 rule__ALSBasicRelationTerm__Group_1__1__Impl();
22517
22518 state._fsp--;
22519 if (state.failed) return ;
22520
22521 }
22522
22523 }
22524 catch (RecognitionException re) {
22525 reportError(re);
22526 recover(input,re);
22527 }
22528 finally {
22529
22530 restoreStackSize(stackSize);
22531
22532 }
22533 return ;
22534 }
22535 // $ANTLR end "rule__ALSBasicRelationTerm__Group_1__1"
22536
22537
22538 // $ANTLR start "rule__ALSBasicRelationTerm__Group_1__1__Impl"
22539 // InternalAlloyLanguage.g:7959:1: rule__ALSBasicRelationTerm__Group_1__1__Impl : ( 'iden' ) ;
22540 public final void rule__ALSBasicRelationTerm__Group_1__1__Impl() throws RecognitionException {
22541
22542 int stackSize = keepStackSize();
22543
22544 try {
22545 // InternalAlloyLanguage.g:7963:1: ( ( 'iden' ) )
22546 // InternalAlloyLanguage.g:7964:1: ( 'iden' )
22547 {
22548 // InternalAlloyLanguage.g:7964:1: ( 'iden' )
22549 // InternalAlloyLanguage.g:7965:1: 'iden'
22550 {
22551 if ( state.backtracking==0 ) {
22552 before(grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1());
22553 }
22554 match(input,66,FOLLOW_2); if (state.failed) return ;
22555 if ( state.backtracking==0 ) {
22556 after(grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1());
22557 }
22558
22559 }
22560
22561
22562 }
22563
22564 }
22565 catch (RecognitionException re) {
22566 reportError(re);
22567 recover(input,re);
22568 }
22569 finally {
22570
22571 restoreStackSize(stackSize);
22572
22573 }
22574 return ;
22575 }
22576 // $ANTLR end "rule__ALSBasicRelationTerm__Group_1__1__Impl"
22577
22578
22579 // $ANTLR start "rule__ALSBasicRelationTerm__Group_2__0"
22580 // InternalAlloyLanguage.g:7982:1: rule__ALSBasicRelationTerm__Group_2__0 : rule__ALSBasicRelationTerm__Group_2__0__Impl rule__ALSBasicRelationTerm__Group_2__1 ;
22581 public final void rule__ALSBasicRelationTerm__Group_2__0() throws RecognitionException {
22582
22583 int stackSize = keepStackSize();
22584
22585 try {
22586 // InternalAlloyLanguage.g:7986:1: ( rule__ALSBasicRelationTerm__Group_2__0__Impl rule__ALSBasicRelationTerm__Group_2__1 )
22587 // InternalAlloyLanguage.g:7987:2: rule__ALSBasicRelationTerm__Group_2__0__Impl rule__ALSBasicRelationTerm__Group_2__1
22588 {
22589 pushFollow(FOLLOW_56);
22590 rule__ALSBasicRelationTerm__Group_2__0__Impl();
22591
22592 state._fsp--;
22593 if (state.failed) return ;
22594 pushFollow(FOLLOW_2);
22595 rule__ALSBasicRelationTerm__Group_2__1();
22596
22597 state._fsp--;
22598 if (state.failed) return ;
22599
22600 }
22601
22602 }
22603 catch (RecognitionException re) {
22604 reportError(re);
22605 recover(input,re);
22606 }
22607 finally {
22608
22609 restoreStackSize(stackSize);
22610
22611 }
22612 return ;
22613 }
22614 // $ANTLR end "rule__ALSBasicRelationTerm__Group_2__0"
22615
22616
22617 // $ANTLR start "rule__ALSBasicRelationTerm__Group_2__0__Impl"
22618 // InternalAlloyLanguage.g:7994:1: rule__ALSBasicRelationTerm__Group_2__0__Impl : ( () ) ;
22619 public final void rule__ALSBasicRelationTerm__Group_2__0__Impl() throws RecognitionException {
22620
22621 int stackSize = keepStackSize();
22622
22623 try {
22624 // InternalAlloyLanguage.g:7998:1: ( ( () ) )
22625 // InternalAlloyLanguage.g:7999:1: ( () )
22626 {
22627 // InternalAlloyLanguage.g:7999:1: ( () )
22628 // InternalAlloyLanguage.g:8000:1: ()
22629 {
22630 if ( state.backtracking==0 ) {
22631 before(grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0());
22632 }
22633 // InternalAlloyLanguage.g:8001:1: ()
22634 // InternalAlloyLanguage.g:8003:1:
22635 {
22636 }
22637
22638 if ( state.backtracking==0 ) {
22639 after(grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0());
22640 }
22641
22642 }
22643
22644
22645 }
22646
22647 }
22648 finally {
22649
22650 restoreStackSize(stackSize);
22651
22652 }
22653 return ;
22654 }
22655 // $ANTLR end "rule__ALSBasicRelationTerm__Group_2__0__Impl"
22656
22657
22658 // $ANTLR start "rule__ALSBasicRelationTerm__Group_2__1"
22659 // InternalAlloyLanguage.g:8013:1: rule__ALSBasicRelationTerm__Group_2__1 : rule__ALSBasicRelationTerm__Group_2__1__Impl ;
22660 public final void rule__ALSBasicRelationTerm__Group_2__1() throws RecognitionException {
22661
22662 int stackSize = keepStackSize();
22663
22664 try {
22665 // InternalAlloyLanguage.g:8017:1: ( rule__ALSBasicRelationTerm__Group_2__1__Impl )
22666 // InternalAlloyLanguage.g:8018:2: rule__ALSBasicRelationTerm__Group_2__1__Impl
22667 {
22668 pushFollow(FOLLOW_2);
22669 rule__ALSBasicRelationTerm__Group_2__1__Impl();
22670
22671 state._fsp--;
22672 if (state.failed) return ;
22673
22674 }
22675
22676 }
22677 catch (RecognitionException re) {
22678 reportError(re);
22679 recover(input,re);
22680 }
22681 finally {
22682
22683 restoreStackSize(stackSize);
22684
22685 }
22686 return ;
22687 }
22688 // $ANTLR end "rule__ALSBasicRelationTerm__Group_2__1"
22689
22690
22691 // $ANTLR start "rule__ALSBasicRelationTerm__Group_2__1__Impl"
22692 // InternalAlloyLanguage.g:8024:1: rule__ALSBasicRelationTerm__Group_2__1__Impl : ( 'univ' ) ;
22693 public final void rule__ALSBasicRelationTerm__Group_2__1__Impl() throws RecognitionException {
22694
22695 int stackSize = keepStackSize();
22696
22697 try {
22698 // InternalAlloyLanguage.g:8028:1: ( ( 'univ' ) )
22699 // InternalAlloyLanguage.g:8029:1: ( 'univ' )
22700 {
22701 // InternalAlloyLanguage.g:8029:1: ( 'univ' )
22702 // InternalAlloyLanguage.g:8030:1: 'univ'
22703 {
22704 if ( state.backtracking==0 ) {
22705 before(grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1());
22706 }
22707 match(input,67,FOLLOW_2); if (state.failed) return ;
22708 if ( state.backtracking==0 ) {
22709 after(grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1());
22710 }
22711
22712 }
22713
22714
22715 }
22716
22717 }
22718 catch (RecognitionException re) {
22719 reportError(re);
22720 recover(input,re);
22721 }
22722 finally {
22723
22724 restoreStackSize(stackSize);
22725
22726 }
22727 return ;
22728 }
22729 // $ANTLR end "rule__ALSBasicRelationTerm__Group_2__1__Impl"
22730
22731
22732 // $ANTLR start "rule__ALSBasicRelationTerm__Group_3__0"
22733 // InternalAlloyLanguage.g:8047:1: rule__ALSBasicRelationTerm__Group_3__0 : rule__ALSBasicRelationTerm__Group_3__0__Impl rule__ALSBasicRelationTerm__Group_3__1 ;
22734 public final void rule__ALSBasicRelationTerm__Group_3__0() throws RecognitionException {
22735
22736 int stackSize = keepStackSize();
22737
22738 try {
22739 // InternalAlloyLanguage.g:8051:1: ( rule__ALSBasicRelationTerm__Group_3__0__Impl rule__ALSBasicRelationTerm__Group_3__1 )
22740 // InternalAlloyLanguage.g:8052:2: rule__ALSBasicRelationTerm__Group_3__0__Impl rule__ALSBasicRelationTerm__Group_3__1
22741 {
22742 pushFollow(FOLLOW_57);
22743 rule__ALSBasicRelationTerm__Group_3__0__Impl();
22744
22745 state._fsp--;
22746 if (state.failed) return ;
22747 pushFollow(FOLLOW_2);
22748 rule__ALSBasicRelationTerm__Group_3__1();
22749
22750 state._fsp--;
22751 if (state.failed) return ;
22752
22753 }
22754
22755 }
22756 catch (RecognitionException re) {
22757 reportError(re);
22758 recover(input,re);
22759 }
22760 finally {
22761
22762 restoreStackSize(stackSize);
22763
22764 }
22765 return ;
22766 }
22767 // $ANTLR end "rule__ALSBasicRelationTerm__Group_3__0"
22768
22769
22770 // $ANTLR start "rule__ALSBasicRelationTerm__Group_3__0__Impl"
22771 // InternalAlloyLanguage.g:8059:1: rule__ALSBasicRelationTerm__Group_3__0__Impl : ( () ) ;
22772 public final void rule__ALSBasicRelationTerm__Group_3__0__Impl() throws RecognitionException {
22773
22774 int stackSize = keepStackSize();
22775
22776 try {
22777 // InternalAlloyLanguage.g:8063:1: ( ( () ) )
22778 // InternalAlloyLanguage.g:8064:1: ( () )
22779 {
22780 // InternalAlloyLanguage.g:8064:1: ( () )
22781 // InternalAlloyLanguage.g:8065:1: ()
22782 {
22783 if ( state.backtracking==0 ) {
22784 before(grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0());
22785 }
22786 // InternalAlloyLanguage.g:8066:1: ()
22787 // InternalAlloyLanguage.g:8068:1:
22788 {
22789 }
22790
22791 if ( state.backtracking==0 ) {
22792 after(grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0());
22793 }
22794
22795 }
22796
22797
22798 }
22799
22800 }
22801 finally {
22802
22803 restoreStackSize(stackSize);
22804
22805 }
22806 return ;
22807 }
22808 // $ANTLR end "rule__ALSBasicRelationTerm__Group_3__0__Impl"
22809
22810
22811 // $ANTLR start "rule__ALSBasicRelationTerm__Group_3__1"
22812 // InternalAlloyLanguage.g:8078:1: rule__ALSBasicRelationTerm__Group_3__1 : rule__ALSBasicRelationTerm__Group_3__1__Impl ;
22813 public final void rule__ALSBasicRelationTerm__Group_3__1() throws RecognitionException {
22814
22815 int stackSize = keepStackSize();
22816
22817 try {
22818 // InternalAlloyLanguage.g:8082:1: ( rule__ALSBasicRelationTerm__Group_3__1__Impl )
22819 // InternalAlloyLanguage.g:8083:2: rule__ALSBasicRelationTerm__Group_3__1__Impl
22820 {
22821 pushFollow(FOLLOW_2);
22822 rule__ALSBasicRelationTerm__Group_3__1__Impl();
22823
22824 state._fsp--;
22825 if (state.failed) return ;
22826
22827 }
22828
22829 }
22830 catch (RecognitionException re) {
22831 reportError(re);
22832 recover(input,re);
22833 }
22834 finally {
22835
22836 restoreStackSize(stackSize);
22837
22838 }
22839 return ;
22840 }
22841 // $ANTLR end "rule__ALSBasicRelationTerm__Group_3__1"
22842
22843
22844 // $ANTLR start "rule__ALSBasicRelationTerm__Group_3__1__Impl"
22845 // InternalAlloyLanguage.g:8089:1: rule__ALSBasicRelationTerm__Group_3__1__Impl : ( 'Int' ) ;
22846 public final void rule__ALSBasicRelationTerm__Group_3__1__Impl() throws RecognitionException {
22847
22848 int stackSize = keepStackSize();
22849
22850 try {
22851 // InternalAlloyLanguage.g:8093:1: ( ( 'Int' ) )
22852 // InternalAlloyLanguage.g:8094:1: ( 'Int' )
22853 {
22854 // InternalAlloyLanguage.g:8094:1: ( 'Int' )
22855 // InternalAlloyLanguage.g:8095:1: 'Int'
22856 {
22857 if ( state.backtracking==0 ) {
22858 before(grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1());
22859 }
22860 match(input,68,FOLLOW_2); if (state.failed) return ;
22861 if ( state.backtracking==0 ) {
22862 after(grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1());
22863 }
22864
22865 }
22866
22867
22868 }
22869
22870 }
22871 catch (RecognitionException re) {
22872 reportError(re);
22873 recover(input,re);
22874 }
22875 finally {
22876
22877 restoreStackSize(stackSize);
22878
22879 }
22880 return ;
22881 }
22882 // $ANTLR end "rule__ALSBasicRelationTerm__Group_3__1__Impl"
22883
22884
22885 // $ANTLR start "rule__ALSBasicRelationTerm__Group_4__0"
22886 // InternalAlloyLanguage.g:8112:1: rule__ALSBasicRelationTerm__Group_4__0 : rule__ALSBasicRelationTerm__Group_4__0__Impl rule__ALSBasicRelationTerm__Group_4__1 ;
22887 public final void rule__ALSBasicRelationTerm__Group_4__0() throws RecognitionException {
22888
22889 int stackSize = keepStackSize();
22890
22891 try {
22892 // InternalAlloyLanguage.g:8116:1: ( rule__ALSBasicRelationTerm__Group_4__0__Impl rule__ALSBasicRelationTerm__Group_4__1 )
22893 // InternalAlloyLanguage.g:8117:2: rule__ALSBasicRelationTerm__Group_4__0__Impl rule__ALSBasicRelationTerm__Group_4__1
22894 {
22895 pushFollow(FOLLOW_58);
22896 rule__ALSBasicRelationTerm__Group_4__0__Impl();
22897
22898 state._fsp--;
22899 if (state.failed) return ;
22900 pushFollow(FOLLOW_2);
22901 rule__ALSBasicRelationTerm__Group_4__1();
22902
22903 state._fsp--;
22904 if (state.failed) return ;
22905
22906 }
22907
22908 }
22909 catch (RecognitionException re) {
22910 reportError(re);
22911 recover(input,re);
22912 }
22913 finally {
22914
22915 restoreStackSize(stackSize);
22916
22917 }
22918 return ;
22919 }
22920 // $ANTLR end "rule__ALSBasicRelationTerm__Group_4__0"
22921
22922
22923 // $ANTLR start "rule__ALSBasicRelationTerm__Group_4__0__Impl"
22924 // InternalAlloyLanguage.g:8124:1: rule__ALSBasicRelationTerm__Group_4__0__Impl : ( () ) ;
22925 public final void rule__ALSBasicRelationTerm__Group_4__0__Impl() throws RecognitionException {
22926
22927 int stackSize = keepStackSize();
22928
22929 try {
22930 // InternalAlloyLanguage.g:8128:1: ( ( () ) )
22931 // InternalAlloyLanguage.g:8129:1: ( () )
22932 {
22933 // InternalAlloyLanguage.g:8129:1: ( () )
22934 // InternalAlloyLanguage.g:8130:1: ()
22935 {
22936 if ( state.backtracking==0 ) {
22937 before(grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0());
22938 }
22939 // InternalAlloyLanguage.g:8131:1: ()
22940 // InternalAlloyLanguage.g:8133:1:
22941 {
22942 }
22943
22944 if ( state.backtracking==0 ) {
22945 after(grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0());
22946 }
22947
22948 }
22949
22950
22951 }
22952
22953 }
22954 finally {
22955
22956 restoreStackSize(stackSize);
22957
22958 }
22959 return ;
22960 }
22961 // $ANTLR end "rule__ALSBasicRelationTerm__Group_4__0__Impl"
22962
22963
22964 // $ANTLR start "rule__ALSBasicRelationTerm__Group_4__1"
22965 // InternalAlloyLanguage.g:8143:1: rule__ALSBasicRelationTerm__Group_4__1 : rule__ALSBasicRelationTerm__Group_4__1__Impl ;
22966 public final void rule__ALSBasicRelationTerm__Group_4__1() throws RecognitionException {
22967
22968 int stackSize = keepStackSize();
22969
22970 try {
22971 // InternalAlloyLanguage.g:8147:1: ( rule__ALSBasicRelationTerm__Group_4__1__Impl )
22972 // InternalAlloyLanguage.g:8148:2: rule__ALSBasicRelationTerm__Group_4__1__Impl
22973 {
22974 pushFollow(FOLLOW_2);
22975 rule__ALSBasicRelationTerm__Group_4__1__Impl();
22976
22977 state._fsp--;
22978 if (state.failed) return ;
22979
22980 }
22981
22982 }
22983 catch (RecognitionException re) {
22984 reportError(re);
22985 recover(input,re);
22986 }
22987 finally {
22988
22989 restoreStackSize(stackSize);
22990
22991 }
22992 return ;
22993 }
22994 // $ANTLR end "rule__ALSBasicRelationTerm__Group_4__1"
22995
22996
22997 // $ANTLR start "rule__ALSBasicRelationTerm__Group_4__1__Impl"
22998 // InternalAlloyLanguage.g:8154:1: rule__ALSBasicRelationTerm__Group_4__1__Impl : ( 'String' ) ;
22999 public final void rule__ALSBasicRelationTerm__Group_4__1__Impl() throws RecognitionException {
23000
23001 int stackSize = keepStackSize();
23002
23003 try {
23004 // InternalAlloyLanguage.g:8158:1: ( ( 'String' ) )
23005 // InternalAlloyLanguage.g:8159:1: ( 'String' )
23006 {
23007 // InternalAlloyLanguage.g:8159:1: ( 'String' )
23008 // InternalAlloyLanguage.g:8160:1: 'String'
23009 {
23010 if ( state.backtracking==0 ) {
23011 before(grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1());
23012 }
23013 match(input,69,FOLLOW_2); if (state.failed) return ;
23014 if ( state.backtracking==0 ) {
23015 after(grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1());
23016 }
23017
23018 }
23019
23020
23021 }
23022
23023 }
23024 catch (RecognitionException re) {
23025 reportError(re);
23026 recover(input,re);
23027 }
23028 finally {
23029
23030 restoreStackSize(stackSize);
23031
23032 }
23033 return ;
23034 }
23035 // $ANTLR end "rule__ALSBasicRelationTerm__Group_4__1__Impl"
23036
23037
23038 // $ANTLR start "rule__ALSBasicRelationTerm__Group_5__0"
23039 // InternalAlloyLanguage.g:8177:1: rule__ALSBasicRelationTerm__Group_5__0 : rule__ALSBasicRelationTerm__Group_5__0__Impl rule__ALSBasicRelationTerm__Group_5__1 ;
23040 public final void rule__ALSBasicRelationTerm__Group_5__0() throws RecognitionException {
23041
23042 int stackSize = keepStackSize();
23043
23044 try {
23045 // InternalAlloyLanguage.g:8181:1: ( rule__ALSBasicRelationTerm__Group_5__0__Impl rule__ALSBasicRelationTerm__Group_5__1 )
23046 // InternalAlloyLanguage.g:8182:2: rule__ALSBasicRelationTerm__Group_5__0__Impl rule__ALSBasicRelationTerm__Group_5__1
23047 {
23048 pushFollow(FOLLOW_5);
23049 rule__ALSBasicRelationTerm__Group_5__0__Impl();
23050
23051 state._fsp--;
23052 if (state.failed) return ;
23053 pushFollow(FOLLOW_2);
23054 rule__ALSBasicRelationTerm__Group_5__1();
23055
23056 state._fsp--;
23057 if (state.failed) return ;
23058
23059 }
23060
23061 }
23062 catch (RecognitionException re) {
23063 reportError(re);
23064 recover(input,re);
23065 }
23066 finally {
23067
23068 restoreStackSize(stackSize);
23069
23070 }
23071 return ;
23072 }
23073 // $ANTLR end "rule__ALSBasicRelationTerm__Group_5__0"
23074
23075
23076 // $ANTLR start "rule__ALSBasicRelationTerm__Group_5__0__Impl"
23077 // InternalAlloyLanguage.g:8189:1: rule__ALSBasicRelationTerm__Group_5__0__Impl : ( () ) ;
23078 public final void rule__ALSBasicRelationTerm__Group_5__0__Impl() throws RecognitionException {
23079
23080 int stackSize = keepStackSize();
23081
23082 try {
23083 // InternalAlloyLanguage.g:8193:1: ( ( () ) )
23084 // InternalAlloyLanguage.g:8194:1: ( () )
23085 {
23086 // InternalAlloyLanguage.g:8194:1: ( () )
23087 // InternalAlloyLanguage.g:8195:1: ()
23088 {
23089 if ( state.backtracking==0 ) {
23090 before(grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0());
23091 }
23092 // InternalAlloyLanguage.g:8196:1: ()
23093 // InternalAlloyLanguage.g:8198:1:
23094 {
23095 }
23096
23097 if ( state.backtracking==0 ) {
23098 after(grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0());
23099 }
23100
23101 }
23102
23103
23104 }
23105
23106 }
23107 finally {
23108
23109 restoreStackSize(stackSize);
23110
23111 }
23112 return ;
23113 }
23114 // $ANTLR end "rule__ALSBasicRelationTerm__Group_5__0__Impl"
23115
23116
23117 // $ANTLR start "rule__ALSBasicRelationTerm__Group_5__1"
23118 // InternalAlloyLanguage.g:8208:1: rule__ALSBasicRelationTerm__Group_5__1 : rule__ALSBasicRelationTerm__Group_5__1__Impl ;
23119 public final void rule__ALSBasicRelationTerm__Group_5__1() throws RecognitionException {
23120
23121 int stackSize = keepStackSize();
23122
23123 try {
23124 // InternalAlloyLanguage.g:8212:1: ( rule__ALSBasicRelationTerm__Group_5__1__Impl )
23125 // InternalAlloyLanguage.g:8213:2: rule__ALSBasicRelationTerm__Group_5__1__Impl
23126 {
23127 pushFollow(FOLLOW_2);
23128 rule__ALSBasicRelationTerm__Group_5__1__Impl();
23129
23130 state._fsp--;
23131 if (state.failed) return ;
23132
23133 }
23134
23135 }
23136 catch (RecognitionException re) {
23137 reportError(re);
23138 recover(input,re);
23139 }
23140 finally {
23141
23142 restoreStackSize(stackSize);
23143
23144 }
23145 return ;
23146 }
23147 // $ANTLR end "rule__ALSBasicRelationTerm__Group_5__1"
23148
23149
23150 // $ANTLR start "rule__ALSBasicRelationTerm__Group_5__1__Impl"
23151 // InternalAlloyLanguage.g:8219:1: rule__ALSBasicRelationTerm__Group_5__1__Impl : ( ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 ) ) ;
23152 public final void rule__ALSBasicRelationTerm__Group_5__1__Impl() throws RecognitionException {
23153
23154 int stackSize = keepStackSize();
23155
23156 try {
23157 // InternalAlloyLanguage.g:8223:1: ( ( ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 ) ) )
23158 // InternalAlloyLanguage.g:8224:1: ( ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 ) )
23159 {
23160 // InternalAlloyLanguage.g:8224:1: ( ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 ) )
23161 // InternalAlloyLanguage.g:8225:1: ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 )
23162 {
23163 if ( state.backtracking==0 ) {
23164 before(grammarAccess.getALSBasicRelationTermAccess().getReferredAssignment_5_1());
23165 }
23166 // InternalAlloyLanguage.g:8226:1: ( rule__ALSBasicRelationTerm__ReferredAssignment_5_1 )
23167 // InternalAlloyLanguage.g:8226:2: rule__ALSBasicRelationTerm__ReferredAssignment_5_1
23168 {
23169 pushFollow(FOLLOW_2);
23170 rule__ALSBasicRelationTerm__ReferredAssignment_5_1();
23171
23172 state._fsp--;
23173 if (state.failed) return ;
23174
23175 }
23176
23177 if ( state.backtracking==0 ) {
23178 after(grammarAccess.getALSBasicRelationTermAccess().getReferredAssignment_5_1());
23179 }
23180
23181 }
23182
23183
23184 }
23185
23186 }
23187 catch (RecognitionException re) {
23188 reportError(re);
23189 recover(input,re);
23190 }
23191 finally {
23192
23193 restoreStackSize(stackSize);
23194
23195 }
23196 return ;
23197 }
23198 // $ANTLR end "rule__ALSBasicRelationTerm__Group_5__1__Impl"
23199
23200
23201 // $ANTLR start "rule__ALSBasicRelationTerm__Group_6__0"
23202 // InternalAlloyLanguage.g:8240:1: rule__ALSBasicRelationTerm__Group_6__0 : rule__ALSBasicRelationTerm__Group_6__0__Impl rule__ALSBasicRelationTerm__Group_6__1 ;
23203 public final void rule__ALSBasicRelationTerm__Group_6__0() throws RecognitionException {
23204
23205 int stackSize = keepStackSize();
23206
23207 try {
23208 // InternalAlloyLanguage.g:8244:1: ( rule__ALSBasicRelationTerm__Group_6__0__Impl rule__ALSBasicRelationTerm__Group_6__1 )
23209 // InternalAlloyLanguage.g:8245:2: rule__ALSBasicRelationTerm__Group_6__0__Impl rule__ALSBasicRelationTerm__Group_6__1
23210 {
23211 pushFollow(FOLLOW_59);
23212 rule__ALSBasicRelationTerm__Group_6__0__Impl();
23213
23214 state._fsp--;
23215 if (state.failed) return ;
23216 pushFollow(FOLLOW_2);
23217 rule__ALSBasicRelationTerm__Group_6__1();
23218
23219 state._fsp--;
23220 if (state.failed) return ;
23221
23222 }
23223
23224 }
23225 catch (RecognitionException re) {
23226 reportError(re);
23227 recover(input,re);
23228 }
23229 finally {
23230
23231 restoreStackSize(stackSize);
23232
23233 }
23234 return ;
23235 }
23236 // $ANTLR end "rule__ALSBasicRelationTerm__Group_6__0"
23237
23238
23239 // $ANTLR start "rule__ALSBasicRelationTerm__Group_6__0__Impl"
23240 // InternalAlloyLanguage.g:8252:1: rule__ALSBasicRelationTerm__Group_6__0__Impl : ( () ) ;
23241 public final void rule__ALSBasicRelationTerm__Group_6__0__Impl() throws RecognitionException {
23242
23243 int stackSize = keepStackSize();
23244
23245 try {
23246 // InternalAlloyLanguage.g:8256:1: ( ( () ) )
23247 // InternalAlloyLanguage.g:8257:1: ( () )
23248 {
23249 // InternalAlloyLanguage.g:8257:1: ( () )
23250 // InternalAlloyLanguage.g:8258:1: ()
23251 {
23252 if ( state.backtracking==0 ) {
23253 before(grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0());
23254 }
23255 // InternalAlloyLanguage.g:8259:1: ()
23256 // InternalAlloyLanguage.g:8261:1:
23257 {
23258 }
23259
23260 if ( state.backtracking==0 ) {
23261 after(grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0());
23262 }
23263
23264 }
23265
23266
23267 }
23268
23269 }
23270 finally {
23271
23272 restoreStackSize(stackSize);
23273
23274 }
23275 return ;
23276 }
23277 // $ANTLR end "rule__ALSBasicRelationTerm__Group_6__0__Impl"
23278
23279
23280 // $ANTLR start "rule__ALSBasicRelationTerm__Group_6__1"
23281 // InternalAlloyLanguage.g:8271:1: rule__ALSBasicRelationTerm__Group_6__1 : rule__ALSBasicRelationTerm__Group_6__1__Impl ;
23282 public final void rule__ALSBasicRelationTerm__Group_6__1() throws RecognitionException {
23283
23284 int stackSize = keepStackSize();
23285
23286 try {
23287 // InternalAlloyLanguage.g:8275:1: ( rule__ALSBasicRelationTerm__Group_6__1__Impl )
23288 // InternalAlloyLanguage.g:8276:2: rule__ALSBasicRelationTerm__Group_6__1__Impl
23289 {
23290 pushFollow(FOLLOW_2);
23291 rule__ALSBasicRelationTerm__Group_6__1__Impl();
23292
23293 state._fsp--;
23294 if (state.failed) return ;
23295
23296 }
23297
23298 }
23299 catch (RecognitionException re) {
23300 reportError(re);
23301 recover(input,re);
23302 }
23303 finally {
23304
23305 restoreStackSize(stackSize);
23306
23307 }
23308 return ;
23309 }
23310 // $ANTLR end "rule__ALSBasicRelationTerm__Group_6__1"
23311
23312
23313 // $ANTLR start "rule__ALSBasicRelationTerm__Group_6__1__Impl"
23314 // InternalAlloyLanguage.g:8282:1: rule__ALSBasicRelationTerm__Group_6__1__Impl : ( ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 ) ) ;
23315 public final void rule__ALSBasicRelationTerm__Group_6__1__Impl() throws RecognitionException {
23316
23317 int stackSize = keepStackSize();
23318
23319 try {
23320 // InternalAlloyLanguage.g:8286:1: ( ( ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 ) ) )
23321 // InternalAlloyLanguage.g:8287:1: ( ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 ) )
23322 {
23323 // InternalAlloyLanguage.g:8287:1: ( ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 ) )
23324 // InternalAlloyLanguage.g:8288:1: ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 )
23325 {
23326 if ( state.backtracking==0 ) {
23327 before(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_6_1());
23328 }
23329 // InternalAlloyLanguage.g:8289:1: ( rule__ALSBasicRelationTerm__ValueAssignment_6_1 )
23330 // InternalAlloyLanguage.g:8289:2: rule__ALSBasicRelationTerm__ValueAssignment_6_1
23331 {
23332 pushFollow(FOLLOW_2);
23333 rule__ALSBasicRelationTerm__ValueAssignment_6_1();
23334
23335 state._fsp--;
23336 if (state.failed) return ;
23337
23338 }
23339
23340 if ( state.backtracking==0 ) {
23341 after(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_6_1());
23342 }
23343
23344 }
23345
23346
23347 }
23348
23349 }
23350 catch (RecognitionException re) {
23351 reportError(re);
23352 recover(input,re);
23353 }
23354 finally {
23355
23356 restoreStackSize(stackSize);
23357
23358 }
23359 return ;
23360 }
23361 // $ANTLR end "rule__ALSBasicRelationTerm__Group_6__1__Impl"
23362
23363
23364 // $ANTLR start "rule__ALSBasicRelationTerm__Group_7__0"
23365 // InternalAlloyLanguage.g:8303:1: rule__ALSBasicRelationTerm__Group_7__0 : rule__ALSBasicRelationTerm__Group_7__0__Impl rule__ALSBasicRelationTerm__Group_7__1 ;
23366 public final void rule__ALSBasicRelationTerm__Group_7__0() throws RecognitionException {
23367
23368 int stackSize = keepStackSize();
23369
23370 try {
23371 // InternalAlloyLanguage.g:8307:1: ( rule__ALSBasicRelationTerm__Group_7__0__Impl rule__ALSBasicRelationTerm__Group_7__1 )
23372 // InternalAlloyLanguage.g:8308:2: rule__ALSBasicRelationTerm__Group_7__0__Impl rule__ALSBasicRelationTerm__Group_7__1
23373 {
23374 pushFollow(FOLLOW_60);
23375 rule__ALSBasicRelationTerm__Group_7__0__Impl();
23376
23377 state._fsp--;
23378 if (state.failed) return ;
23379 pushFollow(FOLLOW_2);
23380 rule__ALSBasicRelationTerm__Group_7__1();
23381
23382 state._fsp--;
23383 if (state.failed) return ;
23384
23385 }
23386
23387 }
23388 catch (RecognitionException re) {
23389 reportError(re);
23390 recover(input,re);
23391 }
23392 finally {
23393
23394 restoreStackSize(stackSize);
23395
23396 }
23397 return ;
23398 }
23399 // $ANTLR end "rule__ALSBasicRelationTerm__Group_7__0"
23400
23401
23402 // $ANTLR start "rule__ALSBasicRelationTerm__Group_7__0__Impl"
23403 // InternalAlloyLanguage.g:8315:1: rule__ALSBasicRelationTerm__Group_7__0__Impl : ( () ) ;
23404 public final void rule__ALSBasicRelationTerm__Group_7__0__Impl() throws RecognitionException {
23405
23406 int stackSize = keepStackSize();
23407
23408 try {
23409 // InternalAlloyLanguage.g:8319:1: ( ( () ) )
23410 // InternalAlloyLanguage.g:8320:1: ( () )
23411 {
23412 // InternalAlloyLanguage.g:8320:1: ( () )
23413 // InternalAlloyLanguage.g:8321:1: ()
23414 {
23415 if ( state.backtracking==0 ) {
23416 before(grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0());
23417 }
23418 // InternalAlloyLanguage.g:8322:1: ()
23419 // InternalAlloyLanguage.g:8324:1:
23420 {
23421 }
23422
23423 if ( state.backtracking==0 ) {
23424 after(grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0());
23425 }
23426
23427 }
23428
23429
23430 }
23431
23432 }
23433 finally {
23434
23435 restoreStackSize(stackSize);
23436
23437 }
23438 return ;
23439 }
23440 // $ANTLR end "rule__ALSBasicRelationTerm__Group_7__0__Impl"
23441
23442
23443 // $ANTLR start "rule__ALSBasicRelationTerm__Group_7__1"
23444 // InternalAlloyLanguage.g:8334:1: rule__ALSBasicRelationTerm__Group_7__1 : rule__ALSBasicRelationTerm__Group_7__1__Impl ;
23445 public final void rule__ALSBasicRelationTerm__Group_7__1() throws RecognitionException {
23446
23447 int stackSize = keepStackSize();
23448
23449 try {
23450 // InternalAlloyLanguage.g:8338:1: ( rule__ALSBasicRelationTerm__Group_7__1__Impl )
23451 // InternalAlloyLanguage.g:8339:2: rule__ALSBasicRelationTerm__Group_7__1__Impl
23452 {
23453 pushFollow(FOLLOW_2);
23454 rule__ALSBasicRelationTerm__Group_7__1__Impl();
23455
23456 state._fsp--;
23457 if (state.failed) return ;
23458
23459 }
23460
23461 }
23462 catch (RecognitionException re) {
23463 reportError(re);
23464 recover(input,re);
23465 }
23466 finally {
23467
23468 restoreStackSize(stackSize);
23469
23470 }
23471 return ;
23472 }
23473 // $ANTLR end "rule__ALSBasicRelationTerm__Group_7__1"
23474
23475
23476 // $ANTLR start "rule__ALSBasicRelationTerm__Group_7__1__Impl"
23477 // InternalAlloyLanguage.g:8345:1: rule__ALSBasicRelationTerm__Group_7__1__Impl : ( ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 ) ) ;
23478 public final void rule__ALSBasicRelationTerm__Group_7__1__Impl() throws RecognitionException {
23479
23480 int stackSize = keepStackSize();
23481
23482 try {
23483 // InternalAlloyLanguage.g:8349:1: ( ( ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 ) ) )
23484 // InternalAlloyLanguage.g:8350:1: ( ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 ) )
23485 {
23486 // InternalAlloyLanguage.g:8350:1: ( ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 ) )
23487 // InternalAlloyLanguage.g:8351:1: ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 )
23488 {
23489 if ( state.backtracking==0 ) {
23490 before(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_7_1());
23491 }
23492 // InternalAlloyLanguage.g:8352:1: ( rule__ALSBasicRelationTerm__ValueAssignment_7_1 )
23493 // InternalAlloyLanguage.g:8352:2: rule__ALSBasicRelationTerm__ValueAssignment_7_1
23494 {
23495 pushFollow(FOLLOW_2);
23496 rule__ALSBasicRelationTerm__ValueAssignment_7_1();
23497
23498 state._fsp--;
23499 if (state.failed) return ;
23500
23501 }
23502
23503 if ( state.backtracking==0 ) {
23504 after(grammarAccess.getALSBasicRelationTermAccess().getValueAssignment_7_1());
23505 }
23506
23507 }
23508
23509
23510 }
23511
23512 }
23513 catch (RecognitionException re) {
23514 reportError(re);
23515 recover(input,re);
23516 }
23517 finally {
23518
23519 restoreStackSize(stackSize);
23520
23521 }
23522 return ;
23523 }
23524 // $ANTLR end "rule__ALSBasicRelationTerm__Group_7__1__Impl"
23525
23526
23527 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__0"
23528 // InternalAlloyLanguage.g:8366:1: rule__ALSBasicRelationTerm__Group_8__0 : rule__ALSBasicRelationTerm__Group_8__0__Impl rule__ALSBasicRelationTerm__Group_8__1 ;
23529 public final void rule__ALSBasicRelationTerm__Group_8__0() throws RecognitionException {
23530
23531 int stackSize = keepStackSize();
23532
23533 try {
23534 // InternalAlloyLanguage.g:8370:1: ( rule__ALSBasicRelationTerm__Group_8__0__Impl rule__ALSBasicRelationTerm__Group_8__1 )
23535 // InternalAlloyLanguage.g:8371:2: rule__ALSBasicRelationTerm__Group_8__0__Impl rule__ALSBasicRelationTerm__Group_8__1
23536 {
23537 pushFollow(FOLLOW_16);
23538 rule__ALSBasicRelationTerm__Group_8__0__Impl();
23539
23540 state._fsp--;
23541 if (state.failed) return ;
23542 pushFollow(FOLLOW_2);
23543 rule__ALSBasicRelationTerm__Group_8__1();
23544
23545 state._fsp--;
23546 if (state.failed) return ;
23547
23548 }
23549
23550 }
23551 catch (RecognitionException re) {
23552 reportError(re);
23553 recover(input,re);
23554 }
23555 finally {
23556
23557 restoreStackSize(stackSize);
23558
23559 }
23560 return ;
23561 }
23562 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__0"
23563
23564
23565 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__0__Impl"
23566 // InternalAlloyLanguage.g:8378:1: rule__ALSBasicRelationTerm__Group_8__0__Impl : ( '(' ) ;
23567 public final void rule__ALSBasicRelationTerm__Group_8__0__Impl() throws RecognitionException {
23568
23569 int stackSize = keepStackSize();
23570
23571 try {
23572 // InternalAlloyLanguage.g:8382:1: ( ( '(' ) )
23573 // InternalAlloyLanguage.g:8383:1: ( '(' )
23574 {
23575 // InternalAlloyLanguage.g:8383:1: ( '(' )
23576 // InternalAlloyLanguage.g:8384:1: '('
23577 {
23578 if ( state.backtracking==0 ) {
23579 before(grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
23580 }
23581 match(input,70,FOLLOW_2); if (state.failed) return ;
23582 if ( state.backtracking==0 ) {
23583 after(grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
23584 }
23585
23586 }
23587
23588
23589 }
23590
23591 }
23592 catch (RecognitionException re) {
23593 reportError(re);
23594 recover(input,re);
23595 }
23596 finally {
23597
23598 restoreStackSize(stackSize);
23599
23600 }
23601 return ;
23602 }
23603 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__0__Impl"
23604
23605
23606 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__1"
23607 // InternalAlloyLanguage.g:8397:1: rule__ALSBasicRelationTerm__Group_8__1 : rule__ALSBasicRelationTerm__Group_8__1__Impl rule__ALSBasicRelationTerm__Group_8__2 ;
23608 public final void rule__ALSBasicRelationTerm__Group_8__1() throws RecognitionException {
23609
23610 int stackSize = keepStackSize();
23611
23612 try {
23613 // InternalAlloyLanguage.g:8401:1: ( rule__ALSBasicRelationTerm__Group_8__1__Impl rule__ALSBasicRelationTerm__Group_8__2 )
23614 // InternalAlloyLanguage.g:8402:2: rule__ALSBasicRelationTerm__Group_8__1__Impl rule__ALSBasicRelationTerm__Group_8__2
23615 {
23616 pushFollow(FOLLOW_61);
23617 rule__ALSBasicRelationTerm__Group_8__1__Impl();
23618
23619 state._fsp--;
23620 if (state.failed) return ;
23621 pushFollow(FOLLOW_2);
23622 rule__ALSBasicRelationTerm__Group_8__2();
23623
23624 state._fsp--;
23625 if (state.failed) return ;
23626
23627 }
23628
23629 }
23630 catch (RecognitionException re) {
23631 reportError(re);
23632 recover(input,re);
23633 }
23634 finally {
23635
23636 restoreStackSize(stackSize);
23637
23638 }
23639 return ;
23640 }
23641 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__1"
23642
23643
23644 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__1__Impl"
23645 // InternalAlloyLanguage.g:8409:1: rule__ALSBasicRelationTerm__Group_8__1__Impl : ( ruleALSTerm ) ;
23646 public final void rule__ALSBasicRelationTerm__Group_8__1__Impl() throws RecognitionException {
23647
23648 int stackSize = keepStackSize();
23649
23650 try {
23651 // InternalAlloyLanguage.g:8413:1: ( ( ruleALSTerm ) )
23652 // InternalAlloyLanguage.g:8414:1: ( ruleALSTerm )
23653 {
23654 // InternalAlloyLanguage.g:8414:1: ( ruleALSTerm )
23655 // InternalAlloyLanguage.g:8415:1: ruleALSTerm
23656 {
23657 if ( state.backtracking==0 ) {
23658 before(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1());
23659 }
23660 pushFollow(FOLLOW_2);
23661 ruleALSTerm();
23662
23663 state._fsp--;
23664 if (state.failed) return ;
23665 if ( state.backtracking==0 ) {
23666 after(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1());
23667 }
23668
23669 }
23670
23671
23672 }
23673
23674 }
23675 catch (RecognitionException re) {
23676 reportError(re);
23677 recover(input,re);
23678 }
23679 finally {
23680
23681 restoreStackSize(stackSize);
23682
23683 }
23684 return ;
23685 }
23686 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__1__Impl"
23687
23688
23689 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__2"
23690 // InternalAlloyLanguage.g:8426:1: rule__ALSBasicRelationTerm__Group_8__2 : rule__ALSBasicRelationTerm__Group_8__2__Impl ;
23691 public final void rule__ALSBasicRelationTerm__Group_8__2() throws RecognitionException {
23692
23693 int stackSize = keepStackSize();
23694
23695 try {
23696 // InternalAlloyLanguage.g:8430:1: ( rule__ALSBasicRelationTerm__Group_8__2__Impl )
23697 // InternalAlloyLanguage.g:8431:2: rule__ALSBasicRelationTerm__Group_8__2__Impl
23698 {
23699 pushFollow(FOLLOW_2);
23700 rule__ALSBasicRelationTerm__Group_8__2__Impl();
23701
23702 state._fsp--;
23703 if (state.failed) return ;
23704
23705 }
23706
23707 }
23708 catch (RecognitionException re) {
23709 reportError(re);
23710 recover(input,re);
23711 }
23712 finally {
23713
23714 restoreStackSize(stackSize);
23715
23716 }
23717 return ;
23718 }
23719 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__2"
23720
23721
23722 // $ANTLR start "rule__ALSBasicRelationTerm__Group_8__2__Impl"
23723 // InternalAlloyLanguage.g:8437:1: rule__ALSBasicRelationTerm__Group_8__2__Impl : ( ')' ) ;
23724 public final void rule__ALSBasicRelationTerm__Group_8__2__Impl() throws RecognitionException {
23725
23726 int stackSize = keepStackSize();
23727
23728 try {
23729 // InternalAlloyLanguage.g:8441:1: ( ( ')' ) )
23730 // InternalAlloyLanguage.g:8442:1: ( ')' )
23731 {
23732 // InternalAlloyLanguage.g:8442:1: ( ')' )
23733 // InternalAlloyLanguage.g:8443:1: ')'
23734 {
23735 if ( state.backtracking==0 ) {
23736 before(grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2());
23737 }
23738 match(input,71,FOLLOW_2); if (state.failed) return ;
23739 if ( state.backtracking==0 ) {
23740 after(grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2());
23741 }
23742
23743 }
23744
23745
23746 }
23747
23748 }
23749 catch (RecognitionException re) {
23750 reportError(re);
23751 recover(input,re);
23752 }
23753 finally {
23754
23755 restoreStackSize(stackSize);
23756
23757 }
23758 return ;
23759 }
23760 // $ANTLR end "rule__ALSBasicRelationTerm__Group_8__2__Impl"
23761
23762
23763 // $ANTLR start "rule__ALSRunCommand__Group__0"
23764 // InternalAlloyLanguage.g:8462:1: rule__ALSRunCommand__Group__0 : rule__ALSRunCommand__Group__0__Impl rule__ALSRunCommand__Group__1 ;
23765 public final void rule__ALSRunCommand__Group__0() throws RecognitionException {
23766
23767 int stackSize = keepStackSize();
23768
23769 try {
23770 // InternalAlloyLanguage.g:8466:1: ( rule__ALSRunCommand__Group__0__Impl rule__ALSRunCommand__Group__1 )
23771 // InternalAlloyLanguage.g:8467:2: rule__ALSRunCommand__Group__0__Impl rule__ALSRunCommand__Group__1
23772 {
23773 pushFollow(FOLLOW_3);
23774 rule__ALSRunCommand__Group__0__Impl();
23775
23776 state._fsp--;
23777 if (state.failed) return ;
23778 pushFollow(FOLLOW_2);
23779 rule__ALSRunCommand__Group__1();
23780
23781 state._fsp--;
23782 if (state.failed) return ;
23783
23784 }
23785
23786 }
23787 catch (RecognitionException re) {
23788 reportError(re);
23789 recover(input,re);
23790 }
23791 finally {
23792
23793 restoreStackSize(stackSize);
23794
23795 }
23796 return ;
23797 }
23798 // $ANTLR end "rule__ALSRunCommand__Group__0"
23799
23800
23801 // $ANTLR start "rule__ALSRunCommand__Group__0__Impl"
23802 // InternalAlloyLanguage.g:8474:1: rule__ALSRunCommand__Group__0__Impl : ( () ) ;
23803 public final void rule__ALSRunCommand__Group__0__Impl() throws RecognitionException {
23804
23805 int stackSize = keepStackSize();
23806
23807 try {
23808 // InternalAlloyLanguage.g:8478:1: ( ( () ) )
23809 // InternalAlloyLanguage.g:8479:1: ( () )
23810 {
23811 // InternalAlloyLanguage.g:8479:1: ( () )
23812 // InternalAlloyLanguage.g:8480:1: ()
23813 {
23814 if ( state.backtracking==0 ) {
23815 before(grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0());
23816 }
23817 // InternalAlloyLanguage.g:8481:1: ()
23818 // InternalAlloyLanguage.g:8483:1:
23819 {
23820 }
23821
23822 if ( state.backtracking==0 ) {
23823 after(grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0());
23824 }
23825
23826 }
23827
23828
23829 }
23830
23831 }
23832 finally {
23833
23834 restoreStackSize(stackSize);
23835
23836 }
23837 return ;
23838 }
23839 // $ANTLR end "rule__ALSRunCommand__Group__0__Impl"
23840
23841
23842 // $ANTLR start "rule__ALSRunCommand__Group__1"
23843 // InternalAlloyLanguage.g:8493:1: rule__ALSRunCommand__Group__1 : rule__ALSRunCommand__Group__1__Impl rule__ALSRunCommand__Group__2 ;
23844 public final void rule__ALSRunCommand__Group__1() throws RecognitionException {
23845
23846 int stackSize = keepStackSize();
23847
23848 try {
23849 // InternalAlloyLanguage.g:8497:1: ( rule__ALSRunCommand__Group__1__Impl rule__ALSRunCommand__Group__2 )
23850 // InternalAlloyLanguage.g:8498:2: rule__ALSRunCommand__Group__1__Impl rule__ALSRunCommand__Group__2
23851 {
23852 pushFollow(FOLLOW_6);
23853 rule__ALSRunCommand__Group__1__Impl();
23854
23855 state._fsp--;
23856 if (state.failed) return ;
23857 pushFollow(FOLLOW_2);
23858 rule__ALSRunCommand__Group__2();
23859
23860 state._fsp--;
23861 if (state.failed) return ;
23862
23863 }
23864
23865 }
23866 catch (RecognitionException re) {
23867 reportError(re);
23868 recover(input,re);
23869 }
23870 finally {
23871
23872 restoreStackSize(stackSize);
23873
23874 }
23875 return ;
23876 }
23877 // $ANTLR end "rule__ALSRunCommand__Group__1"
23878
23879
23880 // $ANTLR start "rule__ALSRunCommand__Group__1__Impl"
23881 // InternalAlloyLanguage.g:8505:1: rule__ALSRunCommand__Group__1__Impl : ( 'run' ) ;
23882 public final void rule__ALSRunCommand__Group__1__Impl() throws RecognitionException {
23883
23884 int stackSize = keepStackSize();
23885
23886 try {
23887 // InternalAlloyLanguage.g:8509:1: ( ( 'run' ) )
23888 // InternalAlloyLanguage.g:8510:1: ( 'run' )
23889 {
23890 // InternalAlloyLanguage.g:8510:1: ( 'run' )
23891 // InternalAlloyLanguage.g:8511:1: 'run'
23892 {
23893 if ( state.backtracking==0 ) {
23894 before(grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
23895 }
23896 match(input,72,FOLLOW_2); if (state.failed) return ;
23897 if ( state.backtracking==0 ) {
23898 after(grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
23899 }
23900
23901 }
23902
23903
23904 }
23905
23906 }
23907 catch (RecognitionException re) {
23908 reportError(re);
23909 recover(input,re);
23910 }
23911 finally {
23912
23913 restoreStackSize(stackSize);
23914
23915 }
23916 return ;
23917 }
23918 // $ANTLR end "rule__ALSRunCommand__Group__1__Impl"
23919
23920
23921 // $ANTLR start "rule__ALSRunCommand__Group__2"
23922 // InternalAlloyLanguage.g:8524:1: rule__ALSRunCommand__Group__2 : rule__ALSRunCommand__Group__2__Impl rule__ALSRunCommand__Group__3 ;
23923 public final void rule__ALSRunCommand__Group__2() throws RecognitionException {
23924
23925 int stackSize = keepStackSize();
23926
23927 try {
23928 // InternalAlloyLanguage.g:8528:1: ( rule__ALSRunCommand__Group__2__Impl rule__ALSRunCommand__Group__3 )
23929 // InternalAlloyLanguage.g:8529:2: rule__ALSRunCommand__Group__2__Impl rule__ALSRunCommand__Group__3
23930 {
23931 pushFollow(FOLLOW_19);
23932 rule__ALSRunCommand__Group__2__Impl();
23933
23934 state._fsp--;
23935 if (state.failed) return ;
23936 pushFollow(FOLLOW_2);
23937 rule__ALSRunCommand__Group__3();
23938
23939 state._fsp--;
23940 if (state.failed) return ;
23941
23942 }
23943
23944 }
23945 catch (RecognitionException re) {
23946 reportError(re);
23947 recover(input,re);
23948 }
23949 finally {
23950
23951 restoreStackSize(stackSize);
23952
23953 }
23954 return ;
23955 }
23956 // $ANTLR end "rule__ALSRunCommand__Group__2"
23957
23958
23959 // $ANTLR start "rule__ALSRunCommand__Group__2__Impl"
23960 // InternalAlloyLanguage.g:8536:1: rule__ALSRunCommand__Group__2__Impl : ( '{' ) ;
23961 public final void rule__ALSRunCommand__Group__2__Impl() throws RecognitionException {
23962
23963 int stackSize = keepStackSize();
23964
23965 try {
23966 // InternalAlloyLanguage.g:8540:1: ( ( '{' ) )
23967 // InternalAlloyLanguage.g:8541:1: ( '{' )
23968 {
23969 // InternalAlloyLanguage.g:8541:1: ( '{' )
23970 // InternalAlloyLanguage.g:8542:1: '{'
23971 {
23972 if ( state.backtracking==0 ) {
23973 before(grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
23974 }
23975 match(input,33,FOLLOW_2); if (state.failed) return ;
23976 if ( state.backtracking==0 ) {
23977 after(grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
23978 }
23979
23980 }
23981
23982
23983 }
23984
23985 }
23986 catch (RecognitionException re) {
23987 reportError(re);
23988 recover(input,re);
23989 }
23990 finally {
23991
23992 restoreStackSize(stackSize);
23993
23994 }
23995 return ;
23996 }
23997 // $ANTLR end "rule__ALSRunCommand__Group__2__Impl"
23998
23999
24000 // $ANTLR start "rule__ALSRunCommand__Group__3"
24001 // InternalAlloyLanguage.g:8555:1: rule__ALSRunCommand__Group__3 : rule__ALSRunCommand__Group__3__Impl rule__ALSRunCommand__Group__4 ;
24002 public final void rule__ALSRunCommand__Group__3() throws RecognitionException {
24003
24004 int stackSize = keepStackSize();
24005
24006 try {
24007 // InternalAlloyLanguage.g:8559:1: ( rule__ALSRunCommand__Group__3__Impl rule__ALSRunCommand__Group__4 )
24008 // InternalAlloyLanguage.g:8560:2: rule__ALSRunCommand__Group__3__Impl rule__ALSRunCommand__Group__4
24009 {
24010 pushFollow(FOLLOW_62);
24011 rule__ALSRunCommand__Group__3__Impl();
24012
24013 state._fsp--;
24014 if (state.failed) return ;
24015 pushFollow(FOLLOW_2);
24016 rule__ALSRunCommand__Group__4();
24017
24018 state._fsp--;
24019 if (state.failed) return ;
24020
24021 }
24022
24023 }
24024 catch (RecognitionException re) {
24025 reportError(re);
24026 recover(input,re);
24027 }
24028 finally {
24029
24030 restoreStackSize(stackSize);
24031
24032 }
24033 return ;
24034 }
24035 // $ANTLR end "rule__ALSRunCommand__Group__3"
24036
24037
24038 // $ANTLR start "rule__ALSRunCommand__Group__3__Impl"
24039 // InternalAlloyLanguage.g:8567:1: rule__ALSRunCommand__Group__3__Impl : ( '}' ) ;
24040 public final void rule__ALSRunCommand__Group__3__Impl() throws RecognitionException {
24041
24042 int stackSize = keepStackSize();
24043
24044 try {
24045 // InternalAlloyLanguage.g:8571:1: ( ( '}' ) )
24046 // InternalAlloyLanguage.g:8572:1: ( '}' )
24047 {
24048 // InternalAlloyLanguage.g:8572:1: ( '}' )
24049 // InternalAlloyLanguage.g:8573:1: '}'
24050 {
24051 if ( state.backtracking==0 ) {
24052 before(grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
24053 }
24054 match(input,34,FOLLOW_2); if (state.failed) return ;
24055 if ( state.backtracking==0 ) {
24056 after(grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
24057 }
24058
24059 }
24060
24061
24062 }
24063
24064 }
24065 catch (RecognitionException re) {
24066 reportError(re);
24067 recover(input,re);
24068 }
24069 finally {
24070
24071 restoreStackSize(stackSize);
24072
24073 }
24074 return ;
24075 }
24076 // $ANTLR end "rule__ALSRunCommand__Group__3__Impl"
24077
24078
24079 // $ANTLR start "rule__ALSRunCommand__Group__4"
24080 // InternalAlloyLanguage.g:8586:1: rule__ALSRunCommand__Group__4 : rule__ALSRunCommand__Group__4__Impl ;
24081 public final void rule__ALSRunCommand__Group__4() throws RecognitionException {
24082
24083 int stackSize = keepStackSize();
24084
24085 try {
24086 // InternalAlloyLanguage.g:8590:1: ( rule__ALSRunCommand__Group__4__Impl )
24087 // InternalAlloyLanguage.g:8591:2: rule__ALSRunCommand__Group__4__Impl
24088 {
24089 pushFollow(FOLLOW_2);
24090 rule__ALSRunCommand__Group__4__Impl();
24091
24092 state._fsp--;
24093 if (state.failed) return ;
24094
24095 }
24096
24097 }
24098 catch (RecognitionException re) {
24099 reportError(re);
24100 recover(input,re);
24101 }
24102 finally {
24103
24104 restoreStackSize(stackSize);
24105
24106 }
24107 return ;
24108 }
24109 // $ANTLR end "rule__ALSRunCommand__Group__4"
24110
24111
24112 // $ANTLR start "rule__ALSRunCommand__Group__4__Impl"
24113 // InternalAlloyLanguage.g:8597:1: rule__ALSRunCommand__Group__4__Impl : ( ( rule__ALSRunCommand__Group_4__0 )? ) ;
24114 public final void rule__ALSRunCommand__Group__4__Impl() throws RecognitionException {
24115
24116 int stackSize = keepStackSize();
24117
24118 try {
24119 // InternalAlloyLanguage.g:8601:1: ( ( ( rule__ALSRunCommand__Group_4__0 )? ) )
24120 // InternalAlloyLanguage.g:8602:1: ( ( rule__ALSRunCommand__Group_4__0 )? )
24121 {
24122 // InternalAlloyLanguage.g:8602:1: ( ( rule__ALSRunCommand__Group_4__0 )? )
24123 // InternalAlloyLanguage.g:8603:1: ( rule__ALSRunCommand__Group_4__0 )?
24124 {
24125 if ( state.backtracking==0 ) {
24126 before(grammarAccess.getALSRunCommandAccess().getGroup_4());
24127 }
24128 // InternalAlloyLanguage.g:8604:1: ( rule__ALSRunCommand__Group_4__0 )?
24129 int alt48=2;
24130 int LA48_0 = input.LA(1);
24131
24132 if ( (LA48_0==73) ) {
24133 alt48=1;
24134 }
24135 switch (alt48) {
24136 case 1 :
24137 // InternalAlloyLanguage.g:8604:2: rule__ALSRunCommand__Group_4__0
24138 {
24139 pushFollow(FOLLOW_2);
24140 rule__ALSRunCommand__Group_4__0();
24141
24142 state._fsp--;
24143 if (state.failed) return ;
24144
24145 }
24146 break;
24147
24148 }
24149
24150 if ( state.backtracking==0 ) {
24151 after(grammarAccess.getALSRunCommandAccess().getGroup_4());
24152 }
24153
24154 }
24155
24156
24157 }
24158
24159 }
24160 catch (RecognitionException re) {
24161 reportError(re);
24162 recover(input,re);
24163 }
24164 finally {
24165
24166 restoreStackSize(stackSize);
24167
24168 }
24169 return ;
24170 }
24171 // $ANTLR end "rule__ALSRunCommand__Group__4__Impl"
24172
24173
24174 // $ANTLR start "rule__ALSRunCommand__Group_4__0"
24175 // InternalAlloyLanguage.g:8624:1: rule__ALSRunCommand__Group_4__0 : rule__ALSRunCommand__Group_4__0__Impl rule__ALSRunCommand__Group_4__1 ;
24176 public final void rule__ALSRunCommand__Group_4__0() throws RecognitionException {
24177
24178 int stackSize = keepStackSize();
24179
24180 try {
24181 // InternalAlloyLanguage.g:8628:1: ( rule__ALSRunCommand__Group_4__0__Impl rule__ALSRunCommand__Group_4__1 )
24182 // InternalAlloyLanguage.g:8629:2: rule__ALSRunCommand__Group_4__0__Impl rule__ALSRunCommand__Group_4__1
24183 {
24184 pushFollow(FOLLOW_63);
24185 rule__ALSRunCommand__Group_4__0__Impl();
24186
24187 state._fsp--;
24188 if (state.failed) return ;
24189 pushFollow(FOLLOW_2);
24190 rule__ALSRunCommand__Group_4__1();
24191
24192 state._fsp--;
24193 if (state.failed) return ;
24194
24195 }
24196
24197 }
24198 catch (RecognitionException re) {
24199 reportError(re);
24200 recover(input,re);
24201 }
24202 finally {
24203
24204 restoreStackSize(stackSize);
24205
24206 }
24207 return ;
24208 }
24209 // $ANTLR end "rule__ALSRunCommand__Group_4__0"
24210
24211
24212 // $ANTLR start "rule__ALSRunCommand__Group_4__0__Impl"
24213 // InternalAlloyLanguage.g:8636:1: rule__ALSRunCommand__Group_4__0__Impl : ( 'for' ) ;
24214 public final void rule__ALSRunCommand__Group_4__0__Impl() throws RecognitionException {
24215
24216 int stackSize = keepStackSize();
24217
24218 try {
24219 // InternalAlloyLanguage.g:8640:1: ( ( 'for' ) )
24220 // InternalAlloyLanguage.g:8641:1: ( 'for' )
24221 {
24222 // InternalAlloyLanguage.g:8641:1: ( 'for' )
24223 // InternalAlloyLanguage.g:8642:1: 'for'
24224 {
24225 if ( state.backtracking==0 ) {
24226 before(grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
24227 }
24228 match(input,73,FOLLOW_2); if (state.failed) return ;
24229 if ( state.backtracking==0 ) {
24230 after(grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
24231 }
24232
24233 }
24234
24235
24236 }
24237
24238 }
24239 catch (RecognitionException re) {
24240 reportError(re);
24241 recover(input,re);
24242 }
24243 finally {
24244
24245 restoreStackSize(stackSize);
24246
24247 }
24248 return ;
24249 }
24250 // $ANTLR end "rule__ALSRunCommand__Group_4__0__Impl"
24251
24252
24253 // $ANTLR start "rule__ALSRunCommand__Group_4__1"
24254 // InternalAlloyLanguage.g:8655:1: rule__ALSRunCommand__Group_4__1 : rule__ALSRunCommand__Group_4__1__Impl rule__ALSRunCommand__Group_4__2 ;
24255 public final void rule__ALSRunCommand__Group_4__1() throws RecognitionException {
24256
24257 int stackSize = keepStackSize();
24258
24259 try {
24260 // InternalAlloyLanguage.g:8659:1: ( rule__ALSRunCommand__Group_4__1__Impl rule__ALSRunCommand__Group_4__2 )
24261 // InternalAlloyLanguage.g:8660:2: rule__ALSRunCommand__Group_4__1__Impl rule__ALSRunCommand__Group_4__2
24262 {
24263 pushFollow(FOLLOW_14);
24264 rule__ALSRunCommand__Group_4__1__Impl();
24265
24266 state._fsp--;
24267 if (state.failed) return ;
24268 pushFollow(FOLLOW_2);
24269 rule__ALSRunCommand__Group_4__2();
24270
24271 state._fsp--;
24272 if (state.failed) return ;
24273
24274 }
24275
24276 }
24277 catch (RecognitionException re) {
24278 reportError(re);
24279 recover(input,re);
24280 }
24281 finally {
24282
24283 restoreStackSize(stackSize);
24284
24285 }
24286 return ;
24287 }
24288 // $ANTLR end "rule__ALSRunCommand__Group_4__1"
24289
24290
24291 // $ANTLR start "rule__ALSRunCommand__Group_4__1__Impl"
24292 // InternalAlloyLanguage.g:8667:1: rule__ALSRunCommand__Group_4__1__Impl : ( ( rule__ALSRunCommand__TypeScopesAssignment_4_1 ) ) ;
24293 public final void rule__ALSRunCommand__Group_4__1__Impl() throws RecognitionException {
24294
24295 int stackSize = keepStackSize();
24296
24297 try {
24298 // InternalAlloyLanguage.g:8671:1: ( ( ( rule__ALSRunCommand__TypeScopesAssignment_4_1 ) ) )
24299 // InternalAlloyLanguage.g:8672:1: ( ( rule__ALSRunCommand__TypeScopesAssignment_4_1 ) )
24300 {
24301 // InternalAlloyLanguage.g:8672:1: ( ( rule__ALSRunCommand__TypeScopesAssignment_4_1 ) )
24302 // InternalAlloyLanguage.g:8673:1: ( rule__ALSRunCommand__TypeScopesAssignment_4_1 )
24303 {
24304 if ( state.backtracking==0 ) {
24305 before(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_1());
24306 }
24307 // InternalAlloyLanguage.g:8674:1: ( rule__ALSRunCommand__TypeScopesAssignment_4_1 )
24308 // InternalAlloyLanguage.g:8674:2: rule__ALSRunCommand__TypeScopesAssignment_4_1
24309 {
24310 pushFollow(FOLLOW_2);
24311 rule__ALSRunCommand__TypeScopesAssignment_4_1();
24312
24313 state._fsp--;
24314 if (state.failed) return ;
24315
24316 }
24317
24318 if ( state.backtracking==0 ) {
24319 after(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_1());
24320 }
24321
24322 }
24323
24324
24325 }
24326
24327 }
24328 catch (RecognitionException re) {
24329 reportError(re);
24330 recover(input,re);
24331 }
24332 finally {
24333
24334 restoreStackSize(stackSize);
24335
24336 }
24337 return ;
24338 }
24339 // $ANTLR end "rule__ALSRunCommand__Group_4__1__Impl"
24340
24341
24342 // $ANTLR start "rule__ALSRunCommand__Group_4__2"
24343 // InternalAlloyLanguage.g:8684:1: rule__ALSRunCommand__Group_4__2 : rule__ALSRunCommand__Group_4__2__Impl ;
24344 public final void rule__ALSRunCommand__Group_4__2() throws RecognitionException {
24345
24346 int stackSize = keepStackSize();
24347
24348 try {
24349 // InternalAlloyLanguage.g:8688:1: ( rule__ALSRunCommand__Group_4__2__Impl )
24350 // InternalAlloyLanguage.g:8689:2: rule__ALSRunCommand__Group_4__2__Impl
24351 {
24352 pushFollow(FOLLOW_2);
24353 rule__ALSRunCommand__Group_4__2__Impl();
24354
24355 state._fsp--;
24356 if (state.failed) return ;
24357
24358 }
24359
24360 }
24361 catch (RecognitionException re) {
24362 reportError(re);
24363 recover(input,re);
24364 }
24365 finally {
24366
24367 restoreStackSize(stackSize);
24368
24369 }
24370 return ;
24371 }
24372 // $ANTLR end "rule__ALSRunCommand__Group_4__2"
24373
24374
24375 // $ANTLR start "rule__ALSRunCommand__Group_4__2__Impl"
24376 // InternalAlloyLanguage.g:8695:1: rule__ALSRunCommand__Group_4__2__Impl : ( ( rule__ALSRunCommand__Group_4_2__0 )* ) ;
24377 public final void rule__ALSRunCommand__Group_4__2__Impl() throws RecognitionException {
24378
24379 int stackSize = keepStackSize();
24380
24381 try {
24382 // InternalAlloyLanguage.g:8699:1: ( ( ( rule__ALSRunCommand__Group_4_2__0 )* ) )
24383 // InternalAlloyLanguage.g:8700:1: ( ( rule__ALSRunCommand__Group_4_2__0 )* )
24384 {
24385 // InternalAlloyLanguage.g:8700:1: ( ( rule__ALSRunCommand__Group_4_2__0 )* )
24386 // InternalAlloyLanguage.g:8701:1: ( rule__ALSRunCommand__Group_4_2__0 )*
24387 {
24388 if ( state.backtracking==0 ) {
24389 before(grammarAccess.getALSRunCommandAccess().getGroup_4_2());
24390 }
24391 // InternalAlloyLanguage.g:8702:1: ( rule__ALSRunCommand__Group_4_2__0 )*
24392 loop49:
24393 do {
24394 int alt49=2;
24395 int LA49_0 = input.LA(1);
24396
24397 if ( (LA49_0==35) ) {
24398 alt49=1;
24399 }
24400
24401
24402 switch (alt49) {
24403 case 1 :
24404 // InternalAlloyLanguage.g:8702:2: rule__ALSRunCommand__Group_4_2__0
24405 {
24406 pushFollow(FOLLOW_8);
24407 rule__ALSRunCommand__Group_4_2__0();
24408
24409 state._fsp--;
24410 if (state.failed) return ;
24411
24412 }
24413 break;
24414
24415 default :
24416 break loop49;
24417 }
24418 } while (true);
24419
24420 if ( state.backtracking==0 ) {
24421 after(grammarAccess.getALSRunCommandAccess().getGroup_4_2());
24422 }
24423
24424 }
24425
24426
24427 }
24428
24429 }
24430 catch (RecognitionException re) {
24431 reportError(re);
24432 recover(input,re);
24433 }
24434 finally {
24435
24436 restoreStackSize(stackSize);
24437
24438 }
24439 return ;
24440 }
24441 // $ANTLR end "rule__ALSRunCommand__Group_4__2__Impl"
24442
24443
24444 // $ANTLR start "rule__ALSRunCommand__Group_4_2__0"
24445 // InternalAlloyLanguage.g:8718:1: rule__ALSRunCommand__Group_4_2__0 : rule__ALSRunCommand__Group_4_2__0__Impl rule__ALSRunCommand__Group_4_2__1 ;
24446 public final void rule__ALSRunCommand__Group_4_2__0() throws RecognitionException {
24447
24448 int stackSize = keepStackSize();
24449
24450 try {
24451 // InternalAlloyLanguage.g:8722:1: ( rule__ALSRunCommand__Group_4_2__0__Impl rule__ALSRunCommand__Group_4_2__1 )
24452 // InternalAlloyLanguage.g:8723:2: rule__ALSRunCommand__Group_4_2__0__Impl rule__ALSRunCommand__Group_4_2__1
24453 {
24454 pushFollow(FOLLOW_63);
24455 rule__ALSRunCommand__Group_4_2__0__Impl();
24456
24457 state._fsp--;
24458 if (state.failed) return ;
24459 pushFollow(FOLLOW_2);
24460 rule__ALSRunCommand__Group_4_2__1();
24461
24462 state._fsp--;
24463 if (state.failed) return ;
24464
24465 }
24466
24467 }
24468 catch (RecognitionException re) {
24469 reportError(re);
24470 recover(input,re);
24471 }
24472 finally {
24473
24474 restoreStackSize(stackSize);
24475
24476 }
24477 return ;
24478 }
24479 // $ANTLR end "rule__ALSRunCommand__Group_4_2__0"
24480
24481
24482 // $ANTLR start "rule__ALSRunCommand__Group_4_2__0__Impl"
24483 // InternalAlloyLanguage.g:8730:1: rule__ALSRunCommand__Group_4_2__0__Impl : ( ',' ) ;
24484 public final void rule__ALSRunCommand__Group_4_2__0__Impl() throws RecognitionException {
24485
24486 int stackSize = keepStackSize();
24487
24488 try {
24489 // InternalAlloyLanguage.g:8734:1: ( ( ',' ) )
24490 // InternalAlloyLanguage.g:8735:1: ( ',' )
24491 {
24492 // InternalAlloyLanguage.g:8735:1: ( ',' )
24493 // InternalAlloyLanguage.g:8736:1: ','
24494 {
24495 if ( state.backtracking==0 ) {
24496 before(grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
24497 }
24498 match(input,35,FOLLOW_2); if (state.failed) return ;
24499 if ( state.backtracking==0 ) {
24500 after(grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
24501 }
24502
24503 }
24504
24505
24506 }
24507
24508 }
24509 catch (RecognitionException re) {
24510 reportError(re);
24511 recover(input,re);
24512 }
24513 finally {
24514
24515 restoreStackSize(stackSize);
24516
24517 }
24518 return ;
24519 }
24520 // $ANTLR end "rule__ALSRunCommand__Group_4_2__0__Impl"
24521
24522
24523 // $ANTLR start "rule__ALSRunCommand__Group_4_2__1"
24524 // InternalAlloyLanguage.g:8749:1: rule__ALSRunCommand__Group_4_2__1 : rule__ALSRunCommand__Group_4_2__1__Impl ;
24525 public final void rule__ALSRunCommand__Group_4_2__1() throws RecognitionException {
24526
24527 int stackSize = keepStackSize();
24528
24529 try {
24530 // InternalAlloyLanguage.g:8753:1: ( rule__ALSRunCommand__Group_4_2__1__Impl )
24531 // InternalAlloyLanguage.g:8754:2: rule__ALSRunCommand__Group_4_2__1__Impl
24532 {
24533 pushFollow(FOLLOW_2);
24534 rule__ALSRunCommand__Group_4_2__1__Impl();
24535
24536 state._fsp--;
24537 if (state.failed) return ;
24538
24539 }
24540
24541 }
24542 catch (RecognitionException re) {
24543 reportError(re);
24544 recover(input,re);
24545 }
24546 finally {
24547
24548 restoreStackSize(stackSize);
24549
24550 }
24551 return ;
24552 }
24553 // $ANTLR end "rule__ALSRunCommand__Group_4_2__1"
24554
24555
24556 // $ANTLR start "rule__ALSRunCommand__Group_4_2__1__Impl"
24557 // InternalAlloyLanguage.g:8760:1: rule__ALSRunCommand__Group_4_2__1__Impl : ( ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 ) ) ;
24558 public final void rule__ALSRunCommand__Group_4_2__1__Impl() throws RecognitionException {
24559
24560 int stackSize = keepStackSize();
24561
24562 try {
24563 // InternalAlloyLanguage.g:8764:1: ( ( ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 ) ) )
24564 // InternalAlloyLanguage.g:8765:1: ( ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 ) )
24565 {
24566 // InternalAlloyLanguage.g:8765:1: ( ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 ) )
24567 // InternalAlloyLanguage.g:8766:1: ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 )
24568 {
24569 if ( state.backtracking==0 ) {
24570 before(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_2_1());
24571 }
24572 // InternalAlloyLanguage.g:8767:1: ( rule__ALSRunCommand__TypeScopesAssignment_4_2_1 )
24573 // InternalAlloyLanguage.g:8767:2: rule__ALSRunCommand__TypeScopesAssignment_4_2_1
24574 {
24575 pushFollow(FOLLOW_2);
24576 rule__ALSRunCommand__TypeScopesAssignment_4_2_1();
24577
24578 state._fsp--;
24579 if (state.failed) return ;
24580
24581 }
24582
24583 if ( state.backtracking==0 ) {
24584 after(grammarAccess.getALSRunCommandAccess().getTypeScopesAssignment_4_2_1());
24585 }
24586
24587 }
24588
24589
24590 }
24591
24592 }
24593 catch (RecognitionException re) {
24594 reportError(re);
24595 recover(input,re);
24596 }
24597 finally {
24598
24599 restoreStackSize(stackSize);
24600
24601 }
24602 return ;
24603 }
24604 // $ANTLR end "rule__ALSRunCommand__Group_4_2__1__Impl"
24605
24606
24607 // $ANTLR start "rule__ALSSigScope__Group__0"
24608 // InternalAlloyLanguage.g:8781:1: rule__ALSSigScope__Group__0 : rule__ALSSigScope__Group__0__Impl rule__ALSSigScope__Group__1 ;
24609 public final void rule__ALSSigScope__Group__0() throws RecognitionException {
24610
24611 int stackSize = keepStackSize();
24612
24613 try {
24614 // InternalAlloyLanguage.g:8785:1: ( rule__ALSSigScope__Group__0__Impl rule__ALSSigScope__Group__1 )
24615 // InternalAlloyLanguage.g:8786:2: rule__ALSSigScope__Group__0__Impl rule__ALSSigScope__Group__1
24616 {
24617 pushFollow(FOLLOW_63);
24618 rule__ALSSigScope__Group__0__Impl();
24619
24620 state._fsp--;
24621 if (state.failed) return ;
24622 pushFollow(FOLLOW_2);
24623 rule__ALSSigScope__Group__1();
24624
24625 state._fsp--;
24626 if (state.failed) return ;
24627
24628 }
24629
24630 }
24631 catch (RecognitionException re) {
24632 reportError(re);
24633 recover(input,re);
24634 }
24635 finally {
24636
24637 restoreStackSize(stackSize);
24638
24639 }
24640 return ;
24641 }
24642 // $ANTLR end "rule__ALSSigScope__Group__0"
24643
24644
24645 // $ANTLR start "rule__ALSSigScope__Group__0__Impl"
24646 // InternalAlloyLanguage.g:8793:1: rule__ALSSigScope__Group__0__Impl : ( ( rule__ALSSigScope__ExactlyAssignment_0 )? ) ;
24647 public final void rule__ALSSigScope__Group__0__Impl() throws RecognitionException {
24648
24649 int stackSize = keepStackSize();
24650
24651 try {
24652 // InternalAlloyLanguage.g:8797:1: ( ( ( rule__ALSSigScope__ExactlyAssignment_0 )? ) )
24653 // InternalAlloyLanguage.g:8798:1: ( ( rule__ALSSigScope__ExactlyAssignment_0 )? )
24654 {
24655 // InternalAlloyLanguage.g:8798:1: ( ( rule__ALSSigScope__ExactlyAssignment_0 )? )
24656 // InternalAlloyLanguage.g:8799:1: ( rule__ALSSigScope__ExactlyAssignment_0 )?
24657 {
24658 if ( state.backtracking==0 ) {
24659 before(grammarAccess.getALSSigScopeAccess().getExactlyAssignment_0());
24660 }
24661 // InternalAlloyLanguage.g:8800:1: ( rule__ALSSigScope__ExactlyAssignment_0 )?
24662 int alt50=2;
24663 int LA50_0 = input.LA(1);
24664
24665 if ( (LA50_0==74) ) {
24666 alt50=1;
24667 }
24668 switch (alt50) {
24669 case 1 :
24670 // InternalAlloyLanguage.g:8800:2: rule__ALSSigScope__ExactlyAssignment_0
24671 {
24672 pushFollow(FOLLOW_2);
24673 rule__ALSSigScope__ExactlyAssignment_0();
24674
24675 state._fsp--;
24676 if (state.failed) return ;
24677
24678 }
24679 break;
24680
24681 }
24682
24683 if ( state.backtracking==0 ) {
24684 after(grammarAccess.getALSSigScopeAccess().getExactlyAssignment_0());
24685 }
24686
24687 }
24688
24689
24690 }
24691
24692 }
24693 catch (RecognitionException re) {
24694 reportError(re);
24695 recover(input,re);
24696 }
24697 finally {
24698
24699 restoreStackSize(stackSize);
24700
24701 }
24702 return ;
24703 }
24704 // $ANTLR end "rule__ALSSigScope__Group__0__Impl"
24705
24706
24707 // $ANTLR start "rule__ALSSigScope__Group__1"
24708 // InternalAlloyLanguage.g:8810:1: rule__ALSSigScope__Group__1 : rule__ALSSigScope__Group__1__Impl rule__ALSSigScope__Group__2 ;
24709 public final void rule__ALSSigScope__Group__1() throws RecognitionException {
24710
24711 int stackSize = keepStackSize();
24712
24713 try {
24714 // InternalAlloyLanguage.g:8814:1: ( rule__ALSSigScope__Group__1__Impl rule__ALSSigScope__Group__2 )
24715 // InternalAlloyLanguage.g:8815:2: rule__ALSSigScope__Group__1__Impl rule__ALSSigScope__Group__2
24716 {
24717 pushFollow(FOLLOW_5);
24718 rule__ALSSigScope__Group__1__Impl();
24719
24720 state._fsp--;
24721 if (state.failed) return ;
24722 pushFollow(FOLLOW_2);
24723 rule__ALSSigScope__Group__2();
24724
24725 state._fsp--;
24726 if (state.failed) return ;
24727
24728 }
24729
24730 }
24731 catch (RecognitionException re) {
24732 reportError(re);
24733 recover(input,re);
24734 }
24735 finally {
24736
24737 restoreStackSize(stackSize);
24738
24739 }
24740 return ;
24741 }
24742 // $ANTLR end "rule__ALSSigScope__Group__1"
24743
24744
24745 // $ANTLR start "rule__ALSSigScope__Group__1__Impl"
24746 // InternalAlloyLanguage.g:8822:1: rule__ALSSigScope__Group__1__Impl : ( ( rule__ALSSigScope__NumberAssignment_1 ) ) ;
24747 public final void rule__ALSSigScope__Group__1__Impl() throws RecognitionException {
24748
24749 int stackSize = keepStackSize();
24750
24751 try {
24752 // InternalAlloyLanguage.g:8826:1: ( ( ( rule__ALSSigScope__NumberAssignment_1 ) ) )
24753 // InternalAlloyLanguage.g:8827:1: ( ( rule__ALSSigScope__NumberAssignment_1 ) )
24754 {
24755 // InternalAlloyLanguage.g:8827:1: ( ( rule__ALSSigScope__NumberAssignment_1 ) )
24756 // InternalAlloyLanguage.g:8828:1: ( rule__ALSSigScope__NumberAssignment_1 )
24757 {
24758 if ( state.backtracking==0 ) {
24759 before(grammarAccess.getALSSigScopeAccess().getNumberAssignment_1());
24760 }
24761 // InternalAlloyLanguage.g:8829:1: ( rule__ALSSigScope__NumberAssignment_1 )
24762 // InternalAlloyLanguage.g:8829:2: rule__ALSSigScope__NumberAssignment_1
24763 {
24764 pushFollow(FOLLOW_2);
24765 rule__ALSSigScope__NumberAssignment_1();
24766
24767 state._fsp--;
24768 if (state.failed) return ;
24769
24770 }
24771
24772 if ( state.backtracking==0 ) {
24773 after(grammarAccess.getALSSigScopeAccess().getNumberAssignment_1());
24774 }
24775
24776 }
24777
24778
24779 }
24780
24781 }
24782 catch (RecognitionException re) {
24783 reportError(re);
24784 recover(input,re);
24785 }
24786 finally {
24787
24788 restoreStackSize(stackSize);
24789
24790 }
24791 return ;
24792 }
24793 // $ANTLR end "rule__ALSSigScope__Group__1__Impl"
24794
24795
24796 // $ANTLR start "rule__ALSSigScope__Group__2"
24797 // InternalAlloyLanguage.g:8839:1: rule__ALSSigScope__Group__2 : rule__ALSSigScope__Group__2__Impl ;
24798 public final void rule__ALSSigScope__Group__2() throws RecognitionException {
24799
24800 int stackSize = keepStackSize();
24801
24802 try {
24803 // InternalAlloyLanguage.g:8843:1: ( rule__ALSSigScope__Group__2__Impl )
24804 // InternalAlloyLanguage.g:8844:2: rule__ALSSigScope__Group__2__Impl
24805 {
24806 pushFollow(FOLLOW_2);
24807 rule__ALSSigScope__Group__2__Impl();
24808
24809 state._fsp--;
24810 if (state.failed) return ;
24811
24812 }
24813
24814 }
24815 catch (RecognitionException re) {
24816 reportError(re);
24817 recover(input,re);
24818 }
24819 finally {
24820
24821 restoreStackSize(stackSize);
24822
24823 }
24824 return ;
24825 }
24826 // $ANTLR end "rule__ALSSigScope__Group__2"
24827
24828
24829 // $ANTLR start "rule__ALSSigScope__Group__2__Impl"
24830 // InternalAlloyLanguage.g:8850:1: rule__ALSSigScope__Group__2__Impl : ( ( rule__ALSSigScope__TypeAssignment_2 ) ) ;
24831 public final void rule__ALSSigScope__Group__2__Impl() throws RecognitionException {
24832
24833 int stackSize = keepStackSize();
24834
24835 try {
24836 // InternalAlloyLanguage.g:8854:1: ( ( ( rule__ALSSigScope__TypeAssignment_2 ) ) )
24837 // InternalAlloyLanguage.g:8855:1: ( ( rule__ALSSigScope__TypeAssignment_2 ) )
24838 {
24839 // InternalAlloyLanguage.g:8855:1: ( ( rule__ALSSigScope__TypeAssignment_2 ) )
24840 // InternalAlloyLanguage.g:8856:1: ( rule__ALSSigScope__TypeAssignment_2 )
24841 {
24842 if ( state.backtracking==0 ) {
24843 before(grammarAccess.getALSSigScopeAccess().getTypeAssignment_2());
24844 }
24845 // InternalAlloyLanguage.g:8857:1: ( rule__ALSSigScope__TypeAssignment_2 )
24846 // InternalAlloyLanguage.g:8857:2: rule__ALSSigScope__TypeAssignment_2
24847 {
24848 pushFollow(FOLLOW_2);
24849 rule__ALSSigScope__TypeAssignment_2();
24850
24851 state._fsp--;
24852 if (state.failed) return ;
24853
24854 }
24855
24856 if ( state.backtracking==0 ) {
24857 after(grammarAccess.getALSSigScopeAccess().getTypeAssignment_2());
24858 }
24859
24860 }
24861
24862
24863 }
24864
24865 }
24866 catch (RecognitionException re) {
24867 reportError(re);
24868 recover(input,re);
24869 }
24870 finally {
24871
24872 restoreStackSize(stackSize);
24873
24874 }
24875 return ;
24876 }
24877 // $ANTLR end "rule__ALSSigScope__Group__2__Impl"
24878
24879
24880 // $ANTLR start "rule__ALSIntScope__Group__0"
24881 // InternalAlloyLanguage.g:8873:1: rule__ALSIntScope__Group__0 : rule__ALSIntScope__Group__0__Impl rule__ALSIntScope__Group__1 ;
24882 public final void rule__ALSIntScope__Group__0() throws RecognitionException {
24883
24884 int stackSize = keepStackSize();
24885
24886 try {
24887 // InternalAlloyLanguage.g:8877:1: ( rule__ALSIntScope__Group__0__Impl rule__ALSIntScope__Group__1 )
24888 // InternalAlloyLanguage.g:8878:2: rule__ALSIntScope__Group__0__Impl rule__ALSIntScope__Group__1
24889 {
24890 pushFollow(FOLLOW_57);
24891 rule__ALSIntScope__Group__0__Impl();
24892
24893 state._fsp--;
24894 if (state.failed) return ;
24895 pushFollow(FOLLOW_2);
24896 rule__ALSIntScope__Group__1();
24897
24898 state._fsp--;
24899 if (state.failed) return ;
24900
24901 }
24902
24903 }
24904 catch (RecognitionException re) {
24905 reportError(re);
24906 recover(input,re);
24907 }
24908 finally {
24909
24910 restoreStackSize(stackSize);
24911
24912 }
24913 return ;
24914 }
24915 // $ANTLR end "rule__ALSIntScope__Group__0"
24916
24917
24918 // $ANTLR start "rule__ALSIntScope__Group__0__Impl"
24919 // InternalAlloyLanguage.g:8885:1: rule__ALSIntScope__Group__0__Impl : ( ( rule__ALSIntScope__NumberAssignment_0 ) ) ;
24920 public final void rule__ALSIntScope__Group__0__Impl() throws RecognitionException {
24921
24922 int stackSize = keepStackSize();
24923
24924 try {
24925 // InternalAlloyLanguage.g:8889:1: ( ( ( rule__ALSIntScope__NumberAssignment_0 ) ) )
24926 // InternalAlloyLanguage.g:8890:1: ( ( rule__ALSIntScope__NumberAssignment_0 ) )
24927 {
24928 // InternalAlloyLanguage.g:8890:1: ( ( rule__ALSIntScope__NumberAssignment_0 ) )
24929 // InternalAlloyLanguage.g:8891:1: ( rule__ALSIntScope__NumberAssignment_0 )
24930 {
24931 if ( state.backtracking==0 ) {
24932 before(grammarAccess.getALSIntScopeAccess().getNumberAssignment_0());
24933 }
24934 // InternalAlloyLanguage.g:8892:1: ( rule__ALSIntScope__NumberAssignment_0 )
24935 // InternalAlloyLanguage.g:8892:2: rule__ALSIntScope__NumberAssignment_0
24936 {
24937 pushFollow(FOLLOW_2);
24938 rule__ALSIntScope__NumberAssignment_0();
24939
24940 state._fsp--;
24941 if (state.failed) return ;
24942
24943 }
24944
24945 if ( state.backtracking==0 ) {
24946 after(grammarAccess.getALSIntScopeAccess().getNumberAssignment_0());
24947 }
24948
24949 }
24950
24951
24952 }
24953
24954 }
24955 catch (RecognitionException re) {
24956 reportError(re);
24957 recover(input,re);
24958 }
24959 finally {
24960
24961 restoreStackSize(stackSize);
24962
24963 }
24964 return ;
24965 }
24966 // $ANTLR end "rule__ALSIntScope__Group__0__Impl"
24967
24968
24969 // $ANTLR start "rule__ALSIntScope__Group__1"
24970 // InternalAlloyLanguage.g:8902:1: rule__ALSIntScope__Group__1 : rule__ALSIntScope__Group__1__Impl ;
24971 public final void rule__ALSIntScope__Group__1() throws RecognitionException {
24972
24973 int stackSize = keepStackSize();
24974
24975 try {
24976 // InternalAlloyLanguage.g:8906:1: ( rule__ALSIntScope__Group__1__Impl )
24977 // InternalAlloyLanguage.g:8907:2: rule__ALSIntScope__Group__1__Impl
24978 {
24979 pushFollow(FOLLOW_2);
24980 rule__ALSIntScope__Group__1__Impl();
24981
24982 state._fsp--;
24983 if (state.failed) return ;
24984
24985 }
24986
24987 }
24988 catch (RecognitionException re) {
24989 reportError(re);
24990 recover(input,re);
24991 }
24992 finally {
24993
24994 restoreStackSize(stackSize);
24995
24996 }
24997 return ;
24998 }
24999 // $ANTLR end "rule__ALSIntScope__Group__1"
25000
25001
25002 // $ANTLR start "rule__ALSIntScope__Group__1__Impl"
25003 // InternalAlloyLanguage.g:8913:1: rule__ALSIntScope__Group__1__Impl : ( 'Int' ) ;
25004 public final void rule__ALSIntScope__Group__1__Impl() throws RecognitionException {
25005
25006 int stackSize = keepStackSize();
25007
25008 try {
25009 // InternalAlloyLanguage.g:8917:1: ( ( 'Int' ) )
25010 // InternalAlloyLanguage.g:8918:1: ( 'Int' )
25011 {
25012 // InternalAlloyLanguage.g:8918:1: ( 'Int' )
25013 // InternalAlloyLanguage.g:8919:1: 'Int'
25014 {
25015 if ( state.backtracking==0 ) {
25016 before(grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
25017 }
25018 match(input,68,FOLLOW_2); if (state.failed) return ;
25019 if ( state.backtracking==0 ) {
25020 after(grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
25021 }
25022
25023 }
25024
25025
25026 }
25027
25028 }
25029 catch (RecognitionException re) {
25030 reportError(re);
25031 recover(input,re);
25032 }
25033 finally {
25034
25035 restoreStackSize(stackSize);
25036
25037 }
25038 return ;
25039 }
25040 // $ANTLR end "rule__ALSIntScope__Group__1__Impl"
25041
25042
25043 // $ANTLR start "rule__ALSStringScope__Group__0"
25044 // InternalAlloyLanguage.g:8936:1: rule__ALSStringScope__Group__0 : rule__ALSStringScope__Group__0__Impl rule__ALSStringScope__Group__1 ;
25045 public final void rule__ALSStringScope__Group__0() throws RecognitionException {
25046
25047 int stackSize = keepStackSize();
25048
25049 try {
25050 // InternalAlloyLanguage.g:8940:1: ( rule__ALSStringScope__Group__0__Impl rule__ALSStringScope__Group__1 )
25051 // InternalAlloyLanguage.g:8941:2: rule__ALSStringScope__Group__0__Impl rule__ALSStringScope__Group__1
25052 {
25053 pushFollow(FOLLOW_59);
25054 rule__ALSStringScope__Group__0__Impl();
25055
25056 state._fsp--;
25057 if (state.failed) return ;
25058 pushFollow(FOLLOW_2);
25059 rule__ALSStringScope__Group__1();
25060
25061 state._fsp--;
25062 if (state.failed) return ;
25063
25064 }
25065
25066 }
25067 catch (RecognitionException re) {
25068 reportError(re);
25069 recover(input,re);
25070 }
25071 finally {
25072
25073 restoreStackSize(stackSize);
25074
25075 }
25076 return ;
25077 }
25078 // $ANTLR end "rule__ALSStringScope__Group__0"
25079
25080
25081 // $ANTLR start "rule__ALSStringScope__Group__0__Impl"
25082 // InternalAlloyLanguage.g:8948:1: rule__ALSStringScope__Group__0__Impl : ( 'exactly' ) ;
25083 public final void rule__ALSStringScope__Group__0__Impl() throws RecognitionException {
25084
25085 int stackSize = keepStackSize();
25086
25087 try {
25088 // InternalAlloyLanguage.g:8952:1: ( ( 'exactly' ) )
25089 // InternalAlloyLanguage.g:8953:1: ( 'exactly' )
25090 {
25091 // InternalAlloyLanguage.g:8953:1: ( 'exactly' )
25092 // InternalAlloyLanguage.g:8954:1: 'exactly'
25093 {
25094 if ( state.backtracking==0 ) {
25095 before(grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0());
25096 }
25097 match(input,74,FOLLOW_2); if (state.failed) return ;
25098 if ( state.backtracking==0 ) {
25099 after(grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0());
25100 }
25101
25102 }
25103
25104
25105 }
25106
25107 }
25108 catch (RecognitionException re) {
25109 reportError(re);
25110 recover(input,re);
25111 }
25112 finally {
25113
25114 restoreStackSize(stackSize);
25115
25116 }
25117 return ;
25118 }
25119 // $ANTLR end "rule__ALSStringScope__Group__0__Impl"
25120
25121
25122 // $ANTLR start "rule__ALSStringScope__Group__1"
25123 // InternalAlloyLanguage.g:8967:1: rule__ALSStringScope__Group__1 : rule__ALSStringScope__Group__1__Impl rule__ALSStringScope__Group__2 ;
25124 public final void rule__ALSStringScope__Group__1() throws RecognitionException {
25125
25126 int stackSize = keepStackSize();
25127
25128 try {
25129 // InternalAlloyLanguage.g:8971:1: ( rule__ALSStringScope__Group__1__Impl rule__ALSStringScope__Group__2 )
25130 // InternalAlloyLanguage.g:8972:2: rule__ALSStringScope__Group__1__Impl rule__ALSStringScope__Group__2
25131 {
25132 pushFollow(FOLLOW_58);
25133 rule__ALSStringScope__Group__1__Impl();
25134
25135 state._fsp--;
25136 if (state.failed) return ;
25137 pushFollow(FOLLOW_2);
25138 rule__ALSStringScope__Group__2();
25139
25140 state._fsp--;
25141 if (state.failed) return ;
25142
25143 }
25144
25145 }
25146 catch (RecognitionException re) {
25147 reportError(re);
25148 recover(input,re);
25149 }
25150 finally {
25151
25152 restoreStackSize(stackSize);
25153
25154 }
25155 return ;
25156 }
25157 // $ANTLR end "rule__ALSStringScope__Group__1"
25158
25159
25160 // $ANTLR start "rule__ALSStringScope__Group__1__Impl"
25161 // InternalAlloyLanguage.g:8979:1: rule__ALSStringScope__Group__1__Impl : ( ( rule__ALSStringScope__NumberAssignment_1 ) ) ;
25162 public final void rule__ALSStringScope__Group__1__Impl() throws RecognitionException {
25163
25164 int stackSize = keepStackSize();
25165
25166 try {
25167 // InternalAlloyLanguage.g:8983:1: ( ( ( rule__ALSStringScope__NumberAssignment_1 ) ) )
25168 // InternalAlloyLanguage.g:8984:1: ( ( rule__ALSStringScope__NumberAssignment_1 ) )
25169 {
25170 // InternalAlloyLanguage.g:8984:1: ( ( rule__ALSStringScope__NumberAssignment_1 ) )
25171 // InternalAlloyLanguage.g:8985:1: ( rule__ALSStringScope__NumberAssignment_1 )
25172 {
25173 if ( state.backtracking==0 ) {
25174 before(grammarAccess.getALSStringScopeAccess().getNumberAssignment_1());
25175 }
25176 // InternalAlloyLanguage.g:8986:1: ( rule__ALSStringScope__NumberAssignment_1 )
25177 // InternalAlloyLanguage.g:8986:2: rule__ALSStringScope__NumberAssignment_1
25178 {
25179 pushFollow(FOLLOW_2);
25180 rule__ALSStringScope__NumberAssignment_1();
25181
25182 state._fsp--;
25183 if (state.failed) return ;
25184
25185 }
25186
25187 if ( state.backtracking==0 ) {
25188 after(grammarAccess.getALSStringScopeAccess().getNumberAssignment_1());
25189 }
25190
25191 }
25192
25193
25194 }
25195
25196 }
25197 catch (RecognitionException re) {
25198 reportError(re);
25199 recover(input,re);
25200 }
25201 finally {
25202
25203 restoreStackSize(stackSize);
25204
25205 }
25206 return ;
25207 }
25208 // $ANTLR end "rule__ALSStringScope__Group__1__Impl"
25209
25210
25211 // $ANTLR start "rule__ALSStringScope__Group__2"
25212 // InternalAlloyLanguage.g:8996:1: rule__ALSStringScope__Group__2 : rule__ALSStringScope__Group__2__Impl ;
25213 public final void rule__ALSStringScope__Group__2() throws RecognitionException {
25214
25215 int stackSize = keepStackSize();
25216
25217 try {
25218 // InternalAlloyLanguage.g:9000:1: ( rule__ALSStringScope__Group__2__Impl )
25219 // InternalAlloyLanguage.g:9001:2: rule__ALSStringScope__Group__2__Impl
25220 {
25221 pushFollow(FOLLOW_2);
25222 rule__ALSStringScope__Group__2__Impl();
25223
25224 state._fsp--;
25225 if (state.failed) return ;
25226
25227 }
25228
25229 }
25230 catch (RecognitionException re) {
25231 reportError(re);
25232 recover(input,re);
25233 }
25234 finally {
25235
25236 restoreStackSize(stackSize);
25237
25238 }
25239 return ;
25240 }
25241 // $ANTLR end "rule__ALSStringScope__Group__2"
25242
25243
25244 // $ANTLR start "rule__ALSStringScope__Group__2__Impl"
25245 // InternalAlloyLanguage.g:9007:1: rule__ALSStringScope__Group__2__Impl : ( 'String' ) ;
25246 public final void rule__ALSStringScope__Group__2__Impl() throws RecognitionException {
25247
25248 int stackSize = keepStackSize();
25249
25250 try {
25251 // InternalAlloyLanguage.g:9011:1: ( ( 'String' ) )
25252 // InternalAlloyLanguage.g:9012:1: ( 'String' )
25253 {
25254 // InternalAlloyLanguage.g:9012:1: ( 'String' )
25255 // InternalAlloyLanguage.g:9013:1: 'String'
25256 {
25257 if ( state.backtracking==0 ) {
25258 before(grammarAccess.getALSStringScopeAccess().getStringKeyword_2());
25259 }
25260 match(input,69,FOLLOW_2); if (state.failed) return ;
25261 if ( state.backtracking==0 ) {
25262 after(grammarAccess.getALSStringScopeAccess().getStringKeyword_2());
25263 }
25264
25265 }
25266
25267
25268 }
25269
25270 }
25271 catch (RecognitionException re) {
25272 reportError(re);
25273 recover(input,re);
25274 }
25275 finally {
25276
25277 restoreStackSize(stackSize);
25278
25279 }
25280 return ;
25281 }
25282 // $ANTLR end "rule__ALSStringScope__Group__2__Impl"
25283
25284
25285 // $ANTLR start "rule__ALSSignatureBody__UnorderedGroup_0"
25286 // InternalAlloyLanguage.g:9033:1: rule__ALSSignatureBody__UnorderedGroup_0 : ( rule__ALSSignatureBody__UnorderedGroup_0__0 )? ;
25287 public final void rule__ALSSignatureBody__UnorderedGroup_0() throws RecognitionException {
25288
25289 int stackSize = keepStackSize();
25290 getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
25291
25292 try {
25293 // InternalAlloyLanguage.g:9038:1: ( ( rule__ALSSignatureBody__UnorderedGroup_0__0 )? )
25294 // InternalAlloyLanguage.g:9039:2: ( rule__ALSSignatureBody__UnorderedGroup_0__0 )?
25295 {
25296 // InternalAlloyLanguage.g:9039:2: ( rule__ALSSignatureBody__UnorderedGroup_0__0 )?
25297 int alt51=2;
25298 int LA51_0 = input.LA(1);
25299
25300 if ( LA51_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25301 alt51=1;
25302 }
25303 else if ( LA51_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25304 alt51=1;
25305 }
25306 else if ( LA51_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25307 alt51=1;
25308 }
25309 else if ( LA51_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25310 alt51=1;
25311 }
25312 else if ( LA51_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25313 alt51=1;
25314 }
25315 else if ( LA51_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25316 alt51=1;
25317 }
25318 else if ( LA51_0 == 75 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
25319 alt51=1;
25320 }
25321 switch (alt51) {
25322 case 1 :
25323 // InternalAlloyLanguage.g:0:0: rule__ALSSignatureBody__UnorderedGroup_0__0
25324 {
25325 pushFollow(FOLLOW_2);
25326 rule__ALSSignatureBody__UnorderedGroup_0__0();
25327
25328 state._fsp--;
25329 if (state.failed) return ;
25330
25331 }
25332 break;
25333
25334 }
25335
25336
25337 }
25338
25339 }
25340 catch (RecognitionException re) {
25341 reportError(re);
25342 recover(input,re);
25343 }
25344 finally {
25345
25346 getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
25347 restoreStackSize(stackSize);
25348
25349 }
25350 return ;
25351 }
25352 // $ANTLR end "rule__ALSSignatureBody__UnorderedGroup_0"
25353
25354
25355 // $ANTLR start "rule__ALSSignatureBody__UnorderedGroup_0__Impl"
25356 // InternalAlloyLanguage.g:9049:1: rule__ALSSignatureBody__UnorderedGroup_0__Impl : ( ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) ) ) ;
25357 public final void rule__ALSSignatureBody__UnorderedGroup_0__Impl() throws RecognitionException {
25358
25359 int stackSize = keepStackSize();
25360 boolean selected = false;
25361
25362 try {
25363 // InternalAlloyLanguage.g:9054:1: ( ( ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) ) ) )
25364 // InternalAlloyLanguage.g:9055:3: ( ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) ) )
25365 {
25366 // InternalAlloyLanguage.g:9055:3: ( ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) ) )
25367 int alt52=2;
25368 int LA52_0 = input.LA(1);
25369
25370 if ( LA52_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25371 alt52=1;
25372 }
25373 else if ( LA52_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25374 alt52=1;
25375 }
25376 else if ( LA52_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25377 alt52=1;
25378 }
25379 else if ( LA52_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25380 alt52=1;
25381 }
25382 else if ( LA52_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25383 alt52=1;
25384 }
25385 else if ( LA52_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25386 alt52=1;
25387 }
25388 else if ( LA52_0 == 75 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
25389 alt52=2;
25390 }
25391 else {
25392 if (state.backtracking>0) {state.failed=true; return ;}
25393 NoViableAltException nvae =
25394 new NoViableAltException("", 52, 0, input);
25395
25396 throw nvae;
25397 }
25398 switch (alt52) {
25399 case 1 :
25400 // InternalAlloyLanguage.g:9057:4: ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) )
25401 {
25402 // InternalAlloyLanguage.g:9057:4: ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) )
25403 // InternalAlloyLanguage.g:9058:5: {...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) )
25404 {
25405 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25406 if (state.backtracking>0) {state.failed=true; return ;}
25407 throw new FailedPredicateException(input, "rule__ALSSignatureBody__UnorderedGroup_0__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)");
25408 }
25409 // InternalAlloyLanguage.g:9058:113: ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) )
25410 // InternalAlloyLanguage.g:9059:6: ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) )
25411 {
25412 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
25413 selected = true;
25414 // InternalAlloyLanguage.g:9065:6: ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) )
25415 // InternalAlloyLanguage.g:9067:7: ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 )
25416 {
25417 if ( state.backtracking==0 ) {
25418 before(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0());
25419 }
25420 // InternalAlloyLanguage.g:9068:7: ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 )
25421 // InternalAlloyLanguage.g:9068:8: rule__ALSSignatureBody__MultiplicityAssignment_0_0
25422 {
25423 pushFollow(FOLLOW_2);
25424 rule__ALSSignatureBody__MultiplicityAssignment_0_0();
25425
25426 state._fsp--;
25427 if (state.failed) return ;
25428
25429 }
25430
25431 if ( state.backtracking==0 ) {
25432 after(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0());
25433 }
25434
25435 }
25436
25437
25438 }
25439
25440
25441 }
25442
25443
25444 }
25445 break;
25446 case 2 :
25447 // InternalAlloyLanguage.g:9074:4: ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) )
25448 {
25449 // InternalAlloyLanguage.g:9074:4: ({...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) ) )
25450 // InternalAlloyLanguage.g:9075:5: {...}? => ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) )
25451 {
25452 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
25453 if (state.backtracking>0) {state.failed=true; return ;}
25454 throw new FailedPredicateException(input, "rule__ALSSignatureBody__UnorderedGroup_0__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)");
25455 }
25456 // InternalAlloyLanguage.g:9075:113: ( ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) ) )
25457 // InternalAlloyLanguage.g:9076:6: ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) )
25458 {
25459 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1);
25460 selected = true;
25461 // InternalAlloyLanguage.g:9082:6: ( ( rule__ALSSignatureBody__AbstractAssignment_0_1 ) )
25462 // InternalAlloyLanguage.g:9084:7: ( rule__ALSSignatureBody__AbstractAssignment_0_1 )
25463 {
25464 if ( state.backtracking==0 ) {
25465 before(grammarAccess.getALSSignatureBodyAccess().getAbstractAssignment_0_1());
25466 }
25467 // InternalAlloyLanguage.g:9085:7: ( rule__ALSSignatureBody__AbstractAssignment_0_1 )
25468 // InternalAlloyLanguage.g:9085:8: rule__ALSSignatureBody__AbstractAssignment_0_1
25469 {
25470 pushFollow(FOLLOW_2);
25471 rule__ALSSignatureBody__AbstractAssignment_0_1();
25472
25473 state._fsp--;
25474 if (state.failed) return ;
25475
25476 }
25477
25478 if ( state.backtracking==0 ) {
25479 after(grammarAccess.getALSSignatureBodyAccess().getAbstractAssignment_0_1());
25480 }
25481
25482 }
25483
25484
25485 }
25486
25487
25488 }
25489
25490
25491 }
25492 break;
25493
25494 }
25495
25496
25497 }
25498
25499 }
25500 catch (RecognitionException re) {
25501 reportError(re);
25502 recover(input,re);
25503 }
25504 finally {
25505
25506 if (selected)
25507 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
25508 restoreStackSize(stackSize);
25509
25510 }
25511 return ;
25512 }
25513 // $ANTLR end "rule__ALSSignatureBody__UnorderedGroup_0__Impl"
25514
25515
25516 // $ANTLR start "rule__ALSSignatureBody__UnorderedGroup_0__0"
25517 // InternalAlloyLanguage.g:9100:1: rule__ALSSignatureBody__UnorderedGroup_0__0 : rule__ALSSignatureBody__UnorderedGroup_0__Impl ( rule__ALSSignatureBody__UnorderedGroup_0__1 )? ;
25518 public final void rule__ALSSignatureBody__UnorderedGroup_0__0() throws RecognitionException {
25519
25520 int stackSize = keepStackSize();
25521
25522 try {
25523 // InternalAlloyLanguage.g:9104:1: ( rule__ALSSignatureBody__UnorderedGroup_0__Impl ( rule__ALSSignatureBody__UnorderedGroup_0__1 )? )
25524 // InternalAlloyLanguage.g:9105:2: rule__ALSSignatureBody__UnorderedGroup_0__Impl ( rule__ALSSignatureBody__UnorderedGroup_0__1 )?
25525 {
25526 pushFollow(FOLLOW_64);
25527 rule__ALSSignatureBody__UnorderedGroup_0__Impl();
25528
25529 state._fsp--;
25530 if (state.failed) return ;
25531 // InternalAlloyLanguage.g:9106:2: ( rule__ALSSignatureBody__UnorderedGroup_0__1 )?
25532 int alt53=2;
25533 int LA53_0 = input.LA(1);
25534
25535 if ( LA53_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25536 alt53=1;
25537 }
25538 else if ( LA53_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25539 alt53=1;
25540 }
25541 else if ( LA53_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25542 alt53=1;
25543 }
25544 else if ( LA53_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25545 alt53=1;
25546 }
25547 else if ( LA53_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25548 alt53=1;
25549 }
25550 else if ( LA53_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
25551 alt53=1;
25552 }
25553 else if ( LA53_0 == 75 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
25554 alt53=1;
25555 }
25556 switch (alt53) {
25557 case 1 :
25558 // InternalAlloyLanguage.g:0:0: rule__ALSSignatureBody__UnorderedGroup_0__1
25559 {
25560 pushFollow(FOLLOW_2);
25561 rule__ALSSignatureBody__UnorderedGroup_0__1();
25562
25563 state._fsp--;
25564 if (state.failed) return ;
25565
25566 }
25567 break;
25568
25569 }
25570
25571
25572 }
25573
25574 }
25575 catch (RecognitionException re) {
25576 reportError(re);
25577 recover(input,re);
25578 }
25579 finally {
25580
25581 restoreStackSize(stackSize);
25582
25583 }
25584 return ;
25585 }
25586 // $ANTLR end "rule__ALSSignatureBody__UnorderedGroup_0__0"
25587
25588
25589 // $ANTLR start "rule__ALSSignatureBody__UnorderedGroup_0__1"
25590 // InternalAlloyLanguage.g:9113:1: rule__ALSSignatureBody__UnorderedGroup_0__1 : rule__ALSSignatureBody__UnorderedGroup_0__Impl ;
25591 public final void rule__ALSSignatureBody__UnorderedGroup_0__1() throws RecognitionException {
25592
25593 int stackSize = keepStackSize();
25594
25595 try {
25596 // InternalAlloyLanguage.g:9117:1: ( rule__ALSSignatureBody__UnorderedGroup_0__Impl )
25597 // InternalAlloyLanguage.g:9118:2: rule__ALSSignatureBody__UnorderedGroup_0__Impl
25598 {
25599 pushFollow(FOLLOW_2);
25600 rule__ALSSignatureBody__UnorderedGroup_0__Impl();
25601
25602 state._fsp--;
25603 if (state.failed) return ;
25604
25605 }
25606
25607 }
25608 catch (RecognitionException re) {
25609 reportError(re);
25610 recover(input,re);
25611 }
25612 finally {
25613
25614 restoreStackSize(stackSize);
25615
25616 }
25617 return ;
25618 }
25619 // $ANTLR end "rule__ALSSignatureBody__UnorderedGroup_0__1"
25620
25621
25622 // $ANTLR start "rule__ALSDocument__EnumDeclarationsAssignment_0_0"
25623 // InternalAlloyLanguage.g:9129:1: rule__ALSDocument__EnumDeclarationsAssignment_0_0 : ( ruleALSEnumDeclaration ) ;
25624 public final void rule__ALSDocument__EnumDeclarationsAssignment_0_0() throws RecognitionException {
25625
25626 int stackSize = keepStackSize();
25627
25628 try {
25629 // InternalAlloyLanguage.g:9133:1: ( ( ruleALSEnumDeclaration ) )
25630 // InternalAlloyLanguage.g:9134:1: ( ruleALSEnumDeclaration )
25631 {
25632 // InternalAlloyLanguage.g:9134:1: ( ruleALSEnumDeclaration )
25633 // InternalAlloyLanguage.g:9135:1: ruleALSEnumDeclaration
25634 {
25635 if ( state.backtracking==0 ) {
25636 before(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0());
25637 }
25638 pushFollow(FOLLOW_2);
25639 ruleALSEnumDeclaration();
25640
25641 state._fsp--;
25642 if (state.failed) return ;
25643 if ( state.backtracking==0 ) {
25644 after(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0());
25645 }
25646
25647 }
25648
25649
25650 }
25651
25652 }
25653 catch (RecognitionException re) {
25654 reportError(re);
25655 recover(input,re);
25656 }
25657 finally {
25658
25659 restoreStackSize(stackSize);
25660
25661 }
25662 return ;
25663 }
25664 // $ANTLR end "rule__ALSDocument__EnumDeclarationsAssignment_0_0"
25665
25666
25667 // $ANTLR start "rule__ALSDocument__SignatureBodiesAssignment_0_1"
25668 // InternalAlloyLanguage.g:9144:1: rule__ALSDocument__SignatureBodiesAssignment_0_1 : ( ruleALSSignatureBody ) ;
25669 public final void rule__ALSDocument__SignatureBodiesAssignment_0_1() throws RecognitionException {
25670
25671 int stackSize = keepStackSize();
25672
25673 try {
25674 // InternalAlloyLanguage.g:9148:1: ( ( ruleALSSignatureBody ) )
25675 // InternalAlloyLanguage.g:9149:1: ( ruleALSSignatureBody )
25676 {
25677 // InternalAlloyLanguage.g:9149:1: ( ruleALSSignatureBody )
25678 // InternalAlloyLanguage.g:9150:1: ruleALSSignatureBody
25679 {
25680 if ( state.backtracking==0 ) {
25681 before(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0());
25682 }
25683 pushFollow(FOLLOW_2);
25684 ruleALSSignatureBody();
25685
25686 state._fsp--;
25687 if (state.failed) return ;
25688 if ( state.backtracking==0 ) {
25689 after(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0());
25690 }
25691
25692 }
25693
25694
25695 }
25696
25697 }
25698 catch (RecognitionException re) {
25699 reportError(re);
25700 recover(input,re);
25701 }
25702 finally {
25703
25704 restoreStackSize(stackSize);
25705
25706 }
25707 return ;
25708 }
25709 // $ANTLR end "rule__ALSDocument__SignatureBodiesAssignment_0_1"
25710
25711
25712 // $ANTLR start "rule__ALSDocument__FunctionDefinitionsAssignment_0_2"
25713 // InternalAlloyLanguage.g:9159:1: rule__ALSDocument__FunctionDefinitionsAssignment_0_2 : ( ruleALSFunctionDefinition ) ;
25714 public final void rule__ALSDocument__FunctionDefinitionsAssignment_0_2() throws RecognitionException {
25715
25716 int stackSize = keepStackSize();
25717
25718 try {
25719 // InternalAlloyLanguage.g:9163:1: ( ( ruleALSFunctionDefinition ) )
25720 // InternalAlloyLanguage.g:9164:1: ( ruleALSFunctionDefinition )
25721 {
25722 // InternalAlloyLanguage.g:9164:1: ( ruleALSFunctionDefinition )
25723 // InternalAlloyLanguage.g:9165:1: ruleALSFunctionDefinition
25724 {
25725 if ( state.backtracking==0 ) {
25726 before(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0());
25727 }
25728 pushFollow(FOLLOW_2);
25729 ruleALSFunctionDefinition();
25730
25731 state._fsp--;
25732 if (state.failed) return ;
25733 if ( state.backtracking==0 ) {
25734 after(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0());
25735 }
25736
25737 }
25738
25739
25740 }
25741
25742 }
25743 catch (RecognitionException re) {
25744 reportError(re);
25745 recover(input,re);
25746 }
25747 finally {
25748
25749 restoreStackSize(stackSize);
25750
25751 }
25752 return ;
25753 }
25754 // $ANTLR end "rule__ALSDocument__FunctionDefinitionsAssignment_0_2"
25755
25756
25757 // $ANTLR start "rule__ALSDocument__RelationDefinitionsAssignment_0_3"
25758 // InternalAlloyLanguage.g:9174:1: rule__ALSDocument__RelationDefinitionsAssignment_0_3 : ( ruleALSRelationDefinition ) ;
25759 public final void rule__ALSDocument__RelationDefinitionsAssignment_0_3() throws RecognitionException {
25760
25761 int stackSize = keepStackSize();
25762
25763 try {
25764 // InternalAlloyLanguage.g:9178:1: ( ( ruleALSRelationDefinition ) )
25765 // InternalAlloyLanguage.g:9179:1: ( ruleALSRelationDefinition )
25766 {
25767 // InternalAlloyLanguage.g:9179:1: ( ruleALSRelationDefinition )
25768 // InternalAlloyLanguage.g:9180:1: ruleALSRelationDefinition
25769 {
25770 if ( state.backtracking==0 ) {
25771 before(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0());
25772 }
25773 pushFollow(FOLLOW_2);
25774 ruleALSRelationDefinition();
25775
25776 state._fsp--;
25777 if (state.failed) return ;
25778 if ( state.backtracking==0 ) {
25779 after(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0());
25780 }
25781
25782 }
25783
25784
25785 }
25786
25787 }
25788 catch (RecognitionException re) {
25789 reportError(re);
25790 recover(input,re);
25791 }
25792 finally {
25793
25794 restoreStackSize(stackSize);
25795
25796 }
25797 return ;
25798 }
25799 // $ANTLR end "rule__ALSDocument__RelationDefinitionsAssignment_0_3"
25800
25801
25802 // $ANTLR start "rule__ALSDocument__FactDeclarationsAssignment_0_4"
25803 // InternalAlloyLanguage.g:9189:1: rule__ALSDocument__FactDeclarationsAssignment_0_4 : ( ruleALSFactDeclaration ) ;
25804 public final void rule__ALSDocument__FactDeclarationsAssignment_0_4() throws RecognitionException {
25805
25806 int stackSize = keepStackSize();
25807
25808 try {
25809 // InternalAlloyLanguage.g:9193:1: ( ( ruleALSFactDeclaration ) )
25810 // InternalAlloyLanguage.g:9194:1: ( ruleALSFactDeclaration )
25811 {
25812 // InternalAlloyLanguage.g:9194:1: ( ruleALSFactDeclaration )
25813 // InternalAlloyLanguage.g:9195:1: ruleALSFactDeclaration
25814 {
25815 if ( state.backtracking==0 ) {
25816 before(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0());
25817 }
25818 pushFollow(FOLLOW_2);
25819 ruleALSFactDeclaration();
25820
25821 state._fsp--;
25822 if (state.failed) return ;
25823 if ( state.backtracking==0 ) {
25824 after(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0());
25825 }
25826
25827 }
25828
25829
25830 }
25831
25832 }
25833 catch (RecognitionException re) {
25834 reportError(re);
25835 recover(input,re);
25836 }
25837 finally {
25838
25839 restoreStackSize(stackSize);
25840
25841 }
25842 return ;
25843 }
25844 // $ANTLR end "rule__ALSDocument__FactDeclarationsAssignment_0_4"
25845
25846
25847 // $ANTLR start "rule__ALSDocument__RunCommandAssignment_1"
25848 // InternalAlloyLanguage.g:9204:1: rule__ALSDocument__RunCommandAssignment_1 : ( ruleALSRunCommand ) ;
25849 public final void rule__ALSDocument__RunCommandAssignment_1() throws RecognitionException {
25850
25851 int stackSize = keepStackSize();
25852
25853 try {
25854 // InternalAlloyLanguage.g:9208:1: ( ( ruleALSRunCommand ) )
25855 // InternalAlloyLanguage.g:9209:1: ( ruleALSRunCommand )
25856 {
25857 // InternalAlloyLanguage.g:9209:1: ( ruleALSRunCommand )
25858 // InternalAlloyLanguage.g:9210:1: ruleALSRunCommand
25859 {
25860 if ( state.backtracking==0 ) {
25861 before(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0());
25862 }
25863 pushFollow(FOLLOW_2);
25864 ruleALSRunCommand();
25865
25866 state._fsp--;
25867 if (state.failed) return ;
25868 if ( state.backtracking==0 ) {
25869 after(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0());
25870 }
25871
25872 }
25873
25874
25875 }
25876
25877 }
25878 catch (RecognitionException re) {
25879 reportError(re);
25880 recover(input,re);
25881 }
25882 finally {
25883
25884 restoreStackSize(stackSize);
25885
25886 }
25887 return ;
25888 }
25889 // $ANTLR end "rule__ALSDocument__RunCommandAssignment_1"
25890
25891
25892 // $ANTLR start "rule__ALSEnumDeclaration__NameAssignment_1"
25893 // InternalAlloyLanguage.g:9219:1: rule__ALSEnumDeclaration__NameAssignment_1 : ( ruleALSID ) ;
25894 public final void rule__ALSEnumDeclaration__NameAssignment_1() throws RecognitionException {
25895
25896 int stackSize = keepStackSize();
25897
25898 try {
25899 // InternalAlloyLanguage.g:9223:1: ( ( ruleALSID ) )
25900 // InternalAlloyLanguage.g:9224:1: ( ruleALSID )
25901 {
25902 // InternalAlloyLanguage.g:9224:1: ( ruleALSID )
25903 // InternalAlloyLanguage.g:9225:1: ruleALSID
25904 {
25905 if ( state.backtracking==0 ) {
25906 before(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0());
25907 }
25908 pushFollow(FOLLOW_2);
25909 ruleALSID();
25910
25911 state._fsp--;
25912 if (state.failed) return ;
25913 if ( state.backtracking==0 ) {
25914 after(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0());
25915 }
25916
25917 }
25918
25919
25920 }
25921
25922 }
25923 catch (RecognitionException re) {
25924 reportError(re);
25925 recover(input,re);
25926 }
25927 finally {
25928
25929 restoreStackSize(stackSize);
25930
25931 }
25932 return ;
25933 }
25934 // $ANTLR end "rule__ALSEnumDeclaration__NameAssignment_1"
25935
25936
25937 // $ANTLR start "rule__ALSEnumDeclaration__LiteralAssignment_3"
25938 // InternalAlloyLanguage.g:9234:1: rule__ALSEnumDeclaration__LiteralAssignment_3 : ( ruleALSEnumLiteral ) ;
25939 public final void rule__ALSEnumDeclaration__LiteralAssignment_3() throws RecognitionException {
25940
25941 int stackSize = keepStackSize();
25942
25943 try {
25944 // InternalAlloyLanguage.g:9238:1: ( ( ruleALSEnumLiteral ) )
25945 // InternalAlloyLanguage.g:9239:1: ( ruleALSEnumLiteral )
25946 {
25947 // InternalAlloyLanguage.g:9239:1: ( ruleALSEnumLiteral )
25948 // InternalAlloyLanguage.g:9240:1: ruleALSEnumLiteral
25949 {
25950 if ( state.backtracking==0 ) {
25951 before(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0());
25952 }
25953 pushFollow(FOLLOW_2);
25954 ruleALSEnumLiteral();
25955
25956 state._fsp--;
25957 if (state.failed) return ;
25958 if ( state.backtracking==0 ) {
25959 after(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0());
25960 }
25961
25962 }
25963
25964
25965 }
25966
25967 }
25968 catch (RecognitionException re) {
25969 reportError(re);
25970 recover(input,re);
25971 }
25972 finally {
25973
25974 restoreStackSize(stackSize);
25975
25976 }
25977 return ;
25978 }
25979 // $ANTLR end "rule__ALSEnumDeclaration__LiteralAssignment_3"
25980
25981
25982 // $ANTLR start "rule__ALSEnumDeclaration__LiteralAssignment_4_1"
25983 // InternalAlloyLanguage.g:9249:1: rule__ALSEnumDeclaration__LiteralAssignment_4_1 : ( ruleALSEnumLiteral ) ;
25984 public final void rule__ALSEnumDeclaration__LiteralAssignment_4_1() throws RecognitionException {
25985
25986 int stackSize = keepStackSize();
25987
25988 try {
25989 // InternalAlloyLanguage.g:9253:1: ( ( ruleALSEnumLiteral ) )
25990 // InternalAlloyLanguage.g:9254:1: ( ruleALSEnumLiteral )
25991 {
25992 // InternalAlloyLanguage.g:9254:1: ( ruleALSEnumLiteral )
25993 // InternalAlloyLanguage.g:9255:1: ruleALSEnumLiteral
25994 {
25995 if ( state.backtracking==0 ) {
25996 before(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0());
25997 }
25998 pushFollow(FOLLOW_2);
25999 ruleALSEnumLiteral();
26000
26001 state._fsp--;
26002 if (state.failed) return ;
26003 if ( state.backtracking==0 ) {
26004 after(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0());
26005 }
26006
26007 }
26008
26009
26010 }
26011
26012 }
26013 catch (RecognitionException re) {
26014 reportError(re);
26015 recover(input,re);
26016 }
26017 finally {
26018
26019 restoreStackSize(stackSize);
26020
26021 }
26022 return ;
26023 }
26024 // $ANTLR end "rule__ALSEnumDeclaration__LiteralAssignment_4_1"
26025
26026
26027 // $ANTLR start "rule__ALSEnumLiteral__NameAssignment"
26028 // InternalAlloyLanguage.g:9264:1: rule__ALSEnumLiteral__NameAssignment : ( ruleALSID ) ;
26029 public final void rule__ALSEnumLiteral__NameAssignment() throws RecognitionException {
26030
26031 int stackSize = keepStackSize();
26032
26033 try {
26034 // InternalAlloyLanguage.g:9268:1: ( ( ruleALSID ) )
26035 // InternalAlloyLanguage.g:9269:1: ( ruleALSID )
26036 {
26037 // InternalAlloyLanguage.g:9269:1: ( ruleALSID )
26038 // InternalAlloyLanguage.g:9270:1: ruleALSID
26039 {
26040 if ( state.backtracking==0 ) {
26041 before(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0());
26042 }
26043 pushFollow(FOLLOW_2);
26044 ruleALSID();
26045
26046 state._fsp--;
26047 if (state.failed) return ;
26048 if ( state.backtracking==0 ) {
26049 after(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0());
26050 }
26051
26052 }
26053
26054
26055 }
26056
26057 }
26058 catch (RecognitionException re) {
26059 reportError(re);
26060 recover(input,re);
26061 }
26062 finally {
26063
26064 restoreStackSize(stackSize);
26065
26066 }
26067 return ;
26068 }
26069 // $ANTLR end "rule__ALSEnumLiteral__NameAssignment"
26070
26071
26072 // $ANTLR start "rule__ALSSignatureDeclaration__NameAssignment"
26073 // InternalAlloyLanguage.g:9279:1: rule__ALSSignatureDeclaration__NameAssignment : ( ruleALSID ) ;
26074 public final void rule__ALSSignatureDeclaration__NameAssignment() throws RecognitionException {
26075
26076 int stackSize = keepStackSize();
26077
26078 try {
26079 // InternalAlloyLanguage.g:9283:1: ( ( ruleALSID ) )
26080 // InternalAlloyLanguage.g:9284:1: ( ruleALSID )
26081 {
26082 // InternalAlloyLanguage.g:9284:1: ( ruleALSID )
26083 // InternalAlloyLanguage.g:9285:1: ruleALSID
26084 {
26085 if ( state.backtracking==0 ) {
26086 before(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0());
26087 }
26088 pushFollow(FOLLOW_2);
26089 ruleALSID();
26090
26091 state._fsp--;
26092 if (state.failed) return ;
26093 if ( state.backtracking==0 ) {
26094 after(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0());
26095 }
26096
26097 }
26098
26099
26100 }
26101
26102 }
26103 catch (RecognitionException re) {
26104 reportError(re);
26105 recover(input,re);
26106 }
26107 finally {
26108
26109 restoreStackSize(stackSize);
26110
26111 }
26112 return ;
26113 }
26114 // $ANTLR end "rule__ALSSignatureDeclaration__NameAssignment"
26115
26116
26117 // $ANTLR start "rule__ALSSignatureBody__MultiplicityAssignment_0_0"
26118 // InternalAlloyLanguage.g:9294:1: rule__ALSSignatureBody__MultiplicityAssignment_0_0 : ( ruleALSMultiplicity ) ;
26119 public final void rule__ALSSignatureBody__MultiplicityAssignment_0_0() throws RecognitionException {
26120
26121 int stackSize = keepStackSize();
26122
26123 try {
26124 // InternalAlloyLanguage.g:9298:1: ( ( ruleALSMultiplicity ) )
26125 // InternalAlloyLanguage.g:9299:1: ( ruleALSMultiplicity )
26126 {
26127 // InternalAlloyLanguage.g:9299:1: ( ruleALSMultiplicity )
26128 // InternalAlloyLanguage.g:9300:1: ruleALSMultiplicity
26129 {
26130 if ( state.backtracking==0 ) {
26131 before(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0());
26132 }
26133 pushFollow(FOLLOW_2);
26134 ruleALSMultiplicity();
26135
26136 state._fsp--;
26137 if (state.failed) return ;
26138 if ( state.backtracking==0 ) {
26139 after(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0());
26140 }
26141
26142 }
26143
26144
26145 }
26146
26147 }
26148 catch (RecognitionException re) {
26149 reportError(re);
26150 recover(input,re);
26151 }
26152 finally {
26153
26154 restoreStackSize(stackSize);
26155
26156 }
26157 return ;
26158 }
26159 // $ANTLR end "rule__ALSSignatureBody__MultiplicityAssignment_0_0"
26160
26161
26162 // $ANTLR start "rule__ALSSignatureBody__AbstractAssignment_0_1"
26163 // InternalAlloyLanguage.g:9309:1: rule__ALSSignatureBody__AbstractAssignment_0_1 : ( ( 'abstract' ) ) ;
26164 public final void rule__ALSSignatureBody__AbstractAssignment_0_1() throws RecognitionException {
26165
26166 int stackSize = keepStackSize();
26167
26168 try {
26169 // InternalAlloyLanguage.g:9313:1: ( ( ( 'abstract' ) ) )
26170 // InternalAlloyLanguage.g:9314:1: ( ( 'abstract' ) )
26171 {
26172 // InternalAlloyLanguage.g:9314:1: ( ( 'abstract' ) )
26173 // InternalAlloyLanguage.g:9315:1: ( 'abstract' )
26174 {
26175 if ( state.backtracking==0 ) {
26176 before(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
26177 }
26178 // InternalAlloyLanguage.g:9316:1: ( 'abstract' )
26179 // InternalAlloyLanguage.g:9317:1: 'abstract'
26180 {
26181 if ( state.backtracking==0 ) {
26182 before(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
26183 }
26184 match(input,75,FOLLOW_2); if (state.failed) return ;
26185 if ( state.backtracking==0 ) {
26186 after(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
26187 }
26188
26189 }
26190
26191 if ( state.backtracking==0 ) {
26192 after(grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
26193 }
26194
26195 }
26196
26197
26198 }
26199
26200 }
26201 catch (RecognitionException re) {
26202 reportError(re);
26203 recover(input,re);
26204 }
26205 finally {
26206
26207 restoreStackSize(stackSize);
26208
26209 }
26210 return ;
26211 }
26212 // $ANTLR end "rule__ALSSignatureBody__AbstractAssignment_0_1"
26213
26214
26215 // $ANTLR start "rule__ALSSignatureBody__DeclarationsAssignment_2"
26216 // InternalAlloyLanguage.g:9332:1: rule__ALSSignatureBody__DeclarationsAssignment_2 : ( ruleALSSignatureDeclaration ) ;
26217 public final void rule__ALSSignatureBody__DeclarationsAssignment_2() throws RecognitionException {
26218
26219 int stackSize = keepStackSize();
26220
26221 try {
26222 // InternalAlloyLanguage.g:9336:1: ( ( ruleALSSignatureDeclaration ) )
26223 // InternalAlloyLanguage.g:9337:1: ( ruleALSSignatureDeclaration )
26224 {
26225 // InternalAlloyLanguage.g:9337:1: ( ruleALSSignatureDeclaration )
26226 // InternalAlloyLanguage.g:9338:1: ruleALSSignatureDeclaration
26227 {
26228 if ( state.backtracking==0 ) {
26229 before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0());
26230 }
26231 pushFollow(FOLLOW_2);
26232 ruleALSSignatureDeclaration();
26233
26234 state._fsp--;
26235 if (state.failed) return ;
26236 if ( state.backtracking==0 ) {
26237 after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0());
26238 }
26239
26240 }
26241
26242
26243 }
26244
26245 }
26246 catch (RecognitionException re) {
26247 reportError(re);
26248 recover(input,re);
26249 }
26250 finally {
26251
26252 restoreStackSize(stackSize);
26253
26254 }
26255 return ;
26256 }
26257 // $ANTLR end "rule__ALSSignatureBody__DeclarationsAssignment_2"
26258
26259
26260 // $ANTLR start "rule__ALSSignatureBody__DeclarationsAssignment_3_1"
26261 // InternalAlloyLanguage.g:9347:1: rule__ALSSignatureBody__DeclarationsAssignment_3_1 : ( ruleALSSignatureDeclaration ) ;
26262 public final void rule__ALSSignatureBody__DeclarationsAssignment_3_1() throws RecognitionException {
26263
26264 int stackSize = keepStackSize();
26265
26266 try {
26267 // InternalAlloyLanguage.g:9351:1: ( ( ruleALSSignatureDeclaration ) )
26268 // InternalAlloyLanguage.g:9352:1: ( ruleALSSignatureDeclaration )
26269 {
26270 // InternalAlloyLanguage.g:9352:1: ( ruleALSSignatureDeclaration )
26271 // InternalAlloyLanguage.g:9353:1: ruleALSSignatureDeclaration
26272 {
26273 if ( state.backtracking==0 ) {
26274 before(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0());
26275 }
26276 pushFollow(FOLLOW_2);
26277 ruleALSSignatureDeclaration();
26278
26279 state._fsp--;
26280 if (state.failed) return ;
26281 if ( state.backtracking==0 ) {
26282 after(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0());
26283 }
26284
26285 }
26286
26287
26288 }
26289
26290 }
26291 catch (RecognitionException re) {
26292 reportError(re);
26293 recover(input,re);
26294 }
26295 finally {
26296
26297 restoreStackSize(stackSize);
26298
26299 }
26300 return ;
26301 }
26302 // $ANTLR end "rule__ALSSignatureBody__DeclarationsAssignment_3_1"
26303
26304
26305 // $ANTLR start "rule__ALSSignatureBody__SupertypeAssignment_4_0_1"
26306 // InternalAlloyLanguage.g:9362:1: rule__ALSSignatureBody__SupertypeAssignment_4_0_1 : ( ( RULE_ID ) ) ;
26307 public final void rule__ALSSignatureBody__SupertypeAssignment_4_0_1() throws RecognitionException {
26308
26309 int stackSize = keepStackSize();
26310
26311 try {
26312 // InternalAlloyLanguage.g:9366:1: ( ( ( RULE_ID ) ) )
26313 // InternalAlloyLanguage.g:9367:1: ( ( RULE_ID ) )
26314 {
26315 // InternalAlloyLanguage.g:9367:1: ( ( RULE_ID ) )
26316 // InternalAlloyLanguage.g:9368:1: ( RULE_ID )
26317 {
26318 if ( state.backtracking==0 ) {
26319 before(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0());
26320 }
26321 // InternalAlloyLanguage.g:9369:1: ( RULE_ID )
26322 // InternalAlloyLanguage.g:9370:1: RULE_ID
26323 {
26324 if ( state.backtracking==0 ) {
26325 before(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1());
26326 }
26327 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
26328 if ( state.backtracking==0 ) {
26329 after(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1());
26330 }
26331
26332 }
26333
26334 if ( state.backtracking==0 ) {
26335 after(grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0());
26336 }
26337
26338 }
26339
26340
26341 }
26342
26343 }
26344 catch (RecognitionException re) {
26345 reportError(re);
26346 recover(input,re);
26347 }
26348 finally {
26349
26350 restoreStackSize(stackSize);
26351
26352 }
26353 return ;
26354 }
26355 // $ANTLR end "rule__ALSSignatureBody__SupertypeAssignment_4_0_1"
26356
26357
26358 // $ANTLR start "rule__ALSSignatureBody__SupersetAssignment_4_1_1"
26359 // InternalAlloyLanguage.g:9381:1: rule__ALSSignatureBody__SupersetAssignment_4_1_1 : ( ( RULE_ID ) ) ;
26360 public final void rule__ALSSignatureBody__SupersetAssignment_4_1_1() throws RecognitionException {
26361
26362 int stackSize = keepStackSize();
26363
26364 try {
26365 // InternalAlloyLanguage.g:9385:1: ( ( ( RULE_ID ) ) )
26366 // InternalAlloyLanguage.g:9386:1: ( ( RULE_ID ) )
26367 {
26368 // InternalAlloyLanguage.g:9386:1: ( ( RULE_ID ) )
26369 // InternalAlloyLanguage.g:9387:1: ( RULE_ID )
26370 {
26371 if ( state.backtracking==0 ) {
26372 before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0());
26373 }
26374 // InternalAlloyLanguage.g:9388:1: ( RULE_ID )
26375 // InternalAlloyLanguage.g:9389:1: RULE_ID
26376 {
26377 if ( state.backtracking==0 ) {
26378 before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1());
26379 }
26380 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
26381 if ( state.backtracking==0 ) {
26382 after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1());
26383 }
26384
26385 }
26386
26387 if ( state.backtracking==0 ) {
26388 after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0());
26389 }
26390
26391 }
26392
26393
26394 }
26395
26396 }
26397 catch (RecognitionException re) {
26398 reportError(re);
26399 recover(input,re);
26400 }
26401 finally {
26402
26403 restoreStackSize(stackSize);
26404
26405 }
26406 return ;
26407 }
26408 // $ANTLR end "rule__ALSSignatureBody__SupersetAssignment_4_1_1"
26409
26410
26411 // $ANTLR start "rule__ALSSignatureBody__SupersetAssignment_4_1_2_1"
26412 // InternalAlloyLanguage.g:9400:1: rule__ALSSignatureBody__SupersetAssignment_4_1_2_1 : ( ( RULE_ID ) ) ;
26413 public final void rule__ALSSignatureBody__SupersetAssignment_4_1_2_1() throws RecognitionException {
26414
26415 int stackSize = keepStackSize();
26416
26417 try {
26418 // InternalAlloyLanguage.g:9404:1: ( ( ( RULE_ID ) ) )
26419 // InternalAlloyLanguage.g:9405:1: ( ( RULE_ID ) )
26420 {
26421 // InternalAlloyLanguage.g:9405:1: ( ( RULE_ID ) )
26422 // InternalAlloyLanguage.g:9406:1: ( RULE_ID )
26423 {
26424 if ( state.backtracking==0 ) {
26425 before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0());
26426 }
26427 // InternalAlloyLanguage.g:9407:1: ( RULE_ID )
26428 // InternalAlloyLanguage.g:9408:1: RULE_ID
26429 {
26430 if ( state.backtracking==0 ) {
26431 before(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1());
26432 }
26433 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
26434 if ( state.backtracking==0 ) {
26435 after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1());
26436 }
26437
26438 }
26439
26440 if ( state.backtracking==0 ) {
26441 after(grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0());
26442 }
26443
26444 }
26445
26446
26447 }
26448
26449 }
26450 catch (RecognitionException re) {
26451 reportError(re);
26452 recover(input,re);
26453 }
26454 finally {
26455
26456 restoreStackSize(stackSize);
26457
26458 }
26459 return ;
26460 }
26461 // $ANTLR end "rule__ALSSignatureBody__SupersetAssignment_4_1_2_1"
26462
26463
26464 // $ANTLR start "rule__ALSSignatureBody__FieldsAssignment_6_0"
26465 // InternalAlloyLanguage.g:9419:1: rule__ALSSignatureBody__FieldsAssignment_6_0 : ( ruleALSFieldDeclaration ) ;
26466 public final void rule__ALSSignatureBody__FieldsAssignment_6_0() throws RecognitionException {
26467
26468 int stackSize = keepStackSize();
26469
26470 try {
26471 // InternalAlloyLanguage.g:9423:1: ( ( ruleALSFieldDeclaration ) )
26472 // InternalAlloyLanguage.g:9424:1: ( ruleALSFieldDeclaration )
26473 {
26474 // InternalAlloyLanguage.g:9424:1: ( ruleALSFieldDeclaration )
26475 // InternalAlloyLanguage.g:9425:1: ruleALSFieldDeclaration
26476 {
26477 if ( state.backtracking==0 ) {
26478 before(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0());
26479 }
26480 pushFollow(FOLLOW_2);
26481 ruleALSFieldDeclaration();
26482
26483 state._fsp--;
26484 if (state.failed) return ;
26485 if ( state.backtracking==0 ) {
26486 after(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0());
26487 }
26488
26489 }
26490
26491
26492 }
26493
26494 }
26495 catch (RecognitionException re) {
26496 reportError(re);
26497 recover(input,re);
26498 }
26499 finally {
26500
26501 restoreStackSize(stackSize);
26502
26503 }
26504 return ;
26505 }
26506 // $ANTLR end "rule__ALSSignatureBody__FieldsAssignment_6_0"
26507
26508
26509 // $ANTLR start "rule__ALSSignatureBody__FieldsAssignment_6_1_1"
26510 // InternalAlloyLanguage.g:9434:1: rule__ALSSignatureBody__FieldsAssignment_6_1_1 : ( ruleALSFieldDeclaration ) ;
26511 public final void rule__ALSSignatureBody__FieldsAssignment_6_1_1() throws RecognitionException {
26512
26513 int stackSize = keepStackSize();
26514
26515 try {
26516 // InternalAlloyLanguage.g:9438:1: ( ( ruleALSFieldDeclaration ) )
26517 // InternalAlloyLanguage.g:9439:1: ( ruleALSFieldDeclaration )
26518 {
26519 // InternalAlloyLanguage.g:9439:1: ( ruleALSFieldDeclaration )
26520 // InternalAlloyLanguage.g:9440:1: ruleALSFieldDeclaration
26521 {
26522 if ( state.backtracking==0 ) {
26523 before(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0());
26524 }
26525 pushFollow(FOLLOW_2);
26526 ruleALSFieldDeclaration();
26527
26528 state._fsp--;
26529 if (state.failed) return ;
26530 if ( state.backtracking==0 ) {
26531 after(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0());
26532 }
26533
26534 }
26535
26536
26537 }
26538
26539 }
26540 catch (RecognitionException re) {
26541 reportError(re);
26542 recover(input,re);
26543 }
26544 finally {
26545
26546 restoreStackSize(stackSize);
26547
26548 }
26549 return ;
26550 }
26551 // $ANTLR end "rule__ALSSignatureBody__FieldsAssignment_6_1_1"
26552
26553
26554 // $ANTLR start "rule__ALSFieldDeclaration__NameAssignment_0"
26555 // InternalAlloyLanguage.g:9449:1: rule__ALSFieldDeclaration__NameAssignment_0 : ( ruleALSID ) ;
26556 public final void rule__ALSFieldDeclaration__NameAssignment_0() throws RecognitionException {
26557
26558 int stackSize = keepStackSize();
26559
26560 try {
26561 // InternalAlloyLanguage.g:9453:1: ( ( ruleALSID ) )
26562 // InternalAlloyLanguage.g:9454:1: ( ruleALSID )
26563 {
26564 // InternalAlloyLanguage.g:9454:1: ( ruleALSID )
26565 // InternalAlloyLanguage.g:9455:1: ruleALSID
26566 {
26567 if ( state.backtracking==0 ) {
26568 before(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0());
26569 }
26570 pushFollow(FOLLOW_2);
26571 ruleALSID();
26572
26573 state._fsp--;
26574 if (state.failed) return ;
26575 if ( state.backtracking==0 ) {
26576 after(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0());
26577 }
26578
26579 }
26580
26581
26582 }
26583
26584 }
26585 catch (RecognitionException re) {
26586 reportError(re);
26587 recover(input,re);
26588 }
26589 finally {
26590
26591 restoreStackSize(stackSize);
26592
26593 }
26594 return ;
26595 }
26596 // $ANTLR end "rule__ALSFieldDeclaration__NameAssignment_0"
26597
26598
26599 // $ANTLR start "rule__ALSFieldDeclaration__MultiplicityAssignment_2"
26600 // InternalAlloyLanguage.g:9464:1: rule__ALSFieldDeclaration__MultiplicityAssignment_2 : ( ruleALSMultiplicity ) ;
26601 public final void rule__ALSFieldDeclaration__MultiplicityAssignment_2() throws RecognitionException {
26602
26603 int stackSize = keepStackSize();
26604
26605 try {
26606 // InternalAlloyLanguage.g:9468:1: ( ( ruleALSMultiplicity ) )
26607 // InternalAlloyLanguage.g:9469:1: ( ruleALSMultiplicity )
26608 {
26609 // InternalAlloyLanguage.g:9469:1: ( ruleALSMultiplicity )
26610 // InternalAlloyLanguage.g:9470:1: ruleALSMultiplicity
26611 {
26612 if ( state.backtracking==0 ) {
26613 before(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0());
26614 }
26615 pushFollow(FOLLOW_2);
26616 ruleALSMultiplicity();
26617
26618 state._fsp--;
26619 if (state.failed) return ;
26620 if ( state.backtracking==0 ) {
26621 after(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0());
26622 }
26623
26624 }
26625
26626
26627 }
26628
26629 }
26630 catch (RecognitionException re) {
26631 reportError(re);
26632 recover(input,re);
26633 }
26634 finally {
26635
26636 restoreStackSize(stackSize);
26637
26638 }
26639 return ;
26640 }
26641 // $ANTLR end "rule__ALSFieldDeclaration__MultiplicityAssignment_2"
26642
26643
26644 // $ANTLR start "rule__ALSFieldDeclaration__TypeAssignment_3"
26645 // InternalAlloyLanguage.g:9479:1: rule__ALSFieldDeclaration__TypeAssignment_3 : ( ruleALSTerm ) ;
26646 public final void rule__ALSFieldDeclaration__TypeAssignment_3() throws RecognitionException {
26647
26648 int stackSize = keepStackSize();
26649
26650 try {
26651 // InternalAlloyLanguage.g:9483:1: ( ( ruleALSTerm ) )
26652 // InternalAlloyLanguage.g:9484:1: ( ruleALSTerm )
26653 {
26654 // InternalAlloyLanguage.g:9484:1: ( ruleALSTerm )
26655 // InternalAlloyLanguage.g:9485:1: ruleALSTerm
26656 {
26657 if ( state.backtracking==0 ) {
26658 before(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0());
26659 }
26660 pushFollow(FOLLOW_2);
26661 ruleALSTerm();
26662
26663 state._fsp--;
26664 if (state.failed) return ;
26665 if ( state.backtracking==0 ) {
26666 after(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0());
26667 }
26668
26669 }
26670
26671
26672 }
26673
26674 }
26675 catch (RecognitionException re) {
26676 reportError(re);
26677 recover(input,re);
26678 }
26679 finally {
26680
26681 restoreStackSize(stackSize);
26682
26683 }
26684 return ;
26685 }
26686 // $ANTLR end "rule__ALSFieldDeclaration__TypeAssignment_3"
26687
26688
26689 // $ANTLR start "rule__ALSFunctionDefinition__NameAssignment_1"
26690 // InternalAlloyLanguage.g:9494:1: rule__ALSFunctionDefinition__NameAssignment_1 : ( ruleALSID ) ;
26691 public final void rule__ALSFunctionDefinition__NameAssignment_1() throws RecognitionException {
26692
26693 int stackSize = keepStackSize();
26694
26695 try {
26696 // InternalAlloyLanguage.g:9498:1: ( ( ruleALSID ) )
26697 // InternalAlloyLanguage.g:9499:1: ( ruleALSID )
26698 {
26699 // InternalAlloyLanguage.g:9499:1: ( ruleALSID )
26700 // InternalAlloyLanguage.g:9500:1: ruleALSID
26701 {
26702 if ( state.backtracking==0 ) {
26703 before(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0());
26704 }
26705 pushFollow(FOLLOW_2);
26706 ruleALSID();
26707
26708 state._fsp--;
26709 if (state.failed) return ;
26710 if ( state.backtracking==0 ) {
26711 after(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0());
26712 }
26713
26714 }
26715
26716
26717 }
26718
26719 }
26720 catch (RecognitionException re) {
26721 reportError(re);
26722 recover(input,re);
26723 }
26724 finally {
26725
26726 restoreStackSize(stackSize);
26727
26728 }
26729 return ;
26730 }
26731 // $ANTLR end "rule__ALSFunctionDefinition__NameAssignment_1"
26732
26733
26734 // $ANTLR start "rule__ALSFunctionDefinition__VariablesAssignment_3"
26735 // InternalAlloyLanguage.g:9509:1: rule__ALSFunctionDefinition__VariablesAssignment_3 : ( ruleALSVariableDeclaration ) ;
26736 public final void rule__ALSFunctionDefinition__VariablesAssignment_3() throws RecognitionException {
26737
26738 int stackSize = keepStackSize();
26739
26740 try {
26741 // InternalAlloyLanguage.g:9513:1: ( ( ruleALSVariableDeclaration ) )
26742 // InternalAlloyLanguage.g:9514:1: ( ruleALSVariableDeclaration )
26743 {
26744 // InternalAlloyLanguage.g:9514:1: ( ruleALSVariableDeclaration )
26745 // InternalAlloyLanguage.g:9515:1: ruleALSVariableDeclaration
26746 {
26747 if ( state.backtracking==0 ) {
26748 before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
26749 }
26750 pushFollow(FOLLOW_2);
26751 ruleALSVariableDeclaration();
26752
26753 state._fsp--;
26754 if (state.failed) return ;
26755 if ( state.backtracking==0 ) {
26756 after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
26757 }
26758
26759 }
26760
26761
26762 }
26763
26764 }
26765 catch (RecognitionException re) {
26766 reportError(re);
26767 recover(input,re);
26768 }
26769 finally {
26770
26771 restoreStackSize(stackSize);
26772
26773 }
26774 return ;
26775 }
26776 // $ANTLR end "rule__ALSFunctionDefinition__VariablesAssignment_3"
26777
26778
26779 // $ANTLR start "rule__ALSFunctionDefinition__VariablesAssignment_4_1"
26780 // InternalAlloyLanguage.g:9524:1: rule__ALSFunctionDefinition__VariablesAssignment_4_1 : ( ruleALSVariableDeclaration ) ;
26781 public final void rule__ALSFunctionDefinition__VariablesAssignment_4_1() throws RecognitionException {
26782
26783 int stackSize = keepStackSize();
26784
26785 try {
26786 // InternalAlloyLanguage.g:9528:1: ( ( ruleALSVariableDeclaration ) )
26787 // InternalAlloyLanguage.g:9529:1: ( ruleALSVariableDeclaration )
26788 {
26789 // InternalAlloyLanguage.g:9529:1: ( ruleALSVariableDeclaration )
26790 // InternalAlloyLanguage.g:9530:1: ruleALSVariableDeclaration
26791 {
26792 if ( state.backtracking==0 ) {
26793 before(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
26794 }
26795 pushFollow(FOLLOW_2);
26796 ruleALSVariableDeclaration();
26797
26798 state._fsp--;
26799 if (state.failed) return ;
26800 if ( state.backtracking==0 ) {
26801 after(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
26802 }
26803
26804 }
26805
26806
26807 }
26808
26809 }
26810 catch (RecognitionException re) {
26811 reportError(re);
26812 recover(input,re);
26813 }
26814 finally {
26815
26816 restoreStackSize(stackSize);
26817
26818 }
26819 return ;
26820 }
26821 // $ANTLR end "rule__ALSFunctionDefinition__VariablesAssignment_4_1"
26822
26823
26824 // $ANTLR start "rule__ALSFunctionDefinition__TypeAssignment_7"
26825 // InternalAlloyLanguage.g:9539:1: rule__ALSFunctionDefinition__TypeAssignment_7 : ( ruleALSTerm ) ;
26826 public final void rule__ALSFunctionDefinition__TypeAssignment_7() throws RecognitionException {
26827
26828 int stackSize = keepStackSize();
26829
26830 try {
26831 // InternalAlloyLanguage.g:9543:1: ( ( ruleALSTerm ) )
26832 // InternalAlloyLanguage.g:9544:1: ( ruleALSTerm )
26833 {
26834 // InternalAlloyLanguage.g:9544:1: ( ruleALSTerm )
26835 // InternalAlloyLanguage.g:9545:1: ruleALSTerm
26836 {
26837 if ( state.backtracking==0 ) {
26838 before(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0());
26839 }
26840 pushFollow(FOLLOW_2);
26841 ruleALSTerm();
26842
26843 state._fsp--;
26844 if (state.failed) return ;
26845 if ( state.backtracking==0 ) {
26846 after(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0());
26847 }
26848
26849 }
26850
26851
26852 }
26853
26854 }
26855 catch (RecognitionException re) {
26856 reportError(re);
26857 recover(input,re);
26858 }
26859 finally {
26860
26861 restoreStackSize(stackSize);
26862
26863 }
26864 return ;
26865 }
26866 // $ANTLR end "rule__ALSFunctionDefinition__TypeAssignment_7"
26867
26868
26869 // $ANTLR start "rule__ALSFunctionDefinition__ValueAssignment_9"
26870 // InternalAlloyLanguage.g:9554:1: rule__ALSFunctionDefinition__ValueAssignment_9 : ( ruleALSTerm ) ;
26871 public final void rule__ALSFunctionDefinition__ValueAssignment_9() throws RecognitionException {
26872
26873 int stackSize = keepStackSize();
26874
26875 try {
26876 // InternalAlloyLanguage.g:9558:1: ( ( ruleALSTerm ) )
26877 // InternalAlloyLanguage.g:9559:1: ( ruleALSTerm )
26878 {
26879 // InternalAlloyLanguage.g:9559:1: ( ruleALSTerm )
26880 // InternalAlloyLanguage.g:9560:1: ruleALSTerm
26881 {
26882 if ( state.backtracking==0 ) {
26883 before(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0());
26884 }
26885 pushFollow(FOLLOW_2);
26886 ruleALSTerm();
26887
26888 state._fsp--;
26889 if (state.failed) return ;
26890 if ( state.backtracking==0 ) {
26891 after(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0());
26892 }
26893
26894 }
26895
26896
26897 }
26898
26899 }
26900 catch (RecognitionException re) {
26901 reportError(re);
26902 recover(input,re);
26903 }
26904 finally {
26905
26906 restoreStackSize(stackSize);
26907
26908 }
26909 return ;
26910 }
26911 // $ANTLR end "rule__ALSFunctionDefinition__ValueAssignment_9"
26912
26913
26914 // $ANTLR start "rule__ALSRelationDefinition__NameAssignment_1"
26915 // InternalAlloyLanguage.g:9569:1: rule__ALSRelationDefinition__NameAssignment_1 : ( ruleALSID ) ;
26916 public final void rule__ALSRelationDefinition__NameAssignment_1() throws RecognitionException {
26917
26918 int stackSize = keepStackSize();
26919
26920 try {
26921 // InternalAlloyLanguage.g:9573:1: ( ( ruleALSID ) )
26922 // InternalAlloyLanguage.g:9574:1: ( ruleALSID )
26923 {
26924 // InternalAlloyLanguage.g:9574:1: ( ruleALSID )
26925 // InternalAlloyLanguage.g:9575:1: ruleALSID
26926 {
26927 if ( state.backtracking==0 ) {
26928 before(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0());
26929 }
26930 pushFollow(FOLLOW_2);
26931 ruleALSID();
26932
26933 state._fsp--;
26934 if (state.failed) return ;
26935 if ( state.backtracking==0 ) {
26936 after(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0());
26937 }
26938
26939 }
26940
26941
26942 }
26943
26944 }
26945 catch (RecognitionException re) {
26946 reportError(re);
26947 recover(input,re);
26948 }
26949 finally {
26950
26951 restoreStackSize(stackSize);
26952
26953 }
26954 return ;
26955 }
26956 // $ANTLR end "rule__ALSRelationDefinition__NameAssignment_1"
26957
26958
26959 // $ANTLR start "rule__ALSRelationDefinition__VariablesAssignment_3"
26960 // InternalAlloyLanguage.g:9584:1: rule__ALSRelationDefinition__VariablesAssignment_3 : ( ruleALSVariableDeclaration ) ;
26961 public final void rule__ALSRelationDefinition__VariablesAssignment_3() throws RecognitionException {
26962
26963 int stackSize = keepStackSize();
26964
26965 try {
26966 // InternalAlloyLanguage.g:9588:1: ( ( ruleALSVariableDeclaration ) )
26967 // InternalAlloyLanguage.g:9589:1: ( ruleALSVariableDeclaration )
26968 {
26969 // InternalAlloyLanguage.g:9589:1: ( ruleALSVariableDeclaration )
26970 // InternalAlloyLanguage.g:9590:1: ruleALSVariableDeclaration
26971 {
26972 if ( state.backtracking==0 ) {
26973 before(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
26974 }
26975 pushFollow(FOLLOW_2);
26976 ruleALSVariableDeclaration();
26977
26978 state._fsp--;
26979 if (state.failed) return ;
26980 if ( state.backtracking==0 ) {
26981 after(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
26982 }
26983
26984 }
26985
26986
26987 }
26988
26989 }
26990 catch (RecognitionException re) {
26991 reportError(re);
26992 recover(input,re);
26993 }
26994 finally {
26995
26996 restoreStackSize(stackSize);
26997
26998 }
26999 return ;
27000 }
27001 // $ANTLR end "rule__ALSRelationDefinition__VariablesAssignment_3"
27002
27003
27004 // $ANTLR start "rule__ALSRelationDefinition__VariablesAssignment_4_1"
27005 // InternalAlloyLanguage.g:9599:1: rule__ALSRelationDefinition__VariablesAssignment_4_1 : ( ruleALSVariableDeclaration ) ;
27006 public final void rule__ALSRelationDefinition__VariablesAssignment_4_1() throws RecognitionException {
27007
27008 int stackSize = keepStackSize();
27009
27010 try {
27011 // InternalAlloyLanguage.g:9603:1: ( ( ruleALSVariableDeclaration ) )
27012 // InternalAlloyLanguage.g:9604:1: ( ruleALSVariableDeclaration )
27013 {
27014 // InternalAlloyLanguage.g:9604:1: ( ruleALSVariableDeclaration )
27015 // InternalAlloyLanguage.g:9605:1: ruleALSVariableDeclaration
27016 {
27017 if ( state.backtracking==0 ) {
27018 before(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
27019 }
27020 pushFollow(FOLLOW_2);
27021 ruleALSVariableDeclaration();
27022
27023 state._fsp--;
27024 if (state.failed) return ;
27025 if ( state.backtracking==0 ) {
27026 after(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
27027 }
27028
27029 }
27030
27031
27032 }
27033
27034 }
27035 catch (RecognitionException re) {
27036 reportError(re);
27037 recover(input,re);
27038 }
27039 finally {
27040
27041 restoreStackSize(stackSize);
27042
27043 }
27044 return ;
27045 }
27046 // $ANTLR end "rule__ALSRelationDefinition__VariablesAssignment_4_1"
27047
27048
27049 // $ANTLR start "rule__ALSRelationDefinition__ValueAssignment_7"
27050 // InternalAlloyLanguage.g:9614:1: rule__ALSRelationDefinition__ValueAssignment_7 : ( ruleALSTerm ) ;
27051 public final void rule__ALSRelationDefinition__ValueAssignment_7() throws RecognitionException {
27052
27053 int stackSize = keepStackSize();
27054
27055 try {
27056 // InternalAlloyLanguage.g:9618:1: ( ( ruleALSTerm ) )
27057 // InternalAlloyLanguage.g:9619:1: ( ruleALSTerm )
27058 {
27059 // InternalAlloyLanguage.g:9619:1: ( ruleALSTerm )
27060 // InternalAlloyLanguage.g:9620:1: ruleALSTerm
27061 {
27062 if ( state.backtracking==0 ) {
27063 before(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0());
27064 }
27065 pushFollow(FOLLOW_2);
27066 ruleALSTerm();
27067
27068 state._fsp--;
27069 if (state.failed) return ;
27070 if ( state.backtracking==0 ) {
27071 after(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0());
27072 }
27073
27074 }
27075
27076
27077 }
27078
27079 }
27080 catch (RecognitionException re) {
27081 reportError(re);
27082 recover(input,re);
27083 }
27084 finally {
27085
27086 restoreStackSize(stackSize);
27087
27088 }
27089 return ;
27090 }
27091 // $ANTLR end "rule__ALSRelationDefinition__ValueAssignment_7"
27092
27093
27094 // $ANTLR start "rule__ALSFactDeclaration__NameAssignment_2"
27095 // InternalAlloyLanguage.g:9629:1: rule__ALSFactDeclaration__NameAssignment_2 : ( ruleALSID ) ;
27096 public final void rule__ALSFactDeclaration__NameAssignment_2() throws RecognitionException {
27097
27098 int stackSize = keepStackSize();
27099
27100 try {
27101 // InternalAlloyLanguage.g:9633:1: ( ( ruleALSID ) )
27102 // InternalAlloyLanguage.g:9634:1: ( ruleALSID )
27103 {
27104 // InternalAlloyLanguage.g:9634:1: ( ruleALSID )
27105 // InternalAlloyLanguage.g:9635:1: ruleALSID
27106 {
27107 if ( state.backtracking==0 ) {
27108 before(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0());
27109 }
27110 pushFollow(FOLLOW_2);
27111 ruleALSID();
27112
27113 state._fsp--;
27114 if (state.failed) return ;
27115 if ( state.backtracking==0 ) {
27116 after(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0());
27117 }
27118
27119 }
27120
27121
27122 }
27123
27124 }
27125 catch (RecognitionException re) {
27126 reportError(re);
27127 recover(input,re);
27128 }
27129 finally {
27130
27131 restoreStackSize(stackSize);
27132
27133 }
27134 return ;
27135 }
27136 // $ANTLR end "rule__ALSFactDeclaration__NameAssignment_2"
27137
27138
27139 // $ANTLR start "rule__ALSFactDeclaration__TermAssignment_4"
27140 // InternalAlloyLanguage.g:9644:1: rule__ALSFactDeclaration__TermAssignment_4 : ( ruleALSTerm ) ;
27141 public final void rule__ALSFactDeclaration__TermAssignment_4() throws RecognitionException {
27142
27143 int stackSize = keepStackSize();
27144
27145 try {
27146 // InternalAlloyLanguage.g:9648:1: ( ( ruleALSTerm ) )
27147 // InternalAlloyLanguage.g:9649:1: ( ruleALSTerm )
27148 {
27149 // InternalAlloyLanguage.g:9649:1: ( ruleALSTerm )
27150 // InternalAlloyLanguage.g:9650:1: ruleALSTerm
27151 {
27152 if ( state.backtracking==0 ) {
27153 before(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0());
27154 }
27155 pushFollow(FOLLOW_2);
27156 ruleALSTerm();
27157
27158 state._fsp--;
27159 if (state.failed) return ;
27160 if ( state.backtracking==0 ) {
27161 after(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0());
27162 }
27163
27164 }
27165
27166
27167 }
27168
27169 }
27170 catch (RecognitionException re) {
27171 reportError(re);
27172 recover(input,re);
27173 }
27174 finally {
27175
27176 restoreStackSize(stackSize);
27177
27178 }
27179 return ;
27180 }
27181 // $ANTLR end "rule__ALSFactDeclaration__TermAssignment_4"
27182
27183
27184 // $ANTLR start "rule__ALSQuantified__TypeAssignment_0_1"
27185 // InternalAlloyLanguage.g:9659:1: rule__ALSQuantified__TypeAssignment_0_1 : ( ruleALSMultiplicity ) ;
27186 public final void rule__ALSQuantified__TypeAssignment_0_1() throws RecognitionException {
27187
27188 int stackSize = keepStackSize();
27189
27190 try {
27191 // InternalAlloyLanguage.g:9663:1: ( ( ruleALSMultiplicity ) )
27192 // InternalAlloyLanguage.g:9664:1: ( ruleALSMultiplicity )
27193 {
27194 // InternalAlloyLanguage.g:9664:1: ( ruleALSMultiplicity )
27195 // InternalAlloyLanguage.g:9665:1: ruleALSMultiplicity
27196 {
27197 if ( state.backtracking==0 ) {
27198 before(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0());
27199 }
27200 pushFollow(FOLLOW_2);
27201 ruleALSMultiplicity();
27202
27203 state._fsp--;
27204 if (state.failed) return ;
27205 if ( state.backtracking==0 ) {
27206 after(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0());
27207 }
27208
27209 }
27210
27211
27212 }
27213
27214 }
27215 catch (RecognitionException re) {
27216 reportError(re);
27217 recover(input,re);
27218 }
27219 finally {
27220
27221 restoreStackSize(stackSize);
27222
27223 }
27224 return ;
27225 }
27226 // $ANTLR end "rule__ALSQuantified__TypeAssignment_0_1"
27227
27228
27229 // $ANTLR start "rule__ALSQuantified__DisjAssignment_0_2"
27230 // InternalAlloyLanguage.g:9674:1: rule__ALSQuantified__DisjAssignment_0_2 : ( ( 'disj' ) ) ;
27231 public final void rule__ALSQuantified__DisjAssignment_0_2() throws RecognitionException {
27232
27233 int stackSize = keepStackSize();
27234
27235 try {
27236 // InternalAlloyLanguage.g:9678:1: ( ( ( 'disj' ) ) )
27237 // InternalAlloyLanguage.g:9679:1: ( ( 'disj' ) )
27238 {
27239 // InternalAlloyLanguage.g:9679:1: ( ( 'disj' ) )
27240 // InternalAlloyLanguage.g:9680:1: ( 'disj' )
27241 {
27242 if ( state.backtracking==0 ) {
27243 before(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
27244 }
27245 // InternalAlloyLanguage.g:9681:1: ( 'disj' )
27246 // InternalAlloyLanguage.g:9682:1: 'disj'
27247 {
27248 if ( state.backtracking==0 ) {
27249 before(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
27250 }
27251 match(input,76,FOLLOW_2); if (state.failed) return ;
27252 if ( state.backtracking==0 ) {
27253 after(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
27254 }
27255
27256 }
27257
27258 if ( state.backtracking==0 ) {
27259 after(grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
27260 }
27261
27262 }
27263
27264
27265 }
27266
27267 }
27268 catch (RecognitionException re) {
27269 reportError(re);
27270 recover(input,re);
27271 }
27272 finally {
27273
27274 restoreStackSize(stackSize);
27275
27276 }
27277 return ;
27278 }
27279 // $ANTLR end "rule__ALSQuantified__DisjAssignment_0_2"
27280
27281
27282 // $ANTLR start "rule__ALSQuantified__VariablesAssignment_0_3"
27283 // InternalAlloyLanguage.g:9697:1: rule__ALSQuantified__VariablesAssignment_0_3 : ( ruleALSVariableDeclaration ) ;
27284 public final void rule__ALSQuantified__VariablesAssignment_0_3() throws RecognitionException {
27285
27286 int stackSize = keepStackSize();
27287
27288 try {
27289 // InternalAlloyLanguage.g:9701:1: ( ( ruleALSVariableDeclaration ) )
27290 // InternalAlloyLanguage.g:9702:1: ( ruleALSVariableDeclaration )
27291 {
27292 // InternalAlloyLanguage.g:9702:1: ( ruleALSVariableDeclaration )
27293 // InternalAlloyLanguage.g:9703:1: ruleALSVariableDeclaration
27294 {
27295 if ( state.backtracking==0 ) {
27296 before(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0());
27297 }
27298 pushFollow(FOLLOW_2);
27299 ruleALSVariableDeclaration();
27300
27301 state._fsp--;
27302 if (state.failed) return ;
27303 if ( state.backtracking==0 ) {
27304 after(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0());
27305 }
27306
27307 }
27308
27309
27310 }
27311
27312 }
27313 catch (RecognitionException re) {
27314 reportError(re);
27315 recover(input,re);
27316 }
27317 finally {
27318
27319 restoreStackSize(stackSize);
27320
27321 }
27322 return ;
27323 }
27324 // $ANTLR end "rule__ALSQuantified__VariablesAssignment_0_3"
27325
27326
27327 // $ANTLR start "rule__ALSQuantified__VariablesAssignment_0_4_1"
27328 // InternalAlloyLanguage.g:9712:1: rule__ALSQuantified__VariablesAssignment_0_4_1 : ( ruleALSVariableDeclaration ) ;
27329 public final void rule__ALSQuantified__VariablesAssignment_0_4_1() throws RecognitionException {
27330
27331 int stackSize = keepStackSize();
27332
27333 try {
27334 // InternalAlloyLanguage.g:9716:1: ( ( ruleALSVariableDeclaration ) )
27335 // InternalAlloyLanguage.g:9717:1: ( ruleALSVariableDeclaration )
27336 {
27337 // InternalAlloyLanguage.g:9717:1: ( ruleALSVariableDeclaration )
27338 // InternalAlloyLanguage.g:9718:1: ruleALSVariableDeclaration
27339 {
27340 if ( state.backtracking==0 ) {
27341 before(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0());
27342 }
27343 pushFollow(FOLLOW_2);
27344 ruleALSVariableDeclaration();
27345
27346 state._fsp--;
27347 if (state.failed) return ;
27348 if ( state.backtracking==0 ) {
27349 after(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0());
27350 }
27351
27352 }
27353
27354
27355 }
27356
27357 }
27358 catch (RecognitionException re) {
27359 reportError(re);
27360 recover(input,re);
27361 }
27362 finally {
27363
27364 restoreStackSize(stackSize);
27365
27366 }
27367 return ;
27368 }
27369 // $ANTLR end "rule__ALSQuantified__VariablesAssignment_0_4_1"
27370
27371
27372 // $ANTLR start "rule__ALSQuantified__ExpressionAssignment_0_6"
27373 // InternalAlloyLanguage.g:9727:1: rule__ALSQuantified__ExpressionAssignment_0_6 : ( ruleALSTerm ) ;
27374 public final void rule__ALSQuantified__ExpressionAssignment_0_6() throws RecognitionException {
27375
27376 int stackSize = keepStackSize();
27377
27378 try {
27379 // InternalAlloyLanguage.g:9731:1: ( ( ruleALSTerm ) )
27380 // InternalAlloyLanguage.g:9732:1: ( ruleALSTerm )
27381 {
27382 // InternalAlloyLanguage.g:9732:1: ( ruleALSTerm )
27383 // InternalAlloyLanguage.g:9733:1: ruleALSTerm
27384 {
27385 if ( state.backtracking==0 ) {
27386 before(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0());
27387 }
27388 pushFollow(FOLLOW_2);
27389 ruleALSTerm();
27390
27391 state._fsp--;
27392 if (state.failed) return ;
27393 if ( state.backtracking==0 ) {
27394 after(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0());
27395 }
27396
27397 }
27398
27399
27400 }
27401
27402 }
27403 catch (RecognitionException re) {
27404 reportError(re);
27405 recover(input,re);
27406 }
27407 finally {
27408
27409 restoreStackSize(stackSize);
27410
27411 }
27412 return ;
27413 }
27414 // $ANTLR end "rule__ALSQuantified__ExpressionAssignment_0_6"
27415
27416
27417 // $ANTLR start "rule__ALSOr__RightOperandAssignment_1_2"
27418 // InternalAlloyLanguage.g:9742:1: rule__ALSOr__RightOperandAssignment_1_2 : ( ruleALSIff ) ;
27419 public final void rule__ALSOr__RightOperandAssignment_1_2() throws RecognitionException {
27420
27421 int stackSize = keepStackSize();
27422
27423 try {
27424 // InternalAlloyLanguage.g:9746:1: ( ( ruleALSIff ) )
27425 // InternalAlloyLanguage.g:9747:1: ( ruleALSIff )
27426 {
27427 // InternalAlloyLanguage.g:9747:1: ( ruleALSIff )
27428 // InternalAlloyLanguage.g:9748:1: ruleALSIff
27429 {
27430 if ( state.backtracking==0 ) {
27431 before(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0());
27432 }
27433 pushFollow(FOLLOW_2);
27434 ruleALSIff();
27435
27436 state._fsp--;
27437 if (state.failed) return ;
27438 if ( state.backtracking==0 ) {
27439 after(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0());
27440 }
27441
27442 }
27443
27444
27445 }
27446
27447 }
27448 catch (RecognitionException re) {
27449 reportError(re);
27450 recover(input,re);
27451 }
27452 finally {
27453
27454 restoreStackSize(stackSize);
27455
27456 }
27457 return ;
27458 }
27459 // $ANTLR end "rule__ALSOr__RightOperandAssignment_1_2"
27460
27461
27462 // $ANTLR start "rule__ALSIff__RightOperandAssignment_1_2"
27463 // InternalAlloyLanguage.g:9757:1: rule__ALSIff__RightOperandAssignment_1_2 : ( ruleALSImpl ) ;
27464 public final void rule__ALSIff__RightOperandAssignment_1_2() throws RecognitionException {
27465
27466 int stackSize = keepStackSize();
27467
27468 try {
27469 // InternalAlloyLanguage.g:9761:1: ( ( ruleALSImpl ) )
27470 // InternalAlloyLanguage.g:9762:1: ( ruleALSImpl )
27471 {
27472 // InternalAlloyLanguage.g:9762:1: ( ruleALSImpl )
27473 // InternalAlloyLanguage.g:9763:1: ruleALSImpl
27474 {
27475 if ( state.backtracking==0 ) {
27476 before(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0());
27477 }
27478 pushFollow(FOLLOW_2);
27479 ruleALSImpl();
27480
27481 state._fsp--;
27482 if (state.failed) return ;
27483 if ( state.backtracking==0 ) {
27484 after(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0());
27485 }
27486
27487 }
27488
27489
27490 }
27491
27492 }
27493 catch (RecognitionException re) {
27494 reportError(re);
27495 recover(input,re);
27496 }
27497 finally {
27498
27499 restoreStackSize(stackSize);
27500
27501 }
27502 return ;
27503 }
27504 // $ANTLR end "rule__ALSIff__RightOperandAssignment_1_2"
27505
27506
27507 // $ANTLR start "rule__ALSImpl__RightOperandAssignment_1_2"
27508 // InternalAlloyLanguage.g:9772:1: rule__ALSImpl__RightOperandAssignment_1_2 : ( ruleALSAnd ) ;
27509 public final void rule__ALSImpl__RightOperandAssignment_1_2() throws RecognitionException {
27510
27511 int stackSize = keepStackSize();
27512
27513 try {
27514 // InternalAlloyLanguage.g:9776:1: ( ( ruleALSAnd ) )
27515 // InternalAlloyLanguage.g:9777:1: ( ruleALSAnd )
27516 {
27517 // InternalAlloyLanguage.g:9777:1: ( ruleALSAnd )
27518 // InternalAlloyLanguage.g:9778:1: ruleALSAnd
27519 {
27520 if ( state.backtracking==0 ) {
27521 before(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0());
27522 }
27523 pushFollow(FOLLOW_2);
27524 ruleALSAnd();
27525
27526 state._fsp--;
27527 if (state.failed) return ;
27528 if ( state.backtracking==0 ) {
27529 after(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0());
27530 }
27531
27532 }
27533
27534
27535 }
27536
27537 }
27538 catch (RecognitionException re) {
27539 reportError(re);
27540 recover(input,re);
27541 }
27542 finally {
27543
27544 restoreStackSize(stackSize);
27545
27546 }
27547 return ;
27548 }
27549 // $ANTLR end "rule__ALSImpl__RightOperandAssignment_1_2"
27550
27551
27552 // $ANTLR start "rule__ALSImpl__ElseOperandAssignment_1_3_1"
27553 // InternalAlloyLanguage.g:9787:1: rule__ALSImpl__ElseOperandAssignment_1_3_1 : ( ruleALSAnd ) ;
27554 public final void rule__ALSImpl__ElseOperandAssignment_1_3_1() throws RecognitionException {
27555
27556 int stackSize = keepStackSize();
27557
27558 try {
27559 // InternalAlloyLanguage.g:9791:1: ( ( ruleALSAnd ) )
27560 // InternalAlloyLanguage.g:9792:1: ( ruleALSAnd )
27561 {
27562 // InternalAlloyLanguage.g:9792:1: ( ruleALSAnd )
27563 // InternalAlloyLanguage.g:9793:1: ruleALSAnd
27564 {
27565 if ( state.backtracking==0 ) {
27566 before(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0());
27567 }
27568 pushFollow(FOLLOW_2);
27569 ruleALSAnd();
27570
27571 state._fsp--;
27572 if (state.failed) return ;
27573 if ( state.backtracking==0 ) {
27574 after(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0());
27575 }
27576
27577 }
27578
27579
27580 }
27581
27582 }
27583 catch (RecognitionException re) {
27584 reportError(re);
27585 recover(input,re);
27586 }
27587 finally {
27588
27589 restoreStackSize(stackSize);
27590
27591 }
27592 return ;
27593 }
27594 // $ANTLR end "rule__ALSImpl__ElseOperandAssignment_1_3_1"
27595
27596
27597 // $ANTLR start "rule__ALSAnd__RightOperandAssignment_1_2"
27598 // InternalAlloyLanguage.g:9802:1: rule__ALSAnd__RightOperandAssignment_1_2 : ( ruleALSComparison ) ;
27599 public final void rule__ALSAnd__RightOperandAssignment_1_2() throws RecognitionException {
27600
27601 int stackSize = keepStackSize();
27602
27603 try {
27604 // InternalAlloyLanguage.g:9806:1: ( ( ruleALSComparison ) )
27605 // InternalAlloyLanguage.g:9807:1: ( ruleALSComparison )
27606 {
27607 // InternalAlloyLanguage.g:9807:1: ( ruleALSComparison )
27608 // InternalAlloyLanguage.g:9808:1: ruleALSComparison
27609 {
27610 if ( state.backtracking==0 ) {
27611 before(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0());
27612 }
27613 pushFollow(FOLLOW_2);
27614 ruleALSComparison();
27615
27616 state._fsp--;
27617 if (state.failed) return ;
27618 if ( state.backtracking==0 ) {
27619 after(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0());
27620 }
27621
27622 }
27623
27624
27625 }
27626
27627 }
27628 catch (RecognitionException re) {
27629 reportError(re);
27630 recover(input,re);
27631 }
27632 finally {
27633
27634 restoreStackSize(stackSize);
27635
27636 }
27637 return ;
27638 }
27639 // $ANTLR end "rule__ALSAnd__RightOperandAssignment_1_2"
27640
27641
27642 // $ANTLR start "rule__ALSComparison__RightOperandAssignment_1_1"
27643 // InternalAlloyLanguage.g:9817:1: rule__ALSComparison__RightOperandAssignment_1_1 : ( ruleALSOverride ) ;
27644 public final void rule__ALSComparison__RightOperandAssignment_1_1() throws RecognitionException {
27645
27646 int stackSize = keepStackSize();
27647
27648 try {
27649 // InternalAlloyLanguage.g:9821:1: ( ( ruleALSOverride ) )
27650 // InternalAlloyLanguage.g:9822:1: ( ruleALSOverride )
27651 {
27652 // InternalAlloyLanguage.g:9822:1: ( ruleALSOverride )
27653 // InternalAlloyLanguage.g:9823:1: ruleALSOverride
27654 {
27655 if ( state.backtracking==0 ) {
27656 before(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0());
27657 }
27658 pushFollow(FOLLOW_2);
27659 ruleALSOverride();
27660
27661 state._fsp--;
27662 if (state.failed) return ;
27663 if ( state.backtracking==0 ) {
27664 after(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0());
27665 }
27666
27667 }
27668
27669
27670 }
27671
27672 }
27673 catch (RecognitionException re) {
27674 reportError(re);
27675 recover(input,re);
27676 }
27677 finally {
27678
27679 restoreStackSize(stackSize);
27680
27681 }
27682 return ;
27683 }
27684 // $ANTLR end "rule__ALSComparison__RightOperandAssignment_1_1"
27685
27686
27687 // $ANTLR start "rule__ALSOverride__RightOperandAssignment_1_2"
27688 // InternalAlloyLanguage.g:9832:1: rule__ALSOverride__RightOperandAssignment_1_2 : ( ruleALSRangeRestrictionRight ) ;
27689 public final void rule__ALSOverride__RightOperandAssignment_1_2() throws RecognitionException {
27690
27691 int stackSize = keepStackSize();
27692
27693 try {
27694 // InternalAlloyLanguage.g:9836:1: ( ( ruleALSRangeRestrictionRight ) )
27695 // InternalAlloyLanguage.g:9837:1: ( ruleALSRangeRestrictionRight )
27696 {
27697 // InternalAlloyLanguage.g:9837:1: ( ruleALSRangeRestrictionRight )
27698 // InternalAlloyLanguage.g:9838:1: ruleALSRangeRestrictionRight
27699 {
27700 if ( state.backtracking==0 ) {
27701 before(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0());
27702 }
27703 pushFollow(FOLLOW_2);
27704 ruleALSRangeRestrictionRight();
27705
27706 state._fsp--;
27707 if (state.failed) return ;
27708 if ( state.backtracking==0 ) {
27709 after(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0());
27710 }
27711
27712 }
27713
27714
27715 }
27716
27717 }
27718 catch (RecognitionException re) {
27719 reportError(re);
27720 recover(input,re);
27721 }
27722 finally {
27723
27724 restoreStackSize(stackSize);
27725
27726 }
27727 return ;
27728 }
27729 // $ANTLR end "rule__ALSOverride__RightOperandAssignment_1_2"
27730
27731
27732 // $ANTLR start "rule__ALSRangeRestrictionRight__FilterAssignment_1_2"
27733 // InternalAlloyLanguage.g:9847:1: rule__ALSRangeRestrictionRight__FilterAssignment_1_2 : ( ruleALSRangeRestrictionLeft ) ;
27734 public final void rule__ALSRangeRestrictionRight__FilterAssignment_1_2() throws RecognitionException {
27735
27736 int stackSize = keepStackSize();
27737
27738 try {
27739 // InternalAlloyLanguage.g:9851:1: ( ( ruleALSRangeRestrictionLeft ) )
27740 // InternalAlloyLanguage.g:9852:1: ( ruleALSRangeRestrictionLeft )
27741 {
27742 // InternalAlloyLanguage.g:9852:1: ( ruleALSRangeRestrictionLeft )
27743 // InternalAlloyLanguage.g:9853:1: ruleALSRangeRestrictionLeft
27744 {
27745 if ( state.backtracking==0 ) {
27746 before(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0());
27747 }
27748 pushFollow(FOLLOW_2);
27749 ruleALSRangeRestrictionLeft();
27750
27751 state._fsp--;
27752 if (state.failed) return ;
27753 if ( state.backtracking==0 ) {
27754 after(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0());
27755 }
27756
27757 }
27758
27759
27760 }
27761
27762 }
27763 catch (RecognitionException re) {
27764 reportError(re);
27765 recover(input,re);
27766 }
27767 finally {
27768
27769 restoreStackSize(stackSize);
27770
27771 }
27772 return ;
27773 }
27774 // $ANTLR end "rule__ALSRangeRestrictionRight__FilterAssignment_1_2"
27775
27776
27777 // $ANTLR start "rule__ALSRangeRestrictionLeft__RelationAssignment_1_2"
27778 // InternalAlloyLanguage.g:9862:1: rule__ALSRangeRestrictionLeft__RelationAssignment_1_2 : ( ruleALSJoin ) ;
27779 public final void rule__ALSRangeRestrictionLeft__RelationAssignment_1_2() throws RecognitionException {
27780
27781 int stackSize = keepStackSize();
27782
27783 try {
27784 // InternalAlloyLanguage.g:9866:1: ( ( ruleALSJoin ) )
27785 // InternalAlloyLanguage.g:9867:1: ( ruleALSJoin )
27786 {
27787 // InternalAlloyLanguage.g:9867:1: ( ruleALSJoin )
27788 // InternalAlloyLanguage.g:9868:1: ruleALSJoin
27789 {
27790 if ( state.backtracking==0 ) {
27791 before(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0());
27792 }
27793 pushFollow(FOLLOW_2);
27794 ruleALSJoin();
27795
27796 state._fsp--;
27797 if (state.failed) return ;
27798 if ( state.backtracking==0 ) {
27799 after(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0());
27800 }
27801
27802 }
27803
27804
27805 }
27806
27807 }
27808 catch (RecognitionException re) {
27809 reportError(re);
27810 recover(input,re);
27811 }
27812 finally {
27813
27814 restoreStackSize(stackSize);
27815
27816 }
27817 return ;
27818 }
27819 // $ANTLR end "rule__ALSRangeRestrictionLeft__RelationAssignment_1_2"
27820
27821
27822 // $ANTLR start "rule__ALSJoin__RightOperandAssignment_1_2"
27823 // InternalAlloyLanguage.g:9877:1: rule__ALSJoin__RightOperandAssignment_1_2 : ( ruleALSMinus ) ;
27824 public final void rule__ALSJoin__RightOperandAssignment_1_2() throws RecognitionException {
27825
27826 int stackSize = keepStackSize();
27827
27828 try {
27829 // InternalAlloyLanguage.g:9881:1: ( ( ruleALSMinus ) )
27830 // InternalAlloyLanguage.g:9882:1: ( ruleALSMinus )
27831 {
27832 // InternalAlloyLanguage.g:9882:1: ( ruleALSMinus )
27833 // InternalAlloyLanguage.g:9883:1: ruleALSMinus
27834 {
27835 if ( state.backtracking==0 ) {
27836 before(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0());
27837 }
27838 pushFollow(FOLLOW_2);
27839 ruleALSMinus();
27840
27841 state._fsp--;
27842 if (state.failed) return ;
27843 if ( state.backtracking==0 ) {
27844 after(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0());
27845 }
27846
27847 }
27848
27849
27850 }
27851
27852 }
27853 catch (RecognitionException re) {
27854 reportError(re);
27855 recover(input,re);
27856 }
27857 finally {
27858
27859 restoreStackSize(stackSize);
27860
27861 }
27862 return ;
27863 }
27864 // $ANTLR end "rule__ALSJoin__RightOperandAssignment_1_2"
27865
27866
27867 // $ANTLR start "rule__ALSMinus__RightOperandAssignment_1_2"
27868 // InternalAlloyLanguage.g:9892:1: rule__ALSMinus__RightOperandAssignment_1_2 : ( ruleALSPlus ) ;
27869 public final void rule__ALSMinus__RightOperandAssignment_1_2() throws RecognitionException {
27870
27871 int stackSize = keepStackSize();
27872
27873 try {
27874 // InternalAlloyLanguage.g:9896:1: ( ( ruleALSPlus ) )
27875 // InternalAlloyLanguage.g:9897:1: ( ruleALSPlus )
27876 {
27877 // InternalAlloyLanguage.g:9897:1: ( ruleALSPlus )
27878 // InternalAlloyLanguage.g:9898:1: ruleALSPlus
27879 {
27880 if ( state.backtracking==0 ) {
27881 before(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0());
27882 }
27883 pushFollow(FOLLOW_2);
27884 ruleALSPlus();
27885
27886 state._fsp--;
27887 if (state.failed) return ;
27888 if ( state.backtracking==0 ) {
27889 after(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0());
27890 }
27891
27892 }
27893
27894
27895 }
27896
27897 }
27898 catch (RecognitionException re) {
27899 reportError(re);
27900 recover(input,re);
27901 }
27902 finally {
27903
27904 restoreStackSize(stackSize);
27905
27906 }
27907 return ;
27908 }
27909 // $ANTLR end "rule__ALSMinus__RightOperandAssignment_1_2"
27910
27911
27912 // $ANTLR start "rule__ALSPlus__RightOperandAssignment_1_2"
27913 // InternalAlloyLanguage.g:9907:1: rule__ALSPlus__RightOperandAssignment_1_2 : ( ruleALSIntersection ) ;
27914 public final void rule__ALSPlus__RightOperandAssignment_1_2() throws RecognitionException {
27915
27916 int stackSize = keepStackSize();
27917
27918 try {
27919 // InternalAlloyLanguage.g:9911:1: ( ( ruleALSIntersection ) )
27920 // InternalAlloyLanguage.g:9912:1: ( ruleALSIntersection )
27921 {
27922 // InternalAlloyLanguage.g:9912:1: ( ruleALSIntersection )
27923 // InternalAlloyLanguage.g:9913:1: ruleALSIntersection
27924 {
27925 if ( state.backtracking==0 ) {
27926 before(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0());
27927 }
27928 pushFollow(FOLLOW_2);
27929 ruleALSIntersection();
27930
27931 state._fsp--;
27932 if (state.failed) return ;
27933 if ( state.backtracking==0 ) {
27934 after(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0());
27935 }
27936
27937 }
27938
27939
27940 }
27941
27942 }
27943 catch (RecognitionException re) {
27944 reportError(re);
27945 recover(input,re);
27946 }
27947 finally {
27948
27949 restoreStackSize(stackSize);
27950
27951 }
27952 return ;
27953 }
27954 // $ANTLR end "rule__ALSPlus__RightOperandAssignment_1_2"
27955
27956
27957 // $ANTLR start "rule__ALSIntersection__RightOperandAssignment_1_2"
27958 // InternalAlloyLanguage.g:9922:1: rule__ALSIntersection__RightOperandAssignment_1_2 : ( ruleALSDirectProduct ) ;
27959 public final void rule__ALSIntersection__RightOperandAssignment_1_2() throws RecognitionException {
27960
27961 int stackSize = keepStackSize();
27962
27963 try {
27964 // InternalAlloyLanguage.g:9926:1: ( ( ruleALSDirectProduct ) )
27965 // InternalAlloyLanguage.g:9927:1: ( ruleALSDirectProduct )
27966 {
27967 // InternalAlloyLanguage.g:9927:1: ( ruleALSDirectProduct )
27968 // InternalAlloyLanguage.g:9928:1: ruleALSDirectProduct
27969 {
27970 if ( state.backtracking==0 ) {
27971 before(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0());
27972 }
27973 pushFollow(FOLLOW_2);
27974 ruleALSDirectProduct();
27975
27976 state._fsp--;
27977 if (state.failed) return ;
27978 if ( state.backtracking==0 ) {
27979 after(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0());
27980 }
27981
27982 }
27983
27984
27985 }
27986
27987 }
27988 catch (RecognitionException re) {
27989 reportError(re);
27990 recover(input,re);
27991 }
27992 finally {
27993
27994 restoreStackSize(stackSize);
27995
27996 }
27997 return ;
27998 }
27999 // $ANTLR end "rule__ALSIntersection__RightOperandAssignment_1_2"
28000
28001
28002 // $ANTLR start "rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1"
28003 // InternalAlloyLanguage.g:9937:1: rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1 : ( ruleALSMultiplicity ) ;
28004 public final void rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1() throws RecognitionException {
28005
28006 int stackSize = keepStackSize();
28007
28008 try {
28009 // InternalAlloyLanguage.g:9941:1: ( ( ruleALSMultiplicity ) )
28010 // InternalAlloyLanguage.g:9942:1: ( ruleALSMultiplicity )
28011 {
28012 // InternalAlloyLanguage.g:9942:1: ( ruleALSMultiplicity )
28013 // InternalAlloyLanguage.g:9943:1: ruleALSMultiplicity
28014 {
28015 if ( state.backtracking==0 ) {
28016 before(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0());
28017 }
28018 pushFollow(FOLLOW_2);
28019 ruleALSMultiplicity();
28020
28021 state._fsp--;
28022 if (state.failed) return ;
28023 if ( state.backtracking==0 ) {
28024 after(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0());
28025 }
28026
28027 }
28028
28029
28030 }
28031
28032 }
28033 catch (RecognitionException re) {
28034 reportError(re);
28035 recover(input,re);
28036 }
28037 finally {
28038
28039 restoreStackSize(stackSize);
28040
28041 }
28042 return ;
28043 }
28044 // $ANTLR end "rule__ALSDirectProduct__LeftMultiplicitAssignment_1_1"
28045
28046
28047 // $ANTLR start "rule__ALSDirectProduct__RightMultiplicitAssignment_1_3"
28048 // InternalAlloyLanguage.g:9952:1: rule__ALSDirectProduct__RightMultiplicitAssignment_1_3 : ( ruleALSMultiplicity ) ;
28049 public final void rule__ALSDirectProduct__RightMultiplicitAssignment_1_3() throws RecognitionException {
28050
28051 int stackSize = keepStackSize();
28052
28053 try {
28054 // InternalAlloyLanguage.g:9956:1: ( ( ruleALSMultiplicity ) )
28055 // InternalAlloyLanguage.g:9957:1: ( ruleALSMultiplicity )
28056 {
28057 // InternalAlloyLanguage.g:9957:1: ( ruleALSMultiplicity )
28058 // InternalAlloyLanguage.g:9958:1: ruleALSMultiplicity
28059 {
28060 if ( state.backtracking==0 ) {
28061 before(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0());
28062 }
28063 pushFollow(FOLLOW_2);
28064 ruleALSMultiplicity();
28065
28066 state._fsp--;
28067 if (state.failed) return ;
28068 if ( state.backtracking==0 ) {
28069 after(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0());
28070 }
28071
28072 }
28073
28074
28075 }
28076
28077 }
28078 catch (RecognitionException re) {
28079 reportError(re);
28080 recover(input,re);
28081 }
28082 finally {
28083
28084 restoreStackSize(stackSize);
28085
28086 }
28087 return ;
28088 }
28089 // $ANTLR end "rule__ALSDirectProduct__RightMultiplicitAssignment_1_3"
28090
28091
28092 // $ANTLR start "rule__ALSDirectProduct__RightOperandAssignment_1_4"
28093 // InternalAlloyLanguage.g:9967:1: rule__ALSDirectProduct__RightOperandAssignment_1_4 : ( ruleALSPreficed ) ;
28094 public final void rule__ALSDirectProduct__RightOperandAssignment_1_4() throws RecognitionException {
28095
28096 int stackSize = keepStackSize();
28097
28098 try {
28099 // InternalAlloyLanguage.g:9971:1: ( ( ruleALSPreficed ) )
28100 // InternalAlloyLanguage.g:9972:1: ( ruleALSPreficed )
28101 {
28102 // InternalAlloyLanguage.g:9972:1: ( ruleALSPreficed )
28103 // InternalAlloyLanguage.g:9973:1: ruleALSPreficed
28104 {
28105 if ( state.backtracking==0 ) {
28106 before(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0());
28107 }
28108 pushFollow(FOLLOW_2);
28109 ruleALSPreficed();
28110
28111 state._fsp--;
28112 if (state.failed) return ;
28113 if ( state.backtracking==0 ) {
28114 after(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0());
28115 }
28116
28117 }
28118
28119
28120 }
28121
28122 }
28123 catch (RecognitionException re) {
28124 reportError(re);
28125 recover(input,re);
28126 }
28127 finally {
28128
28129 restoreStackSize(stackSize);
28130
28131 }
28132 return ;
28133 }
28134 // $ANTLR end "rule__ALSDirectProduct__RightOperandAssignment_1_4"
28135
28136
28137 // $ANTLR start "rule__ALSPreficed__OperandAssignment_0_2"
28138 // InternalAlloyLanguage.g:9982:1: rule__ALSPreficed__OperandAssignment_0_2 : ( ruleALSBasicRelationTerm ) ;
28139 public final void rule__ALSPreficed__OperandAssignment_0_2() throws RecognitionException {
28140
28141 int stackSize = keepStackSize();
28142
28143 try {
28144 // InternalAlloyLanguage.g:9986:1: ( ( ruleALSBasicRelationTerm ) )
28145 // InternalAlloyLanguage.g:9987:1: ( ruleALSBasicRelationTerm )
28146 {
28147 // InternalAlloyLanguage.g:9987:1: ( ruleALSBasicRelationTerm )
28148 // InternalAlloyLanguage.g:9988:1: ruleALSBasicRelationTerm
28149 {
28150 if ( state.backtracking==0 ) {
28151 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0());
28152 }
28153 pushFollow(FOLLOW_2);
28154 ruleALSBasicRelationTerm();
28155
28156 state._fsp--;
28157 if (state.failed) return ;
28158 if ( state.backtracking==0 ) {
28159 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0());
28160 }
28161
28162 }
28163
28164
28165 }
28166
28167 }
28168 catch (RecognitionException re) {
28169 reportError(re);
28170 recover(input,re);
28171 }
28172 finally {
28173
28174 restoreStackSize(stackSize);
28175
28176 }
28177 return ;
28178 }
28179 // $ANTLR end "rule__ALSPreficed__OperandAssignment_0_2"
28180
28181
28182 // $ANTLR start "rule__ALSPreficed__OperandAssignment_1_2"
28183 // InternalAlloyLanguage.g:9997:1: rule__ALSPreficed__OperandAssignment_1_2 : ( ruleALSBasicRelationTerm ) ;
28184 public final void rule__ALSPreficed__OperandAssignment_1_2() throws RecognitionException {
28185
28186 int stackSize = keepStackSize();
28187
28188 try {
28189 // InternalAlloyLanguage.g:10001:1: ( ( ruleALSBasicRelationTerm ) )
28190 // InternalAlloyLanguage.g:10002:1: ( ruleALSBasicRelationTerm )
28191 {
28192 // InternalAlloyLanguage.g:10002:1: ( ruleALSBasicRelationTerm )
28193 // InternalAlloyLanguage.g:10003:1: ruleALSBasicRelationTerm
28194 {
28195 if ( state.backtracking==0 ) {
28196 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0());
28197 }
28198 pushFollow(FOLLOW_2);
28199 ruleALSBasicRelationTerm();
28200
28201 state._fsp--;
28202 if (state.failed) return ;
28203 if ( state.backtracking==0 ) {
28204 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0());
28205 }
28206
28207 }
28208
28209
28210 }
28211
28212 }
28213 catch (RecognitionException re) {
28214 reportError(re);
28215 recover(input,re);
28216 }
28217 finally {
28218
28219 restoreStackSize(stackSize);
28220
28221 }
28222 return ;
28223 }
28224 // $ANTLR end "rule__ALSPreficed__OperandAssignment_1_2"
28225
28226
28227 // $ANTLR start "rule__ALSPreficed__OperandAssignment_2_2"
28228 // InternalAlloyLanguage.g:10012:1: rule__ALSPreficed__OperandAssignment_2_2 : ( ruleALSBasicRelationTerm ) ;
28229 public final void rule__ALSPreficed__OperandAssignment_2_2() throws RecognitionException {
28230
28231 int stackSize = keepStackSize();
28232
28233 try {
28234 // InternalAlloyLanguage.g:10016:1: ( ( ruleALSBasicRelationTerm ) )
28235 // InternalAlloyLanguage.g:10017:1: ( ruleALSBasicRelationTerm )
28236 {
28237 // InternalAlloyLanguage.g:10017:1: ( ruleALSBasicRelationTerm )
28238 // InternalAlloyLanguage.g:10018:1: ruleALSBasicRelationTerm
28239 {
28240 if ( state.backtracking==0 ) {
28241 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0());
28242 }
28243 pushFollow(FOLLOW_2);
28244 ruleALSBasicRelationTerm();
28245
28246 state._fsp--;
28247 if (state.failed) return ;
28248 if ( state.backtracking==0 ) {
28249 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0());
28250 }
28251
28252 }
28253
28254
28255 }
28256
28257 }
28258 catch (RecognitionException re) {
28259 reportError(re);
28260 recover(input,re);
28261 }
28262 finally {
28263
28264 restoreStackSize(stackSize);
28265
28266 }
28267 return ;
28268 }
28269 // $ANTLR end "rule__ALSPreficed__OperandAssignment_2_2"
28270
28271
28272 // $ANTLR start "rule__ALSPreficed__OperandAssignment_3_2"
28273 // InternalAlloyLanguage.g:10027:1: rule__ALSPreficed__OperandAssignment_3_2 : ( ruleALSBasicRelationTerm ) ;
28274 public final void rule__ALSPreficed__OperandAssignment_3_2() throws RecognitionException {
28275
28276 int stackSize = keepStackSize();
28277
28278 try {
28279 // InternalAlloyLanguage.g:10031:1: ( ( ruleALSBasicRelationTerm ) )
28280 // InternalAlloyLanguage.g:10032:1: ( ruleALSBasicRelationTerm )
28281 {
28282 // InternalAlloyLanguage.g:10032:1: ( ruleALSBasicRelationTerm )
28283 // InternalAlloyLanguage.g:10033:1: ruleALSBasicRelationTerm
28284 {
28285 if ( state.backtracking==0 ) {
28286 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0());
28287 }
28288 pushFollow(FOLLOW_2);
28289 ruleALSBasicRelationTerm();
28290
28291 state._fsp--;
28292 if (state.failed) return ;
28293 if ( state.backtracking==0 ) {
28294 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0());
28295 }
28296
28297 }
28298
28299
28300 }
28301
28302 }
28303 catch (RecognitionException re) {
28304 reportError(re);
28305 recover(input,re);
28306 }
28307 finally {
28308
28309 restoreStackSize(stackSize);
28310
28311 }
28312 return ;
28313 }
28314 // $ANTLR end "rule__ALSPreficed__OperandAssignment_3_2"
28315
28316
28317 // $ANTLR start "rule__ALSPreficed__OperandAssignment_4_2"
28318 // InternalAlloyLanguage.g:10042:1: rule__ALSPreficed__OperandAssignment_4_2 : ( ruleALSBasicRelationTerm ) ;
28319 public final void rule__ALSPreficed__OperandAssignment_4_2() throws RecognitionException {
28320
28321 int stackSize = keepStackSize();
28322
28323 try {
28324 // InternalAlloyLanguage.g:10046:1: ( ( ruleALSBasicRelationTerm ) )
28325 // InternalAlloyLanguage.g:10047:1: ( ruleALSBasicRelationTerm )
28326 {
28327 // InternalAlloyLanguage.g:10047:1: ( ruleALSBasicRelationTerm )
28328 // InternalAlloyLanguage.g:10048:1: ruleALSBasicRelationTerm
28329 {
28330 if ( state.backtracking==0 ) {
28331 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0());
28332 }
28333 pushFollow(FOLLOW_2);
28334 ruleALSBasicRelationTerm();
28335
28336 state._fsp--;
28337 if (state.failed) return ;
28338 if ( state.backtracking==0 ) {
28339 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0());
28340 }
28341
28342 }
28343
28344
28345 }
28346
28347 }
28348 catch (RecognitionException re) {
28349 reportError(re);
28350 recover(input,re);
28351 }
28352 finally {
28353
28354 restoreStackSize(stackSize);
28355
28356 }
28357 return ;
28358 }
28359 // $ANTLR end "rule__ALSPreficed__OperandAssignment_4_2"
28360
28361
28362 // $ANTLR start "rule__ALSPreficed__OperandAssignment_5_2"
28363 // InternalAlloyLanguage.g:10057:1: rule__ALSPreficed__OperandAssignment_5_2 : ( ruleALSBasicRelationTerm ) ;
28364 public final void rule__ALSPreficed__OperandAssignment_5_2() throws RecognitionException {
28365
28366 int stackSize = keepStackSize();
28367
28368 try {
28369 // InternalAlloyLanguage.g:10061:1: ( ( ruleALSBasicRelationTerm ) )
28370 // InternalAlloyLanguage.g:10062:1: ( ruleALSBasicRelationTerm )
28371 {
28372 // InternalAlloyLanguage.g:10062:1: ( ruleALSBasicRelationTerm )
28373 // InternalAlloyLanguage.g:10063:1: ruleALSBasicRelationTerm
28374 {
28375 if ( state.backtracking==0 ) {
28376 before(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0());
28377 }
28378 pushFollow(FOLLOW_2);
28379 ruleALSBasicRelationTerm();
28380
28381 state._fsp--;
28382 if (state.failed) return ;
28383 if ( state.backtracking==0 ) {
28384 after(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0());
28385 }
28386
28387 }
28388
28389
28390 }
28391
28392 }
28393 catch (RecognitionException re) {
28394 reportError(re);
28395 recover(input,re);
28396 }
28397 finally {
28398
28399 restoreStackSize(stackSize);
28400
28401 }
28402 return ;
28403 }
28404 // $ANTLR end "rule__ALSPreficed__OperandAssignment_5_2"
28405
28406
28407 // $ANTLR start "rule__ALSPreficed__VariablesAssignment_6_2"
28408 // InternalAlloyLanguage.g:10072:1: rule__ALSPreficed__VariablesAssignment_6_2 : ( ruleALSVariableDeclaration ) ;
28409 public final void rule__ALSPreficed__VariablesAssignment_6_2() throws RecognitionException {
28410
28411 int stackSize = keepStackSize();
28412
28413 try {
28414 // InternalAlloyLanguage.g:10076:1: ( ( ruleALSVariableDeclaration ) )
28415 // InternalAlloyLanguage.g:10077:1: ( ruleALSVariableDeclaration )
28416 {
28417 // InternalAlloyLanguage.g:10077:1: ( ruleALSVariableDeclaration )
28418 // InternalAlloyLanguage.g:10078:1: ruleALSVariableDeclaration
28419 {
28420 if ( state.backtracking==0 ) {
28421 before(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0());
28422 }
28423 pushFollow(FOLLOW_2);
28424 ruleALSVariableDeclaration();
28425
28426 state._fsp--;
28427 if (state.failed) return ;
28428 if ( state.backtracking==0 ) {
28429 after(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0());
28430 }
28431
28432 }
28433
28434
28435 }
28436
28437 }
28438 catch (RecognitionException re) {
28439 reportError(re);
28440 recover(input,re);
28441 }
28442 finally {
28443
28444 restoreStackSize(stackSize);
28445
28446 }
28447 return ;
28448 }
28449 // $ANTLR end "rule__ALSPreficed__VariablesAssignment_6_2"
28450
28451
28452 // $ANTLR start "rule__ALSPreficed__VariablesAssignment_6_3_1"
28453 // InternalAlloyLanguage.g:10087:1: rule__ALSPreficed__VariablesAssignment_6_3_1 : ( ruleALSVariableDeclaration ) ;
28454 public final void rule__ALSPreficed__VariablesAssignment_6_3_1() throws RecognitionException {
28455
28456 int stackSize = keepStackSize();
28457
28458 try {
28459 // InternalAlloyLanguage.g:10091:1: ( ( ruleALSVariableDeclaration ) )
28460 // InternalAlloyLanguage.g:10092:1: ( ruleALSVariableDeclaration )
28461 {
28462 // InternalAlloyLanguage.g:10092:1: ( ruleALSVariableDeclaration )
28463 // InternalAlloyLanguage.g:10093:1: ruleALSVariableDeclaration
28464 {
28465 if ( state.backtracking==0 ) {
28466 before(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0());
28467 }
28468 pushFollow(FOLLOW_2);
28469 ruleALSVariableDeclaration();
28470
28471 state._fsp--;
28472 if (state.failed) return ;
28473 if ( state.backtracking==0 ) {
28474 after(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0());
28475 }
28476
28477 }
28478
28479
28480 }
28481
28482 }
28483 catch (RecognitionException re) {
28484 reportError(re);
28485 recover(input,re);
28486 }
28487 finally {
28488
28489 restoreStackSize(stackSize);
28490
28491 }
28492 return ;
28493 }
28494 // $ANTLR end "rule__ALSPreficed__VariablesAssignment_6_3_1"
28495
28496
28497 // $ANTLR start "rule__ALSPreficed__ExpressionAssignment_6_5"
28498 // InternalAlloyLanguage.g:10102:1: rule__ALSPreficed__ExpressionAssignment_6_5 : ( ruleALSTerm ) ;
28499 public final void rule__ALSPreficed__ExpressionAssignment_6_5() throws RecognitionException {
28500
28501 int stackSize = keepStackSize();
28502
28503 try {
28504 // InternalAlloyLanguage.g:10106:1: ( ( ruleALSTerm ) )
28505 // InternalAlloyLanguage.g:10107:1: ( ruleALSTerm )
28506 {
28507 // InternalAlloyLanguage.g:10107:1: ( ruleALSTerm )
28508 // InternalAlloyLanguage.g:10108:1: ruleALSTerm
28509 {
28510 if ( state.backtracking==0 ) {
28511 before(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0());
28512 }
28513 pushFollow(FOLLOW_2);
28514 ruleALSTerm();
28515
28516 state._fsp--;
28517 if (state.failed) return ;
28518 if ( state.backtracking==0 ) {
28519 after(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0());
28520 }
28521
28522 }
28523
28524
28525 }
28526
28527 }
28528 catch (RecognitionException re) {
28529 reportError(re);
28530 recover(input,re);
28531 }
28532 finally {
28533
28534 restoreStackSize(stackSize);
28535
28536 }
28537 return ;
28538 }
28539 // $ANTLR end "rule__ALSPreficed__ExpressionAssignment_6_5"
28540
28541
28542 // $ANTLR start "rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0"
28543 // InternalAlloyLanguage.g:10117:1: rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0 : ( ( RULE_ID ) ) ;
28544 public final void rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0() throws RecognitionException {
28545
28546 int stackSize = keepStackSize();
28547
28548 try {
28549 // InternalAlloyLanguage.g:10121:1: ( ( ( RULE_ID ) ) )
28550 // InternalAlloyLanguage.g:10122:1: ( ( RULE_ID ) )
28551 {
28552 // InternalAlloyLanguage.g:10122:1: ( ( RULE_ID ) )
28553 // InternalAlloyLanguage.g:10123:1: ( RULE_ID )
28554 {
28555 if ( state.backtracking==0 ) {
28556 before(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0());
28557 }
28558 // InternalAlloyLanguage.g:10124:1: ( RULE_ID )
28559 // InternalAlloyLanguage.g:10125:1: RULE_ID
28560 {
28561 if ( state.backtracking==0 ) {
28562 before(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1());
28563 }
28564 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
28565 if ( state.backtracking==0 ) {
28566 after(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1());
28567 }
28568
28569 }
28570
28571 if ( state.backtracking==0 ) {
28572 after(grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0());
28573 }
28574
28575 }
28576
28577
28578 }
28579
28580 }
28581 catch (RecognitionException re) {
28582 reportError(re);
28583 recover(input,re);
28584 }
28585 finally {
28586
28587 restoreStackSize(stackSize);
28588
28589 }
28590 return ;
28591 }
28592 // $ANTLR end "rule__ALSPreficed__ReferredDefinitionAssignment_7_1_0"
28593
28594
28595 // $ANTLR start "rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1"
28596 // InternalAlloyLanguage.g:10136:1: rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1 : ( ruleALSNumericOperator ) ;
28597 public final void rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1() throws RecognitionException {
28598
28599 int stackSize = keepStackSize();
28600
28601 try {
28602 // InternalAlloyLanguage.g:10140:1: ( ( ruleALSNumericOperator ) )
28603 // InternalAlloyLanguage.g:10141:1: ( ruleALSNumericOperator )
28604 {
28605 // InternalAlloyLanguage.g:10141:1: ( ruleALSNumericOperator )
28606 // InternalAlloyLanguage.g:10142:1: ruleALSNumericOperator
28607 {
28608 if ( state.backtracking==0 ) {
28609 before(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0());
28610 }
28611 pushFollow(FOLLOW_2);
28612 ruleALSNumericOperator();
28613
28614 state._fsp--;
28615 if (state.failed) return ;
28616 if ( state.backtracking==0 ) {
28617 after(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0());
28618 }
28619
28620 }
28621
28622
28623 }
28624
28625 }
28626 catch (RecognitionException re) {
28627 reportError(re);
28628 recover(input,re);
28629 }
28630 finally {
28631
28632 restoreStackSize(stackSize);
28633
28634 }
28635 return ;
28636 }
28637 // $ANTLR end "rule__ALSPreficed__ReferredNumericOperatorAssignment_7_1_1"
28638
28639
28640 // $ANTLR start "rule__ALSPreficed__ParamsAssignment_7_3"
28641 // InternalAlloyLanguage.g:10151:1: rule__ALSPreficed__ParamsAssignment_7_3 : ( ruleALSTerm ) ;
28642 public final void rule__ALSPreficed__ParamsAssignment_7_3() throws RecognitionException {
28643
28644 int stackSize = keepStackSize();
28645
28646 try {
28647 // InternalAlloyLanguage.g:10155:1: ( ( ruleALSTerm ) )
28648 // InternalAlloyLanguage.g:10156:1: ( ruleALSTerm )
28649 {
28650 // InternalAlloyLanguage.g:10156:1: ( ruleALSTerm )
28651 // InternalAlloyLanguage.g:10157:1: ruleALSTerm
28652 {
28653 if ( state.backtracking==0 ) {
28654 before(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0());
28655 }
28656 pushFollow(FOLLOW_2);
28657 ruleALSTerm();
28658
28659 state._fsp--;
28660 if (state.failed) return ;
28661 if ( state.backtracking==0 ) {
28662 after(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0());
28663 }
28664
28665 }
28666
28667
28668 }
28669
28670 }
28671 catch (RecognitionException re) {
28672 reportError(re);
28673 recover(input,re);
28674 }
28675 finally {
28676
28677 restoreStackSize(stackSize);
28678
28679 }
28680 return ;
28681 }
28682 // $ANTLR end "rule__ALSPreficed__ParamsAssignment_7_3"
28683
28684
28685 // $ANTLR start "rule__ALSPreficed__ParamsAssignment_7_4_1"
28686 // InternalAlloyLanguage.g:10166:1: rule__ALSPreficed__ParamsAssignment_7_4_1 : ( ruleALSTerm ) ;
28687 public final void rule__ALSPreficed__ParamsAssignment_7_4_1() throws RecognitionException {
28688
28689 int stackSize = keepStackSize();
28690
28691 try {
28692 // InternalAlloyLanguage.g:10170:1: ( ( ruleALSTerm ) )
28693 // InternalAlloyLanguage.g:10171:1: ( ruleALSTerm )
28694 {
28695 // InternalAlloyLanguage.g:10171:1: ( ruleALSTerm )
28696 // InternalAlloyLanguage.g:10172:1: ruleALSTerm
28697 {
28698 if ( state.backtracking==0 ) {
28699 before(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0());
28700 }
28701 pushFollow(FOLLOW_2);
28702 ruleALSTerm();
28703
28704 state._fsp--;
28705 if (state.failed) return ;
28706 if ( state.backtracking==0 ) {
28707 after(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0());
28708 }
28709
28710 }
28711
28712
28713 }
28714
28715 }
28716 catch (RecognitionException re) {
28717 reportError(re);
28718 recover(input,re);
28719 }
28720 finally {
28721
28722 restoreStackSize(stackSize);
28723
28724 }
28725 return ;
28726 }
28727 // $ANTLR end "rule__ALSPreficed__ParamsAssignment_7_4_1"
28728
28729
28730 // $ANTLR start "rule__ALSVariableDeclaration__NameAssignment_0"
28731 // InternalAlloyLanguage.g:10181:1: rule__ALSVariableDeclaration__NameAssignment_0 : ( ruleALSID ) ;
28732 public final void rule__ALSVariableDeclaration__NameAssignment_0() throws RecognitionException {
28733
28734 int stackSize = keepStackSize();
28735
28736 try {
28737 // InternalAlloyLanguage.g:10185:1: ( ( ruleALSID ) )
28738 // InternalAlloyLanguage.g:10186:1: ( ruleALSID )
28739 {
28740 // InternalAlloyLanguage.g:10186:1: ( ruleALSID )
28741 // InternalAlloyLanguage.g:10187:1: ruleALSID
28742 {
28743 if ( state.backtracking==0 ) {
28744 before(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0());
28745 }
28746 pushFollow(FOLLOW_2);
28747 ruleALSID();
28748
28749 state._fsp--;
28750 if (state.failed) return ;
28751 if ( state.backtracking==0 ) {
28752 after(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0());
28753 }
28754
28755 }
28756
28757
28758 }
28759
28760 }
28761 catch (RecognitionException re) {
28762 reportError(re);
28763 recover(input,re);
28764 }
28765 finally {
28766
28767 restoreStackSize(stackSize);
28768
28769 }
28770 return ;
28771 }
28772 // $ANTLR end "rule__ALSVariableDeclaration__NameAssignment_0"
28773
28774
28775 // $ANTLR start "rule__ALSVariableDeclaration__RangeAssignment_2"
28776 // InternalAlloyLanguage.g:10196:1: rule__ALSVariableDeclaration__RangeAssignment_2 : ( ruleALSTerm ) ;
28777 public final void rule__ALSVariableDeclaration__RangeAssignment_2() throws RecognitionException {
28778
28779 int stackSize = keepStackSize();
28780
28781 try {
28782 // InternalAlloyLanguage.g:10200:1: ( ( ruleALSTerm ) )
28783 // InternalAlloyLanguage.g:10201:1: ( ruleALSTerm )
28784 {
28785 // InternalAlloyLanguage.g:10201:1: ( ruleALSTerm )
28786 // InternalAlloyLanguage.g:10202:1: ruleALSTerm
28787 {
28788 if ( state.backtracking==0 ) {
28789 before(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0());
28790 }
28791 pushFollow(FOLLOW_2);
28792 ruleALSTerm();
28793
28794 state._fsp--;
28795 if (state.failed) return ;
28796 if ( state.backtracking==0 ) {
28797 after(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0());
28798 }
28799
28800 }
28801
28802
28803 }
28804
28805 }
28806 catch (RecognitionException re) {
28807 reportError(re);
28808 recover(input,re);
28809 }
28810 finally {
28811
28812 restoreStackSize(stackSize);
28813
28814 }
28815 return ;
28816 }
28817 // $ANTLR end "rule__ALSVariableDeclaration__RangeAssignment_2"
28818
28819
28820 // $ANTLR start "rule__ALSBasicRelationTerm__ReferredAssignment_5_1"
28821 // InternalAlloyLanguage.g:10211:1: rule__ALSBasicRelationTerm__ReferredAssignment_5_1 : ( ( RULE_ID ) ) ;
28822 public final void rule__ALSBasicRelationTerm__ReferredAssignment_5_1() throws RecognitionException {
28823
28824 int stackSize = keepStackSize();
28825
28826 try {
28827 // InternalAlloyLanguage.g:10215:1: ( ( ( RULE_ID ) ) )
28828 // InternalAlloyLanguage.g:10216:1: ( ( RULE_ID ) )
28829 {
28830 // InternalAlloyLanguage.g:10216:1: ( ( RULE_ID ) )
28831 // InternalAlloyLanguage.g:10217:1: ( RULE_ID )
28832 {
28833 if ( state.backtracking==0 ) {
28834 before(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0());
28835 }
28836 // InternalAlloyLanguage.g:10218:1: ( RULE_ID )
28837 // InternalAlloyLanguage.g:10219:1: RULE_ID
28838 {
28839 if ( state.backtracking==0 ) {
28840 before(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1());
28841 }
28842 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
28843 if ( state.backtracking==0 ) {
28844 after(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1());
28845 }
28846
28847 }
28848
28849 if ( state.backtracking==0 ) {
28850 after(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0());
28851 }
28852
28853 }
28854
28855
28856 }
28857
28858 }
28859 catch (RecognitionException re) {
28860 reportError(re);
28861 recover(input,re);
28862 }
28863 finally {
28864
28865 restoreStackSize(stackSize);
28866
28867 }
28868 return ;
28869 }
28870 // $ANTLR end "rule__ALSBasicRelationTerm__ReferredAssignment_5_1"
28871
28872
28873 // $ANTLR start "rule__ALSBasicRelationTerm__ValueAssignment_6_1"
28874 // InternalAlloyLanguage.g:10230:1: rule__ALSBasicRelationTerm__ValueAssignment_6_1 : ( RULE_INT ) ;
28875 public final void rule__ALSBasicRelationTerm__ValueAssignment_6_1() throws RecognitionException {
28876
28877 int stackSize = keepStackSize();
28878
28879 try {
28880 // InternalAlloyLanguage.g:10234:1: ( ( RULE_INT ) )
28881 // InternalAlloyLanguage.g:10235:1: ( RULE_INT )
28882 {
28883 // InternalAlloyLanguage.g:10235:1: ( RULE_INT )
28884 // InternalAlloyLanguage.g:10236:1: RULE_INT
28885 {
28886 if ( state.backtracking==0 ) {
28887 before(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0());
28888 }
28889 match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
28890 if ( state.backtracking==0 ) {
28891 after(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0());
28892 }
28893
28894 }
28895
28896
28897 }
28898
28899 }
28900 catch (RecognitionException re) {
28901 reportError(re);
28902 recover(input,re);
28903 }
28904 finally {
28905
28906 restoreStackSize(stackSize);
28907
28908 }
28909 return ;
28910 }
28911 // $ANTLR end "rule__ALSBasicRelationTerm__ValueAssignment_6_1"
28912
28913
28914 // $ANTLR start "rule__ALSBasicRelationTerm__ValueAssignment_7_1"
28915 // InternalAlloyLanguage.g:10245:1: rule__ALSBasicRelationTerm__ValueAssignment_7_1 : ( RULE_STRING ) ;
28916 public final void rule__ALSBasicRelationTerm__ValueAssignment_7_1() throws RecognitionException {
28917
28918 int stackSize = keepStackSize();
28919
28920 try {
28921 // InternalAlloyLanguage.g:10249:1: ( ( RULE_STRING ) )
28922 // InternalAlloyLanguage.g:10250:1: ( RULE_STRING )
28923 {
28924 // InternalAlloyLanguage.g:10250:1: ( RULE_STRING )
28925 // InternalAlloyLanguage.g:10251:1: RULE_STRING
28926 {
28927 if ( state.backtracking==0 ) {
28928 before(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0());
28929 }
28930 match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;
28931 if ( state.backtracking==0 ) {
28932 after(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0());
28933 }
28934
28935 }
28936
28937
28938 }
28939
28940 }
28941 catch (RecognitionException re) {
28942 reportError(re);
28943 recover(input,re);
28944 }
28945 finally {
28946
28947 restoreStackSize(stackSize);
28948
28949 }
28950 return ;
28951 }
28952 // $ANTLR end "rule__ALSBasicRelationTerm__ValueAssignment_7_1"
28953
28954
28955 // $ANTLR start "rule__ALSRunCommand__TypeScopesAssignment_4_1"
28956 // InternalAlloyLanguage.g:10260:1: rule__ALSRunCommand__TypeScopesAssignment_4_1 : ( ruleALSTypeScope ) ;
28957 public final void rule__ALSRunCommand__TypeScopesAssignment_4_1() throws RecognitionException {
28958
28959 int stackSize = keepStackSize();
28960
28961 try {
28962 // InternalAlloyLanguage.g:10264:1: ( ( ruleALSTypeScope ) )
28963 // InternalAlloyLanguage.g:10265:1: ( ruleALSTypeScope )
28964 {
28965 // InternalAlloyLanguage.g:10265:1: ( ruleALSTypeScope )
28966 // InternalAlloyLanguage.g:10266:1: ruleALSTypeScope
28967 {
28968 if ( state.backtracking==0 ) {
28969 before(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
28970 }
28971 pushFollow(FOLLOW_2);
28972 ruleALSTypeScope();
28973
28974 state._fsp--;
28975 if (state.failed) return ;
28976 if ( state.backtracking==0 ) {
28977 after(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
28978 }
28979
28980 }
28981
28982
28983 }
28984
28985 }
28986 catch (RecognitionException re) {
28987 reportError(re);
28988 recover(input,re);
28989 }
28990 finally {
28991
28992 restoreStackSize(stackSize);
28993
28994 }
28995 return ;
28996 }
28997 // $ANTLR end "rule__ALSRunCommand__TypeScopesAssignment_4_1"
28998
28999
29000 // $ANTLR start "rule__ALSRunCommand__TypeScopesAssignment_4_2_1"
29001 // InternalAlloyLanguage.g:10275:1: rule__ALSRunCommand__TypeScopesAssignment_4_2_1 : ( ruleALSTypeScope ) ;
29002 public final void rule__ALSRunCommand__TypeScopesAssignment_4_2_1() throws RecognitionException {
29003
29004 int stackSize = keepStackSize();
29005
29006 try {
29007 // InternalAlloyLanguage.g:10279:1: ( ( ruleALSTypeScope ) )
29008 // InternalAlloyLanguage.g:10280:1: ( ruleALSTypeScope )
29009 {
29010 // InternalAlloyLanguage.g:10280:1: ( ruleALSTypeScope )
29011 // InternalAlloyLanguage.g:10281:1: ruleALSTypeScope
29012 {
29013 if ( state.backtracking==0 ) {
29014 before(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
29015 }
29016 pushFollow(FOLLOW_2);
29017 ruleALSTypeScope();
29018
29019 state._fsp--;
29020 if (state.failed) return ;
29021 if ( state.backtracking==0 ) {
29022 after(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
29023 }
29024
29025 }
29026
29027
29028 }
29029
29030 }
29031 catch (RecognitionException re) {
29032 reportError(re);
29033 recover(input,re);
29034 }
29035 finally {
29036
29037 restoreStackSize(stackSize);
29038
29039 }
29040 return ;
29041 }
29042 // $ANTLR end "rule__ALSRunCommand__TypeScopesAssignment_4_2_1"
29043
29044
29045 // $ANTLR start "rule__ALSSigScope__ExactlyAssignment_0"
29046 // InternalAlloyLanguage.g:10290:1: rule__ALSSigScope__ExactlyAssignment_0 : ( ( 'exactly' ) ) ;
29047 public final void rule__ALSSigScope__ExactlyAssignment_0() throws RecognitionException {
29048
29049 int stackSize = keepStackSize();
29050
29051 try {
29052 // InternalAlloyLanguage.g:10294:1: ( ( ( 'exactly' ) ) )
29053 // InternalAlloyLanguage.g:10295:1: ( ( 'exactly' ) )
29054 {
29055 // InternalAlloyLanguage.g:10295:1: ( ( 'exactly' ) )
29056 // InternalAlloyLanguage.g:10296:1: ( 'exactly' )
29057 {
29058 if ( state.backtracking==0 ) {
29059 before(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
29060 }
29061 // InternalAlloyLanguage.g:10297:1: ( 'exactly' )
29062 // InternalAlloyLanguage.g:10298:1: 'exactly'
29063 {
29064 if ( state.backtracking==0 ) {
29065 before(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
29066 }
29067 match(input,74,FOLLOW_2); if (state.failed) return ;
29068 if ( state.backtracking==0 ) {
29069 after(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
29070 }
29071
29072 }
29073
29074 if ( state.backtracking==0 ) {
29075 after(grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
29076 }
29077
29078 }
29079
29080
29081 }
29082
29083 }
29084 catch (RecognitionException re) {
29085 reportError(re);
29086 recover(input,re);
29087 }
29088 finally {
29089
29090 restoreStackSize(stackSize);
29091
29092 }
29093 return ;
29094 }
29095 // $ANTLR end "rule__ALSSigScope__ExactlyAssignment_0"
29096
29097
29098 // $ANTLR start "rule__ALSSigScope__NumberAssignment_1"
29099 // InternalAlloyLanguage.g:10313:1: rule__ALSSigScope__NumberAssignment_1 : ( RULE_INT ) ;
29100 public final void rule__ALSSigScope__NumberAssignment_1() throws RecognitionException {
29101
29102 int stackSize = keepStackSize();
29103
29104 try {
29105 // InternalAlloyLanguage.g:10317:1: ( ( RULE_INT ) )
29106 // InternalAlloyLanguage.g:10318:1: ( RULE_INT )
29107 {
29108 // InternalAlloyLanguage.g:10318:1: ( RULE_INT )
29109 // InternalAlloyLanguage.g:10319:1: RULE_INT
29110 {
29111 if ( state.backtracking==0 ) {
29112 before(grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
29113 }
29114 match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
29115 if ( state.backtracking==0 ) {
29116 after(grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
29117 }
29118
29119 }
29120
29121
29122 }
29123
29124 }
29125 catch (RecognitionException re) {
29126 reportError(re);
29127 recover(input,re);
29128 }
29129 finally {
29130
29131 restoreStackSize(stackSize);
29132
29133 }
29134 return ;
29135 }
29136 // $ANTLR end "rule__ALSSigScope__NumberAssignment_1"
29137
29138
29139 // $ANTLR start "rule__ALSSigScope__TypeAssignment_2"
29140 // InternalAlloyLanguage.g:10328:1: rule__ALSSigScope__TypeAssignment_2 : ( ( RULE_ID ) ) ;
29141 public final void rule__ALSSigScope__TypeAssignment_2() throws RecognitionException {
29142
29143 int stackSize = keepStackSize();
29144
29145 try {
29146 // InternalAlloyLanguage.g:10332:1: ( ( ( RULE_ID ) ) )
29147 // InternalAlloyLanguage.g:10333:1: ( ( RULE_ID ) )
29148 {
29149 // InternalAlloyLanguage.g:10333:1: ( ( RULE_ID ) )
29150 // InternalAlloyLanguage.g:10334:1: ( RULE_ID )
29151 {
29152 if ( state.backtracking==0 ) {
29153 before(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
29154 }
29155 // InternalAlloyLanguage.g:10335:1: ( RULE_ID )
29156 // InternalAlloyLanguage.g:10336:1: RULE_ID
29157 {
29158 if ( state.backtracking==0 ) {
29159 before(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1());
29160 }
29161 match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
29162 if ( state.backtracking==0 ) {
29163 after(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1());
29164 }
29165
29166 }
29167
29168 if ( state.backtracking==0 ) {
29169 after(grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
29170 }
29171
29172 }
29173
29174
29175 }
29176
29177 }
29178 catch (RecognitionException re) {
29179 reportError(re);
29180 recover(input,re);
29181 }
29182 finally {
29183
29184 restoreStackSize(stackSize);
29185
29186 }
29187 return ;
29188 }
29189 // $ANTLR end "rule__ALSSigScope__TypeAssignment_2"
29190
29191
29192 // $ANTLR start "rule__ALSIntScope__NumberAssignment_0"
29193 // InternalAlloyLanguage.g:10347:1: rule__ALSIntScope__NumberAssignment_0 : ( RULE_INT ) ;
29194 public final void rule__ALSIntScope__NumberAssignment_0() throws RecognitionException {
29195
29196 int stackSize = keepStackSize();
29197
29198 try {
29199 // InternalAlloyLanguage.g:10351:1: ( ( RULE_INT ) )
29200 // InternalAlloyLanguage.g:10352:1: ( RULE_INT )
29201 {
29202 // InternalAlloyLanguage.g:10352:1: ( RULE_INT )
29203 // InternalAlloyLanguage.g:10353:1: RULE_INT
29204 {
29205 if ( state.backtracking==0 ) {
29206 before(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
29207 }
29208 match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
29209 if ( state.backtracking==0 ) {
29210 after(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
29211 }
29212
29213 }
29214
29215
29216 }
29217
29218 }
29219 catch (RecognitionException re) {
29220 reportError(re);
29221 recover(input,re);
29222 }
29223 finally {
29224
29225 restoreStackSize(stackSize);
29226
29227 }
29228 return ;
29229 }
29230 // $ANTLR end "rule__ALSIntScope__NumberAssignment_0"
29231
29232
29233 // $ANTLR start "rule__ALSStringScope__NumberAssignment_1"
29234 // InternalAlloyLanguage.g:10362:1: rule__ALSStringScope__NumberAssignment_1 : ( RULE_INT ) ;
29235 public final void rule__ALSStringScope__NumberAssignment_1() throws RecognitionException {
29236
29237 int stackSize = keepStackSize();
29238
29239 try {
29240 // InternalAlloyLanguage.g:10366:1: ( ( RULE_INT ) )
29241 // InternalAlloyLanguage.g:10367:1: ( RULE_INT )
29242 {
29243 // InternalAlloyLanguage.g:10367:1: ( RULE_INT )
29244 // InternalAlloyLanguage.g:10368:1: RULE_INT
29245 {
29246 if ( state.backtracking==0 ) {
29247 before(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0());
29248 }
29249 match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
29250 if ( state.backtracking==0 ) {
29251 after(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0());
29252 }
29253
29254 }
29255
29256
29257 }
29258
29259 }
29260 catch (RecognitionException re) {
29261 reportError(re);
29262 recover(input,re);
29263 }
29264 finally {
29265
29266 restoreStackSize(stackSize);
29267
29268 }
29269 return ;
29270 }
29271 // $ANTLR end "rule__ALSStringScope__NumberAssignment_1"
29272
29273 // $ANTLR start synpred81_InternalAlloyLanguage
29274 public final void synpred81_InternalAlloyLanguage_fragment() throws RecognitionException {
29275 // InternalAlloyLanguage.g:9039:2: ( rule__ALSSignatureBody__UnorderedGroup_0__0 )
29276 // InternalAlloyLanguage.g:9039:2: rule__ALSSignatureBody__UnorderedGroup_0__0
29277 {
29278 pushFollow(FOLLOW_2);
29279 rule__ALSSignatureBody__UnorderedGroup_0__0();
29280
29281 state._fsp--;
29282 if (state.failed) return ;
29283
29284 }
29285 }
29286 // $ANTLR end synpred81_InternalAlloyLanguage
29287
29288 // $ANTLR start synpred82_InternalAlloyLanguage
29289 public final void synpred82_InternalAlloyLanguage_fragment() throws RecognitionException {
29290 // InternalAlloyLanguage.g:9057:4: ( ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) ) )
29291 // InternalAlloyLanguage.g:9057:4: ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) )
29292 {
29293 // InternalAlloyLanguage.g:9057:4: ({...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) ) )
29294 // InternalAlloyLanguage.g:9058:5: {...}? => ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) )
29295 {
29296 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
29297 if (state.backtracking>0) {state.failed=true; return ;}
29298 throw new FailedPredicateException(input, "synpred82_InternalAlloyLanguage", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)");
29299 }
29300 // InternalAlloyLanguage.g:9058:113: ( ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) ) )
29301 // InternalAlloyLanguage.g:9059:6: ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) )
29302 {
29303 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
29304 // InternalAlloyLanguage.g:9065:6: ( ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 ) )
29305 // InternalAlloyLanguage.g:9067:7: ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 )
29306 {
29307 if ( state.backtracking==0 ) {
29308 before(grammarAccess.getALSSignatureBodyAccess().getMultiplicityAssignment_0_0());
29309 }
29310 // InternalAlloyLanguage.g:9068:7: ( rule__ALSSignatureBody__MultiplicityAssignment_0_0 )
29311 // InternalAlloyLanguage.g:9068:8: rule__ALSSignatureBody__MultiplicityAssignment_0_0
29312 {
29313 pushFollow(FOLLOW_2);
29314 rule__ALSSignatureBody__MultiplicityAssignment_0_0();
29315
29316 state._fsp--;
29317 if (state.failed) return ;
29318
29319 }
29320
29321
29322 }
29323
29324
29325 }
29326
29327
29328 }
29329
29330
29331 }
29332 }
29333 // $ANTLR end synpred82_InternalAlloyLanguage
29334
29335 // $ANTLR start synpred83_InternalAlloyLanguage
29336 public final void synpred83_InternalAlloyLanguage_fragment() throws RecognitionException {
29337 // InternalAlloyLanguage.g:9106:2: ( rule__ALSSignatureBody__UnorderedGroup_0__1 )
29338 // InternalAlloyLanguage.g:9106:2: rule__ALSSignatureBody__UnorderedGroup_0__1
29339 {
29340 pushFollow(FOLLOW_2);
29341 rule__ALSSignatureBody__UnorderedGroup_0__1();
29342
29343 state._fsp--;
29344 if (state.failed) return ;
29345
29346 }
29347 }
29348 // $ANTLR end synpred83_InternalAlloyLanguage
29349
29350 // Delegated rules
29351
29352 public final boolean synpred82_InternalAlloyLanguage() {
29353 state.backtracking++;
29354 int start = input.mark();
29355 try {
29356 synpred82_InternalAlloyLanguage_fragment(); // can never throw exception
29357 } catch (RecognitionException re) {
29358 System.err.println("impossible: "+re);
29359 }
29360 boolean success = !state.failed;
29361 input.rewind(start);
29362 state.backtracking--;
29363 state.failed=false;
29364 return success;
29365 }
29366 public final boolean synpred81_InternalAlloyLanguage() {
29367 state.backtracking++;
29368 int start = input.mark();
29369 try {
29370 synpred81_InternalAlloyLanguage_fragment(); // can never throw exception
29371 } catch (RecognitionException re) {
29372 System.err.println("impossible: "+re);
29373 }
29374 boolean success = !state.failed;
29375 input.rewind(start);
29376 state.backtracking--;
29377 state.failed=false;
29378 return success;
29379 }
29380 public final boolean synpred83_InternalAlloyLanguage() {
29381 state.backtracking++;
29382 int start = input.mark();
29383 try {
29384 synpred83_InternalAlloyLanguage_fragment(); // can never throw exception
29385 } catch (RecognitionException re) {
29386 System.err.println("impossible: "+re);
29387 }
29388 boolean success = !state.failed;
29389 input.rewind(start);
29390 state.backtracking--;
29391 state.failed=false;
29392 return success;
29393 }
29394
29395
29396 protected DFA10 dfa10 = new DFA10(this);
29397 protected DFA24 dfa24 = new DFA24(this);
29398 static final String dfa_1s = "\13\uffff";
29399 static final String dfa_2s = "\10\uffff\1\12\2\uffff";
29400 static final String dfa_3s = "\1\4\7\uffff\1\13\2\uffff";
29401 static final String dfa_4s = "\1\106\7\uffff\1\107\2\uffff";
29402 static final String dfa_5s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\10\1\11";
29403 static final String dfa_6s = "\13\uffff}>";
29404 static final String[] dfa_7s = {
29405 "\1\10\2\12\14\uffff\2\1\6\uffff\5\11\31\uffff\1\6\2\uffff\1\2\1\3\1\4\1\5\1\7\6\12",
29406 "",
29407 "",
29408 "",
29409 "",
29410 "",
29411 "",
29412 "",
29413 "\10\12\2\uffff\6\12\6\uffff\3\12\2\uffff\2\12\2\uffff\1\11\1\12\2\uffff\16\12\13\uffff\1\12",
29414 "",
29415 ""
29416 };
29417
29418 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
29419 static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s);
29420 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
29421 static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s);
29422 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
29423 static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s);
29424 static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
29425
29426 class DFA10 extends DFA {
29427
29428 public DFA10(BaseRecognizer recognizer) {
29429 this.recognizer = recognizer;
29430 this.decisionNumber = 10;
29431 this.eot = dfa_1;
29432 this.eof = dfa_2;
29433 this.min = dfa_3;
29434 this.max = dfa_4;
29435 this.accept = dfa_5;
29436 this.special = dfa_6;
29437 this.transition = dfa_7;
29438 }
29439 public String getDescription() {
29440 return "1319:1: rule__ALSPreficed__Alternatives : ( ( ( rule__ALSPreficed__Group_0__0 ) ) | ( ( rule__ALSPreficed__Group_1__0 ) ) | ( ( rule__ALSPreficed__Group_2__0 ) ) | ( ( rule__ALSPreficed__Group_3__0 ) ) | ( ( rule__ALSPreficed__Group_4__0 ) ) | ( ( rule__ALSPreficed__Group_5__0 ) ) | ( ( rule__ALSPreficed__Group_6__0 ) ) | ( ( rule__ALSPreficed__Group_7__0 ) ) | ( ruleALSBasicRelationTerm ) );";
29441 }
29442 }
29443 static final String dfa_8s = "\12\uffff";
29444 static final String dfa_9s = "\11\uffff\1\10";
29445 static final String dfa_10s = "\7\4\2\uffff\1\13";
29446 static final String dfa_11s = "\1\106\6\114\2\uffff\1\73";
29447 static final String dfa_12s = "\7\uffff\1\2\1\1\1\uffff";
29448 static final String dfa_13s = "\12\uffff}>";
29449 static final String[] dfa_14s = {
29450 "\3\7\14\uffff\2\7\1\1\1\2\1\3\1\4\1\5\1\6\5\7\31\uffff\1\7\2\uffff\13\7",
29451 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29452 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29453 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29454 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29455 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29456 "\1\11\2\10\14\uffff\15\10\31\uffff\1\10\2\uffff\13\10\5\uffff\1\7",
29457 "",
29458 "",
29459 "\10\10\2\uffff\6\10\7\uffff\2\10\2\uffff\2\10\1\7\1\uffff\1\10\4\uffff\15\10"
29460 };
29461
29462 static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
29463 static final short[] dfa_9 = DFA.unpackEncodedString(dfa_9s);
29464 static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
29465 static final char[] dfa_11 = DFA.unpackEncodedStringToUnsignedChars(dfa_11s);
29466 static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
29467 static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s);
29468 static final short[][] dfa_14 = unpackEncodedStringArray(dfa_14s);
29469
29470 class DFA24 extends DFA {
29471
29472 public DFA24(BaseRecognizer recognizer) {
29473 this.recognizer = recognizer;
29474 this.decisionNumber = 24;
29475 this.eot = dfa_8;
29476 this.eof = dfa_9;
29477 this.min = dfa_10;
29478 this.max = dfa_11;
29479 this.accept = dfa_12;
29480 this.special = dfa_13;
29481 this.transition = dfa_14;
29482 }
29483 public String getDescription() {
29484 return "2683:1: ( rule__ALSFieldDeclaration__MultiplicityAssignment_2 )?";
29485 }
29486 }
29487
29488
29489 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
29490 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
29491 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
29492 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000320107E00002L,0x0000000000000800L});
29493 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L});
29494 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000200000000L});
29495 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000C00000000L});
29496 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000800000002L});
29497 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000001000000000L});
29498 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000006A00000000L});
29499 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000400000010L});
29500 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000008000000000L});
29501 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000008000000002L});
29502 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000800000000L});
29503 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000010000000000L});
29504 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0xF2000000FFF80070L,0x000000000000007FL});
29505 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000040000000000L});
29506 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000080800000000L});
29507 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000400000000L});
29508 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000320107E00000L,0x0000000000000800L});
29509 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000200000010L});
29510 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000007E00000L});
29511 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000010L,0x0000000000001000L});
29512 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000A00000000L});
29513 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000001800L});
29514 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000006000L});
29515 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000018000L});
29516 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000400000000000L});
29517 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000060000L});
29518 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x001F804000000000L});
29519 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000800000000000L});
29520 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0001000000000000L});
29521 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L});
29522 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0002000000000000L});
29523 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0004000000000000L});
29524 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0008000000000000L});
29525 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0020000000000000L});
29526 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0040000000000000L});
29527 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0080000000000000L});
29528 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0100000000000000L});
29529 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0100000000000002L});
29530 public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0200000000000000L});
29531 public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0200000000000002L});
29532 public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0400000000000000L});
29533 public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0400000000000002L});
29534 public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0800000007E00000L});
29535 public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000180000L});
29536 public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x1000000000000000L});
29537 public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x2000000000000000L});
29538 public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x4000000000000000L});
29539 public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x8000000000000000L});
29540 public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
29541 public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x00000000F8000010L});
29542 public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
29543 public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
29544 public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
29545 public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
29546 public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
29547 public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000020L});
29548 public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000000000040L});
29549 public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
29550 public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
29551 public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000400L});
29552 public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000000007E00002L,0x0000000000000800L});
29553
29554}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/internal/AlloyLanguageActivator.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/internal/AlloyLanguageActivator.java
deleted file mode 100644
index 5eab6f1f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src-gen/hu/bme/mit/inf/dslreasoner/ui/internal/AlloyLanguageActivator.java
+++ /dev/null
@@ -1,95 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui.internal;
5
6import java.util.Collections;
7import java.util.Map;
8
9import org.apache.log4j.Logger;
10import org.eclipse.ui.plugin.AbstractUIPlugin;
11import org.eclipse.xtext.ui.shared.SharedStateModule;
12import org.eclipse.xtext.util.Modules2;
13import org.osgi.framework.BundleContext;
14
15import com.google.common.collect.Maps;
16import com.google.inject.Guice;
17import com.google.inject.Injector;
18import com.google.inject.Module;
19
20/**
21 * This class was generated. Customizations should only happen in a newly
22 * introduced subclass.
23 */
24public class AlloyLanguageActivator extends AbstractUIPlugin {
25
26 public static final String HU_BME_MIT_INF_DSLREASONER_ALLOYLANGUAGE = "hu.bme.mit.inf.dslreasoner.AlloyLanguage";
27
28 private static final Logger logger = Logger.getLogger(AlloyLanguageActivator.class);
29
30 private static AlloyLanguageActivator 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 AlloyLanguageActivator 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 Module runtimeModule = getRuntimeModule(language);
64 Module sharedStateModule = getSharedStateModule();
65 Module uiModule = getUiModule(language);
66 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 Module getRuntimeModule(String grammar) {
76 if (HU_BME_MIT_INF_DSLREASONER_ALLOYLANGUAGE.equals(grammar)) {
77 return new hu.bme.mit.inf.dslreasoner.AlloyLanguageRuntimeModule();
78 }
79
80 throw new IllegalArgumentException(grammar);
81 }
82
83 protected Module getUiModule(String grammar) {
84 if (HU_BME_MIT_INF_DSLREASONER_ALLOYLANGUAGE.equals(grammar)) {
85 return new hu.bme.mit.inf.dslreasoner.ui.AlloyLanguageUiModule(this);
86 }
87
88 throw new IllegalArgumentException(grammar);
89 }
90
91 protected Module getSharedStateModule() {
92 return new SharedStateModule();
93 }
94
95}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageUiModule.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageUiModule.java
deleted file mode 100644
index bcbe21ab..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/AlloyLanguageUiModule.java
+++ /dev/null
@@ -1,15 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui;
5
6import org.eclipse.ui.plugin.AbstractUIPlugin;
7
8/**
9 * Use this class to register components to be used within the IDE.
10 */
11public class AlloyLanguageUiModule extends hu.bme.mit.inf.dslreasoner.ui.AbstractAlloyLanguageUiModule {
12 public AlloyLanguageUiModule(AbstractUIPlugin plugin) {
13 super(plugin);
14 }
15}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/contentassist/AlloyLanguageProposalProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/contentassist/AlloyLanguageProposalProvider.xtend
deleted file mode 100644
index 896aa484..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/contentassist/AlloyLanguageProposalProvider.xtend
+++ /dev/null
@@ -1,12 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.ui.contentassist
5
6import hu.bme.mit.inf.dslreasoner.ui.contentassist.AbstractAlloyLanguageProposalProvider
7
8/**
9 * see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant
10 */
11class AlloyLanguageProposalProvider extends AbstractAlloyLanguageProposalProvider {
12}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageDescriptionLabelProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageDescriptionLabelProvider.xtend
deleted file mode 100644
index 6a9a273e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageDescriptionLabelProvider.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2* generated by Xtext
3*/
4package hu.bme.mit.inf.dslreasoner.ui.labeling
5
6//import org.eclipse.xtext.resource.IEObjectDescription
7
8/**
9 * Provides labels for a IEObjectDescriptions and IResourceDescriptions.
10 *
11 * see http://www.eclipse.org/Xtext/documentation.html#labelProvider
12 */
13class AlloyLanguageDescriptionLabelProvider extends org.eclipse.xtext.ui.label.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/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageLabelProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageLabelProvider.xtend
deleted file mode 100644
index d6e00ca5..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/labeling/AlloyLanguageLabelProvider.xtend
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2* generated by Xtext
3*/
4package hu.bme.mit.inf.dslreasoner.ui.labeling
5
6import com.google.inject.Inject
7
8/**
9 * Provides labels for a EObjects.
10 *
11 * see http://www.eclipse.org/Xtext/documentation.html#labelProvider
12 */
13class AlloyLanguageLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider {
14
15 @Inject
16 new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) {
17 super(delegate);
18 }
19
20 // Labels and icons can be computed like this:
21
22// def text(Greeting ele) {
23// 'A greeting to ' + ele.name
24// }
25//
26// def image(Greeting ele) {
27// 'Greeting.gif'
28// }
29}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/outline/AlloyLanguageOutlineTreeProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/outline/AlloyLanguageOutlineTreeProvider.xtend
deleted file mode 100644
index e75c3427..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/outline/AlloyLanguageOutlineTreeProvider.xtend
+++ /dev/null
@@ -1,13 +0,0 @@
1/*
2* generated by Xtext
3*/
4package hu.bme.mit.inf.dslreasoner.ui.outline
5
6/**
7 * Customization of the default outline structure.
8 *
9 * see http://www.eclipse.org/Xtext/documentation.html#outline
10 */
11class AlloyLanguageOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider {
12
13}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/quickfix/AlloyLanguageQuickfixProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/quickfix/AlloyLanguageQuickfixProvider.xtend
deleted file mode 100644
index d02bca52..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language.ui/src/hu/bme/mit/inf/dslreasoner/ui/quickfix/AlloyLanguageQuickfixProvider.xtend
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2* generated by Xtext
3*/
4package hu.bme.mit.inf.dslreasoner.ui.quickfix
5
6//import org.eclipse.xtext.ui.editor.quickfix.Fix
7//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor
8//import org.eclipse.xtext.validation.Issue
9
10/**
11 * Custom quickfixes.
12 *
13 * see http://www.eclipse.org/Xtext/documentation.html#quickfixes
14 */
15class AlloyLanguageQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider {
16
17// @Fix(MyDslValidator::INVALID_NAME)
18// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) {
19// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [
20// context |
21// val xtextDocument = context.xtextDocument
22// val firstLetter = xtextDocument.get(issue.offset, 1)
23// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase)
24// ]
25// }
26}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.classpath b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.classpath
deleted file mode 100644
index f933ee53..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.classpath
+++ /dev/null
@@ -1,9 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<classpath>
3 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
4 <classpathentry kind="src" path="src"/>
5 <classpathentry kind="src" path="src-gen"/>
6 <classpathentry kind="src" path="xtend-gen"/>
7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
8 <classpathentry kind="output" path="bin"/>
9</classpath>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore
deleted file mode 100644
index f2741e97..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
1/bin/
2/vql-gen/
3/xtend-gen/
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.launch/Generate Language Infrastructure (hu.bme.mit.inf.dslreasoner.alloy.language).launch b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.launch/Generate Language Infrastructure (hu.bme.mit.inf.dslreasoner.alloy.language).launch
deleted file mode 100644
index d761c4d9..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.launch/Generate Language Infrastructure (hu.bme.mit.inf.dslreasoner.alloy.language).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<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;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1299248699643_13&quot; label=&quot;working set&quot; name=&quot;working set&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/hu.bme.mit.inf.dslreasoner.alloy.language&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/hu.bme.mit.inf.dslreasoner.alloy.language.generator&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/hu.bme.mit.inf.dslreasoner.alloy.language.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/hu.bme.mit.inf.dslreasoner.alloy.language.ui&quot; type=&quot;4&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/>
4<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
5<listEntry value="/hu.bme.mit.inf.dslreasoner.alloy.language"/>
6</listAttribute>
7<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
8<listEntry value="4"/>
9</listAttribute>
10<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
11<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
12<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
13</listAttribute>
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="src/hu/bme/mit/inf/dslreasoner/GenerateAlloyLanguage.mwe2"/>
16<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hu.bme.mit.inf.dslreasoner.alloy.language"/>
17<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
18</launchConfiguration>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.project b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.project
deleted file mode 100644
index 9b0ddf04..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.project
+++ /dev/null
@@ -1,34 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>hu.bme.mit.inf.dslreasoner.alloy.language</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.jdt.core.javabuilder</name>
10 <arguments>
11 </arguments>
12 </buildCommand>
13 <buildCommand>
14 <name>org.eclipse.pde.ManifestBuilder</name>
15 <arguments>
16 </arguments>
17 </buildCommand>
18 <buildCommand>
19 <name>org.eclipse.pde.SchemaBuilder</name>
20 <arguments>
21 </arguments>
22 </buildCommand>
23 <buildCommand>
24 <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
25 <arguments>
26 </arguments>
27 </buildCommand>
28 </buildSpec>
29 <natures>
30 <nature>org.eclipse.jdt.core.javanature</nature>
31 <nature>org.eclipse.pde.PluginNature</nature>
32 <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
33 </natures>
34</projectDescription>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.core.resources.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c02..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
1eclipse.preferences.version=1
2encoding/<project>=UTF-8
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.jdt.core.prefs b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index a698e596..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
1eclipse.preferences.version=1
2org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
5org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6org.eclipse.jdt.core.compiler.compliance=1.8
7org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8org.eclipse.jdt.core.compiler.debug.localVariable=generate
9org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12org.eclipse.jdt.core.compiler.source=1.8
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/META-INF/MANIFEST.MF b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/META-INF/MANIFEST.MF
deleted file mode 100644
index c9b34d94..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,38 +0,0 @@
1Manifest-Version: 1.0
2Bundle-ManifestVersion: 2
3Bundle-Name: hu.bme.mit.inf.dslreasoner.alloy.language
4Bundle-Vendor: My Company
5Bundle-Version: 1.0.0.qualifier
6Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.alloy.language; singleton:=true
7Bundle-ActivationPolicy: lazy
8Require-Bundle: org.eclipse.xtext;visibility:=reexport,
9 org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
10 org.eclipse.xtext.generator;resolution:=optional,
11 org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
12 org.eclipse.emf.codegen.ecore;resolution:=optional,
13 org.eclipse.emf.mwe.utils;resolution:=optional,
14 org.eclipse.emf.mwe2.launch;resolution:=optional,
15 org.eclipse.xtext.util,
16 org.eclipse.emf.ecore,
17 org.eclipse.emf.common,
18 org.eclipse.xtext.xbase.lib,
19 org.antlr.runtime,
20 org.eclipse.xtext.common.types,
21 org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional,
22 org.eclipse.equinox.common;bundle-version="3.7.0"
23Import-Package: org.apache.log4j
24Bundle-RequiredExecutionEnvironment: JavaSE-1.8
25Export-Package: hu.bme.mit.inf.dslreasoner,
26 hu.bme.mit.inf.dslreasoner.services,
27 hu.bme.mit.inf.dslreasoner.alloyLanguage,
28 hu.bme.mit.inf.dslreasoner.alloyLanguage.impl,
29 hu.bme.mit.inf.dslreasoner.alloyLanguage.util,
30 hu.bme.mit.inf.dslreasoner.serializer,
31 hu.bme.mit.inf.dslreasoner.parser.antlr,
32 hu.bme.mit.inf.dslreasoner.parser.antlr.internal,
33 hu.bme.mit.inf.dslreasoner.validation,
34 hu.bme.mit.inf.dslreasoner.scoping,
35 hu.bme.mit.inf.dslreasoner.generator,
36 hu.bme.mit.inf.dslreasoner.formatting
37Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.alloy.language
38
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/build.properties b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/build.properties
deleted file mode 100644
index 9b82d81d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
1source.. = src/,\
2 src-gen/,\
3 xtend-gen/
4bin.includes = model/,\
5 META-INF/,\
6 .,\
7 plugin.xml \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.ecore b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.ecore
deleted file mode 100644
index cc2b3c08..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.ecore
+++ /dev/null
@@ -1,272 +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="alloyLanguage" nsURI="http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"
4 nsPrefix="alloyLanguage">
5 <eClassifiers xsi:type="ecore:EClass" name="ALSDocument">
6 <eStructuralFeatures xsi:type="ecore:EReference" name="enumDeclarations" upperBound="-1"
7 eType="#//ALSEnumDeclaration" containment="true"/>
8 <eStructuralFeatures xsi:type="ecore:EReference" name="signatureBodies" upperBound="-1"
9 eType="#//ALSSignatureBody" containment="true"/>
10 <eStructuralFeatures xsi:type="ecore:EReference" name="functionDefinitions" upperBound="-1"
11 eType="#//ALSFunctionDefinition" containment="true"/>
12 <eStructuralFeatures xsi:type="ecore:EReference" name="relationDefinitions" upperBound="-1"
13 eType="#//ALSRelationDefinition" containment="true"/>
14 <eStructuralFeatures xsi:type="ecore:EReference" name="factDeclarations" upperBound="-1"
15 eType="#//ALSFactDeclaration" containment="true"/>
16 <eStructuralFeatures xsi:type="ecore:EReference" name="runCommand" eType="#//ALSRunCommand"
17 containment="true"/>
18 </eClassifiers>
19 <eClassifiers xsi:type="ecore:EEnum" name="ALSMultiplicity">
20 <eLiterals name="all" literal="all"/>
21 <eLiterals name="no" value="1" literal="no"/>
22 <eLiterals name="some" value="2" literal="some"/>
23 <eLiterals name="lone" value="3" literal="lone"/>
24 <eLiterals name="one" value="4" literal="one"/>
25 <eLiterals name="set" value="5" literal="set"/>
26 </eClassifiers>
27 <eClassifiers xsi:type="ecore:EClass" name="ALSRelationDeclaration">
28 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
29 </eClassifiers>
30 <eClassifiers xsi:type="ecore:EClass" name="ALSTypeDeclaration" eSuperTypes="#//ALSRelationDeclaration"/>
31 <eClassifiers xsi:type="ecore:EClass" name="ALSEnumDeclaration" eSuperTypes="#//ALSTypeDeclaration">
32 <eStructuralFeatures xsi:type="ecore:EReference" name="literal" upperBound="-1"
33 eType="#//ALSEnumLiteral" containment="true"/>
34 </eClassifiers>
35 <eClassifiers xsi:type="ecore:EClass" name="ALSEnumLiteral" eSuperTypes="#//ALSRelationDeclaration"/>
36 <eClassifiers xsi:type="ecore:EClass" name="ALSSignatureDeclaration" eSuperTypes="#//ALSTypeDeclaration"/>
37 <eClassifiers xsi:type="ecore:EClass" name="ALSSignatureBody">
38 <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiplicity" eType="#//ALSMultiplicity"/>
39 <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
40 <eStructuralFeatures xsi:type="ecore:EReference" name="declarations" upperBound="-1"
41 eType="#//ALSSignatureDeclaration" containment="true"/>
42 <eStructuralFeatures xsi:type="ecore:EReference" name="supertype" eType="#//ALSSignatureDeclaration"/>
43 <eStructuralFeatures xsi:type="ecore:EReference" name="superset" unique="false"
44 upperBound="-1" eType="#//ALSSignatureDeclaration"/>
45 <eStructuralFeatures xsi:type="ecore:EReference" name="fields" upperBound="-1"
46 eType="#//ALSFieldDeclaration" containment="true"/>
47 </eClassifiers>
48 <eClassifiers xsi:type="ecore:EClass" name="ALSFieldDeclaration" eSuperTypes="#//ALSRelationDeclaration">
49 <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiplicity" eType="#//ALSMultiplicity"/>
50 <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//ALSTerm"
51 containment="true"/>
52 </eClassifiers>
53 <eClassifiers xsi:type="ecore:EClass" name="ALSDefinition">
54 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
55 <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1"
56 eType="#//ALSVariableDeclaration" containment="true"/>
57 <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//ALSTerm"
58 containment="true"/>
59 </eClassifiers>
60 <eClassifiers xsi:type="ecore:EClass" name="ALSFunctionDefinition" eSuperTypes="#//ALSDefinition">
61 <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//ALSTerm"
62 containment="true"/>
63 </eClassifiers>
64 <eClassifiers xsi:type="ecore:EClass" name="ALSRelationDefinition" eSuperTypes="#//ALSDefinition"/>
65 <eClassifiers xsi:type="ecore:EClass" name="ALSFactDeclaration">
66 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
67 <eStructuralFeatures xsi:type="ecore:EReference" name="term" eType="#//ALSTerm"
68 containment="true"/>
69 </eClassifiers>
70 <eClassifiers xsi:type="ecore:EClass" name="ALSTerm"/>
71 <eClassifiers xsi:type="ecore:EEnum" name="ALSNumericOperator">
72 <eLiterals name="plus" literal="plus"/>
73 <eLiterals name="sub" value="1" literal="sub"/>
74 <eLiterals name="mul" value="2" literal="mul"/>
75 <eLiterals name="rem" value="3" literal="rem"/>
76 <eLiterals name="div" value="4" literal="div"/>
77 </eClassifiers>
78 <eClassifiers xsi:type="ecore:EClass" name="ALSVariableDeclaration" eSuperTypes="#//ALSRelationDeclaration">
79 <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//ALSTerm"
80 containment="true"/>
81 </eClassifiers>
82 <eClassifiers xsi:type="ecore:EClass" name="ALSRunCommand">
83 <eStructuralFeatures xsi:type="ecore:EReference" name="typeScopes" upperBound="-1"
84 eType="#//ALSTypeScope" containment="true"/>
85 </eClassifiers>
86 <eClassifiers xsi:type="ecore:EClass" name="ALSTypeScope">
87 <eStructuralFeatures xsi:type="ecore:EAttribute" name="number" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
88 </eClassifiers>
89 <eClassifiers xsi:type="ecore:EClass" name="ALSSigScope" eSuperTypes="#//ALSTypeScope">
90 <eStructuralFeatures xsi:type="ecore:EAttribute" name="exactly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
91 <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//ALSSignatureDeclaration"/>
92 </eClassifiers>
93 <eClassifiers xsi:type="ecore:EClass" name="ALSIntScope" eSuperTypes="#//ALSTypeScope"/>
94 <eClassifiers xsi:type="ecore:EClass" name="ALSStringScope" eSuperTypes="#//ALSTypeScope"/>
95 <eClassifiers xsi:type="ecore:EClass" name="ALSQuantifiedEx" eSuperTypes="#//ALSTerm">
96 <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//ALSMultiplicity"/>
97 <eStructuralFeatures xsi:type="ecore:EAttribute" name="disj" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
98 <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1"
99 eType="#//ALSVariableDeclaration" containment="true"/>
100 <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//ALSTerm"
101 containment="true"/>
102 </eClassifiers>
103 <eClassifiers xsi:type="ecore:EClass" name="ALSOr" eSuperTypes="#//ALSTerm">
104 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
105 containment="true"/>
106 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
107 containment="true"/>
108 </eClassifiers>
109 <eClassifiers xsi:type="ecore:EClass" name="ALSIff" eSuperTypes="#//ALSTerm">
110 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
111 containment="true"/>
112 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
113 containment="true"/>
114 </eClassifiers>
115 <eClassifiers xsi:type="ecore:EClass" name="ALSImpl" eSuperTypes="#//ALSTerm">
116 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
117 containment="true"/>
118 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
119 containment="true"/>
120 <eStructuralFeatures xsi:type="ecore:EReference" name="elseOperand" eType="#//ALSTerm"
121 containment="true"/>
122 </eClassifiers>
123 <eClassifiers xsi:type="ecore:EClass" name="ALSAnd" eSuperTypes="#//ALSTerm">
124 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
125 containment="true"/>
126 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
127 containment="true"/>
128 </eClassifiers>
129 <eClassifiers xsi:type="ecore:EClass" name="ALSEquals" eSuperTypes="#//ALSTerm">
130 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
131 containment="true"/>
132 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
133 containment="true"/>
134 </eClassifiers>
135 <eClassifiers xsi:type="ecore:EClass" name="ALSNotEquals" eSuperTypes="#//ALSTerm">
136 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
137 containment="true"/>
138 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
139 containment="true"/>
140 </eClassifiers>
141 <eClassifiers xsi:type="ecore:EClass" name="ALSSubset" eSuperTypes="#//ALSTerm">
142 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
143 containment="true"/>
144 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
145 containment="true"/>
146 </eClassifiers>
147 <eClassifiers xsi:type="ecore:EClass" name="ALSLess" eSuperTypes="#//ALSTerm">
148 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
149 containment="true"/>
150 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
151 containment="true"/>
152 </eClassifiers>
153 <eClassifiers xsi:type="ecore:EClass" name="ALSLeq" eSuperTypes="#//ALSTerm">
154 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
155 containment="true"/>
156 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
157 containment="true"/>
158 </eClassifiers>
159 <eClassifiers xsi:type="ecore:EClass" name="ALSMore" eSuperTypes="#//ALSTerm">
160 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
161 containment="true"/>
162 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
163 containment="true"/>
164 </eClassifiers>
165 <eClassifiers xsi:type="ecore:EClass" name="ALSMeq" eSuperTypes="#//ALSTerm">
166 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
167 containment="true"/>
168 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
169 containment="true"/>
170 </eClassifiers>
171 <eClassifiers xsi:type="ecore:EClass" name="ALSOverride" eSuperTypes="#//ALSTerm">
172 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
173 containment="true"/>
174 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
175 containment="true"/>
176 </eClassifiers>
177 <eClassifiers xsi:type="ecore:EClass" name="ALSRangeRestrictionRight" eSuperTypes="#//ALSTerm">
178 <eStructuralFeatures xsi:type="ecore:EReference" name="relation" eType="#//ALSTerm"
179 containment="true"/>
180 <eStructuralFeatures xsi:type="ecore:EReference" name="filter" eType="#//ALSTerm"
181 containment="true"/>
182 </eClassifiers>
183 <eClassifiers xsi:type="ecore:EClass" name="ALSRangeRestrictionLeft" eSuperTypes="#//ALSTerm">
184 <eStructuralFeatures xsi:type="ecore:EReference" name="filter" eType="#//ALSTerm"
185 containment="true"/>
186 <eStructuralFeatures xsi:type="ecore:EReference" name="relation" eType="#//ALSTerm"
187 containment="true"/>
188 </eClassifiers>
189 <eClassifiers xsi:type="ecore:EClass" name="ALSJoin" eSuperTypes="#//ALSTerm">
190 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
191 containment="true"/>
192 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
193 containment="true"/>
194 </eClassifiers>
195 <eClassifiers xsi:type="ecore:EClass" name="ALSMinus" eSuperTypes="#//ALSTerm">
196 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
197 containment="true"/>
198 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
199 containment="true"/>
200 </eClassifiers>
201 <eClassifiers xsi:type="ecore:EClass" name="ALSPlus" eSuperTypes="#//ALSTerm">
202 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
203 containment="true"/>
204 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
205 containment="true"/>
206 </eClassifiers>
207 <eClassifiers xsi:type="ecore:EClass" name="ALSIntersection" eSuperTypes="#//ALSTerm">
208 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
209 containment="true"/>
210 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
211 containment="true"/>
212 </eClassifiers>
213 <eClassifiers xsi:type="ecore:EClass" name="ALSDirectProduct" eSuperTypes="#//ALSTerm">
214 <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//ALSTerm"
215 containment="true"/>
216 <eStructuralFeatures xsi:type="ecore:EAttribute" name="leftMultiplicit" eType="#//ALSMultiplicity"/>
217 <eStructuralFeatures xsi:type="ecore:EAttribute" name="rightMultiplicit" eType="#//ALSMultiplicity"/>
218 <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//ALSTerm"
219 containment="true"/>
220 </eClassifiers>
221 <eClassifiers xsi:type="ecore:EClass" name="ALSNot" eSuperTypes="#//ALSTerm">
222 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
223 containment="true"/>
224 </eClassifiers>
225 <eClassifiers xsi:type="ecore:EClass" name="ALSInverseRelation" eSuperTypes="#//ALSTerm">
226 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
227 containment="true"/>
228 </eClassifiers>
229 <eClassifiers xsi:type="ecore:EClass" name="AlSTransitiveClosure" eSuperTypes="#//ALSTerm">
230 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
231 containment="true"/>
232 </eClassifiers>
233 <eClassifiers xsi:type="ecore:EClass" name="ALSReflectiveTransitiveClosure" eSuperTypes="#//ALSTerm">
234 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
235 containment="true"/>
236 </eClassifiers>
237 <eClassifiers xsi:type="ecore:EClass" name="ALSCardinality" eSuperTypes="#//ALSTerm">
238 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
239 containment="true"/>
240 </eClassifiers>
241 <eClassifiers xsi:type="ecore:EClass" name="ALSUnaryMinus" eSuperTypes="#//ALSTerm">
242 <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//ALSTerm"
243 containment="true"/>
244 </eClassifiers>
245 <eClassifiers xsi:type="ecore:EClass" name="ALSSum" eSuperTypes="#//ALSTerm">
246 <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1"
247 eType="#//ALSVariableDeclaration" containment="true"/>
248 <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//ALSTerm"
249 containment="true"/>
250 </eClassifiers>
251 <eClassifiers xsi:type="ecore:EClass" name="ALSFunctionCall" eSuperTypes="#//ALSTerm">
252 <eStructuralFeatures xsi:type="ecore:EReference" name="referredDefinition" eType="#//ALSDefinition"/>
253 <eStructuralFeatures xsi:type="ecore:EAttribute" name="referredNumericOperator"
254 eType="#//ALSNumericOperator"/>
255 <eStructuralFeatures xsi:type="ecore:EReference" name="params" upperBound="-1"
256 eType="#//ALSTerm" containment="true"/>
257 </eClassifiers>
258 <eClassifiers xsi:type="ecore:EClass" name="ALSNone" eSuperTypes="#//ALSTerm"/>
259 <eClassifiers xsi:type="ecore:EClass" name="ALSIden" eSuperTypes="#//ALSTerm"/>
260 <eClassifiers xsi:type="ecore:EClass" name="ALSUniv" eSuperTypes="#//ALSTerm"/>
261 <eClassifiers xsi:type="ecore:EClass" name="ALSInt" eSuperTypes="#//ALSTerm"/>
262 <eClassifiers xsi:type="ecore:EClass" name="ALSString" eSuperTypes="#//ALSTerm"/>
263 <eClassifiers xsi:type="ecore:EClass" name="ALSReference" eSuperTypes="#//ALSTerm">
264 <eStructuralFeatures xsi:type="ecore:EReference" name="referred" eType="#//ALSRelationDeclaration"/>
265 </eClassifiers>
266 <eClassifiers xsi:type="ecore:EClass" name="ALSNumberLiteral" eSuperTypes="#//ALSTerm">
267 <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
268 </eClassifiers>
269 <eClassifiers xsi:type="ecore:EClass" name="ALSStringLiteral" eSuperTypes="#//ALSTerm">
270 <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
271 </eClassifiers>
272</ecore:EPackage>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.genmodel b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.genmodel
deleted file mode 100644
index ae44daf7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/model/generated/AlloyLanguage.genmodel
+++ /dev/null
@@ -1,211 +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.alloy.language/src-gen"
4 editDirectory="/hu.bme.mit.inf.dslreasoner.alloy.language.edit/src" editorDirectory="/hu.bme.mit.inf.dslreasoner.alloy.language.editor/src"
5 modelPluginID="hu.bme.mit.inf.dslreasoner.alloy.language" forceOverwrite="true"
6 modelName="AlloyLanguage" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7 complianceLevel="6.0" copyrightFields="false" editPluginID="hu.bme.mit.inf.dslreasoner.alloy.language.edit"
8 editorPluginID="hu.bme.mit.inf.dslreasoner.alloy.language.editor" runtimeVersion="2.13">
9 <genPackages prefix="AlloyLanguage" basePackage="hu.bme.mit.inf.dslreasoner" disposableProviderFactory="true"
10 fileExtensions="als" ecorePackage="AlloyLanguage.ecore#/">
11 <genEnums typeSafeEnumCompatible="false" ecoreEnum="AlloyLanguage.ecore#//ALSMultiplicity">
12 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/all"/>
13 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/no"/>
14 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/some"/>
15 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/lone"/>
16 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/one"/>
17 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSMultiplicity/set"/>
18 </genEnums>
19 <genEnums typeSafeEnumCompatible="false" ecoreEnum="AlloyLanguage.ecore#//ALSNumericOperator">
20 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSNumericOperator/plus"/>
21 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSNumericOperator/sub"/>
22 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSNumericOperator/mul"/>
23 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSNumericOperator/rem"/>
24 <genEnumLiterals ecoreEnumLiteral="AlloyLanguage.ecore#//ALSNumericOperator/div"/>
25 </genEnums>
26 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSDocument">
27 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/enumDeclarations"/>
28 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/signatureBodies"/>
29 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/functionDefinitions"/>
30 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/relationDefinitions"/>
31 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/factDeclarations"/>
32 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDocument/runCommand"/>
33 </genClasses>
34 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSRelationDeclaration">
35 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSRelationDeclaration/name"/>
36 </genClasses>
37 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSTypeDeclaration"/>
38 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSEnumDeclaration">
39 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSEnumDeclaration/literal"/>
40 </genClasses>
41 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSEnumLiteral"/>
42 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSSignatureDeclaration"/>
43 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSSignatureBody">
44 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSSignatureBody/multiplicity"/>
45 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSSignatureBody/abstract"/>
46 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSignatureBody/declarations"/>
47 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSignatureBody/supertype"/>
48 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSignatureBody/superset"/>
49 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSignatureBody/fields"/>
50 </genClasses>
51 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSFieldDeclaration">
52 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSFieldDeclaration/multiplicity"/>
53 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSFieldDeclaration/type"/>
54 </genClasses>
55 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSDefinition">
56 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSDefinition/name"/>
57 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDefinition/variables"/>
58 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDefinition/value"/>
59 </genClasses>
60 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSFunctionDefinition">
61 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSFunctionDefinition/type"/>
62 </genClasses>
63 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSRelationDefinition"/>
64 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSFactDeclaration">
65 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSFactDeclaration/name"/>
66 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSFactDeclaration/term"/>
67 </genClasses>
68 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSTerm"/>
69 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSVariableDeclaration">
70 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSVariableDeclaration/range"/>
71 </genClasses>
72 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSRunCommand">
73 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSRunCommand/typeScopes"/>
74 </genClasses>
75 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSTypeScope">
76 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSTypeScope/number"/>
77 </genClasses>
78 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSSigScope">
79 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSSigScope/exactly"/>
80 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSigScope/type"/>
81 </genClasses>
82 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSIntScope"/>
83 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSStringScope"/>
84 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSQuantifiedEx">
85 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSQuantifiedEx/type"/>
86 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSQuantifiedEx/disj"/>
87 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSQuantifiedEx/variables"/>
88 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSQuantifiedEx/expression"/>
89 </genClasses>
90 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSOr">
91 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSOr/leftOperand"/>
92 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSOr/rightOperand"/>
93 </genClasses>
94 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSIff">
95 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSIff/leftOperand"/>
96 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSIff/rightOperand"/>
97 </genClasses>
98 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSImpl">
99 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSImpl/leftOperand"/>
100 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSImpl/rightOperand"/>
101 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSImpl/elseOperand"/>
102 </genClasses>
103 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSAnd">
104 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSAnd/leftOperand"/>
105 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSAnd/rightOperand"/>
106 </genClasses>
107 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSEquals">
108 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSEquals/leftOperand"/>
109 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSEquals/rightOperand"/>
110 </genClasses>
111 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSNotEquals">
112 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSNotEquals/leftOperand"/>
113 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSNotEquals/rightOperand"/>
114 </genClasses>
115 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSSubset">
116 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSubset/leftOperand"/>
117 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSubset/rightOperand"/>
118 </genClasses>
119 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSLess">
120 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSLess/leftOperand"/>
121 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSLess/rightOperand"/>
122 </genClasses>
123 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSLeq">
124 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSLeq/leftOperand"/>
125 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSLeq/rightOperand"/>
126 </genClasses>
127 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSMore">
128 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMore/leftOperand"/>
129 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMore/rightOperand"/>
130 </genClasses>
131 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSMeq">
132 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMeq/leftOperand"/>
133 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMeq/rightOperand"/>
134 </genClasses>
135 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSOverride">
136 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSOverride/leftOperand"/>
137 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSOverride/rightOperand"/>
138 </genClasses>
139 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSRangeRestrictionRight">
140 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSRangeRestrictionRight/relation"/>
141 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSRangeRestrictionRight/filter"/>
142 </genClasses>
143 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSRangeRestrictionLeft">
144 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSRangeRestrictionLeft/filter"/>
145 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSRangeRestrictionLeft/relation"/>
146 </genClasses>
147 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSJoin">
148 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSJoin/leftOperand"/>
149 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSJoin/rightOperand"/>
150 </genClasses>
151 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSMinus">
152 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMinus/leftOperand"/>
153 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSMinus/rightOperand"/>
154 </genClasses>
155 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSPlus">
156 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSPlus/leftOperand"/>
157 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSPlus/rightOperand"/>
158 </genClasses>
159 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSIntersection">
160 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSIntersection/leftOperand"/>
161 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSIntersection/rightOperand"/>
162 </genClasses>
163 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSDirectProduct">
164 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDirectProduct/leftOperand"/>
165 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSDirectProduct/leftMultiplicit"/>
166 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSDirectProduct/rightMultiplicit"/>
167 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSDirectProduct/rightOperand"/>
168 </genClasses>
169 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSNot">
170 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSNot/operand"/>
171 </genClasses>
172 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSInverseRelation">
173 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSInverseRelation/operand"/>
174 </genClasses>
175 <genClasses ecoreClass="AlloyLanguage.ecore#//AlSTransitiveClosure">
176 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//AlSTransitiveClosure/operand"/>
177 </genClasses>
178 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSReflectiveTransitiveClosure">
179 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSReflectiveTransitiveClosure/operand"/>
180 </genClasses>
181 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSCardinality">
182 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSCardinality/operand"/>
183 </genClasses>
184 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSUnaryMinus">
185 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSUnaryMinus/operand"/>
186 </genClasses>
187 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSSum">
188 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSum/variables"/>
189 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSSum/expression"/>
190 </genClasses>
191 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSFunctionCall">
192 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSFunctionCall/referredDefinition"/>
193 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSFunctionCall/referredNumericOperator"/>
194 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSFunctionCall/params"/>
195 </genClasses>
196 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSNone"/>
197 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSIden"/>
198 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSUniv"/>
199 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSInt"/>
200 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSString"/>
201 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSReference">
202 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference AlloyLanguage.ecore#//ALSReference/referred"/>
203 </genClasses>
204 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSNumberLiteral">
205 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSNumberLiteral/value"/>
206 </genClasses>
207 <genClasses ecoreClass="AlloyLanguage.ecore#//ALSStringLiteral">
208 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute AlloyLanguage.ecore#//ALSStringLiteral/value"/>
209 </genClasses>
210 </genPackages>
211</genmodel:GenModel>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml
deleted file mode 100644
index 6ac9fdab..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml
+++ /dev/null
@@ -1,16 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<plugin>
5
6 <extension point="org.eclipse.emf.ecore.generated_package">
7 <package
8 uri = "http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"
9 class = "hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage"
10 genModel = "model/generated/AlloyLanguage.genmodel" />
11
12 </extension>
13
14
15
16</plugin>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml_gen b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml_gen
deleted file mode 100644
index 6ac9fdab..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/plugin.xml_gen
+++ /dev/null
@@ -1,16 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<plugin>
5
6 <extension point="org.eclipse.emf.ecore.generated_package">
7 <package
8 uri = "http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"
9 class = "hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage"
10 genModel = "model/generated/AlloyLanguage.genmodel" />
11
12 </extension>
13
14
15
16</plugin>
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java
deleted file mode 100644
index 32cd6c8c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java
+++ /dev/null
@@ -1,161 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner;
5
6import java.util.Properties;
7
8import org.eclipse.xtext.Constants;
9
10import com.google.inject.Binder;
11import com.google.inject.name.Names;
12
13/**
14 * Manual modifications go to {hu.bme.mit.inf.dslreasoner.AlloyLanguageRuntimeModule}
15 */
16@SuppressWarnings("all")
17public abstract class AbstractAlloyLanguageRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule {
18
19 protected Properties properties = null;
20
21 @Override
22 public void configure(Binder binder) {
23 properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/AlloyLanguage.properties");
24 super.configure(binder);
25 }
26
27 public void configureLanguageName(Binder binder) {
28 binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.AlloyLanguage");
29 }
30
31 public void configureFileExtensions(Binder binder) {
32 if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
33 binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("als");
34 }
35
36 // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
37 public java.lang.ClassLoader bindClassLoaderToInstance() {
38 return getClass().getClassLoader();
39 }
40
41 // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
42 public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
43 return hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess.class;
44 }
45
46 // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
47 public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() {
48 return hu.bme.mit.inf.dslreasoner.serializer.AlloyLanguageSemanticSequencer.class;
49 }
50
51 // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
52 public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() {
53 return hu.bme.mit.inf.dslreasoner.serializer.AlloyLanguageSyntacticSequencer.class;
54 }
55
56 // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
57 public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() {
58 return org.eclipse.xtext.serializer.impl.Serializer.class;
59 }
60
61 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
62 public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
63 return hu.bme.mit.inf.dslreasoner.parser.antlr.AlloyLanguageParser.class;
64 }
65
66 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
67 public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
68 return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
69 }
70
71 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
72 public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
73 return hu.bme.mit.inf.dslreasoner.parser.antlr.AlloyLanguageAntlrTokenFileProvider.class;
74 }
75
76 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
77 public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
78 return hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class;
79 }
80
81 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
82 public com.google.inject.Provider<hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer> provideInternalAlloyLanguageLexer() {
83 return org.eclipse.xtext.parser.antlr.LexerProvider.create(hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class);
84 }
85
86 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
87 public void configureRuntimeLexer(com.google.inject.Binder binder) {
88 binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class);
89 }
90
91 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
92 public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
93 return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
94 }
95
96 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
97 public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() {
98 return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class;
99 }
100
101 // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment
102 @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends hu.bme.mit.inf.dslreasoner.validation.AlloyLanguageValidator> bindAlloyLanguageValidator() {
103 return hu.bme.mit.inf.dslreasoner.validation.AlloyLanguageValidator.class;
104 }
105
106 // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
107 public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
108 return hu.bme.mit.inf.dslreasoner.scoping.AlloyLanguageScopeProvider.class;
109 }
110
111 // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
112 public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
113 binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class);
114 }
115
116 // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
117 public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
118 binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
119 }
120
121 // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
122 public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
123 return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
124 }
125
126 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
127 public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
128 return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
129 }
130
131 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
132 public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() {
133 return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class;
134 }
135
136 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
137 public void configureIResourceDescriptions(com.google.inject.Binder binder) {
138 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
139 }
140
141 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
142 public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
143 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
144 }
145
146 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
147 public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator() {
148 return hu.bme.mit.inf.dslreasoner.generator.AlloyLanguageGenerator.class;
149 }
150
151 // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
152 public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
153 return hu.bme.mit.inf.dslreasoner.formatting.AlloyLanguageFormatter.class;
154 }
155
156 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment
157 public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
158 return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class;
159 }
160
161}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin
deleted file mode 100644
index f5684306..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin
+++ /dev/null
Binary files differ
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java
deleted file mode 100644
index 744dc1fe..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java
+++ /dev/null
@@ -1,45 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner;
5
6import org.eclipse.emf.ecore.EPackage;
7import org.eclipse.emf.ecore.resource.Resource;
8import org.eclipse.xtext.ISetup;
9
10import com.google.inject.Guice;
11import com.google.inject.Injector;
12
13/**
14 * Generated from StandaloneSetup.xpt!
15 */
16@SuppressWarnings("all")
17public class AlloyLanguageStandaloneSetupGenerated implements ISetup {
18
19 @Override
20 public Injector createInjectorAndDoEMFRegistration() {
21 org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
22
23 Injector injector = createInjector();
24 register(injector);
25 return injector;
26 }
27
28 public Injector createInjector() {
29 return Guice.createInjector(new hu.bme.mit.inf.dslreasoner.AlloyLanguageRuntimeModule());
30 }
31
32 public void register(Injector injector) {
33 if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage")) {
34 EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage", hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage.eINSTANCE);
35 }
36
37 org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
38 org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
39 Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("als", resourceFactory);
40 org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("als", serviceProvider);
41
42
43
44 }
45}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java
deleted file mode 100644
index bc3dbb94..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS And</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.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd()
20 * @model
21 * @generated
22 */
23public interface ALSAnd extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSAnd
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java
deleted file mode 100644
index 03735557..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Cardinality</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.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSCardinality()
19 * @model
20 * @generated
21 */
22public interface ALSCardinality extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSCardinality_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // ALSCardinality
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java
deleted file mode 100644
index 32e4709a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java
+++ /dev/null
@@ -1,97 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS 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.alloyLanguage.ALSDefinition#getName <em>Name</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables <em>Variables</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}</li>
21 * </ul>
22 *
23 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition()
24 * @model
25 * @generated
26 */
27public interface ALSDefinition 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.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Name()
40 * @model
41 * @generated
42 */
43 String getName();
44
45 /**
46 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#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>Variables</b></em>' containment reference list.
57 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}.
58 * <!-- begin-user-doc -->
59 * <p>
60 * If the meaning of the '<em>Variables</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>Variables</em>' containment reference list.
65 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Variables()
66 * @model containment="true"
67 * @generated
68 */
69 EList<ALSVariableDeclaration> getVariables();
70
71 /**
72 * Returns the value of the '<em><b>Value</b></em>' containment reference.
73 * <!-- begin-user-doc -->
74 * <p>
75 * If the meaning of the '<em>Value</em>' containment reference isn't clear,
76 * there really should be more of a description here...
77 * </p>
78 * <!-- end-user-doc -->
79 * @return the value of the '<em>Value</em>' containment reference.
80 * @see #setValue(ALSTerm)
81 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Value()
82 * @model containment="true"
83 * @generated
84 */
85 ALSTerm getValue();
86
87 /**
88 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}' containment reference.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @param value the new value of the '<em>Value</em>' containment reference.
92 * @see #getValue()
93 * @generated
94 */
95 void setValue(ALSTerm value);
96
97} // ALSDefinition
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java
deleted file mode 100644
index fba62e10..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java
+++ /dev/null
@@ -1,137 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Direct Product</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.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}</li>
19 * </ul>
20 *
21 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct()
22 * @model
23 * @generated
24 */
25public interface ALSDirectProduct extends ALSTerm
26{
27 /**
28 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Left Operand</em>' containment 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>Left Operand</em>' containment reference.
36 * @see #setLeftOperand(ALSTerm)
37 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_LeftOperand()
38 * @model containment="true"
39 * @generated
40 */
41 ALSTerm getLeftOperand();
42
43 /**
44 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Left Operand</em>' containment reference.
48 * @see #getLeftOperand()
49 * @generated
50 */
51 void setLeftOperand(ALSTerm value);
52
53 /**
54 * Returns the value of the '<em><b>Left Multiplicit</b></em>' attribute.
55 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}.
56 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Left Multiplicit</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>Left Multiplicit</em>' attribute.
63 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
64 * @see #setLeftMultiplicit(ALSMultiplicity)
65 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_LeftMultiplicit()
66 * @model
67 * @generated
68 */
69 ALSMultiplicity getLeftMultiplicit();
70
71 /**
72 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}' attribute.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @param value the new value of the '<em>Left Multiplicit</em>' attribute.
76 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
77 * @see #getLeftMultiplicit()
78 * @generated
79 */
80 void setLeftMultiplicit(ALSMultiplicity value);
81
82 /**
83 * Returns the value of the '<em><b>Right Multiplicit</b></em>' attribute.
84 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}.
85 * <!-- begin-user-doc -->
86 * <p>
87 * If the meaning of the '<em>Right Multiplicit</em>' attribute isn't clear,
88 * there really should be more of a description here...
89 * </p>
90 * <!-- end-user-doc -->
91 * @return the value of the '<em>Right Multiplicit</em>' attribute.
92 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
93 * @see #setRightMultiplicit(ALSMultiplicity)
94 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_RightMultiplicit()
95 * @model
96 * @generated
97 */
98 ALSMultiplicity getRightMultiplicit();
99
100 /**
101 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}' attribute.
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @param value the new value of the '<em>Right Multiplicit</em>' attribute.
105 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
106 * @see #getRightMultiplicit()
107 * @generated
108 */
109 void setRightMultiplicit(ALSMultiplicity value);
110
111 /**
112 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
113 * <!-- begin-user-doc -->
114 * <p>
115 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
116 * there really should be more of a description here...
117 * </p>
118 * <!-- end-user-doc -->
119 * @return the value of the '<em>Right Operand</em>' containment reference.
120 * @see #setRightOperand(ALSTerm)
121 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_RightOperand()
122 * @model containment="true"
123 * @generated
124 */
125 ALSTerm getRightOperand();
126
127 /**
128 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}' containment reference.
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @param value the new value of the '<em>Right Operand</em>' containment reference.
132 * @see #getRightOperand()
133 * @generated
134 */
135 void setRightOperand(ALSTerm value);
136
137} // ALSDirectProduct
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java
deleted file mode 100644
index 3f6d33c8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java
+++ /dev/null
@@ -1,138 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS Document</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.alloyLanguage.ALSDocument#getEnumDeclarations <em>Enum Declarations</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies <em>Signature Bodies</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions <em>Function Definitions</em>}</li>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions <em>Relation Definitions</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations <em>Fact Declarations</em>}</li>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}</li>
24 * </ul>
25 *
26 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument()
27 * @model
28 * @generated
29 */
30public interface ALSDocument extends EObject
31{
32 /**
33 * Returns the value of the '<em><b>Enum Declarations</b></em>' containment reference list.
34 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration}.
35 * <!-- begin-user-doc -->
36 * <p>
37 * If the meaning of the '<em>Enum Declarations</em>' containment reference list 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>Enum Declarations</em>' containment reference list.
42 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_EnumDeclarations()
43 * @model containment="true"
44 * @generated
45 */
46 EList<ALSEnumDeclaration> getEnumDeclarations();
47
48 /**
49 * Returns the value of the '<em><b>Signature Bodies</b></em>' containment reference list.
50 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody}.
51 * <!-- begin-user-doc -->
52 * <p>
53 * If the meaning of the '<em>Signature Bodies</em>' containment reference list isn't clear,
54 * there really should be more of a description here...
55 * </p>
56 * <!-- end-user-doc -->
57 * @return the value of the '<em>Signature Bodies</em>' containment reference list.
58 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_SignatureBodies()
59 * @model containment="true"
60 * @generated
61 */
62 EList<ALSSignatureBody> getSignatureBodies();
63
64 /**
65 * Returns the value of the '<em><b>Function Definitions</b></em>' containment reference list.
66 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition}.
67 * <!-- begin-user-doc -->
68 * <p>
69 * If the meaning of the '<em>Function Definitions</em>' containment reference list isn't clear,
70 * there really should be more of a description here...
71 * </p>
72 * <!-- end-user-doc -->
73 * @return the value of the '<em>Function Definitions</em>' containment reference list.
74 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_FunctionDefinitions()
75 * @model containment="true"
76 * @generated
77 */
78 EList<ALSFunctionDefinition> getFunctionDefinitions();
79
80 /**
81 * Returns the value of the '<em><b>Relation Definitions</b></em>' containment reference list.
82 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition}.
83 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of the '<em>Relation Definitions</em>' containment reference list isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc -->
89 * @return the value of the '<em>Relation Definitions</em>' containment reference list.
90 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_RelationDefinitions()
91 * @model containment="true"
92 * @generated
93 */
94 EList<ALSRelationDefinition> getRelationDefinitions();
95
96 /**
97 * Returns the value of the '<em><b>Fact Declarations</b></em>' containment reference list.
98 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration}.
99 * <!-- begin-user-doc -->
100 * <p>
101 * If the meaning of the '<em>Fact Declarations</em>' containment reference list isn't clear,
102 * there really should be more of a description here...
103 * </p>
104 * <!-- end-user-doc -->
105 * @return the value of the '<em>Fact Declarations</em>' containment reference list.
106 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_FactDeclarations()
107 * @model containment="true"
108 * @generated
109 */
110 EList<ALSFactDeclaration> getFactDeclarations();
111
112 /**
113 * Returns the value of the '<em><b>Run Command</b></em>' containment reference.
114 * <!-- begin-user-doc -->
115 * <p>
116 * If the meaning of the '<em>Run Command</em>' containment reference isn't clear,
117 * there really should be more of a description here...
118 * </p>
119 * <!-- end-user-doc -->
120 * @return the value of the '<em>Run Command</em>' containment reference.
121 * @see #setRunCommand(ALSRunCommand)
122 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_RunCommand()
123 * @model containment="true"
124 * @generated
125 */
126 ALSRunCommand getRunCommand();
127
128 /**
129 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}' containment reference.
130 * <!-- begin-user-doc -->
131 * <!-- end-user-doc -->
132 * @param value the new value of the '<em>Run Command</em>' containment reference.
133 * @see #getRunCommand()
134 * @generated
135 */
136 void setRunCommand(ALSRunCommand value);
137
138} // ALSDocument
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java
deleted file mode 100644
index e97d207f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java
+++ /dev/null
@@ -1,41 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Enum 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.alloyLanguage.ALSEnumDeclaration#getLiteral <em>Literal</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumDeclaration()
20 * @model
21 * @generated
22 */
23public interface ALSEnumDeclaration extends ALSTypeDeclaration
24{
25 /**
26 * Returns the value of the '<em><b>Literal</b></em>' containment reference list.
27 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral}.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Literal</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>Literal</em>' containment reference list.
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumDeclaration_Literal()
36 * @model containment="true"
37 * @generated
38 */
39 EList<ALSEnumLiteral> getLiteral();
40
41} // ALSEnumDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java
deleted file mode 100644
index f4f9282b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Enum Literal</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumLiteral()
13 * @model
14 * @generated
15 */
16public interface ALSEnumLiteral extends ALSRelationDeclaration
17{
18} // ALSEnumLiteral
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java
deleted file mode 100644
index 8fca4ad5..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Equals</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.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals()
20 * @model
21 * @generated
22 */
23public interface ALSEquals extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSEquals
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java
deleted file mode 100644
index f226a784..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java
+++ /dev/null
@@ -1,78 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Fact 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.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration()
21 * @model
22 * @generated
23 */
24public interface ALSFactDeclaration 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.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration_Name()
37 * @model
38 * @generated
39 */
40 String getName();
41
42 /**
43 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#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 /**
53 * Returns the value of the '<em><b>Term</b></em>' containment reference.
54 * <!-- begin-user-doc -->
55 * <p>
56 * If the meaning of the '<em>Term</em>' containment 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>Term</em>' containment reference.
61 * @see #setTerm(ALSTerm)
62 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration_Term()
63 * @model containment="true"
64 * @generated
65 */
66 ALSTerm getTerm();
67
68 /**
69 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}' containment reference.
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @param value the new value of the '<em>Term</em>' containment reference.
73 * @see #getTerm()
74 * @generated
75 */
76 void setTerm(ALSTerm value);
77
78} // ALSFactDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java
deleted file mode 100644
index 060cb6ed..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java
+++ /dev/null
@@ -1,80 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Field Declaration</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.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration()
20 * @model
21 * @generated
22 */
23public interface ALSFieldDeclaration extends ALSRelationDeclaration
24{
25 /**
26 * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
27 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Multiplicity</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>Multiplicity</em>' attribute.
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
36 * @see #setMultiplicity(ALSMultiplicity)
37 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration_Multiplicity()
38 * @model
39 * @generated
40 */
41 ALSMultiplicity getMultiplicity();
42
43 /**
44 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}' attribute.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Multiplicity</em>' attribute.
48 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
49 * @see #getMultiplicity()
50 * @generated
51 */
52 void setMultiplicity(ALSMultiplicity value);
53
54 /**
55 * Returns the value of the '<em><b>Type</b></em>' containment reference.
56 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Type</em>' containment reference isn't clear,
59 * there really should be more of a description here...
60 * </p>
61 * <!-- end-user-doc -->
62 * @return the value of the '<em>Type</em>' containment reference.
63 * @see #setType(ALSTerm)
64 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration_Type()
65 * @model containment="true"
66 * @generated
67 */
68 ALSTerm getType();
69
70 /**
71 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}' containment reference.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @param value the new value of the '<em>Type</em>' containment reference.
75 * @see #getType()
76 * @generated
77 */
78 void setType(ALSTerm value);
79
80} // ALSFieldDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java
deleted file mode 100644
index 967640e6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java
+++ /dev/null
@@ -1,98 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Function Call</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.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams <em>Params</em>}</li>
19 * </ul>
20 *
21 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall()
22 * @model
23 * @generated
24 */
25public interface ALSFunctionCall extends ALSTerm
26{
27 /**
28 * Returns the value of the '<em><b>Referred Definition</b></em>' reference.
29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Referred Definition</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>Referred Definition</em>' reference.
36 * @see #setReferredDefinition(ALSDefinition)
37 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_ReferredDefinition()
38 * @model
39 * @generated
40 */
41 ALSDefinition getReferredDefinition();
42
43 /**
44 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}' reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Referred Definition</em>' reference.
48 * @see #getReferredDefinition()
49 * @generated
50 */
51 void setReferredDefinition(ALSDefinition value);
52
53 /**
54 * Returns the value of the '<em><b>Referred Numeric Operator</b></em>' attribute.
55 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator}.
56 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Referred Numeric Operator</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>Referred Numeric Operator</em>' attribute.
63 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
64 * @see #setReferredNumericOperator(ALSNumericOperator)
65 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_ReferredNumericOperator()
66 * @model
67 * @generated
68 */
69 ALSNumericOperator getReferredNumericOperator();
70
71 /**
72 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}' attribute.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @param value the new value of the '<em>Referred Numeric Operator</em>' attribute.
76 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
77 * @see #getReferredNumericOperator()
78 * @generated
79 */
80 void setReferredNumericOperator(ALSNumericOperator value);
81
82 /**
83 * Returns the value of the '<em><b>Params</b></em>' containment reference list.
84 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm}.
85 * <!-- begin-user-doc -->
86 * <p>
87 * If the meaning of the '<em>Params</em>' containment reference list isn't clear,
88 * there really should be more of a description here...
89 * </p>
90 * <!-- end-user-doc -->
91 * @return the value of the '<em>Params</em>' containment reference list.
92 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_Params()
93 * @model containment="true"
94 * @generated
95 */
96 EList<ALSTerm> getParams();
97
98} // ALSFunctionCall
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java
deleted file mode 100644
index c2f009ec..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Function 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.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionDefinition()
19 * @model
20 * @generated
21 */
22public interface ALSFunctionDefinition extends ALSDefinition
23{
24 /**
25 * Returns the value of the '<em><b>Type</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Type</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>Type</em>' containment reference.
33 * @see #setType(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionDefinition_Type()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getType();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Type</em>' containment reference.
45 * @see #getType()
46 * @generated
47 */
48 void setType(ALSTerm value);
49
50} // ALSFunctionDefinition
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java
deleted file mode 100644
index 8e00ef8d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Iden</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIden()
13 * @model
14 * @generated
15 */
16public interface ALSIden extends ALSTerm
17{
18} // ALSIden
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java
deleted file mode 100644
index 54b3d0ca..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Iff</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.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff()
20 * @model
21 * @generated
22 */
23public interface ALSIff extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSIff
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java
deleted file mode 100644
index 29ddcdf8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java
+++ /dev/null
@@ -1,104 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Impl</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.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl()
21 * @model
22 * @generated
23 */
24public interface ALSImpl extends ALSTerm
25{
26 /**
27 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Left Operand</em>' containment 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>Left Operand</em>' containment reference.
35 * @see #setLeftOperand(ALSTerm)
36 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_LeftOperand()
37 * @model containment="true"
38 * @generated
39 */
40 ALSTerm getLeftOperand();
41
42 /**
43 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}' containment reference.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @param value the new value of the '<em>Left Operand</em>' containment reference.
47 * @see #getLeftOperand()
48 * @generated
49 */
50 void setLeftOperand(ALSTerm value);
51
52 /**
53 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
54 * <!-- begin-user-doc -->
55 * <p>
56 * If the meaning of the '<em>Right Operand</em>' containment 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>Right Operand</em>' containment reference.
61 * @see #setRightOperand(ALSTerm)
62 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_RightOperand()
63 * @model containment="true"
64 * @generated
65 */
66 ALSTerm getRightOperand();
67
68 /**
69 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}' containment reference.
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @param value the new value of the '<em>Right Operand</em>' containment reference.
73 * @see #getRightOperand()
74 * @generated
75 */
76 void setRightOperand(ALSTerm value);
77
78 /**
79 * Returns the value of the '<em><b>Else Operand</b></em>' containment reference.
80 * <!-- begin-user-doc -->
81 * <p>
82 * If the meaning of the '<em>Else Operand</em>' containment reference isn't clear,
83 * there really should be more of a description here...
84 * </p>
85 * <!-- end-user-doc -->
86 * @return the value of the '<em>Else Operand</em>' containment reference.
87 * @see #setElseOperand(ALSTerm)
88 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_ElseOperand()
89 * @model containment="true"
90 * @generated
91 */
92 ALSTerm getElseOperand();
93
94 /**
95 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}' containment reference.
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @param value the new value of the '<em>Else Operand</em>' containment reference.
99 * @see #getElseOperand()
100 * @generated
101 */
102 void setElseOperand(ALSTerm value);
103
104} // ALSImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java
deleted file mode 100644
index e66d7524..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Int</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInt()
13 * @model
14 * @generated
15 */
16public interface ALSInt extends ALSTerm
17{
18} // ALSInt
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java
deleted file mode 100644
index 5c47d66e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Int Scope</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntScope()
13 * @model
14 * @generated
15 */
16public interface ALSIntScope extends ALSTypeScope
17{
18} // ALSIntScope
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java
deleted file mode 100644
index 0af5cee1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Intersection</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.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection()
20 * @model
21 * @generated
22 */
23public interface ALSIntersection extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSIntersection
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java
deleted file mode 100644
index f4c27497..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Inverse Relation</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.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInverseRelation()
19 * @model
20 * @generated
21 */
22public interface ALSInverseRelation extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInverseRelation_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // ALSInverseRelation
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java
deleted file mode 100644
index b514e720..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Join</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.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin()
20 * @model
21 * @generated
22 */
23public interface ALSJoin extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSJoin
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java
deleted file mode 100644
index e108ba3d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Leq</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.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq()
20 * @model
21 * @generated
22 */
23public interface ALSLeq extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSLeq
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java
deleted file mode 100644
index c9b9ac71..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Less</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.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess()
20 * @model
21 * @generated
22 */
23public interface ALSLess extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSLess
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java
deleted file mode 100644
index 7162da0b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Meq</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.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq()
20 * @model
21 * @generated
22 */
23public interface ALSMeq extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSMeq
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java
deleted file mode 100644
index ee09df77..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Minus</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.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus()
20 * @model
21 * @generated
22 */
23public interface ALSMinus extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSMinus
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java
deleted file mode 100644
index 6f5e7ad0..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS More</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.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore()
20 * @model
21 * @generated
22 */
23public interface ALSMore extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSMore
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java
deleted file mode 100644
index 16438e7f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java
+++ /dev/null
@@ -1,337 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS Multiplicity</b></em>',
14 * and utility methods for working with them.
15 * <!-- end-user-doc -->
16 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMultiplicity()
17 * @model
18 * @generated
19 */
20public enum ALSMultiplicity implements Enumerator
21{
22 /**
23 * The '<em><b>All</b></em>' literal object.
24 * <!-- begin-user-doc -->
25 * <!-- end-user-doc -->
26 * @see #ALL_VALUE
27 * @generated
28 * @ordered
29 */
30 ALL(0, "all", "all"),
31
32 /**
33 * The '<em><b>No</b></em>' literal object.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #NO_VALUE
37 * @generated
38 * @ordered
39 */
40 NO(1, "no", "no"),
41
42 /**
43 * The '<em><b>Some</b></em>' literal object.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #SOME_VALUE
47 * @generated
48 * @ordered
49 */
50 SOME(2, "some", "some"),
51
52 /**
53 * The '<em><b>Lone</b></em>' literal object.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #LONE_VALUE
57 * @generated
58 * @ordered
59 */
60 LONE(3, "lone", "lone"),
61
62 /**
63 * The '<em><b>One</b></em>' literal object.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #ONE_VALUE
67 * @generated
68 * @ordered
69 */
70 ONE(4, "one", "one"),
71
72 /**
73 * The '<em><b>Set</b></em>' literal object.
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @see #SET_VALUE
77 * @generated
78 * @ordered
79 */
80 SET(5, "set", "set");
81
82 /**
83 * The '<em><b>All</b></em>' literal value.
84 * <!-- begin-user-doc -->
85 * <p>
86 * If the meaning of '<em><b>All</b></em>' literal object isn't clear,
87 * there really should be more of a description here...
88 * </p>
89 * <!-- end-user-doc -->
90 * @see #ALL
91 * @model name="all"
92 * @generated
93 * @ordered
94 */
95 public static final int ALL_VALUE = 0;
96
97 /**
98 * The '<em><b>No</b></em>' literal value.
99 * <!-- begin-user-doc -->
100 * <p>
101 * If the meaning of '<em><b>No</b></em>' literal object isn't clear,
102 * there really should be more of a description here...
103 * </p>
104 * <!-- end-user-doc -->
105 * @see #NO
106 * @model name="no"
107 * @generated
108 * @ordered
109 */
110 public static final int NO_VALUE = 1;
111
112 /**
113 * The '<em><b>Some</b></em>' literal value.
114 * <!-- begin-user-doc -->
115 * <p>
116 * If the meaning of '<em><b>Some</b></em>' literal object isn't clear,
117 * there really should be more of a description here...
118 * </p>
119 * <!-- end-user-doc -->
120 * @see #SOME
121 * @model name="some"
122 * @generated
123 * @ordered
124 */
125 public static final int SOME_VALUE = 2;
126
127 /**
128 * The '<em><b>Lone</b></em>' literal value.
129 * <!-- begin-user-doc -->
130 * <p>
131 * If the meaning of '<em><b>Lone</b></em>' literal object isn't clear,
132 * there really should be more of a description here...
133 * </p>
134 * <!-- end-user-doc -->
135 * @see #LONE
136 * @model name="lone"
137 * @generated
138 * @ordered
139 */
140 public static final int LONE_VALUE = 3;
141
142 /**
143 * The '<em><b>One</b></em>' literal value.
144 * <!-- begin-user-doc -->
145 * <p>
146 * If the meaning of '<em><b>One</b></em>' literal object isn't clear,
147 * there really should be more of a description here...
148 * </p>
149 * <!-- end-user-doc -->
150 * @see #ONE
151 * @model name="one"
152 * @generated
153 * @ordered
154 */
155 public static final int ONE_VALUE = 4;
156
157 /**
158 * The '<em><b>Set</b></em>' literal value.
159 * <!-- begin-user-doc -->
160 * <p>
161 * If the meaning of '<em><b>Set</b></em>' literal object isn't clear,
162 * there really should be more of a description here...
163 * </p>
164 * <!-- end-user-doc -->
165 * @see #SET
166 * @model name="set"
167 * @generated
168 * @ordered
169 */
170 public static final int SET_VALUE = 5;
171
172 /**
173 * An array of all the '<em><b>ALS Multiplicity</b></em>' enumerators.
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 */
178 private static final ALSMultiplicity[] VALUES_ARRAY =
179 new ALSMultiplicity[]
180 {
181 ALL,
182 NO,
183 SOME,
184 LONE,
185 ONE,
186 SET,
187 };
188
189 /**
190 * A public read-only list of all the '<em><b>ALS Multiplicity</b></em>' enumerators.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 */
195 public static final List<ALSMultiplicity> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
196
197 /**
198 * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified literal value.
199 * <!-- begin-user-doc -->
200 * <!-- end-user-doc -->
201 * @param literal the literal.
202 * @return the matching enumerator or <code>null</code>.
203 * @generated
204 */
205 public static ALSMultiplicity get(String literal)
206 {
207 for (int i = 0; i < VALUES_ARRAY.length; ++i)
208 {
209 ALSMultiplicity result = VALUES_ARRAY[i];
210 if (result.toString().equals(literal))
211 {
212 return result;
213 }
214 }
215 return null;
216 }
217
218 /**
219 * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified name.
220 * <!-- begin-user-doc -->
221 * <!-- end-user-doc -->
222 * @param name the name.
223 * @return the matching enumerator or <code>null</code>.
224 * @generated
225 */
226 public static ALSMultiplicity getByName(String name)
227 {
228 for (int i = 0; i < VALUES_ARRAY.length; ++i)
229 {
230 ALSMultiplicity result = VALUES_ARRAY[i];
231 if (result.getName().equals(name))
232 {
233 return result;
234 }
235 }
236 return null;
237 }
238
239 /**
240 * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified integer value.
241 * <!-- begin-user-doc -->
242 * <!-- end-user-doc -->
243 * @param value the integer value.
244 * @return the matching enumerator or <code>null</code>.
245 * @generated
246 */
247 public static ALSMultiplicity get(int value)
248 {
249 switch (value)
250 {
251 case ALL_VALUE: return ALL;
252 case NO_VALUE: return NO;
253 case SOME_VALUE: return SOME;
254 case LONE_VALUE: return LONE;
255 case ONE_VALUE: return ONE;
256 case SET_VALUE: return SET;
257 }
258 return null;
259 }
260
261 /**
262 * <!-- begin-user-doc -->
263 * <!-- end-user-doc -->
264 * @generated
265 */
266 private final int value;
267
268 /**
269 * <!-- begin-user-doc -->
270 * <!-- end-user-doc -->
271 * @generated
272 */
273 private final String name;
274
275 /**
276 * <!-- begin-user-doc -->
277 * <!-- end-user-doc -->
278 * @generated
279 */
280 private final String literal;
281
282 /**
283 * Only this class can construct instances.
284 * <!-- begin-user-doc -->
285 * <!-- end-user-doc -->
286 * @generated
287 */
288 private ALSMultiplicity(int value, String name, String literal)
289 {
290 this.value = value;
291 this.name = name;
292 this.literal = literal;
293 }
294
295 /**
296 * <!-- begin-user-doc -->
297 * <!-- end-user-doc -->
298 * @generated
299 */
300 public int getValue()
301 {
302 return value;
303 }
304
305 /**
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @generated
309 */
310 public String getName()
311 {
312 return name;
313 }
314
315 /**
316 * <!-- begin-user-doc -->
317 * <!-- end-user-doc -->
318 * @generated
319 */
320 public String getLiteral()
321 {
322 return literal;
323 }
324
325 /**
326 * Returns the literal value of the enumerator, which is its string representation.
327 * <!-- begin-user-doc -->
328 * <!-- end-user-doc -->
329 * @generated
330 */
331 @Override
332 public String toString()
333 {
334 return literal;
335 }
336
337} //ALSMultiplicity
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java
deleted file mode 100644
index 7133576a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS None</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNone()
13 * @model
14 * @generated
15 */
16public interface ALSNone extends ALSTerm
17{
18} // ALSNone
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java
deleted file mode 100644
index f2712605..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Not</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.alloyLanguage.ALSNot#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNot()
19 * @model
20 * @generated
21 */
22public interface ALSNot extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNot_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // ALSNot
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java
deleted file mode 100644
index 04a257e4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Not Equals</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.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals()
20 * @model
21 * @generated
22 */
23public interface ALSNotEquals extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSNotEquals
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java
deleted file mode 100644
index 58fff50f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Number Literal</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.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumberLiteral()
19 * @model
20 * @generated
21 */
22public interface ALSNumberLiteral extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Value</b></em>' attribute.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Value</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>Value</em>' attribute.
33 * @see #setValue(int)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumberLiteral_Value()
35 * @model
36 * @generated
37 */
38 int getValue();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Value</em>' attribute.
45 * @see #getValue()
46 * @generated
47 */
48 void setValue(int value);
49
50} // ALSNumberLiteral
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java
deleted file mode 100644
index 1d91d190..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java
+++ /dev/null
@@ -1,310 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS Numeric Operator</b></em>',
14 * and utility methods for working with them.
15 * <!-- end-user-doc -->
16 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumericOperator()
17 * @model
18 * @generated
19 */
20public enum ALSNumericOperator implements Enumerator
21{
22 /**
23 * The '<em><b>Plus</b></em>' literal object.
24 * <!-- begin-user-doc -->
25 * <!-- end-user-doc -->
26 * @see #PLUS_VALUE
27 * @generated
28 * @ordered
29 */
30 PLUS(0, "plus", "plus"),
31
32 /**
33 * The '<em><b>Sub</b></em>' literal object.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #SUB_VALUE
37 * @generated
38 * @ordered
39 */
40 SUB(1, "sub", "sub"),
41
42 /**
43 * The '<em><b>Mul</b></em>' literal object.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #MUL_VALUE
47 * @generated
48 * @ordered
49 */
50 MUL(2, "mul", "mul"),
51
52 /**
53 * The '<em><b>Rem</b></em>' literal object.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #REM_VALUE
57 * @generated
58 * @ordered
59 */
60 REM(3, "rem", "rem"),
61
62 /**
63 * The '<em><b>Div</b></em>' literal object.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #DIV_VALUE
67 * @generated
68 * @ordered
69 */
70 DIV(4, "div", "div");
71
72 /**
73 * The '<em><b>Plus</b></em>' literal value.
74 * <!-- begin-user-doc -->
75 * <p>
76 * If the meaning of '<em><b>Plus</b></em>' literal object isn't clear,
77 * there really should be more of a description here...
78 * </p>
79 * <!-- end-user-doc -->
80 * @see #PLUS
81 * @model name="plus"
82 * @generated
83 * @ordered
84 */
85 public static final int PLUS_VALUE = 0;
86
87 /**
88 * The '<em><b>Sub</b></em>' literal value.
89 * <!-- begin-user-doc -->
90 * <p>
91 * If the meaning of '<em><b>Sub</b></em>' literal object isn't clear,
92 * there really should be more of a description here...
93 * </p>
94 * <!-- end-user-doc -->
95 * @see #SUB
96 * @model name="sub"
97 * @generated
98 * @ordered
99 */
100 public static final int SUB_VALUE = 1;
101
102 /**
103 * The '<em><b>Mul</b></em>' literal value.
104 * <!-- begin-user-doc -->
105 * <p>
106 * If the meaning of '<em><b>Mul</b></em>' literal object isn't clear,
107 * there really should be more of a description here...
108 * </p>
109 * <!-- end-user-doc -->
110 * @see #MUL
111 * @model name="mul"
112 * @generated
113 * @ordered
114 */
115 public static final int MUL_VALUE = 2;
116
117 /**
118 * The '<em><b>Rem</b></em>' literal value.
119 * <!-- begin-user-doc -->
120 * <p>
121 * If the meaning of '<em><b>Rem</b></em>' literal object isn't clear,
122 * there really should be more of a description here...
123 * </p>
124 * <!-- end-user-doc -->
125 * @see #REM
126 * @model name="rem"
127 * @generated
128 * @ordered
129 */
130 public static final int REM_VALUE = 3;
131
132 /**
133 * The '<em><b>Div</b></em>' literal value.
134 * <!-- begin-user-doc -->
135 * <p>
136 * If the meaning of '<em><b>Div</b></em>' literal object isn't clear,
137 * there really should be more of a description here...
138 * </p>
139 * <!-- end-user-doc -->
140 * @see #DIV
141 * @model name="div"
142 * @generated
143 * @ordered
144 */
145 public static final int DIV_VALUE = 4;
146
147 /**
148 * An array of all the '<em><b>ALS Numeric Operator</b></em>' enumerators.
149 * <!-- begin-user-doc -->
150 * <!-- end-user-doc -->
151 * @generated
152 */
153 private static final ALSNumericOperator[] VALUES_ARRAY =
154 new ALSNumericOperator[]
155 {
156 PLUS,
157 SUB,
158 MUL,
159 REM,
160 DIV,
161 };
162
163 /**
164 * A public read-only list of all the '<em><b>ALS Numeric Operator</b></em>' enumerators.
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @generated
168 */
169 public static final List<ALSNumericOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
170
171 /**
172 * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified literal value.
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @param literal the literal.
176 * @return the matching enumerator or <code>null</code>.
177 * @generated
178 */
179 public static ALSNumericOperator get(String literal)
180 {
181 for (int i = 0; i < VALUES_ARRAY.length; ++i)
182 {
183 ALSNumericOperator result = VALUES_ARRAY[i];
184 if (result.toString().equals(literal))
185 {
186 return result;
187 }
188 }
189 return null;
190 }
191
192 /**
193 * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified name.
194 * <!-- begin-user-doc -->
195 * <!-- end-user-doc -->
196 * @param name the name.
197 * @return the matching enumerator or <code>null</code>.
198 * @generated
199 */
200 public static ALSNumericOperator getByName(String name)
201 {
202 for (int i = 0; i < VALUES_ARRAY.length; ++i)
203 {
204 ALSNumericOperator result = VALUES_ARRAY[i];
205 if (result.getName().equals(name))
206 {
207 return result;
208 }
209 }
210 return null;
211 }
212
213 /**
214 * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified integer value.
215 * <!-- begin-user-doc -->
216 * <!-- end-user-doc -->
217 * @param value the integer value.
218 * @return the matching enumerator or <code>null</code>.
219 * @generated
220 */
221 public static ALSNumericOperator get(int value)
222 {
223 switch (value)
224 {
225 case PLUS_VALUE: return PLUS;
226 case SUB_VALUE: return SUB;
227 case MUL_VALUE: return MUL;
228 case REM_VALUE: return REM;
229 case DIV_VALUE: return DIV;
230 }
231 return null;
232 }
233
234 /**
235 * <!-- begin-user-doc -->
236 * <!-- end-user-doc -->
237 * @generated
238 */
239 private final int value;
240
241 /**
242 * <!-- begin-user-doc -->
243 * <!-- end-user-doc -->
244 * @generated
245 */
246 private final String name;
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 private final String literal;
254
255 /**
256 * Only this class can construct instances.
257 * <!-- begin-user-doc -->
258 * <!-- end-user-doc -->
259 * @generated
260 */
261 private ALSNumericOperator(int value, String name, String literal)
262 {
263 this.value = value;
264 this.name = name;
265 this.literal = literal;
266 }
267
268 /**
269 * <!-- begin-user-doc -->
270 * <!-- end-user-doc -->
271 * @generated
272 */
273 public int getValue()
274 {
275 return value;
276 }
277
278 /**
279 * <!-- begin-user-doc -->
280 * <!-- end-user-doc -->
281 * @generated
282 */
283 public String getName()
284 {
285 return name;
286 }
287
288 /**
289 * <!-- begin-user-doc -->
290 * <!-- end-user-doc -->
291 * @generated
292 */
293 public String getLiteral()
294 {
295 return literal;
296 }
297
298 /**
299 * Returns the literal value of the enumerator, which is its string representation.
300 * <!-- begin-user-doc -->
301 * <!-- end-user-doc -->
302 * @generated
303 */
304 @Override
305 public String toString()
306 {
307 return literal;
308 }
309
310} //ALSNumericOperator
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java
deleted file mode 100644
index 08eaf50f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Or</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.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr()
20 * @model
21 * @generated
22 */
23public interface ALSOr extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSOr
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java
deleted file mode 100644
index 7d627e7e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Override</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.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride()
20 * @model
21 * @generated
22 */
23public interface ALSOverride extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSOverride
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java
deleted file mode 100644
index f923d2ea..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Plus</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.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus()
20 * @model
21 * @generated
22 */
23public interface ALSPlus extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSPlus
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java
deleted file mode 100644
index 077c8ad1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java
+++ /dev/null
@@ -1,125 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Quantified Ex</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.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}</li>
18 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables <em>Variables</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}</li>
20 * </ul>
21 *
22 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx()
23 * @model
24 * @generated
25 */
26public interface ALSQuantifiedEx extends ALSTerm
27{
28 /**
29 * Returns the value of the '<em><b>Type</b></em>' attribute.
30 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}.
31 * <!-- begin-user-doc -->
32 * <p>
33 * If the meaning of the '<em>Type</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>Type</em>' attribute.
38 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
39 * @see #setType(ALSMultiplicity)
40 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Type()
41 * @model
42 * @generated
43 */
44 ALSMultiplicity getType();
45
46 /**
47 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}' attribute.
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @param value the new value of the '<em>Type</em>' attribute.
51 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
52 * @see #getType()
53 * @generated
54 */
55 void setType(ALSMultiplicity value);
56
57 /**
58 * Returns the value of the '<em><b>Disj</b></em>' attribute.
59 * <!-- begin-user-doc -->
60 * <p>
61 * If the meaning of the '<em>Disj</em>' attribute isn't clear,
62 * there really should be more of a description here...
63 * </p>
64 * <!-- end-user-doc -->
65 * @return the value of the '<em>Disj</em>' attribute.
66 * @see #setDisj(boolean)
67 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Disj()
68 * @model
69 * @generated
70 */
71 boolean isDisj();
72
73 /**
74 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}' attribute.
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @param value the new value of the '<em>Disj</em>' attribute.
78 * @see #isDisj()
79 * @generated
80 */
81 void setDisj(boolean value);
82
83 /**
84 * Returns the value of the '<em><b>Variables</b></em>' containment reference list.
85 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}.
86 * <!-- begin-user-doc -->
87 * <p>
88 * If the meaning of the '<em>Variables</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>Variables</em>' containment reference list.
93 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Variables()
94 * @model containment="true"
95 * @generated
96 */
97 EList<ALSVariableDeclaration> getVariables();
98
99 /**
100 * Returns the value of the '<em><b>Expression</b></em>' containment reference.
101 * <!-- begin-user-doc -->
102 * <p>
103 * If the meaning of the '<em>Expression</em>' containment reference isn't clear,
104 * there really should be more of a description here...
105 * </p>
106 * <!-- end-user-doc -->
107 * @return the value of the '<em>Expression</em>' containment reference.
108 * @see #setExpression(ALSTerm)
109 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Expression()
110 * @model containment="true"
111 * @generated
112 */
113 ALSTerm getExpression();
114
115 /**
116 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}' containment reference.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @param value the new value of the '<em>Expression</em>' containment reference.
120 * @see #getExpression()
121 * @generated
122 */
123 void setExpression(ALSTerm value);
124
125} // ALSQuantifiedEx
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java
deleted file mode 100644
index e81491df..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Range Restriction Left</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.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft()
20 * @model
21 * @generated
22 */
23public interface ALSRangeRestrictionLeft extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Filter</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Filter</em>' containment reference 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>Filter</em>' containment reference.
34 * @see #setFilter(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft_Filter()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getFilter();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Filter</em>' containment reference.
46 * @see #getFilter()
47 * @generated
48 */
49 void setFilter(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Relation</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Relation</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Relation</em>' containment reference.
60 * @see #setRelation(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft_Relation()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRelation();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Relation</em>' containment reference.
72 * @see #getRelation()
73 * @generated
74 */
75 void setRelation(ALSTerm value);
76
77} // ALSRangeRestrictionLeft
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java
deleted file mode 100644
index 6f9d55b3..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Range Restriction Right</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.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight()
20 * @model
21 * @generated
22 */
23public interface ALSRangeRestrictionRight extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Relation</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Relation</em>' containment reference 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>Relation</em>' containment reference.
34 * @see #setRelation(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight_Relation()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getRelation();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Relation</em>' containment reference.
46 * @see #getRelation()
47 * @generated
48 */
49 void setRelation(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Filter</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Filter</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Filter</em>' containment reference.
60 * @see #setFilter(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight_Filter()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getFilter();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Filter</em>' containment reference.
72 * @see #getFilter()
73 * @generated
74 */
75 void setFilter(ALSTerm value);
76
77} // ALSRangeRestrictionRight
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java
deleted file mode 100644
index 828edf63..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Reference</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.alloyLanguage.ALSReference#getReferred <em>Referred</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReference()
19 * @model
20 * @generated
21 */
22public interface ALSReference extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Referred</b></em>' reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Referred</em>' 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>Referred</em>' reference.
33 * @see #setReferred(ALSRelationDeclaration)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReference_Referred()
35 * @model
36 * @generated
37 */
38 ALSRelationDeclaration getReferred();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}' reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Referred</em>' reference.
45 * @see #getReferred()
46 * @generated
47 */
48 void setReferred(ALSRelationDeclaration value);
49
50} // ALSReference
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java
deleted file mode 100644
index 0809a0e3..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Reflective Transitive Closure</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.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReflectiveTransitiveClosure()
19 * @model
20 * @generated
21 */
22public interface ALSReflectiveTransitiveClosure extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReflectiveTransitiveClosure_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // ALSReflectiveTransitiveClosure
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java
deleted file mode 100644
index 08d0bcf1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java
+++ /dev/null
@@ -1,51 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Relation 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.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDeclaration()
20 * @model
21 * @generated
22 */
23public interface ALSRelationDeclaration extends EObject
24{
25 /**
26 * Returns the value of the '<em><b>Name</b></em>' attribute.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Name</em>' attribute isn't clear,
30 * there really should be more of a description here...
31 * </p>
32 * <!-- end-user-doc -->
33 * @return the value of the '<em>Name</em>' attribute.
34 * @see #setName(String)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDeclaration_Name()
36 * @model
37 * @generated
38 */
39 String getName();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Name</em>' attribute.
46 * @see #getName()
47 * @generated
48 */
49 void setName(String value);
50
51} // ALSRelationDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java
deleted file mode 100644
index 46ab5096..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Relation Definition</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDefinition()
13 * @model
14 * @generated
15 */
16public interface ALSRelationDefinition extends ALSDefinition
17{
18} // ALSRelationDefinition
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java
deleted file mode 100644
index e06c8b94..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS Run Command</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.alloyLanguage.ALSRunCommand#getTypeScopes <em>Type Scopes</em>}</li>
19 * </ul>
20 *
21 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRunCommand()
22 * @model
23 * @generated
24 */
25public interface ALSRunCommand extends EObject
26{
27 /**
28 * Returns the value of the '<em><b>Type Scopes</b></em>' containment reference list.
29 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope}.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Type Scopes</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>Type Scopes</em>' containment reference list.
37 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRunCommand_TypeScopes()
38 * @model containment="true"
39 * @generated
40 */
41 EList<ALSTypeScope> getTypeScopes();
42
43} // ALSRunCommand
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java
deleted file mode 100644
index 851ebfb9..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Sig Scope</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.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope()
20 * @model
21 * @generated
22 */
23public interface ALSSigScope extends ALSTypeScope
24{
25 /**
26 * Returns the value of the '<em><b>Exactly</b></em>' attribute.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Exactly</em>' attribute isn't clear,
30 * there really should be more of a description here...
31 * </p>
32 * <!-- end-user-doc -->
33 * @return the value of the '<em>Exactly</em>' attribute.
34 * @see #setExactly(boolean)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope_Exactly()
36 * @model
37 * @generated
38 */
39 boolean isExactly();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Exactly</em>' attribute.
46 * @see #isExactly()
47 * @generated
48 */
49 void setExactly(boolean value);
50
51 /**
52 * Returns the value of the '<em><b>Type</b></em>' reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Type</em>' reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Type</em>' reference.
60 * @see #setType(ALSSignatureDeclaration)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope_Type()
62 * @model
63 * @generated
64 */
65 ALSSignatureDeclaration getType();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}' reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Type</em>' reference.
72 * @see #getType()
73 * @generated
74 */
75 void setType(ALSSignatureDeclaration value);
76
77} // ALSSigScope
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java
deleted file mode 100644
index 8746f88a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java
+++ /dev/null
@@ -1,161 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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>ALS Signature Body</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.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}</li>
19 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}</li>
20 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations <em>Declarations</em>}</li>
21 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}</li>
22 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset <em>Superset</em>}</li>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields <em>Fields</em>}</li>
24 * </ul>
25 *
26 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody()
27 * @model
28 * @generated
29 */
30public interface ALSSignatureBody extends EObject
31{
32 /**
33 * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
34 * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}.
35 * <!-- begin-user-doc -->
36 * <p>
37 * If the meaning of the '<em>Multiplicity</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>Multiplicity</em>' attribute.
42 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
43 * @see #setMultiplicity(ALSMultiplicity)
44 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Multiplicity()
45 * @model
46 * @generated
47 */
48 ALSMultiplicity getMultiplicity();
49
50 /**
51 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}' attribute.
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @param value the new value of the '<em>Multiplicity</em>' attribute.
55 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
56 * @see #getMultiplicity()
57 * @generated
58 */
59 void setMultiplicity(ALSMultiplicity value);
60
61 /**
62 * Returns the value of the '<em><b>Abstract</b></em>' attribute.
63 * <!-- begin-user-doc -->
64 * <p>
65 * If the meaning of the '<em>Abstract</em>' attribute 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>Abstract</em>' attribute.
70 * @see #setAbstract(boolean)
71 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Abstract()
72 * @model
73 * @generated
74 */
75 boolean isAbstract();
76
77 /**
78 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}' attribute.
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @param value the new value of the '<em>Abstract</em>' attribute.
82 * @see #isAbstract()
83 * @generated
84 */
85 void setAbstract(boolean value);
86
87 /**
88 * Returns the value of the '<em><b>Declarations</b></em>' containment reference list.
89 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration}.
90 * <!-- begin-user-doc -->
91 * <p>
92 * If the meaning of the '<em>Declarations</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>Declarations</em>' containment reference list.
97 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Declarations()
98 * @model containment="true"
99 * @generated
100 */
101 EList<ALSSignatureDeclaration> getDeclarations();
102
103 /**
104 * Returns the value of the '<em><b>Supertype</b></em>' reference.
105 * <!-- begin-user-doc -->
106 * <p>
107 * If the meaning of the '<em>Supertype</em>' 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>Supertype</em>' reference.
112 * @see #setSupertype(ALSSignatureDeclaration)
113 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Supertype()
114 * @model
115 * @generated
116 */
117 ALSSignatureDeclaration getSupertype();
118
119 /**
120 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}' reference.
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @param value the new value of the '<em>Supertype</em>' reference.
124 * @see #getSupertype()
125 * @generated
126 */
127 void setSupertype(ALSSignatureDeclaration value);
128
129 /**
130 * Returns the value of the '<em><b>Superset</b></em>' reference list.
131 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration}.
132 * <!-- begin-user-doc -->
133 * <p>
134 * If the meaning of the '<em>Superset</em>' 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>Superset</em>' reference list.
139 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Superset()
140 * @model
141 * @generated
142 */
143 EList<ALSSignatureDeclaration> getSuperset();
144
145 /**
146 * Returns the value of the '<em><b>Fields</b></em>' containment reference list.
147 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration}.
148 * <!-- begin-user-doc -->
149 * <p>
150 * If the meaning of the '<em>Fields</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>Fields</em>' containment reference list.
155 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Fields()
156 * @model containment="true"
157 * @generated
158 */
159 EList<ALSFieldDeclaration> getFields();
160
161} // ALSSignatureBody
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java
deleted file mode 100644
index 967c3fb8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Signature Declaration</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureDeclaration()
13 * @model
14 * @generated
15 */
16public interface ALSSignatureDeclaration extends ALSTypeDeclaration
17{
18} // ALSSignatureDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java
deleted file mode 100644
index ccab0ded..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS String</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSString()
13 * @model
14 * @generated
15 */
16public interface ALSString extends ALSTerm
17{
18} // ALSString
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java
deleted file mode 100644
index 80cda5be..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS String Literal</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.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringLiteral()
19 * @model
20 * @generated
21 */
22public interface ALSStringLiteral extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Value</b></em>' attribute.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Value</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>Value</em>' attribute.
33 * @see #setValue(String)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringLiteral_Value()
35 * @model
36 * @generated
37 */
38 String getValue();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Value</em>' attribute.
45 * @see #getValue()
46 * @generated
47 */
48 void setValue(String value);
49
50} // ALSStringLiteral
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java
deleted file mode 100644
index acf95ddc..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS String Scope</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringScope()
13 * @model
14 * @generated
15 */
16public interface ALSStringScope extends ALSTypeScope
17{
18} // ALSStringScope
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java
deleted file mode 100644
index 739c0d8c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java
+++ /dev/null
@@ -1,77 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Subset</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.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}</li>
16 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset()
20 * @model
21 * @generated
22 */
23public interface ALSSubset extends ALSTerm
24{
25 /**
26 * Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Left Operand</em>' containment reference 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>Left Operand</em>' containment reference.
34 * @see #setLeftOperand(ALSTerm)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset_LeftOperand()
36 * @model containment="true"
37 * @generated
38 */
39 ALSTerm getLeftOperand();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}' containment reference.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Left Operand</em>' containment reference.
46 * @see #getLeftOperand()
47 * @generated
48 */
49 void setLeftOperand(ALSTerm value);
50
51 /**
52 * Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @return the value of the '<em>Right Operand</em>' containment reference.
60 * @see #setRightOperand(ALSTerm)
61 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset_RightOperand()
62 * @model containment="true"
63 * @generated
64 */
65 ALSTerm getRightOperand();
66
67 /**
68 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}' containment reference.
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @param value the new value of the '<em>Right Operand</em>' containment reference.
72 * @see #getRightOperand()
73 * @generated
74 */
75 void setRightOperand(ALSTerm value);
76
77} // ALSSubset
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java
deleted file mode 100644
index ab8ae493..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java
+++ /dev/null
@@ -1,68 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.common.util.EList;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Sum</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.alloyLanguage.ALSSum#getVariables <em>Variables</em>}</li>
17 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}</li>
18 * </ul>
19 *
20 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum()
21 * @model
22 * @generated
23 */
24public interface ALSSum extends ALSTerm
25{
26 /**
27 * Returns the value of the '<em><b>Variables</b></em>' containment reference list.
28 * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}.
29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Variables</em>' containment reference list isn't clear,
32 * there really should be more of a description here...
33 * </p>
34 * <!-- end-user-doc -->
35 * @return the value of the '<em>Variables</em>' containment reference list.
36 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum_Variables()
37 * @model containment="true"
38 * @generated
39 */
40 EList<ALSVariableDeclaration> getVariables();
41
42 /**
43 * Returns the value of the '<em><b>Expression</b></em>' containment reference.
44 * <!-- begin-user-doc -->
45 * <p>
46 * If the meaning of the '<em>Expression</em>' containment reference isn't clear,
47 * there really should be more of a description here...
48 * </p>
49 * <!-- end-user-doc -->
50 * @return the value of the '<em>Expression</em>' containment reference.
51 * @see #setExpression(ALSTerm)
52 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum_Expression()
53 * @model containment="true"
54 * @generated
55 */
56 ALSTerm getExpression();
57
58 /**
59 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}' containment reference.
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @param value the new value of the '<em>Expression</em>' containment reference.
63 * @see #getExpression()
64 * @generated
65 */
66 void setExpression(ALSTerm value);
67
68} // ALSSum
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java
deleted file mode 100644
index 4d1dc644..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java
+++ /dev/null
@@ -1,19 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Term</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTerm()
14 * @model
15 * @generated
16 */
17public interface ALSTerm extends EObject
18{
19} // ALSTerm
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java
deleted file mode 100644
index d5c15717..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Type Declaration</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeDeclaration()
13 * @model
14 * @generated
15 */
16public interface ALSTypeDeclaration extends ALSRelationDeclaration
17{
18} // ALSTypeDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java
deleted file mode 100644
index a73a6d39..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java
+++ /dev/null
@@ -1,51 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5import org.eclipse.emf.ecore.EObject;
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>ALS Type Scope</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.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}</li>
17 * </ul>
18 *
19 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeScope()
20 * @model
21 * @generated
22 */
23public interface ALSTypeScope extends EObject
24{
25 /**
26 * Returns the value of the '<em><b>Number</b></em>' attribute.
27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Number</em>' attribute isn't clear,
30 * there really should be more of a description here...
31 * </p>
32 * <!-- end-user-doc -->
33 * @return the value of the '<em>Number</em>' attribute.
34 * @see #setNumber(int)
35 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeScope_Number()
36 * @model
37 * @generated
38 */
39 int getNumber();
40
41 /**
42 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Number</em>' attribute.
46 * @see #getNumber()
47 * @generated
48 */
49 void setNumber(int value);
50
51} // ALSTypeScope
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java
deleted file mode 100644
index 0d485870..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Unary Minus</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.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUnaryMinus()
19 * @model
20 * @generated
21 */
22public interface ALSUnaryMinus extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUnaryMinus_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // ALSUnaryMinus
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java
deleted file mode 100644
index 1e39f628..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Univ</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 *
12 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUniv()
13 * @model
14 * @generated
15 */
16public interface ALSUniv extends ALSTerm
17{
18} // ALSUniv
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java
deleted file mode 100644
index 1c74e0a7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>ALS Variable Declaration</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.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSVariableDeclaration()
19 * @model
20 * @generated
21 */
22public interface ALSVariableDeclaration extends ALSRelationDeclaration
23{
24 /**
25 * Returns the value of the '<em><b>Range</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Range</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>Range</em>' containment reference.
33 * @see #setRange(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSVariableDeclaration_Range()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getRange();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Range</em>' containment reference.
45 * @see #getRange()
46 * @generated
47 */
48 void setRange(ALSTerm value);
49
50} // ALSVariableDeclaration
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java
deleted file mode 100644
index 91b089f7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java
+++ /dev/null
@@ -1,50 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>Al STransitive Closure</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.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}</li>
16 * </ul>
17 *
18 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getAlSTransitiveClosure()
19 * @model
20 * @generated
21 */
22public interface AlSTransitiveClosure extends ALSTerm
23{
24 /**
25 * Returns the value of the '<em><b>Operand</b></em>' containment reference.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Operand</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>Operand</em>' containment reference.
33 * @see #setOperand(ALSTerm)
34 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getAlSTransitiveClosure_Operand()
35 * @model containment="true"
36 * @generated
37 */
38 ALSTerm getOperand();
39
40 /**
41 * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}' containment reference.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @param value the new value of the '<em>Operand</em>' containment reference.
45 * @see #getOperand()
46 * @generated
47 */
48 void setOperand(ALSTerm value);
49
50} // AlSTransitiveClosure
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java
deleted file mode 100644
index e2d89ff1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java
+++ /dev/null
@@ -1,529 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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.alloyLanguage.AlloyLanguagePackage
13 * @generated
14 */
15public interface AlloyLanguageFactory extends EFactory
16{
17 /**
18 * The singleton instance of the factory.
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 AlloyLanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguageFactoryImpl.init();
24
25 /**
26 * Returns a new object of class '<em>ALS Document</em>'.
27 * <!-- begin-user-doc -->
28 * <!-- end-user-doc -->
29 * @return a new object of class '<em>ALS Document</em>'.
30 * @generated
31 */
32 ALSDocument createALSDocument();
33
34 /**
35 * Returns a new object of class '<em>ALS Relation Declaration</em>'.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @return a new object of class '<em>ALS Relation Declaration</em>'.
39 * @generated
40 */
41 ALSRelationDeclaration createALSRelationDeclaration();
42
43 /**
44 * Returns a new object of class '<em>ALS Type Declaration</em>'.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @return a new object of class '<em>ALS Type Declaration</em>'.
48 * @generated
49 */
50 ALSTypeDeclaration createALSTypeDeclaration();
51
52 /**
53 * Returns a new object of class '<em>ALS Enum Declaration</em>'.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @return a new object of class '<em>ALS Enum Declaration</em>'.
57 * @generated
58 */
59 ALSEnumDeclaration createALSEnumDeclaration();
60
61 /**
62 * Returns a new object of class '<em>ALS Enum Literal</em>'.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @return a new object of class '<em>ALS Enum Literal</em>'.
66 * @generated
67 */
68 ALSEnumLiteral createALSEnumLiteral();
69
70 /**
71 * Returns a new object of class '<em>ALS Signature Declaration</em>'.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @return a new object of class '<em>ALS Signature Declaration</em>'.
75 * @generated
76 */
77 ALSSignatureDeclaration createALSSignatureDeclaration();
78
79 /**
80 * Returns a new object of class '<em>ALS Signature Body</em>'.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @return a new object of class '<em>ALS Signature Body</em>'.
84 * @generated
85 */
86 ALSSignatureBody createALSSignatureBody();
87
88 /**
89 * Returns a new object of class '<em>ALS Field Declaration</em>'.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @return a new object of class '<em>ALS Field Declaration</em>'.
93 * @generated
94 */
95 ALSFieldDeclaration createALSFieldDeclaration();
96
97 /**
98 * Returns a new object of class '<em>ALS Definition</em>'.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @return a new object of class '<em>ALS Definition</em>'.
102 * @generated
103 */
104 ALSDefinition createALSDefinition();
105
106 /**
107 * Returns a new object of class '<em>ALS Function Definition</em>'.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @return a new object of class '<em>ALS Function Definition</em>'.
111 * @generated
112 */
113 ALSFunctionDefinition createALSFunctionDefinition();
114
115 /**
116 * Returns a new object of class '<em>ALS Relation Definition</em>'.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @return a new object of class '<em>ALS Relation Definition</em>'.
120 * @generated
121 */
122 ALSRelationDefinition createALSRelationDefinition();
123
124 /**
125 * Returns a new object of class '<em>ALS Fact Declaration</em>'.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @return a new object of class '<em>ALS Fact Declaration</em>'.
129 * @generated
130 */
131 ALSFactDeclaration createALSFactDeclaration();
132
133 /**
134 * Returns a new object of class '<em>ALS Term</em>'.
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @return a new object of class '<em>ALS Term</em>'.
138 * @generated
139 */
140 ALSTerm createALSTerm();
141
142 /**
143 * Returns a new object of class '<em>ALS Variable Declaration</em>'.
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @return a new object of class '<em>ALS Variable Declaration</em>'.
147 * @generated
148 */
149 ALSVariableDeclaration createALSVariableDeclaration();
150
151 /**
152 * Returns a new object of class '<em>ALS Run Command</em>'.
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @return a new object of class '<em>ALS Run Command</em>'.
156 * @generated
157 */
158 ALSRunCommand createALSRunCommand();
159
160 /**
161 * Returns a new object of class '<em>ALS Type Scope</em>'.
162 * <!-- begin-user-doc -->
163 * <!-- end-user-doc -->
164 * @return a new object of class '<em>ALS Type Scope</em>'.
165 * @generated
166 */
167 ALSTypeScope createALSTypeScope();
168
169 /**
170 * Returns a new object of class '<em>ALS Sig Scope</em>'.
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @return a new object of class '<em>ALS Sig Scope</em>'.
174 * @generated
175 */
176 ALSSigScope createALSSigScope();
177
178 /**
179 * Returns a new object of class '<em>ALS Int Scope</em>'.
180 * <!-- begin-user-doc -->
181 * <!-- end-user-doc -->
182 * @return a new object of class '<em>ALS Int Scope</em>'.
183 * @generated
184 */
185 ALSIntScope createALSIntScope();
186
187 /**
188 * Returns a new object of class '<em>ALS String Scope</em>'.
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @return a new object of class '<em>ALS String Scope</em>'.
192 * @generated
193 */
194 ALSStringScope createALSStringScope();
195
196 /**
197 * Returns a new object of class '<em>ALS Quantified Ex</em>'.
198 * <!-- begin-user-doc -->
199 * <!-- end-user-doc -->
200 * @return a new object of class '<em>ALS Quantified Ex</em>'.
201 * @generated
202 */
203 ALSQuantifiedEx createALSQuantifiedEx();
204
205 /**
206 * Returns a new object of class '<em>ALS Or</em>'.
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @return a new object of class '<em>ALS Or</em>'.
210 * @generated
211 */
212 ALSOr createALSOr();
213
214 /**
215 * Returns a new object of class '<em>ALS Iff</em>'.
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @return a new object of class '<em>ALS Iff</em>'.
219 * @generated
220 */
221 ALSIff createALSIff();
222
223 /**
224 * Returns a new object of class '<em>ALS Impl</em>'.
225 * <!-- begin-user-doc -->
226 * <!-- end-user-doc -->
227 * @return a new object of class '<em>ALS Impl</em>'.
228 * @generated
229 */
230 ALSImpl createALSImpl();
231
232 /**
233 * Returns a new object of class '<em>ALS And</em>'.
234 * <!-- begin-user-doc -->
235 * <!-- end-user-doc -->
236 * @return a new object of class '<em>ALS And</em>'.
237 * @generated
238 */
239 ALSAnd createALSAnd();
240
241 /**
242 * Returns a new object of class '<em>ALS Equals</em>'.
243 * <!-- begin-user-doc -->
244 * <!-- end-user-doc -->
245 * @return a new object of class '<em>ALS Equals</em>'.
246 * @generated
247 */
248 ALSEquals createALSEquals();
249
250 /**
251 * Returns a new object of class '<em>ALS Not Equals</em>'.
252 * <!-- begin-user-doc -->
253 * <!-- end-user-doc -->
254 * @return a new object of class '<em>ALS Not Equals</em>'.
255 * @generated
256 */
257 ALSNotEquals createALSNotEquals();
258
259 /**
260 * Returns a new object of class '<em>ALS Subset</em>'.
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @return a new object of class '<em>ALS Subset</em>'.
264 * @generated
265 */
266 ALSSubset createALSSubset();
267
268 /**
269 * Returns a new object of class '<em>ALS Less</em>'.
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @return a new object of class '<em>ALS Less</em>'.
273 * @generated
274 */
275 ALSLess createALSLess();
276
277 /**
278 * Returns a new object of class '<em>ALS Leq</em>'.
279 * <!-- begin-user-doc -->
280 * <!-- end-user-doc -->
281 * @return a new object of class '<em>ALS Leq</em>'.
282 * @generated
283 */
284 ALSLeq createALSLeq();
285
286 /**
287 * Returns a new object of class '<em>ALS More</em>'.
288 * <!-- begin-user-doc -->
289 * <!-- end-user-doc -->
290 * @return a new object of class '<em>ALS More</em>'.
291 * @generated
292 */
293 ALSMore createALSMore();
294
295 /**
296 * Returns a new object of class '<em>ALS Meq</em>'.
297 * <!-- begin-user-doc -->
298 * <!-- end-user-doc -->
299 * @return a new object of class '<em>ALS Meq</em>'.
300 * @generated
301 */
302 ALSMeq createALSMeq();
303
304 /**
305 * Returns a new object of class '<em>ALS Override</em>'.
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @return a new object of class '<em>ALS Override</em>'.
309 * @generated
310 */
311 ALSOverride createALSOverride();
312
313 /**
314 * Returns a new object of class '<em>ALS Range Restriction Right</em>'.
315 * <!-- begin-user-doc -->
316 * <!-- end-user-doc -->
317 * @return a new object of class '<em>ALS Range Restriction Right</em>'.
318 * @generated
319 */
320 ALSRangeRestrictionRight createALSRangeRestrictionRight();
321
322 /**
323 * Returns a new object of class '<em>ALS Range Restriction Left</em>'.
324 * <!-- begin-user-doc -->
325 * <!-- end-user-doc -->
326 * @return a new object of class '<em>ALS Range Restriction Left</em>'.
327 * @generated
328 */
329 ALSRangeRestrictionLeft createALSRangeRestrictionLeft();
330
331 /**
332 * Returns a new object of class '<em>ALS Join</em>'.
333 * <!-- begin-user-doc -->
334 * <!-- end-user-doc -->
335 * @return a new object of class '<em>ALS Join</em>'.
336 * @generated
337 */
338 ALSJoin createALSJoin();
339
340 /**
341 * Returns a new object of class '<em>ALS Minus</em>'.
342 * <!-- begin-user-doc -->
343 * <!-- end-user-doc -->
344 * @return a new object of class '<em>ALS Minus</em>'.
345 * @generated
346 */
347 ALSMinus createALSMinus();
348
349 /**
350 * Returns a new object of class '<em>ALS Plus</em>'.
351 * <!-- begin-user-doc -->
352 * <!-- end-user-doc -->
353 * @return a new object of class '<em>ALS Plus</em>'.
354 * @generated
355 */
356 ALSPlus createALSPlus();
357
358 /**
359 * Returns a new object of class '<em>ALS Intersection</em>'.
360 * <!-- begin-user-doc -->
361 * <!-- end-user-doc -->
362 * @return a new object of class '<em>ALS Intersection</em>'.
363 * @generated
364 */
365 ALSIntersection createALSIntersection();
366
367 /**
368 * Returns a new object of class '<em>ALS Direct Product</em>'.
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @return a new object of class '<em>ALS Direct Product</em>'.
372 * @generated
373 */
374 ALSDirectProduct createALSDirectProduct();
375
376 /**
377 * Returns a new object of class '<em>ALS Not</em>'.
378 * <!-- begin-user-doc -->
379 * <!-- end-user-doc -->
380 * @return a new object of class '<em>ALS Not</em>'.
381 * @generated
382 */
383 ALSNot createALSNot();
384
385 /**
386 * Returns a new object of class '<em>ALS Inverse Relation</em>'.
387 * <!-- begin-user-doc -->
388 * <!-- end-user-doc -->
389 * @return a new object of class '<em>ALS Inverse Relation</em>'.
390 * @generated
391 */
392 ALSInverseRelation createALSInverseRelation();
393
394 /**
395 * Returns a new object of class '<em>Al STransitive Closure</em>'.
396 * <!-- begin-user-doc -->
397 * <!-- end-user-doc -->
398 * @return a new object of class '<em>Al STransitive Closure</em>'.
399 * @generated
400 */
401 AlSTransitiveClosure createAlSTransitiveClosure();
402
403 /**
404 * Returns a new object of class '<em>ALS Reflective Transitive Closure</em>'.
405 * <!-- begin-user-doc -->
406 * <!-- end-user-doc -->
407 * @return a new object of class '<em>ALS Reflective Transitive Closure</em>'.
408 * @generated
409 */
410 ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure();
411
412 /**
413 * Returns a new object of class '<em>ALS Cardinality</em>'.
414 * <!-- begin-user-doc -->
415 * <!-- end-user-doc -->
416 * @return a new object of class '<em>ALS Cardinality</em>'.
417 * @generated
418 */
419 ALSCardinality createALSCardinality();
420
421 /**
422 * Returns a new object of class '<em>ALS Unary Minus</em>'.
423 * <!-- begin-user-doc -->
424 * <!-- end-user-doc -->
425 * @return a new object of class '<em>ALS Unary Minus</em>'.
426 * @generated
427 */
428 ALSUnaryMinus createALSUnaryMinus();
429
430 /**
431 * Returns a new object of class '<em>ALS Sum</em>'.
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @return a new object of class '<em>ALS Sum</em>'.
435 * @generated
436 */
437 ALSSum createALSSum();
438
439 /**
440 * Returns a new object of class '<em>ALS Function Call</em>'.
441 * <!-- begin-user-doc -->
442 * <!-- end-user-doc -->
443 * @return a new object of class '<em>ALS Function Call</em>'.
444 * @generated
445 */
446 ALSFunctionCall createALSFunctionCall();
447
448 /**
449 * Returns a new object of class '<em>ALS None</em>'.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @return a new object of class '<em>ALS None</em>'.
453 * @generated
454 */
455 ALSNone createALSNone();
456
457 /**
458 * Returns a new object of class '<em>ALS Iden</em>'.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @return a new object of class '<em>ALS Iden</em>'.
462 * @generated
463 */
464 ALSIden createALSIden();
465
466 /**
467 * Returns a new object of class '<em>ALS Univ</em>'.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @return a new object of class '<em>ALS Univ</em>'.
471 * @generated
472 */
473 ALSUniv createALSUniv();
474
475 /**
476 * Returns a new object of class '<em>ALS Int</em>'.
477 * <!-- begin-user-doc -->
478 * <!-- end-user-doc -->
479 * @return a new object of class '<em>ALS Int</em>'.
480 * @generated
481 */
482 ALSInt createALSInt();
483
484 /**
485 * Returns a new object of class '<em>ALS String</em>'.
486 * <!-- begin-user-doc -->
487 * <!-- end-user-doc -->
488 * @return a new object of class '<em>ALS String</em>'.
489 * @generated
490 */
491 ALSString createALSString();
492
493 /**
494 * Returns a new object of class '<em>ALS Reference</em>'.
495 * <!-- begin-user-doc -->
496 * <!-- end-user-doc -->
497 * @return a new object of class '<em>ALS Reference</em>'.
498 * @generated
499 */
500 ALSReference createALSReference();
501
502 /**
503 * Returns a new object of class '<em>ALS Number Literal</em>'.
504 * <!-- begin-user-doc -->
505 * <!-- end-user-doc -->
506 * @return a new object of class '<em>ALS Number Literal</em>'.
507 * @generated
508 */
509 ALSNumberLiteral createALSNumberLiteral();
510
511 /**
512 * Returns a new object of class '<em>ALS String Literal</em>'.
513 * <!-- begin-user-doc -->
514 * <!-- end-user-doc -->
515 * @return a new object of class '<em>ALS String Literal</em>'.
516 * @generated
517 */
518 ALSStringLiteral createALSStringLiteral();
519
520 /**
521 * Returns the package supported by this factory.
522 * <!-- begin-user-doc -->
523 * <!-- end-user-doc -->
524 * @return the package supported by this factory.
525 * @generated
526 */
527 AlloyLanguagePackage getAlloyLanguagePackage();
528
529} //AlloyLanguageFactory
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java
deleted file mode 100644
index 46bfcc21..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java
+++ /dev/null
@@ -1,4834 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage;
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 enum,</li>
19 * <li>and each data type</li>
20 * </ul>
21 * <!-- end-user-doc -->
22 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory
23 * @model kind="package"
24 * @generated
25 */
26public interface AlloyLanguagePackage extends EPackage
27{
28 /**
29 * The package name.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 String eNAME = "alloyLanguage";
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/AlloyLanguage";
43
44 /**
45 * The package namespace name.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @generated
49 */
50 String eNS_PREFIX = "alloyLanguage";
51
52 /**
53 * The singleton instance of the package.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 AlloyLanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl.init();
59
60 /**
61 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl <em>ALS Document</em>}' class.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl
65 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDocument()
66 * @generated
67 */
68 int ALS_DOCUMENT = 0;
69
70 /**
71 * The feature id for the '<em><b>Enum Declarations</b></em>' containment reference list.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 * @ordered
76 */
77 int ALS_DOCUMENT__ENUM_DECLARATIONS = 0;
78
79 /**
80 * The feature id for the '<em><b>Signature Bodies</b></em>' containment reference list.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @generated
84 * @ordered
85 */
86 int ALS_DOCUMENT__SIGNATURE_BODIES = 1;
87
88 /**
89 * The feature id for the '<em><b>Function Definitions</b></em>' containment reference list.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 * @ordered
94 */
95 int ALS_DOCUMENT__FUNCTION_DEFINITIONS = 2;
96
97 /**
98 * The feature id for the '<em><b>Relation Definitions</b></em>' containment reference list.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @generated
102 * @ordered
103 */
104 int ALS_DOCUMENT__RELATION_DEFINITIONS = 3;
105
106 /**
107 * The feature id for the '<em><b>Fact Declarations</b></em>' containment reference list.
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 * @ordered
112 */
113 int ALS_DOCUMENT__FACT_DECLARATIONS = 4;
114
115 /**
116 * The feature id for the '<em><b>Run Command</b></em>' containment reference.
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 * @ordered
121 */
122 int ALS_DOCUMENT__RUN_COMMAND = 5;
123
124 /**
125 * The number of structural features of the '<em>ALS Document</em>' class.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 * @ordered
130 */
131 int ALS_DOCUMENT_FEATURE_COUNT = 6;
132
133 /**
134 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl <em>ALS Relation Declaration</em>}' class.
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl
138 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDeclaration()
139 * @generated
140 */
141 int ALS_RELATION_DECLARATION = 1;
142
143 /**
144 * The feature id for the '<em><b>Name</b></em>' attribute.
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 * @ordered
149 */
150 int ALS_RELATION_DECLARATION__NAME = 0;
151
152 /**
153 * The number of structural features of the '<em>ALS Relation Declaration</em>' class.
154 * <!-- begin-user-doc -->
155 * <!-- end-user-doc -->
156 * @generated
157 * @ordered
158 */
159 int ALS_RELATION_DECLARATION_FEATURE_COUNT = 1;
160
161 /**
162 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl <em>ALS Type Declaration</em>}' class.
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl
166 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeDeclaration()
167 * @generated
168 */
169 int ALS_TYPE_DECLARATION = 2;
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 ALS_TYPE_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME;
179
180 /**
181 * The number of structural features of the '<em>ALS Type Declaration</em>' class.
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 * @ordered
186 */
187 int ALS_TYPE_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0;
188
189 /**
190 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl <em>ALS Enum Declaration</em>}' class.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl
194 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumDeclaration()
195 * @generated
196 */
197 int ALS_ENUM_DECLARATION = 3;
198
199 /**
200 * The feature id for the '<em><b>Name</b></em>' attribute.
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 * @ordered
205 */
206 int ALS_ENUM_DECLARATION__NAME = ALS_TYPE_DECLARATION__NAME;
207
208 /**
209 * The feature id for the '<em><b>Literal</b></em>' containment reference list.
210 * <!-- begin-user-doc -->
211 * <!-- end-user-doc -->
212 * @generated
213 * @ordered
214 */
215 int ALS_ENUM_DECLARATION__LITERAL = ALS_TYPE_DECLARATION_FEATURE_COUNT + 0;
216
217 /**
218 * The number of structural features of the '<em>ALS Enum Declaration</em>' class.
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 * @ordered
223 */
224 int ALS_ENUM_DECLARATION_FEATURE_COUNT = ALS_TYPE_DECLARATION_FEATURE_COUNT + 1;
225
226 /**
227 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl <em>ALS Enum Literal</em>}' class.
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl
231 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumLiteral()
232 * @generated
233 */
234 int ALS_ENUM_LITERAL = 4;
235
236 /**
237 * The feature id for the '<em><b>Name</b></em>' attribute.
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @generated
241 * @ordered
242 */
243 int ALS_ENUM_LITERAL__NAME = ALS_RELATION_DECLARATION__NAME;
244
245 /**
246 * The number of structural features of the '<em>ALS Enum Literal</em>' class.
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 * @ordered
251 */
252 int ALS_ENUM_LITERAL_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0;
253
254 /**
255 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl <em>ALS Signature Declaration</em>}' class.
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl
259 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureDeclaration()
260 * @generated
261 */
262 int ALS_SIGNATURE_DECLARATION = 5;
263
264 /**
265 * The feature id for the '<em><b>Name</b></em>' attribute.
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 * @ordered
270 */
271 int ALS_SIGNATURE_DECLARATION__NAME = ALS_TYPE_DECLARATION__NAME;
272
273 /**
274 * The number of structural features of the '<em>ALS Signature Declaration</em>' class.
275 * <!-- begin-user-doc -->
276 * <!-- end-user-doc -->
277 * @generated
278 * @ordered
279 */
280 int ALS_SIGNATURE_DECLARATION_FEATURE_COUNT = ALS_TYPE_DECLARATION_FEATURE_COUNT + 0;
281
282 /**
283 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl <em>ALS Signature Body</em>}' class.
284 * <!-- begin-user-doc -->
285 * <!-- end-user-doc -->
286 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl
287 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureBody()
288 * @generated
289 */
290 int ALS_SIGNATURE_BODY = 6;
291
292 /**
293 * The feature id for the '<em><b>Multiplicity</b></em>' attribute.
294 * <!-- begin-user-doc -->
295 * <!-- end-user-doc -->
296 * @generated
297 * @ordered
298 */
299 int ALS_SIGNATURE_BODY__MULTIPLICITY = 0;
300
301 /**
302 * The feature id for the '<em><b>Abstract</b></em>' attribute.
303 * <!-- begin-user-doc -->
304 * <!-- end-user-doc -->
305 * @generated
306 * @ordered
307 */
308 int ALS_SIGNATURE_BODY__ABSTRACT = 1;
309
310 /**
311 * The feature id for the '<em><b>Declarations</b></em>' containment reference list.
312 * <!-- begin-user-doc -->
313 * <!-- end-user-doc -->
314 * @generated
315 * @ordered
316 */
317 int ALS_SIGNATURE_BODY__DECLARATIONS = 2;
318
319 /**
320 * The feature id for the '<em><b>Supertype</b></em>' reference.
321 * <!-- begin-user-doc -->
322 * <!-- end-user-doc -->
323 * @generated
324 * @ordered
325 */
326 int ALS_SIGNATURE_BODY__SUPERTYPE = 3;
327
328 /**
329 * The feature id for the '<em><b>Superset</b></em>' reference list.
330 * <!-- begin-user-doc -->
331 * <!-- end-user-doc -->
332 * @generated
333 * @ordered
334 */
335 int ALS_SIGNATURE_BODY__SUPERSET = 4;
336
337 /**
338 * The feature id for the '<em><b>Fields</b></em>' containment reference list.
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 * @ordered
343 */
344 int ALS_SIGNATURE_BODY__FIELDS = 5;
345
346 /**
347 * The number of structural features of the '<em>ALS Signature Body</em>' class.
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 * @ordered
352 */
353 int ALS_SIGNATURE_BODY_FEATURE_COUNT = 6;
354
355 /**
356 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl <em>ALS Field Declaration</em>}' class.
357 * <!-- begin-user-doc -->
358 * <!-- end-user-doc -->
359 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl
360 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFieldDeclaration()
361 * @generated
362 */
363 int ALS_FIELD_DECLARATION = 7;
364
365 /**
366 * The feature id for the '<em><b>Name</b></em>' attribute.
367 * <!-- begin-user-doc -->
368 * <!-- end-user-doc -->
369 * @generated
370 * @ordered
371 */
372 int ALS_FIELD_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME;
373
374 /**
375 * The feature id for the '<em><b>Multiplicity</b></em>' attribute.
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 * @ordered
380 */
381 int ALS_FIELD_DECLARATION__MULTIPLICITY = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0;
382
383 /**
384 * The feature id for the '<em><b>Type</b></em>' containment reference.
385 * <!-- begin-user-doc -->
386 * <!-- end-user-doc -->
387 * @generated
388 * @ordered
389 */
390 int ALS_FIELD_DECLARATION__TYPE = ALS_RELATION_DECLARATION_FEATURE_COUNT + 1;
391
392 /**
393 * The number of structural features of the '<em>ALS Field Declaration</em>' class.
394 * <!-- begin-user-doc -->
395 * <!-- end-user-doc -->
396 * @generated
397 * @ordered
398 */
399 int ALS_FIELD_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 2;
400
401 /**
402 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl <em>ALS Definition</em>}' class.
403 * <!-- begin-user-doc -->
404 * <!-- end-user-doc -->
405 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl
406 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDefinition()
407 * @generated
408 */
409 int ALS_DEFINITION = 8;
410
411 /**
412 * The feature id for the '<em><b>Name</b></em>' attribute.
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @generated
416 * @ordered
417 */
418 int ALS_DEFINITION__NAME = 0;
419
420 /**
421 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
422 * <!-- begin-user-doc -->
423 * <!-- end-user-doc -->
424 * @generated
425 * @ordered
426 */
427 int ALS_DEFINITION__VARIABLES = 1;
428
429 /**
430 * The feature id for the '<em><b>Value</b></em>' containment reference.
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @generated
434 * @ordered
435 */
436 int ALS_DEFINITION__VALUE = 2;
437
438 /**
439 * The number of structural features of the '<em>ALS Definition</em>' class.
440 * <!-- begin-user-doc -->
441 * <!-- end-user-doc -->
442 * @generated
443 * @ordered
444 */
445 int ALS_DEFINITION_FEATURE_COUNT = 3;
446
447 /**
448 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl <em>ALS Function Definition</em>}' class.
449 * <!-- begin-user-doc -->
450 * <!-- end-user-doc -->
451 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl
452 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionDefinition()
453 * @generated
454 */
455 int ALS_FUNCTION_DEFINITION = 9;
456
457 /**
458 * The feature id for the '<em><b>Name</b></em>' attribute.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @generated
462 * @ordered
463 */
464 int ALS_FUNCTION_DEFINITION__NAME = ALS_DEFINITION__NAME;
465
466 /**
467 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @generated
471 * @ordered
472 */
473 int ALS_FUNCTION_DEFINITION__VARIABLES = ALS_DEFINITION__VARIABLES;
474
475 /**
476 * The feature id for the '<em><b>Value</b></em>' containment reference.
477 * <!-- begin-user-doc -->
478 * <!-- end-user-doc -->
479 * @generated
480 * @ordered
481 */
482 int ALS_FUNCTION_DEFINITION__VALUE = ALS_DEFINITION__VALUE;
483
484 /**
485 * The feature id for the '<em><b>Type</b></em>' containment reference.
486 * <!-- begin-user-doc -->
487 * <!-- end-user-doc -->
488 * @generated
489 * @ordered
490 */
491 int ALS_FUNCTION_DEFINITION__TYPE = ALS_DEFINITION_FEATURE_COUNT + 0;
492
493 /**
494 * The number of structural features of the '<em>ALS Function Definition</em>' class.
495 * <!-- begin-user-doc -->
496 * <!-- end-user-doc -->
497 * @generated
498 * @ordered
499 */
500 int ALS_FUNCTION_DEFINITION_FEATURE_COUNT = ALS_DEFINITION_FEATURE_COUNT + 1;
501
502 /**
503 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl <em>ALS Relation Definition</em>}' class.
504 * <!-- begin-user-doc -->
505 * <!-- end-user-doc -->
506 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl
507 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDefinition()
508 * @generated
509 */
510 int ALS_RELATION_DEFINITION = 10;
511
512 /**
513 * The feature id for the '<em><b>Name</b></em>' attribute.
514 * <!-- begin-user-doc -->
515 * <!-- end-user-doc -->
516 * @generated
517 * @ordered
518 */
519 int ALS_RELATION_DEFINITION__NAME = ALS_DEFINITION__NAME;
520
521 /**
522 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
523 * <!-- begin-user-doc -->
524 * <!-- end-user-doc -->
525 * @generated
526 * @ordered
527 */
528 int ALS_RELATION_DEFINITION__VARIABLES = ALS_DEFINITION__VARIABLES;
529
530 /**
531 * The feature id for the '<em><b>Value</b></em>' containment reference.
532 * <!-- begin-user-doc -->
533 * <!-- end-user-doc -->
534 * @generated
535 * @ordered
536 */
537 int ALS_RELATION_DEFINITION__VALUE = ALS_DEFINITION__VALUE;
538
539 /**
540 * The number of structural features of the '<em>ALS Relation Definition</em>' class.
541 * <!-- begin-user-doc -->
542 * <!-- end-user-doc -->
543 * @generated
544 * @ordered
545 */
546 int ALS_RELATION_DEFINITION_FEATURE_COUNT = ALS_DEFINITION_FEATURE_COUNT + 0;
547
548 /**
549 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl <em>ALS Fact Declaration</em>}' class.
550 * <!-- begin-user-doc -->
551 * <!-- end-user-doc -->
552 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl
553 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFactDeclaration()
554 * @generated
555 */
556 int ALS_FACT_DECLARATION = 11;
557
558 /**
559 * The feature id for the '<em><b>Name</b></em>' attribute.
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @generated
563 * @ordered
564 */
565 int ALS_FACT_DECLARATION__NAME = 0;
566
567 /**
568 * The feature id for the '<em><b>Term</b></em>' containment reference.
569 * <!-- begin-user-doc -->
570 * <!-- end-user-doc -->
571 * @generated
572 * @ordered
573 */
574 int ALS_FACT_DECLARATION__TERM = 1;
575
576 /**
577 * The number of structural features of the '<em>ALS Fact Declaration</em>' class.
578 * <!-- begin-user-doc -->
579 * <!-- end-user-doc -->
580 * @generated
581 * @ordered
582 */
583 int ALS_FACT_DECLARATION_FEATURE_COUNT = 2;
584
585 /**
586 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl <em>ALS Term</em>}' class.
587 * <!-- begin-user-doc -->
588 * <!-- end-user-doc -->
589 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl
590 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTerm()
591 * @generated
592 */
593 int ALS_TERM = 12;
594
595 /**
596 * The number of structural features of the '<em>ALS Term</em>' class.
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 * @ordered
601 */
602 int ALS_TERM_FEATURE_COUNT = 0;
603
604 /**
605 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl <em>ALS Variable Declaration</em>}' class.
606 * <!-- begin-user-doc -->
607 * <!-- end-user-doc -->
608 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl
609 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSVariableDeclaration()
610 * @generated
611 */
612 int ALS_VARIABLE_DECLARATION = 13;
613
614 /**
615 * The feature id for the '<em><b>Name</b></em>' attribute.
616 * <!-- begin-user-doc -->
617 * <!-- end-user-doc -->
618 * @generated
619 * @ordered
620 */
621 int ALS_VARIABLE_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME;
622
623 /**
624 * The feature id for the '<em><b>Range</b></em>' containment reference.
625 * <!-- begin-user-doc -->
626 * <!-- end-user-doc -->
627 * @generated
628 * @ordered
629 */
630 int ALS_VARIABLE_DECLARATION__RANGE = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0;
631
632 /**
633 * The number of structural features of the '<em>ALS Variable Declaration</em>' class.
634 * <!-- begin-user-doc -->
635 * <!-- end-user-doc -->
636 * @generated
637 * @ordered
638 */
639 int ALS_VARIABLE_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 1;
640
641 /**
642 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl <em>ALS Run Command</em>}' class.
643 * <!-- begin-user-doc -->
644 * <!-- end-user-doc -->
645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl
646 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRunCommand()
647 * @generated
648 */
649 int ALS_RUN_COMMAND = 14;
650
651 /**
652 * The feature id for the '<em><b>Type Scopes</b></em>' containment reference list.
653 * <!-- begin-user-doc -->
654 * <!-- end-user-doc -->
655 * @generated
656 * @ordered
657 */
658 int ALS_RUN_COMMAND__TYPE_SCOPES = 0;
659
660 /**
661 * The number of structural features of the '<em>ALS Run Command</em>' class.
662 * <!-- begin-user-doc -->
663 * <!-- end-user-doc -->
664 * @generated
665 * @ordered
666 */
667 int ALS_RUN_COMMAND_FEATURE_COUNT = 1;
668
669 /**
670 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl <em>ALS Type Scope</em>}' class.
671 * <!-- begin-user-doc -->
672 * <!-- end-user-doc -->
673 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl
674 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeScope()
675 * @generated
676 */
677 int ALS_TYPE_SCOPE = 15;
678
679 /**
680 * The feature id for the '<em><b>Number</b></em>' attribute.
681 * <!-- begin-user-doc -->
682 * <!-- end-user-doc -->
683 * @generated
684 * @ordered
685 */
686 int ALS_TYPE_SCOPE__NUMBER = 0;
687
688 /**
689 * The number of structural features of the '<em>ALS Type Scope</em>' class.
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @generated
693 * @ordered
694 */
695 int ALS_TYPE_SCOPE_FEATURE_COUNT = 1;
696
697 /**
698 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl <em>ALS Sig Scope</em>}' class.
699 * <!-- begin-user-doc -->
700 * <!-- end-user-doc -->
701 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl
702 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSigScope()
703 * @generated
704 */
705 int ALS_SIG_SCOPE = 16;
706
707 /**
708 * The feature id for the '<em><b>Number</b></em>' attribute.
709 * <!-- begin-user-doc -->
710 * <!-- end-user-doc -->
711 * @generated
712 * @ordered
713 */
714 int ALS_SIG_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER;
715
716 /**
717 * The feature id for the '<em><b>Exactly</b></em>' attribute.
718 * <!-- begin-user-doc -->
719 * <!-- end-user-doc -->
720 * @generated
721 * @ordered
722 */
723 int ALS_SIG_SCOPE__EXACTLY = ALS_TYPE_SCOPE_FEATURE_COUNT + 0;
724
725 /**
726 * The feature id for the '<em><b>Type</b></em>' reference.
727 * <!-- begin-user-doc -->
728 * <!-- end-user-doc -->
729 * @generated
730 * @ordered
731 */
732 int ALS_SIG_SCOPE__TYPE = ALS_TYPE_SCOPE_FEATURE_COUNT + 1;
733
734 /**
735 * The number of structural features of the '<em>ALS Sig Scope</em>' class.
736 * <!-- begin-user-doc -->
737 * <!-- end-user-doc -->
738 * @generated
739 * @ordered
740 */
741 int ALS_SIG_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 2;
742
743 /**
744 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl <em>ALS Int Scope</em>}' class.
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl
748 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntScope()
749 * @generated
750 */
751 int ALS_INT_SCOPE = 17;
752
753 /**
754 * The feature id for the '<em><b>Number</b></em>' attribute.
755 * <!-- begin-user-doc -->
756 * <!-- end-user-doc -->
757 * @generated
758 * @ordered
759 */
760 int ALS_INT_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER;
761
762 /**
763 * The number of structural features of the '<em>ALS Int Scope</em>' class.
764 * <!-- begin-user-doc -->
765 * <!-- end-user-doc -->
766 * @generated
767 * @ordered
768 */
769 int ALS_INT_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 0;
770
771 /**
772 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl <em>ALS String Scope</em>}' class.
773 * <!-- begin-user-doc -->
774 * <!-- end-user-doc -->
775 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl
776 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringScope()
777 * @generated
778 */
779 int ALS_STRING_SCOPE = 18;
780
781 /**
782 * The feature id for the '<em><b>Number</b></em>' attribute.
783 * <!-- begin-user-doc -->
784 * <!-- end-user-doc -->
785 * @generated
786 * @ordered
787 */
788 int ALS_STRING_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER;
789
790 /**
791 * The number of structural features of the '<em>ALS String Scope</em>' class.
792 * <!-- begin-user-doc -->
793 * <!-- end-user-doc -->
794 * @generated
795 * @ordered
796 */
797 int ALS_STRING_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 0;
798
799 /**
800 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class.
801 * <!-- begin-user-doc -->
802 * <!-- end-user-doc -->
803 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl
804 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx()
805 * @generated
806 */
807 int ALS_QUANTIFIED_EX = 19;
808
809 /**
810 * The feature id for the '<em><b>Type</b></em>' attribute.
811 * <!-- begin-user-doc -->
812 * <!-- end-user-doc -->
813 * @generated
814 * @ordered
815 */
816 int ALS_QUANTIFIED_EX__TYPE = ALS_TERM_FEATURE_COUNT + 0;
817
818 /**
819 * The feature id for the '<em><b>Disj</b></em>' attribute.
820 * <!-- begin-user-doc -->
821 * <!-- end-user-doc -->
822 * @generated
823 * @ordered
824 */
825 int ALS_QUANTIFIED_EX__DISJ = ALS_TERM_FEATURE_COUNT + 1;
826
827 /**
828 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
829 * <!-- begin-user-doc -->
830 * <!-- end-user-doc -->
831 * @generated
832 * @ordered
833 */
834 int ALS_QUANTIFIED_EX__VARIABLES = ALS_TERM_FEATURE_COUNT + 2;
835
836 /**
837 * The feature id for the '<em><b>Expression</b></em>' containment reference.
838 * <!-- begin-user-doc -->
839 * <!-- end-user-doc -->
840 * @generated
841 * @ordered
842 */
843 int ALS_QUANTIFIED_EX__EXPRESSION = ALS_TERM_FEATURE_COUNT + 3;
844
845 /**
846 * The number of structural features of the '<em>ALS Quantified Ex</em>' class.
847 * <!-- begin-user-doc -->
848 * <!-- end-user-doc -->
849 * @generated
850 * @ordered
851 */
852 int ALS_QUANTIFIED_EX_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4;
853
854 /**
855 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class.
856 * <!-- begin-user-doc -->
857 * <!-- end-user-doc -->
858 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl
859 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr()
860 * @generated
861 */
862 int ALS_OR = 20;
863
864 /**
865 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
866 * <!-- begin-user-doc -->
867 * <!-- end-user-doc -->
868 * @generated
869 * @ordered
870 */
871 int ALS_OR__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
872
873 /**
874 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
875 * <!-- begin-user-doc -->
876 * <!-- end-user-doc -->
877 * @generated
878 * @ordered
879 */
880 int ALS_OR__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
881
882 /**
883 * The number of structural features of the '<em>ALS Or</em>' class.
884 * <!-- begin-user-doc -->
885 * <!-- end-user-doc -->
886 * @generated
887 * @ordered
888 */
889 int ALS_OR_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
890
891 /**
892 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class.
893 * <!-- begin-user-doc -->
894 * <!-- end-user-doc -->
895 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl
896 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff()
897 * @generated
898 */
899 int ALS_IFF = 21;
900
901 /**
902 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
903 * <!-- begin-user-doc -->
904 * <!-- end-user-doc -->
905 * @generated
906 * @ordered
907 */
908 int ALS_IFF__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
909
910 /**
911 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
912 * <!-- begin-user-doc -->
913 * <!-- end-user-doc -->
914 * @generated
915 * @ordered
916 */
917 int ALS_IFF__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
918
919 /**
920 * The number of structural features of the '<em>ALS Iff</em>' class.
921 * <!-- begin-user-doc -->
922 * <!-- end-user-doc -->
923 * @generated
924 * @ordered
925 */
926 int ALS_IFF_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
927
928 /**
929 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class.
930 * <!-- begin-user-doc -->
931 * <!-- end-user-doc -->
932 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl
933 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl()
934 * @generated
935 */
936 int ALS_IMPL = 22;
937
938 /**
939 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
940 * <!-- begin-user-doc -->
941 * <!-- end-user-doc -->
942 * @generated
943 * @ordered
944 */
945 int ALS_IMPL__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
946
947 /**
948 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
949 * <!-- begin-user-doc -->
950 * <!-- end-user-doc -->
951 * @generated
952 * @ordered
953 */
954 int ALS_IMPL__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
955
956 /**
957 * The feature id for the '<em><b>Else Operand</b></em>' containment reference.
958 * <!-- begin-user-doc -->
959 * <!-- end-user-doc -->
960 * @generated
961 * @ordered
962 */
963 int ALS_IMPL__ELSE_OPERAND = ALS_TERM_FEATURE_COUNT + 2;
964
965 /**
966 * The number of structural features of the '<em>ALS Impl</em>' class.
967 * <!-- begin-user-doc -->
968 * <!-- end-user-doc -->
969 * @generated
970 * @ordered
971 */
972 int ALS_IMPL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3;
973
974 /**
975 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class.
976 * <!-- begin-user-doc -->
977 * <!-- end-user-doc -->
978 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl
979 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd()
980 * @generated
981 */
982 int ALS_AND = 23;
983
984 /**
985 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
986 * <!-- begin-user-doc -->
987 * <!-- end-user-doc -->
988 * @generated
989 * @ordered
990 */
991 int ALS_AND__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
992
993 /**
994 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
995 * <!-- begin-user-doc -->
996 * <!-- end-user-doc -->
997 * @generated
998 * @ordered
999 */
1000 int ALS_AND__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1001
1002 /**
1003 * The number of structural features of the '<em>ALS And</em>' class.
1004 * <!-- begin-user-doc -->
1005 * <!-- end-user-doc -->
1006 * @generated
1007 * @ordered
1008 */
1009 int ALS_AND_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1010
1011 /**
1012 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class.
1013 * <!-- begin-user-doc -->
1014 * <!-- end-user-doc -->
1015 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl
1016 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals()
1017 * @generated
1018 */
1019 int ALS_EQUALS = 24;
1020
1021 /**
1022 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1023 * <!-- begin-user-doc -->
1024 * <!-- end-user-doc -->
1025 * @generated
1026 * @ordered
1027 */
1028 int ALS_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1029
1030 /**
1031 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1032 * <!-- begin-user-doc -->
1033 * <!-- end-user-doc -->
1034 * @generated
1035 * @ordered
1036 */
1037 int ALS_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1038
1039 /**
1040 * The number of structural features of the '<em>ALS Equals</em>' class.
1041 * <!-- begin-user-doc -->
1042 * <!-- end-user-doc -->
1043 * @generated
1044 * @ordered
1045 */
1046 int ALS_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1047
1048 /**
1049 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class.
1050 * <!-- begin-user-doc -->
1051 * <!-- end-user-doc -->
1052 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl
1053 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals()
1054 * @generated
1055 */
1056 int ALS_NOT_EQUALS = 25;
1057
1058 /**
1059 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1060 * <!-- begin-user-doc -->
1061 * <!-- end-user-doc -->
1062 * @generated
1063 * @ordered
1064 */
1065 int ALS_NOT_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1066
1067 /**
1068 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1069 * <!-- begin-user-doc -->
1070 * <!-- end-user-doc -->
1071 * @generated
1072 * @ordered
1073 */
1074 int ALS_NOT_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1075
1076 /**
1077 * The number of structural features of the '<em>ALS Not Equals</em>' class.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @generated
1081 * @ordered
1082 */
1083 int ALS_NOT_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1084
1085 /**
1086 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class.
1087 * <!-- begin-user-doc -->
1088 * <!-- end-user-doc -->
1089 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl
1090 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset()
1091 * @generated
1092 */
1093 int ALS_SUBSET = 26;
1094
1095 /**
1096 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1097 * <!-- begin-user-doc -->
1098 * <!-- end-user-doc -->
1099 * @generated
1100 * @ordered
1101 */
1102 int ALS_SUBSET__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1103
1104 /**
1105 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1106 * <!-- begin-user-doc -->
1107 * <!-- end-user-doc -->
1108 * @generated
1109 * @ordered
1110 */
1111 int ALS_SUBSET__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1112
1113 /**
1114 * The number of structural features of the '<em>ALS Subset</em>' class.
1115 * <!-- begin-user-doc -->
1116 * <!-- end-user-doc -->
1117 * @generated
1118 * @ordered
1119 */
1120 int ALS_SUBSET_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1121
1122 /**
1123 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class.
1124 * <!-- begin-user-doc -->
1125 * <!-- end-user-doc -->
1126 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl
1127 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess()
1128 * @generated
1129 */
1130 int ALS_LESS = 27;
1131
1132 /**
1133 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1134 * <!-- begin-user-doc -->
1135 * <!-- end-user-doc -->
1136 * @generated
1137 * @ordered
1138 */
1139 int ALS_LESS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1140
1141 /**
1142 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1143 * <!-- begin-user-doc -->
1144 * <!-- end-user-doc -->
1145 * @generated
1146 * @ordered
1147 */
1148 int ALS_LESS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1149
1150 /**
1151 * The number of structural features of the '<em>ALS Less</em>' class.
1152 * <!-- begin-user-doc -->
1153 * <!-- end-user-doc -->
1154 * @generated
1155 * @ordered
1156 */
1157 int ALS_LESS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1158
1159 /**
1160 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class.
1161 * <!-- begin-user-doc -->
1162 * <!-- end-user-doc -->
1163 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl
1164 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq()
1165 * @generated
1166 */
1167 int ALS_LEQ = 28;
1168
1169 /**
1170 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1171 * <!-- begin-user-doc -->
1172 * <!-- end-user-doc -->
1173 * @generated
1174 * @ordered
1175 */
1176 int ALS_LEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1177
1178 /**
1179 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1180 * <!-- begin-user-doc -->
1181 * <!-- end-user-doc -->
1182 * @generated
1183 * @ordered
1184 */
1185 int ALS_LEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1186
1187 /**
1188 * The number of structural features of the '<em>ALS Leq</em>' class.
1189 * <!-- begin-user-doc -->
1190 * <!-- end-user-doc -->
1191 * @generated
1192 * @ordered
1193 */
1194 int ALS_LEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1195
1196 /**
1197 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class.
1198 * <!-- begin-user-doc -->
1199 * <!-- end-user-doc -->
1200 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl
1201 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore()
1202 * @generated
1203 */
1204 int ALS_MORE = 29;
1205
1206 /**
1207 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1208 * <!-- begin-user-doc -->
1209 * <!-- end-user-doc -->
1210 * @generated
1211 * @ordered
1212 */
1213 int ALS_MORE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1214
1215 /**
1216 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1217 * <!-- begin-user-doc -->
1218 * <!-- end-user-doc -->
1219 * @generated
1220 * @ordered
1221 */
1222 int ALS_MORE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1223
1224 /**
1225 * The number of structural features of the '<em>ALS More</em>' class.
1226 * <!-- begin-user-doc -->
1227 * <!-- end-user-doc -->
1228 * @generated
1229 * @ordered
1230 */
1231 int ALS_MORE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1232
1233 /**
1234 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class.
1235 * <!-- begin-user-doc -->
1236 * <!-- end-user-doc -->
1237 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl
1238 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq()
1239 * @generated
1240 */
1241 int ALS_MEQ = 30;
1242
1243 /**
1244 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1245 * <!-- begin-user-doc -->
1246 * <!-- end-user-doc -->
1247 * @generated
1248 * @ordered
1249 */
1250 int ALS_MEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1251
1252 /**
1253 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1254 * <!-- begin-user-doc -->
1255 * <!-- end-user-doc -->
1256 * @generated
1257 * @ordered
1258 */
1259 int ALS_MEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1260
1261 /**
1262 * The number of structural features of the '<em>ALS Meq</em>' class.
1263 * <!-- begin-user-doc -->
1264 * <!-- end-user-doc -->
1265 * @generated
1266 * @ordered
1267 */
1268 int ALS_MEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1269
1270 /**
1271 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class.
1272 * <!-- begin-user-doc -->
1273 * <!-- end-user-doc -->
1274 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl
1275 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride()
1276 * @generated
1277 */
1278 int ALS_OVERRIDE = 31;
1279
1280 /**
1281 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1282 * <!-- begin-user-doc -->
1283 * <!-- end-user-doc -->
1284 * @generated
1285 * @ordered
1286 */
1287 int ALS_OVERRIDE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1288
1289 /**
1290 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1291 * <!-- begin-user-doc -->
1292 * <!-- end-user-doc -->
1293 * @generated
1294 * @ordered
1295 */
1296 int ALS_OVERRIDE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1297
1298 /**
1299 * The number of structural features of the '<em>ALS Override</em>' class.
1300 * <!-- begin-user-doc -->
1301 * <!-- end-user-doc -->
1302 * @generated
1303 * @ordered
1304 */
1305 int ALS_OVERRIDE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1306
1307 /**
1308 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class.
1309 * <!-- begin-user-doc -->
1310 * <!-- end-user-doc -->
1311 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl
1312 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight()
1313 * @generated
1314 */
1315 int ALS_RANGE_RESTRICTION_RIGHT = 32;
1316
1317 /**
1318 * The feature id for the '<em><b>Relation</b></em>' containment reference.
1319 * <!-- begin-user-doc -->
1320 * <!-- end-user-doc -->
1321 * @generated
1322 * @ordered
1323 */
1324 int ALS_RANGE_RESTRICTION_RIGHT__RELATION = ALS_TERM_FEATURE_COUNT + 0;
1325
1326 /**
1327 * The feature id for the '<em><b>Filter</b></em>' containment reference.
1328 * <!-- begin-user-doc -->
1329 * <!-- end-user-doc -->
1330 * @generated
1331 * @ordered
1332 */
1333 int ALS_RANGE_RESTRICTION_RIGHT__FILTER = ALS_TERM_FEATURE_COUNT + 1;
1334
1335 /**
1336 * The number of structural features of the '<em>ALS Range Restriction Right</em>' class.
1337 * <!-- begin-user-doc -->
1338 * <!-- end-user-doc -->
1339 * @generated
1340 * @ordered
1341 */
1342 int ALS_RANGE_RESTRICTION_RIGHT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1343
1344 /**
1345 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class.
1346 * <!-- begin-user-doc -->
1347 * <!-- end-user-doc -->
1348 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl
1349 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft()
1350 * @generated
1351 */
1352 int ALS_RANGE_RESTRICTION_LEFT = 33;
1353
1354 /**
1355 * The feature id for the '<em><b>Filter</b></em>' containment reference.
1356 * <!-- begin-user-doc -->
1357 * <!-- end-user-doc -->
1358 * @generated
1359 * @ordered
1360 */
1361 int ALS_RANGE_RESTRICTION_LEFT__FILTER = ALS_TERM_FEATURE_COUNT + 0;
1362
1363 /**
1364 * The feature id for the '<em><b>Relation</b></em>' containment reference.
1365 * <!-- begin-user-doc -->
1366 * <!-- end-user-doc -->
1367 * @generated
1368 * @ordered
1369 */
1370 int ALS_RANGE_RESTRICTION_LEFT__RELATION = ALS_TERM_FEATURE_COUNT + 1;
1371
1372 /**
1373 * The number of structural features of the '<em>ALS Range Restriction Left</em>' class.
1374 * <!-- begin-user-doc -->
1375 * <!-- end-user-doc -->
1376 * @generated
1377 * @ordered
1378 */
1379 int ALS_RANGE_RESTRICTION_LEFT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1380
1381 /**
1382 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class.
1383 * <!-- begin-user-doc -->
1384 * <!-- end-user-doc -->
1385 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl
1386 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin()
1387 * @generated
1388 */
1389 int ALS_JOIN = 34;
1390
1391 /**
1392 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1393 * <!-- begin-user-doc -->
1394 * <!-- end-user-doc -->
1395 * @generated
1396 * @ordered
1397 */
1398 int ALS_JOIN__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1399
1400 /**
1401 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1402 * <!-- begin-user-doc -->
1403 * <!-- end-user-doc -->
1404 * @generated
1405 * @ordered
1406 */
1407 int ALS_JOIN__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1408
1409 /**
1410 * The number of structural features of the '<em>ALS Join</em>' class.
1411 * <!-- begin-user-doc -->
1412 * <!-- end-user-doc -->
1413 * @generated
1414 * @ordered
1415 */
1416 int ALS_JOIN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1417
1418 /**
1419 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class.
1420 * <!-- begin-user-doc -->
1421 * <!-- end-user-doc -->
1422 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl
1423 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus()
1424 * @generated
1425 */
1426 int ALS_MINUS = 35;
1427
1428 /**
1429 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1430 * <!-- begin-user-doc -->
1431 * <!-- end-user-doc -->
1432 * @generated
1433 * @ordered
1434 */
1435 int ALS_MINUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1436
1437 /**
1438 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1439 * <!-- begin-user-doc -->
1440 * <!-- end-user-doc -->
1441 * @generated
1442 * @ordered
1443 */
1444 int ALS_MINUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1445
1446 /**
1447 * The number of structural features of the '<em>ALS Minus</em>' class.
1448 * <!-- begin-user-doc -->
1449 * <!-- end-user-doc -->
1450 * @generated
1451 * @ordered
1452 */
1453 int ALS_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1454
1455 /**
1456 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class.
1457 * <!-- begin-user-doc -->
1458 * <!-- end-user-doc -->
1459 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl
1460 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus()
1461 * @generated
1462 */
1463 int ALS_PLUS = 36;
1464
1465 /**
1466 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1467 * <!-- begin-user-doc -->
1468 * <!-- end-user-doc -->
1469 * @generated
1470 * @ordered
1471 */
1472 int ALS_PLUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1473
1474 /**
1475 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1476 * <!-- begin-user-doc -->
1477 * <!-- end-user-doc -->
1478 * @generated
1479 * @ordered
1480 */
1481 int ALS_PLUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1482
1483 /**
1484 * The number of structural features of the '<em>ALS Plus</em>' class.
1485 * <!-- begin-user-doc -->
1486 * <!-- end-user-doc -->
1487 * @generated
1488 * @ordered
1489 */
1490 int ALS_PLUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1491
1492 /**
1493 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class.
1494 * <!-- begin-user-doc -->
1495 * <!-- end-user-doc -->
1496 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl
1497 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection()
1498 * @generated
1499 */
1500 int ALS_INTERSECTION = 37;
1501
1502 /**
1503 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1504 * <!-- begin-user-doc -->
1505 * <!-- end-user-doc -->
1506 * @generated
1507 * @ordered
1508 */
1509 int ALS_INTERSECTION__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1510
1511 /**
1512 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1513 * <!-- begin-user-doc -->
1514 * <!-- end-user-doc -->
1515 * @generated
1516 * @ordered
1517 */
1518 int ALS_INTERSECTION__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1519
1520 /**
1521 * The number of structural features of the '<em>ALS Intersection</em>' class.
1522 * <!-- begin-user-doc -->
1523 * <!-- end-user-doc -->
1524 * @generated
1525 * @ordered
1526 */
1527 int ALS_INTERSECTION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1528
1529 /**
1530 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class.
1531 * <!-- begin-user-doc -->
1532 * <!-- end-user-doc -->
1533 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl
1534 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct()
1535 * @generated
1536 */
1537 int ALS_DIRECT_PRODUCT = 38;
1538
1539 /**
1540 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1541 * <!-- begin-user-doc -->
1542 * <!-- end-user-doc -->
1543 * @generated
1544 * @ordered
1545 */
1546 int ALS_DIRECT_PRODUCT__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1547
1548 /**
1549 * The feature id for the '<em><b>Left Multiplicit</b></em>' attribute.
1550 * <!-- begin-user-doc -->
1551 * <!-- end-user-doc -->
1552 * @generated
1553 * @ordered
1554 */
1555 int ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 1;
1556
1557 /**
1558 * The feature id for the '<em><b>Right Multiplicit</b></em>' attribute.
1559 * <!-- begin-user-doc -->
1560 * <!-- end-user-doc -->
1561 * @generated
1562 * @ordered
1563 */
1564 int ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 2;
1565
1566 /**
1567 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1568 * <!-- begin-user-doc -->
1569 * <!-- end-user-doc -->
1570 * @generated
1571 * @ordered
1572 */
1573 int ALS_DIRECT_PRODUCT__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 3;
1574
1575 /**
1576 * The number of structural features of the '<em>ALS Direct Product</em>' class.
1577 * <!-- begin-user-doc -->
1578 * <!-- end-user-doc -->
1579 * @generated
1580 * @ordered
1581 */
1582 int ALS_DIRECT_PRODUCT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4;
1583
1584 /**
1585 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class.
1586 * <!-- begin-user-doc -->
1587 * <!-- end-user-doc -->
1588 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl
1589 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot()
1590 * @generated
1591 */
1592 int ALS_NOT = 39;
1593
1594 /**
1595 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1596 * <!-- begin-user-doc -->
1597 * <!-- end-user-doc -->
1598 * @generated
1599 * @ordered
1600 */
1601 int ALS_NOT__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1602
1603 /**
1604 * The number of structural features of the '<em>ALS Not</em>' class.
1605 * <!-- begin-user-doc -->
1606 * <!-- end-user-doc -->
1607 * @generated
1608 * @ordered
1609 */
1610 int ALS_NOT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1611
1612 /**
1613 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class.
1614 * <!-- begin-user-doc -->
1615 * <!-- end-user-doc -->
1616 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl
1617 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation()
1618 * @generated
1619 */
1620 int ALS_INVERSE_RELATION = 40;
1621
1622 /**
1623 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1624 * <!-- begin-user-doc -->
1625 * <!-- end-user-doc -->
1626 * @generated
1627 * @ordered
1628 */
1629 int ALS_INVERSE_RELATION__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1630
1631 /**
1632 * The number of structural features of the '<em>ALS Inverse Relation</em>' class.
1633 * <!-- begin-user-doc -->
1634 * <!-- end-user-doc -->
1635 * @generated
1636 * @ordered
1637 */
1638 int ALS_INVERSE_RELATION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1639
1640 /**
1641 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class.
1642 * <!-- begin-user-doc -->
1643 * <!-- end-user-doc -->
1644 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl
1645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure()
1646 * @generated
1647 */
1648 int AL_STRANSITIVE_CLOSURE = 41;
1649
1650 /**
1651 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1652 * <!-- begin-user-doc -->
1653 * <!-- end-user-doc -->
1654 * @generated
1655 * @ordered
1656 */
1657 int AL_STRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1658
1659 /**
1660 * The number of structural features of the '<em>Al STransitive Closure</em>' class.
1661 * <!-- begin-user-doc -->
1662 * <!-- end-user-doc -->
1663 * @generated
1664 * @ordered
1665 */
1666 int AL_STRANSITIVE_CLOSURE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1667
1668 /**
1669 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class.
1670 * <!-- begin-user-doc -->
1671 * <!-- end-user-doc -->
1672 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl
1673 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure()
1674 * @generated
1675 */
1676 int ALS_REFLECTIVE_TRANSITIVE_CLOSURE = 42;
1677
1678 /**
1679 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1680 * <!-- begin-user-doc -->
1681 * <!-- end-user-doc -->
1682 * @generated
1683 * @ordered
1684 */
1685 int ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1686
1687 /**
1688 * The number of structural features of the '<em>ALS Reflective Transitive Closure</em>' class.
1689 * <!-- begin-user-doc -->
1690 * <!-- end-user-doc -->
1691 * @generated
1692 * @ordered
1693 */
1694 int ALS_REFLECTIVE_TRANSITIVE_CLOSURE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1695
1696 /**
1697 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl <em>ALS Cardinality</em>}' class.
1698 * <!-- begin-user-doc -->
1699 * <!-- end-user-doc -->
1700 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl
1701 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality()
1702 * @generated
1703 */
1704 int ALS_CARDINALITY = 43;
1705
1706 /**
1707 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1708 * <!-- begin-user-doc -->
1709 * <!-- end-user-doc -->
1710 * @generated
1711 * @ordered
1712 */
1713 int ALS_CARDINALITY__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1714
1715 /**
1716 * The number of structural features of the '<em>ALS Cardinality</em>' class.
1717 * <!-- begin-user-doc -->
1718 * <!-- end-user-doc -->
1719 * @generated
1720 * @ordered
1721 */
1722 int ALS_CARDINALITY_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1723
1724 /**
1725 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class.
1726 * <!-- begin-user-doc -->
1727 * <!-- end-user-doc -->
1728 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl
1729 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus()
1730 * @generated
1731 */
1732 int ALS_UNARY_MINUS = 44;
1733
1734 /**
1735 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1736 * <!-- begin-user-doc -->
1737 * <!-- end-user-doc -->
1738 * @generated
1739 * @ordered
1740 */
1741 int ALS_UNARY_MINUS__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1742
1743 /**
1744 * The number of structural features of the '<em>ALS Unary Minus</em>' class.
1745 * <!-- begin-user-doc -->
1746 * <!-- end-user-doc -->
1747 * @generated
1748 * @ordered
1749 */
1750 int ALS_UNARY_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1751
1752 /**
1753 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class.
1754 * <!-- begin-user-doc -->
1755 * <!-- end-user-doc -->
1756 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl
1757 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum()
1758 * @generated
1759 */
1760 int ALS_SUM = 45;
1761
1762 /**
1763 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
1764 * <!-- begin-user-doc -->
1765 * <!-- end-user-doc -->
1766 * @generated
1767 * @ordered
1768 */
1769 int ALS_SUM__VARIABLES = ALS_TERM_FEATURE_COUNT + 0;
1770
1771 /**
1772 * The feature id for the '<em><b>Expression</b></em>' containment reference.
1773 * <!-- begin-user-doc -->
1774 * <!-- end-user-doc -->
1775 * @generated
1776 * @ordered
1777 */
1778 int ALS_SUM__EXPRESSION = ALS_TERM_FEATURE_COUNT + 1;
1779
1780 /**
1781 * The number of structural features of the '<em>ALS Sum</em>' class.
1782 * <!-- begin-user-doc -->
1783 * <!-- end-user-doc -->
1784 * @generated
1785 * @ordered
1786 */
1787 int ALS_SUM_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1788
1789 /**
1790 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class.
1791 * <!-- begin-user-doc -->
1792 * <!-- end-user-doc -->
1793 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl
1794 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall()
1795 * @generated
1796 */
1797 int ALS_FUNCTION_CALL = 46;
1798
1799 /**
1800 * The feature id for the '<em><b>Referred Definition</b></em>' reference.
1801 * <!-- begin-user-doc -->
1802 * <!-- end-user-doc -->
1803 * @generated
1804 * @ordered
1805 */
1806 int ALS_FUNCTION_CALL__REFERRED_DEFINITION = ALS_TERM_FEATURE_COUNT + 0;
1807
1808 /**
1809 * The feature id for the '<em><b>Referred Numeric Operator</b></em>' attribute.
1810 * <!-- begin-user-doc -->
1811 * <!-- end-user-doc -->
1812 * @generated
1813 * @ordered
1814 */
1815 int ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = ALS_TERM_FEATURE_COUNT + 1;
1816
1817 /**
1818 * The feature id for the '<em><b>Params</b></em>' containment reference list.
1819 * <!-- begin-user-doc -->
1820 * <!-- end-user-doc -->
1821 * @generated
1822 * @ordered
1823 */
1824 int ALS_FUNCTION_CALL__PARAMS = ALS_TERM_FEATURE_COUNT + 2;
1825
1826 /**
1827 * The number of structural features of the '<em>ALS Function Call</em>' class.
1828 * <!-- begin-user-doc -->
1829 * <!-- end-user-doc -->
1830 * @generated
1831 * @ordered
1832 */
1833 int ALS_FUNCTION_CALL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3;
1834
1835 /**
1836 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class.
1837 * <!-- begin-user-doc -->
1838 * <!-- end-user-doc -->
1839 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl
1840 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone()
1841 * @generated
1842 */
1843 int ALS_NONE = 47;
1844
1845 /**
1846 * The number of structural features of the '<em>ALS None</em>' class.
1847 * <!-- begin-user-doc -->
1848 * <!-- end-user-doc -->
1849 * @generated
1850 * @ordered
1851 */
1852 int ALS_NONE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1853
1854 /**
1855 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class.
1856 * <!-- begin-user-doc -->
1857 * <!-- end-user-doc -->
1858 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl
1859 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden()
1860 * @generated
1861 */
1862 int ALS_IDEN = 48;
1863
1864 /**
1865 * The number of structural features of the '<em>ALS Iden</em>' class.
1866 * <!-- begin-user-doc -->
1867 * <!-- end-user-doc -->
1868 * @generated
1869 * @ordered
1870 */
1871 int ALS_IDEN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1872
1873 /**
1874 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class.
1875 * <!-- begin-user-doc -->
1876 * <!-- end-user-doc -->
1877 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl
1878 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv()
1879 * @generated
1880 */
1881 int ALS_UNIV = 49;
1882
1883 /**
1884 * The number of structural features of the '<em>ALS Univ</em>' class.
1885 * <!-- begin-user-doc -->
1886 * <!-- end-user-doc -->
1887 * @generated
1888 * @ordered
1889 */
1890 int ALS_UNIV_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1891
1892 /**
1893 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class.
1894 * <!-- begin-user-doc -->
1895 * <!-- end-user-doc -->
1896 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl
1897 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt()
1898 * @generated
1899 */
1900 int ALS_INT = 50;
1901
1902 /**
1903 * The number of structural features of the '<em>ALS Int</em>' class.
1904 * <!-- begin-user-doc -->
1905 * <!-- end-user-doc -->
1906 * @generated
1907 * @ordered
1908 */
1909 int ALS_INT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1910
1911 /**
1912 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl <em>ALS String</em>}' class.
1913 * <!-- begin-user-doc -->
1914 * <!-- end-user-doc -->
1915 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl
1916 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSString()
1917 * @generated
1918 */
1919 int ALS_STRING = 51;
1920
1921 /**
1922 * The number of structural features of the '<em>ALS String</em>' class.
1923 * <!-- begin-user-doc -->
1924 * <!-- end-user-doc -->
1925 * @generated
1926 * @ordered
1927 */
1928 int ALS_STRING_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1929
1930 /**
1931 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class.
1932 * <!-- begin-user-doc -->
1933 * <!-- end-user-doc -->
1934 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl
1935 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference()
1936 * @generated
1937 */
1938 int ALS_REFERENCE = 52;
1939
1940 /**
1941 * The feature id for the '<em><b>Referred</b></em>' reference.
1942 * <!-- begin-user-doc -->
1943 * <!-- end-user-doc -->
1944 * @generated
1945 * @ordered
1946 */
1947 int ALS_REFERENCE__REFERRED = ALS_TERM_FEATURE_COUNT + 0;
1948
1949 /**
1950 * The number of structural features of the '<em>ALS Reference</em>' class.
1951 * <!-- begin-user-doc -->
1952 * <!-- end-user-doc -->
1953 * @generated
1954 * @ordered
1955 */
1956 int ALS_REFERENCE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1957
1958 /**
1959 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class.
1960 * <!-- begin-user-doc -->
1961 * <!-- end-user-doc -->
1962 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl
1963 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral()
1964 * @generated
1965 */
1966 int ALS_NUMBER_LITERAL = 53;
1967
1968 /**
1969 * The feature id for the '<em><b>Value</b></em>' attribute.
1970 * <!-- begin-user-doc -->
1971 * <!-- end-user-doc -->
1972 * @generated
1973 * @ordered
1974 */
1975 int ALS_NUMBER_LITERAL__VALUE = ALS_TERM_FEATURE_COUNT + 0;
1976
1977 /**
1978 * The number of structural features of the '<em>ALS Number Literal</em>' class.
1979 * <!-- begin-user-doc -->
1980 * <!-- end-user-doc -->
1981 * @generated
1982 * @ordered
1983 */
1984 int ALS_NUMBER_LITERAL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1985
1986 /**
1987 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl <em>ALS String Literal</em>}' class.
1988 * <!-- begin-user-doc -->
1989 * <!-- end-user-doc -->
1990 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl
1991 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringLiteral()
1992 * @generated
1993 */
1994 int ALS_STRING_LITERAL = 54;
1995
1996 /**
1997 * The feature id for the '<em><b>Value</b></em>' attribute.
1998 * <!-- begin-user-doc -->
1999 * <!-- end-user-doc -->
2000 * @generated
2001 * @ordered
2002 */
2003 int ALS_STRING_LITERAL__VALUE = ALS_TERM_FEATURE_COUNT + 0;
2004
2005 /**
2006 * The number of structural features of the '<em>ALS String Literal</em>' class.
2007 * <!-- begin-user-doc -->
2008 * <!-- end-user-doc -->
2009 * @generated
2010 * @ordered
2011 */
2012 int ALS_STRING_LITERAL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
2013
2014 /**
2015 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum.
2016 * <!-- begin-user-doc -->
2017 * <!-- end-user-doc -->
2018 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
2019 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity()
2020 * @generated
2021 */
2022 int ALS_MULTIPLICITY = 55;
2023
2024 /**
2025 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum.
2026 * <!-- begin-user-doc -->
2027 * <!-- end-user-doc -->
2028 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
2029 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator()
2030 * @generated
2031 */
2032 int ALS_NUMERIC_OPERATOR = 56;
2033
2034
2035 /**
2036 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'.
2037 * <!-- begin-user-doc -->
2038 * <!-- end-user-doc -->
2039 * @return the meta object for class '<em>ALS Document</em>'.
2040 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
2041 * @generated
2042 */
2043 EClass getALSDocument();
2044
2045 /**
2046 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations <em>Enum Declarations</em>}'.
2047 * <!-- begin-user-doc -->
2048 * <!-- end-user-doc -->
2049 * @return the meta object for the containment reference list '<em>Enum Declarations</em>'.
2050 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations()
2051 * @see #getALSDocument()
2052 * @generated
2053 */
2054 EReference getALSDocument_EnumDeclarations();
2055
2056 /**
2057 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies <em>Signature Bodies</em>}'.
2058 * <!-- begin-user-doc -->
2059 * <!-- end-user-doc -->
2060 * @return the meta object for the containment reference list '<em>Signature Bodies</em>'.
2061 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies()
2062 * @see #getALSDocument()
2063 * @generated
2064 */
2065 EReference getALSDocument_SignatureBodies();
2066
2067 /**
2068 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions <em>Function Definitions</em>}'.
2069 * <!-- begin-user-doc -->
2070 * <!-- end-user-doc -->
2071 * @return the meta object for the containment reference list '<em>Function Definitions</em>'.
2072 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions()
2073 * @see #getALSDocument()
2074 * @generated
2075 */
2076 EReference getALSDocument_FunctionDefinitions();
2077
2078 /**
2079 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions <em>Relation Definitions</em>}'.
2080 * <!-- begin-user-doc -->
2081 * <!-- end-user-doc -->
2082 * @return the meta object for the containment reference list '<em>Relation Definitions</em>'.
2083 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions()
2084 * @see #getALSDocument()
2085 * @generated
2086 */
2087 EReference getALSDocument_RelationDefinitions();
2088
2089 /**
2090 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations <em>Fact Declarations</em>}'.
2091 * <!-- begin-user-doc -->
2092 * <!-- end-user-doc -->
2093 * @return the meta object for the containment reference list '<em>Fact Declarations</em>'.
2094 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations()
2095 * @see #getALSDocument()
2096 * @generated
2097 */
2098 EReference getALSDocument_FactDeclarations();
2099
2100 /**
2101 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}'.
2102 * <!-- begin-user-doc -->
2103 * <!-- end-user-doc -->
2104 * @return the meta object for the containment reference '<em>Run Command</em>'.
2105 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand()
2106 * @see #getALSDocument()
2107 * @generated
2108 */
2109 EReference getALSDocument_RunCommand();
2110
2111 /**
2112 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</em>}'.
2113 * <!-- begin-user-doc -->
2114 * <!-- end-user-doc -->
2115 * @return the meta object for class '<em>ALS Relation Declaration</em>'.
2116 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration
2117 * @generated
2118 */
2119 EClass getALSRelationDeclaration();
2120
2121 /**
2122 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}'.
2123 * <!-- begin-user-doc -->
2124 * <!-- end-user-doc -->
2125 * @return the meta object for the attribute '<em>Name</em>'.
2126 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName()
2127 * @see #getALSRelationDeclaration()
2128 * @generated
2129 */
2130 EAttribute getALSRelationDeclaration_Name();
2131
2132 /**
2133 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type Declaration</em>}'.
2134 * <!-- begin-user-doc -->
2135 * <!-- end-user-doc -->
2136 * @return the meta object for class '<em>ALS Type Declaration</em>'.
2137 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration
2138 * @generated
2139 */
2140 EClass getALSTypeDeclaration();
2141
2142 /**
2143 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum Declaration</em>}'.
2144 * <!-- begin-user-doc -->
2145 * <!-- end-user-doc -->
2146 * @return the meta object for class '<em>ALS Enum Declaration</em>'.
2147 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration
2148 * @generated
2149 */
2150 EClass getALSEnumDeclaration();
2151
2152 /**
2153 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral <em>Literal</em>}'.
2154 * <!-- begin-user-doc -->
2155 * <!-- end-user-doc -->
2156 * @return the meta object for the containment reference list '<em>Literal</em>'.
2157 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral()
2158 * @see #getALSEnumDeclaration()
2159 * @generated
2160 */
2161 EReference getALSEnumDeclaration_Literal();
2162
2163 /**
2164 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</em>}'.
2165 * <!-- begin-user-doc -->
2166 * <!-- end-user-doc -->
2167 * @return the meta object for class '<em>ALS Enum Literal</em>'.
2168 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral
2169 * @generated
2170 */
2171 EClass getALSEnumLiteral();
2172
2173 /**
2174 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</em>}'.
2175 * <!-- begin-user-doc -->
2176 * <!-- end-user-doc -->
2177 * @return the meta object for class '<em>ALS Signature Declaration</em>'.
2178 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
2179 * @generated
2180 */
2181 EClass getALSSignatureDeclaration();
2182
2183 /**
2184 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</em>}'.
2185 * <!-- begin-user-doc -->
2186 * <!-- end-user-doc -->
2187 * @return the meta object for class '<em>ALS Signature Body</em>'.
2188 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
2189 * @generated
2190 */
2191 EClass getALSSignatureBody();
2192
2193 /**
2194 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}'.
2195 * <!-- begin-user-doc -->
2196 * <!-- end-user-doc -->
2197 * @return the meta object for the attribute '<em>Multiplicity</em>'.
2198 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity()
2199 * @see #getALSSignatureBody()
2200 * @generated
2201 */
2202 EAttribute getALSSignatureBody_Multiplicity();
2203
2204 /**
2205 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}'.
2206 * <!-- begin-user-doc -->
2207 * <!-- end-user-doc -->
2208 * @return the meta object for the attribute '<em>Abstract</em>'.
2209 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract()
2210 * @see #getALSSignatureBody()
2211 * @generated
2212 */
2213 EAttribute getALSSignatureBody_Abstract();
2214
2215 /**
2216 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations <em>Declarations</em>}'.
2217 * <!-- begin-user-doc -->
2218 * <!-- end-user-doc -->
2219 * @return the meta object for the containment reference list '<em>Declarations</em>'.
2220 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations()
2221 * @see #getALSSignatureBody()
2222 * @generated
2223 */
2224 EReference getALSSignatureBody_Declarations();
2225
2226 /**
2227 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}'.
2228 * <!-- begin-user-doc -->
2229 * <!-- end-user-doc -->
2230 * @return the meta object for the reference '<em>Supertype</em>'.
2231 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype()
2232 * @see #getALSSignatureBody()
2233 * @generated
2234 */
2235 EReference getALSSignatureBody_Supertype();
2236
2237 /**
2238 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset <em>Superset</em>}'.
2239 * <!-- begin-user-doc -->
2240 * <!-- end-user-doc -->
2241 * @return the meta object for the reference list '<em>Superset</em>'.
2242 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset()
2243 * @see #getALSSignatureBody()
2244 * @generated
2245 */
2246 EReference getALSSignatureBody_Superset();
2247
2248 /**
2249 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields <em>Fields</em>}'.
2250 * <!-- begin-user-doc -->
2251 * <!-- end-user-doc -->
2252 * @return the meta object for the containment reference list '<em>Fields</em>'.
2253 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields()
2254 * @see #getALSSignatureBody()
2255 * @generated
2256 */
2257 EReference getALSSignatureBody_Fields();
2258
2259 /**
2260 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</em>}'.
2261 * <!-- begin-user-doc -->
2262 * <!-- end-user-doc -->
2263 * @return the meta object for class '<em>ALS Field Declaration</em>'.
2264 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration
2265 * @generated
2266 */
2267 EClass getALSFieldDeclaration();
2268
2269 /**
2270 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}'.
2271 * <!-- begin-user-doc -->
2272 * <!-- end-user-doc -->
2273 * @return the meta object for the attribute '<em>Multiplicity</em>'.
2274 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity()
2275 * @see #getALSFieldDeclaration()
2276 * @generated
2277 */
2278 EAttribute getALSFieldDeclaration_Multiplicity();
2279
2280 /**
2281 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}'.
2282 * <!-- begin-user-doc -->
2283 * <!-- end-user-doc -->
2284 * @return the meta object for the containment reference '<em>Type</em>'.
2285 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType()
2286 * @see #getALSFieldDeclaration()
2287 * @generated
2288 */
2289 EReference getALSFieldDeclaration_Type();
2290
2291 /**
2292 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</em>}'.
2293 * <!-- begin-user-doc -->
2294 * <!-- end-user-doc -->
2295 * @return the meta object for class '<em>ALS Definition</em>'.
2296 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition
2297 * @generated
2298 */
2299 EClass getALSDefinition();
2300
2301 /**
2302 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName <em>Name</em>}'.
2303 * <!-- begin-user-doc -->
2304 * <!-- end-user-doc -->
2305 * @return the meta object for the attribute '<em>Name</em>'.
2306 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName()
2307 * @see #getALSDefinition()
2308 * @generated
2309 */
2310 EAttribute getALSDefinition_Name();
2311
2312 /**
2313 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables <em>Variables</em>}'.
2314 * <!-- begin-user-doc -->
2315 * <!-- end-user-doc -->
2316 * @return the meta object for the containment reference list '<em>Variables</em>'.
2317 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables()
2318 * @see #getALSDefinition()
2319 * @generated
2320 */
2321 EReference getALSDefinition_Variables();
2322
2323 /**
2324 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}'.
2325 * <!-- begin-user-doc -->
2326 * <!-- end-user-doc -->
2327 * @return the meta object for the containment reference '<em>Value</em>'.
2328 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue()
2329 * @see #getALSDefinition()
2330 * @generated
2331 */
2332 EReference getALSDefinition_Value();
2333
2334 /**
2335 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function Definition</em>}'.
2336 * <!-- begin-user-doc -->
2337 * <!-- end-user-doc -->
2338 * @return the meta object for class '<em>ALS Function Definition</em>'.
2339 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition
2340 * @generated
2341 */
2342 EClass getALSFunctionDefinition();
2343
2344 /**
2345 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}'.
2346 * <!-- begin-user-doc -->
2347 * <!-- end-user-doc -->
2348 * @return the meta object for the containment reference '<em>Type</em>'.
2349 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType()
2350 * @see #getALSFunctionDefinition()
2351 * @generated
2352 */
2353 EReference getALSFunctionDefinition_Type();
2354
2355 /**
2356 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation Definition</em>}'.
2357 * <!-- begin-user-doc -->
2358 * <!-- end-user-doc -->
2359 * @return the meta object for class '<em>ALS Relation Definition</em>'.
2360 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition
2361 * @generated
2362 */
2363 EClass getALSRelationDefinition();
2364
2365 /**
2366 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</em>}'.
2367 * <!-- begin-user-doc -->
2368 * <!-- end-user-doc -->
2369 * @return the meta object for class '<em>ALS Fact Declaration</em>'.
2370 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration
2371 * @generated
2372 */
2373 EClass getALSFactDeclaration();
2374
2375 /**
2376 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}'.
2377 * <!-- begin-user-doc -->
2378 * <!-- end-user-doc -->
2379 * @return the meta object for the attribute '<em>Name</em>'.
2380 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName()
2381 * @see #getALSFactDeclaration()
2382 * @generated
2383 */
2384 EAttribute getALSFactDeclaration_Name();
2385
2386 /**
2387 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}'.
2388 * <!-- begin-user-doc -->
2389 * <!-- end-user-doc -->
2390 * @return the meta object for the containment reference '<em>Term</em>'.
2391 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm()
2392 * @see #getALSFactDeclaration()
2393 * @generated
2394 */
2395 EReference getALSFactDeclaration_Term();
2396
2397 /**
2398 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</em>}'.
2399 * <!-- begin-user-doc -->
2400 * <!-- end-user-doc -->
2401 * @return the meta object for class '<em>ALS Term</em>'.
2402 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
2403 * @generated
2404 */
2405 EClass getALSTerm();
2406
2407 /**
2408 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</em>}'.
2409 * <!-- begin-user-doc -->
2410 * <!-- end-user-doc -->
2411 * @return the meta object for class '<em>ALS Variable Declaration</em>'.
2412 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration
2413 * @generated
2414 */
2415 EClass getALSVariableDeclaration();
2416
2417 /**
2418 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}'.
2419 * <!-- begin-user-doc -->
2420 * <!-- end-user-doc -->
2421 * @return the meta object for the containment reference '<em>Range</em>'.
2422 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange()
2423 * @see #getALSVariableDeclaration()
2424 * @generated
2425 */
2426 EReference getALSVariableDeclaration_Range();
2427
2428 /**
2429 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</em>}'.
2430 * <!-- begin-user-doc -->
2431 * <!-- end-user-doc -->
2432 * @return the meta object for class '<em>ALS Run Command</em>'.
2433 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand
2434 * @generated
2435 */
2436 EClass getALSRunCommand();
2437
2438 /**
2439 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes <em>Type Scopes</em>}'.
2440 * <!-- begin-user-doc -->
2441 * <!-- end-user-doc -->
2442 * @return the meta object for the containment reference list '<em>Type Scopes</em>'.
2443 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes()
2444 * @see #getALSRunCommand()
2445 * @generated
2446 */
2447 EReference getALSRunCommand_TypeScopes();
2448
2449 /**
2450 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</em>}'.
2451 * <!-- begin-user-doc -->
2452 * <!-- end-user-doc -->
2453 * @return the meta object for class '<em>ALS Type Scope</em>'.
2454 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope
2455 * @generated
2456 */
2457 EClass getALSTypeScope();
2458
2459 /**
2460 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}'.
2461 * <!-- begin-user-doc -->
2462 * <!-- end-user-doc -->
2463 * @return the meta object for the attribute '<em>Number</em>'.
2464 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber()
2465 * @see #getALSTypeScope()
2466 * @generated
2467 */
2468 EAttribute getALSTypeScope_Number();
2469
2470 /**
2471 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig Scope</em>}'.
2472 * <!-- begin-user-doc -->
2473 * <!-- end-user-doc -->
2474 * @return the meta object for class '<em>ALS Sig Scope</em>'.
2475 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope
2476 * @generated
2477 */
2478 EClass getALSSigScope();
2479
2480 /**
2481 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}'.
2482 * <!-- begin-user-doc -->
2483 * <!-- end-user-doc -->
2484 * @return the meta object for the attribute '<em>Exactly</em>'.
2485 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly()
2486 * @see #getALSSigScope()
2487 * @generated
2488 */
2489 EAttribute getALSSigScope_Exactly();
2490
2491 /**
2492 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}'.
2493 * <!-- begin-user-doc -->
2494 * <!-- end-user-doc -->
2495 * @return the meta object for the reference '<em>Type</em>'.
2496 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType()
2497 * @see #getALSSigScope()
2498 * @generated
2499 */
2500 EReference getALSSigScope_Type();
2501
2502 /**
2503 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int Scope</em>}'.
2504 * <!-- begin-user-doc -->
2505 * <!-- end-user-doc -->
2506 * @return the meta object for class '<em>ALS Int Scope</em>'.
2507 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope
2508 * @generated
2509 */
2510 EClass getALSIntScope();
2511
2512 /**
2513 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope <em>ALS String Scope</em>}'.
2514 * <!-- begin-user-doc -->
2515 * <!-- end-user-doc -->
2516 * @return the meta object for class '<em>ALS String Scope</em>'.
2517 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope
2518 * @generated
2519 */
2520 EClass getALSStringScope();
2521
2522 /**
2523 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</em>}'.
2524 * <!-- begin-user-doc -->
2525 * <!-- end-user-doc -->
2526 * @return the meta object for class '<em>ALS Quantified Ex</em>'.
2527 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx
2528 * @generated
2529 */
2530 EClass getALSQuantifiedEx();
2531
2532 /**
2533 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}'.
2534 * <!-- begin-user-doc -->
2535 * <!-- end-user-doc -->
2536 * @return the meta object for the attribute '<em>Type</em>'.
2537 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType()
2538 * @see #getALSQuantifiedEx()
2539 * @generated
2540 */
2541 EAttribute getALSQuantifiedEx_Type();
2542
2543 /**
2544 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}'.
2545 * <!-- begin-user-doc -->
2546 * <!-- end-user-doc -->
2547 * @return the meta object for the attribute '<em>Disj</em>'.
2548 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj()
2549 * @see #getALSQuantifiedEx()
2550 * @generated
2551 */
2552 EAttribute getALSQuantifiedEx_Disj();
2553
2554 /**
2555 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables <em>Variables</em>}'.
2556 * <!-- begin-user-doc -->
2557 * <!-- end-user-doc -->
2558 * @return the meta object for the containment reference list '<em>Variables</em>'.
2559 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables()
2560 * @see #getALSQuantifiedEx()
2561 * @generated
2562 */
2563 EReference getALSQuantifiedEx_Variables();
2564
2565 /**
2566 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}'.
2567 * <!-- begin-user-doc -->
2568 * <!-- end-user-doc -->
2569 * @return the meta object for the containment reference '<em>Expression</em>'.
2570 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression()
2571 * @see #getALSQuantifiedEx()
2572 * @generated
2573 */
2574 EReference getALSQuantifiedEx_Expression();
2575
2576 /**
2577 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</em>}'.
2578 * <!-- begin-user-doc -->
2579 * <!-- end-user-doc -->
2580 * @return the meta object for class '<em>ALS Or</em>'.
2581 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr
2582 * @generated
2583 */
2584 EClass getALSOr();
2585
2586 /**
2587 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}'.
2588 * <!-- begin-user-doc -->
2589 * <!-- end-user-doc -->
2590 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2591 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand()
2592 * @see #getALSOr()
2593 * @generated
2594 */
2595 EReference getALSOr_LeftOperand();
2596
2597 /**
2598 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}'.
2599 * <!-- begin-user-doc -->
2600 * <!-- end-user-doc -->
2601 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2602 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand()
2603 * @see #getALSOr()
2604 * @generated
2605 */
2606 EReference getALSOr_RightOperand();
2607
2608 /**
2609 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</em>}'.
2610 * <!-- begin-user-doc -->
2611 * <!-- end-user-doc -->
2612 * @return the meta object for class '<em>ALS Iff</em>'.
2613 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff
2614 * @generated
2615 */
2616 EClass getALSIff();
2617
2618 /**
2619 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}'.
2620 * <!-- begin-user-doc -->
2621 * <!-- end-user-doc -->
2622 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2623 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand()
2624 * @see #getALSIff()
2625 * @generated
2626 */
2627 EReference getALSIff_LeftOperand();
2628
2629 /**
2630 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}'.
2631 * <!-- begin-user-doc -->
2632 * <!-- end-user-doc -->
2633 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2634 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand()
2635 * @see #getALSIff()
2636 * @generated
2637 */
2638 EReference getALSIff_RightOperand();
2639
2640 /**
2641 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</em>}'.
2642 * <!-- begin-user-doc -->
2643 * <!-- end-user-doc -->
2644 * @return the meta object for class '<em>ALS Impl</em>'.
2645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl
2646 * @generated
2647 */
2648 EClass getALSImpl();
2649
2650 /**
2651 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}'.
2652 * <!-- begin-user-doc -->
2653 * <!-- end-user-doc -->
2654 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2655 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand()
2656 * @see #getALSImpl()
2657 * @generated
2658 */
2659 EReference getALSImpl_LeftOperand();
2660
2661 /**
2662 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}'.
2663 * <!-- begin-user-doc -->
2664 * <!-- end-user-doc -->
2665 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2666 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand()
2667 * @see #getALSImpl()
2668 * @generated
2669 */
2670 EReference getALSImpl_RightOperand();
2671
2672 /**
2673 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}'.
2674 * <!-- begin-user-doc -->
2675 * <!-- end-user-doc -->
2676 * @return the meta object for the containment reference '<em>Else Operand</em>'.
2677 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand()
2678 * @see #getALSImpl()
2679 * @generated
2680 */
2681 EReference getALSImpl_ElseOperand();
2682
2683 /**
2684 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</em>}'.
2685 * <!-- begin-user-doc -->
2686 * <!-- end-user-doc -->
2687 * @return the meta object for class '<em>ALS And</em>'.
2688 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd
2689 * @generated
2690 */
2691 EClass getALSAnd();
2692
2693 /**
2694 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}'.
2695 * <!-- begin-user-doc -->
2696 * <!-- end-user-doc -->
2697 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2698 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand()
2699 * @see #getALSAnd()
2700 * @generated
2701 */
2702 EReference getALSAnd_LeftOperand();
2703
2704 /**
2705 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}'.
2706 * <!-- begin-user-doc -->
2707 * <!-- end-user-doc -->
2708 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2709 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand()
2710 * @see #getALSAnd()
2711 * @generated
2712 */
2713 EReference getALSAnd_RightOperand();
2714
2715 /**
2716 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</em>}'.
2717 * <!-- begin-user-doc -->
2718 * <!-- end-user-doc -->
2719 * @return the meta object for class '<em>ALS Equals</em>'.
2720 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals
2721 * @generated
2722 */
2723 EClass getALSEquals();
2724
2725 /**
2726 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}'.
2727 * <!-- begin-user-doc -->
2728 * <!-- end-user-doc -->
2729 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2730 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand()
2731 * @see #getALSEquals()
2732 * @generated
2733 */
2734 EReference getALSEquals_LeftOperand();
2735
2736 /**
2737 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}'.
2738 * <!-- begin-user-doc -->
2739 * <!-- end-user-doc -->
2740 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2741 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand()
2742 * @see #getALSEquals()
2743 * @generated
2744 */
2745 EReference getALSEquals_RightOperand();
2746
2747 /**
2748 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</em>}'.
2749 * <!-- begin-user-doc -->
2750 * <!-- end-user-doc -->
2751 * @return the meta object for class '<em>ALS Not Equals</em>'.
2752 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals
2753 * @generated
2754 */
2755 EClass getALSNotEquals();
2756
2757 /**
2758 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}'.
2759 * <!-- begin-user-doc -->
2760 * <!-- end-user-doc -->
2761 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2762 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand()
2763 * @see #getALSNotEquals()
2764 * @generated
2765 */
2766 EReference getALSNotEquals_LeftOperand();
2767
2768 /**
2769 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}'.
2770 * <!-- begin-user-doc -->
2771 * <!-- end-user-doc -->
2772 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2773 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand()
2774 * @see #getALSNotEquals()
2775 * @generated
2776 */
2777 EReference getALSNotEquals_RightOperand();
2778
2779 /**
2780 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</em>}'.
2781 * <!-- begin-user-doc -->
2782 * <!-- end-user-doc -->
2783 * @return the meta object for class '<em>ALS Subset</em>'.
2784 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset
2785 * @generated
2786 */
2787 EClass getALSSubset();
2788
2789 /**
2790 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}'.
2791 * <!-- begin-user-doc -->
2792 * <!-- end-user-doc -->
2793 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2794 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand()
2795 * @see #getALSSubset()
2796 * @generated
2797 */
2798 EReference getALSSubset_LeftOperand();
2799
2800 /**
2801 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}'.
2802 * <!-- begin-user-doc -->
2803 * <!-- end-user-doc -->
2804 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2805 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand()
2806 * @see #getALSSubset()
2807 * @generated
2808 */
2809 EReference getALSSubset_RightOperand();
2810
2811 /**
2812 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</em>}'.
2813 * <!-- begin-user-doc -->
2814 * <!-- end-user-doc -->
2815 * @return the meta object for class '<em>ALS Less</em>'.
2816 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess
2817 * @generated
2818 */
2819 EClass getALSLess();
2820
2821 /**
2822 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}'.
2823 * <!-- begin-user-doc -->
2824 * <!-- end-user-doc -->
2825 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2826 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand()
2827 * @see #getALSLess()
2828 * @generated
2829 */
2830 EReference getALSLess_LeftOperand();
2831
2832 /**
2833 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}'.
2834 * <!-- begin-user-doc -->
2835 * <!-- end-user-doc -->
2836 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2837 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand()
2838 * @see #getALSLess()
2839 * @generated
2840 */
2841 EReference getALSLess_RightOperand();
2842
2843 /**
2844 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</em>}'.
2845 * <!-- begin-user-doc -->
2846 * <!-- end-user-doc -->
2847 * @return the meta object for class '<em>ALS Leq</em>'.
2848 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq
2849 * @generated
2850 */
2851 EClass getALSLeq();
2852
2853 /**
2854 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}'.
2855 * <!-- begin-user-doc -->
2856 * <!-- end-user-doc -->
2857 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2858 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand()
2859 * @see #getALSLeq()
2860 * @generated
2861 */
2862 EReference getALSLeq_LeftOperand();
2863
2864 /**
2865 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}'.
2866 * <!-- begin-user-doc -->
2867 * <!-- end-user-doc -->
2868 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2869 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand()
2870 * @see #getALSLeq()
2871 * @generated
2872 */
2873 EReference getALSLeq_RightOperand();
2874
2875 /**
2876 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</em>}'.
2877 * <!-- begin-user-doc -->
2878 * <!-- end-user-doc -->
2879 * @return the meta object for class '<em>ALS More</em>'.
2880 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore
2881 * @generated
2882 */
2883 EClass getALSMore();
2884
2885 /**
2886 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}'.
2887 * <!-- begin-user-doc -->
2888 * <!-- end-user-doc -->
2889 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2890 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand()
2891 * @see #getALSMore()
2892 * @generated
2893 */
2894 EReference getALSMore_LeftOperand();
2895
2896 /**
2897 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}'.
2898 * <!-- begin-user-doc -->
2899 * <!-- end-user-doc -->
2900 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2901 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand()
2902 * @see #getALSMore()
2903 * @generated
2904 */
2905 EReference getALSMore_RightOperand();
2906
2907 /**
2908 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</em>}'.
2909 * <!-- begin-user-doc -->
2910 * <!-- end-user-doc -->
2911 * @return the meta object for class '<em>ALS Meq</em>'.
2912 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq
2913 * @generated
2914 */
2915 EClass getALSMeq();
2916
2917 /**
2918 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}'.
2919 * <!-- begin-user-doc -->
2920 * <!-- end-user-doc -->
2921 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2922 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand()
2923 * @see #getALSMeq()
2924 * @generated
2925 */
2926 EReference getALSMeq_LeftOperand();
2927
2928 /**
2929 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}'.
2930 * <!-- begin-user-doc -->
2931 * <!-- end-user-doc -->
2932 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2933 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand()
2934 * @see #getALSMeq()
2935 * @generated
2936 */
2937 EReference getALSMeq_RightOperand();
2938
2939 /**
2940 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</em>}'.
2941 * <!-- begin-user-doc -->
2942 * <!-- end-user-doc -->
2943 * @return the meta object for class '<em>ALS Override</em>'.
2944 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride
2945 * @generated
2946 */
2947 EClass getALSOverride();
2948
2949 /**
2950 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}'.
2951 * <!-- begin-user-doc -->
2952 * <!-- end-user-doc -->
2953 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2954 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand()
2955 * @see #getALSOverride()
2956 * @generated
2957 */
2958 EReference getALSOverride_LeftOperand();
2959
2960 /**
2961 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}'.
2962 * <!-- begin-user-doc -->
2963 * <!-- end-user-doc -->
2964 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2965 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand()
2966 * @see #getALSOverride()
2967 * @generated
2968 */
2969 EReference getALSOverride_RightOperand();
2970
2971 /**
2972 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</em>}'.
2973 * <!-- begin-user-doc -->
2974 * <!-- end-user-doc -->
2975 * @return the meta object for class '<em>ALS Range Restriction Right</em>'.
2976 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight
2977 * @generated
2978 */
2979 EClass getALSRangeRestrictionRight();
2980
2981 /**
2982 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}'.
2983 * <!-- begin-user-doc -->
2984 * <!-- end-user-doc -->
2985 * @return the meta object for the containment reference '<em>Relation</em>'.
2986 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation()
2987 * @see #getALSRangeRestrictionRight()
2988 * @generated
2989 */
2990 EReference getALSRangeRestrictionRight_Relation();
2991
2992 /**
2993 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}'.
2994 * <!-- begin-user-doc -->
2995 * <!-- end-user-doc -->
2996 * @return the meta object for the containment reference '<em>Filter</em>'.
2997 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter()
2998 * @see #getALSRangeRestrictionRight()
2999 * @generated
3000 */
3001 EReference getALSRangeRestrictionRight_Filter();
3002
3003 /**
3004 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</em>}'.
3005 * <!-- begin-user-doc -->
3006 * <!-- end-user-doc -->
3007 * @return the meta object for class '<em>ALS Range Restriction Left</em>'.
3008 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft
3009 * @generated
3010 */
3011 EClass getALSRangeRestrictionLeft();
3012
3013 /**
3014 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}'.
3015 * <!-- begin-user-doc -->
3016 * <!-- end-user-doc -->
3017 * @return the meta object for the containment reference '<em>Filter</em>'.
3018 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter()
3019 * @see #getALSRangeRestrictionLeft()
3020 * @generated
3021 */
3022 EReference getALSRangeRestrictionLeft_Filter();
3023
3024 /**
3025 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}'.
3026 * <!-- begin-user-doc -->
3027 * <!-- end-user-doc -->
3028 * @return the meta object for the containment reference '<em>Relation</em>'.
3029 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation()
3030 * @see #getALSRangeRestrictionLeft()
3031 * @generated
3032 */
3033 EReference getALSRangeRestrictionLeft_Relation();
3034
3035 /**
3036 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</em>}'.
3037 * <!-- begin-user-doc -->
3038 * <!-- end-user-doc -->
3039 * @return the meta object for class '<em>ALS Join</em>'.
3040 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin
3041 * @generated
3042 */
3043 EClass getALSJoin();
3044
3045 /**
3046 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}'.
3047 * <!-- begin-user-doc -->
3048 * <!-- end-user-doc -->
3049 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3050 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand()
3051 * @see #getALSJoin()
3052 * @generated
3053 */
3054 EReference getALSJoin_LeftOperand();
3055
3056 /**
3057 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}'.
3058 * <!-- begin-user-doc -->
3059 * <!-- end-user-doc -->
3060 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3061 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand()
3062 * @see #getALSJoin()
3063 * @generated
3064 */
3065 EReference getALSJoin_RightOperand();
3066
3067 /**
3068 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</em>}'.
3069 * <!-- begin-user-doc -->
3070 * <!-- end-user-doc -->
3071 * @return the meta object for class '<em>ALS Minus</em>'.
3072 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus
3073 * @generated
3074 */
3075 EClass getALSMinus();
3076
3077 /**
3078 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}'.
3079 * <!-- begin-user-doc -->
3080 * <!-- end-user-doc -->
3081 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3082 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand()
3083 * @see #getALSMinus()
3084 * @generated
3085 */
3086 EReference getALSMinus_LeftOperand();
3087
3088 /**
3089 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}'.
3090 * <!-- begin-user-doc -->
3091 * <!-- end-user-doc -->
3092 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3093 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand()
3094 * @see #getALSMinus()
3095 * @generated
3096 */
3097 EReference getALSMinus_RightOperand();
3098
3099 /**
3100 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</em>}'.
3101 * <!-- begin-user-doc -->
3102 * <!-- end-user-doc -->
3103 * @return the meta object for class '<em>ALS Plus</em>'.
3104 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus
3105 * @generated
3106 */
3107 EClass getALSPlus();
3108
3109 /**
3110 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}'.
3111 * <!-- begin-user-doc -->
3112 * <!-- end-user-doc -->
3113 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3114 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand()
3115 * @see #getALSPlus()
3116 * @generated
3117 */
3118 EReference getALSPlus_LeftOperand();
3119
3120 /**
3121 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}'.
3122 * <!-- begin-user-doc -->
3123 * <!-- end-user-doc -->
3124 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3125 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand()
3126 * @see #getALSPlus()
3127 * @generated
3128 */
3129 EReference getALSPlus_RightOperand();
3130
3131 /**
3132 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</em>}'.
3133 * <!-- begin-user-doc -->
3134 * <!-- end-user-doc -->
3135 * @return the meta object for class '<em>ALS Intersection</em>'.
3136 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection
3137 * @generated
3138 */
3139 EClass getALSIntersection();
3140
3141 /**
3142 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}'.
3143 * <!-- begin-user-doc -->
3144 * <!-- end-user-doc -->
3145 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3146 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand()
3147 * @see #getALSIntersection()
3148 * @generated
3149 */
3150 EReference getALSIntersection_LeftOperand();
3151
3152 /**
3153 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}'.
3154 * <!-- begin-user-doc -->
3155 * <!-- end-user-doc -->
3156 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3157 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand()
3158 * @see #getALSIntersection()
3159 * @generated
3160 */
3161 EReference getALSIntersection_RightOperand();
3162
3163 /**
3164 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</em>}'.
3165 * <!-- begin-user-doc -->
3166 * <!-- end-user-doc -->
3167 * @return the meta object for class '<em>ALS Direct Product</em>'.
3168 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct
3169 * @generated
3170 */
3171 EClass getALSDirectProduct();
3172
3173 /**
3174 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}'.
3175 * <!-- begin-user-doc -->
3176 * <!-- end-user-doc -->
3177 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3178 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand()
3179 * @see #getALSDirectProduct()
3180 * @generated
3181 */
3182 EReference getALSDirectProduct_LeftOperand();
3183
3184 /**
3185 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}'.
3186 * <!-- begin-user-doc -->
3187 * <!-- end-user-doc -->
3188 * @return the meta object for the attribute '<em>Left Multiplicit</em>'.
3189 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit()
3190 * @see #getALSDirectProduct()
3191 * @generated
3192 */
3193 EAttribute getALSDirectProduct_LeftMultiplicit();
3194
3195 /**
3196 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}'.
3197 * <!-- begin-user-doc -->
3198 * <!-- end-user-doc -->
3199 * @return the meta object for the attribute '<em>Right Multiplicit</em>'.
3200 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit()
3201 * @see #getALSDirectProduct()
3202 * @generated
3203 */
3204 EAttribute getALSDirectProduct_RightMultiplicit();
3205
3206 /**
3207 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}'.
3208 * <!-- begin-user-doc -->
3209 * <!-- end-user-doc -->
3210 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3211 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand()
3212 * @see #getALSDirectProduct()
3213 * @generated
3214 */
3215 EReference getALSDirectProduct_RightOperand();
3216
3217 /**
3218 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</em>}'.
3219 * <!-- begin-user-doc -->
3220 * <!-- end-user-doc -->
3221 * @return the meta object for class '<em>ALS Not</em>'.
3222 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot
3223 * @generated
3224 */
3225 EClass getALSNot();
3226
3227 /**
3228 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}'.
3229 * <!-- begin-user-doc -->
3230 * <!-- end-user-doc -->
3231 * @return the meta object for the containment reference '<em>Operand</em>'.
3232 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand()
3233 * @see #getALSNot()
3234 * @generated
3235 */
3236 EReference getALSNot_Operand();
3237
3238 /**
3239 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</em>}'.
3240 * <!-- begin-user-doc -->
3241 * <!-- end-user-doc -->
3242 * @return the meta object for class '<em>ALS Inverse Relation</em>'.
3243 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation
3244 * @generated
3245 */
3246 EClass getALSInverseRelation();
3247
3248 /**
3249 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}'.
3250 * <!-- begin-user-doc -->
3251 * <!-- end-user-doc -->
3252 * @return the meta object for the containment reference '<em>Operand</em>'.
3253 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand()
3254 * @see #getALSInverseRelation()
3255 * @generated
3256 */
3257 EReference getALSInverseRelation_Operand();
3258
3259 /**
3260 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</em>}'.
3261 * <!-- begin-user-doc -->
3262 * <!-- end-user-doc -->
3263 * @return the meta object for class '<em>Al STransitive Closure</em>'.
3264 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure
3265 * @generated
3266 */
3267 EClass getAlSTransitiveClosure();
3268
3269 /**
3270 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}'.
3271 * <!-- begin-user-doc -->
3272 * <!-- end-user-doc -->
3273 * @return the meta object for the containment reference '<em>Operand</em>'.
3274 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand()
3275 * @see #getAlSTransitiveClosure()
3276 * @generated
3277 */
3278 EReference getAlSTransitiveClosure_Operand();
3279
3280 /**
3281 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</em>}'.
3282 * <!-- begin-user-doc -->
3283 * <!-- end-user-doc -->
3284 * @return the meta object for class '<em>ALS Reflective Transitive Closure</em>'.
3285 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure
3286 * @generated
3287 */
3288 EClass getALSReflectiveTransitiveClosure();
3289
3290 /**
3291 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}'.
3292 * <!-- begin-user-doc -->
3293 * <!-- end-user-doc -->
3294 * @return the meta object for the containment reference '<em>Operand</em>'.
3295 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand()
3296 * @see #getALSReflectiveTransitiveClosure()
3297 * @generated
3298 */
3299 EReference getALSReflectiveTransitiveClosure_Operand();
3300
3301 /**
3302 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</em>}'.
3303 * <!-- begin-user-doc -->
3304 * <!-- end-user-doc -->
3305 * @return the meta object for class '<em>ALS Cardinality</em>'.
3306 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality
3307 * @generated
3308 */
3309 EClass getALSCardinality();
3310
3311 /**
3312 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}'.
3313 * <!-- begin-user-doc -->
3314 * <!-- end-user-doc -->
3315 * @return the meta object for the containment reference '<em>Operand</em>'.
3316 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand()
3317 * @see #getALSCardinality()
3318 * @generated
3319 */
3320 EReference getALSCardinality_Operand();
3321
3322 /**
3323 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</em>}'.
3324 * <!-- begin-user-doc -->
3325 * <!-- end-user-doc -->
3326 * @return the meta object for class '<em>ALS Unary Minus</em>'.
3327 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus
3328 * @generated
3329 */
3330 EClass getALSUnaryMinus();
3331
3332 /**
3333 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}'.
3334 * <!-- begin-user-doc -->
3335 * <!-- end-user-doc -->
3336 * @return the meta object for the containment reference '<em>Operand</em>'.
3337 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand()
3338 * @see #getALSUnaryMinus()
3339 * @generated
3340 */
3341 EReference getALSUnaryMinus_Operand();
3342
3343 /**
3344 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</em>}'.
3345 * <!-- begin-user-doc -->
3346 * <!-- end-user-doc -->
3347 * @return the meta object for class '<em>ALS Sum</em>'.
3348 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum
3349 * @generated
3350 */
3351 EClass getALSSum();
3352
3353 /**
3354 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables <em>Variables</em>}'.
3355 * <!-- begin-user-doc -->
3356 * <!-- end-user-doc -->
3357 * @return the meta object for the containment reference list '<em>Variables</em>'.
3358 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables()
3359 * @see #getALSSum()
3360 * @generated
3361 */
3362 EReference getALSSum_Variables();
3363
3364 /**
3365 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}'.
3366 * <!-- begin-user-doc -->
3367 * <!-- end-user-doc -->
3368 * @return the meta object for the containment reference '<em>Expression</em>'.
3369 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression()
3370 * @see #getALSSum()
3371 * @generated
3372 */
3373 EReference getALSSum_Expression();
3374
3375 /**
3376 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</em>}'.
3377 * <!-- begin-user-doc -->
3378 * <!-- end-user-doc -->
3379 * @return the meta object for class '<em>ALS Function Call</em>'.
3380 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall
3381 * @generated
3382 */
3383 EClass getALSFunctionCall();
3384
3385 /**
3386 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}'.
3387 * <!-- begin-user-doc -->
3388 * <!-- end-user-doc -->
3389 * @return the meta object for the reference '<em>Referred Definition</em>'.
3390 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition()
3391 * @see #getALSFunctionCall()
3392 * @generated
3393 */
3394 EReference getALSFunctionCall_ReferredDefinition();
3395
3396 /**
3397 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}'.
3398 * <!-- begin-user-doc -->
3399 * <!-- end-user-doc -->
3400 * @return the meta object for the attribute '<em>Referred Numeric Operator</em>'.
3401 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator()
3402 * @see #getALSFunctionCall()
3403 * @generated
3404 */
3405 EAttribute getALSFunctionCall_ReferredNumericOperator();
3406
3407 /**
3408 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams <em>Params</em>}'.
3409 * <!-- begin-user-doc -->
3410 * <!-- end-user-doc -->
3411 * @return the meta object for the containment reference list '<em>Params</em>'.
3412 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams()
3413 * @see #getALSFunctionCall()
3414 * @generated
3415 */
3416 EReference getALSFunctionCall_Params();
3417
3418 /**
3419 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</em>}'.
3420 * <!-- begin-user-doc -->
3421 * <!-- end-user-doc -->
3422 * @return the meta object for class '<em>ALS None</em>'.
3423 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone
3424 * @generated
3425 */
3426 EClass getALSNone();
3427
3428 /**
3429 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</em>}'.
3430 * <!-- begin-user-doc -->
3431 * <!-- end-user-doc -->
3432 * @return the meta object for class '<em>ALS Iden</em>'.
3433 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden
3434 * @generated
3435 */
3436 EClass getALSIden();
3437
3438 /**
3439 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</em>}'.
3440 * <!-- begin-user-doc -->
3441 * <!-- end-user-doc -->
3442 * @return the meta object for class '<em>ALS Univ</em>'.
3443 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv
3444 * @generated
3445 */
3446 EClass getALSUniv();
3447
3448 /**
3449 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</em>}'.
3450 * <!-- begin-user-doc -->
3451 * <!-- end-user-doc -->
3452 * @return the meta object for class '<em>ALS Int</em>'.
3453 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt
3454 * @generated
3455 */
3456 EClass getALSInt();
3457
3458 /**
3459 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString <em>ALS String</em>}'.
3460 * <!-- begin-user-doc -->
3461 * <!-- end-user-doc -->
3462 * @return the meta object for class '<em>ALS String</em>'.
3463 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString
3464 * @generated
3465 */
3466 EClass getALSString();
3467
3468 /**
3469 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</em>}'.
3470 * <!-- begin-user-doc -->
3471 * <!-- end-user-doc -->
3472 * @return the meta object for class '<em>ALS Reference</em>'.
3473 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference
3474 * @generated
3475 */
3476 EClass getALSReference();
3477
3478 /**
3479 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}'.
3480 * <!-- begin-user-doc -->
3481 * <!-- end-user-doc -->
3482 * @return the meta object for the reference '<em>Referred</em>'.
3483 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred()
3484 * @see #getALSReference()
3485 * @generated
3486 */
3487 EReference getALSReference_Referred();
3488
3489 /**
3490 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</em>}'.
3491 * <!-- begin-user-doc -->
3492 * <!-- end-user-doc -->
3493 * @return the meta object for class '<em>ALS Number Literal</em>'.
3494 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral
3495 * @generated
3496 */
3497 EClass getALSNumberLiteral();
3498
3499 /**
3500 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}'.
3501 * <!-- begin-user-doc -->
3502 * <!-- end-user-doc -->
3503 * @return the meta object for the attribute '<em>Value</em>'.
3504 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue()
3505 * @see #getALSNumberLiteral()
3506 * @generated
3507 */
3508 EAttribute getALSNumberLiteral_Value();
3509
3510 /**
3511 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral <em>ALS String Literal</em>}'.
3512 * <!-- begin-user-doc -->
3513 * <!-- end-user-doc -->
3514 * @return the meta object for class '<em>ALS String Literal</em>'.
3515 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral
3516 * @generated
3517 */
3518 EClass getALSStringLiteral();
3519
3520 /**
3521 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}'.
3522 * <!-- begin-user-doc -->
3523 * <!-- end-user-doc -->
3524 * @return the meta object for the attribute '<em>Value</em>'.
3525 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue()
3526 * @see #getALSStringLiteral()
3527 * @generated
3528 */
3529 EAttribute getALSStringLiteral_Value();
3530
3531 /**
3532 * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}'.
3533 * <!-- begin-user-doc -->
3534 * <!-- end-user-doc -->
3535 * @return the meta object for enum '<em>ALS Multiplicity</em>'.
3536 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
3537 * @generated
3538 */
3539 EEnum getALSMultiplicity();
3540
3541 /**
3542 * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}'.
3543 * <!-- begin-user-doc -->
3544 * <!-- end-user-doc -->
3545 * @return the meta object for enum '<em>ALS Numeric Operator</em>'.
3546 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
3547 * @generated
3548 */
3549 EEnum getALSNumericOperator();
3550
3551 /**
3552 * Returns the factory that creates the instances of the model.
3553 * <!-- begin-user-doc -->
3554 * <!-- end-user-doc -->
3555 * @return the factory that creates the instances of the model.
3556 * @generated
3557 */
3558 AlloyLanguageFactory getAlloyLanguageFactory();
3559
3560 /**
3561 * <!-- begin-user-doc -->
3562 * Defines literals for the meta objects that represent
3563 * <ul>
3564 * <li>each class,</li>
3565 * <li>each feature of each class,</li>
3566 * <li>each enum,</li>
3567 * <li>and each data type</li>
3568 * </ul>
3569 * <!-- end-user-doc -->
3570 * @generated
3571 */
3572 interface Literals
3573 {
3574 /**
3575 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl <em>ALS Document</em>}' class.
3576 * <!-- begin-user-doc -->
3577 * <!-- end-user-doc -->
3578 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl
3579 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDocument()
3580 * @generated
3581 */
3582 EClass ALS_DOCUMENT = eINSTANCE.getALSDocument();
3583
3584 /**
3585 * The meta object literal for the '<em><b>Enum Declarations</b></em>' containment reference list feature.
3586 * <!-- begin-user-doc -->
3587 * <!-- end-user-doc -->
3588 * @generated
3589 */
3590 EReference ALS_DOCUMENT__ENUM_DECLARATIONS = eINSTANCE.getALSDocument_EnumDeclarations();
3591
3592 /**
3593 * The meta object literal for the '<em><b>Signature Bodies</b></em>' containment reference list feature.
3594 * <!-- begin-user-doc -->
3595 * <!-- end-user-doc -->
3596 * @generated
3597 */
3598 EReference ALS_DOCUMENT__SIGNATURE_BODIES = eINSTANCE.getALSDocument_SignatureBodies();
3599
3600 /**
3601 * The meta object literal for the '<em><b>Function Definitions</b></em>' containment reference list feature.
3602 * <!-- begin-user-doc -->
3603 * <!-- end-user-doc -->
3604 * @generated
3605 */
3606 EReference ALS_DOCUMENT__FUNCTION_DEFINITIONS = eINSTANCE.getALSDocument_FunctionDefinitions();
3607
3608 /**
3609 * The meta object literal for the '<em><b>Relation Definitions</b></em>' containment reference list feature.
3610 * <!-- begin-user-doc -->
3611 * <!-- end-user-doc -->
3612 * @generated
3613 */
3614 EReference ALS_DOCUMENT__RELATION_DEFINITIONS = eINSTANCE.getALSDocument_RelationDefinitions();
3615
3616 /**
3617 * The meta object literal for the '<em><b>Fact Declarations</b></em>' containment reference list feature.
3618 * <!-- begin-user-doc -->
3619 * <!-- end-user-doc -->
3620 * @generated
3621 */
3622 EReference ALS_DOCUMENT__FACT_DECLARATIONS = eINSTANCE.getALSDocument_FactDeclarations();
3623
3624 /**
3625 * The meta object literal for the '<em><b>Run Command</b></em>' containment reference feature.
3626 * <!-- begin-user-doc -->
3627 * <!-- end-user-doc -->
3628 * @generated
3629 */
3630 EReference ALS_DOCUMENT__RUN_COMMAND = eINSTANCE.getALSDocument_RunCommand();
3631
3632 /**
3633 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl <em>ALS Relation Declaration</em>}' class.
3634 * <!-- begin-user-doc -->
3635 * <!-- end-user-doc -->
3636 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl
3637 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDeclaration()
3638 * @generated
3639 */
3640 EClass ALS_RELATION_DECLARATION = eINSTANCE.getALSRelationDeclaration();
3641
3642 /**
3643 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3644 * <!-- begin-user-doc -->
3645 * <!-- end-user-doc -->
3646 * @generated
3647 */
3648 EAttribute ALS_RELATION_DECLARATION__NAME = eINSTANCE.getALSRelationDeclaration_Name();
3649
3650 /**
3651 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl <em>ALS Type Declaration</em>}' class.
3652 * <!-- begin-user-doc -->
3653 * <!-- end-user-doc -->
3654 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl
3655 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeDeclaration()
3656 * @generated
3657 */
3658 EClass ALS_TYPE_DECLARATION = eINSTANCE.getALSTypeDeclaration();
3659
3660 /**
3661 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl <em>ALS Enum Declaration</em>}' class.
3662 * <!-- begin-user-doc -->
3663 * <!-- end-user-doc -->
3664 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl
3665 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumDeclaration()
3666 * @generated
3667 */
3668 EClass ALS_ENUM_DECLARATION = eINSTANCE.getALSEnumDeclaration();
3669
3670 /**
3671 * The meta object literal for the '<em><b>Literal</b></em>' containment reference list feature.
3672 * <!-- begin-user-doc -->
3673 * <!-- end-user-doc -->
3674 * @generated
3675 */
3676 EReference ALS_ENUM_DECLARATION__LITERAL = eINSTANCE.getALSEnumDeclaration_Literal();
3677
3678 /**
3679 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl <em>ALS Enum Literal</em>}' class.
3680 * <!-- begin-user-doc -->
3681 * <!-- end-user-doc -->
3682 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl
3683 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumLiteral()
3684 * @generated
3685 */
3686 EClass ALS_ENUM_LITERAL = eINSTANCE.getALSEnumLiteral();
3687
3688 /**
3689 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl <em>ALS Signature Declaration</em>}' class.
3690 * <!-- begin-user-doc -->
3691 * <!-- end-user-doc -->
3692 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl
3693 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureDeclaration()
3694 * @generated
3695 */
3696 EClass ALS_SIGNATURE_DECLARATION = eINSTANCE.getALSSignatureDeclaration();
3697
3698 /**
3699 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl <em>ALS Signature Body</em>}' class.
3700 * <!-- begin-user-doc -->
3701 * <!-- end-user-doc -->
3702 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl
3703 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureBody()
3704 * @generated
3705 */
3706 EClass ALS_SIGNATURE_BODY = eINSTANCE.getALSSignatureBody();
3707
3708 /**
3709 * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
3710 * <!-- begin-user-doc -->
3711 * <!-- end-user-doc -->
3712 * @generated
3713 */
3714 EAttribute ALS_SIGNATURE_BODY__MULTIPLICITY = eINSTANCE.getALSSignatureBody_Multiplicity();
3715
3716 /**
3717 * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
3718 * <!-- begin-user-doc -->
3719 * <!-- end-user-doc -->
3720 * @generated
3721 */
3722 EAttribute ALS_SIGNATURE_BODY__ABSTRACT = eINSTANCE.getALSSignatureBody_Abstract();
3723
3724 /**
3725 * The meta object literal for the '<em><b>Declarations</b></em>' containment reference list feature.
3726 * <!-- begin-user-doc -->
3727 * <!-- end-user-doc -->
3728 * @generated
3729 */
3730 EReference ALS_SIGNATURE_BODY__DECLARATIONS = eINSTANCE.getALSSignatureBody_Declarations();
3731
3732 /**
3733 * The meta object literal for the '<em><b>Supertype</b></em>' reference feature.
3734 * <!-- begin-user-doc -->
3735 * <!-- end-user-doc -->
3736 * @generated
3737 */
3738 EReference ALS_SIGNATURE_BODY__SUPERTYPE = eINSTANCE.getALSSignatureBody_Supertype();
3739
3740 /**
3741 * The meta object literal for the '<em><b>Superset</b></em>' reference list feature.
3742 * <!-- begin-user-doc -->
3743 * <!-- end-user-doc -->
3744 * @generated
3745 */
3746 EReference ALS_SIGNATURE_BODY__SUPERSET = eINSTANCE.getALSSignatureBody_Superset();
3747
3748 /**
3749 * The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature.
3750 * <!-- begin-user-doc -->
3751 * <!-- end-user-doc -->
3752 * @generated
3753 */
3754 EReference ALS_SIGNATURE_BODY__FIELDS = eINSTANCE.getALSSignatureBody_Fields();
3755
3756 /**
3757 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl <em>ALS Field Declaration</em>}' class.
3758 * <!-- begin-user-doc -->
3759 * <!-- end-user-doc -->
3760 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl
3761 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFieldDeclaration()
3762 * @generated
3763 */
3764 EClass ALS_FIELD_DECLARATION = eINSTANCE.getALSFieldDeclaration();
3765
3766 /**
3767 * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
3768 * <!-- begin-user-doc -->
3769 * <!-- end-user-doc -->
3770 * @generated
3771 */
3772 EAttribute ALS_FIELD_DECLARATION__MULTIPLICITY = eINSTANCE.getALSFieldDeclaration_Multiplicity();
3773
3774 /**
3775 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
3776 * <!-- begin-user-doc -->
3777 * <!-- end-user-doc -->
3778 * @generated
3779 */
3780 EReference ALS_FIELD_DECLARATION__TYPE = eINSTANCE.getALSFieldDeclaration_Type();
3781
3782 /**
3783 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl <em>ALS Definition</em>}' class.
3784 * <!-- begin-user-doc -->
3785 * <!-- end-user-doc -->
3786 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl
3787 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDefinition()
3788 * @generated
3789 */
3790 EClass ALS_DEFINITION = eINSTANCE.getALSDefinition();
3791
3792 /**
3793 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3794 * <!-- begin-user-doc -->
3795 * <!-- end-user-doc -->
3796 * @generated
3797 */
3798 EAttribute ALS_DEFINITION__NAME = eINSTANCE.getALSDefinition_Name();
3799
3800 /**
3801 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
3802 * <!-- begin-user-doc -->
3803 * <!-- end-user-doc -->
3804 * @generated
3805 */
3806 EReference ALS_DEFINITION__VARIABLES = eINSTANCE.getALSDefinition_Variables();
3807
3808 /**
3809 * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
3810 * <!-- begin-user-doc -->
3811 * <!-- end-user-doc -->
3812 * @generated
3813 */
3814 EReference ALS_DEFINITION__VALUE = eINSTANCE.getALSDefinition_Value();
3815
3816 /**
3817 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl <em>ALS Function Definition</em>}' class.
3818 * <!-- begin-user-doc -->
3819 * <!-- end-user-doc -->
3820 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl
3821 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionDefinition()
3822 * @generated
3823 */
3824 EClass ALS_FUNCTION_DEFINITION = eINSTANCE.getALSFunctionDefinition();
3825
3826 /**
3827 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
3828 * <!-- begin-user-doc -->
3829 * <!-- end-user-doc -->
3830 * @generated
3831 */
3832 EReference ALS_FUNCTION_DEFINITION__TYPE = eINSTANCE.getALSFunctionDefinition_Type();
3833
3834 /**
3835 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl <em>ALS Relation Definition</em>}' class.
3836 * <!-- begin-user-doc -->
3837 * <!-- end-user-doc -->
3838 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl
3839 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDefinition()
3840 * @generated
3841 */
3842 EClass ALS_RELATION_DEFINITION = eINSTANCE.getALSRelationDefinition();
3843
3844 /**
3845 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl <em>ALS Fact Declaration</em>}' class.
3846 * <!-- begin-user-doc -->
3847 * <!-- end-user-doc -->
3848 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl
3849 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFactDeclaration()
3850 * @generated
3851 */
3852 EClass ALS_FACT_DECLARATION = eINSTANCE.getALSFactDeclaration();
3853
3854 /**
3855 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3856 * <!-- begin-user-doc -->
3857 * <!-- end-user-doc -->
3858 * @generated
3859 */
3860 EAttribute ALS_FACT_DECLARATION__NAME = eINSTANCE.getALSFactDeclaration_Name();
3861
3862 /**
3863 * The meta object literal for the '<em><b>Term</b></em>' containment reference feature.
3864 * <!-- begin-user-doc -->
3865 * <!-- end-user-doc -->
3866 * @generated
3867 */
3868 EReference ALS_FACT_DECLARATION__TERM = eINSTANCE.getALSFactDeclaration_Term();
3869
3870 /**
3871 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl <em>ALS Term</em>}' class.
3872 * <!-- begin-user-doc -->
3873 * <!-- end-user-doc -->
3874 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl
3875 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTerm()
3876 * @generated
3877 */
3878 EClass ALS_TERM = eINSTANCE.getALSTerm();
3879
3880 /**
3881 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl <em>ALS Variable Declaration</em>}' class.
3882 * <!-- begin-user-doc -->
3883 * <!-- end-user-doc -->
3884 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl
3885 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSVariableDeclaration()
3886 * @generated
3887 */
3888 EClass ALS_VARIABLE_DECLARATION = eINSTANCE.getALSVariableDeclaration();
3889
3890 /**
3891 * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
3892 * <!-- begin-user-doc -->
3893 * <!-- end-user-doc -->
3894 * @generated
3895 */
3896 EReference ALS_VARIABLE_DECLARATION__RANGE = eINSTANCE.getALSVariableDeclaration_Range();
3897
3898 /**
3899 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl <em>ALS Run Command</em>}' class.
3900 * <!-- begin-user-doc -->
3901 * <!-- end-user-doc -->
3902 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl
3903 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRunCommand()
3904 * @generated
3905 */
3906 EClass ALS_RUN_COMMAND = eINSTANCE.getALSRunCommand();
3907
3908 /**
3909 * The meta object literal for the '<em><b>Type Scopes</b></em>' containment reference list feature.
3910 * <!-- begin-user-doc -->
3911 * <!-- end-user-doc -->
3912 * @generated
3913 */
3914 EReference ALS_RUN_COMMAND__TYPE_SCOPES = eINSTANCE.getALSRunCommand_TypeScopes();
3915
3916 /**
3917 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl <em>ALS Type Scope</em>}' class.
3918 * <!-- begin-user-doc -->
3919 * <!-- end-user-doc -->
3920 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl
3921 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeScope()
3922 * @generated
3923 */
3924 EClass ALS_TYPE_SCOPE = eINSTANCE.getALSTypeScope();
3925
3926 /**
3927 * The meta object literal for the '<em><b>Number</b></em>' attribute feature.
3928 * <!-- begin-user-doc -->
3929 * <!-- end-user-doc -->
3930 * @generated
3931 */
3932 EAttribute ALS_TYPE_SCOPE__NUMBER = eINSTANCE.getALSTypeScope_Number();
3933
3934 /**
3935 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl <em>ALS Sig Scope</em>}' class.
3936 * <!-- begin-user-doc -->
3937 * <!-- end-user-doc -->
3938 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl
3939 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSigScope()
3940 * @generated
3941 */
3942 EClass ALS_SIG_SCOPE = eINSTANCE.getALSSigScope();
3943
3944 /**
3945 * The meta object literal for the '<em><b>Exactly</b></em>' attribute feature.
3946 * <!-- begin-user-doc -->
3947 * <!-- end-user-doc -->
3948 * @generated
3949 */
3950 EAttribute ALS_SIG_SCOPE__EXACTLY = eINSTANCE.getALSSigScope_Exactly();
3951
3952 /**
3953 * The meta object literal for the '<em><b>Type</b></em>' reference feature.
3954 * <!-- begin-user-doc -->
3955 * <!-- end-user-doc -->
3956 * @generated
3957 */
3958 EReference ALS_SIG_SCOPE__TYPE = eINSTANCE.getALSSigScope_Type();
3959
3960 /**
3961 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl <em>ALS Int Scope</em>}' class.
3962 * <!-- begin-user-doc -->
3963 * <!-- end-user-doc -->
3964 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl
3965 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntScope()
3966 * @generated
3967 */
3968 EClass ALS_INT_SCOPE = eINSTANCE.getALSIntScope();
3969
3970 /**
3971 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl <em>ALS String Scope</em>}' class.
3972 * <!-- begin-user-doc -->
3973 * <!-- end-user-doc -->
3974 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl
3975 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringScope()
3976 * @generated
3977 */
3978 EClass ALS_STRING_SCOPE = eINSTANCE.getALSStringScope();
3979
3980 /**
3981 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class.
3982 * <!-- begin-user-doc -->
3983 * <!-- end-user-doc -->
3984 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl
3985 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx()
3986 * @generated
3987 */
3988 EClass ALS_QUANTIFIED_EX = eINSTANCE.getALSQuantifiedEx();
3989
3990 /**
3991 * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
3992 * <!-- begin-user-doc -->
3993 * <!-- end-user-doc -->
3994 * @generated
3995 */
3996 EAttribute ALS_QUANTIFIED_EX__TYPE = eINSTANCE.getALSQuantifiedEx_Type();
3997
3998 /**
3999 * The meta object literal for the '<em><b>Disj</b></em>' attribute feature.
4000 * <!-- begin-user-doc -->
4001 * <!-- end-user-doc -->
4002 * @generated
4003 */
4004 EAttribute ALS_QUANTIFIED_EX__DISJ = eINSTANCE.getALSQuantifiedEx_Disj();
4005
4006 /**
4007 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
4008 * <!-- begin-user-doc -->
4009 * <!-- end-user-doc -->
4010 * @generated
4011 */
4012 EReference ALS_QUANTIFIED_EX__VARIABLES = eINSTANCE.getALSQuantifiedEx_Variables();
4013
4014 /**
4015 * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
4016 * <!-- begin-user-doc -->
4017 * <!-- end-user-doc -->
4018 * @generated
4019 */
4020 EReference ALS_QUANTIFIED_EX__EXPRESSION = eINSTANCE.getALSQuantifiedEx_Expression();
4021
4022 /**
4023 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class.
4024 * <!-- begin-user-doc -->
4025 * <!-- end-user-doc -->
4026 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl
4027 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr()
4028 * @generated
4029 */
4030 EClass ALS_OR = eINSTANCE.getALSOr();
4031
4032 /**
4033 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4034 * <!-- begin-user-doc -->
4035 * <!-- end-user-doc -->
4036 * @generated
4037 */
4038 EReference ALS_OR__LEFT_OPERAND = eINSTANCE.getALSOr_LeftOperand();
4039
4040 /**
4041 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4042 * <!-- begin-user-doc -->
4043 * <!-- end-user-doc -->
4044 * @generated
4045 */
4046 EReference ALS_OR__RIGHT_OPERAND = eINSTANCE.getALSOr_RightOperand();
4047
4048 /**
4049 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class.
4050 * <!-- begin-user-doc -->
4051 * <!-- end-user-doc -->
4052 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl
4053 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff()
4054 * @generated
4055 */
4056 EClass ALS_IFF = eINSTANCE.getALSIff();
4057
4058 /**
4059 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4060 * <!-- begin-user-doc -->
4061 * <!-- end-user-doc -->
4062 * @generated
4063 */
4064 EReference ALS_IFF__LEFT_OPERAND = eINSTANCE.getALSIff_LeftOperand();
4065
4066 /**
4067 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4068 * <!-- begin-user-doc -->
4069 * <!-- end-user-doc -->
4070 * @generated
4071 */
4072 EReference ALS_IFF__RIGHT_OPERAND = eINSTANCE.getALSIff_RightOperand();
4073
4074 /**
4075 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class.
4076 * <!-- begin-user-doc -->
4077 * <!-- end-user-doc -->
4078 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl
4079 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl()
4080 * @generated
4081 */
4082 EClass ALS_IMPL = eINSTANCE.getALSImpl();
4083
4084 /**
4085 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4086 * <!-- begin-user-doc -->
4087 * <!-- end-user-doc -->
4088 * @generated
4089 */
4090 EReference ALS_IMPL__LEFT_OPERAND = eINSTANCE.getALSImpl_LeftOperand();
4091
4092 /**
4093 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4094 * <!-- begin-user-doc -->
4095 * <!-- end-user-doc -->
4096 * @generated
4097 */
4098 EReference ALS_IMPL__RIGHT_OPERAND = eINSTANCE.getALSImpl_RightOperand();
4099
4100 /**
4101 * The meta object literal for the '<em><b>Else Operand</b></em>' containment reference feature.
4102 * <!-- begin-user-doc -->
4103 * <!-- end-user-doc -->
4104 * @generated
4105 */
4106 EReference ALS_IMPL__ELSE_OPERAND = eINSTANCE.getALSImpl_ElseOperand();
4107
4108 /**
4109 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class.
4110 * <!-- begin-user-doc -->
4111 * <!-- end-user-doc -->
4112 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl
4113 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd()
4114 * @generated
4115 */
4116 EClass ALS_AND = eINSTANCE.getALSAnd();
4117
4118 /**
4119 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4120 * <!-- begin-user-doc -->
4121 * <!-- end-user-doc -->
4122 * @generated
4123 */
4124 EReference ALS_AND__LEFT_OPERAND = eINSTANCE.getALSAnd_LeftOperand();
4125
4126 /**
4127 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4128 * <!-- begin-user-doc -->
4129 * <!-- end-user-doc -->
4130 * @generated
4131 */
4132 EReference ALS_AND__RIGHT_OPERAND = eINSTANCE.getALSAnd_RightOperand();
4133
4134 /**
4135 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class.
4136 * <!-- begin-user-doc -->
4137 * <!-- end-user-doc -->
4138 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl
4139 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals()
4140 * @generated
4141 */
4142 EClass ALS_EQUALS = eINSTANCE.getALSEquals();
4143
4144 /**
4145 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4146 * <!-- begin-user-doc -->
4147 * <!-- end-user-doc -->
4148 * @generated
4149 */
4150 EReference ALS_EQUALS__LEFT_OPERAND = eINSTANCE.getALSEquals_LeftOperand();
4151
4152 /**
4153 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4154 * <!-- begin-user-doc -->
4155 * <!-- end-user-doc -->
4156 * @generated
4157 */
4158 EReference ALS_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSEquals_RightOperand();
4159
4160 /**
4161 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class.
4162 * <!-- begin-user-doc -->
4163 * <!-- end-user-doc -->
4164 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl
4165 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals()
4166 * @generated
4167 */
4168 EClass ALS_NOT_EQUALS = eINSTANCE.getALSNotEquals();
4169
4170 /**
4171 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4172 * <!-- begin-user-doc -->
4173 * <!-- end-user-doc -->
4174 * @generated
4175 */
4176 EReference ALS_NOT_EQUALS__LEFT_OPERAND = eINSTANCE.getALSNotEquals_LeftOperand();
4177
4178 /**
4179 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4180 * <!-- begin-user-doc -->
4181 * <!-- end-user-doc -->
4182 * @generated
4183 */
4184 EReference ALS_NOT_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSNotEquals_RightOperand();
4185
4186 /**
4187 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class.
4188 * <!-- begin-user-doc -->
4189 * <!-- end-user-doc -->
4190 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl
4191 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset()
4192 * @generated
4193 */
4194 EClass ALS_SUBSET = eINSTANCE.getALSSubset();
4195
4196 /**
4197 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4198 * <!-- begin-user-doc -->
4199 * <!-- end-user-doc -->
4200 * @generated
4201 */
4202 EReference ALS_SUBSET__LEFT_OPERAND = eINSTANCE.getALSSubset_LeftOperand();
4203
4204 /**
4205 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4206 * <!-- begin-user-doc -->
4207 * <!-- end-user-doc -->
4208 * @generated
4209 */
4210 EReference ALS_SUBSET__RIGHT_OPERAND = eINSTANCE.getALSSubset_RightOperand();
4211
4212 /**
4213 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class.
4214 * <!-- begin-user-doc -->
4215 * <!-- end-user-doc -->
4216 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl
4217 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess()
4218 * @generated
4219 */
4220 EClass ALS_LESS = eINSTANCE.getALSLess();
4221
4222 /**
4223 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4224 * <!-- begin-user-doc -->
4225 * <!-- end-user-doc -->
4226 * @generated
4227 */
4228 EReference ALS_LESS__LEFT_OPERAND = eINSTANCE.getALSLess_LeftOperand();
4229
4230 /**
4231 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4232 * <!-- begin-user-doc -->
4233 * <!-- end-user-doc -->
4234 * @generated
4235 */
4236 EReference ALS_LESS__RIGHT_OPERAND = eINSTANCE.getALSLess_RightOperand();
4237
4238 /**
4239 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class.
4240 * <!-- begin-user-doc -->
4241 * <!-- end-user-doc -->
4242 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl
4243 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq()
4244 * @generated
4245 */
4246 EClass ALS_LEQ = eINSTANCE.getALSLeq();
4247
4248 /**
4249 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4250 * <!-- begin-user-doc -->
4251 * <!-- end-user-doc -->
4252 * @generated
4253 */
4254 EReference ALS_LEQ__LEFT_OPERAND = eINSTANCE.getALSLeq_LeftOperand();
4255
4256 /**
4257 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4258 * <!-- begin-user-doc -->
4259 * <!-- end-user-doc -->
4260 * @generated
4261 */
4262 EReference ALS_LEQ__RIGHT_OPERAND = eINSTANCE.getALSLeq_RightOperand();
4263
4264 /**
4265 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class.
4266 * <!-- begin-user-doc -->
4267 * <!-- end-user-doc -->
4268 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl
4269 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore()
4270 * @generated
4271 */
4272 EClass ALS_MORE = eINSTANCE.getALSMore();
4273
4274 /**
4275 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4276 * <!-- begin-user-doc -->
4277 * <!-- end-user-doc -->
4278 * @generated
4279 */
4280 EReference ALS_MORE__LEFT_OPERAND = eINSTANCE.getALSMore_LeftOperand();
4281
4282 /**
4283 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4284 * <!-- begin-user-doc -->
4285 * <!-- end-user-doc -->
4286 * @generated
4287 */
4288 EReference ALS_MORE__RIGHT_OPERAND = eINSTANCE.getALSMore_RightOperand();
4289
4290 /**
4291 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class.
4292 * <!-- begin-user-doc -->
4293 * <!-- end-user-doc -->
4294 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl
4295 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq()
4296 * @generated
4297 */
4298 EClass ALS_MEQ = eINSTANCE.getALSMeq();
4299
4300 /**
4301 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4302 * <!-- begin-user-doc -->
4303 * <!-- end-user-doc -->
4304 * @generated
4305 */
4306 EReference ALS_MEQ__LEFT_OPERAND = eINSTANCE.getALSMeq_LeftOperand();
4307
4308 /**
4309 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4310 * <!-- begin-user-doc -->
4311 * <!-- end-user-doc -->
4312 * @generated
4313 */
4314 EReference ALS_MEQ__RIGHT_OPERAND = eINSTANCE.getALSMeq_RightOperand();
4315
4316 /**
4317 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class.
4318 * <!-- begin-user-doc -->
4319 * <!-- end-user-doc -->
4320 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl
4321 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride()
4322 * @generated
4323 */
4324 EClass ALS_OVERRIDE = eINSTANCE.getALSOverride();
4325
4326 /**
4327 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4328 * <!-- begin-user-doc -->
4329 * <!-- end-user-doc -->
4330 * @generated
4331 */
4332 EReference ALS_OVERRIDE__LEFT_OPERAND = eINSTANCE.getALSOverride_LeftOperand();
4333
4334 /**
4335 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4336 * <!-- begin-user-doc -->
4337 * <!-- end-user-doc -->
4338 * @generated
4339 */
4340 EReference ALS_OVERRIDE__RIGHT_OPERAND = eINSTANCE.getALSOverride_RightOperand();
4341
4342 /**
4343 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class.
4344 * <!-- begin-user-doc -->
4345 * <!-- end-user-doc -->
4346 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl
4347 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight()
4348 * @generated
4349 */
4350 EClass ALS_RANGE_RESTRICTION_RIGHT = eINSTANCE.getALSRangeRestrictionRight();
4351
4352 /**
4353 * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature.
4354 * <!-- begin-user-doc -->
4355 * <!-- end-user-doc -->
4356 * @generated
4357 */
4358 EReference ALS_RANGE_RESTRICTION_RIGHT__RELATION = eINSTANCE.getALSRangeRestrictionRight_Relation();
4359
4360 /**
4361 * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature.
4362 * <!-- begin-user-doc -->
4363 * <!-- end-user-doc -->
4364 * @generated
4365 */
4366 EReference ALS_RANGE_RESTRICTION_RIGHT__FILTER = eINSTANCE.getALSRangeRestrictionRight_Filter();
4367
4368 /**
4369 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class.
4370 * <!-- begin-user-doc -->
4371 * <!-- end-user-doc -->
4372 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl
4373 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft()
4374 * @generated
4375 */
4376 EClass ALS_RANGE_RESTRICTION_LEFT = eINSTANCE.getALSRangeRestrictionLeft();
4377
4378 /**
4379 * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature.
4380 * <!-- begin-user-doc -->
4381 * <!-- end-user-doc -->
4382 * @generated
4383 */
4384 EReference ALS_RANGE_RESTRICTION_LEFT__FILTER = eINSTANCE.getALSRangeRestrictionLeft_Filter();
4385
4386 /**
4387 * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature.
4388 * <!-- begin-user-doc -->
4389 * <!-- end-user-doc -->
4390 * @generated
4391 */
4392 EReference ALS_RANGE_RESTRICTION_LEFT__RELATION = eINSTANCE.getALSRangeRestrictionLeft_Relation();
4393
4394 /**
4395 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class.
4396 * <!-- begin-user-doc -->
4397 * <!-- end-user-doc -->
4398 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl
4399 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin()
4400 * @generated
4401 */
4402 EClass ALS_JOIN = eINSTANCE.getALSJoin();
4403
4404 /**
4405 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4406 * <!-- begin-user-doc -->
4407 * <!-- end-user-doc -->
4408 * @generated
4409 */
4410 EReference ALS_JOIN__LEFT_OPERAND = eINSTANCE.getALSJoin_LeftOperand();
4411
4412 /**
4413 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4414 * <!-- begin-user-doc -->
4415 * <!-- end-user-doc -->
4416 * @generated
4417 */
4418 EReference ALS_JOIN__RIGHT_OPERAND = eINSTANCE.getALSJoin_RightOperand();
4419
4420 /**
4421 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class.
4422 * <!-- begin-user-doc -->
4423 * <!-- end-user-doc -->
4424 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl
4425 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus()
4426 * @generated
4427 */
4428 EClass ALS_MINUS = eINSTANCE.getALSMinus();
4429
4430 /**
4431 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4432 * <!-- begin-user-doc -->
4433 * <!-- end-user-doc -->
4434 * @generated
4435 */
4436 EReference ALS_MINUS__LEFT_OPERAND = eINSTANCE.getALSMinus_LeftOperand();
4437
4438 /**
4439 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4440 * <!-- begin-user-doc -->
4441 * <!-- end-user-doc -->
4442 * @generated
4443 */
4444 EReference ALS_MINUS__RIGHT_OPERAND = eINSTANCE.getALSMinus_RightOperand();
4445
4446 /**
4447 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class.
4448 * <!-- begin-user-doc -->
4449 * <!-- end-user-doc -->
4450 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl
4451 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus()
4452 * @generated
4453 */
4454 EClass ALS_PLUS = eINSTANCE.getALSPlus();
4455
4456 /**
4457 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4458 * <!-- begin-user-doc -->
4459 * <!-- end-user-doc -->
4460 * @generated
4461 */
4462 EReference ALS_PLUS__LEFT_OPERAND = eINSTANCE.getALSPlus_LeftOperand();
4463
4464 /**
4465 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4466 * <!-- begin-user-doc -->
4467 * <!-- end-user-doc -->
4468 * @generated
4469 */
4470 EReference ALS_PLUS__RIGHT_OPERAND = eINSTANCE.getALSPlus_RightOperand();
4471
4472 /**
4473 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class.
4474 * <!-- begin-user-doc -->
4475 * <!-- end-user-doc -->
4476 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl
4477 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection()
4478 * @generated
4479 */
4480 EClass ALS_INTERSECTION = eINSTANCE.getALSIntersection();
4481
4482 /**
4483 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4484 * <!-- begin-user-doc -->
4485 * <!-- end-user-doc -->
4486 * @generated
4487 */
4488 EReference ALS_INTERSECTION__LEFT_OPERAND = eINSTANCE.getALSIntersection_LeftOperand();
4489
4490 /**
4491 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4492 * <!-- begin-user-doc -->
4493 * <!-- end-user-doc -->
4494 * @generated
4495 */
4496 EReference ALS_INTERSECTION__RIGHT_OPERAND = eINSTANCE.getALSIntersection_RightOperand();
4497
4498 /**
4499 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class.
4500 * <!-- begin-user-doc -->
4501 * <!-- end-user-doc -->
4502 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl
4503 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct()
4504 * @generated
4505 */
4506 EClass ALS_DIRECT_PRODUCT = eINSTANCE.getALSDirectProduct();
4507
4508 /**
4509 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4510 * <!-- begin-user-doc -->
4511 * <!-- end-user-doc -->
4512 * @generated
4513 */
4514 EReference ALS_DIRECT_PRODUCT__LEFT_OPERAND = eINSTANCE.getALSDirectProduct_LeftOperand();
4515
4516 /**
4517 * The meta object literal for the '<em><b>Left Multiplicit</b></em>' attribute feature.
4518 * <!-- begin-user-doc -->
4519 * <!-- end-user-doc -->
4520 * @generated
4521 */
4522 EAttribute ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_LeftMultiplicit();
4523
4524 /**
4525 * The meta object literal for the '<em><b>Right Multiplicit</b></em>' attribute feature.
4526 * <!-- begin-user-doc -->
4527 * <!-- end-user-doc -->
4528 * @generated
4529 */
4530 EAttribute ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_RightMultiplicit();
4531
4532 /**
4533 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4534 * <!-- begin-user-doc -->
4535 * <!-- end-user-doc -->
4536 * @generated
4537 */
4538 EReference ALS_DIRECT_PRODUCT__RIGHT_OPERAND = eINSTANCE.getALSDirectProduct_RightOperand();
4539
4540 /**
4541 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class.
4542 * <!-- begin-user-doc -->
4543 * <!-- end-user-doc -->
4544 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl
4545 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot()
4546 * @generated
4547 */
4548 EClass ALS_NOT = eINSTANCE.getALSNot();
4549
4550 /**
4551 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4552 * <!-- begin-user-doc -->
4553 * <!-- end-user-doc -->
4554 * @generated
4555 */
4556 EReference ALS_NOT__OPERAND = eINSTANCE.getALSNot_Operand();
4557
4558 /**
4559 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class.
4560 * <!-- begin-user-doc -->
4561 * <!-- end-user-doc -->
4562 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl
4563 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation()
4564 * @generated
4565 */
4566 EClass ALS_INVERSE_RELATION = eINSTANCE.getALSInverseRelation();
4567
4568 /**
4569 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4570 * <!-- begin-user-doc -->
4571 * <!-- end-user-doc -->
4572 * @generated
4573 */
4574 EReference ALS_INVERSE_RELATION__OPERAND = eINSTANCE.getALSInverseRelation_Operand();
4575
4576 /**
4577 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class.
4578 * <!-- begin-user-doc -->
4579 * <!-- end-user-doc -->
4580 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl
4581 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure()
4582 * @generated
4583 */
4584 EClass AL_STRANSITIVE_CLOSURE = eINSTANCE.getAlSTransitiveClosure();
4585
4586 /**
4587 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4588 * <!-- begin-user-doc -->
4589 * <!-- end-user-doc -->
4590 * @generated
4591 */
4592 EReference AL_STRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getAlSTransitiveClosure_Operand();
4593
4594 /**
4595 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class.
4596 * <!-- begin-user-doc -->
4597 * <!-- end-user-doc -->
4598 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl
4599 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure()
4600 * @generated
4601 */
4602 EClass ALS_REFLECTIVE_TRANSITIVE_CLOSURE = eINSTANCE.getALSReflectiveTransitiveClosure();
4603
4604 /**
4605 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4606 * <!-- begin-user-doc -->
4607 * <!-- end-user-doc -->
4608 * @generated
4609 */
4610 EReference ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getALSReflectiveTransitiveClosure_Operand();
4611
4612 /**
4613 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl <em>ALS Cardinality</em>}' class.
4614 * <!-- begin-user-doc -->
4615 * <!-- end-user-doc -->
4616 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl
4617 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality()
4618 * @generated
4619 */
4620 EClass ALS_CARDINALITY = eINSTANCE.getALSCardinality();
4621
4622 /**
4623 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4624 * <!-- begin-user-doc -->
4625 * <!-- end-user-doc -->
4626 * @generated
4627 */
4628 EReference ALS_CARDINALITY__OPERAND = eINSTANCE.getALSCardinality_Operand();
4629
4630 /**
4631 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class.
4632 * <!-- begin-user-doc -->
4633 * <!-- end-user-doc -->
4634 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl
4635 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus()
4636 * @generated
4637 */
4638 EClass ALS_UNARY_MINUS = eINSTANCE.getALSUnaryMinus();
4639
4640 /**
4641 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4642 * <!-- begin-user-doc -->
4643 * <!-- end-user-doc -->
4644 * @generated
4645 */
4646 EReference ALS_UNARY_MINUS__OPERAND = eINSTANCE.getALSUnaryMinus_Operand();
4647
4648 /**
4649 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class.
4650 * <!-- begin-user-doc -->
4651 * <!-- end-user-doc -->
4652 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl
4653 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum()
4654 * @generated
4655 */
4656 EClass ALS_SUM = eINSTANCE.getALSSum();
4657
4658 /**
4659 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
4660 * <!-- begin-user-doc -->
4661 * <!-- end-user-doc -->
4662 * @generated
4663 */
4664 EReference ALS_SUM__VARIABLES = eINSTANCE.getALSSum_Variables();
4665
4666 /**
4667 * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
4668 * <!-- begin-user-doc -->
4669 * <!-- end-user-doc -->
4670 * @generated
4671 */
4672 EReference ALS_SUM__EXPRESSION = eINSTANCE.getALSSum_Expression();
4673
4674 /**
4675 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class.
4676 * <!-- begin-user-doc -->
4677 * <!-- end-user-doc -->
4678 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl
4679 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall()
4680 * @generated
4681 */
4682 EClass ALS_FUNCTION_CALL = eINSTANCE.getALSFunctionCall();
4683
4684 /**
4685 * The meta object literal for the '<em><b>Referred Definition</b></em>' reference feature.
4686 * <!-- begin-user-doc -->
4687 * <!-- end-user-doc -->
4688 * @generated
4689 */
4690 EReference ALS_FUNCTION_CALL__REFERRED_DEFINITION = eINSTANCE.getALSFunctionCall_ReferredDefinition();
4691
4692 /**
4693 * The meta object literal for the '<em><b>Referred Numeric Operator</b></em>' attribute feature.
4694 * <!-- begin-user-doc -->
4695 * <!-- end-user-doc -->
4696 * @generated
4697 */
4698 EAttribute ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = eINSTANCE.getALSFunctionCall_ReferredNumericOperator();
4699
4700 /**
4701 * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature.
4702 * <!-- begin-user-doc -->
4703 * <!-- end-user-doc -->
4704 * @generated
4705 */
4706 EReference ALS_FUNCTION_CALL__PARAMS = eINSTANCE.getALSFunctionCall_Params();
4707
4708 /**
4709 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class.
4710 * <!-- begin-user-doc -->
4711 * <!-- end-user-doc -->
4712 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl
4713 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone()
4714 * @generated
4715 */
4716 EClass ALS_NONE = eINSTANCE.getALSNone();
4717
4718 /**
4719 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class.
4720 * <!-- begin-user-doc -->
4721 * <!-- end-user-doc -->
4722 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl
4723 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden()
4724 * @generated
4725 */
4726 EClass ALS_IDEN = eINSTANCE.getALSIden();
4727
4728 /**
4729 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class.
4730 * <!-- begin-user-doc -->
4731 * <!-- end-user-doc -->
4732 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl
4733 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv()
4734 * @generated
4735 */
4736 EClass ALS_UNIV = eINSTANCE.getALSUniv();
4737
4738 /**
4739 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class.
4740 * <!-- begin-user-doc -->
4741 * <!-- end-user-doc -->
4742 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl
4743 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt()
4744 * @generated
4745 */
4746 EClass ALS_INT = eINSTANCE.getALSInt();
4747
4748 /**
4749 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl <em>ALS String</em>}' class.
4750 * <!-- begin-user-doc -->
4751 * <!-- end-user-doc -->
4752 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl
4753 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSString()
4754 * @generated
4755 */
4756 EClass ALS_STRING = eINSTANCE.getALSString();
4757
4758 /**
4759 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class.
4760 * <!-- begin-user-doc -->
4761 * <!-- end-user-doc -->
4762 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl
4763 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference()
4764 * @generated
4765 */
4766 EClass ALS_REFERENCE = eINSTANCE.getALSReference();
4767
4768 /**
4769 * The meta object literal for the '<em><b>Referred</b></em>' reference feature.
4770 * <!-- begin-user-doc -->
4771 * <!-- end-user-doc -->
4772 * @generated
4773 */
4774 EReference ALS_REFERENCE__REFERRED = eINSTANCE.getALSReference_Referred();
4775
4776 /**
4777 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class.
4778 * <!-- begin-user-doc -->
4779 * <!-- end-user-doc -->
4780 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl
4781 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral()
4782 * @generated
4783 */
4784 EClass ALS_NUMBER_LITERAL = eINSTANCE.getALSNumberLiteral();
4785
4786 /**
4787 * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
4788 * <!-- begin-user-doc -->
4789 * <!-- end-user-doc -->
4790 * @generated
4791 */
4792 EAttribute ALS_NUMBER_LITERAL__VALUE = eINSTANCE.getALSNumberLiteral_Value();
4793
4794 /**
4795 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl <em>ALS String Literal</em>}' class.
4796 * <!-- begin-user-doc -->
4797 * <!-- end-user-doc -->
4798 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl
4799 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringLiteral()
4800 * @generated
4801 */
4802 EClass ALS_STRING_LITERAL = eINSTANCE.getALSStringLiteral();
4803
4804 /**
4805 * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
4806 * <!-- begin-user-doc -->
4807 * <!-- end-user-doc -->
4808 * @generated
4809 */
4810 EAttribute ALS_STRING_LITERAL__VALUE = eINSTANCE.getALSStringLiteral_Value();
4811
4812 /**
4813 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum.
4814 * <!-- begin-user-doc -->
4815 * <!-- end-user-doc -->
4816 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
4817 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity()
4818 * @generated
4819 */
4820 EEnum ALS_MULTIPLICITY = eINSTANCE.getALSMultiplicity();
4821
4822 /**
4823 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum.
4824 * <!-- begin-user-doc -->
4825 * <!-- end-user-doc -->
4826 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
4827 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator()
4828 * @generated
4829 */
4830 EEnum ALS_NUMERIC_OPERATOR = eINSTANCE.getALSNumericOperator();
4831
4832 }
4833
4834} //AlloyLanguagePackage
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java
deleted file mode 100644
index 0401917d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS And</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.alloyLanguage.impl.ALSAndImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSAndImpl extends ALSTermImpl implements ALSAnd
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSAndImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_AND;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSAndImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java
deleted file mode 100644
index 9625adb4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Cardinality</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.alloyLanguage.impl.ALSCardinalityImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSCardinalityImpl extends ALSTermImpl implements ALSCardinality
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSCardinalityImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_CARDINALITY;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSCardinalityImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java
deleted file mode 100644
index e4251d72..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java
+++ /dev/null
@@ -1,312 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS 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.alloyLanguage.impl.ALSDefinitionImpl#getName <em>Name</em>}</li>
35 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl#getVariables <em>Variables</em>}</li>
36 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl#getValue <em>Value</em>}</li>
37 * </ul>
38 *
39 * @generated
40 */
41public class ALSDefinitionImpl extends MinimalEObjectImpl.Container implements ALSDefinition
42{
43 /**
44 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getName()
48 * @generated
49 * @ordered
50 */
51 protected static final String NAME_EDEFAULT = null;
52
53 /**
54 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @see #getName()
58 * @generated
59 * @ordered
60 */
61 protected String name = NAME_EDEFAULT;
62
63 /**
64 * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list.
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @see #getVariables()
68 * @generated
69 * @ordered
70 */
71 protected EList<ALSVariableDeclaration> variables;
72
73 /**
74 * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @see #getValue()
78 * @generated
79 * @ordered
80 */
81 protected ALSTerm value;
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 protected ALSDefinitionImpl()
89 {
90 super();
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 protected EClass eStaticClass()
100 {
101 return AlloyLanguagePackage.Literals.ALS_DEFINITION;
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 public String getName()
110 {
111 return name;
112 }
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 public void setName(String newName)
120 {
121 String oldName = name;
122 name = newName;
123 if (eNotificationRequired())
124 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__NAME, oldName, name));
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 public EList<ALSVariableDeclaration> getVariables()
133 {
134 if (variables == null)
135 {
136 variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_DEFINITION__VARIABLES);
137 }
138 return variables;
139 }
140
141 /**
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @generated
145 */
146 public ALSTerm getValue()
147 {
148 return value;
149 }
150
151 /**
152 * <!-- begin-user-doc -->
153 * <!-- end-user-doc -->
154 * @generated
155 */
156 public NotificationChain basicSetValue(ALSTerm newValue, NotificationChain msgs)
157 {
158 ALSTerm oldValue = value;
159 value = newValue;
160 if (eNotificationRequired())
161 {
162 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__VALUE, oldValue, newValue);
163 if (msgs == null) msgs = notification; else msgs.add(notification);
164 }
165 return msgs;
166 }
167
168 /**
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @generated
172 */
173 public void setValue(ALSTerm newValue)
174 {
175 if (newValue != value)
176 {
177 NotificationChain msgs = null;
178 if (value != null)
179 msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DEFINITION__VALUE, null, msgs);
180 if (newValue != null)
181 msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DEFINITION__VALUE, null, msgs);
182 msgs = basicSetValue(newValue, msgs);
183 if (msgs != null) msgs.dispatch();
184 }
185 else if (eNotificationRequired())
186 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__VALUE, newValue, newValue));
187 }
188
189 /**
190 * <!-- begin-user-doc -->
191 * <!-- end-user-doc -->
192 * @generated
193 */
194 @Override
195 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
196 {
197 switch (featureID)
198 {
199 case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES:
200 return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs);
201 case AlloyLanguagePackage.ALS_DEFINITION__VALUE:
202 return basicSetValue(null, msgs);
203 }
204 return super.eInverseRemove(otherEnd, featureID, msgs);
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 @Override
213 public Object eGet(int featureID, boolean resolve, boolean coreType)
214 {
215 switch (featureID)
216 {
217 case AlloyLanguagePackage.ALS_DEFINITION__NAME:
218 return getName();
219 case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES:
220 return getVariables();
221 case AlloyLanguagePackage.ALS_DEFINITION__VALUE:
222 return getValue();
223 }
224 return super.eGet(featureID, resolve, coreType);
225 }
226
227 /**
228 * <!-- begin-user-doc -->
229 * <!-- end-user-doc -->
230 * @generated
231 */
232 @SuppressWarnings("unchecked")
233 @Override
234 public void eSet(int featureID, Object newValue)
235 {
236 switch (featureID)
237 {
238 case AlloyLanguagePackage.ALS_DEFINITION__NAME:
239 setName((String)newValue);
240 return;
241 case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES:
242 getVariables().clear();
243 getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue);
244 return;
245 case AlloyLanguagePackage.ALS_DEFINITION__VALUE:
246 setValue((ALSTerm)newValue);
247 return;
248 }
249 super.eSet(featureID, newValue);
250 }
251
252 /**
253 * <!-- begin-user-doc -->
254 * <!-- end-user-doc -->
255 * @generated
256 */
257 @Override
258 public void eUnset(int featureID)
259 {
260 switch (featureID)
261 {
262 case AlloyLanguagePackage.ALS_DEFINITION__NAME:
263 setName(NAME_EDEFAULT);
264 return;
265 case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES:
266 getVariables().clear();
267 return;
268 case AlloyLanguagePackage.ALS_DEFINITION__VALUE:
269 setValue((ALSTerm)null);
270 return;
271 }
272 super.eUnset(featureID);
273 }
274
275 /**
276 * <!-- begin-user-doc -->
277 * <!-- end-user-doc -->
278 * @generated
279 */
280 @Override
281 public boolean eIsSet(int featureID)
282 {
283 switch (featureID)
284 {
285 case AlloyLanguagePackage.ALS_DEFINITION__NAME:
286 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
287 case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES:
288 return variables != null && !variables.isEmpty();
289 case AlloyLanguagePackage.ALS_DEFINITION__VALUE:
290 return value != null;
291 }
292 return super.eIsSet(featureID);
293 }
294
295 /**
296 * <!-- begin-user-doc -->
297 * <!-- end-user-doc -->
298 * @generated
299 */
300 @Override
301 public String toString()
302 {
303 if (eIsProxy()) return super.toString();
304
305 StringBuffer result = new StringBuffer(super.toString());
306 result.append(" (name: ");
307 result.append(name);
308 result.append(')');
309 return result.toString();
310 }
311
312} //ALSDefinitionImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java
deleted file mode 100644
index a80d74fe..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java
+++ /dev/null
@@ -1,392 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Direct Product</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.alloyLanguage.impl.ALSDirectProductImpl#getLeftOperand <em>Left Operand</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getLeftMultiplicit <em>Left Multiplicit</em>}</li>
28 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getRightMultiplicit <em>Right Multiplicit</em>}</li>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getRightOperand <em>Right Operand</em>}</li>
30 * </ul>
31 *
32 * @generated
33 */
34public class ALSDirectProductImpl extends ALSTermImpl implements ALSDirectProduct
35{
36 /**
37 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getLeftOperand()
41 * @generated
42 * @ordered
43 */
44 protected ALSTerm leftOperand;
45
46 /**
47 * The default value of the '{@link #getLeftMultiplicit() <em>Left Multiplicit</em>}' attribute.
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @see #getLeftMultiplicit()
51 * @generated
52 * @ordered
53 */
54 protected static final ALSMultiplicity LEFT_MULTIPLICIT_EDEFAULT = ALSMultiplicity.ALL;
55
56 /**
57 * The cached value of the '{@link #getLeftMultiplicit() <em>Left Multiplicit</em>}' attribute.
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @see #getLeftMultiplicit()
61 * @generated
62 * @ordered
63 */
64 protected ALSMultiplicity leftMultiplicit = LEFT_MULTIPLICIT_EDEFAULT;
65
66 /**
67 * The default value of the '{@link #getRightMultiplicit() <em>Right Multiplicit</em>}' attribute.
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @see #getRightMultiplicit()
71 * @generated
72 * @ordered
73 */
74 protected static final ALSMultiplicity RIGHT_MULTIPLICIT_EDEFAULT = ALSMultiplicity.ALL;
75
76 /**
77 * The cached value of the '{@link #getRightMultiplicit() <em>Right Multiplicit</em>}' attribute.
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @see #getRightMultiplicit()
81 * @generated
82 * @ordered
83 */
84 protected ALSMultiplicity rightMultiplicit = RIGHT_MULTIPLICIT_EDEFAULT;
85
86 /**
87 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
88 * <!-- begin-user-doc -->
89 * <!-- end-user-doc -->
90 * @see #getRightOperand()
91 * @generated
92 * @ordered
93 */
94 protected ALSTerm rightOperand;
95
96 /**
97 * <!-- begin-user-doc -->
98 * <!-- end-user-doc -->
99 * @generated
100 */
101 protected ALSDirectProductImpl()
102 {
103 super();
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 @Override
112 protected EClass eStaticClass()
113 {
114 return AlloyLanguagePackage.Literals.ALS_DIRECT_PRODUCT;
115 }
116
117 /**
118 * <!-- begin-user-doc -->
119 * <!-- end-user-doc -->
120 * @generated
121 */
122 public ALSTerm getLeftOperand()
123 {
124 return leftOperand;
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
133 {
134 ALSTerm oldLeftOperand = leftOperand;
135 leftOperand = newLeftOperand;
136 if (eNotificationRequired())
137 {
138 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
139 if (msgs == null) msgs = notification; else msgs.add(notification);
140 }
141 return msgs;
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 public void setLeftOperand(ALSTerm newLeftOperand)
150 {
151 if (newLeftOperand != leftOperand)
152 {
153 NotificationChain msgs = null;
154 if (leftOperand != null)
155 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, null, msgs);
156 if (newLeftOperand != null)
157 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, null, msgs);
158 msgs = basicSetLeftOperand(newLeftOperand, msgs);
159 if (msgs != null) msgs.dispatch();
160 }
161 else if (eNotificationRequired())
162 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, newLeftOperand, newLeftOperand));
163 }
164
165 /**
166 * <!-- begin-user-doc -->
167 * <!-- end-user-doc -->
168 * @generated
169 */
170 public ALSMultiplicity getLeftMultiplicit()
171 {
172 return leftMultiplicit;
173 }
174
175 /**
176 * <!-- begin-user-doc -->
177 * <!-- end-user-doc -->
178 * @generated
179 */
180 public void setLeftMultiplicit(ALSMultiplicity newLeftMultiplicit)
181 {
182 ALSMultiplicity oldLeftMultiplicit = leftMultiplicit;
183 leftMultiplicit = newLeftMultiplicit == null ? LEFT_MULTIPLICIT_EDEFAULT : newLeftMultiplicit;
184 if (eNotificationRequired())
185 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT, oldLeftMultiplicit, leftMultiplicit));
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 public ALSMultiplicity getRightMultiplicit()
194 {
195 return rightMultiplicit;
196 }
197
198 /**
199 * <!-- begin-user-doc -->
200 * <!-- end-user-doc -->
201 * @generated
202 */
203 public void setRightMultiplicit(ALSMultiplicity newRightMultiplicit)
204 {
205 ALSMultiplicity oldRightMultiplicit = rightMultiplicit;
206 rightMultiplicit = newRightMultiplicit == null ? RIGHT_MULTIPLICIT_EDEFAULT : newRightMultiplicit;
207 if (eNotificationRequired())
208 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT, oldRightMultiplicit, rightMultiplicit));
209 }
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 public ALSTerm getRightOperand()
217 {
218 return rightOperand;
219 }
220
221 /**
222 * <!-- begin-user-doc -->
223 * <!-- end-user-doc -->
224 * @generated
225 */
226 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
227 {
228 ALSTerm oldRightOperand = rightOperand;
229 rightOperand = newRightOperand;
230 if (eNotificationRequired())
231 {
232 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, oldRightOperand, newRightOperand);
233 if (msgs == null) msgs = notification; else msgs.add(notification);
234 }
235 return msgs;
236 }
237
238 /**
239 * <!-- begin-user-doc -->
240 * <!-- end-user-doc -->
241 * @generated
242 */
243 public void setRightOperand(ALSTerm newRightOperand)
244 {
245 if (newRightOperand != rightOperand)
246 {
247 NotificationChain msgs = null;
248 if (rightOperand != null)
249 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, null, msgs);
250 if (newRightOperand != null)
251 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, null, msgs);
252 msgs = basicSetRightOperand(newRightOperand, msgs);
253 if (msgs != null) msgs.dispatch();
254 }
255 else if (eNotificationRequired())
256 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, newRightOperand, newRightOperand));
257 }
258
259 /**
260 * <!-- begin-user-doc -->
261 * <!-- end-user-doc -->
262 * @generated
263 */
264 @Override
265 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
266 {
267 switch (featureID)
268 {
269 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND:
270 return basicSetLeftOperand(null, msgs);
271 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND:
272 return basicSetRightOperand(null, msgs);
273 }
274 return super.eInverseRemove(otherEnd, featureID, msgs);
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public Object eGet(int featureID, boolean resolve, boolean coreType)
284 {
285 switch (featureID)
286 {
287 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND:
288 return getLeftOperand();
289 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT:
290 return getLeftMultiplicit();
291 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT:
292 return getRightMultiplicit();
293 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND:
294 return getRightOperand();
295 }
296 return super.eGet(featureID, resolve, coreType);
297 }
298
299 /**
300 * <!-- begin-user-doc -->
301 * <!-- end-user-doc -->
302 * @generated
303 */
304 @Override
305 public void eSet(int featureID, Object newValue)
306 {
307 switch (featureID)
308 {
309 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND:
310 setLeftOperand((ALSTerm)newValue);
311 return;
312 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT:
313 setLeftMultiplicit((ALSMultiplicity)newValue);
314 return;
315 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT:
316 setRightMultiplicit((ALSMultiplicity)newValue);
317 return;
318 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND:
319 setRightOperand((ALSTerm)newValue);
320 return;
321 }
322 super.eSet(featureID, newValue);
323 }
324
325 /**
326 * <!-- begin-user-doc -->
327 * <!-- end-user-doc -->
328 * @generated
329 */
330 @Override
331 public void eUnset(int featureID)
332 {
333 switch (featureID)
334 {
335 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND:
336 setLeftOperand((ALSTerm)null);
337 return;
338 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT:
339 setLeftMultiplicit(LEFT_MULTIPLICIT_EDEFAULT);
340 return;
341 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT:
342 setRightMultiplicit(RIGHT_MULTIPLICIT_EDEFAULT);
343 return;
344 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND:
345 setRightOperand((ALSTerm)null);
346 return;
347 }
348 super.eUnset(featureID);
349 }
350
351 /**
352 * <!-- begin-user-doc -->
353 * <!-- end-user-doc -->
354 * @generated
355 */
356 @Override
357 public boolean eIsSet(int featureID)
358 {
359 switch (featureID)
360 {
361 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND:
362 return leftOperand != null;
363 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT:
364 return leftMultiplicit != LEFT_MULTIPLICIT_EDEFAULT;
365 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT:
366 return rightMultiplicit != RIGHT_MULTIPLICIT_EDEFAULT;
367 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND:
368 return rightOperand != null;
369 }
370 return super.eIsSet(featureID);
371 }
372
373 /**
374 * <!-- begin-user-doc -->
375 * <!-- end-user-doc -->
376 * @generated
377 */
378 @Override
379 public String toString()
380 {
381 if (eIsProxy()) return super.toString();
382
383 StringBuffer result = new StringBuffer(super.toString());
384 result.append(" (leftMultiplicit: ");
385 result.append(leftMultiplicit);
386 result.append(", rightMultiplicit: ");
387 result.append(rightMultiplicit);
388 result.append(')');
389 return result.toString();
390 }
391
392} //ALSDirectProductImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java
deleted file mode 100644
index 008fba7c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java
+++ /dev/null
@@ -1,397 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition;
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand;
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody;
12import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
13
14import java.util.Collection;
15
16import org.eclipse.emf.common.notify.Notification;
17import org.eclipse.emf.common.notify.NotificationChain;
18
19import org.eclipse.emf.common.util.EList;
20
21import org.eclipse.emf.ecore.EClass;
22import org.eclipse.emf.ecore.InternalEObject;
23
24import org.eclipse.emf.ecore.impl.ENotificationImpl;
25import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
26
27import org.eclipse.emf.ecore.util.EObjectContainmentEList;
28import org.eclipse.emf.ecore.util.InternalEList;
29
30/**
31 * <!-- begin-user-doc -->
32 * An implementation of the model object '<em><b>ALS Document</b></em>'.
33 * <!-- end-user-doc -->
34 * <p>
35 * The following features are implemented:
36 * </p>
37 * <ul>
38 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getEnumDeclarations <em>Enum Declarations</em>}</li>
39 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getSignatureBodies <em>Signature Bodies</em>}</li>
40 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getFunctionDefinitions <em>Function Definitions</em>}</li>
41 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getRelationDefinitions <em>Relation Definitions</em>}</li>
42 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getFactDeclarations <em>Fact Declarations</em>}</li>
43 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getRunCommand <em>Run Command</em>}</li>
44 * </ul>
45 *
46 * @generated
47 */
48public class ALSDocumentImpl extends MinimalEObjectImpl.Container implements ALSDocument
49{
50 /**
51 * The cached value of the '{@link #getEnumDeclarations() <em>Enum Declarations</em>}' containment reference list.
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @see #getEnumDeclarations()
55 * @generated
56 * @ordered
57 */
58 protected EList<ALSEnumDeclaration> enumDeclarations;
59
60 /**
61 * The cached value of the '{@link #getSignatureBodies() <em>Signature Bodies</em>}' containment reference list.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @see #getSignatureBodies()
65 * @generated
66 * @ordered
67 */
68 protected EList<ALSSignatureBody> signatureBodies;
69
70 /**
71 * The cached value of the '{@link #getFunctionDefinitions() <em>Function Definitions</em>}' containment reference list.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @see #getFunctionDefinitions()
75 * @generated
76 * @ordered
77 */
78 protected EList<ALSFunctionDefinition> functionDefinitions;
79
80 /**
81 * The cached value of the '{@link #getRelationDefinitions() <em>Relation Definitions</em>}' containment reference list.
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @see #getRelationDefinitions()
85 * @generated
86 * @ordered
87 */
88 protected EList<ALSRelationDefinition> relationDefinitions;
89
90 /**
91 * The cached value of the '{@link #getFactDeclarations() <em>Fact Declarations</em>}' containment reference list.
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @see #getFactDeclarations()
95 * @generated
96 * @ordered
97 */
98 protected EList<ALSFactDeclaration> factDeclarations;
99
100 /**
101 * The cached value of the '{@link #getRunCommand() <em>Run Command</em>}' containment reference.
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @see #getRunCommand()
105 * @generated
106 * @ordered
107 */
108 protected ALSRunCommand runCommand;
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 protected ALSDocumentImpl()
116 {
117 super();
118 }
119
120 /**
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @generated
124 */
125 @Override
126 protected EClass eStaticClass()
127 {
128 return AlloyLanguagePackage.Literals.ALS_DOCUMENT;
129 }
130
131 /**
132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc -->
134 * @generated
135 */
136 public EList<ALSEnumDeclaration> getEnumDeclarations()
137 {
138 if (enumDeclarations == null)
139 {
140 enumDeclarations = new EObjectContainmentEList<ALSEnumDeclaration>(ALSEnumDeclaration.class, this, AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS);
141 }
142 return enumDeclarations;
143 }
144
145 /**
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 */
150 public EList<ALSSignatureBody> getSignatureBodies()
151 {
152 if (signatureBodies == null)
153 {
154 signatureBodies = new EObjectContainmentEList<ALSSignatureBody>(ALSSignatureBody.class, this, AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES);
155 }
156 return signatureBodies;
157 }
158
159 /**
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @generated
163 */
164 public EList<ALSFunctionDefinition> getFunctionDefinitions()
165 {
166 if (functionDefinitions == null)
167 {
168 functionDefinitions = new EObjectContainmentEList<ALSFunctionDefinition>(ALSFunctionDefinition.class, this, AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS);
169 }
170 return functionDefinitions;
171 }
172
173 /**
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 */
178 public EList<ALSRelationDefinition> getRelationDefinitions()
179 {
180 if (relationDefinitions == null)
181 {
182 relationDefinitions = new EObjectContainmentEList<ALSRelationDefinition>(ALSRelationDefinition.class, this, AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS);
183 }
184 return relationDefinitions;
185 }
186
187 /**
188 * <!-- begin-user-doc -->
189 * <!-- end-user-doc -->
190 * @generated
191 */
192 public EList<ALSFactDeclaration> getFactDeclarations()
193 {
194 if (factDeclarations == null)
195 {
196 factDeclarations = new EObjectContainmentEList<ALSFactDeclaration>(ALSFactDeclaration.class, this, AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS);
197 }
198 return factDeclarations;
199 }
200
201 /**
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 */
206 public ALSRunCommand getRunCommand()
207 {
208 return runCommand;
209 }
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 public NotificationChain basicSetRunCommand(ALSRunCommand newRunCommand, NotificationChain msgs)
217 {
218 ALSRunCommand oldRunCommand = runCommand;
219 runCommand = newRunCommand;
220 if (eNotificationRequired())
221 {
222 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, oldRunCommand, newRunCommand);
223 if (msgs == null) msgs = notification; else msgs.add(notification);
224 }
225 return msgs;
226 }
227
228 /**
229 * <!-- begin-user-doc -->
230 * <!-- end-user-doc -->
231 * @generated
232 */
233 public void setRunCommand(ALSRunCommand newRunCommand)
234 {
235 if (newRunCommand != runCommand)
236 {
237 NotificationChain msgs = null;
238 if (runCommand != null)
239 msgs = ((InternalEObject)runCommand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, null, msgs);
240 if (newRunCommand != null)
241 msgs = ((InternalEObject)newRunCommand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, null, msgs);
242 msgs = basicSetRunCommand(newRunCommand, msgs);
243 if (msgs != null) msgs.dispatch();
244 }
245 else if (eNotificationRequired())
246 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, newRunCommand, newRunCommand));
247 }
248
249 /**
250 * <!-- begin-user-doc -->
251 * <!-- end-user-doc -->
252 * @generated
253 */
254 @Override
255 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
256 {
257 switch (featureID)
258 {
259 case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS:
260 return ((InternalEList<?>)getEnumDeclarations()).basicRemove(otherEnd, msgs);
261 case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES:
262 return ((InternalEList<?>)getSignatureBodies()).basicRemove(otherEnd, msgs);
263 case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS:
264 return ((InternalEList<?>)getFunctionDefinitions()).basicRemove(otherEnd, msgs);
265 case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS:
266 return ((InternalEList<?>)getRelationDefinitions()).basicRemove(otherEnd, msgs);
267 case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS:
268 return ((InternalEList<?>)getFactDeclarations()).basicRemove(otherEnd, msgs);
269 case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND:
270 return basicSetRunCommand(null, msgs);
271 }
272 return super.eInverseRemove(otherEnd, featureID, msgs);
273 }
274
275 /**
276 * <!-- begin-user-doc -->
277 * <!-- end-user-doc -->
278 * @generated
279 */
280 @Override
281 public Object eGet(int featureID, boolean resolve, boolean coreType)
282 {
283 switch (featureID)
284 {
285 case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS:
286 return getEnumDeclarations();
287 case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES:
288 return getSignatureBodies();
289 case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS:
290 return getFunctionDefinitions();
291 case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS:
292 return getRelationDefinitions();
293 case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS:
294 return getFactDeclarations();
295 case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND:
296 return getRunCommand();
297 }
298 return super.eGet(featureID, resolve, coreType);
299 }
300
301 /**
302 * <!-- begin-user-doc -->
303 * <!-- end-user-doc -->
304 * @generated
305 */
306 @SuppressWarnings("unchecked")
307 @Override
308 public void eSet(int featureID, Object newValue)
309 {
310 switch (featureID)
311 {
312 case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS:
313 getEnumDeclarations().clear();
314 getEnumDeclarations().addAll((Collection<? extends ALSEnumDeclaration>)newValue);
315 return;
316 case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES:
317 getSignatureBodies().clear();
318 getSignatureBodies().addAll((Collection<? extends ALSSignatureBody>)newValue);
319 return;
320 case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS:
321 getFunctionDefinitions().clear();
322 getFunctionDefinitions().addAll((Collection<? extends ALSFunctionDefinition>)newValue);
323 return;
324 case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS:
325 getRelationDefinitions().clear();
326 getRelationDefinitions().addAll((Collection<? extends ALSRelationDefinition>)newValue);
327 return;
328 case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS:
329 getFactDeclarations().clear();
330 getFactDeclarations().addAll((Collection<? extends ALSFactDeclaration>)newValue);
331 return;
332 case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND:
333 setRunCommand((ALSRunCommand)newValue);
334 return;
335 }
336 super.eSet(featureID, newValue);
337 }
338
339 /**
340 * <!-- begin-user-doc -->
341 * <!-- end-user-doc -->
342 * @generated
343 */
344 @Override
345 public void eUnset(int featureID)
346 {
347 switch (featureID)
348 {
349 case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS:
350 getEnumDeclarations().clear();
351 return;
352 case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES:
353 getSignatureBodies().clear();
354 return;
355 case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS:
356 getFunctionDefinitions().clear();
357 return;
358 case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS:
359 getRelationDefinitions().clear();
360 return;
361 case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS:
362 getFactDeclarations().clear();
363 return;
364 case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND:
365 setRunCommand((ALSRunCommand)null);
366 return;
367 }
368 super.eUnset(featureID);
369 }
370
371 /**
372 * <!-- begin-user-doc -->
373 * <!-- end-user-doc -->
374 * @generated
375 */
376 @Override
377 public boolean eIsSet(int featureID)
378 {
379 switch (featureID)
380 {
381 case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS:
382 return enumDeclarations != null && !enumDeclarations.isEmpty();
383 case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES:
384 return signatureBodies != null && !signatureBodies.isEmpty();
385 case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS:
386 return functionDefinitions != null && !functionDefinitions.isEmpty();
387 case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS:
388 return relationDefinitions != null && !relationDefinitions.isEmpty();
389 case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS:
390 return factDeclarations != null && !factDeclarations.isEmpty();
391 case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND:
392 return runCommand != null;
393 }
394 return super.eIsSet(featureID);
395 }
396
397} //ALSDocumentImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
deleted file mode 100644
index 1b510870..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.common.util.EList;
14
15import org.eclipse.emf.ecore.EClass;
16import org.eclipse.emf.ecore.InternalEObject;
17
18import org.eclipse.emf.ecore.util.EObjectContainmentEList;
19import org.eclipse.emf.ecore.util.InternalEList;
20
21/**
22 * <!-- begin-user-doc -->
23 * An implementation of the model object '<em><b>ALS Enum Declaration</b></em>'.
24 * <!-- end-user-doc -->
25 * <p>
26 * The following features are implemented:
27 * </p>
28 * <ul>
29 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl#getLiteral <em>Literal</em>}</li>
30 * </ul>
31 *
32 * @generated
33 */
34public class ALSEnumDeclarationImpl extends ALSTypeDeclarationImpl implements ALSEnumDeclaration
35{
36 /**
37 * The cached value of the '{@link #getLiteral() <em>Literal</em>}' containment reference list.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getLiteral()
41 * @generated
42 * @ordered
43 */
44 protected EList<ALSEnumLiteral> literal;
45
46 /**
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @generated
50 */
51 protected ALSEnumDeclarationImpl()
52 {
53 super();
54 }
55
56 /**
57 * <!-- begin-user-doc -->
58 * <!-- end-user-doc -->
59 * @generated
60 */
61 @Override
62 protected EClass eStaticClass()
63 {
64 return AlloyLanguagePackage.Literals.ALS_ENUM_DECLARATION;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 public EList<ALSEnumLiteral> getLiteral()
73 {
74 if (literal == null)
75 {
76 literal = new EObjectContainmentEList<ALSEnumLiteral>(ALSEnumLiteral.class, this, AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL);
77 }
78 return literal;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 @Override
87 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
88 {
89 switch (featureID)
90 {
91 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
92 return ((InternalEList<?>)getLiteral()).basicRemove(otherEnd, msgs);
93 }
94 return super.eInverseRemove(otherEnd, featureID, msgs);
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 AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
108 return getLiteral();
109 }
110 return super.eGet(featureID, resolve, coreType);
111 }
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 @SuppressWarnings("unchecked")
119 @Override
120 public void eSet(int featureID, Object newValue)
121 {
122 switch (featureID)
123 {
124 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
125 getLiteral().clear();
126 getLiteral().addAll((Collection<? extends ALSEnumLiteral>)newValue);
127 return;
128 }
129 super.eSet(featureID, newValue);
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 @Override
138 public void eUnset(int featureID)
139 {
140 switch (featureID)
141 {
142 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
143 getLiteral().clear();
144 return;
145 }
146 super.eUnset(featureID);
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 @Override
155 public boolean eIsSet(int featureID)
156 {
157 switch (featureID)
158 {
159 case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL:
160 return literal != null && !literal.isEmpty();
161 }
162 return super.eIsSet(featureID);
163 }
164
165} //ALSEnumDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java
deleted file mode 100644
index 6de8f4f5..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Enum Literal</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSEnumLiteralImpl extends ALSRelationDeclarationImpl implements ALSEnumLiteral
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSEnumLiteralImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_ENUM_LITERAL;
38 }
39
40} //ALSEnumLiteralImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java
deleted file mode 100644
index 562013dd..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Equals</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.alloyLanguage.impl.ALSEqualsImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSEqualsImpl extends ALSTermImpl implements ALSEquals
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSEqualsImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_EQUALS;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSEqualsImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java
deleted file mode 100644
index 406c69a8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java
+++ /dev/null
@@ -1,265 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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;
16import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
17
18/**
19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>ALS Fact Declaration</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.alloyLanguage.impl.ALSFactDeclarationImpl#getName <em>Name</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl#getTerm <em>Term</em>}</li>
28 * </ul>
29 *
30 * @generated
31 */
32public class ALSFactDeclarationImpl extends MinimalEObjectImpl.Container implements ALSFactDeclaration
33{
34 /**
35 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @see #getName()
39 * @generated
40 * @ordered
41 */
42 protected static final String NAME_EDEFAULT = null;
43
44 /**
45 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getName()
49 * @generated
50 * @ordered
51 */
52 protected String name = NAME_EDEFAULT;
53
54 /**
55 * The cached value of the '{@link #getTerm() <em>Term</em>}' containment reference.
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @see #getTerm()
59 * @generated
60 * @ordered
61 */
62 protected ALSTerm term;
63
64 /**
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 protected ALSFactDeclarationImpl()
70 {
71 super();
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 @Override
80 protected EClass eStaticClass()
81 {
82 return AlloyLanguagePackage.Literals.ALS_FACT_DECLARATION;
83 }
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 public String getName()
91 {
92 return name;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 public void setName(String newName)
101 {
102 String oldName = name;
103 name = newName;
104 if (eNotificationRequired())
105 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME, oldName, name));
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 public ALSTerm getTerm()
114 {
115 return term;
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 public NotificationChain basicSetTerm(ALSTerm newTerm, NotificationChain msgs)
124 {
125 ALSTerm oldTerm = term;
126 term = newTerm;
127 if (eNotificationRequired())
128 {
129 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, oldTerm, newTerm);
130 if (msgs == null) msgs = notification; else msgs.add(notification);
131 }
132 return msgs;
133 }
134
135 /**
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 */
140 public void setTerm(ALSTerm newTerm)
141 {
142 if (newTerm != term)
143 {
144 NotificationChain msgs = null;
145 if (term != null)
146 msgs = ((InternalEObject)term).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, null, msgs);
147 if (newTerm != null)
148 msgs = ((InternalEObject)newTerm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, null, msgs);
149 msgs = basicSetTerm(newTerm, msgs);
150 if (msgs != null) msgs.dispatch();
151 }
152 else if (eNotificationRequired())
153 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, newTerm, newTerm));
154 }
155
156 /**
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @generated
160 */
161 @Override
162 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
163 {
164 switch (featureID)
165 {
166 case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM:
167 return basicSetTerm(null, msgs);
168 }
169 return super.eInverseRemove(otherEnd, featureID, msgs);
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public Object eGet(int featureID, boolean resolve, boolean coreType)
179 {
180 switch (featureID)
181 {
182 case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME:
183 return getName();
184 case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM:
185 return getTerm();
186 }
187 return super.eGet(featureID, resolve, coreType);
188 }
189
190 /**
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 */
195 @Override
196 public void eSet(int featureID, Object newValue)
197 {
198 switch (featureID)
199 {
200 case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME:
201 setName((String)newValue);
202 return;
203 case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM:
204 setTerm((ALSTerm)newValue);
205 return;
206 }
207 super.eSet(featureID, newValue);
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 @Override
216 public void eUnset(int featureID)
217 {
218 switch (featureID)
219 {
220 case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME:
221 setName(NAME_EDEFAULT);
222 return;
223 case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM:
224 setTerm((ALSTerm)null);
225 return;
226 }
227 super.eUnset(featureID);
228 }
229
230 /**
231 * <!-- begin-user-doc -->
232 * <!-- end-user-doc -->
233 * @generated
234 */
235 @Override
236 public boolean eIsSet(int featureID)
237 {
238 switch (featureID)
239 {
240 case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME:
241 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
242 case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM:
243 return term != null;
244 }
245 return super.eIsSet(featureID);
246 }
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 @Override
254 public String toString()
255 {
256 if (eIsProxy()) return super.toString();
257
258 StringBuffer result = new StringBuffer(super.toString());
259 result.append(" (name: ");
260 result.append(name);
261 result.append(')');
262 return result.toString();
263 }
264
265} //ALSFactDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java
deleted file mode 100644
index 0bc3aa1c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java
+++ /dev/null
@@ -1,265 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Field Declaration</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.alloyLanguage.impl.ALSFieldDeclarationImpl#getMultiplicity <em>Multiplicity</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl#getType <em>Type</em>}</li>
28 * </ul>
29 *
30 * @generated
31 */
32public class ALSFieldDeclarationImpl extends ALSRelationDeclarationImpl implements ALSFieldDeclaration
33{
34 /**
35 * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @see #getMultiplicity()
39 * @generated
40 * @ordered
41 */
42 protected static final ALSMultiplicity MULTIPLICITY_EDEFAULT = ALSMultiplicity.ALL;
43
44 /**
45 * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getMultiplicity()
49 * @generated
50 * @ordered
51 */
52 protected ALSMultiplicity multiplicity = MULTIPLICITY_EDEFAULT;
53
54 /**
55 * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @see #getType()
59 * @generated
60 * @ordered
61 */
62 protected ALSTerm type;
63
64 /**
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 protected ALSFieldDeclarationImpl()
70 {
71 super();
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 @Override
80 protected EClass eStaticClass()
81 {
82 return AlloyLanguagePackage.Literals.ALS_FIELD_DECLARATION;
83 }
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 public ALSMultiplicity getMultiplicity()
91 {
92 return multiplicity;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 public void setMultiplicity(ALSMultiplicity newMultiplicity)
101 {
102 ALSMultiplicity oldMultiplicity = multiplicity;
103 multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity;
104 if (eNotificationRequired())
105 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY, oldMultiplicity, multiplicity));
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 public ALSTerm getType()
114 {
115 return type;
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 public NotificationChain basicSetType(ALSTerm newType, NotificationChain msgs)
124 {
125 ALSTerm oldType = type;
126 type = newType;
127 if (eNotificationRequired())
128 {
129 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, oldType, newType);
130 if (msgs == null) msgs = notification; else msgs.add(notification);
131 }
132 return msgs;
133 }
134
135 /**
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 */
140 public void setType(ALSTerm newType)
141 {
142 if (newType != type)
143 {
144 NotificationChain msgs = null;
145 if (type != null)
146 msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, null, msgs);
147 if (newType != null)
148 msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, null, msgs);
149 msgs = basicSetType(newType, msgs);
150 if (msgs != null) msgs.dispatch();
151 }
152 else if (eNotificationRequired())
153 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, newType, newType));
154 }
155
156 /**
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @generated
160 */
161 @Override
162 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
163 {
164 switch (featureID)
165 {
166 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE:
167 return basicSetType(null, msgs);
168 }
169 return super.eInverseRemove(otherEnd, featureID, msgs);
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 @Override
178 public Object eGet(int featureID, boolean resolve, boolean coreType)
179 {
180 switch (featureID)
181 {
182 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY:
183 return getMultiplicity();
184 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE:
185 return getType();
186 }
187 return super.eGet(featureID, resolve, coreType);
188 }
189
190 /**
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 */
195 @Override
196 public void eSet(int featureID, Object newValue)
197 {
198 switch (featureID)
199 {
200 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY:
201 setMultiplicity((ALSMultiplicity)newValue);
202 return;
203 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE:
204 setType((ALSTerm)newValue);
205 return;
206 }
207 super.eSet(featureID, newValue);
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 @Override
216 public void eUnset(int featureID)
217 {
218 switch (featureID)
219 {
220 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY:
221 setMultiplicity(MULTIPLICITY_EDEFAULT);
222 return;
223 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE:
224 setType((ALSTerm)null);
225 return;
226 }
227 super.eUnset(featureID);
228 }
229
230 /**
231 * <!-- begin-user-doc -->
232 * <!-- end-user-doc -->
233 * @generated
234 */
235 @Override
236 public boolean eIsSet(int featureID)
237 {
238 switch (featureID)
239 {
240 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY:
241 return multiplicity != MULTIPLICITY_EDEFAULT;
242 case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE:
243 return type != null;
244 }
245 return super.eIsSet(featureID);
246 }
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 @Override
254 public String toString()
255 {
256 if (eIsProxy()) return super.toString();
257
258 StringBuffer result = new StringBuffer(super.toString());
259 result.append(" (multiplicity: ");
260 result.append(multiplicity);
261 result.append(')');
262 return result.toString();
263 }
264
265} //ALSFieldDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java
deleted file mode 100644
index f3083503..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java
+++ /dev/null
@@ -1,306 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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;
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>ALS Function Call</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.alloyLanguage.impl.ALSFunctionCallImpl#getReferredDefinition <em>Referred Definition</em>}</li>
35 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl#getReferredNumericOperator <em>Referred Numeric Operator</em>}</li>
36 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl#getParams <em>Params</em>}</li>
37 * </ul>
38 *
39 * @generated
40 */
41public class ALSFunctionCallImpl extends ALSTermImpl implements ALSFunctionCall
42{
43 /**
44 * The cached value of the '{@link #getReferredDefinition() <em>Referred Definition</em>}' reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getReferredDefinition()
48 * @generated
49 * @ordered
50 */
51 protected ALSDefinition referredDefinition;
52
53 /**
54 * The default value of the '{@link #getReferredNumericOperator() <em>Referred Numeric Operator</em>}' attribute.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @see #getReferredNumericOperator()
58 * @generated
59 * @ordered
60 */
61 protected static final ALSNumericOperator REFERRED_NUMERIC_OPERATOR_EDEFAULT = ALSNumericOperator.PLUS;
62
63 /**
64 * The cached value of the '{@link #getReferredNumericOperator() <em>Referred Numeric Operator</em>}' attribute.
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @see #getReferredNumericOperator()
68 * @generated
69 * @ordered
70 */
71 protected ALSNumericOperator referredNumericOperator = REFERRED_NUMERIC_OPERATOR_EDEFAULT;
72
73 /**
74 * The cached value of the '{@link #getParams() <em>Params</em>}' containment reference list.
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @see #getParams()
78 * @generated
79 * @ordered
80 */
81 protected EList<ALSTerm> params;
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 protected ALSFunctionCallImpl()
89 {
90 super();
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 protected EClass eStaticClass()
100 {
101 return AlloyLanguagePackage.Literals.ALS_FUNCTION_CALL;
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 public ALSDefinition getReferredDefinition()
110 {
111 if (referredDefinition != null && referredDefinition.eIsProxy())
112 {
113 InternalEObject oldReferredDefinition = (InternalEObject)referredDefinition;
114 referredDefinition = (ALSDefinition)eResolveProxy(oldReferredDefinition);
115 if (referredDefinition != oldReferredDefinition)
116 {
117 if (eNotificationRequired())
118 eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION, oldReferredDefinition, referredDefinition));
119 }
120 }
121 return referredDefinition;
122 }
123
124 /**
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 public ALSDefinition basicGetReferredDefinition()
130 {
131 return referredDefinition;
132 }
133
134 /**
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 */
139 public void setReferredDefinition(ALSDefinition newReferredDefinition)
140 {
141 ALSDefinition oldReferredDefinition = referredDefinition;
142 referredDefinition = newReferredDefinition;
143 if (eNotificationRequired())
144 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION, oldReferredDefinition, referredDefinition));
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 public ALSNumericOperator getReferredNumericOperator()
153 {
154 return referredNumericOperator;
155 }
156
157 /**
158 * <!-- begin-user-doc -->
159 * <!-- end-user-doc -->
160 * @generated
161 */
162 public void setReferredNumericOperator(ALSNumericOperator newReferredNumericOperator)
163 {
164 ALSNumericOperator oldReferredNumericOperator = referredNumericOperator;
165 referredNumericOperator = newReferredNumericOperator == null ? REFERRED_NUMERIC_OPERATOR_EDEFAULT : newReferredNumericOperator;
166 if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR, oldReferredNumericOperator, referredNumericOperator));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 public EList<ALSTerm> getParams()
176 {
177 if (params == null)
178 {
179 params = new EObjectContainmentEList<ALSTerm>(ALSTerm.class, this, AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS);
180 }
181 return params;
182 }
183
184 /**
185 * <!-- begin-user-doc -->
186 * <!-- end-user-doc -->
187 * @generated
188 */
189 @Override
190 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
191 {
192 switch (featureID)
193 {
194 case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS:
195 return ((InternalEList<?>)getParams()).basicRemove(otherEnd, msgs);
196 }
197 return super.eInverseRemove(otherEnd, featureID, msgs);
198 }
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 @Override
206 public Object eGet(int featureID, boolean resolve, boolean coreType)
207 {
208 switch (featureID)
209 {
210 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION:
211 if (resolve) return getReferredDefinition();
212 return basicGetReferredDefinition();
213 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR:
214 return getReferredNumericOperator();
215 case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS:
216 return getParams();
217 }
218 return super.eGet(featureID, resolve, coreType);
219 }
220
221 /**
222 * <!-- begin-user-doc -->
223 * <!-- end-user-doc -->
224 * @generated
225 */
226 @SuppressWarnings("unchecked")
227 @Override
228 public void eSet(int featureID, Object newValue)
229 {
230 switch (featureID)
231 {
232 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION:
233 setReferredDefinition((ALSDefinition)newValue);
234 return;
235 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR:
236 setReferredNumericOperator((ALSNumericOperator)newValue);
237 return;
238 case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS:
239 getParams().clear();
240 getParams().addAll((Collection<? extends ALSTerm>)newValue);
241 return;
242 }
243 super.eSet(featureID, newValue);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public void eUnset(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION:
257 setReferredDefinition((ALSDefinition)null);
258 return;
259 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR:
260 setReferredNumericOperator(REFERRED_NUMERIC_OPERATOR_EDEFAULT);
261 return;
262 case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS:
263 getParams().clear();
264 return;
265 }
266 super.eUnset(featureID);
267 }
268
269 /**
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @generated
273 */
274 @Override
275 public boolean eIsSet(int featureID)
276 {
277 switch (featureID)
278 {
279 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION:
280 return referredDefinition != null;
281 case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR:
282 return referredNumericOperator != REFERRED_NUMERIC_OPERATOR_EDEFAULT;
283 case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS:
284 return params != null && !params.isEmpty();
285 }
286 return super.eIsSet(featureID);
287 }
288
289 /**
290 * <!-- begin-user-doc -->
291 * <!-- end-user-doc -->
292 * @generated
293 */
294 @Override
295 public String toString()
296 {
297 if (eIsProxy()) return super.toString();
298
299 StringBuffer result = new StringBuffer(super.toString());
300 result.append(" (referredNumericOperator: ");
301 result.append(referredNumericOperator);
302 result.append(')');
303 return result.toString();
304 }
305
306} //ALSFunctionCallImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java
deleted file mode 100644
index b484da48..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Function 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.alloyLanguage.impl.ALSFunctionDefinitionImpl#getType <em>Type</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSFunctionDefinitionImpl extends ALSDefinitionImpl implements ALSFunctionDefinition
31{
32 /**
33 * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getType()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm type;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSFunctionDefinitionImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_FUNCTION_DEFINITION;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getType()
69 {
70 return type;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetType(ALSTerm newType, NotificationChain msgs)
79 {
80 ALSTerm oldType = type;
81 type = newType;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, oldType, newType);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setType(ALSTerm newType)
96 {
97 if (newType != type)
98 {
99 NotificationChain msgs = null;
100 if (type != null)
101 msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, null, msgs);
102 if (newType != null)
103 msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, null, msgs);
104 msgs = basicSetType(newType, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, newType, newType));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE:
122 return basicSetType(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE:
138 return getType();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE:
154 setType((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE:
171 setType((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE:
188 return type != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSFunctionDefinitionImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java
deleted file mode 100644
index 99d000c7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Iden</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSIdenImpl extends ALSTermImpl implements ALSIden
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSIdenImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_IDEN;
38 }
39
40} //ALSIdenImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java
deleted file mode 100644
index 33ef6891..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Iff</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.alloyLanguage.impl.ALSIffImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSIffImpl extends ALSTermImpl implements ALSIff
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSIffImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_IFF;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSIffImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java
deleted file mode 100644
index a16c6239..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java
+++ /dev/null
@@ -1,335 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Impl</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.alloyLanguage.impl.ALSImplImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl#getRightOperand <em>Right Operand</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl#getElseOperand <em>Else Operand</em>}</li>
28 * </ul>
29 *
30 * @generated
31 */
32public class ALSImplImpl extends ALSTermImpl implements ALSImpl
33{
34 /**
35 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @see #getLeftOperand()
39 * @generated
40 * @ordered
41 */
42 protected ALSTerm leftOperand;
43
44 /**
45 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getRightOperand()
49 * @generated
50 * @ordered
51 */
52 protected ALSTerm rightOperand;
53
54 /**
55 * The cached value of the '{@link #getElseOperand() <em>Else Operand</em>}' containment reference.
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @see #getElseOperand()
59 * @generated
60 * @ordered
61 */
62 protected ALSTerm elseOperand;
63
64 /**
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 protected ALSImplImpl()
70 {
71 super();
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 @Override
80 protected EClass eStaticClass()
81 {
82 return AlloyLanguagePackage.Literals.ALS_IMPL;
83 }
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 public ALSTerm getLeftOperand()
91 {
92 return leftOperand;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
101 {
102 ALSTerm oldLeftOperand = leftOperand;
103 leftOperand = newLeftOperand;
104 if (eNotificationRequired())
105 {
106 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
107 if (msgs == null) msgs = notification; else msgs.add(notification);
108 }
109 return msgs;
110 }
111
112 /**
113 * <!-- begin-user-doc -->
114 * <!-- end-user-doc -->
115 * @generated
116 */
117 public void setLeftOperand(ALSTerm newLeftOperand)
118 {
119 if (newLeftOperand != leftOperand)
120 {
121 NotificationChain msgs = null;
122 if (leftOperand != null)
123 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, null, msgs);
124 if (newLeftOperand != null)
125 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, null, msgs);
126 msgs = basicSetLeftOperand(newLeftOperand, msgs);
127 if (msgs != null) msgs.dispatch();
128 }
129 else if (eNotificationRequired())
130 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, newLeftOperand, newLeftOperand));
131 }
132
133 /**
134 * <!-- begin-user-doc -->
135 * <!-- end-user-doc -->
136 * @generated
137 */
138 public ALSTerm getRightOperand()
139 {
140 return rightOperand;
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
149 {
150 ALSTerm oldRightOperand = rightOperand;
151 rightOperand = newRightOperand;
152 if (eNotificationRequired())
153 {
154 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, oldRightOperand, newRightOperand);
155 if (msgs == null) msgs = notification; else msgs.add(notification);
156 }
157 return msgs;
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 public void setRightOperand(ALSTerm newRightOperand)
166 {
167 if (newRightOperand != rightOperand)
168 {
169 NotificationChain msgs = null;
170 if (rightOperand != null)
171 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, null, msgs);
172 if (newRightOperand != null)
173 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, null, msgs);
174 msgs = basicSetRightOperand(newRightOperand, msgs);
175 if (msgs != null) msgs.dispatch();
176 }
177 else if (eNotificationRequired())
178 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, newRightOperand, newRightOperand));
179 }
180
181 /**
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 */
186 public ALSTerm getElseOperand()
187 {
188 return elseOperand;
189 }
190
191 /**
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 */
196 public NotificationChain basicSetElseOperand(ALSTerm newElseOperand, NotificationChain msgs)
197 {
198 ALSTerm oldElseOperand = elseOperand;
199 elseOperand = newElseOperand;
200 if (eNotificationRequired())
201 {
202 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, oldElseOperand, newElseOperand);
203 if (msgs == null) msgs = notification; else msgs.add(notification);
204 }
205 return msgs;
206 }
207
208 /**
209 * <!-- begin-user-doc -->
210 * <!-- end-user-doc -->
211 * @generated
212 */
213 public void setElseOperand(ALSTerm newElseOperand)
214 {
215 if (newElseOperand != elseOperand)
216 {
217 NotificationChain msgs = null;
218 if (elseOperand != null)
219 msgs = ((InternalEObject)elseOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, null, msgs);
220 if (newElseOperand != null)
221 msgs = ((InternalEObject)newElseOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, null, msgs);
222 msgs = basicSetElseOperand(newElseOperand, msgs);
223 if (msgs != null) msgs.dispatch();
224 }
225 else if (eNotificationRequired())
226 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, newElseOperand, newElseOperand));
227 }
228
229 /**
230 * <!-- begin-user-doc -->
231 * <!-- end-user-doc -->
232 * @generated
233 */
234 @Override
235 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
236 {
237 switch (featureID)
238 {
239 case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND:
240 return basicSetLeftOperand(null, msgs);
241 case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND:
242 return basicSetRightOperand(null, msgs);
243 case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND:
244 return basicSetElseOperand(null, msgs);
245 }
246 return super.eInverseRemove(otherEnd, featureID, msgs);
247 }
248
249 /**
250 * <!-- begin-user-doc -->
251 * <!-- end-user-doc -->
252 * @generated
253 */
254 @Override
255 public Object eGet(int featureID, boolean resolve, boolean coreType)
256 {
257 switch (featureID)
258 {
259 case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND:
260 return getLeftOperand();
261 case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND:
262 return getRightOperand();
263 case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND:
264 return getElseOperand();
265 }
266 return super.eGet(featureID, resolve, coreType);
267 }
268
269 /**
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @generated
273 */
274 @Override
275 public void eSet(int featureID, Object newValue)
276 {
277 switch (featureID)
278 {
279 case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND:
280 setLeftOperand((ALSTerm)newValue);
281 return;
282 case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND:
283 setRightOperand((ALSTerm)newValue);
284 return;
285 case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND:
286 setElseOperand((ALSTerm)newValue);
287 return;
288 }
289 super.eSet(featureID, newValue);
290 }
291
292 /**
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 */
297 @Override
298 public void eUnset(int featureID)
299 {
300 switch (featureID)
301 {
302 case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND:
303 setLeftOperand((ALSTerm)null);
304 return;
305 case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND:
306 setRightOperand((ALSTerm)null);
307 return;
308 case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND:
309 setElseOperand((ALSTerm)null);
310 return;
311 }
312 super.eUnset(featureID);
313 }
314
315 /**
316 * <!-- begin-user-doc -->
317 * <!-- end-user-doc -->
318 * @generated
319 */
320 @Override
321 public boolean eIsSet(int featureID)
322 {
323 switch (featureID)
324 {
325 case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND:
326 return leftOperand != null;
327 case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND:
328 return rightOperand != null;
329 case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND:
330 return elseOperand != null;
331 }
332 return super.eIsSet(featureID);
333 }
334
335} //ALSImplImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java
deleted file mode 100644
index 46481f79..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Int</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSIntImpl extends ALSTermImpl implements ALSInt
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSIntImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_INT;
38 }
39
40} //ALSIntImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java
deleted file mode 100644
index a7beb21b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Int Scope</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSIntScopeImpl extends ALSTypeScopeImpl implements ALSIntScope
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSIntScopeImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_INT_SCOPE;
38 }
39
40} //ALSIntScopeImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java
deleted file mode 100644
index 020d2322..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Intersection</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.alloyLanguage.impl.ALSIntersectionImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSIntersectionImpl extends ALSTermImpl implements ALSIntersection
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSIntersectionImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_INTERSECTION;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSIntersectionImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java
deleted file mode 100644
index 916ba94f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Inverse Relation</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.alloyLanguage.impl.ALSInverseRelationImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSInverseRelationImpl extends ALSTermImpl implements ALSInverseRelation
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSInverseRelationImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSInverseRelationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java
deleted file mode 100644
index edf5c551..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Join</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.alloyLanguage.impl.ALSJoinImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSJoinImpl extends ALSTermImpl implements ALSJoin
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSJoinImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_JOIN;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSJoinImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
deleted file mode 100644
index be88c9bb..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Leq</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.alloyLanguage.impl.ALSLeqImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSLeqImpl extends ALSTermImpl implements ALSLeq
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSLeqImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_LEQ;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSLeqImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java
deleted file mode 100644
index 4c6b4282..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Less</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.alloyLanguage.impl.ALSLessImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSLessImpl extends ALSTermImpl implements ALSLess
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSLessImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_LESS;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSLessImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java
deleted file mode 100644
index 13b95995..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Meq</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.alloyLanguage.impl.ALSMeqImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSMeqImpl extends ALSTermImpl implements ALSMeq
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSMeqImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_MEQ;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSMeqImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java
deleted file mode 100644
index 974e1b46..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Minus</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.alloyLanguage.impl.ALSMinusImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSMinusImpl extends ALSTermImpl implements ALSMinus
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSMinusImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_MINUS;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSMinusImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java
deleted file mode 100644
index 9180d68f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS More</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.alloyLanguage.impl.ALSMoreImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSMoreImpl extends ALSTermImpl implements ALSMore
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSMoreImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_MORE;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSMoreImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java
deleted file mode 100644
index 7791e5cd..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS None</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSNoneImpl extends ALSTermImpl implements ALSNone
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSNoneImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_NONE;
38 }
39
40} //ALSNoneImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java
deleted file mode 100644
index 783b2386..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Not Equals</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.alloyLanguage.impl.ALSNotEqualsImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSNotEqualsImpl extends ALSTermImpl implements ALSNotEquals
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSNotEqualsImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_NOT_EQUALS;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSNotEqualsImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java
deleted file mode 100644
index c1230df7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Not</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.alloyLanguage.impl.ALSNotImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSNotImpl extends ALSTermImpl implements ALSNot
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSNotImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_NOT;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_NOT__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_NOT__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_NOT__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_NOT__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_NOT__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSNotImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java
deleted file mode 100644
index bf0a7224..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Number Literal</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.alloyLanguage.impl.ALSNumberLiteralImpl#getValue <em>Value</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public class ALSNumberLiteralImpl extends ALSTermImpl implements ALSNumberLiteral
28{
29 /**
30 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
31 * <!-- begin-user-doc -->
32 * <!-- end-user-doc -->
33 * @see #getValue()
34 * @generated
35 * @ordered
36 */
37 protected static final int VALUE_EDEFAULT = 0;
38
39 /**
40 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @see #getValue()
44 * @generated
45 * @ordered
46 */
47 protected int value = VALUE_EDEFAULT;
48
49 /**
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @generated
53 */
54 protected ALSNumberLiteralImpl()
55 {
56 super();
57 }
58
59 /**
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @generated
63 */
64 @Override
65 protected EClass eStaticClass()
66 {
67 return AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL;
68 }
69
70 /**
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @generated
74 */
75 public int getValue()
76 {
77 return value;
78 }
79
80 /**
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @generated
84 */
85 public void setValue(int newValue)
86 {
87 int oldValue = value;
88 value = newValue;
89 if (eNotificationRequired())
90 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE, oldValue, value));
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 public Object eGet(int featureID, boolean resolve, boolean coreType)
100 {
101 switch (featureID)
102 {
103 case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE:
104 return getValue();
105 }
106 return super.eGet(featureID, resolve, coreType);
107 }
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 @Override
115 public void eSet(int featureID, Object newValue)
116 {
117 switch (featureID)
118 {
119 case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE:
120 setValue((Integer)newValue);
121 return;
122 }
123 super.eSet(featureID, newValue);
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 @Override
132 public void eUnset(int featureID)
133 {
134 switch (featureID)
135 {
136 case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE:
137 setValue(VALUE_EDEFAULT);
138 return;
139 }
140 super.eUnset(featureID);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public boolean eIsSet(int featureID)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE:
154 return value != VALUE_EDEFAULT;
155 }
156 return super.eIsSet(featureID);
157 }
158
159 /**
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @generated
163 */
164 @Override
165 public String toString()
166 {
167 if (eIsProxy()) return super.toString();
168
169 StringBuffer result = new StringBuffer(super.toString());
170 result.append(" (value: ");
171 result.append(value);
172 result.append(')');
173 return result.toString();
174 }
175
176} //ALSNumberLiteralImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java
deleted file mode 100644
index 3d9bd2ef..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Or</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.alloyLanguage.impl.ALSOrImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSOrImpl extends ALSTermImpl implements ALSOr
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSOrImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_OR;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSOrImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java
deleted file mode 100644
index f56b6e4c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Override</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.alloyLanguage.impl.ALSOverrideImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSOverrideImpl extends ALSTermImpl implements ALSOverride
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSOverrideImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_OVERRIDE;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSOverrideImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java
deleted file mode 100644
index 57c83ca5..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Plus</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.alloyLanguage.impl.ALSPlusImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSPlusImpl extends ALSTermImpl implements ALSPlus
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSPlusImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_PLUS;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSPlusImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java
deleted file mode 100644
index a0a37cd3..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java
+++ /dev/null
@@ -1,368 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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;
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>ALS Quantified Ex</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.alloyLanguage.impl.ALSQuantifiedExImpl#getType <em>Type</em>}</li>
35 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#isDisj <em>Disj</em>}</li>
36 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#getVariables <em>Variables</em>}</li>
37 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#getExpression <em>Expression</em>}</li>
38 * </ul>
39 *
40 * @generated
41 */
42public class ALSQuantifiedExImpl extends ALSTermImpl implements ALSQuantifiedEx
43{
44 /**
45 * The default value of the '{@link #getType() <em>Type</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getType()
49 * @generated
50 * @ordered
51 */
52 protected static final ALSMultiplicity TYPE_EDEFAULT = ALSMultiplicity.ALL;
53
54 /**
55 * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @see #getType()
59 * @generated
60 * @ordered
61 */
62 protected ALSMultiplicity type = TYPE_EDEFAULT;
63
64 /**
65 * The default value of the '{@link #isDisj() <em>Disj</em>}' attribute.
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @see #isDisj()
69 * @generated
70 * @ordered
71 */
72 protected static final boolean DISJ_EDEFAULT = false;
73
74 /**
75 * The cached value of the '{@link #isDisj() <em>Disj</em>}' attribute.
76 * <!-- begin-user-doc -->
77 * <!-- end-user-doc -->
78 * @see #isDisj()
79 * @generated
80 * @ordered
81 */
82 protected boolean disj = DISJ_EDEFAULT;
83
84 /**
85 * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list.
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @see #getVariables()
89 * @generated
90 * @ordered
91 */
92 protected EList<ALSVariableDeclaration> variables;
93
94 /**
95 * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @see #getExpression()
99 * @generated
100 * @ordered
101 */
102 protected ALSTerm expression;
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 protected ALSQuantifiedExImpl()
110 {
111 super();
112 }
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 @Override
120 protected EClass eStaticClass()
121 {
122 return AlloyLanguagePackage.Literals.ALS_QUANTIFIED_EX;
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 public ALSMultiplicity getType()
131 {
132 return type;
133 }
134
135 /**
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 */
140 public void setType(ALSMultiplicity newType)
141 {
142 ALSMultiplicity oldType = type;
143 type = newType == null ? TYPE_EDEFAULT : newType;
144 if (eNotificationRequired())
145 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE, oldType, type));
146 }
147
148 /**
149 * <!-- begin-user-doc -->
150 * <!-- end-user-doc -->
151 * @generated
152 */
153 public boolean isDisj()
154 {
155 return disj;
156 }
157
158 /**
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @generated
162 */
163 public void setDisj(boolean newDisj)
164 {
165 boolean oldDisj = disj;
166 disj = newDisj;
167 if (eNotificationRequired())
168 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ, oldDisj, disj));
169 }
170
171 /**
172 * <!-- begin-user-doc -->
173 * <!-- end-user-doc -->
174 * @generated
175 */
176 public EList<ALSVariableDeclaration> getVariables()
177 {
178 if (variables == null)
179 {
180 variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES);
181 }
182 return variables;
183 }
184
185 /**
186 * <!-- begin-user-doc -->
187 * <!-- end-user-doc -->
188 * @generated
189 */
190 public ALSTerm getExpression()
191 {
192 return expression;
193 }
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 public NotificationChain basicSetExpression(ALSTerm newExpression, NotificationChain msgs)
201 {
202 ALSTerm oldExpression = expression;
203 expression = newExpression;
204 if (eNotificationRequired())
205 {
206 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, oldExpression, newExpression);
207 if (msgs == null) msgs = notification; else msgs.add(notification);
208 }
209 return msgs;
210 }
211
212 /**
213 * <!-- begin-user-doc -->
214 * <!-- end-user-doc -->
215 * @generated
216 */
217 public void setExpression(ALSTerm newExpression)
218 {
219 if (newExpression != expression)
220 {
221 NotificationChain msgs = null;
222 if (expression != null)
223 msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, null, msgs);
224 if (newExpression != null)
225 msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, null, msgs);
226 msgs = basicSetExpression(newExpression, msgs);
227 if (msgs != null) msgs.dispatch();
228 }
229 else if (eNotificationRequired())
230 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, newExpression, newExpression));
231 }
232
233 /**
234 * <!-- begin-user-doc -->
235 * <!-- end-user-doc -->
236 * @generated
237 */
238 @Override
239 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
240 {
241 switch (featureID)
242 {
243 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES:
244 return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs);
245 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION:
246 return basicSetExpression(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 Object eGet(int featureID, boolean resolve, boolean coreType)
258 {
259 switch (featureID)
260 {
261 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE:
262 return getType();
263 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ:
264 return isDisj();
265 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES:
266 return getVariables();
267 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION:
268 return getExpression();
269 }
270 return super.eGet(featureID, resolve, coreType);
271 }
272
273 /**
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @generated
277 */
278 @SuppressWarnings("unchecked")
279 @Override
280 public void eSet(int featureID, Object newValue)
281 {
282 switch (featureID)
283 {
284 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE:
285 setType((ALSMultiplicity)newValue);
286 return;
287 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ:
288 setDisj((Boolean)newValue);
289 return;
290 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES:
291 getVariables().clear();
292 getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue);
293 return;
294 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION:
295 setExpression((ALSTerm)newValue);
296 return;
297 }
298 super.eSet(featureID, newValue);
299 }
300
301 /**
302 * <!-- begin-user-doc -->
303 * <!-- end-user-doc -->
304 * @generated
305 */
306 @Override
307 public void eUnset(int featureID)
308 {
309 switch (featureID)
310 {
311 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE:
312 setType(TYPE_EDEFAULT);
313 return;
314 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ:
315 setDisj(DISJ_EDEFAULT);
316 return;
317 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES:
318 getVariables().clear();
319 return;
320 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION:
321 setExpression((ALSTerm)null);
322 return;
323 }
324 super.eUnset(featureID);
325 }
326
327 /**
328 * <!-- begin-user-doc -->
329 * <!-- end-user-doc -->
330 * @generated
331 */
332 @Override
333 public boolean eIsSet(int featureID)
334 {
335 switch (featureID)
336 {
337 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE:
338 return type != TYPE_EDEFAULT;
339 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ:
340 return disj != DISJ_EDEFAULT;
341 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES:
342 return variables != null && !variables.isEmpty();
343 case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION:
344 return expression != null;
345 }
346 return super.eIsSet(featureID);
347 }
348
349 /**
350 * <!-- begin-user-doc -->
351 * <!-- end-user-doc -->
352 * @generated
353 */
354 @Override
355 public String toString()
356 {
357 if (eIsProxy()) return super.toString();
358
359 StringBuffer result = new StringBuffer(super.toString());
360 result.append(" (type: ");
361 result.append(type);
362 result.append(", disj: ");
363 result.append(disj);
364 result.append(')');
365 return result.toString();
366 }
367
368} //ALSQuantifiedExImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java
deleted file mode 100644
index f29d5f07..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Range Restriction Left</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.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getFilter <em>Filter</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getRelation <em>Relation</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSRangeRestrictionLeftImpl extends ALSTermImpl implements ALSRangeRestrictionLeft
32{
33 /**
34 * The cached value of the '{@link #getFilter() <em>Filter</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getFilter()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm filter;
42
43 /**
44 * The cached value of the '{@link #getRelation() <em>Relation</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRelation()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm relation;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSRangeRestrictionLeftImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getFilter()
80 {
81 return filter;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetFilter(ALSTerm newFilter, NotificationChain msgs)
90 {
91 ALSTerm oldFilter = filter;
92 filter = newFilter;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, oldFilter, newFilter);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setFilter(ALSTerm newFilter)
107 {
108 if (newFilter != filter)
109 {
110 NotificationChain msgs = null;
111 if (filter != null)
112 msgs = ((InternalEObject)filter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs);
113 if (newFilter != null)
114 msgs = ((InternalEObject)newFilter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs);
115 msgs = basicSetFilter(newFilter, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, newFilter, newFilter));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRelation()
128 {
129 return relation;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRelation(ALSTerm newRelation, NotificationChain msgs)
138 {
139 ALSTerm oldRelation = relation;
140 relation = newRelation;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, oldRelation, newRelation);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRelation(ALSTerm newRelation)
155 {
156 if (newRelation != relation)
157 {
158 NotificationChain msgs = null;
159 if (relation != null)
160 msgs = ((InternalEObject)relation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs);
161 if (newRelation != null)
162 msgs = ((InternalEObject)newRelation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs);
163 msgs = basicSetRelation(newRelation, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, newRelation, newRelation));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER:
181 return basicSetFilter(null, msgs);
182 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION:
183 return basicSetRelation(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER:
199 return getFilter();
200 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION:
201 return getRelation();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER:
217 setFilter((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION:
220 setRelation((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER:
237 setFilter((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION:
240 setRelation((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER:
257 return filter != null;
258 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION:
259 return relation != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSRangeRestrictionLeftImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java
deleted file mode 100644
index 4602e3c8..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Range Restriction Right</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.alloyLanguage.impl.ALSRangeRestrictionRightImpl#getRelation <em>Relation</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl#getFilter <em>Filter</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSRangeRestrictionRightImpl extends ALSTermImpl implements ALSRangeRestrictionRight
32{
33 /**
34 * The cached value of the '{@link #getRelation() <em>Relation</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getRelation()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm relation;
42
43 /**
44 * The cached value of the '{@link #getFilter() <em>Filter</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getFilter()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm filter;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSRangeRestrictionRightImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getRelation()
80 {
81 return relation;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetRelation(ALSTerm newRelation, NotificationChain msgs)
90 {
91 ALSTerm oldRelation = relation;
92 relation = newRelation;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, oldRelation, newRelation);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setRelation(ALSTerm newRelation)
107 {
108 if (newRelation != relation)
109 {
110 NotificationChain msgs = null;
111 if (relation != null)
112 msgs = ((InternalEObject)relation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, null, msgs);
113 if (newRelation != null)
114 msgs = ((InternalEObject)newRelation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, null, msgs);
115 msgs = basicSetRelation(newRelation, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, newRelation, newRelation));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getFilter()
128 {
129 return filter;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetFilter(ALSTerm newFilter, NotificationChain msgs)
138 {
139 ALSTerm oldFilter = filter;
140 filter = newFilter;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, oldFilter, newFilter);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setFilter(ALSTerm newFilter)
155 {
156 if (newFilter != filter)
157 {
158 NotificationChain msgs = null;
159 if (filter != null)
160 msgs = ((InternalEObject)filter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, null, msgs);
161 if (newFilter != null)
162 msgs = ((InternalEObject)newFilter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, null, msgs);
163 msgs = basicSetFilter(newFilter, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, newFilter, newFilter));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION:
181 return basicSetRelation(null, msgs);
182 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER:
183 return basicSetFilter(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION:
199 return getRelation();
200 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER:
201 return getFilter();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION:
217 setRelation((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER:
220 setFilter((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION:
237 setRelation((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER:
240 setFilter((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION:
257 return relation != null;
258 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER:
259 return filter != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSRangeRestrictionRightImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java
deleted file mode 100644
index 593c8a94..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java
+++ /dev/null
@@ -1,172 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12import org.eclipse.emf.ecore.InternalEObject;
13
14import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>ALS Reference</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.alloyLanguage.impl.ALSReferenceImpl#getReferred <em>Referred</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class ALSReferenceImpl extends ALSTermImpl implements ALSReference
30{
31 /**
32 * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #getReferred()
36 * @generated
37 * @ordered
38 */
39 protected ALSRelationDeclaration referred;
40
41 /**
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @generated
45 */
46 protected ALSReferenceImpl()
47 {
48 super();
49 }
50
51 /**
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @generated
55 */
56 @Override
57 protected EClass eStaticClass()
58 {
59 return AlloyLanguagePackage.Literals.ALS_REFERENCE;
60 }
61
62 /**
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @generated
66 */
67 public ALSRelationDeclaration getReferred()
68 {
69 if (referred != null && referred.eIsProxy())
70 {
71 InternalEObject oldReferred = (InternalEObject)referred;
72 referred = (ALSRelationDeclaration)eResolveProxy(oldReferred);
73 if (referred != oldReferred)
74 {
75 if (eNotificationRequired())
76 eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_REFERENCE__REFERRED, oldReferred, referred));
77 }
78 }
79 return referred;
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 public ALSRelationDeclaration basicGetReferred()
88 {
89 return referred;
90 }
91
92 /**
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @generated
96 */
97 public void setReferred(ALSRelationDeclaration newReferred)
98 {
99 ALSRelationDeclaration oldReferred = referred;
100 referred = newReferred;
101 if (eNotificationRequired())
102 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFERENCE__REFERRED, oldReferred, referred));
103 }
104
105 /**
106 * <!-- begin-user-doc -->
107 * <!-- end-user-doc -->
108 * @generated
109 */
110 @Override
111 public Object eGet(int featureID, boolean resolve, boolean coreType)
112 {
113 switch (featureID)
114 {
115 case AlloyLanguagePackage.ALS_REFERENCE__REFERRED:
116 if (resolve) return getReferred();
117 return basicGetReferred();
118 }
119 return super.eGet(featureID, resolve, coreType);
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 @Override
128 public void eSet(int featureID, Object newValue)
129 {
130 switch (featureID)
131 {
132 case AlloyLanguagePackage.ALS_REFERENCE__REFERRED:
133 setReferred((ALSRelationDeclaration)newValue);
134 return;
135 }
136 super.eSet(featureID, newValue);
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public void eUnset(int featureID)
146 {
147 switch (featureID)
148 {
149 case AlloyLanguagePackage.ALS_REFERENCE__REFERRED:
150 setReferred((ALSRelationDeclaration)null);
151 return;
152 }
153 super.eUnset(featureID);
154 }
155
156 /**
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @generated
160 */
161 @Override
162 public boolean eIsSet(int featureID)
163 {
164 switch (featureID)
165 {
166 case AlloyLanguagePackage.ALS_REFERENCE__REFERRED:
167 return referred != null;
168 }
169 return super.eIsSet(featureID);
170 }
171
172} //ALSReferenceImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java
deleted file mode 100644
index efe3a67e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Reflective Transitive Closure</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.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSReflectiveTransitiveClosureImpl extends ALSTermImpl implements ALSReflectiveTransitiveClosure
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSReflectiveTransitiveClosureImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSReflectiveTransitiveClosureImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java
deleted file mode 100644
index e93196b0..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>ALS Relation Declaration</b></em>'.
18 * <!-- end-user-doc -->
19 * <p>
20 * The following features are implemented:
21 * </p>
22 * <ul>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl#getName <em>Name</em>}</li>
24 * </ul>
25 *
26 * @generated
27 */
28public class ALSRelationDeclarationImpl extends MinimalEObjectImpl.Container implements ALSRelationDeclaration
29{
30 /**
31 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @see #getName()
35 * @generated
36 * @ordered
37 */
38 protected static final String NAME_EDEFAULT = null;
39
40 /**
41 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getName()
45 * @generated
46 * @ordered
47 */
48 protected String name = NAME_EDEFAULT;
49
50 /**
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @generated
54 */
55 protected ALSRelationDeclarationImpl()
56 {
57 super();
58 }
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 @Override
66 protected EClass eStaticClass()
67 {
68 return AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION;
69 }
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 public String getName()
77 {
78 return name;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 public void setName(String newName)
87 {
88 String oldName = name;
89 name = newName;
90 if (eNotificationRequired())
91 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME, oldName, name));
92 }
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 @Override
100 public Object eGet(int featureID, boolean resolve, boolean coreType)
101 {
102 switch (featureID)
103 {
104 case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME:
105 return getName();
106 }
107 return super.eGet(featureID, resolve, coreType);
108 }
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 @Override
116 public void eSet(int featureID, Object newValue)
117 {
118 switch (featureID)
119 {
120 case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME:
121 setName((String)newValue);
122 return;
123 }
124 super.eSet(featureID, newValue);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public void eUnset(int featureID)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME:
138 setName(NAME_EDEFAULT);
139 return;
140 }
141 super.eUnset(featureID);
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public boolean eIsSet(int featureID)
151 {
152 switch (featureID)
153 {
154 case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME:
155 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
156 }
157 return super.eIsSet(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public String toString()
167 {
168 if (eIsProxy()) return super.toString();
169
170 StringBuffer result = new StringBuffer(super.toString());
171 result.append(" (name: ");
172 result.append(name);
173 result.append(')');
174 return result.toString();
175 }
176
177} //ALSRelationDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java
deleted file mode 100644
index 38014e58..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Relation Definition</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSRelationDefinitionImpl extends ALSDefinitionImpl implements ALSRelationDefinition
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSRelationDefinitionImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_RELATION_DEFINITION;
38 }
39
40} //ALSRelationDefinitionImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java
deleted file mode 100644
index f3a909dc..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import java.util.Collection;
10
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.common.util.EList;
14
15import org.eclipse.emf.ecore.EClass;
16import org.eclipse.emf.ecore.InternalEObject;
17
18import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
19
20import org.eclipse.emf.ecore.util.EObjectContainmentEList;
21import org.eclipse.emf.ecore.util.InternalEList;
22
23/**
24 * <!-- begin-user-doc -->
25 * An implementation of the model object '<em><b>ALS Run Command</b></em>'.
26 * <!-- end-user-doc -->
27 * <p>
28 * The following features are implemented:
29 * </p>
30 * <ul>
31 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl#getTypeScopes <em>Type Scopes</em>}</li>
32 * </ul>
33 *
34 * @generated
35 */
36public class ALSRunCommandImpl extends MinimalEObjectImpl.Container implements ALSRunCommand
37{
38 /**
39 * The cached value of the '{@link #getTypeScopes() <em>Type Scopes</em>}' containment reference list.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getTypeScopes()
43 * @generated
44 * @ordered
45 */
46 protected EList<ALSTypeScope> typeScopes;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected ALSRunCommandImpl()
54 {
55 super();
56 }
57
58 /**
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @generated
62 */
63 @Override
64 protected EClass eStaticClass()
65 {
66 return AlloyLanguagePackage.Literals.ALS_RUN_COMMAND;
67 }
68
69 /**
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @generated
73 */
74 public EList<ALSTypeScope> getTypeScopes()
75 {
76 if (typeScopes == null)
77 {
78 typeScopes = new EObjectContainmentEList<ALSTypeScope>(ALSTypeScope.class, this, AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES);
79 }
80 return typeScopes;
81 }
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 @Override
89 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
90 {
91 switch (featureID)
92 {
93 case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES:
94 return ((InternalEList<?>)getTypeScopes()).basicRemove(otherEnd, msgs);
95 }
96 return super.eInverseRemove(otherEnd, featureID, msgs);
97 }
98
99 /**
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 */
104 @Override
105 public Object eGet(int featureID, boolean resolve, boolean coreType)
106 {
107 switch (featureID)
108 {
109 case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES:
110 return getTypeScopes();
111 }
112 return super.eGet(featureID, resolve, coreType);
113 }
114
115 /**
116 * <!-- begin-user-doc -->
117 * <!-- end-user-doc -->
118 * @generated
119 */
120 @SuppressWarnings("unchecked")
121 @Override
122 public void eSet(int featureID, Object newValue)
123 {
124 switch (featureID)
125 {
126 case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES:
127 getTypeScopes().clear();
128 getTypeScopes().addAll((Collection<? extends ALSTypeScope>)newValue);
129 return;
130 }
131 super.eSet(featureID, newValue);
132 }
133
134 /**
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 */
139 @Override
140 public void eUnset(int featureID)
141 {
142 switch (featureID)
143 {
144 case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES:
145 getTypeScopes().clear();
146 return;
147 }
148 super.eUnset(featureID);
149 }
150
151 /**
152 * <!-- begin-user-doc -->
153 * <!-- end-user-doc -->
154 * @generated
155 */
156 @Override
157 public boolean eIsSet(int featureID)
158 {
159 switch (featureID)
160 {
161 case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES:
162 return typeScopes != null && !typeScopes.isEmpty();
163 }
164 return super.eIsSet(featureID);
165 }
166
167} //ALSRunCommandImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java
deleted file mode 100644
index 18f22c3f..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java
+++ /dev/null
@@ -1,243 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12import org.eclipse.emf.ecore.InternalEObject;
13
14import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>ALS Sig Scope</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.alloyLanguage.impl.ALSSigScopeImpl#isExactly <em>Exactly</em>}</li>
25 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl#getType <em>Type</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSSigScopeImpl extends ALSTypeScopeImpl implements ALSSigScope
31{
32 /**
33 * The default value of the '{@link #isExactly() <em>Exactly</em>}' attribute.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #isExactly()
37 * @generated
38 * @ordered
39 */
40 protected static final boolean EXACTLY_EDEFAULT = false;
41
42 /**
43 * The cached value of the '{@link #isExactly() <em>Exactly</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #isExactly()
47 * @generated
48 * @ordered
49 */
50 protected boolean exactly = EXACTLY_EDEFAULT;
51
52 /**
53 * The cached value of the '{@link #getType() <em>Type</em>}' reference.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #getType()
57 * @generated
58 * @ordered
59 */
60 protected ALSSignatureDeclaration type;
61
62 /**
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @generated
66 */
67 protected ALSSigScopeImpl()
68 {
69 super();
70 }
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 @Override
78 protected EClass eStaticClass()
79 {
80 return AlloyLanguagePackage.Literals.ALS_SIG_SCOPE;
81 }
82
83 /**
84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc -->
86 * @generated
87 */
88 public boolean isExactly()
89 {
90 return exactly;
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 public void setExactly(boolean newExactly)
99 {
100 boolean oldExactly = exactly;
101 exactly = newExactly;
102 if (eNotificationRequired())
103 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY, oldExactly, exactly));
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 public ALSSignatureDeclaration getType()
112 {
113 if (type != null && type.eIsProxy())
114 {
115 InternalEObject oldType = (InternalEObject)type;
116 type = (ALSSignatureDeclaration)eResolveProxy(oldType);
117 if (type != oldType)
118 {
119 if (eNotificationRequired())
120 eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE, oldType, type));
121 }
122 }
123 return type;
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 public ALSSignatureDeclaration basicGetType()
132 {
133 return type;
134 }
135
136 /**
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @generated
140 */
141 public void setType(ALSSignatureDeclaration newType)
142 {
143 ALSSignatureDeclaration oldType = type;
144 type = newType;
145 if (eNotificationRequired())
146 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE, oldType, type));
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 AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY:
160 return isExactly();
161 case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE:
162 if (resolve) return getType();
163 return basicGetType();
164 }
165 return super.eGet(featureID, resolve, coreType);
166 }
167
168 /**
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @generated
172 */
173 @Override
174 public void eSet(int featureID, Object newValue)
175 {
176 switch (featureID)
177 {
178 case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY:
179 setExactly((Boolean)newValue);
180 return;
181 case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE:
182 setType((ALSSignatureDeclaration)newValue);
183 return;
184 }
185 super.eSet(featureID, newValue);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public void eUnset(int featureID)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY:
199 setExactly(EXACTLY_EDEFAULT);
200 return;
201 case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE:
202 setType((ALSSignatureDeclaration)null);
203 return;
204 }
205 super.eUnset(featureID);
206 }
207
208 /**
209 * <!-- begin-user-doc -->
210 * <!-- end-user-doc -->
211 * @generated
212 */
213 @Override
214 public boolean eIsSet(int featureID)
215 {
216 switch (featureID)
217 {
218 case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY:
219 return exactly != EXACTLY_EDEFAULT;
220 case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE:
221 return type != null;
222 }
223 return super.eIsSet(featureID);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public String toString()
233 {
234 if (eIsProxy()) return super.toString();
235
236 StringBuffer result = new StringBuffer(super.toString());
237 result.append(" (exactly: ");
238 result.append(exactly);
239 result.append(')');
240 return result.toString();
241 }
242
243} //ALSSigScopeImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java
deleted file mode 100644
index 40452b63..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java
+++ /dev/null
@@ -1,438 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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.EObjectContainmentEList;
25import org.eclipse.emf.ecore.util.EObjectResolvingEList;
26import org.eclipse.emf.ecore.util.InternalEList;
27
28/**
29 * <!-- begin-user-doc -->
30 * An implementation of the model object '<em><b>ALS Signature Body</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.alloyLanguage.impl.ALSSignatureBodyImpl#getMultiplicity <em>Multiplicity</em>}</li>
37 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#isAbstract <em>Abstract</em>}</li>
38 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getDeclarations <em>Declarations</em>}</li>
39 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getSupertype <em>Supertype</em>}</li>
40 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getSuperset <em>Superset</em>}</li>
41 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getFields <em>Fields</em>}</li>
42 * </ul>
43 *
44 * @generated
45 */
46public class ALSSignatureBodyImpl extends MinimalEObjectImpl.Container implements ALSSignatureBody
47{
48 /**
49 * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @see #getMultiplicity()
53 * @generated
54 * @ordered
55 */
56 protected static final ALSMultiplicity MULTIPLICITY_EDEFAULT = ALSMultiplicity.ALL;
57
58 /**
59 * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @see #getMultiplicity()
63 * @generated
64 * @ordered
65 */
66 protected ALSMultiplicity multiplicity = MULTIPLICITY_EDEFAULT;
67
68 /**
69 * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @see #isAbstract()
73 * @generated
74 * @ordered
75 */
76 protected static final boolean ABSTRACT_EDEFAULT = false;
77
78 /**
79 * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @see #isAbstract()
83 * @generated
84 * @ordered
85 */
86 protected boolean abstract_ = ABSTRACT_EDEFAULT;
87
88 /**
89 * The cached value of the '{@link #getDeclarations() <em>Declarations</em>}' containment reference list.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @see #getDeclarations()
93 * @generated
94 * @ordered
95 */
96 protected EList<ALSSignatureDeclaration> declarations;
97
98 /**
99 * The cached value of the '{@link #getSupertype() <em>Supertype</em>}' reference.
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @see #getSupertype()
103 * @generated
104 * @ordered
105 */
106 protected ALSSignatureDeclaration supertype;
107
108 /**
109 * The cached value of the '{@link #getSuperset() <em>Superset</em>}' reference list.
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @see #getSuperset()
113 * @generated
114 * @ordered
115 */
116 protected EList<ALSSignatureDeclaration> superset;
117
118 /**
119 * The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list.
120 * <!-- begin-user-doc -->
121 * <!-- end-user-doc -->
122 * @see #getFields()
123 * @generated
124 * @ordered
125 */
126 protected EList<ALSFieldDeclaration> fields;
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 protected ALSSignatureBodyImpl()
134 {
135 super();
136 }
137
138 /**
139 * <!-- begin-user-doc -->
140 * <!-- end-user-doc -->
141 * @generated
142 */
143 @Override
144 protected EClass eStaticClass()
145 {
146 return AlloyLanguagePackage.Literals.ALS_SIGNATURE_BODY;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public ALSMultiplicity getMultiplicity()
155 {
156 return multiplicity;
157 }
158
159 /**
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @generated
163 */
164 public void setMultiplicity(ALSMultiplicity newMultiplicity)
165 {
166 ALSMultiplicity oldMultiplicity = multiplicity;
167 multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity;
168 if (eNotificationRequired())
169 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY, oldMultiplicity, multiplicity));
170 }
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 public boolean isAbstract()
178 {
179 return abstract_;
180 }
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 */
187 public void setAbstract(boolean newAbstract)
188 {
189 boolean oldAbstract = abstract_;
190 abstract_ = newAbstract;
191 if (eNotificationRequired())
192 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT, oldAbstract, abstract_));
193 }
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 public EList<ALSSignatureDeclaration> getDeclarations()
201 {
202 if (declarations == null)
203 {
204 declarations = new EObjectContainmentEList<ALSSignatureDeclaration>(ALSSignatureDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS);
205 }
206 return declarations;
207 }
208
209 /**
210 * <!-- begin-user-doc -->
211 * <!-- end-user-doc -->
212 * @generated
213 */
214 public ALSSignatureDeclaration getSupertype()
215 {
216 if (supertype != null && supertype.eIsProxy())
217 {
218 InternalEObject oldSupertype = (InternalEObject)supertype;
219 supertype = (ALSSignatureDeclaration)eResolveProxy(oldSupertype);
220 if (supertype != oldSupertype)
221 {
222 if (eNotificationRequired())
223 eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE, oldSupertype, supertype));
224 }
225 }
226 return supertype;
227 }
228
229 /**
230 * <!-- begin-user-doc -->
231 * <!-- end-user-doc -->
232 * @generated
233 */
234 public ALSSignatureDeclaration basicGetSupertype()
235 {
236 return supertype;
237 }
238
239 /**
240 * <!-- begin-user-doc -->
241 * <!-- end-user-doc -->
242 * @generated
243 */
244 public void setSupertype(ALSSignatureDeclaration newSupertype)
245 {
246 ALSSignatureDeclaration oldSupertype = supertype;
247 supertype = newSupertype;
248 if (eNotificationRequired())
249 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE, oldSupertype, supertype));
250 }
251
252 /**
253 * <!-- begin-user-doc -->
254 * <!-- end-user-doc -->
255 * @generated
256 */
257 public EList<ALSSignatureDeclaration> getSuperset()
258 {
259 if (superset == null)
260 {
261 superset = new EObjectResolvingEList<ALSSignatureDeclaration>(ALSSignatureDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET);
262 }
263 return superset;
264 }
265
266 /**
267 * <!-- begin-user-doc -->
268 * <!-- end-user-doc -->
269 * @generated
270 */
271 public EList<ALSFieldDeclaration> getFields()
272 {
273 if (fields == null)
274 {
275 fields = new EObjectContainmentEList<ALSFieldDeclaration>(ALSFieldDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS);
276 }
277 return fields;
278 }
279
280 /**
281 * <!-- begin-user-doc -->
282 * <!-- end-user-doc -->
283 * @generated
284 */
285 @Override
286 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
287 {
288 switch (featureID)
289 {
290 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS:
291 return ((InternalEList<?>)getDeclarations()).basicRemove(otherEnd, msgs);
292 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS:
293 return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs);
294 }
295 return super.eInverseRemove(otherEnd, featureID, msgs);
296 }
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 @Override
304 public Object eGet(int featureID, boolean resolve, boolean coreType)
305 {
306 switch (featureID)
307 {
308 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY:
309 return getMultiplicity();
310 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT:
311 return isAbstract();
312 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS:
313 return getDeclarations();
314 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE:
315 if (resolve) return getSupertype();
316 return basicGetSupertype();
317 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET:
318 return getSuperset();
319 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS:
320 return getFields();
321 }
322 return super.eGet(featureID, resolve, coreType);
323 }
324
325 /**
326 * <!-- begin-user-doc -->
327 * <!-- end-user-doc -->
328 * @generated
329 */
330 @SuppressWarnings("unchecked")
331 @Override
332 public void eSet(int featureID, Object newValue)
333 {
334 switch (featureID)
335 {
336 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY:
337 setMultiplicity((ALSMultiplicity)newValue);
338 return;
339 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT:
340 setAbstract((Boolean)newValue);
341 return;
342 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS:
343 getDeclarations().clear();
344 getDeclarations().addAll((Collection<? extends ALSSignatureDeclaration>)newValue);
345 return;
346 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE:
347 setSupertype((ALSSignatureDeclaration)newValue);
348 return;
349 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET:
350 getSuperset().clear();
351 getSuperset().addAll((Collection<? extends ALSSignatureDeclaration>)newValue);
352 return;
353 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS:
354 getFields().clear();
355 getFields().addAll((Collection<? extends ALSFieldDeclaration>)newValue);
356 return;
357 }
358 super.eSet(featureID, newValue);
359 }
360
361 /**
362 * <!-- begin-user-doc -->
363 * <!-- end-user-doc -->
364 * @generated
365 */
366 @Override
367 public void eUnset(int featureID)
368 {
369 switch (featureID)
370 {
371 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY:
372 setMultiplicity(MULTIPLICITY_EDEFAULT);
373 return;
374 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT:
375 setAbstract(ABSTRACT_EDEFAULT);
376 return;
377 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS:
378 getDeclarations().clear();
379 return;
380 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE:
381 setSupertype((ALSSignatureDeclaration)null);
382 return;
383 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET:
384 getSuperset().clear();
385 return;
386 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS:
387 getFields().clear();
388 return;
389 }
390 super.eUnset(featureID);
391 }
392
393 /**
394 * <!-- begin-user-doc -->
395 * <!-- end-user-doc -->
396 * @generated
397 */
398 @Override
399 public boolean eIsSet(int featureID)
400 {
401 switch (featureID)
402 {
403 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY:
404 return multiplicity != MULTIPLICITY_EDEFAULT;
405 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT:
406 return abstract_ != ABSTRACT_EDEFAULT;
407 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS:
408 return declarations != null && !declarations.isEmpty();
409 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE:
410 return supertype != null;
411 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET:
412 return superset != null && !superset.isEmpty();
413 case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS:
414 return fields != null && !fields.isEmpty();
415 }
416 return super.eIsSet(featureID);
417 }
418
419 /**
420 * <!-- begin-user-doc -->
421 * <!-- end-user-doc -->
422 * @generated
423 */
424 @Override
425 public String toString()
426 {
427 if (eIsProxy()) return super.toString();
428
429 StringBuffer result = new StringBuffer(super.toString());
430 result.append(" (multiplicity: ");
431 result.append(multiplicity);
432 result.append(", abstract: ");
433 result.append(abstract_);
434 result.append(')');
435 return result.toString();
436 }
437
438} //ALSSignatureBodyImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java
deleted file mode 100644
index aff258ff..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Signature Declaration</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSSignatureDeclarationImpl extends ALSTypeDeclarationImpl implements ALSSignatureDeclaration
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSSignatureDeclarationImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_SIGNATURE_DECLARATION;
38 }
39
40} //ALSSignatureDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java
deleted file mode 100644
index fa26bdb3..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS String</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSStringImpl extends ALSTermImpl implements ALSString
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSStringImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_STRING;
38 }
39
40} //ALSStringImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java
deleted file mode 100644
index c3fede10..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS String Literal</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.alloyLanguage.impl.ALSStringLiteralImpl#getValue <em>Value</em>}</li>
23 * </ul>
24 *
25 * @generated
26 */
27public class ALSStringLiteralImpl extends ALSTermImpl implements ALSStringLiteral
28{
29 /**
30 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
31 * <!-- begin-user-doc -->
32 * <!-- end-user-doc -->
33 * @see #getValue()
34 * @generated
35 * @ordered
36 */
37 protected static final String VALUE_EDEFAULT = null;
38
39 /**
40 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @see #getValue()
44 * @generated
45 * @ordered
46 */
47 protected String value = VALUE_EDEFAULT;
48
49 /**
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @generated
53 */
54 protected ALSStringLiteralImpl()
55 {
56 super();
57 }
58
59 /**
60 * <!-- begin-user-doc -->
61 * <!-- end-user-doc -->
62 * @generated
63 */
64 @Override
65 protected EClass eStaticClass()
66 {
67 return AlloyLanguagePackage.Literals.ALS_STRING_LITERAL;
68 }
69
70 /**
71 * <!-- begin-user-doc -->
72 * <!-- end-user-doc -->
73 * @generated
74 */
75 public String getValue()
76 {
77 return value;
78 }
79
80 /**
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @generated
84 */
85 public void setValue(String newValue)
86 {
87 String oldValue = value;
88 value = newValue;
89 if (eNotificationRequired())
90 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE, oldValue, value));
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 public Object eGet(int featureID, boolean resolve, boolean coreType)
100 {
101 switch (featureID)
102 {
103 case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE:
104 return getValue();
105 }
106 return super.eGet(featureID, resolve, coreType);
107 }
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 @Override
115 public void eSet(int featureID, Object newValue)
116 {
117 switch (featureID)
118 {
119 case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE:
120 setValue((String)newValue);
121 return;
122 }
123 super.eSet(featureID, newValue);
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 @Override
132 public void eUnset(int featureID)
133 {
134 switch (featureID)
135 {
136 case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE:
137 setValue(VALUE_EDEFAULT);
138 return;
139 }
140 super.eUnset(featureID);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public boolean eIsSet(int featureID)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE:
154 return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
155 }
156 return super.eIsSet(featureID);
157 }
158
159 /**
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @generated
163 */
164 @Override
165 public String toString()
166 {
167 if (eIsProxy()) return super.toString();
168
169 StringBuffer result = new StringBuffer(super.toString());
170 result.append(" (value: ");
171 result.append(value);
172 result.append(')');
173 return result.toString();
174 }
175
176} //ALSStringLiteralImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java
deleted file mode 100644
index 87c7aaf3..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS String Scope</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSStringScopeImpl extends ALSTypeScopeImpl implements ALSStringScope
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSStringScopeImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_STRING_SCOPE;
38 }
39
40} //ALSStringScopeImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java
deleted file mode 100644
index 420debb2..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Subset</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.alloyLanguage.impl.ALSSubsetImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSSubsetImpl extends ALSTermImpl implements ALSSubset
32{
33 /**
34 * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @see #getLeftOperand()
38 * @generated
39 * @ordered
40 */
41 protected ALSTerm leftOperand;
42
43 /**
44 * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getRightOperand()
48 * @generated
49 * @ordered
50 */
51 protected ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSSubsetImpl()
59 {
60 super();
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 @Override
69 protected EClass eStaticClass()
70 {
71 return AlloyLanguagePackage.Literals.ALS_SUBSET;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
96 if (msgs == null) msgs = notification; else msgs.add(notification);
97 }
98 return msgs;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 public void setLeftOperand(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, null, msgs);
115 msgs = basicSetLeftOperand(newLeftOperand, msgs);
116 if (msgs != null) msgs.dispatch();
117 }
118 else if (eNotificationRequired())
119 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, oldRightOperand, newRightOperand);
144 if (msgs == null) msgs = notification; else msgs.add(notification);
145 }
146 return msgs;
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 public void setRightOperand(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, null, msgs);
163 msgs = basicSetRightOperand(newRightOperand, msgs);
164 if (msgs != null) msgs.dispatch();
165 }
166 else if (eNotificationRequired())
167 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, newRightOperand, newRightOperand));
168 }
169
170 /**
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @generated
174 */
175 @Override
176 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
177 {
178 switch (featureID)
179 {
180 case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND:
183 return basicSetRightOperand(null, msgs);
184 }
185 return super.eInverseRemove(otherEnd, featureID, msgs);
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 {
196 switch (featureID)
197 {
198 case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND:
201 return getRightOperand();
202 }
203 return super.eGet(featureID, resolve, coreType);
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public void eSet(int featureID, Object newValue)
213 {
214 switch (featureID)
215 {
216 case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND:
220 setRightOperand((ALSTerm)newValue);
221 return;
222 }
223 super.eSet(featureID, newValue);
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public void eUnset(int featureID)
233 {
234 switch (featureID)
235 {
236 case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND:
240 setRightOperand((ALSTerm)null);
241 return;
242 }
243 super.eUnset(featureID);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public boolean eIsSet(int featureID)
253 {
254 switch (featureID)
255 {
256 case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSSubsetImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java
deleted file mode 100644
index 1321a1f1..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java
+++ /dev/null
@@ -1,240 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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;
21
22import org.eclipse.emf.ecore.util.EObjectContainmentEList;
23import org.eclipse.emf.ecore.util.InternalEList;
24
25/**
26 * <!-- begin-user-doc -->
27 * An implementation of the model object '<em><b>ALS Sum</b></em>'.
28 * <!-- end-user-doc -->
29 * <p>
30 * The following features are implemented:
31 * </p>
32 * <ul>
33 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl#getVariables <em>Variables</em>}</li>
34 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl#getExpression <em>Expression</em>}</li>
35 * </ul>
36 *
37 * @generated
38 */
39public class ALSSumImpl extends ALSTermImpl implements ALSSum
40{
41 /**
42 * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #getVariables()
46 * @generated
47 * @ordered
48 */
49 protected EList<ALSVariableDeclaration> variables;
50
51 /**
52 * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @see #getExpression()
56 * @generated
57 * @ordered
58 */
59 protected ALSTerm expression;
60
61 /**
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @generated
65 */
66 protected ALSSumImpl()
67 {
68 super();
69 }
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 @Override
77 protected EClass eStaticClass()
78 {
79 return AlloyLanguagePackage.Literals.ALS_SUM;
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 public EList<ALSVariableDeclaration> getVariables()
88 {
89 if (variables == null)
90 {
91 variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_SUM__VARIABLES);
92 }
93 return variables;
94 }
95
96 /**
97 * <!-- begin-user-doc -->
98 * <!-- end-user-doc -->
99 * @generated
100 */
101 public ALSTerm getExpression()
102 {
103 return expression;
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 public NotificationChain basicSetExpression(ALSTerm newExpression, NotificationChain msgs)
112 {
113 ALSTerm oldExpression = expression;
114 expression = newExpression;
115 if (eNotificationRequired())
116 {
117 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUM__EXPRESSION, oldExpression, newExpression);
118 if (msgs == null) msgs = notification; else msgs.add(notification);
119 }
120 return msgs;
121 }
122
123 /**
124 * <!-- begin-user-doc -->
125 * <!-- end-user-doc -->
126 * @generated
127 */
128 public void setExpression(ALSTerm newExpression)
129 {
130 if (newExpression != expression)
131 {
132 NotificationChain msgs = null;
133 if (expression != null)
134 msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUM__EXPRESSION, null, msgs);
135 if (newExpression != null)
136 msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUM__EXPRESSION, null, msgs);
137 msgs = basicSetExpression(newExpression, msgs);
138 if (msgs != null) msgs.dispatch();
139 }
140 else if (eNotificationRequired())
141 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUM__EXPRESSION, newExpression, newExpression));
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
151 {
152 switch (featureID)
153 {
154 case AlloyLanguagePackage.ALS_SUM__VARIABLES:
155 return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs);
156 case AlloyLanguagePackage.ALS_SUM__EXPRESSION:
157 return basicSetExpression(null, msgs);
158 }
159 return super.eInverseRemove(otherEnd, featureID, msgs);
160 }
161
162 /**
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @generated
166 */
167 @Override
168 public Object eGet(int featureID, boolean resolve, boolean coreType)
169 {
170 switch (featureID)
171 {
172 case AlloyLanguagePackage.ALS_SUM__VARIABLES:
173 return getVariables();
174 case AlloyLanguagePackage.ALS_SUM__EXPRESSION:
175 return getExpression();
176 }
177 return super.eGet(featureID, resolve, coreType);
178 }
179
180 /**
181 * <!-- begin-user-doc -->
182 * <!-- end-user-doc -->
183 * @generated
184 */
185 @SuppressWarnings("unchecked")
186 @Override
187 public void eSet(int featureID, Object newValue)
188 {
189 switch (featureID)
190 {
191 case AlloyLanguagePackage.ALS_SUM__VARIABLES:
192 getVariables().clear();
193 getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue);
194 return;
195 case AlloyLanguagePackage.ALS_SUM__EXPRESSION:
196 setExpression((ALSTerm)newValue);
197 return;
198 }
199 super.eSet(featureID, newValue);
200 }
201
202 /**
203 * <!-- begin-user-doc -->
204 * <!-- end-user-doc -->
205 * @generated
206 */
207 @Override
208 public void eUnset(int featureID)
209 {
210 switch (featureID)
211 {
212 case AlloyLanguagePackage.ALS_SUM__VARIABLES:
213 getVariables().clear();
214 return;
215 case AlloyLanguagePackage.ALS_SUM__EXPRESSION:
216 setExpression((ALSTerm)null);
217 return;
218 }
219 super.eUnset(featureID);
220 }
221
222 /**
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @generated
226 */
227 @Override
228 public boolean eIsSet(int featureID)
229 {
230 switch (featureID)
231 {
232 case AlloyLanguagePackage.ALS_SUM__VARIABLES:
233 return variables != null && !variables.isEmpty();
234 case AlloyLanguagePackage.ALS_SUM__EXPRESSION:
235 return expression != null;
236 }
237 return super.eIsSet(featureID);
238 }
239
240} //ALSSumImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java
deleted file mode 100644
index 12e791b9..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java
+++ /dev/null
@@ -1,42 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Term</b></em>'.
15 * <!-- end-user-doc -->
16 *
17 * @generated
18 */
19public class ALSTermImpl extends MinimalEObjectImpl.Container implements ALSTerm
20{
21 /**
22 * <!-- begin-user-doc -->
23 * <!-- end-user-doc -->
24 * @generated
25 */
26 protected ALSTermImpl()
27 {
28 super();
29 }
30
31 /**
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @generated
35 */
36 @Override
37 protected EClass eStaticClass()
38 {
39 return AlloyLanguagePackage.Literals.ALS_TERM;
40 }
41
42} //ALSTermImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java
deleted file mode 100644
index 138efd7e..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Type Declaration</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSTypeDeclarationImpl extends ALSRelationDeclarationImpl implements ALSTypeDeclaration
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSTypeDeclarationImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_TYPE_DECLARATION;
38 }
39
40} //ALSTypeDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java
deleted file mode 100644
index 48f9c484..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.common.notify.Notification;
9
10import org.eclipse.emf.ecore.EClass;
11
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>ALS Type Scope</b></em>'.
18 * <!-- end-user-doc -->
19 * <p>
20 * The following features are implemented:
21 * </p>
22 * <ul>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl#getNumber <em>Number</em>}</li>
24 * </ul>
25 *
26 * @generated
27 */
28public class ALSTypeScopeImpl extends MinimalEObjectImpl.Container implements ALSTypeScope
29{
30 /**
31 * The default value of the '{@link #getNumber() <em>Number</em>}' attribute.
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @see #getNumber()
35 * @generated
36 * @ordered
37 */
38 protected static final int NUMBER_EDEFAULT = 0;
39
40 /**
41 * The cached value of the '{@link #getNumber() <em>Number</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getNumber()
45 * @generated
46 * @ordered
47 */
48 protected int number = NUMBER_EDEFAULT;
49
50 /**
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @generated
54 */
55 protected ALSTypeScopeImpl()
56 {
57 super();
58 }
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 @Override
66 protected EClass eStaticClass()
67 {
68 return AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE;
69 }
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 public int getNumber()
77 {
78 return number;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 public void setNumber(int newNumber)
87 {
88 int oldNumber = number;
89 number = newNumber;
90 if (eNotificationRequired())
91 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER, oldNumber, number));
92 }
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 @Override
100 public Object eGet(int featureID, boolean resolve, boolean coreType)
101 {
102 switch (featureID)
103 {
104 case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER:
105 return getNumber();
106 }
107 return super.eGet(featureID, resolve, coreType);
108 }
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 @Override
116 public void eSet(int featureID, Object newValue)
117 {
118 switch (featureID)
119 {
120 case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER:
121 setNumber((Integer)newValue);
122 return;
123 }
124 super.eSet(featureID, newValue);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public void eUnset(int featureID)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER:
138 setNumber(NUMBER_EDEFAULT);
139 return;
140 }
141 super.eUnset(featureID);
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public boolean eIsSet(int featureID)
151 {
152 switch (featureID)
153 {
154 case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER:
155 return number != NUMBER_EDEFAULT;
156 }
157 return super.eIsSet(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public String toString()
167 {
168 if (eIsProxy()) return super.toString();
169
170 StringBuffer result = new StringBuffer(super.toString());
171 result.append(" (number: ");
172 result.append(number);
173 result.append(')');
174 return result.toString();
175 }
176
177} //ALSTypeScopeImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java
deleted file mode 100644
index 7b4b48c5..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Unary Minus</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.alloyLanguage.impl.ALSUnaryMinusImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSUnaryMinusImpl extends ALSTermImpl implements ALSUnaryMinus
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSUnaryMinusImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_UNARY_MINUS;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSUnaryMinusImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java
deleted file mode 100644
index a2dbcbc9..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
7
8import org.eclipse.emf.ecore.EClass;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>ALS Univ</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class ALSUnivImpl extends ALSTermImpl implements ALSUniv
18{
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ALSUnivImpl()
25 {
26 super();
27 }
28
29 /**
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34 @Override
35 protected EClass eStaticClass()
36 {
37 return AlloyLanguagePackage.Literals.ALS_UNIV;
38 }
39
40} //ALSUnivImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java
deleted file mode 100644
index 60d8c237..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>ALS Variable Declaration</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.alloyLanguage.impl.ALSVariableDeclarationImpl#getRange <em>Range</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class ALSVariableDeclarationImpl extends ALSRelationDeclarationImpl implements ALSVariableDeclaration
31{
32 /**
33 * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getRange()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm range;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected ALSVariableDeclarationImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getRange()
69 {
70 return range;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetRange(ALSTerm newRange, NotificationChain msgs)
79 {
80 ALSTerm oldRange = range;
81 range = newRange;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, oldRange, newRange);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setRange(ALSTerm newRange)
96 {
97 if (newRange != range)
98 {
99 NotificationChain msgs = null;
100 if (range != null)
101 msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, null, msgs);
102 if (newRange != null)
103 msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, null, msgs);
104 msgs = basicSetRange(newRange, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, newRange, newRange));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE:
122 return basicSetRange(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE:
138 return getRange();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE:
154 setRange((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE:
171 setRange((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE:
188 return range != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //ALSVariableDeclarationImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java
deleted file mode 100644
index a475d5b4..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
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>Al STransitive Closure</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.alloyLanguage.impl.AlSTransitiveClosureImpl#getOperand <em>Operand</em>}</li>
26 * </ul>
27 *
28 * @generated
29 */
30public class AlSTransitiveClosureImpl extends ALSTermImpl implements AlSTransitiveClosure
31{
32 /**
33 * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getOperand()
37 * @generated
38 * @ordered
39 */
40 protected ALSTerm operand;
41
42 /**
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @generated
46 */
47 protected AlSTransitiveClosureImpl()
48 {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 protected EClass eStaticClass()
59 {
60 return AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE;
61 }
62
63 /**
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 public ALSTerm getOperand()
69 {
70 return operand;
71 }
72
73 /**
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @generated
77 */
78 public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs)
79 {
80 ALSTerm oldOperand = operand;
81 operand = newOperand;
82 if (eNotificationRequired())
83 {
84 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, oldOperand, newOperand);
85 if (msgs == null) msgs = notification; else msgs.add(notification);
86 }
87 return msgs;
88 }
89
90 /**
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 */
95 public void setOperand(ALSTerm newOperand)
96 {
97 if (newOperand != operand)
98 {
99 NotificationChain msgs = null;
100 if (operand != null)
101 msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, null, msgs);
102 if (newOperand != null)
103 msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, null, msgs);
104 msgs = basicSetOperand(newOperand, msgs);
105 if (msgs != null) msgs.dispatch();
106 }
107 else if (eNotificationRequired())
108 eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, newOperand, newOperand));
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
118 {
119 switch (featureID)
120 {
121 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND:
122 return basicSetOperand(null, msgs);
123 }
124 return super.eInverseRemove(otherEnd, featureID, msgs);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public Object eGet(int featureID, boolean resolve, boolean coreType)
134 {
135 switch (featureID)
136 {
137 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND:
138 return getOperand();
139 }
140 return super.eGet(featureID, resolve, coreType);
141 }
142
143 /**
144 * <!-- begin-user-doc -->
145 * <!-- end-user-doc -->
146 * @generated
147 */
148 @Override
149 public void eSet(int featureID, Object newValue)
150 {
151 switch (featureID)
152 {
153 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND:
154 setOperand((ALSTerm)newValue);
155 return;
156 }
157 super.eSet(featureID, newValue);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public void eUnset(int featureID)
167 {
168 switch (featureID)
169 {
170 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND:
171 setOperand((ALSTerm)null);
172 return;
173 }
174 super.eUnset(featureID);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public boolean eIsSet(int featureID)
184 {
185 switch (featureID)
186 {
187 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND:
188 return operand != null;
189 }
190 return super.eIsSet(featureID);
191 }
192
193} //AlSTransitiveClosureImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java
deleted file mode 100644
index f4cb167b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java
+++ /dev/null
@@ -1,837 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.*;
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 AlloyLanguageFactoryImpl extends EFactoryImpl implements AlloyLanguageFactory
23{
24 /**
25 * Creates the default factory implementation.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 public static AlloyLanguageFactory init()
31 {
32 try
33 {
34 AlloyLanguageFactory theAlloyLanguageFactory = (AlloyLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(AlloyLanguagePackage.eNS_URI);
35 if (theAlloyLanguageFactory != null)
36 {
37 return theAlloyLanguageFactory;
38 }
39 }
40 catch (Exception exception)
41 {
42 EcorePlugin.INSTANCE.log(exception);
43 }
44 return new AlloyLanguageFactoryImpl();
45 }
46
47 /**
48 * Creates an instance of the factory.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 public AlloyLanguageFactoryImpl()
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 AlloyLanguagePackage.ALS_DOCUMENT: return createALSDocument();
69 case AlloyLanguagePackage.ALS_RELATION_DECLARATION: return createALSRelationDeclaration();
70 case AlloyLanguagePackage.ALS_TYPE_DECLARATION: return createALSTypeDeclaration();
71 case AlloyLanguagePackage.ALS_ENUM_DECLARATION: return createALSEnumDeclaration();
72 case AlloyLanguagePackage.ALS_ENUM_LITERAL: return createALSEnumLiteral();
73 case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: return createALSSignatureDeclaration();
74 case AlloyLanguagePackage.ALS_SIGNATURE_BODY: return createALSSignatureBody();
75 case AlloyLanguagePackage.ALS_FIELD_DECLARATION: return createALSFieldDeclaration();
76 case AlloyLanguagePackage.ALS_DEFINITION: return createALSDefinition();
77 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: return createALSFunctionDefinition();
78 case AlloyLanguagePackage.ALS_RELATION_DEFINITION: return createALSRelationDefinition();
79 case AlloyLanguagePackage.ALS_FACT_DECLARATION: return createALSFactDeclaration();
80 case AlloyLanguagePackage.ALS_TERM: return createALSTerm();
81 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: return createALSVariableDeclaration();
82 case AlloyLanguagePackage.ALS_RUN_COMMAND: return createALSRunCommand();
83 case AlloyLanguagePackage.ALS_TYPE_SCOPE: return createALSTypeScope();
84 case AlloyLanguagePackage.ALS_SIG_SCOPE: return createALSSigScope();
85 case AlloyLanguagePackage.ALS_INT_SCOPE: return createALSIntScope();
86 case AlloyLanguagePackage.ALS_STRING_SCOPE: return createALSStringScope();
87 case AlloyLanguagePackage.ALS_QUANTIFIED_EX: return createALSQuantifiedEx();
88 case AlloyLanguagePackage.ALS_OR: return createALSOr();
89 case AlloyLanguagePackage.ALS_IFF: return createALSIff();
90 case AlloyLanguagePackage.ALS_IMPL: return createALSImpl();
91 case AlloyLanguagePackage.ALS_AND: return createALSAnd();
92 case AlloyLanguagePackage.ALS_EQUALS: return createALSEquals();
93 case AlloyLanguagePackage.ALS_NOT_EQUALS: return createALSNotEquals();
94 case AlloyLanguagePackage.ALS_SUBSET: return createALSSubset();
95 case AlloyLanguagePackage.ALS_LESS: return createALSLess();
96 case AlloyLanguagePackage.ALS_LEQ: return createALSLeq();
97 case AlloyLanguagePackage.ALS_MORE: return createALSMore();
98 case AlloyLanguagePackage.ALS_MEQ: return createALSMeq();
99 case AlloyLanguagePackage.ALS_OVERRIDE: return createALSOverride();
100 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: return createALSRangeRestrictionRight();
101 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: return createALSRangeRestrictionLeft();
102 case AlloyLanguagePackage.ALS_JOIN: return createALSJoin();
103 case AlloyLanguagePackage.ALS_MINUS: return createALSMinus();
104 case AlloyLanguagePackage.ALS_PLUS: return createALSPlus();
105 case AlloyLanguagePackage.ALS_INTERSECTION: return createALSIntersection();
106 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: return createALSDirectProduct();
107 case AlloyLanguagePackage.ALS_NOT: return createALSNot();
108 case AlloyLanguagePackage.ALS_INVERSE_RELATION: return createALSInverseRelation();
109 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: return createAlSTransitiveClosure();
110 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: return createALSReflectiveTransitiveClosure();
111 case AlloyLanguagePackage.ALS_CARDINALITY: return createALSCardinality();
112 case AlloyLanguagePackage.ALS_UNARY_MINUS: return createALSUnaryMinus();
113 case AlloyLanguagePackage.ALS_SUM: return createALSSum();
114 case AlloyLanguagePackage.ALS_FUNCTION_CALL: return createALSFunctionCall();
115 case AlloyLanguagePackage.ALS_NONE: return createALSNone();
116 case AlloyLanguagePackage.ALS_IDEN: return createALSIden();
117 case AlloyLanguagePackage.ALS_UNIV: return createALSUniv();
118 case AlloyLanguagePackage.ALS_INT: return createALSInt();
119 case AlloyLanguagePackage.ALS_STRING: return createALSString();
120 case AlloyLanguagePackage.ALS_REFERENCE: return createALSReference();
121 case AlloyLanguagePackage.ALS_NUMBER_LITERAL: return createALSNumberLiteral();
122 case AlloyLanguagePackage.ALS_STRING_LITERAL: return createALSStringLiteral();
123 default:
124 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
125 }
126 }
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 @Override
134 public Object createFromString(EDataType eDataType, String initialValue)
135 {
136 switch (eDataType.getClassifierID())
137 {
138 case AlloyLanguagePackage.ALS_MULTIPLICITY:
139 return createALSMultiplicityFromString(eDataType, initialValue);
140 case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR:
141 return createALSNumericOperatorFromString(eDataType, initialValue);
142 default:
143 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
144 }
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 @Override
153 public String convertToString(EDataType eDataType, Object instanceValue)
154 {
155 switch (eDataType.getClassifierID())
156 {
157 case AlloyLanguagePackage.ALS_MULTIPLICITY:
158 return convertALSMultiplicityToString(eDataType, instanceValue);
159 case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR:
160 return convertALSNumericOperatorToString(eDataType, instanceValue);
161 default:
162 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
163 }
164 }
165
166 /**
167 * <!-- begin-user-doc -->
168 * <!-- end-user-doc -->
169 * @generated
170 */
171 public ALSDocument createALSDocument()
172 {
173 ALSDocumentImpl alsDocument = new ALSDocumentImpl();
174 return alsDocument;
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 public ALSRelationDeclaration createALSRelationDeclaration()
183 {
184 ALSRelationDeclarationImpl alsRelationDeclaration = new ALSRelationDeclarationImpl();
185 return alsRelationDeclaration;
186 }
187
188 /**
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @generated
192 */
193 public ALSTypeDeclaration createALSTypeDeclaration()
194 {
195 ALSTypeDeclarationImpl alsTypeDeclaration = new ALSTypeDeclarationImpl();
196 return alsTypeDeclaration;
197 }
198
199 /**
200 * <!-- begin-user-doc -->
201 * <!-- end-user-doc -->
202 * @generated
203 */
204 public ALSEnumDeclaration createALSEnumDeclaration()
205 {
206 ALSEnumDeclarationImpl alsEnumDeclaration = new ALSEnumDeclarationImpl();
207 return alsEnumDeclaration;
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 public ALSEnumLiteral createALSEnumLiteral()
216 {
217 ALSEnumLiteralImpl alsEnumLiteral = new ALSEnumLiteralImpl();
218 return alsEnumLiteral;
219 }
220
221 /**
222 * <!-- begin-user-doc -->
223 * <!-- end-user-doc -->
224 * @generated
225 */
226 public ALSSignatureDeclaration createALSSignatureDeclaration()
227 {
228 ALSSignatureDeclarationImpl alsSignatureDeclaration = new ALSSignatureDeclarationImpl();
229 return alsSignatureDeclaration;
230 }
231
232 /**
233 * <!-- begin-user-doc -->
234 * <!-- end-user-doc -->
235 * @generated
236 */
237 public ALSSignatureBody createALSSignatureBody()
238 {
239 ALSSignatureBodyImpl alsSignatureBody = new ALSSignatureBodyImpl();
240 return alsSignatureBody;
241 }
242
243 /**
244 * <!-- begin-user-doc -->
245 * <!-- end-user-doc -->
246 * @generated
247 */
248 public ALSFieldDeclaration createALSFieldDeclaration()
249 {
250 ALSFieldDeclarationImpl alsFieldDeclaration = new ALSFieldDeclarationImpl();
251 return alsFieldDeclaration;
252 }
253
254 /**
255 * <!-- begin-user-doc -->
256 * <!-- end-user-doc -->
257 * @generated
258 */
259 public ALSDefinition createALSDefinition()
260 {
261 ALSDefinitionImpl alsDefinition = new ALSDefinitionImpl();
262 return alsDefinition;
263 }
264
265 /**
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 */
270 public ALSFunctionDefinition createALSFunctionDefinition()
271 {
272 ALSFunctionDefinitionImpl alsFunctionDefinition = new ALSFunctionDefinitionImpl();
273 return alsFunctionDefinition;
274 }
275
276 /**
277 * <!-- begin-user-doc -->
278 * <!-- end-user-doc -->
279 * @generated
280 */
281 public ALSRelationDefinition createALSRelationDefinition()
282 {
283 ALSRelationDefinitionImpl alsRelationDefinition = new ALSRelationDefinitionImpl();
284 return alsRelationDefinition;
285 }
286
287 /**
288 * <!-- begin-user-doc -->
289 * <!-- end-user-doc -->
290 * @generated
291 */
292 public ALSFactDeclaration createALSFactDeclaration()
293 {
294 ALSFactDeclarationImpl alsFactDeclaration = new ALSFactDeclarationImpl();
295 return alsFactDeclaration;
296 }
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 public ALSTerm createALSTerm()
304 {
305 ALSTermImpl alsTerm = new ALSTermImpl();
306 return alsTerm;
307 }
308
309 /**
310 * <!-- begin-user-doc -->
311 * <!-- end-user-doc -->
312 * @generated
313 */
314 public ALSVariableDeclaration createALSVariableDeclaration()
315 {
316 ALSVariableDeclarationImpl alsVariableDeclaration = new ALSVariableDeclarationImpl();
317 return alsVariableDeclaration;
318 }
319
320 /**
321 * <!-- begin-user-doc -->
322 * <!-- end-user-doc -->
323 * @generated
324 */
325 public ALSRunCommand createALSRunCommand()
326 {
327 ALSRunCommandImpl alsRunCommand = new ALSRunCommandImpl();
328 return alsRunCommand;
329 }
330
331 /**
332 * <!-- begin-user-doc -->
333 * <!-- end-user-doc -->
334 * @generated
335 */
336 public ALSTypeScope createALSTypeScope()
337 {
338 ALSTypeScopeImpl alsTypeScope = new ALSTypeScopeImpl();
339 return alsTypeScope;
340 }
341
342 /**
343 * <!-- begin-user-doc -->
344 * <!-- end-user-doc -->
345 * @generated
346 */
347 public ALSSigScope createALSSigScope()
348 {
349 ALSSigScopeImpl alsSigScope = new ALSSigScopeImpl();
350 return alsSigScope;
351 }
352
353 /**
354 * <!-- begin-user-doc -->
355 * <!-- end-user-doc -->
356 * @generated
357 */
358 public ALSIntScope createALSIntScope()
359 {
360 ALSIntScopeImpl alsIntScope = new ALSIntScopeImpl();
361 return alsIntScope;
362 }
363
364 /**
365 * <!-- begin-user-doc -->
366 * <!-- end-user-doc -->
367 * @generated
368 */
369 public ALSStringScope createALSStringScope()
370 {
371 ALSStringScopeImpl alsStringScope = new ALSStringScopeImpl();
372 return alsStringScope;
373 }
374
375 /**
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 */
380 public ALSQuantifiedEx createALSQuantifiedEx()
381 {
382 ALSQuantifiedExImpl alsQuantifiedEx = new ALSQuantifiedExImpl();
383 return alsQuantifiedEx;
384 }
385
386 /**
387 * <!-- begin-user-doc -->
388 * <!-- end-user-doc -->
389 * @generated
390 */
391 public ALSOr createALSOr()
392 {
393 ALSOrImpl alsOr = new ALSOrImpl();
394 return alsOr;
395 }
396
397 /**
398 * <!-- begin-user-doc -->
399 * <!-- end-user-doc -->
400 * @generated
401 */
402 public ALSIff createALSIff()
403 {
404 ALSIffImpl alsIff = new ALSIffImpl();
405 return alsIff;
406 }
407
408 /**
409 * <!-- begin-user-doc -->
410 * <!-- end-user-doc -->
411 * @generated
412 */
413 public ALSImpl createALSImpl()
414 {
415 ALSImplImpl alsImpl = new ALSImplImpl();
416 return alsImpl;
417 }
418
419 /**
420 * <!-- begin-user-doc -->
421 * <!-- end-user-doc -->
422 * @generated
423 */
424 public ALSAnd createALSAnd()
425 {
426 ALSAndImpl alsAnd = new ALSAndImpl();
427 return alsAnd;
428 }
429
430 /**
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @generated
434 */
435 public ALSEquals createALSEquals()
436 {
437 ALSEqualsImpl alsEquals = new ALSEqualsImpl();
438 return alsEquals;
439 }
440
441 /**
442 * <!-- begin-user-doc -->
443 * <!-- end-user-doc -->
444 * @generated
445 */
446 public ALSNotEquals createALSNotEquals()
447 {
448 ALSNotEqualsImpl alsNotEquals = new ALSNotEqualsImpl();
449 return alsNotEquals;
450 }
451
452 /**
453 * <!-- begin-user-doc -->
454 * <!-- end-user-doc -->
455 * @generated
456 */
457 public ALSSubset createALSSubset()
458 {
459 ALSSubsetImpl alsSubset = new ALSSubsetImpl();
460 return alsSubset;
461 }
462
463 /**
464 * <!-- begin-user-doc -->
465 * <!-- end-user-doc -->
466 * @generated
467 */
468 public ALSLess createALSLess()
469 {
470 ALSLessImpl alsLess = new ALSLessImpl();
471 return alsLess;
472 }
473
474 /**
475 * <!-- begin-user-doc -->
476 * <!-- end-user-doc -->
477 * @generated
478 */
479 public ALSLeq createALSLeq()
480 {
481 ALSLeqImpl alsLeq = new ALSLeqImpl();
482 return alsLeq;
483 }
484
485 /**
486 * <!-- begin-user-doc -->
487 * <!-- end-user-doc -->
488 * @generated
489 */
490 public ALSMore createALSMore()
491 {
492 ALSMoreImpl alsMore = new ALSMoreImpl();
493 return alsMore;
494 }
495
496 /**
497 * <!-- begin-user-doc -->
498 * <!-- end-user-doc -->
499 * @generated
500 */
501 public ALSMeq createALSMeq()
502 {
503 ALSMeqImpl alsMeq = new ALSMeqImpl();
504 return alsMeq;
505 }
506
507 /**
508 * <!-- begin-user-doc -->
509 * <!-- end-user-doc -->
510 * @generated
511 */
512 public ALSOverride createALSOverride()
513 {
514 ALSOverrideImpl alsOverride = new ALSOverrideImpl();
515 return alsOverride;
516 }
517
518 /**
519 * <!-- begin-user-doc -->
520 * <!-- end-user-doc -->
521 * @generated
522 */
523 public ALSRangeRestrictionRight createALSRangeRestrictionRight()
524 {
525 ALSRangeRestrictionRightImpl alsRangeRestrictionRight = new ALSRangeRestrictionRightImpl();
526 return alsRangeRestrictionRight;
527 }
528
529 /**
530 * <!-- begin-user-doc -->
531 * <!-- end-user-doc -->
532 * @generated
533 */
534 public ALSRangeRestrictionLeft createALSRangeRestrictionLeft()
535 {
536 ALSRangeRestrictionLeftImpl alsRangeRestrictionLeft = new ALSRangeRestrictionLeftImpl();
537 return alsRangeRestrictionLeft;
538 }
539
540 /**
541 * <!-- begin-user-doc -->
542 * <!-- end-user-doc -->
543 * @generated
544 */
545 public ALSJoin createALSJoin()
546 {
547 ALSJoinImpl alsJoin = new ALSJoinImpl();
548 return alsJoin;
549 }
550
551 /**
552 * <!-- begin-user-doc -->
553 * <!-- end-user-doc -->
554 * @generated
555 */
556 public ALSMinus createALSMinus()
557 {
558 ALSMinusImpl alsMinus = new ALSMinusImpl();
559 return alsMinus;
560 }
561
562 /**
563 * <!-- begin-user-doc -->
564 * <!-- end-user-doc -->
565 * @generated
566 */
567 public ALSPlus createALSPlus()
568 {
569 ALSPlusImpl alsPlus = new ALSPlusImpl();
570 return alsPlus;
571 }
572
573 /**
574 * <!-- begin-user-doc -->
575 * <!-- end-user-doc -->
576 * @generated
577 */
578 public ALSIntersection createALSIntersection()
579 {
580 ALSIntersectionImpl alsIntersection = new ALSIntersectionImpl();
581 return alsIntersection;
582 }
583
584 /**
585 * <!-- begin-user-doc -->
586 * <!-- end-user-doc -->
587 * @generated
588 */
589 public ALSDirectProduct createALSDirectProduct()
590 {
591 ALSDirectProductImpl alsDirectProduct = new ALSDirectProductImpl();
592 return alsDirectProduct;
593 }
594
595 /**
596 * <!-- begin-user-doc -->
597 * <!-- end-user-doc -->
598 * @generated
599 */
600 public ALSNot createALSNot()
601 {
602 ALSNotImpl alsNot = new ALSNotImpl();
603 return alsNot;
604 }
605
606 /**
607 * <!-- begin-user-doc -->
608 * <!-- end-user-doc -->
609 * @generated
610 */
611 public ALSInverseRelation createALSInverseRelation()
612 {
613 ALSInverseRelationImpl alsInverseRelation = new ALSInverseRelationImpl();
614 return alsInverseRelation;
615 }
616
617 /**
618 * <!-- begin-user-doc -->
619 * <!-- end-user-doc -->
620 * @generated
621 */
622 public AlSTransitiveClosure createAlSTransitiveClosure()
623 {
624 AlSTransitiveClosureImpl alSTransitiveClosure = new AlSTransitiveClosureImpl();
625 return alSTransitiveClosure;
626 }
627
628 /**
629 * <!-- begin-user-doc -->
630 * <!-- end-user-doc -->
631 * @generated
632 */
633 public ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure()
634 {
635 ALSReflectiveTransitiveClosureImpl alsReflectiveTransitiveClosure = new ALSReflectiveTransitiveClosureImpl();
636 return alsReflectiveTransitiveClosure;
637 }
638
639 /**
640 * <!-- begin-user-doc -->
641 * <!-- end-user-doc -->
642 * @generated
643 */
644 public ALSCardinality createALSCardinality()
645 {
646 ALSCardinalityImpl alsCardinality = new ALSCardinalityImpl();
647 return alsCardinality;
648 }
649
650 /**
651 * <!-- begin-user-doc -->
652 * <!-- end-user-doc -->
653 * @generated
654 */
655 public ALSUnaryMinus createALSUnaryMinus()
656 {
657 ALSUnaryMinusImpl alsUnaryMinus = new ALSUnaryMinusImpl();
658 return alsUnaryMinus;
659 }
660
661 /**
662 * <!-- begin-user-doc -->
663 * <!-- end-user-doc -->
664 * @generated
665 */
666 public ALSSum createALSSum()
667 {
668 ALSSumImpl alsSum = new ALSSumImpl();
669 return alsSum;
670 }
671
672 /**
673 * <!-- begin-user-doc -->
674 * <!-- end-user-doc -->
675 * @generated
676 */
677 public ALSFunctionCall createALSFunctionCall()
678 {
679 ALSFunctionCallImpl alsFunctionCall = new ALSFunctionCallImpl();
680 return alsFunctionCall;
681 }
682
683 /**
684 * <!-- begin-user-doc -->
685 * <!-- end-user-doc -->
686 * @generated
687 */
688 public ALSNone createALSNone()
689 {
690 ALSNoneImpl alsNone = new ALSNoneImpl();
691 return alsNone;
692 }
693
694 /**
695 * <!-- begin-user-doc -->
696 * <!-- end-user-doc -->
697 * @generated
698 */
699 public ALSIden createALSIden()
700 {
701 ALSIdenImpl alsIden = new ALSIdenImpl();
702 return alsIden;
703 }
704
705 /**
706 * <!-- begin-user-doc -->
707 * <!-- end-user-doc -->
708 * @generated
709 */
710 public ALSUniv createALSUniv()
711 {
712 ALSUnivImpl alsUniv = new ALSUnivImpl();
713 return alsUniv;
714 }
715
716 /**
717 * <!-- begin-user-doc -->
718 * <!-- end-user-doc -->
719 * @generated
720 */
721 public ALSInt createALSInt()
722 {
723 ALSIntImpl alsInt = new ALSIntImpl();
724 return alsInt;
725 }
726
727 /**
728 * <!-- begin-user-doc -->
729 * <!-- end-user-doc -->
730 * @generated
731 */
732 public ALSString createALSString()
733 {
734 ALSStringImpl alsString = new ALSStringImpl();
735 return alsString;
736 }
737
738 /**
739 * <!-- begin-user-doc -->
740 * <!-- end-user-doc -->
741 * @generated
742 */
743 public ALSReference createALSReference()
744 {
745 ALSReferenceImpl alsReference = new ALSReferenceImpl();
746 return alsReference;
747 }
748
749 /**
750 * <!-- begin-user-doc -->
751 * <!-- end-user-doc -->
752 * @generated
753 */
754 public ALSNumberLiteral createALSNumberLiteral()
755 {
756 ALSNumberLiteralImpl alsNumberLiteral = new ALSNumberLiteralImpl();
757 return alsNumberLiteral;
758 }
759
760 /**
761 * <!-- begin-user-doc -->
762 * <!-- end-user-doc -->
763 * @generated
764 */
765 public ALSStringLiteral createALSStringLiteral()
766 {
767 ALSStringLiteralImpl alsStringLiteral = new ALSStringLiteralImpl();
768 return alsStringLiteral;
769 }
770
771 /**
772 * <!-- begin-user-doc -->
773 * <!-- end-user-doc -->
774 * @generated
775 */
776 public ALSMultiplicity createALSMultiplicityFromString(EDataType eDataType, String initialValue)
777 {
778 ALSMultiplicity result = ALSMultiplicity.get(initialValue);
779 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
780 return result;
781 }
782
783 /**
784 * <!-- begin-user-doc -->
785 * <!-- end-user-doc -->
786 * @generated
787 */
788 public String convertALSMultiplicityToString(EDataType eDataType, Object instanceValue)
789 {
790 return instanceValue == null ? null : instanceValue.toString();
791 }
792
793 /**
794 * <!-- begin-user-doc -->
795 * <!-- end-user-doc -->
796 * @generated
797 */
798 public ALSNumericOperator createALSNumericOperatorFromString(EDataType eDataType, String initialValue)
799 {
800 ALSNumericOperator result = ALSNumericOperator.get(initialValue);
801 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
802 return result;
803 }
804
805 /**
806 * <!-- begin-user-doc -->
807 * <!-- end-user-doc -->
808 * @generated
809 */
810 public String convertALSNumericOperatorToString(EDataType eDataType, Object instanceValue)
811 {
812 return instanceValue == null ? null : instanceValue.toString();
813 }
814
815 /**
816 * <!-- begin-user-doc -->
817 * <!-- end-user-doc -->
818 * @generated
819 */
820 public AlloyLanguagePackage getAlloyLanguagePackage()
821 {
822 return (AlloyLanguagePackage)getEPackage();
823 }
824
825 /**
826 * <!-- begin-user-doc -->
827 * <!-- end-user-doc -->
828 * @deprecated
829 * @generated
830 */
831 @Deprecated
832 public static AlloyLanguagePackage getPackage()
833 {
834 return AlloyLanguagePackage.eINSTANCE;
835 }
836
837} //AlloyLanguageFactoryImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java
deleted file mode 100644
index 768840c9..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java
+++ /dev/null
@@ -1,2498 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument;
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration;
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral;
12import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals;
13import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration;
14import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration;
15import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall;
16import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition;
17import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden;
18import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff;
19import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl;
20import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt;
21import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope;
22import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection;
23import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation;
24import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin;
25import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq;
26import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess;
27import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq;
28import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus;
29import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore;
30import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity;
31import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone;
32import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot;
33import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals;
34import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral;
35import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator;
36import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr;
37import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride;
38import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus;
39import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx;
40import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft;
41import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight;
42import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference;
43import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure;
44import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration;
45import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition;
46import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand;
47import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope;
48import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody;
49import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration;
50import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString;
51import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral;
52import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope;
53import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset;
54import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum;
55import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
56import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration;
57import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope;
58import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus;
59import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv;
60import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
61import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure;
62import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory;
63import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
64
65import org.eclipse.emf.ecore.EAttribute;
66import org.eclipse.emf.ecore.EClass;
67import org.eclipse.emf.ecore.EEnum;
68import org.eclipse.emf.ecore.EPackage;
69import org.eclipse.emf.ecore.EReference;
70
71import org.eclipse.emf.ecore.impl.EPackageImpl;
72
73/**
74 * <!-- begin-user-doc -->
75 * An implementation of the model <b>Package</b>.
76 * <!-- end-user-doc -->
77 * @generated
78 */
79public class AlloyLanguagePackageImpl extends EPackageImpl implements AlloyLanguagePackage
80{
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 private EClass alsDocumentEClass = null;
87
88 /**
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @generated
92 */
93 private EClass alsRelationDeclarationEClass = null;
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 private EClass alsTypeDeclarationEClass = null;
101
102 /**
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @generated
106 */
107 private EClass alsEnumDeclarationEClass = null;
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 private EClass alsEnumLiteralEClass = null;
115
116 /**
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 */
121 private EClass alsSignatureDeclarationEClass = null;
122
123 /**
124 * <!-- begin-user-doc -->
125 * <!-- end-user-doc -->
126 * @generated
127 */
128 private EClass alsSignatureBodyEClass = null;
129
130 /**
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @generated
134 */
135 private EClass alsFieldDeclarationEClass = null;
136
137 /**
138 * <!-- begin-user-doc -->
139 * <!-- end-user-doc -->
140 * @generated
141 */
142 private EClass alsDefinitionEClass = null;
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 private EClass alsFunctionDefinitionEClass = null;
150
151 /**
152 * <!-- begin-user-doc -->
153 * <!-- end-user-doc -->
154 * @generated
155 */
156 private EClass alsRelationDefinitionEClass = null;
157
158 /**
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @generated
162 */
163 private EClass alsFactDeclarationEClass = null;
164
165 /**
166 * <!-- begin-user-doc -->
167 * <!-- end-user-doc -->
168 * @generated
169 */
170 private EClass alsTermEClass = null;
171
172 /**
173 * <!-- begin-user-doc -->
174 * <!-- end-user-doc -->
175 * @generated
176 */
177 private EClass alsVariableDeclarationEClass = null;
178
179 /**
180 * <!-- begin-user-doc -->
181 * <!-- end-user-doc -->
182 * @generated
183 */
184 private EClass alsRunCommandEClass = null;
185
186 /**
187 * <!-- begin-user-doc -->
188 * <!-- end-user-doc -->
189 * @generated
190 */
191 private EClass alsTypeScopeEClass = null;
192
193 /**
194 * <!-- begin-user-doc -->
195 * <!-- end-user-doc -->
196 * @generated
197 */
198 private EClass alsSigScopeEClass = null;
199
200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 private EClass alsIntScopeEClass = null;
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 private EClass alsStringScopeEClass = null;
213
214 /**
215 * <!-- begin-user-doc -->
216 * <!-- end-user-doc -->
217 * @generated
218 */
219 private EClass alsQuantifiedExEClass = null;
220
221 /**
222 * <!-- begin-user-doc -->
223 * <!-- end-user-doc -->
224 * @generated
225 */
226 private EClass alsOrEClass = null;
227
228 /**
229 * <!-- begin-user-doc -->
230 * <!-- end-user-doc -->
231 * @generated
232 */
233 private EClass alsIffEClass = null;
234
235 /**
236 * <!-- begin-user-doc -->
237 * <!-- end-user-doc -->
238 * @generated
239 */
240 private EClass alsImplEClass = null;
241
242 /**
243 * <!-- begin-user-doc -->
244 * <!-- end-user-doc -->
245 * @generated
246 */
247 private EClass alsAndEClass = null;
248
249 /**
250 * <!-- begin-user-doc -->
251 * <!-- end-user-doc -->
252 * @generated
253 */
254 private EClass alsEqualsEClass = null;
255
256 /**
257 * <!-- begin-user-doc -->
258 * <!-- end-user-doc -->
259 * @generated
260 */
261 private EClass alsNotEqualsEClass = null;
262
263 /**
264 * <!-- begin-user-doc -->
265 * <!-- end-user-doc -->
266 * @generated
267 */
268 private EClass alsSubsetEClass = null;
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
275 private EClass alsLessEClass = null;
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 private EClass alsLeqEClass = null;
283
284 /**
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 */
289 private EClass alsMoreEClass = null;
290
291 /**
292 * <!-- begin-user-doc -->
293 * <!-- end-user-doc -->
294 * @generated
295 */
296 private EClass alsMeqEClass = null;
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 private EClass alsOverrideEClass = null;
304
305 /**
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @generated
309 */
310 private EClass alsRangeRestrictionRightEClass = null;
311
312 /**
313 * <!-- begin-user-doc -->
314 * <!-- end-user-doc -->
315 * @generated
316 */
317 private EClass alsRangeRestrictionLeftEClass = null;
318
319 /**
320 * <!-- begin-user-doc -->
321 * <!-- end-user-doc -->
322 * @generated
323 */
324 private EClass alsJoinEClass = null;
325
326 /**
327 * <!-- begin-user-doc -->
328 * <!-- end-user-doc -->
329 * @generated
330 */
331 private EClass alsMinusEClass = null;
332
333 /**
334 * <!-- begin-user-doc -->
335 * <!-- end-user-doc -->
336 * @generated
337 */
338 private EClass alsPlusEClass = null;
339
340 /**
341 * <!-- begin-user-doc -->
342 * <!-- end-user-doc -->
343 * @generated
344 */
345 private EClass alsIntersectionEClass = null;
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 private EClass alsDirectProductEClass = null;
353
354 /**
355 * <!-- begin-user-doc -->
356 * <!-- end-user-doc -->
357 * @generated
358 */
359 private EClass alsNotEClass = null;
360
361 /**
362 * <!-- begin-user-doc -->
363 * <!-- end-user-doc -->
364 * @generated
365 */
366 private EClass alsInverseRelationEClass = null;
367
368 /**
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @generated
372 */
373 private EClass alSTransitiveClosureEClass = null;
374
375 /**
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 */
380 private EClass alsReflectiveTransitiveClosureEClass = null;
381
382 /**
383 * <!-- begin-user-doc -->
384 * <!-- end-user-doc -->
385 * @generated
386 */
387 private EClass alsCardinalityEClass = null;
388
389 /**
390 * <!-- begin-user-doc -->
391 * <!-- end-user-doc -->
392 * @generated
393 */
394 private EClass alsUnaryMinusEClass = null;
395
396 /**
397 * <!-- begin-user-doc -->
398 * <!-- end-user-doc -->
399 * @generated
400 */
401 private EClass alsSumEClass = null;
402
403 /**
404 * <!-- begin-user-doc -->
405 * <!-- end-user-doc -->
406 * @generated
407 */
408 private EClass alsFunctionCallEClass = null;
409
410 /**
411 * <!-- begin-user-doc -->
412 * <!-- end-user-doc -->
413 * @generated
414 */
415 private EClass alsNoneEClass = null;
416
417 /**
418 * <!-- begin-user-doc -->
419 * <!-- end-user-doc -->
420 * @generated
421 */
422 private EClass alsIdenEClass = null;
423
424 /**
425 * <!-- begin-user-doc -->
426 * <!-- end-user-doc -->
427 * @generated
428 */
429 private EClass alsUnivEClass = null;
430
431 /**
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @generated
435 */
436 private EClass alsIntEClass = null;
437
438 /**
439 * <!-- begin-user-doc -->
440 * <!-- end-user-doc -->
441 * @generated
442 */
443 private EClass alsStringEClass = null;
444
445 /**
446 * <!-- begin-user-doc -->
447 * <!-- end-user-doc -->
448 * @generated
449 */
450 private EClass alsReferenceEClass = null;
451
452 /**
453 * <!-- begin-user-doc -->
454 * <!-- end-user-doc -->
455 * @generated
456 */
457 private EClass alsNumberLiteralEClass = null;
458
459 /**
460 * <!-- begin-user-doc -->
461 * <!-- end-user-doc -->
462 * @generated
463 */
464 private EClass alsStringLiteralEClass = null;
465
466 /**
467 * <!-- begin-user-doc -->
468 * <!-- end-user-doc -->
469 * @generated
470 */
471 private EEnum alsMultiplicityEEnum = null;
472
473 /**
474 * <!-- begin-user-doc -->
475 * <!-- end-user-doc -->
476 * @generated
477 */
478 private EEnum alsNumericOperatorEEnum = null;
479
480 /**
481 * Creates an instance of the model <b>Package</b>, registered with
482 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
483 * package URI value.
484 * <p>Note: the correct way to create the package is via the static
485 * factory method {@link #init init()}, which also performs
486 * initialization of the package, or returns the registered package,
487 * if one already exists.
488 * <!-- begin-user-doc -->
489 * <!-- end-user-doc -->
490 * @see org.eclipse.emf.ecore.EPackage.Registry
491 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#eNS_URI
492 * @see #init()
493 * @generated
494 */
495 private AlloyLanguagePackageImpl()
496 {
497 super(eNS_URI, AlloyLanguageFactory.eINSTANCE);
498 }
499
500 /**
501 * <!-- begin-user-doc -->
502 * <!-- end-user-doc -->
503 * @generated
504 */
505 private static boolean isInited = false;
506
507 /**
508 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
509 *
510 * <p>This method is used to initialize {@link AlloyLanguagePackage#eINSTANCE} when that field is accessed.
511 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
512 * <!-- begin-user-doc -->
513 * <!-- end-user-doc -->
514 * @see #eNS_URI
515 * @see #createPackageContents()
516 * @see #initializePackageContents()
517 * @generated
518 */
519 public static AlloyLanguagePackage init()
520 {
521 if (isInited) return (AlloyLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(AlloyLanguagePackage.eNS_URI);
522
523 // Obtain or create and register package
524 AlloyLanguagePackageImpl theAlloyLanguagePackage = (AlloyLanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AlloyLanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AlloyLanguagePackageImpl());
525
526 isInited = true;
527
528 // Create package meta-data objects
529 theAlloyLanguagePackage.createPackageContents();
530
531 // Initialize created meta-data
532 theAlloyLanguagePackage.initializePackageContents();
533
534 // Mark meta-data to indicate it can't be changed
535 theAlloyLanguagePackage.freeze();
536
537
538 // Update the registry and return the package
539 EPackage.Registry.INSTANCE.put(AlloyLanguagePackage.eNS_URI, theAlloyLanguagePackage);
540 return theAlloyLanguagePackage;
541 }
542
543 /**
544 * <!-- begin-user-doc -->
545 * <!-- end-user-doc -->
546 * @generated
547 */
548 public EClass getALSDocument()
549 {
550 return alsDocumentEClass;
551 }
552
553 /**
554 * <!-- begin-user-doc -->
555 * <!-- end-user-doc -->
556 * @generated
557 */
558 public EReference getALSDocument_EnumDeclarations()
559 {
560 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(0);
561 }
562
563 /**
564 * <!-- begin-user-doc -->
565 * <!-- end-user-doc -->
566 * @generated
567 */
568 public EReference getALSDocument_SignatureBodies()
569 {
570 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(1);
571 }
572
573 /**
574 * <!-- begin-user-doc -->
575 * <!-- end-user-doc -->
576 * @generated
577 */
578 public EReference getALSDocument_FunctionDefinitions()
579 {
580 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(2);
581 }
582
583 /**
584 * <!-- begin-user-doc -->
585 * <!-- end-user-doc -->
586 * @generated
587 */
588 public EReference getALSDocument_RelationDefinitions()
589 {
590 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(3);
591 }
592
593 /**
594 * <!-- begin-user-doc -->
595 * <!-- end-user-doc -->
596 * @generated
597 */
598 public EReference getALSDocument_FactDeclarations()
599 {
600 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(4);
601 }
602
603 /**
604 * <!-- begin-user-doc -->
605 * <!-- end-user-doc -->
606 * @generated
607 */
608 public EReference getALSDocument_RunCommand()
609 {
610 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(5);
611 }
612
613 /**
614 * <!-- begin-user-doc -->
615 * <!-- end-user-doc -->
616 * @generated
617 */
618 public EClass getALSRelationDeclaration()
619 {
620 return alsRelationDeclarationEClass;
621 }
622
623 /**
624 * <!-- begin-user-doc -->
625 * <!-- end-user-doc -->
626 * @generated
627 */
628 public EAttribute getALSRelationDeclaration_Name()
629 {
630 return (EAttribute)alsRelationDeclarationEClass.getEStructuralFeatures().get(0);
631 }
632
633 /**
634 * <!-- begin-user-doc -->
635 * <!-- end-user-doc -->
636 * @generated
637 */
638 public EClass getALSTypeDeclaration()
639 {
640 return alsTypeDeclarationEClass;
641 }
642
643 /**
644 * <!-- begin-user-doc -->
645 * <!-- end-user-doc -->
646 * @generated
647 */
648 public EClass getALSEnumDeclaration()
649 {
650 return alsEnumDeclarationEClass;
651 }
652
653 /**
654 * <!-- begin-user-doc -->
655 * <!-- end-user-doc -->
656 * @generated
657 */
658 public EReference getALSEnumDeclaration_Literal()
659 {
660 return (EReference)alsEnumDeclarationEClass.getEStructuralFeatures().get(0);
661 }
662
663 /**
664 * <!-- begin-user-doc -->
665 * <!-- end-user-doc -->
666 * @generated
667 */
668 public EClass getALSEnumLiteral()
669 {
670 return alsEnumLiteralEClass;
671 }
672
673 /**
674 * <!-- begin-user-doc -->
675 * <!-- end-user-doc -->
676 * @generated
677 */
678 public EClass getALSSignatureDeclaration()
679 {
680 return alsSignatureDeclarationEClass;
681 }
682
683 /**
684 * <!-- begin-user-doc -->
685 * <!-- end-user-doc -->
686 * @generated
687 */
688 public EClass getALSSignatureBody()
689 {
690 return alsSignatureBodyEClass;
691 }
692
693 /**
694 * <!-- begin-user-doc -->
695 * <!-- end-user-doc -->
696 * @generated
697 */
698 public EAttribute getALSSignatureBody_Multiplicity()
699 {
700 return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(0);
701 }
702
703 /**
704 * <!-- begin-user-doc -->
705 * <!-- end-user-doc -->
706 * @generated
707 */
708 public EAttribute getALSSignatureBody_Abstract()
709 {
710 return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(1);
711 }
712
713 /**
714 * <!-- begin-user-doc -->
715 * <!-- end-user-doc -->
716 * @generated
717 */
718 public EReference getALSSignatureBody_Declarations()
719 {
720 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(2);
721 }
722
723 /**
724 * <!-- begin-user-doc -->
725 * <!-- end-user-doc -->
726 * @generated
727 */
728 public EReference getALSSignatureBody_Supertype()
729 {
730 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(3);
731 }
732
733 /**
734 * <!-- begin-user-doc -->
735 * <!-- end-user-doc -->
736 * @generated
737 */
738 public EReference getALSSignatureBody_Superset()
739 {
740 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(4);
741 }
742
743 /**
744 * <!-- begin-user-doc -->
745 * <!-- end-user-doc -->
746 * @generated
747 */
748 public EReference getALSSignatureBody_Fields()
749 {
750 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(5);
751 }
752
753 /**
754 * <!-- begin-user-doc -->
755 * <!-- end-user-doc -->
756 * @generated
757 */
758 public EClass getALSFieldDeclaration()
759 {
760 return alsFieldDeclarationEClass;
761 }
762
763 /**
764 * <!-- begin-user-doc -->
765 * <!-- end-user-doc -->
766 * @generated
767 */
768 public EAttribute getALSFieldDeclaration_Multiplicity()
769 {
770 return (EAttribute)alsFieldDeclarationEClass.getEStructuralFeatures().get(0);
771 }
772
773 /**
774 * <!-- begin-user-doc -->
775 * <!-- end-user-doc -->
776 * @generated
777 */
778 public EReference getALSFieldDeclaration_Type()
779 {
780 return (EReference)alsFieldDeclarationEClass.getEStructuralFeatures().get(1);
781 }
782
783 /**
784 * <!-- begin-user-doc -->
785 * <!-- end-user-doc -->
786 * @generated
787 */
788 public EClass getALSDefinition()
789 {
790 return alsDefinitionEClass;
791 }
792
793 /**
794 * <!-- begin-user-doc -->
795 * <!-- end-user-doc -->
796 * @generated
797 */
798 public EAttribute getALSDefinition_Name()
799 {
800 return (EAttribute)alsDefinitionEClass.getEStructuralFeatures().get(0);
801 }
802
803 /**
804 * <!-- begin-user-doc -->
805 * <!-- end-user-doc -->
806 * @generated
807 */
808 public EReference getALSDefinition_Variables()
809 {
810 return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(1);
811 }
812
813 /**
814 * <!-- begin-user-doc -->
815 * <!-- end-user-doc -->
816 * @generated
817 */
818 public EReference getALSDefinition_Value()
819 {
820 return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(2);
821 }
822
823 /**
824 * <!-- begin-user-doc -->
825 * <!-- end-user-doc -->
826 * @generated
827 */
828 public EClass getALSFunctionDefinition()
829 {
830 return alsFunctionDefinitionEClass;
831 }
832
833 /**
834 * <!-- begin-user-doc -->
835 * <!-- end-user-doc -->
836 * @generated
837 */
838 public EReference getALSFunctionDefinition_Type()
839 {
840 return (EReference)alsFunctionDefinitionEClass.getEStructuralFeatures().get(0);
841 }
842
843 /**
844 * <!-- begin-user-doc -->
845 * <!-- end-user-doc -->
846 * @generated
847 */
848 public EClass getALSRelationDefinition()
849 {
850 return alsRelationDefinitionEClass;
851 }
852
853 /**
854 * <!-- begin-user-doc -->
855 * <!-- end-user-doc -->
856 * @generated
857 */
858 public EClass getALSFactDeclaration()
859 {
860 return alsFactDeclarationEClass;
861 }
862
863 /**
864 * <!-- begin-user-doc -->
865 * <!-- end-user-doc -->
866 * @generated
867 */
868 public EAttribute getALSFactDeclaration_Name()
869 {
870 return (EAttribute)alsFactDeclarationEClass.getEStructuralFeatures().get(0);
871 }
872
873 /**
874 * <!-- begin-user-doc -->
875 * <!-- end-user-doc -->
876 * @generated
877 */
878 public EReference getALSFactDeclaration_Term()
879 {
880 return (EReference)alsFactDeclarationEClass.getEStructuralFeatures().get(1);
881 }
882
883 /**
884 * <!-- begin-user-doc -->
885 * <!-- end-user-doc -->
886 * @generated
887 */
888 public EClass getALSTerm()
889 {
890 return alsTermEClass;
891 }
892
893 /**
894 * <!-- begin-user-doc -->
895 * <!-- end-user-doc -->
896 * @generated
897 */
898 public EClass getALSVariableDeclaration()
899 {
900 return alsVariableDeclarationEClass;
901 }
902
903 /**
904 * <!-- begin-user-doc -->
905 * <!-- end-user-doc -->
906 * @generated
907 */
908 public EReference getALSVariableDeclaration_Range()
909 {
910 return (EReference)alsVariableDeclarationEClass.getEStructuralFeatures().get(0);
911 }
912
913 /**
914 * <!-- begin-user-doc -->
915 * <!-- end-user-doc -->
916 * @generated
917 */
918 public EClass getALSRunCommand()
919 {
920 return alsRunCommandEClass;
921 }
922
923 /**
924 * <!-- begin-user-doc -->
925 * <!-- end-user-doc -->
926 * @generated
927 */
928 public EReference getALSRunCommand_TypeScopes()
929 {
930 return (EReference)alsRunCommandEClass.getEStructuralFeatures().get(0);
931 }
932
933 /**
934 * <!-- begin-user-doc -->
935 * <!-- end-user-doc -->
936 * @generated
937 */
938 public EClass getALSTypeScope()
939 {
940 return alsTypeScopeEClass;
941 }
942
943 /**
944 * <!-- begin-user-doc -->
945 * <!-- end-user-doc -->
946 * @generated
947 */
948 public EAttribute getALSTypeScope_Number()
949 {
950 return (EAttribute)alsTypeScopeEClass.getEStructuralFeatures().get(0);
951 }
952
953 /**
954 * <!-- begin-user-doc -->
955 * <!-- end-user-doc -->
956 * @generated
957 */
958 public EClass getALSSigScope()
959 {
960 return alsSigScopeEClass;
961 }
962
963 /**
964 * <!-- begin-user-doc -->
965 * <!-- end-user-doc -->
966 * @generated
967 */
968 public EAttribute getALSSigScope_Exactly()
969 {
970 return (EAttribute)alsSigScopeEClass.getEStructuralFeatures().get(0);
971 }
972
973 /**
974 * <!-- begin-user-doc -->
975 * <!-- end-user-doc -->
976 * @generated
977 */
978 public EReference getALSSigScope_Type()
979 {
980 return (EReference)alsSigScopeEClass.getEStructuralFeatures().get(1);
981 }
982
983 /**
984 * <!-- begin-user-doc -->
985 * <!-- end-user-doc -->
986 * @generated
987 */
988 public EClass getALSIntScope()
989 {
990 return alsIntScopeEClass;
991 }
992
993 /**
994 * <!-- begin-user-doc -->
995 * <!-- end-user-doc -->
996 * @generated
997 */
998 public EClass getALSStringScope()
999 {
1000 return alsStringScopeEClass;
1001 }
1002
1003 /**
1004 * <!-- begin-user-doc -->
1005 * <!-- end-user-doc -->
1006 * @generated
1007 */
1008 public EClass getALSQuantifiedEx()
1009 {
1010 return alsQuantifiedExEClass;
1011 }
1012
1013 /**
1014 * <!-- begin-user-doc -->
1015 * <!-- end-user-doc -->
1016 * @generated
1017 */
1018 public EAttribute getALSQuantifiedEx_Type()
1019 {
1020 return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(0);
1021 }
1022
1023 /**
1024 * <!-- begin-user-doc -->
1025 * <!-- end-user-doc -->
1026 * @generated
1027 */
1028 public EAttribute getALSQuantifiedEx_Disj()
1029 {
1030 return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(1);
1031 }
1032
1033 /**
1034 * <!-- begin-user-doc -->
1035 * <!-- end-user-doc -->
1036 * @generated
1037 */
1038 public EReference getALSQuantifiedEx_Variables()
1039 {
1040 return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(2);
1041 }
1042
1043 /**
1044 * <!-- begin-user-doc -->
1045 * <!-- end-user-doc -->
1046 * @generated
1047 */
1048 public EReference getALSQuantifiedEx_Expression()
1049 {
1050 return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(3);
1051 }
1052
1053 /**
1054 * <!-- begin-user-doc -->
1055 * <!-- end-user-doc -->
1056 * @generated
1057 */
1058 public EClass getALSOr()
1059 {
1060 return alsOrEClass;
1061 }
1062
1063 /**
1064 * <!-- begin-user-doc -->
1065 * <!-- end-user-doc -->
1066 * @generated
1067 */
1068 public EReference getALSOr_LeftOperand()
1069 {
1070 return (EReference)alsOrEClass.getEStructuralFeatures().get(0);
1071 }
1072
1073 /**
1074 * <!-- begin-user-doc -->
1075 * <!-- end-user-doc -->
1076 * @generated
1077 */
1078 public EReference getALSOr_RightOperand()
1079 {
1080 return (EReference)alsOrEClass.getEStructuralFeatures().get(1);
1081 }
1082
1083 /**
1084 * <!-- begin-user-doc -->
1085 * <!-- end-user-doc -->
1086 * @generated
1087 */
1088 public EClass getALSIff()
1089 {
1090 return alsIffEClass;
1091 }
1092
1093 /**
1094 * <!-- begin-user-doc -->
1095 * <!-- end-user-doc -->
1096 * @generated
1097 */
1098 public EReference getALSIff_LeftOperand()
1099 {
1100 return (EReference)alsIffEClass.getEStructuralFeatures().get(0);
1101 }
1102
1103 /**
1104 * <!-- begin-user-doc -->
1105 * <!-- end-user-doc -->
1106 * @generated
1107 */
1108 public EReference getALSIff_RightOperand()
1109 {
1110 return (EReference)alsIffEClass.getEStructuralFeatures().get(1);
1111 }
1112
1113 /**
1114 * <!-- begin-user-doc -->
1115 * <!-- end-user-doc -->
1116 * @generated
1117 */
1118 public EClass getALSImpl()
1119 {
1120 return alsImplEClass;
1121 }
1122
1123 /**
1124 * <!-- begin-user-doc -->
1125 * <!-- end-user-doc -->
1126 * @generated
1127 */
1128 public EReference getALSImpl_LeftOperand()
1129 {
1130 return (EReference)alsImplEClass.getEStructuralFeatures().get(0);
1131 }
1132
1133 /**
1134 * <!-- begin-user-doc -->
1135 * <!-- end-user-doc -->
1136 * @generated
1137 */
1138 public EReference getALSImpl_RightOperand()
1139 {
1140 return (EReference)alsImplEClass.getEStructuralFeatures().get(1);
1141 }
1142
1143 /**
1144 * <!-- begin-user-doc -->
1145 * <!-- end-user-doc -->
1146 * @generated
1147 */
1148 public EReference getALSImpl_ElseOperand()
1149 {
1150 return (EReference)alsImplEClass.getEStructuralFeatures().get(2);
1151 }
1152
1153 /**
1154 * <!-- begin-user-doc -->
1155 * <!-- end-user-doc -->
1156 * @generated
1157 */
1158 public EClass getALSAnd()
1159 {
1160 return alsAndEClass;
1161 }
1162
1163 /**
1164 * <!-- begin-user-doc -->
1165 * <!-- end-user-doc -->
1166 * @generated
1167 */
1168 public EReference getALSAnd_LeftOperand()
1169 {
1170 return (EReference)alsAndEClass.getEStructuralFeatures().get(0);
1171 }
1172
1173 /**
1174 * <!-- begin-user-doc -->
1175 * <!-- end-user-doc -->
1176 * @generated
1177 */
1178 public EReference getALSAnd_RightOperand()
1179 {
1180 return (EReference)alsAndEClass.getEStructuralFeatures().get(1);
1181 }
1182
1183 /**
1184 * <!-- begin-user-doc -->
1185 * <!-- end-user-doc -->
1186 * @generated
1187 */
1188 public EClass getALSEquals()
1189 {
1190 return alsEqualsEClass;
1191 }
1192
1193 /**
1194 * <!-- begin-user-doc -->
1195 * <!-- end-user-doc -->
1196 * @generated
1197 */
1198 public EReference getALSEquals_LeftOperand()
1199 {
1200 return (EReference)alsEqualsEClass.getEStructuralFeatures().get(0);
1201 }
1202
1203 /**
1204 * <!-- begin-user-doc -->
1205 * <!-- end-user-doc -->
1206 * @generated
1207 */
1208 public EReference getALSEquals_RightOperand()
1209 {
1210 return (EReference)alsEqualsEClass.getEStructuralFeatures().get(1);
1211 }
1212
1213 /**
1214 * <!-- begin-user-doc -->
1215 * <!-- end-user-doc -->
1216 * @generated
1217 */
1218 public EClass getALSNotEquals()
1219 {
1220 return alsNotEqualsEClass;
1221 }
1222
1223 /**
1224 * <!-- begin-user-doc -->
1225 * <!-- end-user-doc -->
1226 * @generated
1227 */
1228 public EReference getALSNotEquals_LeftOperand()
1229 {
1230 return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(0);
1231 }
1232
1233 /**
1234 * <!-- begin-user-doc -->
1235 * <!-- end-user-doc -->
1236 * @generated
1237 */
1238 public EReference getALSNotEquals_RightOperand()
1239 {
1240 return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(1);
1241 }
1242
1243 /**
1244 * <!-- begin-user-doc -->
1245 * <!-- end-user-doc -->
1246 * @generated
1247 */
1248 public EClass getALSSubset()
1249 {
1250 return alsSubsetEClass;
1251 }
1252
1253 /**
1254 * <!-- begin-user-doc -->
1255 * <!-- end-user-doc -->
1256 * @generated
1257 */
1258 public EReference getALSSubset_LeftOperand()
1259 {
1260 return (EReference)alsSubsetEClass.getEStructuralFeatures().get(0);
1261 }
1262
1263 /**
1264 * <!-- begin-user-doc -->
1265 * <!-- end-user-doc -->
1266 * @generated
1267 */
1268 public EReference getALSSubset_RightOperand()
1269 {
1270 return (EReference)alsSubsetEClass.getEStructuralFeatures().get(1);
1271 }
1272
1273 /**
1274 * <!-- begin-user-doc -->
1275 * <!-- end-user-doc -->
1276 * @generated
1277 */
1278 public EClass getALSLess()
1279 {
1280 return alsLessEClass;
1281 }
1282
1283 /**
1284 * <!-- begin-user-doc -->
1285 * <!-- end-user-doc -->
1286 * @generated
1287 */
1288 public EReference getALSLess_LeftOperand()
1289 {
1290 return (EReference)alsLessEClass.getEStructuralFeatures().get(0);
1291 }
1292
1293 /**
1294 * <!-- begin-user-doc -->
1295 * <!-- end-user-doc -->
1296 * @generated
1297 */
1298 public EReference getALSLess_RightOperand()
1299 {
1300 return (EReference)alsLessEClass.getEStructuralFeatures().get(1);
1301 }
1302
1303 /**
1304 * <!-- begin-user-doc -->
1305 * <!-- end-user-doc -->
1306 * @generated
1307 */
1308 public EClass getALSLeq()
1309 {
1310 return alsLeqEClass;
1311 }
1312
1313 /**
1314 * <!-- begin-user-doc -->
1315 * <!-- end-user-doc -->
1316 * @generated
1317 */
1318 public EReference getALSLeq_LeftOperand()
1319 {
1320 return (EReference)alsLeqEClass.getEStructuralFeatures().get(0);
1321 }
1322
1323 /**
1324 * <!-- begin-user-doc -->
1325 * <!-- end-user-doc -->
1326 * @generated
1327 */
1328 public EReference getALSLeq_RightOperand()
1329 {
1330 return (EReference)alsLeqEClass.getEStructuralFeatures().get(1);
1331 }
1332
1333 /**
1334 * <!-- begin-user-doc -->
1335 * <!-- end-user-doc -->
1336 * @generated
1337 */
1338 public EClass getALSMore()
1339 {
1340 return alsMoreEClass;
1341 }
1342
1343 /**
1344 * <!-- begin-user-doc -->
1345 * <!-- end-user-doc -->
1346 * @generated
1347 */
1348 public EReference getALSMore_LeftOperand()
1349 {
1350 return (EReference)alsMoreEClass.getEStructuralFeatures().get(0);
1351 }
1352
1353 /**
1354 * <!-- begin-user-doc -->
1355 * <!-- end-user-doc -->
1356 * @generated
1357 */
1358 public EReference getALSMore_RightOperand()
1359 {
1360 return (EReference)alsMoreEClass.getEStructuralFeatures().get(1);
1361 }
1362
1363 /**
1364 * <!-- begin-user-doc -->
1365 * <!-- end-user-doc -->
1366 * @generated
1367 */
1368 public EClass getALSMeq()
1369 {
1370 return alsMeqEClass;
1371 }
1372
1373 /**
1374 * <!-- begin-user-doc -->
1375 * <!-- end-user-doc -->
1376 * @generated
1377 */
1378 public EReference getALSMeq_LeftOperand()
1379 {
1380 return (EReference)alsMeqEClass.getEStructuralFeatures().get(0);
1381 }
1382
1383 /**
1384 * <!-- begin-user-doc -->
1385 * <!-- end-user-doc -->
1386 * @generated
1387 */
1388 public EReference getALSMeq_RightOperand()
1389 {
1390 return (EReference)alsMeqEClass.getEStructuralFeatures().get(1);
1391 }
1392
1393 /**
1394 * <!-- begin-user-doc -->
1395 * <!-- end-user-doc -->
1396 * @generated
1397 */
1398 public EClass getALSOverride()
1399 {
1400 return alsOverrideEClass;
1401 }
1402
1403 /**
1404 * <!-- begin-user-doc -->
1405 * <!-- end-user-doc -->
1406 * @generated
1407 */
1408 public EReference getALSOverride_LeftOperand()
1409 {
1410 return (EReference)alsOverrideEClass.getEStructuralFeatures().get(0);
1411 }
1412
1413 /**
1414 * <!-- begin-user-doc -->
1415 * <!-- end-user-doc -->
1416 * @generated
1417 */
1418 public EReference getALSOverride_RightOperand()
1419 {
1420 return (EReference)alsOverrideEClass.getEStructuralFeatures().get(1);
1421 }
1422
1423 /**
1424 * <!-- begin-user-doc -->
1425 * <!-- end-user-doc -->
1426 * @generated
1427 */
1428 public EClass getALSRangeRestrictionRight()
1429 {
1430 return alsRangeRestrictionRightEClass;
1431 }
1432
1433 /**
1434 * <!-- begin-user-doc -->
1435 * <!-- end-user-doc -->
1436 * @generated
1437 */
1438 public EReference getALSRangeRestrictionRight_Relation()
1439 {
1440 return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(0);
1441 }
1442
1443 /**
1444 * <!-- begin-user-doc -->
1445 * <!-- end-user-doc -->
1446 * @generated
1447 */
1448 public EReference getALSRangeRestrictionRight_Filter()
1449 {
1450 return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(1);
1451 }
1452
1453 /**
1454 * <!-- begin-user-doc -->
1455 * <!-- end-user-doc -->
1456 * @generated
1457 */
1458 public EClass getALSRangeRestrictionLeft()
1459 {
1460 return alsRangeRestrictionLeftEClass;
1461 }
1462
1463 /**
1464 * <!-- begin-user-doc -->
1465 * <!-- end-user-doc -->
1466 * @generated
1467 */
1468 public EReference getALSRangeRestrictionLeft_Filter()
1469 {
1470 return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(0);
1471 }
1472
1473 /**
1474 * <!-- begin-user-doc -->
1475 * <!-- end-user-doc -->
1476 * @generated
1477 */
1478 public EReference getALSRangeRestrictionLeft_Relation()
1479 {
1480 return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(1);
1481 }
1482
1483 /**
1484 * <!-- begin-user-doc -->
1485 * <!-- end-user-doc -->
1486 * @generated
1487 */
1488 public EClass getALSJoin()
1489 {
1490 return alsJoinEClass;
1491 }
1492
1493 /**
1494 * <!-- begin-user-doc -->
1495 * <!-- end-user-doc -->
1496 * @generated
1497 */
1498 public EReference getALSJoin_LeftOperand()
1499 {
1500 return (EReference)alsJoinEClass.getEStructuralFeatures().get(0);
1501 }
1502
1503 /**
1504 * <!-- begin-user-doc -->
1505 * <!-- end-user-doc -->
1506 * @generated
1507 */
1508 public EReference getALSJoin_RightOperand()
1509 {
1510 return (EReference)alsJoinEClass.getEStructuralFeatures().get(1);
1511 }
1512
1513 /**
1514 * <!-- begin-user-doc -->
1515 * <!-- end-user-doc -->
1516 * @generated
1517 */
1518 public EClass getALSMinus()
1519 {
1520 return alsMinusEClass;
1521 }
1522
1523 /**
1524 * <!-- begin-user-doc -->
1525 * <!-- end-user-doc -->
1526 * @generated
1527 */
1528 public EReference getALSMinus_LeftOperand()
1529 {
1530 return (EReference)alsMinusEClass.getEStructuralFeatures().get(0);
1531 }
1532
1533 /**
1534 * <!-- begin-user-doc -->
1535 * <!-- end-user-doc -->
1536 * @generated
1537 */
1538 public EReference getALSMinus_RightOperand()
1539 {
1540 return (EReference)alsMinusEClass.getEStructuralFeatures().get(1);
1541 }
1542
1543 /**
1544 * <!-- begin-user-doc -->
1545 * <!-- end-user-doc -->
1546 * @generated
1547 */
1548 public EClass getALSPlus()
1549 {
1550 return alsPlusEClass;
1551 }
1552
1553 /**
1554 * <!-- begin-user-doc -->
1555 * <!-- end-user-doc -->
1556 * @generated
1557 */
1558 public EReference getALSPlus_LeftOperand()
1559 {
1560 return (EReference)alsPlusEClass.getEStructuralFeatures().get(0);
1561 }
1562
1563 /**
1564 * <!-- begin-user-doc -->
1565 * <!-- end-user-doc -->
1566 * @generated
1567 */
1568 public EReference getALSPlus_RightOperand()
1569 {
1570 return (EReference)alsPlusEClass.getEStructuralFeatures().get(1);
1571 }
1572
1573 /**
1574 * <!-- begin-user-doc -->
1575 * <!-- end-user-doc -->
1576 * @generated
1577 */
1578 public EClass getALSIntersection()
1579 {
1580 return alsIntersectionEClass;
1581 }
1582
1583 /**
1584 * <!-- begin-user-doc -->
1585 * <!-- end-user-doc -->
1586 * @generated
1587 */
1588 public EReference getALSIntersection_LeftOperand()
1589 {
1590 return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(0);
1591 }
1592
1593 /**
1594 * <!-- begin-user-doc -->
1595 * <!-- end-user-doc -->
1596 * @generated
1597 */
1598 public EReference getALSIntersection_RightOperand()
1599 {
1600 return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(1);
1601 }
1602
1603 /**
1604 * <!-- begin-user-doc -->
1605 * <!-- end-user-doc -->
1606 * @generated
1607 */
1608 public EClass getALSDirectProduct()
1609 {
1610 return alsDirectProductEClass;
1611 }
1612
1613 /**
1614 * <!-- begin-user-doc -->
1615 * <!-- end-user-doc -->
1616 * @generated
1617 */
1618 public EReference getALSDirectProduct_LeftOperand()
1619 {
1620 return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(0);
1621 }
1622
1623 /**
1624 * <!-- begin-user-doc -->
1625 * <!-- end-user-doc -->
1626 * @generated
1627 */
1628 public EAttribute getALSDirectProduct_LeftMultiplicit()
1629 {
1630 return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(1);
1631 }
1632
1633 /**
1634 * <!-- begin-user-doc -->
1635 * <!-- end-user-doc -->
1636 * @generated
1637 */
1638 public EAttribute getALSDirectProduct_RightMultiplicit()
1639 {
1640 return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(2);
1641 }
1642
1643 /**
1644 * <!-- begin-user-doc -->
1645 * <!-- end-user-doc -->
1646 * @generated
1647 */
1648 public EReference getALSDirectProduct_RightOperand()
1649 {
1650 return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(3);
1651 }
1652
1653 /**
1654 * <!-- begin-user-doc -->
1655 * <!-- end-user-doc -->
1656 * @generated
1657 */
1658 public EClass getALSNot()
1659 {
1660 return alsNotEClass;
1661 }
1662
1663 /**
1664 * <!-- begin-user-doc -->
1665 * <!-- end-user-doc -->
1666 * @generated
1667 */
1668 public EReference getALSNot_Operand()
1669 {
1670 return (EReference)alsNotEClass.getEStructuralFeatures().get(0);
1671 }
1672
1673 /**
1674 * <!-- begin-user-doc -->
1675 * <!-- end-user-doc -->
1676 * @generated
1677 */
1678 public EClass getALSInverseRelation()
1679 {
1680 return alsInverseRelationEClass;
1681 }
1682
1683 /**
1684 * <!-- begin-user-doc -->
1685 * <!-- end-user-doc -->
1686 * @generated
1687 */
1688 public EReference getALSInverseRelation_Operand()
1689 {
1690 return (EReference)alsInverseRelationEClass.getEStructuralFeatures().get(0);
1691 }
1692
1693 /**
1694 * <!-- begin-user-doc -->
1695 * <!-- end-user-doc -->
1696 * @generated
1697 */
1698 public EClass getAlSTransitiveClosure()
1699 {
1700 return alSTransitiveClosureEClass;
1701 }
1702
1703 /**
1704 * <!-- begin-user-doc -->
1705 * <!-- end-user-doc -->
1706 * @generated
1707 */
1708 public EReference getAlSTransitiveClosure_Operand()
1709 {
1710 return (EReference)alSTransitiveClosureEClass.getEStructuralFeatures().get(0);
1711 }
1712
1713 /**
1714 * <!-- begin-user-doc -->
1715 * <!-- end-user-doc -->
1716 * @generated
1717 */
1718 public EClass getALSReflectiveTransitiveClosure()
1719 {
1720 return alsReflectiveTransitiveClosureEClass;
1721 }
1722
1723 /**
1724 * <!-- begin-user-doc -->
1725 * <!-- end-user-doc -->
1726 * @generated
1727 */
1728 public EReference getALSReflectiveTransitiveClosure_Operand()
1729 {
1730 return (EReference)alsReflectiveTransitiveClosureEClass.getEStructuralFeatures().get(0);
1731 }
1732
1733 /**
1734 * <!-- begin-user-doc -->
1735 * <!-- end-user-doc -->
1736 * @generated
1737 */
1738 public EClass getALSCardinality()
1739 {
1740 return alsCardinalityEClass;
1741 }
1742
1743 /**
1744 * <!-- begin-user-doc -->
1745 * <!-- end-user-doc -->
1746 * @generated
1747 */
1748 public EReference getALSCardinality_Operand()
1749 {
1750 return (EReference)alsCardinalityEClass.getEStructuralFeatures().get(0);
1751 }
1752
1753 /**
1754 * <!-- begin-user-doc -->
1755 * <!-- end-user-doc -->
1756 * @generated
1757 */
1758 public EClass getALSUnaryMinus()
1759 {
1760 return alsUnaryMinusEClass;
1761 }
1762
1763 /**
1764 * <!-- begin-user-doc -->
1765 * <!-- end-user-doc -->
1766 * @generated
1767 */
1768 public EReference getALSUnaryMinus_Operand()
1769 {
1770 return (EReference)alsUnaryMinusEClass.getEStructuralFeatures().get(0);
1771 }
1772
1773 /**
1774 * <!-- begin-user-doc -->
1775 * <!-- end-user-doc -->
1776 * @generated
1777 */
1778 public EClass getALSSum()
1779 {
1780 return alsSumEClass;
1781 }
1782
1783 /**
1784 * <!-- begin-user-doc -->
1785 * <!-- end-user-doc -->
1786 * @generated
1787 */
1788 public EReference getALSSum_Variables()
1789 {
1790 return (EReference)alsSumEClass.getEStructuralFeatures().get(0);
1791 }
1792
1793 /**
1794 * <!-- begin-user-doc -->
1795 * <!-- end-user-doc -->
1796 * @generated
1797 */
1798 public EReference getALSSum_Expression()
1799 {
1800 return (EReference)alsSumEClass.getEStructuralFeatures().get(1);
1801 }
1802
1803 /**
1804 * <!-- begin-user-doc -->
1805 * <!-- end-user-doc -->
1806 * @generated
1807 */
1808 public EClass getALSFunctionCall()
1809 {
1810 return alsFunctionCallEClass;
1811 }
1812
1813 /**
1814 * <!-- begin-user-doc -->
1815 * <!-- end-user-doc -->
1816 * @generated
1817 */
1818 public EReference getALSFunctionCall_ReferredDefinition()
1819 {
1820 return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(0);
1821 }
1822
1823 /**
1824 * <!-- begin-user-doc -->
1825 * <!-- end-user-doc -->
1826 * @generated
1827 */
1828 public EAttribute getALSFunctionCall_ReferredNumericOperator()
1829 {
1830 return (EAttribute)alsFunctionCallEClass.getEStructuralFeatures().get(1);
1831 }
1832
1833 /**
1834 * <!-- begin-user-doc -->
1835 * <!-- end-user-doc -->
1836 * @generated
1837 */
1838 public EReference getALSFunctionCall_Params()
1839 {
1840 return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(2);
1841 }
1842
1843 /**
1844 * <!-- begin-user-doc -->
1845 * <!-- end-user-doc -->
1846 * @generated
1847 */
1848 public EClass getALSNone()
1849 {
1850 return alsNoneEClass;
1851 }
1852
1853 /**
1854 * <!-- begin-user-doc -->
1855 * <!-- end-user-doc -->
1856 * @generated
1857 */
1858 public EClass getALSIden()
1859 {
1860 return alsIdenEClass;
1861 }
1862
1863 /**
1864 * <!-- begin-user-doc -->
1865 * <!-- end-user-doc -->
1866 * @generated
1867 */
1868 public EClass getALSUniv()
1869 {
1870 return alsUnivEClass;
1871 }
1872
1873 /**
1874 * <!-- begin-user-doc -->
1875 * <!-- end-user-doc -->
1876 * @generated
1877 */
1878 public EClass getALSInt()
1879 {
1880 return alsIntEClass;
1881 }
1882
1883 /**
1884 * <!-- begin-user-doc -->
1885 * <!-- end-user-doc -->
1886 * @generated
1887 */
1888 public EClass getALSString()
1889 {
1890 return alsStringEClass;
1891 }
1892
1893 /**
1894 * <!-- begin-user-doc -->
1895 * <!-- end-user-doc -->
1896 * @generated
1897 */
1898 public EClass getALSReference()
1899 {
1900 return alsReferenceEClass;
1901 }
1902
1903 /**
1904 * <!-- begin-user-doc -->
1905 * <!-- end-user-doc -->
1906 * @generated
1907 */
1908 public EReference getALSReference_Referred()
1909 {
1910 return (EReference)alsReferenceEClass.getEStructuralFeatures().get(0);
1911 }
1912
1913 /**
1914 * <!-- begin-user-doc -->
1915 * <!-- end-user-doc -->
1916 * @generated
1917 */
1918 public EClass getALSNumberLiteral()
1919 {
1920 return alsNumberLiteralEClass;
1921 }
1922
1923 /**
1924 * <!-- begin-user-doc -->
1925 * <!-- end-user-doc -->
1926 * @generated
1927 */
1928 public EAttribute getALSNumberLiteral_Value()
1929 {
1930 return (EAttribute)alsNumberLiteralEClass.getEStructuralFeatures().get(0);
1931 }
1932
1933 /**
1934 * <!-- begin-user-doc -->
1935 * <!-- end-user-doc -->
1936 * @generated
1937 */
1938 public EClass getALSStringLiteral()
1939 {
1940 return alsStringLiteralEClass;
1941 }
1942
1943 /**
1944 * <!-- begin-user-doc -->
1945 * <!-- end-user-doc -->
1946 * @generated
1947 */
1948 public EAttribute getALSStringLiteral_Value()
1949 {
1950 return (EAttribute)alsStringLiteralEClass.getEStructuralFeatures().get(0);
1951 }
1952
1953 /**
1954 * <!-- begin-user-doc -->
1955 * <!-- end-user-doc -->
1956 * @generated
1957 */
1958 public EEnum getALSMultiplicity()
1959 {
1960 return alsMultiplicityEEnum;
1961 }
1962
1963 /**
1964 * <!-- begin-user-doc -->
1965 * <!-- end-user-doc -->
1966 * @generated
1967 */
1968 public EEnum getALSNumericOperator()
1969 {
1970 return alsNumericOperatorEEnum;
1971 }
1972
1973 /**
1974 * <!-- begin-user-doc -->
1975 * <!-- end-user-doc -->
1976 * @generated
1977 */
1978 public AlloyLanguageFactory getAlloyLanguageFactory()
1979 {
1980 return (AlloyLanguageFactory)getEFactoryInstance();
1981 }
1982
1983 /**
1984 * <!-- begin-user-doc -->
1985 * <!-- end-user-doc -->
1986 * @generated
1987 */
1988 private boolean isCreated = false;
1989
1990 /**
1991 * Creates the meta-model objects for the package. This method is
1992 * guarded to have no affect on any invocation but its first.
1993 * <!-- begin-user-doc -->
1994 * <!-- end-user-doc -->
1995 * @generated
1996 */
1997 public void createPackageContents()
1998 {
1999 if (isCreated) return;
2000 isCreated = true;
2001
2002 // Create classes and their features
2003 alsDocumentEClass = createEClass(ALS_DOCUMENT);
2004 createEReference(alsDocumentEClass, ALS_DOCUMENT__ENUM_DECLARATIONS);
2005 createEReference(alsDocumentEClass, ALS_DOCUMENT__SIGNATURE_BODIES);
2006 createEReference(alsDocumentEClass, ALS_DOCUMENT__FUNCTION_DEFINITIONS);
2007 createEReference(alsDocumentEClass, ALS_DOCUMENT__RELATION_DEFINITIONS);
2008 createEReference(alsDocumentEClass, ALS_DOCUMENT__FACT_DECLARATIONS);
2009 createEReference(alsDocumentEClass, ALS_DOCUMENT__RUN_COMMAND);
2010
2011 alsRelationDeclarationEClass = createEClass(ALS_RELATION_DECLARATION);
2012 createEAttribute(alsRelationDeclarationEClass, ALS_RELATION_DECLARATION__NAME);
2013
2014 alsTypeDeclarationEClass = createEClass(ALS_TYPE_DECLARATION);
2015
2016 alsEnumDeclarationEClass = createEClass(ALS_ENUM_DECLARATION);
2017 createEReference(alsEnumDeclarationEClass, ALS_ENUM_DECLARATION__LITERAL);
2018
2019 alsEnumLiteralEClass = createEClass(ALS_ENUM_LITERAL);
2020
2021 alsSignatureDeclarationEClass = createEClass(ALS_SIGNATURE_DECLARATION);
2022
2023 alsSignatureBodyEClass = createEClass(ALS_SIGNATURE_BODY);
2024 createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__MULTIPLICITY);
2025 createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__ABSTRACT);
2026 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__DECLARATIONS);
2027 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERTYPE);
2028 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERSET);
2029 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__FIELDS);
2030
2031 alsFieldDeclarationEClass = createEClass(ALS_FIELD_DECLARATION);
2032 createEAttribute(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__MULTIPLICITY);
2033 createEReference(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__TYPE);
2034
2035 alsDefinitionEClass = createEClass(ALS_DEFINITION);
2036 createEAttribute(alsDefinitionEClass, ALS_DEFINITION__NAME);
2037 createEReference(alsDefinitionEClass, ALS_DEFINITION__VARIABLES);
2038 createEReference(alsDefinitionEClass, ALS_DEFINITION__VALUE);
2039
2040 alsFunctionDefinitionEClass = createEClass(ALS_FUNCTION_DEFINITION);
2041 createEReference(alsFunctionDefinitionEClass, ALS_FUNCTION_DEFINITION__TYPE);
2042
2043 alsRelationDefinitionEClass = createEClass(ALS_RELATION_DEFINITION);
2044
2045 alsFactDeclarationEClass = createEClass(ALS_FACT_DECLARATION);
2046 createEAttribute(alsFactDeclarationEClass, ALS_FACT_DECLARATION__NAME);
2047 createEReference(alsFactDeclarationEClass, ALS_FACT_DECLARATION__TERM);
2048
2049 alsTermEClass = createEClass(ALS_TERM);
2050
2051 alsVariableDeclarationEClass = createEClass(ALS_VARIABLE_DECLARATION);
2052 createEReference(alsVariableDeclarationEClass, ALS_VARIABLE_DECLARATION__RANGE);
2053
2054 alsRunCommandEClass = createEClass(ALS_RUN_COMMAND);
2055 createEReference(alsRunCommandEClass, ALS_RUN_COMMAND__TYPE_SCOPES);
2056
2057 alsTypeScopeEClass = createEClass(ALS_TYPE_SCOPE);
2058 createEAttribute(alsTypeScopeEClass, ALS_TYPE_SCOPE__NUMBER);
2059
2060 alsSigScopeEClass = createEClass(ALS_SIG_SCOPE);
2061 createEAttribute(alsSigScopeEClass, ALS_SIG_SCOPE__EXACTLY);
2062 createEReference(alsSigScopeEClass, ALS_SIG_SCOPE__TYPE);
2063
2064 alsIntScopeEClass = createEClass(ALS_INT_SCOPE);
2065
2066 alsStringScopeEClass = createEClass(ALS_STRING_SCOPE);
2067
2068 alsQuantifiedExEClass = createEClass(ALS_QUANTIFIED_EX);
2069 createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__TYPE);
2070 createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__DISJ);
2071 createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__VARIABLES);
2072 createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__EXPRESSION);
2073
2074 alsOrEClass = createEClass(ALS_OR);
2075 createEReference(alsOrEClass, ALS_OR__LEFT_OPERAND);
2076 createEReference(alsOrEClass, ALS_OR__RIGHT_OPERAND);
2077
2078 alsIffEClass = createEClass(ALS_IFF);
2079 createEReference(alsIffEClass, ALS_IFF__LEFT_OPERAND);
2080 createEReference(alsIffEClass, ALS_IFF__RIGHT_OPERAND);
2081
2082 alsImplEClass = createEClass(ALS_IMPL);
2083 createEReference(alsImplEClass, ALS_IMPL__LEFT_OPERAND);
2084 createEReference(alsImplEClass, ALS_IMPL__RIGHT_OPERAND);
2085 createEReference(alsImplEClass, ALS_IMPL__ELSE_OPERAND);
2086
2087 alsAndEClass = createEClass(ALS_AND);
2088 createEReference(alsAndEClass, ALS_AND__LEFT_OPERAND);
2089 createEReference(alsAndEClass, ALS_AND__RIGHT_OPERAND);
2090
2091 alsEqualsEClass = createEClass(ALS_EQUALS);
2092 createEReference(alsEqualsEClass, ALS_EQUALS__LEFT_OPERAND);
2093 createEReference(alsEqualsEClass, ALS_EQUALS__RIGHT_OPERAND);
2094
2095 alsNotEqualsEClass = createEClass(ALS_NOT_EQUALS);
2096 createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__LEFT_OPERAND);
2097 createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__RIGHT_OPERAND);
2098
2099 alsSubsetEClass = createEClass(ALS_SUBSET);
2100 createEReference(alsSubsetEClass, ALS_SUBSET__LEFT_OPERAND);
2101 createEReference(alsSubsetEClass, ALS_SUBSET__RIGHT_OPERAND);
2102
2103 alsLessEClass = createEClass(ALS_LESS);
2104 createEReference(alsLessEClass, ALS_LESS__LEFT_OPERAND);
2105 createEReference(alsLessEClass, ALS_LESS__RIGHT_OPERAND);
2106
2107 alsLeqEClass = createEClass(ALS_LEQ);
2108 createEReference(alsLeqEClass, ALS_LEQ__LEFT_OPERAND);
2109 createEReference(alsLeqEClass, ALS_LEQ__RIGHT_OPERAND);
2110
2111 alsMoreEClass = createEClass(ALS_MORE);
2112 createEReference(alsMoreEClass, ALS_MORE__LEFT_OPERAND);
2113 createEReference(alsMoreEClass, ALS_MORE__RIGHT_OPERAND);
2114
2115 alsMeqEClass = createEClass(ALS_MEQ);
2116 createEReference(alsMeqEClass, ALS_MEQ__LEFT_OPERAND);
2117 createEReference(alsMeqEClass, ALS_MEQ__RIGHT_OPERAND);
2118
2119 alsOverrideEClass = createEClass(ALS_OVERRIDE);
2120 createEReference(alsOverrideEClass, ALS_OVERRIDE__LEFT_OPERAND);
2121 createEReference(alsOverrideEClass, ALS_OVERRIDE__RIGHT_OPERAND);
2122
2123 alsRangeRestrictionRightEClass = createEClass(ALS_RANGE_RESTRICTION_RIGHT);
2124 createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__RELATION);
2125 createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__FILTER);
2126
2127 alsRangeRestrictionLeftEClass = createEClass(ALS_RANGE_RESTRICTION_LEFT);
2128 createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__FILTER);
2129 createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__RELATION);
2130
2131 alsJoinEClass = createEClass(ALS_JOIN);
2132 createEReference(alsJoinEClass, ALS_JOIN__LEFT_OPERAND);
2133 createEReference(alsJoinEClass, ALS_JOIN__RIGHT_OPERAND);
2134
2135 alsMinusEClass = createEClass(ALS_MINUS);
2136 createEReference(alsMinusEClass, ALS_MINUS__LEFT_OPERAND);
2137 createEReference(alsMinusEClass, ALS_MINUS__RIGHT_OPERAND);
2138
2139 alsPlusEClass = createEClass(ALS_PLUS);
2140 createEReference(alsPlusEClass, ALS_PLUS__LEFT_OPERAND);
2141 createEReference(alsPlusEClass, ALS_PLUS__RIGHT_OPERAND);
2142
2143 alsIntersectionEClass = createEClass(ALS_INTERSECTION);
2144 createEReference(alsIntersectionEClass, ALS_INTERSECTION__LEFT_OPERAND);
2145 createEReference(alsIntersectionEClass, ALS_INTERSECTION__RIGHT_OPERAND);
2146
2147 alsDirectProductEClass = createEClass(ALS_DIRECT_PRODUCT);
2148 createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_OPERAND);
2149 createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT);
2150 createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT);
2151 createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_OPERAND);
2152
2153 alsNotEClass = createEClass(ALS_NOT);
2154 createEReference(alsNotEClass, ALS_NOT__OPERAND);
2155
2156 alsInverseRelationEClass = createEClass(ALS_INVERSE_RELATION);
2157 createEReference(alsInverseRelationEClass, ALS_INVERSE_RELATION__OPERAND);
2158
2159 alSTransitiveClosureEClass = createEClass(AL_STRANSITIVE_CLOSURE);
2160 createEReference(alSTransitiveClosureEClass, AL_STRANSITIVE_CLOSURE__OPERAND);
2161
2162 alsReflectiveTransitiveClosureEClass = createEClass(ALS_REFLECTIVE_TRANSITIVE_CLOSURE);
2163 createEReference(alsReflectiveTransitiveClosureEClass, ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND);
2164
2165 alsCardinalityEClass = createEClass(ALS_CARDINALITY);
2166 createEReference(alsCardinalityEClass, ALS_CARDINALITY__OPERAND);
2167
2168 alsUnaryMinusEClass = createEClass(ALS_UNARY_MINUS);
2169 createEReference(alsUnaryMinusEClass, ALS_UNARY_MINUS__OPERAND);
2170
2171 alsSumEClass = createEClass(ALS_SUM);
2172 createEReference(alsSumEClass, ALS_SUM__VARIABLES);
2173 createEReference(alsSumEClass, ALS_SUM__EXPRESSION);
2174
2175 alsFunctionCallEClass = createEClass(ALS_FUNCTION_CALL);
2176 createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_DEFINITION);
2177 createEAttribute(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR);
2178 createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__PARAMS);
2179
2180 alsNoneEClass = createEClass(ALS_NONE);
2181
2182 alsIdenEClass = createEClass(ALS_IDEN);
2183
2184 alsUnivEClass = createEClass(ALS_UNIV);
2185
2186 alsIntEClass = createEClass(ALS_INT);
2187
2188 alsStringEClass = createEClass(ALS_STRING);
2189
2190 alsReferenceEClass = createEClass(ALS_REFERENCE);
2191 createEReference(alsReferenceEClass, ALS_REFERENCE__REFERRED);
2192
2193 alsNumberLiteralEClass = createEClass(ALS_NUMBER_LITERAL);
2194 createEAttribute(alsNumberLiteralEClass, ALS_NUMBER_LITERAL__VALUE);
2195
2196 alsStringLiteralEClass = createEClass(ALS_STRING_LITERAL);
2197 createEAttribute(alsStringLiteralEClass, ALS_STRING_LITERAL__VALUE);
2198
2199 // Create enums
2200 alsMultiplicityEEnum = createEEnum(ALS_MULTIPLICITY);
2201 alsNumericOperatorEEnum = createEEnum(ALS_NUMERIC_OPERATOR);
2202 }
2203
2204 /**
2205 * <!-- begin-user-doc -->
2206 * <!-- end-user-doc -->
2207 * @generated
2208 */
2209 private boolean isInitialized = false;
2210
2211 /**
2212 * Complete the initialization of the package and its meta-model. This
2213 * method is guarded to have no affect on any invocation but its first.
2214 * <!-- begin-user-doc -->
2215 * <!-- end-user-doc -->
2216 * @generated
2217 */
2218 public void initializePackageContents()
2219 {
2220 if (isInitialized) return;
2221 isInitialized = true;
2222
2223 // Initialize package
2224 setName(eNAME);
2225 setNsPrefix(eNS_PREFIX);
2226 setNsURI(eNS_URI);
2227
2228 // Create type parameters
2229
2230 // Set bounds for type parameters
2231
2232 // Add supertypes to classes
2233 alsTypeDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2234 alsEnumDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration());
2235 alsEnumLiteralEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2236 alsSignatureDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration());
2237 alsFieldDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2238 alsFunctionDefinitionEClass.getESuperTypes().add(this.getALSDefinition());
2239 alsRelationDefinitionEClass.getESuperTypes().add(this.getALSDefinition());
2240 alsVariableDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2241 alsSigScopeEClass.getESuperTypes().add(this.getALSTypeScope());
2242 alsIntScopeEClass.getESuperTypes().add(this.getALSTypeScope());
2243 alsStringScopeEClass.getESuperTypes().add(this.getALSTypeScope());
2244 alsQuantifiedExEClass.getESuperTypes().add(this.getALSTerm());
2245 alsOrEClass.getESuperTypes().add(this.getALSTerm());
2246 alsIffEClass.getESuperTypes().add(this.getALSTerm());
2247 alsImplEClass.getESuperTypes().add(this.getALSTerm());
2248 alsAndEClass.getESuperTypes().add(this.getALSTerm());
2249 alsEqualsEClass.getESuperTypes().add(this.getALSTerm());
2250 alsNotEqualsEClass.getESuperTypes().add(this.getALSTerm());
2251 alsSubsetEClass.getESuperTypes().add(this.getALSTerm());
2252 alsLessEClass.getESuperTypes().add(this.getALSTerm());
2253 alsLeqEClass.getESuperTypes().add(this.getALSTerm());
2254 alsMoreEClass.getESuperTypes().add(this.getALSTerm());
2255 alsMeqEClass.getESuperTypes().add(this.getALSTerm());
2256 alsOverrideEClass.getESuperTypes().add(this.getALSTerm());
2257 alsRangeRestrictionRightEClass.getESuperTypes().add(this.getALSTerm());
2258 alsRangeRestrictionLeftEClass.getESuperTypes().add(this.getALSTerm());
2259 alsJoinEClass.getESuperTypes().add(this.getALSTerm());
2260 alsMinusEClass.getESuperTypes().add(this.getALSTerm());
2261 alsPlusEClass.getESuperTypes().add(this.getALSTerm());
2262 alsIntersectionEClass.getESuperTypes().add(this.getALSTerm());
2263 alsDirectProductEClass.getESuperTypes().add(this.getALSTerm());
2264 alsNotEClass.getESuperTypes().add(this.getALSTerm());
2265 alsInverseRelationEClass.getESuperTypes().add(this.getALSTerm());
2266 alSTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm());
2267 alsReflectiveTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm());
2268 alsCardinalityEClass.getESuperTypes().add(this.getALSTerm());
2269 alsUnaryMinusEClass.getESuperTypes().add(this.getALSTerm());
2270 alsSumEClass.getESuperTypes().add(this.getALSTerm());
2271 alsFunctionCallEClass.getESuperTypes().add(this.getALSTerm());
2272 alsNoneEClass.getESuperTypes().add(this.getALSTerm());
2273 alsIdenEClass.getESuperTypes().add(this.getALSTerm());
2274 alsUnivEClass.getESuperTypes().add(this.getALSTerm());
2275 alsIntEClass.getESuperTypes().add(this.getALSTerm());
2276 alsStringEClass.getESuperTypes().add(this.getALSTerm());
2277 alsReferenceEClass.getESuperTypes().add(this.getALSTerm());
2278 alsNumberLiteralEClass.getESuperTypes().add(this.getALSTerm());
2279 alsStringLiteralEClass.getESuperTypes().add(this.getALSTerm());
2280
2281 // Initialize classes and features; add operations and parameters
2282 initEClass(alsDocumentEClass, ALSDocument.class, "ALSDocument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2283 initEReference(getALSDocument_EnumDeclarations(), this.getALSEnumDeclaration(), null, "enumDeclarations", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2284 initEReference(getALSDocument_SignatureBodies(), this.getALSSignatureBody(), null, "signatureBodies", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2285 initEReference(getALSDocument_FunctionDefinitions(), this.getALSFunctionDefinition(), null, "functionDefinitions", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2286 initEReference(getALSDocument_RelationDefinitions(), this.getALSRelationDefinition(), null, "relationDefinitions", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2287 initEReference(getALSDocument_FactDeclarations(), this.getALSFactDeclaration(), null, "factDeclarations", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2288 initEReference(getALSDocument_RunCommand(), this.getALSRunCommand(), null, "runCommand", null, 0, 1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2289
2290 initEClass(alsRelationDeclarationEClass, ALSRelationDeclaration.class, "ALSRelationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2291 initEAttribute(getALSRelationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSRelationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2292
2293 initEClass(alsTypeDeclarationEClass, ALSTypeDeclaration.class, "ALSTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2294
2295 initEClass(alsEnumDeclarationEClass, ALSEnumDeclaration.class, "ALSEnumDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2296 initEReference(getALSEnumDeclaration_Literal(), this.getALSEnumLiteral(), null, "literal", null, 0, -1, ALSEnumDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2297
2298 initEClass(alsEnumLiteralEClass, ALSEnumLiteral.class, "ALSEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2299
2300 initEClass(alsSignatureDeclarationEClass, ALSSignatureDeclaration.class, "ALSSignatureDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2301
2302 initEClass(alsSignatureBodyEClass, ALSSignatureBody.class, "ALSSignatureBody", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2303 initEAttribute(getALSSignatureBody_Multiplicity(), this.getALSMultiplicity(), "multiplicity", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2304 initEAttribute(getALSSignatureBody_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2305 initEReference(getALSSignatureBody_Declarations(), this.getALSSignatureDeclaration(), null, "declarations", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2306 initEReference(getALSSignatureBody_Supertype(), this.getALSSignatureDeclaration(), null, "supertype", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2307 initEReference(getALSSignatureBody_Superset(), this.getALSSignatureDeclaration(), null, "superset", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2308 initEReference(getALSSignatureBody_Fields(), this.getALSFieldDeclaration(), null, "fields", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2309
2310 initEClass(alsFieldDeclarationEClass, ALSFieldDeclaration.class, "ALSFieldDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2311 initEAttribute(getALSFieldDeclaration_Multiplicity(), this.getALSMultiplicity(), "multiplicity", null, 0, 1, ALSFieldDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2312 initEReference(getALSFieldDeclaration_Type(), this.getALSTerm(), null, "type", null, 0, 1, ALSFieldDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2313
2314 initEClass(alsDefinitionEClass, ALSDefinition.class, "ALSDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2315 initEAttribute(getALSDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2316 initEReference(getALSDefinition_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2317 initEReference(getALSDefinition_Value(), this.getALSTerm(), null, "value", null, 0, 1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2318
2319 initEClass(alsFunctionDefinitionEClass, ALSFunctionDefinition.class, "ALSFunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2320 initEReference(getALSFunctionDefinition_Type(), this.getALSTerm(), null, "type", null, 0, 1, ALSFunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2321
2322 initEClass(alsRelationDefinitionEClass, ALSRelationDefinition.class, "ALSRelationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2323
2324 initEClass(alsFactDeclarationEClass, ALSFactDeclaration.class, "ALSFactDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2325 initEAttribute(getALSFactDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSFactDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2326 initEReference(getALSFactDeclaration_Term(), this.getALSTerm(), null, "term", null, 0, 1, ALSFactDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2327
2328 initEClass(alsTermEClass, ALSTerm.class, "ALSTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2329
2330 initEClass(alsVariableDeclarationEClass, ALSVariableDeclaration.class, "ALSVariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2331 initEReference(getALSVariableDeclaration_Range(), this.getALSTerm(), null, "range", null, 0, 1, ALSVariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2332
2333 initEClass(alsRunCommandEClass, ALSRunCommand.class, "ALSRunCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2334 initEReference(getALSRunCommand_TypeScopes(), this.getALSTypeScope(), null, "typeScopes", null, 0, -1, ALSRunCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2335
2336 initEClass(alsTypeScopeEClass, ALSTypeScope.class, "ALSTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2337 initEAttribute(getALSTypeScope_Number(), ecorePackage.getEInt(), "number", null, 0, 1, ALSTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2338
2339 initEClass(alsSigScopeEClass, ALSSigScope.class, "ALSSigScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2340 initEAttribute(getALSSigScope_Exactly(), ecorePackage.getEBoolean(), "exactly", null, 0, 1, ALSSigScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2341 initEReference(getALSSigScope_Type(), this.getALSSignatureDeclaration(), null, "type", null, 0, 1, ALSSigScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2342
2343 initEClass(alsIntScopeEClass, ALSIntScope.class, "ALSIntScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2344
2345 initEClass(alsStringScopeEClass, ALSStringScope.class, "ALSStringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2346
2347 initEClass(alsQuantifiedExEClass, ALSQuantifiedEx.class, "ALSQuantifiedEx", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2348 initEAttribute(getALSQuantifiedEx_Type(), this.getALSMultiplicity(), "type", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2349 initEAttribute(getALSQuantifiedEx_Disj(), ecorePackage.getEBoolean(), "disj", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2350 initEReference(getALSQuantifiedEx_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2351 initEReference(getALSQuantifiedEx_Expression(), this.getALSTerm(), null, "expression", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2352
2353 initEClass(alsOrEClass, ALSOr.class, "ALSOr", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2354 initEReference(getALSOr_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2355 initEReference(getALSOr_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2356
2357 initEClass(alsIffEClass, ALSIff.class, "ALSIff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2358 initEReference(getALSIff_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2359 initEReference(getALSIff_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2360
2361 initEClass(alsImplEClass, ALSImpl.class, "ALSImpl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2362 initEReference(getALSImpl_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2363 initEReference(getALSImpl_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2364 initEReference(getALSImpl_ElseOperand(), this.getALSTerm(), null, "elseOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2365
2366 initEClass(alsAndEClass, ALSAnd.class, "ALSAnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2367 initEReference(getALSAnd_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSAnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2368 initEReference(getALSAnd_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSAnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2369
2370 initEClass(alsEqualsEClass, ALSEquals.class, "ALSEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2371 initEReference(getALSEquals_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2372 initEReference(getALSEquals_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2373
2374 initEClass(alsNotEqualsEClass, ALSNotEquals.class, "ALSNotEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2375 initEReference(getALSNotEquals_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSNotEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2376 initEReference(getALSNotEquals_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSNotEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2377
2378 initEClass(alsSubsetEClass, ALSSubset.class, "ALSSubset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2379 initEReference(getALSSubset_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSSubset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2380 initEReference(getALSSubset_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSSubset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2381
2382 initEClass(alsLessEClass, ALSLess.class, "ALSLess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2383 initEReference(getALSLess_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSLess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2384 initEReference(getALSLess_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSLess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2385
2386 initEClass(alsLeqEClass, ALSLeq.class, "ALSLeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2387 initEReference(getALSLeq_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSLeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2388 initEReference(getALSLeq_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSLeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2389
2390 initEClass(alsMoreEClass, ALSMore.class, "ALSMore", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2391 initEReference(getALSMore_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2392 initEReference(getALSMore_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2393
2394 initEClass(alsMeqEClass, ALSMeq.class, "ALSMeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2395 initEReference(getALSMeq_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2396 initEReference(getALSMeq_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2397
2398 initEClass(alsOverrideEClass, ALSOverride.class, "ALSOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2399 initEReference(getALSOverride_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2400 initEReference(getALSOverride_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2401
2402 initEClass(alsRangeRestrictionRightEClass, ALSRangeRestrictionRight.class, "ALSRangeRestrictionRight", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2403 initEReference(getALSRangeRestrictionRight_Relation(), this.getALSTerm(), null, "relation", null, 0, 1, ALSRangeRestrictionRight.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2404 initEReference(getALSRangeRestrictionRight_Filter(), this.getALSTerm(), null, "filter", null, 0, 1, ALSRangeRestrictionRight.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2405
2406 initEClass(alsRangeRestrictionLeftEClass, ALSRangeRestrictionLeft.class, "ALSRangeRestrictionLeft", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2407 initEReference(getALSRangeRestrictionLeft_Filter(), this.getALSTerm(), null, "filter", null, 0, 1, ALSRangeRestrictionLeft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2408 initEReference(getALSRangeRestrictionLeft_Relation(), this.getALSTerm(), null, "relation", null, 0, 1, ALSRangeRestrictionLeft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2409
2410 initEClass(alsJoinEClass, ALSJoin.class, "ALSJoin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2411 initEReference(getALSJoin_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSJoin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2412 initEReference(getALSJoin_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSJoin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2413
2414 initEClass(alsMinusEClass, ALSMinus.class, "ALSMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2415 initEReference(getALSMinus_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2416 initEReference(getALSMinus_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2417
2418 initEClass(alsPlusEClass, ALSPlus.class, "ALSPlus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2419 initEReference(getALSPlus_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSPlus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2420 initEReference(getALSPlus_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSPlus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2421
2422 initEClass(alsIntersectionEClass, ALSIntersection.class, "ALSIntersection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2423 initEReference(getALSIntersection_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSIntersection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2424 initEReference(getALSIntersection_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSIntersection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2425
2426 initEClass(alsDirectProductEClass, ALSDirectProduct.class, "ALSDirectProduct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2427 initEReference(getALSDirectProduct_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2428 initEAttribute(getALSDirectProduct_LeftMultiplicit(), this.getALSMultiplicity(), "leftMultiplicit", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2429 initEAttribute(getALSDirectProduct_RightMultiplicit(), this.getALSMultiplicity(), "rightMultiplicit", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2430 initEReference(getALSDirectProduct_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2431
2432 initEClass(alsNotEClass, ALSNot.class, "ALSNot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2433 initEReference(getALSNot_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSNot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2434
2435 initEClass(alsInverseRelationEClass, ALSInverseRelation.class, "ALSInverseRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2436 initEReference(getALSInverseRelation_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSInverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2437
2438 initEClass(alSTransitiveClosureEClass, AlSTransitiveClosure.class, "AlSTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2439 initEReference(getAlSTransitiveClosure_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, AlSTransitiveClosure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2440
2441 initEClass(alsReflectiveTransitiveClosureEClass, ALSReflectiveTransitiveClosure.class, "ALSReflectiveTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2442 initEReference(getALSReflectiveTransitiveClosure_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSReflectiveTransitiveClosure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2443
2444 initEClass(alsCardinalityEClass, ALSCardinality.class, "ALSCardinality", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2445 initEReference(getALSCardinality_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSCardinality.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2446
2447 initEClass(alsUnaryMinusEClass, ALSUnaryMinus.class, "ALSUnaryMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2448 initEReference(getALSUnaryMinus_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSUnaryMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2449
2450 initEClass(alsSumEClass, ALSSum.class, "ALSSum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2451 initEReference(getALSSum_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSSum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2452 initEReference(getALSSum_Expression(), this.getALSTerm(), null, "expression", null, 0, 1, ALSSum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2453
2454 initEClass(alsFunctionCallEClass, ALSFunctionCall.class, "ALSFunctionCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2455 initEReference(getALSFunctionCall_ReferredDefinition(), this.getALSDefinition(), null, "referredDefinition", null, 0, 1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2456 initEAttribute(getALSFunctionCall_ReferredNumericOperator(), this.getALSNumericOperator(), "referredNumericOperator", null, 0, 1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2457 initEReference(getALSFunctionCall_Params(), this.getALSTerm(), null, "params", null, 0, -1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2458
2459 initEClass(alsNoneEClass, ALSNone.class, "ALSNone", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2460
2461 initEClass(alsIdenEClass, ALSIden.class, "ALSIden", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2462
2463 initEClass(alsUnivEClass, ALSUniv.class, "ALSUniv", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2464
2465 initEClass(alsIntEClass, ALSInt.class, "ALSInt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2466
2467 initEClass(alsStringEClass, ALSString.class, "ALSString", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2468
2469 initEClass(alsReferenceEClass, ALSReference.class, "ALSReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2470 initEReference(getALSReference_Referred(), this.getALSRelationDeclaration(), null, "referred", null, 0, 1, ALSReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2471
2472 initEClass(alsNumberLiteralEClass, ALSNumberLiteral.class, "ALSNumberLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2473 initEAttribute(getALSNumberLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, ALSNumberLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2474
2475 initEClass(alsStringLiteralEClass, ALSStringLiteral.class, "ALSStringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2476 initEAttribute(getALSStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, ALSStringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2477
2478 // Initialize enums and add enum literals
2479 initEEnum(alsMultiplicityEEnum, ALSMultiplicity.class, "ALSMultiplicity");
2480 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ALL);
2481 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.NO);
2482 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SOME);
2483 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.LONE);
2484 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ONE);
2485 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SET);
2486
2487 initEEnum(alsNumericOperatorEEnum, ALSNumericOperator.class, "ALSNumericOperator");
2488 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.PLUS);
2489 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.SUB);
2490 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.MUL);
2491 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.REM);
2492 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.DIV);
2493
2494 // Create resource
2495 createResource(eNS_URI);
2496 }
2497
2498} //AlloyLanguagePackageImpl
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java
deleted file mode 100644
index e20bebf6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java
+++ /dev/null
@@ -1,1212 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.util;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.*;
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.alloyLanguage.AlloyLanguagePackage
20 * @generated
21 */
22public class AlloyLanguageAdapterFactory extends AdapterFactoryImpl
23{
24 /**
25 * The cached model package.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 protected static AlloyLanguagePackage modelPackage;
31
32 /**
33 * Creates an instance of the adapter factory.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @generated
37 */
38 public AlloyLanguageAdapterFactory()
39 {
40 if (modelPackage == null)
41 {
42 modelPackage = AlloyLanguagePackage.eINSTANCE;
43 }
44 }
45
46 /**
47 * Returns whether this factory is applicable for the type of the object.
48 * <!-- begin-user-doc -->
49 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
50 * <!-- end-user-doc -->
51 * @return whether this factory is applicable for the type of the object.
52 * @generated
53 */
54 @Override
55 public boolean isFactoryForType(Object object)
56 {
57 if (object == modelPackage)
58 {
59 return true;
60 }
61 if (object instanceof EObject)
62 {
63 return ((EObject)object).eClass().getEPackage() == modelPackage;
64 }
65 return false;
66 }
67
68 /**
69 * The switch that delegates to the <code>createXXX</code> methods.
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @generated
73 */
74 protected AlloyLanguageSwitch<Adapter> modelSwitch =
75 new AlloyLanguageSwitch<Adapter>()
76 {
77 @Override
78 public Adapter caseALSDocument(ALSDocument object)
79 {
80 return createALSDocumentAdapter();
81 }
82 @Override
83 public Adapter caseALSRelationDeclaration(ALSRelationDeclaration object)
84 {
85 return createALSRelationDeclarationAdapter();
86 }
87 @Override
88 public Adapter caseALSTypeDeclaration(ALSTypeDeclaration object)
89 {
90 return createALSTypeDeclarationAdapter();
91 }
92 @Override
93 public Adapter caseALSEnumDeclaration(ALSEnumDeclaration object)
94 {
95 return createALSEnumDeclarationAdapter();
96 }
97 @Override
98 public Adapter caseALSEnumLiteral(ALSEnumLiteral object)
99 {
100 return createALSEnumLiteralAdapter();
101 }
102 @Override
103 public Adapter caseALSSignatureDeclaration(ALSSignatureDeclaration object)
104 {
105 return createALSSignatureDeclarationAdapter();
106 }
107 @Override
108 public Adapter caseALSSignatureBody(ALSSignatureBody object)
109 {
110 return createALSSignatureBodyAdapter();
111 }
112 @Override
113 public Adapter caseALSFieldDeclaration(ALSFieldDeclaration object)
114 {
115 return createALSFieldDeclarationAdapter();
116 }
117 @Override
118 public Adapter caseALSDefinition(ALSDefinition object)
119 {
120 return createALSDefinitionAdapter();
121 }
122 @Override
123 public Adapter caseALSFunctionDefinition(ALSFunctionDefinition object)
124 {
125 return createALSFunctionDefinitionAdapter();
126 }
127 @Override
128 public Adapter caseALSRelationDefinition(ALSRelationDefinition object)
129 {
130 return createALSRelationDefinitionAdapter();
131 }
132 @Override
133 public Adapter caseALSFactDeclaration(ALSFactDeclaration object)
134 {
135 return createALSFactDeclarationAdapter();
136 }
137 @Override
138 public Adapter caseALSTerm(ALSTerm object)
139 {
140 return createALSTermAdapter();
141 }
142 @Override
143 public Adapter caseALSVariableDeclaration(ALSVariableDeclaration object)
144 {
145 return createALSVariableDeclarationAdapter();
146 }
147 @Override
148 public Adapter caseALSRunCommand(ALSRunCommand object)
149 {
150 return createALSRunCommandAdapter();
151 }
152 @Override
153 public Adapter caseALSTypeScope(ALSTypeScope object)
154 {
155 return createALSTypeScopeAdapter();
156 }
157 @Override
158 public Adapter caseALSSigScope(ALSSigScope object)
159 {
160 return createALSSigScopeAdapter();
161 }
162 @Override
163 public Adapter caseALSIntScope(ALSIntScope object)
164 {
165 return createALSIntScopeAdapter();
166 }
167 @Override
168 public Adapter caseALSStringScope(ALSStringScope object)
169 {
170 return createALSStringScopeAdapter();
171 }
172 @Override
173 public Adapter caseALSQuantifiedEx(ALSQuantifiedEx object)
174 {
175 return createALSQuantifiedExAdapter();
176 }
177 @Override
178 public Adapter caseALSOr(ALSOr object)
179 {
180 return createALSOrAdapter();
181 }
182 @Override
183 public Adapter caseALSIff(ALSIff object)
184 {
185 return createALSIffAdapter();
186 }
187 @Override
188 public Adapter caseALSImpl(ALSImpl object)
189 {
190 return createALSImplAdapter();
191 }
192 @Override
193 public Adapter caseALSAnd(ALSAnd object)
194 {
195 return createALSAndAdapter();
196 }
197 @Override
198 public Adapter caseALSEquals(ALSEquals object)
199 {
200 return createALSEqualsAdapter();
201 }
202 @Override
203 public Adapter caseALSNotEquals(ALSNotEquals object)
204 {
205 return createALSNotEqualsAdapter();
206 }
207 @Override
208 public Adapter caseALSSubset(ALSSubset object)
209 {
210 return createALSSubsetAdapter();
211 }
212 @Override
213 public Adapter caseALSLess(ALSLess object)
214 {
215 return createALSLessAdapter();
216 }
217 @Override
218 public Adapter caseALSLeq(ALSLeq object)
219 {
220 return createALSLeqAdapter();
221 }
222 @Override
223 public Adapter caseALSMore(ALSMore object)
224 {
225 return createALSMoreAdapter();
226 }
227 @Override
228 public Adapter caseALSMeq(ALSMeq object)
229 {
230 return createALSMeqAdapter();
231 }
232 @Override
233 public Adapter caseALSOverride(ALSOverride object)
234 {
235 return createALSOverrideAdapter();
236 }
237 @Override
238 public Adapter caseALSRangeRestrictionRight(ALSRangeRestrictionRight object)
239 {
240 return createALSRangeRestrictionRightAdapter();
241 }
242 @Override
243 public Adapter caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object)
244 {
245 return createALSRangeRestrictionLeftAdapter();
246 }
247 @Override
248 public Adapter caseALSJoin(ALSJoin object)
249 {
250 return createALSJoinAdapter();
251 }
252 @Override
253 public Adapter caseALSMinus(ALSMinus object)
254 {
255 return createALSMinusAdapter();
256 }
257 @Override
258 public Adapter caseALSPlus(ALSPlus object)
259 {
260 return createALSPlusAdapter();
261 }
262 @Override
263 public Adapter caseALSIntersection(ALSIntersection object)
264 {
265 return createALSIntersectionAdapter();
266 }
267 @Override
268 public Adapter caseALSDirectProduct(ALSDirectProduct object)
269 {
270 return createALSDirectProductAdapter();
271 }
272 @Override
273 public Adapter caseALSNot(ALSNot object)
274 {
275 return createALSNotAdapter();
276 }
277 @Override
278 public Adapter caseALSInverseRelation(ALSInverseRelation object)
279 {
280 return createALSInverseRelationAdapter();
281 }
282 @Override
283 public Adapter caseAlSTransitiveClosure(AlSTransitiveClosure object)
284 {
285 return createAlSTransitiveClosureAdapter();
286 }
287 @Override
288 public Adapter caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object)
289 {
290 return createALSReflectiveTransitiveClosureAdapter();
291 }
292 @Override
293 public Adapter caseALSCardinality(ALSCardinality object)
294 {
295 return createALSCardinalityAdapter();
296 }
297 @Override
298 public Adapter caseALSUnaryMinus(ALSUnaryMinus object)
299 {
300 return createALSUnaryMinusAdapter();
301 }
302 @Override
303 public Adapter caseALSSum(ALSSum object)
304 {
305 return createALSSumAdapter();
306 }
307 @Override
308 public Adapter caseALSFunctionCall(ALSFunctionCall object)
309 {
310 return createALSFunctionCallAdapter();
311 }
312 @Override
313 public Adapter caseALSNone(ALSNone object)
314 {
315 return createALSNoneAdapter();
316 }
317 @Override
318 public Adapter caseALSIden(ALSIden object)
319 {
320 return createALSIdenAdapter();
321 }
322 @Override
323 public Adapter caseALSUniv(ALSUniv object)
324 {
325 return createALSUnivAdapter();
326 }
327 @Override
328 public Adapter caseALSInt(ALSInt object)
329 {
330 return createALSIntAdapter();
331 }
332 @Override
333 public Adapter caseALSString(ALSString object)
334 {
335 return createALSStringAdapter();
336 }
337 @Override
338 public Adapter caseALSReference(ALSReference object)
339 {
340 return createALSReferenceAdapter();
341 }
342 @Override
343 public Adapter caseALSNumberLiteral(ALSNumberLiteral object)
344 {
345 return createALSNumberLiteralAdapter();
346 }
347 @Override
348 public Adapter caseALSStringLiteral(ALSStringLiteral object)
349 {
350 return createALSStringLiteralAdapter();
351 }
352 @Override
353 public Adapter defaultCase(EObject object)
354 {
355 return createEObjectAdapter();
356 }
357 };
358
359 /**
360 * Creates an adapter for the <code>target</code>.
361 * <!-- begin-user-doc -->
362 * <!-- end-user-doc -->
363 * @param target the object to adapt.
364 * @return the adapter for the <code>target</code>.
365 * @generated
366 */
367 @Override
368 public Adapter createAdapter(Notifier target)
369 {
370 return modelSwitch.doSwitch((EObject)target);
371 }
372
373
374 /**
375 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'.
376 * <!-- begin-user-doc -->
377 * This default implementation returns null so that we can easily ignore cases;
378 * it's useful to ignore a case when inheritance will catch all the cases anyway.
379 * <!-- end-user-doc -->
380 * @return the new adapter.
381 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
382 * @generated
383 */
384 public Adapter createALSDocumentAdapter()
385 {
386 return null;
387 }
388
389 /**
390 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</em>}'.
391 * <!-- begin-user-doc -->
392 * This default implementation returns null so that we can easily ignore cases;
393 * it's useful to ignore a case when inheritance will catch all the cases anyway.
394 * <!-- end-user-doc -->
395 * @return the new adapter.
396 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration
397 * @generated
398 */
399 public Adapter createALSRelationDeclarationAdapter()
400 {
401 return null;
402 }
403
404 /**
405 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type Declaration</em>}'.
406 * <!-- begin-user-doc -->
407 * This default implementation returns null so that we can easily ignore cases;
408 * it's useful to ignore a case when inheritance will catch all the cases anyway.
409 * <!-- end-user-doc -->
410 * @return the new adapter.
411 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration
412 * @generated
413 */
414 public Adapter createALSTypeDeclarationAdapter()
415 {
416 return null;
417 }
418
419 /**
420 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum Declaration</em>}'.
421 * <!-- begin-user-doc -->
422 * This default implementation returns null so that we can easily ignore cases;
423 * it's useful to ignore a case when inheritance will catch all the cases anyway.
424 * <!-- end-user-doc -->
425 * @return the new adapter.
426 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration
427 * @generated
428 */
429 public Adapter createALSEnumDeclarationAdapter()
430 {
431 return null;
432 }
433
434 /**
435 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</em>}'.
436 * <!-- begin-user-doc -->
437 * This default implementation returns null so that we can easily ignore cases;
438 * it's useful to ignore a case when inheritance will catch all the cases anyway.
439 * <!-- end-user-doc -->
440 * @return the new adapter.
441 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral
442 * @generated
443 */
444 public Adapter createALSEnumLiteralAdapter()
445 {
446 return null;
447 }
448
449 /**
450 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</em>}'.
451 * <!-- begin-user-doc -->
452 * This default implementation returns null so that we can easily ignore cases;
453 * it's useful to ignore a case when inheritance will catch all the cases anyway.
454 * <!-- end-user-doc -->
455 * @return the new adapter.
456 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
457 * @generated
458 */
459 public Adapter createALSSignatureDeclarationAdapter()
460 {
461 return null;
462 }
463
464 /**
465 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</em>}'.
466 * <!-- begin-user-doc -->
467 * This default implementation returns null so that we can easily ignore cases;
468 * it's useful to ignore a case when inheritance will catch all the cases anyway.
469 * <!-- end-user-doc -->
470 * @return the new adapter.
471 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
472 * @generated
473 */
474 public Adapter createALSSignatureBodyAdapter()
475 {
476 return null;
477 }
478
479 /**
480 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</em>}'.
481 * <!-- begin-user-doc -->
482 * This default implementation returns null so that we can easily ignore cases;
483 * it's useful to ignore a case when inheritance will catch all the cases anyway.
484 * <!-- end-user-doc -->
485 * @return the new adapter.
486 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration
487 * @generated
488 */
489 public Adapter createALSFieldDeclarationAdapter()
490 {
491 return null;
492 }
493
494 /**
495 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</em>}'.
496 * <!-- begin-user-doc -->
497 * This default implementation returns null so that we can easily ignore cases;
498 * it's useful to ignore a case when inheritance will catch all the cases anyway.
499 * <!-- end-user-doc -->
500 * @return the new adapter.
501 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition
502 * @generated
503 */
504 public Adapter createALSDefinitionAdapter()
505 {
506 return null;
507 }
508
509 /**
510 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function Definition</em>}'.
511 * <!-- begin-user-doc -->
512 * This default implementation returns null so that we can easily ignore cases;
513 * it's useful to ignore a case when inheritance will catch all the cases anyway.
514 * <!-- end-user-doc -->
515 * @return the new adapter.
516 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition
517 * @generated
518 */
519 public Adapter createALSFunctionDefinitionAdapter()
520 {
521 return null;
522 }
523
524 /**
525 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation Definition</em>}'.
526 * <!-- begin-user-doc -->
527 * This default implementation returns null so that we can easily ignore cases;
528 * it's useful to ignore a case when inheritance will catch all the cases anyway.
529 * <!-- end-user-doc -->
530 * @return the new adapter.
531 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition
532 * @generated
533 */
534 public Adapter createALSRelationDefinitionAdapter()
535 {
536 return null;
537 }
538
539 /**
540 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</em>}'.
541 * <!-- begin-user-doc -->
542 * This default implementation returns null so that we can easily ignore cases;
543 * it's useful to ignore a case when inheritance will catch all the cases anyway.
544 * <!-- end-user-doc -->
545 * @return the new adapter.
546 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration
547 * @generated
548 */
549 public Adapter createALSFactDeclarationAdapter()
550 {
551 return null;
552 }
553
554 /**
555 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</em>}'.
556 * <!-- begin-user-doc -->
557 * This default implementation returns null so that we can easily ignore cases;
558 * it's useful to ignore a case when inheritance will catch all the cases anyway.
559 * <!-- end-user-doc -->
560 * @return the new adapter.
561 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
562 * @generated
563 */
564 public Adapter createALSTermAdapter()
565 {
566 return null;
567 }
568
569 /**
570 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</em>}'.
571 * <!-- begin-user-doc -->
572 * This default implementation returns null so that we can easily ignore cases;
573 * it's useful to ignore a case when inheritance will catch all the cases anyway.
574 * <!-- end-user-doc -->
575 * @return the new adapter.
576 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration
577 * @generated
578 */
579 public Adapter createALSVariableDeclarationAdapter()
580 {
581 return null;
582 }
583
584 /**
585 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</em>}'.
586 * <!-- begin-user-doc -->
587 * This default implementation returns null so that we can easily ignore cases;
588 * it's useful to ignore a case when inheritance will catch all the cases anyway.
589 * <!-- end-user-doc -->
590 * @return the new adapter.
591 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand
592 * @generated
593 */
594 public Adapter createALSRunCommandAdapter()
595 {
596 return null;
597 }
598
599 /**
600 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</em>}'.
601 * <!-- begin-user-doc -->
602 * This default implementation returns null so that we can easily ignore cases;
603 * it's useful to ignore a case when inheritance will catch all the cases anyway.
604 * <!-- end-user-doc -->
605 * @return the new adapter.
606 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope
607 * @generated
608 */
609 public Adapter createALSTypeScopeAdapter()
610 {
611 return null;
612 }
613
614 /**
615 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig Scope</em>}'.
616 * <!-- begin-user-doc -->
617 * This default implementation returns null so that we can easily ignore cases;
618 * it's useful to ignore a case when inheritance will catch all the cases anyway.
619 * <!-- end-user-doc -->
620 * @return the new adapter.
621 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope
622 * @generated
623 */
624 public Adapter createALSSigScopeAdapter()
625 {
626 return null;
627 }
628
629 /**
630 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int Scope</em>}'.
631 * <!-- begin-user-doc -->
632 * This default implementation returns null so that we can easily ignore cases;
633 * it's useful to ignore a case when inheritance will catch all the cases anyway.
634 * <!-- end-user-doc -->
635 * @return the new adapter.
636 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope
637 * @generated
638 */
639 public Adapter createALSIntScopeAdapter()
640 {
641 return null;
642 }
643
644 /**
645 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope <em>ALS String Scope</em>}'.
646 * <!-- begin-user-doc -->
647 * This default implementation returns null so that we can easily ignore cases;
648 * it's useful to ignore a case when inheritance will catch all the cases anyway.
649 * <!-- end-user-doc -->
650 * @return the new adapter.
651 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope
652 * @generated
653 */
654 public Adapter createALSStringScopeAdapter()
655 {
656 return null;
657 }
658
659 /**
660 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</em>}'.
661 * <!-- begin-user-doc -->
662 * This default implementation returns null so that we can easily ignore cases;
663 * it's useful to ignore a case when inheritance will catch all the cases anyway.
664 * <!-- end-user-doc -->
665 * @return the new adapter.
666 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx
667 * @generated
668 */
669 public Adapter createALSQuantifiedExAdapter()
670 {
671 return null;
672 }
673
674 /**
675 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</em>}'.
676 * <!-- begin-user-doc -->
677 * This default implementation returns null so that we can easily ignore cases;
678 * it's useful to ignore a case when inheritance will catch all the cases anyway.
679 * <!-- end-user-doc -->
680 * @return the new adapter.
681 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr
682 * @generated
683 */
684 public Adapter createALSOrAdapter()
685 {
686 return null;
687 }
688
689 /**
690 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</em>}'.
691 * <!-- begin-user-doc -->
692 * This default implementation returns null so that we can easily ignore cases;
693 * it's useful to ignore a case when inheritance will catch all the cases anyway.
694 * <!-- end-user-doc -->
695 * @return the new adapter.
696 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff
697 * @generated
698 */
699 public Adapter createALSIffAdapter()
700 {
701 return null;
702 }
703
704 /**
705 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</em>}'.
706 * <!-- begin-user-doc -->
707 * This default implementation returns null so that we can easily ignore cases;
708 * it's useful to ignore a case when inheritance will catch all the cases anyway.
709 * <!-- end-user-doc -->
710 * @return the new adapter.
711 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl
712 * @generated
713 */
714 public Adapter createALSImplAdapter()
715 {
716 return null;
717 }
718
719 /**
720 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</em>}'.
721 * <!-- begin-user-doc -->
722 * This default implementation returns null so that we can easily ignore cases;
723 * it's useful to ignore a case when inheritance will catch all the cases anyway.
724 * <!-- end-user-doc -->
725 * @return the new adapter.
726 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd
727 * @generated
728 */
729 public Adapter createALSAndAdapter()
730 {
731 return null;
732 }
733
734 /**
735 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</em>}'.
736 * <!-- begin-user-doc -->
737 * This default implementation returns null so that we can easily ignore cases;
738 * it's useful to ignore a case when inheritance will catch all the cases anyway.
739 * <!-- end-user-doc -->
740 * @return the new adapter.
741 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals
742 * @generated
743 */
744 public Adapter createALSEqualsAdapter()
745 {
746 return null;
747 }
748
749 /**
750 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</em>}'.
751 * <!-- begin-user-doc -->
752 * This default implementation returns null so that we can easily ignore cases;
753 * it's useful to ignore a case when inheritance will catch all the cases anyway.
754 * <!-- end-user-doc -->
755 * @return the new adapter.
756 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals
757 * @generated
758 */
759 public Adapter createALSNotEqualsAdapter()
760 {
761 return null;
762 }
763
764 /**
765 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</em>}'.
766 * <!-- begin-user-doc -->
767 * This default implementation returns null so that we can easily ignore cases;
768 * it's useful to ignore a case when inheritance will catch all the cases anyway.
769 * <!-- end-user-doc -->
770 * @return the new adapter.
771 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset
772 * @generated
773 */
774 public Adapter createALSSubsetAdapter()
775 {
776 return null;
777 }
778
779 /**
780 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</em>}'.
781 * <!-- begin-user-doc -->
782 * This default implementation returns null so that we can easily ignore cases;
783 * it's useful to ignore a case when inheritance will catch all the cases anyway.
784 * <!-- end-user-doc -->
785 * @return the new adapter.
786 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess
787 * @generated
788 */
789 public Adapter createALSLessAdapter()
790 {
791 return null;
792 }
793
794 /**
795 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</em>}'.
796 * <!-- begin-user-doc -->
797 * This default implementation returns null so that we can easily ignore cases;
798 * it's useful to ignore a case when inheritance will catch all the cases anyway.
799 * <!-- end-user-doc -->
800 * @return the new adapter.
801 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq
802 * @generated
803 */
804 public Adapter createALSLeqAdapter()
805 {
806 return null;
807 }
808
809 /**
810 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</em>}'.
811 * <!-- begin-user-doc -->
812 * This default implementation returns null so that we can easily ignore cases;
813 * it's useful to ignore a case when inheritance will catch all the cases anyway.
814 * <!-- end-user-doc -->
815 * @return the new adapter.
816 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore
817 * @generated
818 */
819 public Adapter createALSMoreAdapter()
820 {
821 return null;
822 }
823
824 /**
825 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</em>}'.
826 * <!-- begin-user-doc -->
827 * This default implementation returns null so that we can easily ignore cases;
828 * it's useful to ignore a case when inheritance will catch all the cases anyway.
829 * <!-- end-user-doc -->
830 * @return the new adapter.
831 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq
832 * @generated
833 */
834 public Adapter createALSMeqAdapter()
835 {
836 return null;
837 }
838
839 /**
840 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</em>}'.
841 * <!-- begin-user-doc -->
842 * This default implementation returns null so that we can easily ignore cases;
843 * it's useful to ignore a case when inheritance will catch all the cases anyway.
844 * <!-- end-user-doc -->
845 * @return the new adapter.
846 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride
847 * @generated
848 */
849 public Adapter createALSOverrideAdapter()
850 {
851 return null;
852 }
853
854 /**
855 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</em>}'.
856 * <!-- begin-user-doc -->
857 * This default implementation returns null so that we can easily ignore cases;
858 * it's useful to ignore a case when inheritance will catch all the cases anyway.
859 * <!-- end-user-doc -->
860 * @return the new adapter.
861 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight
862 * @generated
863 */
864 public Adapter createALSRangeRestrictionRightAdapter()
865 {
866 return null;
867 }
868
869 /**
870 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</em>}'.
871 * <!-- begin-user-doc -->
872 * This default implementation returns null so that we can easily ignore cases;
873 * it's useful to ignore a case when inheritance will catch all the cases anyway.
874 * <!-- end-user-doc -->
875 * @return the new adapter.
876 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft
877 * @generated
878 */
879 public Adapter createALSRangeRestrictionLeftAdapter()
880 {
881 return null;
882 }
883
884 /**
885 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</em>}'.
886 * <!-- begin-user-doc -->
887 * This default implementation returns null so that we can easily ignore cases;
888 * it's useful to ignore a case when inheritance will catch all the cases anyway.
889 * <!-- end-user-doc -->
890 * @return the new adapter.
891 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin
892 * @generated
893 */
894 public Adapter createALSJoinAdapter()
895 {
896 return null;
897 }
898
899 /**
900 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</em>}'.
901 * <!-- begin-user-doc -->
902 * This default implementation returns null so that we can easily ignore cases;
903 * it's useful to ignore a case when inheritance will catch all the cases anyway.
904 * <!-- end-user-doc -->
905 * @return the new adapter.
906 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus
907 * @generated
908 */
909 public Adapter createALSMinusAdapter()
910 {
911 return null;
912 }
913
914 /**
915 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</em>}'.
916 * <!-- begin-user-doc -->
917 * This default implementation returns null so that we can easily ignore cases;
918 * it's useful to ignore a case when inheritance will catch all the cases anyway.
919 * <!-- end-user-doc -->
920 * @return the new adapter.
921 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus
922 * @generated
923 */
924 public Adapter createALSPlusAdapter()
925 {
926 return null;
927 }
928
929 /**
930 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</em>}'.
931 * <!-- begin-user-doc -->
932 * This default implementation returns null so that we can easily ignore cases;
933 * it's useful to ignore a case when inheritance will catch all the cases anyway.
934 * <!-- end-user-doc -->
935 * @return the new adapter.
936 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection
937 * @generated
938 */
939 public Adapter createALSIntersectionAdapter()
940 {
941 return null;
942 }
943
944 /**
945 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</em>}'.
946 * <!-- begin-user-doc -->
947 * This default implementation returns null so that we can easily ignore cases;
948 * it's useful to ignore a case when inheritance will catch all the cases anyway.
949 * <!-- end-user-doc -->
950 * @return the new adapter.
951 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct
952 * @generated
953 */
954 public Adapter createALSDirectProductAdapter()
955 {
956 return null;
957 }
958
959 /**
960 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</em>}'.
961 * <!-- begin-user-doc -->
962 * This default implementation returns null so that we can easily ignore cases;
963 * it's useful to ignore a case when inheritance will catch all the cases anyway.
964 * <!-- end-user-doc -->
965 * @return the new adapter.
966 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot
967 * @generated
968 */
969 public Adapter createALSNotAdapter()
970 {
971 return null;
972 }
973
974 /**
975 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</em>}'.
976 * <!-- begin-user-doc -->
977 * This default implementation returns null so that we can easily ignore cases;
978 * it's useful to ignore a case when inheritance will catch all the cases anyway.
979 * <!-- end-user-doc -->
980 * @return the new adapter.
981 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation
982 * @generated
983 */
984 public Adapter createALSInverseRelationAdapter()
985 {
986 return null;
987 }
988
989 /**
990 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</em>}'.
991 * <!-- begin-user-doc -->
992 * This default implementation returns null so that we can easily ignore cases;
993 * it's useful to ignore a case when inheritance will catch all the cases anyway.
994 * <!-- end-user-doc -->
995 * @return the new adapter.
996 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure
997 * @generated
998 */
999 public Adapter createAlSTransitiveClosureAdapter()
1000 {
1001 return null;
1002 }
1003
1004 /**
1005 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</em>}'.
1006 * <!-- begin-user-doc -->
1007 * This default implementation returns null so that we can easily ignore cases;
1008 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1009 * <!-- end-user-doc -->
1010 * @return the new adapter.
1011 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure
1012 * @generated
1013 */
1014 public Adapter createALSReflectiveTransitiveClosureAdapter()
1015 {
1016 return null;
1017 }
1018
1019 /**
1020 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</em>}'.
1021 * <!-- begin-user-doc -->
1022 * This default implementation returns null so that we can easily ignore cases;
1023 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1024 * <!-- end-user-doc -->
1025 * @return the new adapter.
1026 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality
1027 * @generated
1028 */
1029 public Adapter createALSCardinalityAdapter()
1030 {
1031 return null;
1032 }
1033
1034 /**
1035 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</em>}'.
1036 * <!-- begin-user-doc -->
1037 * This default implementation returns null so that we can easily ignore cases;
1038 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1039 * <!-- end-user-doc -->
1040 * @return the new adapter.
1041 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus
1042 * @generated
1043 */
1044 public Adapter createALSUnaryMinusAdapter()
1045 {
1046 return null;
1047 }
1048
1049 /**
1050 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</em>}'.
1051 * <!-- begin-user-doc -->
1052 * This default implementation returns null so that we can easily ignore cases;
1053 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1054 * <!-- end-user-doc -->
1055 * @return the new adapter.
1056 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum
1057 * @generated
1058 */
1059 public Adapter createALSSumAdapter()
1060 {
1061 return null;
1062 }
1063
1064 /**
1065 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</em>}'.
1066 * <!-- begin-user-doc -->
1067 * This default implementation returns null so that we can easily ignore cases;
1068 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1069 * <!-- end-user-doc -->
1070 * @return the new adapter.
1071 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall
1072 * @generated
1073 */
1074 public Adapter createALSFunctionCallAdapter()
1075 {
1076 return null;
1077 }
1078
1079 /**
1080 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</em>}'.
1081 * <!-- begin-user-doc -->
1082 * This default implementation returns null so that we can easily ignore cases;
1083 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1084 * <!-- end-user-doc -->
1085 * @return the new adapter.
1086 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone
1087 * @generated
1088 */
1089 public Adapter createALSNoneAdapter()
1090 {
1091 return null;
1092 }
1093
1094 /**
1095 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</em>}'.
1096 * <!-- begin-user-doc -->
1097 * This default implementation returns null so that we can easily ignore cases;
1098 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1099 * <!-- end-user-doc -->
1100 * @return the new adapter.
1101 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden
1102 * @generated
1103 */
1104 public Adapter createALSIdenAdapter()
1105 {
1106 return null;
1107 }
1108
1109 /**
1110 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</em>}'.
1111 * <!-- begin-user-doc -->
1112 * This default implementation returns null so that we can easily ignore cases;
1113 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1114 * <!-- end-user-doc -->
1115 * @return the new adapter.
1116 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv
1117 * @generated
1118 */
1119 public Adapter createALSUnivAdapter()
1120 {
1121 return null;
1122 }
1123
1124 /**
1125 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</em>}'.
1126 * <!-- begin-user-doc -->
1127 * This default implementation returns null so that we can easily ignore cases;
1128 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1129 * <!-- end-user-doc -->
1130 * @return the new adapter.
1131 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt
1132 * @generated
1133 */
1134 public Adapter createALSIntAdapter()
1135 {
1136 return null;
1137 }
1138
1139 /**
1140 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString <em>ALS String</em>}'.
1141 * <!-- begin-user-doc -->
1142 * This default implementation returns null so that we can easily ignore cases;
1143 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1144 * <!-- end-user-doc -->
1145 * @return the new adapter.
1146 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString
1147 * @generated
1148 */
1149 public Adapter createALSStringAdapter()
1150 {
1151 return null;
1152 }
1153
1154 /**
1155 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</em>}'.
1156 * <!-- begin-user-doc -->
1157 * This default implementation returns null so that we can easily ignore cases;
1158 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1159 * <!-- end-user-doc -->
1160 * @return the new adapter.
1161 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference
1162 * @generated
1163 */
1164 public Adapter createALSReferenceAdapter()
1165 {
1166 return null;
1167 }
1168
1169 /**
1170 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</em>}'.
1171 * <!-- begin-user-doc -->
1172 * This default implementation returns null so that we can easily ignore cases;
1173 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1174 * <!-- end-user-doc -->
1175 * @return the new adapter.
1176 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral
1177 * @generated
1178 */
1179 public Adapter createALSNumberLiteralAdapter()
1180 {
1181 return null;
1182 }
1183
1184 /**
1185 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral <em>ALS String Literal</em>}'.
1186 * <!-- begin-user-doc -->
1187 * This default implementation returns null so that we can easily ignore cases;
1188 * it's useful to ignore a case when inheritance will catch all the cases anyway.
1189 * <!-- end-user-doc -->
1190 * @return the new adapter.
1191 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral
1192 * @generated
1193 */
1194 public Adapter createALSStringLiteralAdapter()
1195 {
1196 return null;
1197 }
1198
1199 /**
1200 * Creates a new adapter for the default case.
1201 * <!-- begin-user-doc -->
1202 * This default implementation returns null.
1203 * <!-- end-user-doc -->
1204 * @return the new adapter.
1205 * @generated
1206 */
1207 public Adapter createEObjectAdapter()
1208 {
1209 return null;
1210 }
1211
1212} //AlloyLanguageAdapterFactory
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java
deleted file mode 100644
index 9c67bad7..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java
+++ /dev/null
@@ -1,1410 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.util;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.*;
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.alloyLanguage.AlloyLanguagePackage
23 * @generated
24 */
25public class AlloyLanguageSwitch<T> extends Switch<T>
26{
27 /**
28 * The cached model package
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 protected static AlloyLanguagePackage modelPackage;
34
35 /**
36 * Creates an instance of the switch.
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @generated
40 */
41 public AlloyLanguageSwitch()
42 {
43 if (modelPackage == null)
44 {
45 modelPackage = AlloyLanguagePackage.eINSTANCE;
46 }
47 }
48
49 /**
50 * Checks whether this is a switch for the given package.
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @param ePackage the package in question.
54 * @return whether this is a switch for the given package.
55 * @generated
56 */
57 @Override
58 protected boolean isSwitchFor(EPackage ePackage)
59 {
60 return ePackage == modelPackage;
61 }
62
63 /**
64 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @return the first non-null result returned by a <code>caseXXX</code> call.
68 * @generated
69 */
70 @Override
71 protected T doSwitch(int classifierID, EObject theEObject)
72 {
73 switch (classifierID)
74 {
75 case AlloyLanguagePackage.ALS_DOCUMENT:
76 {
77 ALSDocument alsDocument = (ALSDocument)theEObject;
78 T result = caseALSDocument(alsDocument);
79 if (result == null) result = defaultCase(theEObject);
80 return result;
81 }
82 case AlloyLanguagePackage.ALS_RELATION_DECLARATION:
83 {
84 ALSRelationDeclaration alsRelationDeclaration = (ALSRelationDeclaration)theEObject;
85 T result = caseALSRelationDeclaration(alsRelationDeclaration);
86 if (result == null) result = defaultCase(theEObject);
87 return result;
88 }
89 case AlloyLanguagePackage.ALS_TYPE_DECLARATION:
90 {
91 ALSTypeDeclaration alsTypeDeclaration = (ALSTypeDeclaration)theEObject;
92 T result = caseALSTypeDeclaration(alsTypeDeclaration);
93 if (result == null) result = caseALSRelationDeclaration(alsTypeDeclaration);
94 if (result == null) result = defaultCase(theEObject);
95 return result;
96 }
97 case AlloyLanguagePackage.ALS_ENUM_DECLARATION:
98 {
99 ALSEnumDeclaration alsEnumDeclaration = (ALSEnumDeclaration)theEObject;
100 T result = caseALSEnumDeclaration(alsEnumDeclaration);
101 if (result == null) result = caseALSTypeDeclaration(alsEnumDeclaration);
102 if (result == null) result = caseALSRelationDeclaration(alsEnumDeclaration);
103 if (result == null) result = defaultCase(theEObject);
104 return result;
105 }
106 case AlloyLanguagePackage.ALS_ENUM_LITERAL:
107 {
108 ALSEnumLiteral alsEnumLiteral = (ALSEnumLiteral)theEObject;
109 T result = caseALSEnumLiteral(alsEnumLiteral);
110 if (result == null) result = caseALSRelationDeclaration(alsEnumLiteral);
111 if (result == null) result = defaultCase(theEObject);
112 return result;
113 }
114 case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION:
115 {
116 ALSSignatureDeclaration alsSignatureDeclaration = (ALSSignatureDeclaration)theEObject;
117 T result = caseALSSignatureDeclaration(alsSignatureDeclaration);
118 if (result == null) result = caseALSTypeDeclaration(alsSignatureDeclaration);
119 if (result == null) result = caseALSRelationDeclaration(alsSignatureDeclaration);
120 if (result == null) result = defaultCase(theEObject);
121 return result;
122 }
123 case AlloyLanguagePackage.ALS_SIGNATURE_BODY:
124 {
125 ALSSignatureBody alsSignatureBody = (ALSSignatureBody)theEObject;
126 T result = caseALSSignatureBody(alsSignatureBody);
127 if (result == null) result = defaultCase(theEObject);
128 return result;
129 }
130 case AlloyLanguagePackage.ALS_FIELD_DECLARATION:
131 {
132 ALSFieldDeclaration alsFieldDeclaration = (ALSFieldDeclaration)theEObject;
133 T result = caseALSFieldDeclaration(alsFieldDeclaration);
134 if (result == null) result = caseALSRelationDeclaration(alsFieldDeclaration);
135 if (result == null) result = defaultCase(theEObject);
136 return result;
137 }
138 case AlloyLanguagePackage.ALS_DEFINITION:
139 {
140 ALSDefinition alsDefinition = (ALSDefinition)theEObject;
141 T result = caseALSDefinition(alsDefinition);
142 if (result == null) result = defaultCase(theEObject);
143 return result;
144 }
145 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION:
146 {
147 ALSFunctionDefinition alsFunctionDefinition = (ALSFunctionDefinition)theEObject;
148 T result = caseALSFunctionDefinition(alsFunctionDefinition);
149 if (result == null) result = caseALSDefinition(alsFunctionDefinition);
150 if (result == null) result = defaultCase(theEObject);
151 return result;
152 }
153 case AlloyLanguagePackage.ALS_RELATION_DEFINITION:
154 {
155 ALSRelationDefinition alsRelationDefinition = (ALSRelationDefinition)theEObject;
156 T result = caseALSRelationDefinition(alsRelationDefinition);
157 if (result == null) result = caseALSDefinition(alsRelationDefinition);
158 if (result == null) result = defaultCase(theEObject);
159 return result;
160 }
161 case AlloyLanguagePackage.ALS_FACT_DECLARATION:
162 {
163 ALSFactDeclaration alsFactDeclaration = (ALSFactDeclaration)theEObject;
164 T result = caseALSFactDeclaration(alsFactDeclaration);
165 if (result == null) result = defaultCase(theEObject);
166 return result;
167 }
168 case AlloyLanguagePackage.ALS_TERM:
169 {
170 ALSTerm alsTerm = (ALSTerm)theEObject;
171 T result = caseALSTerm(alsTerm);
172 if (result == null) result = defaultCase(theEObject);
173 return result;
174 }
175 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION:
176 {
177 ALSVariableDeclaration alsVariableDeclaration = (ALSVariableDeclaration)theEObject;
178 T result = caseALSVariableDeclaration(alsVariableDeclaration);
179 if (result == null) result = caseALSRelationDeclaration(alsVariableDeclaration);
180 if (result == null) result = defaultCase(theEObject);
181 return result;
182 }
183 case AlloyLanguagePackage.ALS_RUN_COMMAND:
184 {
185 ALSRunCommand alsRunCommand = (ALSRunCommand)theEObject;
186 T result = caseALSRunCommand(alsRunCommand);
187 if (result == null) result = defaultCase(theEObject);
188 return result;
189 }
190 case AlloyLanguagePackage.ALS_TYPE_SCOPE:
191 {
192 ALSTypeScope alsTypeScope = (ALSTypeScope)theEObject;
193 T result = caseALSTypeScope(alsTypeScope);
194 if (result == null) result = defaultCase(theEObject);
195 return result;
196 }
197 case AlloyLanguagePackage.ALS_SIG_SCOPE:
198 {
199 ALSSigScope alsSigScope = (ALSSigScope)theEObject;
200 T result = caseALSSigScope(alsSigScope);
201 if (result == null) result = caseALSTypeScope(alsSigScope);
202 if (result == null) result = defaultCase(theEObject);
203 return result;
204 }
205 case AlloyLanguagePackage.ALS_INT_SCOPE:
206 {
207 ALSIntScope alsIntScope = (ALSIntScope)theEObject;
208 T result = caseALSIntScope(alsIntScope);
209 if (result == null) result = caseALSTypeScope(alsIntScope);
210 if (result == null) result = defaultCase(theEObject);
211 return result;
212 }
213 case AlloyLanguagePackage.ALS_STRING_SCOPE:
214 {
215 ALSStringScope alsStringScope = (ALSStringScope)theEObject;
216 T result = caseALSStringScope(alsStringScope);
217 if (result == null) result = caseALSTypeScope(alsStringScope);
218 if (result == null) result = defaultCase(theEObject);
219 return result;
220 }
221 case AlloyLanguagePackage.ALS_QUANTIFIED_EX:
222 {
223 ALSQuantifiedEx alsQuantifiedEx = (ALSQuantifiedEx)theEObject;
224 T result = caseALSQuantifiedEx(alsQuantifiedEx);
225 if (result == null) result = caseALSTerm(alsQuantifiedEx);
226 if (result == null) result = defaultCase(theEObject);
227 return result;
228 }
229 case AlloyLanguagePackage.ALS_OR:
230 {
231 ALSOr alsOr = (ALSOr)theEObject;
232 T result = caseALSOr(alsOr);
233 if (result == null) result = caseALSTerm(alsOr);
234 if (result == null) result = defaultCase(theEObject);
235 return result;
236 }
237 case AlloyLanguagePackage.ALS_IFF:
238 {
239 ALSIff alsIff = (ALSIff)theEObject;
240 T result = caseALSIff(alsIff);
241 if (result == null) result = caseALSTerm(alsIff);
242 if (result == null) result = defaultCase(theEObject);
243 return result;
244 }
245 case AlloyLanguagePackage.ALS_IMPL:
246 {
247 ALSImpl alsImpl = (ALSImpl)theEObject;
248 T result = caseALSImpl(alsImpl);
249 if (result == null) result = caseALSTerm(alsImpl);
250 if (result == null) result = defaultCase(theEObject);
251 return result;
252 }
253 case AlloyLanguagePackage.ALS_AND:
254 {
255 ALSAnd alsAnd = (ALSAnd)theEObject;
256 T result = caseALSAnd(alsAnd);
257 if (result == null) result = caseALSTerm(alsAnd);
258 if (result == null) result = defaultCase(theEObject);
259 return result;
260 }
261 case AlloyLanguagePackage.ALS_EQUALS:
262 {
263 ALSEquals alsEquals = (ALSEquals)theEObject;
264 T result = caseALSEquals(alsEquals);
265 if (result == null) result = caseALSTerm(alsEquals);
266 if (result == null) result = defaultCase(theEObject);
267 return result;
268 }
269 case AlloyLanguagePackage.ALS_NOT_EQUALS:
270 {
271 ALSNotEquals alsNotEquals = (ALSNotEquals)theEObject;
272 T result = caseALSNotEquals(alsNotEquals);
273 if (result == null) result = caseALSTerm(alsNotEquals);
274 if (result == null) result = defaultCase(theEObject);
275 return result;
276 }
277 case AlloyLanguagePackage.ALS_SUBSET:
278 {
279 ALSSubset alsSubset = (ALSSubset)theEObject;
280 T result = caseALSSubset(alsSubset);
281 if (result == null) result = caseALSTerm(alsSubset);
282 if (result == null) result = defaultCase(theEObject);
283 return result;
284 }
285 case AlloyLanguagePackage.ALS_LESS:
286 {
287 ALSLess alsLess = (ALSLess)theEObject;
288 T result = caseALSLess(alsLess);
289 if (result == null) result = caseALSTerm(alsLess);
290 if (result == null) result = defaultCase(theEObject);
291 return result;
292 }
293 case AlloyLanguagePackage.ALS_LEQ:
294 {
295 ALSLeq alsLeq = (ALSLeq)theEObject;
296 T result = caseALSLeq(alsLeq);
297 if (result == null) result = caseALSTerm(alsLeq);
298 if (result == null) result = defaultCase(theEObject);
299 return result;
300 }
301 case AlloyLanguagePackage.ALS_MORE:
302 {
303 ALSMore alsMore = (ALSMore)theEObject;
304 T result = caseALSMore(alsMore);
305 if (result == null) result = caseALSTerm(alsMore);
306 if (result == null) result = defaultCase(theEObject);
307 return result;
308 }
309 case AlloyLanguagePackage.ALS_MEQ:
310 {
311 ALSMeq alsMeq = (ALSMeq)theEObject;
312 T result = caseALSMeq(alsMeq);
313 if (result == null) result = caseALSTerm(alsMeq);
314 if (result == null) result = defaultCase(theEObject);
315 return result;
316 }
317 case AlloyLanguagePackage.ALS_OVERRIDE:
318 {
319 ALSOverride alsOverride = (ALSOverride)theEObject;
320 T result = caseALSOverride(alsOverride);
321 if (result == null) result = caseALSTerm(alsOverride);
322 if (result == null) result = defaultCase(theEObject);
323 return result;
324 }
325 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT:
326 {
327 ALSRangeRestrictionRight alsRangeRestrictionRight = (ALSRangeRestrictionRight)theEObject;
328 T result = caseALSRangeRestrictionRight(alsRangeRestrictionRight);
329 if (result == null) result = caseALSTerm(alsRangeRestrictionRight);
330 if (result == null) result = defaultCase(theEObject);
331 return result;
332 }
333 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT:
334 {
335 ALSRangeRestrictionLeft alsRangeRestrictionLeft = (ALSRangeRestrictionLeft)theEObject;
336 T result = caseALSRangeRestrictionLeft(alsRangeRestrictionLeft);
337 if (result == null) result = caseALSTerm(alsRangeRestrictionLeft);
338 if (result == null) result = defaultCase(theEObject);
339 return result;
340 }
341 case AlloyLanguagePackage.ALS_JOIN:
342 {
343 ALSJoin alsJoin = (ALSJoin)theEObject;
344 T result = caseALSJoin(alsJoin);
345 if (result == null) result = caseALSTerm(alsJoin);
346 if (result == null) result = defaultCase(theEObject);
347 return result;
348 }
349 case AlloyLanguagePackage.ALS_MINUS:
350 {
351 ALSMinus alsMinus = (ALSMinus)theEObject;
352 T result = caseALSMinus(alsMinus);
353 if (result == null) result = caseALSTerm(alsMinus);
354 if (result == null) result = defaultCase(theEObject);
355 return result;
356 }
357 case AlloyLanguagePackage.ALS_PLUS:
358 {
359 ALSPlus alsPlus = (ALSPlus)theEObject;
360 T result = caseALSPlus(alsPlus);
361 if (result == null) result = caseALSTerm(alsPlus);
362 if (result == null) result = defaultCase(theEObject);
363 return result;
364 }
365 case AlloyLanguagePackage.ALS_INTERSECTION:
366 {
367 ALSIntersection alsIntersection = (ALSIntersection)theEObject;
368 T result = caseALSIntersection(alsIntersection);
369 if (result == null) result = caseALSTerm(alsIntersection);
370 if (result == null) result = defaultCase(theEObject);
371 return result;
372 }
373 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT:
374 {
375 ALSDirectProduct alsDirectProduct = (ALSDirectProduct)theEObject;
376 T result = caseALSDirectProduct(alsDirectProduct);
377 if (result == null) result = caseALSTerm(alsDirectProduct);
378 if (result == null) result = defaultCase(theEObject);
379 return result;
380 }
381 case AlloyLanguagePackage.ALS_NOT:
382 {
383 ALSNot alsNot = (ALSNot)theEObject;
384 T result = caseALSNot(alsNot);
385 if (result == null) result = caseALSTerm(alsNot);
386 if (result == null) result = defaultCase(theEObject);
387 return result;
388 }
389 case AlloyLanguagePackage.ALS_INVERSE_RELATION:
390 {
391 ALSInverseRelation alsInverseRelation = (ALSInverseRelation)theEObject;
392 T result = caseALSInverseRelation(alsInverseRelation);
393 if (result == null) result = caseALSTerm(alsInverseRelation);
394 if (result == null) result = defaultCase(theEObject);
395 return result;
396 }
397 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE:
398 {
399 AlSTransitiveClosure alSTransitiveClosure = (AlSTransitiveClosure)theEObject;
400 T result = caseAlSTransitiveClosure(alSTransitiveClosure);
401 if (result == null) result = caseALSTerm(alSTransitiveClosure);
402 if (result == null) result = defaultCase(theEObject);
403 return result;
404 }
405 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE:
406 {
407 ALSReflectiveTransitiveClosure alsReflectiveTransitiveClosure = (ALSReflectiveTransitiveClosure)theEObject;
408 T result = caseALSReflectiveTransitiveClosure(alsReflectiveTransitiveClosure);
409 if (result == null) result = caseALSTerm(alsReflectiveTransitiveClosure);
410 if (result == null) result = defaultCase(theEObject);
411 return result;
412 }
413 case AlloyLanguagePackage.ALS_CARDINALITY:
414 {
415 ALSCardinality alsCardinality = (ALSCardinality)theEObject;
416 T result = caseALSCardinality(alsCardinality);
417 if (result == null) result = caseALSTerm(alsCardinality);
418 if (result == null) result = defaultCase(theEObject);
419 return result;
420 }
421 case AlloyLanguagePackage.ALS_UNARY_MINUS:
422 {
423 ALSUnaryMinus alsUnaryMinus = (ALSUnaryMinus)theEObject;
424 T result = caseALSUnaryMinus(alsUnaryMinus);
425 if (result == null) result = caseALSTerm(alsUnaryMinus);
426 if (result == null) result = defaultCase(theEObject);
427 return result;
428 }
429 case AlloyLanguagePackage.ALS_SUM:
430 {
431 ALSSum alsSum = (ALSSum)theEObject;
432 T result = caseALSSum(alsSum);
433 if (result == null) result = caseALSTerm(alsSum);
434 if (result == null) result = defaultCase(theEObject);
435 return result;
436 }
437 case AlloyLanguagePackage.ALS_FUNCTION_CALL:
438 {
439 ALSFunctionCall alsFunctionCall = (ALSFunctionCall)theEObject;
440 T result = caseALSFunctionCall(alsFunctionCall);
441 if (result == null) result = caseALSTerm(alsFunctionCall);
442 if (result == null) result = defaultCase(theEObject);
443 return result;
444 }
445 case AlloyLanguagePackage.ALS_NONE:
446 {
447 ALSNone alsNone = (ALSNone)theEObject;
448 T result = caseALSNone(alsNone);
449 if (result == null) result = caseALSTerm(alsNone);
450 if (result == null) result = defaultCase(theEObject);
451 return result;
452 }
453 case AlloyLanguagePackage.ALS_IDEN:
454 {
455 ALSIden alsIden = (ALSIden)theEObject;
456 T result = caseALSIden(alsIden);
457 if (result == null) result = caseALSTerm(alsIden);
458 if (result == null) result = defaultCase(theEObject);
459 return result;
460 }
461 case AlloyLanguagePackage.ALS_UNIV:
462 {
463 ALSUniv alsUniv = (ALSUniv)theEObject;
464 T result = caseALSUniv(alsUniv);
465 if (result == null) result = caseALSTerm(alsUniv);
466 if (result == null) result = defaultCase(theEObject);
467 return result;
468 }
469 case AlloyLanguagePackage.ALS_INT:
470 {
471 ALSInt alsInt = (ALSInt)theEObject;
472 T result = caseALSInt(alsInt);
473 if (result == null) result = caseALSTerm(alsInt);
474 if (result == null) result = defaultCase(theEObject);
475 return result;
476 }
477 case AlloyLanguagePackage.ALS_STRING:
478 {
479 ALSString alsString = (ALSString)theEObject;
480 T result = caseALSString(alsString);
481 if (result == null) result = caseALSTerm(alsString);
482 if (result == null) result = defaultCase(theEObject);
483 return result;
484 }
485 case AlloyLanguagePackage.ALS_REFERENCE:
486 {
487 ALSReference alsReference = (ALSReference)theEObject;
488 T result = caseALSReference(alsReference);
489 if (result == null) result = caseALSTerm(alsReference);
490 if (result == null) result = defaultCase(theEObject);
491 return result;
492 }
493 case AlloyLanguagePackage.ALS_NUMBER_LITERAL:
494 {
495 ALSNumberLiteral alsNumberLiteral = (ALSNumberLiteral)theEObject;
496 T result = caseALSNumberLiteral(alsNumberLiteral);
497 if (result == null) result = caseALSTerm(alsNumberLiteral);
498 if (result == null) result = defaultCase(theEObject);
499 return result;
500 }
501 case AlloyLanguagePackage.ALS_STRING_LITERAL:
502 {
503 ALSStringLiteral alsStringLiteral = (ALSStringLiteral)theEObject;
504 T result = caseALSStringLiteral(alsStringLiteral);
505 if (result == null) result = caseALSTerm(alsStringLiteral);
506 if (result == null) result = defaultCase(theEObject);
507 return result;
508 }
509 default: return defaultCase(theEObject);
510 }
511 }
512
513 /**
514 * Returns the result of interpreting the object as an instance of '<em>ALS Document</em>'.
515 * <!-- begin-user-doc -->
516 * This implementation returns null;
517 * returning a non-null result will terminate the switch.
518 * <!-- end-user-doc -->
519 * @param object the target of the switch.
520 * @return the result of interpreting the object as an instance of '<em>ALS Document</em>'.
521 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
522 * @generated
523 */
524 public T caseALSDocument(ALSDocument object)
525 {
526 return null;
527 }
528
529 /**
530 * Returns the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'.
531 * <!-- begin-user-doc -->
532 * This implementation returns null;
533 * returning a non-null result will terminate the switch.
534 * <!-- end-user-doc -->
535 * @param object the target of the switch.
536 * @return the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'.
537 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
538 * @generated
539 */
540 public T caseALSRelationDeclaration(ALSRelationDeclaration object)
541 {
542 return null;
543 }
544
545 /**
546 * Returns the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'.
547 * <!-- begin-user-doc -->
548 * This implementation returns null;
549 * returning a non-null result will terminate the switch.
550 * <!-- end-user-doc -->
551 * @param object the target of the switch.
552 * @return the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'.
553 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
554 * @generated
555 */
556 public T caseALSTypeDeclaration(ALSTypeDeclaration object)
557 {
558 return null;
559 }
560
561 /**
562 * Returns the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'.
563 * <!-- begin-user-doc -->
564 * This implementation returns null;
565 * returning a non-null result will terminate the switch.
566 * <!-- end-user-doc -->
567 * @param object the target of the switch.
568 * @return the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'.
569 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
570 * @generated
571 */
572 public T caseALSEnumDeclaration(ALSEnumDeclaration object)
573 {
574 return null;
575 }
576
577 /**
578 * Returns the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'.
579 * <!-- begin-user-doc -->
580 * This implementation returns null;
581 * returning a non-null result will terminate the switch.
582 * <!-- end-user-doc -->
583 * @param object the target of the switch.
584 * @return the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'.
585 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
586 * @generated
587 */
588 public T caseALSEnumLiteral(ALSEnumLiteral object)
589 {
590 return null;
591 }
592
593 /**
594 * Returns the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'.
595 * <!-- begin-user-doc -->
596 * This implementation returns null;
597 * returning a non-null result will terminate the switch.
598 * <!-- end-user-doc -->
599 * @param object the target of the switch.
600 * @return the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'.
601 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
602 * @generated
603 */
604 public T caseALSSignatureDeclaration(ALSSignatureDeclaration object)
605 {
606 return null;
607 }
608
609 /**
610 * Returns the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'.
611 * <!-- begin-user-doc -->
612 * This implementation returns null;
613 * returning a non-null result will terminate the switch.
614 * <!-- end-user-doc -->
615 * @param object the target of the switch.
616 * @return the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'.
617 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
618 * @generated
619 */
620 public T caseALSSignatureBody(ALSSignatureBody object)
621 {
622 return null;
623 }
624
625 /**
626 * Returns the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'.
627 * <!-- begin-user-doc -->
628 * This implementation returns null;
629 * returning a non-null result will terminate the switch.
630 * <!-- end-user-doc -->
631 * @param object the target of the switch.
632 * @return the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'.
633 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
634 * @generated
635 */
636 public T caseALSFieldDeclaration(ALSFieldDeclaration object)
637 {
638 return null;
639 }
640
641 /**
642 * Returns the result of interpreting the object as an instance of '<em>ALS Definition</em>'.
643 * <!-- begin-user-doc -->
644 * This implementation returns null;
645 * returning a non-null result will terminate the switch.
646 * <!-- end-user-doc -->
647 * @param object the target of the switch.
648 * @return the result of interpreting the object as an instance of '<em>ALS Definition</em>'.
649 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
650 * @generated
651 */
652 public T caseALSDefinition(ALSDefinition object)
653 {
654 return null;
655 }
656
657 /**
658 * Returns the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'.
659 * <!-- begin-user-doc -->
660 * This implementation returns null;
661 * returning a non-null result will terminate the switch.
662 * <!-- end-user-doc -->
663 * @param object the target of the switch.
664 * @return the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'.
665 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
666 * @generated
667 */
668 public T caseALSFunctionDefinition(ALSFunctionDefinition object)
669 {
670 return null;
671 }
672
673 /**
674 * Returns the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'.
675 * <!-- begin-user-doc -->
676 * This implementation returns null;
677 * returning a non-null result will terminate the switch.
678 * <!-- end-user-doc -->
679 * @param object the target of the switch.
680 * @return the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'.
681 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
682 * @generated
683 */
684 public T caseALSRelationDefinition(ALSRelationDefinition object)
685 {
686 return null;
687 }
688
689 /**
690 * Returns the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'.
691 * <!-- begin-user-doc -->
692 * This implementation returns null;
693 * returning a non-null result will terminate the switch.
694 * <!-- end-user-doc -->
695 * @param object the target of the switch.
696 * @return the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'.
697 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
698 * @generated
699 */
700 public T caseALSFactDeclaration(ALSFactDeclaration object)
701 {
702 return null;
703 }
704
705 /**
706 * Returns the result of interpreting the object as an instance of '<em>ALS Term</em>'.
707 * <!-- begin-user-doc -->
708 * This implementation returns null;
709 * returning a non-null result will terminate the switch.
710 * <!-- end-user-doc -->
711 * @param object the target of the switch.
712 * @return the result of interpreting the object as an instance of '<em>ALS Term</em>'.
713 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
714 * @generated
715 */
716 public T caseALSTerm(ALSTerm object)
717 {
718 return null;
719 }
720
721 /**
722 * Returns the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'.
723 * <!-- begin-user-doc -->
724 * This implementation returns null;
725 * returning a non-null result will terminate the switch.
726 * <!-- end-user-doc -->
727 * @param object the target of the switch.
728 * @return the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'.
729 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
730 * @generated
731 */
732 public T caseALSVariableDeclaration(ALSVariableDeclaration object)
733 {
734 return null;
735 }
736
737 /**
738 * Returns the result of interpreting the object as an instance of '<em>ALS Run Command</em>'.
739 * <!-- begin-user-doc -->
740 * This implementation returns null;
741 * returning a non-null result will terminate the switch.
742 * <!-- end-user-doc -->
743 * @param object the target of the switch.
744 * @return the result of interpreting the object as an instance of '<em>ALS Run Command</em>'.
745 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
746 * @generated
747 */
748 public T caseALSRunCommand(ALSRunCommand object)
749 {
750 return null;
751 }
752
753 /**
754 * Returns the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'.
755 * <!-- begin-user-doc -->
756 * This implementation returns null;
757 * returning a non-null result will terminate the switch.
758 * <!-- end-user-doc -->
759 * @param object the target of the switch.
760 * @return the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'.
761 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
762 * @generated
763 */
764 public T caseALSTypeScope(ALSTypeScope object)
765 {
766 return null;
767 }
768
769 /**
770 * Returns the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'.
771 * <!-- begin-user-doc -->
772 * This implementation returns null;
773 * returning a non-null result will terminate the switch.
774 * <!-- end-user-doc -->
775 * @param object the target of the switch.
776 * @return the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'.
777 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
778 * @generated
779 */
780 public T caseALSSigScope(ALSSigScope object)
781 {
782 return null;
783 }
784
785 /**
786 * Returns the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'.
787 * <!-- begin-user-doc -->
788 * This implementation returns null;
789 * returning a non-null result will terminate the switch.
790 * <!-- end-user-doc -->
791 * @param object the target of the switch.
792 * @return the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'.
793 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
794 * @generated
795 */
796 public T caseALSIntScope(ALSIntScope object)
797 {
798 return null;
799 }
800
801 /**
802 * Returns the result of interpreting the object as an instance of '<em>ALS String Scope</em>'.
803 * <!-- begin-user-doc -->
804 * This implementation returns null;
805 * returning a non-null result will terminate the switch.
806 * <!-- end-user-doc -->
807 * @param object the target of the switch.
808 * @return the result of interpreting the object as an instance of '<em>ALS String Scope</em>'.
809 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
810 * @generated
811 */
812 public T caseALSStringScope(ALSStringScope object)
813 {
814 return null;
815 }
816
817 /**
818 * Returns the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'.
819 * <!-- begin-user-doc -->
820 * This implementation returns null;
821 * returning a non-null result will terminate the switch.
822 * <!-- end-user-doc -->
823 * @param object the target of the switch.
824 * @return the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'.
825 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
826 * @generated
827 */
828 public T caseALSQuantifiedEx(ALSQuantifiedEx object)
829 {
830 return null;
831 }
832
833 /**
834 * Returns the result of interpreting the object as an instance of '<em>ALS Or</em>'.
835 * <!-- begin-user-doc -->
836 * This implementation returns null;
837 * returning a non-null result will terminate the switch.
838 * <!-- end-user-doc -->
839 * @param object the target of the switch.
840 * @return the result of interpreting the object as an instance of '<em>ALS Or</em>'.
841 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
842 * @generated
843 */
844 public T caseALSOr(ALSOr object)
845 {
846 return null;
847 }
848
849 /**
850 * Returns the result of interpreting the object as an instance of '<em>ALS Iff</em>'.
851 * <!-- begin-user-doc -->
852 * This implementation returns null;
853 * returning a non-null result will terminate the switch.
854 * <!-- end-user-doc -->
855 * @param object the target of the switch.
856 * @return the result of interpreting the object as an instance of '<em>ALS Iff</em>'.
857 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
858 * @generated
859 */
860 public T caseALSIff(ALSIff object)
861 {
862 return null;
863 }
864
865 /**
866 * Returns the result of interpreting the object as an instance of '<em>ALS Impl</em>'.
867 * <!-- begin-user-doc -->
868 * This implementation returns null;
869 * returning a non-null result will terminate the switch.
870 * <!-- end-user-doc -->
871 * @param object the target of the switch.
872 * @return the result of interpreting the object as an instance of '<em>ALS Impl</em>'.
873 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
874 * @generated
875 */
876 public T caseALSImpl(ALSImpl object)
877 {
878 return null;
879 }
880
881 /**
882 * Returns the result of interpreting the object as an instance of '<em>ALS And</em>'.
883 * <!-- begin-user-doc -->
884 * This implementation returns null;
885 * returning a non-null result will terminate the switch.
886 * <!-- end-user-doc -->
887 * @param object the target of the switch.
888 * @return the result of interpreting the object as an instance of '<em>ALS And</em>'.
889 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
890 * @generated
891 */
892 public T caseALSAnd(ALSAnd object)
893 {
894 return null;
895 }
896
897 /**
898 * Returns the result of interpreting the object as an instance of '<em>ALS Equals</em>'.
899 * <!-- begin-user-doc -->
900 * This implementation returns null;
901 * returning a non-null result will terminate the switch.
902 * <!-- end-user-doc -->
903 * @param object the target of the switch.
904 * @return the result of interpreting the object as an instance of '<em>ALS Equals</em>'.
905 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
906 * @generated
907 */
908 public T caseALSEquals(ALSEquals object)
909 {
910 return null;
911 }
912
913 /**
914 * Returns the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'.
915 * <!-- begin-user-doc -->
916 * This implementation returns null;
917 * returning a non-null result will terminate the switch.
918 * <!-- end-user-doc -->
919 * @param object the target of the switch.
920 * @return the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'.
921 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
922 * @generated
923 */
924 public T caseALSNotEquals(ALSNotEquals object)
925 {
926 return null;
927 }
928
929 /**
930 * Returns the result of interpreting the object as an instance of '<em>ALS Subset</em>'.
931 * <!-- begin-user-doc -->
932 * This implementation returns null;
933 * returning a non-null result will terminate the switch.
934 * <!-- end-user-doc -->
935 * @param object the target of the switch.
936 * @return the result of interpreting the object as an instance of '<em>ALS Subset</em>'.
937 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
938 * @generated
939 */
940 public T caseALSSubset(ALSSubset object)
941 {
942 return null;
943 }
944
945 /**
946 * Returns the result of interpreting the object as an instance of '<em>ALS Less</em>'.
947 * <!-- begin-user-doc -->
948 * This implementation returns null;
949 * returning a non-null result will terminate the switch.
950 * <!-- end-user-doc -->
951 * @param object the target of the switch.
952 * @return the result of interpreting the object as an instance of '<em>ALS Less</em>'.
953 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
954 * @generated
955 */
956 public T caseALSLess(ALSLess object)
957 {
958 return null;
959 }
960
961 /**
962 * Returns the result of interpreting the object as an instance of '<em>ALS Leq</em>'.
963 * <!-- begin-user-doc -->
964 * This implementation returns null;
965 * returning a non-null result will terminate the switch.
966 * <!-- end-user-doc -->
967 * @param object the target of the switch.
968 * @return the result of interpreting the object as an instance of '<em>ALS Leq</em>'.
969 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
970 * @generated
971 */
972 public T caseALSLeq(ALSLeq object)
973 {
974 return null;
975 }
976
977 /**
978 * Returns the result of interpreting the object as an instance of '<em>ALS More</em>'.
979 * <!-- begin-user-doc -->
980 * This implementation returns null;
981 * returning a non-null result will terminate the switch.
982 * <!-- end-user-doc -->
983 * @param object the target of the switch.
984 * @return the result of interpreting the object as an instance of '<em>ALS More</em>'.
985 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
986 * @generated
987 */
988 public T caseALSMore(ALSMore object)
989 {
990 return null;
991 }
992
993 /**
994 * Returns the result of interpreting the object as an instance of '<em>ALS Meq</em>'.
995 * <!-- begin-user-doc -->
996 * This implementation returns null;
997 * returning a non-null result will terminate the switch.
998 * <!-- end-user-doc -->
999 * @param object the target of the switch.
1000 * @return the result of interpreting the object as an instance of '<em>ALS Meq</em>'.
1001 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1002 * @generated
1003 */
1004 public T caseALSMeq(ALSMeq object)
1005 {
1006 return null;
1007 }
1008
1009 /**
1010 * Returns the result of interpreting the object as an instance of '<em>ALS Override</em>'.
1011 * <!-- begin-user-doc -->
1012 * This implementation returns null;
1013 * returning a non-null result will terminate the switch.
1014 * <!-- end-user-doc -->
1015 * @param object the target of the switch.
1016 * @return the result of interpreting the object as an instance of '<em>ALS Override</em>'.
1017 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1018 * @generated
1019 */
1020 public T caseALSOverride(ALSOverride object)
1021 {
1022 return null;
1023 }
1024
1025 /**
1026 * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'.
1027 * <!-- begin-user-doc -->
1028 * This implementation returns null;
1029 * returning a non-null result will terminate the switch.
1030 * <!-- end-user-doc -->
1031 * @param object the target of the switch.
1032 * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'.
1033 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1034 * @generated
1035 */
1036 public T caseALSRangeRestrictionRight(ALSRangeRestrictionRight object)
1037 {
1038 return null;
1039 }
1040
1041 /**
1042 * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'.
1043 * <!-- begin-user-doc -->
1044 * This implementation returns null;
1045 * returning a non-null result will terminate the switch.
1046 * <!-- end-user-doc -->
1047 * @param object the target of the switch.
1048 * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'.
1049 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1050 * @generated
1051 */
1052 public T caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object)
1053 {
1054 return null;
1055 }
1056
1057 /**
1058 * Returns the result of interpreting the object as an instance of '<em>ALS Join</em>'.
1059 * <!-- begin-user-doc -->
1060 * This implementation returns null;
1061 * returning a non-null result will terminate the switch.
1062 * <!-- end-user-doc -->
1063 * @param object the target of the switch.
1064 * @return the result of interpreting the object as an instance of '<em>ALS Join</em>'.
1065 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1066 * @generated
1067 */
1068 public T caseALSJoin(ALSJoin object)
1069 {
1070 return null;
1071 }
1072
1073 /**
1074 * Returns the result of interpreting the object as an instance of '<em>ALS Minus</em>'.
1075 * <!-- begin-user-doc -->
1076 * This implementation returns null;
1077 * returning a non-null result will terminate the switch.
1078 * <!-- end-user-doc -->
1079 * @param object the target of the switch.
1080 * @return the result of interpreting the object as an instance of '<em>ALS Minus</em>'.
1081 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1082 * @generated
1083 */
1084 public T caseALSMinus(ALSMinus object)
1085 {
1086 return null;
1087 }
1088
1089 /**
1090 * Returns the result of interpreting the object as an instance of '<em>ALS Plus</em>'.
1091 * <!-- begin-user-doc -->
1092 * This implementation returns null;
1093 * returning a non-null result will terminate the switch.
1094 * <!-- end-user-doc -->
1095 * @param object the target of the switch.
1096 * @return the result of interpreting the object as an instance of '<em>ALS Plus</em>'.
1097 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1098 * @generated
1099 */
1100 public T caseALSPlus(ALSPlus object)
1101 {
1102 return null;
1103 }
1104
1105 /**
1106 * Returns the result of interpreting the object as an instance of '<em>ALS Intersection</em>'.
1107 * <!-- begin-user-doc -->
1108 * This implementation returns null;
1109 * returning a non-null result will terminate the switch.
1110 * <!-- end-user-doc -->
1111 * @param object the target of the switch.
1112 * @return the result of interpreting the object as an instance of '<em>ALS Intersection</em>'.
1113 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1114 * @generated
1115 */
1116 public T caseALSIntersection(ALSIntersection object)
1117 {
1118 return null;
1119 }
1120
1121 /**
1122 * Returns the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'.
1123 * <!-- begin-user-doc -->
1124 * This implementation returns null;
1125 * returning a non-null result will terminate the switch.
1126 * <!-- end-user-doc -->
1127 * @param object the target of the switch.
1128 * @return the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'.
1129 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1130 * @generated
1131 */
1132 public T caseALSDirectProduct(ALSDirectProduct object)
1133 {
1134 return null;
1135 }
1136
1137 /**
1138 * Returns the result of interpreting the object as an instance of '<em>ALS Not</em>'.
1139 * <!-- begin-user-doc -->
1140 * This implementation returns null;
1141 * returning a non-null result will terminate the switch.
1142 * <!-- end-user-doc -->
1143 * @param object the target of the switch.
1144 * @return the result of interpreting the object as an instance of '<em>ALS Not</em>'.
1145 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1146 * @generated
1147 */
1148 public T caseALSNot(ALSNot object)
1149 {
1150 return null;
1151 }
1152
1153 /**
1154 * Returns the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'.
1155 * <!-- begin-user-doc -->
1156 * This implementation returns null;
1157 * returning a non-null result will terminate the switch.
1158 * <!-- end-user-doc -->
1159 * @param object the target of the switch.
1160 * @return the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'.
1161 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1162 * @generated
1163 */
1164 public T caseALSInverseRelation(ALSInverseRelation object)
1165 {
1166 return null;
1167 }
1168
1169 /**
1170 * Returns the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'.
1171 * <!-- begin-user-doc -->
1172 * This implementation returns null;
1173 * returning a non-null result will terminate the switch.
1174 * <!-- end-user-doc -->
1175 * @param object the target of the switch.
1176 * @return the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'.
1177 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1178 * @generated
1179 */
1180 public T caseAlSTransitiveClosure(AlSTransitiveClosure object)
1181 {
1182 return null;
1183 }
1184
1185 /**
1186 * Returns the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'.
1187 * <!-- begin-user-doc -->
1188 * This implementation returns null;
1189 * returning a non-null result will terminate the switch.
1190 * <!-- end-user-doc -->
1191 * @param object the target of the switch.
1192 * @return the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'.
1193 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1194 * @generated
1195 */
1196 public T caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object)
1197 {
1198 return null;
1199 }
1200
1201 /**
1202 * Returns the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'.
1203 * <!-- begin-user-doc -->
1204 * This implementation returns null;
1205 * returning a non-null result will terminate the switch.
1206 * <!-- end-user-doc -->
1207 * @param object the target of the switch.
1208 * @return the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'.
1209 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1210 * @generated
1211 */
1212 public T caseALSCardinality(ALSCardinality object)
1213 {
1214 return null;
1215 }
1216
1217 /**
1218 * Returns the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'.
1219 * <!-- begin-user-doc -->
1220 * This implementation returns null;
1221 * returning a non-null result will terminate the switch.
1222 * <!-- end-user-doc -->
1223 * @param object the target of the switch.
1224 * @return the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'.
1225 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1226 * @generated
1227 */
1228 public T caseALSUnaryMinus(ALSUnaryMinus object)
1229 {
1230 return null;
1231 }
1232
1233 /**
1234 * Returns the result of interpreting the object as an instance of '<em>ALS Sum</em>'.
1235 * <!-- begin-user-doc -->
1236 * This implementation returns null;
1237 * returning a non-null result will terminate the switch.
1238 * <!-- end-user-doc -->
1239 * @param object the target of the switch.
1240 * @return the result of interpreting the object as an instance of '<em>ALS Sum</em>'.
1241 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1242 * @generated
1243 */
1244 public T caseALSSum(ALSSum object)
1245 {
1246 return null;
1247 }
1248
1249 /**
1250 * Returns the result of interpreting the object as an instance of '<em>ALS Function Call</em>'.
1251 * <!-- begin-user-doc -->
1252 * This implementation returns null;
1253 * returning a non-null result will terminate the switch.
1254 * <!-- end-user-doc -->
1255 * @param object the target of the switch.
1256 * @return the result of interpreting the object as an instance of '<em>ALS Function Call</em>'.
1257 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1258 * @generated
1259 */
1260 public T caseALSFunctionCall(ALSFunctionCall object)
1261 {
1262 return null;
1263 }
1264
1265 /**
1266 * Returns the result of interpreting the object as an instance of '<em>ALS None</em>'.
1267 * <!-- begin-user-doc -->
1268 * This implementation returns null;
1269 * returning a non-null result will terminate the switch.
1270 * <!-- end-user-doc -->
1271 * @param object the target of the switch.
1272 * @return the result of interpreting the object as an instance of '<em>ALS None</em>'.
1273 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1274 * @generated
1275 */
1276 public T caseALSNone(ALSNone object)
1277 {
1278 return null;
1279 }
1280
1281 /**
1282 * Returns the result of interpreting the object as an instance of '<em>ALS Iden</em>'.
1283 * <!-- begin-user-doc -->
1284 * This implementation returns null;
1285 * returning a non-null result will terminate the switch.
1286 * <!-- end-user-doc -->
1287 * @param object the target of the switch.
1288 * @return the result of interpreting the object as an instance of '<em>ALS Iden</em>'.
1289 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1290 * @generated
1291 */
1292 public T caseALSIden(ALSIden object)
1293 {
1294 return null;
1295 }
1296
1297 /**
1298 * Returns the result of interpreting the object as an instance of '<em>ALS Univ</em>'.
1299 * <!-- begin-user-doc -->
1300 * This implementation returns null;
1301 * returning a non-null result will terminate the switch.
1302 * <!-- end-user-doc -->
1303 * @param object the target of the switch.
1304 * @return the result of interpreting the object as an instance of '<em>ALS Univ</em>'.
1305 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1306 * @generated
1307 */
1308 public T caseALSUniv(ALSUniv object)
1309 {
1310 return null;
1311 }
1312
1313 /**
1314 * Returns the result of interpreting the object as an instance of '<em>ALS Int</em>'.
1315 * <!-- begin-user-doc -->
1316 * This implementation returns null;
1317 * returning a non-null result will terminate the switch.
1318 * <!-- end-user-doc -->
1319 * @param object the target of the switch.
1320 * @return the result of interpreting the object as an instance of '<em>ALS Int</em>'.
1321 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1322 * @generated
1323 */
1324 public T caseALSInt(ALSInt object)
1325 {
1326 return null;
1327 }
1328
1329 /**
1330 * Returns the result of interpreting the object as an instance of '<em>ALS String</em>'.
1331 * <!-- begin-user-doc -->
1332 * This implementation returns null;
1333 * returning a non-null result will terminate the switch.
1334 * <!-- end-user-doc -->
1335 * @param object the target of the switch.
1336 * @return the result of interpreting the object as an instance of '<em>ALS String</em>'.
1337 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1338 * @generated
1339 */
1340 public T caseALSString(ALSString object)
1341 {
1342 return null;
1343 }
1344
1345 /**
1346 * Returns the result of interpreting the object as an instance of '<em>ALS Reference</em>'.
1347 * <!-- begin-user-doc -->
1348 * This implementation returns null;
1349 * returning a non-null result will terminate the switch.
1350 * <!-- end-user-doc -->
1351 * @param object the target of the switch.
1352 * @return the result of interpreting the object as an instance of '<em>ALS Reference</em>'.
1353 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1354 * @generated
1355 */
1356 public T caseALSReference(ALSReference object)
1357 {
1358 return null;
1359 }
1360
1361 /**
1362 * Returns the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'.
1363 * <!-- begin-user-doc -->
1364 * This implementation returns null;
1365 * returning a non-null result will terminate the switch.
1366 * <!-- end-user-doc -->
1367 * @param object the target of the switch.
1368 * @return the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'.
1369 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1370 * @generated
1371 */
1372 public T caseALSNumberLiteral(ALSNumberLiteral object)
1373 {
1374 return null;
1375 }
1376
1377 /**
1378 * Returns the result of interpreting the object as an instance of '<em>ALS String Literal</em>'.
1379 * <!-- begin-user-doc -->
1380 * This implementation returns null;
1381 * returning a non-null result will terminate the switch.
1382 * <!-- end-user-doc -->
1383 * @param object the target of the switch.
1384 * @return the result of interpreting the object as an instance of '<em>ALS String Literal</em>'.
1385 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1386 * @generated
1387 */
1388 public T caseALSStringLiteral(ALSStringLiteral object)
1389 {
1390 return null;
1391 }
1392
1393 /**
1394 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
1395 * <!-- begin-user-doc -->
1396 * This implementation returns null;
1397 * returning a non-null result will terminate the switch, but this is the last case anyway.
1398 * <!-- end-user-doc -->
1399 * @param object the target of the switch.
1400 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
1401 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
1402 * @generated
1403 */
1404 @Override
1405 public T defaultCase(EObject object)
1406 {
1407 return null;
1408 }
1409
1410} //AlloyLanguageSwitch
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java
deleted file mode 100644
index a1a2e48a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java
+++ /dev/null
@@ -1,16 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.parser.antlr;
5
6import java.io.InputStream;
7import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
8
9public class AlloyLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider {
10
11 @Override
12 public InputStream getAntlrTokenFile() {
13 ClassLoader classLoader = getClass().getClassLoader();
14 return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens");
15 }
16}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java
deleted file mode 100644
index b1e11c01..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.parser.antlr;
5
6import com.google.inject.Inject;
7
8import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
10
11public class AlloyLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
12
13 @Inject
14 private AlloyLanguageGrammarAccess grammarAccess;
15
16 @Override
17 protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
18 tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
19 }
20
21 @Override
22 protected hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageParser createParser(XtextTokenStream stream) {
23 return new hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageParser(stream, getGrammarAccess());
24 }
25
26 @Override
27 protected String getDefaultRuleName() {
28 return "ALSDocument";
29 }
30
31 public AlloyLanguageGrammarAccess getGrammarAccess() {
32 return this.grammarAccess;
33 }
34
35 public void setGrammarAccess(AlloyLanguageGrammarAccess grammarAccess) {
36 this.grammarAccess = grammarAccess;
37 }
38
39}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g
deleted file mode 100644
index 83f2ee24..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g
+++ /dev/null
@@ -1,3139 +0,0 @@
1/*
2 * generated by Xtext
3 */
4grammar InternalAlloyLanguage;
5
6options {
7 superClass=AbstractInternalAntlrParser;
8
9}
10
11@lexer::header {
12package hu.bme.mit.inf.dslreasoner.parser.antlr.internal;
13
14// Hack: Use our own Lexer superclass by means of import.
15// Currently there is no other way to specify the superclass for the lexer.
16import org.eclipse.xtext.parser.antlr.Lexer;
17}
18
19@parser::header {
20package hu.bme.mit.inf.dslreasoner.parser.antlr.internal;
21
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.emf.common.util.Enumerator;
28import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
29import org.eclipse.xtext.parser.antlr.XtextTokenStream;
30import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
31import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
32import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
33
34}
35
36@parser::members {
37
38 private AlloyLanguageGrammarAccess grammarAccess;
39
40 public InternalAlloyLanguageParser(TokenStream input, AlloyLanguageGrammarAccess grammarAccess) {
41 this(input);
42 this.grammarAccess = grammarAccess;
43 registerRules(grammarAccess.getGrammar());
44 }
45
46 @Override
47 protected String getFirstRuleName() {
48 return "ALSDocument";
49 }
50
51 @Override
52 protected AlloyLanguageGrammarAccess getGrammarAccess() {
53 return grammarAccess;
54 }
55}
56
57@rulecatch {
58 catch (RecognitionException re) {
59 recover(input,re);
60 appendSkippedTokens();
61 }
62}
63
64
65
66
67// Entry rule entryRuleALSDocument
68entryRuleALSDocument returns [EObject current=null]
69 :
70 { newCompositeNode(grammarAccess.getALSDocumentRule()); }
71 iv_ruleALSDocument=ruleALSDocument
72 { $current=$iv_ruleALSDocument.current; }
73 EOF
74;
75
76// Rule ALSDocument
77ruleALSDocument returns [EObject current=null]
78 @init { enterRule();
79 }
80 @after { leaveRule(); }:
81(((
82(
83 {
84 newCompositeNode(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0());
85 }
86 lv_enumDeclarations_0_0=ruleALSEnumDeclaration {
87 if ($current==null) {
88 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
89 }
90 add(
91 $current,
92 "enumDeclarations",
93 lv_enumDeclarations_0_0,
94 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration");
95 afterParserOrEnumRuleCall();
96 }
97
98)
99)
100 |(
101(
102 {
103 newCompositeNode(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0());
104 }
105 lv_signatureBodies_1_0=ruleALSSignatureBody {
106 if ($current==null) {
107 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
108 }
109 add(
110 $current,
111 "signatureBodies",
112 lv_signatureBodies_1_0,
113 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody");
114 afterParserOrEnumRuleCall();
115 }
116
117)
118)
119 |(
120(
121 {
122 newCompositeNode(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0());
123 }
124 lv_functionDefinitions_2_0=ruleALSFunctionDefinition {
125 if ($current==null) {
126 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
127 }
128 add(
129 $current,
130 "functionDefinitions",
131 lv_functionDefinitions_2_0,
132 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition");
133 afterParserOrEnumRuleCall();
134 }
135
136)
137)
138 |(
139(
140 {
141 newCompositeNode(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0());
142 }
143 lv_relationDefinitions_3_0=ruleALSRelationDefinition {
144 if ($current==null) {
145 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
146 }
147 add(
148 $current,
149 "relationDefinitions",
150 lv_relationDefinitions_3_0,
151 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition");
152 afterParserOrEnumRuleCall();
153 }
154
155)
156)
157 |(
158(
159 {
160 newCompositeNode(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0());
161 }
162 lv_factDeclarations_4_0=ruleALSFactDeclaration {
163 if ($current==null) {
164 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
165 }
166 add(
167 $current,
168 "factDeclarations",
169 lv_factDeclarations_4_0,
170 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration");
171 afterParserOrEnumRuleCall();
172 }
173
174)
175))+(
176(
177 {
178 newCompositeNode(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0());
179 }
180 lv_runCommand_5_0=ruleALSRunCommand {
181 if ($current==null) {
182 $current = createModelElementForParent(grammarAccess.getALSDocumentRule());
183 }
184 set(
185 $current,
186 "runCommand",
187 lv_runCommand_5_0,
188 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand");
189 afterParserOrEnumRuleCall();
190 }
191
192)
193))
194;
195
196
197
198
199
200// Entry rule entryRuleALSID
201entryRuleALSID returns [String current=null]
202 :
203 { newCompositeNode(grammarAccess.getALSIDRule()); }
204 iv_ruleALSID=ruleALSID
205 { $current=$iv_ruleALSID.current.getText(); }
206 EOF
207;
208
209// Rule ALSID
210ruleALSID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
211 @init { enterRule();
212 }
213 @after { leaveRule(); }:
214 this_ID_0=RULE_ID {
215 $current.merge(this_ID_0);
216 }
217
218 {
219 newLeafNode(this_ID_0, grammarAccess.getALSIDAccess().getIDTerminalRuleCall());
220 }
221
222 ;
223
224
225
226
227
228
229
230// Entry rule entryRuleALSTypeDeclaration
231entryRuleALSTypeDeclaration returns [EObject current=null]
232 :
233 { newCompositeNode(grammarAccess.getALSTypeDeclarationRule()); }
234 iv_ruleALSTypeDeclaration=ruleALSTypeDeclaration
235 { $current=$iv_ruleALSTypeDeclaration.current; }
236 EOF
237;
238
239// Rule ALSTypeDeclaration
240ruleALSTypeDeclaration returns [EObject current=null]
241 @init { enterRule();
242 }
243 @after { leaveRule(); }:
244(
245 {
246 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0());
247 }
248 this_ALSEnumDeclaration_0=ruleALSEnumDeclaration
249 {
250 $current = $this_ALSEnumDeclaration_0.current;
251 afterParserOrEnumRuleCall();
252 }
253
254 |
255 {
256 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1());
257 }
258 this_ALSSignatureDeclaration_1=ruleALSSignatureDeclaration
259 {
260 $current = $this_ALSSignatureDeclaration_1.current;
261 afterParserOrEnumRuleCall();
262 }
263)
264;
265
266
267
268
269
270// Entry rule entryRuleALSEnumDeclaration
271entryRuleALSEnumDeclaration returns [EObject current=null]
272 :
273 { newCompositeNode(grammarAccess.getALSEnumDeclarationRule()); }
274 iv_ruleALSEnumDeclaration=ruleALSEnumDeclaration
275 { $current=$iv_ruleALSEnumDeclaration.current; }
276 EOF
277;
278
279// Rule ALSEnumDeclaration
280ruleALSEnumDeclaration returns [EObject current=null]
281 @init { enterRule();
282 }
283 @after { leaveRule(); }:
284( otherlv_0='enum'
285 {
286 newLeafNode(otherlv_0, grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0());
287 }
288(
289(
290 {
291 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0());
292 }
293 lv_name_1_0=ruleALSID {
294 if ($current==null) {
295 $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
296 }
297 set(
298 $current,
299 "name",
300 lv_name_1_0,
301 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
302 afterParserOrEnumRuleCall();
303 }
304
305)
306) otherlv_2='{'
307 {
308 newLeafNode(otherlv_2, grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2());
309 }
310(
311(
312 {
313 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0());
314 }
315 lv_literal_3_0=ruleALSEnumLiteral {
316 if ($current==null) {
317 $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
318 }
319 add(
320 $current,
321 "literal",
322 lv_literal_3_0,
323 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
324 afterParserOrEnumRuleCall();
325 }
326
327)
328)( otherlv_4=','
329 {
330 newLeafNode(otherlv_4, grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0());
331 }
332(
333(
334 {
335 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0());
336 }
337 lv_literal_5_0=ruleALSEnumLiteral {
338 if ($current==null) {
339 $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
340 }
341 add(
342 $current,
343 "literal",
344 lv_literal_5_0,
345 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
346 afterParserOrEnumRuleCall();
347 }
348
349)
350))* otherlv_6='}'
351 {
352 newLeafNode(otherlv_6, grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5());
353 }
354)
355;
356
357
358
359
360
361// Entry rule entryRuleALSEnumLiteral
362entryRuleALSEnumLiteral returns [EObject current=null]
363 :
364 { newCompositeNode(grammarAccess.getALSEnumLiteralRule()); }
365 iv_ruleALSEnumLiteral=ruleALSEnumLiteral
366 { $current=$iv_ruleALSEnumLiteral.current; }
367 EOF
368;
369
370// Rule ALSEnumLiteral
371ruleALSEnumLiteral returns [EObject current=null]
372 @init { enterRule();
373 }
374 @after { leaveRule(); }:
375(
376(
377 {
378 newCompositeNode(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0());
379 }
380 lv_name_0_0=ruleALSID {
381 if ($current==null) {
382 $current = createModelElementForParent(grammarAccess.getALSEnumLiteralRule());
383 }
384 set(
385 $current,
386 "name",
387 lv_name_0_0,
388 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
389 afterParserOrEnumRuleCall();
390 }
391
392)
393)
394;
395
396
397
398
399
400// Entry rule entryRuleALSSignatureDeclaration
401entryRuleALSSignatureDeclaration returns [EObject current=null]
402 :
403 { newCompositeNode(grammarAccess.getALSSignatureDeclarationRule()); }
404 iv_ruleALSSignatureDeclaration=ruleALSSignatureDeclaration
405 { $current=$iv_ruleALSSignatureDeclaration.current; }
406 EOF
407;
408
409// Rule ALSSignatureDeclaration
410ruleALSSignatureDeclaration returns [EObject current=null]
411 @init { enterRule();
412 }
413 @after { leaveRule(); }:
414(
415(
416 {
417 newCompositeNode(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0());
418 }
419 lv_name_0_0=ruleALSID {
420 if ($current==null) {
421 $current = createModelElementForParent(grammarAccess.getALSSignatureDeclarationRule());
422 }
423 set(
424 $current,
425 "name",
426 lv_name_0_0,
427 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
428 afterParserOrEnumRuleCall();
429 }
430
431)
432)
433;
434
435
436
437
438
439// Entry rule entryRuleALSSignatureBody
440entryRuleALSSignatureBody returns [EObject current=null]
441 :
442 { newCompositeNode(grammarAccess.getALSSignatureBodyRule()); }
443 iv_ruleALSSignatureBody=ruleALSSignatureBody
444 { $current=$iv_ruleALSSignatureBody.current; }
445 EOF
446;
447
448// Rule ALSSignatureBody
449ruleALSSignatureBody returns [EObject current=null]
450 @init { enterRule();
451 }
452 @after { leaveRule(); }:
453((
454
455(
456 {
457 getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
458 }
459 (
460 (
461
462 (
463 {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)}?=>(
464 {
465 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
466 }
467 ({true}?=>(
468(
469 {
470 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0());
471 }
472 lv_multiplicity_1_0=ruleALSMultiplicity {
473 if ($current==null) {
474 $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
475 }
476 set(
477 $current,
478 "multiplicity",
479 lv_multiplicity_1_0,
480 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
481 afterParserOrEnumRuleCall();
482 }
483
484)
485))
486 {
487 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
488 }
489 )
490 ) |
491
492 (
493 {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)}?=>(
494 {
495 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1);
496 }
497 ({true}?=>(
498(
499 lv_abstract_2_0= 'abstract'
500 {
501 newLeafNode(lv_abstract_2_0, grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
502 }
503
504 {
505 if ($current==null) {
506 $current = createModelElement(grammarAccess.getALSSignatureBodyRule());
507 }
508 setWithLastConsumed($current, "abstract", true, "abstract");
509 }
510
511)
512))
513 {
514 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
515 }
516 )
517 )
518
519 )*
520 )
521)
522 {
523 getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
524 }
525
526) otherlv_3='sig'
527 {
528 newLeafNode(otherlv_3, grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1());
529 }
530(
531(
532 {
533 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0());
534 }
535 lv_declarations_4_0=ruleALSSignatureDeclaration {
536 if ($current==null) {
537 $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
538 }
539 add(
540 $current,
541 "declarations",
542 lv_declarations_4_0,
543 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
544 afterParserOrEnumRuleCall();
545 }
546
547)
548)( otherlv_5=','
549 {
550 newLeafNode(otherlv_5, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0());
551 }
552(
553(
554 {
555 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0());
556 }
557 lv_declarations_6_0=ruleALSSignatureDeclaration {
558 if ($current==null) {
559 $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
560 }
561 add(
562 $current,
563 "declarations",
564 lv_declarations_6_0,
565 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
566 afterParserOrEnumRuleCall();
567 }
568
569)
570))*(( otherlv_7='extends'
571 {
572 newLeafNode(otherlv_7, grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0());
573 }
574(
575(
576 {
577 if ($current==null) {
578 $current = createModelElement(grammarAccess.getALSSignatureBodyRule());
579 }
580 }
581 otherlv_8=RULE_ID
582 {
583 newLeafNode(otherlv_8, grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0());
584 }
585
586)
587))
588 |( otherlv_9='in'
589 {
590 newLeafNode(otherlv_9, grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0());
591 }
592(
593(
594 {
595 if ($current==null) {
596 $current = createModelElement(grammarAccess.getALSSignatureBodyRule());
597 }
598 }
599 otherlv_10=RULE_ID
600 {
601 newLeafNode(otherlv_10, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0());
602 }
603
604)
605)( otherlv_11='+'
606 {
607 newLeafNode(otherlv_11, grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0());
608 }
609(
610(
611 {
612 if ($current==null) {
613 $current = createModelElement(grammarAccess.getALSSignatureBodyRule());
614 }
615 }
616 otherlv_12=RULE_ID
617 {
618 newLeafNode(otherlv_12, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0());
619 }
620
621)
622))*))? otherlv_13='{'
623 {
624 newLeafNode(otherlv_13, grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5());
625 }
626((
627(
628 {
629 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0());
630 }
631 lv_fields_14_0=ruleALSFieldDeclaration {
632 if ($current==null) {
633 $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
634 }
635 add(
636 $current,
637 "fields",
638 lv_fields_14_0,
639 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
640 afterParserOrEnumRuleCall();
641 }
642
643)
644)( otherlv_15=','
645 {
646 newLeafNode(otherlv_15, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0());
647 }
648(
649(
650 {
651 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0());
652 }
653 lv_fields_16_0=ruleALSFieldDeclaration {
654 if ($current==null) {
655 $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
656 }
657 add(
658 $current,
659 "fields",
660 lv_fields_16_0,
661 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
662 afterParserOrEnumRuleCall();
663 }
664
665)
666))*)? otherlv_17='}'
667 {
668 newLeafNode(otherlv_17, grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7());
669 }
670)
671;
672
673
674
675
676
677// Entry rule entryRuleALSFieldDeclaration
678entryRuleALSFieldDeclaration returns [EObject current=null]
679 :
680 { newCompositeNode(grammarAccess.getALSFieldDeclarationRule()); }
681 iv_ruleALSFieldDeclaration=ruleALSFieldDeclaration
682 { $current=$iv_ruleALSFieldDeclaration.current; }
683 EOF
684;
685
686// Rule ALSFieldDeclaration
687ruleALSFieldDeclaration returns [EObject current=null]
688 @init { enterRule();
689 }
690 @after { leaveRule(); }:
691((
692(
693 {
694 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0());
695 }
696 lv_name_0_0=ruleALSID {
697 if ($current==null) {
698 $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
699 }
700 set(
701 $current,
702 "name",
703 lv_name_0_0,
704 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
705 afterParserOrEnumRuleCall();
706 }
707
708)
709) otherlv_1=':'
710 {
711 newLeafNode(otherlv_1, grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1());
712 }
713(
714(
715 {
716 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0());
717 }
718 lv_multiplicity_2_0=ruleALSMultiplicity {
719 if ($current==null) {
720 $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
721 }
722 set(
723 $current,
724 "multiplicity",
725 lv_multiplicity_2_0,
726 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
727 afterParserOrEnumRuleCall();
728 }
729
730)
731)?(
732(
733 {
734 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0());
735 }
736 lv_type_3_0=ruleALSTerm {
737 if ($current==null) {
738 $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
739 }
740 set(
741 $current,
742 "type",
743 lv_type_3_0,
744 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
745 afterParserOrEnumRuleCall();
746 }
747
748)
749))
750;
751
752
753
754
755
756
757
758// Entry rule entryRuleALSFunctionDefinition
759entryRuleALSFunctionDefinition returns [EObject current=null]
760 :
761 { newCompositeNode(grammarAccess.getALSFunctionDefinitionRule()); }
762 iv_ruleALSFunctionDefinition=ruleALSFunctionDefinition
763 { $current=$iv_ruleALSFunctionDefinition.current; }
764 EOF
765;
766
767// Rule ALSFunctionDefinition
768ruleALSFunctionDefinition returns [EObject current=null]
769 @init { enterRule();
770 }
771 @after { leaveRule(); }:
772( otherlv_0='fun'
773 {
774 newLeafNode(otherlv_0, grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0());
775 }
776(
777(
778 {
779 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0());
780 }
781 lv_name_1_0=ruleALSID {
782 if ($current==null) {
783 $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
784 }
785 set(
786 $current,
787 "name",
788 lv_name_1_0,
789 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
790 afterParserOrEnumRuleCall();
791 }
792
793)
794) otherlv_2='['
795 {
796 newLeafNode(otherlv_2, grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2());
797 }
798(
799(
800 {
801 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
802 }
803 lv_variables_3_0=ruleALSVariableDeclaration {
804 if ($current==null) {
805 $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
806 }
807 add(
808 $current,
809 "variables",
810 lv_variables_3_0,
811 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
812 afterParserOrEnumRuleCall();
813 }
814
815)
816)( otherlv_4=','
817 {
818 newLeafNode(otherlv_4, grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0());
819 }
820(
821(
822 {
823 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
824 }
825 lv_variables_5_0=ruleALSVariableDeclaration {
826 if ($current==null) {
827 $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
828 }
829 add(
830 $current,
831 "variables",
832 lv_variables_5_0,
833 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
834 afterParserOrEnumRuleCall();
835 }
836
837)
838))* otherlv_6=']'
839 {
840 newLeafNode(otherlv_6, grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5());
841 }
842 otherlv_7=':'
843 {
844 newLeafNode(otherlv_7, grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6());
845 }
846(
847(
848 {
849 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0());
850 }
851 lv_type_8_0=ruleALSTerm {
852 if ($current==null) {
853 $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
854 }
855 set(
856 $current,
857 "type",
858 lv_type_8_0,
859 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
860 afterParserOrEnumRuleCall();
861 }
862
863)
864) otherlv_9='{'
865 {
866 newLeafNode(otherlv_9, grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8());
867 }
868(
869(
870 {
871 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0());
872 }
873 lv_value_10_0=ruleALSTerm {
874 if ($current==null) {
875 $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
876 }
877 set(
878 $current,
879 "value",
880 lv_value_10_0,
881 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
882 afterParserOrEnumRuleCall();
883 }
884
885)
886) otherlv_11='}'
887 {
888 newLeafNode(otherlv_11, grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10());
889 }
890)
891;
892
893
894
895
896
897// Entry rule entryRuleALSRelationDefinition
898entryRuleALSRelationDefinition returns [EObject current=null]
899 :
900 { newCompositeNode(grammarAccess.getALSRelationDefinitionRule()); }
901 iv_ruleALSRelationDefinition=ruleALSRelationDefinition
902 { $current=$iv_ruleALSRelationDefinition.current; }
903 EOF
904;
905
906// Rule ALSRelationDefinition
907ruleALSRelationDefinition returns [EObject current=null]
908 @init { enterRule();
909 }
910 @after { leaveRule(); }:
911( otherlv_0='pred'
912 {
913 newLeafNode(otherlv_0, grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0());
914 }
915(
916(
917 {
918 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0());
919 }
920 lv_name_1_0=ruleALSID {
921 if ($current==null) {
922 $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
923 }
924 set(
925 $current,
926 "name",
927 lv_name_1_0,
928 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
929 afterParserOrEnumRuleCall();
930 }
931
932)
933) otherlv_2='['
934 {
935 newLeafNode(otherlv_2, grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2());
936 }
937(
938(
939 {
940 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
941 }
942 lv_variables_3_0=ruleALSVariableDeclaration {
943 if ($current==null) {
944 $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
945 }
946 add(
947 $current,
948 "variables",
949 lv_variables_3_0,
950 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
951 afterParserOrEnumRuleCall();
952 }
953
954)
955)( otherlv_4=','
956 {
957 newLeafNode(otherlv_4, grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0());
958 }
959(
960(
961 {
962 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
963 }
964 lv_variables_5_0=ruleALSVariableDeclaration {
965 if ($current==null) {
966 $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
967 }
968 add(
969 $current,
970 "variables",
971 lv_variables_5_0,
972 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
973 afterParserOrEnumRuleCall();
974 }
975
976)
977))* otherlv_6=']'
978 {
979 newLeafNode(otherlv_6, grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5());
980 }
981 otherlv_7='{'
982 {
983 newLeafNode(otherlv_7, grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6());
984 }
985(
986(
987 {
988 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0());
989 }
990 lv_value_8_0=ruleALSTerm {
991 if ($current==null) {
992 $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
993 }
994 set(
995 $current,
996 "value",
997 lv_value_8_0,
998 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
999 afterParserOrEnumRuleCall();
1000 }
1001
1002)
1003) otherlv_9='}'
1004 {
1005 newLeafNode(otherlv_9, grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8());
1006 }
1007)
1008;
1009
1010
1011
1012
1013
1014// Entry rule entryRuleALSFactDeclaration
1015entryRuleALSFactDeclaration returns [EObject current=null]
1016 :
1017 { newCompositeNode(grammarAccess.getALSFactDeclarationRule()); }
1018 iv_ruleALSFactDeclaration=ruleALSFactDeclaration
1019 { $current=$iv_ruleALSFactDeclaration.current; }
1020 EOF
1021;
1022
1023// Rule ALSFactDeclaration
1024ruleALSFactDeclaration returns [EObject current=null]
1025 @init { enterRule();
1026 }
1027 @after { leaveRule(); }:
1028((
1029 {
1030 $current = forceCreateModelElement(
1031 grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0(),
1032 $current);
1033 }
1034) otherlv_1='fact'
1035 {
1036 newLeafNode(otherlv_1, grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1());
1037 }
1038(
1039(
1040 {
1041 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0());
1042 }
1043 lv_name_2_0=ruleALSID {
1044 if ($current==null) {
1045 $current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
1046 }
1047 set(
1048 $current,
1049 "name",
1050 lv_name_2_0,
1051 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1052 afterParserOrEnumRuleCall();
1053 }
1054
1055)
1056)? otherlv_3='{'
1057 {
1058 newLeafNode(otherlv_3, grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3());
1059 }
1060(
1061(
1062 {
1063 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0());
1064 }
1065 lv_term_4_0=ruleALSTerm {
1066 if ($current==null) {
1067 $current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
1068 }
1069 set(
1070 $current,
1071 "term",
1072 lv_term_4_0,
1073 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
1074 afterParserOrEnumRuleCall();
1075 }
1076
1077)
1078) otherlv_5='}'
1079 {
1080 newLeafNode(otherlv_5, grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5());
1081 }
1082)
1083;
1084
1085
1086
1087
1088
1089// Entry rule entryRuleALSTerm
1090entryRuleALSTerm returns [EObject current=null]
1091 :
1092 { newCompositeNode(grammarAccess.getALSTermRule()); }
1093 iv_ruleALSTerm=ruleALSTerm
1094 { $current=$iv_ruleALSTerm.current; }
1095 EOF
1096;
1097
1098// Rule ALSTerm
1099ruleALSTerm returns [EObject current=null]
1100 @init { enterRule();
1101 }
1102 @after { leaveRule(); }:
1103
1104 {
1105 newCompositeNode(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall());
1106 }
1107 this_ALSQuantified_0=ruleALSQuantified
1108 {
1109 $current = $this_ALSQuantified_0.current;
1110 afterParserOrEnumRuleCall();
1111 }
1112
1113;
1114
1115
1116
1117
1118
1119// Entry rule entryRuleALSQuantified
1120entryRuleALSQuantified returns [EObject current=null]
1121 :
1122 { newCompositeNode(grammarAccess.getALSQuantifiedRule()); }
1123 iv_ruleALSQuantified=ruleALSQuantified
1124 { $current=$iv_ruleALSQuantified.current; }
1125 EOF
1126;
1127
1128// Rule ALSQuantified
1129ruleALSQuantified returns [EObject current=null]
1130 @init { enterRule();
1131 }
1132 @after { leaveRule(); }:
1133(((
1134 {
1135 $current = forceCreateModelElement(
1136 grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0(),
1137 $current);
1138 }
1139)(
1140(
1141 {
1142 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0());
1143 }
1144 lv_type_1_0=ruleALSMultiplicity {
1145 if ($current==null) {
1146 $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
1147 }
1148 set(
1149 $current,
1150 "type",
1151 lv_type_1_0,
1152 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1153 afterParserOrEnumRuleCall();
1154 }
1155
1156)
1157)(
1158(
1159 lv_disj_2_0= 'disj'
1160 {
1161 newLeafNode(lv_disj_2_0, grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
1162 }
1163
1164 {
1165 if ($current==null) {
1166 $current = createModelElement(grammarAccess.getALSQuantifiedRule());
1167 }
1168 setWithLastConsumed($current, "disj", true, "disj");
1169 }
1170
1171)
1172)?(
1173(
1174 {
1175 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0());
1176 }
1177 lv_variables_3_0=ruleALSVariableDeclaration {
1178 if ($current==null) {
1179 $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
1180 }
1181 add(
1182 $current,
1183 "variables",
1184 lv_variables_3_0,
1185 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
1186 afterParserOrEnumRuleCall();
1187 }
1188
1189)
1190)( otherlv_4=','
1191 {
1192 newLeafNode(otherlv_4, grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0());
1193 }
1194(
1195(
1196 {
1197 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0());
1198 }
1199 lv_variables_5_0=ruleALSVariableDeclaration {
1200 if ($current==null) {
1201 $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
1202 }
1203 add(
1204 $current,
1205 "variables",
1206 lv_variables_5_0,
1207 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
1208 afterParserOrEnumRuleCall();
1209 }
1210
1211)
1212))* otherlv_6='{'
1213 {
1214 newLeafNode(otherlv_6, grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5());
1215 }
1216(
1217(
1218 {
1219 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0());
1220 }
1221 lv_expression_7_0=ruleALSTerm {
1222 if ($current==null) {
1223 $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
1224 }
1225 set(
1226 $current,
1227 "expression",
1228 lv_expression_7_0,
1229 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
1230 afterParserOrEnumRuleCall();
1231 }
1232
1233)
1234) otherlv_8='}'
1235 {
1236 newLeafNode(otherlv_8, grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7());
1237 }
1238)
1239 |
1240 {
1241 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1());
1242 }
1243 this_ALSOr_9=ruleALSOr
1244 {
1245 $current = $this_ALSOr_9.current;
1246 afterParserOrEnumRuleCall();
1247 }
1248)
1249;
1250
1251
1252
1253
1254
1255// Entry rule entryRuleALSOr
1256entryRuleALSOr returns [EObject current=null]
1257 :
1258 { newCompositeNode(grammarAccess.getALSOrRule()); }
1259 iv_ruleALSOr=ruleALSOr
1260 { $current=$iv_ruleALSOr.current; }
1261 EOF
1262;
1263
1264// Rule ALSOr
1265ruleALSOr returns [EObject current=null]
1266 @init { enterRule();
1267 }
1268 @after { leaveRule(); }:
1269(
1270 {
1271 newCompositeNode(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0());
1272 }
1273 this_ALSIff_0=ruleALSIff
1274 {
1275 $current = $this_ALSIff_0.current;
1276 afterParserOrEnumRuleCall();
1277 }
1278((
1279 {
1280 $current = forceCreateModelElementAndSet(
1281 grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(),
1282 $current);
1283 }
1284)( otherlv_2='||'
1285 {
1286 newLeafNode(otherlv_2, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0());
1287 }
1288
1289 | otherlv_3='or'
1290 {
1291 newLeafNode(otherlv_3, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1());
1292 }
1293)(
1294(
1295 {
1296 newCompositeNode(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0());
1297 }
1298 lv_rightOperand_4_0=ruleALSIff {
1299 if ($current==null) {
1300 $current = createModelElementForParent(grammarAccess.getALSOrRule());
1301 }
1302 set(
1303 $current,
1304 "rightOperand",
1305 lv_rightOperand_4_0,
1306 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff");
1307 afterParserOrEnumRuleCall();
1308 }
1309
1310)
1311))?)
1312;
1313
1314
1315
1316
1317
1318// Entry rule entryRuleALSIff
1319entryRuleALSIff returns [EObject current=null]
1320 :
1321 { newCompositeNode(grammarAccess.getALSIffRule()); }
1322 iv_ruleALSIff=ruleALSIff
1323 { $current=$iv_ruleALSIff.current; }
1324 EOF
1325;
1326
1327// Rule ALSIff
1328ruleALSIff returns [EObject current=null]
1329 @init { enterRule();
1330 }
1331 @after { leaveRule(); }:
1332(
1333 {
1334 newCompositeNode(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0());
1335 }
1336 this_ALSImpl_0=ruleALSImpl
1337 {
1338 $current = $this_ALSImpl_0.current;
1339 afterParserOrEnumRuleCall();
1340 }
1341((
1342 {
1343 $current = forceCreateModelElementAndSet(
1344 grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(),
1345 $current);
1346 }
1347)( otherlv_2='<=>'
1348 {
1349 newLeafNode(otherlv_2, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0());
1350 }
1351
1352 | otherlv_3='iff'
1353 {
1354 newLeafNode(otherlv_3, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1());
1355 }
1356)(
1357(
1358 {
1359 newCompositeNode(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0());
1360 }
1361 lv_rightOperand_4_0=ruleALSImpl {
1362 if ($current==null) {
1363 $current = createModelElementForParent(grammarAccess.getALSIffRule());
1364 }
1365 set(
1366 $current,
1367 "rightOperand",
1368 lv_rightOperand_4_0,
1369 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl");
1370 afterParserOrEnumRuleCall();
1371 }
1372
1373)
1374))?)
1375;
1376
1377
1378
1379
1380
1381// Entry rule entryRuleALSImpl
1382entryRuleALSImpl returns [EObject current=null]
1383 :
1384 { newCompositeNode(grammarAccess.getALSImplRule()); }
1385 iv_ruleALSImpl=ruleALSImpl
1386 { $current=$iv_ruleALSImpl.current; }
1387 EOF
1388;
1389
1390// Rule ALSImpl
1391ruleALSImpl returns [EObject current=null]
1392 @init { enterRule();
1393 }
1394 @after { leaveRule(); }:
1395(
1396 {
1397 newCompositeNode(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0());
1398 }
1399 this_ALSAnd_0=ruleALSAnd
1400 {
1401 $current = $this_ALSAnd_0.current;
1402 afterParserOrEnumRuleCall();
1403 }
1404((
1405 {
1406 $current = forceCreateModelElementAndSet(
1407 grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0(),
1408 $current);
1409 }
1410)( otherlv_2='=>'
1411 {
1412 newLeafNode(otherlv_2, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0());
1413 }
1414
1415 | otherlv_3='implies'
1416 {
1417 newLeafNode(otherlv_3, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1());
1418 }
1419)(
1420(
1421 {
1422 newCompositeNode(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0());
1423 }
1424 lv_rightOperand_4_0=ruleALSAnd {
1425 if ($current==null) {
1426 $current = createModelElementForParent(grammarAccess.getALSImplRule());
1427 }
1428 set(
1429 $current,
1430 "rightOperand",
1431 lv_rightOperand_4_0,
1432 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
1433 afterParserOrEnumRuleCall();
1434 }
1435
1436)
1437)( otherlv_5='else'
1438 {
1439 newLeafNode(otherlv_5, grammarAccess.getALSImplAccess().getElseKeyword_1_3_0());
1440 }
1441(
1442(
1443 {
1444 newCompositeNode(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0());
1445 }
1446 lv_elseOperand_6_0=ruleALSAnd {
1447 if ($current==null) {
1448 $current = createModelElementForParent(grammarAccess.getALSImplRule());
1449 }
1450 set(
1451 $current,
1452 "elseOperand",
1453 lv_elseOperand_6_0,
1454 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
1455 afterParserOrEnumRuleCall();
1456 }
1457
1458)
1459))?)?)
1460;
1461
1462
1463
1464
1465
1466// Entry rule entryRuleALSAnd
1467entryRuleALSAnd returns [EObject current=null]
1468 :
1469 { newCompositeNode(grammarAccess.getALSAndRule()); }
1470 iv_ruleALSAnd=ruleALSAnd
1471 { $current=$iv_ruleALSAnd.current; }
1472 EOF
1473;
1474
1475// Rule ALSAnd
1476ruleALSAnd returns [EObject current=null]
1477 @init { enterRule();
1478 }
1479 @after { leaveRule(); }:
1480(
1481 {
1482 newCompositeNode(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0());
1483 }
1484 this_ALSComparison_0=ruleALSComparison
1485 {
1486 $current = $this_ALSComparison_0.current;
1487 afterParserOrEnumRuleCall();
1488 }
1489((
1490 {
1491 $current = forceCreateModelElementAndSet(
1492 grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(),
1493 $current);
1494 }
1495)( otherlv_2='&&'
1496 {
1497 newLeafNode(otherlv_2, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0());
1498 }
1499
1500 | otherlv_3='and'
1501 {
1502 newLeafNode(otherlv_3, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1());
1503 }
1504)(
1505(
1506 {
1507 newCompositeNode(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0());
1508 }
1509 lv_rightOperand_4_0=ruleALSComparison {
1510 if ($current==null) {
1511 $current = createModelElementForParent(grammarAccess.getALSAndRule());
1512 }
1513 set(
1514 $current,
1515 "rightOperand",
1516 lv_rightOperand_4_0,
1517 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison");
1518 afterParserOrEnumRuleCall();
1519 }
1520
1521)
1522))?)
1523;
1524
1525
1526
1527
1528
1529// Entry rule entryRuleALSComparison
1530entryRuleALSComparison returns [EObject current=null]
1531 :
1532 { newCompositeNode(grammarAccess.getALSComparisonRule()); }
1533 iv_ruleALSComparison=ruleALSComparison
1534 { $current=$iv_ruleALSComparison.current; }
1535 EOF
1536;
1537
1538// Rule ALSComparison
1539ruleALSComparison returns [EObject current=null]
1540 @init { enterRule();
1541 }
1542 @after { leaveRule(); }:
1543(
1544 {
1545 newCompositeNode(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0());
1546 }
1547 this_ALSOverride_0=ruleALSOverride
1548 {
1549 $current = $this_ALSOverride_0.current;
1550 afterParserOrEnumRuleCall();
1551 }
1552((((
1553 {
1554 $current = forceCreateModelElementAndSet(
1555 grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(),
1556 $current);
1557 }
1558) otherlv_2='='
1559 {
1560 newLeafNode(otherlv_2, grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1());
1561 }
1562)
1563 |((
1564 {
1565 $current = forceCreateModelElementAndSet(
1566 grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(),
1567 $current);
1568 }
1569) otherlv_4='!='
1570 {
1571 newLeafNode(otherlv_4, grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1());
1572 }
1573)
1574 |((
1575 {
1576 $current = forceCreateModelElementAndSet(
1577 grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(),
1578 $current);
1579 }
1580) otherlv_6='in'
1581 {
1582 newLeafNode(otherlv_6, grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1());
1583 }
1584)
1585 |((
1586 {
1587 $current = forceCreateModelElementAndSet(
1588 grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(),
1589 $current);
1590 }
1591) otherlv_8='>'
1592 {
1593 newLeafNode(otherlv_8, grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1());
1594 }
1595)
1596 |((
1597 {
1598 $current = forceCreateModelElementAndSet(
1599 grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(),
1600 $current);
1601 }
1602) otherlv_10='>='
1603 {
1604 newLeafNode(otherlv_10, grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1());
1605 }
1606)
1607 |((
1608 {
1609 $current = forceCreateModelElementAndSet(
1610 grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(),
1611 $current);
1612 }
1613) otherlv_12='<'
1614 {
1615 newLeafNode(otherlv_12, grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1());
1616 }
1617)
1618 |((
1619 {
1620 $current = forceCreateModelElementAndSet(
1621 grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(),
1622 $current);
1623 }
1624) otherlv_14='<='
1625 {
1626 newLeafNode(otherlv_14, grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1());
1627 }
1628))(
1629(
1630 {
1631 newCompositeNode(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0());
1632 }
1633 lv_rightOperand_15_0=ruleALSOverride {
1634 if ($current==null) {
1635 $current = createModelElementForParent(grammarAccess.getALSComparisonRule());
1636 }
1637 set(
1638 $current,
1639 "rightOperand",
1640 lv_rightOperand_15_0,
1641 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride");
1642 afterParserOrEnumRuleCall();
1643 }
1644
1645)
1646))?)
1647;
1648
1649
1650
1651
1652
1653// Entry rule entryRuleALSOverride
1654entryRuleALSOverride returns [EObject current=null]
1655 :
1656 { newCompositeNode(grammarAccess.getALSOverrideRule()); }
1657 iv_ruleALSOverride=ruleALSOverride
1658 { $current=$iv_ruleALSOverride.current; }
1659 EOF
1660;
1661
1662// Rule ALSOverride
1663ruleALSOverride returns [EObject current=null]
1664 @init { enterRule();
1665 }
1666 @after { leaveRule(); }:
1667(
1668 {
1669 newCompositeNode(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0());
1670 }
1671 this_ALSRangeRestrictionRight_0=ruleALSRangeRestrictionRight
1672 {
1673 $current = $this_ALSRangeRestrictionRight_0.current;
1674 afterParserOrEnumRuleCall();
1675 }
1676((
1677 {
1678 $current = forceCreateModelElementAndSet(
1679 grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(),
1680 $current);
1681 }
1682) otherlv_2='++'
1683 {
1684 newLeafNode(otherlv_2, grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1());
1685 }
1686(
1687(
1688 {
1689 newCompositeNode(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0());
1690 }
1691 lv_rightOperand_3_0=ruleALSRangeRestrictionRight {
1692 if ($current==null) {
1693 $current = createModelElementForParent(grammarAccess.getALSOverrideRule());
1694 }
1695 set(
1696 $current,
1697 "rightOperand",
1698 lv_rightOperand_3_0,
1699 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight");
1700 afterParserOrEnumRuleCall();
1701 }
1702
1703)
1704))?)
1705;
1706
1707
1708
1709
1710
1711// Entry rule entryRuleALSRangeRestrictionRight
1712entryRuleALSRangeRestrictionRight returns [EObject current=null]
1713 :
1714 { newCompositeNode(grammarAccess.getALSRangeRestrictionRightRule()); }
1715 iv_ruleALSRangeRestrictionRight=ruleALSRangeRestrictionRight
1716 { $current=$iv_ruleALSRangeRestrictionRight.current; }
1717 EOF
1718;
1719
1720// Rule ALSRangeRestrictionRight
1721ruleALSRangeRestrictionRight returns [EObject current=null]
1722 @init { enterRule();
1723 }
1724 @after { leaveRule(); }:
1725(
1726 {
1727 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0());
1728 }
1729 this_ALSRangeRestrictionLeft_0=ruleALSRangeRestrictionLeft
1730 {
1731 $current = $this_ALSRangeRestrictionLeft_0.current;
1732 afterParserOrEnumRuleCall();
1733 }
1734((
1735 {
1736 $current = forceCreateModelElementAndSet(
1737 grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(),
1738 $current);
1739 }
1740) otherlv_2=':>'
1741 {
1742 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1());
1743 }
1744(
1745(
1746 {
1747 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0());
1748 }
1749 lv_filter_3_0=ruleALSRangeRestrictionLeft {
1750 if ($current==null) {
1751 $current = createModelElementForParent(grammarAccess.getALSRangeRestrictionRightRule());
1752 }
1753 set(
1754 $current,
1755 "filter",
1756 lv_filter_3_0,
1757 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft");
1758 afterParserOrEnumRuleCall();
1759 }
1760
1761)
1762))?)
1763;
1764
1765
1766
1767
1768
1769// Entry rule entryRuleALSRangeRestrictionLeft
1770entryRuleALSRangeRestrictionLeft returns [EObject current=null]
1771 :
1772 { newCompositeNode(grammarAccess.getALSRangeRestrictionLeftRule()); }
1773 iv_ruleALSRangeRestrictionLeft=ruleALSRangeRestrictionLeft
1774 { $current=$iv_ruleALSRangeRestrictionLeft.current; }
1775 EOF
1776;
1777
1778// Rule ALSRangeRestrictionLeft
1779ruleALSRangeRestrictionLeft returns [EObject current=null]
1780 @init { enterRule();
1781 }
1782 @after { leaveRule(); }:
1783(
1784 {
1785 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0());
1786 }
1787 this_ALSJoin_0=ruleALSJoin
1788 {
1789 $current = $this_ALSJoin_0.current;
1790 afterParserOrEnumRuleCall();
1791 }
1792((
1793 {
1794 $current = forceCreateModelElementAndSet(
1795 grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(),
1796 $current);
1797 }
1798) otherlv_2='<:'
1799 {
1800 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1());
1801 }
1802(
1803(
1804 {
1805 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0());
1806 }
1807 lv_relation_3_0=ruleALSJoin {
1808 if ($current==null) {
1809 $current = createModelElementForParent(grammarAccess.getALSRangeRestrictionLeftRule());
1810 }
1811 set(
1812 $current,
1813 "relation",
1814 lv_relation_3_0,
1815 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin");
1816 afterParserOrEnumRuleCall();
1817 }
1818
1819)
1820))?)
1821;
1822
1823
1824
1825
1826
1827// Entry rule entryRuleALSJoin
1828entryRuleALSJoin returns [EObject current=null]
1829 :
1830 { newCompositeNode(grammarAccess.getALSJoinRule()); }
1831 iv_ruleALSJoin=ruleALSJoin
1832 { $current=$iv_ruleALSJoin.current; }
1833 EOF
1834;
1835
1836// Rule ALSJoin
1837ruleALSJoin returns [EObject current=null]
1838 @init { enterRule();
1839 }
1840 @after { leaveRule(); }:
1841(
1842 {
1843 newCompositeNode(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0());
1844 }
1845 this_ALSMinus_0=ruleALSMinus
1846 {
1847 $current = $this_ALSMinus_0.current;
1848 afterParserOrEnumRuleCall();
1849 }
1850((
1851 {
1852 $current = forceCreateModelElementAndSet(
1853 grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(),
1854 $current);
1855 }
1856) otherlv_2='.'
1857 {
1858 newLeafNode(otherlv_2, grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1());
1859 }
1860(
1861(
1862 {
1863 newCompositeNode(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0());
1864 }
1865 lv_rightOperand_3_0=ruleALSMinus {
1866 if ($current==null) {
1867 $current = createModelElementForParent(grammarAccess.getALSJoinRule());
1868 }
1869 set(
1870 $current,
1871 "rightOperand",
1872 lv_rightOperand_3_0,
1873 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus");
1874 afterParserOrEnumRuleCall();
1875 }
1876
1877)
1878))*)
1879;
1880
1881
1882
1883
1884
1885// Entry rule entryRuleALSMinus
1886entryRuleALSMinus returns [EObject current=null]
1887 :
1888 { newCompositeNode(grammarAccess.getALSMinusRule()); }
1889 iv_ruleALSMinus=ruleALSMinus
1890 { $current=$iv_ruleALSMinus.current; }
1891 EOF
1892;
1893
1894// Rule ALSMinus
1895ruleALSMinus returns [EObject current=null]
1896 @init { enterRule();
1897 }
1898 @after { leaveRule(); }:
1899(
1900 {
1901 newCompositeNode(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0());
1902 }
1903 this_ALSPlus_0=ruleALSPlus
1904 {
1905 $current = $this_ALSPlus_0.current;
1906 afterParserOrEnumRuleCall();
1907 }
1908((
1909 {
1910 $current = forceCreateModelElementAndSet(
1911 grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(),
1912 $current);
1913 }
1914) otherlv_2='-'
1915 {
1916 newLeafNode(otherlv_2, grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1());
1917 }
1918(
1919(
1920 {
1921 newCompositeNode(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0());
1922 }
1923 lv_rightOperand_3_0=ruleALSPlus {
1924 if ($current==null) {
1925 $current = createModelElementForParent(grammarAccess.getALSMinusRule());
1926 }
1927 set(
1928 $current,
1929 "rightOperand",
1930 lv_rightOperand_3_0,
1931 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus");
1932 afterParserOrEnumRuleCall();
1933 }
1934
1935)
1936))*)
1937;
1938
1939
1940
1941
1942
1943// Entry rule entryRuleALSPlus
1944entryRuleALSPlus returns [EObject current=null]
1945 :
1946 { newCompositeNode(grammarAccess.getALSPlusRule()); }
1947 iv_ruleALSPlus=ruleALSPlus
1948 { $current=$iv_ruleALSPlus.current; }
1949 EOF
1950;
1951
1952// Rule ALSPlus
1953ruleALSPlus returns [EObject current=null]
1954 @init { enterRule();
1955 }
1956 @after { leaveRule(); }:
1957(
1958 {
1959 newCompositeNode(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0());
1960 }
1961 this_ALSIntersection_0=ruleALSIntersection
1962 {
1963 $current = $this_ALSIntersection_0.current;
1964 afterParserOrEnumRuleCall();
1965 }
1966((
1967 {
1968 $current = forceCreateModelElementAndSet(
1969 grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(),
1970 $current);
1971 }
1972) otherlv_2='+'
1973 {
1974 newLeafNode(otherlv_2, grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1());
1975 }
1976(
1977(
1978 {
1979 newCompositeNode(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0());
1980 }
1981 lv_rightOperand_3_0=ruleALSIntersection {
1982 if ($current==null) {
1983 $current = createModelElementForParent(grammarAccess.getALSPlusRule());
1984 }
1985 set(
1986 $current,
1987 "rightOperand",
1988 lv_rightOperand_3_0,
1989 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection");
1990 afterParserOrEnumRuleCall();
1991 }
1992
1993)
1994))*)
1995;
1996
1997
1998
1999
2000
2001// Entry rule entryRuleALSIntersection
2002entryRuleALSIntersection returns [EObject current=null]
2003 :
2004 { newCompositeNode(grammarAccess.getALSIntersectionRule()); }
2005 iv_ruleALSIntersection=ruleALSIntersection
2006 { $current=$iv_ruleALSIntersection.current; }
2007 EOF
2008;
2009
2010// Rule ALSIntersection
2011ruleALSIntersection returns [EObject current=null]
2012 @init { enterRule();
2013 }
2014 @after { leaveRule(); }:
2015(
2016 {
2017 newCompositeNode(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0());
2018 }
2019 this_ALSDirectProduct_0=ruleALSDirectProduct
2020 {
2021 $current = $this_ALSDirectProduct_0.current;
2022 afterParserOrEnumRuleCall();
2023 }
2024((
2025 {
2026 $current = forceCreateModelElementAndSet(
2027 grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(),
2028 $current);
2029 }
2030) otherlv_2='&'
2031 {
2032 newLeafNode(otherlv_2, grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1());
2033 }
2034(
2035(
2036 {
2037 newCompositeNode(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0());
2038 }
2039 lv_rightOperand_3_0=ruleALSDirectProduct {
2040 if ($current==null) {
2041 $current = createModelElementForParent(grammarAccess.getALSIntersectionRule());
2042 }
2043 set(
2044 $current,
2045 "rightOperand",
2046 lv_rightOperand_3_0,
2047 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct");
2048 afterParserOrEnumRuleCall();
2049 }
2050
2051)
2052))*)
2053;
2054
2055
2056
2057
2058
2059// Entry rule entryRuleALSDirectProduct
2060entryRuleALSDirectProduct returns [EObject current=null]
2061 :
2062 { newCompositeNode(grammarAccess.getALSDirectProductRule()); }
2063 iv_ruleALSDirectProduct=ruleALSDirectProduct
2064 { $current=$iv_ruleALSDirectProduct.current; }
2065 EOF
2066;
2067
2068// Rule ALSDirectProduct
2069ruleALSDirectProduct returns [EObject current=null]
2070 @init { enterRule();
2071 }
2072 @after { leaveRule(); }:
2073(
2074 {
2075 newCompositeNode(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0());
2076 }
2077 this_ALSPreficed_0=ruleALSPreficed
2078 {
2079 $current = $this_ALSPreficed_0.current;
2080 afterParserOrEnumRuleCall();
2081 }
2082((
2083 {
2084 $current = forceCreateModelElementAndSet(
2085 grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0(),
2086 $current);
2087 }
2088)(
2089(
2090 {
2091 newCompositeNode(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0());
2092 }
2093 lv_leftMultiplicit_2_0=ruleALSMultiplicity {
2094 if ($current==null) {
2095 $current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
2096 }
2097 set(
2098 $current,
2099 "leftMultiplicit",
2100 lv_leftMultiplicit_2_0,
2101 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
2102 afterParserOrEnumRuleCall();
2103 }
2104
2105)
2106)? otherlv_3='->'
2107 {
2108 newLeafNode(otherlv_3, grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2());
2109 }
2110(
2111(
2112 {
2113 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0());
2114 }
2115 lv_rightMultiplicit_4_0=ruleALSMultiplicity {
2116 if ($current==null) {
2117 $current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
2118 }
2119 set(
2120 $current,
2121 "rightMultiplicit",
2122 lv_rightMultiplicit_4_0,
2123 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
2124 afterParserOrEnumRuleCall();
2125 }
2126
2127)
2128)?(
2129(
2130 {
2131 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0());
2132 }
2133 lv_rightOperand_5_0=ruleALSPreficed {
2134 if ($current==null) {
2135 $current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
2136 }
2137 set(
2138 $current,
2139 "rightOperand",
2140 lv_rightOperand_5_0,
2141 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed");
2142 afterParserOrEnumRuleCall();
2143 }
2144
2145)
2146))?)
2147;
2148
2149
2150
2151
2152
2153// Entry rule entryRuleALSPreficed
2154entryRuleALSPreficed returns [EObject current=null]
2155 :
2156 { newCompositeNode(grammarAccess.getALSPreficedRule()); }
2157 iv_ruleALSPreficed=ruleALSPreficed
2158 { $current=$iv_ruleALSPreficed.current; }
2159 EOF
2160;
2161
2162// Rule ALSPreficed
2163ruleALSPreficed returns [EObject current=null]
2164 @init { enterRule();
2165 }
2166 @after { leaveRule(); }:
2167(((
2168 {
2169 $current = forceCreateModelElement(
2170 grammarAccess.getALSPreficedAccess().getALSNotAction_0_0(),
2171 $current);
2172 }
2173)((( '!'
2174
2175 | 'not'
2176))=>( otherlv_1='!'
2177 {
2178 newLeafNode(otherlv_1, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0());
2179 }
2180
2181 | otherlv_2='not'
2182 {
2183 newLeafNode(otherlv_2, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1());
2184 }
2185))(
2186(
2187 {
2188 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0());
2189 }
2190 lv_operand_3_0=ruleALSBasicRelationTerm {
2191 if ($current==null) {
2192 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2193 }
2194 set(
2195 $current,
2196 "operand",
2197 lv_operand_3_0,
2198 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2199 afterParserOrEnumRuleCall();
2200 }
2201
2202)
2203))
2204 |((
2205 {
2206 $current = forceCreateModelElement(
2207 grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0(),
2208 $current);
2209 }
2210)(( '~'
2211)=> otherlv_5='~'
2212 {
2213 newLeafNode(otherlv_5, grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1());
2214 }
2215)(
2216(
2217 {
2218 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0());
2219 }
2220 lv_operand_6_0=ruleALSBasicRelationTerm {
2221 if ($current==null) {
2222 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2223 }
2224 set(
2225 $current,
2226 "operand",
2227 lv_operand_6_0,
2228 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2229 afterParserOrEnumRuleCall();
2230 }
2231
2232)
2233))
2234 |((
2235 {
2236 $current = forceCreateModelElement(
2237 grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0(),
2238 $current);
2239 }
2240) otherlv_8='^'
2241 {
2242 newLeafNode(otherlv_8, grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1());
2243 }
2244(
2245(
2246 {
2247 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0());
2248 }
2249 lv_operand_9_0=ruleALSBasicRelationTerm {
2250 if ($current==null) {
2251 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2252 }
2253 set(
2254 $current,
2255 "operand",
2256 lv_operand_9_0,
2257 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2258 afterParserOrEnumRuleCall();
2259 }
2260
2261)
2262))
2263 |((
2264 {
2265 $current = forceCreateModelElement(
2266 grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0(),
2267 $current);
2268 }
2269) otherlv_11='*'
2270 {
2271 newLeafNode(otherlv_11, grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1());
2272 }
2273(
2274(
2275 {
2276 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0());
2277 }
2278 lv_operand_12_0=ruleALSBasicRelationTerm {
2279 if ($current==null) {
2280 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2281 }
2282 set(
2283 $current,
2284 "operand",
2285 lv_operand_12_0,
2286 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2287 afterParserOrEnumRuleCall();
2288 }
2289
2290)
2291))
2292 |((
2293 {
2294 $current = forceCreateModelElement(
2295 grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0(),
2296 $current);
2297 }
2298) otherlv_14='#'
2299 {
2300 newLeafNode(otherlv_14, grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1());
2301 }
2302(
2303(
2304 {
2305 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0());
2306 }
2307 lv_operand_15_0=ruleALSBasicRelationTerm {
2308 if ($current==null) {
2309 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2310 }
2311 set(
2312 $current,
2313 "operand",
2314 lv_operand_15_0,
2315 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2316 afterParserOrEnumRuleCall();
2317 }
2318
2319)
2320))
2321 |((
2322 {
2323 $current = forceCreateModelElement(
2324 grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0(),
2325 $current);
2326 }
2327)(( '-'
2328)=> otherlv_17='-'
2329 {
2330 newLeafNode(otherlv_17, grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1());
2331 }
2332)(
2333(
2334 {
2335 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0());
2336 }
2337 lv_operand_18_0=ruleALSBasicRelationTerm {
2338 if ($current==null) {
2339 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2340 }
2341 set(
2342 $current,
2343 "operand",
2344 lv_operand_18_0,
2345 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
2346 afterParserOrEnumRuleCall();
2347 }
2348
2349)
2350))
2351 |((
2352 {
2353 $current = forceCreateModelElement(
2354 grammarAccess.getALSPreficedAccess().getALSSumAction_6_0(),
2355 $current);
2356 }
2357) otherlv_20='sum'
2358 {
2359 newLeafNode(otherlv_20, grammarAccess.getALSPreficedAccess().getSumKeyword_6_1());
2360 }
2361(
2362(
2363 {
2364 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0());
2365 }
2366 lv_variables_21_0=ruleALSVariableDeclaration {
2367 if ($current==null) {
2368 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2369 }
2370 add(
2371 $current,
2372 "variables",
2373 lv_variables_21_0,
2374 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2375 afterParserOrEnumRuleCall();
2376 }
2377
2378)
2379)( otherlv_22=','
2380 {
2381 newLeafNode(otherlv_22, grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0());
2382 }
2383(
2384(
2385 {
2386 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0());
2387 }
2388 lv_variables_23_0=ruleALSVariableDeclaration {
2389 if ($current==null) {
2390 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2391 }
2392 add(
2393 $current,
2394 "variables",
2395 lv_variables_23_0,
2396 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2397 afterParserOrEnumRuleCall();
2398 }
2399
2400)
2401))* otherlv_24='{'
2402 {
2403 newLeafNode(otherlv_24, grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4());
2404 }
2405(
2406(
2407 {
2408 newCompositeNode(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0());
2409 }
2410 lv_expression_25_0=ruleALSTerm {
2411 if ($current==null) {
2412 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2413 }
2414 set(
2415 $current,
2416 "expression",
2417 lv_expression_25_0,
2418 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2419 afterParserOrEnumRuleCall();
2420 }
2421
2422)
2423) otherlv_26='}'
2424 {
2425 newLeafNode(otherlv_26, grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6());
2426 }
2427)
2428 |((
2429 {
2430 $current = forceCreateModelElement(
2431 grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0(),
2432 $current);
2433 }
2434)((
2435(
2436 {
2437 if ($current==null) {
2438 $current = createModelElement(grammarAccess.getALSPreficedRule());
2439 }
2440 }
2441 otherlv_28=RULE_ID
2442 {
2443 newLeafNode(otherlv_28, grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0());
2444 }
2445
2446)
2447)
2448 |(
2449(
2450 {
2451 newCompositeNode(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0());
2452 }
2453 lv_referredNumericOperator_29_0=ruleALSNumericOperator {
2454 if ($current==null) {
2455 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2456 }
2457 set(
2458 $current,
2459 "referredNumericOperator",
2460 lv_referredNumericOperator_29_0,
2461 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator");
2462 afterParserOrEnumRuleCall();
2463 }
2464
2465)
2466)) otherlv_30='['
2467 {
2468 newLeafNode(otherlv_30, grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2());
2469 }
2470(
2471(
2472 {
2473 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0());
2474 }
2475 lv_params_31_0=ruleALSTerm {
2476 if ($current==null) {
2477 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2478 }
2479 add(
2480 $current,
2481 "params",
2482 lv_params_31_0,
2483 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2484 afterParserOrEnumRuleCall();
2485 }
2486
2487)
2488)( otherlv_32=','
2489 {
2490 newLeafNode(otherlv_32, grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0());
2491 }
2492(
2493(
2494 {
2495 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0());
2496 }
2497 lv_params_33_0=ruleALSTerm {
2498 if ($current==null) {
2499 $current = createModelElementForParent(grammarAccess.getALSPreficedRule());
2500 }
2501 add(
2502 $current,
2503 "params",
2504 lv_params_33_0,
2505 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2506 afterParserOrEnumRuleCall();
2507 }
2508
2509)
2510))* otherlv_34=']'
2511 {
2512 newLeafNode(otherlv_34, grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5());
2513 }
2514)
2515 |
2516 {
2517 newCompositeNode(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8());
2518 }
2519 this_ALSBasicRelationTerm_35=ruleALSBasicRelationTerm
2520 {
2521 $current = $this_ALSBasicRelationTerm_35.current;
2522 afterParserOrEnumRuleCall();
2523 }
2524)
2525;
2526
2527
2528
2529
2530
2531// Entry rule entryRuleALSVariableDeclaration
2532entryRuleALSVariableDeclaration returns [EObject current=null]
2533 :
2534 { newCompositeNode(grammarAccess.getALSVariableDeclarationRule()); }
2535 iv_ruleALSVariableDeclaration=ruleALSVariableDeclaration
2536 { $current=$iv_ruleALSVariableDeclaration.current; }
2537 EOF
2538;
2539
2540// Rule ALSVariableDeclaration
2541ruleALSVariableDeclaration returns [EObject current=null]
2542 @init { enterRule();
2543 }
2544 @after { leaveRule(); }:
2545((
2546(
2547 {
2548 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0());
2549 }
2550 lv_name_0_0=ruleALSID {
2551 if ($current==null) {
2552 $current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
2553 }
2554 set(
2555 $current,
2556 "name",
2557 lv_name_0_0,
2558 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2559 afterParserOrEnumRuleCall();
2560 }
2561
2562)
2563) otherlv_1=':'
2564 {
2565 newLeafNode(otherlv_1, grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1());
2566 }
2567(
2568(
2569 {
2570 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0());
2571 }
2572 lv_range_2_0=ruleALSTerm {
2573 if ($current==null) {
2574 $current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
2575 }
2576 set(
2577 $current,
2578 "range",
2579 lv_range_2_0,
2580 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2581 afterParserOrEnumRuleCall();
2582 }
2583
2584)
2585))
2586;
2587
2588
2589
2590
2591
2592// Entry rule entryRuleALSBasicRelationTerm
2593entryRuleALSBasicRelationTerm returns [EObject current=null]
2594 :
2595 { newCompositeNode(grammarAccess.getALSBasicRelationTermRule()); }
2596 iv_ruleALSBasicRelationTerm=ruleALSBasicRelationTerm
2597 { $current=$iv_ruleALSBasicRelationTerm.current; }
2598 EOF
2599;
2600
2601// Rule ALSBasicRelationTerm
2602ruleALSBasicRelationTerm returns [EObject current=null]
2603 @init { enterRule();
2604 }
2605 @after { leaveRule(); }:
2606(((
2607 {
2608 $current = forceCreateModelElement(
2609 grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0(),
2610 $current);
2611 }
2612) otherlv_1='none'
2613 {
2614 newLeafNode(otherlv_1, grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1());
2615 }
2616)
2617 |((
2618 {
2619 $current = forceCreateModelElement(
2620 grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0(),
2621 $current);
2622 }
2623) otherlv_3='iden'
2624 {
2625 newLeafNode(otherlv_3, grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1());
2626 }
2627)
2628 |((
2629 {
2630 $current = forceCreateModelElement(
2631 grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0(),
2632 $current);
2633 }
2634) otherlv_5='univ'
2635 {
2636 newLeafNode(otherlv_5, grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1());
2637 }
2638)
2639 |((
2640 {
2641 $current = forceCreateModelElement(
2642 grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0(),
2643 $current);
2644 }
2645) otherlv_7='Int'
2646 {
2647 newLeafNode(otherlv_7, grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1());
2648 }
2649)
2650 |((
2651 {
2652 $current = forceCreateModelElement(
2653 grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0(),
2654 $current);
2655 }
2656) otherlv_9='String'
2657 {
2658 newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1());
2659 }
2660)
2661 |((
2662 {
2663 $current = forceCreateModelElement(
2664 grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0(),
2665 $current);
2666 }
2667)(
2668(
2669 {
2670 if ($current==null) {
2671 $current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
2672 }
2673 }
2674 otherlv_11=RULE_ID
2675 {
2676 newLeafNode(otherlv_11, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0());
2677 }
2678
2679)
2680))
2681 |((
2682 {
2683 $current = forceCreateModelElement(
2684 grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0(),
2685 $current);
2686 }
2687)(
2688(
2689 lv_value_13_0=RULE_INT
2690 {
2691 newLeafNode(lv_value_13_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0());
2692 }
2693 {
2694 if ($current==null) {
2695 $current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
2696 }
2697 setWithLastConsumed(
2698 $current,
2699 "value",
2700 lv_value_13_0,
2701 "org.eclipse.xtext.common.Terminals.INT");
2702 }
2703
2704)
2705))
2706 |((
2707 {
2708 $current = forceCreateModelElement(
2709 grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0(),
2710 $current);
2711 }
2712)(
2713(
2714 lv_value_15_0=RULE_STRING
2715 {
2716 newLeafNode(lv_value_15_0, grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0());
2717 }
2718 {
2719 if ($current==null) {
2720 $current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
2721 }
2722 setWithLastConsumed(
2723 $current,
2724 "value",
2725 lv_value_15_0,
2726 "org.eclipse.xtext.common.Terminals.STRING");
2727 }
2728
2729)
2730))
2731 |( otherlv_16='('
2732 {
2733 newLeafNode(otherlv_16, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
2734 }
2735
2736 {
2737 newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1());
2738 }
2739 this_ALSTerm_17=ruleALSTerm
2740 {
2741 $current = $this_ALSTerm_17.current;
2742 afterParserOrEnumRuleCall();
2743 }
2744 otherlv_18=')'
2745 {
2746 newLeafNode(otherlv_18, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2());
2747 }
2748))
2749;
2750
2751
2752
2753
2754
2755// Entry rule entryRuleALSRunCommand
2756entryRuleALSRunCommand returns [EObject current=null]
2757 :
2758 { newCompositeNode(grammarAccess.getALSRunCommandRule()); }
2759 iv_ruleALSRunCommand=ruleALSRunCommand
2760 { $current=$iv_ruleALSRunCommand.current; }
2761 EOF
2762;
2763
2764// Rule ALSRunCommand
2765ruleALSRunCommand returns [EObject current=null]
2766 @init { enterRule();
2767 }
2768 @after { leaveRule(); }:
2769((
2770 {
2771 $current = forceCreateModelElement(
2772 grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(),
2773 $current);
2774 }
2775) otherlv_1='run'
2776 {
2777 newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
2778 }
2779 otherlv_2='{'
2780 {
2781 newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
2782 }
2783 otherlv_3='}'
2784 {
2785 newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
2786 }
2787( otherlv_4='for'
2788 {
2789 newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
2790 }
2791(
2792(
2793 {
2794 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
2795 }
2796 lv_typeScopes_5_0=ruleALSTypeScope {
2797 if ($current==null) {
2798 $current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
2799 }
2800 add(
2801 $current,
2802 "typeScopes",
2803 lv_typeScopes_5_0,
2804 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
2805 afterParserOrEnumRuleCall();
2806 }
2807
2808)
2809)( otherlv_6=','
2810 {
2811 newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
2812 }
2813(
2814(
2815 {
2816 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
2817 }
2818 lv_typeScopes_7_0=ruleALSTypeScope {
2819 if ($current==null) {
2820 $current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
2821 }
2822 add(
2823 $current,
2824 "typeScopes",
2825 lv_typeScopes_7_0,
2826 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
2827 afterParserOrEnumRuleCall();
2828 }
2829
2830)
2831))*)?)
2832;
2833
2834
2835
2836
2837
2838// Entry rule entryRuleALSTypeScope
2839entryRuleALSTypeScope returns [EObject current=null]
2840 :
2841 { newCompositeNode(grammarAccess.getALSTypeScopeRule()); }
2842 iv_ruleALSTypeScope=ruleALSTypeScope
2843 { $current=$iv_ruleALSTypeScope.current; }
2844 EOF
2845;
2846
2847// Rule ALSTypeScope
2848ruleALSTypeScope returns [EObject current=null]
2849 @init { enterRule();
2850 }
2851 @after { leaveRule(); }:
2852(
2853 {
2854 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
2855 }
2856 this_ALSSigScope_0=ruleALSSigScope
2857 {
2858 $current = $this_ALSSigScope_0.current;
2859 afterParserOrEnumRuleCall();
2860 }
2861
2862 |
2863 {
2864 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
2865 }
2866 this_ALSIntScope_1=ruleALSIntScope
2867 {
2868 $current = $this_ALSIntScope_1.current;
2869 afterParserOrEnumRuleCall();
2870 }
2871
2872 |
2873 {
2874 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2());
2875 }
2876 this_ALSStringScope_2=ruleALSStringScope
2877 {
2878 $current = $this_ALSStringScope_2.current;
2879 afterParserOrEnumRuleCall();
2880 }
2881)
2882;
2883
2884
2885
2886
2887
2888// Entry rule entryRuleALSSigScope
2889entryRuleALSSigScope returns [EObject current=null]
2890 :
2891 { newCompositeNode(grammarAccess.getALSSigScopeRule()); }
2892 iv_ruleALSSigScope=ruleALSSigScope
2893 { $current=$iv_ruleALSSigScope.current; }
2894 EOF
2895;
2896
2897// Rule ALSSigScope
2898ruleALSSigScope returns [EObject current=null]
2899 @init { enterRule();
2900 }
2901 @after { leaveRule(); }:
2902((
2903(
2904 lv_exactly_0_0= 'exactly'
2905 {
2906 newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
2907 }
2908
2909 {
2910 if ($current==null) {
2911 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2912 }
2913 setWithLastConsumed($current, "exactly", true, "exactly");
2914 }
2915
2916)
2917)?(
2918(
2919 lv_number_1_0=RULE_INT
2920 {
2921 newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
2922 }
2923 {
2924 if ($current==null) {
2925 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2926 }
2927 setWithLastConsumed(
2928 $current,
2929 "number",
2930 lv_number_1_0,
2931 "org.eclipse.xtext.common.Terminals.INT");
2932 }
2933
2934)
2935)(
2936(
2937 {
2938 if ($current==null) {
2939 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2940 }
2941 }
2942 otherlv_2=RULE_ID
2943 {
2944 newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
2945 }
2946
2947)
2948))
2949;
2950
2951
2952
2953
2954
2955// Entry rule entryRuleALSIntScope
2956entryRuleALSIntScope returns [EObject current=null]
2957 :
2958 { newCompositeNode(grammarAccess.getALSIntScopeRule()); }
2959 iv_ruleALSIntScope=ruleALSIntScope
2960 { $current=$iv_ruleALSIntScope.current; }
2961 EOF
2962;
2963
2964// Rule ALSIntScope
2965ruleALSIntScope returns [EObject current=null]
2966 @init { enterRule();
2967 }
2968 @after { leaveRule(); }:
2969((
2970(
2971 lv_number_0_0=RULE_INT
2972 {
2973 newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
2974 }
2975 {
2976 if ($current==null) {
2977 $current = createModelElement(grammarAccess.getALSIntScopeRule());
2978 }
2979 setWithLastConsumed(
2980 $current,
2981 "number",
2982 lv_number_0_0,
2983 "org.eclipse.xtext.common.Terminals.INT");
2984 }
2985
2986)
2987) otherlv_1='Int'
2988 {
2989 newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
2990 }
2991)
2992;
2993
2994
2995
2996
2997
2998// Entry rule entryRuleALSStringScope
2999entryRuleALSStringScope returns [EObject current=null]
3000 :
3001 { newCompositeNode(grammarAccess.getALSStringScopeRule()); }
3002 iv_ruleALSStringScope=ruleALSStringScope
3003 { $current=$iv_ruleALSStringScope.current; }
3004 EOF
3005;
3006
3007// Rule ALSStringScope
3008ruleALSStringScope returns [EObject current=null]
3009 @init { enterRule();
3010 }
3011 @after { leaveRule(); }:
3012( otherlv_0='exactly'
3013 {
3014 newLeafNode(otherlv_0, grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0());
3015 }
3016(
3017(
3018 lv_number_1_0=RULE_INT
3019 {
3020 newLeafNode(lv_number_1_0, grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0());
3021 }
3022 {
3023 if ($current==null) {
3024 $current = createModelElement(grammarAccess.getALSStringScopeRule());
3025 }
3026 setWithLastConsumed(
3027 $current,
3028 "number",
3029 lv_number_1_0,
3030 "org.eclipse.xtext.common.Terminals.INT");
3031 }
3032
3033)
3034) otherlv_2='String'
3035 {
3036 newLeafNode(otherlv_2, grammarAccess.getALSStringScopeAccess().getStringKeyword_2());
3037 }
3038)
3039;
3040
3041
3042
3043
3044
3045// Rule ALSMultiplicity
3046ruleALSMultiplicity returns [Enumerator current=null]
3047 @init { enterRule(); }
3048 @after { leaveRule(); }:
3049(( enumLiteral_0='all'
3050 {
3051 $current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
3052 newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
3053 }
3054)
3055 |( enumLiteral_1='no'
3056 {
3057 $current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
3058 newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
3059 }
3060)
3061 |( enumLiteral_2='some'
3062 {
3063 $current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
3064 newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
3065 }
3066)
3067 |( enumLiteral_3='lone'
3068 {
3069 $current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
3070 newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
3071 }
3072)
3073 |( enumLiteral_4='one'
3074 {
3075 $current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
3076 newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
3077 }
3078)
3079 |( enumLiteral_5='set'
3080 {
3081 $current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
3082 newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
3083 }
3084));
3085
3086
3087
3088// Rule ALSNumericOperator
3089ruleALSNumericOperator returns [Enumerator current=null]
3090 @init { enterRule(); }
3091 @after { leaveRule(); }:
3092(( enumLiteral_0='plus'
3093 {
3094 $current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
3095 newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
3096 }
3097)
3098 |( enumLiteral_1='sub'
3099 {
3100 $current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
3101 newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
3102 }
3103)
3104 |( enumLiteral_2='mul'
3105 {
3106 $current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
3107 newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
3108 }
3109)
3110 |( enumLiteral_3='rem'
3111 {
3112 $current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
3113 newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
3114 }
3115)
3116 |( enumLiteral_4='div'
3117 {
3118 $current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
3119 newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
3120 }
3121));
3122
3123
3124
3125RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'\''|'"'|'0'..'9')*;
3126
3127RULE_INT : ('0'..'9')+;
3128
3129RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
3130
3131RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
3132
3133RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
3134
3135RULE_WS : (' '|'\t'|'\r'|'\n')+;
3136
3137RULE_ANY_OTHER : .;
3138
3139
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens
deleted file mode 100644
index 530f7732..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens
+++ /dev/null
@@ -1,139 +0,0 @@
1'!'=49
2'!='=37
3'#'=54
4'&&'=34
5'&'=47
6'('=61
7')'=62
8'*'=53
9'+'=19
10'++'=42
11','=13
12'-'=46
13'->'=48
14'.'=45
15':'=20
16':>'=43
17'<'=40
18'<:'=44
19'<='=41
20'<=>'=29
21'='=36
22'=>'=31
23'>'=38
24'>='=39
25'Int'=59
26'String'=60
27'['=22
28']'=23
29'^'=52
30'abstract'=15
31'all'=66
32'and'=35
33'disj'=26
34'div'=76
35'else'=33
36'enum'=11
37'exactly'=65
38'extends'=17
39'fact'=25
40'for'=64
41'fun'=21
42'iden'=57
43'iff'=30
44'implies'=32
45'in'=18
46'lone'=69
47'mul'=74
48'no'=67
49'none'=56
50'not'=50
51'one'=70
52'or'=28
53'plus'=72
54'pred'=24
55'rem'=75
56'run'=63
57'set'=71
58'sig'=16
59'some'=68
60'sub'=73
61'sum'=55
62'univ'=58
63'{'=12
64'||'=27
65'}'=14
66'~'=51
67RULE_ANY_OTHER=10
68RULE_ID=4
69RULE_INT=5
70RULE_ML_COMMENT=7
71RULE_SL_COMMENT=8
72RULE_STRING=6
73RULE_WS=9
74T__11=11
75T__12=12
76T__13=13
77T__14=14
78T__15=15
79T__16=16
80T__17=17
81T__18=18
82T__19=19
83T__20=20
84T__21=21
85T__22=22
86T__23=23
87T__24=24
88T__25=25
89T__26=26
90T__27=27
91T__28=28
92T__29=29
93T__30=30
94T__31=31
95T__32=32
96T__33=33
97T__34=34
98T__35=35
99T__36=36
100T__37=37
101T__38=38
102T__39=39
103T__40=40
104T__41=41
105T__42=42
106T__43=43
107T__44=44
108T__45=45
109T__46=46
110T__47=47
111T__48=48
112T__49=49
113T__50=50
114T__51=51
115T__52=52
116T__53=53
117T__54=54
118T__55=55
119T__56=56
120T__57=57
121T__58=58
122T__59=59
123T__60=60
124T__61=61
125T__62=62
126T__63=63
127T__64=64
128T__65=65
129T__66=66
130T__67=67
131T__68=68
132T__69=69
133T__70=70
134T__71=71
135T__72=72
136T__73=73
137T__74=74
138T__75=75
139T__76=76
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java
deleted file mode 100644
index fec42235..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java
+++ /dev/null
@@ -1,2854 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.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 InternalAlloyLanguageLexer extends Lexer {
15 public static final int T__50=50;
16 public static final int T__19=19;
17 public static final int T__15=15;
18 public static final int T__59=59;
19 public static final int T__16=16;
20 public static final int T__17=17;
21 public static final int T__18=18;
22 public static final int T__11=11;
23 public static final int T__55=55;
24 public static final int T__12=12;
25 public static final int T__56=56;
26 public static final int T__13=13;
27 public static final int T__57=57;
28 public static final int T__14=14;
29 public static final int T__58=58;
30 public static final int T__51=51;
31 public static final int T__52=52;
32 public static final int T__53=53;
33 public static final int T__54=54;
34 public static final int T__60=60;
35 public static final int T__61=61;
36 public static final int RULE_ID=4;
37 public static final int T__26=26;
38 public static final int T__27=27;
39 public static final int T__28=28;
40 public static final int RULE_INT=5;
41 public static final int T__29=29;
42 public static final int T__22=22;
43 public static final int T__66=66;
44 public static final int RULE_ML_COMMENT=7;
45 public static final int T__23=23;
46 public static final int T__67=67;
47 public static final int T__24=24;
48 public static final int T__68=68;
49 public static final int T__25=25;
50 public static final int T__69=69;
51 public static final int T__62=62;
52 public static final int T__63=63;
53 public static final int T__20=20;
54 public static final int T__64=64;
55 public static final int T__21=21;
56 public static final int T__65=65;
57 public static final int T__70=70;
58 public static final int T__71=71;
59 public static final int T__72=72;
60 public static final int RULE_STRING=6;
61 public static final int RULE_SL_COMMENT=8;
62 public static final int T__37=37;
63 public static final int T__38=38;
64 public static final int T__39=39;
65 public static final int T__33=33;
66 public static final int T__34=34;
67 public static final int T__35=35;
68 public static final int T__36=36;
69 public static final int T__73=73;
70 public static final int EOF=-1;
71 public static final int T__30=30;
72 public static final int T__74=74;
73 public static final int T__31=31;
74 public static final int T__75=75;
75 public static final int T__32=32;
76 public static final int T__76=76;
77 public static final int RULE_WS=9;
78 public static final int RULE_ANY_OTHER=10;
79 public static final int T__48=48;
80 public static final int T__49=49;
81 public static final int T__44=44;
82 public static final int T__45=45;
83 public static final int T__46=46;
84 public static final int T__47=47;
85 public static final int T__40=40;
86 public static final int T__41=41;
87 public static final int T__42=42;
88 public static final int T__43=43;
89
90 // delegates
91 // delegators
92
93 public InternalAlloyLanguageLexer() {;}
94 public InternalAlloyLanguageLexer(CharStream input) {
95 this(input, new RecognizerSharedState());
96 }
97 public InternalAlloyLanguageLexer(CharStream input, RecognizerSharedState state) {
98 super(input,state);
99
100 }
101 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
102
103 // $ANTLR start "T__11"
104 public final void mT__11() throws RecognitionException {
105 try {
106 int _type = T__11;
107 int _channel = DEFAULT_TOKEN_CHANNEL;
108 // InternalAlloyLanguage.g:11:7: ( 'enum' )
109 // InternalAlloyLanguage.g:11:9: 'enum'
110 {
111 match("enum");
112
113
114 }
115
116 state.type = _type;
117 state.channel = _channel;
118 }
119 finally {
120 }
121 }
122 // $ANTLR end "T__11"
123
124 // $ANTLR start "T__12"
125 public final void mT__12() throws RecognitionException {
126 try {
127 int _type = T__12;
128 int _channel = DEFAULT_TOKEN_CHANNEL;
129 // InternalAlloyLanguage.g:12:7: ( '{' )
130 // InternalAlloyLanguage.g:12:9: '{'
131 {
132 match('{');
133
134 }
135
136 state.type = _type;
137 state.channel = _channel;
138 }
139 finally {
140 }
141 }
142 // $ANTLR end "T__12"
143
144 // $ANTLR start "T__13"
145 public final void mT__13() throws RecognitionException {
146 try {
147 int _type = T__13;
148 int _channel = DEFAULT_TOKEN_CHANNEL;
149 // InternalAlloyLanguage.g:13:7: ( ',' )
150 // InternalAlloyLanguage.g:13:9: ','
151 {
152 match(',');
153
154 }
155
156 state.type = _type;
157 state.channel = _channel;
158 }
159 finally {
160 }
161 }
162 // $ANTLR end "T__13"
163
164 // $ANTLR start "T__14"
165 public final void mT__14() throws RecognitionException {
166 try {
167 int _type = T__14;
168 int _channel = DEFAULT_TOKEN_CHANNEL;
169 // InternalAlloyLanguage.g:14:7: ( '}' )
170 // InternalAlloyLanguage.g:14:9: '}'
171 {
172 match('}');
173
174 }
175
176 state.type = _type;
177 state.channel = _channel;
178 }
179 finally {
180 }
181 }
182 // $ANTLR end "T__14"
183
184 // $ANTLR start "T__15"
185 public final void mT__15() throws RecognitionException {
186 try {
187 int _type = T__15;
188 int _channel = DEFAULT_TOKEN_CHANNEL;
189 // InternalAlloyLanguage.g:15:7: ( 'abstract' )
190 // InternalAlloyLanguage.g:15:9: 'abstract'
191 {
192 match("abstract");
193
194
195 }
196
197 state.type = _type;
198 state.channel = _channel;
199 }
200 finally {
201 }
202 }
203 // $ANTLR end "T__15"
204
205 // $ANTLR start "T__16"
206 public final void mT__16() throws RecognitionException {
207 try {
208 int _type = T__16;
209 int _channel = DEFAULT_TOKEN_CHANNEL;
210 // InternalAlloyLanguage.g:16:7: ( 'sig' )
211 // InternalAlloyLanguage.g:16:9: 'sig'
212 {
213 match("sig");
214
215
216 }
217
218 state.type = _type;
219 state.channel = _channel;
220 }
221 finally {
222 }
223 }
224 // $ANTLR end "T__16"
225
226 // $ANTLR start "T__17"
227 public final void mT__17() throws RecognitionException {
228 try {
229 int _type = T__17;
230 int _channel = DEFAULT_TOKEN_CHANNEL;
231 // InternalAlloyLanguage.g:17:7: ( 'extends' )
232 // InternalAlloyLanguage.g:17:9: 'extends'
233 {
234 match("extends");
235
236
237 }
238
239 state.type = _type;
240 state.channel = _channel;
241 }
242 finally {
243 }
244 }
245 // $ANTLR end "T__17"
246
247 // $ANTLR start "T__18"
248 public final void mT__18() throws RecognitionException {
249 try {
250 int _type = T__18;
251 int _channel = DEFAULT_TOKEN_CHANNEL;
252 // InternalAlloyLanguage.g:18:7: ( 'in' )
253 // InternalAlloyLanguage.g:18:9: 'in'
254 {
255 match("in");
256
257
258 }
259
260 state.type = _type;
261 state.channel = _channel;
262 }
263 finally {
264 }
265 }
266 // $ANTLR end "T__18"
267
268 // $ANTLR start "T__19"
269 public final void mT__19() throws RecognitionException {
270 try {
271 int _type = T__19;
272 int _channel = DEFAULT_TOKEN_CHANNEL;
273 // InternalAlloyLanguage.g:19:7: ( '+' )
274 // InternalAlloyLanguage.g:19:9: '+'
275 {
276 match('+');
277
278 }
279
280 state.type = _type;
281 state.channel = _channel;
282 }
283 finally {
284 }
285 }
286 // $ANTLR end "T__19"
287
288 // $ANTLR start "T__20"
289 public final void mT__20() throws RecognitionException {
290 try {
291 int _type = T__20;
292 int _channel = DEFAULT_TOKEN_CHANNEL;
293 // InternalAlloyLanguage.g:20:7: ( ':' )
294 // InternalAlloyLanguage.g:20:9: ':'
295 {
296 match(':');
297
298 }
299
300 state.type = _type;
301 state.channel = _channel;
302 }
303 finally {
304 }
305 }
306 // $ANTLR end "T__20"
307
308 // $ANTLR start "T__21"
309 public final void mT__21() throws RecognitionException {
310 try {
311 int _type = T__21;
312 int _channel = DEFAULT_TOKEN_CHANNEL;
313 // InternalAlloyLanguage.g:21:7: ( 'fun' )
314 // InternalAlloyLanguage.g:21:9: 'fun'
315 {
316 match("fun");
317
318
319 }
320
321 state.type = _type;
322 state.channel = _channel;
323 }
324 finally {
325 }
326 }
327 // $ANTLR end "T__21"
328
329 // $ANTLR start "T__22"
330 public final void mT__22() throws RecognitionException {
331 try {
332 int _type = T__22;
333 int _channel = DEFAULT_TOKEN_CHANNEL;
334 // InternalAlloyLanguage.g:22:7: ( '[' )
335 // InternalAlloyLanguage.g:22:9: '['
336 {
337 match('[');
338
339 }
340
341 state.type = _type;
342 state.channel = _channel;
343 }
344 finally {
345 }
346 }
347 // $ANTLR end "T__22"
348
349 // $ANTLR start "T__23"
350 public final void mT__23() throws RecognitionException {
351 try {
352 int _type = T__23;
353 int _channel = DEFAULT_TOKEN_CHANNEL;
354 // InternalAlloyLanguage.g:23:7: ( ']' )
355 // InternalAlloyLanguage.g:23:9: ']'
356 {
357 match(']');
358
359 }
360
361 state.type = _type;
362 state.channel = _channel;
363 }
364 finally {
365 }
366 }
367 // $ANTLR end "T__23"
368
369 // $ANTLR start "T__24"
370 public final void mT__24() throws RecognitionException {
371 try {
372 int _type = T__24;
373 int _channel = DEFAULT_TOKEN_CHANNEL;
374 // InternalAlloyLanguage.g:24:7: ( 'pred' )
375 // InternalAlloyLanguage.g:24:9: 'pred'
376 {
377 match("pred");
378
379
380 }
381
382 state.type = _type;
383 state.channel = _channel;
384 }
385 finally {
386 }
387 }
388 // $ANTLR end "T__24"
389
390 // $ANTLR start "T__25"
391 public final void mT__25() throws RecognitionException {
392 try {
393 int _type = T__25;
394 int _channel = DEFAULT_TOKEN_CHANNEL;
395 // InternalAlloyLanguage.g:25:7: ( 'fact' )
396 // InternalAlloyLanguage.g:25:9: 'fact'
397 {
398 match("fact");
399
400
401 }
402
403 state.type = _type;
404 state.channel = _channel;
405 }
406 finally {
407 }
408 }
409 // $ANTLR end "T__25"
410
411 // $ANTLR start "T__26"
412 public final void mT__26() throws RecognitionException {
413 try {
414 int _type = T__26;
415 int _channel = DEFAULT_TOKEN_CHANNEL;
416 // InternalAlloyLanguage.g:26:7: ( 'disj' )
417 // InternalAlloyLanguage.g:26:9: 'disj'
418 {
419 match("disj");
420
421
422 }
423
424 state.type = _type;
425 state.channel = _channel;
426 }
427 finally {
428 }
429 }
430 // $ANTLR end "T__26"
431
432 // $ANTLR start "T__27"
433 public final void mT__27() throws RecognitionException {
434 try {
435 int _type = T__27;
436 int _channel = DEFAULT_TOKEN_CHANNEL;
437 // InternalAlloyLanguage.g:27:7: ( '||' )
438 // InternalAlloyLanguage.g:27:9: '||'
439 {
440 match("||");
441
442
443 }
444
445 state.type = _type;
446 state.channel = _channel;
447 }
448 finally {
449 }
450 }
451 // $ANTLR end "T__27"
452
453 // $ANTLR start "T__28"
454 public final void mT__28() throws RecognitionException {
455 try {
456 int _type = T__28;
457 int _channel = DEFAULT_TOKEN_CHANNEL;
458 // InternalAlloyLanguage.g:28:7: ( 'or' )
459 // InternalAlloyLanguage.g:28:9: 'or'
460 {
461 match("or");
462
463
464 }
465
466 state.type = _type;
467 state.channel = _channel;
468 }
469 finally {
470 }
471 }
472 // $ANTLR end "T__28"
473
474 // $ANTLR start "T__29"
475 public final void mT__29() throws RecognitionException {
476 try {
477 int _type = T__29;
478 int _channel = DEFAULT_TOKEN_CHANNEL;
479 // InternalAlloyLanguage.g:29:7: ( '<=>' )
480 // InternalAlloyLanguage.g:29:9: '<=>'
481 {
482 match("<=>");
483
484
485 }
486
487 state.type = _type;
488 state.channel = _channel;
489 }
490 finally {
491 }
492 }
493 // $ANTLR end "T__29"
494
495 // $ANTLR start "T__30"
496 public final void mT__30() throws RecognitionException {
497 try {
498 int _type = T__30;
499 int _channel = DEFAULT_TOKEN_CHANNEL;
500 // InternalAlloyLanguage.g:30:7: ( 'iff' )
501 // InternalAlloyLanguage.g:30:9: 'iff'
502 {
503 match("iff");
504
505
506 }
507
508 state.type = _type;
509 state.channel = _channel;
510 }
511 finally {
512 }
513 }
514 // $ANTLR end "T__30"
515
516 // $ANTLR start "T__31"
517 public final void mT__31() throws RecognitionException {
518 try {
519 int _type = T__31;
520 int _channel = DEFAULT_TOKEN_CHANNEL;
521 // InternalAlloyLanguage.g:31:7: ( '=>' )
522 // InternalAlloyLanguage.g:31:9: '=>'
523 {
524 match("=>");
525
526
527 }
528
529 state.type = _type;
530 state.channel = _channel;
531 }
532 finally {
533 }
534 }
535 // $ANTLR end "T__31"
536
537 // $ANTLR start "T__32"
538 public final void mT__32() throws RecognitionException {
539 try {
540 int _type = T__32;
541 int _channel = DEFAULT_TOKEN_CHANNEL;
542 // InternalAlloyLanguage.g:32:7: ( 'implies' )
543 // InternalAlloyLanguage.g:32:9: 'implies'
544 {
545 match("implies");
546
547
548 }
549
550 state.type = _type;
551 state.channel = _channel;
552 }
553 finally {
554 }
555 }
556 // $ANTLR end "T__32"
557
558 // $ANTLR start "T__33"
559 public final void mT__33() throws RecognitionException {
560 try {
561 int _type = T__33;
562 int _channel = DEFAULT_TOKEN_CHANNEL;
563 // InternalAlloyLanguage.g:33:7: ( 'else' )
564 // InternalAlloyLanguage.g:33:9: 'else'
565 {
566 match("else");
567
568
569 }
570
571 state.type = _type;
572 state.channel = _channel;
573 }
574 finally {
575 }
576 }
577 // $ANTLR end "T__33"
578
579 // $ANTLR start "T__34"
580 public final void mT__34() throws RecognitionException {
581 try {
582 int _type = T__34;
583 int _channel = DEFAULT_TOKEN_CHANNEL;
584 // InternalAlloyLanguage.g:34:7: ( '&&' )
585 // InternalAlloyLanguage.g:34:9: '&&'
586 {
587 match("&&");
588
589
590 }
591
592 state.type = _type;
593 state.channel = _channel;
594 }
595 finally {
596 }
597 }
598 // $ANTLR end "T__34"
599
600 // $ANTLR start "T__35"
601 public final void mT__35() throws RecognitionException {
602 try {
603 int _type = T__35;
604 int _channel = DEFAULT_TOKEN_CHANNEL;
605 // InternalAlloyLanguage.g:35:7: ( 'and' )
606 // InternalAlloyLanguage.g:35:9: 'and'
607 {
608 match("and");
609
610
611 }
612
613 state.type = _type;
614 state.channel = _channel;
615 }
616 finally {
617 }
618 }
619 // $ANTLR end "T__35"
620
621 // $ANTLR start "T__36"
622 public final void mT__36() throws RecognitionException {
623 try {
624 int _type = T__36;
625 int _channel = DEFAULT_TOKEN_CHANNEL;
626 // InternalAlloyLanguage.g:36:7: ( '=' )
627 // InternalAlloyLanguage.g:36:9: '='
628 {
629 match('=');
630
631 }
632
633 state.type = _type;
634 state.channel = _channel;
635 }
636 finally {
637 }
638 }
639 // $ANTLR end "T__36"
640
641 // $ANTLR start "T__37"
642 public final void mT__37() throws RecognitionException {
643 try {
644 int _type = T__37;
645 int _channel = DEFAULT_TOKEN_CHANNEL;
646 // InternalAlloyLanguage.g:37:7: ( '!=' )
647 // InternalAlloyLanguage.g:37:9: '!='
648 {
649 match("!=");
650
651
652 }
653
654 state.type = _type;
655 state.channel = _channel;
656 }
657 finally {
658 }
659 }
660 // $ANTLR end "T__37"
661
662 // $ANTLR start "T__38"
663 public final void mT__38() throws RecognitionException {
664 try {
665 int _type = T__38;
666 int _channel = DEFAULT_TOKEN_CHANNEL;
667 // InternalAlloyLanguage.g:38:7: ( '>' )
668 // InternalAlloyLanguage.g:38:9: '>'
669 {
670 match('>');
671
672 }
673
674 state.type = _type;
675 state.channel = _channel;
676 }
677 finally {
678 }
679 }
680 // $ANTLR end "T__38"
681
682 // $ANTLR start "T__39"
683 public final void mT__39() throws RecognitionException {
684 try {
685 int _type = T__39;
686 int _channel = DEFAULT_TOKEN_CHANNEL;
687 // InternalAlloyLanguage.g:39:7: ( '>=' )
688 // InternalAlloyLanguage.g:39:9: '>='
689 {
690 match(">=");
691
692
693 }
694
695 state.type = _type;
696 state.channel = _channel;
697 }
698 finally {
699 }
700 }
701 // $ANTLR end "T__39"
702
703 // $ANTLR start "T__40"
704 public final void mT__40() throws RecognitionException {
705 try {
706 int _type = T__40;
707 int _channel = DEFAULT_TOKEN_CHANNEL;
708 // InternalAlloyLanguage.g:40:7: ( '<' )
709 // InternalAlloyLanguage.g:40:9: '<'
710 {
711 match('<');
712
713 }
714
715 state.type = _type;
716 state.channel = _channel;
717 }
718 finally {
719 }
720 }
721 // $ANTLR end "T__40"
722
723 // $ANTLR start "T__41"
724 public final void mT__41() throws RecognitionException {
725 try {
726 int _type = T__41;
727 int _channel = DEFAULT_TOKEN_CHANNEL;
728 // InternalAlloyLanguage.g:41:7: ( '<=' )
729 // InternalAlloyLanguage.g:41:9: '<='
730 {
731 match("<=");
732
733
734 }
735
736 state.type = _type;
737 state.channel = _channel;
738 }
739 finally {
740 }
741 }
742 // $ANTLR end "T__41"
743
744 // $ANTLR start "T__42"
745 public final void mT__42() throws RecognitionException {
746 try {
747 int _type = T__42;
748 int _channel = DEFAULT_TOKEN_CHANNEL;
749 // InternalAlloyLanguage.g:42:7: ( '++' )
750 // InternalAlloyLanguage.g:42:9: '++'
751 {
752 match("++");
753
754
755 }
756
757 state.type = _type;
758 state.channel = _channel;
759 }
760 finally {
761 }
762 }
763 // $ANTLR end "T__42"
764
765 // $ANTLR start "T__43"
766 public final void mT__43() throws RecognitionException {
767 try {
768 int _type = T__43;
769 int _channel = DEFAULT_TOKEN_CHANNEL;
770 // InternalAlloyLanguage.g:43:7: ( ':>' )
771 // InternalAlloyLanguage.g:43:9: ':>'
772 {
773 match(":>");
774
775
776 }
777
778 state.type = _type;
779 state.channel = _channel;
780 }
781 finally {
782 }
783 }
784 // $ANTLR end "T__43"
785
786 // $ANTLR start "T__44"
787 public final void mT__44() throws RecognitionException {
788 try {
789 int _type = T__44;
790 int _channel = DEFAULT_TOKEN_CHANNEL;
791 // InternalAlloyLanguage.g:44:7: ( '<:' )
792 // InternalAlloyLanguage.g:44:9: '<:'
793 {
794 match("<:");
795
796
797 }
798
799 state.type = _type;
800 state.channel = _channel;
801 }
802 finally {
803 }
804 }
805 // $ANTLR end "T__44"
806
807 // $ANTLR start "T__45"
808 public final void mT__45() throws RecognitionException {
809 try {
810 int _type = T__45;
811 int _channel = DEFAULT_TOKEN_CHANNEL;
812 // InternalAlloyLanguage.g:45:7: ( '.' )
813 // InternalAlloyLanguage.g:45:9: '.'
814 {
815 match('.');
816
817 }
818
819 state.type = _type;
820 state.channel = _channel;
821 }
822 finally {
823 }
824 }
825 // $ANTLR end "T__45"
826
827 // $ANTLR start "T__46"
828 public final void mT__46() throws RecognitionException {
829 try {
830 int _type = T__46;
831 int _channel = DEFAULT_TOKEN_CHANNEL;
832 // InternalAlloyLanguage.g:46:7: ( '-' )
833 // InternalAlloyLanguage.g:46:9: '-'
834 {
835 match('-');
836
837 }
838
839 state.type = _type;
840 state.channel = _channel;
841 }
842 finally {
843 }
844 }
845 // $ANTLR end "T__46"
846
847 // $ANTLR start "T__47"
848 public final void mT__47() throws RecognitionException {
849 try {
850 int _type = T__47;
851 int _channel = DEFAULT_TOKEN_CHANNEL;
852 // InternalAlloyLanguage.g:47:7: ( '&' )
853 // InternalAlloyLanguage.g:47:9: '&'
854 {
855 match('&');
856
857 }
858
859 state.type = _type;
860 state.channel = _channel;
861 }
862 finally {
863 }
864 }
865 // $ANTLR end "T__47"
866
867 // $ANTLR start "T__48"
868 public final void mT__48() throws RecognitionException {
869 try {
870 int _type = T__48;
871 int _channel = DEFAULT_TOKEN_CHANNEL;
872 // InternalAlloyLanguage.g:48:7: ( '->' )
873 // InternalAlloyLanguage.g:48:9: '->'
874 {
875 match("->");
876
877
878 }
879
880 state.type = _type;
881 state.channel = _channel;
882 }
883 finally {
884 }
885 }
886 // $ANTLR end "T__48"
887
888 // $ANTLR start "T__49"
889 public final void mT__49() throws RecognitionException {
890 try {
891 int _type = T__49;
892 int _channel = DEFAULT_TOKEN_CHANNEL;
893 // InternalAlloyLanguage.g:49:7: ( '!' )
894 // InternalAlloyLanguage.g:49:9: '!'
895 {
896 match('!');
897
898 }
899
900 state.type = _type;
901 state.channel = _channel;
902 }
903 finally {
904 }
905 }
906 // $ANTLR end "T__49"
907
908 // $ANTLR start "T__50"
909 public final void mT__50() throws RecognitionException {
910 try {
911 int _type = T__50;
912 int _channel = DEFAULT_TOKEN_CHANNEL;
913 // InternalAlloyLanguage.g:50:7: ( 'not' )
914 // InternalAlloyLanguage.g:50:9: 'not'
915 {
916 match("not");
917
918
919 }
920
921 state.type = _type;
922 state.channel = _channel;
923 }
924 finally {
925 }
926 }
927 // $ANTLR end "T__50"
928
929 // $ANTLR start "T__51"
930 public final void mT__51() throws RecognitionException {
931 try {
932 int _type = T__51;
933 int _channel = DEFAULT_TOKEN_CHANNEL;
934 // InternalAlloyLanguage.g:51:7: ( '~' )
935 // InternalAlloyLanguage.g:51:9: '~'
936 {
937 match('~');
938
939 }
940
941 state.type = _type;
942 state.channel = _channel;
943 }
944 finally {
945 }
946 }
947 // $ANTLR end "T__51"
948
949 // $ANTLR start "T__52"
950 public final void mT__52() throws RecognitionException {
951 try {
952 int _type = T__52;
953 int _channel = DEFAULT_TOKEN_CHANNEL;
954 // InternalAlloyLanguage.g:52:7: ( '^' )
955 // InternalAlloyLanguage.g:52:9: '^'
956 {
957 match('^');
958
959 }
960
961 state.type = _type;
962 state.channel = _channel;
963 }
964 finally {
965 }
966 }
967 // $ANTLR end "T__52"
968
969 // $ANTLR start "T__53"
970 public final void mT__53() throws RecognitionException {
971 try {
972 int _type = T__53;
973 int _channel = DEFAULT_TOKEN_CHANNEL;
974 // InternalAlloyLanguage.g:53:7: ( '*' )
975 // InternalAlloyLanguage.g:53:9: '*'
976 {
977 match('*');
978
979 }
980
981 state.type = _type;
982 state.channel = _channel;
983 }
984 finally {
985 }
986 }
987 // $ANTLR end "T__53"
988
989 // $ANTLR start "T__54"
990 public final void mT__54() throws RecognitionException {
991 try {
992 int _type = T__54;
993 int _channel = DEFAULT_TOKEN_CHANNEL;
994 // InternalAlloyLanguage.g:54:7: ( '#' )
995 // InternalAlloyLanguage.g:54:9: '#'
996 {
997 match('#');
998
999 }
1000
1001 state.type = _type;
1002 state.channel = _channel;
1003 }
1004 finally {
1005 }
1006 }
1007 // $ANTLR end "T__54"
1008
1009 // $ANTLR start "T__55"
1010 public final void mT__55() throws RecognitionException {
1011 try {
1012 int _type = T__55;
1013 int _channel = DEFAULT_TOKEN_CHANNEL;
1014 // InternalAlloyLanguage.g:55:7: ( 'sum' )
1015 // InternalAlloyLanguage.g:55:9: 'sum'
1016 {
1017 match("sum");
1018
1019
1020 }
1021
1022 state.type = _type;
1023 state.channel = _channel;
1024 }
1025 finally {
1026 }
1027 }
1028 // $ANTLR end "T__55"
1029
1030 // $ANTLR start "T__56"
1031 public final void mT__56() throws RecognitionException {
1032 try {
1033 int _type = T__56;
1034 int _channel = DEFAULT_TOKEN_CHANNEL;
1035 // InternalAlloyLanguage.g:56:7: ( 'none' )
1036 // InternalAlloyLanguage.g:56:9: 'none'
1037 {
1038 match("none");
1039
1040
1041 }
1042
1043 state.type = _type;
1044 state.channel = _channel;
1045 }
1046 finally {
1047 }
1048 }
1049 // $ANTLR end "T__56"
1050
1051 // $ANTLR start "T__57"
1052 public final void mT__57() throws RecognitionException {
1053 try {
1054 int _type = T__57;
1055 int _channel = DEFAULT_TOKEN_CHANNEL;
1056 // InternalAlloyLanguage.g:57:7: ( 'iden' )
1057 // InternalAlloyLanguage.g:57:9: 'iden'
1058 {
1059 match("iden");
1060
1061
1062 }
1063
1064 state.type = _type;
1065 state.channel = _channel;
1066 }
1067 finally {
1068 }
1069 }
1070 // $ANTLR end "T__57"
1071
1072 // $ANTLR start "T__58"
1073 public final void mT__58() throws RecognitionException {
1074 try {
1075 int _type = T__58;
1076 int _channel = DEFAULT_TOKEN_CHANNEL;
1077 // InternalAlloyLanguage.g:58:7: ( 'univ' )
1078 // InternalAlloyLanguage.g:58:9: 'univ'
1079 {
1080 match("univ");
1081
1082
1083 }
1084
1085 state.type = _type;
1086 state.channel = _channel;
1087 }
1088 finally {
1089 }
1090 }
1091 // $ANTLR end "T__58"
1092
1093 // $ANTLR start "T__59"
1094 public final void mT__59() throws RecognitionException {
1095 try {
1096 int _type = T__59;
1097 int _channel = DEFAULT_TOKEN_CHANNEL;
1098 // InternalAlloyLanguage.g:59:7: ( 'Int' )
1099 // InternalAlloyLanguage.g:59:9: 'Int'
1100 {
1101 match("Int");
1102
1103
1104 }
1105
1106 state.type = _type;
1107 state.channel = _channel;
1108 }
1109 finally {
1110 }
1111 }
1112 // $ANTLR end "T__59"
1113
1114 // $ANTLR start "T__60"
1115 public final void mT__60() throws RecognitionException {
1116 try {
1117 int _type = T__60;
1118 int _channel = DEFAULT_TOKEN_CHANNEL;
1119 // InternalAlloyLanguage.g:60:7: ( 'String' )
1120 // InternalAlloyLanguage.g:60:9: 'String'
1121 {
1122 match("String");
1123
1124
1125 }
1126
1127 state.type = _type;
1128 state.channel = _channel;
1129 }
1130 finally {
1131 }
1132 }
1133 // $ANTLR end "T__60"
1134
1135 // $ANTLR start "T__61"
1136 public final void mT__61() throws RecognitionException {
1137 try {
1138 int _type = T__61;
1139 int _channel = DEFAULT_TOKEN_CHANNEL;
1140 // InternalAlloyLanguage.g:61:7: ( '(' )
1141 // InternalAlloyLanguage.g:61:9: '('
1142 {
1143 match('(');
1144
1145 }
1146
1147 state.type = _type;
1148 state.channel = _channel;
1149 }
1150 finally {
1151 }
1152 }
1153 // $ANTLR end "T__61"
1154
1155 // $ANTLR start "T__62"
1156 public final void mT__62() throws RecognitionException {
1157 try {
1158 int _type = T__62;
1159 int _channel = DEFAULT_TOKEN_CHANNEL;
1160 // InternalAlloyLanguage.g:62:7: ( ')' )
1161 // InternalAlloyLanguage.g:62:9: ')'
1162 {
1163 match(')');
1164
1165 }
1166
1167 state.type = _type;
1168 state.channel = _channel;
1169 }
1170 finally {
1171 }
1172 }
1173 // $ANTLR end "T__62"
1174
1175 // $ANTLR start "T__63"
1176 public final void mT__63() throws RecognitionException {
1177 try {
1178 int _type = T__63;
1179 int _channel = DEFAULT_TOKEN_CHANNEL;
1180 // InternalAlloyLanguage.g:63:7: ( 'run' )
1181 // InternalAlloyLanguage.g:63:9: 'run'
1182 {
1183 match("run");
1184
1185
1186 }
1187
1188 state.type = _type;
1189 state.channel = _channel;
1190 }
1191 finally {
1192 }
1193 }
1194 // $ANTLR end "T__63"
1195
1196 // $ANTLR start "T__64"
1197 public final void mT__64() throws RecognitionException {
1198 try {
1199 int _type = T__64;
1200 int _channel = DEFAULT_TOKEN_CHANNEL;
1201 // InternalAlloyLanguage.g:64:7: ( 'for' )
1202 // InternalAlloyLanguage.g:64:9: 'for'
1203 {
1204 match("for");
1205
1206
1207 }
1208
1209 state.type = _type;
1210 state.channel = _channel;
1211 }
1212 finally {
1213 }
1214 }
1215 // $ANTLR end "T__64"
1216
1217 // $ANTLR start "T__65"
1218 public final void mT__65() throws RecognitionException {
1219 try {
1220 int _type = T__65;
1221 int _channel = DEFAULT_TOKEN_CHANNEL;
1222 // InternalAlloyLanguage.g:65:7: ( 'exactly' )
1223 // InternalAlloyLanguage.g:65:9: 'exactly'
1224 {
1225 match("exactly");
1226
1227
1228 }
1229
1230 state.type = _type;
1231 state.channel = _channel;
1232 }
1233 finally {
1234 }
1235 }
1236 // $ANTLR end "T__65"
1237
1238 // $ANTLR start "T__66"
1239 public final void mT__66() throws RecognitionException {
1240 try {
1241 int _type = T__66;
1242 int _channel = DEFAULT_TOKEN_CHANNEL;
1243 // InternalAlloyLanguage.g:66:7: ( 'all' )
1244 // InternalAlloyLanguage.g:66:9: 'all'
1245 {
1246 match("all");
1247
1248
1249 }
1250
1251 state.type = _type;
1252 state.channel = _channel;
1253 }
1254 finally {
1255 }
1256 }
1257 // $ANTLR end "T__66"
1258
1259 // $ANTLR start "T__67"
1260 public final void mT__67() throws RecognitionException {
1261 try {
1262 int _type = T__67;
1263 int _channel = DEFAULT_TOKEN_CHANNEL;
1264 // InternalAlloyLanguage.g:67:7: ( 'no' )
1265 // InternalAlloyLanguage.g:67:9: 'no'
1266 {
1267 match("no");
1268
1269
1270 }
1271
1272 state.type = _type;
1273 state.channel = _channel;
1274 }
1275 finally {
1276 }
1277 }
1278 // $ANTLR end "T__67"
1279
1280 // $ANTLR start "T__68"
1281 public final void mT__68() throws RecognitionException {
1282 try {
1283 int _type = T__68;
1284 int _channel = DEFAULT_TOKEN_CHANNEL;
1285 // InternalAlloyLanguage.g:68:7: ( 'some' )
1286 // InternalAlloyLanguage.g:68:9: 'some'
1287 {
1288 match("some");
1289
1290
1291 }
1292
1293 state.type = _type;
1294 state.channel = _channel;
1295 }
1296 finally {
1297 }
1298 }
1299 // $ANTLR end "T__68"
1300
1301 // $ANTLR start "T__69"
1302 public final void mT__69() throws RecognitionException {
1303 try {
1304 int _type = T__69;
1305 int _channel = DEFAULT_TOKEN_CHANNEL;
1306 // InternalAlloyLanguage.g:69:7: ( 'lone' )
1307 // InternalAlloyLanguage.g:69:9: 'lone'
1308 {
1309 match("lone");
1310
1311
1312 }
1313
1314 state.type = _type;
1315 state.channel = _channel;
1316 }
1317 finally {
1318 }
1319 }
1320 // $ANTLR end "T__69"
1321
1322 // $ANTLR start "T__70"
1323 public final void mT__70() throws RecognitionException {
1324 try {
1325 int _type = T__70;
1326 int _channel = DEFAULT_TOKEN_CHANNEL;
1327 // InternalAlloyLanguage.g:70:7: ( 'one' )
1328 // InternalAlloyLanguage.g:70:9: 'one'
1329 {
1330 match("one");
1331
1332
1333 }
1334
1335 state.type = _type;
1336 state.channel = _channel;
1337 }
1338 finally {
1339 }
1340 }
1341 // $ANTLR end "T__70"
1342
1343 // $ANTLR start "T__71"
1344 public final void mT__71() throws RecognitionException {
1345 try {
1346 int _type = T__71;
1347 int _channel = DEFAULT_TOKEN_CHANNEL;
1348 // InternalAlloyLanguage.g:71:7: ( 'set' )
1349 // InternalAlloyLanguage.g:71:9: 'set'
1350 {
1351 match("set");
1352
1353
1354 }
1355
1356 state.type = _type;
1357 state.channel = _channel;
1358 }
1359 finally {
1360 }
1361 }
1362 // $ANTLR end "T__71"
1363
1364 // $ANTLR start "T__72"
1365 public final void mT__72() throws RecognitionException {
1366 try {
1367 int _type = T__72;
1368 int _channel = DEFAULT_TOKEN_CHANNEL;
1369 // InternalAlloyLanguage.g:72:7: ( 'plus' )
1370 // InternalAlloyLanguage.g:72:9: 'plus'
1371 {
1372 match("plus");
1373
1374
1375 }
1376
1377 state.type = _type;
1378 state.channel = _channel;
1379 }
1380 finally {
1381 }
1382 }
1383 // $ANTLR end "T__72"
1384
1385 // $ANTLR start "T__73"
1386 public final void mT__73() throws RecognitionException {
1387 try {
1388 int _type = T__73;
1389 int _channel = DEFAULT_TOKEN_CHANNEL;
1390 // InternalAlloyLanguage.g:73:7: ( 'sub' )
1391 // InternalAlloyLanguage.g:73:9: 'sub'
1392 {
1393 match("sub");
1394
1395
1396 }
1397
1398 state.type = _type;
1399 state.channel = _channel;
1400 }
1401 finally {
1402 }
1403 }
1404 // $ANTLR end "T__73"
1405
1406 // $ANTLR start "T__74"
1407 public final void mT__74() throws RecognitionException {
1408 try {
1409 int _type = T__74;
1410 int _channel = DEFAULT_TOKEN_CHANNEL;
1411 // InternalAlloyLanguage.g:74:7: ( 'mul' )
1412 // InternalAlloyLanguage.g:74:9: 'mul'
1413 {
1414 match("mul");
1415
1416
1417 }
1418
1419 state.type = _type;
1420 state.channel = _channel;
1421 }
1422 finally {
1423 }
1424 }
1425 // $ANTLR end "T__74"
1426
1427 // $ANTLR start "T__75"
1428 public final void mT__75() throws RecognitionException {
1429 try {
1430 int _type = T__75;
1431 int _channel = DEFAULT_TOKEN_CHANNEL;
1432 // InternalAlloyLanguage.g:75:7: ( 'rem' )
1433 // InternalAlloyLanguage.g:75:9: 'rem'
1434 {
1435 match("rem");
1436
1437
1438 }
1439
1440 state.type = _type;
1441 state.channel = _channel;
1442 }
1443 finally {
1444 }
1445 }
1446 // $ANTLR end "T__75"
1447
1448 // $ANTLR start "T__76"
1449 public final void mT__76() throws RecognitionException {
1450 try {
1451 int _type = T__76;
1452 int _channel = DEFAULT_TOKEN_CHANNEL;
1453 // InternalAlloyLanguage.g:76:7: ( 'div' )
1454 // InternalAlloyLanguage.g:76:9: 'div'
1455 {
1456 match("div");
1457
1458
1459 }
1460
1461 state.type = _type;
1462 state.channel = _channel;
1463 }
1464 finally {
1465 }
1466 }
1467 // $ANTLR end "T__76"
1468
1469 // $ANTLR start "RULE_ID"
1470 public final void mRULE_ID() throws RecognitionException {
1471 try {
1472 int _type = RULE_ID;
1473 int _channel = DEFAULT_TOKEN_CHANNEL;
1474 // InternalAlloyLanguage.g:3125:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* )
1475 // InternalAlloyLanguage.g:3125:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1476 {
1477 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
1478 input.consume();
1479
1480 }
1481 else {
1482 MismatchedSetException mse = new MismatchedSetException(null,input);
1483 recover(mse);
1484 throw mse;}
1485
1486 // InternalAlloyLanguage.g:3125:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1487 loop1:
1488 do {
1489 int alt1=2;
1490 int LA1_0 = input.LA(1);
1491
1492 if ( (LA1_0=='\"'||LA1_0=='\''||(LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {
1493 alt1=1;
1494 }
1495
1496
1497 switch (alt1) {
1498 case 1 :
1499 // InternalAlloyLanguage.g:
1500 {
1501 if ( input.LA(1)=='\"'||input.LA(1)=='\''||(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') ) {
1502 input.consume();
1503
1504 }
1505 else {
1506 MismatchedSetException mse = new MismatchedSetException(null,input);
1507 recover(mse);
1508 throw mse;}
1509
1510
1511 }
1512 break;
1513
1514 default :
1515 break loop1;
1516 }
1517 } while (true);
1518
1519
1520 }
1521
1522 state.type = _type;
1523 state.channel = _channel;
1524 }
1525 finally {
1526 }
1527 }
1528 // $ANTLR end "RULE_ID"
1529
1530 // $ANTLR start "RULE_INT"
1531 public final void mRULE_INT() throws RecognitionException {
1532 try {
1533 int _type = RULE_INT;
1534 int _channel = DEFAULT_TOKEN_CHANNEL;
1535 // InternalAlloyLanguage.g:3127:10: ( ( '0' .. '9' )+ )
1536 // InternalAlloyLanguage.g:3127:12: ( '0' .. '9' )+
1537 {
1538 // InternalAlloyLanguage.g:3127:12: ( '0' .. '9' )+
1539 int cnt2=0;
1540 loop2:
1541 do {
1542 int alt2=2;
1543 int LA2_0 = input.LA(1);
1544
1545 if ( ((LA2_0>='0' && LA2_0<='9')) ) {
1546 alt2=1;
1547 }
1548
1549
1550 switch (alt2) {
1551 case 1 :
1552 // InternalAlloyLanguage.g:3127:13: '0' .. '9'
1553 {
1554 matchRange('0','9');
1555
1556 }
1557 break;
1558
1559 default :
1560 if ( cnt2 >= 1 ) break loop2;
1561 EarlyExitException eee =
1562 new EarlyExitException(2, input);
1563 throw eee;
1564 }
1565 cnt2++;
1566 } while (true);
1567
1568
1569 }
1570
1571 state.type = _type;
1572 state.channel = _channel;
1573 }
1574 finally {
1575 }
1576 }
1577 // $ANTLR end "RULE_INT"
1578
1579 // $ANTLR start "RULE_STRING"
1580 public final void mRULE_STRING() throws RecognitionException {
1581 try {
1582 int _type = RULE_STRING;
1583 int _channel = DEFAULT_TOKEN_CHANNEL;
1584 // InternalAlloyLanguage.g:3129:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1585 // InternalAlloyLanguage.g:3129:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1586 {
1587 // InternalAlloyLanguage.g:3129:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1588 int alt5=2;
1589 int LA5_0 = input.LA(1);
1590
1591 if ( (LA5_0=='\"') ) {
1592 alt5=1;
1593 }
1594 else if ( (LA5_0=='\'') ) {
1595 alt5=2;
1596 }
1597 else {
1598 NoViableAltException nvae =
1599 new NoViableAltException("", 5, 0, input);
1600
1601 throw nvae;
1602 }
1603 switch (alt5) {
1604 case 1 :
1605 // InternalAlloyLanguage.g:3129:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1606 {
1607 match('\"');
1608 // InternalAlloyLanguage.g:3129:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1609 loop3:
1610 do {
1611 int alt3=3;
1612 int LA3_0 = input.LA(1);
1613
1614 if ( (LA3_0=='\\') ) {
1615 alt3=1;
1616 }
1617 else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) {
1618 alt3=2;
1619 }
1620
1621
1622 switch (alt3) {
1623 case 1 :
1624 // InternalAlloyLanguage.g:3129:21: '\\\\' .
1625 {
1626 match('\\');
1627 matchAny();
1628
1629 }
1630 break;
1631 case 2 :
1632 // InternalAlloyLanguage.g:3129:28: ~ ( ( '\\\\' | '\"' ) )
1633 {
1634 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1635 input.consume();
1636
1637 }
1638 else {
1639 MismatchedSetException mse = new MismatchedSetException(null,input);
1640 recover(mse);
1641 throw mse;}
1642
1643
1644 }
1645 break;
1646
1647 default :
1648 break loop3;
1649 }
1650 } while (true);
1651
1652 match('\"');
1653
1654 }
1655 break;
1656 case 2 :
1657 // InternalAlloyLanguage.g:3129:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1658 {
1659 match('\'');
1660 // InternalAlloyLanguage.g:3129:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1661 loop4:
1662 do {
1663 int alt4=3;
1664 int LA4_0 = input.LA(1);
1665
1666 if ( (LA4_0=='\\') ) {
1667 alt4=1;
1668 }
1669 else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
1670 alt4=2;
1671 }
1672
1673
1674 switch (alt4) {
1675 case 1 :
1676 // InternalAlloyLanguage.g:3129:54: '\\\\' .
1677 {
1678 match('\\');
1679 matchAny();
1680
1681 }
1682 break;
1683 case 2 :
1684 // InternalAlloyLanguage.g:3129:61: ~ ( ( '\\\\' | '\\'' ) )
1685 {
1686 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1687 input.consume();
1688
1689 }
1690 else {
1691 MismatchedSetException mse = new MismatchedSetException(null,input);
1692 recover(mse);
1693 throw mse;}
1694
1695
1696 }
1697 break;
1698
1699 default :
1700 break loop4;
1701 }
1702 } while (true);
1703
1704 match('\'');
1705
1706 }
1707 break;
1708
1709 }
1710
1711
1712 }
1713
1714 state.type = _type;
1715 state.channel = _channel;
1716 }
1717 finally {
1718 }
1719 }
1720 // $ANTLR end "RULE_STRING"
1721
1722 // $ANTLR start "RULE_ML_COMMENT"
1723 public final void mRULE_ML_COMMENT() throws RecognitionException {
1724 try {
1725 int _type = RULE_ML_COMMENT;
1726 int _channel = DEFAULT_TOKEN_CHANNEL;
1727 // InternalAlloyLanguage.g:3131:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1728 // InternalAlloyLanguage.g:3131:19: '/*' ( options {greedy=false; } : . )* '*/'
1729 {
1730 match("/*");
1731
1732 // InternalAlloyLanguage.g:3131:24: ( options {greedy=false; } : . )*
1733 loop6:
1734 do {
1735 int alt6=2;
1736 int LA6_0 = input.LA(1);
1737
1738 if ( (LA6_0=='*') ) {
1739 int LA6_1 = input.LA(2);
1740
1741 if ( (LA6_1=='/') ) {
1742 alt6=2;
1743 }
1744 else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) {
1745 alt6=1;
1746 }
1747
1748
1749 }
1750 else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) {
1751 alt6=1;
1752 }
1753
1754
1755 switch (alt6) {
1756 case 1 :
1757 // InternalAlloyLanguage.g:3131:52: .
1758 {
1759 matchAny();
1760
1761 }
1762 break;
1763
1764 default :
1765 break loop6;
1766 }
1767 } while (true);
1768
1769 match("*/");
1770
1771
1772 }
1773
1774 state.type = _type;
1775 state.channel = _channel;
1776 }
1777 finally {
1778 }
1779 }
1780 // $ANTLR end "RULE_ML_COMMENT"
1781
1782 // $ANTLR start "RULE_SL_COMMENT"
1783 public final void mRULE_SL_COMMENT() throws RecognitionException {
1784 try {
1785 int _type = RULE_SL_COMMENT;
1786 int _channel = DEFAULT_TOKEN_CHANNEL;
1787 // InternalAlloyLanguage.g:3133:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1788 // InternalAlloyLanguage.g:3133:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1789 {
1790 match("//");
1791
1792 // InternalAlloyLanguage.g:3133:24: (~ ( ( '\\n' | '\\r' ) ) )*
1793 loop7:
1794 do {
1795 int alt7=2;
1796 int LA7_0 = input.LA(1);
1797
1798 if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) {
1799 alt7=1;
1800 }
1801
1802
1803 switch (alt7) {
1804 case 1 :
1805 // InternalAlloyLanguage.g:3133:24: ~ ( ( '\\n' | '\\r' ) )
1806 {
1807 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') ) {
1808 input.consume();
1809
1810 }
1811 else {
1812 MismatchedSetException mse = new MismatchedSetException(null,input);
1813 recover(mse);
1814 throw mse;}
1815
1816
1817 }
1818 break;
1819
1820 default :
1821 break loop7;
1822 }
1823 } while (true);
1824
1825 // InternalAlloyLanguage.g:3133:40: ( ( '\\r' )? '\\n' )?
1826 int alt9=2;
1827 int LA9_0 = input.LA(1);
1828
1829 if ( (LA9_0=='\n'||LA9_0=='\r') ) {
1830 alt9=1;
1831 }
1832 switch (alt9) {
1833 case 1 :
1834 // InternalAlloyLanguage.g:3133:41: ( '\\r' )? '\\n'
1835 {
1836 // InternalAlloyLanguage.g:3133:41: ( '\\r' )?
1837 int alt8=2;
1838 int LA8_0 = input.LA(1);
1839
1840 if ( (LA8_0=='\r') ) {
1841 alt8=1;
1842 }
1843 switch (alt8) {
1844 case 1 :
1845 // InternalAlloyLanguage.g:3133:41: '\\r'
1846 {
1847 match('\r');
1848
1849 }
1850 break;
1851
1852 }
1853
1854 match('\n');
1855
1856 }
1857 break;
1858
1859 }
1860
1861
1862 }
1863
1864 state.type = _type;
1865 state.channel = _channel;
1866 }
1867 finally {
1868 }
1869 }
1870 // $ANTLR end "RULE_SL_COMMENT"
1871
1872 // $ANTLR start "RULE_WS"
1873 public final void mRULE_WS() throws RecognitionException {
1874 try {
1875 int _type = RULE_WS;
1876 int _channel = DEFAULT_TOKEN_CHANNEL;
1877 // InternalAlloyLanguage.g:3135:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1878 // InternalAlloyLanguage.g:3135:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1879 {
1880 // InternalAlloyLanguage.g:3135:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1881 int cnt10=0;
1882 loop10:
1883 do {
1884 int alt10=2;
1885 int LA10_0 = input.LA(1);
1886
1887 if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {
1888 alt10=1;
1889 }
1890
1891
1892 switch (alt10) {
1893 case 1 :
1894 // InternalAlloyLanguage.g:
1895 {
1896 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1897 input.consume();
1898
1899 }
1900 else {
1901 MismatchedSetException mse = new MismatchedSetException(null,input);
1902 recover(mse);
1903 throw mse;}
1904
1905
1906 }
1907 break;
1908
1909 default :
1910 if ( cnt10 >= 1 ) break loop10;
1911 EarlyExitException eee =
1912 new EarlyExitException(10, input);
1913 throw eee;
1914 }
1915 cnt10++;
1916 } while (true);
1917
1918
1919 }
1920
1921 state.type = _type;
1922 state.channel = _channel;
1923 }
1924 finally {
1925 }
1926 }
1927 // $ANTLR end "RULE_WS"
1928
1929 // $ANTLR start "RULE_ANY_OTHER"
1930 public final void mRULE_ANY_OTHER() throws RecognitionException {
1931 try {
1932 int _type = RULE_ANY_OTHER;
1933 int _channel = DEFAULT_TOKEN_CHANNEL;
1934 // InternalAlloyLanguage.g:3137:16: ( . )
1935 // InternalAlloyLanguage.g:3137:18: .
1936 {
1937 matchAny();
1938
1939 }
1940
1941 state.type = _type;
1942 state.channel = _channel;
1943 }
1944 finally {
1945 }
1946 }
1947 // $ANTLR end "RULE_ANY_OTHER"
1948
1949 public void mTokens() throws RecognitionException {
1950 // InternalAlloyLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1951 int alt11=73;
1952 alt11 = dfa11.predict(input);
1953 switch (alt11) {
1954 case 1 :
1955 // InternalAlloyLanguage.g:1:10: T__11
1956 {
1957 mT__11();
1958
1959 }
1960 break;
1961 case 2 :
1962 // InternalAlloyLanguage.g:1:16: T__12
1963 {
1964 mT__12();
1965
1966 }
1967 break;
1968 case 3 :
1969 // InternalAlloyLanguage.g:1:22: T__13
1970 {
1971 mT__13();
1972
1973 }
1974 break;
1975 case 4 :
1976 // InternalAlloyLanguage.g:1:28: T__14
1977 {
1978 mT__14();
1979
1980 }
1981 break;
1982 case 5 :
1983 // InternalAlloyLanguage.g:1:34: T__15
1984 {
1985 mT__15();
1986
1987 }
1988 break;
1989 case 6 :
1990 // InternalAlloyLanguage.g:1:40: T__16
1991 {
1992 mT__16();
1993
1994 }
1995 break;
1996 case 7 :
1997 // InternalAlloyLanguage.g:1:46: T__17
1998 {
1999 mT__17();
2000
2001 }
2002 break;
2003 case 8 :
2004 // InternalAlloyLanguage.g:1:52: T__18
2005 {
2006 mT__18();
2007
2008 }
2009 break;
2010 case 9 :
2011 // InternalAlloyLanguage.g:1:58: T__19
2012 {
2013 mT__19();
2014
2015 }
2016 break;
2017 case 10 :
2018 // InternalAlloyLanguage.g:1:64: T__20
2019 {
2020 mT__20();
2021
2022 }
2023 break;
2024 case 11 :
2025 // InternalAlloyLanguage.g:1:70: T__21
2026 {
2027 mT__21();
2028
2029 }
2030 break;
2031 case 12 :
2032 // InternalAlloyLanguage.g:1:76: T__22
2033 {
2034 mT__22();
2035
2036 }
2037 break;
2038 case 13 :
2039 // InternalAlloyLanguage.g:1:82: T__23
2040 {
2041 mT__23();
2042
2043 }
2044 break;
2045 case 14 :
2046 // InternalAlloyLanguage.g:1:88: T__24
2047 {
2048 mT__24();
2049
2050 }
2051 break;
2052 case 15 :
2053 // InternalAlloyLanguage.g:1:94: T__25
2054 {
2055 mT__25();
2056
2057 }
2058 break;
2059 case 16 :
2060 // InternalAlloyLanguage.g:1:100: T__26
2061 {
2062 mT__26();
2063
2064 }
2065 break;
2066 case 17 :
2067 // InternalAlloyLanguage.g:1:106: T__27
2068 {
2069 mT__27();
2070
2071 }
2072 break;
2073 case 18 :
2074 // InternalAlloyLanguage.g:1:112: T__28
2075 {
2076 mT__28();
2077
2078 }
2079 break;
2080 case 19 :
2081 // InternalAlloyLanguage.g:1:118: T__29
2082 {
2083 mT__29();
2084
2085 }
2086 break;
2087 case 20 :
2088 // InternalAlloyLanguage.g:1:124: T__30
2089 {
2090 mT__30();
2091
2092 }
2093 break;
2094 case 21 :
2095 // InternalAlloyLanguage.g:1:130: T__31
2096 {
2097 mT__31();
2098
2099 }
2100 break;
2101 case 22 :
2102 // InternalAlloyLanguage.g:1:136: T__32
2103 {
2104 mT__32();
2105
2106 }
2107 break;
2108 case 23 :
2109 // InternalAlloyLanguage.g:1:142: T__33
2110 {
2111 mT__33();
2112
2113 }
2114 break;
2115 case 24 :
2116 // InternalAlloyLanguage.g:1:148: T__34
2117 {
2118 mT__34();
2119
2120 }
2121 break;
2122 case 25 :
2123 // InternalAlloyLanguage.g:1:154: T__35
2124 {
2125 mT__35();
2126
2127 }
2128 break;
2129 case 26 :
2130 // InternalAlloyLanguage.g:1:160: T__36
2131 {
2132 mT__36();
2133
2134 }
2135 break;
2136 case 27 :
2137 // InternalAlloyLanguage.g:1:166: T__37
2138 {
2139 mT__37();
2140
2141 }
2142 break;
2143 case 28 :
2144 // InternalAlloyLanguage.g:1:172: T__38
2145 {
2146 mT__38();
2147
2148 }
2149 break;
2150 case 29 :
2151 // InternalAlloyLanguage.g:1:178: T__39
2152 {
2153 mT__39();
2154
2155 }
2156 break;
2157 case 30 :
2158 // InternalAlloyLanguage.g:1:184: T__40
2159 {
2160 mT__40();
2161
2162 }
2163 break;
2164 case 31 :
2165 // InternalAlloyLanguage.g:1:190: T__41
2166 {
2167 mT__41();
2168
2169 }
2170 break;
2171 case 32 :
2172 // InternalAlloyLanguage.g:1:196: T__42
2173 {
2174 mT__42();
2175
2176 }
2177 break;
2178 case 33 :
2179 // InternalAlloyLanguage.g:1:202: T__43
2180 {
2181 mT__43();
2182
2183 }
2184 break;
2185 case 34 :
2186 // InternalAlloyLanguage.g:1:208: T__44
2187 {
2188 mT__44();
2189
2190 }
2191 break;
2192 case 35 :
2193 // InternalAlloyLanguage.g:1:214: T__45
2194 {
2195 mT__45();
2196
2197 }
2198 break;
2199 case 36 :
2200 // InternalAlloyLanguage.g:1:220: T__46
2201 {
2202 mT__46();
2203
2204 }
2205 break;
2206 case 37 :
2207 // InternalAlloyLanguage.g:1:226: T__47
2208 {
2209 mT__47();
2210
2211 }
2212 break;
2213 case 38 :
2214 // InternalAlloyLanguage.g:1:232: T__48
2215 {
2216 mT__48();
2217
2218 }
2219 break;
2220 case 39 :
2221 // InternalAlloyLanguage.g:1:238: T__49
2222 {
2223 mT__49();
2224
2225 }
2226 break;
2227 case 40 :
2228 // InternalAlloyLanguage.g:1:244: T__50
2229 {
2230 mT__50();
2231
2232 }
2233 break;
2234 case 41 :
2235 // InternalAlloyLanguage.g:1:250: T__51
2236 {
2237 mT__51();
2238
2239 }
2240 break;
2241 case 42 :
2242 // InternalAlloyLanguage.g:1:256: T__52
2243 {
2244 mT__52();
2245
2246 }
2247 break;
2248 case 43 :
2249 // InternalAlloyLanguage.g:1:262: T__53
2250 {
2251 mT__53();
2252
2253 }
2254 break;
2255 case 44 :
2256 // InternalAlloyLanguage.g:1:268: T__54
2257 {
2258 mT__54();
2259
2260 }
2261 break;
2262 case 45 :
2263 // InternalAlloyLanguage.g:1:274: T__55
2264 {
2265 mT__55();
2266
2267 }
2268 break;
2269 case 46 :
2270 // InternalAlloyLanguage.g:1:280: T__56
2271 {
2272 mT__56();
2273
2274 }
2275 break;
2276 case 47 :
2277 // InternalAlloyLanguage.g:1:286: T__57
2278 {
2279 mT__57();
2280
2281 }
2282 break;
2283 case 48 :
2284 // InternalAlloyLanguage.g:1:292: T__58
2285 {
2286 mT__58();
2287
2288 }
2289 break;
2290 case 49 :
2291 // InternalAlloyLanguage.g:1:298: T__59
2292 {
2293 mT__59();
2294
2295 }
2296 break;
2297 case 50 :
2298 // InternalAlloyLanguage.g:1:304: T__60
2299 {
2300 mT__60();
2301
2302 }
2303 break;
2304 case 51 :
2305 // InternalAlloyLanguage.g:1:310: T__61
2306 {
2307 mT__61();
2308
2309 }
2310 break;
2311 case 52 :
2312 // InternalAlloyLanguage.g:1:316: T__62
2313 {
2314 mT__62();
2315
2316 }
2317 break;
2318 case 53 :
2319 // InternalAlloyLanguage.g:1:322: T__63
2320 {
2321 mT__63();
2322
2323 }
2324 break;
2325 case 54 :
2326 // InternalAlloyLanguage.g:1:328: T__64
2327 {
2328 mT__64();
2329
2330 }
2331 break;
2332 case 55 :
2333 // InternalAlloyLanguage.g:1:334: T__65
2334 {
2335 mT__65();
2336
2337 }
2338 break;
2339 case 56 :
2340 // InternalAlloyLanguage.g:1:340: T__66
2341 {
2342 mT__66();
2343
2344 }
2345 break;
2346 case 57 :
2347 // InternalAlloyLanguage.g:1:346: T__67
2348 {
2349 mT__67();
2350
2351 }
2352 break;
2353 case 58 :
2354 // InternalAlloyLanguage.g:1:352: T__68
2355 {
2356 mT__68();
2357
2358 }
2359 break;
2360 case 59 :
2361 // InternalAlloyLanguage.g:1:358: T__69
2362 {
2363 mT__69();
2364
2365 }
2366 break;
2367 case 60 :
2368 // InternalAlloyLanguage.g:1:364: T__70
2369 {
2370 mT__70();
2371
2372 }
2373 break;
2374 case 61 :
2375 // InternalAlloyLanguage.g:1:370: T__71
2376 {
2377 mT__71();
2378
2379 }
2380 break;
2381 case 62 :
2382 // InternalAlloyLanguage.g:1:376: T__72
2383 {
2384 mT__72();
2385
2386 }
2387 break;
2388 case 63 :
2389 // InternalAlloyLanguage.g:1:382: T__73
2390 {
2391 mT__73();
2392
2393 }
2394 break;
2395 case 64 :
2396 // InternalAlloyLanguage.g:1:388: T__74
2397 {
2398 mT__74();
2399
2400 }
2401 break;
2402 case 65 :
2403 // InternalAlloyLanguage.g:1:394: T__75
2404 {
2405 mT__75();
2406
2407 }
2408 break;
2409 case 66 :
2410 // InternalAlloyLanguage.g:1:400: T__76
2411 {
2412 mT__76();
2413
2414 }
2415 break;
2416 case 67 :
2417 // InternalAlloyLanguage.g:1:406: RULE_ID
2418 {
2419 mRULE_ID();
2420
2421 }
2422 break;
2423 case 68 :
2424 // InternalAlloyLanguage.g:1:414: RULE_INT
2425 {
2426 mRULE_INT();
2427
2428 }
2429 break;
2430 case 69 :
2431 // InternalAlloyLanguage.g:1:423: RULE_STRING
2432 {
2433 mRULE_STRING();
2434
2435 }
2436 break;
2437 case 70 :
2438 // InternalAlloyLanguage.g:1:435: RULE_ML_COMMENT
2439 {
2440 mRULE_ML_COMMENT();
2441
2442 }
2443 break;
2444 case 71 :
2445 // InternalAlloyLanguage.g:1:451: RULE_SL_COMMENT
2446 {
2447 mRULE_SL_COMMENT();
2448
2449 }
2450 break;
2451 case 72 :
2452 // InternalAlloyLanguage.g:1:467: RULE_WS
2453 {
2454 mRULE_WS();
2455
2456 }
2457 break;
2458 case 73 :
2459 // InternalAlloyLanguage.g:1:475: RULE_ANY_OTHER
2460 {
2461 mRULE_ANY_OTHER();
2462
2463 }
2464 break;
2465
2466 }
2467
2468 }
2469
2470
2471 protected DFA11 dfa11 = new DFA11(this);
2472 static final String DFA11_eotS =
2473 "\1\uffff\1\57\3\uffff\3\57\1\77\1\101\1\57\2\uffff\2\57\1\53\1\57\1\117\1\121\1\123\1\125\1\127\1\uffff\1\132\1\57\4\uffff\3\57\2\uffff\3\57\2\uffff\3\53\2\uffff\3\57\4\uffff\7\57\1\172\3\57\4\uffff\3\57\2\uffff\3\57\1\uffff\1\u0085\1\57\1\u0088\15\uffff\1\u008b\4\uffff\3\57\2\uffff\4\57\5\uffff\5\57\1\u0098\1\u0099\1\u009a\1\u009b\1\u009c\1\57\1\u009e\1\uffff\1\u009f\2\57\1\u00a2\1\57\1\u00a4\3\57\1\u00a8\1\uffff\1\u00a9\2\uffff\1\u00aa\1\57\1\uffff\1\57\1\u00ad\1\57\1\u00af\1\u00b0\1\57\1\u00b2\1\u00b3\2\57\1\u00b6\1\57\5\uffff\1\u00b8\2\uffff\1\57\1\u00ba\1\uffff\1\u00bb\1\uffff\1\u00bc\1\u00bd\1\u00be\3\uffff\1\u00bf\1\u00c0\1\uffff\1\57\2\uffff\1\u00c2\2\uffff\2\57\1\uffff\1\57\1\uffff\1\57\7\uffff\1\57\1\uffff\4\57\1\u00cc\1\u00cd\1\u00ce\1\57\1\u00d0\3\uffff\1\u00d1\2\uffff";
2474 static final String DFA11_eofS =
2475 "\u00d2\uffff";
2476 static final String DFA11_minS =
2477 "\1\0\1\154\3\uffff\1\142\1\145\1\144\1\53\1\76\1\141\2\uffff\1\154\1\151\1\174\1\156\1\72\1\76\1\46\2\75\1\uffff\1\76\1\157\4\uffff\2\156\1\164\2\uffff\1\145\1\157\1\165\2\uffff\2\0\1\52\2\uffff\1\165\1\141\1\163\4\uffff\1\163\1\144\1\154\1\147\1\142\1\155\1\164\1\42\1\146\1\160\1\145\4\uffff\1\156\1\143\1\162\2\uffff\1\145\1\165\1\163\1\uffff\1\42\1\145\1\76\15\uffff\1\42\4\uffff\1\151\1\164\1\162\2\uffff\1\156\1\155\1\156\1\154\5\uffff\1\155\1\145\1\143\1\145\1\164\5\42\1\145\1\42\1\uffff\1\42\1\154\1\156\1\42\1\164\1\42\1\144\1\163\1\152\1\42\1\uffff\1\42\2\uffff\1\42\1\145\1\uffff\1\166\1\42\1\151\2\42\1\145\2\42\1\156\1\164\1\42\1\162\5\uffff\1\42\2\uffff\1\151\1\42\1\uffff\1\42\1\uffff\3\42\3\uffff\2\42\1\uffff\1\156\2\uffff\1\42\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\7\uffff\1\147\1\uffff\1\163\1\171\1\143\1\163\3\42\1\164\1\42\3\uffff\1\42\2\uffff";
2478 static final String DFA11_maxS =
2479 "\1\uffff\1\170\3\uffff\1\156\1\165\1\156\1\53\1\76\1\165\2\uffff\1\162\1\151\1\174\1\162\1\75\1\76\1\46\2\75\1\uffff\1\76\1\157\4\uffff\2\156\1\164\2\uffff\1\165\1\157\1\165\2\uffff\2\uffff\1\57\2\uffff\1\165\1\164\1\163\4\uffff\1\163\1\144\1\154\1\147\2\155\1\164\1\172\1\146\1\160\1\145\4\uffff\1\156\1\143\1\162\2\uffff\1\145\1\165\1\166\1\uffff\1\172\1\145\1\76\15\uffff\1\172\4\uffff\1\151\1\164\1\162\2\uffff\1\156\1\155\1\156\1\154\5\uffff\1\155\1\145\1\143\1\145\1\164\5\172\1\145\1\172\1\uffff\1\172\1\154\1\156\1\172\1\164\1\172\1\144\1\163\1\152\1\172\1\uffff\1\172\2\uffff\1\172\1\145\1\uffff\1\166\1\172\1\151\2\172\1\145\2\172\1\156\1\164\1\172\1\162\5\uffff\1\172\2\uffff\1\151\1\172\1\uffff\1\172\1\uffff\3\172\3\uffff\2\172\1\uffff\1\156\2\uffff\1\172\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\7\uffff\1\147\1\uffff\1\163\1\171\1\143\1\163\3\172\1\164\1\172\3\uffff\1\172\2\uffff";
2480 static final String DFA11_acceptS =
2481 "\2\uffff\1\2\1\3\1\4\6\uffff\1\14\1\15\11\uffff\1\43\2\uffff\1\51\1\52\1\53\1\54\3\uffff\1\63\1\64\3\uffff\1\103\1\104\3\uffff\1\110\1\111\3\uffff\1\103\1\2\1\3\1\4\13\uffff\1\40\1\11\1\41\1\12\3\uffff\1\14\1\15\3\uffff\1\21\3\uffff\1\42\1\36\1\25\1\32\1\30\1\45\1\33\1\47\1\35\1\34\1\43\1\46\1\44\1\uffff\1\51\1\52\1\53\1\54\3\uffff\1\63\1\64\4\uffff\1\104\1\105\1\106\1\107\1\110\14\uffff\1\10\12\uffff\1\22\1\uffff\1\23\1\37\2\uffff\1\71\14\uffff\1\31\1\70\1\6\1\55\1\77\1\uffff\1\75\1\24\2\uffff\1\13\1\uffff\1\66\3\uffff\1\102\1\74\1\50\2\uffff\1\61\1\uffff\1\65\1\101\1\uffff\1\100\1\1\2\uffff\1\27\1\uffff\1\72\1\uffff\1\57\1\17\1\16\1\76\1\20\1\56\1\60\1\uffff\1\73\11\uffff\1\62\1\7\1\67\1\uffff\1\26\1\5";
2482 static final String DFA11_specialS =
2483 "\1\1\46\uffff\1\2\1\0\u00a9\uffff}>";
2484 static final String[] DFA11_transitionS = {
2485 "\11\53\2\52\2\53\1\52\22\53\1\52\1\24\1\47\1\34\2\53\1\23\1\50\1\40\1\41\1\33\1\10\1\3\1\27\1\26\1\51\12\46\1\11\1\53\1\21\1\22\1\25\2\53\10\45\1\36\11\45\1\37\7\45\1\13\1\53\1\14\1\32\1\45\1\53\1\5\2\45\1\16\1\1\1\12\2\45\1\7\2\45\1\43\1\44\1\30\1\20\1\15\1\45\1\42\1\6\1\45\1\35\5\45\1\2\1\17\1\4\1\31\uff81\53",
2486 "\1\56\1\uffff\1\54\11\uffff\1\55",
2487 "",
2488 "",
2489 "",
2490 "\1\63\11\uffff\1\65\1\uffff\1\64",
2491 "\1\71\3\uffff\1\66\5\uffff\1\70\5\uffff\1\67",
2492 "\1\75\1\uffff\1\73\6\uffff\1\74\1\72",
2493 "\1\76",
2494 "\1\100",
2495 "\1\103\15\uffff\1\104\5\uffff\1\102",
2496 "",
2497 "",
2498 "\1\110\5\uffff\1\107",
2499 "\1\111",
2500 "\1\112",
2501 "\1\114\3\uffff\1\113",
2502 "\1\116\2\uffff\1\115",
2503 "\1\120",
2504 "\1\122",
2505 "\1\124",
2506 "\1\126",
2507 "",
2508 "\1\131",
2509 "\1\133",
2510 "",
2511 "",
2512 "",
2513 "",
2514 "\1\140",
2515 "\1\141",
2516 "\1\142",
2517 "",
2518 "",
2519 "\1\146\17\uffff\1\145",
2520 "\1\147",
2521 "\1\150",
2522 "",
2523 "",
2524 "\0\152",
2525 "\0\152",
2526 "\1\153\4\uffff\1\154",
2527 "",
2528 "",
2529 "\1\156",
2530 "\1\160\22\uffff\1\157",
2531 "\1\161",
2532 "",
2533 "",
2534 "",
2535 "",
2536 "\1\162",
2537 "\1\163",
2538 "\1\164",
2539 "\1\165",
2540 "\1\167\12\uffff\1\166",
2541 "\1\170",
2542 "\1\171",
2543 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2544 "\1\173",
2545 "\1\174",
2546 "\1\175",
2547 "",
2548 "",
2549 "",
2550 "",
2551 "\1\176",
2552 "\1\177",
2553 "\1\u0080",
2554 "",
2555 "",
2556 "\1\u0081",
2557 "\1\u0082",
2558 "\1\u0083\2\uffff\1\u0084",
2559 "",
2560 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2561 "\1\u0086",
2562 "\1\u0087",
2563 "",
2564 "",
2565 "",
2566 "",
2567 "",
2568 "",
2569 "",
2570 "",
2571 "",
2572 "",
2573 "",
2574 "",
2575 "",
2576 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\15\57\1\u008a\5\57\1\u0089\6\57",
2577 "",
2578 "",
2579 "",
2580 "",
2581 "\1\u008c",
2582 "\1\u008d",
2583 "\1\u008e",
2584 "",
2585 "",
2586 "\1\u008f",
2587 "\1\u0090",
2588 "\1\u0091",
2589 "\1\u0092",
2590 "",
2591 "",
2592 "",
2593 "",
2594 "",
2595 "\1\u0093",
2596 "\1\u0094",
2597 "\1\u0095",
2598 "\1\u0096",
2599 "\1\u0097",
2600 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2601 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2602 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2603 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2604 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2605 "\1\u009d",
2606 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2607 "",
2608 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2609 "\1\u00a0",
2610 "\1\u00a1",
2611 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2612 "\1\u00a3",
2613 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2614 "\1\u00a5",
2615 "\1\u00a6",
2616 "\1\u00a7",
2617 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2618 "",
2619 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2620 "",
2621 "",
2622 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2623 "\1\u00ab",
2624 "",
2625 "\1\u00ac",
2626 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2627 "\1\u00ae",
2628 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2629 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2630 "\1\u00b1",
2631 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2632 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2633 "\1\u00b4",
2634 "\1\u00b5",
2635 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2636 "\1\u00b7",
2637 "",
2638 "",
2639 "",
2640 "",
2641 "",
2642 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2643 "",
2644 "",
2645 "\1\u00b9",
2646 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2647 "",
2648 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2649 "",
2650 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2651 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2652 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2653 "",
2654 "",
2655 "",
2656 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2657 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2658 "",
2659 "\1\u00c1",
2660 "",
2661 "",
2662 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2663 "",
2664 "",
2665 "\1\u00c3",
2666 "\1\u00c4",
2667 "",
2668 "\1\u00c5",
2669 "",
2670 "\1\u00c6",
2671 "",
2672 "",
2673 "",
2674 "",
2675 "",
2676 "",
2677 "",
2678 "\1\u00c7",
2679 "",
2680 "\1\u00c8",
2681 "\1\u00c9",
2682 "\1\u00ca",
2683 "\1\u00cb",
2684 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2685 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2686 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2687 "\1\u00cf",
2688 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2689 "",
2690 "",
2691 "",
2692 "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57",
2693 "",
2694 ""
2695 };
2696
2697 static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS);
2698 static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS);
2699 static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS);
2700 static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS);
2701 static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS);
2702 static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS);
2703 static final short[][] DFA11_transition;
2704
2705 static {
2706 int numStates = DFA11_transitionS.length;
2707 DFA11_transition = new short[numStates][];
2708 for (int i=0; i<numStates; i++) {
2709 DFA11_transition[i] = DFA.unpackEncodedString(DFA11_transitionS[i]);
2710 }
2711 }
2712
2713 class DFA11 extends DFA {
2714
2715 public DFA11(BaseRecognizer recognizer) {
2716 this.recognizer = recognizer;
2717 this.decisionNumber = 11;
2718 this.eot = DFA11_eot;
2719 this.eof = DFA11_eof;
2720 this.min = DFA11_min;
2721 this.max = DFA11_max;
2722 this.accept = DFA11_accept;
2723 this.special = DFA11_special;
2724 this.transition = DFA11_transition;
2725 }
2726 public String getDescription() {
2727 return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
2728 }
2729 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
2730 IntStream input = _input;
2731 int _s = s;
2732 switch ( s ) {
2733 case 0 :
2734 int LA11_40 = input.LA(1);
2735
2736 s = -1;
2737 if ( ((LA11_40>='\u0000' && LA11_40<='\uFFFF')) ) {s = 106;}
2738
2739 else s = 43;
2740
2741 if ( s>=0 ) return s;
2742 break;
2743 case 1 :
2744 int LA11_0 = input.LA(1);
2745
2746 s = -1;
2747 if ( (LA11_0=='e') ) {s = 1;}
2748
2749 else if ( (LA11_0=='{') ) {s = 2;}
2750
2751 else if ( (LA11_0==',') ) {s = 3;}
2752
2753 else if ( (LA11_0=='}') ) {s = 4;}
2754
2755 else if ( (LA11_0=='a') ) {s = 5;}
2756
2757 else if ( (LA11_0=='s') ) {s = 6;}
2758
2759 else if ( (LA11_0=='i') ) {s = 7;}
2760
2761 else if ( (LA11_0=='+') ) {s = 8;}
2762
2763 else if ( (LA11_0==':') ) {s = 9;}
2764
2765 else if ( (LA11_0=='f') ) {s = 10;}
2766
2767 else if ( (LA11_0=='[') ) {s = 11;}
2768
2769 else if ( (LA11_0==']') ) {s = 12;}
2770
2771 else if ( (LA11_0=='p') ) {s = 13;}
2772
2773 else if ( (LA11_0=='d') ) {s = 14;}
2774
2775 else if ( (LA11_0=='|') ) {s = 15;}
2776
2777 else if ( (LA11_0=='o') ) {s = 16;}
2778
2779 else if ( (LA11_0=='<') ) {s = 17;}
2780
2781 else if ( (LA11_0=='=') ) {s = 18;}
2782
2783 else if ( (LA11_0=='&') ) {s = 19;}
2784
2785 else if ( (LA11_0=='!') ) {s = 20;}
2786
2787 else if ( (LA11_0=='>') ) {s = 21;}
2788
2789 else if ( (LA11_0=='.') ) {s = 22;}
2790
2791 else if ( (LA11_0=='-') ) {s = 23;}
2792
2793 else if ( (LA11_0=='n') ) {s = 24;}
2794
2795 else if ( (LA11_0=='~') ) {s = 25;}
2796
2797 else if ( (LA11_0=='^') ) {s = 26;}
2798
2799 else if ( (LA11_0=='*') ) {s = 27;}
2800
2801 else if ( (LA11_0=='#') ) {s = 28;}
2802
2803 else if ( (LA11_0=='u') ) {s = 29;}
2804
2805 else if ( (LA11_0=='I') ) {s = 30;}
2806
2807 else if ( (LA11_0=='S') ) {s = 31;}
2808
2809 else if ( (LA11_0=='(') ) {s = 32;}
2810
2811 else if ( (LA11_0==')') ) {s = 33;}
2812
2813 else if ( (LA11_0=='r') ) {s = 34;}
2814
2815 else if ( (LA11_0=='l') ) {s = 35;}
2816
2817 else if ( (LA11_0=='m') ) {s = 36;}
2818
2819 else if ( ((LA11_0>='A' && LA11_0<='H')||(LA11_0>='J' && LA11_0<='R')||(LA11_0>='T' && LA11_0<='Z')||LA11_0=='_'||(LA11_0>='b' && LA11_0<='c')||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='k')||LA11_0=='q'||LA11_0=='t'||(LA11_0>='v' && LA11_0<='z')) ) {s = 37;}
2820
2821 else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 38;}
2822
2823 else if ( (LA11_0=='\"') ) {s = 39;}
2824
2825 else if ( (LA11_0=='\'') ) {s = 40;}
2826
2827 else if ( (LA11_0=='/') ) {s = 41;}
2828
2829 else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 42;}
2830
2831 else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='$' && LA11_0<='%')||LA11_0==';'||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='\u007F' && LA11_0<='\uFFFF')) ) {s = 43;}
2832
2833 if ( s>=0 ) return s;
2834 break;
2835 case 2 :
2836 int LA11_39 = input.LA(1);
2837
2838 s = -1;
2839 if ( ((LA11_39>='\u0000' && LA11_39<='\uFFFF')) ) {s = 106;}
2840
2841 else s = 43;
2842
2843 if ( s>=0 ) return s;
2844 break;
2845 }
2846 NoViableAltException nvae =
2847 new NoViableAltException(getDescription(), 11, _s, input);
2848 error(nvae);
2849 throw nvae;
2850 }
2851 }
2852
2853
2854} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java
deleted file mode 100644
index b0bedf50..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java
+++ /dev/null
@@ -1,9153 +0,0 @@
1package hu.bme.mit.inf.dslreasoner.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.emf.common.util.Enumerator;
9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
13import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
14
15
16
17import org.antlr.runtime.*;
18import java.util.Stack;
19import java.util.List;
20import java.util.ArrayList;
21import java.util.Map;
22import java.util.HashMap;
23@SuppressWarnings("all")
24public class InternalAlloyLanguageParser extends AbstractInternalAntlrParser {
25 public static final String[] tokenNames = new String[] {
26 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'enum'", "'{'", "','", "'}'", "'abstract'", "'sig'", "'extends'", "'in'", "'+'", "':'", "'fun'", "'['", "']'", "'pred'", "'fact'", "'disj'", "'||'", "'or'", "'<=>'", "'iff'", "'=>'", "'implies'", "'else'", "'&&'", "'and'", "'='", "'!='", "'>'", "'>='", "'<'", "'<='", "'++'", "':>'", "'<:'", "'.'", "'-'", "'&'", "'->'", "'!'", "'not'", "'~'", "'^'", "'*'", "'#'", "'sum'", "'none'", "'iden'", "'univ'", "'Int'", "'String'", "'('", "')'", "'run'", "'for'", "'exactly'", "'all'", "'no'", "'some'", "'lone'", "'one'", "'set'", "'plus'", "'sub'", "'mul'", "'rem'", "'div'"
27 };
28 public static final int T__50=50;
29 public static final int T__19=19;
30 public static final int T__15=15;
31 public static final int T__59=59;
32 public static final int T__16=16;
33 public static final int T__17=17;
34 public static final int T__18=18;
35 public static final int T__11=11;
36 public static final int T__55=55;
37 public static final int T__12=12;
38 public static final int T__56=56;
39 public static final int T__13=13;
40 public static final int T__57=57;
41 public static final int T__14=14;
42 public static final int T__58=58;
43 public static final int T__51=51;
44 public static final int T__52=52;
45 public static final int T__53=53;
46 public static final int T__54=54;
47 public static final int T__60=60;
48 public static final int T__61=61;
49 public static final int RULE_ID=4;
50 public static final int T__26=26;
51 public static final int T__27=27;
52 public static final int T__28=28;
53 public static final int RULE_INT=5;
54 public static final int T__29=29;
55 public static final int T__22=22;
56 public static final int T__66=66;
57 public static final int RULE_ML_COMMENT=7;
58 public static final int T__23=23;
59 public static final int T__67=67;
60 public static final int T__24=24;
61 public static final int T__68=68;
62 public static final int T__25=25;
63 public static final int T__69=69;
64 public static final int T__62=62;
65 public static final int T__63=63;
66 public static final int T__20=20;
67 public static final int T__64=64;
68 public static final int T__21=21;
69 public static final int T__65=65;
70 public static final int T__70=70;
71 public static final int T__71=71;
72 public static final int T__72=72;
73 public static final int RULE_STRING=6;
74 public static final int RULE_SL_COMMENT=8;
75 public static final int T__37=37;
76 public static final int T__38=38;
77 public static final int T__39=39;
78 public static final int T__33=33;
79 public static final int T__34=34;
80 public static final int T__35=35;
81 public static final int T__36=36;
82 public static final int T__73=73;
83 public static final int EOF=-1;
84 public static final int T__30=30;
85 public static final int T__74=74;
86 public static final int T__31=31;
87 public static final int T__75=75;
88 public static final int T__32=32;
89 public static final int T__76=76;
90 public static final int RULE_WS=9;
91 public static final int RULE_ANY_OTHER=10;
92 public static final int T__48=48;
93 public static final int T__49=49;
94 public static final int T__44=44;
95 public static final int T__45=45;
96 public static final int T__46=46;
97 public static final int T__47=47;
98 public static final int T__40=40;
99 public static final int T__41=41;
100 public static final int T__42=42;
101 public static final int T__43=43;
102
103 // delegates
104 // delegators
105
106
107 public InternalAlloyLanguageParser(TokenStream input) {
108 this(input, new RecognizerSharedState());
109 }
110 public InternalAlloyLanguageParser(TokenStream input, RecognizerSharedState state) {
111 super(input, state);
112
113 }
114
115
116 public String[] getTokenNames() { return InternalAlloyLanguageParser.tokenNames; }
117 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
118
119
120
121 private AlloyLanguageGrammarAccess grammarAccess;
122
123 public InternalAlloyLanguageParser(TokenStream input, AlloyLanguageGrammarAccess grammarAccess) {
124 this(input);
125 this.grammarAccess = grammarAccess;
126 registerRules(grammarAccess.getGrammar());
127 }
128
129 @Override
130 protected String getFirstRuleName() {
131 return "ALSDocument";
132 }
133
134 @Override
135 protected AlloyLanguageGrammarAccess getGrammarAccess() {
136 return grammarAccess;
137 }
138
139
140
141 // $ANTLR start "entryRuleALSDocument"
142 // InternalAlloyLanguage.g:68:1: entryRuleALSDocument returns [EObject current=null] : iv_ruleALSDocument= ruleALSDocument EOF ;
143 public final EObject entryRuleALSDocument() throws RecognitionException {
144 EObject current = null;
145
146 EObject iv_ruleALSDocument = null;
147
148
149 try {
150 // InternalAlloyLanguage.g:69:2: (iv_ruleALSDocument= ruleALSDocument EOF )
151 // InternalAlloyLanguage.g:70:2: iv_ruleALSDocument= ruleALSDocument EOF
152 {
153 if ( state.backtracking==0 ) {
154 newCompositeNode(grammarAccess.getALSDocumentRule());
155 }
156 pushFollow(FOLLOW_1);
157 iv_ruleALSDocument=ruleALSDocument();
158
159 state._fsp--;
160 if (state.failed) return current;
161 if ( state.backtracking==0 ) {
162 current =iv_ruleALSDocument;
163 }
164 match(input,EOF,FOLLOW_2); if (state.failed) return current;
165
166 }
167
168 }
169
170 catch (RecognitionException re) {
171 recover(input,re);
172 appendSkippedTokens();
173 }
174 finally {
175 }
176 return current;
177 }
178 // $ANTLR end "entryRuleALSDocument"
179
180
181 // $ANTLR start "ruleALSDocument"
182 // InternalAlloyLanguage.g:77:1: ruleALSDocument returns [EObject current=null] : ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) ;
183 public final EObject ruleALSDocument() throws RecognitionException {
184 EObject current = null;
185
186 EObject lv_enumDeclarations_0_0 = null;
187
188 EObject lv_signatureBodies_1_0 = null;
189
190 EObject lv_functionDefinitions_2_0 = null;
191
192 EObject lv_relationDefinitions_3_0 = null;
193
194 EObject lv_factDeclarations_4_0 = null;
195
196 EObject lv_runCommand_5_0 = null;
197
198
199 enterRule();
200
201 try {
202 // InternalAlloyLanguage.g:80:28: ( ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) )
203 // InternalAlloyLanguage.g:81:1: ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) )
204 {
205 // InternalAlloyLanguage.g:81:1: ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) )
206 // InternalAlloyLanguage.g:81:2: ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) )
207 {
208 // InternalAlloyLanguage.g:81:2: ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+
209 int cnt1=0;
210 loop1:
211 do {
212 int alt1=6;
213 switch ( input.LA(1) ) {
214 case 11:
215 {
216 alt1=1;
217 }
218 break;
219 case 15:
220 case 16:
221 case 66:
222 case 67:
223 case 68:
224 case 69:
225 case 70:
226 case 71:
227 {
228 alt1=2;
229 }
230 break;
231 case 21:
232 {
233 alt1=3;
234 }
235 break;
236 case 24:
237 {
238 alt1=4;
239 }
240 break;
241 case 25:
242 {
243 alt1=5;
244 }
245 break;
246
247 }
248
249 switch (alt1) {
250 case 1 :
251 // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) )
252 {
253 // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) )
254 // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration )
255 {
256 // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration )
257 // InternalAlloyLanguage.g:83:3: lv_enumDeclarations_0_0= ruleALSEnumDeclaration
258 {
259 if ( state.backtracking==0 ) {
260
261 newCompositeNode(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0());
262
263 }
264 pushFollow(FOLLOW_3);
265 lv_enumDeclarations_0_0=ruleALSEnumDeclaration();
266
267 state._fsp--;
268 if (state.failed) return current;
269 if ( state.backtracking==0 ) {
270
271 if (current==null) {
272 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
273 }
274 add(
275 current,
276 "enumDeclarations",
277 lv_enumDeclarations_0_0,
278 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration");
279 afterParserOrEnumRuleCall();
280
281 }
282
283 }
284
285
286 }
287
288
289 }
290 break;
291 case 2 :
292 // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) )
293 {
294 // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) )
295 // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody )
296 {
297 // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody )
298 // InternalAlloyLanguage.g:102:3: lv_signatureBodies_1_0= ruleALSSignatureBody
299 {
300 if ( state.backtracking==0 ) {
301
302 newCompositeNode(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0());
303
304 }
305 pushFollow(FOLLOW_3);
306 lv_signatureBodies_1_0=ruleALSSignatureBody();
307
308 state._fsp--;
309 if (state.failed) return current;
310 if ( state.backtracking==0 ) {
311
312 if (current==null) {
313 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
314 }
315 add(
316 current,
317 "signatureBodies",
318 lv_signatureBodies_1_0,
319 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody");
320 afterParserOrEnumRuleCall();
321
322 }
323
324 }
325
326
327 }
328
329
330 }
331 break;
332 case 3 :
333 // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) )
334 {
335 // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) )
336 // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition )
337 {
338 // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition )
339 // InternalAlloyLanguage.g:121:3: lv_functionDefinitions_2_0= ruleALSFunctionDefinition
340 {
341 if ( state.backtracking==0 ) {
342
343 newCompositeNode(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0());
344
345 }
346 pushFollow(FOLLOW_3);
347 lv_functionDefinitions_2_0=ruleALSFunctionDefinition();
348
349 state._fsp--;
350 if (state.failed) return current;
351 if ( state.backtracking==0 ) {
352
353 if (current==null) {
354 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
355 }
356 add(
357 current,
358 "functionDefinitions",
359 lv_functionDefinitions_2_0,
360 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition");
361 afterParserOrEnumRuleCall();
362
363 }
364
365 }
366
367
368 }
369
370
371 }
372 break;
373 case 4 :
374 // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) )
375 {
376 // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) )
377 // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition )
378 {
379 // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition )
380 // InternalAlloyLanguage.g:140:3: lv_relationDefinitions_3_0= ruleALSRelationDefinition
381 {
382 if ( state.backtracking==0 ) {
383
384 newCompositeNode(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0());
385
386 }
387 pushFollow(FOLLOW_3);
388 lv_relationDefinitions_3_0=ruleALSRelationDefinition();
389
390 state._fsp--;
391 if (state.failed) return current;
392 if ( state.backtracking==0 ) {
393
394 if (current==null) {
395 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
396 }
397 add(
398 current,
399 "relationDefinitions",
400 lv_relationDefinitions_3_0,
401 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition");
402 afterParserOrEnumRuleCall();
403
404 }
405
406 }
407
408
409 }
410
411
412 }
413 break;
414 case 5 :
415 // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) )
416 {
417 // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) )
418 // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration )
419 {
420 // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration )
421 // InternalAlloyLanguage.g:159:3: lv_factDeclarations_4_0= ruleALSFactDeclaration
422 {
423 if ( state.backtracking==0 ) {
424
425 newCompositeNode(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0());
426
427 }
428 pushFollow(FOLLOW_3);
429 lv_factDeclarations_4_0=ruleALSFactDeclaration();
430
431 state._fsp--;
432 if (state.failed) return current;
433 if ( state.backtracking==0 ) {
434
435 if (current==null) {
436 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
437 }
438 add(
439 current,
440 "factDeclarations",
441 lv_factDeclarations_4_0,
442 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration");
443 afterParserOrEnumRuleCall();
444
445 }
446
447 }
448
449
450 }
451
452
453 }
454 break;
455
456 default :
457 if ( cnt1 >= 1 ) break loop1;
458 if (state.backtracking>0) {state.failed=true; return current;}
459 EarlyExitException eee =
460 new EarlyExitException(1, input);
461 throw eee;
462 }
463 cnt1++;
464 } while (true);
465
466 // InternalAlloyLanguage.g:175:4: ( (lv_runCommand_5_0= ruleALSRunCommand ) )
467 // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand )
468 {
469 // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand )
470 // InternalAlloyLanguage.g:177:3: lv_runCommand_5_0= ruleALSRunCommand
471 {
472 if ( state.backtracking==0 ) {
473
474 newCompositeNode(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0());
475
476 }
477 pushFollow(FOLLOW_2);
478 lv_runCommand_5_0=ruleALSRunCommand();
479
480 state._fsp--;
481 if (state.failed) return current;
482 if ( state.backtracking==0 ) {
483
484 if (current==null) {
485 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
486 }
487 set(
488 current,
489 "runCommand",
490 lv_runCommand_5_0,
491 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand");
492 afterParserOrEnumRuleCall();
493
494 }
495
496 }
497
498
499 }
500
501
502 }
503
504
505 }
506
507 if ( state.backtracking==0 ) {
508 leaveRule();
509 }
510 }
511
512 catch (RecognitionException re) {
513 recover(input,re);
514 appendSkippedTokens();
515 }
516 finally {
517 }
518 return current;
519 }
520 // $ANTLR end "ruleALSDocument"
521
522
523 // $ANTLR start "entryRuleALSID"
524 // InternalAlloyLanguage.g:201:1: entryRuleALSID returns [String current=null] : iv_ruleALSID= ruleALSID EOF ;
525 public final String entryRuleALSID() throws RecognitionException {
526 String current = null;
527
528 AntlrDatatypeRuleToken iv_ruleALSID = null;
529
530
531 try {
532 // InternalAlloyLanguage.g:202:2: (iv_ruleALSID= ruleALSID EOF )
533 // InternalAlloyLanguage.g:203:2: iv_ruleALSID= ruleALSID EOF
534 {
535 if ( state.backtracking==0 ) {
536 newCompositeNode(grammarAccess.getALSIDRule());
537 }
538 pushFollow(FOLLOW_1);
539 iv_ruleALSID=ruleALSID();
540
541 state._fsp--;
542 if (state.failed) return current;
543 if ( state.backtracking==0 ) {
544 current =iv_ruleALSID.getText();
545 }
546 match(input,EOF,FOLLOW_2); if (state.failed) return current;
547
548 }
549
550 }
551
552 catch (RecognitionException re) {
553 recover(input,re);
554 appendSkippedTokens();
555 }
556 finally {
557 }
558 return current;
559 }
560 // $ANTLR end "entryRuleALSID"
561
562
563 // $ANTLR start "ruleALSID"
564 // InternalAlloyLanguage.g:210:1: ruleALSID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
565 public final AntlrDatatypeRuleToken ruleALSID() throws RecognitionException {
566 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
567
568 Token this_ID_0=null;
569
570 enterRule();
571
572 try {
573 // InternalAlloyLanguage.g:213:28: (this_ID_0= RULE_ID )
574 // InternalAlloyLanguage.g:214:5: this_ID_0= RULE_ID
575 {
576 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
577 if ( state.backtracking==0 ) {
578
579 current.merge(this_ID_0);
580
581 }
582 if ( state.backtracking==0 ) {
583
584 newLeafNode(this_ID_0, grammarAccess.getALSIDAccess().getIDTerminalRuleCall());
585
586 }
587
588 }
589
590 if ( state.backtracking==0 ) {
591 leaveRule();
592 }
593 }
594
595 catch (RecognitionException re) {
596 recover(input,re);
597 appendSkippedTokens();
598 }
599 finally {
600 }
601 return current;
602 }
603 // $ANTLR end "ruleALSID"
604
605
606 // $ANTLR start "entryRuleALSTypeDeclaration"
607 // InternalAlloyLanguage.g:231:1: entryRuleALSTypeDeclaration returns [EObject current=null] : iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF ;
608 public final EObject entryRuleALSTypeDeclaration() throws RecognitionException {
609 EObject current = null;
610
611 EObject iv_ruleALSTypeDeclaration = null;
612
613
614 try {
615 // InternalAlloyLanguage.g:232:2: (iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF )
616 // InternalAlloyLanguage.g:233:2: iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF
617 {
618 if ( state.backtracking==0 ) {
619 newCompositeNode(grammarAccess.getALSTypeDeclarationRule());
620 }
621 pushFollow(FOLLOW_1);
622 iv_ruleALSTypeDeclaration=ruleALSTypeDeclaration();
623
624 state._fsp--;
625 if (state.failed) return current;
626 if ( state.backtracking==0 ) {
627 current =iv_ruleALSTypeDeclaration;
628 }
629 match(input,EOF,FOLLOW_2); if (state.failed) return current;
630
631 }
632
633 }
634
635 catch (RecognitionException re) {
636 recover(input,re);
637 appendSkippedTokens();
638 }
639 finally {
640 }
641 return current;
642 }
643 // $ANTLR end "entryRuleALSTypeDeclaration"
644
645
646 // $ANTLR start "ruleALSTypeDeclaration"
647 // InternalAlloyLanguage.g:240:1: ruleALSTypeDeclaration returns [EObject current=null] : (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) ;
648 public final EObject ruleALSTypeDeclaration() throws RecognitionException {
649 EObject current = null;
650
651 EObject this_ALSEnumDeclaration_0 = null;
652
653 EObject this_ALSSignatureDeclaration_1 = null;
654
655
656 enterRule();
657
658 try {
659 // InternalAlloyLanguage.g:243:28: ( (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) )
660 // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration )
661 {
662 // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration )
663 int alt2=2;
664 int LA2_0 = input.LA(1);
665
666 if ( (LA2_0==11) ) {
667 alt2=1;
668 }
669 else if ( (LA2_0==RULE_ID) ) {
670 alt2=2;
671 }
672 else {
673 if (state.backtracking>0) {state.failed=true; return current;}
674 NoViableAltException nvae =
675 new NoViableAltException("", 2, 0, input);
676
677 throw nvae;
678 }
679 switch (alt2) {
680 case 1 :
681 // InternalAlloyLanguage.g:245:5: this_ALSEnumDeclaration_0= ruleALSEnumDeclaration
682 {
683 if ( state.backtracking==0 ) {
684
685 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0());
686
687 }
688 pushFollow(FOLLOW_2);
689 this_ALSEnumDeclaration_0=ruleALSEnumDeclaration();
690
691 state._fsp--;
692 if (state.failed) return current;
693 if ( state.backtracking==0 ) {
694
695 current = this_ALSEnumDeclaration_0;
696 afterParserOrEnumRuleCall();
697
698 }
699
700 }
701 break;
702 case 2 :
703 // InternalAlloyLanguage.g:255:5: this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration
704 {
705 if ( state.backtracking==0 ) {
706
707 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1());
708
709 }
710 pushFollow(FOLLOW_2);
711 this_ALSSignatureDeclaration_1=ruleALSSignatureDeclaration();
712
713 state._fsp--;
714 if (state.failed) return current;
715 if ( state.backtracking==0 ) {
716
717 current = this_ALSSignatureDeclaration_1;
718 afterParserOrEnumRuleCall();
719
720 }
721
722 }
723 break;
724
725 }
726
727
728 }
729
730 if ( state.backtracking==0 ) {
731 leaveRule();
732 }
733 }
734
735 catch (RecognitionException re) {
736 recover(input,re);
737 appendSkippedTokens();
738 }
739 finally {
740 }
741 return current;
742 }
743 // $ANTLR end "ruleALSTypeDeclaration"
744
745
746 // $ANTLR start "entryRuleALSEnumDeclaration"
747 // InternalAlloyLanguage.g:271:1: entryRuleALSEnumDeclaration returns [EObject current=null] : iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF ;
748 public final EObject entryRuleALSEnumDeclaration() throws RecognitionException {
749 EObject current = null;
750
751 EObject iv_ruleALSEnumDeclaration = null;
752
753
754 try {
755 // InternalAlloyLanguage.g:272:2: (iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF )
756 // InternalAlloyLanguage.g:273:2: iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF
757 {
758 if ( state.backtracking==0 ) {
759 newCompositeNode(grammarAccess.getALSEnumDeclarationRule());
760 }
761 pushFollow(FOLLOW_1);
762 iv_ruleALSEnumDeclaration=ruleALSEnumDeclaration();
763
764 state._fsp--;
765 if (state.failed) return current;
766 if ( state.backtracking==0 ) {
767 current =iv_ruleALSEnumDeclaration;
768 }
769 match(input,EOF,FOLLOW_2); if (state.failed) return current;
770
771 }
772
773 }
774
775 catch (RecognitionException re) {
776 recover(input,re);
777 appendSkippedTokens();
778 }
779 finally {
780 }
781 return current;
782 }
783 // $ANTLR end "entryRuleALSEnumDeclaration"
784
785
786 // $ANTLR start "ruleALSEnumDeclaration"
787 // InternalAlloyLanguage.g:280:1: ruleALSEnumDeclaration returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) ;
788 public final EObject ruleALSEnumDeclaration() throws RecognitionException {
789 EObject current = null;
790
791 Token otherlv_0=null;
792 Token otherlv_2=null;
793 Token otherlv_4=null;
794 Token otherlv_6=null;
795 AntlrDatatypeRuleToken lv_name_1_0 = null;
796
797 EObject lv_literal_3_0 = null;
798
799 EObject lv_literal_5_0 = null;
800
801
802 enterRule();
803
804 try {
805 // InternalAlloyLanguage.g:283:28: ( (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) )
806 // InternalAlloyLanguage.g:284:1: (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' )
807 {
808 // InternalAlloyLanguage.g:284:1: (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' )
809 // InternalAlloyLanguage.g:284:3: otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}'
810 {
811 otherlv_0=(Token)match(input,11,FOLLOW_4); if (state.failed) return current;
812 if ( state.backtracking==0 ) {
813
814 newLeafNode(otherlv_0, grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0());
815
816 }
817 // InternalAlloyLanguage.g:288:1: ( (lv_name_1_0= ruleALSID ) )
818 // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID )
819 {
820 // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID )
821 // InternalAlloyLanguage.g:290:3: lv_name_1_0= ruleALSID
822 {
823 if ( state.backtracking==0 ) {
824
825 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0());
826
827 }
828 pushFollow(FOLLOW_5);
829 lv_name_1_0=ruleALSID();
830
831 state._fsp--;
832 if (state.failed) return current;
833 if ( state.backtracking==0 ) {
834
835 if (current==null) {
836 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
837 }
838 set(
839 current,
840 "name",
841 lv_name_1_0,
842 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
843 afterParserOrEnumRuleCall();
844
845 }
846
847 }
848
849
850 }
851
852 otherlv_2=(Token)match(input,12,FOLLOW_4); if (state.failed) return current;
853 if ( state.backtracking==0 ) {
854
855 newLeafNode(otherlv_2, grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2());
856
857 }
858 // InternalAlloyLanguage.g:310:1: ( (lv_literal_3_0= ruleALSEnumLiteral ) )
859 // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral )
860 {
861 // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral )
862 // InternalAlloyLanguage.g:312:3: lv_literal_3_0= ruleALSEnumLiteral
863 {
864 if ( state.backtracking==0 ) {
865
866 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0());
867
868 }
869 pushFollow(FOLLOW_6);
870 lv_literal_3_0=ruleALSEnumLiteral();
871
872 state._fsp--;
873 if (state.failed) return current;
874 if ( state.backtracking==0 ) {
875
876 if (current==null) {
877 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
878 }
879 add(
880 current,
881 "literal",
882 lv_literal_3_0,
883 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
884 afterParserOrEnumRuleCall();
885
886 }
887
888 }
889
890
891 }
892
893 // InternalAlloyLanguage.g:328:2: (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )*
894 loop3:
895 do {
896 int alt3=2;
897 int LA3_0 = input.LA(1);
898
899 if ( (LA3_0==13) ) {
900 alt3=1;
901 }
902
903
904 switch (alt3) {
905 case 1 :
906 // InternalAlloyLanguage.g:328:4: otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) )
907 {
908 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
909 if ( state.backtracking==0 ) {
910
911 newLeafNode(otherlv_4, grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0());
912
913 }
914 // InternalAlloyLanguage.g:332:1: ( (lv_literal_5_0= ruleALSEnumLiteral ) )
915 // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral )
916 {
917 // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral )
918 // InternalAlloyLanguage.g:334:3: lv_literal_5_0= ruleALSEnumLiteral
919 {
920 if ( state.backtracking==0 ) {
921
922 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0());
923
924 }
925 pushFollow(FOLLOW_6);
926 lv_literal_5_0=ruleALSEnumLiteral();
927
928 state._fsp--;
929 if (state.failed) return current;
930 if ( state.backtracking==0 ) {
931
932 if (current==null) {
933 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
934 }
935 add(
936 current,
937 "literal",
938 lv_literal_5_0,
939 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
940 afterParserOrEnumRuleCall();
941
942 }
943
944 }
945
946
947 }
948
949
950 }
951 break;
952
953 default :
954 break loop3;
955 }
956 } while (true);
957
958 otherlv_6=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
959 if ( state.backtracking==0 ) {
960
961 newLeafNode(otherlv_6, grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5());
962
963 }
964
965 }
966
967
968 }
969
970 if ( state.backtracking==0 ) {
971 leaveRule();
972 }
973 }
974
975 catch (RecognitionException re) {
976 recover(input,re);
977 appendSkippedTokens();
978 }
979 finally {
980 }
981 return current;
982 }
983 // $ANTLR end "ruleALSEnumDeclaration"
984
985
986 // $ANTLR start "entryRuleALSEnumLiteral"
987 // InternalAlloyLanguage.g:362:1: entryRuleALSEnumLiteral returns [EObject current=null] : iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF ;
988 public final EObject entryRuleALSEnumLiteral() throws RecognitionException {
989 EObject current = null;
990
991 EObject iv_ruleALSEnumLiteral = null;
992
993
994 try {
995 // InternalAlloyLanguage.g:363:2: (iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF )
996 // InternalAlloyLanguage.g:364:2: iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF
997 {
998 if ( state.backtracking==0 ) {
999 newCompositeNode(grammarAccess.getALSEnumLiteralRule());
1000 }
1001 pushFollow(FOLLOW_1);
1002 iv_ruleALSEnumLiteral=ruleALSEnumLiteral();
1003
1004 state._fsp--;
1005 if (state.failed) return current;
1006 if ( state.backtracking==0 ) {
1007 current =iv_ruleALSEnumLiteral;
1008 }
1009 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1010
1011 }
1012
1013 }
1014
1015 catch (RecognitionException re) {
1016 recover(input,re);
1017 appendSkippedTokens();
1018 }
1019 finally {
1020 }
1021 return current;
1022 }
1023 // $ANTLR end "entryRuleALSEnumLiteral"
1024
1025
1026 // $ANTLR start "ruleALSEnumLiteral"
1027 // InternalAlloyLanguage.g:371:1: ruleALSEnumLiteral returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ;
1028 public final EObject ruleALSEnumLiteral() throws RecognitionException {
1029 EObject current = null;
1030
1031 AntlrDatatypeRuleToken lv_name_0_0 = null;
1032
1033
1034 enterRule();
1035
1036 try {
1037 // InternalAlloyLanguage.g:374:28: ( ( (lv_name_0_0= ruleALSID ) ) )
1038 // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) )
1039 {
1040 // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) )
1041 // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID )
1042 {
1043 // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID )
1044 // InternalAlloyLanguage.g:377:3: lv_name_0_0= ruleALSID
1045 {
1046 if ( state.backtracking==0 ) {
1047
1048 newCompositeNode(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0());
1049
1050 }
1051 pushFollow(FOLLOW_2);
1052 lv_name_0_0=ruleALSID();
1053
1054 state._fsp--;
1055 if (state.failed) return current;
1056 if ( state.backtracking==0 ) {
1057
1058 if (current==null) {
1059 current = createModelElementForParent(grammarAccess.getALSEnumLiteralRule());
1060 }
1061 set(
1062 current,
1063 "name",
1064 lv_name_0_0,
1065 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1066 afterParserOrEnumRuleCall();
1067
1068 }
1069
1070 }
1071
1072
1073 }
1074
1075
1076 }
1077
1078 if ( state.backtracking==0 ) {
1079 leaveRule();
1080 }
1081 }
1082
1083 catch (RecognitionException re) {
1084 recover(input,re);
1085 appendSkippedTokens();
1086 }
1087 finally {
1088 }
1089 return current;
1090 }
1091 // $ANTLR end "ruleALSEnumLiteral"
1092
1093
1094 // $ANTLR start "entryRuleALSSignatureDeclaration"
1095 // InternalAlloyLanguage.g:401:1: entryRuleALSSignatureDeclaration returns [EObject current=null] : iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF ;
1096 public final EObject entryRuleALSSignatureDeclaration() throws RecognitionException {
1097 EObject current = null;
1098
1099 EObject iv_ruleALSSignatureDeclaration = null;
1100
1101
1102 try {
1103 // InternalAlloyLanguage.g:402:2: (iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF )
1104 // InternalAlloyLanguage.g:403:2: iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF
1105 {
1106 if ( state.backtracking==0 ) {
1107 newCompositeNode(grammarAccess.getALSSignatureDeclarationRule());
1108 }
1109 pushFollow(FOLLOW_1);
1110 iv_ruleALSSignatureDeclaration=ruleALSSignatureDeclaration();
1111
1112 state._fsp--;
1113 if (state.failed) return current;
1114 if ( state.backtracking==0 ) {
1115 current =iv_ruleALSSignatureDeclaration;
1116 }
1117 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1118
1119 }
1120
1121 }
1122
1123 catch (RecognitionException re) {
1124 recover(input,re);
1125 appendSkippedTokens();
1126 }
1127 finally {
1128 }
1129 return current;
1130 }
1131 // $ANTLR end "entryRuleALSSignatureDeclaration"
1132
1133
1134 // $ANTLR start "ruleALSSignatureDeclaration"
1135 // InternalAlloyLanguage.g:410:1: ruleALSSignatureDeclaration returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ;
1136 public final EObject ruleALSSignatureDeclaration() throws RecognitionException {
1137 EObject current = null;
1138
1139 AntlrDatatypeRuleToken lv_name_0_0 = null;
1140
1141
1142 enterRule();
1143
1144 try {
1145 // InternalAlloyLanguage.g:413:28: ( ( (lv_name_0_0= ruleALSID ) ) )
1146 // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) )
1147 {
1148 // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) )
1149 // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID )
1150 {
1151 // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID )
1152 // InternalAlloyLanguage.g:416:3: lv_name_0_0= ruleALSID
1153 {
1154 if ( state.backtracking==0 ) {
1155
1156 newCompositeNode(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0());
1157
1158 }
1159 pushFollow(FOLLOW_2);
1160 lv_name_0_0=ruleALSID();
1161
1162 state._fsp--;
1163 if (state.failed) return current;
1164 if ( state.backtracking==0 ) {
1165
1166 if (current==null) {
1167 current = createModelElementForParent(grammarAccess.getALSSignatureDeclarationRule());
1168 }
1169 set(
1170 current,
1171 "name",
1172 lv_name_0_0,
1173 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1174 afterParserOrEnumRuleCall();
1175
1176 }
1177
1178 }
1179
1180
1181 }
1182
1183
1184 }
1185
1186 if ( state.backtracking==0 ) {
1187 leaveRule();
1188 }
1189 }
1190
1191 catch (RecognitionException re) {
1192 recover(input,re);
1193 appendSkippedTokens();
1194 }
1195 finally {
1196 }
1197 return current;
1198 }
1199 // $ANTLR end "ruleALSSignatureDeclaration"
1200
1201
1202 // $ANTLR start "entryRuleALSSignatureBody"
1203 // InternalAlloyLanguage.g:440:1: entryRuleALSSignatureBody returns [EObject current=null] : iv_ruleALSSignatureBody= ruleALSSignatureBody EOF ;
1204 public final EObject entryRuleALSSignatureBody() throws RecognitionException {
1205 EObject current = null;
1206
1207 EObject iv_ruleALSSignatureBody = null;
1208
1209
1210 try {
1211 // InternalAlloyLanguage.g:441:2: (iv_ruleALSSignatureBody= ruleALSSignatureBody EOF )
1212 // InternalAlloyLanguage.g:442:2: iv_ruleALSSignatureBody= ruleALSSignatureBody EOF
1213 {
1214 if ( state.backtracking==0 ) {
1215 newCompositeNode(grammarAccess.getALSSignatureBodyRule());
1216 }
1217 pushFollow(FOLLOW_1);
1218 iv_ruleALSSignatureBody=ruleALSSignatureBody();
1219
1220 state._fsp--;
1221 if (state.failed) return current;
1222 if ( state.backtracking==0 ) {
1223 current =iv_ruleALSSignatureBody;
1224 }
1225 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1226
1227 }
1228
1229 }
1230
1231 catch (RecognitionException re) {
1232 recover(input,re);
1233 appendSkippedTokens();
1234 }
1235 finally {
1236 }
1237 return current;
1238 }
1239 // $ANTLR end "entryRuleALSSignatureBody"
1240
1241
1242 // $ANTLR start "ruleALSSignatureBody"
1243 // InternalAlloyLanguage.g:449:1: ruleALSSignatureBody returns [EObject current=null] : ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) ;
1244 public final EObject ruleALSSignatureBody() throws RecognitionException {
1245 EObject current = null;
1246
1247 Token lv_abstract_2_0=null;
1248 Token otherlv_3=null;
1249 Token otherlv_5=null;
1250 Token otherlv_7=null;
1251 Token otherlv_8=null;
1252 Token otherlv_9=null;
1253 Token otherlv_10=null;
1254 Token otherlv_11=null;
1255 Token otherlv_12=null;
1256 Token otherlv_13=null;
1257 Token otherlv_15=null;
1258 Token otherlv_17=null;
1259 Enumerator lv_multiplicity_1_0 = null;
1260
1261 EObject lv_declarations_4_0 = null;
1262
1263 EObject lv_declarations_6_0 = null;
1264
1265 EObject lv_fields_14_0 = null;
1266
1267 EObject lv_fields_16_0 = null;
1268
1269
1270 enterRule();
1271
1272 try {
1273 // InternalAlloyLanguage.g:452:28: ( ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) )
1274 // InternalAlloyLanguage.g:453:1: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' )
1275 {
1276 // InternalAlloyLanguage.g:453:1: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' )
1277 // InternalAlloyLanguage.g:453:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}'
1278 {
1279 // InternalAlloyLanguage.g:453:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) )
1280 // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) )
1281 {
1282 // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) )
1283 // InternalAlloyLanguage.g:456:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* )
1284 {
1285 getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1286 // InternalAlloyLanguage.g:459:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* )
1287 // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )*
1288 {
1289 // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )*
1290 loop4:
1291 do {
1292 int alt4=3;
1293 int LA4_0 = input.LA(1);
1294
1295 if ( LA4_0 >= 66 && LA4_0 <= 71 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
1296 alt4=1;
1297 }
1298 else if ( LA4_0 == 15 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
1299 alt4=2;
1300 }
1301
1302
1303 switch (alt4) {
1304 case 1 :
1305 // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) )
1306 {
1307 // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) )
1308 // InternalAlloyLanguage.g:463:5: {...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) )
1309 {
1310 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
1311 if (state.backtracking>0) {state.failed=true; return current;}
1312 throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)");
1313 }
1314 // InternalAlloyLanguage.g:463:113: ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) )
1315 // InternalAlloyLanguage.g:464:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) )
1316 {
1317 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
1318 // InternalAlloyLanguage.g:467:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) )
1319 // InternalAlloyLanguage.g:467:7: {...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) )
1320 {
1321 if ( !((true)) ) {
1322 if (state.backtracking>0) {state.failed=true; return current;}
1323 throw new FailedPredicateException(input, "ruleALSSignatureBody", "true");
1324 }
1325 // InternalAlloyLanguage.g:467:16: ( (lv_multiplicity_1_0= ruleALSMultiplicity ) )
1326 // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity )
1327 {
1328 // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity )
1329 // InternalAlloyLanguage.g:469:3: lv_multiplicity_1_0= ruleALSMultiplicity
1330 {
1331 if ( state.backtracking==0 ) {
1332
1333 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0());
1334
1335 }
1336 pushFollow(FOLLOW_7);
1337 lv_multiplicity_1_0=ruleALSMultiplicity();
1338
1339 state._fsp--;
1340 if (state.failed) return current;
1341 if ( state.backtracking==0 ) {
1342
1343 if (current==null) {
1344 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1345 }
1346 set(
1347 current,
1348 "multiplicity",
1349 lv_multiplicity_1_0,
1350 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1351 afterParserOrEnumRuleCall();
1352
1353 }
1354
1355 }
1356
1357
1358 }
1359
1360
1361 }
1362
1363 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1364
1365 }
1366
1367
1368 }
1369
1370
1371 }
1372 break;
1373 case 2 :
1374 // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) )
1375 {
1376 // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) )
1377 // InternalAlloyLanguage.g:493:5: {...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) )
1378 {
1379 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
1380 if (state.backtracking>0) {state.failed=true; return current;}
1381 throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)");
1382 }
1383 // InternalAlloyLanguage.g:493:113: ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) )
1384 // InternalAlloyLanguage.g:494:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) )
1385 {
1386 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1);
1387 // InternalAlloyLanguage.g:497:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) )
1388 // InternalAlloyLanguage.g:497:7: {...}? => ( (lv_abstract_2_0= 'abstract' ) )
1389 {
1390 if ( !((true)) ) {
1391 if (state.backtracking>0) {state.failed=true; return current;}
1392 throw new FailedPredicateException(input, "ruleALSSignatureBody", "true");
1393 }
1394 // InternalAlloyLanguage.g:497:16: ( (lv_abstract_2_0= 'abstract' ) )
1395 // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' )
1396 {
1397 // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' )
1398 // InternalAlloyLanguage.g:499:3: lv_abstract_2_0= 'abstract'
1399 {
1400 lv_abstract_2_0=(Token)match(input,15,FOLLOW_7); if (state.failed) return current;
1401 if ( state.backtracking==0 ) {
1402
1403 newLeafNode(lv_abstract_2_0, grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
1404
1405 }
1406 if ( state.backtracking==0 ) {
1407
1408 if (current==null) {
1409 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1410 }
1411 setWithLastConsumed(current, "abstract", true, "abstract");
1412
1413 }
1414
1415 }
1416
1417
1418 }
1419
1420
1421 }
1422
1423 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1424
1425 }
1426
1427
1428 }
1429
1430
1431 }
1432 break;
1433
1434 default :
1435 break loop4;
1436 }
1437 } while (true);
1438
1439
1440 }
1441
1442
1443 }
1444
1445 getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1446
1447 }
1448
1449 otherlv_3=(Token)match(input,16,FOLLOW_4); if (state.failed) return current;
1450 if ( state.backtracking==0 ) {
1451
1452 newLeafNode(otherlv_3, grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1());
1453
1454 }
1455 // InternalAlloyLanguage.g:530:1: ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) )
1456 // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration )
1457 {
1458 // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration )
1459 // InternalAlloyLanguage.g:532:3: lv_declarations_4_0= ruleALSSignatureDeclaration
1460 {
1461 if ( state.backtracking==0 ) {
1462
1463 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0());
1464
1465 }
1466 pushFollow(FOLLOW_8);
1467 lv_declarations_4_0=ruleALSSignatureDeclaration();
1468
1469 state._fsp--;
1470 if (state.failed) return current;
1471 if ( state.backtracking==0 ) {
1472
1473 if (current==null) {
1474 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1475 }
1476 add(
1477 current,
1478 "declarations",
1479 lv_declarations_4_0,
1480 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
1481 afterParserOrEnumRuleCall();
1482
1483 }
1484
1485 }
1486
1487
1488 }
1489
1490 // InternalAlloyLanguage.g:548:2: (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )*
1491 loop5:
1492 do {
1493 int alt5=2;
1494 int LA5_0 = input.LA(1);
1495
1496 if ( (LA5_0==13) ) {
1497 alt5=1;
1498 }
1499
1500
1501 switch (alt5) {
1502 case 1 :
1503 // InternalAlloyLanguage.g:548:4: otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) )
1504 {
1505 otherlv_5=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
1506 if ( state.backtracking==0 ) {
1507
1508 newLeafNode(otherlv_5, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0());
1509
1510 }
1511 // InternalAlloyLanguage.g:552:1: ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) )
1512 // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration )
1513 {
1514 // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration )
1515 // InternalAlloyLanguage.g:554:3: lv_declarations_6_0= ruleALSSignatureDeclaration
1516 {
1517 if ( state.backtracking==0 ) {
1518
1519 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0());
1520
1521 }
1522 pushFollow(FOLLOW_8);
1523 lv_declarations_6_0=ruleALSSignatureDeclaration();
1524
1525 state._fsp--;
1526 if (state.failed) return current;
1527 if ( state.backtracking==0 ) {
1528
1529 if (current==null) {
1530 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1531 }
1532 add(
1533 current,
1534 "declarations",
1535 lv_declarations_6_0,
1536 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
1537 afterParserOrEnumRuleCall();
1538
1539 }
1540
1541 }
1542
1543
1544 }
1545
1546
1547 }
1548 break;
1549
1550 default :
1551 break loop5;
1552 }
1553 } while (true);
1554
1555 // InternalAlloyLanguage.g:570:4: ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )?
1556 int alt7=3;
1557 int LA7_0 = input.LA(1);
1558
1559 if ( (LA7_0==17) ) {
1560 alt7=1;
1561 }
1562 else if ( (LA7_0==18) ) {
1563 alt7=2;
1564 }
1565 switch (alt7) {
1566 case 1 :
1567 // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) )
1568 {
1569 // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) )
1570 // InternalAlloyLanguage.g:570:7: otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) )
1571 {
1572 otherlv_7=(Token)match(input,17,FOLLOW_4); if (state.failed) return current;
1573 if ( state.backtracking==0 ) {
1574
1575 newLeafNode(otherlv_7, grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0());
1576
1577 }
1578 // InternalAlloyLanguage.g:574:1: ( (otherlv_8= RULE_ID ) )
1579 // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID )
1580 {
1581 // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID )
1582 // InternalAlloyLanguage.g:576:3: otherlv_8= RULE_ID
1583 {
1584 if ( state.backtracking==0 ) {
1585
1586 if (current==null) {
1587 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1588 }
1589
1590 }
1591 otherlv_8=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
1592 if ( state.backtracking==0 ) {
1593
1594 newLeafNode(otherlv_8, grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0());
1595
1596 }
1597
1598 }
1599
1600
1601 }
1602
1603
1604 }
1605
1606
1607 }
1608 break;
1609 case 2 :
1610 // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* )
1611 {
1612 // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* )
1613 // InternalAlloyLanguage.g:588:8: otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )*
1614 {
1615 otherlv_9=(Token)match(input,18,FOLLOW_4); if (state.failed) return current;
1616 if ( state.backtracking==0 ) {
1617
1618 newLeafNode(otherlv_9, grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0());
1619
1620 }
1621 // InternalAlloyLanguage.g:592:1: ( (otherlv_10= RULE_ID ) )
1622 // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID )
1623 {
1624 // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID )
1625 // InternalAlloyLanguage.g:594:3: otherlv_10= RULE_ID
1626 {
1627 if ( state.backtracking==0 ) {
1628
1629 if (current==null) {
1630 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1631 }
1632
1633 }
1634 otherlv_10=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current;
1635 if ( state.backtracking==0 ) {
1636
1637 newLeafNode(otherlv_10, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0());
1638
1639 }
1640
1641 }
1642
1643
1644 }
1645
1646 // InternalAlloyLanguage.g:605:2: (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )*
1647 loop6:
1648 do {
1649 int alt6=2;
1650 int LA6_0 = input.LA(1);
1651
1652 if ( (LA6_0==19) ) {
1653 alt6=1;
1654 }
1655
1656
1657 switch (alt6) {
1658 case 1 :
1659 // InternalAlloyLanguage.g:605:4: otherlv_11= '+' ( (otherlv_12= RULE_ID ) )
1660 {
1661 otherlv_11=(Token)match(input,19,FOLLOW_4); if (state.failed) return current;
1662 if ( state.backtracking==0 ) {
1663
1664 newLeafNode(otherlv_11, grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0());
1665
1666 }
1667 // InternalAlloyLanguage.g:609:1: ( (otherlv_12= RULE_ID ) )
1668 // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID )
1669 {
1670 // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID )
1671 // InternalAlloyLanguage.g:611:3: otherlv_12= RULE_ID
1672 {
1673 if ( state.backtracking==0 ) {
1674
1675 if (current==null) {
1676 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1677 }
1678
1679 }
1680 otherlv_12=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current;
1681 if ( state.backtracking==0 ) {
1682
1683 newLeafNode(otherlv_12, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0());
1684
1685 }
1686
1687 }
1688
1689
1690 }
1691
1692
1693 }
1694 break;
1695
1696 default :
1697 break loop6;
1698 }
1699 } while (true);
1700
1701
1702 }
1703
1704
1705 }
1706 break;
1707
1708 }
1709
1710 otherlv_13=(Token)match(input,12,FOLLOW_10); if (state.failed) return current;
1711 if ( state.backtracking==0 ) {
1712
1713 newLeafNode(otherlv_13, grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5());
1714
1715 }
1716 // InternalAlloyLanguage.g:626:1: ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )?
1717 int alt9=2;
1718 int LA9_0 = input.LA(1);
1719
1720 if ( (LA9_0==RULE_ID) ) {
1721 alt9=1;
1722 }
1723 switch (alt9) {
1724 case 1 :
1725 // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )*
1726 {
1727 // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) )
1728 // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration )
1729 {
1730 // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration )
1731 // InternalAlloyLanguage.g:628:3: lv_fields_14_0= ruleALSFieldDeclaration
1732 {
1733 if ( state.backtracking==0 ) {
1734
1735 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0());
1736
1737 }
1738 pushFollow(FOLLOW_6);
1739 lv_fields_14_0=ruleALSFieldDeclaration();
1740
1741 state._fsp--;
1742 if (state.failed) return current;
1743 if ( state.backtracking==0 ) {
1744
1745 if (current==null) {
1746 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1747 }
1748 add(
1749 current,
1750 "fields",
1751 lv_fields_14_0,
1752 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
1753 afterParserOrEnumRuleCall();
1754
1755 }
1756
1757 }
1758
1759
1760 }
1761
1762 // InternalAlloyLanguage.g:644:2: (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )*
1763 loop8:
1764 do {
1765 int alt8=2;
1766 int LA8_0 = input.LA(1);
1767
1768 if ( (LA8_0==13) ) {
1769 alt8=1;
1770 }
1771
1772
1773 switch (alt8) {
1774 case 1 :
1775 // InternalAlloyLanguage.g:644:4: otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) )
1776 {
1777 otherlv_15=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
1778 if ( state.backtracking==0 ) {
1779
1780 newLeafNode(otherlv_15, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0());
1781
1782 }
1783 // InternalAlloyLanguage.g:648:1: ( (lv_fields_16_0= ruleALSFieldDeclaration ) )
1784 // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration )
1785 {
1786 // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration )
1787 // InternalAlloyLanguage.g:650:3: lv_fields_16_0= ruleALSFieldDeclaration
1788 {
1789 if ( state.backtracking==0 ) {
1790
1791 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0());
1792
1793 }
1794 pushFollow(FOLLOW_6);
1795 lv_fields_16_0=ruleALSFieldDeclaration();
1796
1797 state._fsp--;
1798 if (state.failed) return current;
1799 if ( state.backtracking==0 ) {
1800
1801 if (current==null) {
1802 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1803 }
1804 add(
1805 current,
1806 "fields",
1807 lv_fields_16_0,
1808 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
1809 afterParserOrEnumRuleCall();
1810
1811 }
1812
1813 }
1814
1815
1816 }
1817
1818
1819 }
1820 break;
1821
1822 default :
1823 break loop8;
1824 }
1825 } while (true);
1826
1827
1828 }
1829 break;
1830
1831 }
1832
1833 otherlv_17=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
1834 if ( state.backtracking==0 ) {
1835
1836 newLeafNode(otherlv_17, grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7());
1837
1838 }
1839
1840 }
1841
1842
1843 }
1844
1845 if ( state.backtracking==0 ) {
1846 leaveRule();
1847 }
1848 }
1849
1850 catch (RecognitionException re) {
1851 recover(input,re);
1852 appendSkippedTokens();
1853 }
1854 finally {
1855 }
1856 return current;
1857 }
1858 // $ANTLR end "ruleALSSignatureBody"
1859
1860
1861 // $ANTLR start "entryRuleALSFieldDeclaration"
1862 // InternalAlloyLanguage.g:678:1: entryRuleALSFieldDeclaration returns [EObject current=null] : iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF ;
1863 public final EObject entryRuleALSFieldDeclaration() throws RecognitionException {
1864 EObject current = null;
1865
1866 EObject iv_ruleALSFieldDeclaration = null;
1867
1868
1869 try {
1870 // InternalAlloyLanguage.g:679:2: (iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF )
1871 // InternalAlloyLanguage.g:680:2: iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF
1872 {
1873 if ( state.backtracking==0 ) {
1874 newCompositeNode(grammarAccess.getALSFieldDeclarationRule());
1875 }
1876 pushFollow(FOLLOW_1);
1877 iv_ruleALSFieldDeclaration=ruleALSFieldDeclaration();
1878
1879 state._fsp--;
1880 if (state.failed) return current;
1881 if ( state.backtracking==0 ) {
1882 current =iv_ruleALSFieldDeclaration;
1883 }
1884 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1885
1886 }
1887
1888 }
1889
1890 catch (RecognitionException re) {
1891 recover(input,re);
1892 appendSkippedTokens();
1893 }
1894 finally {
1895 }
1896 return current;
1897 }
1898 // $ANTLR end "entryRuleALSFieldDeclaration"
1899
1900
1901 // $ANTLR start "ruleALSFieldDeclaration"
1902 // InternalAlloyLanguage.g:687:1: ruleALSFieldDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) ;
1903 public final EObject ruleALSFieldDeclaration() throws RecognitionException {
1904 EObject current = null;
1905
1906 Token otherlv_1=null;
1907 AntlrDatatypeRuleToken lv_name_0_0 = null;
1908
1909 Enumerator lv_multiplicity_2_0 = null;
1910
1911 EObject lv_type_3_0 = null;
1912
1913
1914 enterRule();
1915
1916 try {
1917 // InternalAlloyLanguage.g:690:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) )
1918 // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) )
1919 {
1920 // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) )
1921 // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) )
1922 {
1923 // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) )
1924 // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID )
1925 {
1926 // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID )
1927 // InternalAlloyLanguage.g:693:3: lv_name_0_0= ruleALSID
1928 {
1929 if ( state.backtracking==0 ) {
1930
1931 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0());
1932
1933 }
1934 pushFollow(FOLLOW_11);
1935 lv_name_0_0=ruleALSID();
1936
1937 state._fsp--;
1938 if (state.failed) return current;
1939 if ( state.backtracking==0 ) {
1940
1941 if (current==null) {
1942 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
1943 }
1944 set(
1945 current,
1946 "name",
1947 lv_name_0_0,
1948 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1949 afterParserOrEnumRuleCall();
1950
1951 }
1952
1953 }
1954
1955
1956 }
1957
1958 otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
1959 if ( state.backtracking==0 ) {
1960
1961 newLeafNode(otherlv_1, grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1());
1962
1963 }
1964 // InternalAlloyLanguage.g:713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )?
1965 int alt10=2;
1966 alt10 = dfa10.predict(input);
1967 switch (alt10) {
1968 case 1 :
1969 // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity )
1970 {
1971 // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity )
1972 // InternalAlloyLanguage.g:715:3: lv_multiplicity_2_0= ruleALSMultiplicity
1973 {
1974 if ( state.backtracking==0 ) {
1975
1976 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0());
1977
1978 }
1979 pushFollow(FOLLOW_12);
1980 lv_multiplicity_2_0=ruleALSMultiplicity();
1981
1982 state._fsp--;
1983 if (state.failed) return current;
1984 if ( state.backtracking==0 ) {
1985
1986 if (current==null) {
1987 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
1988 }
1989 set(
1990 current,
1991 "multiplicity",
1992 lv_multiplicity_2_0,
1993 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1994 afterParserOrEnumRuleCall();
1995
1996 }
1997
1998 }
1999
2000
2001 }
2002 break;
2003
2004 }
2005
2006 // InternalAlloyLanguage.g:731:3: ( (lv_type_3_0= ruleALSTerm ) )
2007 // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm )
2008 {
2009 // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm )
2010 // InternalAlloyLanguage.g:733:3: lv_type_3_0= ruleALSTerm
2011 {
2012 if ( state.backtracking==0 ) {
2013
2014 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0());
2015
2016 }
2017 pushFollow(FOLLOW_2);
2018 lv_type_3_0=ruleALSTerm();
2019
2020 state._fsp--;
2021 if (state.failed) return current;
2022 if ( state.backtracking==0 ) {
2023
2024 if (current==null) {
2025 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
2026 }
2027 set(
2028 current,
2029 "type",
2030 lv_type_3_0,
2031 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2032 afterParserOrEnumRuleCall();
2033
2034 }
2035
2036 }
2037
2038
2039 }
2040
2041
2042 }
2043
2044
2045 }
2046
2047 if ( state.backtracking==0 ) {
2048 leaveRule();
2049 }
2050 }
2051
2052 catch (RecognitionException re) {
2053 recover(input,re);
2054 appendSkippedTokens();
2055 }
2056 finally {
2057 }
2058 return current;
2059 }
2060 // $ANTLR end "ruleALSFieldDeclaration"
2061
2062
2063 // $ANTLR start "entryRuleALSFunctionDefinition"
2064 // InternalAlloyLanguage.g:759:1: entryRuleALSFunctionDefinition returns [EObject current=null] : iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF ;
2065 public final EObject entryRuleALSFunctionDefinition() throws RecognitionException {
2066 EObject current = null;
2067
2068 EObject iv_ruleALSFunctionDefinition = null;
2069
2070
2071 try {
2072 // InternalAlloyLanguage.g:760:2: (iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF )
2073 // InternalAlloyLanguage.g:761:2: iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF
2074 {
2075 if ( state.backtracking==0 ) {
2076 newCompositeNode(grammarAccess.getALSFunctionDefinitionRule());
2077 }
2078 pushFollow(FOLLOW_1);
2079 iv_ruleALSFunctionDefinition=ruleALSFunctionDefinition();
2080
2081 state._fsp--;
2082 if (state.failed) return current;
2083 if ( state.backtracking==0 ) {
2084 current =iv_ruleALSFunctionDefinition;
2085 }
2086 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2087
2088 }
2089
2090 }
2091
2092 catch (RecognitionException re) {
2093 recover(input,re);
2094 appendSkippedTokens();
2095 }
2096 finally {
2097 }
2098 return current;
2099 }
2100 // $ANTLR end "entryRuleALSFunctionDefinition"
2101
2102
2103 // $ANTLR start "ruleALSFunctionDefinition"
2104 // InternalAlloyLanguage.g:768:1: ruleALSFunctionDefinition returns [EObject current=null] : (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) ;
2105 public final EObject ruleALSFunctionDefinition() throws RecognitionException {
2106 EObject current = null;
2107
2108 Token otherlv_0=null;
2109 Token otherlv_2=null;
2110 Token otherlv_4=null;
2111 Token otherlv_6=null;
2112 Token otherlv_7=null;
2113 Token otherlv_9=null;
2114 Token otherlv_11=null;
2115 AntlrDatatypeRuleToken lv_name_1_0 = null;
2116
2117 EObject lv_variables_3_0 = null;
2118
2119 EObject lv_variables_5_0 = null;
2120
2121 EObject lv_type_8_0 = null;
2122
2123 EObject lv_value_10_0 = null;
2124
2125
2126 enterRule();
2127
2128 try {
2129 // InternalAlloyLanguage.g:771:28: ( (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) )
2130 // InternalAlloyLanguage.g:772:1: (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' )
2131 {
2132 // InternalAlloyLanguage.g:772:1: (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' )
2133 // InternalAlloyLanguage.g:772:3: otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}'
2134 {
2135 otherlv_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current;
2136 if ( state.backtracking==0 ) {
2137
2138 newLeafNode(otherlv_0, grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0());
2139
2140 }
2141 // InternalAlloyLanguage.g:776:1: ( (lv_name_1_0= ruleALSID ) )
2142 // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID )
2143 {
2144 // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID )
2145 // InternalAlloyLanguage.g:778:3: lv_name_1_0= ruleALSID
2146 {
2147 if ( state.backtracking==0 ) {
2148
2149 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0());
2150
2151 }
2152 pushFollow(FOLLOW_13);
2153 lv_name_1_0=ruleALSID();
2154
2155 state._fsp--;
2156 if (state.failed) return current;
2157 if ( state.backtracking==0 ) {
2158
2159 if (current==null) {
2160 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2161 }
2162 set(
2163 current,
2164 "name",
2165 lv_name_1_0,
2166 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2167 afterParserOrEnumRuleCall();
2168
2169 }
2170
2171 }
2172
2173
2174 }
2175
2176 otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current;
2177 if ( state.backtracking==0 ) {
2178
2179 newLeafNode(otherlv_2, grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2());
2180
2181 }
2182 // InternalAlloyLanguage.g:798:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
2183 // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2184 {
2185 // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2186 // InternalAlloyLanguage.g:800:3: lv_variables_3_0= ruleALSVariableDeclaration
2187 {
2188 if ( state.backtracking==0 ) {
2189
2190 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
2191
2192 }
2193 pushFollow(FOLLOW_14);
2194 lv_variables_3_0=ruleALSVariableDeclaration();
2195
2196 state._fsp--;
2197 if (state.failed) return current;
2198 if ( state.backtracking==0 ) {
2199
2200 if (current==null) {
2201 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2202 }
2203 add(
2204 current,
2205 "variables",
2206 lv_variables_3_0,
2207 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2208 afterParserOrEnumRuleCall();
2209
2210 }
2211
2212 }
2213
2214
2215 }
2216
2217 // InternalAlloyLanguage.g:816:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
2218 loop11:
2219 do {
2220 int alt11=2;
2221 int LA11_0 = input.LA(1);
2222
2223 if ( (LA11_0==13) ) {
2224 alt11=1;
2225 }
2226
2227
2228 switch (alt11) {
2229 case 1 :
2230 // InternalAlloyLanguage.g:816:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2231 {
2232 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
2233 if ( state.backtracking==0 ) {
2234
2235 newLeafNode(otherlv_4, grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0());
2236
2237 }
2238 // InternalAlloyLanguage.g:820:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2239 // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2240 {
2241 // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2242 // InternalAlloyLanguage.g:822:3: lv_variables_5_0= ruleALSVariableDeclaration
2243 {
2244 if ( state.backtracking==0 ) {
2245
2246 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
2247
2248 }
2249 pushFollow(FOLLOW_14);
2250 lv_variables_5_0=ruleALSVariableDeclaration();
2251
2252 state._fsp--;
2253 if (state.failed) return current;
2254 if ( state.backtracking==0 ) {
2255
2256 if (current==null) {
2257 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2258 }
2259 add(
2260 current,
2261 "variables",
2262 lv_variables_5_0,
2263 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2264 afterParserOrEnumRuleCall();
2265
2266 }
2267
2268 }
2269
2270
2271 }
2272
2273
2274 }
2275 break;
2276
2277 default :
2278 break loop11;
2279 }
2280 } while (true);
2281
2282 otherlv_6=(Token)match(input,23,FOLLOW_11); if (state.failed) return current;
2283 if ( state.backtracking==0 ) {
2284
2285 newLeafNode(otherlv_6, grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5());
2286
2287 }
2288 otherlv_7=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
2289 if ( state.backtracking==0 ) {
2290
2291 newLeafNode(otherlv_7, grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6());
2292
2293 }
2294 // InternalAlloyLanguage.g:846:1: ( (lv_type_8_0= ruleALSTerm ) )
2295 // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm )
2296 {
2297 // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm )
2298 // InternalAlloyLanguage.g:848:3: lv_type_8_0= ruleALSTerm
2299 {
2300 if ( state.backtracking==0 ) {
2301
2302 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0());
2303
2304 }
2305 pushFollow(FOLLOW_5);
2306 lv_type_8_0=ruleALSTerm();
2307
2308 state._fsp--;
2309 if (state.failed) return current;
2310 if ( state.backtracking==0 ) {
2311
2312 if (current==null) {
2313 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2314 }
2315 set(
2316 current,
2317 "type",
2318 lv_type_8_0,
2319 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2320 afterParserOrEnumRuleCall();
2321
2322 }
2323
2324 }
2325
2326
2327 }
2328
2329 otherlv_9=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2330 if ( state.backtracking==0 ) {
2331
2332 newLeafNode(otherlv_9, grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8());
2333
2334 }
2335 // InternalAlloyLanguage.g:868:1: ( (lv_value_10_0= ruleALSTerm ) )
2336 // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm )
2337 {
2338 // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm )
2339 // InternalAlloyLanguage.g:870:3: lv_value_10_0= ruleALSTerm
2340 {
2341 if ( state.backtracking==0 ) {
2342
2343 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0());
2344
2345 }
2346 pushFollow(FOLLOW_15);
2347 lv_value_10_0=ruleALSTerm();
2348
2349 state._fsp--;
2350 if (state.failed) return current;
2351 if ( state.backtracking==0 ) {
2352
2353 if (current==null) {
2354 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2355 }
2356 set(
2357 current,
2358 "value",
2359 lv_value_10_0,
2360 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2361 afterParserOrEnumRuleCall();
2362
2363 }
2364
2365 }
2366
2367
2368 }
2369
2370 otherlv_11=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2371 if ( state.backtracking==0 ) {
2372
2373 newLeafNode(otherlv_11, grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10());
2374
2375 }
2376
2377 }
2378
2379
2380 }
2381
2382 if ( state.backtracking==0 ) {
2383 leaveRule();
2384 }
2385 }
2386
2387 catch (RecognitionException re) {
2388 recover(input,re);
2389 appendSkippedTokens();
2390 }
2391 finally {
2392 }
2393 return current;
2394 }
2395 // $ANTLR end "ruleALSFunctionDefinition"
2396
2397
2398 // $ANTLR start "entryRuleALSRelationDefinition"
2399 // InternalAlloyLanguage.g:898:1: entryRuleALSRelationDefinition returns [EObject current=null] : iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF ;
2400 public final EObject entryRuleALSRelationDefinition() throws RecognitionException {
2401 EObject current = null;
2402
2403 EObject iv_ruleALSRelationDefinition = null;
2404
2405
2406 try {
2407 // InternalAlloyLanguage.g:899:2: (iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF )
2408 // InternalAlloyLanguage.g:900:2: iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF
2409 {
2410 if ( state.backtracking==0 ) {
2411 newCompositeNode(grammarAccess.getALSRelationDefinitionRule());
2412 }
2413 pushFollow(FOLLOW_1);
2414 iv_ruleALSRelationDefinition=ruleALSRelationDefinition();
2415
2416 state._fsp--;
2417 if (state.failed) return current;
2418 if ( state.backtracking==0 ) {
2419 current =iv_ruleALSRelationDefinition;
2420 }
2421 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2422
2423 }
2424
2425 }
2426
2427 catch (RecognitionException re) {
2428 recover(input,re);
2429 appendSkippedTokens();
2430 }
2431 finally {
2432 }
2433 return current;
2434 }
2435 // $ANTLR end "entryRuleALSRelationDefinition"
2436
2437
2438 // $ANTLR start "ruleALSRelationDefinition"
2439 // InternalAlloyLanguage.g:907:1: ruleALSRelationDefinition returns [EObject current=null] : (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) ;
2440 public final EObject ruleALSRelationDefinition() throws RecognitionException {
2441 EObject current = null;
2442
2443 Token otherlv_0=null;
2444 Token otherlv_2=null;
2445 Token otherlv_4=null;
2446 Token otherlv_6=null;
2447 Token otherlv_7=null;
2448 Token otherlv_9=null;
2449 AntlrDatatypeRuleToken lv_name_1_0 = null;
2450
2451 EObject lv_variables_3_0 = null;
2452
2453 EObject lv_variables_5_0 = null;
2454
2455 EObject lv_value_8_0 = null;
2456
2457
2458 enterRule();
2459
2460 try {
2461 // InternalAlloyLanguage.g:910:28: ( (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) )
2462 // InternalAlloyLanguage.g:911:1: (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' )
2463 {
2464 // InternalAlloyLanguage.g:911:1: (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' )
2465 // InternalAlloyLanguage.g:911:3: otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}'
2466 {
2467 otherlv_0=(Token)match(input,24,FOLLOW_4); if (state.failed) return current;
2468 if ( state.backtracking==0 ) {
2469
2470 newLeafNode(otherlv_0, grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0());
2471
2472 }
2473 // InternalAlloyLanguage.g:915:1: ( (lv_name_1_0= ruleALSID ) )
2474 // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID )
2475 {
2476 // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID )
2477 // InternalAlloyLanguage.g:917:3: lv_name_1_0= ruleALSID
2478 {
2479 if ( state.backtracking==0 ) {
2480
2481 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0());
2482
2483 }
2484 pushFollow(FOLLOW_13);
2485 lv_name_1_0=ruleALSID();
2486
2487 state._fsp--;
2488 if (state.failed) return current;
2489 if ( state.backtracking==0 ) {
2490
2491 if (current==null) {
2492 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2493 }
2494 set(
2495 current,
2496 "name",
2497 lv_name_1_0,
2498 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2499 afterParserOrEnumRuleCall();
2500
2501 }
2502
2503 }
2504
2505
2506 }
2507
2508 otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current;
2509 if ( state.backtracking==0 ) {
2510
2511 newLeafNode(otherlv_2, grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2());
2512
2513 }
2514 // InternalAlloyLanguage.g:937:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
2515 // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2516 {
2517 // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2518 // InternalAlloyLanguage.g:939:3: lv_variables_3_0= ruleALSVariableDeclaration
2519 {
2520 if ( state.backtracking==0 ) {
2521
2522 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
2523
2524 }
2525 pushFollow(FOLLOW_14);
2526 lv_variables_3_0=ruleALSVariableDeclaration();
2527
2528 state._fsp--;
2529 if (state.failed) return current;
2530 if ( state.backtracking==0 ) {
2531
2532 if (current==null) {
2533 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2534 }
2535 add(
2536 current,
2537 "variables",
2538 lv_variables_3_0,
2539 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2540 afterParserOrEnumRuleCall();
2541
2542 }
2543
2544 }
2545
2546
2547 }
2548
2549 // InternalAlloyLanguage.g:955:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
2550 loop12:
2551 do {
2552 int alt12=2;
2553 int LA12_0 = input.LA(1);
2554
2555 if ( (LA12_0==13) ) {
2556 alt12=1;
2557 }
2558
2559
2560 switch (alt12) {
2561 case 1 :
2562 // InternalAlloyLanguage.g:955:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2563 {
2564 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
2565 if ( state.backtracking==0 ) {
2566
2567 newLeafNode(otherlv_4, grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0());
2568
2569 }
2570 // InternalAlloyLanguage.g:959:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2571 // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2572 {
2573 // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2574 // InternalAlloyLanguage.g:961:3: lv_variables_5_0= ruleALSVariableDeclaration
2575 {
2576 if ( state.backtracking==0 ) {
2577
2578 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
2579
2580 }
2581 pushFollow(FOLLOW_14);
2582 lv_variables_5_0=ruleALSVariableDeclaration();
2583
2584 state._fsp--;
2585 if (state.failed) return current;
2586 if ( state.backtracking==0 ) {
2587
2588 if (current==null) {
2589 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2590 }
2591 add(
2592 current,
2593 "variables",
2594 lv_variables_5_0,
2595 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2596 afterParserOrEnumRuleCall();
2597
2598 }
2599
2600 }
2601
2602
2603 }
2604
2605
2606 }
2607 break;
2608
2609 default :
2610 break loop12;
2611 }
2612 } while (true);
2613
2614 otherlv_6=(Token)match(input,23,FOLLOW_5); if (state.failed) return current;
2615 if ( state.backtracking==0 ) {
2616
2617 newLeafNode(otherlv_6, grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5());
2618
2619 }
2620 otherlv_7=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2621 if ( state.backtracking==0 ) {
2622
2623 newLeafNode(otherlv_7, grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6());
2624
2625 }
2626 // InternalAlloyLanguage.g:985:1: ( (lv_value_8_0= ruleALSTerm ) )
2627 // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm )
2628 {
2629 // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm )
2630 // InternalAlloyLanguage.g:987:3: lv_value_8_0= ruleALSTerm
2631 {
2632 if ( state.backtracking==0 ) {
2633
2634 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0());
2635
2636 }
2637 pushFollow(FOLLOW_15);
2638 lv_value_8_0=ruleALSTerm();
2639
2640 state._fsp--;
2641 if (state.failed) return current;
2642 if ( state.backtracking==0 ) {
2643
2644 if (current==null) {
2645 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2646 }
2647 set(
2648 current,
2649 "value",
2650 lv_value_8_0,
2651 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2652 afterParserOrEnumRuleCall();
2653
2654 }
2655
2656 }
2657
2658
2659 }
2660
2661 otherlv_9=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2662 if ( state.backtracking==0 ) {
2663
2664 newLeafNode(otherlv_9, grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8());
2665
2666 }
2667
2668 }
2669
2670
2671 }
2672
2673 if ( state.backtracking==0 ) {
2674 leaveRule();
2675 }
2676 }
2677
2678 catch (RecognitionException re) {
2679 recover(input,re);
2680 appendSkippedTokens();
2681 }
2682 finally {
2683 }
2684 return current;
2685 }
2686 // $ANTLR end "ruleALSRelationDefinition"
2687
2688
2689 // $ANTLR start "entryRuleALSFactDeclaration"
2690 // InternalAlloyLanguage.g:1015:1: entryRuleALSFactDeclaration returns [EObject current=null] : iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF ;
2691 public final EObject entryRuleALSFactDeclaration() throws RecognitionException {
2692 EObject current = null;
2693
2694 EObject iv_ruleALSFactDeclaration = null;
2695
2696
2697 try {
2698 // InternalAlloyLanguage.g:1016:2: (iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF )
2699 // InternalAlloyLanguage.g:1017:2: iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF
2700 {
2701 if ( state.backtracking==0 ) {
2702 newCompositeNode(grammarAccess.getALSFactDeclarationRule());
2703 }
2704 pushFollow(FOLLOW_1);
2705 iv_ruleALSFactDeclaration=ruleALSFactDeclaration();
2706
2707 state._fsp--;
2708 if (state.failed) return current;
2709 if ( state.backtracking==0 ) {
2710 current =iv_ruleALSFactDeclaration;
2711 }
2712 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2713
2714 }
2715
2716 }
2717
2718 catch (RecognitionException re) {
2719 recover(input,re);
2720 appendSkippedTokens();
2721 }
2722 finally {
2723 }
2724 return current;
2725 }
2726 // $ANTLR end "entryRuleALSFactDeclaration"
2727
2728
2729 // $ANTLR start "ruleALSFactDeclaration"
2730 // InternalAlloyLanguage.g:1024:1: ruleALSFactDeclaration returns [EObject current=null] : ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) ;
2731 public final EObject ruleALSFactDeclaration() throws RecognitionException {
2732 EObject current = null;
2733
2734 Token otherlv_1=null;
2735 Token otherlv_3=null;
2736 Token otherlv_5=null;
2737 AntlrDatatypeRuleToken lv_name_2_0 = null;
2738
2739 EObject lv_term_4_0 = null;
2740
2741
2742 enterRule();
2743
2744 try {
2745 // InternalAlloyLanguage.g:1027:28: ( ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) )
2746 // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' )
2747 {
2748 // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' )
2749 // InternalAlloyLanguage.g:1028:2: () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}'
2750 {
2751 // InternalAlloyLanguage.g:1028:2: ()
2752 // InternalAlloyLanguage.g:1029:5:
2753 {
2754 if ( state.backtracking==0 ) {
2755
2756 current = forceCreateModelElement(
2757 grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0(),
2758 current);
2759
2760 }
2761
2762 }
2763
2764 otherlv_1=(Token)match(input,25,FOLLOW_16); if (state.failed) return current;
2765 if ( state.backtracking==0 ) {
2766
2767 newLeafNode(otherlv_1, grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1());
2768
2769 }
2770 // InternalAlloyLanguage.g:1038:1: ( (lv_name_2_0= ruleALSID ) )?
2771 int alt13=2;
2772 int LA13_0 = input.LA(1);
2773
2774 if ( (LA13_0==RULE_ID) ) {
2775 alt13=1;
2776 }
2777 switch (alt13) {
2778 case 1 :
2779 // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID )
2780 {
2781 // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID )
2782 // InternalAlloyLanguage.g:1040:3: lv_name_2_0= ruleALSID
2783 {
2784 if ( state.backtracking==0 ) {
2785
2786 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0());
2787
2788 }
2789 pushFollow(FOLLOW_5);
2790 lv_name_2_0=ruleALSID();
2791
2792 state._fsp--;
2793 if (state.failed) return current;
2794 if ( state.backtracking==0 ) {
2795
2796 if (current==null) {
2797 current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
2798 }
2799 set(
2800 current,
2801 "name",
2802 lv_name_2_0,
2803 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2804 afterParserOrEnumRuleCall();
2805
2806 }
2807
2808 }
2809
2810
2811 }
2812 break;
2813
2814 }
2815
2816 otherlv_3=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2817 if ( state.backtracking==0 ) {
2818
2819 newLeafNode(otherlv_3, grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3());
2820
2821 }
2822 // InternalAlloyLanguage.g:1060:1: ( (lv_term_4_0= ruleALSTerm ) )
2823 // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm )
2824 {
2825 // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm )
2826 // InternalAlloyLanguage.g:1062:3: lv_term_4_0= ruleALSTerm
2827 {
2828 if ( state.backtracking==0 ) {
2829
2830 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0());
2831
2832 }
2833 pushFollow(FOLLOW_15);
2834 lv_term_4_0=ruleALSTerm();
2835
2836 state._fsp--;
2837 if (state.failed) return current;
2838 if ( state.backtracking==0 ) {
2839
2840 if (current==null) {
2841 current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
2842 }
2843 set(
2844 current,
2845 "term",
2846 lv_term_4_0,
2847 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2848 afterParserOrEnumRuleCall();
2849
2850 }
2851
2852 }
2853
2854
2855 }
2856
2857 otherlv_5=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2858 if ( state.backtracking==0 ) {
2859
2860 newLeafNode(otherlv_5, grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5());
2861
2862 }
2863
2864 }
2865
2866
2867 }
2868
2869 if ( state.backtracking==0 ) {
2870 leaveRule();
2871 }
2872 }
2873
2874 catch (RecognitionException re) {
2875 recover(input,re);
2876 appendSkippedTokens();
2877 }
2878 finally {
2879 }
2880 return current;
2881 }
2882 // $ANTLR end "ruleALSFactDeclaration"
2883
2884
2885 // $ANTLR start "entryRuleALSTerm"
2886 // InternalAlloyLanguage.g:1090:1: entryRuleALSTerm returns [EObject current=null] : iv_ruleALSTerm= ruleALSTerm EOF ;
2887 public final EObject entryRuleALSTerm() throws RecognitionException {
2888 EObject current = null;
2889
2890 EObject iv_ruleALSTerm = null;
2891
2892
2893 try {
2894 // InternalAlloyLanguage.g:1091:2: (iv_ruleALSTerm= ruleALSTerm EOF )
2895 // InternalAlloyLanguage.g:1092:2: iv_ruleALSTerm= ruleALSTerm EOF
2896 {
2897 if ( state.backtracking==0 ) {
2898 newCompositeNode(grammarAccess.getALSTermRule());
2899 }
2900 pushFollow(FOLLOW_1);
2901 iv_ruleALSTerm=ruleALSTerm();
2902
2903 state._fsp--;
2904 if (state.failed) return current;
2905 if ( state.backtracking==0 ) {
2906 current =iv_ruleALSTerm;
2907 }
2908 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2909
2910 }
2911
2912 }
2913
2914 catch (RecognitionException re) {
2915 recover(input,re);
2916 appendSkippedTokens();
2917 }
2918 finally {
2919 }
2920 return current;
2921 }
2922 // $ANTLR end "entryRuleALSTerm"
2923
2924
2925 // $ANTLR start "ruleALSTerm"
2926 // InternalAlloyLanguage.g:1099:1: ruleALSTerm returns [EObject current=null] : this_ALSQuantified_0= ruleALSQuantified ;
2927 public final EObject ruleALSTerm() throws RecognitionException {
2928 EObject current = null;
2929
2930 EObject this_ALSQuantified_0 = null;
2931
2932
2933 enterRule();
2934
2935 try {
2936 // InternalAlloyLanguage.g:1102:28: (this_ALSQuantified_0= ruleALSQuantified )
2937 // InternalAlloyLanguage.g:1104:5: this_ALSQuantified_0= ruleALSQuantified
2938 {
2939 if ( state.backtracking==0 ) {
2940
2941 newCompositeNode(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall());
2942
2943 }
2944 pushFollow(FOLLOW_2);
2945 this_ALSQuantified_0=ruleALSQuantified();
2946
2947 state._fsp--;
2948 if (state.failed) return current;
2949 if ( state.backtracking==0 ) {
2950
2951 current = this_ALSQuantified_0;
2952 afterParserOrEnumRuleCall();
2953
2954 }
2955
2956 }
2957
2958 if ( state.backtracking==0 ) {
2959 leaveRule();
2960 }
2961 }
2962
2963 catch (RecognitionException re) {
2964 recover(input,re);
2965 appendSkippedTokens();
2966 }
2967 finally {
2968 }
2969 return current;
2970 }
2971 // $ANTLR end "ruleALSTerm"
2972
2973
2974 // $ANTLR start "entryRuleALSQuantified"
2975 // InternalAlloyLanguage.g:1120:1: entryRuleALSQuantified returns [EObject current=null] : iv_ruleALSQuantified= ruleALSQuantified EOF ;
2976 public final EObject entryRuleALSQuantified() throws RecognitionException {
2977 EObject current = null;
2978
2979 EObject iv_ruleALSQuantified = null;
2980
2981
2982 try {
2983 // InternalAlloyLanguage.g:1121:2: (iv_ruleALSQuantified= ruleALSQuantified EOF )
2984 // InternalAlloyLanguage.g:1122:2: iv_ruleALSQuantified= ruleALSQuantified EOF
2985 {
2986 if ( state.backtracking==0 ) {
2987 newCompositeNode(grammarAccess.getALSQuantifiedRule());
2988 }
2989 pushFollow(FOLLOW_1);
2990 iv_ruleALSQuantified=ruleALSQuantified();
2991
2992 state._fsp--;
2993 if (state.failed) return current;
2994 if ( state.backtracking==0 ) {
2995 current =iv_ruleALSQuantified;
2996 }
2997 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2998
2999 }
3000
3001 }
3002
3003 catch (RecognitionException re) {
3004 recover(input,re);
3005 appendSkippedTokens();
3006 }
3007 finally {
3008 }
3009 return current;
3010 }
3011 // $ANTLR end "entryRuleALSQuantified"
3012
3013
3014 // $ANTLR start "ruleALSQuantified"
3015 // InternalAlloyLanguage.g:1129:1: ruleALSQuantified returns [EObject current=null] : ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) ;
3016 public final EObject ruleALSQuantified() throws RecognitionException {
3017 EObject current = null;
3018
3019 Token lv_disj_2_0=null;
3020 Token otherlv_4=null;
3021 Token otherlv_6=null;
3022 Token otherlv_8=null;
3023 Enumerator lv_type_1_0 = null;
3024
3025 EObject lv_variables_3_0 = null;
3026
3027 EObject lv_variables_5_0 = null;
3028
3029 EObject lv_expression_7_0 = null;
3030
3031 EObject this_ALSOr_9 = null;
3032
3033
3034 enterRule();
3035
3036 try {
3037 // InternalAlloyLanguage.g:1132:28: ( ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) )
3038 // InternalAlloyLanguage.g:1133:1: ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr )
3039 {
3040 // InternalAlloyLanguage.g:1133:1: ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr )
3041 int alt16=2;
3042 int LA16_0 = input.LA(1);
3043
3044 if ( ((LA16_0>=66 && LA16_0<=71)) ) {
3045 alt16=1;
3046 }
3047 else if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_STRING)||LA16_0==46||(LA16_0>=49 && LA16_0<=61)||(LA16_0>=72 && LA16_0<=76)) ) {
3048 alt16=2;
3049 }
3050 else {
3051 if (state.backtracking>0) {state.failed=true; return current;}
3052 NoViableAltException nvae =
3053 new NoViableAltException("", 16, 0, input);
3054
3055 throw nvae;
3056 }
3057 switch (alt16) {
3058 case 1 :
3059 // InternalAlloyLanguage.g:1133:2: ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' )
3060 {
3061 // InternalAlloyLanguage.g:1133:2: ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' )
3062 // InternalAlloyLanguage.g:1133:3: () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}'
3063 {
3064 // InternalAlloyLanguage.g:1133:3: ()
3065 // InternalAlloyLanguage.g:1134:5:
3066 {
3067 if ( state.backtracking==0 ) {
3068
3069 current = forceCreateModelElement(
3070 grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0(),
3071 current);
3072
3073 }
3074
3075 }
3076
3077 // InternalAlloyLanguage.g:1139:2: ( (lv_type_1_0= ruleALSMultiplicity ) )
3078 // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity )
3079 {
3080 // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity )
3081 // InternalAlloyLanguage.g:1141:3: lv_type_1_0= ruleALSMultiplicity
3082 {
3083 if ( state.backtracking==0 ) {
3084
3085 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0());
3086
3087 }
3088 pushFollow(FOLLOW_17);
3089 lv_type_1_0=ruleALSMultiplicity();
3090
3091 state._fsp--;
3092 if (state.failed) return current;
3093 if ( state.backtracking==0 ) {
3094
3095 if (current==null) {
3096 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3097 }
3098 set(
3099 current,
3100 "type",
3101 lv_type_1_0,
3102 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
3103 afterParserOrEnumRuleCall();
3104
3105 }
3106
3107 }
3108
3109
3110 }
3111
3112 // InternalAlloyLanguage.g:1157:2: ( (lv_disj_2_0= 'disj' ) )?
3113 int alt14=2;
3114 int LA14_0 = input.LA(1);
3115
3116 if ( (LA14_0==26) ) {
3117 alt14=1;
3118 }
3119 switch (alt14) {
3120 case 1 :
3121 // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' )
3122 {
3123 // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' )
3124 // InternalAlloyLanguage.g:1159:3: lv_disj_2_0= 'disj'
3125 {
3126 lv_disj_2_0=(Token)match(input,26,FOLLOW_4); if (state.failed) return current;
3127 if ( state.backtracking==0 ) {
3128
3129 newLeafNode(lv_disj_2_0, grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
3130
3131 }
3132 if ( state.backtracking==0 ) {
3133
3134 if (current==null) {
3135 current = createModelElement(grammarAccess.getALSQuantifiedRule());
3136 }
3137 setWithLastConsumed(current, "disj", true, "disj");
3138
3139 }
3140
3141 }
3142
3143
3144 }
3145 break;
3146
3147 }
3148
3149 // InternalAlloyLanguage.g:1172:3: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
3150 // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration )
3151 {
3152 // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration )
3153 // InternalAlloyLanguage.g:1174:3: lv_variables_3_0= ruleALSVariableDeclaration
3154 {
3155 if ( state.backtracking==0 ) {
3156
3157 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0());
3158
3159 }
3160 pushFollow(FOLLOW_18);
3161 lv_variables_3_0=ruleALSVariableDeclaration();
3162
3163 state._fsp--;
3164 if (state.failed) return current;
3165 if ( state.backtracking==0 ) {
3166
3167 if (current==null) {
3168 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3169 }
3170 add(
3171 current,
3172 "variables",
3173 lv_variables_3_0,
3174 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
3175 afterParserOrEnumRuleCall();
3176
3177 }
3178
3179 }
3180
3181
3182 }
3183
3184 // InternalAlloyLanguage.g:1190:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
3185 loop15:
3186 do {
3187 int alt15=2;
3188 int LA15_0 = input.LA(1);
3189
3190 if ( (LA15_0==13) ) {
3191 alt15=1;
3192 }
3193
3194
3195 switch (alt15) {
3196 case 1 :
3197 // InternalAlloyLanguage.g:1190:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
3198 {
3199 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
3200 if ( state.backtracking==0 ) {
3201
3202 newLeafNode(otherlv_4, grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0());
3203
3204 }
3205 // InternalAlloyLanguage.g:1194:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
3206 // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration )
3207 {
3208 // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration )
3209 // InternalAlloyLanguage.g:1196:3: lv_variables_5_0= ruleALSVariableDeclaration
3210 {
3211 if ( state.backtracking==0 ) {
3212
3213 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0());
3214
3215 }
3216 pushFollow(FOLLOW_18);
3217 lv_variables_5_0=ruleALSVariableDeclaration();
3218
3219 state._fsp--;
3220 if (state.failed) return current;
3221 if ( state.backtracking==0 ) {
3222
3223 if (current==null) {
3224 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3225 }
3226 add(
3227 current,
3228 "variables",
3229 lv_variables_5_0,
3230 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
3231 afterParserOrEnumRuleCall();
3232
3233 }
3234
3235 }
3236
3237
3238 }
3239
3240
3241 }
3242 break;
3243
3244 default :
3245 break loop15;
3246 }
3247 } while (true);
3248
3249 otherlv_6=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
3250 if ( state.backtracking==0 ) {
3251
3252 newLeafNode(otherlv_6, grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5());
3253
3254 }
3255 // InternalAlloyLanguage.g:1216:1: ( (lv_expression_7_0= ruleALSTerm ) )
3256 // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm )
3257 {
3258 // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm )
3259 // InternalAlloyLanguage.g:1218:3: lv_expression_7_0= ruleALSTerm
3260 {
3261 if ( state.backtracking==0 ) {
3262
3263 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0());
3264
3265 }
3266 pushFollow(FOLLOW_15);
3267 lv_expression_7_0=ruleALSTerm();
3268
3269 state._fsp--;
3270 if (state.failed) return current;
3271 if ( state.backtracking==0 ) {
3272
3273 if (current==null) {
3274 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3275 }
3276 set(
3277 current,
3278 "expression",
3279 lv_expression_7_0,
3280 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
3281 afterParserOrEnumRuleCall();
3282
3283 }
3284
3285 }
3286
3287
3288 }
3289
3290 otherlv_8=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
3291 if ( state.backtracking==0 ) {
3292
3293 newLeafNode(otherlv_8, grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7());
3294
3295 }
3296
3297 }
3298
3299
3300 }
3301 break;
3302 case 2 :
3303 // InternalAlloyLanguage.g:1240:5: this_ALSOr_9= ruleALSOr
3304 {
3305 if ( state.backtracking==0 ) {
3306
3307 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1());
3308
3309 }
3310 pushFollow(FOLLOW_2);
3311 this_ALSOr_9=ruleALSOr();
3312
3313 state._fsp--;
3314 if (state.failed) return current;
3315 if ( state.backtracking==0 ) {
3316
3317 current = this_ALSOr_9;
3318 afterParserOrEnumRuleCall();
3319
3320 }
3321
3322 }
3323 break;
3324
3325 }
3326
3327
3328 }
3329
3330 if ( state.backtracking==0 ) {
3331 leaveRule();
3332 }
3333 }
3334
3335 catch (RecognitionException re) {
3336 recover(input,re);
3337 appendSkippedTokens();
3338 }
3339 finally {
3340 }
3341 return current;
3342 }
3343 // $ANTLR end "ruleALSQuantified"
3344
3345
3346 // $ANTLR start "entryRuleALSOr"
3347 // InternalAlloyLanguage.g:1256:1: entryRuleALSOr returns [EObject current=null] : iv_ruleALSOr= ruleALSOr EOF ;
3348 public final EObject entryRuleALSOr() throws RecognitionException {
3349 EObject current = null;
3350
3351 EObject iv_ruleALSOr = null;
3352
3353
3354 try {
3355 // InternalAlloyLanguage.g:1257:2: (iv_ruleALSOr= ruleALSOr EOF )
3356 // InternalAlloyLanguage.g:1258:2: iv_ruleALSOr= ruleALSOr EOF
3357 {
3358 if ( state.backtracking==0 ) {
3359 newCompositeNode(grammarAccess.getALSOrRule());
3360 }
3361 pushFollow(FOLLOW_1);
3362 iv_ruleALSOr=ruleALSOr();
3363
3364 state._fsp--;
3365 if (state.failed) return current;
3366 if ( state.backtracking==0 ) {
3367 current =iv_ruleALSOr;
3368 }
3369 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3370
3371 }
3372
3373 }
3374
3375 catch (RecognitionException re) {
3376 recover(input,re);
3377 appendSkippedTokens();
3378 }
3379 finally {
3380 }
3381 return current;
3382 }
3383 // $ANTLR end "entryRuleALSOr"
3384
3385
3386 // $ANTLR start "ruleALSOr"
3387 // InternalAlloyLanguage.g:1265:1: ruleALSOr returns [EObject current=null] : (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) ;
3388 public final EObject ruleALSOr() throws RecognitionException {
3389 EObject current = null;
3390
3391 Token otherlv_2=null;
3392 Token otherlv_3=null;
3393 EObject this_ALSIff_0 = null;
3394
3395 EObject lv_rightOperand_4_0 = null;
3396
3397
3398 enterRule();
3399
3400 try {
3401 // InternalAlloyLanguage.g:1268:28: ( (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) )
3402 // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? )
3403 {
3404 // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? )
3405 // InternalAlloyLanguage.g:1270:5: this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )?
3406 {
3407 if ( state.backtracking==0 ) {
3408
3409 newCompositeNode(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0());
3410
3411 }
3412 pushFollow(FOLLOW_19);
3413 this_ALSIff_0=ruleALSIff();
3414
3415 state._fsp--;
3416 if (state.failed) return current;
3417 if ( state.backtracking==0 ) {
3418
3419 current = this_ALSIff_0;
3420 afterParserOrEnumRuleCall();
3421
3422 }
3423 // InternalAlloyLanguage.g:1278:1: ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )?
3424 int alt18=2;
3425 int LA18_0 = input.LA(1);
3426
3427 if ( ((LA18_0>=27 && LA18_0<=28)) ) {
3428 alt18=1;
3429 }
3430 switch (alt18) {
3431 case 1 :
3432 // InternalAlloyLanguage.g:1278:2: () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) )
3433 {
3434 // InternalAlloyLanguage.g:1278:2: ()
3435 // InternalAlloyLanguage.g:1279:5:
3436 {
3437 if ( state.backtracking==0 ) {
3438
3439 current = forceCreateModelElementAndSet(
3440 grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(),
3441 current);
3442
3443 }
3444
3445 }
3446
3447 // InternalAlloyLanguage.g:1284:2: (otherlv_2= '||' | otherlv_3= 'or' )
3448 int alt17=2;
3449 int LA17_0 = input.LA(1);
3450
3451 if ( (LA17_0==27) ) {
3452 alt17=1;
3453 }
3454 else if ( (LA17_0==28) ) {
3455 alt17=2;
3456 }
3457 else {
3458 if (state.backtracking>0) {state.failed=true; return current;}
3459 NoViableAltException nvae =
3460 new NoViableAltException("", 17, 0, input);
3461
3462 throw nvae;
3463 }
3464 switch (alt17) {
3465 case 1 :
3466 // InternalAlloyLanguage.g:1284:4: otherlv_2= '||'
3467 {
3468 otherlv_2=(Token)match(input,27,FOLLOW_12); if (state.failed) return current;
3469 if ( state.backtracking==0 ) {
3470
3471 newLeafNode(otherlv_2, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0());
3472
3473 }
3474
3475 }
3476 break;
3477 case 2 :
3478 // InternalAlloyLanguage.g:1289:7: otherlv_3= 'or'
3479 {
3480 otherlv_3=(Token)match(input,28,FOLLOW_12); if (state.failed) return current;
3481 if ( state.backtracking==0 ) {
3482
3483 newLeafNode(otherlv_3, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1());
3484
3485 }
3486
3487 }
3488 break;
3489
3490 }
3491
3492 // InternalAlloyLanguage.g:1293:2: ( (lv_rightOperand_4_0= ruleALSIff ) )
3493 // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff )
3494 {
3495 // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff )
3496 // InternalAlloyLanguage.g:1295:3: lv_rightOperand_4_0= ruleALSIff
3497 {
3498 if ( state.backtracking==0 ) {
3499
3500 newCompositeNode(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0());
3501
3502 }
3503 pushFollow(FOLLOW_2);
3504 lv_rightOperand_4_0=ruleALSIff();
3505
3506 state._fsp--;
3507 if (state.failed) return current;
3508 if ( state.backtracking==0 ) {
3509
3510 if (current==null) {
3511 current = createModelElementForParent(grammarAccess.getALSOrRule());
3512 }
3513 set(
3514 current,
3515 "rightOperand",
3516 lv_rightOperand_4_0,
3517 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff");
3518 afterParserOrEnumRuleCall();
3519
3520 }
3521
3522 }
3523
3524
3525 }
3526
3527
3528 }
3529 break;
3530
3531 }
3532
3533
3534 }
3535
3536
3537 }
3538
3539 if ( state.backtracking==0 ) {
3540 leaveRule();
3541 }
3542 }
3543
3544 catch (RecognitionException re) {
3545 recover(input,re);
3546 appendSkippedTokens();
3547 }
3548 finally {
3549 }
3550 return current;
3551 }
3552 // $ANTLR end "ruleALSOr"
3553
3554
3555 // $ANTLR start "entryRuleALSIff"
3556 // InternalAlloyLanguage.g:1319:1: entryRuleALSIff returns [EObject current=null] : iv_ruleALSIff= ruleALSIff EOF ;
3557 public final EObject entryRuleALSIff() throws RecognitionException {
3558 EObject current = null;
3559
3560 EObject iv_ruleALSIff = null;
3561
3562
3563 try {
3564 // InternalAlloyLanguage.g:1320:2: (iv_ruleALSIff= ruleALSIff EOF )
3565 // InternalAlloyLanguage.g:1321:2: iv_ruleALSIff= ruleALSIff EOF
3566 {
3567 if ( state.backtracking==0 ) {
3568 newCompositeNode(grammarAccess.getALSIffRule());
3569 }
3570 pushFollow(FOLLOW_1);
3571 iv_ruleALSIff=ruleALSIff();
3572
3573 state._fsp--;
3574 if (state.failed) return current;
3575 if ( state.backtracking==0 ) {
3576 current =iv_ruleALSIff;
3577 }
3578 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3579
3580 }
3581
3582 }
3583
3584 catch (RecognitionException re) {
3585 recover(input,re);
3586 appendSkippedTokens();
3587 }
3588 finally {
3589 }
3590 return current;
3591 }
3592 // $ANTLR end "entryRuleALSIff"
3593
3594
3595 // $ANTLR start "ruleALSIff"
3596 // InternalAlloyLanguage.g:1328:1: ruleALSIff returns [EObject current=null] : (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) ;
3597 public final EObject ruleALSIff() throws RecognitionException {
3598 EObject current = null;
3599
3600 Token otherlv_2=null;
3601 Token otherlv_3=null;
3602 EObject this_ALSImpl_0 = null;
3603
3604 EObject lv_rightOperand_4_0 = null;
3605
3606
3607 enterRule();
3608
3609 try {
3610 // InternalAlloyLanguage.g:1331:28: ( (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) )
3611 // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? )
3612 {
3613 // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? )
3614 // InternalAlloyLanguage.g:1333:5: this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )?
3615 {
3616 if ( state.backtracking==0 ) {
3617
3618 newCompositeNode(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0());
3619
3620 }
3621 pushFollow(FOLLOW_20);
3622 this_ALSImpl_0=ruleALSImpl();
3623
3624 state._fsp--;
3625 if (state.failed) return current;
3626 if ( state.backtracking==0 ) {
3627
3628 current = this_ALSImpl_0;
3629 afterParserOrEnumRuleCall();
3630
3631 }
3632 // InternalAlloyLanguage.g:1341:1: ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )?
3633 int alt20=2;
3634 int LA20_0 = input.LA(1);
3635
3636 if ( ((LA20_0>=29 && LA20_0<=30)) ) {
3637 alt20=1;
3638 }
3639 switch (alt20) {
3640 case 1 :
3641 // InternalAlloyLanguage.g:1341:2: () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) )
3642 {
3643 // InternalAlloyLanguage.g:1341:2: ()
3644 // InternalAlloyLanguage.g:1342:5:
3645 {
3646 if ( state.backtracking==0 ) {
3647
3648 current = forceCreateModelElementAndSet(
3649 grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(),
3650 current);
3651
3652 }
3653
3654 }
3655
3656 // InternalAlloyLanguage.g:1347:2: (otherlv_2= '<=>' | otherlv_3= 'iff' )
3657 int alt19=2;
3658 int LA19_0 = input.LA(1);
3659
3660 if ( (LA19_0==29) ) {
3661 alt19=1;
3662 }
3663 else if ( (LA19_0==30) ) {
3664 alt19=2;
3665 }
3666 else {
3667 if (state.backtracking>0) {state.failed=true; return current;}
3668 NoViableAltException nvae =
3669 new NoViableAltException("", 19, 0, input);
3670
3671 throw nvae;
3672 }
3673 switch (alt19) {
3674 case 1 :
3675 // InternalAlloyLanguage.g:1347:4: otherlv_2= '<=>'
3676 {
3677 otherlv_2=(Token)match(input,29,FOLLOW_12); if (state.failed) return current;
3678 if ( state.backtracking==0 ) {
3679
3680 newLeafNode(otherlv_2, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0());
3681
3682 }
3683
3684 }
3685 break;
3686 case 2 :
3687 // InternalAlloyLanguage.g:1352:7: otherlv_3= 'iff'
3688 {
3689 otherlv_3=(Token)match(input,30,FOLLOW_12); if (state.failed) return current;
3690 if ( state.backtracking==0 ) {
3691
3692 newLeafNode(otherlv_3, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1());
3693
3694 }
3695
3696 }
3697 break;
3698
3699 }
3700
3701 // InternalAlloyLanguage.g:1356:2: ( (lv_rightOperand_4_0= ruleALSImpl ) )
3702 // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl )
3703 {
3704 // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl )
3705 // InternalAlloyLanguage.g:1358:3: lv_rightOperand_4_0= ruleALSImpl
3706 {
3707 if ( state.backtracking==0 ) {
3708
3709 newCompositeNode(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0());
3710
3711 }
3712 pushFollow(FOLLOW_2);
3713 lv_rightOperand_4_0=ruleALSImpl();
3714
3715 state._fsp--;
3716 if (state.failed) return current;
3717 if ( state.backtracking==0 ) {
3718
3719 if (current==null) {
3720 current = createModelElementForParent(grammarAccess.getALSIffRule());
3721 }
3722 set(
3723 current,
3724 "rightOperand",
3725 lv_rightOperand_4_0,
3726 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl");
3727 afterParserOrEnumRuleCall();
3728
3729 }
3730
3731 }
3732
3733
3734 }
3735
3736
3737 }
3738 break;
3739
3740 }
3741
3742
3743 }
3744
3745
3746 }
3747
3748 if ( state.backtracking==0 ) {
3749 leaveRule();
3750 }
3751 }
3752
3753 catch (RecognitionException re) {
3754 recover(input,re);
3755 appendSkippedTokens();
3756 }
3757 finally {
3758 }
3759 return current;
3760 }
3761 // $ANTLR end "ruleALSIff"
3762
3763
3764 // $ANTLR start "entryRuleALSImpl"
3765 // InternalAlloyLanguage.g:1382:1: entryRuleALSImpl returns [EObject current=null] : iv_ruleALSImpl= ruleALSImpl EOF ;
3766 public final EObject entryRuleALSImpl() throws RecognitionException {
3767 EObject current = null;
3768
3769 EObject iv_ruleALSImpl = null;
3770
3771
3772 try {
3773 // InternalAlloyLanguage.g:1383:2: (iv_ruleALSImpl= ruleALSImpl EOF )
3774 // InternalAlloyLanguage.g:1384:2: iv_ruleALSImpl= ruleALSImpl EOF
3775 {
3776 if ( state.backtracking==0 ) {
3777 newCompositeNode(grammarAccess.getALSImplRule());
3778 }
3779 pushFollow(FOLLOW_1);
3780 iv_ruleALSImpl=ruleALSImpl();
3781
3782 state._fsp--;
3783 if (state.failed) return current;
3784 if ( state.backtracking==0 ) {
3785 current =iv_ruleALSImpl;
3786 }
3787 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3788
3789 }
3790
3791 }
3792
3793 catch (RecognitionException re) {
3794 recover(input,re);
3795 appendSkippedTokens();
3796 }
3797 finally {
3798 }
3799 return current;
3800 }
3801 // $ANTLR end "entryRuleALSImpl"
3802
3803
3804 // $ANTLR start "ruleALSImpl"
3805 // InternalAlloyLanguage.g:1391:1: ruleALSImpl returns [EObject current=null] : (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) ;
3806 public final EObject ruleALSImpl() throws RecognitionException {
3807 EObject current = null;
3808
3809 Token otherlv_2=null;
3810 Token otherlv_3=null;
3811 Token otherlv_5=null;
3812 EObject this_ALSAnd_0 = null;
3813
3814 EObject lv_rightOperand_4_0 = null;
3815
3816 EObject lv_elseOperand_6_0 = null;
3817
3818
3819 enterRule();
3820
3821 try {
3822 // InternalAlloyLanguage.g:1394:28: ( (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) )
3823 // InternalAlloyLanguage.g:1395:1: (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? )
3824 {
3825 // InternalAlloyLanguage.g:1395:1: (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? )
3826 // InternalAlloyLanguage.g:1396:5: this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )?
3827 {
3828 if ( state.backtracking==0 ) {
3829
3830 newCompositeNode(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0());
3831
3832 }
3833 pushFollow(FOLLOW_21);
3834 this_ALSAnd_0=ruleALSAnd();
3835
3836 state._fsp--;
3837 if (state.failed) return current;
3838 if ( state.backtracking==0 ) {
3839
3840 current = this_ALSAnd_0;
3841 afterParserOrEnumRuleCall();
3842
3843 }
3844 // InternalAlloyLanguage.g:1404:1: ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )?
3845 int alt23=2;
3846 int LA23_0 = input.LA(1);
3847
3848 if ( ((LA23_0>=31 && LA23_0<=32)) ) {
3849 alt23=1;
3850 }
3851 switch (alt23) {
3852 case 1 :
3853 // InternalAlloyLanguage.g:1404:2: () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )?
3854 {
3855 // InternalAlloyLanguage.g:1404:2: ()
3856 // InternalAlloyLanguage.g:1405:5:
3857 {
3858 if ( state.backtracking==0 ) {
3859
3860 current = forceCreateModelElementAndSet(
3861 grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0(),
3862 current);
3863
3864 }
3865
3866 }
3867
3868 // InternalAlloyLanguage.g:1410:2: (otherlv_2= '=>' | otherlv_3= 'implies' )
3869 int alt21=2;
3870 int LA21_0 = input.LA(1);
3871
3872 if ( (LA21_0==31) ) {
3873 alt21=1;
3874 }
3875 else if ( (LA21_0==32) ) {
3876 alt21=2;
3877 }
3878 else {
3879 if (state.backtracking>0) {state.failed=true; return current;}
3880 NoViableAltException nvae =
3881 new NoViableAltException("", 21, 0, input);
3882
3883 throw nvae;
3884 }
3885 switch (alt21) {
3886 case 1 :
3887 // InternalAlloyLanguage.g:1410:4: otherlv_2= '=>'
3888 {
3889 otherlv_2=(Token)match(input,31,FOLLOW_12); if (state.failed) return current;
3890 if ( state.backtracking==0 ) {
3891
3892 newLeafNode(otherlv_2, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0());
3893
3894 }
3895
3896 }
3897 break;
3898 case 2 :
3899 // InternalAlloyLanguage.g:1415:7: otherlv_3= 'implies'
3900 {
3901 otherlv_3=(Token)match(input,32,FOLLOW_12); if (state.failed) return current;
3902 if ( state.backtracking==0 ) {
3903
3904 newLeafNode(otherlv_3, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1());
3905
3906 }
3907
3908 }
3909 break;
3910
3911 }
3912
3913 // InternalAlloyLanguage.g:1419:2: ( (lv_rightOperand_4_0= ruleALSAnd ) )
3914 // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd )
3915 {
3916 // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd )
3917 // InternalAlloyLanguage.g:1421:3: lv_rightOperand_4_0= ruleALSAnd
3918 {
3919 if ( state.backtracking==0 ) {
3920
3921 newCompositeNode(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0());
3922
3923 }
3924 pushFollow(FOLLOW_22);
3925 lv_rightOperand_4_0=ruleALSAnd();
3926
3927 state._fsp--;
3928 if (state.failed) return current;
3929 if ( state.backtracking==0 ) {
3930
3931 if (current==null) {
3932 current = createModelElementForParent(grammarAccess.getALSImplRule());
3933 }
3934 set(
3935 current,
3936 "rightOperand",
3937 lv_rightOperand_4_0,
3938 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
3939 afterParserOrEnumRuleCall();
3940
3941 }
3942
3943 }
3944
3945
3946 }
3947
3948 // InternalAlloyLanguage.g:1437:2: (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )?
3949 int alt22=2;
3950 int LA22_0 = input.LA(1);
3951
3952 if ( (LA22_0==33) ) {
3953 alt22=1;
3954 }
3955 switch (alt22) {
3956 case 1 :
3957 // InternalAlloyLanguage.g:1437:4: otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) )
3958 {
3959 otherlv_5=(Token)match(input,33,FOLLOW_12); if (state.failed) return current;
3960 if ( state.backtracking==0 ) {
3961
3962 newLeafNode(otherlv_5, grammarAccess.getALSImplAccess().getElseKeyword_1_3_0());
3963
3964 }
3965 // InternalAlloyLanguage.g:1441:1: ( (lv_elseOperand_6_0= ruleALSAnd ) )
3966 // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd )
3967 {
3968 // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd )
3969 // InternalAlloyLanguage.g:1443:3: lv_elseOperand_6_0= ruleALSAnd
3970 {
3971 if ( state.backtracking==0 ) {
3972
3973 newCompositeNode(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0());
3974
3975 }
3976 pushFollow(FOLLOW_2);
3977 lv_elseOperand_6_0=ruleALSAnd();
3978
3979 state._fsp--;
3980 if (state.failed) return current;
3981 if ( state.backtracking==0 ) {
3982
3983 if (current==null) {
3984 current = createModelElementForParent(grammarAccess.getALSImplRule());
3985 }
3986 set(
3987 current,
3988 "elseOperand",
3989 lv_elseOperand_6_0,
3990 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
3991 afterParserOrEnumRuleCall();
3992
3993 }
3994
3995 }
3996
3997
3998 }
3999
4000
4001 }
4002 break;
4003
4004 }
4005
4006
4007 }
4008 break;
4009
4010 }
4011
4012
4013 }
4014
4015
4016 }
4017
4018 if ( state.backtracking==0 ) {
4019 leaveRule();
4020 }
4021 }
4022
4023 catch (RecognitionException re) {
4024 recover(input,re);
4025 appendSkippedTokens();
4026 }
4027 finally {
4028 }
4029 return current;
4030 }
4031 // $ANTLR end "ruleALSImpl"
4032
4033
4034 // $ANTLR start "entryRuleALSAnd"
4035 // InternalAlloyLanguage.g:1467:1: entryRuleALSAnd returns [EObject current=null] : iv_ruleALSAnd= ruleALSAnd EOF ;
4036 public final EObject entryRuleALSAnd() throws RecognitionException {
4037 EObject current = null;
4038
4039 EObject iv_ruleALSAnd = null;
4040
4041
4042 try {
4043 // InternalAlloyLanguage.g:1468:2: (iv_ruleALSAnd= ruleALSAnd EOF )
4044 // InternalAlloyLanguage.g:1469:2: iv_ruleALSAnd= ruleALSAnd EOF
4045 {
4046 if ( state.backtracking==0 ) {
4047 newCompositeNode(grammarAccess.getALSAndRule());
4048 }
4049 pushFollow(FOLLOW_1);
4050 iv_ruleALSAnd=ruleALSAnd();
4051
4052 state._fsp--;
4053 if (state.failed) return current;
4054 if ( state.backtracking==0 ) {
4055 current =iv_ruleALSAnd;
4056 }
4057 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4058
4059 }
4060
4061 }
4062
4063 catch (RecognitionException re) {
4064 recover(input,re);
4065 appendSkippedTokens();
4066 }
4067 finally {
4068 }
4069 return current;
4070 }
4071 // $ANTLR end "entryRuleALSAnd"
4072
4073
4074 // $ANTLR start "ruleALSAnd"
4075 // InternalAlloyLanguage.g:1476:1: ruleALSAnd returns [EObject current=null] : (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) ;
4076 public final EObject ruleALSAnd() throws RecognitionException {
4077 EObject current = null;
4078
4079 Token otherlv_2=null;
4080 Token otherlv_3=null;
4081 EObject this_ALSComparison_0 = null;
4082
4083 EObject lv_rightOperand_4_0 = null;
4084
4085
4086 enterRule();
4087
4088 try {
4089 // InternalAlloyLanguage.g:1479:28: ( (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) )
4090 // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? )
4091 {
4092 // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? )
4093 // InternalAlloyLanguage.g:1481:5: this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )?
4094 {
4095 if ( state.backtracking==0 ) {
4096
4097 newCompositeNode(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0());
4098
4099 }
4100 pushFollow(FOLLOW_23);
4101 this_ALSComparison_0=ruleALSComparison();
4102
4103 state._fsp--;
4104 if (state.failed) return current;
4105 if ( state.backtracking==0 ) {
4106
4107 current = this_ALSComparison_0;
4108 afterParserOrEnumRuleCall();
4109
4110 }
4111 // InternalAlloyLanguage.g:1489:1: ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )?
4112 int alt25=2;
4113 int LA25_0 = input.LA(1);
4114
4115 if ( ((LA25_0>=34 && LA25_0<=35)) ) {
4116 alt25=1;
4117 }
4118 switch (alt25) {
4119 case 1 :
4120 // InternalAlloyLanguage.g:1489:2: () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) )
4121 {
4122 // InternalAlloyLanguage.g:1489:2: ()
4123 // InternalAlloyLanguage.g:1490:5:
4124 {
4125 if ( state.backtracking==0 ) {
4126
4127 current = forceCreateModelElementAndSet(
4128 grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(),
4129 current);
4130
4131 }
4132
4133 }
4134
4135 // InternalAlloyLanguage.g:1495:2: (otherlv_2= '&&' | otherlv_3= 'and' )
4136 int alt24=2;
4137 int LA24_0 = input.LA(1);
4138
4139 if ( (LA24_0==34) ) {
4140 alt24=1;
4141 }
4142 else if ( (LA24_0==35) ) {
4143 alt24=2;
4144 }
4145 else {
4146 if (state.backtracking>0) {state.failed=true; return current;}
4147 NoViableAltException nvae =
4148 new NoViableAltException("", 24, 0, input);
4149
4150 throw nvae;
4151 }
4152 switch (alt24) {
4153 case 1 :
4154 // InternalAlloyLanguage.g:1495:4: otherlv_2= '&&'
4155 {
4156 otherlv_2=(Token)match(input,34,FOLLOW_12); if (state.failed) return current;
4157 if ( state.backtracking==0 ) {
4158
4159 newLeafNode(otherlv_2, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0());
4160
4161 }
4162
4163 }
4164 break;
4165 case 2 :
4166 // InternalAlloyLanguage.g:1500:7: otherlv_3= 'and'
4167 {
4168 otherlv_3=(Token)match(input,35,FOLLOW_12); if (state.failed) return current;
4169 if ( state.backtracking==0 ) {
4170
4171 newLeafNode(otherlv_3, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1());
4172
4173 }
4174
4175 }
4176 break;
4177
4178 }
4179
4180 // InternalAlloyLanguage.g:1504:2: ( (lv_rightOperand_4_0= ruleALSComparison ) )
4181 // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison )
4182 {
4183 // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison )
4184 // InternalAlloyLanguage.g:1506:3: lv_rightOperand_4_0= ruleALSComparison
4185 {
4186 if ( state.backtracking==0 ) {
4187
4188 newCompositeNode(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0());
4189
4190 }
4191 pushFollow(FOLLOW_2);
4192 lv_rightOperand_4_0=ruleALSComparison();
4193
4194 state._fsp--;
4195 if (state.failed) return current;
4196 if ( state.backtracking==0 ) {
4197
4198 if (current==null) {
4199 current = createModelElementForParent(grammarAccess.getALSAndRule());
4200 }
4201 set(
4202 current,
4203 "rightOperand",
4204 lv_rightOperand_4_0,
4205 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison");
4206 afterParserOrEnumRuleCall();
4207
4208 }
4209
4210 }
4211
4212
4213 }
4214
4215
4216 }
4217 break;
4218
4219 }
4220
4221
4222 }
4223
4224
4225 }
4226
4227 if ( state.backtracking==0 ) {
4228 leaveRule();
4229 }
4230 }
4231
4232 catch (RecognitionException re) {
4233 recover(input,re);
4234 appendSkippedTokens();
4235 }
4236 finally {
4237 }
4238 return current;
4239 }
4240 // $ANTLR end "ruleALSAnd"
4241
4242
4243 // $ANTLR start "entryRuleALSComparison"
4244 // InternalAlloyLanguage.g:1530:1: entryRuleALSComparison returns [EObject current=null] : iv_ruleALSComparison= ruleALSComparison EOF ;
4245 public final EObject entryRuleALSComparison() throws RecognitionException {
4246 EObject current = null;
4247
4248 EObject iv_ruleALSComparison = null;
4249
4250
4251 try {
4252 // InternalAlloyLanguage.g:1531:2: (iv_ruleALSComparison= ruleALSComparison EOF )
4253 // InternalAlloyLanguage.g:1532:2: iv_ruleALSComparison= ruleALSComparison EOF
4254 {
4255 if ( state.backtracking==0 ) {
4256 newCompositeNode(grammarAccess.getALSComparisonRule());
4257 }
4258 pushFollow(FOLLOW_1);
4259 iv_ruleALSComparison=ruleALSComparison();
4260
4261 state._fsp--;
4262 if (state.failed) return current;
4263 if ( state.backtracking==0 ) {
4264 current =iv_ruleALSComparison;
4265 }
4266 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4267
4268 }
4269
4270 }
4271
4272 catch (RecognitionException re) {
4273 recover(input,re);
4274 appendSkippedTokens();
4275 }
4276 finally {
4277 }
4278 return current;
4279 }
4280 // $ANTLR end "entryRuleALSComparison"
4281
4282
4283 // $ANTLR start "ruleALSComparison"
4284 // InternalAlloyLanguage.g:1539:1: ruleALSComparison returns [EObject current=null] : (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) ;
4285 public final EObject ruleALSComparison() throws RecognitionException {
4286 EObject current = null;
4287
4288 Token otherlv_2=null;
4289 Token otherlv_4=null;
4290 Token otherlv_6=null;
4291 Token otherlv_8=null;
4292 Token otherlv_10=null;
4293 Token otherlv_12=null;
4294 Token otherlv_14=null;
4295 EObject this_ALSOverride_0 = null;
4296
4297 EObject lv_rightOperand_15_0 = null;
4298
4299
4300 enterRule();
4301
4302 try {
4303 // InternalAlloyLanguage.g:1542:28: ( (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) )
4304 // InternalAlloyLanguage.g:1543:1: (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? )
4305 {
4306 // InternalAlloyLanguage.g:1543:1: (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? )
4307 // InternalAlloyLanguage.g:1544:5: this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )?
4308 {
4309 if ( state.backtracking==0 ) {
4310
4311 newCompositeNode(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0());
4312
4313 }
4314 pushFollow(FOLLOW_24);
4315 this_ALSOverride_0=ruleALSOverride();
4316
4317 state._fsp--;
4318 if (state.failed) return current;
4319 if ( state.backtracking==0 ) {
4320
4321 current = this_ALSOverride_0;
4322 afterParserOrEnumRuleCall();
4323
4324 }
4325 // InternalAlloyLanguage.g:1552:1: ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )?
4326 int alt27=2;
4327 int LA27_0 = input.LA(1);
4328
4329 if ( (LA27_0==18||(LA27_0>=36 && LA27_0<=41)) ) {
4330 alt27=1;
4331 }
4332 switch (alt27) {
4333 case 1 :
4334 // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) )
4335 {
4336 // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) )
4337 int alt26=7;
4338 switch ( input.LA(1) ) {
4339 case 36:
4340 {
4341 alt26=1;
4342 }
4343 break;
4344 case 37:
4345 {
4346 alt26=2;
4347 }
4348 break;
4349 case 18:
4350 {
4351 alt26=3;
4352 }
4353 break;
4354 case 38:
4355 {
4356 alt26=4;
4357 }
4358 break;
4359 case 39:
4360 {
4361 alt26=5;
4362 }
4363 break;
4364 case 40:
4365 {
4366 alt26=6;
4367 }
4368 break;
4369 case 41:
4370 {
4371 alt26=7;
4372 }
4373 break;
4374 default:
4375 if (state.backtracking>0) {state.failed=true; return current;}
4376 NoViableAltException nvae =
4377 new NoViableAltException("", 26, 0, input);
4378
4379 throw nvae;
4380 }
4381
4382 switch (alt26) {
4383 case 1 :
4384 // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' )
4385 {
4386 // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' )
4387 // InternalAlloyLanguage.g:1552:4: () otherlv_2= '='
4388 {
4389 // InternalAlloyLanguage.g:1552:4: ()
4390 // InternalAlloyLanguage.g:1553:5:
4391 {
4392 if ( state.backtracking==0 ) {
4393
4394 current = forceCreateModelElementAndSet(
4395 grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(),
4396 current);
4397
4398 }
4399
4400 }
4401
4402 otherlv_2=(Token)match(input,36,FOLLOW_12); if (state.failed) return current;
4403 if ( state.backtracking==0 ) {
4404
4405 newLeafNode(otherlv_2, grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1());
4406
4407 }
4408
4409 }
4410
4411
4412 }
4413 break;
4414 case 2 :
4415 // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' )
4416 {
4417 // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' )
4418 // InternalAlloyLanguage.g:1563:7: () otherlv_4= '!='
4419 {
4420 // InternalAlloyLanguage.g:1563:7: ()
4421 // InternalAlloyLanguage.g:1564:5:
4422 {
4423 if ( state.backtracking==0 ) {
4424
4425 current = forceCreateModelElementAndSet(
4426 grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(),
4427 current);
4428
4429 }
4430
4431 }
4432
4433 otherlv_4=(Token)match(input,37,FOLLOW_12); if (state.failed) return current;
4434 if ( state.backtracking==0 ) {
4435
4436 newLeafNode(otherlv_4, grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1());
4437
4438 }
4439
4440 }
4441
4442
4443 }
4444 break;
4445 case 3 :
4446 // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' )
4447 {
4448 // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' )
4449 // InternalAlloyLanguage.g:1574:7: () otherlv_6= 'in'
4450 {
4451 // InternalAlloyLanguage.g:1574:7: ()
4452 // InternalAlloyLanguage.g:1575:5:
4453 {
4454 if ( state.backtracking==0 ) {
4455
4456 current = forceCreateModelElementAndSet(
4457 grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(),
4458 current);
4459
4460 }
4461
4462 }
4463
4464 otherlv_6=(Token)match(input,18,FOLLOW_12); if (state.failed) return current;
4465 if ( state.backtracking==0 ) {
4466
4467 newLeafNode(otherlv_6, grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1());
4468
4469 }
4470
4471 }
4472
4473
4474 }
4475 break;
4476 case 4 :
4477 // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' )
4478 {
4479 // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' )
4480 // InternalAlloyLanguage.g:1585:7: () otherlv_8= '>'
4481 {
4482 // InternalAlloyLanguage.g:1585:7: ()
4483 // InternalAlloyLanguage.g:1586:5:
4484 {
4485 if ( state.backtracking==0 ) {
4486
4487 current = forceCreateModelElementAndSet(
4488 grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(),
4489 current);
4490
4491 }
4492
4493 }
4494
4495 otherlv_8=(Token)match(input,38,FOLLOW_12); if (state.failed) return current;
4496 if ( state.backtracking==0 ) {
4497
4498 newLeafNode(otherlv_8, grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1());
4499
4500 }
4501
4502 }
4503
4504
4505 }
4506 break;
4507 case 5 :
4508 // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' )
4509 {
4510 // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' )
4511 // InternalAlloyLanguage.g:1596:7: () otherlv_10= '>='
4512 {
4513 // InternalAlloyLanguage.g:1596:7: ()
4514 // InternalAlloyLanguage.g:1597:5:
4515 {
4516 if ( state.backtracking==0 ) {
4517
4518 current = forceCreateModelElementAndSet(
4519 grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(),
4520 current);
4521
4522 }
4523
4524 }
4525
4526 otherlv_10=(Token)match(input,39,FOLLOW_12); if (state.failed) return current;
4527 if ( state.backtracking==0 ) {
4528
4529 newLeafNode(otherlv_10, grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1());
4530
4531 }
4532
4533 }
4534
4535
4536 }
4537 break;
4538 case 6 :
4539 // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' )
4540 {
4541 // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' )
4542 // InternalAlloyLanguage.g:1607:7: () otherlv_12= '<'
4543 {
4544 // InternalAlloyLanguage.g:1607:7: ()
4545 // InternalAlloyLanguage.g:1608:5:
4546 {
4547 if ( state.backtracking==0 ) {
4548
4549 current = forceCreateModelElementAndSet(
4550 grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(),
4551 current);
4552
4553 }
4554
4555 }
4556
4557 otherlv_12=(Token)match(input,40,FOLLOW_12); if (state.failed) return current;
4558 if ( state.backtracking==0 ) {
4559
4560 newLeafNode(otherlv_12, grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1());
4561
4562 }
4563
4564 }
4565
4566
4567 }
4568 break;
4569 case 7 :
4570 // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' )
4571 {
4572 // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' )
4573 // InternalAlloyLanguage.g:1618:7: () otherlv_14= '<='
4574 {
4575 // InternalAlloyLanguage.g:1618:7: ()
4576 // InternalAlloyLanguage.g:1619:5:
4577 {
4578 if ( state.backtracking==0 ) {
4579
4580 current = forceCreateModelElementAndSet(
4581 grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(),
4582 current);
4583
4584 }
4585
4586 }
4587
4588 otherlv_14=(Token)match(input,41,FOLLOW_12); if (state.failed) return current;
4589 if ( state.backtracking==0 ) {
4590
4591 newLeafNode(otherlv_14, grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1());
4592
4593 }
4594
4595 }
4596
4597
4598 }
4599 break;
4600
4601 }
4602
4603 // InternalAlloyLanguage.g:1628:3: ( (lv_rightOperand_15_0= ruleALSOverride ) )
4604 // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride )
4605 {
4606 // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride )
4607 // InternalAlloyLanguage.g:1630:3: lv_rightOperand_15_0= ruleALSOverride
4608 {
4609 if ( state.backtracking==0 ) {
4610
4611 newCompositeNode(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0());
4612
4613 }
4614 pushFollow(FOLLOW_2);
4615 lv_rightOperand_15_0=ruleALSOverride();
4616
4617 state._fsp--;
4618 if (state.failed) return current;
4619 if ( state.backtracking==0 ) {
4620
4621 if (current==null) {
4622 current = createModelElementForParent(grammarAccess.getALSComparisonRule());
4623 }
4624 set(
4625 current,
4626 "rightOperand",
4627 lv_rightOperand_15_0,
4628 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride");
4629 afterParserOrEnumRuleCall();
4630
4631 }
4632
4633 }
4634
4635
4636 }
4637
4638
4639 }
4640 break;
4641
4642 }
4643
4644
4645 }
4646
4647
4648 }
4649
4650 if ( state.backtracking==0 ) {
4651 leaveRule();
4652 }
4653 }
4654
4655 catch (RecognitionException re) {
4656 recover(input,re);
4657 appendSkippedTokens();
4658 }
4659 finally {
4660 }
4661 return current;
4662 }
4663 // $ANTLR end "ruleALSComparison"
4664
4665
4666 // $ANTLR start "entryRuleALSOverride"
4667 // InternalAlloyLanguage.g:1654:1: entryRuleALSOverride returns [EObject current=null] : iv_ruleALSOverride= ruleALSOverride EOF ;
4668 public final EObject entryRuleALSOverride() throws RecognitionException {
4669 EObject current = null;
4670
4671 EObject iv_ruleALSOverride = null;
4672
4673
4674 try {
4675 // InternalAlloyLanguage.g:1655:2: (iv_ruleALSOverride= ruleALSOverride EOF )
4676 // InternalAlloyLanguage.g:1656:2: iv_ruleALSOverride= ruleALSOverride EOF
4677 {
4678 if ( state.backtracking==0 ) {
4679 newCompositeNode(grammarAccess.getALSOverrideRule());
4680 }
4681 pushFollow(FOLLOW_1);
4682 iv_ruleALSOverride=ruleALSOverride();
4683
4684 state._fsp--;
4685 if (state.failed) return current;
4686 if ( state.backtracking==0 ) {
4687 current =iv_ruleALSOverride;
4688 }
4689 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4690
4691 }
4692
4693 }
4694
4695 catch (RecognitionException re) {
4696 recover(input,re);
4697 appendSkippedTokens();
4698 }
4699 finally {
4700 }
4701 return current;
4702 }
4703 // $ANTLR end "entryRuleALSOverride"
4704
4705
4706 // $ANTLR start "ruleALSOverride"
4707 // InternalAlloyLanguage.g:1663:1: ruleALSOverride returns [EObject current=null] : (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) ;
4708 public final EObject ruleALSOverride() throws RecognitionException {
4709 EObject current = null;
4710
4711 Token otherlv_2=null;
4712 EObject this_ALSRangeRestrictionRight_0 = null;
4713
4714 EObject lv_rightOperand_3_0 = null;
4715
4716
4717 enterRule();
4718
4719 try {
4720 // InternalAlloyLanguage.g:1666:28: ( (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) )
4721 // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? )
4722 {
4723 // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? )
4724 // InternalAlloyLanguage.g:1668:5: this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )?
4725 {
4726 if ( state.backtracking==0 ) {
4727
4728 newCompositeNode(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0());
4729
4730 }
4731 pushFollow(FOLLOW_25);
4732 this_ALSRangeRestrictionRight_0=ruleALSRangeRestrictionRight();
4733
4734 state._fsp--;
4735 if (state.failed) return current;
4736 if ( state.backtracking==0 ) {
4737
4738 current = this_ALSRangeRestrictionRight_0;
4739 afterParserOrEnumRuleCall();
4740
4741 }
4742 // InternalAlloyLanguage.g:1676:1: ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )?
4743 int alt28=2;
4744 int LA28_0 = input.LA(1);
4745
4746 if ( (LA28_0==42) ) {
4747 alt28=1;
4748 }
4749 switch (alt28) {
4750 case 1 :
4751 // InternalAlloyLanguage.g:1676:2: () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) )
4752 {
4753 // InternalAlloyLanguage.g:1676:2: ()
4754 // InternalAlloyLanguage.g:1677:5:
4755 {
4756 if ( state.backtracking==0 ) {
4757
4758 current = forceCreateModelElementAndSet(
4759 grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(),
4760 current);
4761
4762 }
4763
4764 }
4765
4766 otherlv_2=(Token)match(input,42,FOLLOW_12); if (state.failed) return current;
4767 if ( state.backtracking==0 ) {
4768
4769 newLeafNode(otherlv_2, grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1());
4770
4771 }
4772 // InternalAlloyLanguage.g:1686:1: ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) )
4773 // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight )
4774 {
4775 // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight )
4776 // InternalAlloyLanguage.g:1688:3: lv_rightOperand_3_0= ruleALSRangeRestrictionRight
4777 {
4778 if ( state.backtracking==0 ) {
4779
4780 newCompositeNode(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0());
4781
4782 }
4783 pushFollow(FOLLOW_2);
4784 lv_rightOperand_3_0=ruleALSRangeRestrictionRight();
4785
4786 state._fsp--;
4787 if (state.failed) return current;
4788 if ( state.backtracking==0 ) {
4789
4790 if (current==null) {
4791 current = createModelElementForParent(grammarAccess.getALSOverrideRule());
4792 }
4793 set(
4794 current,
4795 "rightOperand",
4796 lv_rightOperand_3_0,
4797 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight");
4798 afterParserOrEnumRuleCall();
4799
4800 }
4801
4802 }
4803
4804
4805 }
4806
4807
4808 }
4809 break;
4810
4811 }
4812
4813
4814 }
4815
4816
4817 }
4818
4819 if ( state.backtracking==0 ) {
4820 leaveRule();
4821 }
4822 }
4823
4824 catch (RecognitionException re) {
4825 recover(input,re);
4826 appendSkippedTokens();
4827 }
4828 finally {
4829 }
4830 return current;
4831 }
4832 // $ANTLR end "ruleALSOverride"
4833
4834
4835 // $ANTLR start "entryRuleALSRangeRestrictionRight"
4836 // InternalAlloyLanguage.g:1712:1: entryRuleALSRangeRestrictionRight returns [EObject current=null] : iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF ;
4837 public final EObject entryRuleALSRangeRestrictionRight() throws RecognitionException {
4838 EObject current = null;
4839
4840 EObject iv_ruleALSRangeRestrictionRight = null;
4841
4842
4843 try {
4844 // InternalAlloyLanguage.g:1713:2: (iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF )
4845 // InternalAlloyLanguage.g:1714:2: iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF
4846 {
4847 if ( state.backtracking==0 ) {
4848 newCompositeNode(grammarAccess.getALSRangeRestrictionRightRule());
4849 }
4850 pushFollow(FOLLOW_1);
4851 iv_ruleALSRangeRestrictionRight=ruleALSRangeRestrictionRight();
4852
4853 state._fsp--;
4854 if (state.failed) return current;
4855 if ( state.backtracking==0 ) {
4856 current =iv_ruleALSRangeRestrictionRight;
4857 }
4858 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4859
4860 }
4861
4862 }
4863
4864 catch (RecognitionException re) {
4865 recover(input,re);
4866 appendSkippedTokens();
4867 }
4868 finally {
4869 }
4870 return current;
4871 }
4872 // $ANTLR end "entryRuleALSRangeRestrictionRight"
4873
4874
4875 // $ANTLR start "ruleALSRangeRestrictionRight"
4876 // InternalAlloyLanguage.g:1721:1: ruleALSRangeRestrictionRight returns [EObject current=null] : (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) ;
4877 public final EObject ruleALSRangeRestrictionRight() throws RecognitionException {
4878 EObject current = null;
4879
4880 Token otherlv_2=null;
4881 EObject this_ALSRangeRestrictionLeft_0 = null;
4882
4883 EObject lv_filter_3_0 = null;
4884
4885
4886 enterRule();
4887
4888 try {
4889 // InternalAlloyLanguage.g:1724:28: ( (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) )
4890 // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? )
4891 {
4892 // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? )
4893 // InternalAlloyLanguage.g:1726:5: this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )?
4894 {
4895 if ( state.backtracking==0 ) {
4896
4897 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0());
4898
4899 }
4900 pushFollow(FOLLOW_26);
4901 this_ALSRangeRestrictionLeft_0=ruleALSRangeRestrictionLeft();
4902
4903 state._fsp--;
4904 if (state.failed) return current;
4905 if ( state.backtracking==0 ) {
4906
4907 current = this_ALSRangeRestrictionLeft_0;
4908 afterParserOrEnumRuleCall();
4909
4910 }
4911 // InternalAlloyLanguage.g:1734:1: ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )?
4912 int alt29=2;
4913 int LA29_0 = input.LA(1);
4914
4915 if ( (LA29_0==43) ) {
4916 alt29=1;
4917 }
4918 switch (alt29) {
4919 case 1 :
4920 // InternalAlloyLanguage.g:1734:2: () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) )
4921 {
4922 // InternalAlloyLanguage.g:1734:2: ()
4923 // InternalAlloyLanguage.g:1735:5:
4924 {
4925 if ( state.backtracking==0 ) {
4926
4927 current = forceCreateModelElementAndSet(
4928 grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(),
4929 current);
4930
4931 }
4932
4933 }
4934
4935 otherlv_2=(Token)match(input,43,FOLLOW_12); if (state.failed) return current;
4936 if ( state.backtracking==0 ) {
4937
4938 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1());
4939
4940 }
4941 // InternalAlloyLanguage.g:1744:1: ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) )
4942 // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft )
4943 {
4944 // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft )
4945 // InternalAlloyLanguage.g:1746:3: lv_filter_3_0= ruleALSRangeRestrictionLeft
4946 {
4947 if ( state.backtracking==0 ) {
4948
4949 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0());
4950
4951 }
4952 pushFollow(FOLLOW_2);
4953 lv_filter_3_0=ruleALSRangeRestrictionLeft();
4954
4955 state._fsp--;
4956 if (state.failed) return current;
4957 if ( state.backtracking==0 ) {
4958
4959 if (current==null) {
4960 current = createModelElementForParent(grammarAccess.getALSRangeRestrictionRightRule());
4961 }
4962 set(
4963 current,
4964 "filter",
4965 lv_filter_3_0,
4966 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft");
4967 afterParserOrEnumRuleCall();
4968
4969 }
4970
4971 }
4972
4973
4974 }
4975
4976
4977 }
4978 break;
4979
4980 }
4981
4982
4983 }
4984
4985
4986 }
4987
4988 if ( state.backtracking==0 ) {
4989 leaveRule();
4990 }
4991 }
4992
4993 catch (RecognitionException re) {
4994 recover(input,re);
4995 appendSkippedTokens();
4996 }
4997 finally {
4998 }
4999 return current;
5000 }
5001 // $ANTLR end "ruleALSRangeRestrictionRight"
5002
5003
5004 // $ANTLR start "entryRuleALSRangeRestrictionLeft"
5005 // InternalAlloyLanguage.g:1770:1: entryRuleALSRangeRestrictionLeft returns [EObject current=null] : iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF ;
5006 public final EObject entryRuleALSRangeRestrictionLeft() throws RecognitionException {
5007 EObject current = null;
5008
5009 EObject iv_ruleALSRangeRestrictionLeft = null;
5010
5011
5012 try {
5013 // InternalAlloyLanguage.g:1771:2: (iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF )
5014 // InternalAlloyLanguage.g:1772:2: iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF
5015 {
5016 if ( state.backtracking==0 ) {
5017 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftRule());
5018 }
5019 pushFollow(FOLLOW_1);
5020 iv_ruleALSRangeRestrictionLeft=ruleALSRangeRestrictionLeft();
5021
5022 state._fsp--;
5023 if (state.failed) return current;
5024 if ( state.backtracking==0 ) {
5025 current =iv_ruleALSRangeRestrictionLeft;
5026 }
5027 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5028
5029 }
5030
5031 }
5032
5033 catch (RecognitionException re) {
5034 recover(input,re);
5035 appendSkippedTokens();
5036 }
5037 finally {
5038 }
5039 return current;
5040 }
5041 // $ANTLR end "entryRuleALSRangeRestrictionLeft"
5042
5043
5044 // $ANTLR start "ruleALSRangeRestrictionLeft"
5045 // InternalAlloyLanguage.g:1779:1: ruleALSRangeRestrictionLeft returns [EObject current=null] : (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) ;
5046 public final EObject ruleALSRangeRestrictionLeft() throws RecognitionException {
5047 EObject current = null;
5048
5049 Token otherlv_2=null;
5050 EObject this_ALSJoin_0 = null;
5051
5052 EObject lv_relation_3_0 = null;
5053
5054
5055 enterRule();
5056
5057 try {
5058 // InternalAlloyLanguage.g:1782:28: ( (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) )
5059 // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? )
5060 {
5061 // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? )
5062 // InternalAlloyLanguage.g:1784:5: this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )?
5063 {
5064 if ( state.backtracking==0 ) {
5065
5066 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0());
5067
5068 }
5069 pushFollow(FOLLOW_27);
5070 this_ALSJoin_0=ruleALSJoin();
5071
5072 state._fsp--;
5073 if (state.failed) return current;
5074 if ( state.backtracking==0 ) {
5075
5076 current = this_ALSJoin_0;
5077 afterParserOrEnumRuleCall();
5078
5079 }
5080 // InternalAlloyLanguage.g:1792:1: ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )?
5081 int alt30=2;
5082 int LA30_0 = input.LA(1);
5083
5084 if ( (LA30_0==44) ) {
5085 alt30=1;
5086 }
5087 switch (alt30) {
5088 case 1 :
5089 // InternalAlloyLanguage.g:1792:2: () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) )
5090 {
5091 // InternalAlloyLanguage.g:1792:2: ()
5092 // InternalAlloyLanguage.g:1793:5:
5093 {
5094 if ( state.backtracking==0 ) {
5095
5096 current = forceCreateModelElementAndSet(
5097 grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(),
5098 current);
5099
5100 }
5101
5102 }
5103
5104 otherlv_2=(Token)match(input,44,FOLLOW_12); if (state.failed) return current;
5105 if ( state.backtracking==0 ) {
5106
5107 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1());
5108
5109 }
5110 // InternalAlloyLanguage.g:1802:1: ( (lv_relation_3_0= ruleALSJoin ) )
5111 // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin )
5112 {
5113 // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin )
5114 // InternalAlloyLanguage.g:1804:3: lv_relation_3_0= ruleALSJoin
5115 {
5116 if ( state.backtracking==0 ) {
5117
5118 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0());
5119
5120 }
5121 pushFollow(FOLLOW_2);
5122 lv_relation_3_0=ruleALSJoin();
5123
5124 state._fsp--;
5125 if (state.failed) return current;
5126 if ( state.backtracking==0 ) {
5127
5128 if (current==null) {
5129 current = createModelElementForParent(grammarAccess.getALSRangeRestrictionLeftRule());
5130 }
5131 set(
5132 current,
5133 "relation",
5134 lv_relation_3_0,
5135 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin");
5136 afterParserOrEnumRuleCall();
5137
5138 }
5139
5140 }
5141
5142
5143 }
5144
5145
5146 }
5147 break;
5148
5149 }
5150
5151
5152 }
5153
5154
5155 }
5156
5157 if ( state.backtracking==0 ) {
5158 leaveRule();
5159 }
5160 }
5161
5162 catch (RecognitionException re) {
5163 recover(input,re);
5164 appendSkippedTokens();
5165 }
5166 finally {
5167 }
5168 return current;
5169 }
5170 // $ANTLR end "ruleALSRangeRestrictionLeft"
5171
5172
5173 // $ANTLR start "entryRuleALSJoin"
5174 // InternalAlloyLanguage.g:1828:1: entryRuleALSJoin returns [EObject current=null] : iv_ruleALSJoin= ruleALSJoin EOF ;
5175 public final EObject entryRuleALSJoin() throws RecognitionException {
5176 EObject current = null;
5177
5178 EObject iv_ruleALSJoin = null;
5179
5180
5181 try {
5182 // InternalAlloyLanguage.g:1829:2: (iv_ruleALSJoin= ruleALSJoin EOF )
5183 // InternalAlloyLanguage.g:1830:2: iv_ruleALSJoin= ruleALSJoin EOF
5184 {
5185 if ( state.backtracking==0 ) {
5186 newCompositeNode(grammarAccess.getALSJoinRule());
5187 }
5188 pushFollow(FOLLOW_1);
5189 iv_ruleALSJoin=ruleALSJoin();
5190
5191 state._fsp--;
5192 if (state.failed) return current;
5193 if ( state.backtracking==0 ) {
5194 current =iv_ruleALSJoin;
5195 }
5196 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5197
5198 }
5199
5200 }
5201
5202 catch (RecognitionException re) {
5203 recover(input,re);
5204 appendSkippedTokens();
5205 }
5206 finally {
5207 }
5208 return current;
5209 }
5210 // $ANTLR end "entryRuleALSJoin"
5211
5212
5213 // $ANTLR start "ruleALSJoin"
5214 // InternalAlloyLanguage.g:1837:1: ruleALSJoin returns [EObject current=null] : (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) ;
5215 public final EObject ruleALSJoin() throws RecognitionException {
5216 EObject current = null;
5217
5218 Token otherlv_2=null;
5219 EObject this_ALSMinus_0 = null;
5220
5221 EObject lv_rightOperand_3_0 = null;
5222
5223
5224 enterRule();
5225
5226 try {
5227 // InternalAlloyLanguage.g:1840:28: ( (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) )
5228 // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* )
5229 {
5230 // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* )
5231 // InternalAlloyLanguage.g:1842:5: this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )*
5232 {
5233 if ( state.backtracking==0 ) {
5234
5235 newCompositeNode(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0());
5236
5237 }
5238 pushFollow(FOLLOW_28);
5239 this_ALSMinus_0=ruleALSMinus();
5240
5241 state._fsp--;
5242 if (state.failed) return current;
5243 if ( state.backtracking==0 ) {
5244
5245 current = this_ALSMinus_0;
5246 afterParserOrEnumRuleCall();
5247
5248 }
5249 // InternalAlloyLanguage.g:1850:1: ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )*
5250 loop31:
5251 do {
5252 int alt31=2;
5253 int LA31_0 = input.LA(1);
5254
5255 if ( (LA31_0==45) ) {
5256 alt31=1;
5257 }
5258
5259
5260 switch (alt31) {
5261 case 1 :
5262 // InternalAlloyLanguage.g:1850:2: () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) )
5263 {
5264 // InternalAlloyLanguage.g:1850:2: ()
5265 // InternalAlloyLanguage.g:1851:5:
5266 {
5267 if ( state.backtracking==0 ) {
5268
5269 current = forceCreateModelElementAndSet(
5270 grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(),
5271 current);
5272
5273 }
5274
5275 }
5276
5277 otherlv_2=(Token)match(input,45,FOLLOW_12); if (state.failed) return current;
5278 if ( state.backtracking==0 ) {
5279
5280 newLeafNode(otherlv_2, grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1());
5281
5282 }
5283 // InternalAlloyLanguage.g:1860:1: ( (lv_rightOperand_3_0= ruleALSMinus ) )
5284 // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus )
5285 {
5286 // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus )
5287 // InternalAlloyLanguage.g:1862:3: lv_rightOperand_3_0= ruleALSMinus
5288 {
5289 if ( state.backtracking==0 ) {
5290
5291 newCompositeNode(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0());
5292
5293 }
5294 pushFollow(FOLLOW_28);
5295 lv_rightOperand_3_0=ruleALSMinus();
5296
5297 state._fsp--;
5298 if (state.failed) return current;
5299 if ( state.backtracking==0 ) {
5300
5301 if (current==null) {
5302 current = createModelElementForParent(grammarAccess.getALSJoinRule());
5303 }
5304 set(
5305 current,
5306 "rightOperand",
5307 lv_rightOperand_3_0,
5308 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus");
5309 afterParserOrEnumRuleCall();
5310
5311 }
5312
5313 }
5314
5315
5316 }
5317
5318
5319 }
5320 break;
5321
5322 default :
5323 break loop31;
5324 }
5325 } while (true);
5326
5327
5328 }
5329
5330
5331 }
5332
5333 if ( state.backtracking==0 ) {
5334 leaveRule();
5335 }
5336 }
5337
5338 catch (RecognitionException re) {
5339 recover(input,re);
5340 appendSkippedTokens();
5341 }
5342 finally {
5343 }
5344 return current;
5345 }
5346 // $ANTLR end "ruleALSJoin"
5347
5348
5349 // $ANTLR start "entryRuleALSMinus"
5350 // InternalAlloyLanguage.g:1886:1: entryRuleALSMinus returns [EObject current=null] : iv_ruleALSMinus= ruleALSMinus EOF ;
5351 public final EObject entryRuleALSMinus() throws RecognitionException {
5352 EObject current = null;
5353
5354 EObject iv_ruleALSMinus = null;
5355
5356
5357 try {
5358 // InternalAlloyLanguage.g:1887:2: (iv_ruleALSMinus= ruleALSMinus EOF )
5359 // InternalAlloyLanguage.g:1888:2: iv_ruleALSMinus= ruleALSMinus EOF
5360 {
5361 if ( state.backtracking==0 ) {
5362 newCompositeNode(grammarAccess.getALSMinusRule());
5363 }
5364 pushFollow(FOLLOW_1);
5365 iv_ruleALSMinus=ruleALSMinus();
5366
5367 state._fsp--;
5368 if (state.failed) return current;
5369 if ( state.backtracking==0 ) {
5370 current =iv_ruleALSMinus;
5371 }
5372 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5373
5374 }
5375
5376 }
5377
5378 catch (RecognitionException re) {
5379 recover(input,re);
5380 appendSkippedTokens();
5381 }
5382 finally {
5383 }
5384 return current;
5385 }
5386 // $ANTLR end "entryRuleALSMinus"
5387
5388
5389 // $ANTLR start "ruleALSMinus"
5390 // InternalAlloyLanguage.g:1895:1: ruleALSMinus returns [EObject current=null] : (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) ;
5391 public final EObject ruleALSMinus() throws RecognitionException {
5392 EObject current = null;
5393
5394 Token otherlv_2=null;
5395 EObject this_ALSPlus_0 = null;
5396
5397 EObject lv_rightOperand_3_0 = null;
5398
5399
5400 enterRule();
5401
5402 try {
5403 // InternalAlloyLanguage.g:1898:28: ( (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) )
5404 // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* )
5405 {
5406 // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* )
5407 // InternalAlloyLanguage.g:1900:5: this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )*
5408 {
5409 if ( state.backtracking==0 ) {
5410
5411 newCompositeNode(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0());
5412
5413 }
5414 pushFollow(FOLLOW_29);
5415 this_ALSPlus_0=ruleALSPlus();
5416
5417 state._fsp--;
5418 if (state.failed) return current;
5419 if ( state.backtracking==0 ) {
5420
5421 current = this_ALSPlus_0;
5422 afterParserOrEnumRuleCall();
5423
5424 }
5425 // InternalAlloyLanguage.g:1908:1: ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )*
5426 loop32:
5427 do {
5428 int alt32=2;
5429 int LA32_0 = input.LA(1);
5430
5431 if ( (LA32_0==46) ) {
5432 alt32=1;
5433 }
5434
5435
5436 switch (alt32) {
5437 case 1 :
5438 // InternalAlloyLanguage.g:1908:2: () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) )
5439 {
5440 // InternalAlloyLanguage.g:1908:2: ()
5441 // InternalAlloyLanguage.g:1909:5:
5442 {
5443 if ( state.backtracking==0 ) {
5444
5445 current = forceCreateModelElementAndSet(
5446 grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(),
5447 current);
5448
5449 }
5450
5451 }
5452
5453 otherlv_2=(Token)match(input,46,FOLLOW_12); if (state.failed) return current;
5454 if ( state.backtracking==0 ) {
5455
5456 newLeafNode(otherlv_2, grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1());
5457
5458 }
5459 // InternalAlloyLanguage.g:1918:1: ( (lv_rightOperand_3_0= ruleALSPlus ) )
5460 // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus )
5461 {
5462 // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus )
5463 // InternalAlloyLanguage.g:1920:3: lv_rightOperand_3_0= ruleALSPlus
5464 {
5465 if ( state.backtracking==0 ) {
5466
5467 newCompositeNode(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0());
5468
5469 }
5470 pushFollow(FOLLOW_29);
5471 lv_rightOperand_3_0=ruleALSPlus();
5472
5473 state._fsp--;
5474 if (state.failed) return current;
5475 if ( state.backtracking==0 ) {
5476
5477 if (current==null) {
5478 current = createModelElementForParent(grammarAccess.getALSMinusRule());
5479 }
5480 set(
5481 current,
5482 "rightOperand",
5483 lv_rightOperand_3_0,
5484 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus");
5485 afterParserOrEnumRuleCall();
5486
5487 }
5488
5489 }
5490
5491
5492 }
5493
5494
5495 }
5496 break;
5497
5498 default :
5499 break loop32;
5500 }
5501 } while (true);
5502
5503
5504 }
5505
5506
5507 }
5508
5509 if ( state.backtracking==0 ) {
5510 leaveRule();
5511 }
5512 }
5513
5514 catch (RecognitionException re) {
5515 recover(input,re);
5516 appendSkippedTokens();
5517 }
5518 finally {
5519 }
5520 return current;
5521 }
5522 // $ANTLR end "ruleALSMinus"
5523
5524
5525 // $ANTLR start "entryRuleALSPlus"
5526 // InternalAlloyLanguage.g:1944:1: entryRuleALSPlus returns [EObject current=null] : iv_ruleALSPlus= ruleALSPlus EOF ;
5527 public final EObject entryRuleALSPlus() throws RecognitionException {
5528 EObject current = null;
5529
5530 EObject iv_ruleALSPlus = null;
5531
5532
5533 try {
5534 // InternalAlloyLanguage.g:1945:2: (iv_ruleALSPlus= ruleALSPlus EOF )
5535 // InternalAlloyLanguage.g:1946:2: iv_ruleALSPlus= ruleALSPlus EOF
5536 {
5537 if ( state.backtracking==0 ) {
5538 newCompositeNode(grammarAccess.getALSPlusRule());
5539 }
5540 pushFollow(FOLLOW_1);
5541 iv_ruleALSPlus=ruleALSPlus();
5542
5543 state._fsp--;
5544 if (state.failed) return current;
5545 if ( state.backtracking==0 ) {
5546 current =iv_ruleALSPlus;
5547 }
5548 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5549
5550 }
5551
5552 }
5553
5554 catch (RecognitionException re) {
5555 recover(input,re);
5556 appendSkippedTokens();
5557 }
5558 finally {
5559 }
5560 return current;
5561 }
5562 // $ANTLR end "entryRuleALSPlus"
5563
5564
5565 // $ANTLR start "ruleALSPlus"
5566 // InternalAlloyLanguage.g:1953:1: ruleALSPlus returns [EObject current=null] : (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) ;
5567 public final EObject ruleALSPlus() throws RecognitionException {
5568 EObject current = null;
5569
5570 Token otherlv_2=null;
5571 EObject this_ALSIntersection_0 = null;
5572
5573 EObject lv_rightOperand_3_0 = null;
5574
5575
5576 enterRule();
5577
5578 try {
5579 // InternalAlloyLanguage.g:1956:28: ( (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) )
5580 // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* )
5581 {
5582 // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* )
5583 // InternalAlloyLanguage.g:1958:5: this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )*
5584 {
5585 if ( state.backtracking==0 ) {
5586
5587 newCompositeNode(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0());
5588
5589 }
5590 pushFollow(FOLLOW_30);
5591 this_ALSIntersection_0=ruleALSIntersection();
5592
5593 state._fsp--;
5594 if (state.failed) return current;
5595 if ( state.backtracking==0 ) {
5596
5597 current = this_ALSIntersection_0;
5598 afterParserOrEnumRuleCall();
5599
5600 }
5601 // InternalAlloyLanguage.g:1966:1: ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )*
5602 loop33:
5603 do {
5604 int alt33=2;
5605 int LA33_0 = input.LA(1);
5606
5607 if ( (LA33_0==19) ) {
5608 alt33=1;
5609 }
5610
5611
5612 switch (alt33) {
5613 case 1 :
5614 // InternalAlloyLanguage.g:1966:2: () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) )
5615 {
5616 // InternalAlloyLanguage.g:1966:2: ()
5617 // InternalAlloyLanguage.g:1967:5:
5618 {
5619 if ( state.backtracking==0 ) {
5620
5621 current = forceCreateModelElementAndSet(
5622 grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(),
5623 current);
5624
5625 }
5626
5627 }
5628
5629 otherlv_2=(Token)match(input,19,FOLLOW_12); if (state.failed) return current;
5630 if ( state.backtracking==0 ) {
5631
5632 newLeafNode(otherlv_2, grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1());
5633
5634 }
5635 // InternalAlloyLanguage.g:1976:1: ( (lv_rightOperand_3_0= ruleALSIntersection ) )
5636 // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection )
5637 {
5638 // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection )
5639 // InternalAlloyLanguage.g:1978:3: lv_rightOperand_3_0= ruleALSIntersection
5640 {
5641 if ( state.backtracking==0 ) {
5642
5643 newCompositeNode(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0());
5644
5645 }
5646 pushFollow(FOLLOW_30);
5647 lv_rightOperand_3_0=ruleALSIntersection();
5648
5649 state._fsp--;
5650 if (state.failed) return current;
5651 if ( state.backtracking==0 ) {
5652
5653 if (current==null) {
5654 current = createModelElementForParent(grammarAccess.getALSPlusRule());
5655 }
5656 set(
5657 current,
5658 "rightOperand",
5659 lv_rightOperand_3_0,
5660 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection");
5661 afterParserOrEnumRuleCall();
5662
5663 }
5664
5665 }
5666
5667
5668 }
5669
5670
5671 }
5672 break;
5673
5674 default :
5675 break loop33;
5676 }
5677 } while (true);
5678
5679
5680 }
5681
5682
5683 }
5684
5685 if ( state.backtracking==0 ) {
5686 leaveRule();
5687 }
5688 }
5689
5690 catch (RecognitionException re) {
5691 recover(input,re);
5692 appendSkippedTokens();
5693 }
5694 finally {
5695 }
5696 return current;
5697 }
5698 // $ANTLR end "ruleALSPlus"
5699
5700
5701 // $ANTLR start "entryRuleALSIntersection"
5702 // InternalAlloyLanguage.g:2002:1: entryRuleALSIntersection returns [EObject current=null] : iv_ruleALSIntersection= ruleALSIntersection EOF ;
5703 public final EObject entryRuleALSIntersection() throws RecognitionException {
5704 EObject current = null;
5705
5706 EObject iv_ruleALSIntersection = null;
5707
5708
5709 try {
5710 // InternalAlloyLanguage.g:2003:2: (iv_ruleALSIntersection= ruleALSIntersection EOF )
5711 // InternalAlloyLanguage.g:2004:2: iv_ruleALSIntersection= ruleALSIntersection EOF
5712 {
5713 if ( state.backtracking==0 ) {
5714 newCompositeNode(grammarAccess.getALSIntersectionRule());
5715 }
5716 pushFollow(FOLLOW_1);
5717 iv_ruleALSIntersection=ruleALSIntersection();
5718
5719 state._fsp--;
5720 if (state.failed) return current;
5721 if ( state.backtracking==0 ) {
5722 current =iv_ruleALSIntersection;
5723 }
5724 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5725
5726 }
5727
5728 }
5729
5730 catch (RecognitionException re) {
5731 recover(input,re);
5732 appendSkippedTokens();
5733 }
5734 finally {
5735 }
5736 return current;
5737 }
5738 // $ANTLR end "entryRuleALSIntersection"
5739
5740
5741 // $ANTLR start "ruleALSIntersection"
5742 // InternalAlloyLanguage.g:2011:1: ruleALSIntersection returns [EObject current=null] : (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) ;
5743 public final EObject ruleALSIntersection() throws RecognitionException {
5744 EObject current = null;
5745
5746 Token otherlv_2=null;
5747 EObject this_ALSDirectProduct_0 = null;
5748
5749 EObject lv_rightOperand_3_0 = null;
5750
5751
5752 enterRule();
5753
5754 try {
5755 // InternalAlloyLanguage.g:2014:28: ( (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) )
5756 // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* )
5757 {
5758 // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* )
5759 // InternalAlloyLanguage.g:2016:5: this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )*
5760 {
5761 if ( state.backtracking==0 ) {
5762
5763 newCompositeNode(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0());
5764
5765 }
5766 pushFollow(FOLLOW_31);
5767 this_ALSDirectProduct_0=ruleALSDirectProduct();
5768
5769 state._fsp--;
5770 if (state.failed) return current;
5771 if ( state.backtracking==0 ) {
5772
5773 current = this_ALSDirectProduct_0;
5774 afterParserOrEnumRuleCall();
5775
5776 }
5777 // InternalAlloyLanguage.g:2024:1: ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )*
5778 loop34:
5779 do {
5780 int alt34=2;
5781 int LA34_0 = input.LA(1);
5782
5783 if ( (LA34_0==47) ) {
5784 alt34=1;
5785 }
5786
5787
5788 switch (alt34) {
5789 case 1 :
5790 // InternalAlloyLanguage.g:2024:2: () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) )
5791 {
5792 // InternalAlloyLanguage.g:2024:2: ()
5793 // InternalAlloyLanguage.g:2025:5:
5794 {
5795 if ( state.backtracking==0 ) {
5796
5797 current = forceCreateModelElementAndSet(
5798 grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(),
5799 current);
5800
5801 }
5802
5803 }
5804
5805 otherlv_2=(Token)match(input,47,FOLLOW_12); if (state.failed) return current;
5806 if ( state.backtracking==0 ) {
5807
5808 newLeafNode(otherlv_2, grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1());
5809
5810 }
5811 // InternalAlloyLanguage.g:2034:1: ( (lv_rightOperand_3_0= ruleALSDirectProduct ) )
5812 // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct )
5813 {
5814 // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct )
5815 // InternalAlloyLanguage.g:2036:3: lv_rightOperand_3_0= ruleALSDirectProduct
5816 {
5817 if ( state.backtracking==0 ) {
5818
5819 newCompositeNode(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0());
5820
5821 }
5822 pushFollow(FOLLOW_31);
5823 lv_rightOperand_3_0=ruleALSDirectProduct();
5824
5825 state._fsp--;
5826 if (state.failed) return current;
5827 if ( state.backtracking==0 ) {
5828
5829 if (current==null) {
5830 current = createModelElementForParent(grammarAccess.getALSIntersectionRule());
5831 }
5832 set(
5833 current,
5834 "rightOperand",
5835 lv_rightOperand_3_0,
5836 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct");
5837 afterParserOrEnumRuleCall();
5838
5839 }
5840
5841 }
5842
5843
5844 }
5845
5846
5847 }
5848 break;
5849
5850 default :
5851 break loop34;
5852 }
5853 } while (true);
5854
5855
5856 }
5857
5858
5859 }
5860
5861 if ( state.backtracking==0 ) {
5862 leaveRule();
5863 }
5864 }
5865
5866 catch (RecognitionException re) {
5867 recover(input,re);
5868 appendSkippedTokens();
5869 }
5870 finally {
5871 }
5872 return current;
5873 }
5874 // $ANTLR end "ruleALSIntersection"
5875
5876
5877 // $ANTLR start "entryRuleALSDirectProduct"
5878 // InternalAlloyLanguage.g:2060:1: entryRuleALSDirectProduct returns [EObject current=null] : iv_ruleALSDirectProduct= ruleALSDirectProduct EOF ;
5879 public final EObject entryRuleALSDirectProduct() throws RecognitionException {
5880 EObject current = null;
5881
5882 EObject iv_ruleALSDirectProduct = null;
5883
5884
5885 try {
5886 // InternalAlloyLanguage.g:2061:2: (iv_ruleALSDirectProduct= ruleALSDirectProduct EOF )
5887 // InternalAlloyLanguage.g:2062:2: iv_ruleALSDirectProduct= ruleALSDirectProduct EOF
5888 {
5889 if ( state.backtracking==0 ) {
5890 newCompositeNode(grammarAccess.getALSDirectProductRule());
5891 }
5892 pushFollow(FOLLOW_1);
5893 iv_ruleALSDirectProduct=ruleALSDirectProduct();
5894
5895 state._fsp--;
5896 if (state.failed) return current;
5897 if ( state.backtracking==0 ) {
5898 current =iv_ruleALSDirectProduct;
5899 }
5900 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5901
5902 }
5903
5904 }
5905
5906 catch (RecognitionException re) {
5907 recover(input,re);
5908 appendSkippedTokens();
5909 }
5910 finally {
5911 }
5912 return current;
5913 }
5914 // $ANTLR end "entryRuleALSDirectProduct"
5915
5916
5917 // $ANTLR start "ruleALSDirectProduct"
5918 // InternalAlloyLanguage.g:2069:1: ruleALSDirectProduct returns [EObject current=null] : (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) ;
5919 public final EObject ruleALSDirectProduct() throws RecognitionException {
5920 EObject current = null;
5921
5922 Token otherlv_3=null;
5923 EObject this_ALSPreficed_0 = null;
5924
5925 Enumerator lv_leftMultiplicit_2_0 = null;
5926
5927 Enumerator lv_rightMultiplicit_4_0 = null;
5928
5929 EObject lv_rightOperand_5_0 = null;
5930
5931
5932 enterRule();
5933
5934 try {
5935 // InternalAlloyLanguage.g:2072:28: ( (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) )
5936 // InternalAlloyLanguage.g:2073:1: (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? )
5937 {
5938 // InternalAlloyLanguage.g:2073:1: (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? )
5939 // InternalAlloyLanguage.g:2074:5: this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )?
5940 {
5941 if ( state.backtracking==0 ) {
5942
5943 newCompositeNode(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0());
5944
5945 }
5946 pushFollow(FOLLOW_32);
5947 this_ALSPreficed_0=ruleALSPreficed();
5948
5949 state._fsp--;
5950 if (state.failed) return current;
5951 if ( state.backtracking==0 ) {
5952
5953 current = this_ALSPreficed_0;
5954 afterParserOrEnumRuleCall();
5955
5956 }
5957 // InternalAlloyLanguage.g:2082:1: ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )?
5958 int alt37=2;
5959 int LA37_0 = input.LA(1);
5960
5961 if ( (LA37_0==48||(LA37_0>=66 && LA37_0<=71)) ) {
5962 alt37=1;
5963 }
5964 switch (alt37) {
5965 case 1 :
5966 // InternalAlloyLanguage.g:2082:2: () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) )
5967 {
5968 // InternalAlloyLanguage.g:2082:2: ()
5969 // InternalAlloyLanguage.g:2083:5:
5970 {
5971 if ( state.backtracking==0 ) {
5972
5973 current = forceCreateModelElementAndSet(
5974 grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0(),
5975 current);
5976
5977 }
5978
5979 }
5980
5981 // InternalAlloyLanguage.g:2088:2: ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )?
5982 int alt35=2;
5983 int LA35_0 = input.LA(1);
5984
5985 if ( ((LA35_0>=66 && LA35_0<=71)) ) {
5986 alt35=1;
5987 }
5988 switch (alt35) {
5989 case 1 :
5990 // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity )
5991 {
5992 // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity )
5993 // InternalAlloyLanguage.g:2090:3: lv_leftMultiplicit_2_0= ruleALSMultiplicity
5994 {
5995 if ( state.backtracking==0 ) {
5996
5997 newCompositeNode(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0());
5998
5999 }
6000 pushFollow(FOLLOW_33);
6001 lv_leftMultiplicit_2_0=ruleALSMultiplicity();
6002
6003 state._fsp--;
6004 if (state.failed) return current;
6005 if ( state.backtracking==0 ) {
6006
6007 if (current==null) {
6008 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6009 }
6010 set(
6011 current,
6012 "leftMultiplicit",
6013 lv_leftMultiplicit_2_0,
6014 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
6015 afterParserOrEnumRuleCall();
6016
6017 }
6018
6019 }
6020
6021
6022 }
6023 break;
6024
6025 }
6026
6027 otherlv_3=(Token)match(input,48,FOLLOW_12); if (state.failed) return current;
6028 if ( state.backtracking==0 ) {
6029
6030 newLeafNode(otherlv_3, grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2());
6031
6032 }
6033 // InternalAlloyLanguage.g:2110:1: ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )?
6034 int alt36=2;
6035 int LA36_0 = input.LA(1);
6036
6037 if ( ((LA36_0>=66 && LA36_0<=71)) ) {
6038 alt36=1;
6039 }
6040 switch (alt36) {
6041 case 1 :
6042 // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity )
6043 {
6044 // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity )
6045 // InternalAlloyLanguage.g:2112:3: lv_rightMultiplicit_4_0= ruleALSMultiplicity
6046 {
6047 if ( state.backtracking==0 ) {
6048
6049 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0());
6050
6051 }
6052 pushFollow(FOLLOW_12);
6053 lv_rightMultiplicit_4_0=ruleALSMultiplicity();
6054
6055 state._fsp--;
6056 if (state.failed) return current;
6057 if ( state.backtracking==0 ) {
6058
6059 if (current==null) {
6060 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6061 }
6062 set(
6063 current,
6064 "rightMultiplicit",
6065 lv_rightMultiplicit_4_0,
6066 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
6067 afterParserOrEnumRuleCall();
6068
6069 }
6070
6071 }
6072
6073
6074 }
6075 break;
6076
6077 }
6078
6079 // InternalAlloyLanguage.g:2128:3: ( (lv_rightOperand_5_0= ruleALSPreficed ) )
6080 // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed )
6081 {
6082 // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed )
6083 // InternalAlloyLanguage.g:2130:3: lv_rightOperand_5_0= ruleALSPreficed
6084 {
6085 if ( state.backtracking==0 ) {
6086
6087 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0());
6088
6089 }
6090 pushFollow(FOLLOW_2);
6091 lv_rightOperand_5_0=ruleALSPreficed();
6092
6093 state._fsp--;
6094 if (state.failed) return current;
6095 if ( state.backtracking==0 ) {
6096
6097 if (current==null) {
6098 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6099 }
6100 set(
6101 current,
6102 "rightOperand",
6103 lv_rightOperand_5_0,
6104 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed");
6105 afterParserOrEnumRuleCall();
6106
6107 }
6108
6109 }
6110
6111
6112 }
6113
6114
6115 }
6116 break;
6117
6118 }
6119
6120
6121 }
6122
6123
6124 }
6125
6126 if ( state.backtracking==0 ) {
6127 leaveRule();
6128 }
6129 }
6130
6131 catch (RecognitionException re) {
6132 recover(input,re);
6133 appendSkippedTokens();
6134 }
6135 finally {
6136 }
6137 return current;
6138 }
6139 // $ANTLR end "ruleALSDirectProduct"
6140
6141
6142 // $ANTLR start "entryRuleALSPreficed"
6143 // InternalAlloyLanguage.g:2154:1: entryRuleALSPreficed returns [EObject current=null] : iv_ruleALSPreficed= ruleALSPreficed EOF ;
6144 public final EObject entryRuleALSPreficed() throws RecognitionException {
6145 EObject current = null;
6146
6147 EObject iv_ruleALSPreficed = null;
6148
6149
6150 try {
6151 // InternalAlloyLanguage.g:2155:2: (iv_ruleALSPreficed= ruleALSPreficed EOF )
6152 // InternalAlloyLanguage.g:2156:2: iv_ruleALSPreficed= ruleALSPreficed EOF
6153 {
6154 if ( state.backtracking==0 ) {
6155 newCompositeNode(grammarAccess.getALSPreficedRule());
6156 }
6157 pushFollow(FOLLOW_1);
6158 iv_ruleALSPreficed=ruleALSPreficed();
6159
6160 state._fsp--;
6161 if (state.failed) return current;
6162 if ( state.backtracking==0 ) {
6163 current =iv_ruleALSPreficed;
6164 }
6165 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6166
6167 }
6168
6169 }
6170
6171 catch (RecognitionException re) {
6172 recover(input,re);
6173 appendSkippedTokens();
6174 }
6175 finally {
6176 }
6177 return current;
6178 }
6179 // $ANTLR end "entryRuleALSPreficed"
6180
6181
6182 // $ANTLR start "ruleALSPreficed"
6183 // InternalAlloyLanguage.g:2163:1: ruleALSPreficed returns [EObject current=null] : ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) ;
6184 public final EObject ruleALSPreficed() throws RecognitionException {
6185 EObject current = null;
6186
6187 Token otherlv_1=null;
6188 Token otherlv_2=null;
6189 Token otherlv_5=null;
6190 Token otherlv_8=null;
6191 Token otherlv_11=null;
6192 Token otherlv_14=null;
6193 Token otherlv_17=null;
6194 Token otherlv_20=null;
6195 Token otherlv_22=null;
6196 Token otherlv_24=null;
6197 Token otherlv_26=null;
6198 Token otherlv_28=null;
6199 Token otherlv_30=null;
6200 Token otherlv_32=null;
6201 Token otherlv_34=null;
6202 EObject lv_operand_3_0 = null;
6203
6204 EObject lv_operand_6_0 = null;
6205
6206 EObject lv_operand_9_0 = null;
6207
6208 EObject lv_operand_12_0 = null;
6209
6210 EObject lv_operand_15_0 = null;
6211
6212 EObject lv_operand_18_0 = null;
6213
6214 EObject lv_variables_21_0 = null;
6215
6216 EObject lv_variables_23_0 = null;
6217
6218 EObject lv_expression_25_0 = null;
6219
6220 Enumerator lv_referredNumericOperator_29_0 = null;
6221
6222 EObject lv_params_31_0 = null;
6223
6224 EObject lv_params_33_0 = null;
6225
6226 EObject this_ALSBasicRelationTerm_35 = null;
6227
6228
6229 enterRule();
6230
6231 try {
6232 // InternalAlloyLanguage.g:2166:28: ( ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) )
6233 // InternalAlloyLanguage.g:2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm )
6234 {
6235 // InternalAlloyLanguage.g:2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm )
6236 int alt42=9;
6237 alt42 = dfa42.predict(input);
6238 switch (alt42) {
6239 case 1 :
6240 // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) )
6241 {
6242 // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) )
6243 // InternalAlloyLanguage.g:2167:3: () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) )
6244 {
6245 // InternalAlloyLanguage.g:2167:3: ()
6246 // InternalAlloyLanguage.g:2168:5:
6247 {
6248 if ( state.backtracking==0 ) {
6249
6250 current = forceCreateModelElement(
6251 grammarAccess.getALSPreficedAccess().getALSNotAction_0_0(),
6252 current);
6253
6254 }
6255
6256 }
6257
6258 // InternalAlloyLanguage.g:2173:2: ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) )
6259 // InternalAlloyLanguage.g:2173:3: ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' )
6260 {
6261 // InternalAlloyLanguage.g:2176:5: (otherlv_1= '!' | otherlv_2= 'not' )
6262 int alt38=2;
6263 int LA38_0 = input.LA(1);
6264
6265 if ( (LA38_0==49) ) {
6266 alt38=1;
6267 }
6268 else if ( (LA38_0==50) ) {
6269 alt38=2;
6270 }
6271 else {
6272 if (state.backtracking>0) {state.failed=true; return current;}
6273 NoViableAltException nvae =
6274 new NoViableAltException("", 38, 0, input);
6275
6276 throw nvae;
6277 }
6278 switch (alt38) {
6279 case 1 :
6280 // InternalAlloyLanguage.g:2176:7: otherlv_1= '!'
6281 {
6282 otherlv_1=(Token)match(input,49,FOLLOW_12); if (state.failed) return current;
6283 if ( state.backtracking==0 ) {
6284
6285 newLeafNode(otherlv_1, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0());
6286
6287 }
6288
6289 }
6290 break;
6291 case 2 :
6292 // InternalAlloyLanguage.g:2181:7: otherlv_2= 'not'
6293 {
6294 otherlv_2=(Token)match(input,50,FOLLOW_12); if (state.failed) return current;
6295 if ( state.backtracking==0 ) {
6296
6297 newLeafNode(otherlv_2, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1());
6298
6299 }
6300
6301 }
6302 break;
6303
6304 }
6305
6306
6307 }
6308
6309 // InternalAlloyLanguage.g:2185:3: ( (lv_operand_3_0= ruleALSBasicRelationTerm ) )
6310 // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm )
6311 {
6312 // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm )
6313 // InternalAlloyLanguage.g:2187:3: lv_operand_3_0= ruleALSBasicRelationTerm
6314 {
6315 if ( state.backtracking==0 ) {
6316
6317 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0());
6318
6319 }
6320 pushFollow(FOLLOW_2);
6321 lv_operand_3_0=ruleALSBasicRelationTerm();
6322
6323 state._fsp--;
6324 if (state.failed) return current;
6325 if ( state.backtracking==0 ) {
6326
6327 if (current==null) {
6328 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6329 }
6330 set(
6331 current,
6332 "operand",
6333 lv_operand_3_0,
6334 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6335 afterParserOrEnumRuleCall();
6336
6337 }
6338
6339 }
6340
6341
6342 }
6343
6344
6345 }
6346
6347
6348 }
6349 break;
6350 case 2 :
6351 // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) )
6352 {
6353 // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) )
6354 // InternalAlloyLanguage.g:2204:7: () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) )
6355 {
6356 // InternalAlloyLanguage.g:2204:7: ()
6357 // InternalAlloyLanguage.g:2205:5:
6358 {
6359 if ( state.backtracking==0 ) {
6360
6361 current = forceCreateModelElement(
6362 grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0(),
6363 current);
6364
6365 }
6366
6367 }
6368
6369 // InternalAlloyLanguage.g:2210:2: ( ( '~' )=>otherlv_5= '~' )
6370 // InternalAlloyLanguage.g:2210:3: ( '~' )=>otherlv_5= '~'
6371 {
6372 otherlv_5=(Token)match(input,51,FOLLOW_12); if (state.failed) return current;
6373 if ( state.backtracking==0 ) {
6374
6375 newLeafNode(otherlv_5, grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1());
6376
6377 }
6378
6379 }
6380
6381 // InternalAlloyLanguage.g:2215:2: ( (lv_operand_6_0= ruleALSBasicRelationTerm ) )
6382 // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm )
6383 {
6384 // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm )
6385 // InternalAlloyLanguage.g:2217:3: lv_operand_6_0= ruleALSBasicRelationTerm
6386 {
6387 if ( state.backtracking==0 ) {
6388
6389 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0());
6390
6391 }
6392 pushFollow(FOLLOW_2);
6393 lv_operand_6_0=ruleALSBasicRelationTerm();
6394
6395 state._fsp--;
6396 if (state.failed) return current;
6397 if ( state.backtracking==0 ) {
6398
6399 if (current==null) {
6400 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6401 }
6402 set(
6403 current,
6404 "operand",
6405 lv_operand_6_0,
6406 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6407 afterParserOrEnumRuleCall();
6408
6409 }
6410
6411 }
6412
6413
6414 }
6415
6416
6417 }
6418
6419
6420 }
6421 break;
6422 case 3 :
6423 // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) )
6424 {
6425 // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) )
6426 // InternalAlloyLanguage.g:2234:7: () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) )
6427 {
6428 // InternalAlloyLanguage.g:2234:7: ()
6429 // InternalAlloyLanguage.g:2235:5:
6430 {
6431 if ( state.backtracking==0 ) {
6432
6433 current = forceCreateModelElement(
6434 grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0(),
6435 current);
6436
6437 }
6438
6439 }
6440
6441 otherlv_8=(Token)match(input,52,FOLLOW_12); if (state.failed) return current;
6442 if ( state.backtracking==0 ) {
6443
6444 newLeafNode(otherlv_8, grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1());
6445
6446 }
6447 // InternalAlloyLanguage.g:2244:1: ( (lv_operand_9_0= ruleALSBasicRelationTerm ) )
6448 // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm )
6449 {
6450 // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm )
6451 // InternalAlloyLanguage.g:2246:3: lv_operand_9_0= ruleALSBasicRelationTerm
6452 {
6453 if ( state.backtracking==0 ) {
6454
6455 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0());
6456
6457 }
6458 pushFollow(FOLLOW_2);
6459 lv_operand_9_0=ruleALSBasicRelationTerm();
6460
6461 state._fsp--;
6462 if (state.failed) return current;
6463 if ( state.backtracking==0 ) {
6464
6465 if (current==null) {
6466 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6467 }
6468 set(
6469 current,
6470 "operand",
6471 lv_operand_9_0,
6472 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6473 afterParserOrEnumRuleCall();
6474
6475 }
6476
6477 }
6478
6479
6480 }
6481
6482
6483 }
6484
6485
6486 }
6487 break;
6488 case 4 :
6489 // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) )
6490 {
6491 // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) )
6492 // InternalAlloyLanguage.g:2263:7: () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) )
6493 {
6494 // InternalAlloyLanguage.g:2263:7: ()
6495 // InternalAlloyLanguage.g:2264:5:
6496 {
6497 if ( state.backtracking==0 ) {
6498
6499 current = forceCreateModelElement(
6500 grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0(),
6501 current);
6502
6503 }
6504
6505 }
6506
6507 otherlv_11=(Token)match(input,53,FOLLOW_12); if (state.failed) return current;
6508 if ( state.backtracking==0 ) {
6509
6510 newLeafNode(otherlv_11, grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1());
6511
6512 }
6513 // InternalAlloyLanguage.g:2273:1: ( (lv_operand_12_0= ruleALSBasicRelationTerm ) )
6514 // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm )
6515 {
6516 // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm )
6517 // InternalAlloyLanguage.g:2275:3: lv_operand_12_0= ruleALSBasicRelationTerm
6518 {
6519 if ( state.backtracking==0 ) {
6520
6521 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0());
6522
6523 }
6524 pushFollow(FOLLOW_2);
6525 lv_operand_12_0=ruleALSBasicRelationTerm();
6526
6527 state._fsp--;
6528 if (state.failed) return current;
6529 if ( state.backtracking==0 ) {
6530
6531 if (current==null) {
6532 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6533 }
6534 set(
6535 current,
6536 "operand",
6537 lv_operand_12_0,
6538 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6539 afterParserOrEnumRuleCall();
6540
6541 }
6542
6543 }
6544
6545
6546 }
6547
6548
6549 }
6550
6551
6552 }
6553 break;
6554 case 5 :
6555 // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) )
6556 {
6557 // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) )
6558 // InternalAlloyLanguage.g:2292:7: () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) )
6559 {
6560 // InternalAlloyLanguage.g:2292:7: ()
6561 // InternalAlloyLanguage.g:2293:5:
6562 {
6563 if ( state.backtracking==0 ) {
6564
6565 current = forceCreateModelElement(
6566 grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0(),
6567 current);
6568
6569 }
6570
6571 }
6572
6573 otherlv_14=(Token)match(input,54,FOLLOW_12); if (state.failed) return current;
6574 if ( state.backtracking==0 ) {
6575
6576 newLeafNode(otherlv_14, grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1());
6577
6578 }
6579 // InternalAlloyLanguage.g:2302:1: ( (lv_operand_15_0= ruleALSBasicRelationTerm ) )
6580 // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm )
6581 {
6582 // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm )
6583 // InternalAlloyLanguage.g:2304:3: lv_operand_15_0= ruleALSBasicRelationTerm
6584 {
6585 if ( state.backtracking==0 ) {
6586
6587 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0());
6588
6589 }
6590 pushFollow(FOLLOW_2);
6591 lv_operand_15_0=ruleALSBasicRelationTerm();
6592
6593 state._fsp--;
6594 if (state.failed) return current;
6595 if ( state.backtracking==0 ) {
6596
6597 if (current==null) {
6598 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6599 }
6600 set(
6601 current,
6602 "operand",
6603 lv_operand_15_0,
6604 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6605 afterParserOrEnumRuleCall();
6606
6607 }
6608
6609 }
6610
6611
6612 }
6613
6614
6615 }
6616
6617
6618 }
6619 break;
6620 case 6 :
6621 // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) )
6622 {
6623 // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) )
6624 // InternalAlloyLanguage.g:2321:7: () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) )
6625 {
6626 // InternalAlloyLanguage.g:2321:7: ()
6627 // InternalAlloyLanguage.g:2322:5:
6628 {
6629 if ( state.backtracking==0 ) {
6630
6631 current = forceCreateModelElement(
6632 grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0(),
6633 current);
6634
6635 }
6636
6637 }
6638
6639 // InternalAlloyLanguage.g:2327:2: ( ( '-' )=>otherlv_17= '-' )
6640 // InternalAlloyLanguage.g:2327:3: ( '-' )=>otherlv_17= '-'
6641 {
6642 otherlv_17=(Token)match(input,46,FOLLOW_12); if (state.failed) return current;
6643 if ( state.backtracking==0 ) {
6644
6645 newLeafNode(otherlv_17, grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1());
6646
6647 }
6648
6649 }
6650
6651 // InternalAlloyLanguage.g:2332:2: ( (lv_operand_18_0= ruleALSBasicRelationTerm ) )
6652 // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm )
6653 {
6654 // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm )
6655 // InternalAlloyLanguage.g:2334:3: lv_operand_18_0= ruleALSBasicRelationTerm
6656 {
6657 if ( state.backtracking==0 ) {
6658
6659 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0());
6660
6661 }
6662 pushFollow(FOLLOW_2);
6663 lv_operand_18_0=ruleALSBasicRelationTerm();
6664
6665 state._fsp--;
6666 if (state.failed) return current;
6667 if ( state.backtracking==0 ) {
6668
6669 if (current==null) {
6670 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6671 }
6672 set(
6673 current,
6674 "operand",
6675 lv_operand_18_0,
6676 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6677 afterParserOrEnumRuleCall();
6678
6679 }
6680
6681 }
6682
6683
6684 }
6685
6686
6687 }
6688
6689
6690 }
6691 break;
6692 case 7 :
6693 // InternalAlloyLanguage.g:2351:6: ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' )
6694 {
6695 // InternalAlloyLanguage.g:2351:6: ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' )
6696 // InternalAlloyLanguage.g:2351:7: () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}'
6697 {
6698 // InternalAlloyLanguage.g:2351:7: ()
6699 // InternalAlloyLanguage.g:2352:5:
6700 {
6701 if ( state.backtracking==0 ) {
6702
6703 current = forceCreateModelElement(
6704 grammarAccess.getALSPreficedAccess().getALSSumAction_6_0(),
6705 current);
6706
6707 }
6708
6709 }
6710
6711 otherlv_20=(Token)match(input,55,FOLLOW_4); if (state.failed) return current;
6712 if ( state.backtracking==0 ) {
6713
6714 newLeafNode(otherlv_20, grammarAccess.getALSPreficedAccess().getSumKeyword_6_1());
6715
6716 }
6717 // InternalAlloyLanguage.g:2361:1: ( (lv_variables_21_0= ruleALSVariableDeclaration ) )
6718 // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration )
6719 {
6720 // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration )
6721 // InternalAlloyLanguage.g:2363:3: lv_variables_21_0= ruleALSVariableDeclaration
6722 {
6723 if ( state.backtracking==0 ) {
6724
6725 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0());
6726
6727 }
6728 pushFollow(FOLLOW_18);
6729 lv_variables_21_0=ruleALSVariableDeclaration();
6730
6731 state._fsp--;
6732 if (state.failed) return current;
6733 if ( state.backtracking==0 ) {
6734
6735 if (current==null) {
6736 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6737 }
6738 add(
6739 current,
6740 "variables",
6741 lv_variables_21_0,
6742 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
6743 afterParserOrEnumRuleCall();
6744
6745 }
6746
6747 }
6748
6749
6750 }
6751
6752 // InternalAlloyLanguage.g:2379:2: (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )*
6753 loop39:
6754 do {
6755 int alt39=2;
6756 int LA39_0 = input.LA(1);
6757
6758 if ( (LA39_0==13) ) {
6759 alt39=1;
6760 }
6761
6762
6763 switch (alt39) {
6764 case 1 :
6765 // InternalAlloyLanguage.g:2379:4: otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) )
6766 {
6767 otherlv_22=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
6768 if ( state.backtracking==0 ) {
6769
6770 newLeafNode(otherlv_22, grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0());
6771
6772 }
6773 // InternalAlloyLanguage.g:2383:1: ( (lv_variables_23_0= ruleALSVariableDeclaration ) )
6774 // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration )
6775 {
6776 // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration )
6777 // InternalAlloyLanguage.g:2385:3: lv_variables_23_0= ruleALSVariableDeclaration
6778 {
6779 if ( state.backtracking==0 ) {
6780
6781 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0());
6782
6783 }
6784 pushFollow(FOLLOW_18);
6785 lv_variables_23_0=ruleALSVariableDeclaration();
6786
6787 state._fsp--;
6788 if (state.failed) return current;
6789 if ( state.backtracking==0 ) {
6790
6791 if (current==null) {
6792 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6793 }
6794 add(
6795 current,
6796 "variables",
6797 lv_variables_23_0,
6798 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
6799 afterParserOrEnumRuleCall();
6800
6801 }
6802
6803 }
6804
6805
6806 }
6807
6808
6809 }
6810 break;
6811
6812 default :
6813 break loop39;
6814 }
6815 } while (true);
6816
6817 otherlv_24=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
6818 if ( state.backtracking==0 ) {
6819
6820 newLeafNode(otherlv_24, grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4());
6821
6822 }
6823 // InternalAlloyLanguage.g:2405:1: ( (lv_expression_25_0= ruleALSTerm ) )
6824 // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm )
6825 {
6826 // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm )
6827 // InternalAlloyLanguage.g:2407:3: lv_expression_25_0= ruleALSTerm
6828 {
6829 if ( state.backtracking==0 ) {
6830
6831 newCompositeNode(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0());
6832
6833 }
6834 pushFollow(FOLLOW_15);
6835 lv_expression_25_0=ruleALSTerm();
6836
6837 state._fsp--;
6838 if (state.failed) return current;
6839 if ( state.backtracking==0 ) {
6840
6841 if (current==null) {
6842 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6843 }
6844 set(
6845 current,
6846 "expression",
6847 lv_expression_25_0,
6848 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
6849 afterParserOrEnumRuleCall();
6850
6851 }
6852
6853 }
6854
6855
6856 }
6857
6858 otherlv_26=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
6859 if ( state.backtracking==0 ) {
6860
6861 newLeafNode(otherlv_26, grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6());
6862
6863 }
6864
6865 }
6866
6867
6868 }
6869 break;
6870 case 8 :
6871 // InternalAlloyLanguage.g:2428:6: ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' )
6872 {
6873 // InternalAlloyLanguage.g:2428:6: ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' )
6874 // InternalAlloyLanguage.g:2428:7: () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']'
6875 {
6876 // InternalAlloyLanguage.g:2428:7: ()
6877 // InternalAlloyLanguage.g:2429:5:
6878 {
6879 if ( state.backtracking==0 ) {
6880
6881 current = forceCreateModelElement(
6882 grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0(),
6883 current);
6884
6885 }
6886
6887 }
6888
6889 // InternalAlloyLanguage.g:2434:2: ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) )
6890 int alt40=2;
6891 int LA40_0 = input.LA(1);
6892
6893 if ( (LA40_0==RULE_ID) ) {
6894 alt40=1;
6895 }
6896 else if ( ((LA40_0>=72 && LA40_0<=76)) ) {
6897 alt40=2;
6898 }
6899 else {
6900 if (state.backtracking>0) {state.failed=true; return current;}
6901 NoViableAltException nvae =
6902 new NoViableAltException("", 40, 0, input);
6903
6904 throw nvae;
6905 }
6906 switch (alt40) {
6907 case 1 :
6908 // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) )
6909 {
6910 // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) )
6911 // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID )
6912 {
6913 // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID )
6914 // InternalAlloyLanguage.g:2436:3: otherlv_28= RULE_ID
6915 {
6916 if ( state.backtracking==0 ) {
6917
6918 if (current==null) {
6919 current = createModelElement(grammarAccess.getALSPreficedRule());
6920 }
6921
6922 }
6923 otherlv_28=(Token)match(input,RULE_ID,FOLLOW_13); if (state.failed) return current;
6924 if ( state.backtracking==0 ) {
6925
6926 newLeafNode(otherlv_28, grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0());
6927
6928 }
6929
6930 }
6931
6932
6933 }
6934
6935
6936 }
6937 break;
6938 case 2 :
6939 // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) )
6940 {
6941 // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) )
6942 // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator )
6943 {
6944 // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator )
6945 // InternalAlloyLanguage.g:2450:3: lv_referredNumericOperator_29_0= ruleALSNumericOperator
6946 {
6947 if ( state.backtracking==0 ) {
6948
6949 newCompositeNode(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0());
6950
6951 }
6952 pushFollow(FOLLOW_13);
6953 lv_referredNumericOperator_29_0=ruleALSNumericOperator();
6954
6955 state._fsp--;
6956 if (state.failed) return current;
6957 if ( state.backtracking==0 ) {
6958
6959 if (current==null) {
6960 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6961 }
6962 set(
6963 current,
6964 "referredNumericOperator",
6965 lv_referredNumericOperator_29_0,
6966 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator");
6967 afterParserOrEnumRuleCall();
6968
6969 }
6970
6971 }
6972
6973
6974 }
6975
6976
6977 }
6978 break;
6979
6980 }
6981
6982 otherlv_30=(Token)match(input,22,FOLLOW_12); if (state.failed) return current;
6983 if ( state.backtracking==0 ) {
6984
6985 newLeafNode(otherlv_30, grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2());
6986
6987 }
6988 // InternalAlloyLanguage.g:2470:1: ( (lv_params_31_0= ruleALSTerm ) )
6989 // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm )
6990 {
6991 // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm )
6992 // InternalAlloyLanguage.g:2472:3: lv_params_31_0= ruleALSTerm
6993 {
6994 if ( state.backtracking==0 ) {
6995
6996 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0());
6997
6998 }
6999 pushFollow(FOLLOW_14);
7000 lv_params_31_0=ruleALSTerm();
7001
7002 state._fsp--;
7003 if (state.failed) return current;
7004 if ( state.backtracking==0 ) {
7005
7006 if (current==null) {
7007 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
7008 }
7009 add(
7010 current,
7011 "params",
7012 lv_params_31_0,
7013 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7014 afterParserOrEnumRuleCall();
7015
7016 }
7017
7018 }
7019
7020
7021 }
7022
7023 // InternalAlloyLanguage.g:2488:2: (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )*
7024 loop41:
7025 do {
7026 int alt41=2;
7027 int LA41_0 = input.LA(1);
7028
7029 if ( (LA41_0==13) ) {
7030 alt41=1;
7031 }
7032
7033
7034 switch (alt41) {
7035 case 1 :
7036 // InternalAlloyLanguage.g:2488:4: otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) )
7037 {
7038 otherlv_32=(Token)match(input,13,FOLLOW_12); if (state.failed) return current;
7039 if ( state.backtracking==0 ) {
7040
7041 newLeafNode(otherlv_32, grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0());
7042
7043 }
7044 // InternalAlloyLanguage.g:2492:1: ( (lv_params_33_0= ruleALSTerm ) )
7045 // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm )
7046 {
7047 // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm )
7048 // InternalAlloyLanguage.g:2494:3: lv_params_33_0= ruleALSTerm
7049 {
7050 if ( state.backtracking==0 ) {
7051
7052 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0());
7053
7054 }
7055 pushFollow(FOLLOW_14);
7056 lv_params_33_0=ruleALSTerm();
7057
7058 state._fsp--;
7059 if (state.failed) return current;
7060 if ( state.backtracking==0 ) {
7061
7062 if (current==null) {
7063 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
7064 }
7065 add(
7066 current,
7067 "params",
7068 lv_params_33_0,
7069 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7070 afterParserOrEnumRuleCall();
7071
7072 }
7073
7074 }
7075
7076
7077 }
7078
7079
7080 }
7081 break;
7082
7083 default :
7084 break loop41;
7085 }
7086 } while (true);
7087
7088 otherlv_34=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
7089 if ( state.backtracking==0 ) {
7090
7091 newLeafNode(otherlv_34, grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5());
7092
7093 }
7094
7095 }
7096
7097
7098 }
7099 break;
7100 case 9 :
7101 // InternalAlloyLanguage.g:2516:5: this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm
7102 {
7103 if ( state.backtracking==0 ) {
7104
7105 newCompositeNode(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8());
7106
7107 }
7108 pushFollow(FOLLOW_2);
7109 this_ALSBasicRelationTerm_35=ruleALSBasicRelationTerm();
7110
7111 state._fsp--;
7112 if (state.failed) return current;
7113 if ( state.backtracking==0 ) {
7114
7115 current = this_ALSBasicRelationTerm_35;
7116 afterParserOrEnumRuleCall();
7117
7118 }
7119
7120 }
7121 break;
7122
7123 }
7124
7125
7126 }
7127
7128 if ( state.backtracking==0 ) {
7129 leaveRule();
7130 }
7131 }
7132
7133 catch (RecognitionException re) {
7134 recover(input,re);
7135 appendSkippedTokens();
7136 }
7137 finally {
7138 }
7139 return current;
7140 }
7141 // $ANTLR end "ruleALSPreficed"
7142
7143
7144 // $ANTLR start "entryRuleALSVariableDeclaration"
7145 // InternalAlloyLanguage.g:2532:1: entryRuleALSVariableDeclaration returns [EObject current=null] : iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF ;
7146 public final EObject entryRuleALSVariableDeclaration() throws RecognitionException {
7147 EObject current = null;
7148
7149 EObject iv_ruleALSVariableDeclaration = null;
7150
7151
7152 try {
7153 // InternalAlloyLanguage.g:2533:2: (iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF )
7154 // InternalAlloyLanguage.g:2534:2: iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF
7155 {
7156 if ( state.backtracking==0 ) {
7157 newCompositeNode(grammarAccess.getALSVariableDeclarationRule());
7158 }
7159 pushFollow(FOLLOW_1);
7160 iv_ruleALSVariableDeclaration=ruleALSVariableDeclaration();
7161
7162 state._fsp--;
7163 if (state.failed) return current;
7164 if ( state.backtracking==0 ) {
7165 current =iv_ruleALSVariableDeclaration;
7166 }
7167 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7168
7169 }
7170
7171 }
7172
7173 catch (RecognitionException re) {
7174 recover(input,re);
7175 appendSkippedTokens();
7176 }
7177 finally {
7178 }
7179 return current;
7180 }
7181 // $ANTLR end "entryRuleALSVariableDeclaration"
7182
7183
7184 // $ANTLR start "ruleALSVariableDeclaration"
7185 // InternalAlloyLanguage.g:2541:1: ruleALSVariableDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) ;
7186 public final EObject ruleALSVariableDeclaration() throws RecognitionException {
7187 EObject current = null;
7188
7189 Token otherlv_1=null;
7190 AntlrDatatypeRuleToken lv_name_0_0 = null;
7191
7192 EObject lv_range_2_0 = null;
7193
7194
7195 enterRule();
7196
7197 try {
7198 // InternalAlloyLanguage.g:2544:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) )
7199 // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) )
7200 {
7201 // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) )
7202 // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) )
7203 {
7204 // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) )
7205 // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID )
7206 {
7207 // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID )
7208 // InternalAlloyLanguage.g:2547:3: lv_name_0_0= ruleALSID
7209 {
7210 if ( state.backtracking==0 ) {
7211
7212 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0());
7213
7214 }
7215 pushFollow(FOLLOW_11);
7216 lv_name_0_0=ruleALSID();
7217
7218 state._fsp--;
7219 if (state.failed) return current;
7220 if ( state.backtracking==0 ) {
7221
7222 if (current==null) {
7223 current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
7224 }
7225 set(
7226 current,
7227 "name",
7228 lv_name_0_0,
7229 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
7230 afterParserOrEnumRuleCall();
7231
7232 }
7233
7234 }
7235
7236
7237 }
7238
7239 otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
7240 if ( state.backtracking==0 ) {
7241
7242 newLeafNode(otherlv_1, grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1());
7243
7244 }
7245 // InternalAlloyLanguage.g:2567:1: ( (lv_range_2_0= ruleALSTerm ) )
7246 // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm )
7247 {
7248 // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm )
7249 // InternalAlloyLanguage.g:2569:3: lv_range_2_0= ruleALSTerm
7250 {
7251 if ( state.backtracking==0 ) {
7252
7253 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0());
7254
7255 }
7256 pushFollow(FOLLOW_2);
7257 lv_range_2_0=ruleALSTerm();
7258
7259 state._fsp--;
7260 if (state.failed) return current;
7261 if ( state.backtracking==0 ) {
7262
7263 if (current==null) {
7264 current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
7265 }
7266 set(
7267 current,
7268 "range",
7269 lv_range_2_0,
7270 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7271 afterParserOrEnumRuleCall();
7272
7273 }
7274
7275 }
7276
7277
7278 }
7279
7280
7281 }
7282
7283
7284 }
7285
7286 if ( state.backtracking==0 ) {
7287 leaveRule();
7288 }
7289 }
7290
7291 catch (RecognitionException re) {
7292 recover(input,re);
7293 appendSkippedTokens();
7294 }
7295 finally {
7296 }
7297 return current;
7298 }
7299 // $ANTLR end "ruleALSVariableDeclaration"
7300
7301
7302 // $ANTLR start "entryRuleALSBasicRelationTerm"
7303 // InternalAlloyLanguage.g:2593:1: entryRuleALSBasicRelationTerm returns [EObject current=null] : iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF ;
7304 public final EObject entryRuleALSBasicRelationTerm() throws RecognitionException {
7305 EObject current = null;
7306
7307 EObject iv_ruleALSBasicRelationTerm = null;
7308
7309
7310 try {
7311 // InternalAlloyLanguage.g:2594:2: (iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF )
7312 // InternalAlloyLanguage.g:2595:2: iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF
7313 {
7314 if ( state.backtracking==0 ) {
7315 newCompositeNode(grammarAccess.getALSBasicRelationTermRule());
7316 }
7317 pushFollow(FOLLOW_1);
7318 iv_ruleALSBasicRelationTerm=ruleALSBasicRelationTerm();
7319
7320 state._fsp--;
7321 if (state.failed) return current;
7322 if ( state.backtracking==0 ) {
7323 current =iv_ruleALSBasicRelationTerm;
7324 }
7325 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7326
7327 }
7328
7329 }
7330
7331 catch (RecognitionException re) {
7332 recover(input,re);
7333 appendSkippedTokens();
7334 }
7335 finally {
7336 }
7337 return current;
7338 }
7339 // $ANTLR end "entryRuleALSBasicRelationTerm"
7340
7341
7342 // $ANTLR start "ruleALSBasicRelationTerm"
7343 // InternalAlloyLanguage.g:2602:1: ruleALSBasicRelationTerm returns [EObject current=null] : ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) ;
7344 public final EObject ruleALSBasicRelationTerm() throws RecognitionException {
7345 EObject current = null;
7346
7347 Token otherlv_1=null;
7348 Token otherlv_3=null;
7349 Token otherlv_5=null;
7350 Token otherlv_7=null;
7351 Token otherlv_9=null;
7352 Token otherlv_11=null;
7353 Token lv_value_13_0=null;
7354 Token lv_value_15_0=null;
7355 Token otherlv_16=null;
7356 Token otherlv_18=null;
7357 EObject this_ALSTerm_17 = null;
7358
7359
7360 enterRule();
7361
7362 try {
7363 // InternalAlloyLanguage.g:2605:28: ( ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) )
7364 // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) )
7365 {
7366 // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) )
7367 int alt43=9;
7368 switch ( input.LA(1) ) {
7369 case 56:
7370 {
7371 alt43=1;
7372 }
7373 break;
7374 case 57:
7375 {
7376 alt43=2;
7377 }
7378 break;
7379 case 58:
7380 {
7381 alt43=3;
7382 }
7383 break;
7384 case 59:
7385 {
7386 alt43=4;
7387 }
7388 break;
7389 case 60:
7390 {
7391 alt43=5;
7392 }
7393 break;
7394 case RULE_ID:
7395 {
7396 alt43=6;
7397 }
7398 break;
7399 case RULE_INT:
7400 {
7401 alt43=7;
7402 }
7403 break;
7404 case RULE_STRING:
7405 {
7406 alt43=8;
7407 }
7408 break;
7409 case 61:
7410 {
7411 alt43=9;
7412 }
7413 break;
7414 default:
7415 if (state.backtracking>0) {state.failed=true; return current;}
7416 NoViableAltException nvae =
7417 new NoViableAltException("", 43, 0, input);
7418
7419 throw nvae;
7420 }
7421
7422 switch (alt43) {
7423 case 1 :
7424 // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' )
7425 {
7426 // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' )
7427 // InternalAlloyLanguage.g:2606:3: () otherlv_1= 'none'
7428 {
7429 // InternalAlloyLanguage.g:2606:3: ()
7430 // InternalAlloyLanguage.g:2607:5:
7431 {
7432 if ( state.backtracking==0 ) {
7433
7434 current = forceCreateModelElement(
7435 grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0(),
7436 current);
7437
7438 }
7439
7440 }
7441
7442 otherlv_1=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
7443 if ( state.backtracking==0 ) {
7444
7445 newLeafNode(otherlv_1, grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1());
7446
7447 }
7448
7449 }
7450
7451
7452 }
7453 break;
7454 case 2 :
7455 // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' )
7456 {
7457 // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' )
7458 // InternalAlloyLanguage.g:2617:7: () otherlv_3= 'iden'
7459 {
7460 // InternalAlloyLanguage.g:2617:7: ()
7461 // InternalAlloyLanguage.g:2618:5:
7462 {
7463 if ( state.backtracking==0 ) {
7464
7465 current = forceCreateModelElement(
7466 grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0(),
7467 current);
7468
7469 }
7470
7471 }
7472
7473 otherlv_3=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
7474 if ( state.backtracking==0 ) {
7475
7476 newLeafNode(otherlv_3, grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1());
7477
7478 }
7479
7480 }
7481
7482
7483 }
7484 break;
7485 case 3 :
7486 // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' )
7487 {
7488 // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' )
7489 // InternalAlloyLanguage.g:2628:7: () otherlv_5= 'univ'
7490 {
7491 // InternalAlloyLanguage.g:2628:7: ()
7492 // InternalAlloyLanguage.g:2629:5:
7493 {
7494 if ( state.backtracking==0 ) {
7495
7496 current = forceCreateModelElement(
7497 grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0(),
7498 current);
7499
7500 }
7501
7502 }
7503
7504 otherlv_5=(Token)match(input,58,FOLLOW_2); if (state.failed) return current;
7505 if ( state.backtracking==0 ) {
7506
7507 newLeafNode(otherlv_5, grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1());
7508
7509 }
7510
7511 }
7512
7513
7514 }
7515 break;
7516 case 4 :
7517 // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' )
7518 {
7519 // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' )
7520 // InternalAlloyLanguage.g:2639:7: () otherlv_7= 'Int'
7521 {
7522 // InternalAlloyLanguage.g:2639:7: ()
7523 // InternalAlloyLanguage.g:2640:5:
7524 {
7525 if ( state.backtracking==0 ) {
7526
7527 current = forceCreateModelElement(
7528 grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0(),
7529 current);
7530
7531 }
7532
7533 }
7534
7535 otherlv_7=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
7536 if ( state.backtracking==0 ) {
7537
7538 newLeafNode(otherlv_7, grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1());
7539
7540 }
7541
7542 }
7543
7544
7545 }
7546 break;
7547 case 5 :
7548 // InternalAlloyLanguage.g:2650:6: ( () otherlv_9= 'String' )
7549 {
7550 // InternalAlloyLanguage.g:2650:6: ( () otherlv_9= 'String' )
7551 // InternalAlloyLanguage.g:2650:7: () otherlv_9= 'String'
7552 {
7553 // InternalAlloyLanguage.g:2650:7: ()
7554 // InternalAlloyLanguage.g:2651:5:
7555 {
7556 if ( state.backtracking==0 ) {
7557
7558 current = forceCreateModelElement(
7559 grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0(),
7560 current);
7561
7562 }
7563
7564 }
7565
7566 otherlv_9=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
7567 if ( state.backtracking==0 ) {
7568
7569 newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1());
7570
7571 }
7572
7573 }
7574
7575
7576 }
7577 break;
7578 case 6 :
7579 // InternalAlloyLanguage.g:2661:6: ( () ( (otherlv_11= RULE_ID ) ) )
7580 {
7581 // InternalAlloyLanguage.g:2661:6: ( () ( (otherlv_11= RULE_ID ) ) )
7582 // InternalAlloyLanguage.g:2661:7: () ( (otherlv_11= RULE_ID ) )
7583 {
7584 // InternalAlloyLanguage.g:2661:7: ()
7585 // InternalAlloyLanguage.g:2662:5:
7586 {
7587 if ( state.backtracking==0 ) {
7588
7589 current = forceCreateModelElement(
7590 grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0(),
7591 current);
7592
7593 }
7594
7595 }
7596
7597 // InternalAlloyLanguage.g:2667:2: ( (otherlv_11= RULE_ID ) )
7598 // InternalAlloyLanguage.g:2668:1: (otherlv_11= RULE_ID )
7599 {
7600 // InternalAlloyLanguage.g:2668:1: (otherlv_11= RULE_ID )
7601 // InternalAlloyLanguage.g:2669:3: otherlv_11= RULE_ID
7602 {
7603 if ( state.backtracking==0 ) {
7604
7605 if (current==null) {
7606 current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
7607 }
7608
7609 }
7610 otherlv_11=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
7611 if ( state.backtracking==0 ) {
7612
7613 newLeafNode(otherlv_11, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0());
7614
7615 }
7616
7617 }
7618
7619
7620 }
7621
7622
7623 }
7624
7625
7626 }
7627 break;
7628 case 7 :
7629 // InternalAlloyLanguage.g:2681:6: ( () ( (lv_value_13_0= RULE_INT ) ) )
7630 {
7631 // InternalAlloyLanguage.g:2681:6: ( () ( (lv_value_13_0= RULE_INT ) ) )
7632 // InternalAlloyLanguage.g:2681:7: () ( (lv_value_13_0= RULE_INT ) )
7633 {
7634 // InternalAlloyLanguage.g:2681:7: ()
7635 // InternalAlloyLanguage.g:2682:5:
7636 {
7637 if ( state.backtracking==0 ) {
7638
7639 current = forceCreateModelElement(
7640 grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0(),
7641 current);
7642
7643 }
7644
7645 }
7646
7647 // InternalAlloyLanguage.g:2687:2: ( (lv_value_13_0= RULE_INT ) )
7648 // InternalAlloyLanguage.g:2688:1: (lv_value_13_0= RULE_INT )
7649 {
7650 // InternalAlloyLanguage.g:2688:1: (lv_value_13_0= RULE_INT )
7651 // InternalAlloyLanguage.g:2689:3: lv_value_13_0= RULE_INT
7652 {
7653 lv_value_13_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
7654 if ( state.backtracking==0 ) {
7655
7656 newLeafNode(lv_value_13_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0());
7657
7658 }
7659 if ( state.backtracking==0 ) {
7660
7661 if (current==null) {
7662 current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
7663 }
7664 setWithLastConsumed(
7665 current,
7666 "value",
7667 lv_value_13_0,
7668 "org.eclipse.xtext.common.Terminals.INT");
7669
7670 }
7671
7672 }
7673
7674
7675 }
7676
7677
7678 }
7679
7680
7681 }
7682 break;
7683 case 8 :
7684 // InternalAlloyLanguage.g:2706:6: ( () ( (lv_value_15_0= RULE_STRING ) ) )
7685 {
7686 // InternalAlloyLanguage.g:2706:6: ( () ( (lv_value_15_0= RULE_STRING ) ) )
7687 // InternalAlloyLanguage.g:2706:7: () ( (lv_value_15_0= RULE_STRING ) )
7688 {
7689 // InternalAlloyLanguage.g:2706:7: ()
7690 // InternalAlloyLanguage.g:2707:5:
7691 {
7692 if ( state.backtracking==0 ) {
7693
7694 current = forceCreateModelElement(
7695 grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0(),
7696 current);
7697
7698 }
7699
7700 }
7701
7702 // InternalAlloyLanguage.g:2712:2: ( (lv_value_15_0= RULE_STRING ) )
7703 // InternalAlloyLanguage.g:2713:1: (lv_value_15_0= RULE_STRING )
7704 {
7705 // InternalAlloyLanguage.g:2713:1: (lv_value_15_0= RULE_STRING )
7706 // InternalAlloyLanguage.g:2714:3: lv_value_15_0= RULE_STRING
7707 {
7708 lv_value_15_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
7709 if ( state.backtracking==0 ) {
7710
7711 newLeafNode(lv_value_15_0, grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0());
7712
7713 }
7714 if ( state.backtracking==0 ) {
7715
7716 if (current==null) {
7717 current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
7718 }
7719 setWithLastConsumed(
7720 current,
7721 "value",
7722 lv_value_15_0,
7723 "org.eclipse.xtext.common.Terminals.STRING");
7724
7725 }
7726
7727 }
7728
7729
7730 }
7731
7732
7733 }
7734
7735
7736 }
7737 break;
7738 case 9 :
7739 // InternalAlloyLanguage.g:2731:6: (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' )
7740 {
7741 // InternalAlloyLanguage.g:2731:6: (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' )
7742 // InternalAlloyLanguage.g:2731:8: otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')'
7743 {
7744 otherlv_16=(Token)match(input,61,FOLLOW_12); if (state.failed) return current;
7745 if ( state.backtracking==0 ) {
7746
7747 newLeafNode(otherlv_16, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
7748
7749 }
7750 if ( state.backtracking==0 ) {
7751
7752 newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1());
7753
7754 }
7755 pushFollow(FOLLOW_34);
7756 this_ALSTerm_17=ruleALSTerm();
7757
7758 state._fsp--;
7759 if (state.failed) return current;
7760 if ( state.backtracking==0 ) {
7761
7762 current = this_ALSTerm_17;
7763 afterParserOrEnumRuleCall();
7764
7765 }
7766 otherlv_18=(Token)match(input,62,FOLLOW_2); if (state.failed) return current;
7767 if ( state.backtracking==0 ) {
7768
7769 newLeafNode(otherlv_18, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2());
7770
7771 }
7772
7773 }
7774
7775
7776 }
7777 break;
7778
7779 }
7780
7781
7782 }
7783
7784 if ( state.backtracking==0 ) {
7785 leaveRule();
7786 }
7787 }
7788
7789 catch (RecognitionException re) {
7790 recover(input,re);
7791 appendSkippedTokens();
7792 }
7793 finally {
7794 }
7795 return current;
7796 }
7797 // $ANTLR end "ruleALSBasicRelationTerm"
7798
7799
7800 // $ANTLR start "entryRuleALSRunCommand"
7801 // InternalAlloyLanguage.g:2756:1: entryRuleALSRunCommand returns [EObject current=null] : iv_ruleALSRunCommand= ruleALSRunCommand EOF ;
7802 public final EObject entryRuleALSRunCommand() throws RecognitionException {
7803 EObject current = null;
7804
7805 EObject iv_ruleALSRunCommand = null;
7806
7807
7808 try {
7809 // InternalAlloyLanguage.g:2757:2: (iv_ruleALSRunCommand= ruleALSRunCommand EOF )
7810 // InternalAlloyLanguage.g:2758:2: iv_ruleALSRunCommand= ruleALSRunCommand EOF
7811 {
7812 if ( state.backtracking==0 ) {
7813 newCompositeNode(grammarAccess.getALSRunCommandRule());
7814 }
7815 pushFollow(FOLLOW_1);
7816 iv_ruleALSRunCommand=ruleALSRunCommand();
7817
7818 state._fsp--;
7819 if (state.failed) return current;
7820 if ( state.backtracking==0 ) {
7821 current =iv_ruleALSRunCommand;
7822 }
7823 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7824
7825 }
7826
7827 }
7828
7829 catch (RecognitionException re) {
7830 recover(input,re);
7831 appendSkippedTokens();
7832 }
7833 finally {
7834 }
7835 return current;
7836 }
7837 // $ANTLR end "entryRuleALSRunCommand"
7838
7839
7840 // $ANTLR start "ruleALSRunCommand"
7841 // InternalAlloyLanguage.g:2765:1: ruleALSRunCommand returns [EObject current=null] : ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) ;
7842 public final EObject ruleALSRunCommand() throws RecognitionException {
7843 EObject current = null;
7844
7845 Token otherlv_1=null;
7846 Token otherlv_2=null;
7847 Token otherlv_3=null;
7848 Token otherlv_4=null;
7849 Token otherlv_6=null;
7850 EObject lv_typeScopes_5_0 = null;
7851
7852 EObject lv_typeScopes_7_0 = null;
7853
7854
7855 enterRule();
7856
7857 try {
7858 // InternalAlloyLanguage.g:2768:28: ( ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) )
7859 // InternalAlloyLanguage.g:2769:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? )
7860 {
7861 // InternalAlloyLanguage.g:2769:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? )
7862 // InternalAlloyLanguage.g:2769:2: () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )?
7863 {
7864 // InternalAlloyLanguage.g:2769:2: ()
7865 // InternalAlloyLanguage.g:2770:5:
7866 {
7867 if ( state.backtracking==0 ) {
7868
7869 current = forceCreateModelElement(
7870 grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(),
7871 current);
7872
7873 }
7874
7875 }
7876
7877 otherlv_1=(Token)match(input,63,FOLLOW_5); if (state.failed) return current;
7878 if ( state.backtracking==0 ) {
7879
7880 newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
7881
7882 }
7883 otherlv_2=(Token)match(input,12,FOLLOW_15); if (state.failed) return current;
7884 if ( state.backtracking==0 ) {
7885
7886 newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
7887
7888 }
7889 otherlv_3=(Token)match(input,14,FOLLOW_35); if (state.failed) return current;
7890 if ( state.backtracking==0 ) {
7891
7892 newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
7893
7894 }
7895 // InternalAlloyLanguage.g:2787:1: (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )?
7896 int alt45=2;
7897 int LA45_0 = input.LA(1);
7898
7899 if ( (LA45_0==64) ) {
7900 alt45=1;
7901 }
7902 switch (alt45) {
7903 case 1 :
7904 // InternalAlloyLanguage.g:2787:3: otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )*
7905 {
7906 otherlv_4=(Token)match(input,64,FOLLOW_36); if (state.failed) return current;
7907 if ( state.backtracking==0 ) {
7908
7909 newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
7910
7911 }
7912 // InternalAlloyLanguage.g:2791:1: ( (lv_typeScopes_5_0= ruleALSTypeScope ) )
7913 // InternalAlloyLanguage.g:2792:1: (lv_typeScopes_5_0= ruleALSTypeScope )
7914 {
7915 // InternalAlloyLanguage.g:2792:1: (lv_typeScopes_5_0= ruleALSTypeScope )
7916 // InternalAlloyLanguage.g:2793:3: lv_typeScopes_5_0= ruleALSTypeScope
7917 {
7918 if ( state.backtracking==0 ) {
7919
7920 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
7921
7922 }
7923 pushFollow(FOLLOW_37);
7924 lv_typeScopes_5_0=ruleALSTypeScope();
7925
7926 state._fsp--;
7927 if (state.failed) return current;
7928 if ( state.backtracking==0 ) {
7929
7930 if (current==null) {
7931 current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
7932 }
7933 add(
7934 current,
7935 "typeScopes",
7936 lv_typeScopes_5_0,
7937 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
7938 afterParserOrEnumRuleCall();
7939
7940 }
7941
7942 }
7943
7944
7945 }
7946
7947 // InternalAlloyLanguage.g:2809:2: (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )*
7948 loop44:
7949 do {
7950 int alt44=2;
7951 int LA44_0 = input.LA(1);
7952
7953 if ( (LA44_0==13) ) {
7954 alt44=1;
7955 }
7956
7957
7958 switch (alt44) {
7959 case 1 :
7960 // InternalAlloyLanguage.g:2809:4: otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) )
7961 {
7962 otherlv_6=(Token)match(input,13,FOLLOW_36); if (state.failed) return current;
7963 if ( state.backtracking==0 ) {
7964
7965 newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
7966
7967 }
7968 // InternalAlloyLanguage.g:2813:1: ( (lv_typeScopes_7_0= ruleALSTypeScope ) )
7969 // InternalAlloyLanguage.g:2814:1: (lv_typeScopes_7_0= ruleALSTypeScope )
7970 {
7971 // InternalAlloyLanguage.g:2814:1: (lv_typeScopes_7_0= ruleALSTypeScope )
7972 // InternalAlloyLanguage.g:2815:3: lv_typeScopes_7_0= ruleALSTypeScope
7973 {
7974 if ( state.backtracking==0 ) {
7975
7976 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
7977
7978 }
7979 pushFollow(FOLLOW_37);
7980 lv_typeScopes_7_0=ruleALSTypeScope();
7981
7982 state._fsp--;
7983 if (state.failed) return current;
7984 if ( state.backtracking==0 ) {
7985
7986 if (current==null) {
7987 current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
7988 }
7989 add(
7990 current,
7991 "typeScopes",
7992 lv_typeScopes_7_0,
7993 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
7994 afterParserOrEnumRuleCall();
7995
7996 }
7997
7998 }
7999
8000
8001 }
8002
8003
8004 }
8005 break;
8006
8007 default :
8008 break loop44;
8009 }
8010 } while (true);
8011
8012
8013 }
8014 break;
8015
8016 }
8017
8018
8019 }
8020
8021
8022 }
8023
8024 if ( state.backtracking==0 ) {
8025 leaveRule();
8026 }
8027 }
8028
8029 catch (RecognitionException re) {
8030 recover(input,re);
8031 appendSkippedTokens();
8032 }
8033 finally {
8034 }
8035 return current;
8036 }
8037 // $ANTLR end "ruleALSRunCommand"
8038
8039
8040 // $ANTLR start "entryRuleALSTypeScope"
8041 // InternalAlloyLanguage.g:2839:1: entryRuleALSTypeScope returns [EObject current=null] : iv_ruleALSTypeScope= ruleALSTypeScope EOF ;
8042 public final EObject entryRuleALSTypeScope() throws RecognitionException {
8043 EObject current = null;
8044
8045 EObject iv_ruleALSTypeScope = null;
8046
8047
8048 try {
8049 // InternalAlloyLanguage.g:2840:2: (iv_ruleALSTypeScope= ruleALSTypeScope EOF )
8050 // InternalAlloyLanguage.g:2841:2: iv_ruleALSTypeScope= ruleALSTypeScope EOF
8051 {
8052 if ( state.backtracking==0 ) {
8053 newCompositeNode(grammarAccess.getALSTypeScopeRule());
8054 }
8055 pushFollow(FOLLOW_1);
8056 iv_ruleALSTypeScope=ruleALSTypeScope();
8057
8058 state._fsp--;
8059 if (state.failed) return current;
8060 if ( state.backtracking==0 ) {
8061 current =iv_ruleALSTypeScope;
8062 }
8063 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8064
8065 }
8066
8067 }
8068
8069 catch (RecognitionException re) {
8070 recover(input,re);
8071 appendSkippedTokens();
8072 }
8073 finally {
8074 }
8075 return current;
8076 }
8077 // $ANTLR end "entryRuleALSTypeScope"
8078
8079
8080 // $ANTLR start "ruleALSTypeScope"
8081 // InternalAlloyLanguage.g:2848:1: ruleALSTypeScope returns [EObject current=null] : (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) ;
8082 public final EObject ruleALSTypeScope() throws RecognitionException {
8083 EObject current = null;
8084
8085 EObject this_ALSSigScope_0 = null;
8086
8087 EObject this_ALSIntScope_1 = null;
8088
8089 EObject this_ALSStringScope_2 = null;
8090
8091
8092 enterRule();
8093
8094 try {
8095 // InternalAlloyLanguage.g:2851:28: ( (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) )
8096 // InternalAlloyLanguage.g:2852:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope )
8097 {
8098 // InternalAlloyLanguage.g:2852:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope )
8099 int alt46=3;
8100 int LA46_0 = input.LA(1);
8101
8102 if ( (LA46_0==65) ) {
8103 int LA46_1 = input.LA(2);
8104
8105 if ( (LA46_1==RULE_INT) ) {
8106 int LA46_3 = input.LA(3);
8107
8108 if ( (LA46_3==RULE_ID) ) {
8109 alt46=1;
8110 }
8111 else if ( (LA46_3==60) ) {
8112 alt46=3;
8113 }
8114 else {
8115 if (state.backtracking>0) {state.failed=true; return current;}
8116 NoViableAltException nvae =
8117 new NoViableAltException("", 46, 3, input);
8118
8119 throw nvae;
8120 }
8121 }
8122 else {
8123 if (state.backtracking>0) {state.failed=true; return current;}
8124 NoViableAltException nvae =
8125 new NoViableAltException("", 46, 1, input);
8126
8127 throw nvae;
8128 }
8129 }
8130 else if ( (LA46_0==RULE_INT) ) {
8131 int LA46_2 = input.LA(2);
8132
8133 if ( (LA46_2==RULE_ID) ) {
8134 alt46=1;
8135 }
8136 else if ( (LA46_2==59) ) {
8137 alt46=2;
8138 }
8139 else {
8140 if (state.backtracking>0) {state.failed=true; return current;}
8141 NoViableAltException nvae =
8142 new NoViableAltException("", 46, 2, input);
8143
8144 throw nvae;
8145 }
8146 }
8147 else {
8148 if (state.backtracking>0) {state.failed=true; return current;}
8149 NoViableAltException nvae =
8150 new NoViableAltException("", 46, 0, input);
8151
8152 throw nvae;
8153 }
8154 switch (alt46) {
8155 case 1 :
8156 // InternalAlloyLanguage.g:2853:5: this_ALSSigScope_0= ruleALSSigScope
8157 {
8158 if ( state.backtracking==0 ) {
8159
8160 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
8161
8162 }
8163 pushFollow(FOLLOW_2);
8164 this_ALSSigScope_0=ruleALSSigScope();
8165
8166 state._fsp--;
8167 if (state.failed) return current;
8168 if ( state.backtracking==0 ) {
8169
8170 current = this_ALSSigScope_0;
8171 afterParserOrEnumRuleCall();
8172
8173 }
8174
8175 }
8176 break;
8177 case 2 :
8178 // InternalAlloyLanguage.g:2863:5: this_ALSIntScope_1= ruleALSIntScope
8179 {
8180 if ( state.backtracking==0 ) {
8181
8182 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
8183
8184 }
8185 pushFollow(FOLLOW_2);
8186 this_ALSIntScope_1=ruleALSIntScope();
8187
8188 state._fsp--;
8189 if (state.failed) return current;
8190 if ( state.backtracking==0 ) {
8191
8192 current = this_ALSIntScope_1;
8193 afterParserOrEnumRuleCall();
8194
8195 }
8196
8197 }
8198 break;
8199 case 3 :
8200 // InternalAlloyLanguage.g:2873:5: this_ALSStringScope_2= ruleALSStringScope
8201 {
8202 if ( state.backtracking==0 ) {
8203
8204 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2());
8205
8206 }
8207 pushFollow(FOLLOW_2);
8208 this_ALSStringScope_2=ruleALSStringScope();
8209
8210 state._fsp--;
8211 if (state.failed) return current;
8212 if ( state.backtracking==0 ) {
8213
8214 current = this_ALSStringScope_2;
8215 afterParserOrEnumRuleCall();
8216
8217 }
8218
8219 }
8220 break;
8221
8222 }
8223
8224
8225 }
8226
8227 if ( state.backtracking==0 ) {
8228 leaveRule();
8229 }
8230 }
8231
8232 catch (RecognitionException re) {
8233 recover(input,re);
8234 appendSkippedTokens();
8235 }
8236 finally {
8237 }
8238 return current;
8239 }
8240 // $ANTLR end "ruleALSTypeScope"
8241
8242
8243 // $ANTLR start "entryRuleALSSigScope"
8244 // InternalAlloyLanguage.g:2889:1: entryRuleALSSigScope returns [EObject current=null] : iv_ruleALSSigScope= ruleALSSigScope EOF ;
8245 public final EObject entryRuleALSSigScope() throws RecognitionException {
8246 EObject current = null;
8247
8248 EObject iv_ruleALSSigScope = null;
8249
8250
8251 try {
8252 // InternalAlloyLanguage.g:2890:2: (iv_ruleALSSigScope= ruleALSSigScope EOF )
8253 // InternalAlloyLanguage.g:2891:2: iv_ruleALSSigScope= ruleALSSigScope EOF
8254 {
8255 if ( state.backtracking==0 ) {
8256 newCompositeNode(grammarAccess.getALSSigScopeRule());
8257 }
8258 pushFollow(FOLLOW_1);
8259 iv_ruleALSSigScope=ruleALSSigScope();
8260
8261 state._fsp--;
8262 if (state.failed) return current;
8263 if ( state.backtracking==0 ) {
8264 current =iv_ruleALSSigScope;
8265 }
8266 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8267
8268 }
8269
8270 }
8271
8272 catch (RecognitionException re) {
8273 recover(input,re);
8274 appendSkippedTokens();
8275 }
8276 finally {
8277 }
8278 return current;
8279 }
8280 // $ANTLR end "entryRuleALSSigScope"
8281
8282
8283 // $ANTLR start "ruleALSSigScope"
8284 // InternalAlloyLanguage.g:2898:1: ruleALSSigScope returns [EObject current=null] : ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) ;
8285 public final EObject ruleALSSigScope() throws RecognitionException {
8286 EObject current = null;
8287
8288 Token lv_exactly_0_0=null;
8289 Token lv_number_1_0=null;
8290 Token otherlv_2=null;
8291
8292 enterRule();
8293
8294 try {
8295 // InternalAlloyLanguage.g:2901:28: ( ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) )
8296 // InternalAlloyLanguage.g:2902:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) )
8297 {
8298 // InternalAlloyLanguage.g:2902:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) )
8299 // InternalAlloyLanguage.g:2902:2: ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) )
8300 {
8301 // InternalAlloyLanguage.g:2902:2: ( (lv_exactly_0_0= 'exactly' ) )?
8302 int alt47=2;
8303 int LA47_0 = input.LA(1);
8304
8305 if ( (LA47_0==65) ) {
8306 alt47=1;
8307 }
8308 switch (alt47) {
8309 case 1 :
8310 // InternalAlloyLanguage.g:2903:1: (lv_exactly_0_0= 'exactly' )
8311 {
8312 // InternalAlloyLanguage.g:2903:1: (lv_exactly_0_0= 'exactly' )
8313 // InternalAlloyLanguage.g:2904:3: lv_exactly_0_0= 'exactly'
8314 {
8315 lv_exactly_0_0=(Token)match(input,65,FOLLOW_38); if (state.failed) return current;
8316 if ( state.backtracking==0 ) {
8317
8318 newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
8319
8320 }
8321 if ( state.backtracking==0 ) {
8322
8323 if (current==null) {
8324 current = createModelElement(grammarAccess.getALSSigScopeRule());
8325 }
8326 setWithLastConsumed(current, "exactly", true, "exactly");
8327
8328 }
8329
8330 }
8331
8332
8333 }
8334 break;
8335
8336 }
8337
8338 // InternalAlloyLanguage.g:2917:3: ( (lv_number_1_0= RULE_INT ) )
8339 // InternalAlloyLanguage.g:2918:1: (lv_number_1_0= RULE_INT )
8340 {
8341 // InternalAlloyLanguage.g:2918:1: (lv_number_1_0= RULE_INT )
8342 // InternalAlloyLanguage.g:2919:3: lv_number_1_0= RULE_INT
8343 {
8344 lv_number_1_0=(Token)match(input,RULE_INT,FOLLOW_4); if (state.failed) return current;
8345 if ( state.backtracking==0 ) {
8346
8347 newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
8348
8349 }
8350 if ( state.backtracking==0 ) {
8351
8352 if (current==null) {
8353 current = createModelElement(grammarAccess.getALSSigScopeRule());
8354 }
8355 setWithLastConsumed(
8356 current,
8357 "number",
8358 lv_number_1_0,
8359 "org.eclipse.xtext.common.Terminals.INT");
8360
8361 }
8362
8363 }
8364
8365
8366 }
8367
8368 // InternalAlloyLanguage.g:2935:2: ( (otherlv_2= RULE_ID ) )
8369 // InternalAlloyLanguage.g:2936:1: (otherlv_2= RULE_ID )
8370 {
8371 // InternalAlloyLanguage.g:2936:1: (otherlv_2= RULE_ID )
8372 // InternalAlloyLanguage.g:2937:3: otherlv_2= RULE_ID
8373 {
8374 if ( state.backtracking==0 ) {
8375
8376 if (current==null) {
8377 current = createModelElement(grammarAccess.getALSSigScopeRule());
8378 }
8379
8380 }
8381 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
8382 if ( state.backtracking==0 ) {
8383
8384 newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
8385
8386 }
8387
8388 }
8389
8390
8391 }
8392
8393
8394 }
8395
8396
8397 }
8398
8399 if ( state.backtracking==0 ) {
8400 leaveRule();
8401 }
8402 }
8403
8404 catch (RecognitionException re) {
8405 recover(input,re);
8406 appendSkippedTokens();
8407 }
8408 finally {
8409 }
8410 return current;
8411 }
8412 // $ANTLR end "ruleALSSigScope"
8413
8414
8415 // $ANTLR start "entryRuleALSIntScope"
8416 // InternalAlloyLanguage.g:2956:1: entryRuleALSIntScope returns [EObject current=null] : iv_ruleALSIntScope= ruleALSIntScope EOF ;
8417 public final EObject entryRuleALSIntScope() throws RecognitionException {
8418 EObject current = null;
8419
8420 EObject iv_ruleALSIntScope = null;
8421
8422
8423 try {
8424 // InternalAlloyLanguage.g:2957:2: (iv_ruleALSIntScope= ruleALSIntScope EOF )
8425 // InternalAlloyLanguage.g:2958:2: iv_ruleALSIntScope= ruleALSIntScope EOF
8426 {
8427 if ( state.backtracking==0 ) {
8428 newCompositeNode(grammarAccess.getALSIntScopeRule());
8429 }
8430 pushFollow(FOLLOW_1);
8431 iv_ruleALSIntScope=ruleALSIntScope();
8432
8433 state._fsp--;
8434 if (state.failed) return current;
8435 if ( state.backtracking==0 ) {
8436 current =iv_ruleALSIntScope;
8437 }
8438 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8439
8440 }
8441
8442 }
8443
8444 catch (RecognitionException re) {
8445 recover(input,re);
8446 appendSkippedTokens();
8447 }
8448 finally {
8449 }
8450 return current;
8451 }
8452 // $ANTLR end "entryRuleALSIntScope"
8453
8454
8455 // $ANTLR start "ruleALSIntScope"
8456 // InternalAlloyLanguage.g:2965:1: ruleALSIntScope returns [EObject current=null] : ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) ;
8457 public final EObject ruleALSIntScope() throws RecognitionException {
8458 EObject current = null;
8459
8460 Token lv_number_0_0=null;
8461 Token otherlv_1=null;
8462
8463 enterRule();
8464
8465 try {
8466 // InternalAlloyLanguage.g:2968:28: ( ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) )
8467 // InternalAlloyLanguage.g:2969:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' )
8468 {
8469 // InternalAlloyLanguage.g:2969:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' )
8470 // InternalAlloyLanguage.g:2969:2: ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int'
8471 {
8472 // InternalAlloyLanguage.g:2969:2: ( (lv_number_0_0= RULE_INT ) )
8473 // InternalAlloyLanguage.g:2970:1: (lv_number_0_0= RULE_INT )
8474 {
8475 // InternalAlloyLanguage.g:2970:1: (lv_number_0_0= RULE_INT )
8476 // InternalAlloyLanguage.g:2971:3: lv_number_0_0= RULE_INT
8477 {
8478 lv_number_0_0=(Token)match(input,RULE_INT,FOLLOW_39); if (state.failed) return current;
8479 if ( state.backtracking==0 ) {
8480
8481 newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
8482
8483 }
8484 if ( state.backtracking==0 ) {
8485
8486 if (current==null) {
8487 current = createModelElement(grammarAccess.getALSIntScopeRule());
8488 }
8489 setWithLastConsumed(
8490 current,
8491 "number",
8492 lv_number_0_0,
8493 "org.eclipse.xtext.common.Terminals.INT");
8494
8495 }
8496
8497 }
8498
8499
8500 }
8501
8502 otherlv_1=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
8503 if ( state.backtracking==0 ) {
8504
8505 newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
8506
8507 }
8508
8509 }
8510
8511
8512 }
8513
8514 if ( state.backtracking==0 ) {
8515 leaveRule();
8516 }
8517 }
8518
8519 catch (RecognitionException re) {
8520 recover(input,re);
8521 appendSkippedTokens();
8522 }
8523 finally {
8524 }
8525 return current;
8526 }
8527 // $ANTLR end "ruleALSIntScope"
8528
8529
8530 // $ANTLR start "entryRuleALSStringScope"
8531 // InternalAlloyLanguage.g:2999:1: entryRuleALSStringScope returns [EObject current=null] : iv_ruleALSStringScope= ruleALSStringScope EOF ;
8532 public final EObject entryRuleALSStringScope() throws RecognitionException {
8533 EObject current = null;
8534
8535 EObject iv_ruleALSStringScope = null;
8536
8537
8538 try {
8539 // InternalAlloyLanguage.g:3000:2: (iv_ruleALSStringScope= ruleALSStringScope EOF )
8540 // InternalAlloyLanguage.g:3001:2: iv_ruleALSStringScope= ruleALSStringScope EOF
8541 {
8542 if ( state.backtracking==0 ) {
8543 newCompositeNode(grammarAccess.getALSStringScopeRule());
8544 }
8545 pushFollow(FOLLOW_1);
8546 iv_ruleALSStringScope=ruleALSStringScope();
8547
8548 state._fsp--;
8549 if (state.failed) return current;
8550 if ( state.backtracking==0 ) {
8551 current =iv_ruleALSStringScope;
8552 }
8553 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8554
8555 }
8556
8557 }
8558
8559 catch (RecognitionException re) {
8560 recover(input,re);
8561 appendSkippedTokens();
8562 }
8563 finally {
8564 }
8565 return current;
8566 }
8567 // $ANTLR end "entryRuleALSStringScope"
8568
8569
8570 // $ANTLR start "ruleALSStringScope"
8571 // InternalAlloyLanguage.g:3008:1: ruleALSStringScope returns [EObject current=null] : (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) ;
8572 public final EObject ruleALSStringScope() throws RecognitionException {
8573 EObject current = null;
8574
8575 Token otherlv_0=null;
8576 Token lv_number_1_0=null;
8577 Token otherlv_2=null;
8578
8579 enterRule();
8580
8581 try {
8582 // InternalAlloyLanguage.g:3011:28: ( (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) )
8583 // InternalAlloyLanguage.g:3012:1: (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' )
8584 {
8585 // InternalAlloyLanguage.g:3012:1: (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' )
8586 // InternalAlloyLanguage.g:3012:3: otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String'
8587 {
8588 otherlv_0=(Token)match(input,65,FOLLOW_38); if (state.failed) return current;
8589 if ( state.backtracking==0 ) {
8590
8591 newLeafNode(otherlv_0, grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0());
8592
8593 }
8594 // InternalAlloyLanguage.g:3016:1: ( (lv_number_1_0= RULE_INT ) )
8595 // InternalAlloyLanguage.g:3017:1: (lv_number_1_0= RULE_INT )
8596 {
8597 // InternalAlloyLanguage.g:3017:1: (lv_number_1_0= RULE_INT )
8598 // InternalAlloyLanguage.g:3018:3: lv_number_1_0= RULE_INT
8599 {
8600 lv_number_1_0=(Token)match(input,RULE_INT,FOLLOW_40); if (state.failed) return current;
8601 if ( state.backtracking==0 ) {
8602
8603 newLeafNode(lv_number_1_0, grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0());
8604
8605 }
8606 if ( state.backtracking==0 ) {
8607
8608 if (current==null) {
8609 current = createModelElement(grammarAccess.getALSStringScopeRule());
8610 }
8611 setWithLastConsumed(
8612 current,
8613 "number",
8614 lv_number_1_0,
8615 "org.eclipse.xtext.common.Terminals.INT");
8616
8617 }
8618
8619 }
8620
8621
8622 }
8623
8624 otherlv_2=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
8625 if ( state.backtracking==0 ) {
8626
8627 newLeafNode(otherlv_2, grammarAccess.getALSStringScopeAccess().getStringKeyword_2());
8628
8629 }
8630
8631 }
8632
8633
8634 }
8635
8636 if ( state.backtracking==0 ) {
8637 leaveRule();
8638 }
8639 }
8640
8641 catch (RecognitionException re) {
8642 recover(input,re);
8643 appendSkippedTokens();
8644 }
8645 finally {
8646 }
8647 return current;
8648 }
8649 // $ANTLR end "ruleALSStringScope"
8650
8651
8652 // $ANTLR start "ruleALSMultiplicity"
8653 // InternalAlloyLanguage.g:3046:1: ruleALSMultiplicity returns [Enumerator current=null] : ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) ;
8654 public final Enumerator ruleALSMultiplicity() throws RecognitionException {
8655 Enumerator current = null;
8656
8657 Token enumLiteral_0=null;
8658 Token enumLiteral_1=null;
8659 Token enumLiteral_2=null;
8660 Token enumLiteral_3=null;
8661 Token enumLiteral_4=null;
8662 Token enumLiteral_5=null;
8663
8664 enterRule();
8665 try {
8666 // InternalAlloyLanguage.g:3048:28: ( ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) )
8667 // InternalAlloyLanguage.g:3049:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) )
8668 {
8669 // InternalAlloyLanguage.g:3049:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) )
8670 int alt48=6;
8671 switch ( input.LA(1) ) {
8672 case 66:
8673 {
8674 alt48=1;
8675 }
8676 break;
8677 case 67:
8678 {
8679 alt48=2;
8680 }
8681 break;
8682 case 68:
8683 {
8684 alt48=3;
8685 }
8686 break;
8687 case 69:
8688 {
8689 alt48=4;
8690 }
8691 break;
8692 case 70:
8693 {
8694 alt48=5;
8695 }
8696 break;
8697 case 71:
8698 {
8699 alt48=6;
8700 }
8701 break;
8702 default:
8703 if (state.backtracking>0) {state.failed=true; return current;}
8704 NoViableAltException nvae =
8705 new NoViableAltException("", 48, 0, input);
8706
8707 throw nvae;
8708 }
8709
8710 switch (alt48) {
8711 case 1 :
8712 // InternalAlloyLanguage.g:3049:2: (enumLiteral_0= 'all' )
8713 {
8714 // InternalAlloyLanguage.g:3049:2: (enumLiteral_0= 'all' )
8715 // InternalAlloyLanguage.g:3049:4: enumLiteral_0= 'all'
8716 {
8717 enumLiteral_0=(Token)match(input,66,FOLLOW_2); if (state.failed) return current;
8718 if ( state.backtracking==0 ) {
8719
8720 current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
8721 newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
8722
8723 }
8724
8725 }
8726
8727
8728 }
8729 break;
8730 case 2 :
8731 // InternalAlloyLanguage.g:3055:6: (enumLiteral_1= 'no' )
8732 {
8733 // InternalAlloyLanguage.g:3055:6: (enumLiteral_1= 'no' )
8734 // InternalAlloyLanguage.g:3055:8: enumLiteral_1= 'no'
8735 {
8736 enumLiteral_1=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
8737 if ( state.backtracking==0 ) {
8738
8739 current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
8740 newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
8741
8742 }
8743
8744 }
8745
8746
8747 }
8748 break;
8749 case 3 :
8750 // InternalAlloyLanguage.g:3061:6: (enumLiteral_2= 'some' )
8751 {
8752 // InternalAlloyLanguage.g:3061:6: (enumLiteral_2= 'some' )
8753 // InternalAlloyLanguage.g:3061:8: enumLiteral_2= 'some'
8754 {
8755 enumLiteral_2=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
8756 if ( state.backtracking==0 ) {
8757
8758 current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
8759 newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
8760
8761 }
8762
8763 }
8764
8765
8766 }
8767 break;
8768 case 4 :
8769 // InternalAlloyLanguage.g:3067:6: (enumLiteral_3= 'lone' )
8770 {
8771 // InternalAlloyLanguage.g:3067:6: (enumLiteral_3= 'lone' )
8772 // InternalAlloyLanguage.g:3067:8: enumLiteral_3= 'lone'
8773 {
8774 enumLiteral_3=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
8775 if ( state.backtracking==0 ) {
8776
8777 current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
8778 newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
8779
8780 }
8781
8782 }
8783
8784
8785 }
8786 break;
8787 case 5 :
8788 // InternalAlloyLanguage.g:3073:6: (enumLiteral_4= 'one' )
8789 {
8790 // InternalAlloyLanguage.g:3073:6: (enumLiteral_4= 'one' )
8791 // InternalAlloyLanguage.g:3073:8: enumLiteral_4= 'one'
8792 {
8793 enumLiteral_4=(Token)match(input,70,FOLLOW_2); if (state.failed) return current;
8794 if ( state.backtracking==0 ) {
8795
8796 current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
8797 newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
8798
8799 }
8800
8801 }
8802
8803
8804 }
8805 break;
8806 case 6 :
8807 // InternalAlloyLanguage.g:3079:6: (enumLiteral_5= 'set' )
8808 {
8809 // InternalAlloyLanguage.g:3079:6: (enumLiteral_5= 'set' )
8810 // InternalAlloyLanguage.g:3079:8: enumLiteral_5= 'set'
8811 {
8812 enumLiteral_5=(Token)match(input,71,FOLLOW_2); if (state.failed) return current;
8813 if ( state.backtracking==0 ) {
8814
8815 current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
8816 newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
8817
8818 }
8819
8820 }
8821
8822
8823 }
8824 break;
8825
8826 }
8827
8828
8829 }
8830
8831 if ( state.backtracking==0 ) {
8832 leaveRule();
8833 }
8834 }
8835
8836 catch (RecognitionException re) {
8837 recover(input,re);
8838 appendSkippedTokens();
8839 }
8840 finally {
8841 }
8842 return current;
8843 }
8844 // $ANTLR end "ruleALSMultiplicity"
8845
8846
8847 // $ANTLR start "ruleALSNumericOperator"
8848 // InternalAlloyLanguage.g:3089:1: ruleALSNumericOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) ;
8849 public final Enumerator ruleALSNumericOperator() throws RecognitionException {
8850 Enumerator current = null;
8851
8852 Token enumLiteral_0=null;
8853 Token enumLiteral_1=null;
8854 Token enumLiteral_2=null;
8855 Token enumLiteral_3=null;
8856 Token enumLiteral_4=null;
8857
8858 enterRule();
8859 try {
8860 // InternalAlloyLanguage.g:3091:28: ( ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) )
8861 // InternalAlloyLanguage.g:3092:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) )
8862 {
8863 // InternalAlloyLanguage.g:3092:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) )
8864 int alt49=5;
8865 switch ( input.LA(1) ) {
8866 case 72:
8867 {
8868 alt49=1;
8869 }
8870 break;
8871 case 73:
8872 {
8873 alt49=2;
8874 }
8875 break;
8876 case 74:
8877 {
8878 alt49=3;
8879 }
8880 break;
8881 case 75:
8882 {
8883 alt49=4;
8884 }
8885 break;
8886 case 76:
8887 {
8888 alt49=5;
8889 }
8890 break;
8891 default:
8892 if (state.backtracking>0) {state.failed=true; return current;}
8893 NoViableAltException nvae =
8894 new NoViableAltException("", 49, 0, input);
8895
8896 throw nvae;
8897 }
8898
8899 switch (alt49) {
8900 case 1 :
8901 // InternalAlloyLanguage.g:3092:2: (enumLiteral_0= 'plus' )
8902 {
8903 // InternalAlloyLanguage.g:3092:2: (enumLiteral_0= 'plus' )
8904 // InternalAlloyLanguage.g:3092:4: enumLiteral_0= 'plus'
8905 {
8906 enumLiteral_0=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
8907 if ( state.backtracking==0 ) {
8908
8909 current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
8910 newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
8911
8912 }
8913
8914 }
8915
8916
8917 }
8918 break;
8919 case 2 :
8920 // InternalAlloyLanguage.g:3098:6: (enumLiteral_1= 'sub' )
8921 {
8922 // InternalAlloyLanguage.g:3098:6: (enumLiteral_1= 'sub' )
8923 // InternalAlloyLanguage.g:3098:8: enumLiteral_1= 'sub'
8924 {
8925 enumLiteral_1=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
8926 if ( state.backtracking==0 ) {
8927
8928 current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
8929 newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
8930
8931 }
8932
8933 }
8934
8935
8936 }
8937 break;
8938 case 3 :
8939 // InternalAlloyLanguage.g:3104:6: (enumLiteral_2= 'mul' )
8940 {
8941 // InternalAlloyLanguage.g:3104:6: (enumLiteral_2= 'mul' )
8942 // InternalAlloyLanguage.g:3104:8: enumLiteral_2= 'mul'
8943 {
8944 enumLiteral_2=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
8945 if ( state.backtracking==0 ) {
8946
8947 current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
8948 newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
8949
8950 }
8951
8952 }
8953
8954
8955 }
8956 break;
8957 case 4 :
8958 // InternalAlloyLanguage.g:3110:6: (enumLiteral_3= 'rem' )
8959 {
8960 // InternalAlloyLanguage.g:3110:6: (enumLiteral_3= 'rem' )
8961 // InternalAlloyLanguage.g:3110:8: enumLiteral_3= 'rem'
8962 {
8963 enumLiteral_3=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
8964 if ( state.backtracking==0 ) {
8965
8966 current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
8967 newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
8968
8969 }
8970
8971 }
8972
8973
8974 }
8975 break;
8976 case 5 :
8977 // InternalAlloyLanguage.g:3116:6: (enumLiteral_4= 'div' )
8978 {
8979 // InternalAlloyLanguage.g:3116:6: (enumLiteral_4= 'div' )
8980 // InternalAlloyLanguage.g:3116:8: enumLiteral_4= 'div'
8981 {
8982 enumLiteral_4=(Token)match(input,76,FOLLOW_2); if (state.failed) return current;
8983 if ( state.backtracking==0 ) {
8984
8985 current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
8986 newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
8987
8988 }
8989
8990 }
8991
8992
8993 }
8994 break;
8995
8996 }
8997
8998
8999 }
9000
9001 if ( state.backtracking==0 ) {
9002 leaveRule();
9003 }
9004 }
9005
9006 catch (RecognitionException re) {
9007 recover(input,re);
9008 appendSkippedTokens();
9009 }
9010 finally {
9011 }
9012 return current;
9013 }
9014 // $ANTLR end "ruleALSNumericOperator"
9015
9016 // Delegated rules
9017
9018
9019 protected DFA10 dfa10 = new DFA10(this);
9020 protected DFA42 dfa42 = new DFA42(this);
9021 static final String dfa_1s = "\12\uffff";
9022 static final String dfa_2s = "\11\uffff\1\10";
9023 static final String dfa_3s = "\7\4\2\uffff\1\15";
9024 static final String dfa_4s = "\7\114\2\uffff\1\107";
9025 static final String dfa_5s = "\7\uffff\1\2\1\1\1\uffff";
9026 static final String dfa_6s = "\12\uffff}>";
9027 static final String[] dfa_7s = {
9028 "\3\7\47\uffff\1\7\2\uffff\15\7\4\uffff\1\1\1\2\1\3\1\4\1\5\1\6\5\7",
9029 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9030 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9031 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9032 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9033 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9034 "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10",
9035 "",
9036 "",
9037 "\2\10\3\uffff\2\10\1\7\1\uffff\1\10\4\uffff\6\10\1\uffff\17\10\21\uffff\6\10"
9038 };
9039
9040 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
9041 static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s);
9042 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
9043 static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s);
9044 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
9045 static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s);
9046 static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
9047
9048 class DFA10 extends DFA {
9049
9050 public DFA10(BaseRecognizer recognizer) {
9051 this.recognizer = recognizer;
9052 this.decisionNumber = 10;
9053 this.eot = dfa_1;
9054 this.eof = dfa_2;
9055 this.min = dfa_3;
9056 this.max = dfa_4;
9057 this.accept = dfa_5;
9058 this.special = dfa_6;
9059 this.transition = dfa_7;
9060 }
9061 public String getDescription() {
9062 return "713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )?";
9063 }
9064 }
9065 static final String dfa_8s = "\13\uffff";
9066 static final String dfa_9s = "\10\uffff\1\12\2\uffff";
9067 static final String dfa_10s = "\1\4\7\uffff\1\14\2\uffff";
9068 static final String dfa_11s = "\1\114\7\uffff\1\107\2\uffff";
9069 static final String dfa_12s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\10\1\11";
9070 static final String dfa_13s = "\13\uffff}>";
9071 static final String[] dfa_14s = {
9072 "\1\10\2\12\47\uffff\1\6\2\uffff\2\1\1\2\1\3\1\4\1\5\1\7\6\12\12\uffff\5\11",
9073 "",
9074 "",
9075 "",
9076 "",
9077 "",
9078 "",
9079 "",
9080 "\3\12\3\uffff\2\12\2\uffff\1\11\1\12\3\uffff\26\12\15\uffff\1\12\3\uffff\6\12",
9081 "",
9082 ""
9083 };
9084
9085 static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
9086 static final short[] dfa_9 = DFA.unpackEncodedString(dfa_9s);
9087 static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
9088 static final char[] dfa_11 = DFA.unpackEncodedStringToUnsignedChars(dfa_11s);
9089 static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
9090 static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s);
9091 static final short[][] dfa_14 = unpackEncodedStringArray(dfa_14s);
9092
9093 class DFA42 extends DFA {
9094
9095 public DFA42(BaseRecognizer recognizer) {
9096 this.recognizer = recognizer;
9097 this.decisionNumber = 42;
9098 this.eot = dfa_8;
9099 this.eof = dfa_9;
9100 this.min = dfa_10;
9101 this.max = dfa_11;
9102 this.accept = dfa_12;
9103 this.special = dfa_13;
9104 this.transition = dfa_14;
9105 }
9106 public String getDescription() {
9107 return "2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm )";
9108 }
9109 }
9110
9111
9112 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
9113 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
9114 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x8000000003218800L,0x00000000000000FCL});
9115 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
9116 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L});
9117 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000006000L});
9118 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000018000L,0x00000000000000FCL});
9119 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000063000L});
9120 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000081000L});
9121 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004010L});
9122 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100000L});
9123 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x3FFE400000000070L,0x0000000000001FFCL});
9124 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000400000L});
9125 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000802000L});
9126 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000004000L});
9127 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000001010L});
9128 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000004000010L});
9129 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000003000L});
9130 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000018000002L});
9131 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000060000002L});
9132 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000180000002L});
9133 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000200000002L});
9134 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000C00000002L});
9135 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x000003F000040002L});
9136 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000040000000002L});
9137 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000080000000002L});
9138 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000100000000002L});
9139 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000200000000002L});
9140 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000400000000002L});
9141 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000080002L});
9142 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000800000000002L});
9143 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0001000000000002L,0x00000000000000FCL});
9144 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0001000000000000L});
9145 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x4000000000000000L});
9146 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000001L});
9147 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000002L});
9148 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000002002L});
9149 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000020L});
9150 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0800000000000000L});
9151 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x1000000000000000L});
9152
9153}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java
deleted file mode 100644
index 64f0bb55..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java
+++ /dev/null
@@ -1,2366 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.serializer;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd;
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality;
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct;
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument;
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration;
12import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral;
13import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals;
14import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration;
15import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration;
16import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall;
17import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition;
18import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden;
19import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff;
20import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl;
21import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt;
22import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope;
23import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection;
24import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation;
25import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin;
26import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq;
27import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess;
28import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq;
29import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus;
30import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore;
31import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone;
32import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot;
33import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals;
34import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral;
35import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr;
36import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride;
37import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus;
38import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx;
39import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft;
40import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight;
41import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference;
42import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure;
43import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition;
44import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand;
45import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope;
46import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody;
47import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration;
48import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString;
49import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral;
50import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope;
51import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset;
52import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum;
53import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus;
54import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv;
55import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
56import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure;
57import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
58import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
59import java.util.Set;
60import org.eclipse.emf.ecore.EObject;
61import org.eclipse.emf.ecore.EPackage;
62import org.eclipse.xtext.Action;
63import org.eclipse.xtext.Parameter;
64import org.eclipse.xtext.ParserRule;
65import org.eclipse.xtext.serializer.ISerializationContext;
66import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
67import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
68import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
69
70@SuppressWarnings("all")
71public class AlloyLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer {
72
73 @Inject
74 private AlloyLanguageGrammarAccess grammarAccess;
75
76 @Override
77 public void sequence(ISerializationContext context, EObject semanticObject) {
78 EPackage epackage = semanticObject.eClass().getEPackage();
79 ParserRule rule = context.getParserRule();
80 Action action = context.getAssignedAction();
81 Set<Parameter> parameters = context.getEnabledBooleanParameters();
82 if (epackage == AlloyLanguagePackage.eINSTANCE)
83 switch (semanticObject.eClass().getClassifierID()) {
84 case AlloyLanguagePackage.ALS_AND:
85 sequence_ALSAnd(context, (ALSAnd) semanticObject);
86 return;
87 case AlloyLanguagePackage.ALS_CARDINALITY:
88 sequence_ALSPreficed(context, (ALSCardinality) semanticObject);
89 return;
90 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT:
91 sequence_ALSDirectProduct(context, (ALSDirectProduct) semanticObject);
92 return;
93 case AlloyLanguagePackage.ALS_DOCUMENT:
94 sequence_ALSDocument(context, (ALSDocument) semanticObject);
95 return;
96 case AlloyLanguagePackage.ALS_ENUM_DECLARATION:
97 sequence_ALSEnumDeclaration(context, (ALSEnumDeclaration) semanticObject);
98 return;
99 case AlloyLanguagePackage.ALS_ENUM_LITERAL:
100 sequence_ALSEnumLiteral(context, (ALSEnumLiteral) semanticObject);
101 return;
102 case AlloyLanguagePackage.ALS_EQUALS:
103 sequence_ALSComparison(context, (ALSEquals) semanticObject);
104 return;
105 case AlloyLanguagePackage.ALS_FACT_DECLARATION:
106 sequence_ALSFactDeclaration(context, (ALSFactDeclaration) semanticObject);
107 return;
108 case AlloyLanguagePackage.ALS_FIELD_DECLARATION:
109 sequence_ALSFieldDeclaration(context, (ALSFieldDeclaration) semanticObject);
110 return;
111 case AlloyLanguagePackage.ALS_FUNCTION_CALL:
112 sequence_ALSPreficed(context, (ALSFunctionCall) semanticObject);
113 return;
114 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION:
115 sequence_ALSFunctionDefinition(context, (ALSFunctionDefinition) semanticObject);
116 return;
117 case AlloyLanguagePackage.ALS_IDEN:
118 sequence_ALSBasicRelationTerm(context, (ALSIden) semanticObject);
119 return;
120 case AlloyLanguagePackage.ALS_IFF:
121 sequence_ALSIff(context, (ALSIff) semanticObject);
122 return;
123 case AlloyLanguagePackage.ALS_IMPL:
124 sequence_ALSImpl(context, (ALSImpl) semanticObject);
125 return;
126 case AlloyLanguagePackage.ALS_INT:
127 sequence_ALSBasicRelationTerm(context, (ALSInt) semanticObject);
128 return;
129 case AlloyLanguagePackage.ALS_INT_SCOPE:
130 sequence_ALSIntScope(context, (ALSIntScope) semanticObject);
131 return;
132 case AlloyLanguagePackage.ALS_INTERSECTION:
133 sequence_ALSIntersection(context, (ALSIntersection) semanticObject);
134 return;
135 case AlloyLanguagePackage.ALS_INVERSE_RELATION:
136 sequence_ALSPreficed(context, (ALSInverseRelation) semanticObject);
137 return;
138 case AlloyLanguagePackage.ALS_JOIN:
139 sequence_ALSJoin(context, (ALSJoin) semanticObject);
140 return;
141 case AlloyLanguagePackage.ALS_LEQ:
142 sequence_ALSComparison(context, (ALSLeq) semanticObject);
143 return;
144 case AlloyLanguagePackage.ALS_LESS:
145 sequence_ALSComparison(context, (ALSLess) semanticObject);
146 return;
147 case AlloyLanguagePackage.ALS_MEQ:
148 sequence_ALSComparison(context, (ALSMeq) semanticObject);
149 return;
150 case AlloyLanguagePackage.ALS_MINUS:
151 sequence_ALSMinus(context, (ALSMinus) semanticObject);
152 return;
153 case AlloyLanguagePackage.ALS_MORE:
154 sequence_ALSComparison(context, (ALSMore) semanticObject);
155 return;
156 case AlloyLanguagePackage.ALS_NONE:
157 sequence_ALSBasicRelationTerm(context, (ALSNone) semanticObject);
158 return;
159 case AlloyLanguagePackage.ALS_NOT:
160 sequence_ALSPreficed(context, (ALSNot) semanticObject);
161 return;
162 case AlloyLanguagePackage.ALS_NOT_EQUALS:
163 sequence_ALSComparison(context, (ALSNotEquals) semanticObject);
164 return;
165 case AlloyLanguagePackage.ALS_NUMBER_LITERAL:
166 sequence_ALSBasicRelationTerm(context, (ALSNumberLiteral) semanticObject);
167 return;
168 case AlloyLanguagePackage.ALS_OR:
169 sequence_ALSOr(context, (ALSOr) semanticObject);
170 return;
171 case AlloyLanguagePackage.ALS_OVERRIDE:
172 sequence_ALSOverride(context, (ALSOverride) semanticObject);
173 return;
174 case AlloyLanguagePackage.ALS_PLUS:
175 sequence_ALSPlus(context, (ALSPlus) semanticObject);
176 return;
177 case AlloyLanguagePackage.ALS_QUANTIFIED_EX:
178 sequence_ALSQuantified(context, (ALSQuantifiedEx) semanticObject);
179 return;
180 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT:
181 sequence_ALSRangeRestrictionLeft(context, (ALSRangeRestrictionLeft) semanticObject);
182 return;
183 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT:
184 sequence_ALSRangeRestrictionRight(context, (ALSRangeRestrictionRight) semanticObject);
185 return;
186 case AlloyLanguagePackage.ALS_REFERENCE:
187 sequence_ALSBasicRelationTerm(context, (ALSReference) semanticObject);
188 return;
189 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE:
190 sequence_ALSPreficed(context, (ALSReflectiveTransitiveClosure) semanticObject);
191 return;
192 case AlloyLanguagePackage.ALS_RELATION_DEFINITION:
193 sequence_ALSRelationDefinition(context, (ALSRelationDefinition) semanticObject);
194 return;
195 case AlloyLanguagePackage.ALS_RUN_COMMAND:
196 sequence_ALSRunCommand(context, (ALSRunCommand) semanticObject);
197 return;
198 case AlloyLanguagePackage.ALS_SIG_SCOPE:
199 sequence_ALSSigScope(context, (ALSSigScope) semanticObject);
200 return;
201 case AlloyLanguagePackage.ALS_SIGNATURE_BODY:
202 sequence_ALSSignatureBody(context, (ALSSignatureBody) semanticObject);
203 return;
204 case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION:
205 sequence_ALSSignatureDeclaration(context, (ALSSignatureDeclaration) semanticObject);
206 return;
207 case AlloyLanguagePackage.ALS_STRING:
208 sequence_ALSBasicRelationTerm(context, (ALSString) semanticObject);
209 return;
210 case AlloyLanguagePackage.ALS_STRING_LITERAL:
211 sequence_ALSBasicRelationTerm(context, (ALSStringLiteral) semanticObject);
212 return;
213 case AlloyLanguagePackage.ALS_STRING_SCOPE:
214 sequence_ALSStringScope(context, (ALSStringScope) semanticObject);
215 return;
216 case AlloyLanguagePackage.ALS_SUBSET:
217 sequence_ALSComparison(context, (ALSSubset) semanticObject);
218 return;
219 case AlloyLanguagePackage.ALS_SUM:
220 sequence_ALSPreficed(context, (ALSSum) semanticObject);
221 return;
222 case AlloyLanguagePackage.ALS_UNARY_MINUS:
223 sequence_ALSPreficed(context, (ALSUnaryMinus) semanticObject);
224 return;
225 case AlloyLanguagePackage.ALS_UNIV:
226 sequence_ALSBasicRelationTerm(context, (ALSUniv) semanticObject);
227 return;
228 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION:
229 sequence_ALSVariableDeclaration(context, (ALSVariableDeclaration) semanticObject);
230 return;
231 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE:
232 sequence_ALSPreficed(context, (AlSTransitiveClosure) semanticObject);
233 return;
234 }
235 if (errorAcceptor != null)
236 errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
237 }
238
239 /**
240 * Contexts:
241 * ALSTerm returns ALSAnd
242 * ALSQuantified returns ALSAnd
243 * ALSOr returns ALSAnd
244 * ALSOr.ALSOr_1_0 returns ALSAnd
245 * ALSIff returns ALSAnd
246 * ALSIff.ALSIff_1_0 returns ALSAnd
247 * ALSImpl returns ALSAnd
248 * ALSImpl.ALSImpl_1_0 returns ALSAnd
249 * ALSAnd returns ALSAnd
250 * ALSAnd.ALSAnd_1_0 returns ALSAnd
251 * ALSComparison returns ALSAnd
252 * ALSComparison.ALSEquals_1_0_0_0 returns ALSAnd
253 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSAnd
254 * ALSComparison.ALSSubset_1_0_2_0 returns ALSAnd
255 * ALSComparison.ALSLess_1_0_3_0 returns ALSAnd
256 * ALSComparison.ALSLeq_1_0_4_0 returns ALSAnd
257 * ALSComparison.ALSMore_1_0_5_0 returns ALSAnd
258 * ALSComparison.ALSMeq_1_0_6_0 returns ALSAnd
259 * ALSOverride returns ALSAnd
260 * ALSOverride.ALSOverride_1_0 returns ALSAnd
261 * ALSRangeRestrictionRight returns ALSAnd
262 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSAnd
263 * ALSRangeRestrictionLeft returns ALSAnd
264 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSAnd
265 * ALSJoin returns ALSAnd
266 * ALSJoin.ALSJoin_1_0 returns ALSAnd
267 * ALSMinus returns ALSAnd
268 * ALSMinus.ALSMinus_1_0 returns ALSAnd
269 * ALSPlus returns ALSAnd
270 * ALSPlus.ALSPlus_1_0 returns ALSAnd
271 * ALSIntersection returns ALSAnd
272 * ALSIntersection.ALSIntersection_1_0 returns ALSAnd
273 * ALSDirectProduct returns ALSAnd
274 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSAnd
275 * ALSPreficed returns ALSAnd
276 * ALSBasicRelationTerm returns ALSAnd
277 *
278 * Constraint:
279 * (leftOperand=ALSAnd_ALSAnd_1_0 rightOperand=ALSComparison)
280 */
281 protected void sequence_ALSAnd(ISerializationContext context, ALSAnd semanticObject) {
282 if (errorAcceptor != null) {
283 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND) == ValueTransient.YES)
284 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND));
285 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND) == ValueTransient.YES)
286 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND));
287 }
288 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
289 feeder.accept(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(), semanticObject.getLeftOperand());
290 feeder.accept(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0(), semanticObject.getRightOperand());
291 feeder.finish();
292 }
293
294
295 /**
296 * Contexts:
297 * ALSTerm returns ALSIden
298 * ALSQuantified returns ALSIden
299 * ALSOr returns ALSIden
300 * ALSOr.ALSOr_1_0 returns ALSIden
301 * ALSIff returns ALSIden
302 * ALSIff.ALSIff_1_0 returns ALSIden
303 * ALSImpl returns ALSIden
304 * ALSImpl.ALSImpl_1_0 returns ALSIden
305 * ALSAnd returns ALSIden
306 * ALSAnd.ALSAnd_1_0 returns ALSIden
307 * ALSComparison returns ALSIden
308 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIden
309 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIden
310 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIden
311 * ALSComparison.ALSLess_1_0_3_0 returns ALSIden
312 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIden
313 * ALSComparison.ALSMore_1_0_5_0 returns ALSIden
314 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIden
315 * ALSOverride returns ALSIden
316 * ALSOverride.ALSOverride_1_0 returns ALSIden
317 * ALSRangeRestrictionRight returns ALSIden
318 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIden
319 * ALSRangeRestrictionLeft returns ALSIden
320 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIden
321 * ALSJoin returns ALSIden
322 * ALSJoin.ALSJoin_1_0 returns ALSIden
323 * ALSMinus returns ALSIden
324 * ALSMinus.ALSMinus_1_0 returns ALSIden
325 * ALSPlus returns ALSIden
326 * ALSPlus.ALSPlus_1_0 returns ALSIden
327 * ALSIntersection returns ALSIden
328 * ALSIntersection.ALSIntersection_1_0 returns ALSIden
329 * ALSDirectProduct returns ALSIden
330 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIden
331 * ALSPreficed returns ALSIden
332 * ALSBasicRelationTerm returns ALSIden
333 *
334 * Constraint:
335 * {ALSIden}
336 */
337 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSIden semanticObject) {
338 genericSequencer.createSequence(context, semanticObject);
339 }
340
341
342 /**
343 * Contexts:
344 * ALSTerm returns ALSInt
345 * ALSQuantified returns ALSInt
346 * ALSOr returns ALSInt
347 * ALSOr.ALSOr_1_0 returns ALSInt
348 * ALSIff returns ALSInt
349 * ALSIff.ALSIff_1_0 returns ALSInt
350 * ALSImpl returns ALSInt
351 * ALSImpl.ALSImpl_1_0 returns ALSInt
352 * ALSAnd returns ALSInt
353 * ALSAnd.ALSAnd_1_0 returns ALSInt
354 * ALSComparison returns ALSInt
355 * ALSComparison.ALSEquals_1_0_0_0 returns ALSInt
356 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInt
357 * ALSComparison.ALSSubset_1_0_2_0 returns ALSInt
358 * ALSComparison.ALSLess_1_0_3_0 returns ALSInt
359 * ALSComparison.ALSLeq_1_0_4_0 returns ALSInt
360 * ALSComparison.ALSMore_1_0_5_0 returns ALSInt
361 * ALSComparison.ALSMeq_1_0_6_0 returns ALSInt
362 * ALSOverride returns ALSInt
363 * ALSOverride.ALSOverride_1_0 returns ALSInt
364 * ALSRangeRestrictionRight returns ALSInt
365 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInt
366 * ALSRangeRestrictionLeft returns ALSInt
367 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInt
368 * ALSJoin returns ALSInt
369 * ALSJoin.ALSJoin_1_0 returns ALSInt
370 * ALSMinus returns ALSInt
371 * ALSMinus.ALSMinus_1_0 returns ALSInt
372 * ALSPlus returns ALSInt
373 * ALSPlus.ALSPlus_1_0 returns ALSInt
374 * ALSIntersection returns ALSInt
375 * ALSIntersection.ALSIntersection_1_0 returns ALSInt
376 * ALSDirectProduct returns ALSInt
377 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInt
378 * ALSPreficed returns ALSInt
379 * ALSBasicRelationTerm returns ALSInt
380 *
381 * Constraint:
382 * {ALSInt}
383 */
384 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSInt semanticObject) {
385 genericSequencer.createSequence(context, semanticObject);
386 }
387
388
389 /**
390 * Contexts:
391 * ALSTerm returns ALSNone
392 * ALSQuantified returns ALSNone
393 * ALSOr returns ALSNone
394 * ALSOr.ALSOr_1_0 returns ALSNone
395 * ALSIff returns ALSNone
396 * ALSIff.ALSIff_1_0 returns ALSNone
397 * ALSImpl returns ALSNone
398 * ALSImpl.ALSImpl_1_0 returns ALSNone
399 * ALSAnd returns ALSNone
400 * ALSAnd.ALSAnd_1_0 returns ALSNone
401 * ALSComparison returns ALSNone
402 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNone
403 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNone
404 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNone
405 * ALSComparison.ALSLess_1_0_3_0 returns ALSNone
406 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNone
407 * ALSComparison.ALSMore_1_0_5_0 returns ALSNone
408 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNone
409 * ALSOverride returns ALSNone
410 * ALSOverride.ALSOverride_1_0 returns ALSNone
411 * ALSRangeRestrictionRight returns ALSNone
412 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNone
413 * ALSRangeRestrictionLeft returns ALSNone
414 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNone
415 * ALSJoin returns ALSNone
416 * ALSJoin.ALSJoin_1_0 returns ALSNone
417 * ALSMinus returns ALSNone
418 * ALSMinus.ALSMinus_1_0 returns ALSNone
419 * ALSPlus returns ALSNone
420 * ALSPlus.ALSPlus_1_0 returns ALSNone
421 * ALSIntersection returns ALSNone
422 * ALSIntersection.ALSIntersection_1_0 returns ALSNone
423 * ALSDirectProduct returns ALSNone
424 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNone
425 * ALSPreficed returns ALSNone
426 * ALSBasicRelationTerm returns ALSNone
427 *
428 * Constraint:
429 * {ALSNone}
430 */
431 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNone semanticObject) {
432 genericSequencer.createSequence(context, semanticObject);
433 }
434
435
436 /**
437 * Contexts:
438 * ALSTerm returns ALSNumberLiteral
439 * ALSQuantified returns ALSNumberLiteral
440 * ALSOr returns ALSNumberLiteral
441 * ALSOr.ALSOr_1_0 returns ALSNumberLiteral
442 * ALSIff returns ALSNumberLiteral
443 * ALSIff.ALSIff_1_0 returns ALSNumberLiteral
444 * ALSImpl returns ALSNumberLiteral
445 * ALSImpl.ALSImpl_1_0 returns ALSNumberLiteral
446 * ALSAnd returns ALSNumberLiteral
447 * ALSAnd.ALSAnd_1_0 returns ALSNumberLiteral
448 * ALSComparison returns ALSNumberLiteral
449 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNumberLiteral
450 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNumberLiteral
451 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNumberLiteral
452 * ALSComparison.ALSLess_1_0_3_0 returns ALSNumberLiteral
453 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNumberLiteral
454 * ALSComparison.ALSMore_1_0_5_0 returns ALSNumberLiteral
455 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNumberLiteral
456 * ALSOverride returns ALSNumberLiteral
457 * ALSOverride.ALSOverride_1_0 returns ALSNumberLiteral
458 * ALSRangeRestrictionRight returns ALSNumberLiteral
459 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNumberLiteral
460 * ALSRangeRestrictionLeft returns ALSNumberLiteral
461 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNumberLiteral
462 * ALSJoin returns ALSNumberLiteral
463 * ALSJoin.ALSJoin_1_0 returns ALSNumberLiteral
464 * ALSMinus returns ALSNumberLiteral
465 * ALSMinus.ALSMinus_1_0 returns ALSNumberLiteral
466 * ALSPlus returns ALSNumberLiteral
467 * ALSPlus.ALSPlus_1_0 returns ALSNumberLiteral
468 * ALSIntersection returns ALSNumberLiteral
469 * ALSIntersection.ALSIntersection_1_0 returns ALSNumberLiteral
470 * ALSDirectProduct returns ALSNumberLiteral
471 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNumberLiteral
472 * ALSPreficed returns ALSNumberLiteral
473 * ALSBasicRelationTerm returns ALSNumberLiteral
474 *
475 * Constraint:
476 * value=INT
477 */
478 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNumberLiteral semanticObject) {
479 if (errorAcceptor != null) {
480 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE) == ValueTransient.YES)
481 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE));
482 }
483 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
484 feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0(), semanticObject.getValue());
485 feeder.finish();
486 }
487
488
489 /**
490 * Contexts:
491 * ALSTerm returns ALSReference
492 * ALSQuantified returns ALSReference
493 * ALSOr returns ALSReference
494 * ALSOr.ALSOr_1_0 returns ALSReference
495 * ALSIff returns ALSReference
496 * ALSIff.ALSIff_1_0 returns ALSReference
497 * ALSImpl returns ALSReference
498 * ALSImpl.ALSImpl_1_0 returns ALSReference
499 * ALSAnd returns ALSReference
500 * ALSAnd.ALSAnd_1_0 returns ALSReference
501 * ALSComparison returns ALSReference
502 * ALSComparison.ALSEquals_1_0_0_0 returns ALSReference
503 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReference
504 * ALSComparison.ALSSubset_1_0_2_0 returns ALSReference
505 * ALSComparison.ALSLess_1_0_3_0 returns ALSReference
506 * ALSComparison.ALSLeq_1_0_4_0 returns ALSReference
507 * ALSComparison.ALSMore_1_0_5_0 returns ALSReference
508 * ALSComparison.ALSMeq_1_0_6_0 returns ALSReference
509 * ALSOverride returns ALSReference
510 * ALSOverride.ALSOverride_1_0 returns ALSReference
511 * ALSRangeRestrictionRight returns ALSReference
512 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReference
513 * ALSRangeRestrictionLeft returns ALSReference
514 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReference
515 * ALSJoin returns ALSReference
516 * ALSJoin.ALSJoin_1_0 returns ALSReference
517 * ALSMinus returns ALSReference
518 * ALSMinus.ALSMinus_1_0 returns ALSReference
519 * ALSPlus returns ALSReference
520 * ALSPlus.ALSPlus_1_0 returns ALSReference
521 * ALSIntersection returns ALSReference
522 * ALSIntersection.ALSIntersection_1_0 returns ALSReference
523 * ALSDirectProduct returns ALSReference
524 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReference
525 * ALSPreficed returns ALSReference
526 * ALSBasicRelationTerm returns ALSReference
527 *
528 * Constraint:
529 * referred=[ALSRelationDeclaration|ID]
530 */
531 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSReference semanticObject) {
532 if (errorAcceptor != null) {
533 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED) == ValueTransient.YES)
534 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED));
535 }
536 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
537 feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1(), semanticObject.eGet(AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED, false));
538 feeder.finish();
539 }
540
541
542 /**
543 * Contexts:
544 * ALSTerm returns ALSString
545 * ALSQuantified returns ALSString
546 * ALSOr returns ALSString
547 * ALSOr.ALSOr_1_0 returns ALSString
548 * ALSIff returns ALSString
549 * ALSIff.ALSIff_1_0 returns ALSString
550 * ALSImpl returns ALSString
551 * ALSImpl.ALSImpl_1_0 returns ALSString
552 * ALSAnd returns ALSString
553 * ALSAnd.ALSAnd_1_0 returns ALSString
554 * ALSComparison returns ALSString
555 * ALSComparison.ALSEquals_1_0_0_0 returns ALSString
556 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSString
557 * ALSComparison.ALSSubset_1_0_2_0 returns ALSString
558 * ALSComparison.ALSLess_1_0_3_0 returns ALSString
559 * ALSComparison.ALSLeq_1_0_4_0 returns ALSString
560 * ALSComparison.ALSMore_1_0_5_0 returns ALSString
561 * ALSComparison.ALSMeq_1_0_6_0 returns ALSString
562 * ALSOverride returns ALSString
563 * ALSOverride.ALSOverride_1_0 returns ALSString
564 * ALSRangeRestrictionRight returns ALSString
565 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSString
566 * ALSRangeRestrictionLeft returns ALSString
567 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSString
568 * ALSJoin returns ALSString
569 * ALSJoin.ALSJoin_1_0 returns ALSString
570 * ALSMinus returns ALSString
571 * ALSMinus.ALSMinus_1_0 returns ALSString
572 * ALSPlus returns ALSString
573 * ALSPlus.ALSPlus_1_0 returns ALSString
574 * ALSIntersection returns ALSString
575 * ALSIntersection.ALSIntersection_1_0 returns ALSString
576 * ALSDirectProduct returns ALSString
577 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSString
578 * ALSPreficed returns ALSString
579 * ALSBasicRelationTerm returns ALSString
580 *
581 * Constraint:
582 * {ALSString}
583 */
584 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSString semanticObject) {
585 genericSequencer.createSequence(context, semanticObject);
586 }
587
588
589 /**
590 * Contexts:
591 * ALSTerm returns ALSStringLiteral
592 * ALSQuantified returns ALSStringLiteral
593 * ALSOr returns ALSStringLiteral
594 * ALSOr.ALSOr_1_0 returns ALSStringLiteral
595 * ALSIff returns ALSStringLiteral
596 * ALSIff.ALSIff_1_0 returns ALSStringLiteral
597 * ALSImpl returns ALSStringLiteral
598 * ALSImpl.ALSImpl_1_0 returns ALSStringLiteral
599 * ALSAnd returns ALSStringLiteral
600 * ALSAnd.ALSAnd_1_0 returns ALSStringLiteral
601 * ALSComparison returns ALSStringLiteral
602 * ALSComparison.ALSEquals_1_0_0_0 returns ALSStringLiteral
603 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSStringLiteral
604 * ALSComparison.ALSSubset_1_0_2_0 returns ALSStringLiteral
605 * ALSComparison.ALSLess_1_0_3_0 returns ALSStringLiteral
606 * ALSComparison.ALSLeq_1_0_4_0 returns ALSStringLiteral
607 * ALSComparison.ALSMore_1_0_5_0 returns ALSStringLiteral
608 * ALSComparison.ALSMeq_1_0_6_0 returns ALSStringLiteral
609 * ALSOverride returns ALSStringLiteral
610 * ALSOverride.ALSOverride_1_0 returns ALSStringLiteral
611 * ALSRangeRestrictionRight returns ALSStringLiteral
612 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSStringLiteral
613 * ALSRangeRestrictionLeft returns ALSStringLiteral
614 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSStringLiteral
615 * ALSJoin returns ALSStringLiteral
616 * ALSJoin.ALSJoin_1_0 returns ALSStringLiteral
617 * ALSMinus returns ALSStringLiteral
618 * ALSMinus.ALSMinus_1_0 returns ALSStringLiteral
619 * ALSPlus returns ALSStringLiteral
620 * ALSPlus.ALSPlus_1_0 returns ALSStringLiteral
621 * ALSIntersection returns ALSStringLiteral
622 * ALSIntersection.ALSIntersection_1_0 returns ALSStringLiteral
623 * ALSDirectProduct returns ALSStringLiteral
624 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSStringLiteral
625 * ALSPreficed returns ALSStringLiteral
626 * ALSBasicRelationTerm returns ALSStringLiteral
627 *
628 * Constraint:
629 * value=STRING
630 */
631 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSStringLiteral semanticObject) {
632 if (errorAcceptor != null) {
633 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_STRING_LITERAL__VALUE) == ValueTransient.YES)
634 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_STRING_LITERAL__VALUE));
635 }
636 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
637 feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0(), semanticObject.getValue());
638 feeder.finish();
639 }
640
641
642 /**
643 * Contexts:
644 * ALSTerm returns ALSUniv
645 * ALSQuantified returns ALSUniv
646 * ALSOr returns ALSUniv
647 * ALSOr.ALSOr_1_0 returns ALSUniv
648 * ALSIff returns ALSUniv
649 * ALSIff.ALSIff_1_0 returns ALSUniv
650 * ALSImpl returns ALSUniv
651 * ALSImpl.ALSImpl_1_0 returns ALSUniv
652 * ALSAnd returns ALSUniv
653 * ALSAnd.ALSAnd_1_0 returns ALSUniv
654 * ALSComparison returns ALSUniv
655 * ALSComparison.ALSEquals_1_0_0_0 returns ALSUniv
656 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUniv
657 * ALSComparison.ALSSubset_1_0_2_0 returns ALSUniv
658 * ALSComparison.ALSLess_1_0_3_0 returns ALSUniv
659 * ALSComparison.ALSLeq_1_0_4_0 returns ALSUniv
660 * ALSComparison.ALSMore_1_0_5_0 returns ALSUniv
661 * ALSComparison.ALSMeq_1_0_6_0 returns ALSUniv
662 * ALSOverride returns ALSUniv
663 * ALSOverride.ALSOverride_1_0 returns ALSUniv
664 * ALSRangeRestrictionRight returns ALSUniv
665 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUniv
666 * ALSRangeRestrictionLeft returns ALSUniv
667 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUniv
668 * ALSJoin returns ALSUniv
669 * ALSJoin.ALSJoin_1_0 returns ALSUniv
670 * ALSMinus returns ALSUniv
671 * ALSMinus.ALSMinus_1_0 returns ALSUniv
672 * ALSPlus returns ALSUniv
673 * ALSPlus.ALSPlus_1_0 returns ALSUniv
674 * ALSIntersection returns ALSUniv
675 * ALSIntersection.ALSIntersection_1_0 returns ALSUniv
676 * ALSDirectProduct returns ALSUniv
677 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUniv
678 * ALSPreficed returns ALSUniv
679 * ALSBasicRelationTerm returns ALSUniv
680 *
681 * Constraint:
682 * {ALSUniv}
683 */
684 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSUniv semanticObject) {
685 genericSequencer.createSequence(context, semanticObject);
686 }
687
688
689 /**
690 * Contexts:
691 * ALSTerm returns ALSEquals
692 * ALSQuantified returns ALSEquals
693 * ALSOr returns ALSEquals
694 * ALSOr.ALSOr_1_0 returns ALSEquals
695 * ALSIff returns ALSEquals
696 * ALSIff.ALSIff_1_0 returns ALSEquals
697 * ALSImpl returns ALSEquals
698 * ALSImpl.ALSImpl_1_0 returns ALSEquals
699 * ALSAnd returns ALSEquals
700 * ALSAnd.ALSAnd_1_0 returns ALSEquals
701 * ALSComparison returns ALSEquals
702 * ALSComparison.ALSEquals_1_0_0_0 returns ALSEquals
703 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSEquals
704 * ALSComparison.ALSSubset_1_0_2_0 returns ALSEquals
705 * ALSComparison.ALSLess_1_0_3_0 returns ALSEquals
706 * ALSComparison.ALSLeq_1_0_4_0 returns ALSEquals
707 * ALSComparison.ALSMore_1_0_5_0 returns ALSEquals
708 * ALSComparison.ALSMeq_1_0_6_0 returns ALSEquals
709 * ALSOverride returns ALSEquals
710 * ALSOverride.ALSOverride_1_0 returns ALSEquals
711 * ALSRangeRestrictionRight returns ALSEquals
712 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSEquals
713 * ALSRangeRestrictionLeft returns ALSEquals
714 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSEquals
715 * ALSJoin returns ALSEquals
716 * ALSJoin.ALSJoin_1_0 returns ALSEquals
717 * ALSMinus returns ALSEquals
718 * ALSMinus.ALSMinus_1_0 returns ALSEquals
719 * ALSPlus returns ALSEquals
720 * ALSPlus.ALSPlus_1_0 returns ALSEquals
721 * ALSIntersection returns ALSEquals
722 * ALSIntersection.ALSIntersection_1_0 returns ALSEquals
723 * ALSDirectProduct returns ALSEquals
724 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSEquals
725 * ALSPreficed returns ALSEquals
726 * ALSBasicRelationTerm returns ALSEquals
727 *
728 * Constraint:
729 * (leftOperand=ALSComparison_ALSEquals_1_0_0_0 rightOperand=ALSOverride)
730 */
731 protected void sequence_ALSComparison(ISerializationContext context, ALSEquals semanticObject) {
732 if (errorAcceptor != null) {
733 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND) == ValueTransient.YES)
734 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND));
735 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND) == ValueTransient.YES)
736 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND));
737 }
738 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
739 feeder.accept(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(), semanticObject.getLeftOperand());
740 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
741 feeder.finish();
742 }
743
744
745 /**
746 * Contexts:
747 * ALSTerm returns ALSLeq
748 * ALSQuantified returns ALSLeq
749 * ALSOr returns ALSLeq
750 * ALSOr.ALSOr_1_0 returns ALSLeq
751 * ALSIff returns ALSLeq
752 * ALSIff.ALSIff_1_0 returns ALSLeq
753 * ALSImpl returns ALSLeq
754 * ALSImpl.ALSImpl_1_0 returns ALSLeq
755 * ALSAnd returns ALSLeq
756 * ALSAnd.ALSAnd_1_0 returns ALSLeq
757 * ALSComparison returns ALSLeq
758 * ALSComparison.ALSEquals_1_0_0_0 returns ALSLeq
759 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLeq
760 * ALSComparison.ALSSubset_1_0_2_0 returns ALSLeq
761 * ALSComparison.ALSLess_1_0_3_0 returns ALSLeq
762 * ALSComparison.ALSLeq_1_0_4_0 returns ALSLeq
763 * ALSComparison.ALSMore_1_0_5_0 returns ALSLeq
764 * ALSComparison.ALSMeq_1_0_6_0 returns ALSLeq
765 * ALSOverride returns ALSLeq
766 * ALSOverride.ALSOverride_1_0 returns ALSLeq
767 * ALSRangeRestrictionRight returns ALSLeq
768 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLeq
769 * ALSRangeRestrictionLeft returns ALSLeq
770 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLeq
771 * ALSJoin returns ALSLeq
772 * ALSJoin.ALSJoin_1_0 returns ALSLeq
773 * ALSMinus returns ALSLeq
774 * ALSMinus.ALSMinus_1_0 returns ALSLeq
775 * ALSPlus returns ALSLeq
776 * ALSPlus.ALSPlus_1_0 returns ALSLeq
777 * ALSIntersection returns ALSLeq
778 * ALSIntersection.ALSIntersection_1_0 returns ALSLeq
779 * ALSDirectProduct returns ALSLeq
780 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLeq
781 * ALSPreficed returns ALSLeq
782 * ALSBasicRelationTerm returns ALSLeq
783 *
784 * Constraint:
785 * (leftOperand=ALSComparison_ALSLeq_1_0_4_0 rightOperand=ALSOverride)
786 */
787 protected void sequence_ALSComparison(ISerializationContext context, ALSLeq semanticObject) {
788 if (errorAcceptor != null) {
789 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND) == ValueTransient.YES)
790 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND));
791 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND) == ValueTransient.YES)
792 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND));
793 }
794 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
795 feeder.accept(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(), semanticObject.getLeftOperand());
796 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
797 feeder.finish();
798 }
799
800
801 /**
802 * Contexts:
803 * ALSTerm returns ALSLess
804 * ALSQuantified returns ALSLess
805 * ALSOr returns ALSLess
806 * ALSOr.ALSOr_1_0 returns ALSLess
807 * ALSIff returns ALSLess
808 * ALSIff.ALSIff_1_0 returns ALSLess
809 * ALSImpl returns ALSLess
810 * ALSImpl.ALSImpl_1_0 returns ALSLess
811 * ALSAnd returns ALSLess
812 * ALSAnd.ALSAnd_1_0 returns ALSLess
813 * ALSComparison returns ALSLess
814 * ALSComparison.ALSEquals_1_0_0_0 returns ALSLess
815 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLess
816 * ALSComparison.ALSSubset_1_0_2_0 returns ALSLess
817 * ALSComparison.ALSLess_1_0_3_0 returns ALSLess
818 * ALSComparison.ALSLeq_1_0_4_0 returns ALSLess
819 * ALSComparison.ALSMore_1_0_5_0 returns ALSLess
820 * ALSComparison.ALSMeq_1_0_6_0 returns ALSLess
821 * ALSOverride returns ALSLess
822 * ALSOverride.ALSOverride_1_0 returns ALSLess
823 * ALSRangeRestrictionRight returns ALSLess
824 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLess
825 * ALSRangeRestrictionLeft returns ALSLess
826 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLess
827 * ALSJoin returns ALSLess
828 * ALSJoin.ALSJoin_1_0 returns ALSLess
829 * ALSMinus returns ALSLess
830 * ALSMinus.ALSMinus_1_0 returns ALSLess
831 * ALSPlus returns ALSLess
832 * ALSPlus.ALSPlus_1_0 returns ALSLess
833 * ALSIntersection returns ALSLess
834 * ALSIntersection.ALSIntersection_1_0 returns ALSLess
835 * ALSDirectProduct returns ALSLess
836 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLess
837 * ALSPreficed returns ALSLess
838 * ALSBasicRelationTerm returns ALSLess
839 *
840 * Constraint:
841 * (leftOperand=ALSComparison_ALSLess_1_0_3_0 rightOperand=ALSOverride)
842 */
843 protected void sequence_ALSComparison(ISerializationContext context, ALSLess semanticObject) {
844 if (errorAcceptor != null) {
845 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND) == ValueTransient.YES)
846 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND));
847 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND) == ValueTransient.YES)
848 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND));
849 }
850 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
851 feeder.accept(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(), semanticObject.getLeftOperand());
852 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
853 feeder.finish();
854 }
855
856
857 /**
858 * Contexts:
859 * ALSTerm returns ALSMeq
860 * ALSQuantified returns ALSMeq
861 * ALSOr returns ALSMeq
862 * ALSOr.ALSOr_1_0 returns ALSMeq
863 * ALSIff returns ALSMeq
864 * ALSIff.ALSIff_1_0 returns ALSMeq
865 * ALSImpl returns ALSMeq
866 * ALSImpl.ALSImpl_1_0 returns ALSMeq
867 * ALSAnd returns ALSMeq
868 * ALSAnd.ALSAnd_1_0 returns ALSMeq
869 * ALSComparison returns ALSMeq
870 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMeq
871 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMeq
872 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMeq
873 * ALSComparison.ALSLess_1_0_3_0 returns ALSMeq
874 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMeq
875 * ALSComparison.ALSMore_1_0_5_0 returns ALSMeq
876 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMeq
877 * ALSOverride returns ALSMeq
878 * ALSOverride.ALSOverride_1_0 returns ALSMeq
879 * ALSRangeRestrictionRight returns ALSMeq
880 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMeq
881 * ALSRangeRestrictionLeft returns ALSMeq
882 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMeq
883 * ALSJoin returns ALSMeq
884 * ALSJoin.ALSJoin_1_0 returns ALSMeq
885 * ALSMinus returns ALSMeq
886 * ALSMinus.ALSMinus_1_0 returns ALSMeq
887 * ALSPlus returns ALSMeq
888 * ALSPlus.ALSPlus_1_0 returns ALSMeq
889 * ALSIntersection returns ALSMeq
890 * ALSIntersection.ALSIntersection_1_0 returns ALSMeq
891 * ALSDirectProduct returns ALSMeq
892 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMeq
893 * ALSPreficed returns ALSMeq
894 * ALSBasicRelationTerm returns ALSMeq
895 *
896 * Constraint:
897 * (leftOperand=ALSComparison_ALSMeq_1_0_6_0 rightOperand=ALSOverride)
898 */
899 protected void sequence_ALSComparison(ISerializationContext context, ALSMeq semanticObject) {
900 if (errorAcceptor != null) {
901 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND) == ValueTransient.YES)
902 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND));
903 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND) == ValueTransient.YES)
904 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND));
905 }
906 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
907 feeder.accept(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(), semanticObject.getLeftOperand());
908 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
909 feeder.finish();
910 }
911
912
913 /**
914 * Contexts:
915 * ALSTerm returns ALSMore
916 * ALSQuantified returns ALSMore
917 * ALSOr returns ALSMore
918 * ALSOr.ALSOr_1_0 returns ALSMore
919 * ALSIff returns ALSMore
920 * ALSIff.ALSIff_1_0 returns ALSMore
921 * ALSImpl returns ALSMore
922 * ALSImpl.ALSImpl_1_0 returns ALSMore
923 * ALSAnd returns ALSMore
924 * ALSAnd.ALSAnd_1_0 returns ALSMore
925 * ALSComparison returns ALSMore
926 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMore
927 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMore
928 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMore
929 * ALSComparison.ALSLess_1_0_3_0 returns ALSMore
930 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMore
931 * ALSComparison.ALSMore_1_0_5_0 returns ALSMore
932 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMore
933 * ALSOverride returns ALSMore
934 * ALSOverride.ALSOverride_1_0 returns ALSMore
935 * ALSRangeRestrictionRight returns ALSMore
936 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMore
937 * ALSRangeRestrictionLeft returns ALSMore
938 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMore
939 * ALSJoin returns ALSMore
940 * ALSJoin.ALSJoin_1_0 returns ALSMore
941 * ALSMinus returns ALSMore
942 * ALSMinus.ALSMinus_1_0 returns ALSMore
943 * ALSPlus returns ALSMore
944 * ALSPlus.ALSPlus_1_0 returns ALSMore
945 * ALSIntersection returns ALSMore
946 * ALSIntersection.ALSIntersection_1_0 returns ALSMore
947 * ALSDirectProduct returns ALSMore
948 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMore
949 * ALSPreficed returns ALSMore
950 * ALSBasicRelationTerm returns ALSMore
951 *
952 * Constraint:
953 * (leftOperand=ALSComparison_ALSMore_1_0_5_0 rightOperand=ALSOverride)
954 */
955 protected void sequence_ALSComparison(ISerializationContext context, ALSMore semanticObject) {
956 if (errorAcceptor != null) {
957 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND) == ValueTransient.YES)
958 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND));
959 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND) == ValueTransient.YES)
960 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND));
961 }
962 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
963 feeder.accept(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(), semanticObject.getLeftOperand());
964 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
965 feeder.finish();
966 }
967
968
969 /**
970 * Contexts:
971 * ALSTerm returns ALSNotEquals
972 * ALSQuantified returns ALSNotEquals
973 * ALSOr returns ALSNotEquals
974 * ALSOr.ALSOr_1_0 returns ALSNotEquals
975 * ALSIff returns ALSNotEquals
976 * ALSIff.ALSIff_1_0 returns ALSNotEquals
977 * ALSImpl returns ALSNotEquals
978 * ALSImpl.ALSImpl_1_0 returns ALSNotEquals
979 * ALSAnd returns ALSNotEquals
980 * ALSAnd.ALSAnd_1_0 returns ALSNotEquals
981 * ALSComparison returns ALSNotEquals
982 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNotEquals
983 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNotEquals
984 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNotEquals
985 * ALSComparison.ALSLess_1_0_3_0 returns ALSNotEquals
986 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNotEquals
987 * ALSComparison.ALSMore_1_0_5_0 returns ALSNotEquals
988 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNotEquals
989 * ALSOverride returns ALSNotEquals
990 * ALSOverride.ALSOverride_1_0 returns ALSNotEquals
991 * ALSRangeRestrictionRight returns ALSNotEquals
992 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNotEquals
993 * ALSRangeRestrictionLeft returns ALSNotEquals
994 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNotEquals
995 * ALSJoin returns ALSNotEquals
996 * ALSJoin.ALSJoin_1_0 returns ALSNotEquals
997 * ALSMinus returns ALSNotEquals
998 * ALSMinus.ALSMinus_1_0 returns ALSNotEquals
999 * ALSPlus returns ALSNotEquals
1000 * ALSPlus.ALSPlus_1_0 returns ALSNotEquals
1001 * ALSIntersection returns ALSNotEquals
1002 * ALSIntersection.ALSIntersection_1_0 returns ALSNotEquals
1003 * ALSDirectProduct returns ALSNotEquals
1004 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNotEquals
1005 * ALSPreficed returns ALSNotEquals
1006 * ALSBasicRelationTerm returns ALSNotEquals
1007 *
1008 * Constraint:
1009 * (leftOperand=ALSComparison_ALSNotEquals_1_0_1_0 rightOperand=ALSOverride)
1010 */
1011 protected void sequence_ALSComparison(ISerializationContext context, ALSNotEquals semanticObject) {
1012 if (errorAcceptor != null) {
1013 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND) == ValueTransient.YES)
1014 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND));
1015 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND) == ValueTransient.YES)
1016 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND));
1017 }
1018 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1019 feeder.accept(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(), semanticObject.getLeftOperand());
1020 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
1021 feeder.finish();
1022 }
1023
1024
1025 /**
1026 * Contexts:
1027 * ALSTerm returns ALSSubset
1028 * ALSQuantified returns ALSSubset
1029 * ALSOr returns ALSSubset
1030 * ALSOr.ALSOr_1_0 returns ALSSubset
1031 * ALSIff returns ALSSubset
1032 * ALSIff.ALSIff_1_0 returns ALSSubset
1033 * ALSImpl returns ALSSubset
1034 * ALSImpl.ALSImpl_1_0 returns ALSSubset
1035 * ALSAnd returns ALSSubset
1036 * ALSAnd.ALSAnd_1_0 returns ALSSubset
1037 * ALSComparison returns ALSSubset
1038 * ALSComparison.ALSEquals_1_0_0_0 returns ALSSubset
1039 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSubset
1040 * ALSComparison.ALSSubset_1_0_2_0 returns ALSSubset
1041 * ALSComparison.ALSLess_1_0_3_0 returns ALSSubset
1042 * ALSComparison.ALSLeq_1_0_4_0 returns ALSSubset
1043 * ALSComparison.ALSMore_1_0_5_0 returns ALSSubset
1044 * ALSComparison.ALSMeq_1_0_6_0 returns ALSSubset
1045 * ALSOverride returns ALSSubset
1046 * ALSOverride.ALSOverride_1_0 returns ALSSubset
1047 * ALSRangeRestrictionRight returns ALSSubset
1048 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSubset
1049 * ALSRangeRestrictionLeft returns ALSSubset
1050 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSubset
1051 * ALSJoin returns ALSSubset
1052 * ALSJoin.ALSJoin_1_0 returns ALSSubset
1053 * ALSMinus returns ALSSubset
1054 * ALSMinus.ALSMinus_1_0 returns ALSSubset
1055 * ALSPlus returns ALSSubset
1056 * ALSPlus.ALSPlus_1_0 returns ALSSubset
1057 * ALSIntersection returns ALSSubset
1058 * ALSIntersection.ALSIntersection_1_0 returns ALSSubset
1059 * ALSDirectProduct returns ALSSubset
1060 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSubset
1061 * ALSPreficed returns ALSSubset
1062 * ALSBasicRelationTerm returns ALSSubset
1063 *
1064 * Constraint:
1065 * (leftOperand=ALSComparison_ALSSubset_1_0_2_0 rightOperand=ALSOverride)
1066 */
1067 protected void sequence_ALSComparison(ISerializationContext context, ALSSubset semanticObject) {
1068 if (errorAcceptor != null) {
1069 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND) == ValueTransient.YES)
1070 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND));
1071 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND) == ValueTransient.YES)
1072 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND));
1073 }
1074 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1075 feeder.accept(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(), semanticObject.getLeftOperand());
1076 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
1077 feeder.finish();
1078 }
1079
1080
1081 /**
1082 * Contexts:
1083 * ALSTerm returns ALSDirectProduct
1084 * ALSQuantified returns ALSDirectProduct
1085 * ALSOr returns ALSDirectProduct
1086 * ALSOr.ALSOr_1_0 returns ALSDirectProduct
1087 * ALSIff returns ALSDirectProduct
1088 * ALSIff.ALSIff_1_0 returns ALSDirectProduct
1089 * ALSImpl returns ALSDirectProduct
1090 * ALSImpl.ALSImpl_1_0 returns ALSDirectProduct
1091 * ALSAnd returns ALSDirectProduct
1092 * ALSAnd.ALSAnd_1_0 returns ALSDirectProduct
1093 * ALSComparison returns ALSDirectProduct
1094 * ALSComparison.ALSEquals_1_0_0_0 returns ALSDirectProduct
1095 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSDirectProduct
1096 * ALSComparison.ALSSubset_1_0_2_0 returns ALSDirectProduct
1097 * ALSComparison.ALSLess_1_0_3_0 returns ALSDirectProduct
1098 * ALSComparison.ALSLeq_1_0_4_0 returns ALSDirectProduct
1099 * ALSComparison.ALSMore_1_0_5_0 returns ALSDirectProduct
1100 * ALSComparison.ALSMeq_1_0_6_0 returns ALSDirectProduct
1101 * ALSOverride returns ALSDirectProduct
1102 * ALSOverride.ALSOverride_1_0 returns ALSDirectProduct
1103 * ALSRangeRestrictionRight returns ALSDirectProduct
1104 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSDirectProduct
1105 * ALSRangeRestrictionLeft returns ALSDirectProduct
1106 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSDirectProduct
1107 * ALSJoin returns ALSDirectProduct
1108 * ALSJoin.ALSJoin_1_0 returns ALSDirectProduct
1109 * ALSMinus returns ALSDirectProduct
1110 * ALSMinus.ALSMinus_1_0 returns ALSDirectProduct
1111 * ALSPlus returns ALSDirectProduct
1112 * ALSPlus.ALSPlus_1_0 returns ALSDirectProduct
1113 * ALSIntersection returns ALSDirectProduct
1114 * ALSIntersection.ALSIntersection_1_0 returns ALSDirectProduct
1115 * ALSDirectProduct returns ALSDirectProduct
1116 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSDirectProduct
1117 * ALSPreficed returns ALSDirectProduct
1118 * ALSBasicRelationTerm returns ALSDirectProduct
1119 *
1120 * Constraint:
1121 * (leftOperand=ALSDirectProduct_ALSDirectProduct_1_0 leftMultiplicit=ALSMultiplicity? rightMultiplicit=ALSMultiplicity? rightOperand=ALSPreficed)
1122 */
1123 protected void sequence_ALSDirectProduct(ISerializationContext context, ALSDirectProduct semanticObject) {
1124 genericSequencer.createSequence(context, semanticObject);
1125 }
1126
1127
1128 /**
1129 * Contexts:
1130 * ALSDocument returns ALSDocument
1131 *
1132 * Constraint:
1133 * (
1134 * (
1135 * enumDeclarations+=ALSEnumDeclaration |
1136 * signatureBodies+=ALSSignatureBody |
1137 * functionDefinitions+=ALSFunctionDefinition |
1138 * relationDefinitions+=ALSRelationDefinition |
1139 * factDeclarations+=ALSFactDeclaration
1140 * )+
1141 * runCommand=ALSRunCommand
1142 * )
1143 */
1144 protected void sequence_ALSDocument(ISerializationContext context, ALSDocument semanticObject) {
1145 genericSequencer.createSequence(context, semanticObject);
1146 }
1147
1148
1149 /**
1150 * Contexts:
1151 * ALSRelationDeclaration returns ALSEnumDeclaration
1152 * ALSTypeDeclaration returns ALSEnumDeclaration
1153 * ALSEnumDeclaration returns ALSEnumDeclaration
1154 *
1155 * Constraint:
1156 * (name=ALSID literal+=ALSEnumLiteral literal+=ALSEnumLiteral*)
1157 */
1158 protected void sequence_ALSEnumDeclaration(ISerializationContext context, ALSEnumDeclaration semanticObject) {
1159 genericSequencer.createSequence(context, semanticObject);
1160 }
1161
1162
1163 /**
1164 * Contexts:
1165 * ALSRelationDeclaration returns ALSEnumLiteral
1166 * ALSEnumLiteral returns ALSEnumLiteral
1167 *
1168 * Constraint:
1169 * name=ALSID
1170 */
1171 protected void sequence_ALSEnumLiteral(ISerializationContext context, ALSEnumLiteral semanticObject) {
1172 if (errorAcceptor != null) {
1173 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
1174 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
1175 }
1176 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1177 feeder.accept(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName());
1178 feeder.finish();
1179 }
1180
1181
1182 /**
1183 * Contexts:
1184 * ALSFactDeclaration returns ALSFactDeclaration
1185 *
1186 * Constraint:
1187 * (name=ALSID? term=ALSTerm)
1188 */
1189 protected void sequence_ALSFactDeclaration(ISerializationContext context, ALSFactDeclaration semanticObject) {
1190 genericSequencer.createSequence(context, semanticObject);
1191 }
1192
1193
1194 /**
1195 * Contexts:
1196 * ALSRelationDeclaration returns ALSFieldDeclaration
1197 * ALSFieldDeclaration returns ALSFieldDeclaration
1198 *
1199 * Constraint:
1200 * (name=ALSID multiplicity=ALSMultiplicity? type=ALSTerm)
1201 */
1202 protected void sequence_ALSFieldDeclaration(ISerializationContext context, ALSFieldDeclaration semanticObject) {
1203 genericSequencer.createSequence(context, semanticObject);
1204 }
1205
1206
1207 /**
1208 * Contexts:
1209 * ALSDefinition returns ALSFunctionDefinition
1210 * ALSFunctionDefinition returns ALSFunctionDefinition
1211 *
1212 * Constraint:
1213 * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* type=ALSTerm value=ALSTerm)
1214 */
1215 protected void sequence_ALSFunctionDefinition(ISerializationContext context, ALSFunctionDefinition semanticObject) {
1216 genericSequencer.createSequence(context, semanticObject);
1217 }
1218
1219
1220 /**
1221 * Contexts:
1222 * ALSTerm returns ALSIff
1223 * ALSQuantified returns ALSIff
1224 * ALSOr returns ALSIff
1225 * ALSOr.ALSOr_1_0 returns ALSIff
1226 * ALSIff returns ALSIff
1227 * ALSIff.ALSIff_1_0 returns ALSIff
1228 * ALSImpl returns ALSIff
1229 * ALSImpl.ALSImpl_1_0 returns ALSIff
1230 * ALSAnd returns ALSIff
1231 * ALSAnd.ALSAnd_1_0 returns ALSIff
1232 * ALSComparison returns ALSIff
1233 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIff
1234 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIff
1235 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIff
1236 * ALSComparison.ALSLess_1_0_3_0 returns ALSIff
1237 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIff
1238 * ALSComparison.ALSMore_1_0_5_0 returns ALSIff
1239 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIff
1240 * ALSOverride returns ALSIff
1241 * ALSOverride.ALSOverride_1_0 returns ALSIff
1242 * ALSRangeRestrictionRight returns ALSIff
1243 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIff
1244 * ALSRangeRestrictionLeft returns ALSIff
1245 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIff
1246 * ALSJoin returns ALSIff
1247 * ALSJoin.ALSJoin_1_0 returns ALSIff
1248 * ALSMinus returns ALSIff
1249 * ALSMinus.ALSMinus_1_0 returns ALSIff
1250 * ALSPlus returns ALSIff
1251 * ALSPlus.ALSPlus_1_0 returns ALSIff
1252 * ALSIntersection returns ALSIff
1253 * ALSIntersection.ALSIntersection_1_0 returns ALSIff
1254 * ALSDirectProduct returns ALSIff
1255 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIff
1256 * ALSPreficed returns ALSIff
1257 * ALSBasicRelationTerm returns ALSIff
1258 *
1259 * Constraint:
1260 * (leftOperand=ALSIff_ALSIff_1_0 rightOperand=ALSImpl)
1261 */
1262 protected void sequence_ALSIff(ISerializationContext context, ALSIff semanticObject) {
1263 if (errorAcceptor != null) {
1264 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND) == ValueTransient.YES)
1265 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND));
1266 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND) == ValueTransient.YES)
1267 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND));
1268 }
1269 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1270 feeder.accept(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1271 feeder.accept(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1272 feeder.finish();
1273 }
1274
1275
1276 /**
1277 * Contexts:
1278 * ALSTerm returns ALSImpl
1279 * ALSQuantified returns ALSImpl
1280 * ALSOr returns ALSImpl
1281 * ALSOr.ALSOr_1_0 returns ALSImpl
1282 * ALSIff returns ALSImpl
1283 * ALSIff.ALSIff_1_0 returns ALSImpl
1284 * ALSImpl returns ALSImpl
1285 * ALSImpl.ALSImpl_1_0 returns ALSImpl
1286 * ALSAnd returns ALSImpl
1287 * ALSAnd.ALSAnd_1_0 returns ALSImpl
1288 * ALSComparison returns ALSImpl
1289 * ALSComparison.ALSEquals_1_0_0_0 returns ALSImpl
1290 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSImpl
1291 * ALSComparison.ALSSubset_1_0_2_0 returns ALSImpl
1292 * ALSComparison.ALSLess_1_0_3_0 returns ALSImpl
1293 * ALSComparison.ALSLeq_1_0_4_0 returns ALSImpl
1294 * ALSComparison.ALSMore_1_0_5_0 returns ALSImpl
1295 * ALSComparison.ALSMeq_1_0_6_0 returns ALSImpl
1296 * ALSOverride returns ALSImpl
1297 * ALSOverride.ALSOverride_1_0 returns ALSImpl
1298 * ALSRangeRestrictionRight returns ALSImpl
1299 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSImpl
1300 * ALSRangeRestrictionLeft returns ALSImpl
1301 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSImpl
1302 * ALSJoin returns ALSImpl
1303 * ALSJoin.ALSJoin_1_0 returns ALSImpl
1304 * ALSMinus returns ALSImpl
1305 * ALSMinus.ALSMinus_1_0 returns ALSImpl
1306 * ALSPlus returns ALSImpl
1307 * ALSPlus.ALSPlus_1_0 returns ALSImpl
1308 * ALSIntersection returns ALSImpl
1309 * ALSIntersection.ALSIntersection_1_0 returns ALSImpl
1310 * ALSDirectProduct returns ALSImpl
1311 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSImpl
1312 * ALSPreficed returns ALSImpl
1313 * ALSBasicRelationTerm returns ALSImpl
1314 *
1315 * Constraint:
1316 * (leftOperand=ALSImpl_ALSImpl_1_0 rightOperand=ALSAnd elseOperand=ALSAnd?)
1317 */
1318 protected void sequence_ALSImpl(ISerializationContext context, ALSImpl semanticObject) {
1319 genericSequencer.createSequence(context, semanticObject);
1320 }
1321
1322
1323 /**
1324 * Contexts:
1325 * ALSTypeScope returns ALSIntScope
1326 * ALSIntScope returns ALSIntScope
1327 *
1328 * Constraint:
1329 * number=INT
1330 */
1331 protected void sequence_ALSIntScope(ISerializationContext context, ALSIntScope semanticObject) {
1332 if (errorAcceptor != null) {
1333 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER) == ValueTransient.YES)
1334 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER));
1335 }
1336 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1337 feeder.accept(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0(), semanticObject.getNumber());
1338 feeder.finish();
1339 }
1340
1341
1342 /**
1343 * Contexts:
1344 * ALSTerm returns ALSIntersection
1345 * ALSQuantified returns ALSIntersection
1346 * ALSOr returns ALSIntersection
1347 * ALSOr.ALSOr_1_0 returns ALSIntersection
1348 * ALSIff returns ALSIntersection
1349 * ALSIff.ALSIff_1_0 returns ALSIntersection
1350 * ALSImpl returns ALSIntersection
1351 * ALSImpl.ALSImpl_1_0 returns ALSIntersection
1352 * ALSAnd returns ALSIntersection
1353 * ALSAnd.ALSAnd_1_0 returns ALSIntersection
1354 * ALSComparison returns ALSIntersection
1355 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIntersection
1356 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIntersection
1357 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIntersection
1358 * ALSComparison.ALSLess_1_0_3_0 returns ALSIntersection
1359 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIntersection
1360 * ALSComparison.ALSMore_1_0_5_0 returns ALSIntersection
1361 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIntersection
1362 * ALSOverride returns ALSIntersection
1363 * ALSOverride.ALSOverride_1_0 returns ALSIntersection
1364 * ALSRangeRestrictionRight returns ALSIntersection
1365 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIntersection
1366 * ALSRangeRestrictionLeft returns ALSIntersection
1367 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIntersection
1368 * ALSJoin returns ALSIntersection
1369 * ALSJoin.ALSJoin_1_0 returns ALSIntersection
1370 * ALSMinus returns ALSIntersection
1371 * ALSMinus.ALSMinus_1_0 returns ALSIntersection
1372 * ALSPlus returns ALSIntersection
1373 * ALSPlus.ALSPlus_1_0 returns ALSIntersection
1374 * ALSIntersection returns ALSIntersection
1375 * ALSIntersection.ALSIntersection_1_0 returns ALSIntersection
1376 * ALSDirectProduct returns ALSIntersection
1377 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIntersection
1378 * ALSPreficed returns ALSIntersection
1379 * ALSBasicRelationTerm returns ALSIntersection
1380 *
1381 * Constraint:
1382 * (leftOperand=ALSIntersection_ALSIntersection_1_0 rightOperand=ALSDirectProduct)
1383 */
1384 protected void sequence_ALSIntersection(ISerializationContext context, ALSIntersection semanticObject) {
1385 if (errorAcceptor != null) {
1386 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND) == ValueTransient.YES)
1387 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND));
1388 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND) == ValueTransient.YES)
1389 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND));
1390 }
1391 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1392 feeder.accept(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1393 feeder.accept(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1394 feeder.finish();
1395 }
1396
1397
1398 /**
1399 * Contexts:
1400 * ALSTerm returns ALSJoin
1401 * ALSQuantified returns ALSJoin
1402 * ALSOr returns ALSJoin
1403 * ALSOr.ALSOr_1_0 returns ALSJoin
1404 * ALSIff returns ALSJoin
1405 * ALSIff.ALSIff_1_0 returns ALSJoin
1406 * ALSImpl returns ALSJoin
1407 * ALSImpl.ALSImpl_1_0 returns ALSJoin
1408 * ALSAnd returns ALSJoin
1409 * ALSAnd.ALSAnd_1_0 returns ALSJoin
1410 * ALSComparison returns ALSJoin
1411 * ALSComparison.ALSEquals_1_0_0_0 returns ALSJoin
1412 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSJoin
1413 * ALSComparison.ALSSubset_1_0_2_0 returns ALSJoin
1414 * ALSComparison.ALSLess_1_0_3_0 returns ALSJoin
1415 * ALSComparison.ALSLeq_1_0_4_0 returns ALSJoin
1416 * ALSComparison.ALSMore_1_0_5_0 returns ALSJoin
1417 * ALSComparison.ALSMeq_1_0_6_0 returns ALSJoin
1418 * ALSOverride returns ALSJoin
1419 * ALSOverride.ALSOverride_1_0 returns ALSJoin
1420 * ALSRangeRestrictionRight returns ALSJoin
1421 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSJoin
1422 * ALSRangeRestrictionLeft returns ALSJoin
1423 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSJoin
1424 * ALSJoin returns ALSJoin
1425 * ALSJoin.ALSJoin_1_0 returns ALSJoin
1426 * ALSMinus returns ALSJoin
1427 * ALSMinus.ALSMinus_1_0 returns ALSJoin
1428 * ALSPlus returns ALSJoin
1429 * ALSPlus.ALSPlus_1_0 returns ALSJoin
1430 * ALSIntersection returns ALSJoin
1431 * ALSIntersection.ALSIntersection_1_0 returns ALSJoin
1432 * ALSDirectProduct returns ALSJoin
1433 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSJoin
1434 * ALSPreficed returns ALSJoin
1435 * ALSBasicRelationTerm returns ALSJoin
1436 *
1437 * Constraint:
1438 * (leftOperand=ALSJoin_ALSJoin_1_0 rightOperand=ALSMinus)
1439 */
1440 protected void sequence_ALSJoin(ISerializationContext context, ALSJoin semanticObject) {
1441 if (errorAcceptor != null) {
1442 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND) == ValueTransient.YES)
1443 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND));
1444 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND) == ValueTransient.YES)
1445 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND));
1446 }
1447 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1448 feeder.accept(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1449 feeder.accept(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1450 feeder.finish();
1451 }
1452
1453
1454 /**
1455 * Contexts:
1456 * ALSTerm returns ALSMinus
1457 * ALSQuantified returns ALSMinus
1458 * ALSOr returns ALSMinus
1459 * ALSOr.ALSOr_1_0 returns ALSMinus
1460 * ALSIff returns ALSMinus
1461 * ALSIff.ALSIff_1_0 returns ALSMinus
1462 * ALSImpl returns ALSMinus
1463 * ALSImpl.ALSImpl_1_0 returns ALSMinus
1464 * ALSAnd returns ALSMinus
1465 * ALSAnd.ALSAnd_1_0 returns ALSMinus
1466 * ALSComparison returns ALSMinus
1467 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMinus
1468 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMinus
1469 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMinus
1470 * ALSComparison.ALSLess_1_0_3_0 returns ALSMinus
1471 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMinus
1472 * ALSComparison.ALSMore_1_0_5_0 returns ALSMinus
1473 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMinus
1474 * ALSOverride returns ALSMinus
1475 * ALSOverride.ALSOverride_1_0 returns ALSMinus
1476 * ALSRangeRestrictionRight returns ALSMinus
1477 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMinus
1478 * ALSRangeRestrictionLeft returns ALSMinus
1479 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMinus
1480 * ALSJoin returns ALSMinus
1481 * ALSJoin.ALSJoin_1_0 returns ALSMinus
1482 * ALSMinus returns ALSMinus
1483 * ALSMinus.ALSMinus_1_0 returns ALSMinus
1484 * ALSPlus returns ALSMinus
1485 * ALSPlus.ALSPlus_1_0 returns ALSMinus
1486 * ALSIntersection returns ALSMinus
1487 * ALSIntersection.ALSIntersection_1_0 returns ALSMinus
1488 * ALSDirectProduct returns ALSMinus
1489 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMinus
1490 * ALSPreficed returns ALSMinus
1491 * ALSBasicRelationTerm returns ALSMinus
1492 *
1493 * Constraint:
1494 * (leftOperand=ALSMinus_ALSMinus_1_0 rightOperand=ALSPlus)
1495 */
1496 protected void sequence_ALSMinus(ISerializationContext context, ALSMinus semanticObject) {
1497 if (errorAcceptor != null) {
1498 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND) == ValueTransient.YES)
1499 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND));
1500 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND) == ValueTransient.YES)
1501 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND));
1502 }
1503 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1504 feeder.accept(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1505 feeder.accept(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1506 feeder.finish();
1507 }
1508
1509
1510 /**
1511 * Contexts:
1512 * ALSTerm returns ALSOr
1513 * ALSQuantified returns ALSOr
1514 * ALSOr returns ALSOr
1515 * ALSOr.ALSOr_1_0 returns ALSOr
1516 * ALSIff returns ALSOr
1517 * ALSIff.ALSIff_1_0 returns ALSOr
1518 * ALSImpl returns ALSOr
1519 * ALSImpl.ALSImpl_1_0 returns ALSOr
1520 * ALSAnd returns ALSOr
1521 * ALSAnd.ALSAnd_1_0 returns ALSOr
1522 * ALSComparison returns ALSOr
1523 * ALSComparison.ALSEquals_1_0_0_0 returns ALSOr
1524 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOr
1525 * ALSComparison.ALSSubset_1_0_2_0 returns ALSOr
1526 * ALSComparison.ALSLess_1_0_3_0 returns ALSOr
1527 * ALSComparison.ALSLeq_1_0_4_0 returns ALSOr
1528 * ALSComparison.ALSMore_1_0_5_0 returns ALSOr
1529 * ALSComparison.ALSMeq_1_0_6_0 returns ALSOr
1530 * ALSOverride returns ALSOr
1531 * ALSOverride.ALSOverride_1_0 returns ALSOr
1532 * ALSRangeRestrictionRight returns ALSOr
1533 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOr
1534 * ALSRangeRestrictionLeft returns ALSOr
1535 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOr
1536 * ALSJoin returns ALSOr
1537 * ALSJoin.ALSJoin_1_0 returns ALSOr
1538 * ALSMinus returns ALSOr
1539 * ALSMinus.ALSMinus_1_0 returns ALSOr
1540 * ALSPlus returns ALSOr
1541 * ALSPlus.ALSPlus_1_0 returns ALSOr
1542 * ALSIntersection returns ALSOr
1543 * ALSIntersection.ALSIntersection_1_0 returns ALSOr
1544 * ALSDirectProduct returns ALSOr
1545 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOr
1546 * ALSPreficed returns ALSOr
1547 * ALSBasicRelationTerm returns ALSOr
1548 *
1549 * Constraint:
1550 * (leftOperand=ALSOr_ALSOr_1_0 rightOperand=ALSIff)
1551 */
1552 protected void sequence_ALSOr(ISerializationContext context, ALSOr semanticObject) {
1553 if (errorAcceptor != null) {
1554 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND) == ValueTransient.YES)
1555 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND));
1556 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND) == ValueTransient.YES)
1557 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND));
1558 }
1559 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1560 feeder.accept(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1561 feeder.accept(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1562 feeder.finish();
1563 }
1564
1565
1566 /**
1567 * Contexts:
1568 * ALSTerm returns ALSOverride
1569 * ALSQuantified returns ALSOverride
1570 * ALSOr returns ALSOverride
1571 * ALSOr.ALSOr_1_0 returns ALSOverride
1572 * ALSIff returns ALSOverride
1573 * ALSIff.ALSIff_1_0 returns ALSOverride
1574 * ALSImpl returns ALSOverride
1575 * ALSImpl.ALSImpl_1_0 returns ALSOverride
1576 * ALSAnd returns ALSOverride
1577 * ALSAnd.ALSAnd_1_0 returns ALSOverride
1578 * ALSComparison returns ALSOverride
1579 * ALSComparison.ALSEquals_1_0_0_0 returns ALSOverride
1580 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOverride
1581 * ALSComparison.ALSSubset_1_0_2_0 returns ALSOverride
1582 * ALSComparison.ALSLess_1_0_3_0 returns ALSOverride
1583 * ALSComparison.ALSLeq_1_0_4_0 returns ALSOverride
1584 * ALSComparison.ALSMore_1_0_5_0 returns ALSOverride
1585 * ALSComparison.ALSMeq_1_0_6_0 returns ALSOverride
1586 * ALSOverride returns ALSOverride
1587 * ALSOverride.ALSOverride_1_0 returns ALSOverride
1588 * ALSRangeRestrictionRight returns ALSOverride
1589 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOverride
1590 * ALSRangeRestrictionLeft returns ALSOverride
1591 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOverride
1592 * ALSJoin returns ALSOverride
1593 * ALSJoin.ALSJoin_1_0 returns ALSOverride
1594 * ALSMinus returns ALSOverride
1595 * ALSMinus.ALSMinus_1_0 returns ALSOverride
1596 * ALSPlus returns ALSOverride
1597 * ALSPlus.ALSPlus_1_0 returns ALSOverride
1598 * ALSIntersection returns ALSOverride
1599 * ALSIntersection.ALSIntersection_1_0 returns ALSOverride
1600 * ALSDirectProduct returns ALSOverride
1601 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOverride
1602 * ALSPreficed returns ALSOverride
1603 * ALSBasicRelationTerm returns ALSOverride
1604 *
1605 * Constraint:
1606 * (leftOperand=ALSOverride_ALSOverride_1_0 rightOperand=ALSRangeRestrictionRight)
1607 */
1608 protected void sequence_ALSOverride(ISerializationContext context, ALSOverride semanticObject) {
1609 if (errorAcceptor != null) {
1610 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND) == ValueTransient.YES)
1611 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND));
1612 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND) == ValueTransient.YES)
1613 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND));
1614 }
1615 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1616 feeder.accept(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1617 feeder.accept(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1618 feeder.finish();
1619 }
1620
1621
1622 /**
1623 * Contexts:
1624 * ALSTerm returns ALSPlus
1625 * ALSQuantified returns ALSPlus
1626 * ALSOr returns ALSPlus
1627 * ALSOr.ALSOr_1_0 returns ALSPlus
1628 * ALSIff returns ALSPlus
1629 * ALSIff.ALSIff_1_0 returns ALSPlus
1630 * ALSImpl returns ALSPlus
1631 * ALSImpl.ALSImpl_1_0 returns ALSPlus
1632 * ALSAnd returns ALSPlus
1633 * ALSAnd.ALSAnd_1_0 returns ALSPlus
1634 * ALSComparison returns ALSPlus
1635 * ALSComparison.ALSEquals_1_0_0_0 returns ALSPlus
1636 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSPlus
1637 * ALSComparison.ALSSubset_1_0_2_0 returns ALSPlus
1638 * ALSComparison.ALSLess_1_0_3_0 returns ALSPlus
1639 * ALSComparison.ALSLeq_1_0_4_0 returns ALSPlus
1640 * ALSComparison.ALSMore_1_0_5_0 returns ALSPlus
1641 * ALSComparison.ALSMeq_1_0_6_0 returns ALSPlus
1642 * ALSOverride returns ALSPlus
1643 * ALSOverride.ALSOverride_1_0 returns ALSPlus
1644 * ALSRangeRestrictionRight returns ALSPlus
1645 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSPlus
1646 * ALSRangeRestrictionLeft returns ALSPlus
1647 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSPlus
1648 * ALSJoin returns ALSPlus
1649 * ALSJoin.ALSJoin_1_0 returns ALSPlus
1650 * ALSMinus returns ALSPlus
1651 * ALSMinus.ALSMinus_1_0 returns ALSPlus
1652 * ALSPlus returns ALSPlus
1653 * ALSPlus.ALSPlus_1_0 returns ALSPlus
1654 * ALSIntersection returns ALSPlus
1655 * ALSIntersection.ALSIntersection_1_0 returns ALSPlus
1656 * ALSDirectProduct returns ALSPlus
1657 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSPlus
1658 * ALSPreficed returns ALSPlus
1659 * ALSBasicRelationTerm returns ALSPlus
1660 *
1661 * Constraint:
1662 * (leftOperand=ALSPlus_ALSPlus_1_0 rightOperand=ALSIntersection)
1663 */
1664 protected void sequence_ALSPlus(ISerializationContext context, ALSPlus semanticObject) {
1665 if (errorAcceptor != null) {
1666 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND) == ValueTransient.YES)
1667 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND));
1668 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND) == ValueTransient.YES)
1669 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND));
1670 }
1671 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1672 feeder.accept(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1673 feeder.accept(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1674 feeder.finish();
1675 }
1676
1677
1678 /**
1679 * Contexts:
1680 * ALSTerm returns ALSCardinality
1681 * ALSQuantified returns ALSCardinality
1682 * ALSOr returns ALSCardinality
1683 * ALSOr.ALSOr_1_0 returns ALSCardinality
1684 * ALSIff returns ALSCardinality
1685 * ALSIff.ALSIff_1_0 returns ALSCardinality
1686 * ALSImpl returns ALSCardinality
1687 * ALSImpl.ALSImpl_1_0 returns ALSCardinality
1688 * ALSAnd returns ALSCardinality
1689 * ALSAnd.ALSAnd_1_0 returns ALSCardinality
1690 * ALSComparison returns ALSCardinality
1691 * ALSComparison.ALSEquals_1_0_0_0 returns ALSCardinality
1692 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSCardinality
1693 * ALSComparison.ALSSubset_1_0_2_0 returns ALSCardinality
1694 * ALSComparison.ALSLess_1_0_3_0 returns ALSCardinality
1695 * ALSComparison.ALSLeq_1_0_4_0 returns ALSCardinality
1696 * ALSComparison.ALSMore_1_0_5_0 returns ALSCardinality
1697 * ALSComparison.ALSMeq_1_0_6_0 returns ALSCardinality
1698 * ALSOverride returns ALSCardinality
1699 * ALSOverride.ALSOverride_1_0 returns ALSCardinality
1700 * ALSRangeRestrictionRight returns ALSCardinality
1701 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSCardinality
1702 * ALSRangeRestrictionLeft returns ALSCardinality
1703 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSCardinality
1704 * ALSJoin returns ALSCardinality
1705 * ALSJoin.ALSJoin_1_0 returns ALSCardinality
1706 * ALSMinus returns ALSCardinality
1707 * ALSMinus.ALSMinus_1_0 returns ALSCardinality
1708 * ALSPlus returns ALSCardinality
1709 * ALSPlus.ALSPlus_1_0 returns ALSCardinality
1710 * ALSIntersection returns ALSCardinality
1711 * ALSIntersection.ALSIntersection_1_0 returns ALSCardinality
1712 * ALSDirectProduct returns ALSCardinality
1713 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSCardinality
1714 * ALSPreficed returns ALSCardinality
1715 * ALSBasicRelationTerm returns ALSCardinality
1716 *
1717 * Constraint:
1718 * operand=ALSBasicRelationTerm
1719 */
1720 protected void sequence_ALSPreficed(ISerializationContext context, ALSCardinality semanticObject) {
1721 if (errorAcceptor != null) {
1722 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND) == ValueTransient.YES)
1723 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND));
1724 }
1725 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1726 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0(), semanticObject.getOperand());
1727 feeder.finish();
1728 }
1729
1730
1731 /**
1732 * Contexts:
1733 * ALSTerm returns ALSFunctionCall
1734 * ALSQuantified returns ALSFunctionCall
1735 * ALSOr returns ALSFunctionCall
1736 * ALSOr.ALSOr_1_0 returns ALSFunctionCall
1737 * ALSIff returns ALSFunctionCall
1738 * ALSIff.ALSIff_1_0 returns ALSFunctionCall
1739 * ALSImpl returns ALSFunctionCall
1740 * ALSImpl.ALSImpl_1_0 returns ALSFunctionCall
1741 * ALSAnd returns ALSFunctionCall
1742 * ALSAnd.ALSAnd_1_0 returns ALSFunctionCall
1743 * ALSComparison returns ALSFunctionCall
1744 * ALSComparison.ALSEquals_1_0_0_0 returns ALSFunctionCall
1745 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSFunctionCall
1746 * ALSComparison.ALSSubset_1_0_2_0 returns ALSFunctionCall
1747 * ALSComparison.ALSLess_1_0_3_0 returns ALSFunctionCall
1748 * ALSComparison.ALSLeq_1_0_4_0 returns ALSFunctionCall
1749 * ALSComparison.ALSMore_1_0_5_0 returns ALSFunctionCall
1750 * ALSComparison.ALSMeq_1_0_6_0 returns ALSFunctionCall
1751 * ALSOverride returns ALSFunctionCall
1752 * ALSOverride.ALSOverride_1_0 returns ALSFunctionCall
1753 * ALSRangeRestrictionRight returns ALSFunctionCall
1754 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSFunctionCall
1755 * ALSRangeRestrictionLeft returns ALSFunctionCall
1756 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSFunctionCall
1757 * ALSJoin returns ALSFunctionCall
1758 * ALSJoin.ALSJoin_1_0 returns ALSFunctionCall
1759 * ALSMinus returns ALSFunctionCall
1760 * ALSMinus.ALSMinus_1_0 returns ALSFunctionCall
1761 * ALSPlus returns ALSFunctionCall
1762 * ALSPlus.ALSPlus_1_0 returns ALSFunctionCall
1763 * ALSIntersection returns ALSFunctionCall
1764 * ALSIntersection.ALSIntersection_1_0 returns ALSFunctionCall
1765 * ALSDirectProduct returns ALSFunctionCall
1766 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSFunctionCall
1767 * ALSPreficed returns ALSFunctionCall
1768 * ALSBasicRelationTerm returns ALSFunctionCall
1769 *
1770 * Constraint:
1771 * ((referredDefinition=[ALSDefinition|ID] | referredNumericOperator=ALSNumericOperator) params+=ALSTerm params+=ALSTerm*)
1772 */
1773 protected void sequence_ALSPreficed(ISerializationContext context, ALSFunctionCall semanticObject) {
1774 genericSequencer.createSequence(context, semanticObject);
1775 }
1776
1777
1778 /**
1779 * Contexts:
1780 * ALSTerm returns ALSInverseRelation
1781 * ALSQuantified returns ALSInverseRelation
1782 * ALSOr returns ALSInverseRelation
1783 * ALSOr.ALSOr_1_0 returns ALSInverseRelation
1784 * ALSIff returns ALSInverseRelation
1785 * ALSIff.ALSIff_1_0 returns ALSInverseRelation
1786 * ALSImpl returns ALSInverseRelation
1787 * ALSImpl.ALSImpl_1_0 returns ALSInverseRelation
1788 * ALSAnd returns ALSInverseRelation
1789 * ALSAnd.ALSAnd_1_0 returns ALSInverseRelation
1790 * ALSComparison returns ALSInverseRelation
1791 * ALSComparison.ALSEquals_1_0_0_0 returns ALSInverseRelation
1792 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInverseRelation
1793 * ALSComparison.ALSSubset_1_0_2_0 returns ALSInverseRelation
1794 * ALSComparison.ALSLess_1_0_3_0 returns ALSInverseRelation
1795 * ALSComparison.ALSLeq_1_0_4_0 returns ALSInverseRelation
1796 * ALSComparison.ALSMore_1_0_5_0 returns ALSInverseRelation
1797 * ALSComparison.ALSMeq_1_0_6_0 returns ALSInverseRelation
1798 * ALSOverride returns ALSInverseRelation
1799 * ALSOverride.ALSOverride_1_0 returns ALSInverseRelation
1800 * ALSRangeRestrictionRight returns ALSInverseRelation
1801 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInverseRelation
1802 * ALSRangeRestrictionLeft returns ALSInverseRelation
1803 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInverseRelation
1804 * ALSJoin returns ALSInverseRelation
1805 * ALSJoin.ALSJoin_1_0 returns ALSInverseRelation
1806 * ALSMinus returns ALSInverseRelation
1807 * ALSMinus.ALSMinus_1_0 returns ALSInverseRelation
1808 * ALSPlus returns ALSInverseRelation
1809 * ALSPlus.ALSPlus_1_0 returns ALSInverseRelation
1810 * ALSIntersection returns ALSInverseRelation
1811 * ALSIntersection.ALSIntersection_1_0 returns ALSInverseRelation
1812 * ALSDirectProduct returns ALSInverseRelation
1813 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInverseRelation
1814 * ALSPreficed returns ALSInverseRelation
1815 * ALSBasicRelationTerm returns ALSInverseRelation
1816 *
1817 * Constraint:
1818 * operand=ALSBasicRelationTerm
1819 */
1820 protected void sequence_ALSPreficed(ISerializationContext context, ALSInverseRelation semanticObject) {
1821 if (errorAcceptor != null) {
1822 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND) == ValueTransient.YES)
1823 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND));
1824 }
1825 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1826 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0(), semanticObject.getOperand());
1827 feeder.finish();
1828 }
1829
1830
1831 /**
1832 * Contexts:
1833 * ALSTerm returns ALSNot
1834 * ALSQuantified returns ALSNot
1835 * ALSOr returns ALSNot
1836 * ALSOr.ALSOr_1_0 returns ALSNot
1837 * ALSIff returns ALSNot
1838 * ALSIff.ALSIff_1_0 returns ALSNot
1839 * ALSImpl returns ALSNot
1840 * ALSImpl.ALSImpl_1_0 returns ALSNot
1841 * ALSAnd returns ALSNot
1842 * ALSAnd.ALSAnd_1_0 returns ALSNot
1843 * ALSComparison returns ALSNot
1844 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNot
1845 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNot
1846 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNot
1847 * ALSComparison.ALSLess_1_0_3_0 returns ALSNot
1848 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNot
1849 * ALSComparison.ALSMore_1_0_5_0 returns ALSNot
1850 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNot
1851 * ALSOverride returns ALSNot
1852 * ALSOverride.ALSOverride_1_0 returns ALSNot
1853 * ALSRangeRestrictionRight returns ALSNot
1854 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNot
1855 * ALSRangeRestrictionLeft returns ALSNot
1856 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNot
1857 * ALSJoin returns ALSNot
1858 * ALSJoin.ALSJoin_1_0 returns ALSNot
1859 * ALSMinus returns ALSNot
1860 * ALSMinus.ALSMinus_1_0 returns ALSNot
1861 * ALSPlus returns ALSNot
1862 * ALSPlus.ALSPlus_1_0 returns ALSNot
1863 * ALSIntersection returns ALSNot
1864 * ALSIntersection.ALSIntersection_1_0 returns ALSNot
1865 * ALSDirectProduct returns ALSNot
1866 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNot
1867 * ALSPreficed returns ALSNot
1868 * ALSBasicRelationTerm returns ALSNot
1869 *
1870 * Constraint:
1871 * operand=ALSBasicRelationTerm
1872 */
1873 protected void sequence_ALSPreficed(ISerializationContext context, ALSNot semanticObject) {
1874 if (errorAcceptor != null) {
1875 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND) == ValueTransient.YES)
1876 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND));
1877 }
1878 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1879 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0(), semanticObject.getOperand());
1880 feeder.finish();
1881 }
1882
1883
1884 /**
1885 * Contexts:
1886 * ALSTerm returns ALSReflectiveTransitiveClosure
1887 * ALSQuantified returns ALSReflectiveTransitiveClosure
1888 * ALSOr returns ALSReflectiveTransitiveClosure
1889 * ALSOr.ALSOr_1_0 returns ALSReflectiveTransitiveClosure
1890 * ALSIff returns ALSReflectiveTransitiveClosure
1891 * ALSIff.ALSIff_1_0 returns ALSReflectiveTransitiveClosure
1892 * ALSImpl returns ALSReflectiveTransitiveClosure
1893 * ALSImpl.ALSImpl_1_0 returns ALSReflectiveTransitiveClosure
1894 * ALSAnd returns ALSReflectiveTransitiveClosure
1895 * ALSAnd.ALSAnd_1_0 returns ALSReflectiveTransitiveClosure
1896 * ALSComparison returns ALSReflectiveTransitiveClosure
1897 * ALSComparison.ALSEquals_1_0_0_0 returns ALSReflectiveTransitiveClosure
1898 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReflectiveTransitiveClosure
1899 * ALSComparison.ALSSubset_1_0_2_0 returns ALSReflectiveTransitiveClosure
1900 * ALSComparison.ALSLess_1_0_3_0 returns ALSReflectiveTransitiveClosure
1901 * ALSComparison.ALSLeq_1_0_4_0 returns ALSReflectiveTransitiveClosure
1902 * ALSComparison.ALSMore_1_0_5_0 returns ALSReflectiveTransitiveClosure
1903 * ALSComparison.ALSMeq_1_0_6_0 returns ALSReflectiveTransitiveClosure
1904 * ALSOverride returns ALSReflectiveTransitiveClosure
1905 * ALSOverride.ALSOverride_1_0 returns ALSReflectiveTransitiveClosure
1906 * ALSRangeRestrictionRight returns ALSReflectiveTransitiveClosure
1907 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReflectiveTransitiveClosure
1908 * ALSRangeRestrictionLeft returns ALSReflectiveTransitiveClosure
1909 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReflectiveTransitiveClosure
1910 * ALSJoin returns ALSReflectiveTransitiveClosure
1911 * ALSJoin.ALSJoin_1_0 returns ALSReflectiveTransitiveClosure
1912 * ALSMinus returns ALSReflectiveTransitiveClosure
1913 * ALSMinus.ALSMinus_1_0 returns ALSReflectiveTransitiveClosure
1914 * ALSPlus returns ALSReflectiveTransitiveClosure
1915 * ALSPlus.ALSPlus_1_0 returns ALSReflectiveTransitiveClosure
1916 * ALSIntersection returns ALSReflectiveTransitiveClosure
1917 * ALSIntersection.ALSIntersection_1_0 returns ALSReflectiveTransitiveClosure
1918 * ALSDirectProduct returns ALSReflectiveTransitiveClosure
1919 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReflectiveTransitiveClosure
1920 * ALSPreficed returns ALSReflectiveTransitiveClosure
1921 * ALSBasicRelationTerm returns ALSReflectiveTransitiveClosure
1922 *
1923 * Constraint:
1924 * operand=ALSBasicRelationTerm
1925 */
1926 protected void sequence_ALSPreficed(ISerializationContext context, ALSReflectiveTransitiveClosure semanticObject) {
1927 if (errorAcceptor != null) {
1928 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES)
1929 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND));
1930 }
1931 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1932 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0(), semanticObject.getOperand());
1933 feeder.finish();
1934 }
1935
1936
1937 /**
1938 * Contexts:
1939 * ALSTerm returns ALSSum
1940 * ALSQuantified returns ALSSum
1941 * ALSOr returns ALSSum
1942 * ALSOr.ALSOr_1_0 returns ALSSum
1943 * ALSIff returns ALSSum
1944 * ALSIff.ALSIff_1_0 returns ALSSum
1945 * ALSImpl returns ALSSum
1946 * ALSImpl.ALSImpl_1_0 returns ALSSum
1947 * ALSAnd returns ALSSum
1948 * ALSAnd.ALSAnd_1_0 returns ALSSum
1949 * ALSComparison returns ALSSum
1950 * ALSComparison.ALSEquals_1_0_0_0 returns ALSSum
1951 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSum
1952 * ALSComparison.ALSSubset_1_0_2_0 returns ALSSum
1953 * ALSComparison.ALSLess_1_0_3_0 returns ALSSum
1954 * ALSComparison.ALSLeq_1_0_4_0 returns ALSSum
1955 * ALSComparison.ALSMore_1_0_5_0 returns ALSSum
1956 * ALSComparison.ALSMeq_1_0_6_0 returns ALSSum
1957 * ALSOverride returns ALSSum
1958 * ALSOverride.ALSOverride_1_0 returns ALSSum
1959 * ALSRangeRestrictionRight returns ALSSum
1960 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSum
1961 * ALSRangeRestrictionLeft returns ALSSum
1962 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSum
1963 * ALSJoin returns ALSSum
1964 * ALSJoin.ALSJoin_1_0 returns ALSSum
1965 * ALSMinus returns ALSSum
1966 * ALSMinus.ALSMinus_1_0 returns ALSSum
1967 * ALSPlus returns ALSSum
1968 * ALSPlus.ALSPlus_1_0 returns ALSSum
1969 * ALSIntersection returns ALSSum
1970 * ALSIntersection.ALSIntersection_1_0 returns ALSSum
1971 * ALSDirectProduct returns ALSSum
1972 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSum
1973 * ALSPreficed returns ALSSum
1974 * ALSBasicRelationTerm returns ALSSum
1975 *
1976 * Constraint:
1977 * (variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm)
1978 */
1979 protected void sequence_ALSPreficed(ISerializationContext context, ALSSum semanticObject) {
1980 genericSequencer.createSequence(context, semanticObject);
1981 }
1982
1983
1984 /**
1985 * Contexts:
1986 * ALSTerm returns ALSUnaryMinus
1987 * ALSQuantified returns ALSUnaryMinus
1988 * ALSOr returns ALSUnaryMinus
1989 * ALSOr.ALSOr_1_0 returns ALSUnaryMinus
1990 * ALSIff returns ALSUnaryMinus
1991 * ALSIff.ALSIff_1_0 returns ALSUnaryMinus
1992 * ALSImpl returns ALSUnaryMinus
1993 * ALSImpl.ALSImpl_1_0 returns ALSUnaryMinus
1994 * ALSAnd returns ALSUnaryMinus
1995 * ALSAnd.ALSAnd_1_0 returns ALSUnaryMinus
1996 * ALSComparison returns ALSUnaryMinus
1997 * ALSComparison.ALSEquals_1_0_0_0 returns ALSUnaryMinus
1998 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUnaryMinus
1999 * ALSComparison.ALSSubset_1_0_2_0 returns ALSUnaryMinus
2000 * ALSComparison.ALSLess_1_0_3_0 returns ALSUnaryMinus
2001 * ALSComparison.ALSLeq_1_0_4_0 returns ALSUnaryMinus
2002 * ALSComparison.ALSMore_1_0_5_0 returns ALSUnaryMinus
2003 * ALSComparison.ALSMeq_1_0_6_0 returns ALSUnaryMinus
2004 * ALSOverride returns ALSUnaryMinus
2005 * ALSOverride.ALSOverride_1_0 returns ALSUnaryMinus
2006 * ALSRangeRestrictionRight returns ALSUnaryMinus
2007 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUnaryMinus
2008 * ALSRangeRestrictionLeft returns ALSUnaryMinus
2009 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUnaryMinus
2010 * ALSJoin returns ALSUnaryMinus
2011 * ALSJoin.ALSJoin_1_0 returns ALSUnaryMinus
2012 * ALSMinus returns ALSUnaryMinus
2013 * ALSMinus.ALSMinus_1_0 returns ALSUnaryMinus
2014 * ALSPlus returns ALSUnaryMinus
2015 * ALSPlus.ALSPlus_1_0 returns ALSUnaryMinus
2016 * ALSIntersection returns ALSUnaryMinus
2017 * ALSIntersection.ALSIntersection_1_0 returns ALSUnaryMinus
2018 * ALSDirectProduct returns ALSUnaryMinus
2019 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUnaryMinus
2020 * ALSPreficed returns ALSUnaryMinus
2021 * ALSBasicRelationTerm returns ALSUnaryMinus
2022 *
2023 * Constraint:
2024 * operand=ALSBasicRelationTerm
2025 */
2026 protected void sequence_ALSPreficed(ISerializationContext context, ALSUnaryMinus semanticObject) {
2027 if (errorAcceptor != null) {
2028 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND) == ValueTransient.YES)
2029 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND));
2030 }
2031 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2032 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0(), semanticObject.getOperand());
2033 feeder.finish();
2034 }
2035
2036
2037 /**
2038 * Contexts:
2039 * ALSTerm returns AlSTransitiveClosure
2040 * ALSQuantified returns AlSTransitiveClosure
2041 * ALSOr returns AlSTransitiveClosure
2042 * ALSOr.ALSOr_1_0 returns AlSTransitiveClosure
2043 * ALSIff returns AlSTransitiveClosure
2044 * ALSIff.ALSIff_1_0 returns AlSTransitiveClosure
2045 * ALSImpl returns AlSTransitiveClosure
2046 * ALSImpl.ALSImpl_1_0 returns AlSTransitiveClosure
2047 * ALSAnd returns AlSTransitiveClosure
2048 * ALSAnd.ALSAnd_1_0 returns AlSTransitiveClosure
2049 * ALSComparison returns AlSTransitiveClosure
2050 * ALSComparison.ALSEquals_1_0_0_0 returns AlSTransitiveClosure
2051 * ALSComparison.ALSNotEquals_1_0_1_0 returns AlSTransitiveClosure
2052 * ALSComparison.ALSSubset_1_0_2_0 returns AlSTransitiveClosure
2053 * ALSComparison.ALSLess_1_0_3_0 returns AlSTransitiveClosure
2054 * ALSComparison.ALSLeq_1_0_4_0 returns AlSTransitiveClosure
2055 * ALSComparison.ALSMore_1_0_5_0 returns AlSTransitiveClosure
2056 * ALSComparison.ALSMeq_1_0_6_0 returns AlSTransitiveClosure
2057 * ALSOverride returns AlSTransitiveClosure
2058 * ALSOverride.ALSOverride_1_0 returns AlSTransitiveClosure
2059 * ALSRangeRestrictionRight returns AlSTransitiveClosure
2060 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns AlSTransitiveClosure
2061 * ALSRangeRestrictionLeft returns AlSTransitiveClosure
2062 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns AlSTransitiveClosure
2063 * ALSJoin returns AlSTransitiveClosure
2064 * ALSJoin.ALSJoin_1_0 returns AlSTransitiveClosure
2065 * ALSMinus returns AlSTransitiveClosure
2066 * ALSMinus.ALSMinus_1_0 returns AlSTransitiveClosure
2067 * ALSPlus returns AlSTransitiveClosure
2068 * ALSPlus.ALSPlus_1_0 returns AlSTransitiveClosure
2069 * ALSIntersection returns AlSTransitiveClosure
2070 * ALSIntersection.ALSIntersection_1_0 returns AlSTransitiveClosure
2071 * ALSDirectProduct returns AlSTransitiveClosure
2072 * ALSDirectProduct.ALSDirectProduct_1_0 returns AlSTransitiveClosure
2073 * ALSPreficed returns AlSTransitiveClosure
2074 * ALSBasicRelationTerm returns AlSTransitiveClosure
2075 *
2076 * Constraint:
2077 * operand=ALSBasicRelationTerm
2078 */
2079 protected void sequence_ALSPreficed(ISerializationContext context, AlSTransitiveClosure semanticObject) {
2080 if (errorAcceptor != null) {
2081 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES)
2082 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND));
2083 }
2084 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2085 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0(), semanticObject.getOperand());
2086 feeder.finish();
2087 }
2088
2089
2090 /**
2091 * Contexts:
2092 * ALSTerm returns ALSQuantifiedEx
2093 * ALSQuantified returns ALSQuantifiedEx
2094 * ALSOr returns ALSQuantifiedEx
2095 * ALSOr.ALSOr_1_0 returns ALSQuantifiedEx
2096 * ALSIff returns ALSQuantifiedEx
2097 * ALSIff.ALSIff_1_0 returns ALSQuantifiedEx
2098 * ALSImpl returns ALSQuantifiedEx
2099 * ALSImpl.ALSImpl_1_0 returns ALSQuantifiedEx
2100 * ALSAnd returns ALSQuantifiedEx
2101 * ALSAnd.ALSAnd_1_0 returns ALSQuantifiedEx
2102 * ALSComparison returns ALSQuantifiedEx
2103 * ALSComparison.ALSEquals_1_0_0_0 returns ALSQuantifiedEx
2104 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSQuantifiedEx
2105 * ALSComparison.ALSSubset_1_0_2_0 returns ALSQuantifiedEx
2106 * ALSComparison.ALSLess_1_0_3_0 returns ALSQuantifiedEx
2107 * ALSComparison.ALSLeq_1_0_4_0 returns ALSQuantifiedEx
2108 * ALSComparison.ALSMore_1_0_5_0 returns ALSQuantifiedEx
2109 * ALSComparison.ALSMeq_1_0_6_0 returns ALSQuantifiedEx
2110 * ALSOverride returns ALSQuantifiedEx
2111 * ALSOverride.ALSOverride_1_0 returns ALSQuantifiedEx
2112 * ALSRangeRestrictionRight returns ALSQuantifiedEx
2113 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSQuantifiedEx
2114 * ALSRangeRestrictionLeft returns ALSQuantifiedEx
2115 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSQuantifiedEx
2116 * ALSJoin returns ALSQuantifiedEx
2117 * ALSJoin.ALSJoin_1_0 returns ALSQuantifiedEx
2118 * ALSMinus returns ALSQuantifiedEx
2119 * ALSMinus.ALSMinus_1_0 returns ALSQuantifiedEx
2120 * ALSPlus returns ALSQuantifiedEx
2121 * ALSPlus.ALSPlus_1_0 returns ALSQuantifiedEx
2122 * ALSIntersection returns ALSQuantifiedEx
2123 * ALSIntersection.ALSIntersection_1_0 returns ALSQuantifiedEx
2124 * ALSDirectProduct returns ALSQuantifiedEx
2125 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSQuantifiedEx
2126 * ALSPreficed returns ALSQuantifiedEx
2127 * ALSBasicRelationTerm returns ALSQuantifiedEx
2128 *
2129 * Constraint:
2130 * (type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm)
2131 */
2132 protected void sequence_ALSQuantified(ISerializationContext context, ALSQuantifiedEx semanticObject) {
2133 genericSequencer.createSequence(context, semanticObject);
2134 }
2135
2136
2137 /**
2138 * Contexts:
2139 * ALSTerm returns ALSRangeRestrictionLeft
2140 * ALSQuantified returns ALSRangeRestrictionLeft
2141 * ALSOr returns ALSRangeRestrictionLeft
2142 * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionLeft
2143 * ALSIff returns ALSRangeRestrictionLeft
2144 * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionLeft
2145 * ALSImpl returns ALSRangeRestrictionLeft
2146 * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionLeft
2147 * ALSAnd returns ALSRangeRestrictionLeft
2148 * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionLeft
2149 * ALSComparison returns ALSRangeRestrictionLeft
2150 * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionLeft
2151 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionLeft
2152 * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionLeft
2153 * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionLeft
2154 * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionLeft
2155 * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionLeft
2156 * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionLeft
2157 * ALSOverride returns ALSRangeRestrictionLeft
2158 * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionLeft
2159 * ALSRangeRestrictionRight returns ALSRangeRestrictionLeft
2160 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionLeft
2161 * ALSRangeRestrictionLeft returns ALSRangeRestrictionLeft
2162 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionLeft
2163 * ALSJoin returns ALSRangeRestrictionLeft
2164 * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionLeft
2165 * ALSMinus returns ALSRangeRestrictionLeft
2166 * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionLeft
2167 * ALSPlus returns ALSRangeRestrictionLeft
2168 * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionLeft
2169 * ALSIntersection returns ALSRangeRestrictionLeft
2170 * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionLeft
2171 * ALSDirectProduct returns ALSRangeRestrictionLeft
2172 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionLeft
2173 * ALSPreficed returns ALSRangeRestrictionLeft
2174 * ALSBasicRelationTerm returns ALSRangeRestrictionLeft
2175 *
2176 * Constraint:
2177 * (filter=ALSRangeRestrictionLeft_ALSRangeRestrictionLeft_1_0 relation=ALSJoin)
2178 */
2179 protected void sequence_ALSRangeRestrictionLeft(ISerializationContext context, ALSRangeRestrictionLeft semanticObject) {
2180 if (errorAcceptor != null) {
2181 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER) == ValueTransient.YES)
2182 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER));
2183 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION) == ValueTransient.YES)
2184 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION));
2185 }
2186 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2187 feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(), semanticObject.getFilter());
2188 feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0(), semanticObject.getRelation());
2189 feeder.finish();
2190 }
2191
2192
2193 /**
2194 * Contexts:
2195 * ALSTerm returns ALSRangeRestrictionRight
2196 * ALSQuantified returns ALSRangeRestrictionRight
2197 * ALSOr returns ALSRangeRestrictionRight
2198 * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionRight
2199 * ALSIff returns ALSRangeRestrictionRight
2200 * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionRight
2201 * ALSImpl returns ALSRangeRestrictionRight
2202 * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionRight
2203 * ALSAnd returns ALSRangeRestrictionRight
2204 * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionRight
2205 * ALSComparison returns ALSRangeRestrictionRight
2206 * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionRight
2207 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionRight
2208 * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionRight
2209 * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionRight
2210 * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionRight
2211 * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionRight
2212 * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionRight
2213 * ALSOverride returns ALSRangeRestrictionRight
2214 * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionRight
2215 * ALSRangeRestrictionRight returns ALSRangeRestrictionRight
2216 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionRight
2217 * ALSRangeRestrictionLeft returns ALSRangeRestrictionRight
2218 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionRight
2219 * ALSJoin returns ALSRangeRestrictionRight
2220 * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionRight
2221 * ALSMinus returns ALSRangeRestrictionRight
2222 * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionRight
2223 * ALSPlus returns ALSRangeRestrictionRight
2224 * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionRight
2225 * ALSIntersection returns ALSRangeRestrictionRight
2226 * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionRight
2227 * ALSDirectProduct returns ALSRangeRestrictionRight
2228 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionRight
2229 * ALSPreficed returns ALSRangeRestrictionRight
2230 * ALSBasicRelationTerm returns ALSRangeRestrictionRight
2231 *
2232 * Constraint:
2233 * (relation=ALSRangeRestrictionRight_ALSRangeRestrictionRight_1_0 filter=ALSRangeRestrictionLeft)
2234 */
2235 protected void sequence_ALSRangeRestrictionRight(ISerializationContext context, ALSRangeRestrictionRight semanticObject) {
2236 if (errorAcceptor != null) {
2237 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION) == ValueTransient.YES)
2238 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION));
2239 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER) == ValueTransient.YES)
2240 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER));
2241 }
2242 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2243 feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(), semanticObject.getRelation());
2244 feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0(), semanticObject.getFilter());
2245 feeder.finish();
2246 }
2247
2248
2249 /**
2250 * Contexts:
2251 * ALSDefinition returns ALSRelationDefinition
2252 * ALSRelationDefinition returns ALSRelationDefinition
2253 *
2254 * Constraint:
2255 * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* value=ALSTerm)
2256 */
2257 protected void sequence_ALSRelationDefinition(ISerializationContext context, ALSRelationDefinition semanticObject) {
2258 genericSequencer.createSequence(context, semanticObject);
2259 }
2260
2261
2262 /**
2263 * Contexts:
2264 * ALSRunCommand returns ALSRunCommand
2265 *
2266 * Constraint:
2267 * (typeScopes+=ALSTypeScope typeScopes+=ALSTypeScope*)?
2268 */
2269 protected void sequence_ALSRunCommand(ISerializationContext context, ALSRunCommand semanticObject) {
2270 genericSequencer.createSequence(context, semanticObject);
2271 }
2272
2273
2274 /**
2275 * Contexts:
2276 * ALSTypeScope returns ALSSigScope
2277 * ALSSigScope returns ALSSigScope
2278 *
2279 * Constraint:
2280 * (exactly?='exactly'? number=INT type=[ALSSignatureDeclaration|ID])
2281 */
2282 protected void sequence_ALSSigScope(ISerializationContext context, ALSSigScope semanticObject) {
2283 genericSequencer.createSequence(context, semanticObject);
2284 }
2285
2286
2287 /**
2288 * Contexts:
2289 * ALSSignatureBody returns ALSSignatureBody
2290 *
2291 * Constraint:
2292 * (
2293 * (multiplicity=ALSMultiplicity | abstract?='abstract')*
2294 * declarations+=ALSSignatureDeclaration
2295 * declarations+=ALSSignatureDeclaration*
2296 * (supertype=[ALSSignatureDeclaration|ID] | (superset+=[ALSSignatureDeclaration|ID] superset+=[ALSSignatureDeclaration|ID]*))?
2297 * (fields+=ALSFieldDeclaration fields+=ALSFieldDeclaration*)?
2298 * )
2299 */
2300 protected void sequence_ALSSignatureBody(ISerializationContext context, ALSSignatureBody semanticObject) {
2301 genericSequencer.createSequence(context, semanticObject);
2302 }
2303
2304
2305 /**
2306 * Contexts:
2307 * ALSRelationDeclaration returns ALSSignatureDeclaration
2308 * ALSTypeDeclaration returns ALSSignatureDeclaration
2309 * ALSSignatureDeclaration returns ALSSignatureDeclaration
2310 *
2311 * Constraint:
2312 * name=ALSID
2313 */
2314 protected void sequence_ALSSignatureDeclaration(ISerializationContext context, ALSSignatureDeclaration semanticObject) {
2315 if (errorAcceptor != null) {
2316 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
2317 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
2318 }
2319 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2320 feeder.accept(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName());
2321 feeder.finish();
2322 }
2323
2324
2325 /**
2326 * Contexts:
2327 * ALSTypeScope returns ALSStringScope
2328 * ALSStringScope returns ALSStringScope
2329 *
2330 * Constraint:
2331 * number=INT
2332 */
2333 protected void sequence_ALSStringScope(ISerializationContext context, ALSStringScope semanticObject) {
2334 if (errorAcceptor != null) {
2335 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER) == ValueTransient.YES)
2336 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER));
2337 }
2338 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2339 feeder.accept(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0(), semanticObject.getNumber());
2340 feeder.finish();
2341 }
2342
2343
2344 /**
2345 * Contexts:
2346 * ALSRelationDeclaration returns ALSVariableDeclaration
2347 * ALSVariableDeclaration returns ALSVariableDeclaration
2348 *
2349 * Constraint:
2350 * (name=ALSID range=ALSTerm)
2351 */
2352 protected void sequence_ALSVariableDeclaration(ISerializationContext context, ALSVariableDeclaration semanticObject) {
2353 if (errorAcceptor != null) {
2354 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
2355 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
2356 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE) == ValueTransient.YES)
2357 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE));
2358 }
2359 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2360 feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0(), semanticObject.getName());
2361 feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0(), semanticObject.getRange());
2362 feeder.finish();
2363 }
2364
2365
2366}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java
deleted file mode 100644
index af3c684a..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java
+++ /dev/null
@@ -1,216 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.serializer;
5
6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
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.TokenAlias;
16import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable;
17import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
18import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
19
20@SuppressWarnings("all")
21public class AlloyLanguageSyntacticSequencer extends AbstractSyntacticSequencer {
22
23 protected AlloyLanguageGrammarAccess grammarAccess;
24 protected AbstractElementAlias match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1;
25 protected AbstractElementAlias match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a;
26 protected AbstractElementAlias match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p;
27 protected AbstractElementAlias match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0;
28 protected AbstractElementAlias match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1;
29 protected AbstractElementAlias match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0;
30 protected AbstractElementAlias match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1;
31
32 @Inject
33 protected void init(IGrammarAccess access) {
34 grammarAccess = (AlloyLanguageGrammarAccess) access;
35 match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()), new TokenAlias(false, false, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1()));
36 match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a = new TokenAlias(true, true, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
37 match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p = new TokenAlias(true, false, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0());
38 match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0()));
39 match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()), new TokenAlias(false, false, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1()));
40 match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0()));
41 match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()), new TokenAlias(false, false, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1()));
42 }
43
44 @Override
45 protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
46 return "";
47 }
48
49
50 @Override
51 protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
52 if (transition.getAmbiguousSyntaxes().isEmpty()) return;
53 List<INode> transitionNodes = collectNodes(fromNode, toNode);
54 for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
55 List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
56 if (match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1.equals(syntax))
57 emit_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1(semanticObject, getLastNavigableState(), syntaxNodes);
58 else if (match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a.equals(syntax))
59 emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
60 else if (match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p.equals(syntax))
61 emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
62 else if (match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0.equals(syntax))
63 emit_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0(semanticObject, getLastNavigableState(), syntaxNodes);
64 else if (match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1.equals(syntax))
65 emit_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1(semanticObject, getLastNavigableState(), syntaxNodes);
66 else if (match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0.equals(syntax))
67 emit_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0(semanticObject, getLastNavigableState(), syntaxNodes);
68 else if (match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1.equals(syntax))
69 emit_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1(semanticObject, getLastNavigableState(), syntaxNodes);
70 else acceptNodes(getLastNavigableState(), syntaxNodes);
71 }
72 }
73
74 /**
75 * Ambiguous syntax:
76 * 'and' | '&&'
77 *
78 * This ambiguous syntax occurs at:
79 * {ALSAnd.leftOperand=} (ambiguity) rightOperand=ALSComparison
80 */
81 protected void emit_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
82 acceptNodes(transition, nodes);
83 }
84
85 /**
86 * Ambiguous syntax:
87 * '('*
88 *
89 * This ambiguous syntax occurs at:
90 * (rule start) (ambiguity) '#' operand=ALSBasicRelationTerm
91 * (rule start) (ambiguity) '*' operand=ALSBasicRelationTerm
92 * (rule start) (ambiguity) '-' operand=ALSBasicRelationTerm
93 * (rule start) (ambiguity) 'Int' (rule start)
94 * (rule start) (ambiguity) 'String' (rule start)
95 * (rule start) (ambiguity) '^' operand=ALSBasicRelationTerm
96 * (rule start) (ambiguity) 'iden' (rule start)
97 * (rule start) (ambiguity) 'none' (rule start)
98 * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration
99 * (rule start) (ambiguity) 'univ' (rule start)
100 * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm
101 * (rule start) (ambiguity) ('not' | '!') operand=ALSBasicRelationTerm
102 * (rule start) (ambiguity) referred=[ALSRelationDeclaration|ID]
103 * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID]
104 * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator
105 * (rule start) (ambiguity) type=ALSMultiplicity
106 * (rule start) (ambiguity) value=INT
107 * (rule start) (ambiguity) value=STRING
108 * (rule start) (ambiguity) {ALSAnd.leftOperand=}
109 * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=}
110 * (rule start) (ambiguity) {ALSEquals.leftOperand=}
111 * (rule start) (ambiguity) {ALSIff.leftOperand=}
112 * (rule start) (ambiguity) {ALSImpl.leftOperand=}
113 * (rule start) (ambiguity) {ALSIntersection.leftOperand=}
114 * (rule start) (ambiguity) {ALSJoin.leftOperand=}
115 * (rule start) (ambiguity) {ALSLeq.leftOperand=}
116 * (rule start) (ambiguity) {ALSLess.leftOperand=}
117 * (rule start) (ambiguity) {ALSMeq.leftOperand=}
118 * (rule start) (ambiguity) {ALSMinus.leftOperand=}
119 * (rule start) (ambiguity) {ALSMore.leftOperand=}
120 * (rule start) (ambiguity) {ALSNotEquals.leftOperand=}
121 * (rule start) (ambiguity) {ALSOr.leftOperand=}
122 * (rule start) (ambiguity) {ALSOverride.leftOperand=}
123 * (rule start) (ambiguity) {ALSPlus.leftOperand=}
124 * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=}
125 * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=}
126 * (rule start) (ambiguity) {ALSSubset.leftOperand=}
127 */
128 protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
129 acceptNodes(transition, nodes);
130 }
131
132 /**
133 * Ambiguous syntax:
134 * '('+
135 *
136 * This ambiguous syntax occurs at:
137 * (rule start) (ambiguity) '#' operand=ALSBasicRelationTerm
138 * (rule start) (ambiguity) '*' operand=ALSBasicRelationTerm
139 * (rule start) (ambiguity) '-' operand=ALSBasicRelationTerm
140 * (rule start) (ambiguity) '^' operand=ALSBasicRelationTerm
141 * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration
142 * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm
143 * (rule start) (ambiguity) ('not' | '!') operand=ALSBasicRelationTerm
144 * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID]
145 * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator
146 * (rule start) (ambiguity) type=ALSMultiplicity
147 * (rule start) (ambiguity) {ALSAnd.leftOperand=}
148 * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=}
149 * (rule start) (ambiguity) {ALSEquals.leftOperand=}
150 * (rule start) (ambiguity) {ALSIff.leftOperand=}
151 * (rule start) (ambiguity) {ALSImpl.leftOperand=}
152 * (rule start) (ambiguity) {ALSIntersection.leftOperand=}
153 * (rule start) (ambiguity) {ALSJoin.leftOperand=}
154 * (rule start) (ambiguity) {ALSLeq.leftOperand=}
155 * (rule start) (ambiguity) {ALSLess.leftOperand=}
156 * (rule start) (ambiguity) {ALSMeq.leftOperand=}
157 * (rule start) (ambiguity) {ALSMinus.leftOperand=}
158 * (rule start) (ambiguity) {ALSMore.leftOperand=}
159 * (rule start) (ambiguity) {ALSNotEquals.leftOperand=}
160 * (rule start) (ambiguity) {ALSOr.leftOperand=}
161 * (rule start) (ambiguity) {ALSOverride.leftOperand=}
162 * (rule start) (ambiguity) {ALSPlus.leftOperand=}
163 * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=}
164 * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=}
165 * (rule start) (ambiguity) {ALSSubset.leftOperand=}
166 */
167 protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
168 acceptNodes(transition, nodes);
169 }
170
171 /**
172 * Ambiguous syntax:
173 * '<=>' | 'iff'
174 *
175 * This ambiguous syntax occurs at:
176 * {ALSIff.leftOperand=} (ambiguity) rightOperand=ALSImpl
177 */
178 protected void emit_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
179 acceptNodes(transition, nodes);
180 }
181
182 /**
183 * Ambiguous syntax:
184 * '=>' | 'implies'
185 *
186 * This ambiguous syntax occurs at:
187 * {ALSImpl.leftOperand=} (ambiguity) rightOperand=ALSAnd
188 */
189 protected void emit_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
190 acceptNodes(transition, nodes);
191 }
192
193 /**
194 * Ambiguous syntax:
195 * 'or' | '||'
196 *
197 * This ambiguous syntax occurs at:
198 * {ALSOr.leftOperand=} (ambiguity) rightOperand=ALSIff
199 */
200 protected void emit_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
201 acceptNodes(transition, nodes);
202 }
203
204 /**
205 * Ambiguous syntax:
206 * 'not' | '!'
207 *
208 * This ambiguous syntax occurs at:
209 * (rule start) '('* (ambiguity) operand=ALSBasicRelationTerm
210 * (rule start) '('+ (ambiguity) operand=ALSBasicRelationTerm
211 */
212 protected void emit_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
213 acceptNodes(transition, nodes);
214 }
215
216}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java
deleted file mode 100644
index 82f107a6..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java
+++ /dev/null
@@ -1,2721 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.services;
5
6import com.google.inject.Singleton;
7import com.google.inject.Inject;
8
9import java.util.List;
10
11import org.eclipse.xtext.*;
12import org.eclipse.xtext.service.GrammarProvider;
13import org.eclipse.xtext.service.AbstractElementFinder.*;
14
15import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
16
17@Singleton
18public class AlloyLanguageGrammarAccess extends AbstractGrammarElementFinder {
19
20
21 public class ALSDocumentElements extends AbstractParserRuleElementFinder {
22 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDocument");
23 private final Group cGroup = (Group)rule.eContents().get(1);
24 private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
25 private final Assignment cEnumDeclarationsAssignment_0_0 = (Assignment)cAlternatives_0.eContents().get(0);
26 private final RuleCall cEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0 = (RuleCall)cEnumDeclarationsAssignment_0_0.eContents().get(0);
27 private final Assignment cSignatureBodiesAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1);
28 private final RuleCall cSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0 = (RuleCall)cSignatureBodiesAssignment_0_1.eContents().get(0);
29 private final Assignment cFunctionDefinitionsAssignment_0_2 = (Assignment)cAlternatives_0.eContents().get(2);
30 private final RuleCall cFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0 = (RuleCall)cFunctionDefinitionsAssignment_0_2.eContents().get(0);
31 private final Assignment cRelationDefinitionsAssignment_0_3 = (Assignment)cAlternatives_0.eContents().get(3);
32 private final RuleCall cRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0 = (RuleCall)cRelationDefinitionsAssignment_0_3.eContents().get(0);
33 private final Assignment cFactDeclarationsAssignment_0_4 = (Assignment)cAlternatives_0.eContents().get(4);
34 private final RuleCall cFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0 = (RuleCall)cFactDeclarationsAssignment_0_4.eContents().get(0);
35 private final Assignment cRunCommandAssignment_1 = (Assignment)cGroup.eContents().get(1);
36 private final RuleCall cRunCommandALSRunCommandParserRuleCall_1_0 = (RuleCall)cRunCommandAssignment_1.eContents().get(0);
37
38 //ALSDocument:
39 // (enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody |
40 // functionDefinitions+=ALSFunctionDefinition | relationDefinitions+=ALSRelationDefinition |
41 // factDeclarations+=ALSFactDeclaration)+
42 // runCommand=ALSRunCommand;
43 @Override public ParserRule getRule() { return rule; }
44
45 //(enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | functionDefinitions+=ALSFunctionDefinition |
46 //relationDefinitions+=ALSRelationDefinition | factDeclarations+=ALSFactDeclaration)+ runCommand=ALSRunCommand
47 public Group getGroup() { return cGroup; }
48
49 //(enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | functionDefinitions+=ALSFunctionDefinition |
50 //relationDefinitions+=ALSRelationDefinition | factDeclarations+=ALSFactDeclaration)+
51 public Alternatives getAlternatives_0() { return cAlternatives_0; }
52
53 //enumDeclarations+=ALSEnumDeclaration
54 public Assignment getEnumDeclarationsAssignment_0_0() { return cEnumDeclarationsAssignment_0_0; }
55
56 //ALSEnumDeclaration
57 public RuleCall getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0() { return cEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0; }
58
59 //signatureBodies+=ALSSignatureBody
60 public Assignment getSignatureBodiesAssignment_0_1() { return cSignatureBodiesAssignment_0_1; }
61
62 //ALSSignatureBody
63 public RuleCall getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0() { return cSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0; }
64
65 //functionDefinitions+=ALSFunctionDefinition
66 public Assignment getFunctionDefinitionsAssignment_0_2() { return cFunctionDefinitionsAssignment_0_2; }
67
68 //ALSFunctionDefinition
69 public RuleCall getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0() { return cFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0; }
70
71 //relationDefinitions+=ALSRelationDefinition
72 public Assignment getRelationDefinitionsAssignment_0_3() { return cRelationDefinitionsAssignment_0_3; }
73
74 //ALSRelationDefinition
75 public RuleCall getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0() { return cRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0; }
76
77 //factDeclarations+=ALSFactDeclaration
78 public Assignment getFactDeclarationsAssignment_0_4() { return cFactDeclarationsAssignment_0_4; }
79
80 //ALSFactDeclaration
81 public RuleCall getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0() { return cFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0; }
82
83 //runCommand=ALSRunCommand
84 public Assignment getRunCommandAssignment_1() { return cRunCommandAssignment_1; }
85
86 //ALSRunCommand
87 public RuleCall getRunCommandALSRunCommandParserRuleCall_1_0() { return cRunCommandALSRunCommandParserRuleCall_1_0; }
88 }
89
90 public class ALSIDElements extends AbstractParserRuleElementFinder {
91 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
92 private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1);
93
94 //ALSID:
95 // ID;
96 @Override public ParserRule getRule() { return rule; }
97
98 //ID
99 public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; }
100 }
101
102 public class ALSRelationDeclarationElements extends AbstractParserRuleElementFinder {
103 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDeclaration");
104 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
105 private final RuleCall cALSTypeDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
106 private final RuleCall cALSEnumLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
107 private final RuleCall cALSFieldDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
108 private final RuleCall cALSVariableDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
109
110 ////////////////////////////////////
111 //// ALS types
112 ////////////////////////////////////
113 //ALSRelationDeclaration:
114 // ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration;
115 @Override public ParserRule getRule() { return rule; }
116
117 //ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration
118 public Alternatives getAlternatives() { return cAlternatives; }
119
120 //ALSTypeDeclaration
121 public RuleCall getALSTypeDeclarationParserRuleCall_0() { return cALSTypeDeclarationParserRuleCall_0; }
122
123 //ALSEnumLiteral
124 public RuleCall getALSEnumLiteralParserRuleCall_1() { return cALSEnumLiteralParserRuleCall_1; }
125
126 //ALSFieldDeclaration
127 public RuleCall getALSFieldDeclarationParserRuleCall_2() { return cALSFieldDeclarationParserRuleCall_2; }
128
129 //ALSVariableDeclaration
130 public RuleCall getALSVariableDeclarationParserRuleCall_3() { return cALSVariableDeclarationParserRuleCall_3; }
131 }
132
133 public class ALSTypeDeclarationElements extends AbstractParserRuleElementFinder {
134 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeDeclaration");
135 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
136 private final RuleCall cALSEnumDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
137 private final RuleCall cALSSignatureDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
138
139 //ALSTypeDeclaration:
140 // ALSEnumDeclaration | ALSSignatureDeclaration;
141 @Override public ParserRule getRule() { return rule; }
142
143 //ALSEnumDeclaration | ALSSignatureDeclaration
144 public Alternatives getAlternatives() { return cAlternatives; }
145
146 //ALSEnumDeclaration
147 public RuleCall getALSEnumDeclarationParserRuleCall_0() { return cALSEnumDeclarationParserRuleCall_0; }
148
149 //ALSSignatureDeclaration
150 public RuleCall getALSSignatureDeclarationParserRuleCall_1() { return cALSSignatureDeclarationParserRuleCall_1; }
151 }
152
153 public class ALSEnumDeclarationElements extends AbstractParserRuleElementFinder {
154 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration");
155 private final Group cGroup = (Group)rule.eContents().get(1);
156 private final Keyword cEnumKeyword_0 = (Keyword)cGroup.eContents().get(0);
157 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
158 private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
159 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
160 private final Assignment cLiteralAssignment_3 = (Assignment)cGroup.eContents().get(3);
161 private final RuleCall cLiteralALSEnumLiteralParserRuleCall_3_0 = (RuleCall)cLiteralAssignment_3.eContents().get(0);
162 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
163 private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
164 private final Assignment cLiteralAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
165 private final RuleCall cLiteralALSEnumLiteralParserRuleCall_4_1_0 = (RuleCall)cLiteralAssignment_4_1.eContents().get(0);
166 private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
167
168 //ALSEnumDeclaration:
169 // 'enum' name=ALSID '{'
170 // literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)*
171 // '}';
172 @Override public ParserRule getRule() { return rule; }
173
174 //'enum' name=ALSID '{' literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)* '}'
175 public Group getGroup() { return cGroup; }
176
177 //'enum'
178 public Keyword getEnumKeyword_0() { return cEnumKeyword_0; }
179
180 //name=ALSID
181 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
182
183 //ALSID
184 public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; }
185
186 //'{'
187 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
188
189 //literal+=ALSEnumLiteral
190 public Assignment getLiteralAssignment_3() { return cLiteralAssignment_3; }
191
192 //ALSEnumLiteral
193 public RuleCall getLiteralALSEnumLiteralParserRuleCall_3_0() { return cLiteralALSEnumLiteralParserRuleCall_3_0; }
194
195 //("," literal+=ALSEnumLiteral)*
196 public Group getGroup_4() { return cGroup_4; }
197
198 //","
199 public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; }
200
201 //literal+=ALSEnumLiteral
202 public Assignment getLiteralAssignment_4_1() { return cLiteralAssignment_4_1; }
203
204 //ALSEnumLiteral
205 public RuleCall getLiteralALSEnumLiteralParserRuleCall_4_1_0() { return cLiteralALSEnumLiteralParserRuleCall_4_1_0; }
206
207 //'}'
208 public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
209 }
210
211 public class ALSEnumLiteralElements extends AbstractParserRuleElementFinder {
212 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
213 private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1);
214 private final RuleCall cNameALSIDParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0);
215
216 //ALSEnumLiteral:
217 // name=ALSID;
218 @Override public ParserRule getRule() { return rule; }
219
220 //name=ALSID
221 public Assignment getNameAssignment() { return cNameAssignment; }
222
223 //ALSID
224 public RuleCall getNameALSIDParserRuleCall_0() { return cNameALSIDParserRuleCall_0; }
225 }
226
227 public class ALSSignatureDeclarationElements extends AbstractParserRuleElementFinder {
228 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
229 private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1);
230 private final RuleCall cNameALSIDParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0);
231
232 //ALSSignatureDeclaration:
233 // name=ALSID;
234 @Override public ParserRule getRule() { return rule; }
235
236 //name=ALSID
237 public Assignment getNameAssignment() { return cNameAssignment; }
238
239 //ALSID
240 public RuleCall getNameALSIDParserRuleCall_0() { return cNameALSIDParserRuleCall_0; }
241 }
242
243 public class ALSSignatureBodyElements extends AbstractParserRuleElementFinder {
244 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody");
245 private final Group cGroup = (Group)rule.eContents().get(1);
246 private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0);
247 private final Assignment cMultiplicityAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0);
248 private final RuleCall cMultiplicityALSMultiplicityEnumRuleCall_0_0_0 = (RuleCall)cMultiplicityAssignment_0_0.eContents().get(0);
249 private final Assignment cAbstractAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1);
250 private final Keyword cAbstractAbstractKeyword_0_1_0 = (Keyword)cAbstractAssignment_0_1.eContents().get(0);
251 private final Keyword cSigKeyword_1 = (Keyword)cGroup.eContents().get(1);
252 private final Assignment cDeclarationsAssignment_2 = (Assignment)cGroup.eContents().get(2);
253 private final RuleCall cDeclarationsALSSignatureDeclarationParserRuleCall_2_0 = (RuleCall)cDeclarationsAssignment_2.eContents().get(0);
254 private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
255 private final Keyword cCommaKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
256 private final Assignment cDeclarationsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
257 private final RuleCall cDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0 = (RuleCall)cDeclarationsAssignment_3_1.eContents().get(0);
258 private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
259 private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0);
260 private final Keyword cExtendsKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0);
261 private final Assignment cSupertypeAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1);
262 private final CrossReference cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0 = (CrossReference)cSupertypeAssignment_4_0_1.eContents().get(0);
263 private final RuleCall cSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1 = (RuleCall)cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0.eContents().get(1);
264 private final Group cGroup_4_1 = (Group)cAlternatives_4.eContents().get(1);
265 private final Keyword cInKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0);
266 private final Assignment cSupersetAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1);
267 private final CrossReference cSupersetALSSignatureDeclarationCrossReference_4_1_1_0 = (CrossReference)cSupersetAssignment_4_1_1.eContents().get(0);
268 private final RuleCall cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1 = (RuleCall)cSupersetALSSignatureDeclarationCrossReference_4_1_1_0.eContents().get(1);
269 private final Group cGroup_4_1_2 = (Group)cGroup_4_1.eContents().get(2);
270 private final Keyword cPlusSignKeyword_4_1_2_0 = (Keyword)cGroup_4_1_2.eContents().get(0);
271 private final Assignment cSupersetAssignment_4_1_2_1 = (Assignment)cGroup_4_1_2.eContents().get(1);
272 private final CrossReference cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0 = (CrossReference)cSupersetAssignment_4_1_2_1.eContents().get(0);
273 private final RuleCall cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1 = (RuleCall)cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0.eContents().get(1);
274 private final Keyword cLeftCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
275 private final Group cGroup_6 = (Group)cGroup.eContents().get(6);
276 private final Assignment cFieldsAssignment_6_0 = (Assignment)cGroup_6.eContents().get(0);
277 private final RuleCall cFieldsALSFieldDeclarationParserRuleCall_6_0_0 = (RuleCall)cFieldsAssignment_6_0.eContents().get(0);
278 private final Group cGroup_6_1 = (Group)cGroup_6.eContents().get(1);
279 private final Keyword cCommaKeyword_6_1_0 = (Keyword)cGroup_6_1.eContents().get(0);
280 private final Assignment cFieldsAssignment_6_1_1 = (Assignment)cGroup_6_1.eContents().get(1);
281 private final RuleCall cFieldsALSFieldDeclarationParserRuleCall_6_1_1_0 = (RuleCall)cFieldsAssignment_6_1_1.eContents().get(0);
282 private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7);
283
284 //ALSSignatureBody:
285 // (multiplicity=ALSMultiplicity? & abstract?='abstract'?)
286 // 'sig'
287 // declarations+=ALSSignatureDeclaration (',' declarations+=ALSSignatureDeclaration)* ('extends'
288 // supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+'
289 // superset+=[ALSSignatureDeclaration])*)?
290 // '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}';
291 @Override public ParserRule getRule() { return rule; }
292
293 //(multiplicity=ALSMultiplicity? & abstract?='abstract'?) 'sig' declarations+=ALSSignatureDeclaration (','
294 //declarations+=ALSSignatureDeclaration)* ('extends' supertype=[ALSSignatureDeclaration] | 'in'
295 //superset+=[ALSSignatureDeclaration] ('+' superset+=[ALSSignatureDeclaration])*)? '{' (fields+=ALSFieldDeclaration (","
296 //fields+=ALSFieldDeclaration)*)? '}'
297 public Group getGroup() { return cGroup; }
298
299 //multiplicity=ALSMultiplicity? & abstract?='abstract'?
300 public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; }
301
302 //multiplicity=ALSMultiplicity?
303 public Assignment getMultiplicityAssignment_0_0() { return cMultiplicityAssignment_0_0; }
304
305 //ALSMultiplicity
306 public RuleCall getMultiplicityALSMultiplicityEnumRuleCall_0_0_0() { return cMultiplicityALSMultiplicityEnumRuleCall_0_0_0; }
307
308 //abstract?='abstract'?
309 public Assignment getAbstractAssignment_0_1() { return cAbstractAssignment_0_1; }
310
311 //'abstract'
312 public Keyword getAbstractAbstractKeyword_0_1_0() { return cAbstractAbstractKeyword_0_1_0; }
313
314 //'sig'
315 public Keyword getSigKeyword_1() { return cSigKeyword_1; }
316
317 //declarations+=ALSSignatureDeclaration
318 public Assignment getDeclarationsAssignment_2() { return cDeclarationsAssignment_2; }
319
320 //ALSSignatureDeclaration
321 public RuleCall getDeclarationsALSSignatureDeclarationParserRuleCall_2_0() { return cDeclarationsALSSignatureDeclarationParserRuleCall_2_0; }
322
323 //(',' declarations+=ALSSignatureDeclaration)*
324 public Group getGroup_3() { return cGroup_3; }
325
326 //','
327 public Keyword getCommaKeyword_3_0() { return cCommaKeyword_3_0; }
328
329 //declarations+=ALSSignatureDeclaration
330 public Assignment getDeclarationsAssignment_3_1() { return cDeclarationsAssignment_3_1; }
331
332 //ALSSignatureDeclaration
333 public RuleCall getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0() { return cDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0; }
334
335 //('extends' supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+'
336 //superset+=[ALSSignatureDeclaration])*)?
337 public Alternatives getAlternatives_4() { return cAlternatives_4; }
338
339 //'extends' supertype=[ALSSignatureDeclaration]
340 public Group getGroup_4_0() { return cGroup_4_0; }
341
342 //'extends'
343 public Keyword getExtendsKeyword_4_0_0() { return cExtendsKeyword_4_0_0; }
344
345 //supertype=[ALSSignatureDeclaration]
346 public Assignment getSupertypeAssignment_4_0_1() { return cSupertypeAssignment_4_0_1; }
347
348 //[ALSSignatureDeclaration]
349 public CrossReference getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0() { return cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0; }
350
351 //ID
352 public RuleCall getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1() { return cSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1; }
353
354 //'in' superset+=[ALSSignatureDeclaration] ('+' superset+=[ALSSignatureDeclaration])*
355 public Group getGroup_4_1() { return cGroup_4_1; }
356
357 //'in'
358 public Keyword getInKeyword_4_1_0() { return cInKeyword_4_1_0; }
359
360 //superset+=[ALSSignatureDeclaration]
361 public Assignment getSupersetAssignment_4_1_1() { return cSupersetAssignment_4_1_1; }
362
363 //[ALSSignatureDeclaration]
364 public CrossReference getSupersetALSSignatureDeclarationCrossReference_4_1_1_0() { return cSupersetALSSignatureDeclarationCrossReference_4_1_1_0; }
365
366 //ID
367 public RuleCall getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1() { return cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1; }
368
369 //('+' superset+=[ALSSignatureDeclaration])*
370 public Group getGroup_4_1_2() { return cGroup_4_1_2; }
371
372 //'+'
373 public Keyword getPlusSignKeyword_4_1_2_0() { return cPlusSignKeyword_4_1_2_0; }
374
375 //superset+=[ALSSignatureDeclaration]
376 public Assignment getSupersetAssignment_4_1_2_1() { return cSupersetAssignment_4_1_2_1; }
377
378 //[ALSSignatureDeclaration]
379 public CrossReference getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0() { return cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0; }
380
381 //ID
382 public RuleCall getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1() { return cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1; }
383
384 //'{'
385 public Keyword getLeftCurlyBracketKeyword_5() { return cLeftCurlyBracketKeyword_5; }
386
387 //(fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)?
388 public Group getGroup_6() { return cGroup_6; }
389
390 //fields+=ALSFieldDeclaration
391 public Assignment getFieldsAssignment_6_0() { return cFieldsAssignment_6_0; }
392
393 //ALSFieldDeclaration
394 public RuleCall getFieldsALSFieldDeclarationParserRuleCall_6_0_0() { return cFieldsALSFieldDeclarationParserRuleCall_6_0_0; }
395
396 //("," fields+=ALSFieldDeclaration)*
397 public Group getGroup_6_1() { return cGroup_6_1; }
398
399 //","
400 public Keyword getCommaKeyword_6_1_0() { return cCommaKeyword_6_1_0; }
401
402 //fields+=ALSFieldDeclaration
403 public Assignment getFieldsAssignment_6_1_1() { return cFieldsAssignment_6_1_1; }
404
405 //ALSFieldDeclaration
406 public RuleCall getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0() { return cFieldsALSFieldDeclarationParserRuleCall_6_1_1_0; }
407
408 //'}'
409 public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; }
410 }
411
412 public class ALSFieldDeclarationElements extends AbstractParserRuleElementFinder {
413 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
414 private final Group cGroup = (Group)rule.eContents().get(1);
415 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
416 private final RuleCall cNameALSIDParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
417 private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
418 private final Assignment cMultiplicityAssignment_2 = (Assignment)cGroup.eContents().get(2);
419 private final RuleCall cMultiplicityALSMultiplicityEnumRuleCall_2_0 = (RuleCall)cMultiplicityAssignment_2.eContents().get(0);
420 private final Assignment cTypeAssignment_3 = (Assignment)cGroup.eContents().get(3);
421 private final RuleCall cTypeALSTermParserRuleCall_3_0 = (RuleCall)cTypeAssignment_3.eContents().get(0);
422
423 //ALSFieldDeclaration:
424 // name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm;
425 @Override public ParserRule getRule() { return rule; }
426
427 //name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm
428 public Group getGroup() { return cGroup; }
429
430 //name=ALSID
431 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
432
433 //ALSID
434 public RuleCall getNameALSIDParserRuleCall_0_0() { return cNameALSIDParserRuleCall_0_0; }
435
436 //':'
437 public Keyword getColonKeyword_1() { return cColonKeyword_1; }
438
439 //multiplicity=ALSMultiplicity?
440 public Assignment getMultiplicityAssignment_2() { return cMultiplicityAssignment_2; }
441
442 //ALSMultiplicity
443 public RuleCall getMultiplicityALSMultiplicityEnumRuleCall_2_0() { return cMultiplicityALSMultiplicityEnumRuleCall_2_0; }
444
445 //type=ALSTerm
446 public Assignment getTypeAssignment_3() { return cTypeAssignment_3; }
447
448 //ALSTerm
449 public RuleCall getTypeALSTermParserRuleCall_3_0() { return cTypeALSTermParserRuleCall_3_0; }
450 }
451
452 public class ALSDefinitionElements extends AbstractParserRuleElementFinder {
453 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDefinition");
454 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
455 private final RuleCall cALSFunctionDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
456 private final RuleCall cALSRelationDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
457
458 //ALSDefinition:
459 // ALSFunctionDefinition | ALSRelationDefinition;
460 @Override public ParserRule getRule() { return rule; }
461
462 //ALSFunctionDefinition | ALSRelationDefinition
463 public Alternatives getAlternatives() { return cAlternatives; }
464
465 //ALSFunctionDefinition
466 public RuleCall getALSFunctionDefinitionParserRuleCall_0() { return cALSFunctionDefinitionParserRuleCall_0; }
467
468 //ALSRelationDefinition
469 public RuleCall getALSRelationDefinitionParserRuleCall_1() { return cALSRelationDefinitionParserRuleCall_1; }
470 }
471
472 public class ALSFunctionDefinitionElements extends AbstractParserRuleElementFinder {
473 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition");
474 private final Group cGroup = (Group)rule.eContents().get(1);
475 private final Keyword cFunKeyword_0 = (Keyword)cGroup.eContents().get(0);
476 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
477 private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
478 private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
479 private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3);
480 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0);
481 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
482 private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
483 private final Assignment cVariablesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
484 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_4_1_0 = (RuleCall)cVariablesAssignment_4_1.eContents().get(0);
485 private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
486 private final Keyword cColonKeyword_6 = (Keyword)cGroup.eContents().get(6);
487 private final Assignment cTypeAssignment_7 = (Assignment)cGroup.eContents().get(7);
488 private final RuleCall cTypeALSTermParserRuleCall_7_0 = (RuleCall)cTypeAssignment_7.eContents().get(0);
489 private final Keyword cLeftCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
490 private final Assignment cValueAssignment_9 = (Assignment)cGroup.eContents().get(9);
491 private final RuleCall cValueALSTermParserRuleCall_9_0 = (RuleCall)cValueAssignment_9.eContents().get(0);
492 private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10);
493
494 //ALSFunctionDefinition:
495 // "fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm
496 // "{" value=ALSTerm "}";
497 @Override public ParserRule getRule() { return rule; }
498
499 //"fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm "{"
500 //value=ALSTerm "}"
501 public Group getGroup() { return cGroup; }
502
503 //"fun"
504 public Keyword getFunKeyword_0() { return cFunKeyword_0; }
505
506 //name=ALSID
507 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
508
509 //ALSID
510 public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; }
511
512 //"["
513 public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; }
514
515 //variables+=ALSVariableDeclaration
516 public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; }
517
518 //ALSVariableDeclaration
519 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_3_0; }
520
521 //(',' variables+=ALSVariableDeclaration)*
522 public Group getGroup_4() { return cGroup_4; }
523
524 //','
525 public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; }
526
527 //variables+=ALSVariableDeclaration
528 public Assignment getVariablesAssignment_4_1() { return cVariablesAssignment_4_1; }
529
530 //ALSVariableDeclaration
531 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_4_1_0; }
532
533 //"]"
534 public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; }
535
536 //":"
537 public Keyword getColonKeyword_6() { return cColonKeyword_6; }
538
539 //type=ALSTerm
540 public Assignment getTypeAssignment_7() { return cTypeAssignment_7; }
541
542 //ALSTerm
543 public RuleCall getTypeALSTermParserRuleCall_7_0() { return cTypeALSTermParserRuleCall_7_0; }
544
545 //"{"
546 public Keyword getLeftCurlyBracketKeyword_8() { return cLeftCurlyBracketKeyword_8; }
547
548 //value=ALSTerm
549 public Assignment getValueAssignment_9() { return cValueAssignment_9; }
550
551 //ALSTerm
552 public RuleCall getValueALSTermParserRuleCall_9_0() { return cValueALSTermParserRuleCall_9_0; }
553
554 //"}"
555 public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; }
556 }
557
558 public class ALSRelationDefinitionElements extends AbstractParserRuleElementFinder {
559 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition");
560 private final Group cGroup = (Group)rule.eContents().get(1);
561 private final Keyword cPredKeyword_0 = (Keyword)cGroup.eContents().get(0);
562 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
563 private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
564 private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
565 private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3);
566 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0);
567 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
568 private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
569 private final Assignment cVariablesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
570 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_4_1_0 = (RuleCall)cVariablesAssignment_4_1.eContents().get(0);
571 private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
572 private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
573 private final Assignment cValueAssignment_7 = (Assignment)cGroup.eContents().get(7);
574 private final RuleCall cValueALSTermParserRuleCall_7_0 = (RuleCall)cValueAssignment_7.eContents().get(0);
575 private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
576
577 //ALSRelationDefinition:
578 // "pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]"
579 // "{" value=ALSTerm "}";
580 @Override public ParserRule getRule() { return rule; }
581
582 //"pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" "{" value=ALSTerm
583 //"}"
584 public Group getGroup() { return cGroup; }
585
586 //"pred"
587 public Keyword getPredKeyword_0() { return cPredKeyword_0; }
588
589 //name=ALSID
590 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
591
592 //ALSID
593 public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; }
594
595 //"["
596 public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; }
597
598 //variables+=ALSVariableDeclaration
599 public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; }
600
601 //ALSVariableDeclaration
602 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_3_0; }
603
604 //(',' variables+=ALSVariableDeclaration)*
605 public Group getGroup_4() { return cGroup_4; }
606
607 //','
608 public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; }
609
610 //variables+=ALSVariableDeclaration
611 public Assignment getVariablesAssignment_4_1() { return cVariablesAssignment_4_1; }
612
613 //ALSVariableDeclaration
614 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_4_1_0; }
615
616 //"]"
617 public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; }
618
619 //"{"
620 public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; }
621
622 //value=ALSTerm
623 public Assignment getValueAssignment_7() { return cValueAssignment_7; }
624
625 //ALSTerm
626 public RuleCall getValueALSTermParserRuleCall_7_0() { return cValueALSTermParserRuleCall_7_0; }
627
628 //"}"
629 public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; }
630 }
631
632 public class ALSFactDeclarationElements extends AbstractParserRuleElementFinder {
633 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration");
634 private final Group cGroup = (Group)rule.eContents().get(1);
635 private final Action cALSFactDeclarationAction_0 = (Action)cGroup.eContents().get(0);
636 private final Keyword cFactKeyword_1 = (Keyword)cGroup.eContents().get(1);
637 private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
638 private final RuleCall cNameALSIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
639 private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
640 private final Assignment cTermAssignment_4 = (Assignment)cGroup.eContents().get(4);
641 private final RuleCall cTermALSTermParserRuleCall_4_0 = (RuleCall)cTermAssignment_4.eContents().get(0);
642 private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
643
644 //ALSFactDeclaration:
645 // {ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}';
646 @Override public ParserRule getRule() { return rule; }
647
648 //{ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}'
649 public Group getGroup() { return cGroup; }
650
651 //{ALSFactDeclaration}
652 public Action getALSFactDeclarationAction_0() { return cALSFactDeclarationAction_0; }
653
654 //'fact'
655 public Keyword getFactKeyword_1() { return cFactKeyword_1; }
656
657 //name=ALSID?
658 public Assignment getNameAssignment_2() { return cNameAssignment_2; }
659
660 //ALSID
661 public RuleCall getNameALSIDParserRuleCall_2_0() { return cNameALSIDParserRuleCall_2_0; }
662
663 //'{'
664 public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; }
665
666 //term=ALSTerm
667 public Assignment getTermAssignment_4() { return cTermAssignment_4; }
668
669 //ALSTerm
670 public RuleCall getTermALSTermParserRuleCall_4_0() { return cTermALSTermParserRuleCall_4_0; }
671
672 //'}'
673 public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
674 }
675
676 public class ALSTermElements extends AbstractParserRuleElementFinder {
677 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
678 private final RuleCall cALSQuantifiedParserRuleCall = (RuleCall)rule.eContents().get(1);
679
680 ////////////////////////////////////
681 //// ALS terms
682 ////////////////////////////////////
683 //ALSTerm:
684 // ALSQuantified;
685 @Override public ParserRule getRule() { return rule; }
686
687 //ALSQuantified
688 public RuleCall getALSQuantifiedParserRuleCall() { return cALSQuantifiedParserRuleCall; }
689 }
690
691 public class ALSQuantifiedElements extends AbstractParserRuleElementFinder {
692 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSQuantified");
693 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
694 private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
695 private final Action cALSQuantifiedExAction_0_0 = (Action)cGroup_0.eContents().get(0);
696 private final Assignment cTypeAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
697 private final RuleCall cTypeALSMultiplicityEnumRuleCall_0_1_0 = (RuleCall)cTypeAssignment_0_1.eContents().get(0);
698 private final Assignment cDisjAssignment_0_2 = (Assignment)cGroup_0.eContents().get(2);
699 private final Keyword cDisjDisjKeyword_0_2_0 = (Keyword)cDisjAssignment_0_2.eContents().get(0);
700 private final Assignment cVariablesAssignment_0_3 = (Assignment)cGroup_0.eContents().get(3);
701 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_0_3_0 = (RuleCall)cVariablesAssignment_0_3.eContents().get(0);
702 private final Group cGroup_0_4 = (Group)cGroup_0.eContents().get(4);
703 private final Keyword cCommaKeyword_0_4_0 = (Keyword)cGroup_0_4.eContents().get(0);
704 private final Assignment cVariablesAssignment_0_4_1 = (Assignment)cGroup_0_4.eContents().get(1);
705 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_0_4_1_0 = (RuleCall)cVariablesAssignment_0_4_1.eContents().get(0);
706 private final Keyword cLeftCurlyBracketKeyword_0_5 = (Keyword)cGroup_0.eContents().get(5);
707 private final Assignment cExpressionAssignment_0_6 = (Assignment)cGroup_0.eContents().get(6);
708 private final RuleCall cExpressionALSTermParserRuleCall_0_6_0 = (RuleCall)cExpressionAssignment_0_6.eContents().get(0);
709 private final Keyword cRightCurlyBracketKeyword_0_7 = (Keyword)cGroup_0.eContents().get(7);
710 private final RuleCall cALSOrParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
711
712 //ALSQuantified ALSTerm:
713 // {ALSQuantifiedEx} type=ALSMultiplicity
714 // disj?='disj'? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' |
715 // ALSOr;
716 @Override public ParserRule getRule() { return rule; }
717
718 //{ALSQuantifiedEx} type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration (','
719 //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | ALSOr
720 public Alternatives getAlternatives() { return cAlternatives; }
721
722 //{ALSQuantifiedEx} type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration (','
723 //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}'
724 public Group getGroup_0() { return cGroup_0; }
725
726 //{ALSQuantifiedEx}
727 public Action getALSQuantifiedExAction_0_0() { return cALSQuantifiedExAction_0_0; }
728
729 //type=ALSMultiplicity
730 public Assignment getTypeAssignment_0_1() { return cTypeAssignment_0_1; }
731
732 //ALSMultiplicity
733 public RuleCall getTypeALSMultiplicityEnumRuleCall_0_1_0() { return cTypeALSMultiplicityEnumRuleCall_0_1_0; }
734
735 //disj?='disj'?
736 public Assignment getDisjAssignment_0_2() { return cDisjAssignment_0_2; }
737
738 //'disj'
739 public Keyword getDisjDisjKeyword_0_2_0() { return cDisjDisjKeyword_0_2_0; }
740
741 //variables+=ALSVariableDeclaration
742 public Assignment getVariablesAssignment_0_3() { return cVariablesAssignment_0_3; }
743
744 //ALSVariableDeclaration
745 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_0_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_0_3_0; }
746
747 //(',' variables+=ALSVariableDeclaration)*
748 public Group getGroup_0_4() { return cGroup_0_4; }
749
750 //','
751 public Keyword getCommaKeyword_0_4_0() { return cCommaKeyword_0_4_0; }
752
753 //variables+=ALSVariableDeclaration
754 public Assignment getVariablesAssignment_0_4_1() { return cVariablesAssignment_0_4_1; }
755
756 //ALSVariableDeclaration
757 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_0_4_1_0; }
758
759 //'{'
760 public Keyword getLeftCurlyBracketKeyword_0_5() { return cLeftCurlyBracketKeyword_0_5; }
761
762 //expression=ALSTerm
763 public Assignment getExpressionAssignment_0_6() { return cExpressionAssignment_0_6; }
764
765 //ALSTerm
766 public RuleCall getExpressionALSTermParserRuleCall_0_6_0() { return cExpressionALSTermParserRuleCall_0_6_0; }
767
768 //'}'
769 public Keyword getRightCurlyBracketKeyword_0_7() { return cRightCurlyBracketKeyword_0_7; }
770
771 //ALSOr
772 public RuleCall getALSOrParserRuleCall_1() { return cALSOrParserRuleCall_1; }
773 }
774
775 public class ALSOrElements extends AbstractParserRuleElementFinder {
776 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOr");
777 private final Group cGroup = (Group)rule.eContents().get(1);
778 private final RuleCall cALSIffParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
779 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
780 private final Action cALSOrLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
781 private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1);
782 private final Keyword cVerticalLineVerticalLineKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0);
783 private final Keyword cOrKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1);
784 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
785 private final RuleCall cRightOperandALSIffParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
786
787 //ALSOr ALSTerm:
788 // ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?;
789 @Override public ParserRule getRule() { return rule; }
790
791 //ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?
792 public Group getGroup() { return cGroup; }
793
794 //ALSIff
795 public RuleCall getALSIffParserRuleCall_0() { return cALSIffParserRuleCall_0; }
796
797 //({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?
798 public Group getGroup_1() { return cGroup_1; }
799
800 //{ALSOr.leftOperand=current}
801 public Action getALSOrLeftOperandAction_1_0() { return cALSOrLeftOperandAction_1_0; }
802
803 //"||" | "or"
804 public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; }
805
806 //"||"
807 public Keyword getVerticalLineVerticalLineKeyword_1_1_0() { return cVerticalLineVerticalLineKeyword_1_1_0; }
808
809 //"or"
810 public Keyword getOrKeyword_1_1_1() { return cOrKeyword_1_1_1; }
811
812 //rightOperand=ALSIff
813 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
814
815 //ALSIff
816 public RuleCall getRightOperandALSIffParserRuleCall_1_2_0() { return cRightOperandALSIffParserRuleCall_1_2_0; }
817 }
818
819 public class ALSIffElements extends AbstractParserRuleElementFinder {
820 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff");
821 private final Group cGroup = (Group)rule.eContents().get(1);
822 private final RuleCall cALSImplParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
823 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
824 private final Action cALSIffLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
825 private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1);
826 private final Keyword cLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0);
827 private final Keyword cIffKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1);
828 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
829 private final RuleCall cRightOperandALSImplParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
830
831 //ALSIff ALSTerm:
832 // ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?;
833 @Override public ParserRule getRule() { return rule; }
834
835 //ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?
836 public Group getGroup() { return cGroup; }
837
838 //ALSImpl
839 public RuleCall getALSImplParserRuleCall_0() { return cALSImplParserRuleCall_0; }
840
841 //({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?
842 public Group getGroup_1() { return cGroup_1; }
843
844 //{ALSIff.leftOperand=current}
845 public Action getALSIffLeftOperandAction_1_0() { return cALSIffLeftOperandAction_1_0; }
846
847 //"<=>" | "iff"
848 public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; }
849
850 //"<=>"
851 public Keyword getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0() { return cLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0; }
852
853 //"iff"
854 public Keyword getIffKeyword_1_1_1() { return cIffKeyword_1_1_1; }
855
856 //rightOperand=ALSImpl
857 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
858
859 //ALSImpl
860 public RuleCall getRightOperandALSImplParserRuleCall_1_2_0() { return cRightOperandALSImplParserRuleCall_1_2_0; }
861 }
862
863 public class ALSImplElements extends AbstractParserRuleElementFinder {
864 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl");
865 private final Group cGroup = (Group)rule.eContents().get(1);
866 private final RuleCall cALSAndParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
867 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
868 private final Action cALSImplLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
869 private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1);
870 private final Keyword cEqualsSignGreaterThanSignKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0);
871 private final Keyword cImpliesKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1);
872 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
873 private final RuleCall cRightOperandALSAndParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
874 private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3);
875 private final Keyword cElseKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0);
876 private final Assignment cElseOperandAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1);
877 private final RuleCall cElseOperandALSAndParserRuleCall_1_3_1_0 = (RuleCall)cElseOperandAssignment_1_3_1.eContents().get(0);
878
879 //ALSImpl ALSTerm:
880 // ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?;
881 @Override public ParserRule getRule() { return rule; }
882
883 //ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?
884 public Group getGroup() { return cGroup; }
885
886 //ALSAnd
887 public RuleCall getALSAndParserRuleCall_0() { return cALSAndParserRuleCall_0; }
888
889 //({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?
890 public Group getGroup_1() { return cGroup_1; }
891
892 //{ALSImpl.leftOperand=current}
893 public Action getALSImplLeftOperandAction_1_0() { return cALSImplLeftOperandAction_1_0; }
894
895 //"=>" | "implies"
896 public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; }
897
898 //"=>"
899 public Keyword getEqualsSignGreaterThanSignKeyword_1_1_0() { return cEqualsSignGreaterThanSignKeyword_1_1_0; }
900
901 //"implies"
902 public Keyword getImpliesKeyword_1_1_1() { return cImpliesKeyword_1_1_1; }
903
904 //rightOperand=ALSAnd
905 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
906
907 //ALSAnd
908 public RuleCall getRightOperandALSAndParserRuleCall_1_2_0() { return cRightOperandALSAndParserRuleCall_1_2_0; }
909
910 //('else' elseOperand=ALSAnd)?
911 public Group getGroup_1_3() { return cGroup_1_3; }
912
913 //'else'
914 public Keyword getElseKeyword_1_3_0() { return cElseKeyword_1_3_0; }
915
916 //elseOperand=ALSAnd
917 public Assignment getElseOperandAssignment_1_3_1() { return cElseOperandAssignment_1_3_1; }
918
919 //ALSAnd
920 public RuleCall getElseOperandALSAndParserRuleCall_1_3_1_0() { return cElseOperandALSAndParserRuleCall_1_3_1_0; }
921 }
922
923 public class ALSAndElements extends AbstractParserRuleElementFinder {
924 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
925 private final Group cGroup = (Group)rule.eContents().get(1);
926 private final RuleCall cALSComparisonParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
927 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
928 private final Action cALSAndLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
929 private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1);
930 private final Keyword cAmpersandAmpersandKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0);
931 private final Keyword cAndKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1);
932 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
933 private final RuleCall cRightOperandALSComparisonParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
934
935 //ALSAnd ALSTerm:
936 // ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?;
937 @Override public ParserRule getRule() { return rule; }
938
939 //ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?
940 public Group getGroup() { return cGroup; }
941
942 //ALSComparison
943 public RuleCall getALSComparisonParserRuleCall_0() { return cALSComparisonParserRuleCall_0; }
944
945 //({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?
946 public Group getGroup_1() { return cGroup_1; }
947
948 //{ALSAnd.leftOperand=current}
949 public Action getALSAndLeftOperandAction_1_0() { return cALSAndLeftOperandAction_1_0; }
950
951 //"&&" | "and"
952 public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; }
953
954 //"&&"
955 public Keyword getAmpersandAmpersandKeyword_1_1_0() { return cAmpersandAmpersandKeyword_1_1_0; }
956
957 //"and"
958 public Keyword getAndKeyword_1_1_1() { return cAndKeyword_1_1_1; }
959
960 //rightOperand=ALSComparison
961 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
962
963 //ALSComparison
964 public RuleCall getRightOperandALSComparisonParserRuleCall_1_2_0() { return cRightOperandALSComparisonParserRuleCall_1_2_0; }
965 }
966
967 public class ALSComparisonElements extends AbstractParserRuleElementFinder {
968 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison");
969 private final Group cGroup = (Group)rule.eContents().get(1);
970 private final RuleCall cALSOverrideParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
971 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
972 private final Alternatives cAlternatives_1_0 = (Alternatives)cGroup_1.eContents().get(0);
973 private final Group cGroup_1_0_0 = (Group)cAlternatives_1_0.eContents().get(0);
974 private final Action cALSEqualsLeftOperandAction_1_0_0_0 = (Action)cGroup_1_0_0.eContents().get(0);
975 private final Keyword cEqualsSignKeyword_1_0_0_1 = (Keyword)cGroup_1_0_0.eContents().get(1);
976 private final Group cGroup_1_0_1 = (Group)cAlternatives_1_0.eContents().get(1);
977 private final Action cALSNotEqualsLeftOperandAction_1_0_1_0 = (Action)cGroup_1_0_1.eContents().get(0);
978 private final Keyword cExclamationMarkEqualsSignKeyword_1_0_1_1 = (Keyword)cGroup_1_0_1.eContents().get(1);
979 private final Group cGroup_1_0_2 = (Group)cAlternatives_1_0.eContents().get(2);
980 private final Action cALSSubsetLeftOperandAction_1_0_2_0 = (Action)cGroup_1_0_2.eContents().get(0);
981 private final Keyword cInKeyword_1_0_2_1 = (Keyword)cGroup_1_0_2.eContents().get(1);
982 private final Group cGroup_1_0_3 = (Group)cAlternatives_1_0.eContents().get(3);
983 private final Action cALSLessLeftOperandAction_1_0_3_0 = (Action)cGroup_1_0_3.eContents().get(0);
984 private final Keyword cGreaterThanSignKeyword_1_0_3_1 = (Keyword)cGroup_1_0_3.eContents().get(1);
985 private final Group cGroup_1_0_4 = (Group)cAlternatives_1_0.eContents().get(4);
986 private final Action cALSLeqLeftOperandAction_1_0_4_0 = (Action)cGroup_1_0_4.eContents().get(0);
987 private final Keyword cGreaterThanSignEqualsSignKeyword_1_0_4_1 = (Keyword)cGroup_1_0_4.eContents().get(1);
988 private final Group cGroup_1_0_5 = (Group)cAlternatives_1_0.eContents().get(5);
989 private final Action cALSMoreLeftOperandAction_1_0_5_0 = (Action)cGroup_1_0_5.eContents().get(0);
990 private final Keyword cLessThanSignKeyword_1_0_5_1 = (Keyword)cGroup_1_0_5.eContents().get(1);
991 private final Group cGroup_1_0_6 = (Group)cAlternatives_1_0.eContents().get(6);
992 private final Action cALSMeqLeftOperandAction_1_0_6_0 = (Action)cGroup_1_0_6.eContents().get(0);
993 private final Keyword cLessThanSignEqualsSignKeyword_1_0_6_1 = (Keyword)cGroup_1_0_6.eContents().get(1);
994 private final Assignment cRightOperandAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
995 private final RuleCall cRightOperandALSOverrideParserRuleCall_1_1_0 = (RuleCall)cRightOperandAssignment_1_1.eContents().get(0);
996
997 //ALSComparison ALSTerm:
998 // ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" |
999 // {ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" |
1000 // {ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?;
1001 @Override public ParserRule getRule() { return rule; }
1002
1003 //ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" |
1004 //{ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" |
1005 //{ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?
1006 public Group getGroup() { return cGroup; }
1007
1008 //ALSOverride
1009 public RuleCall getALSOverrideParserRuleCall_0() { return cALSOverrideParserRuleCall_0; }
1010
1011 //(({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | {ALSSubset.leftOperand=current} "in" |
1012 //{ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | {ALSMore.leftOperand=current} "<" |
1013 //{ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?
1014 public Group getGroup_1() { return cGroup_1; }
1015
1016 //{ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | {ALSSubset.leftOperand=current} "in" |
1017 //{ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | {ALSMore.leftOperand=current} "<" |
1018 //{ALSMeq.leftOperand=current} "<="
1019 public Alternatives getAlternatives_1_0() { return cAlternatives_1_0; }
1020
1021 //{ALSEquals.leftOperand=current} "="
1022 public Group getGroup_1_0_0() { return cGroup_1_0_0; }
1023
1024 //{ALSEquals.leftOperand=current}
1025 public Action getALSEqualsLeftOperandAction_1_0_0_0() { return cALSEqualsLeftOperandAction_1_0_0_0; }
1026
1027 //"="
1028 public Keyword getEqualsSignKeyword_1_0_0_1() { return cEqualsSignKeyword_1_0_0_1; }
1029
1030 //{ALSNotEquals.leftOperand=current} "!="
1031 public Group getGroup_1_0_1() { return cGroup_1_0_1; }
1032
1033 //{ALSNotEquals.leftOperand=current}
1034 public Action getALSNotEqualsLeftOperandAction_1_0_1_0() { return cALSNotEqualsLeftOperandAction_1_0_1_0; }
1035
1036 //"!="
1037 public Keyword getExclamationMarkEqualsSignKeyword_1_0_1_1() { return cExclamationMarkEqualsSignKeyword_1_0_1_1; }
1038
1039 //{ALSSubset.leftOperand=current} "in"
1040 public Group getGroup_1_0_2() { return cGroup_1_0_2; }
1041
1042 //{ALSSubset.leftOperand=current}
1043 public Action getALSSubsetLeftOperandAction_1_0_2_0() { return cALSSubsetLeftOperandAction_1_0_2_0; }
1044
1045 //"in"
1046 public Keyword getInKeyword_1_0_2_1() { return cInKeyword_1_0_2_1; }
1047
1048 //{ALSLess.leftOperand=current} ">"
1049 public Group getGroup_1_0_3() { return cGroup_1_0_3; }
1050
1051 //{ALSLess.leftOperand=current}
1052 public Action getALSLessLeftOperandAction_1_0_3_0() { return cALSLessLeftOperandAction_1_0_3_0; }
1053
1054 //">"
1055 public Keyword getGreaterThanSignKeyword_1_0_3_1() { return cGreaterThanSignKeyword_1_0_3_1; }
1056
1057 //{ALSLeq.leftOperand=current} ">="
1058 public Group getGroup_1_0_4() { return cGroup_1_0_4; }
1059
1060 //{ALSLeq.leftOperand=current}
1061 public Action getALSLeqLeftOperandAction_1_0_4_0() { return cALSLeqLeftOperandAction_1_0_4_0; }
1062
1063 //">="
1064 public Keyword getGreaterThanSignEqualsSignKeyword_1_0_4_1() { return cGreaterThanSignEqualsSignKeyword_1_0_4_1; }
1065
1066 //{ALSMore.leftOperand=current} "<"
1067 public Group getGroup_1_0_5() { return cGroup_1_0_5; }
1068
1069 //{ALSMore.leftOperand=current}
1070 public Action getALSMoreLeftOperandAction_1_0_5_0() { return cALSMoreLeftOperandAction_1_0_5_0; }
1071
1072 //"<"
1073 public Keyword getLessThanSignKeyword_1_0_5_1() { return cLessThanSignKeyword_1_0_5_1; }
1074
1075 //{ALSMeq.leftOperand=current} "<="
1076 public Group getGroup_1_0_6() { return cGroup_1_0_6; }
1077
1078 //{ALSMeq.leftOperand=current}
1079 public Action getALSMeqLeftOperandAction_1_0_6_0() { return cALSMeqLeftOperandAction_1_0_6_0; }
1080
1081 //"<="
1082 public Keyword getLessThanSignEqualsSignKeyword_1_0_6_1() { return cLessThanSignEqualsSignKeyword_1_0_6_1; }
1083
1084 //rightOperand=ALSOverride
1085 public Assignment getRightOperandAssignment_1_1() { return cRightOperandAssignment_1_1; }
1086
1087 //ALSOverride
1088 public RuleCall getRightOperandALSOverrideParserRuleCall_1_1_0() { return cRightOperandALSOverrideParserRuleCall_1_1_0; }
1089 }
1090
1091 public class ALSOverrideElements extends AbstractParserRuleElementFinder {
1092 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride");
1093 private final Group cGroup = (Group)rule.eContents().get(1);
1094 private final RuleCall cALSRangeRestrictionRightParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1095 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1096 private final Action cALSOverrideLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1097 private final Keyword cPlusSignPlusSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1098 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1099 private final RuleCall cRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
1100
1101 //ALSOverride ALSTerm:
1102 // ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?;
1103 @Override public ParserRule getRule() { return rule; }
1104
1105 //ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?
1106 public Group getGroup() { return cGroup; }
1107
1108 //ALSRangeRestrictionRight
1109 public RuleCall getALSRangeRestrictionRightParserRuleCall_0() { return cALSRangeRestrictionRightParserRuleCall_0; }
1110
1111 //({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?
1112 public Group getGroup_1() { return cGroup_1; }
1113
1114 //{ALSOverride.leftOperand=current}
1115 public Action getALSOverrideLeftOperandAction_1_0() { return cALSOverrideLeftOperandAction_1_0; }
1116
1117 //'++'
1118 public Keyword getPlusSignPlusSignKeyword_1_1() { return cPlusSignPlusSignKeyword_1_1; }
1119
1120 //rightOperand=ALSRangeRestrictionRight
1121 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
1122
1123 //ALSRangeRestrictionRight
1124 public RuleCall getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0() { return cRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0; }
1125 }
1126
1127 public class ALSRangeRestrictionRightElements extends AbstractParserRuleElementFinder {
1128 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight");
1129 private final Group cGroup = (Group)rule.eContents().get(1);
1130 private final RuleCall cALSRangeRestrictionLeftParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1131 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1132 private final Action cALSRangeRestrictionRightRelationAction_1_0 = (Action)cGroup_1.eContents().get(0);
1133 private final Keyword cColonGreaterThanSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1134 private final Assignment cFilterAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1135 private final RuleCall cFilterALSRangeRestrictionLeftParserRuleCall_1_2_0 = (RuleCall)cFilterAssignment_1_2.eContents().get(0);
1136
1137 //ALSRangeRestrictionRight ALSTerm:
1138 // ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?;
1139 @Override public ParserRule getRule() { return rule; }
1140
1141 //ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?
1142 public Group getGroup() { return cGroup; }
1143
1144 //ALSRangeRestrictionLeft
1145 public RuleCall getALSRangeRestrictionLeftParserRuleCall_0() { return cALSRangeRestrictionLeftParserRuleCall_0; }
1146
1147 //({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?
1148 public Group getGroup_1() { return cGroup_1; }
1149
1150 //{ALSRangeRestrictionRight.relation=current}
1151 public Action getALSRangeRestrictionRightRelationAction_1_0() { return cALSRangeRestrictionRightRelationAction_1_0; }
1152
1153 //':>'
1154 public Keyword getColonGreaterThanSignKeyword_1_1() { return cColonGreaterThanSignKeyword_1_1; }
1155
1156 //filter=ALSRangeRestrictionLeft
1157 public Assignment getFilterAssignment_1_2() { return cFilterAssignment_1_2; }
1158
1159 //ALSRangeRestrictionLeft
1160 public RuleCall getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0() { return cFilterALSRangeRestrictionLeftParserRuleCall_1_2_0; }
1161 }
1162
1163 public class ALSRangeRestrictionLeftElements extends AbstractParserRuleElementFinder {
1164 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft");
1165 private final Group cGroup = (Group)rule.eContents().get(1);
1166 private final RuleCall cALSJoinParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1167 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1168 private final Action cALSRangeRestrictionLeftFilterAction_1_0 = (Action)cGroup_1.eContents().get(0);
1169 private final Keyword cLessThanSignColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1170 private final Assignment cRelationAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1171 private final RuleCall cRelationALSJoinParserRuleCall_1_2_0 = (RuleCall)cRelationAssignment_1_2.eContents().get(0);
1172
1173 //ALSRangeRestrictionLeft ALSTerm:
1174 // ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?;
1175 @Override public ParserRule getRule() { return rule; }
1176
1177 //ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?
1178 public Group getGroup() { return cGroup; }
1179
1180 //ALSJoin
1181 public RuleCall getALSJoinParserRuleCall_0() { return cALSJoinParserRuleCall_0; }
1182
1183 //({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?
1184 public Group getGroup_1() { return cGroup_1; }
1185
1186 //{ALSRangeRestrictionLeft.filter=current}
1187 public Action getALSRangeRestrictionLeftFilterAction_1_0() { return cALSRangeRestrictionLeftFilterAction_1_0; }
1188
1189 //'<:'
1190 public Keyword getLessThanSignColonKeyword_1_1() { return cLessThanSignColonKeyword_1_1; }
1191
1192 //relation=ALSJoin
1193 public Assignment getRelationAssignment_1_2() { return cRelationAssignment_1_2; }
1194
1195 //ALSJoin
1196 public RuleCall getRelationALSJoinParserRuleCall_1_2_0() { return cRelationALSJoinParserRuleCall_1_2_0; }
1197 }
1198
1199 public class ALSJoinElements extends AbstractParserRuleElementFinder {
1200 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin");
1201 private final Group cGroup = (Group)rule.eContents().get(1);
1202 private final RuleCall cALSMinusParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1203 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1204 private final Action cALSJoinLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1205 private final Keyword cFullStopKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1206 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1207 private final RuleCall cRightOperandALSMinusParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
1208
1209 //ALSJoin ALSTerm:
1210 // ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*;
1211 @Override public ParserRule getRule() { return rule; }
1212
1213 //ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*
1214 public Group getGroup() { return cGroup; }
1215
1216 //ALSMinus
1217 public RuleCall getALSMinusParserRuleCall_0() { return cALSMinusParserRuleCall_0; }
1218
1219 //({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*
1220 public Group getGroup_1() { return cGroup_1; }
1221
1222 //{ALSJoin.leftOperand=current}
1223 public Action getALSJoinLeftOperandAction_1_0() { return cALSJoinLeftOperandAction_1_0; }
1224
1225 //'.'
1226 public Keyword getFullStopKeyword_1_1() { return cFullStopKeyword_1_1; }
1227
1228 //rightOperand=ALSMinus
1229 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
1230
1231 //ALSMinus
1232 public RuleCall getRightOperandALSMinusParserRuleCall_1_2_0() { return cRightOperandALSMinusParserRuleCall_1_2_0; }
1233 }
1234
1235 public class ALSMinusElements extends AbstractParserRuleElementFinder {
1236 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus");
1237 private final Group cGroup = (Group)rule.eContents().get(1);
1238 private final RuleCall cALSPlusParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1239 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1240 private final Action cALSMinusLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1241 private final Keyword cHyphenMinusKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1242 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1243 private final RuleCall cRightOperandALSPlusParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
1244
1245 //ALSMinus ALSTerm:
1246 // ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*;
1247 @Override public ParserRule getRule() { return rule; }
1248
1249 //ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*
1250 public Group getGroup() { return cGroup; }
1251
1252 //ALSPlus
1253 public RuleCall getALSPlusParserRuleCall_0() { return cALSPlusParserRuleCall_0; }
1254
1255 //({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*
1256 public Group getGroup_1() { return cGroup_1; }
1257
1258 //{ALSMinus.leftOperand=current}
1259 public Action getALSMinusLeftOperandAction_1_0() { return cALSMinusLeftOperandAction_1_0; }
1260
1261 //'-'
1262 public Keyword getHyphenMinusKeyword_1_1() { return cHyphenMinusKeyword_1_1; }
1263
1264 //rightOperand=ALSPlus
1265 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
1266
1267 //ALSPlus
1268 public RuleCall getRightOperandALSPlusParserRuleCall_1_2_0() { return cRightOperandALSPlusParserRuleCall_1_2_0; }
1269 }
1270
1271 public class ALSPlusElements extends AbstractParserRuleElementFinder {
1272 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus");
1273 private final Group cGroup = (Group)rule.eContents().get(1);
1274 private final RuleCall cALSIntersectionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1275 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1276 private final Action cALSPlusLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1277 private final Keyword cPlusSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1278 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1279 private final RuleCall cRightOperandALSIntersectionParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
1280
1281 //ALSPlus ALSTerm:
1282 // ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*;
1283 @Override public ParserRule getRule() { return rule; }
1284
1285 //ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*
1286 public Group getGroup() { return cGroup; }
1287
1288 //ALSIntersection
1289 public RuleCall getALSIntersectionParserRuleCall_0() { return cALSIntersectionParserRuleCall_0; }
1290
1291 //({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*
1292 public Group getGroup_1() { return cGroup_1; }
1293
1294 //{ALSPlus.leftOperand=current}
1295 public Action getALSPlusLeftOperandAction_1_0() { return cALSPlusLeftOperandAction_1_0; }
1296
1297 //'+'
1298 public Keyword getPlusSignKeyword_1_1() { return cPlusSignKeyword_1_1; }
1299
1300 //rightOperand=ALSIntersection
1301 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
1302
1303 //ALSIntersection
1304 public RuleCall getRightOperandALSIntersectionParserRuleCall_1_2_0() { return cRightOperandALSIntersectionParserRuleCall_1_2_0; }
1305 }
1306
1307 public class ALSIntersectionElements extends AbstractParserRuleElementFinder {
1308 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection");
1309 private final Group cGroup = (Group)rule.eContents().get(1);
1310 private final RuleCall cALSDirectProductParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1311 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1312 private final Action cALSIntersectionLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1313 private final Keyword cAmpersandKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1314 private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1315 private final RuleCall cRightOperandALSDirectProductParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0);
1316
1317 //ALSIntersection ALSTerm:
1318 // ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*;
1319 @Override public ParserRule getRule() { return rule; }
1320
1321 //ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*
1322 public Group getGroup() { return cGroup; }
1323
1324 //ALSDirectProduct
1325 public RuleCall getALSDirectProductParserRuleCall_0() { return cALSDirectProductParserRuleCall_0; }
1326
1327 //({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*
1328 public Group getGroup_1() { return cGroup_1; }
1329
1330 //{ALSIntersection.leftOperand=current}
1331 public Action getALSIntersectionLeftOperandAction_1_0() { return cALSIntersectionLeftOperandAction_1_0; }
1332
1333 //'&'
1334 public Keyword getAmpersandKeyword_1_1() { return cAmpersandKeyword_1_1; }
1335
1336 //rightOperand=ALSDirectProduct
1337 public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; }
1338
1339 //ALSDirectProduct
1340 public RuleCall getRightOperandALSDirectProductParserRuleCall_1_2_0() { return cRightOperandALSDirectProductParserRuleCall_1_2_0; }
1341 }
1342
1343 public class ALSDirectProductElements extends AbstractParserRuleElementFinder {
1344 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct");
1345 private final Group cGroup = (Group)rule.eContents().get(1);
1346 private final RuleCall cALSPreficedParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
1347 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1348 private final Action cALSDirectProductLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0);
1349 private final Assignment cLeftMultiplicitAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
1350 private final RuleCall cLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0 = (RuleCall)cLeftMultiplicitAssignment_1_1.eContents().get(0);
1351 private final Keyword cHyphenMinusGreaterThanSignKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2);
1352 private final Assignment cRightMultiplicitAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3);
1353 private final RuleCall cRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0 = (RuleCall)cRightMultiplicitAssignment_1_3.eContents().get(0);
1354 private final Assignment cRightOperandAssignment_1_4 = (Assignment)cGroup_1.eContents().get(4);
1355 private final RuleCall cRightOperandALSPreficedParserRuleCall_1_4_0 = (RuleCall)cRightOperandAssignment_1_4.eContents().get(0);
1356
1357 ////ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*;
1358 //ALSDirectProduct ALSTerm:
1359 // ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity?
1360 // '->'
1361 // rightMultiplicit=ALSMultiplicity?
1362 // rightOperand=ALSPreficed)?;
1363 @Override public ParserRule getRule() { return rule; }
1364
1365 //ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? '->'
1366 //rightMultiplicit=ALSMultiplicity? rightOperand=ALSPreficed)?
1367 public Group getGroup() { return cGroup; }
1368
1369 //ALSPreficed
1370 public RuleCall getALSPreficedParserRuleCall_0() { return cALSPreficedParserRuleCall_0; }
1371
1372 //({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? '->' rightMultiplicit=ALSMultiplicity?
1373 //rightOperand=ALSPreficed)?
1374 public Group getGroup_1() { return cGroup_1; }
1375
1376 //{ALSDirectProduct.leftOperand=current}
1377 public Action getALSDirectProductLeftOperandAction_1_0() { return cALSDirectProductLeftOperandAction_1_0; }
1378
1379 //leftMultiplicit=ALSMultiplicity?
1380 public Assignment getLeftMultiplicitAssignment_1_1() { return cLeftMultiplicitAssignment_1_1; }
1381
1382 //ALSMultiplicity
1383 public RuleCall getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0() { return cLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0; }
1384
1385 //'->'
1386 public Keyword getHyphenMinusGreaterThanSignKeyword_1_2() { return cHyphenMinusGreaterThanSignKeyword_1_2; }
1387
1388 //rightMultiplicit=ALSMultiplicity?
1389 public Assignment getRightMultiplicitAssignment_1_3() { return cRightMultiplicitAssignment_1_3; }
1390
1391 //ALSMultiplicity
1392 public RuleCall getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0() { return cRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0; }
1393
1394 //rightOperand=ALSPreficed
1395 public Assignment getRightOperandAssignment_1_4() { return cRightOperandAssignment_1_4; }
1396
1397 //ALSPreficed
1398 public RuleCall getRightOperandALSPreficedParserRuleCall_1_4_0() { return cRightOperandALSPreficedParserRuleCall_1_4_0; }
1399 }
1400
1401 public class ALSPreficedElements extends AbstractParserRuleElementFinder {
1402 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed");
1403 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1404 private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
1405 private final Action cALSNotAction_0_0 = (Action)cGroup_0.eContents().get(0);
1406 private final Group cGroup_0_1 = (Group)cGroup_0.eContents().get(1);
1407 private final Alternatives cAlternatives_0_1_0 = (Alternatives)cGroup_0_1.eContents().get(0);
1408 private final Keyword cExclamationMarkKeyword_0_1_0_0 = (Keyword)cAlternatives_0_1_0.eContents().get(0);
1409 private final Keyword cNotKeyword_0_1_0_1 = (Keyword)cAlternatives_0_1_0.eContents().get(1);
1410 private final Assignment cOperandAssignment_0_2 = (Assignment)cGroup_0.eContents().get(2);
1411 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_0_2_0 = (RuleCall)cOperandAssignment_0_2.eContents().get(0);
1412 private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
1413 private final Action cALSInverseRelationAction_1_0 = (Action)cGroup_1.eContents().get(0);
1414 private final Keyword cTildeKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1415 private final Assignment cOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
1416 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_1_2_0 = (RuleCall)cOperandAssignment_1_2.eContents().get(0);
1417 private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
1418 private final Action cAlSTransitiveClosureAction_2_0 = (Action)cGroup_2.eContents().get(0);
1419 private final Keyword cCircumflexAccentKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
1420 private final Assignment cOperandAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
1421 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_2_2_0 = (RuleCall)cOperandAssignment_2_2.eContents().get(0);
1422 private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
1423 private final Action cALSReflectiveTransitiveClosureAction_3_0 = (Action)cGroup_3.eContents().get(0);
1424 private final Keyword cAsteriskKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1);
1425 private final Assignment cOperandAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2);
1426 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_3_2_0 = (RuleCall)cOperandAssignment_3_2.eContents().get(0);
1427 private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4);
1428 private final Action cALSCardinalityAction_4_0 = (Action)cGroup_4.eContents().get(0);
1429 private final Keyword cNumberSignKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1);
1430 private final Assignment cOperandAssignment_4_2 = (Assignment)cGroup_4.eContents().get(2);
1431 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_4_2_0 = (RuleCall)cOperandAssignment_4_2.eContents().get(0);
1432 private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5);
1433 private final Action cALSUnaryMinusAction_5_0 = (Action)cGroup_5.eContents().get(0);
1434 private final Keyword cHyphenMinusKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1);
1435 private final Assignment cOperandAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2);
1436 private final RuleCall cOperandALSBasicRelationTermParserRuleCall_5_2_0 = (RuleCall)cOperandAssignment_5_2.eContents().get(0);
1437 private final Group cGroup_6 = (Group)cAlternatives.eContents().get(6);
1438 private final Action cALSSumAction_6_0 = (Action)cGroup_6.eContents().get(0);
1439 private final Keyword cSumKeyword_6_1 = (Keyword)cGroup_6.eContents().get(1);
1440 private final Assignment cVariablesAssignment_6_2 = (Assignment)cGroup_6.eContents().get(2);
1441 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_6_2_0 = (RuleCall)cVariablesAssignment_6_2.eContents().get(0);
1442 private final Group cGroup_6_3 = (Group)cGroup_6.eContents().get(3);
1443 private final Keyword cCommaKeyword_6_3_0 = (Keyword)cGroup_6_3.eContents().get(0);
1444 private final Assignment cVariablesAssignment_6_3_1 = (Assignment)cGroup_6_3.eContents().get(1);
1445 private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_6_3_1_0 = (RuleCall)cVariablesAssignment_6_3_1.eContents().get(0);
1446 private final Keyword cLeftCurlyBracketKeyword_6_4 = (Keyword)cGroup_6.eContents().get(4);
1447 private final Assignment cExpressionAssignment_6_5 = (Assignment)cGroup_6.eContents().get(5);
1448 private final RuleCall cExpressionALSTermParserRuleCall_6_5_0 = (RuleCall)cExpressionAssignment_6_5.eContents().get(0);
1449 private final Keyword cRightCurlyBracketKeyword_6_6 = (Keyword)cGroup_6.eContents().get(6);
1450 private final Group cGroup_7 = (Group)cAlternatives.eContents().get(7);
1451 private final Action cALSFunctionCallAction_7_0 = (Action)cGroup_7.eContents().get(0);
1452 private final Alternatives cAlternatives_7_1 = (Alternatives)cGroup_7.eContents().get(1);
1453 private final Assignment cReferredDefinitionAssignment_7_1_0 = (Assignment)cAlternatives_7_1.eContents().get(0);
1454 private final CrossReference cReferredDefinitionALSDefinitionCrossReference_7_1_0_0 = (CrossReference)cReferredDefinitionAssignment_7_1_0.eContents().get(0);
1455 private final RuleCall cReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1 = (RuleCall)cReferredDefinitionALSDefinitionCrossReference_7_1_0_0.eContents().get(1);
1456 private final Assignment cReferredNumericOperatorAssignment_7_1_1 = (Assignment)cAlternatives_7_1.eContents().get(1);
1457 private final RuleCall cReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0 = (RuleCall)cReferredNumericOperatorAssignment_7_1_1.eContents().get(0);
1458 private final Keyword cLeftSquareBracketKeyword_7_2 = (Keyword)cGroup_7.eContents().get(2);
1459 private final Assignment cParamsAssignment_7_3 = (Assignment)cGroup_7.eContents().get(3);
1460 private final RuleCall cParamsALSTermParserRuleCall_7_3_0 = (RuleCall)cParamsAssignment_7_3.eContents().get(0);
1461 private final Group cGroup_7_4 = (Group)cGroup_7.eContents().get(4);
1462 private final Keyword cCommaKeyword_7_4_0 = (Keyword)cGroup_7_4.eContents().get(0);
1463 private final Assignment cParamsAssignment_7_4_1 = (Assignment)cGroup_7_4.eContents().get(1);
1464 private final RuleCall cParamsALSTermParserRuleCall_7_4_1_0 = (RuleCall)cParamsAssignment_7_4_1.eContents().get(0);
1465 private final Keyword cRightSquareBracketKeyword_7_5 = (Keyword)cGroup_7.eContents().get(5);
1466 private final RuleCall cALSBasicRelationTermParserRuleCall_8 = (RuleCall)cAlternatives.eContents().get(8);
1467
1468 //ALSPreficed ALSTerm:
1469 // {ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm |
1470 // {AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*"
1471 // operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-'
1472 // operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (','
1473 // variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall}
1474 // (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (','
1475 // params+=ALSTerm)* ']' | ALSBasicRelationTerm;
1476 @Override public ParserRule getRule() { return rule; }
1477
1478 //{ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm |
1479 //{AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*"
1480 //operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-'
1481 //operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (','
1482 //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall} (referredDefinition=[ALSDefinition]
1483 //| referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (',' params+=ALSTerm)* ']' | ALSBasicRelationTerm
1484 public Alternatives getAlternatives() { return cAlternatives; }
1485
1486 //{ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm
1487 public Group getGroup_0() { return cGroup_0; }
1488
1489 //{ALSNot}
1490 public Action getALSNotAction_0_0() { return cALSNotAction_0_0; }
1491
1492 //=> ("!" | 'not')
1493 public Group getGroup_0_1() { return cGroup_0_1; }
1494
1495 //"!" | 'not'
1496 public Alternatives getAlternatives_0_1_0() { return cAlternatives_0_1_0; }
1497
1498 //"!"
1499 public Keyword getExclamationMarkKeyword_0_1_0_0() { return cExclamationMarkKeyword_0_1_0_0; }
1500
1501 //'not'
1502 public Keyword getNotKeyword_0_1_0_1() { return cNotKeyword_0_1_0_1; }
1503
1504 //operand=ALSBasicRelationTerm
1505 public Assignment getOperandAssignment_0_2() { return cOperandAssignment_0_2; }
1506
1507 //ALSBasicRelationTerm
1508 public RuleCall getOperandALSBasicRelationTermParserRuleCall_0_2_0() { return cOperandALSBasicRelationTermParserRuleCall_0_2_0; }
1509
1510 //{ALSInverseRelation} => "~" operand=ALSBasicRelationTerm
1511 public Group getGroup_1() { return cGroup_1; }
1512
1513 //{ALSInverseRelation}
1514 public Action getALSInverseRelationAction_1_0() { return cALSInverseRelationAction_1_0; }
1515
1516 //=> "~"
1517 public Keyword getTildeKeyword_1_1() { return cTildeKeyword_1_1; }
1518
1519 //operand=ALSBasicRelationTerm
1520 public Assignment getOperandAssignment_1_2() { return cOperandAssignment_1_2; }
1521
1522 //ALSBasicRelationTerm
1523 public RuleCall getOperandALSBasicRelationTermParserRuleCall_1_2_0() { return cOperandALSBasicRelationTermParserRuleCall_1_2_0; }
1524
1525 //{AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm
1526 public Group getGroup_2() { return cGroup_2; }
1527
1528 //{AlSTransitiveClosure}
1529 public Action getAlSTransitiveClosureAction_2_0() { return cAlSTransitiveClosureAction_2_0; }
1530
1531 //"^"
1532 public Keyword getCircumflexAccentKeyword_2_1() { return cCircumflexAccentKeyword_2_1; }
1533
1534 //operand=ALSBasicRelationTerm
1535 public Assignment getOperandAssignment_2_2() { return cOperandAssignment_2_2; }
1536
1537 //ALSBasicRelationTerm
1538 public RuleCall getOperandALSBasicRelationTermParserRuleCall_2_2_0() { return cOperandALSBasicRelationTermParserRuleCall_2_2_0; }
1539
1540 //{ALSReflectiveTransitiveClosure} "*" operand=ALSBasicRelationTerm
1541 public Group getGroup_3() { return cGroup_3; }
1542
1543 //{ALSReflectiveTransitiveClosure}
1544 public Action getALSReflectiveTransitiveClosureAction_3_0() { return cALSReflectiveTransitiveClosureAction_3_0; }
1545
1546 //"*"
1547 public Keyword getAsteriskKeyword_3_1() { return cAsteriskKeyword_3_1; }
1548
1549 //operand=ALSBasicRelationTerm
1550 public Assignment getOperandAssignment_3_2() { return cOperandAssignment_3_2; }
1551
1552 //ALSBasicRelationTerm
1553 public RuleCall getOperandALSBasicRelationTermParserRuleCall_3_2_0() { return cOperandALSBasicRelationTermParserRuleCall_3_2_0; }
1554
1555 //{ALSCardinality} '#' operand=ALSBasicRelationTerm
1556 public Group getGroup_4() { return cGroup_4; }
1557
1558 //{ALSCardinality}
1559 public Action getALSCardinalityAction_4_0() { return cALSCardinalityAction_4_0; }
1560
1561 //'#'
1562 public Keyword getNumberSignKeyword_4_1() { return cNumberSignKeyword_4_1; }
1563
1564 //operand=ALSBasicRelationTerm
1565 public Assignment getOperandAssignment_4_2() { return cOperandAssignment_4_2; }
1566
1567 //ALSBasicRelationTerm
1568 public RuleCall getOperandALSBasicRelationTermParserRuleCall_4_2_0() { return cOperandALSBasicRelationTermParserRuleCall_4_2_0; }
1569
1570 //{ALSUnaryMinus} => '-' operand=ALSBasicRelationTerm
1571 public Group getGroup_5() { return cGroup_5; }
1572
1573 //{ALSUnaryMinus}
1574 public Action getALSUnaryMinusAction_5_0() { return cALSUnaryMinusAction_5_0; }
1575
1576 //=> '-'
1577 public Keyword getHyphenMinusKeyword_5_1() { return cHyphenMinusKeyword_5_1; }
1578
1579 //operand=ALSBasicRelationTerm
1580 public Assignment getOperandAssignment_5_2() { return cOperandAssignment_5_2; }
1581
1582 //ALSBasicRelationTerm
1583 public RuleCall getOperandALSBasicRelationTermParserRuleCall_5_2_0() { return cOperandALSBasicRelationTermParserRuleCall_5_2_0; }
1584
1585 //{ALSSum} 'sum' variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}'
1586 public Group getGroup_6() { return cGroup_6; }
1587
1588 //{ALSSum}
1589 public Action getALSSumAction_6_0() { return cALSSumAction_6_0; }
1590
1591 //'sum'
1592 public Keyword getSumKeyword_6_1() { return cSumKeyword_6_1; }
1593
1594 //variables+=ALSVariableDeclaration
1595 public Assignment getVariablesAssignment_6_2() { return cVariablesAssignment_6_2; }
1596
1597 //ALSVariableDeclaration
1598 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_6_2_0() { return cVariablesALSVariableDeclarationParserRuleCall_6_2_0; }
1599
1600 //(',' variables+=ALSVariableDeclaration)*
1601 public Group getGroup_6_3() { return cGroup_6_3; }
1602
1603 //','
1604 public Keyword getCommaKeyword_6_3_0() { return cCommaKeyword_6_3_0; }
1605
1606 //variables+=ALSVariableDeclaration
1607 public Assignment getVariablesAssignment_6_3_1() { return cVariablesAssignment_6_3_1; }
1608
1609 //ALSVariableDeclaration
1610 public RuleCall getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_6_3_1_0; }
1611
1612 //'{'
1613 public Keyword getLeftCurlyBracketKeyword_6_4() { return cLeftCurlyBracketKeyword_6_4; }
1614
1615 //expression=ALSTerm
1616 public Assignment getExpressionAssignment_6_5() { return cExpressionAssignment_6_5; }
1617
1618 //ALSTerm
1619 public RuleCall getExpressionALSTermParserRuleCall_6_5_0() { return cExpressionALSTermParserRuleCall_6_5_0; }
1620
1621 //'}'
1622 public Keyword getRightCurlyBracketKeyword_6_6() { return cRightCurlyBracketKeyword_6_6; }
1623
1624 //{ALSFunctionCall} (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm
1625 //(',' params+=ALSTerm)* ']'
1626 public Group getGroup_7() { return cGroup_7; }
1627
1628 //{ALSFunctionCall}
1629 public Action getALSFunctionCallAction_7_0() { return cALSFunctionCallAction_7_0; }
1630
1631 //referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator
1632 public Alternatives getAlternatives_7_1() { return cAlternatives_7_1; }
1633
1634 //referredDefinition=[ALSDefinition]
1635 public Assignment getReferredDefinitionAssignment_7_1_0() { return cReferredDefinitionAssignment_7_1_0; }
1636
1637 //[ALSDefinition]
1638 public CrossReference getReferredDefinitionALSDefinitionCrossReference_7_1_0_0() { return cReferredDefinitionALSDefinitionCrossReference_7_1_0_0; }
1639
1640 //ID
1641 public RuleCall getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1() { return cReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1; }
1642
1643 //referredNumericOperator=ALSNumericOperator
1644 public Assignment getReferredNumericOperatorAssignment_7_1_1() { return cReferredNumericOperatorAssignment_7_1_1; }
1645
1646 //ALSNumericOperator
1647 public RuleCall getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0() { return cReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0; }
1648
1649 //'['
1650 public Keyword getLeftSquareBracketKeyword_7_2() { return cLeftSquareBracketKeyword_7_2; }
1651
1652 //params+=ALSTerm
1653 public Assignment getParamsAssignment_7_3() { return cParamsAssignment_7_3; }
1654
1655 //ALSTerm
1656 public RuleCall getParamsALSTermParserRuleCall_7_3_0() { return cParamsALSTermParserRuleCall_7_3_0; }
1657
1658 //(',' params+=ALSTerm)*
1659 public Group getGroup_7_4() { return cGroup_7_4; }
1660
1661 //','
1662 public Keyword getCommaKeyword_7_4_0() { return cCommaKeyword_7_4_0; }
1663
1664 //params+=ALSTerm
1665 public Assignment getParamsAssignment_7_4_1() { return cParamsAssignment_7_4_1; }
1666
1667 //ALSTerm
1668 public RuleCall getParamsALSTermParserRuleCall_7_4_1_0() { return cParamsALSTermParserRuleCall_7_4_1_0; }
1669
1670 //']'
1671 public Keyword getRightSquareBracketKeyword_7_5() { return cRightSquareBracketKeyword_7_5; }
1672
1673 //ALSBasicRelationTerm
1674 public RuleCall getALSBasicRelationTermParserRuleCall_8() { return cALSBasicRelationTermParserRuleCall_8; }
1675 }
1676
1677 public class ALSVariableDeclarationElements extends AbstractParserRuleElementFinder {
1678 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
1679 private final Group cGroup = (Group)rule.eContents().get(1);
1680 private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
1681 private final RuleCall cNameALSIDParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
1682 private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
1683 private final Assignment cRangeAssignment_2 = (Assignment)cGroup.eContents().get(2);
1684 private final RuleCall cRangeALSTermParserRuleCall_2_0 = (RuleCall)cRangeAssignment_2.eContents().get(0);
1685
1686 ////ALSVariable: name = ALSID;
1687 //ALSVariableDeclaration:
1688 // name=ALSID ':' range=ALSTerm;
1689 @Override public ParserRule getRule() { return rule; }
1690
1691 //name=ALSID ':' range=ALSTerm
1692 public Group getGroup() { return cGroup; }
1693
1694 //name=ALSID
1695 public Assignment getNameAssignment_0() { return cNameAssignment_0; }
1696
1697 //ALSID
1698 public RuleCall getNameALSIDParserRuleCall_0_0() { return cNameALSIDParserRuleCall_0_0; }
1699
1700 //':'
1701 public Keyword getColonKeyword_1() { return cColonKeyword_1; }
1702
1703 //range=ALSTerm
1704 public Assignment getRangeAssignment_2() { return cRangeAssignment_2; }
1705
1706 //ALSTerm
1707 public RuleCall getRangeALSTermParserRuleCall_2_0() { return cRangeALSTermParserRuleCall_2_0; }
1708 }
1709
1710 public class ALSBasicRelationTermElements extends AbstractParserRuleElementFinder {
1711 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
1712 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1713 private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
1714 private final Action cALSNoneAction_0_0 = (Action)cGroup_0.eContents().get(0);
1715 private final Keyword cNoneKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
1716 private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
1717 private final Action cALSIdenAction_1_0 = (Action)cGroup_1.eContents().get(0);
1718 private final Keyword cIdenKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1719 private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
1720 private final Action cALSUnivAction_2_0 = (Action)cGroup_2.eContents().get(0);
1721 private final Keyword cUnivKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
1722 private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
1723 private final Action cALSIntAction_3_0 = (Action)cGroup_3.eContents().get(0);
1724 private final Keyword cIntKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1);
1725 private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4);
1726 private final Action cALSStringAction_4_0 = (Action)cGroup_4.eContents().get(0);
1727 private final Keyword cStringKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1);
1728 private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5);
1729 private final Action cALSReferenceAction_5_0 = (Action)cGroup_5.eContents().get(0);
1730 private final Assignment cReferredAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
1731 private final CrossReference cReferredALSRelationDeclarationCrossReference_5_1_0 = (CrossReference)cReferredAssignment_5_1.eContents().get(0);
1732 private final RuleCall cReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1 = (RuleCall)cReferredALSRelationDeclarationCrossReference_5_1_0.eContents().get(1);
1733 private final Group cGroup_6 = (Group)cAlternatives.eContents().get(6);
1734 private final Action cALSNumberLiteralAction_6_0 = (Action)cGroup_6.eContents().get(0);
1735 private final Assignment cValueAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1);
1736 private final RuleCall cValueINTTerminalRuleCall_6_1_0 = (RuleCall)cValueAssignment_6_1.eContents().get(0);
1737 private final Group cGroup_7 = (Group)cAlternatives.eContents().get(7);
1738 private final Action cALSStringLiteralAction_7_0 = (Action)cGroup_7.eContents().get(0);
1739 private final Assignment cValueAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
1740 private final RuleCall cValueSTRINGTerminalRuleCall_7_1_0 = (RuleCall)cValueAssignment_7_1.eContents().get(0);
1741 private final Group cGroup_8 = (Group)cAlternatives.eContents().get(8);
1742 private final Keyword cLeftParenthesisKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0);
1743 private final RuleCall cALSTermParserRuleCall_8_1 = (RuleCall)cGroup_8.eContents().get(1);
1744 private final Keyword cRightParenthesisKeyword_8_2 = (Keyword)cGroup_8.eContents().get(2);
1745
1746 //ALSBasicRelationTerm ALSTerm:
1747 // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference}
1748 // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING |
1749 // '(' ALSTerm ')';
1750 @Override public ParserRule getRule() { return rule; }
1751
1752 //{ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference}
1753 //referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING | '(' ALSTerm ')'
1754 public Alternatives getAlternatives() { return cAlternatives; }
1755
1756 //{ALSNone} 'none'
1757 public Group getGroup_0() { return cGroup_0; }
1758
1759 //{ALSNone}
1760 public Action getALSNoneAction_0_0() { return cALSNoneAction_0_0; }
1761
1762 //'none'
1763 public Keyword getNoneKeyword_0_1() { return cNoneKeyword_0_1; }
1764
1765 //{ALSIden} 'iden'
1766 public Group getGroup_1() { return cGroup_1; }
1767
1768 //{ALSIden}
1769 public Action getALSIdenAction_1_0() { return cALSIdenAction_1_0; }
1770
1771 //'iden'
1772 public Keyword getIdenKeyword_1_1() { return cIdenKeyword_1_1; }
1773
1774 //{ALSUniv} 'univ'
1775 public Group getGroup_2() { return cGroup_2; }
1776
1777 //{ALSUniv}
1778 public Action getALSUnivAction_2_0() { return cALSUnivAction_2_0; }
1779
1780 //'univ'
1781 public Keyword getUnivKeyword_2_1() { return cUnivKeyword_2_1; }
1782
1783 //{ALSInt} 'Int'
1784 public Group getGroup_3() { return cGroup_3; }
1785
1786 //{ALSInt}
1787 public Action getALSIntAction_3_0() { return cALSIntAction_3_0; }
1788
1789 //'Int'
1790 public Keyword getIntKeyword_3_1() { return cIntKeyword_3_1; }
1791
1792 //{ALSString} 'String'
1793 public Group getGroup_4() { return cGroup_4; }
1794
1795 //{ALSString}
1796 public Action getALSStringAction_4_0() { return cALSStringAction_4_0; }
1797
1798 //'String'
1799 public Keyword getStringKeyword_4_1() { return cStringKeyword_4_1; }
1800
1801 //{ALSReference} referred=[ALSRelationDeclaration]
1802 public Group getGroup_5() { return cGroup_5; }
1803
1804 //{ALSReference}
1805 public Action getALSReferenceAction_5_0() { return cALSReferenceAction_5_0; }
1806
1807 //referred=[ALSRelationDeclaration]
1808 public Assignment getReferredAssignment_5_1() { return cReferredAssignment_5_1; }
1809
1810 //[ALSRelationDeclaration]
1811 public CrossReference getReferredALSRelationDeclarationCrossReference_5_1_0() { return cReferredALSRelationDeclarationCrossReference_5_1_0; }
1812
1813 //ID
1814 public RuleCall getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1() { return cReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1; }
1815
1816 //{ALSNumberLiteral} value=INT
1817 public Group getGroup_6() { return cGroup_6; }
1818
1819 //{ALSNumberLiteral}
1820 public Action getALSNumberLiteralAction_6_0() { return cALSNumberLiteralAction_6_0; }
1821
1822 //value=INT
1823 public Assignment getValueAssignment_6_1() { return cValueAssignment_6_1; }
1824
1825 //INT
1826 public RuleCall getValueINTTerminalRuleCall_6_1_0() { return cValueINTTerminalRuleCall_6_1_0; }
1827
1828 //{ALSStringLiteral} value=STRING
1829 public Group getGroup_7() { return cGroup_7; }
1830
1831 //{ALSStringLiteral}
1832 public Action getALSStringLiteralAction_7_0() { return cALSStringLiteralAction_7_0; }
1833
1834 //value=STRING
1835 public Assignment getValueAssignment_7_1() { return cValueAssignment_7_1; }
1836
1837 //STRING
1838 public RuleCall getValueSTRINGTerminalRuleCall_7_1_0() { return cValueSTRINGTerminalRuleCall_7_1_0; }
1839
1840 //'(' ALSTerm ')'
1841 public Group getGroup_8() { return cGroup_8; }
1842
1843 //'('
1844 public Keyword getLeftParenthesisKeyword_8_0() { return cLeftParenthesisKeyword_8_0; }
1845
1846 //ALSTerm
1847 public RuleCall getALSTermParserRuleCall_8_1() { return cALSTermParserRuleCall_8_1; }
1848
1849 //')'
1850 public Keyword getRightParenthesisKeyword_8_2() { return cRightParenthesisKeyword_8_2; }
1851 }
1852
1853 public class ALSRunCommandElements extends AbstractParserRuleElementFinder {
1854 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand");
1855 private final Group cGroup = (Group)rule.eContents().get(1);
1856 private final Action cALSRunCommandAction_0 = (Action)cGroup.eContents().get(0);
1857 private final Keyword cRunKeyword_1 = (Keyword)cGroup.eContents().get(1);
1858 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
1859 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1860 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
1861 private final Keyword cForKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
1862 private final Assignment cTypeScopesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
1863 private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_1_0 = (RuleCall)cTypeScopesAssignment_4_1.eContents().get(0);
1864 private final Group cGroup_4_2 = (Group)cGroup_4.eContents().get(2);
1865 private final Keyword cCommaKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0);
1866 private final Assignment cTypeScopesAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1);
1867 private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0 = (RuleCall)cTypeScopesAssignment_4_2_1.eContents().get(0);
1868
1869 ////////////////////////////////////
1870 //// ALS Commands and scopes
1871 ////////////////////////////////////
1872 //ALSRunCommand:
1873 // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?;
1874 @Override public ParserRule getRule() { return rule; }
1875
1876 //{ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?
1877 public Group getGroup() { return cGroup; }
1878
1879 //{ALSRunCommand}
1880 public Action getALSRunCommandAction_0() { return cALSRunCommandAction_0; }
1881
1882 //'run'
1883 public Keyword getRunKeyword_1() { return cRunKeyword_1; }
1884
1885 //'{'
1886 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
1887
1888 //'}'
1889 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
1890
1891 //('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?
1892 public Group getGroup_4() { return cGroup_4; }
1893
1894 //'for'
1895 public Keyword getForKeyword_4_0() { return cForKeyword_4_0; }
1896
1897 //typeScopes+=ALSTypeScope
1898 public Assignment getTypeScopesAssignment_4_1() { return cTypeScopesAssignment_4_1; }
1899
1900 //ALSTypeScope
1901 public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_1_0; }
1902
1903 //(',' typeScopes+=ALSTypeScope)*
1904 public Group getGroup_4_2() { return cGroup_4_2; }
1905
1906 //','
1907 public Keyword getCommaKeyword_4_2_0() { return cCommaKeyword_4_2_0; }
1908
1909 //typeScopes+=ALSTypeScope
1910 public Assignment getTypeScopesAssignment_4_2_1() { return cTypeScopesAssignment_4_2_1; }
1911
1912 //ALSTypeScope
1913 public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0; }
1914 }
1915
1916 public class ALSTypeScopeElements extends AbstractParserRuleElementFinder {
1917 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
1918 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1919 private final RuleCall cALSSigScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1920 private final RuleCall cALSIntScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1921 private final RuleCall cALSStringScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
1922
1923 //ALSTypeScope:
1924 // ALSSigScope | ALSIntScope | ALSStringScope;
1925 @Override public ParserRule getRule() { return rule; }
1926
1927 //ALSSigScope | ALSIntScope | ALSStringScope
1928 public Alternatives getAlternatives() { return cAlternatives; }
1929
1930 //ALSSigScope
1931 public RuleCall getALSSigScopeParserRuleCall_0() { return cALSSigScopeParserRuleCall_0; }
1932
1933 //ALSIntScope
1934 public RuleCall getALSIntScopeParserRuleCall_1() { return cALSIntScopeParserRuleCall_1; }
1935
1936 //ALSStringScope
1937 public RuleCall getALSStringScopeParserRuleCall_2() { return cALSStringScopeParserRuleCall_2; }
1938 }
1939
1940 public class ALSSigScopeElements extends AbstractParserRuleElementFinder {
1941 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSigScope");
1942 private final Group cGroup = (Group)rule.eContents().get(1);
1943 private final Assignment cExactlyAssignment_0 = (Assignment)cGroup.eContents().get(0);
1944 private final Keyword cExactlyExactlyKeyword_0_0 = (Keyword)cExactlyAssignment_0.eContents().get(0);
1945 private final Assignment cNumberAssignment_1 = (Assignment)cGroup.eContents().get(1);
1946 private final RuleCall cNumberINTTerminalRuleCall_1_0 = (RuleCall)cNumberAssignment_1.eContents().get(0);
1947 private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2);
1948 private final CrossReference cTypeALSSignatureDeclarationCrossReference_2_0 = (CrossReference)cTypeAssignment_2.eContents().get(0);
1949 private final RuleCall cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cTypeALSSignatureDeclarationCrossReference_2_0.eContents().get(1);
1950
1951 //ALSSigScope:
1952 // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration];
1953 @Override public ParserRule getRule() { return rule; }
1954
1955 //exactly?='exactly'? number=INT type=[ALSSignatureDeclaration]
1956 public Group getGroup() { return cGroup; }
1957
1958 //exactly?='exactly'?
1959 public Assignment getExactlyAssignment_0() { return cExactlyAssignment_0; }
1960
1961 //'exactly'
1962 public Keyword getExactlyExactlyKeyword_0_0() { return cExactlyExactlyKeyword_0_0; }
1963
1964 //number=INT
1965 public Assignment getNumberAssignment_1() { return cNumberAssignment_1; }
1966
1967 //INT
1968 public RuleCall getNumberINTTerminalRuleCall_1_0() { return cNumberINTTerminalRuleCall_1_0; }
1969
1970 //type=[ALSSignatureDeclaration]
1971 public Assignment getTypeAssignment_2() { return cTypeAssignment_2; }
1972
1973 //[ALSSignatureDeclaration]
1974 public CrossReference getTypeALSSignatureDeclarationCrossReference_2_0() { return cTypeALSSignatureDeclarationCrossReference_2_0; }
1975
1976 //ID
1977 public RuleCall getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1() { return cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1; }
1978 }
1979
1980 public class ALSIntScopeElements extends AbstractParserRuleElementFinder {
1981 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntScope");
1982 private final Group cGroup = (Group)rule.eContents().get(1);
1983 private final Assignment cNumberAssignment_0 = (Assignment)cGroup.eContents().get(0);
1984 private final RuleCall cNumberINTTerminalRuleCall_0_0 = (RuleCall)cNumberAssignment_0.eContents().get(0);
1985 private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1);
1986
1987 //ALSIntScope:
1988 // number=INT 'Int';
1989 @Override public ParserRule getRule() { return rule; }
1990
1991 //number=INT 'Int'
1992 public Group getGroup() { return cGroup; }
1993
1994 //number=INT
1995 public Assignment getNumberAssignment_0() { return cNumberAssignment_0; }
1996
1997 //INT
1998 public RuleCall getNumberINTTerminalRuleCall_0_0() { return cNumberINTTerminalRuleCall_0_0; }
1999
2000 //'Int'
2001 public Keyword getIntKeyword_1() { return cIntKeyword_1; }
2002 }
2003
2004 public class ALSStringScopeElements extends AbstractParserRuleElementFinder {
2005 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSStringScope");
2006 private final Group cGroup = (Group)rule.eContents().get(1);
2007 private final Keyword cExactlyKeyword_0 = (Keyword)cGroup.eContents().get(0);
2008 private final Assignment cNumberAssignment_1 = (Assignment)cGroup.eContents().get(1);
2009 private final RuleCall cNumberINTTerminalRuleCall_1_0 = (RuleCall)cNumberAssignment_1.eContents().get(0);
2010 private final Keyword cStringKeyword_2 = (Keyword)cGroup.eContents().get(2);
2011
2012 //ALSStringScope:
2013 // 'exactly' number=INT 'String';
2014 @Override public ParserRule getRule() { return rule; }
2015
2016 //'exactly' number=INT 'String'
2017 public Group getGroup() { return cGroup; }
2018
2019 //'exactly'
2020 public Keyword getExactlyKeyword_0() { return cExactlyKeyword_0; }
2021
2022 //number=INT
2023 public Assignment getNumberAssignment_1() { return cNumberAssignment_1; }
2024
2025 //INT
2026 public RuleCall getNumberINTTerminalRuleCall_1_0() { return cNumberINTTerminalRuleCall_1_0; }
2027
2028 //'String'
2029 public Keyword getStringKeyword_2() { return cStringKeyword_2; }
2030 }
2031
2032
2033 public class ALSMultiplicityElements extends AbstractEnumRuleElementFinder {
2034 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
2035 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2036 private final EnumLiteralDeclaration cAllEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
2037 private final Keyword cAllAllKeyword_0_0 = (Keyword)cAllEnumLiteralDeclaration_0.eContents().get(0);
2038 private final EnumLiteralDeclaration cNoEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
2039 private final Keyword cNoNoKeyword_1_0 = (Keyword)cNoEnumLiteralDeclaration_1.eContents().get(0);
2040 private final EnumLiteralDeclaration cSomeEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
2041 private final Keyword cSomeSomeKeyword_2_0 = (Keyword)cSomeEnumLiteralDeclaration_2.eContents().get(0);
2042 private final EnumLiteralDeclaration cLoneEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
2043 private final Keyword cLoneLoneKeyword_3_0 = (Keyword)cLoneEnumLiteralDeclaration_3.eContents().get(0);
2044 private final EnumLiteralDeclaration cOneEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
2045 private final Keyword cOneOneKeyword_4_0 = (Keyword)cOneEnumLiteralDeclaration_4.eContents().get(0);
2046 private final EnumLiteralDeclaration cSetEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
2047 private final Keyword cSetSetKeyword_5_0 = (Keyword)cSetEnumLiteralDeclaration_5.eContents().get(0);
2048
2049 //enum ALSMultiplicity:
2050 // all | no | some | lone | one | set;
2051 public EnumRule getRule() { return rule; }
2052
2053 //all | no | some | lone | one | set
2054 public Alternatives getAlternatives() { return cAlternatives; }
2055
2056 //all
2057 public EnumLiteralDeclaration getAllEnumLiteralDeclaration_0() { return cAllEnumLiteralDeclaration_0; }
2058
2059 //"all"
2060 public Keyword getAllAllKeyword_0_0() { return cAllAllKeyword_0_0; }
2061
2062 //no
2063 public EnumLiteralDeclaration getNoEnumLiteralDeclaration_1() { return cNoEnumLiteralDeclaration_1; }
2064
2065 //"no"
2066 public Keyword getNoNoKeyword_1_0() { return cNoNoKeyword_1_0; }
2067
2068 //some
2069 public EnumLiteralDeclaration getSomeEnumLiteralDeclaration_2() { return cSomeEnumLiteralDeclaration_2; }
2070
2071 //"some"
2072 public Keyword getSomeSomeKeyword_2_0() { return cSomeSomeKeyword_2_0; }
2073
2074 //lone
2075 public EnumLiteralDeclaration getLoneEnumLiteralDeclaration_3() { return cLoneEnumLiteralDeclaration_3; }
2076
2077 //"lone"
2078 public Keyword getLoneLoneKeyword_3_0() { return cLoneLoneKeyword_3_0; }
2079
2080 //one
2081 public EnumLiteralDeclaration getOneEnumLiteralDeclaration_4() { return cOneEnumLiteralDeclaration_4; }
2082
2083 //"one"
2084 public Keyword getOneOneKeyword_4_0() { return cOneOneKeyword_4_0; }
2085
2086 //set
2087 public EnumLiteralDeclaration getSetEnumLiteralDeclaration_5() { return cSetEnumLiteralDeclaration_5; }
2088
2089 //"set"
2090 public Keyword getSetSetKeyword_5_0() { return cSetSetKeyword_5_0; }
2091 }
2092
2093 public class ALSNumericOperatorElements extends AbstractEnumRuleElementFinder {
2094 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator");
2095 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2096 private final EnumLiteralDeclaration cPlusEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
2097 private final Keyword cPlusPlusKeyword_0_0 = (Keyword)cPlusEnumLiteralDeclaration_0.eContents().get(0);
2098 private final EnumLiteralDeclaration cSubEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
2099 private final Keyword cSubSubKeyword_1_0 = (Keyword)cSubEnumLiteralDeclaration_1.eContents().get(0);
2100 private final EnumLiteralDeclaration cMulEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
2101 private final Keyword cMulMulKeyword_2_0 = (Keyword)cMulEnumLiteralDeclaration_2.eContents().get(0);
2102 private final EnumLiteralDeclaration cRemEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
2103 private final Keyword cRemRemKeyword_3_0 = (Keyword)cRemEnumLiteralDeclaration_3.eContents().get(0);
2104 private final EnumLiteralDeclaration cDivEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
2105 private final Keyword cDivDivKeyword_4_0 = (Keyword)cDivEnumLiteralDeclaration_4.eContents().get(0);
2106
2107 //enum ALSNumericOperator:
2108 // plus | sub | mul | rem | div;
2109 public EnumRule getRule() { return rule; }
2110
2111 //plus | sub | mul | rem | div
2112 public Alternatives getAlternatives() { return cAlternatives; }
2113
2114 //plus
2115 public EnumLiteralDeclaration getPlusEnumLiteralDeclaration_0() { return cPlusEnumLiteralDeclaration_0; }
2116
2117 //"plus"
2118 public Keyword getPlusPlusKeyword_0_0() { return cPlusPlusKeyword_0_0; }
2119
2120 //sub
2121 public EnumLiteralDeclaration getSubEnumLiteralDeclaration_1() { return cSubEnumLiteralDeclaration_1; }
2122
2123 //"sub"
2124 public Keyword getSubSubKeyword_1_0() { return cSubSubKeyword_1_0; }
2125
2126 //mul
2127 public EnumLiteralDeclaration getMulEnumLiteralDeclaration_2() { return cMulEnumLiteralDeclaration_2; }
2128
2129 //"mul"
2130 public Keyword getMulMulKeyword_2_0() { return cMulMulKeyword_2_0; }
2131
2132 //rem
2133 public EnumLiteralDeclaration getRemEnumLiteralDeclaration_3() { return cRemEnumLiteralDeclaration_3; }
2134
2135 //"rem"
2136 public Keyword getRemRemKeyword_3_0() { return cRemRemKeyword_3_0; }
2137
2138 //div
2139 public EnumLiteralDeclaration getDivEnumLiteralDeclaration_4() { return cDivEnumLiteralDeclaration_4; }
2140
2141 //"div"
2142 public Keyword getDivDivKeyword_4_0() { return cDivDivKeyword_4_0; }
2143 }
2144
2145 private final ALSDocumentElements pALSDocument;
2146 private final TerminalRule tID;
2147 private final ALSIDElements pALSID;
2148 private final ALSMultiplicityElements eALSMultiplicity;
2149 private final ALSRelationDeclarationElements pALSRelationDeclaration;
2150 private final ALSTypeDeclarationElements pALSTypeDeclaration;
2151 private final ALSEnumDeclarationElements pALSEnumDeclaration;
2152 private final ALSEnumLiteralElements pALSEnumLiteral;
2153 private final ALSSignatureDeclarationElements pALSSignatureDeclaration;
2154 private final ALSSignatureBodyElements pALSSignatureBody;
2155 private final ALSFieldDeclarationElements pALSFieldDeclaration;
2156 private final ALSDefinitionElements pALSDefinition;
2157 private final ALSFunctionDefinitionElements pALSFunctionDefinition;
2158 private final ALSRelationDefinitionElements pALSRelationDefinition;
2159 private final ALSFactDeclarationElements pALSFactDeclaration;
2160 private final ALSTermElements pALSTerm;
2161 private final ALSQuantifiedElements pALSQuantified;
2162 private final ALSOrElements pALSOr;
2163 private final ALSIffElements pALSIff;
2164 private final ALSImplElements pALSImpl;
2165 private final ALSAndElements pALSAnd;
2166 private final ALSComparisonElements pALSComparison;
2167 private final ALSOverrideElements pALSOverride;
2168 private final ALSRangeRestrictionRightElements pALSRangeRestrictionRight;
2169 private final ALSRangeRestrictionLeftElements pALSRangeRestrictionLeft;
2170 private final ALSJoinElements pALSJoin;
2171 private final ALSMinusElements pALSMinus;
2172 private final ALSPlusElements pALSPlus;
2173 private final ALSIntersectionElements pALSIntersection;
2174 private final ALSDirectProductElements pALSDirectProduct;
2175 private final ALSPreficedElements pALSPreficed;
2176 private final ALSNumericOperatorElements eALSNumericOperator;
2177 private final ALSVariableDeclarationElements pALSVariableDeclaration;
2178 private final ALSBasicRelationTermElements pALSBasicRelationTerm;
2179 private final ALSRunCommandElements pALSRunCommand;
2180 private final ALSTypeScopeElements pALSTypeScope;
2181 private final ALSSigScopeElements pALSSigScope;
2182 private final ALSIntScopeElements pALSIntScope;
2183 private final ALSStringScopeElements pALSStringScope;
2184
2185 private final Grammar grammar;
2186
2187 private final TerminalsGrammarAccess gaTerminals;
2188
2189 @Inject
2190 public AlloyLanguageGrammarAccess(GrammarProvider grammarProvider,
2191 TerminalsGrammarAccess gaTerminals) {
2192 this.grammar = internalFindGrammar(grammarProvider);
2193 this.gaTerminals = gaTerminals;
2194 this.pALSDocument = new ALSDocumentElements();
2195 this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ID");
2196 this.pALSID = new ALSIDElements();
2197 this.eALSMultiplicity = new ALSMultiplicityElements();
2198 this.pALSRelationDeclaration = new ALSRelationDeclarationElements();
2199 this.pALSTypeDeclaration = new ALSTypeDeclarationElements();
2200 this.pALSEnumDeclaration = new ALSEnumDeclarationElements();
2201 this.pALSEnumLiteral = new ALSEnumLiteralElements();
2202 this.pALSSignatureDeclaration = new ALSSignatureDeclarationElements();
2203 this.pALSSignatureBody = new ALSSignatureBodyElements();
2204 this.pALSFieldDeclaration = new ALSFieldDeclarationElements();
2205 this.pALSDefinition = new ALSDefinitionElements();
2206 this.pALSFunctionDefinition = new ALSFunctionDefinitionElements();
2207 this.pALSRelationDefinition = new ALSRelationDefinitionElements();
2208 this.pALSFactDeclaration = new ALSFactDeclarationElements();
2209 this.pALSTerm = new ALSTermElements();
2210 this.pALSQuantified = new ALSQuantifiedElements();
2211 this.pALSOr = new ALSOrElements();
2212 this.pALSIff = new ALSIffElements();
2213 this.pALSImpl = new ALSImplElements();
2214 this.pALSAnd = new ALSAndElements();
2215 this.pALSComparison = new ALSComparisonElements();
2216 this.pALSOverride = new ALSOverrideElements();
2217 this.pALSRangeRestrictionRight = new ALSRangeRestrictionRightElements();
2218 this.pALSRangeRestrictionLeft = new ALSRangeRestrictionLeftElements();
2219 this.pALSJoin = new ALSJoinElements();
2220 this.pALSMinus = new ALSMinusElements();
2221 this.pALSPlus = new ALSPlusElements();
2222 this.pALSIntersection = new ALSIntersectionElements();
2223 this.pALSDirectProduct = new ALSDirectProductElements();
2224 this.pALSPreficed = new ALSPreficedElements();
2225 this.eALSNumericOperator = new ALSNumericOperatorElements();
2226 this.pALSVariableDeclaration = new ALSVariableDeclarationElements();
2227 this.pALSBasicRelationTerm = new ALSBasicRelationTermElements();
2228 this.pALSRunCommand = new ALSRunCommandElements();
2229 this.pALSTypeScope = new ALSTypeScopeElements();
2230 this.pALSSigScope = new ALSSigScopeElements();
2231 this.pALSIntScope = new ALSIntScopeElements();
2232 this.pALSStringScope = new ALSStringScopeElements();
2233 }
2234
2235 protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
2236 Grammar grammar = grammarProvider.getGrammar(this);
2237 while (grammar != null) {
2238 if ("hu.bme.mit.inf.dslreasoner.AlloyLanguage".equals(grammar.getName())) {
2239 return grammar;
2240 }
2241 List<Grammar> grammars = grammar.getUsedGrammars();
2242 if (!grammars.isEmpty()) {
2243 grammar = grammars.iterator().next();
2244 } else {
2245 return null;
2246 }
2247 }
2248 return grammar;
2249 }
2250
2251 @Override
2252 public Grammar getGrammar() {
2253 return grammar;
2254 }
2255
2256
2257 public TerminalsGrammarAccess getTerminalsGrammarAccess() {
2258 return gaTerminals;
2259 }
2260
2261
2262 //ALSDocument:
2263 // (enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody |
2264 // functionDefinitions+=ALSFunctionDefinition | relationDefinitions+=ALSRelationDefinition |
2265 // factDeclarations+=ALSFactDeclaration)+
2266 // runCommand=ALSRunCommand;
2267 public ALSDocumentElements getALSDocumentAccess() {
2268 return pALSDocument;
2269 }
2270
2271 public ParserRule getALSDocumentRule() {
2272 return getALSDocumentAccess().getRule();
2273 }
2274
2275 //terminal ID:
2276 // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | "'" | '"' | '0'..'9')*;
2277 public TerminalRule getIDRule() {
2278 return tID;
2279 }
2280
2281 //ALSID:
2282 // ID;
2283 public ALSIDElements getALSIDAccess() {
2284 return pALSID;
2285 }
2286
2287 public ParserRule getALSIDRule() {
2288 return getALSIDAccess().getRule();
2289 }
2290
2291 //enum ALSMultiplicity:
2292 // all | no | some | lone | one | set;
2293 public ALSMultiplicityElements getALSMultiplicityAccess() {
2294 return eALSMultiplicity;
2295 }
2296
2297 public EnumRule getALSMultiplicityRule() {
2298 return getALSMultiplicityAccess().getRule();
2299 }
2300
2301 ////////////////////////////////////
2302 //// ALS types
2303 ////////////////////////////////////
2304 //ALSRelationDeclaration:
2305 // ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration;
2306 public ALSRelationDeclarationElements getALSRelationDeclarationAccess() {
2307 return pALSRelationDeclaration;
2308 }
2309
2310 public ParserRule getALSRelationDeclarationRule() {
2311 return getALSRelationDeclarationAccess().getRule();
2312 }
2313
2314 //ALSTypeDeclaration:
2315 // ALSEnumDeclaration | ALSSignatureDeclaration;
2316 public ALSTypeDeclarationElements getALSTypeDeclarationAccess() {
2317 return pALSTypeDeclaration;
2318 }
2319
2320 public ParserRule getALSTypeDeclarationRule() {
2321 return getALSTypeDeclarationAccess().getRule();
2322 }
2323
2324 //ALSEnumDeclaration:
2325 // 'enum' name=ALSID '{'
2326 // literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)*
2327 // '}';
2328 public ALSEnumDeclarationElements getALSEnumDeclarationAccess() {
2329 return pALSEnumDeclaration;
2330 }
2331
2332 public ParserRule getALSEnumDeclarationRule() {
2333 return getALSEnumDeclarationAccess().getRule();
2334 }
2335
2336 //ALSEnumLiteral:
2337 // name=ALSID;
2338 public ALSEnumLiteralElements getALSEnumLiteralAccess() {
2339 return pALSEnumLiteral;
2340 }
2341
2342 public ParserRule getALSEnumLiteralRule() {
2343 return getALSEnumLiteralAccess().getRule();
2344 }
2345
2346 //ALSSignatureDeclaration:
2347 // name=ALSID;
2348 public ALSSignatureDeclarationElements getALSSignatureDeclarationAccess() {
2349 return pALSSignatureDeclaration;
2350 }
2351
2352 public ParserRule getALSSignatureDeclarationRule() {
2353 return getALSSignatureDeclarationAccess().getRule();
2354 }
2355
2356 //ALSSignatureBody:
2357 // (multiplicity=ALSMultiplicity? & abstract?='abstract'?)
2358 // 'sig'
2359 // declarations+=ALSSignatureDeclaration (',' declarations+=ALSSignatureDeclaration)* ('extends'
2360 // supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+'
2361 // superset+=[ALSSignatureDeclaration])*)?
2362 // '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}';
2363 public ALSSignatureBodyElements getALSSignatureBodyAccess() {
2364 return pALSSignatureBody;
2365 }
2366
2367 public ParserRule getALSSignatureBodyRule() {
2368 return getALSSignatureBodyAccess().getRule();
2369 }
2370
2371 //ALSFieldDeclaration:
2372 // name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm;
2373 public ALSFieldDeclarationElements getALSFieldDeclarationAccess() {
2374 return pALSFieldDeclaration;
2375 }
2376
2377 public ParserRule getALSFieldDeclarationRule() {
2378 return getALSFieldDeclarationAccess().getRule();
2379 }
2380
2381 //ALSDefinition:
2382 // ALSFunctionDefinition | ALSRelationDefinition;
2383 public ALSDefinitionElements getALSDefinitionAccess() {
2384 return pALSDefinition;
2385 }
2386
2387 public ParserRule getALSDefinitionRule() {
2388 return getALSDefinitionAccess().getRule();
2389 }
2390
2391 //ALSFunctionDefinition:
2392 // "fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm
2393 // "{" value=ALSTerm "}";
2394 public ALSFunctionDefinitionElements getALSFunctionDefinitionAccess() {
2395 return pALSFunctionDefinition;
2396 }
2397
2398 public ParserRule getALSFunctionDefinitionRule() {
2399 return getALSFunctionDefinitionAccess().getRule();
2400 }
2401
2402 //ALSRelationDefinition:
2403 // "pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]"
2404 // "{" value=ALSTerm "}";
2405 public ALSRelationDefinitionElements getALSRelationDefinitionAccess() {
2406 return pALSRelationDefinition;
2407 }
2408
2409 public ParserRule getALSRelationDefinitionRule() {
2410 return getALSRelationDefinitionAccess().getRule();
2411 }
2412
2413 //ALSFactDeclaration:
2414 // {ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}';
2415 public ALSFactDeclarationElements getALSFactDeclarationAccess() {
2416 return pALSFactDeclaration;
2417 }
2418
2419 public ParserRule getALSFactDeclarationRule() {
2420 return getALSFactDeclarationAccess().getRule();
2421 }
2422
2423 ////////////////////////////////////
2424 //// ALS terms
2425 ////////////////////////////////////
2426 //ALSTerm:
2427 // ALSQuantified;
2428 public ALSTermElements getALSTermAccess() {
2429 return pALSTerm;
2430 }
2431
2432 public ParserRule getALSTermRule() {
2433 return getALSTermAccess().getRule();
2434 }
2435
2436 //ALSQuantified ALSTerm:
2437 // {ALSQuantifiedEx} type=ALSMultiplicity
2438 // disj?='disj'? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' |
2439 // ALSOr;
2440 public ALSQuantifiedElements getALSQuantifiedAccess() {
2441 return pALSQuantified;
2442 }
2443
2444 public ParserRule getALSQuantifiedRule() {
2445 return getALSQuantifiedAccess().getRule();
2446 }
2447
2448 //ALSOr ALSTerm:
2449 // ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?;
2450 public ALSOrElements getALSOrAccess() {
2451 return pALSOr;
2452 }
2453
2454 public ParserRule getALSOrRule() {
2455 return getALSOrAccess().getRule();
2456 }
2457
2458 //ALSIff ALSTerm:
2459 // ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?;
2460 public ALSIffElements getALSIffAccess() {
2461 return pALSIff;
2462 }
2463
2464 public ParserRule getALSIffRule() {
2465 return getALSIffAccess().getRule();
2466 }
2467
2468 //ALSImpl ALSTerm:
2469 // ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?;
2470 public ALSImplElements getALSImplAccess() {
2471 return pALSImpl;
2472 }
2473
2474 public ParserRule getALSImplRule() {
2475 return getALSImplAccess().getRule();
2476 }
2477
2478 //ALSAnd ALSTerm:
2479 // ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?;
2480 public ALSAndElements getALSAndAccess() {
2481 return pALSAnd;
2482 }
2483
2484 public ParserRule getALSAndRule() {
2485 return getALSAndAccess().getRule();
2486 }
2487
2488 //ALSComparison ALSTerm:
2489 // ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" |
2490 // {ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" |
2491 // {ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?;
2492 public ALSComparisonElements getALSComparisonAccess() {
2493 return pALSComparison;
2494 }
2495
2496 public ParserRule getALSComparisonRule() {
2497 return getALSComparisonAccess().getRule();
2498 }
2499
2500 //ALSOverride ALSTerm:
2501 // ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?;
2502 public ALSOverrideElements getALSOverrideAccess() {
2503 return pALSOverride;
2504 }
2505
2506 public ParserRule getALSOverrideRule() {
2507 return getALSOverrideAccess().getRule();
2508 }
2509
2510 //ALSRangeRestrictionRight ALSTerm:
2511 // ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?;
2512 public ALSRangeRestrictionRightElements getALSRangeRestrictionRightAccess() {
2513 return pALSRangeRestrictionRight;
2514 }
2515
2516 public ParserRule getALSRangeRestrictionRightRule() {
2517 return getALSRangeRestrictionRightAccess().getRule();
2518 }
2519
2520 //ALSRangeRestrictionLeft ALSTerm:
2521 // ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?;
2522 public ALSRangeRestrictionLeftElements getALSRangeRestrictionLeftAccess() {
2523 return pALSRangeRestrictionLeft;
2524 }
2525
2526 public ParserRule getALSRangeRestrictionLeftRule() {
2527 return getALSRangeRestrictionLeftAccess().getRule();
2528 }
2529
2530 //ALSJoin ALSTerm:
2531 // ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*;
2532 public ALSJoinElements getALSJoinAccess() {
2533 return pALSJoin;
2534 }
2535
2536 public ParserRule getALSJoinRule() {
2537 return getALSJoinAccess().getRule();
2538 }
2539
2540 //ALSMinus ALSTerm:
2541 // ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*;
2542 public ALSMinusElements getALSMinusAccess() {
2543 return pALSMinus;
2544 }
2545
2546 public ParserRule getALSMinusRule() {
2547 return getALSMinusAccess().getRule();
2548 }
2549
2550 //ALSPlus ALSTerm:
2551 // ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*;
2552 public ALSPlusElements getALSPlusAccess() {
2553 return pALSPlus;
2554 }
2555
2556 public ParserRule getALSPlusRule() {
2557 return getALSPlusAccess().getRule();
2558 }
2559
2560 //ALSIntersection ALSTerm:
2561 // ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*;
2562 public ALSIntersectionElements getALSIntersectionAccess() {
2563 return pALSIntersection;
2564 }
2565
2566 public ParserRule getALSIntersectionRule() {
2567 return getALSIntersectionAccess().getRule();
2568 }
2569
2570 ////ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*;
2571 //ALSDirectProduct ALSTerm:
2572 // ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity?
2573 // '->'
2574 // rightMultiplicit=ALSMultiplicity?
2575 // rightOperand=ALSPreficed)?;
2576 public ALSDirectProductElements getALSDirectProductAccess() {
2577 return pALSDirectProduct;
2578 }
2579
2580 public ParserRule getALSDirectProductRule() {
2581 return getALSDirectProductAccess().getRule();
2582 }
2583
2584 //ALSPreficed ALSTerm:
2585 // {ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm |
2586 // {AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*"
2587 // operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-'
2588 // operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (','
2589 // variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall}
2590 // (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (','
2591 // params+=ALSTerm)* ']' | ALSBasicRelationTerm;
2592 public ALSPreficedElements getALSPreficedAccess() {
2593 return pALSPreficed;
2594 }
2595
2596 public ParserRule getALSPreficedRule() {
2597 return getALSPreficedAccess().getRule();
2598 }
2599
2600 //enum ALSNumericOperator:
2601 // plus | sub | mul | rem | div;
2602 public ALSNumericOperatorElements getALSNumericOperatorAccess() {
2603 return eALSNumericOperator;
2604 }
2605
2606 public EnumRule getALSNumericOperatorRule() {
2607 return getALSNumericOperatorAccess().getRule();
2608 }
2609
2610 ////ALSVariable: name = ALSID;
2611 //ALSVariableDeclaration:
2612 // name=ALSID ':' range=ALSTerm;
2613 public ALSVariableDeclarationElements getALSVariableDeclarationAccess() {
2614 return pALSVariableDeclaration;
2615 }
2616
2617 public ParserRule getALSVariableDeclarationRule() {
2618 return getALSVariableDeclarationAccess().getRule();
2619 }
2620
2621 //ALSBasicRelationTerm ALSTerm:
2622 // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference}
2623 // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING |
2624 // '(' ALSTerm ')';
2625 public ALSBasicRelationTermElements getALSBasicRelationTermAccess() {
2626 return pALSBasicRelationTerm;
2627 }
2628
2629 public ParserRule getALSBasicRelationTermRule() {
2630 return getALSBasicRelationTermAccess().getRule();
2631 }
2632
2633 ////////////////////////////////////
2634 //// ALS Commands and scopes
2635 ////////////////////////////////////
2636 //ALSRunCommand:
2637 // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?;
2638 public ALSRunCommandElements getALSRunCommandAccess() {
2639 return pALSRunCommand;
2640 }
2641
2642 public ParserRule getALSRunCommandRule() {
2643 return getALSRunCommandAccess().getRule();
2644 }
2645
2646 //ALSTypeScope:
2647 // ALSSigScope | ALSIntScope | ALSStringScope;
2648 public ALSTypeScopeElements getALSTypeScopeAccess() {
2649 return pALSTypeScope;
2650 }
2651
2652 public ParserRule getALSTypeScopeRule() {
2653 return getALSTypeScopeAccess().getRule();
2654 }
2655
2656 //ALSSigScope:
2657 // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration];
2658 public ALSSigScopeElements getALSSigScopeAccess() {
2659 return pALSSigScope;
2660 }
2661
2662 public ParserRule getALSSigScopeRule() {
2663 return getALSSigScopeAccess().getRule();
2664 }
2665
2666 //ALSIntScope:
2667 // number=INT 'Int';
2668 public ALSIntScopeElements getALSIntScopeAccess() {
2669 return pALSIntScope;
2670 }
2671
2672 public ParserRule getALSIntScopeRule() {
2673 return getALSIntScopeAccess().getRule();
2674 }
2675
2676 //ALSStringScope:
2677 // 'exactly' number=INT 'String';
2678 public ALSStringScopeElements getALSStringScopeAccess() {
2679 return pALSStringScope;
2680 }
2681
2682 public ParserRule getALSStringScopeRule() {
2683 return getALSStringScopeAccess().getRule();
2684 }
2685
2686 //terminal INT returns ecore::EInt:
2687 // '0'..'9'+;
2688 public TerminalRule getINTRule() {
2689 return gaTerminals.getINTRule();
2690 }
2691
2692 //terminal STRING:
2693 // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'";
2694 public TerminalRule getSTRINGRule() {
2695 return gaTerminals.getSTRINGRule();
2696 }
2697
2698 //terminal ML_COMMENT:
2699 // '/*'->'*/';
2700 public TerminalRule getML_COMMENTRule() {
2701 return gaTerminals.getML_COMMENTRule();
2702 }
2703
2704 //terminal SL_COMMENT:
2705 // '//' !('\n' | '\r')* ('\r'? '\n')?;
2706 public TerminalRule getSL_COMMENTRule() {
2707 return gaTerminals.getSL_COMMENTRule();
2708 }
2709
2710 //terminal WS:
2711 // ' ' | '\t' | '\r' | '\n'+;
2712 public TerminalRule getWSRule() {
2713 return gaTerminals.getWSRule();
2714 }
2715
2716 //terminal ANY_OTHER:
2717 // .;
2718 public TerminalRule getANY_OTHERRule() {
2719 return gaTerminals.getANY_OTHERRule();
2720 }
2721}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java
deleted file mode 100644
index 3780b64b..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.validation;
5
6import java.util.ArrayList;
7import java.util.List;
8import org.eclipse.emf.ecore.EPackage;
9
10public class AbstractAlloyLanguageValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator {
11
12 @Override
13 protected List<EPackage> getEPackages() {
14 List<EPackage> result = new ArrayList<EPackage>();
15 result.add(hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage.eINSTANCE);
16 return result;
17 }
18}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtext b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtext
deleted file mode 100644
index fba3838c..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtext
+++ /dev/null
@@ -1,152 +0,0 @@
1grammar hu.bme.mit.inf.dslreasoner.AlloyLanguage with org.eclipse.xtext.common.Terminals
2
3generate alloyLanguage "http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"
4
5ALSDocument:
6 ( enumDeclarations += ALSEnumDeclaration |
7 signatureBodies += ALSSignatureBody |
8 functionDefinitions += ALSFunctionDefinition |
9 relationDefinitions += ALSRelationDefinition |
10 factDeclarations += ALSFactDeclaration)+
11 runCommand = ALSRunCommand
12;
13
14//////////////////////////////////
15// ALS terminals
16//////////////////////////////////
17
18terminal ID: ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|"'"|'"'|'0'..'9')*;
19ALSID: ID;
20
21enum ALSMultiplicity: all | no | some | lone | one | set;
22
23
24//////////////////////////////////
25// ALS types
26//////////////////////////////////
27
28ALSRelationDeclaration: ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration;
29
30ALSTypeDeclaration:
31 ALSEnumDeclaration | ALSSignatureDeclaration
32;
33
34ALSEnumDeclaration:
35 'enum' name=ALSID '{'
36 literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)*
37 '}';
38ALSEnumLiteral: name = ALSID;
39
40ALSSignatureDeclaration: name = ALSID;
41
42ALSSignatureBody:
43 ((multiplicity = ALSMultiplicity?) & (abstract ?= 'abstract')?)
44 'sig'
45 declarations += ALSSignatureDeclaration (',' declarations += ALSSignatureDeclaration)*
46 (('extends' supertype = [ALSSignatureDeclaration])
47 |
48 ('in' superset += [ALSSignatureDeclaration] ('+' superset += [ALSSignatureDeclaration])*) )?
49 '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}'
50;
51
52ALSFieldDeclaration:
53 name = ALSID ':' (multiplicity = ALSMultiplicity)? type = ALSTerm
54;
55
56ALSDefinition : ALSFunctionDefinition | ALSRelationDefinition;
57
58ALSFunctionDefinition:
59 "fun" name = ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type = ALSTerm
60 "{" value = ALSTerm "}"
61;
62ALSRelationDefinition:
63 "pred" name = ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]"
64 "{" value = ALSTerm "}"
65;
66
67ALSFactDeclaration: {ALSFactDeclaration} 'fact' (name=ALSID)? '{' (term = ALSTerm) '}' ;
68
69//////////////////////////////////
70// ALS terms
71//////////////////////////////////
72ALSTerm: ALSQuantified;
73
74ALSQuantified returns ALSTerm: ({ALSQuantifiedEx} type = ALSMultiplicity
75 (disj?='disj')? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression = ALSTerm '}') | ALSOr;
76
77ALSOr returns ALSTerm: ALSIff ({ALSOr.leftOperand = current} ( "||" | "or" ) rightOperand = ALSIff)?;
78ALSIff returns ALSTerm: ALSImpl ({ALSIff.leftOperand = current} ("<=>" | "iff") rightOperand = ALSImpl)?;
79ALSImpl returns ALSTerm: ALSAnd ({ALSImpl.leftOperand = current} ("=>" | "implies") rightOperand = ALSAnd ('else' elseOperand = ALSAnd)?)?;
80ALSAnd returns ALSTerm: ALSComparison ({ALSAnd.leftOperand = current} ( "&&" | "and" ) rightOperand = ALSComparison)?;
81
82ALSComparison returns ALSTerm:
83 ALSOverride
84 (({ALSEquals.leftOperand = current} "=" |
85 {ALSNotEquals.leftOperand = current} "!=" |
86 {ALSSubset.leftOperand = current} "in" |
87 {ALSLess.leftOperand = current} ">" |
88 {ALSLeq.leftOperand = current} ">=" |
89 {ALSMore.leftOperand = current} "<" |
90 {ALSMeq.leftOperand = current} "<=")
91 rightOperand = ALSOverride)?;
92
93ALSOverride returns ALSTerm: ALSRangeRestrictionRight ({ALSOverride.leftOperand = current} '++' rightOperand = ALSRangeRestrictionRight)?;
94
95ALSRangeRestrictionRight returns ALSTerm: ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation = current} ':>' filter = ALSRangeRestrictionLeft)?;
96ALSRangeRestrictionLeft returns ALSTerm: ALSJoin ({ALSRangeRestrictionLeft.filter = current} '<:' relation = ALSJoin)?;
97ALSJoin returns ALSTerm: ALSMinus ({ALSJoin.leftOperand = current} '.' rightOperand = ALSMinus )*;
98
99ALSMinus returns ALSTerm: ALSPlus ({ALSMinus.leftOperand = current} '-' rightOperand = ALSPlus)*;
100ALSPlus returns ALSTerm: ALSIntersection ({ALSPlus.leftOperand = current} '+' rightOperand = ALSIntersection)*;
101ALSIntersection returns ALSTerm: ALSDirectProduct ({ALSIntersection.leftOperand = current} '&' rightOperand = ALSDirectProduct)*;
102//ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*;
103
104ALSDirectProduct returns ALSTerm:
105 ALSPreficed
106 ({ALSDirectProduct.leftOperand = current} (leftMultiplicit = ALSMultiplicity)?
107 '->'
108 (rightMultiplicit = ALSMultiplicity)?
109 rightOperand = ALSPreficed)?
110;
111
112ALSPreficed returns ALSTerm:
113 {ALSNot}=>("!"|'not') operand = ALSBasicRelationTerm |
114 {ALSInverseRelation}=>"~" operand = ALSBasicRelationTerm |
115 {AlSTransitiveClosure} "^" operand = ALSBasicRelationTerm |
116 {ALSReflectiveTransitiveClosure} "*" operand = ALSBasicRelationTerm |
117 {ALSCardinality} '#' operand = ALSBasicRelationTerm |
118 {ALSUnaryMinus} =>'-' operand = ALSBasicRelationTerm |
119 {ALSSum} 'sum' variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression = ALSTerm '}' |
120// {ALSQuantifiedEx} type = ALSMultiplicity
121// (disj?='disj')? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression = ALSTerm '}' |
122 {ALSFunctionCall} (referredDefinition=[ALSDefinition]|referredNumericOperator=ALSNumericOperator) '['params+=ALSTerm (',' params+=ALSTerm)*']' |
123 ALSBasicRelationTerm;
124
125enum ALSNumericOperator: plus|sub|mul|rem|div;
126
127//ALSVariable: name = ALSID;
128ALSVariableDeclaration: name=ALSID ':' range = ALSTerm;
129
130ALSBasicRelationTerm returns ALSTerm:
131 {ALSNone} 'none'|
132 {ALSIden} 'iden'|
133 {ALSUniv} 'univ'|
134 {ALSInt} 'Int' |
135 {ALSString} 'String' |
136 {ALSReference} referred = [ALSRelationDeclaration] |
137 {ALSNumberLiteral} value = INT|
138 {ALSStringLiteral} value = STRING|
139 '(' ALSTerm ')'
140;
141
142//////////////////////////////////
143// ALS Commands and scopes
144//////////////////////////////////
145ALSRunCommand:
146 {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?;
147
148ALSTypeScope: ALSSigScope | ALSIntScope | ALSStringScope;
149
150ALSSigScope: (exactly?='exactly')? number = INT type = [ALSSignatureDeclaration];
151ALSIntScope: number = INT 'Int';
152ALSStringScope: 'exactly' number = INT 'String'; \ No newline at end of file
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageRuntimeModule.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageRuntimeModule.java
deleted file mode 100644
index 3fd8e2f0..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageRuntimeModule.java
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner;
5
6/**
7 * Use this class to register components to be used at runtime / without the Equinox extension registry.
8 */
9public class AlloyLanguageRuntimeModule extends hu.bme.mit.inf.dslreasoner.AbstractAlloyLanguageRuntimeModule {
10
11}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetup.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetup.java
deleted file mode 100644
index d3112c3d..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetup.java
+++ /dev/null
@@ -1,16 +0,0 @@
1/*
2* generated by Xtext
3*/
4package hu.bme.mit.inf.dslreasoner;
5
6/**
7 * Initialization support for running Xtext languages
8 * without equinox extension registry
9 */
10public class AlloyLanguageStandaloneSetup extends AlloyLanguageStandaloneSetupGenerated{
11
12 public static void doSetup() {
13 new AlloyLanguageStandaloneSetup().createInjectorAndDoEMFRegistration();
14 }
15}
16
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/GenerateAlloyLanguage.mwe2 b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/GenerateAlloyLanguage.mwe2
deleted file mode 100644
index 0f23b862..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/GenerateAlloyLanguage.mwe2
+++ /dev/null
@@ -1,133 +0,0 @@
1module hu.bme.mit.inf.dslreasoner.GenerateAlloyLanguage
2
3import org.eclipse.emf.mwe.utils.*
4import org.eclipse.xtext.generator.*
5import org.eclipse.xtext.ui.generator.*
6
7var grammarURI = "classpath:/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtext"
8var fileExtensions = "als"
9var projectName = "hu.bme.mit.inf.dslreasoner.alloy.language"
10var runtimeProject = "../${projectName}"
11var generateXtendStub = true
12var encoding = "UTF-8"
13
14Workflow {
15 bean = StandaloneSetup {
16 scanClassPath = true
17 platformUri = "${runtimeProject}/.."
18 // The following two lines can be removed, if Xbase is not used.
19 registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage"
20 registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel"
21 }
22
23 component = DirectoryCleaner {
24 directory = "${runtimeProject}/src-gen"
25 }
26
27 component = DirectoryCleaner {
28 directory = "${runtimeProject}/model/generated"
29 }
30
31 component = DirectoryCleaner {
32 directory = "${runtimeProject}.ui/src-gen"
33 }
34
35// component = DirectoryCleaner {
36// directory = "${runtimeProject}.tests/src-gen"
37// }
38
39 component = Generator {
40 pathRtProject = runtimeProject
41 pathUiProject = "${runtimeProject}.ui"
42 //pathTestProject = "${runtimeProject}.tests"
43 projectNameRt = projectName
44 projectNameUi = "${projectName}.ui"
45 encoding = encoding
46 language = auto-inject {
47 uri = grammarURI
48
49 // Java API to access grammar elements (required by several other fragments)
50 fragment = grammarAccess.GrammarAccessFragment auto-inject {}
51
52 // generates Java API for the generated EPackages
53 fragment = ecore.EMFGeneratorFragment auto-inject {}
54
55 // the old serialization component
56 // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {}
57
58 // serializer 2.0
59 fragment = serializer.SerializerFragment auto-inject {
60 generateStub = false
61 }
62
63 // a custom ResourceFactory for use with EMF
64 fragment = resourceFactory.ResourceFactoryFragment auto-inject {}
65
66 // The antlr parser generator fragment.
67 fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject {
68 // options = {
69 // backtrack = true
70 // }
71 }
72
73 // Xtend-based API for validation
74 fragment = validation.ValidatorFragment auto-inject {
75 // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator"
76 // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
77 }
78
79 // old scoping and exporting API
80 // fragment = scoping.ImportURIScopingFragment auto-inject {}
81 // fragment = exporting.SimpleNamesFragment auto-inject {}
82
83 // scoping and exporting API
84 fragment = scoping.ImportNamespacesScopingFragment auto-inject {}
85 fragment = exporting.QualifiedNamesFragment auto-inject {}
86 fragment = builder.BuilderIntegrationFragment auto-inject {}
87
88 // generator API
89 fragment = generator.GeneratorFragment auto-inject {}
90
91 // formatter API
92 fragment = formatting.FormatterFragment auto-inject {}
93
94 // labeling API
95 fragment = labeling.LabelProviderFragment auto-inject {}
96
97 // outline API
98 fragment = outline.OutlineTreeProviderFragment auto-inject {}
99 fragment = outline.QuickOutlineFragment auto-inject {}
100
101 // quickfix API
102 fragment = quickfix.QuickfixProviderFragment auto-inject {}
103
104 // content assist API
105 fragment = contentAssist.ContentAssistFragment auto-inject {}
106
107 // generates a more lightweight Antlr parser and lexer tailored for content assist
108 fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {}
109
110 // generates junit test support classes into Generator#pathTestProject
111 fragment = junit.Junit4Fragment auto-inject {}
112
113 // rename refactoring
114 fragment = refactoring.RefactorElementNameFragment auto-inject {}
115
116 // provides the necessary bindings for java types integration
117 fragment = types.TypesGeneratorFragment auto-inject {}
118
119 // generates the required bindings only if the grammar inherits from Xbase
120 fragment = xbase.XbaseGeneratorFragment auto-inject {}
121
122 // generates the required bindings only if the grammar inherits from Xtype
123 fragment = xbase.XtypeGeneratorFragment auto-inject {}
124
125 // provides a preference page for template proposals
126 fragment = templates.CodetemplatesGeneratorFragment auto-inject {}
127
128 // provides a compare view
129 fragment = compare.CompareFragment auto-inject {}
130 }
131 }
132}
133
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/formatting/AlloyLanguageFormatter.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/formatting/AlloyLanguageFormatter.xtend
deleted file mode 100644
index e5ce7773..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/formatting/AlloyLanguageFormatter.xtend
+++ /dev/null
@@ -1,96 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.formatting
5
6import com.google.inject.Inject
7import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess
8import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
9import org.eclipse.xtext.formatting.impl.FormattingConfig
10
11/**
12 * This class contains custom formatting description.
13 *
14 * see : http://www.eclipse.org/Xtext/documentation.html#formatting
15 * on how and when to use it
16 *
17 * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example
18 */
19class AlloyLanguageFormatter extends AbstractDeclarativeFormatter {
20
21 @Inject extension AlloyLanguageGrammarAccess
22
23 override protected void configureFormatting(FormattingConfig c) {
24 // It's usually a good idea to activate the following three statements.
25 // They will add and preserve newlines around comments
26 c.setLinewrap(0, 1, 2).before(SL_COMMENTRule)
27 c.setLinewrap(0, 1, 2).before(ML_COMMENTRule)
28 c.setLinewrap(0, 1, 1).after(ML_COMMENTRule)
29
30 c.setAutoLinewrap(100000);
31
32 //Signatures
33 c.setIndentationIncrement.after(ALSSignatureBodyAccess.leftCurlyBracketKeyword_5);
34 c.setLinewrap.after(ALSSignatureBodyAccess.leftCurlyBracketKeyword_5)
35 c.setIndentationDecrement.before(ALSSignatureBodyAccess.rightCurlyBracketKeyword_7);
36 c.setLinewrap.after(ALSSignatureBodyAccess.rightCurlyBracketKeyword_7)
37 c.setLinewrap.before(ALSSignatureBodyAccess.rightCurlyBracketKeyword_7)
38 c.setNoSpace.before(ALSSignatureBodyAccess.commaKeyword_3_0)
39 c.setLinewrap.after(ALSSignatureBodyAccess.commaKeyword_3_0)
40 c.setNoSpace.before(ALSSignatureBodyAccess.commaKeyword_3_0)
41 c.setNoSpace.before(ALSSignatureBodyAccess.commaKeyword_6_1_0)
42 c.setLinewrap.after(ALSSignatureBodyAccess.commaKeyword_6_1_0)
43 c.setNoSpace.before(ALSSignatureBodyAccess.commaKeyword_6_1_0)
44 //c.setLinewrap(0,1,2).between(ALSSignatureDeclarationRule,ALSSignatureDeclarationRule)
45
46 //Enums
47 c.setIndentationIncrement.after(ALSEnumDeclarationAccess.leftCurlyBracketKeyword_2)
48 c.setLinewrap.after(ALSEnumDeclarationAccess.leftCurlyBracketKeyword_2)
49 c.setIndentationDecrement.before(ALSEnumDeclarationAccess.rightCurlyBracketKeyword_5)
50 c.setLinewrap.before(ALSEnumDeclarationAccess.rightCurlyBracketKeyword_5)
51 c.setLinewrap.after(ALSEnumDeclarationAccess.rightCurlyBracketKeyword_5)
52 c.setNoSpace.before(ALSEnumDeclarationAccess.commaKeyword_4_0)
53
54
55 //facts
56 c.setIndentationIncrement.after(ALSFactDeclarationAccess.leftCurlyBracketKeyword_3)
57 c.setLinewrap.after(ALSFactDeclarationAccess.leftCurlyBracketKeyword_3)
58 c.setIndentationDecrement.before(ALSFactDeclarationAccess.rightCurlyBracketKeyword_5)
59 c.setLinewrap.before(ALSFactDeclarationAccess.rightCurlyBracketKeyword_5)
60 c.setLinewrap.after(ALSFactDeclarationAccess.rightCurlyBracketKeyword_5)
61
62 //predicates
63 c.setIndentationIncrement.after(ALSRelationDefinitionAccess.leftCurlyBracketKeyword_6)
64 c.setLinewrap.after(ALSRelationDefinitionAccess.leftCurlyBracketKeyword_6)
65 c.setIndentationDecrement.before(ALSRelationDefinitionAccess.rightCurlyBracketKeyword_8)
66 c.setLinewrap.before(ALSRelationDefinitionAccess.rightCurlyBracketKeyword_8)
67 c.setLinewrap.after(ALSRelationDefinitionAccess.rightCurlyBracketKeyword_8)
68 c.setNoSpace.after(ALSRelationDefinitionAccess.leftSquareBracketKeyword_2)
69 c.setNoSpace.before(ALSRelationDefinitionAccess.rightSquareBracketKeyword_5)
70 c.setNoSpace.before(ALSRelationDefinitionAccess.commaKeyword_4_0)
71
72 // terms
73 //c.setNoSpace.before(ALSJoinAccess.rightSquareBracketKeyword_1_2_1_3)
74 c.setNoSpace.before(ALSJoinAccess.fullStopKeyword_1_1)
75 c.setNoSpace.after(ALSJoinAccess.fullStopKeyword_1_1)
76
77 c.setNoSpace.before(ALSDirectProductAccess.hyphenMinusGreaterThanSignKeyword_1_2)
78 c.setNoSpace.after(ALSDirectProductAccess.hyphenMinusGreaterThanSignKeyword_1_2)
79
80 c.setNoSpace.before(ALSVariableDeclarationAccess.colonKeyword_1)
81// c.setNoSpace.before(ALSPreficedAccess.commaKeyword_5_3_0)
82// c.setNoSpace.before(ALSPreficedAccess.commaKeyword_6_4_0)
83//
84// c.setIndentationIncrement.after(ALSPreficedAccess.leftCurlyBracketKeyword_5_4)
85// c.setLinewrap.after(ALSPreficedAccess.leftCurlyBracketKeyword_5_4)
86// c.setLinewrap.before(ALSPreficedAccess.rightCurlyBracketKeyword_5_6)
87// c.setIndentationDecrement.before(ALSPreficedAccess.rightCurlyBracketKeyword_5_6)
88
89 c.setNoSpace.after(ALSBasicRelationTermAccess.leftParenthesisKeyword_8_0)
90 c.setNoSpace.before(ALSBasicRelationTermAccess.rightParenthesisKeyword_8_2)
91
92 // Quantified expression
93 c.setNoSpace.before(ALSQuantifiedAccess.commaKeyword_0_4_0)
94
95 }
96}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/generator/AlloyLanguageGenerator.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/generator/AlloyLanguageGenerator.xtend
deleted file mode 100644
index c1ad5629..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/generator/AlloyLanguageGenerator.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.generator
5
6import org.eclipse.emf.ecore.resource.Resource
7import org.eclipse.xtext.generator.IGenerator
8import org.eclipse.xtext.generator.IFileSystemAccess
9
10/**
11 * Generates code from your model files on save.
12 *
13 * see http://www.eclipse.org/Xtext/documentation.html#TutorialCodeGeneration
14 */
15class AlloyLanguageGenerator implements IGenerator {
16
17 override void doGenerate(Resource resource, IFileSystemAccess fsa) {
18// fsa.generateFile('greetings.txt', 'People to greet: ' +
19// resource.allContents
20// .filter(typeof(Greeting))
21// .map[name]
22// .join(', '))
23 }
24}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/scoping/AlloyLanguageScopeProvider.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/scoping/AlloyLanguageScopeProvider.xtend
deleted file mode 100644
index b2333f51..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/scoping/AlloyLanguageScopeProvider.xtend
+++ /dev/null
@@ -1,81 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.scoping
5
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
8import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration
9import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall
10import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx
11import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference
12import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration
13import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition
14import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
15import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum
16import java.util.ArrayList
17import java.util.Collections
18import java.util.HashSet
19import java.util.LinkedList
20import java.util.List
21import java.util.Set
22import org.eclipse.emf.ecore.EObject
23import org.eclipse.emf.ecore.EReference
24import org.eclipse.xtext.scoping.IScope
25import org.eclipse.xtext.scoping.Scopes
26import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
27
28/**
29 * This class contains custom scoping description.
30 *
31 * see : http://www.eclipse.org/Xtext/documentation.html#scoping
32 * on how and when to use it
33 *
34 */
35class AlloyLanguageScopeProvider extends AbstractDeclarativeScopeProvider {
36
37 def public IScope scope_ALSReference_referred(ALSReference alsReferecnce, EReference ref) {
38 val Set<ALSRelationDeclaration> declarations = new HashSet
39
40 val parent = alsReferecnce.getAllParents(ALSDocument).head as ALSDocument
41 val signatures = parent.signatureBodies.map[ALSSignatureBody x|x.declarations].flatten
42 declarations+=parent.enumDeclarations
43 declarations+=signatures
44 declarations+=parent.enumDeclarations.map[ALSEnumDeclaration x | x.literal].flatten
45 declarations+=parent.signatureBodies.map[ALSSignatureBody x|x.fields].flatten
46
47 declarations+=alsReferecnce.getAllParents(ALSQuantifiedEx).map[ALSQuantifiedEx x | x.variables].flatten
48 declarations+=alsReferecnce.getAllParents(ALSSum).map[ALSSum x | x.variables].flatten
49 declarations+=alsReferecnce.getAllParents(ALSRelationDefinition).map[ALSRelationDefinition x | x.variables].flatten
50
51// println("---")
52// println(declarations.map[it.name].join(", "))
53
54 return Scopes.scopeFor(declarations)
55 }
56 //{ALSFunctionCall} (/*functionName=ALSID |*/ referredDefinition=[ALSDefinition])
57 def public IScope scope_ALSFunctionCall_referredDefinition(ALSFunctionCall call, EReference ref) {
58 val parent = call.<ALSDocument>getAllParents(ALSDocument).head as ALSDocument
59 val list = new LinkedList<ALSDefinition>
60 list += parent.relationDefinitions
61 list += parent.functionDefinitions
62 //list.forEach[println(it.name + " " + it.eContainer)]
63 return Scopes.scopeFor(list)
64 }
65
66 def <X extends EObject> List<X> getAllParents(EObject object, Class<X> type) {
67 if(object.eContainer == null) {
68 return Collections.EMPTY_LIST
69 } else {
70 val container = object.eContainer;
71 val previousParents = container.getAllParents(type)
72 if(type.isInstance(container)){
73 val res = new ArrayList(previousParents)
74 res+= container as X
75 return res
76 }
77 else return previousParents
78
79 }
80 }
81}
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/validation/AlloyLanguageValidator.xtend b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/validation/AlloyLanguageValidator.xtend
deleted file mode 100644
index daeb9860..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src/hu/bme/mit/inf/dslreasoner/validation/AlloyLanguageValidator.xtend
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * generated by Xtext
3 */
4package hu.bme.mit.inf.dslreasoner.validation
5//import org.eclipse.xtext.validation.Check
6
7/**
8 * Custom validation rules.
9 *
10 * see http://www.eclipse.org/Xtext/documentation.html#validation
11 */
12class AlloyLanguageValidator extends AbstractAlloyLanguageValidator {
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// MyDslPackage.Literals.GREETING__NAME,
21// INVALID_NAME)
22// }
23// }
24}