aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/Alloy-Solver
diff options
context:
space:
mode:
authorLibravatar OszkarSemerath <oszka@152.66.252.189>2017-06-10 21:03:09 +0200
committerLibravatar OszkarSemerath <oszka@152.66.252.189>2017-06-10 21:03:09 +0200
commit17be8277d61825e6df21afe513dcfe53190663f0 (patch)
tree11cdac2d06328b2303cadc867bfea77148c06c69 /Solvers/Alloy-Solver
parentAdded generated Xtext artefacts (diff)
downloadVIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.gz
VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.zst
VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.zip
Added generated artefacts for the alloy parser
Diffstat (limited to 'Solvers/Alloy-Solver')
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore1
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java161
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbinbin0 -> 9814 bytes
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java45
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java97
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java137
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java138
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java41
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java78
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java80
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java98
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java104
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java337
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java310
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java125
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java51
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java43
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java161
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java77
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java68
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java19
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java51
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java18
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java50
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java502
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java4680
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java312
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java392
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java397
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java165
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java265
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java265
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java306
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java335
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java176
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java368
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java172
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java177
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java167
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java243
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java438
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java264
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java240
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java42
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java177
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java40
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java193
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java801
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java2417
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java1152
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java1338
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java16
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java39
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g3046
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens137
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java2816
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java8882
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java2235
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java214
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java2649
-rw-r--r--Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java18
126 files changed, 46163 insertions, 1 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore
index 8ae4e44d..f2741e97 100644
--- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/.gitignore
@@ -1,4 +1,3 @@
1/bin/ 1/bin/
2/src-gen/
3/vql-gen/ 2/vql-gen/
4/xtend-gen/ 3/xtend-gen/
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java
new file mode 100644
index 00000000..b473e102
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java
@@ -0,0 +1,161 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin
new file mode 100644
index 00000000..a9ec3da4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin
Binary files differ
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java
new file mode 100644
index 00000000..d4e7bff4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java
@@ -0,0 +1,45 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java
new file mode 100644
index 00000000..ae5be888
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java
new file mode 100644
index 00000000..9dfede24
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java
new file mode 100644
index 00000000..9ccd85d7
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java
@@ -0,0 +1,97 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java
new file mode 100644
index 00000000..b133333b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java
@@ -0,0 +1,137 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java
new file mode 100644
index 00000000..e2198e0a
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java
@@ -0,0 +1,138 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java
new file mode 100644
index 00000000..41ab277b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java
@@ -0,0 +1,41 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java
new file mode 100644
index 00000000..c29b02b8
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java
new file mode 100644
index 00000000..4738a390
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java
new file mode 100644
index 00000000..7f2d4233
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java
@@ -0,0 +1,78 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java
new file mode 100644
index 00000000..cb8faabf
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java
@@ -0,0 +1,80 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java
new file mode 100644
index 00000000..0793d750
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java
@@ -0,0 +1,98 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java
new file mode 100644
index 00000000..a6c6edd4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java
new file mode 100644
index 00000000..9fcadeb8
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java
new file mode 100644
index 00000000..61d4d4e5
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java
new file mode 100644
index 00000000..d4501cf9
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java
@@ -0,0 +1,104 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java
new file mode 100644
index 00000000..05d7339b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java
new file mode 100644
index 00000000..9329e0eb
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java
new file mode 100644
index 00000000..ab5c9270
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java
new file mode 100644
index 00000000..9dc049dc
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java
new file mode 100644
index 00000000..21a987eb
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java
new file mode 100644
index 00000000..76a39cb5
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java
new file mode 100644
index 00000000..1205108d
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java
new file mode 100644
index 00000000..46c3fa76
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java
new file mode 100644
index 00000000..ed603243
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java
new file mode 100644
index 00000000..1cc541af
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java
new file mode 100644
index 00000000..3daae100
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java
@@ -0,0 +1,337 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java
new file mode 100644
index 00000000..e609ba50
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java
new file mode 100644
index 00000000..702e6e99
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java
new file mode 100644
index 00000000..d46c12ec
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java
new file mode 100644
index 00000000..fd9dcb4d
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java
new file mode 100644
index 00000000..1383cd27
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java
@@ -0,0 +1,310 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java
new file mode 100644
index 00000000..01eab22b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java
new file mode 100644
index 00000000..fa8f5b56
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java
new file mode 100644
index 00000000..4cbe7353
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java
new file mode 100644
index 00000000..9f2dd595
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java
@@ -0,0 +1,125 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java
new file mode 100644
index 00000000..8278a54d
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java
new file mode 100644
index 00000000..c5aff17e
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java
new file mode 100644
index 00000000..1a2c0bd9
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java
new file mode 100644
index 00000000..3667b563
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java
new file mode 100644
index 00000000..4c91f5ea
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java
@@ -0,0 +1,51 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java
new file mode 100644
index 00000000..4c6b6d72
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java
new file mode 100644
index 00000000..b01f9eb6
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java
@@ -0,0 +1,43 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java
new file mode 100644
index 00000000..a67986ee
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java
new file mode 100644
index 00000000..794f4420
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java
@@ -0,0 +1,161 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java
new file mode 100644
index 00000000..90113d42
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java
new file mode 100644
index 00000000..e99cb9ec
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java
@@ -0,0 +1,77 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java
new file mode 100644
index 00000000..58a43ddd
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java
@@ -0,0 +1,68 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java
new file mode 100644
index 00000000..d9fb0296
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java
@@ -0,0 +1,19 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java
new file mode 100644
index 00000000..4f29b084
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java
new file mode 100644
index 00000000..f66dcc9b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java
@@ -0,0 +1,51 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java
new file mode 100644
index 00000000..1f19c532
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java
new file mode 100644
index 00000000..97f10946
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java
@@ -0,0 +1,18 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java
new file mode 100644
index 00000000..912c1533
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java
new file mode 100644
index 00000000..accb9ef8
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java
@@ -0,0 +1,50 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java
new file mode 100644
index 00000000..06919ba8
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java
@@ -0,0 +1,502 @@
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 Quantified Ex</em>'.
189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc -->
191 * @return a new object of class '<em>ALS Quantified Ex</em>'.
192 * @generated
193 */
194 ALSQuantifiedEx createALSQuantifiedEx();
195
196 /**
197 * Returns a new object of class '<em>ALS Or</em>'.
198 * <!-- begin-user-doc -->
199 * <!-- end-user-doc -->
200 * @return a new object of class '<em>ALS Or</em>'.
201 * @generated
202 */
203 ALSOr createALSOr();
204
205 /**
206 * Returns a new object of class '<em>ALS Iff</em>'.
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @return a new object of class '<em>ALS Iff</em>'.
210 * @generated
211 */
212 ALSIff createALSIff();
213
214 /**
215 * Returns a new object of class '<em>ALS Impl</em>'.
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @return a new object of class '<em>ALS Impl</em>'.
219 * @generated
220 */
221 ALSImpl createALSImpl();
222
223 /**
224 * Returns a new object of class '<em>ALS And</em>'.
225 * <!-- begin-user-doc -->
226 * <!-- end-user-doc -->
227 * @return a new object of class '<em>ALS And</em>'.
228 * @generated
229 */
230 ALSAnd createALSAnd();
231
232 /**
233 * Returns a new object of class '<em>ALS Equals</em>'.
234 * <!-- begin-user-doc -->
235 * <!-- end-user-doc -->
236 * @return a new object of class '<em>ALS Equals</em>'.
237 * @generated
238 */
239 ALSEquals createALSEquals();
240
241 /**
242 * Returns a new object of class '<em>ALS Not Equals</em>'.
243 * <!-- begin-user-doc -->
244 * <!-- end-user-doc -->
245 * @return a new object of class '<em>ALS Not Equals</em>'.
246 * @generated
247 */
248 ALSNotEquals createALSNotEquals();
249
250 /**
251 * Returns a new object of class '<em>ALS Subset</em>'.
252 * <!-- begin-user-doc -->
253 * <!-- end-user-doc -->
254 * @return a new object of class '<em>ALS Subset</em>'.
255 * @generated
256 */
257 ALSSubset createALSSubset();
258
259 /**
260 * Returns a new object of class '<em>ALS Less</em>'.
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @return a new object of class '<em>ALS Less</em>'.
264 * @generated
265 */
266 ALSLess createALSLess();
267
268 /**
269 * Returns a new object of class '<em>ALS Leq</em>'.
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @return a new object of class '<em>ALS Leq</em>'.
273 * @generated
274 */
275 ALSLeq createALSLeq();
276
277 /**
278 * Returns a new object of class '<em>ALS More</em>'.
279 * <!-- begin-user-doc -->
280 * <!-- end-user-doc -->
281 * @return a new object of class '<em>ALS More</em>'.
282 * @generated
283 */
284 ALSMore createALSMore();
285
286 /**
287 * Returns a new object of class '<em>ALS Meq</em>'.
288 * <!-- begin-user-doc -->
289 * <!-- end-user-doc -->
290 * @return a new object of class '<em>ALS Meq</em>'.
291 * @generated
292 */
293 ALSMeq createALSMeq();
294
295 /**
296 * Returns a new object of class '<em>ALS Override</em>'.
297 * <!-- begin-user-doc -->
298 * <!-- end-user-doc -->
299 * @return a new object of class '<em>ALS Override</em>'.
300 * @generated
301 */
302 ALSOverride createALSOverride();
303
304 /**
305 * Returns a new object of class '<em>ALS Range Restriction Right</em>'.
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @return a new object of class '<em>ALS Range Restriction Right</em>'.
309 * @generated
310 */
311 ALSRangeRestrictionRight createALSRangeRestrictionRight();
312
313 /**
314 * Returns a new object of class '<em>ALS Range Restriction Left</em>'.
315 * <!-- begin-user-doc -->
316 * <!-- end-user-doc -->
317 * @return a new object of class '<em>ALS Range Restriction Left</em>'.
318 * @generated
319 */
320 ALSRangeRestrictionLeft createALSRangeRestrictionLeft();
321
322 /**
323 * Returns a new object of class '<em>ALS Join</em>'.
324 * <!-- begin-user-doc -->
325 * <!-- end-user-doc -->
326 * @return a new object of class '<em>ALS Join</em>'.
327 * @generated
328 */
329 ALSJoin createALSJoin();
330
331 /**
332 * Returns a new object of class '<em>ALS Minus</em>'.
333 * <!-- begin-user-doc -->
334 * <!-- end-user-doc -->
335 * @return a new object of class '<em>ALS Minus</em>'.
336 * @generated
337 */
338 ALSMinus createALSMinus();
339
340 /**
341 * Returns a new object of class '<em>ALS Plus</em>'.
342 * <!-- begin-user-doc -->
343 * <!-- end-user-doc -->
344 * @return a new object of class '<em>ALS Plus</em>'.
345 * @generated
346 */
347 ALSPlus createALSPlus();
348
349 /**
350 * Returns a new object of class '<em>ALS Intersection</em>'.
351 * <!-- begin-user-doc -->
352 * <!-- end-user-doc -->
353 * @return a new object of class '<em>ALS Intersection</em>'.
354 * @generated
355 */
356 ALSIntersection createALSIntersection();
357
358 /**
359 * Returns a new object of class '<em>ALS Direct Product</em>'.
360 * <!-- begin-user-doc -->
361 * <!-- end-user-doc -->
362 * @return a new object of class '<em>ALS Direct Product</em>'.
363 * @generated
364 */
365 ALSDirectProduct createALSDirectProduct();
366
367 /**
368 * Returns a new object of class '<em>ALS Not</em>'.
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @return a new object of class '<em>ALS Not</em>'.
372 * @generated
373 */
374 ALSNot createALSNot();
375
376 /**
377 * Returns a new object of class '<em>ALS Inverse Relation</em>'.
378 * <!-- begin-user-doc -->
379 * <!-- end-user-doc -->
380 * @return a new object of class '<em>ALS Inverse Relation</em>'.
381 * @generated
382 */
383 ALSInverseRelation createALSInverseRelation();
384
385 /**
386 * Returns a new object of class '<em>Al STransitive Closure</em>'.
387 * <!-- begin-user-doc -->
388 * <!-- end-user-doc -->
389 * @return a new object of class '<em>Al STransitive Closure</em>'.
390 * @generated
391 */
392 AlSTransitiveClosure createAlSTransitiveClosure();
393
394 /**
395 * Returns a new object of class '<em>ALS Reflective Transitive Closure</em>'.
396 * <!-- begin-user-doc -->
397 * <!-- end-user-doc -->
398 * @return a new object of class '<em>ALS Reflective Transitive Closure</em>'.
399 * @generated
400 */
401 ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure();
402
403 /**
404 * Returns a new object of class '<em>ALS Cardinality</em>'.
405 * <!-- begin-user-doc -->
406 * <!-- end-user-doc -->
407 * @return a new object of class '<em>ALS Cardinality</em>'.
408 * @generated
409 */
410 ALSCardinality createALSCardinality();
411
412 /**
413 * Returns a new object of class '<em>ALS Unary Minus</em>'.
414 * <!-- begin-user-doc -->
415 * <!-- end-user-doc -->
416 * @return a new object of class '<em>ALS Unary Minus</em>'.
417 * @generated
418 */
419 ALSUnaryMinus createALSUnaryMinus();
420
421 /**
422 * Returns a new object of class '<em>ALS Sum</em>'.
423 * <!-- begin-user-doc -->
424 * <!-- end-user-doc -->
425 * @return a new object of class '<em>ALS Sum</em>'.
426 * @generated
427 */
428 ALSSum createALSSum();
429
430 /**
431 * Returns a new object of class '<em>ALS Function Call</em>'.
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @return a new object of class '<em>ALS Function Call</em>'.
435 * @generated
436 */
437 ALSFunctionCall createALSFunctionCall();
438
439 /**
440 * Returns a new object of class '<em>ALS None</em>'.
441 * <!-- begin-user-doc -->
442 * <!-- end-user-doc -->
443 * @return a new object of class '<em>ALS None</em>'.
444 * @generated
445 */
446 ALSNone createALSNone();
447
448 /**
449 * Returns a new object of class '<em>ALS Iden</em>'.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @return a new object of class '<em>ALS Iden</em>'.
453 * @generated
454 */
455 ALSIden createALSIden();
456
457 /**
458 * Returns a new object of class '<em>ALS Univ</em>'.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @return a new object of class '<em>ALS Univ</em>'.
462 * @generated
463 */
464 ALSUniv createALSUniv();
465
466 /**
467 * Returns a new object of class '<em>ALS Int</em>'.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @return a new object of class '<em>ALS Int</em>'.
471 * @generated
472 */
473 ALSInt createALSInt();
474
475 /**
476 * Returns a new object of class '<em>ALS Reference</em>'.
477 * <!-- begin-user-doc -->
478 * <!-- end-user-doc -->
479 * @return a new object of class '<em>ALS Reference</em>'.
480 * @generated
481 */
482 ALSReference createALSReference();
483
484 /**
485 * Returns a new object of class '<em>ALS Number Literal</em>'.
486 * <!-- begin-user-doc -->
487 * <!-- end-user-doc -->
488 * @return a new object of class '<em>ALS Number Literal</em>'.
489 * @generated
490 */
491 ALSNumberLiteral createALSNumberLiteral();
492
493 /**
494 * Returns the package supported by this factory.
495 * <!-- begin-user-doc -->
496 * <!-- end-user-doc -->
497 * @return the package supported by this factory.
498 * @generated
499 */
500 AlloyLanguagePackage getAlloyLanguagePackage();
501
502} //AlloyLanguageFactory
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java
new file mode 100644
index 00000000..50e3d607
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java
@@ -0,0 +1,4680 @@
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.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class.
773 * <!-- begin-user-doc -->
774 * <!-- end-user-doc -->
775 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl
776 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx()
777 * @generated
778 */
779 int ALS_QUANTIFIED_EX = 18;
780
781 /**
782 * The feature id for the '<em><b>Type</b></em>' attribute.
783 * <!-- begin-user-doc -->
784 * <!-- end-user-doc -->
785 * @generated
786 * @ordered
787 */
788 int ALS_QUANTIFIED_EX__TYPE = ALS_TERM_FEATURE_COUNT + 0;
789
790 /**
791 * The feature id for the '<em><b>Disj</b></em>' attribute.
792 * <!-- begin-user-doc -->
793 * <!-- end-user-doc -->
794 * @generated
795 * @ordered
796 */
797 int ALS_QUANTIFIED_EX__DISJ = ALS_TERM_FEATURE_COUNT + 1;
798
799 /**
800 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
801 * <!-- begin-user-doc -->
802 * <!-- end-user-doc -->
803 * @generated
804 * @ordered
805 */
806 int ALS_QUANTIFIED_EX__VARIABLES = ALS_TERM_FEATURE_COUNT + 2;
807
808 /**
809 * The feature id for the '<em><b>Expression</b></em>' containment reference.
810 * <!-- begin-user-doc -->
811 * <!-- end-user-doc -->
812 * @generated
813 * @ordered
814 */
815 int ALS_QUANTIFIED_EX__EXPRESSION = ALS_TERM_FEATURE_COUNT + 3;
816
817 /**
818 * The number of structural features of the '<em>ALS Quantified Ex</em>' class.
819 * <!-- begin-user-doc -->
820 * <!-- end-user-doc -->
821 * @generated
822 * @ordered
823 */
824 int ALS_QUANTIFIED_EX_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4;
825
826 /**
827 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class.
828 * <!-- begin-user-doc -->
829 * <!-- end-user-doc -->
830 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl
831 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr()
832 * @generated
833 */
834 int ALS_OR = 19;
835
836 /**
837 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
838 * <!-- begin-user-doc -->
839 * <!-- end-user-doc -->
840 * @generated
841 * @ordered
842 */
843 int ALS_OR__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
844
845 /**
846 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
847 * <!-- begin-user-doc -->
848 * <!-- end-user-doc -->
849 * @generated
850 * @ordered
851 */
852 int ALS_OR__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
853
854 /**
855 * The number of structural features of the '<em>ALS Or</em>' class.
856 * <!-- begin-user-doc -->
857 * <!-- end-user-doc -->
858 * @generated
859 * @ordered
860 */
861 int ALS_OR_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
862
863 /**
864 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class.
865 * <!-- begin-user-doc -->
866 * <!-- end-user-doc -->
867 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl
868 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff()
869 * @generated
870 */
871 int ALS_IFF = 20;
872
873 /**
874 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
875 * <!-- begin-user-doc -->
876 * <!-- end-user-doc -->
877 * @generated
878 * @ordered
879 */
880 int ALS_IFF__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
881
882 /**
883 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
884 * <!-- begin-user-doc -->
885 * <!-- end-user-doc -->
886 * @generated
887 * @ordered
888 */
889 int ALS_IFF__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
890
891 /**
892 * The number of structural features of the '<em>ALS Iff</em>' class.
893 * <!-- begin-user-doc -->
894 * <!-- end-user-doc -->
895 * @generated
896 * @ordered
897 */
898 int ALS_IFF_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
899
900 /**
901 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class.
902 * <!-- begin-user-doc -->
903 * <!-- end-user-doc -->
904 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl
905 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl()
906 * @generated
907 */
908 int ALS_IMPL = 21;
909
910 /**
911 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
912 * <!-- begin-user-doc -->
913 * <!-- end-user-doc -->
914 * @generated
915 * @ordered
916 */
917 int ALS_IMPL__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
918
919 /**
920 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
921 * <!-- begin-user-doc -->
922 * <!-- end-user-doc -->
923 * @generated
924 * @ordered
925 */
926 int ALS_IMPL__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
927
928 /**
929 * The feature id for the '<em><b>Else Operand</b></em>' containment reference.
930 * <!-- begin-user-doc -->
931 * <!-- end-user-doc -->
932 * @generated
933 * @ordered
934 */
935 int ALS_IMPL__ELSE_OPERAND = ALS_TERM_FEATURE_COUNT + 2;
936
937 /**
938 * The number of structural features of the '<em>ALS Impl</em>' class.
939 * <!-- begin-user-doc -->
940 * <!-- end-user-doc -->
941 * @generated
942 * @ordered
943 */
944 int ALS_IMPL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3;
945
946 /**
947 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class.
948 * <!-- begin-user-doc -->
949 * <!-- end-user-doc -->
950 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl
951 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd()
952 * @generated
953 */
954 int ALS_AND = 22;
955
956 /**
957 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
958 * <!-- begin-user-doc -->
959 * <!-- end-user-doc -->
960 * @generated
961 * @ordered
962 */
963 int ALS_AND__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
964
965 /**
966 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
967 * <!-- begin-user-doc -->
968 * <!-- end-user-doc -->
969 * @generated
970 * @ordered
971 */
972 int ALS_AND__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
973
974 /**
975 * The number of structural features of the '<em>ALS And</em>' class.
976 * <!-- begin-user-doc -->
977 * <!-- end-user-doc -->
978 * @generated
979 * @ordered
980 */
981 int ALS_AND_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
982
983 /**
984 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class.
985 * <!-- begin-user-doc -->
986 * <!-- end-user-doc -->
987 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl
988 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals()
989 * @generated
990 */
991 int ALS_EQUALS = 23;
992
993 /**
994 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
995 * <!-- begin-user-doc -->
996 * <!-- end-user-doc -->
997 * @generated
998 * @ordered
999 */
1000 int ALS_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1001
1002 /**
1003 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1004 * <!-- begin-user-doc -->
1005 * <!-- end-user-doc -->
1006 * @generated
1007 * @ordered
1008 */
1009 int ALS_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1010
1011 /**
1012 * The number of structural features of the '<em>ALS Equals</em>' class.
1013 * <!-- begin-user-doc -->
1014 * <!-- end-user-doc -->
1015 * @generated
1016 * @ordered
1017 */
1018 int ALS_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1019
1020 /**
1021 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class.
1022 * <!-- begin-user-doc -->
1023 * <!-- end-user-doc -->
1024 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl
1025 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals()
1026 * @generated
1027 */
1028 int ALS_NOT_EQUALS = 24;
1029
1030 /**
1031 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1032 * <!-- begin-user-doc -->
1033 * <!-- end-user-doc -->
1034 * @generated
1035 * @ordered
1036 */
1037 int ALS_NOT_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1038
1039 /**
1040 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1041 * <!-- begin-user-doc -->
1042 * <!-- end-user-doc -->
1043 * @generated
1044 * @ordered
1045 */
1046 int ALS_NOT_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1047
1048 /**
1049 * The number of structural features of the '<em>ALS Not Equals</em>' class.
1050 * <!-- begin-user-doc -->
1051 * <!-- end-user-doc -->
1052 * @generated
1053 * @ordered
1054 */
1055 int ALS_NOT_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1056
1057 /**
1058 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class.
1059 * <!-- begin-user-doc -->
1060 * <!-- end-user-doc -->
1061 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl
1062 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset()
1063 * @generated
1064 */
1065 int ALS_SUBSET = 25;
1066
1067 /**
1068 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1069 * <!-- begin-user-doc -->
1070 * <!-- end-user-doc -->
1071 * @generated
1072 * @ordered
1073 */
1074 int ALS_SUBSET__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1075
1076 /**
1077 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @generated
1081 * @ordered
1082 */
1083 int ALS_SUBSET__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1084
1085 /**
1086 * The number of structural features of the '<em>ALS Subset</em>' class.
1087 * <!-- begin-user-doc -->
1088 * <!-- end-user-doc -->
1089 * @generated
1090 * @ordered
1091 */
1092 int ALS_SUBSET_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1093
1094 /**
1095 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class.
1096 * <!-- begin-user-doc -->
1097 * <!-- end-user-doc -->
1098 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl
1099 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess()
1100 * @generated
1101 */
1102 int ALS_LESS = 26;
1103
1104 /**
1105 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1106 * <!-- begin-user-doc -->
1107 * <!-- end-user-doc -->
1108 * @generated
1109 * @ordered
1110 */
1111 int ALS_LESS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1112
1113 /**
1114 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1115 * <!-- begin-user-doc -->
1116 * <!-- end-user-doc -->
1117 * @generated
1118 * @ordered
1119 */
1120 int ALS_LESS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1121
1122 /**
1123 * The number of structural features of the '<em>ALS Less</em>' class.
1124 * <!-- begin-user-doc -->
1125 * <!-- end-user-doc -->
1126 * @generated
1127 * @ordered
1128 */
1129 int ALS_LESS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1130
1131 /**
1132 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class.
1133 * <!-- begin-user-doc -->
1134 * <!-- end-user-doc -->
1135 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl
1136 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq()
1137 * @generated
1138 */
1139 int ALS_LEQ = 27;
1140
1141 /**
1142 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1143 * <!-- begin-user-doc -->
1144 * <!-- end-user-doc -->
1145 * @generated
1146 * @ordered
1147 */
1148 int ALS_LEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1149
1150 /**
1151 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1152 * <!-- begin-user-doc -->
1153 * <!-- end-user-doc -->
1154 * @generated
1155 * @ordered
1156 */
1157 int ALS_LEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1158
1159 /**
1160 * The number of structural features of the '<em>ALS Leq</em>' class.
1161 * <!-- begin-user-doc -->
1162 * <!-- end-user-doc -->
1163 * @generated
1164 * @ordered
1165 */
1166 int ALS_LEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1167
1168 /**
1169 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class.
1170 * <!-- begin-user-doc -->
1171 * <!-- end-user-doc -->
1172 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl
1173 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore()
1174 * @generated
1175 */
1176 int ALS_MORE = 28;
1177
1178 /**
1179 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1180 * <!-- begin-user-doc -->
1181 * <!-- end-user-doc -->
1182 * @generated
1183 * @ordered
1184 */
1185 int ALS_MORE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1186
1187 /**
1188 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1189 * <!-- begin-user-doc -->
1190 * <!-- end-user-doc -->
1191 * @generated
1192 * @ordered
1193 */
1194 int ALS_MORE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1195
1196 /**
1197 * The number of structural features of the '<em>ALS More</em>' class.
1198 * <!-- begin-user-doc -->
1199 * <!-- end-user-doc -->
1200 * @generated
1201 * @ordered
1202 */
1203 int ALS_MORE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1204
1205 /**
1206 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class.
1207 * <!-- begin-user-doc -->
1208 * <!-- end-user-doc -->
1209 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl
1210 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq()
1211 * @generated
1212 */
1213 int ALS_MEQ = 29;
1214
1215 /**
1216 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1217 * <!-- begin-user-doc -->
1218 * <!-- end-user-doc -->
1219 * @generated
1220 * @ordered
1221 */
1222 int ALS_MEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1223
1224 /**
1225 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1226 * <!-- begin-user-doc -->
1227 * <!-- end-user-doc -->
1228 * @generated
1229 * @ordered
1230 */
1231 int ALS_MEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1232
1233 /**
1234 * The number of structural features of the '<em>ALS Meq</em>' class.
1235 * <!-- begin-user-doc -->
1236 * <!-- end-user-doc -->
1237 * @generated
1238 * @ordered
1239 */
1240 int ALS_MEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1241
1242 /**
1243 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class.
1244 * <!-- begin-user-doc -->
1245 * <!-- end-user-doc -->
1246 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl
1247 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride()
1248 * @generated
1249 */
1250 int ALS_OVERRIDE = 30;
1251
1252 /**
1253 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1254 * <!-- begin-user-doc -->
1255 * <!-- end-user-doc -->
1256 * @generated
1257 * @ordered
1258 */
1259 int ALS_OVERRIDE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1260
1261 /**
1262 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1263 * <!-- begin-user-doc -->
1264 * <!-- end-user-doc -->
1265 * @generated
1266 * @ordered
1267 */
1268 int ALS_OVERRIDE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1269
1270 /**
1271 * The number of structural features of the '<em>ALS Override</em>' class.
1272 * <!-- begin-user-doc -->
1273 * <!-- end-user-doc -->
1274 * @generated
1275 * @ordered
1276 */
1277 int ALS_OVERRIDE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1278
1279 /**
1280 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class.
1281 * <!-- begin-user-doc -->
1282 * <!-- end-user-doc -->
1283 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl
1284 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight()
1285 * @generated
1286 */
1287 int ALS_RANGE_RESTRICTION_RIGHT = 31;
1288
1289 /**
1290 * The feature id for the '<em><b>Relation</b></em>' containment reference.
1291 * <!-- begin-user-doc -->
1292 * <!-- end-user-doc -->
1293 * @generated
1294 * @ordered
1295 */
1296 int ALS_RANGE_RESTRICTION_RIGHT__RELATION = ALS_TERM_FEATURE_COUNT + 0;
1297
1298 /**
1299 * The feature id for the '<em><b>Filter</b></em>' containment reference.
1300 * <!-- begin-user-doc -->
1301 * <!-- end-user-doc -->
1302 * @generated
1303 * @ordered
1304 */
1305 int ALS_RANGE_RESTRICTION_RIGHT__FILTER = ALS_TERM_FEATURE_COUNT + 1;
1306
1307 /**
1308 * The number of structural features of the '<em>ALS Range Restriction Right</em>' class.
1309 * <!-- begin-user-doc -->
1310 * <!-- end-user-doc -->
1311 * @generated
1312 * @ordered
1313 */
1314 int ALS_RANGE_RESTRICTION_RIGHT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1315
1316 /**
1317 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class.
1318 * <!-- begin-user-doc -->
1319 * <!-- end-user-doc -->
1320 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl
1321 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft()
1322 * @generated
1323 */
1324 int ALS_RANGE_RESTRICTION_LEFT = 32;
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_LEFT__FILTER = ALS_TERM_FEATURE_COUNT + 0;
1334
1335 /**
1336 * The feature id for the '<em><b>Relation</b></em>' containment reference.
1337 * <!-- begin-user-doc -->
1338 * <!-- end-user-doc -->
1339 * @generated
1340 * @ordered
1341 */
1342 int ALS_RANGE_RESTRICTION_LEFT__RELATION = ALS_TERM_FEATURE_COUNT + 1;
1343
1344 /**
1345 * The number of structural features of the '<em>ALS Range Restriction Left</em>' class.
1346 * <!-- begin-user-doc -->
1347 * <!-- end-user-doc -->
1348 * @generated
1349 * @ordered
1350 */
1351 int ALS_RANGE_RESTRICTION_LEFT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1352
1353 /**
1354 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class.
1355 * <!-- begin-user-doc -->
1356 * <!-- end-user-doc -->
1357 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl
1358 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin()
1359 * @generated
1360 */
1361 int ALS_JOIN = 33;
1362
1363 /**
1364 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1365 * <!-- begin-user-doc -->
1366 * <!-- end-user-doc -->
1367 * @generated
1368 * @ordered
1369 */
1370 int ALS_JOIN__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1371
1372 /**
1373 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1374 * <!-- begin-user-doc -->
1375 * <!-- end-user-doc -->
1376 * @generated
1377 * @ordered
1378 */
1379 int ALS_JOIN__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1380
1381 /**
1382 * The number of structural features of the '<em>ALS Join</em>' class.
1383 * <!-- begin-user-doc -->
1384 * <!-- end-user-doc -->
1385 * @generated
1386 * @ordered
1387 */
1388 int ALS_JOIN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1389
1390 /**
1391 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class.
1392 * <!-- begin-user-doc -->
1393 * <!-- end-user-doc -->
1394 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl
1395 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus()
1396 * @generated
1397 */
1398 int ALS_MINUS = 34;
1399
1400 /**
1401 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1402 * <!-- begin-user-doc -->
1403 * <!-- end-user-doc -->
1404 * @generated
1405 * @ordered
1406 */
1407 int ALS_MINUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1408
1409 /**
1410 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1411 * <!-- begin-user-doc -->
1412 * <!-- end-user-doc -->
1413 * @generated
1414 * @ordered
1415 */
1416 int ALS_MINUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1417
1418 /**
1419 * The number of structural features of the '<em>ALS Minus</em>' class.
1420 * <!-- begin-user-doc -->
1421 * <!-- end-user-doc -->
1422 * @generated
1423 * @ordered
1424 */
1425 int ALS_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1426
1427 /**
1428 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class.
1429 * <!-- begin-user-doc -->
1430 * <!-- end-user-doc -->
1431 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl
1432 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus()
1433 * @generated
1434 */
1435 int ALS_PLUS = 35;
1436
1437 /**
1438 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1439 * <!-- begin-user-doc -->
1440 * <!-- end-user-doc -->
1441 * @generated
1442 * @ordered
1443 */
1444 int ALS_PLUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1445
1446 /**
1447 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1448 * <!-- begin-user-doc -->
1449 * <!-- end-user-doc -->
1450 * @generated
1451 * @ordered
1452 */
1453 int ALS_PLUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1454
1455 /**
1456 * The number of structural features of the '<em>ALS Plus</em>' class.
1457 * <!-- begin-user-doc -->
1458 * <!-- end-user-doc -->
1459 * @generated
1460 * @ordered
1461 */
1462 int ALS_PLUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1463
1464 /**
1465 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class.
1466 * <!-- begin-user-doc -->
1467 * <!-- end-user-doc -->
1468 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl
1469 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection()
1470 * @generated
1471 */
1472 int ALS_INTERSECTION = 36;
1473
1474 /**
1475 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1476 * <!-- begin-user-doc -->
1477 * <!-- end-user-doc -->
1478 * @generated
1479 * @ordered
1480 */
1481 int ALS_INTERSECTION__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1482
1483 /**
1484 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1485 * <!-- begin-user-doc -->
1486 * <!-- end-user-doc -->
1487 * @generated
1488 * @ordered
1489 */
1490 int ALS_INTERSECTION__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1;
1491
1492 /**
1493 * The number of structural features of the '<em>ALS Intersection</em>' class.
1494 * <!-- begin-user-doc -->
1495 * <!-- end-user-doc -->
1496 * @generated
1497 * @ordered
1498 */
1499 int ALS_INTERSECTION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1500
1501 /**
1502 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class.
1503 * <!-- begin-user-doc -->
1504 * <!-- end-user-doc -->
1505 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl
1506 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct()
1507 * @generated
1508 */
1509 int ALS_DIRECT_PRODUCT = 37;
1510
1511 /**
1512 * The feature id for the '<em><b>Left Operand</b></em>' containment reference.
1513 * <!-- begin-user-doc -->
1514 * <!-- end-user-doc -->
1515 * @generated
1516 * @ordered
1517 */
1518 int ALS_DIRECT_PRODUCT__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1519
1520 /**
1521 * The feature id for the '<em><b>Left Multiplicit</b></em>' attribute.
1522 * <!-- begin-user-doc -->
1523 * <!-- end-user-doc -->
1524 * @generated
1525 * @ordered
1526 */
1527 int ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 1;
1528
1529 /**
1530 * The feature id for the '<em><b>Right Multiplicit</b></em>' attribute.
1531 * <!-- begin-user-doc -->
1532 * <!-- end-user-doc -->
1533 * @generated
1534 * @ordered
1535 */
1536 int ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 2;
1537
1538 /**
1539 * The feature id for the '<em><b>Right Operand</b></em>' containment reference.
1540 * <!-- begin-user-doc -->
1541 * <!-- end-user-doc -->
1542 * @generated
1543 * @ordered
1544 */
1545 int ALS_DIRECT_PRODUCT__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 3;
1546
1547 /**
1548 * The number of structural features of the '<em>ALS Direct Product</em>' class.
1549 * <!-- begin-user-doc -->
1550 * <!-- end-user-doc -->
1551 * @generated
1552 * @ordered
1553 */
1554 int ALS_DIRECT_PRODUCT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4;
1555
1556 /**
1557 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class.
1558 * <!-- begin-user-doc -->
1559 * <!-- end-user-doc -->
1560 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl
1561 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot()
1562 * @generated
1563 */
1564 int ALS_NOT = 38;
1565
1566 /**
1567 * The feature id for the '<em><b>Operand</b></em>' containment reference.
1568 * <!-- begin-user-doc -->
1569 * <!-- end-user-doc -->
1570 * @generated
1571 * @ordered
1572 */
1573 int ALS_NOT__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1574
1575 /**
1576 * The number of structural features of the '<em>ALS Not</em>' class.
1577 * <!-- begin-user-doc -->
1578 * <!-- end-user-doc -->
1579 * @generated
1580 * @ordered
1581 */
1582 int ALS_NOT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1583
1584 /**
1585 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class.
1586 * <!-- begin-user-doc -->
1587 * <!-- end-user-doc -->
1588 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl
1589 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation()
1590 * @generated
1591 */
1592 int ALS_INVERSE_RELATION = 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_INVERSE_RELATION__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1602
1603 /**
1604 * The number of structural features of the '<em>ALS Inverse Relation</em>' class.
1605 * <!-- begin-user-doc -->
1606 * <!-- end-user-doc -->
1607 * @generated
1608 * @ordered
1609 */
1610 int ALS_INVERSE_RELATION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1611
1612 /**
1613 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class.
1614 * <!-- begin-user-doc -->
1615 * <!-- end-user-doc -->
1616 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl
1617 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure()
1618 * @generated
1619 */
1620 int AL_STRANSITIVE_CLOSURE = 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 AL_STRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1630
1631 /**
1632 * The number of structural features of the '<em>Al STransitive Closure</em>' class.
1633 * <!-- begin-user-doc -->
1634 * <!-- end-user-doc -->
1635 * @generated
1636 * @ordered
1637 */
1638 int AL_STRANSITIVE_CLOSURE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1639
1640 /**
1641 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class.
1642 * <!-- begin-user-doc -->
1643 * <!-- end-user-doc -->
1644 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl
1645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure()
1646 * @generated
1647 */
1648 int ALS_REFLECTIVE_TRANSITIVE_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 ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1658
1659 /**
1660 * The number of structural features of the '<em>ALS Reflective Transitive Closure</em>' class.
1661 * <!-- begin-user-doc -->
1662 * <!-- end-user-doc -->
1663 * @generated
1664 * @ordered
1665 */
1666 int ALS_REFLECTIVE_TRANSITIVE_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.ALSCardinalityImpl <em>ALS Cardinality</em>}' class.
1670 * <!-- begin-user-doc -->
1671 * <!-- end-user-doc -->
1672 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl
1673 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality()
1674 * @generated
1675 */
1676 int ALS_CARDINALITY = 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_CARDINALITY__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1686
1687 /**
1688 * The number of structural features of the '<em>ALS Cardinality</em>' class.
1689 * <!-- begin-user-doc -->
1690 * <!-- end-user-doc -->
1691 * @generated
1692 * @ordered
1693 */
1694 int ALS_CARDINALITY_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1695
1696 /**
1697 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class.
1698 * <!-- begin-user-doc -->
1699 * <!-- end-user-doc -->
1700 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl
1701 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus()
1702 * @generated
1703 */
1704 int ALS_UNARY_MINUS = 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_UNARY_MINUS__OPERAND = ALS_TERM_FEATURE_COUNT + 0;
1714
1715 /**
1716 * The number of structural features of the '<em>ALS Unary Minus</em>' class.
1717 * <!-- begin-user-doc -->
1718 * <!-- end-user-doc -->
1719 * @generated
1720 * @ordered
1721 */
1722 int ALS_UNARY_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1723
1724 /**
1725 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class.
1726 * <!-- begin-user-doc -->
1727 * <!-- end-user-doc -->
1728 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl
1729 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum()
1730 * @generated
1731 */
1732 int ALS_SUM = 44;
1733
1734 /**
1735 * The feature id for the '<em><b>Variables</b></em>' containment reference list.
1736 * <!-- begin-user-doc -->
1737 * <!-- end-user-doc -->
1738 * @generated
1739 * @ordered
1740 */
1741 int ALS_SUM__VARIABLES = ALS_TERM_FEATURE_COUNT + 0;
1742
1743 /**
1744 * The feature id for the '<em><b>Expression</b></em>' containment reference.
1745 * <!-- begin-user-doc -->
1746 * <!-- end-user-doc -->
1747 * @generated
1748 * @ordered
1749 */
1750 int ALS_SUM__EXPRESSION = ALS_TERM_FEATURE_COUNT + 1;
1751
1752 /**
1753 * The number of structural features of the '<em>ALS Sum</em>' class.
1754 * <!-- begin-user-doc -->
1755 * <!-- end-user-doc -->
1756 * @generated
1757 * @ordered
1758 */
1759 int ALS_SUM_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2;
1760
1761 /**
1762 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class.
1763 * <!-- begin-user-doc -->
1764 * <!-- end-user-doc -->
1765 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl
1766 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall()
1767 * @generated
1768 */
1769 int ALS_FUNCTION_CALL = 45;
1770
1771 /**
1772 * The feature id for the '<em><b>Referred Definition</b></em>' reference.
1773 * <!-- begin-user-doc -->
1774 * <!-- end-user-doc -->
1775 * @generated
1776 * @ordered
1777 */
1778 int ALS_FUNCTION_CALL__REFERRED_DEFINITION = ALS_TERM_FEATURE_COUNT + 0;
1779
1780 /**
1781 * The feature id for the '<em><b>Referred Numeric Operator</b></em>' attribute.
1782 * <!-- begin-user-doc -->
1783 * <!-- end-user-doc -->
1784 * @generated
1785 * @ordered
1786 */
1787 int ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = ALS_TERM_FEATURE_COUNT + 1;
1788
1789 /**
1790 * The feature id for the '<em><b>Params</b></em>' containment reference list.
1791 * <!-- begin-user-doc -->
1792 * <!-- end-user-doc -->
1793 * @generated
1794 * @ordered
1795 */
1796 int ALS_FUNCTION_CALL__PARAMS = ALS_TERM_FEATURE_COUNT + 2;
1797
1798 /**
1799 * The number of structural features of the '<em>ALS Function Call</em>' class.
1800 * <!-- begin-user-doc -->
1801 * <!-- end-user-doc -->
1802 * @generated
1803 * @ordered
1804 */
1805 int ALS_FUNCTION_CALL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3;
1806
1807 /**
1808 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class.
1809 * <!-- begin-user-doc -->
1810 * <!-- end-user-doc -->
1811 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl
1812 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone()
1813 * @generated
1814 */
1815 int ALS_NONE = 46;
1816
1817 /**
1818 * The number of structural features of the '<em>ALS None</em>' class.
1819 * <!-- begin-user-doc -->
1820 * <!-- end-user-doc -->
1821 * @generated
1822 * @ordered
1823 */
1824 int ALS_NONE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1825
1826 /**
1827 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class.
1828 * <!-- begin-user-doc -->
1829 * <!-- end-user-doc -->
1830 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl
1831 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden()
1832 * @generated
1833 */
1834 int ALS_IDEN = 47;
1835
1836 /**
1837 * The number of structural features of the '<em>ALS Iden</em>' class.
1838 * <!-- begin-user-doc -->
1839 * <!-- end-user-doc -->
1840 * @generated
1841 * @ordered
1842 */
1843 int ALS_IDEN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1844
1845 /**
1846 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class.
1847 * <!-- begin-user-doc -->
1848 * <!-- end-user-doc -->
1849 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl
1850 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv()
1851 * @generated
1852 */
1853 int ALS_UNIV = 48;
1854
1855 /**
1856 * The number of structural features of the '<em>ALS Univ</em>' class.
1857 * <!-- begin-user-doc -->
1858 * <!-- end-user-doc -->
1859 * @generated
1860 * @ordered
1861 */
1862 int ALS_UNIV_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1863
1864 /**
1865 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class.
1866 * <!-- begin-user-doc -->
1867 * <!-- end-user-doc -->
1868 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl
1869 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt()
1870 * @generated
1871 */
1872 int ALS_INT = 49;
1873
1874 /**
1875 * The number of structural features of the '<em>ALS Int</em>' class.
1876 * <!-- begin-user-doc -->
1877 * <!-- end-user-doc -->
1878 * @generated
1879 * @ordered
1880 */
1881 int ALS_INT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0;
1882
1883 /**
1884 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class.
1885 * <!-- begin-user-doc -->
1886 * <!-- end-user-doc -->
1887 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl
1888 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference()
1889 * @generated
1890 */
1891 int ALS_REFERENCE = 50;
1892
1893 /**
1894 * The feature id for the '<em><b>Referred</b></em>' reference.
1895 * <!-- begin-user-doc -->
1896 * <!-- end-user-doc -->
1897 * @generated
1898 * @ordered
1899 */
1900 int ALS_REFERENCE__REFERRED = ALS_TERM_FEATURE_COUNT + 0;
1901
1902 /**
1903 * The number of structural features of the '<em>ALS Reference</em>' class.
1904 * <!-- begin-user-doc -->
1905 * <!-- end-user-doc -->
1906 * @generated
1907 * @ordered
1908 */
1909 int ALS_REFERENCE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1910
1911 /**
1912 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class.
1913 * <!-- begin-user-doc -->
1914 * <!-- end-user-doc -->
1915 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl
1916 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral()
1917 * @generated
1918 */
1919 int ALS_NUMBER_LITERAL = 51;
1920
1921 /**
1922 * The feature id for the '<em><b>Value</b></em>' attribute.
1923 * <!-- begin-user-doc -->
1924 * <!-- end-user-doc -->
1925 * @generated
1926 * @ordered
1927 */
1928 int ALS_NUMBER_LITERAL__VALUE = ALS_TERM_FEATURE_COUNT + 0;
1929
1930 /**
1931 * The number of structural features of the '<em>ALS Number Literal</em>' class.
1932 * <!-- begin-user-doc -->
1933 * <!-- end-user-doc -->
1934 * @generated
1935 * @ordered
1936 */
1937 int ALS_NUMBER_LITERAL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1;
1938
1939 /**
1940 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum.
1941 * <!-- begin-user-doc -->
1942 * <!-- end-user-doc -->
1943 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
1944 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity()
1945 * @generated
1946 */
1947 int ALS_MULTIPLICITY = 52;
1948
1949 /**
1950 * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum.
1951 * <!-- begin-user-doc -->
1952 * <!-- end-user-doc -->
1953 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
1954 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator()
1955 * @generated
1956 */
1957 int ALS_NUMERIC_OPERATOR = 53;
1958
1959
1960 /**
1961 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'.
1962 * <!-- begin-user-doc -->
1963 * <!-- end-user-doc -->
1964 * @return the meta object for class '<em>ALS Document</em>'.
1965 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
1966 * @generated
1967 */
1968 EClass getALSDocument();
1969
1970 /**
1971 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations <em>Enum Declarations</em>}'.
1972 * <!-- begin-user-doc -->
1973 * <!-- end-user-doc -->
1974 * @return the meta object for the containment reference list '<em>Enum Declarations</em>'.
1975 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations()
1976 * @see #getALSDocument()
1977 * @generated
1978 */
1979 EReference getALSDocument_EnumDeclarations();
1980
1981 /**
1982 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies <em>Signature Bodies</em>}'.
1983 * <!-- begin-user-doc -->
1984 * <!-- end-user-doc -->
1985 * @return the meta object for the containment reference list '<em>Signature Bodies</em>'.
1986 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies()
1987 * @see #getALSDocument()
1988 * @generated
1989 */
1990 EReference getALSDocument_SignatureBodies();
1991
1992 /**
1993 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions <em>Function Definitions</em>}'.
1994 * <!-- begin-user-doc -->
1995 * <!-- end-user-doc -->
1996 * @return the meta object for the containment reference list '<em>Function Definitions</em>'.
1997 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions()
1998 * @see #getALSDocument()
1999 * @generated
2000 */
2001 EReference getALSDocument_FunctionDefinitions();
2002
2003 /**
2004 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions <em>Relation Definitions</em>}'.
2005 * <!-- begin-user-doc -->
2006 * <!-- end-user-doc -->
2007 * @return the meta object for the containment reference list '<em>Relation Definitions</em>'.
2008 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions()
2009 * @see #getALSDocument()
2010 * @generated
2011 */
2012 EReference getALSDocument_RelationDefinitions();
2013
2014 /**
2015 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations <em>Fact Declarations</em>}'.
2016 * <!-- begin-user-doc -->
2017 * <!-- end-user-doc -->
2018 * @return the meta object for the containment reference list '<em>Fact Declarations</em>'.
2019 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations()
2020 * @see #getALSDocument()
2021 * @generated
2022 */
2023 EReference getALSDocument_FactDeclarations();
2024
2025 /**
2026 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}'.
2027 * <!-- begin-user-doc -->
2028 * <!-- end-user-doc -->
2029 * @return the meta object for the containment reference '<em>Run Command</em>'.
2030 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand()
2031 * @see #getALSDocument()
2032 * @generated
2033 */
2034 EReference getALSDocument_RunCommand();
2035
2036 /**
2037 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</em>}'.
2038 * <!-- begin-user-doc -->
2039 * <!-- end-user-doc -->
2040 * @return the meta object for class '<em>ALS Relation Declaration</em>'.
2041 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration
2042 * @generated
2043 */
2044 EClass getALSRelationDeclaration();
2045
2046 /**
2047 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}'.
2048 * <!-- begin-user-doc -->
2049 * <!-- end-user-doc -->
2050 * @return the meta object for the attribute '<em>Name</em>'.
2051 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName()
2052 * @see #getALSRelationDeclaration()
2053 * @generated
2054 */
2055 EAttribute getALSRelationDeclaration_Name();
2056
2057 /**
2058 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type Declaration</em>}'.
2059 * <!-- begin-user-doc -->
2060 * <!-- end-user-doc -->
2061 * @return the meta object for class '<em>ALS Type Declaration</em>'.
2062 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration
2063 * @generated
2064 */
2065 EClass getALSTypeDeclaration();
2066
2067 /**
2068 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum Declaration</em>}'.
2069 * <!-- begin-user-doc -->
2070 * <!-- end-user-doc -->
2071 * @return the meta object for class '<em>ALS Enum Declaration</em>'.
2072 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration
2073 * @generated
2074 */
2075 EClass getALSEnumDeclaration();
2076
2077 /**
2078 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral <em>Literal</em>}'.
2079 * <!-- begin-user-doc -->
2080 * <!-- end-user-doc -->
2081 * @return the meta object for the containment reference list '<em>Literal</em>'.
2082 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral()
2083 * @see #getALSEnumDeclaration()
2084 * @generated
2085 */
2086 EReference getALSEnumDeclaration_Literal();
2087
2088 /**
2089 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</em>}'.
2090 * <!-- begin-user-doc -->
2091 * <!-- end-user-doc -->
2092 * @return the meta object for class '<em>ALS Enum Literal</em>'.
2093 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral
2094 * @generated
2095 */
2096 EClass getALSEnumLiteral();
2097
2098 /**
2099 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</em>}'.
2100 * <!-- begin-user-doc -->
2101 * <!-- end-user-doc -->
2102 * @return the meta object for class '<em>ALS Signature Declaration</em>'.
2103 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration
2104 * @generated
2105 */
2106 EClass getALSSignatureDeclaration();
2107
2108 /**
2109 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</em>}'.
2110 * <!-- begin-user-doc -->
2111 * <!-- end-user-doc -->
2112 * @return the meta object for class '<em>ALS Signature Body</em>'.
2113 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody
2114 * @generated
2115 */
2116 EClass getALSSignatureBody();
2117
2118 /**
2119 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}'.
2120 * <!-- begin-user-doc -->
2121 * <!-- end-user-doc -->
2122 * @return the meta object for the attribute '<em>Multiplicity</em>'.
2123 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity()
2124 * @see #getALSSignatureBody()
2125 * @generated
2126 */
2127 EAttribute getALSSignatureBody_Multiplicity();
2128
2129 /**
2130 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}'.
2131 * <!-- begin-user-doc -->
2132 * <!-- end-user-doc -->
2133 * @return the meta object for the attribute '<em>Abstract</em>'.
2134 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract()
2135 * @see #getALSSignatureBody()
2136 * @generated
2137 */
2138 EAttribute getALSSignatureBody_Abstract();
2139
2140 /**
2141 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations <em>Declarations</em>}'.
2142 * <!-- begin-user-doc -->
2143 * <!-- end-user-doc -->
2144 * @return the meta object for the containment reference list '<em>Declarations</em>'.
2145 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations()
2146 * @see #getALSSignatureBody()
2147 * @generated
2148 */
2149 EReference getALSSignatureBody_Declarations();
2150
2151 /**
2152 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}'.
2153 * <!-- begin-user-doc -->
2154 * <!-- end-user-doc -->
2155 * @return the meta object for the reference '<em>Supertype</em>'.
2156 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype()
2157 * @see #getALSSignatureBody()
2158 * @generated
2159 */
2160 EReference getALSSignatureBody_Supertype();
2161
2162 /**
2163 * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset <em>Superset</em>}'.
2164 * <!-- begin-user-doc -->
2165 * <!-- end-user-doc -->
2166 * @return the meta object for the reference list '<em>Superset</em>'.
2167 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset()
2168 * @see #getALSSignatureBody()
2169 * @generated
2170 */
2171 EReference getALSSignatureBody_Superset();
2172
2173 /**
2174 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields <em>Fields</em>}'.
2175 * <!-- begin-user-doc -->
2176 * <!-- end-user-doc -->
2177 * @return the meta object for the containment reference list '<em>Fields</em>'.
2178 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields()
2179 * @see #getALSSignatureBody()
2180 * @generated
2181 */
2182 EReference getALSSignatureBody_Fields();
2183
2184 /**
2185 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</em>}'.
2186 * <!-- begin-user-doc -->
2187 * <!-- end-user-doc -->
2188 * @return the meta object for class '<em>ALS Field Declaration</em>'.
2189 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration
2190 * @generated
2191 */
2192 EClass getALSFieldDeclaration();
2193
2194 /**
2195 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}'.
2196 * <!-- begin-user-doc -->
2197 * <!-- end-user-doc -->
2198 * @return the meta object for the attribute '<em>Multiplicity</em>'.
2199 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity()
2200 * @see #getALSFieldDeclaration()
2201 * @generated
2202 */
2203 EAttribute getALSFieldDeclaration_Multiplicity();
2204
2205 /**
2206 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}'.
2207 * <!-- begin-user-doc -->
2208 * <!-- end-user-doc -->
2209 * @return the meta object for the containment reference '<em>Type</em>'.
2210 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType()
2211 * @see #getALSFieldDeclaration()
2212 * @generated
2213 */
2214 EReference getALSFieldDeclaration_Type();
2215
2216 /**
2217 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</em>}'.
2218 * <!-- begin-user-doc -->
2219 * <!-- end-user-doc -->
2220 * @return the meta object for class '<em>ALS Definition</em>'.
2221 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition
2222 * @generated
2223 */
2224 EClass getALSDefinition();
2225
2226 /**
2227 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName <em>Name</em>}'.
2228 * <!-- begin-user-doc -->
2229 * <!-- end-user-doc -->
2230 * @return the meta object for the attribute '<em>Name</em>'.
2231 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName()
2232 * @see #getALSDefinition()
2233 * @generated
2234 */
2235 EAttribute getALSDefinition_Name();
2236
2237 /**
2238 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables <em>Variables</em>}'.
2239 * <!-- begin-user-doc -->
2240 * <!-- end-user-doc -->
2241 * @return the meta object for the containment reference list '<em>Variables</em>'.
2242 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables()
2243 * @see #getALSDefinition()
2244 * @generated
2245 */
2246 EReference getALSDefinition_Variables();
2247
2248 /**
2249 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}'.
2250 * <!-- begin-user-doc -->
2251 * <!-- end-user-doc -->
2252 * @return the meta object for the containment reference '<em>Value</em>'.
2253 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue()
2254 * @see #getALSDefinition()
2255 * @generated
2256 */
2257 EReference getALSDefinition_Value();
2258
2259 /**
2260 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function Definition</em>}'.
2261 * <!-- begin-user-doc -->
2262 * <!-- end-user-doc -->
2263 * @return the meta object for class '<em>ALS Function Definition</em>'.
2264 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition
2265 * @generated
2266 */
2267 EClass getALSFunctionDefinition();
2268
2269 /**
2270 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}'.
2271 * <!-- begin-user-doc -->
2272 * <!-- end-user-doc -->
2273 * @return the meta object for the containment reference '<em>Type</em>'.
2274 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType()
2275 * @see #getALSFunctionDefinition()
2276 * @generated
2277 */
2278 EReference getALSFunctionDefinition_Type();
2279
2280 /**
2281 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation Definition</em>}'.
2282 * <!-- begin-user-doc -->
2283 * <!-- end-user-doc -->
2284 * @return the meta object for class '<em>ALS Relation Definition</em>'.
2285 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition
2286 * @generated
2287 */
2288 EClass getALSRelationDefinition();
2289
2290 /**
2291 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</em>}'.
2292 * <!-- begin-user-doc -->
2293 * <!-- end-user-doc -->
2294 * @return the meta object for class '<em>ALS Fact Declaration</em>'.
2295 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration
2296 * @generated
2297 */
2298 EClass getALSFactDeclaration();
2299
2300 /**
2301 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}'.
2302 * <!-- begin-user-doc -->
2303 * <!-- end-user-doc -->
2304 * @return the meta object for the attribute '<em>Name</em>'.
2305 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName()
2306 * @see #getALSFactDeclaration()
2307 * @generated
2308 */
2309 EAttribute getALSFactDeclaration_Name();
2310
2311 /**
2312 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}'.
2313 * <!-- begin-user-doc -->
2314 * <!-- end-user-doc -->
2315 * @return the meta object for the containment reference '<em>Term</em>'.
2316 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm()
2317 * @see #getALSFactDeclaration()
2318 * @generated
2319 */
2320 EReference getALSFactDeclaration_Term();
2321
2322 /**
2323 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</em>}'.
2324 * <!-- begin-user-doc -->
2325 * <!-- end-user-doc -->
2326 * @return the meta object for class '<em>ALS Term</em>'.
2327 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm
2328 * @generated
2329 */
2330 EClass getALSTerm();
2331
2332 /**
2333 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</em>}'.
2334 * <!-- begin-user-doc -->
2335 * <!-- end-user-doc -->
2336 * @return the meta object for class '<em>ALS Variable Declaration</em>'.
2337 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration
2338 * @generated
2339 */
2340 EClass getALSVariableDeclaration();
2341
2342 /**
2343 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}'.
2344 * <!-- begin-user-doc -->
2345 * <!-- end-user-doc -->
2346 * @return the meta object for the containment reference '<em>Range</em>'.
2347 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange()
2348 * @see #getALSVariableDeclaration()
2349 * @generated
2350 */
2351 EReference getALSVariableDeclaration_Range();
2352
2353 /**
2354 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</em>}'.
2355 * <!-- begin-user-doc -->
2356 * <!-- end-user-doc -->
2357 * @return the meta object for class '<em>ALS Run Command</em>'.
2358 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand
2359 * @generated
2360 */
2361 EClass getALSRunCommand();
2362
2363 /**
2364 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes <em>Type Scopes</em>}'.
2365 * <!-- begin-user-doc -->
2366 * <!-- end-user-doc -->
2367 * @return the meta object for the containment reference list '<em>Type Scopes</em>'.
2368 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes()
2369 * @see #getALSRunCommand()
2370 * @generated
2371 */
2372 EReference getALSRunCommand_TypeScopes();
2373
2374 /**
2375 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</em>}'.
2376 * <!-- begin-user-doc -->
2377 * <!-- end-user-doc -->
2378 * @return the meta object for class '<em>ALS Type Scope</em>'.
2379 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope
2380 * @generated
2381 */
2382 EClass getALSTypeScope();
2383
2384 /**
2385 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}'.
2386 * <!-- begin-user-doc -->
2387 * <!-- end-user-doc -->
2388 * @return the meta object for the attribute '<em>Number</em>'.
2389 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber()
2390 * @see #getALSTypeScope()
2391 * @generated
2392 */
2393 EAttribute getALSTypeScope_Number();
2394
2395 /**
2396 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig Scope</em>}'.
2397 * <!-- begin-user-doc -->
2398 * <!-- end-user-doc -->
2399 * @return the meta object for class '<em>ALS Sig Scope</em>'.
2400 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope
2401 * @generated
2402 */
2403 EClass getALSSigScope();
2404
2405 /**
2406 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}'.
2407 * <!-- begin-user-doc -->
2408 * <!-- end-user-doc -->
2409 * @return the meta object for the attribute '<em>Exactly</em>'.
2410 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly()
2411 * @see #getALSSigScope()
2412 * @generated
2413 */
2414 EAttribute getALSSigScope_Exactly();
2415
2416 /**
2417 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}'.
2418 * <!-- begin-user-doc -->
2419 * <!-- end-user-doc -->
2420 * @return the meta object for the reference '<em>Type</em>'.
2421 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType()
2422 * @see #getALSSigScope()
2423 * @generated
2424 */
2425 EReference getALSSigScope_Type();
2426
2427 /**
2428 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int Scope</em>}'.
2429 * <!-- begin-user-doc -->
2430 * <!-- end-user-doc -->
2431 * @return the meta object for class '<em>ALS Int Scope</em>'.
2432 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope
2433 * @generated
2434 */
2435 EClass getALSIntScope();
2436
2437 /**
2438 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</em>}'.
2439 * <!-- begin-user-doc -->
2440 * <!-- end-user-doc -->
2441 * @return the meta object for class '<em>ALS Quantified Ex</em>'.
2442 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx
2443 * @generated
2444 */
2445 EClass getALSQuantifiedEx();
2446
2447 /**
2448 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}'.
2449 * <!-- begin-user-doc -->
2450 * <!-- end-user-doc -->
2451 * @return the meta object for the attribute '<em>Type</em>'.
2452 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType()
2453 * @see #getALSQuantifiedEx()
2454 * @generated
2455 */
2456 EAttribute getALSQuantifiedEx_Type();
2457
2458 /**
2459 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}'.
2460 * <!-- begin-user-doc -->
2461 * <!-- end-user-doc -->
2462 * @return the meta object for the attribute '<em>Disj</em>'.
2463 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj()
2464 * @see #getALSQuantifiedEx()
2465 * @generated
2466 */
2467 EAttribute getALSQuantifiedEx_Disj();
2468
2469 /**
2470 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables <em>Variables</em>}'.
2471 * <!-- begin-user-doc -->
2472 * <!-- end-user-doc -->
2473 * @return the meta object for the containment reference list '<em>Variables</em>'.
2474 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables()
2475 * @see #getALSQuantifiedEx()
2476 * @generated
2477 */
2478 EReference getALSQuantifiedEx_Variables();
2479
2480 /**
2481 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}'.
2482 * <!-- begin-user-doc -->
2483 * <!-- end-user-doc -->
2484 * @return the meta object for the containment reference '<em>Expression</em>'.
2485 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression()
2486 * @see #getALSQuantifiedEx()
2487 * @generated
2488 */
2489 EReference getALSQuantifiedEx_Expression();
2490
2491 /**
2492 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</em>}'.
2493 * <!-- begin-user-doc -->
2494 * <!-- end-user-doc -->
2495 * @return the meta object for class '<em>ALS Or</em>'.
2496 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr
2497 * @generated
2498 */
2499 EClass getALSOr();
2500
2501 /**
2502 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}'.
2503 * <!-- begin-user-doc -->
2504 * <!-- end-user-doc -->
2505 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2506 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand()
2507 * @see #getALSOr()
2508 * @generated
2509 */
2510 EReference getALSOr_LeftOperand();
2511
2512 /**
2513 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}'.
2514 * <!-- begin-user-doc -->
2515 * <!-- end-user-doc -->
2516 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2517 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand()
2518 * @see #getALSOr()
2519 * @generated
2520 */
2521 EReference getALSOr_RightOperand();
2522
2523 /**
2524 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</em>}'.
2525 * <!-- begin-user-doc -->
2526 * <!-- end-user-doc -->
2527 * @return the meta object for class '<em>ALS Iff</em>'.
2528 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff
2529 * @generated
2530 */
2531 EClass getALSIff();
2532
2533 /**
2534 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}'.
2535 * <!-- begin-user-doc -->
2536 * <!-- end-user-doc -->
2537 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2538 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand()
2539 * @see #getALSIff()
2540 * @generated
2541 */
2542 EReference getALSIff_LeftOperand();
2543
2544 /**
2545 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}'.
2546 * <!-- begin-user-doc -->
2547 * <!-- end-user-doc -->
2548 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2549 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand()
2550 * @see #getALSIff()
2551 * @generated
2552 */
2553 EReference getALSIff_RightOperand();
2554
2555 /**
2556 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</em>}'.
2557 * <!-- begin-user-doc -->
2558 * <!-- end-user-doc -->
2559 * @return the meta object for class '<em>ALS Impl</em>'.
2560 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl
2561 * @generated
2562 */
2563 EClass getALSImpl();
2564
2565 /**
2566 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}'.
2567 * <!-- begin-user-doc -->
2568 * <!-- end-user-doc -->
2569 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2570 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand()
2571 * @see #getALSImpl()
2572 * @generated
2573 */
2574 EReference getALSImpl_LeftOperand();
2575
2576 /**
2577 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}'.
2578 * <!-- begin-user-doc -->
2579 * <!-- end-user-doc -->
2580 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2581 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand()
2582 * @see #getALSImpl()
2583 * @generated
2584 */
2585 EReference getALSImpl_RightOperand();
2586
2587 /**
2588 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}'.
2589 * <!-- begin-user-doc -->
2590 * <!-- end-user-doc -->
2591 * @return the meta object for the containment reference '<em>Else Operand</em>'.
2592 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand()
2593 * @see #getALSImpl()
2594 * @generated
2595 */
2596 EReference getALSImpl_ElseOperand();
2597
2598 /**
2599 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</em>}'.
2600 * <!-- begin-user-doc -->
2601 * <!-- end-user-doc -->
2602 * @return the meta object for class '<em>ALS And</em>'.
2603 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd
2604 * @generated
2605 */
2606 EClass getALSAnd();
2607
2608 /**
2609 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}'.
2610 * <!-- begin-user-doc -->
2611 * <!-- end-user-doc -->
2612 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2613 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand()
2614 * @see #getALSAnd()
2615 * @generated
2616 */
2617 EReference getALSAnd_LeftOperand();
2618
2619 /**
2620 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}'.
2621 * <!-- begin-user-doc -->
2622 * <!-- end-user-doc -->
2623 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2624 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand()
2625 * @see #getALSAnd()
2626 * @generated
2627 */
2628 EReference getALSAnd_RightOperand();
2629
2630 /**
2631 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</em>}'.
2632 * <!-- begin-user-doc -->
2633 * <!-- end-user-doc -->
2634 * @return the meta object for class '<em>ALS Equals</em>'.
2635 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals
2636 * @generated
2637 */
2638 EClass getALSEquals();
2639
2640 /**
2641 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}'.
2642 * <!-- begin-user-doc -->
2643 * <!-- end-user-doc -->
2644 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand()
2646 * @see #getALSEquals()
2647 * @generated
2648 */
2649 EReference getALSEquals_LeftOperand();
2650
2651 /**
2652 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}'.
2653 * <!-- begin-user-doc -->
2654 * <!-- end-user-doc -->
2655 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2656 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand()
2657 * @see #getALSEquals()
2658 * @generated
2659 */
2660 EReference getALSEquals_RightOperand();
2661
2662 /**
2663 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</em>}'.
2664 * <!-- begin-user-doc -->
2665 * <!-- end-user-doc -->
2666 * @return the meta object for class '<em>ALS Not Equals</em>'.
2667 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals
2668 * @generated
2669 */
2670 EClass getALSNotEquals();
2671
2672 /**
2673 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}'.
2674 * <!-- begin-user-doc -->
2675 * <!-- end-user-doc -->
2676 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2677 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand()
2678 * @see #getALSNotEquals()
2679 * @generated
2680 */
2681 EReference getALSNotEquals_LeftOperand();
2682
2683 /**
2684 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}'.
2685 * <!-- begin-user-doc -->
2686 * <!-- end-user-doc -->
2687 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2688 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand()
2689 * @see #getALSNotEquals()
2690 * @generated
2691 */
2692 EReference getALSNotEquals_RightOperand();
2693
2694 /**
2695 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</em>}'.
2696 * <!-- begin-user-doc -->
2697 * <!-- end-user-doc -->
2698 * @return the meta object for class '<em>ALS Subset</em>'.
2699 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset
2700 * @generated
2701 */
2702 EClass getALSSubset();
2703
2704 /**
2705 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}'.
2706 * <!-- begin-user-doc -->
2707 * <!-- end-user-doc -->
2708 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2709 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand()
2710 * @see #getALSSubset()
2711 * @generated
2712 */
2713 EReference getALSSubset_LeftOperand();
2714
2715 /**
2716 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}'.
2717 * <!-- begin-user-doc -->
2718 * <!-- end-user-doc -->
2719 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2720 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand()
2721 * @see #getALSSubset()
2722 * @generated
2723 */
2724 EReference getALSSubset_RightOperand();
2725
2726 /**
2727 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</em>}'.
2728 * <!-- begin-user-doc -->
2729 * <!-- end-user-doc -->
2730 * @return the meta object for class '<em>ALS Less</em>'.
2731 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess
2732 * @generated
2733 */
2734 EClass getALSLess();
2735
2736 /**
2737 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}'.
2738 * <!-- begin-user-doc -->
2739 * <!-- end-user-doc -->
2740 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2741 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand()
2742 * @see #getALSLess()
2743 * @generated
2744 */
2745 EReference getALSLess_LeftOperand();
2746
2747 /**
2748 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}'.
2749 * <!-- begin-user-doc -->
2750 * <!-- end-user-doc -->
2751 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2752 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand()
2753 * @see #getALSLess()
2754 * @generated
2755 */
2756 EReference getALSLess_RightOperand();
2757
2758 /**
2759 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</em>}'.
2760 * <!-- begin-user-doc -->
2761 * <!-- end-user-doc -->
2762 * @return the meta object for class '<em>ALS Leq</em>'.
2763 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq
2764 * @generated
2765 */
2766 EClass getALSLeq();
2767
2768 /**
2769 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}'.
2770 * <!-- begin-user-doc -->
2771 * <!-- end-user-doc -->
2772 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2773 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand()
2774 * @see #getALSLeq()
2775 * @generated
2776 */
2777 EReference getALSLeq_LeftOperand();
2778
2779 /**
2780 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}'.
2781 * <!-- begin-user-doc -->
2782 * <!-- end-user-doc -->
2783 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2784 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand()
2785 * @see #getALSLeq()
2786 * @generated
2787 */
2788 EReference getALSLeq_RightOperand();
2789
2790 /**
2791 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</em>}'.
2792 * <!-- begin-user-doc -->
2793 * <!-- end-user-doc -->
2794 * @return the meta object for class '<em>ALS More</em>'.
2795 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore
2796 * @generated
2797 */
2798 EClass getALSMore();
2799
2800 /**
2801 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}'.
2802 * <!-- begin-user-doc -->
2803 * <!-- end-user-doc -->
2804 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2805 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand()
2806 * @see #getALSMore()
2807 * @generated
2808 */
2809 EReference getALSMore_LeftOperand();
2810
2811 /**
2812 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}'.
2813 * <!-- begin-user-doc -->
2814 * <!-- end-user-doc -->
2815 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2816 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand()
2817 * @see #getALSMore()
2818 * @generated
2819 */
2820 EReference getALSMore_RightOperand();
2821
2822 /**
2823 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</em>}'.
2824 * <!-- begin-user-doc -->
2825 * <!-- end-user-doc -->
2826 * @return the meta object for class '<em>ALS Meq</em>'.
2827 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq
2828 * @generated
2829 */
2830 EClass getALSMeq();
2831
2832 /**
2833 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}'.
2834 * <!-- begin-user-doc -->
2835 * <!-- end-user-doc -->
2836 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2837 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand()
2838 * @see #getALSMeq()
2839 * @generated
2840 */
2841 EReference getALSMeq_LeftOperand();
2842
2843 /**
2844 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}'.
2845 * <!-- begin-user-doc -->
2846 * <!-- end-user-doc -->
2847 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2848 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand()
2849 * @see #getALSMeq()
2850 * @generated
2851 */
2852 EReference getALSMeq_RightOperand();
2853
2854 /**
2855 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</em>}'.
2856 * <!-- begin-user-doc -->
2857 * <!-- end-user-doc -->
2858 * @return the meta object for class '<em>ALS Override</em>'.
2859 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride
2860 * @generated
2861 */
2862 EClass getALSOverride();
2863
2864 /**
2865 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}'.
2866 * <!-- begin-user-doc -->
2867 * <!-- end-user-doc -->
2868 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2869 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand()
2870 * @see #getALSOverride()
2871 * @generated
2872 */
2873 EReference getALSOverride_LeftOperand();
2874
2875 /**
2876 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}'.
2877 * <!-- begin-user-doc -->
2878 * <!-- end-user-doc -->
2879 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2880 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand()
2881 * @see #getALSOverride()
2882 * @generated
2883 */
2884 EReference getALSOverride_RightOperand();
2885
2886 /**
2887 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</em>}'.
2888 * <!-- begin-user-doc -->
2889 * <!-- end-user-doc -->
2890 * @return the meta object for class '<em>ALS Range Restriction Right</em>'.
2891 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight
2892 * @generated
2893 */
2894 EClass getALSRangeRestrictionRight();
2895
2896 /**
2897 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}'.
2898 * <!-- begin-user-doc -->
2899 * <!-- end-user-doc -->
2900 * @return the meta object for the containment reference '<em>Relation</em>'.
2901 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation()
2902 * @see #getALSRangeRestrictionRight()
2903 * @generated
2904 */
2905 EReference getALSRangeRestrictionRight_Relation();
2906
2907 /**
2908 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}'.
2909 * <!-- begin-user-doc -->
2910 * <!-- end-user-doc -->
2911 * @return the meta object for the containment reference '<em>Filter</em>'.
2912 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter()
2913 * @see #getALSRangeRestrictionRight()
2914 * @generated
2915 */
2916 EReference getALSRangeRestrictionRight_Filter();
2917
2918 /**
2919 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</em>}'.
2920 * <!-- begin-user-doc -->
2921 * <!-- end-user-doc -->
2922 * @return the meta object for class '<em>ALS Range Restriction Left</em>'.
2923 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft
2924 * @generated
2925 */
2926 EClass getALSRangeRestrictionLeft();
2927
2928 /**
2929 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}'.
2930 * <!-- begin-user-doc -->
2931 * <!-- end-user-doc -->
2932 * @return the meta object for the containment reference '<em>Filter</em>'.
2933 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter()
2934 * @see #getALSRangeRestrictionLeft()
2935 * @generated
2936 */
2937 EReference getALSRangeRestrictionLeft_Filter();
2938
2939 /**
2940 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}'.
2941 * <!-- begin-user-doc -->
2942 * <!-- end-user-doc -->
2943 * @return the meta object for the containment reference '<em>Relation</em>'.
2944 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation()
2945 * @see #getALSRangeRestrictionLeft()
2946 * @generated
2947 */
2948 EReference getALSRangeRestrictionLeft_Relation();
2949
2950 /**
2951 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</em>}'.
2952 * <!-- begin-user-doc -->
2953 * <!-- end-user-doc -->
2954 * @return the meta object for class '<em>ALS Join</em>'.
2955 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin
2956 * @generated
2957 */
2958 EClass getALSJoin();
2959
2960 /**
2961 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}'.
2962 * <!-- begin-user-doc -->
2963 * <!-- end-user-doc -->
2964 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2965 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand()
2966 * @see #getALSJoin()
2967 * @generated
2968 */
2969 EReference getALSJoin_LeftOperand();
2970
2971 /**
2972 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}'.
2973 * <!-- begin-user-doc -->
2974 * <!-- end-user-doc -->
2975 * @return the meta object for the containment reference '<em>Right Operand</em>'.
2976 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand()
2977 * @see #getALSJoin()
2978 * @generated
2979 */
2980 EReference getALSJoin_RightOperand();
2981
2982 /**
2983 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</em>}'.
2984 * <!-- begin-user-doc -->
2985 * <!-- end-user-doc -->
2986 * @return the meta object for class '<em>ALS Minus</em>'.
2987 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus
2988 * @generated
2989 */
2990 EClass getALSMinus();
2991
2992 /**
2993 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}'.
2994 * <!-- begin-user-doc -->
2995 * <!-- end-user-doc -->
2996 * @return the meta object for the containment reference '<em>Left Operand</em>'.
2997 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand()
2998 * @see #getALSMinus()
2999 * @generated
3000 */
3001 EReference getALSMinus_LeftOperand();
3002
3003 /**
3004 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}'.
3005 * <!-- begin-user-doc -->
3006 * <!-- end-user-doc -->
3007 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3008 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand()
3009 * @see #getALSMinus()
3010 * @generated
3011 */
3012 EReference getALSMinus_RightOperand();
3013
3014 /**
3015 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</em>}'.
3016 * <!-- begin-user-doc -->
3017 * <!-- end-user-doc -->
3018 * @return the meta object for class '<em>ALS Plus</em>'.
3019 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus
3020 * @generated
3021 */
3022 EClass getALSPlus();
3023
3024 /**
3025 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}'.
3026 * <!-- begin-user-doc -->
3027 * <!-- end-user-doc -->
3028 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3029 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand()
3030 * @see #getALSPlus()
3031 * @generated
3032 */
3033 EReference getALSPlus_LeftOperand();
3034
3035 /**
3036 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}'.
3037 * <!-- begin-user-doc -->
3038 * <!-- end-user-doc -->
3039 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3040 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand()
3041 * @see #getALSPlus()
3042 * @generated
3043 */
3044 EReference getALSPlus_RightOperand();
3045
3046 /**
3047 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</em>}'.
3048 * <!-- begin-user-doc -->
3049 * <!-- end-user-doc -->
3050 * @return the meta object for class '<em>ALS Intersection</em>'.
3051 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection
3052 * @generated
3053 */
3054 EClass getALSIntersection();
3055
3056 /**
3057 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}'.
3058 * <!-- begin-user-doc -->
3059 * <!-- end-user-doc -->
3060 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3061 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand()
3062 * @see #getALSIntersection()
3063 * @generated
3064 */
3065 EReference getALSIntersection_LeftOperand();
3066
3067 /**
3068 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}'.
3069 * <!-- begin-user-doc -->
3070 * <!-- end-user-doc -->
3071 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3072 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand()
3073 * @see #getALSIntersection()
3074 * @generated
3075 */
3076 EReference getALSIntersection_RightOperand();
3077
3078 /**
3079 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</em>}'.
3080 * <!-- begin-user-doc -->
3081 * <!-- end-user-doc -->
3082 * @return the meta object for class '<em>ALS Direct Product</em>'.
3083 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct
3084 * @generated
3085 */
3086 EClass getALSDirectProduct();
3087
3088 /**
3089 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}'.
3090 * <!-- begin-user-doc -->
3091 * <!-- end-user-doc -->
3092 * @return the meta object for the containment reference '<em>Left Operand</em>'.
3093 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand()
3094 * @see #getALSDirectProduct()
3095 * @generated
3096 */
3097 EReference getALSDirectProduct_LeftOperand();
3098
3099 /**
3100 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}'.
3101 * <!-- begin-user-doc -->
3102 * <!-- end-user-doc -->
3103 * @return the meta object for the attribute '<em>Left Multiplicit</em>'.
3104 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit()
3105 * @see #getALSDirectProduct()
3106 * @generated
3107 */
3108 EAttribute getALSDirectProduct_LeftMultiplicit();
3109
3110 /**
3111 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}'.
3112 * <!-- begin-user-doc -->
3113 * <!-- end-user-doc -->
3114 * @return the meta object for the attribute '<em>Right Multiplicit</em>'.
3115 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit()
3116 * @see #getALSDirectProduct()
3117 * @generated
3118 */
3119 EAttribute getALSDirectProduct_RightMultiplicit();
3120
3121 /**
3122 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}'.
3123 * <!-- begin-user-doc -->
3124 * <!-- end-user-doc -->
3125 * @return the meta object for the containment reference '<em>Right Operand</em>'.
3126 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand()
3127 * @see #getALSDirectProduct()
3128 * @generated
3129 */
3130 EReference getALSDirectProduct_RightOperand();
3131
3132 /**
3133 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</em>}'.
3134 * <!-- begin-user-doc -->
3135 * <!-- end-user-doc -->
3136 * @return the meta object for class '<em>ALS Not</em>'.
3137 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot
3138 * @generated
3139 */
3140 EClass getALSNot();
3141
3142 /**
3143 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}'.
3144 * <!-- begin-user-doc -->
3145 * <!-- end-user-doc -->
3146 * @return the meta object for the containment reference '<em>Operand</em>'.
3147 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand()
3148 * @see #getALSNot()
3149 * @generated
3150 */
3151 EReference getALSNot_Operand();
3152
3153 /**
3154 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</em>}'.
3155 * <!-- begin-user-doc -->
3156 * <!-- end-user-doc -->
3157 * @return the meta object for class '<em>ALS Inverse Relation</em>'.
3158 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation
3159 * @generated
3160 */
3161 EClass getALSInverseRelation();
3162
3163 /**
3164 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}'.
3165 * <!-- begin-user-doc -->
3166 * <!-- end-user-doc -->
3167 * @return the meta object for the containment reference '<em>Operand</em>'.
3168 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand()
3169 * @see #getALSInverseRelation()
3170 * @generated
3171 */
3172 EReference getALSInverseRelation_Operand();
3173
3174 /**
3175 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</em>}'.
3176 * <!-- begin-user-doc -->
3177 * <!-- end-user-doc -->
3178 * @return the meta object for class '<em>Al STransitive Closure</em>'.
3179 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure
3180 * @generated
3181 */
3182 EClass getAlSTransitiveClosure();
3183
3184 /**
3185 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}'.
3186 * <!-- begin-user-doc -->
3187 * <!-- end-user-doc -->
3188 * @return the meta object for the containment reference '<em>Operand</em>'.
3189 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand()
3190 * @see #getAlSTransitiveClosure()
3191 * @generated
3192 */
3193 EReference getAlSTransitiveClosure_Operand();
3194
3195 /**
3196 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</em>}'.
3197 * <!-- begin-user-doc -->
3198 * <!-- end-user-doc -->
3199 * @return the meta object for class '<em>ALS Reflective Transitive Closure</em>'.
3200 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure
3201 * @generated
3202 */
3203 EClass getALSReflectiveTransitiveClosure();
3204
3205 /**
3206 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}'.
3207 * <!-- begin-user-doc -->
3208 * <!-- end-user-doc -->
3209 * @return the meta object for the containment reference '<em>Operand</em>'.
3210 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand()
3211 * @see #getALSReflectiveTransitiveClosure()
3212 * @generated
3213 */
3214 EReference getALSReflectiveTransitiveClosure_Operand();
3215
3216 /**
3217 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</em>}'.
3218 * <!-- begin-user-doc -->
3219 * <!-- end-user-doc -->
3220 * @return the meta object for class '<em>ALS Cardinality</em>'.
3221 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality
3222 * @generated
3223 */
3224 EClass getALSCardinality();
3225
3226 /**
3227 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}'.
3228 * <!-- begin-user-doc -->
3229 * <!-- end-user-doc -->
3230 * @return the meta object for the containment reference '<em>Operand</em>'.
3231 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand()
3232 * @see #getALSCardinality()
3233 * @generated
3234 */
3235 EReference getALSCardinality_Operand();
3236
3237 /**
3238 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</em>}'.
3239 * <!-- begin-user-doc -->
3240 * <!-- end-user-doc -->
3241 * @return the meta object for class '<em>ALS Unary Minus</em>'.
3242 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus
3243 * @generated
3244 */
3245 EClass getALSUnaryMinus();
3246
3247 /**
3248 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}'.
3249 * <!-- begin-user-doc -->
3250 * <!-- end-user-doc -->
3251 * @return the meta object for the containment reference '<em>Operand</em>'.
3252 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand()
3253 * @see #getALSUnaryMinus()
3254 * @generated
3255 */
3256 EReference getALSUnaryMinus_Operand();
3257
3258 /**
3259 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</em>}'.
3260 * <!-- begin-user-doc -->
3261 * <!-- end-user-doc -->
3262 * @return the meta object for class '<em>ALS Sum</em>'.
3263 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum
3264 * @generated
3265 */
3266 EClass getALSSum();
3267
3268 /**
3269 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables <em>Variables</em>}'.
3270 * <!-- begin-user-doc -->
3271 * <!-- end-user-doc -->
3272 * @return the meta object for the containment reference list '<em>Variables</em>'.
3273 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables()
3274 * @see #getALSSum()
3275 * @generated
3276 */
3277 EReference getALSSum_Variables();
3278
3279 /**
3280 * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}'.
3281 * <!-- begin-user-doc -->
3282 * <!-- end-user-doc -->
3283 * @return the meta object for the containment reference '<em>Expression</em>'.
3284 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression()
3285 * @see #getALSSum()
3286 * @generated
3287 */
3288 EReference getALSSum_Expression();
3289
3290 /**
3291 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</em>}'.
3292 * <!-- begin-user-doc -->
3293 * <!-- end-user-doc -->
3294 * @return the meta object for class '<em>ALS Function Call</em>'.
3295 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall
3296 * @generated
3297 */
3298 EClass getALSFunctionCall();
3299
3300 /**
3301 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}'.
3302 * <!-- begin-user-doc -->
3303 * <!-- end-user-doc -->
3304 * @return the meta object for the reference '<em>Referred Definition</em>'.
3305 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition()
3306 * @see #getALSFunctionCall()
3307 * @generated
3308 */
3309 EReference getALSFunctionCall_ReferredDefinition();
3310
3311 /**
3312 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}'.
3313 * <!-- begin-user-doc -->
3314 * <!-- end-user-doc -->
3315 * @return the meta object for the attribute '<em>Referred Numeric Operator</em>'.
3316 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator()
3317 * @see #getALSFunctionCall()
3318 * @generated
3319 */
3320 EAttribute getALSFunctionCall_ReferredNumericOperator();
3321
3322 /**
3323 * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams <em>Params</em>}'.
3324 * <!-- begin-user-doc -->
3325 * <!-- end-user-doc -->
3326 * @return the meta object for the containment reference list '<em>Params</em>'.
3327 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams()
3328 * @see #getALSFunctionCall()
3329 * @generated
3330 */
3331 EReference getALSFunctionCall_Params();
3332
3333 /**
3334 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</em>}'.
3335 * <!-- begin-user-doc -->
3336 * <!-- end-user-doc -->
3337 * @return the meta object for class '<em>ALS None</em>'.
3338 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone
3339 * @generated
3340 */
3341 EClass getALSNone();
3342
3343 /**
3344 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</em>}'.
3345 * <!-- begin-user-doc -->
3346 * <!-- end-user-doc -->
3347 * @return the meta object for class '<em>ALS Iden</em>'.
3348 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden
3349 * @generated
3350 */
3351 EClass getALSIden();
3352
3353 /**
3354 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</em>}'.
3355 * <!-- begin-user-doc -->
3356 * <!-- end-user-doc -->
3357 * @return the meta object for class '<em>ALS Univ</em>'.
3358 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv
3359 * @generated
3360 */
3361 EClass getALSUniv();
3362
3363 /**
3364 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</em>}'.
3365 * <!-- begin-user-doc -->
3366 * <!-- end-user-doc -->
3367 * @return the meta object for class '<em>ALS Int</em>'.
3368 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt
3369 * @generated
3370 */
3371 EClass getALSInt();
3372
3373 /**
3374 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</em>}'.
3375 * <!-- begin-user-doc -->
3376 * <!-- end-user-doc -->
3377 * @return the meta object for class '<em>ALS Reference</em>'.
3378 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference
3379 * @generated
3380 */
3381 EClass getALSReference();
3382
3383 /**
3384 * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}'.
3385 * <!-- begin-user-doc -->
3386 * <!-- end-user-doc -->
3387 * @return the meta object for the reference '<em>Referred</em>'.
3388 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred()
3389 * @see #getALSReference()
3390 * @generated
3391 */
3392 EReference getALSReference_Referred();
3393
3394 /**
3395 * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</em>}'.
3396 * <!-- begin-user-doc -->
3397 * <!-- end-user-doc -->
3398 * @return the meta object for class '<em>ALS Number Literal</em>'.
3399 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral
3400 * @generated
3401 */
3402 EClass getALSNumberLiteral();
3403
3404 /**
3405 * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}'.
3406 * <!-- begin-user-doc -->
3407 * <!-- end-user-doc -->
3408 * @return the meta object for the attribute '<em>Value</em>'.
3409 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue()
3410 * @see #getALSNumberLiteral()
3411 * @generated
3412 */
3413 EAttribute getALSNumberLiteral_Value();
3414
3415 /**
3416 * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}'.
3417 * <!-- begin-user-doc -->
3418 * <!-- end-user-doc -->
3419 * @return the meta object for enum '<em>ALS Multiplicity</em>'.
3420 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
3421 * @generated
3422 */
3423 EEnum getALSMultiplicity();
3424
3425 /**
3426 * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}'.
3427 * <!-- begin-user-doc -->
3428 * <!-- end-user-doc -->
3429 * @return the meta object for enum '<em>ALS Numeric Operator</em>'.
3430 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
3431 * @generated
3432 */
3433 EEnum getALSNumericOperator();
3434
3435 /**
3436 * Returns the factory that creates the instances of the model.
3437 * <!-- begin-user-doc -->
3438 * <!-- end-user-doc -->
3439 * @return the factory that creates the instances of the model.
3440 * @generated
3441 */
3442 AlloyLanguageFactory getAlloyLanguageFactory();
3443
3444 /**
3445 * <!-- begin-user-doc -->
3446 * Defines literals for the meta objects that represent
3447 * <ul>
3448 * <li>each class,</li>
3449 * <li>each feature of each class,</li>
3450 * <li>each enum,</li>
3451 * <li>and each data type</li>
3452 * </ul>
3453 * <!-- end-user-doc -->
3454 * @generated
3455 */
3456 interface Literals
3457 {
3458 /**
3459 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl <em>ALS Document</em>}' class.
3460 * <!-- begin-user-doc -->
3461 * <!-- end-user-doc -->
3462 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl
3463 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDocument()
3464 * @generated
3465 */
3466 EClass ALS_DOCUMENT = eINSTANCE.getALSDocument();
3467
3468 /**
3469 * The meta object literal for the '<em><b>Enum Declarations</b></em>' containment reference list feature.
3470 * <!-- begin-user-doc -->
3471 * <!-- end-user-doc -->
3472 * @generated
3473 */
3474 EReference ALS_DOCUMENT__ENUM_DECLARATIONS = eINSTANCE.getALSDocument_EnumDeclarations();
3475
3476 /**
3477 * The meta object literal for the '<em><b>Signature Bodies</b></em>' containment reference list feature.
3478 * <!-- begin-user-doc -->
3479 * <!-- end-user-doc -->
3480 * @generated
3481 */
3482 EReference ALS_DOCUMENT__SIGNATURE_BODIES = eINSTANCE.getALSDocument_SignatureBodies();
3483
3484 /**
3485 * The meta object literal for the '<em><b>Function Definitions</b></em>' containment reference list feature.
3486 * <!-- begin-user-doc -->
3487 * <!-- end-user-doc -->
3488 * @generated
3489 */
3490 EReference ALS_DOCUMENT__FUNCTION_DEFINITIONS = eINSTANCE.getALSDocument_FunctionDefinitions();
3491
3492 /**
3493 * The meta object literal for the '<em><b>Relation Definitions</b></em>' containment reference list feature.
3494 * <!-- begin-user-doc -->
3495 * <!-- end-user-doc -->
3496 * @generated
3497 */
3498 EReference ALS_DOCUMENT__RELATION_DEFINITIONS = eINSTANCE.getALSDocument_RelationDefinitions();
3499
3500 /**
3501 * The meta object literal for the '<em><b>Fact Declarations</b></em>' containment reference list feature.
3502 * <!-- begin-user-doc -->
3503 * <!-- end-user-doc -->
3504 * @generated
3505 */
3506 EReference ALS_DOCUMENT__FACT_DECLARATIONS = eINSTANCE.getALSDocument_FactDeclarations();
3507
3508 /**
3509 * The meta object literal for the '<em><b>Run Command</b></em>' containment reference feature.
3510 * <!-- begin-user-doc -->
3511 * <!-- end-user-doc -->
3512 * @generated
3513 */
3514 EReference ALS_DOCUMENT__RUN_COMMAND = eINSTANCE.getALSDocument_RunCommand();
3515
3516 /**
3517 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl <em>ALS Relation Declaration</em>}' class.
3518 * <!-- begin-user-doc -->
3519 * <!-- end-user-doc -->
3520 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl
3521 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDeclaration()
3522 * @generated
3523 */
3524 EClass ALS_RELATION_DECLARATION = eINSTANCE.getALSRelationDeclaration();
3525
3526 /**
3527 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3528 * <!-- begin-user-doc -->
3529 * <!-- end-user-doc -->
3530 * @generated
3531 */
3532 EAttribute ALS_RELATION_DECLARATION__NAME = eINSTANCE.getALSRelationDeclaration_Name();
3533
3534 /**
3535 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl <em>ALS Type Declaration</em>}' class.
3536 * <!-- begin-user-doc -->
3537 * <!-- end-user-doc -->
3538 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl
3539 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeDeclaration()
3540 * @generated
3541 */
3542 EClass ALS_TYPE_DECLARATION = eINSTANCE.getALSTypeDeclaration();
3543
3544 /**
3545 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl <em>ALS Enum Declaration</em>}' class.
3546 * <!-- begin-user-doc -->
3547 * <!-- end-user-doc -->
3548 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl
3549 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumDeclaration()
3550 * @generated
3551 */
3552 EClass ALS_ENUM_DECLARATION = eINSTANCE.getALSEnumDeclaration();
3553
3554 /**
3555 * The meta object literal for the '<em><b>Literal</b></em>' containment reference list feature.
3556 * <!-- begin-user-doc -->
3557 * <!-- end-user-doc -->
3558 * @generated
3559 */
3560 EReference ALS_ENUM_DECLARATION__LITERAL = eINSTANCE.getALSEnumDeclaration_Literal();
3561
3562 /**
3563 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl <em>ALS Enum Literal</em>}' class.
3564 * <!-- begin-user-doc -->
3565 * <!-- end-user-doc -->
3566 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl
3567 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumLiteral()
3568 * @generated
3569 */
3570 EClass ALS_ENUM_LITERAL = eINSTANCE.getALSEnumLiteral();
3571
3572 /**
3573 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl <em>ALS Signature Declaration</em>}' class.
3574 * <!-- begin-user-doc -->
3575 * <!-- end-user-doc -->
3576 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl
3577 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureDeclaration()
3578 * @generated
3579 */
3580 EClass ALS_SIGNATURE_DECLARATION = eINSTANCE.getALSSignatureDeclaration();
3581
3582 /**
3583 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl <em>ALS Signature Body</em>}' class.
3584 * <!-- begin-user-doc -->
3585 * <!-- end-user-doc -->
3586 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl
3587 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureBody()
3588 * @generated
3589 */
3590 EClass ALS_SIGNATURE_BODY = eINSTANCE.getALSSignatureBody();
3591
3592 /**
3593 * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
3594 * <!-- begin-user-doc -->
3595 * <!-- end-user-doc -->
3596 * @generated
3597 */
3598 EAttribute ALS_SIGNATURE_BODY__MULTIPLICITY = eINSTANCE.getALSSignatureBody_Multiplicity();
3599
3600 /**
3601 * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
3602 * <!-- begin-user-doc -->
3603 * <!-- end-user-doc -->
3604 * @generated
3605 */
3606 EAttribute ALS_SIGNATURE_BODY__ABSTRACT = eINSTANCE.getALSSignatureBody_Abstract();
3607
3608 /**
3609 * The meta object literal for the '<em><b>Declarations</b></em>' containment reference list feature.
3610 * <!-- begin-user-doc -->
3611 * <!-- end-user-doc -->
3612 * @generated
3613 */
3614 EReference ALS_SIGNATURE_BODY__DECLARATIONS = eINSTANCE.getALSSignatureBody_Declarations();
3615
3616 /**
3617 * The meta object literal for the '<em><b>Supertype</b></em>' reference feature.
3618 * <!-- begin-user-doc -->
3619 * <!-- end-user-doc -->
3620 * @generated
3621 */
3622 EReference ALS_SIGNATURE_BODY__SUPERTYPE = eINSTANCE.getALSSignatureBody_Supertype();
3623
3624 /**
3625 * The meta object literal for the '<em><b>Superset</b></em>' reference list feature.
3626 * <!-- begin-user-doc -->
3627 * <!-- end-user-doc -->
3628 * @generated
3629 */
3630 EReference ALS_SIGNATURE_BODY__SUPERSET = eINSTANCE.getALSSignatureBody_Superset();
3631
3632 /**
3633 * The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature.
3634 * <!-- begin-user-doc -->
3635 * <!-- end-user-doc -->
3636 * @generated
3637 */
3638 EReference ALS_SIGNATURE_BODY__FIELDS = eINSTANCE.getALSSignatureBody_Fields();
3639
3640 /**
3641 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl <em>ALS Field Declaration</em>}' class.
3642 * <!-- begin-user-doc -->
3643 * <!-- end-user-doc -->
3644 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl
3645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFieldDeclaration()
3646 * @generated
3647 */
3648 EClass ALS_FIELD_DECLARATION = eINSTANCE.getALSFieldDeclaration();
3649
3650 /**
3651 * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
3652 * <!-- begin-user-doc -->
3653 * <!-- end-user-doc -->
3654 * @generated
3655 */
3656 EAttribute ALS_FIELD_DECLARATION__MULTIPLICITY = eINSTANCE.getALSFieldDeclaration_Multiplicity();
3657
3658 /**
3659 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
3660 * <!-- begin-user-doc -->
3661 * <!-- end-user-doc -->
3662 * @generated
3663 */
3664 EReference ALS_FIELD_DECLARATION__TYPE = eINSTANCE.getALSFieldDeclaration_Type();
3665
3666 /**
3667 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl <em>ALS Definition</em>}' class.
3668 * <!-- begin-user-doc -->
3669 * <!-- end-user-doc -->
3670 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl
3671 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDefinition()
3672 * @generated
3673 */
3674 EClass ALS_DEFINITION = eINSTANCE.getALSDefinition();
3675
3676 /**
3677 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3678 * <!-- begin-user-doc -->
3679 * <!-- end-user-doc -->
3680 * @generated
3681 */
3682 EAttribute ALS_DEFINITION__NAME = eINSTANCE.getALSDefinition_Name();
3683
3684 /**
3685 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
3686 * <!-- begin-user-doc -->
3687 * <!-- end-user-doc -->
3688 * @generated
3689 */
3690 EReference ALS_DEFINITION__VARIABLES = eINSTANCE.getALSDefinition_Variables();
3691
3692 /**
3693 * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
3694 * <!-- begin-user-doc -->
3695 * <!-- end-user-doc -->
3696 * @generated
3697 */
3698 EReference ALS_DEFINITION__VALUE = eINSTANCE.getALSDefinition_Value();
3699
3700 /**
3701 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl <em>ALS Function Definition</em>}' class.
3702 * <!-- begin-user-doc -->
3703 * <!-- end-user-doc -->
3704 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl
3705 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionDefinition()
3706 * @generated
3707 */
3708 EClass ALS_FUNCTION_DEFINITION = eINSTANCE.getALSFunctionDefinition();
3709
3710 /**
3711 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
3712 * <!-- begin-user-doc -->
3713 * <!-- end-user-doc -->
3714 * @generated
3715 */
3716 EReference ALS_FUNCTION_DEFINITION__TYPE = eINSTANCE.getALSFunctionDefinition_Type();
3717
3718 /**
3719 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl <em>ALS Relation Definition</em>}' class.
3720 * <!-- begin-user-doc -->
3721 * <!-- end-user-doc -->
3722 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl
3723 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDefinition()
3724 * @generated
3725 */
3726 EClass ALS_RELATION_DEFINITION = eINSTANCE.getALSRelationDefinition();
3727
3728 /**
3729 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl <em>ALS Fact Declaration</em>}' class.
3730 * <!-- begin-user-doc -->
3731 * <!-- end-user-doc -->
3732 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl
3733 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFactDeclaration()
3734 * @generated
3735 */
3736 EClass ALS_FACT_DECLARATION = eINSTANCE.getALSFactDeclaration();
3737
3738 /**
3739 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
3740 * <!-- begin-user-doc -->
3741 * <!-- end-user-doc -->
3742 * @generated
3743 */
3744 EAttribute ALS_FACT_DECLARATION__NAME = eINSTANCE.getALSFactDeclaration_Name();
3745
3746 /**
3747 * The meta object literal for the '<em><b>Term</b></em>' containment reference feature.
3748 * <!-- begin-user-doc -->
3749 * <!-- end-user-doc -->
3750 * @generated
3751 */
3752 EReference ALS_FACT_DECLARATION__TERM = eINSTANCE.getALSFactDeclaration_Term();
3753
3754 /**
3755 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl <em>ALS Term</em>}' class.
3756 * <!-- begin-user-doc -->
3757 * <!-- end-user-doc -->
3758 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl
3759 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTerm()
3760 * @generated
3761 */
3762 EClass ALS_TERM = eINSTANCE.getALSTerm();
3763
3764 /**
3765 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl <em>ALS Variable Declaration</em>}' class.
3766 * <!-- begin-user-doc -->
3767 * <!-- end-user-doc -->
3768 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl
3769 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSVariableDeclaration()
3770 * @generated
3771 */
3772 EClass ALS_VARIABLE_DECLARATION = eINSTANCE.getALSVariableDeclaration();
3773
3774 /**
3775 * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
3776 * <!-- begin-user-doc -->
3777 * <!-- end-user-doc -->
3778 * @generated
3779 */
3780 EReference ALS_VARIABLE_DECLARATION__RANGE = eINSTANCE.getALSVariableDeclaration_Range();
3781
3782 /**
3783 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl <em>ALS Run Command</em>}' class.
3784 * <!-- begin-user-doc -->
3785 * <!-- end-user-doc -->
3786 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl
3787 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRunCommand()
3788 * @generated
3789 */
3790 EClass ALS_RUN_COMMAND = eINSTANCE.getALSRunCommand();
3791
3792 /**
3793 * The meta object literal for the '<em><b>Type Scopes</b></em>' containment reference list feature.
3794 * <!-- begin-user-doc -->
3795 * <!-- end-user-doc -->
3796 * @generated
3797 */
3798 EReference ALS_RUN_COMMAND__TYPE_SCOPES = eINSTANCE.getALSRunCommand_TypeScopes();
3799
3800 /**
3801 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl <em>ALS Type Scope</em>}' class.
3802 * <!-- begin-user-doc -->
3803 * <!-- end-user-doc -->
3804 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl
3805 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeScope()
3806 * @generated
3807 */
3808 EClass ALS_TYPE_SCOPE = eINSTANCE.getALSTypeScope();
3809
3810 /**
3811 * The meta object literal for the '<em><b>Number</b></em>' attribute feature.
3812 * <!-- begin-user-doc -->
3813 * <!-- end-user-doc -->
3814 * @generated
3815 */
3816 EAttribute ALS_TYPE_SCOPE__NUMBER = eINSTANCE.getALSTypeScope_Number();
3817
3818 /**
3819 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl <em>ALS Sig Scope</em>}' class.
3820 * <!-- begin-user-doc -->
3821 * <!-- end-user-doc -->
3822 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl
3823 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSigScope()
3824 * @generated
3825 */
3826 EClass ALS_SIG_SCOPE = eINSTANCE.getALSSigScope();
3827
3828 /**
3829 * The meta object literal for the '<em><b>Exactly</b></em>' attribute feature.
3830 * <!-- begin-user-doc -->
3831 * <!-- end-user-doc -->
3832 * @generated
3833 */
3834 EAttribute ALS_SIG_SCOPE__EXACTLY = eINSTANCE.getALSSigScope_Exactly();
3835
3836 /**
3837 * The meta object literal for the '<em><b>Type</b></em>' reference feature.
3838 * <!-- begin-user-doc -->
3839 * <!-- end-user-doc -->
3840 * @generated
3841 */
3842 EReference ALS_SIG_SCOPE__TYPE = eINSTANCE.getALSSigScope_Type();
3843
3844 /**
3845 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl <em>ALS Int Scope</em>}' class.
3846 * <!-- begin-user-doc -->
3847 * <!-- end-user-doc -->
3848 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl
3849 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntScope()
3850 * @generated
3851 */
3852 EClass ALS_INT_SCOPE = eINSTANCE.getALSIntScope();
3853
3854 /**
3855 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class.
3856 * <!-- begin-user-doc -->
3857 * <!-- end-user-doc -->
3858 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl
3859 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx()
3860 * @generated
3861 */
3862 EClass ALS_QUANTIFIED_EX = eINSTANCE.getALSQuantifiedEx();
3863
3864 /**
3865 * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
3866 * <!-- begin-user-doc -->
3867 * <!-- end-user-doc -->
3868 * @generated
3869 */
3870 EAttribute ALS_QUANTIFIED_EX__TYPE = eINSTANCE.getALSQuantifiedEx_Type();
3871
3872 /**
3873 * The meta object literal for the '<em><b>Disj</b></em>' attribute feature.
3874 * <!-- begin-user-doc -->
3875 * <!-- end-user-doc -->
3876 * @generated
3877 */
3878 EAttribute ALS_QUANTIFIED_EX__DISJ = eINSTANCE.getALSQuantifiedEx_Disj();
3879
3880 /**
3881 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
3882 * <!-- begin-user-doc -->
3883 * <!-- end-user-doc -->
3884 * @generated
3885 */
3886 EReference ALS_QUANTIFIED_EX__VARIABLES = eINSTANCE.getALSQuantifiedEx_Variables();
3887
3888 /**
3889 * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
3890 * <!-- begin-user-doc -->
3891 * <!-- end-user-doc -->
3892 * @generated
3893 */
3894 EReference ALS_QUANTIFIED_EX__EXPRESSION = eINSTANCE.getALSQuantifiedEx_Expression();
3895
3896 /**
3897 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class.
3898 * <!-- begin-user-doc -->
3899 * <!-- end-user-doc -->
3900 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl
3901 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr()
3902 * @generated
3903 */
3904 EClass ALS_OR = eINSTANCE.getALSOr();
3905
3906 /**
3907 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
3908 * <!-- begin-user-doc -->
3909 * <!-- end-user-doc -->
3910 * @generated
3911 */
3912 EReference ALS_OR__LEFT_OPERAND = eINSTANCE.getALSOr_LeftOperand();
3913
3914 /**
3915 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
3916 * <!-- begin-user-doc -->
3917 * <!-- end-user-doc -->
3918 * @generated
3919 */
3920 EReference ALS_OR__RIGHT_OPERAND = eINSTANCE.getALSOr_RightOperand();
3921
3922 /**
3923 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class.
3924 * <!-- begin-user-doc -->
3925 * <!-- end-user-doc -->
3926 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl
3927 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff()
3928 * @generated
3929 */
3930 EClass ALS_IFF = eINSTANCE.getALSIff();
3931
3932 /**
3933 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
3934 * <!-- begin-user-doc -->
3935 * <!-- end-user-doc -->
3936 * @generated
3937 */
3938 EReference ALS_IFF__LEFT_OPERAND = eINSTANCE.getALSIff_LeftOperand();
3939
3940 /**
3941 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
3942 * <!-- begin-user-doc -->
3943 * <!-- end-user-doc -->
3944 * @generated
3945 */
3946 EReference ALS_IFF__RIGHT_OPERAND = eINSTANCE.getALSIff_RightOperand();
3947
3948 /**
3949 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class.
3950 * <!-- begin-user-doc -->
3951 * <!-- end-user-doc -->
3952 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl
3953 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl()
3954 * @generated
3955 */
3956 EClass ALS_IMPL = eINSTANCE.getALSImpl();
3957
3958 /**
3959 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
3960 * <!-- begin-user-doc -->
3961 * <!-- end-user-doc -->
3962 * @generated
3963 */
3964 EReference ALS_IMPL__LEFT_OPERAND = eINSTANCE.getALSImpl_LeftOperand();
3965
3966 /**
3967 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
3968 * <!-- begin-user-doc -->
3969 * <!-- end-user-doc -->
3970 * @generated
3971 */
3972 EReference ALS_IMPL__RIGHT_OPERAND = eINSTANCE.getALSImpl_RightOperand();
3973
3974 /**
3975 * The meta object literal for the '<em><b>Else Operand</b></em>' containment reference feature.
3976 * <!-- begin-user-doc -->
3977 * <!-- end-user-doc -->
3978 * @generated
3979 */
3980 EReference ALS_IMPL__ELSE_OPERAND = eINSTANCE.getALSImpl_ElseOperand();
3981
3982 /**
3983 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class.
3984 * <!-- begin-user-doc -->
3985 * <!-- end-user-doc -->
3986 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl
3987 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd()
3988 * @generated
3989 */
3990 EClass ALS_AND = eINSTANCE.getALSAnd();
3991
3992 /**
3993 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
3994 * <!-- begin-user-doc -->
3995 * <!-- end-user-doc -->
3996 * @generated
3997 */
3998 EReference ALS_AND__LEFT_OPERAND = eINSTANCE.getALSAnd_LeftOperand();
3999
4000 /**
4001 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4002 * <!-- begin-user-doc -->
4003 * <!-- end-user-doc -->
4004 * @generated
4005 */
4006 EReference ALS_AND__RIGHT_OPERAND = eINSTANCE.getALSAnd_RightOperand();
4007
4008 /**
4009 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class.
4010 * <!-- begin-user-doc -->
4011 * <!-- end-user-doc -->
4012 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl
4013 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals()
4014 * @generated
4015 */
4016 EClass ALS_EQUALS = eINSTANCE.getALSEquals();
4017
4018 /**
4019 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4020 * <!-- begin-user-doc -->
4021 * <!-- end-user-doc -->
4022 * @generated
4023 */
4024 EReference ALS_EQUALS__LEFT_OPERAND = eINSTANCE.getALSEquals_LeftOperand();
4025
4026 /**
4027 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4028 * <!-- begin-user-doc -->
4029 * <!-- end-user-doc -->
4030 * @generated
4031 */
4032 EReference ALS_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSEquals_RightOperand();
4033
4034 /**
4035 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class.
4036 * <!-- begin-user-doc -->
4037 * <!-- end-user-doc -->
4038 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl
4039 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals()
4040 * @generated
4041 */
4042 EClass ALS_NOT_EQUALS = eINSTANCE.getALSNotEquals();
4043
4044 /**
4045 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4046 * <!-- begin-user-doc -->
4047 * <!-- end-user-doc -->
4048 * @generated
4049 */
4050 EReference ALS_NOT_EQUALS__LEFT_OPERAND = eINSTANCE.getALSNotEquals_LeftOperand();
4051
4052 /**
4053 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4054 * <!-- begin-user-doc -->
4055 * <!-- end-user-doc -->
4056 * @generated
4057 */
4058 EReference ALS_NOT_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSNotEquals_RightOperand();
4059
4060 /**
4061 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class.
4062 * <!-- begin-user-doc -->
4063 * <!-- end-user-doc -->
4064 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl
4065 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset()
4066 * @generated
4067 */
4068 EClass ALS_SUBSET = eINSTANCE.getALSSubset();
4069
4070 /**
4071 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4072 * <!-- begin-user-doc -->
4073 * <!-- end-user-doc -->
4074 * @generated
4075 */
4076 EReference ALS_SUBSET__LEFT_OPERAND = eINSTANCE.getALSSubset_LeftOperand();
4077
4078 /**
4079 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4080 * <!-- begin-user-doc -->
4081 * <!-- end-user-doc -->
4082 * @generated
4083 */
4084 EReference ALS_SUBSET__RIGHT_OPERAND = eINSTANCE.getALSSubset_RightOperand();
4085
4086 /**
4087 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class.
4088 * <!-- begin-user-doc -->
4089 * <!-- end-user-doc -->
4090 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl
4091 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess()
4092 * @generated
4093 */
4094 EClass ALS_LESS = eINSTANCE.getALSLess();
4095
4096 /**
4097 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4098 * <!-- begin-user-doc -->
4099 * <!-- end-user-doc -->
4100 * @generated
4101 */
4102 EReference ALS_LESS__LEFT_OPERAND = eINSTANCE.getALSLess_LeftOperand();
4103
4104 /**
4105 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4106 * <!-- begin-user-doc -->
4107 * <!-- end-user-doc -->
4108 * @generated
4109 */
4110 EReference ALS_LESS__RIGHT_OPERAND = eINSTANCE.getALSLess_RightOperand();
4111
4112 /**
4113 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class.
4114 * <!-- begin-user-doc -->
4115 * <!-- end-user-doc -->
4116 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl
4117 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq()
4118 * @generated
4119 */
4120 EClass ALS_LEQ = eINSTANCE.getALSLeq();
4121
4122 /**
4123 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4124 * <!-- begin-user-doc -->
4125 * <!-- end-user-doc -->
4126 * @generated
4127 */
4128 EReference ALS_LEQ__LEFT_OPERAND = eINSTANCE.getALSLeq_LeftOperand();
4129
4130 /**
4131 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4132 * <!-- begin-user-doc -->
4133 * <!-- end-user-doc -->
4134 * @generated
4135 */
4136 EReference ALS_LEQ__RIGHT_OPERAND = eINSTANCE.getALSLeq_RightOperand();
4137
4138 /**
4139 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class.
4140 * <!-- begin-user-doc -->
4141 * <!-- end-user-doc -->
4142 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl
4143 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore()
4144 * @generated
4145 */
4146 EClass ALS_MORE = eINSTANCE.getALSMore();
4147
4148 /**
4149 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4150 * <!-- begin-user-doc -->
4151 * <!-- end-user-doc -->
4152 * @generated
4153 */
4154 EReference ALS_MORE__LEFT_OPERAND = eINSTANCE.getALSMore_LeftOperand();
4155
4156 /**
4157 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4158 * <!-- begin-user-doc -->
4159 * <!-- end-user-doc -->
4160 * @generated
4161 */
4162 EReference ALS_MORE__RIGHT_OPERAND = eINSTANCE.getALSMore_RightOperand();
4163
4164 /**
4165 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class.
4166 * <!-- begin-user-doc -->
4167 * <!-- end-user-doc -->
4168 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl
4169 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq()
4170 * @generated
4171 */
4172 EClass ALS_MEQ = eINSTANCE.getALSMeq();
4173
4174 /**
4175 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4176 * <!-- begin-user-doc -->
4177 * <!-- end-user-doc -->
4178 * @generated
4179 */
4180 EReference ALS_MEQ__LEFT_OPERAND = eINSTANCE.getALSMeq_LeftOperand();
4181
4182 /**
4183 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4184 * <!-- begin-user-doc -->
4185 * <!-- end-user-doc -->
4186 * @generated
4187 */
4188 EReference ALS_MEQ__RIGHT_OPERAND = eINSTANCE.getALSMeq_RightOperand();
4189
4190 /**
4191 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class.
4192 * <!-- begin-user-doc -->
4193 * <!-- end-user-doc -->
4194 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl
4195 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride()
4196 * @generated
4197 */
4198 EClass ALS_OVERRIDE = eINSTANCE.getALSOverride();
4199
4200 /**
4201 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4202 * <!-- begin-user-doc -->
4203 * <!-- end-user-doc -->
4204 * @generated
4205 */
4206 EReference ALS_OVERRIDE__LEFT_OPERAND = eINSTANCE.getALSOverride_LeftOperand();
4207
4208 /**
4209 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4210 * <!-- begin-user-doc -->
4211 * <!-- end-user-doc -->
4212 * @generated
4213 */
4214 EReference ALS_OVERRIDE__RIGHT_OPERAND = eINSTANCE.getALSOverride_RightOperand();
4215
4216 /**
4217 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class.
4218 * <!-- begin-user-doc -->
4219 * <!-- end-user-doc -->
4220 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl
4221 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight()
4222 * @generated
4223 */
4224 EClass ALS_RANGE_RESTRICTION_RIGHT = eINSTANCE.getALSRangeRestrictionRight();
4225
4226 /**
4227 * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature.
4228 * <!-- begin-user-doc -->
4229 * <!-- end-user-doc -->
4230 * @generated
4231 */
4232 EReference ALS_RANGE_RESTRICTION_RIGHT__RELATION = eINSTANCE.getALSRangeRestrictionRight_Relation();
4233
4234 /**
4235 * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature.
4236 * <!-- begin-user-doc -->
4237 * <!-- end-user-doc -->
4238 * @generated
4239 */
4240 EReference ALS_RANGE_RESTRICTION_RIGHT__FILTER = eINSTANCE.getALSRangeRestrictionRight_Filter();
4241
4242 /**
4243 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class.
4244 * <!-- begin-user-doc -->
4245 * <!-- end-user-doc -->
4246 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl
4247 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft()
4248 * @generated
4249 */
4250 EClass ALS_RANGE_RESTRICTION_LEFT = eINSTANCE.getALSRangeRestrictionLeft();
4251
4252 /**
4253 * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature.
4254 * <!-- begin-user-doc -->
4255 * <!-- end-user-doc -->
4256 * @generated
4257 */
4258 EReference ALS_RANGE_RESTRICTION_LEFT__FILTER = eINSTANCE.getALSRangeRestrictionLeft_Filter();
4259
4260 /**
4261 * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature.
4262 * <!-- begin-user-doc -->
4263 * <!-- end-user-doc -->
4264 * @generated
4265 */
4266 EReference ALS_RANGE_RESTRICTION_LEFT__RELATION = eINSTANCE.getALSRangeRestrictionLeft_Relation();
4267
4268 /**
4269 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class.
4270 * <!-- begin-user-doc -->
4271 * <!-- end-user-doc -->
4272 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl
4273 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin()
4274 * @generated
4275 */
4276 EClass ALS_JOIN = eINSTANCE.getALSJoin();
4277
4278 /**
4279 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4280 * <!-- begin-user-doc -->
4281 * <!-- end-user-doc -->
4282 * @generated
4283 */
4284 EReference ALS_JOIN__LEFT_OPERAND = eINSTANCE.getALSJoin_LeftOperand();
4285
4286 /**
4287 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4288 * <!-- begin-user-doc -->
4289 * <!-- end-user-doc -->
4290 * @generated
4291 */
4292 EReference ALS_JOIN__RIGHT_OPERAND = eINSTANCE.getALSJoin_RightOperand();
4293
4294 /**
4295 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class.
4296 * <!-- begin-user-doc -->
4297 * <!-- end-user-doc -->
4298 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl
4299 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus()
4300 * @generated
4301 */
4302 EClass ALS_MINUS = eINSTANCE.getALSMinus();
4303
4304 /**
4305 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4306 * <!-- begin-user-doc -->
4307 * <!-- end-user-doc -->
4308 * @generated
4309 */
4310 EReference ALS_MINUS__LEFT_OPERAND = eINSTANCE.getALSMinus_LeftOperand();
4311
4312 /**
4313 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4314 * <!-- begin-user-doc -->
4315 * <!-- end-user-doc -->
4316 * @generated
4317 */
4318 EReference ALS_MINUS__RIGHT_OPERAND = eINSTANCE.getALSMinus_RightOperand();
4319
4320 /**
4321 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class.
4322 * <!-- begin-user-doc -->
4323 * <!-- end-user-doc -->
4324 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl
4325 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus()
4326 * @generated
4327 */
4328 EClass ALS_PLUS = eINSTANCE.getALSPlus();
4329
4330 /**
4331 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4332 * <!-- begin-user-doc -->
4333 * <!-- end-user-doc -->
4334 * @generated
4335 */
4336 EReference ALS_PLUS__LEFT_OPERAND = eINSTANCE.getALSPlus_LeftOperand();
4337
4338 /**
4339 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4340 * <!-- begin-user-doc -->
4341 * <!-- end-user-doc -->
4342 * @generated
4343 */
4344 EReference ALS_PLUS__RIGHT_OPERAND = eINSTANCE.getALSPlus_RightOperand();
4345
4346 /**
4347 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class.
4348 * <!-- begin-user-doc -->
4349 * <!-- end-user-doc -->
4350 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl
4351 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection()
4352 * @generated
4353 */
4354 EClass ALS_INTERSECTION = eINSTANCE.getALSIntersection();
4355
4356 /**
4357 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4358 * <!-- begin-user-doc -->
4359 * <!-- end-user-doc -->
4360 * @generated
4361 */
4362 EReference ALS_INTERSECTION__LEFT_OPERAND = eINSTANCE.getALSIntersection_LeftOperand();
4363
4364 /**
4365 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4366 * <!-- begin-user-doc -->
4367 * <!-- end-user-doc -->
4368 * @generated
4369 */
4370 EReference ALS_INTERSECTION__RIGHT_OPERAND = eINSTANCE.getALSIntersection_RightOperand();
4371
4372 /**
4373 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class.
4374 * <!-- begin-user-doc -->
4375 * <!-- end-user-doc -->
4376 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl
4377 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct()
4378 * @generated
4379 */
4380 EClass ALS_DIRECT_PRODUCT = eINSTANCE.getALSDirectProduct();
4381
4382 /**
4383 * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature.
4384 * <!-- begin-user-doc -->
4385 * <!-- end-user-doc -->
4386 * @generated
4387 */
4388 EReference ALS_DIRECT_PRODUCT__LEFT_OPERAND = eINSTANCE.getALSDirectProduct_LeftOperand();
4389
4390 /**
4391 * The meta object literal for the '<em><b>Left Multiplicit</b></em>' attribute feature.
4392 * <!-- begin-user-doc -->
4393 * <!-- end-user-doc -->
4394 * @generated
4395 */
4396 EAttribute ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_LeftMultiplicit();
4397
4398 /**
4399 * The meta object literal for the '<em><b>Right Multiplicit</b></em>' attribute feature.
4400 * <!-- begin-user-doc -->
4401 * <!-- end-user-doc -->
4402 * @generated
4403 */
4404 EAttribute ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_RightMultiplicit();
4405
4406 /**
4407 * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature.
4408 * <!-- begin-user-doc -->
4409 * <!-- end-user-doc -->
4410 * @generated
4411 */
4412 EReference ALS_DIRECT_PRODUCT__RIGHT_OPERAND = eINSTANCE.getALSDirectProduct_RightOperand();
4413
4414 /**
4415 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class.
4416 * <!-- begin-user-doc -->
4417 * <!-- end-user-doc -->
4418 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl
4419 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot()
4420 * @generated
4421 */
4422 EClass ALS_NOT = eINSTANCE.getALSNot();
4423
4424 /**
4425 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4426 * <!-- begin-user-doc -->
4427 * <!-- end-user-doc -->
4428 * @generated
4429 */
4430 EReference ALS_NOT__OPERAND = eINSTANCE.getALSNot_Operand();
4431
4432 /**
4433 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class.
4434 * <!-- begin-user-doc -->
4435 * <!-- end-user-doc -->
4436 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl
4437 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation()
4438 * @generated
4439 */
4440 EClass ALS_INVERSE_RELATION = eINSTANCE.getALSInverseRelation();
4441
4442 /**
4443 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4444 * <!-- begin-user-doc -->
4445 * <!-- end-user-doc -->
4446 * @generated
4447 */
4448 EReference ALS_INVERSE_RELATION__OPERAND = eINSTANCE.getALSInverseRelation_Operand();
4449
4450 /**
4451 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class.
4452 * <!-- begin-user-doc -->
4453 * <!-- end-user-doc -->
4454 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl
4455 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure()
4456 * @generated
4457 */
4458 EClass AL_STRANSITIVE_CLOSURE = eINSTANCE.getAlSTransitiveClosure();
4459
4460 /**
4461 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4462 * <!-- begin-user-doc -->
4463 * <!-- end-user-doc -->
4464 * @generated
4465 */
4466 EReference AL_STRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getAlSTransitiveClosure_Operand();
4467
4468 /**
4469 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class.
4470 * <!-- begin-user-doc -->
4471 * <!-- end-user-doc -->
4472 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl
4473 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure()
4474 * @generated
4475 */
4476 EClass ALS_REFLECTIVE_TRANSITIVE_CLOSURE = eINSTANCE.getALSReflectiveTransitiveClosure();
4477
4478 /**
4479 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4480 * <!-- begin-user-doc -->
4481 * <!-- end-user-doc -->
4482 * @generated
4483 */
4484 EReference ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getALSReflectiveTransitiveClosure_Operand();
4485
4486 /**
4487 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl <em>ALS Cardinality</em>}' class.
4488 * <!-- begin-user-doc -->
4489 * <!-- end-user-doc -->
4490 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl
4491 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality()
4492 * @generated
4493 */
4494 EClass ALS_CARDINALITY = eINSTANCE.getALSCardinality();
4495
4496 /**
4497 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4498 * <!-- begin-user-doc -->
4499 * <!-- end-user-doc -->
4500 * @generated
4501 */
4502 EReference ALS_CARDINALITY__OPERAND = eINSTANCE.getALSCardinality_Operand();
4503
4504 /**
4505 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class.
4506 * <!-- begin-user-doc -->
4507 * <!-- end-user-doc -->
4508 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl
4509 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus()
4510 * @generated
4511 */
4512 EClass ALS_UNARY_MINUS = eINSTANCE.getALSUnaryMinus();
4513
4514 /**
4515 * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature.
4516 * <!-- begin-user-doc -->
4517 * <!-- end-user-doc -->
4518 * @generated
4519 */
4520 EReference ALS_UNARY_MINUS__OPERAND = eINSTANCE.getALSUnaryMinus_Operand();
4521
4522 /**
4523 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class.
4524 * <!-- begin-user-doc -->
4525 * <!-- end-user-doc -->
4526 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl
4527 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum()
4528 * @generated
4529 */
4530 EClass ALS_SUM = eINSTANCE.getALSSum();
4531
4532 /**
4533 * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature.
4534 * <!-- begin-user-doc -->
4535 * <!-- end-user-doc -->
4536 * @generated
4537 */
4538 EReference ALS_SUM__VARIABLES = eINSTANCE.getALSSum_Variables();
4539
4540 /**
4541 * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
4542 * <!-- begin-user-doc -->
4543 * <!-- end-user-doc -->
4544 * @generated
4545 */
4546 EReference ALS_SUM__EXPRESSION = eINSTANCE.getALSSum_Expression();
4547
4548 /**
4549 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class.
4550 * <!-- begin-user-doc -->
4551 * <!-- end-user-doc -->
4552 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl
4553 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall()
4554 * @generated
4555 */
4556 EClass ALS_FUNCTION_CALL = eINSTANCE.getALSFunctionCall();
4557
4558 /**
4559 * The meta object literal for the '<em><b>Referred Definition</b></em>' reference feature.
4560 * <!-- begin-user-doc -->
4561 * <!-- end-user-doc -->
4562 * @generated
4563 */
4564 EReference ALS_FUNCTION_CALL__REFERRED_DEFINITION = eINSTANCE.getALSFunctionCall_ReferredDefinition();
4565
4566 /**
4567 * The meta object literal for the '<em><b>Referred Numeric Operator</b></em>' attribute feature.
4568 * <!-- begin-user-doc -->
4569 * <!-- end-user-doc -->
4570 * @generated
4571 */
4572 EAttribute ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = eINSTANCE.getALSFunctionCall_ReferredNumericOperator();
4573
4574 /**
4575 * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature.
4576 * <!-- begin-user-doc -->
4577 * <!-- end-user-doc -->
4578 * @generated
4579 */
4580 EReference ALS_FUNCTION_CALL__PARAMS = eINSTANCE.getALSFunctionCall_Params();
4581
4582 /**
4583 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class.
4584 * <!-- begin-user-doc -->
4585 * <!-- end-user-doc -->
4586 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl
4587 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone()
4588 * @generated
4589 */
4590 EClass ALS_NONE = eINSTANCE.getALSNone();
4591
4592 /**
4593 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class.
4594 * <!-- begin-user-doc -->
4595 * <!-- end-user-doc -->
4596 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl
4597 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden()
4598 * @generated
4599 */
4600 EClass ALS_IDEN = eINSTANCE.getALSIden();
4601
4602 /**
4603 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class.
4604 * <!-- begin-user-doc -->
4605 * <!-- end-user-doc -->
4606 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl
4607 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv()
4608 * @generated
4609 */
4610 EClass ALS_UNIV = eINSTANCE.getALSUniv();
4611
4612 /**
4613 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class.
4614 * <!-- begin-user-doc -->
4615 * <!-- end-user-doc -->
4616 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl
4617 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt()
4618 * @generated
4619 */
4620 EClass ALS_INT = eINSTANCE.getALSInt();
4621
4622 /**
4623 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class.
4624 * <!-- begin-user-doc -->
4625 * <!-- end-user-doc -->
4626 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl
4627 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference()
4628 * @generated
4629 */
4630 EClass ALS_REFERENCE = eINSTANCE.getALSReference();
4631
4632 /**
4633 * The meta object literal for the '<em><b>Referred</b></em>' reference feature.
4634 * <!-- begin-user-doc -->
4635 * <!-- end-user-doc -->
4636 * @generated
4637 */
4638 EReference ALS_REFERENCE__REFERRED = eINSTANCE.getALSReference_Referred();
4639
4640 /**
4641 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class.
4642 * <!-- begin-user-doc -->
4643 * <!-- end-user-doc -->
4644 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl
4645 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral()
4646 * @generated
4647 */
4648 EClass ALS_NUMBER_LITERAL = eINSTANCE.getALSNumberLiteral();
4649
4650 /**
4651 * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
4652 * <!-- begin-user-doc -->
4653 * <!-- end-user-doc -->
4654 * @generated
4655 */
4656 EAttribute ALS_NUMBER_LITERAL__VALUE = eINSTANCE.getALSNumberLiteral_Value();
4657
4658 /**
4659 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum.
4660 * <!-- begin-user-doc -->
4661 * <!-- end-user-doc -->
4662 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity
4663 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity()
4664 * @generated
4665 */
4666 EEnum ALS_MULTIPLICITY = eINSTANCE.getALSMultiplicity();
4667
4668 /**
4669 * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum.
4670 * <!-- begin-user-doc -->
4671 * <!-- end-user-doc -->
4672 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator
4673 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator()
4674 * @generated
4675 */
4676 EEnum ALS_NUMERIC_OPERATOR = eINSTANCE.getALSNumericOperator();
4677
4678 }
4679
4680} //AlloyLanguagePackage
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java
new file mode 100644
index 00000000..e8cbd9ad
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java
new file mode 100644
index 00000000..5faf04d6
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java
new file mode 100644
index 00000000..83ba34c2
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java
@@ -0,0 +1,312 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java
new file mode 100644
index 00000000..a0b6efe7
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java
@@ -0,0 +1,392 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java
new file mode 100644
index 00000000..c0e4c494
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java
@@ -0,0 +1,397 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
new file mode 100644
index 00000000..776ceb88
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java
@@ -0,0 +1,165 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java
new file mode 100644
index 00000000..59cde373
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java
new file mode 100644
index 00000000..8e61050b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java
new file mode 100644
index 00000000..dad737b8
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java
@@ -0,0 +1,265 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java
new file mode 100644
index 00000000..22e551bb
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java
@@ -0,0 +1,265 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java
new file mode 100644
index 00000000..e602f63b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java
@@ -0,0 +1,306 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java
new file mode 100644
index 00000000..3256eee1
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java
new file mode 100644
index 00000000..24b72beb
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java
new file mode 100644
index 00000000..ac2b73e6
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java
new file mode 100644
index 00000000..27623e4f
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java
@@ -0,0 +1,335 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java
new file mode 100644
index 00000000..5e6cf044
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java
new file mode 100644
index 00000000..4e6fd9d5
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java
new file mode 100644
index 00000000..31003505
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java
new file mode 100644
index 00000000..06bdc39b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java
new file mode 100644
index 00000000..d640651b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
new file mode 100644
index 00000000..92162fd6
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java
new file mode 100644
index 00000000..5e1f3c42
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java
new file mode 100644
index 00000000..bb21bc9b
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java
new file mode 100644
index 00000000..b516a309
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java
new file mode 100644
index 00000000..b37bbb1f
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java
new file mode 100644
index 00000000..3e58d2ef
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java
new file mode 100644
index 00000000..58960928
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java
new file mode 100644
index 00000000..80c6d887
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java
new file mode 100644
index 00000000..b0ae95f1
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java
@@ -0,0 +1,176 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java
new file mode 100644
index 00000000..0c6556e4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java
new file mode 100644
index 00000000..11f8f6b4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java
new file mode 100644
index 00000000..5cd4f229
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java
new file mode 100644
index 00000000..120f07fa
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java
@@ -0,0 +1,368 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java
new file mode 100644
index 00000000..7530740d
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java
new file mode 100644
index 00000000..e1c746c6
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java
new file mode 100644
index 00000000..95da5c87
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java
@@ -0,0 +1,172 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java
new file mode 100644
index 00000000..70744faa
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java
new file mode 100644
index 00000000..27401d30
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java
@@ -0,0 +1,177 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java
new file mode 100644
index 00000000..8e185c08
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java
new file mode 100644
index 00000000..8dd3bbd1
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java
@@ -0,0 +1,167 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java
new file mode 100644
index 00000000..0866ba79
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java
@@ -0,0 +1,243 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java
new file mode 100644
index 00000000..1b51668e
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java
@@ -0,0 +1,438 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java
new file mode 100644
index 00000000..4c58a4ee
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java
new file mode 100644
index 00000000..de9b1246
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java
@@ -0,0 +1,264 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java
new file mode 100644
index 00000000..61503806
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java
@@ -0,0 +1,240 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java
new file mode 100644
index 00000000..06a720d4
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java
@@ -0,0 +1,42 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java
new file mode 100644
index 00000000..83d836bf
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java
new file mode 100644
index 00000000..e60dc917
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java
@@ -0,0 +1,177 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java
new file mode 100644
index 00000000..e4e33969
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java
new file mode 100644
index 00000000..f7696943
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java
@@ -0,0 +1,40 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java
new file mode 100644
index 00000000..de26d088
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java
new file mode 100644
index 00000000..fdacf84e
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java
@@ -0,0 +1,193 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java
new file mode 100644
index 00000000..45d92dca
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java
@@ -0,0 +1,801 @@
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_QUANTIFIED_EX: return createALSQuantifiedEx();
87 case AlloyLanguagePackage.ALS_OR: return createALSOr();
88 case AlloyLanguagePackage.ALS_IFF: return createALSIff();
89 case AlloyLanguagePackage.ALS_IMPL: return createALSImpl();
90 case AlloyLanguagePackage.ALS_AND: return createALSAnd();
91 case AlloyLanguagePackage.ALS_EQUALS: return createALSEquals();
92 case AlloyLanguagePackage.ALS_NOT_EQUALS: return createALSNotEquals();
93 case AlloyLanguagePackage.ALS_SUBSET: return createALSSubset();
94 case AlloyLanguagePackage.ALS_LESS: return createALSLess();
95 case AlloyLanguagePackage.ALS_LEQ: return createALSLeq();
96 case AlloyLanguagePackage.ALS_MORE: return createALSMore();
97 case AlloyLanguagePackage.ALS_MEQ: return createALSMeq();
98 case AlloyLanguagePackage.ALS_OVERRIDE: return createALSOverride();
99 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: return createALSRangeRestrictionRight();
100 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: return createALSRangeRestrictionLeft();
101 case AlloyLanguagePackage.ALS_JOIN: return createALSJoin();
102 case AlloyLanguagePackage.ALS_MINUS: return createALSMinus();
103 case AlloyLanguagePackage.ALS_PLUS: return createALSPlus();
104 case AlloyLanguagePackage.ALS_INTERSECTION: return createALSIntersection();
105 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: return createALSDirectProduct();
106 case AlloyLanguagePackage.ALS_NOT: return createALSNot();
107 case AlloyLanguagePackage.ALS_INVERSE_RELATION: return createALSInverseRelation();
108 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: return createAlSTransitiveClosure();
109 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: return createALSReflectiveTransitiveClosure();
110 case AlloyLanguagePackage.ALS_CARDINALITY: return createALSCardinality();
111 case AlloyLanguagePackage.ALS_UNARY_MINUS: return createALSUnaryMinus();
112 case AlloyLanguagePackage.ALS_SUM: return createALSSum();
113 case AlloyLanguagePackage.ALS_FUNCTION_CALL: return createALSFunctionCall();
114 case AlloyLanguagePackage.ALS_NONE: return createALSNone();
115 case AlloyLanguagePackage.ALS_IDEN: return createALSIden();
116 case AlloyLanguagePackage.ALS_UNIV: return createALSUniv();
117 case AlloyLanguagePackage.ALS_INT: return createALSInt();
118 case AlloyLanguagePackage.ALS_REFERENCE: return createALSReference();
119 case AlloyLanguagePackage.ALS_NUMBER_LITERAL: return createALSNumberLiteral();
120 default:
121 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
122 }
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 @Override
131 public Object createFromString(EDataType eDataType, String initialValue)
132 {
133 switch (eDataType.getClassifierID())
134 {
135 case AlloyLanguagePackage.ALS_MULTIPLICITY:
136 return createALSMultiplicityFromString(eDataType, initialValue);
137 case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR:
138 return createALSNumericOperatorFromString(eDataType, initialValue);
139 default:
140 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
141 }
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public String convertToString(EDataType eDataType, Object instanceValue)
151 {
152 switch (eDataType.getClassifierID())
153 {
154 case AlloyLanguagePackage.ALS_MULTIPLICITY:
155 return convertALSMultiplicityToString(eDataType, instanceValue);
156 case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR:
157 return convertALSNumericOperatorToString(eDataType, instanceValue);
158 default:
159 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
160 }
161 }
162
163 /**
164 * <!-- begin-user-doc -->
165 * <!-- end-user-doc -->
166 * @generated
167 */
168 public ALSDocument createALSDocument()
169 {
170 ALSDocumentImpl alsDocument = new ALSDocumentImpl();
171 return alsDocument;
172 }
173
174 /**
175 * <!-- begin-user-doc -->
176 * <!-- end-user-doc -->
177 * @generated
178 */
179 public ALSRelationDeclaration createALSRelationDeclaration()
180 {
181 ALSRelationDeclarationImpl alsRelationDeclaration = new ALSRelationDeclarationImpl();
182 return alsRelationDeclaration;
183 }
184
185 /**
186 * <!-- begin-user-doc -->
187 * <!-- end-user-doc -->
188 * @generated
189 */
190 public ALSTypeDeclaration createALSTypeDeclaration()
191 {
192 ALSTypeDeclarationImpl alsTypeDeclaration = new ALSTypeDeclarationImpl();
193 return alsTypeDeclaration;
194 }
195
196 /**
197 * <!-- begin-user-doc -->
198 * <!-- end-user-doc -->
199 * @generated
200 */
201 public ALSEnumDeclaration createALSEnumDeclaration()
202 {
203 ALSEnumDeclarationImpl alsEnumDeclaration = new ALSEnumDeclarationImpl();
204 return alsEnumDeclaration;
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 public ALSEnumLiteral createALSEnumLiteral()
213 {
214 ALSEnumLiteralImpl alsEnumLiteral = new ALSEnumLiteralImpl();
215 return alsEnumLiteral;
216 }
217
218 /**
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 */
223 public ALSSignatureDeclaration createALSSignatureDeclaration()
224 {
225 ALSSignatureDeclarationImpl alsSignatureDeclaration = new ALSSignatureDeclarationImpl();
226 return alsSignatureDeclaration;
227 }
228
229 /**
230 * <!-- begin-user-doc -->
231 * <!-- end-user-doc -->
232 * @generated
233 */
234 public ALSSignatureBody createALSSignatureBody()
235 {
236 ALSSignatureBodyImpl alsSignatureBody = new ALSSignatureBodyImpl();
237 return alsSignatureBody;
238 }
239
240 /**
241 * <!-- begin-user-doc -->
242 * <!-- end-user-doc -->
243 * @generated
244 */
245 public ALSFieldDeclaration createALSFieldDeclaration()
246 {
247 ALSFieldDeclarationImpl alsFieldDeclaration = new ALSFieldDeclarationImpl();
248 return alsFieldDeclaration;
249 }
250
251 /**
252 * <!-- begin-user-doc -->
253 * <!-- end-user-doc -->
254 * @generated
255 */
256 public ALSDefinition createALSDefinition()
257 {
258 ALSDefinitionImpl alsDefinition = new ALSDefinitionImpl();
259 return alsDefinition;
260 }
261
262 /**
263 * <!-- begin-user-doc -->
264 * <!-- end-user-doc -->
265 * @generated
266 */
267 public ALSFunctionDefinition createALSFunctionDefinition()
268 {
269 ALSFunctionDefinitionImpl alsFunctionDefinition = new ALSFunctionDefinitionImpl();
270 return alsFunctionDefinition;
271 }
272
273 /**
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @generated
277 */
278 public ALSRelationDefinition createALSRelationDefinition()
279 {
280 ALSRelationDefinitionImpl alsRelationDefinition = new ALSRelationDefinitionImpl();
281 return alsRelationDefinition;
282 }
283
284 /**
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 */
289 public ALSFactDeclaration createALSFactDeclaration()
290 {
291 ALSFactDeclarationImpl alsFactDeclaration = new ALSFactDeclarationImpl();
292 return alsFactDeclaration;
293 }
294
295 /**
296 * <!-- begin-user-doc -->
297 * <!-- end-user-doc -->
298 * @generated
299 */
300 public ALSTerm createALSTerm()
301 {
302 ALSTermImpl alsTerm = new ALSTermImpl();
303 return alsTerm;
304 }
305
306 /**
307 * <!-- begin-user-doc -->
308 * <!-- end-user-doc -->
309 * @generated
310 */
311 public ALSVariableDeclaration createALSVariableDeclaration()
312 {
313 ALSVariableDeclarationImpl alsVariableDeclaration = new ALSVariableDeclarationImpl();
314 return alsVariableDeclaration;
315 }
316
317 /**
318 * <!-- begin-user-doc -->
319 * <!-- end-user-doc -->
320 * @generated
321 */
322 public ALSRunCommand createALSRunCommand()
323 {
324 ALSRunCommandImpl alsRunCommand = new ALSRunCommandImpl();
325 return alsRunCommand;
326 }
327
328 /**
329 * <!-- begin-user-doc -->
330 * <!-- end-user-doc -->
331 * @generated
332 */
333 public ALSTypeScope createALSTypeScope()
334 {
335 ALSTypeScopeImpl alsTypeScope = new ALSTypeScopeImpl();
336 return alsTypeScope;
337 }
338
339 /**
340 * <!-- begin-user-doc -->
341 * <!-- end-user-doc -->
342 * @generated
343 */
344 public ALSSigScope createALSSigScope()
345 {
346 ALSSigScopeImpl alsSigScope = new ALSSigScopeImpl();
347 return alsSigScope;
348 }
349
350 /**
351 * <!-- begin-user-doc -->
352 * <!-- end-user-doc -->
353 * @generated
354 */
355 public ALSIntScope createALSIntScope()
356 {
357 ALSIntScopeImpl alsIntScope = new ALSIntScopeImpl();
358 return alsIntScope;
359 }
360
361 /**
362 * <!-- begin-user-doc -->
363 * <!-- end-user-doc -->
364 * @generated
365 */
366 public ALSQuantifiedEx createALSQuantifiedEx()
367 {
368 ALSQuantifiedExImpl alsQuantifiedEx = new ALSQuantifiedExImpl();
369 return alsQuantifiedEx;
370 }
371
372 /**
373 * <!-- begin-user-doc -->
374 * <!-- end-user-doc -->
375 * @generated
376 */
377 public ALSOr createALSOr()
378 {
379 ALSOrImpl alsOr = new ALSOrImpl();
380 return alsOr;
381 }
382
383 /**
384 * <!-- begin-user-doc -->
385 * <!-- end-user-doc -->
386 * @generated
387 */
388 public ALSIff createALSIff()
389 {
390 ALSIffImpl alsIff = new ALSIffImpl();
391 return alsIff;
392 }
393
394 /**
395 * <!-- begin-user-doc -->
396 * <!-- end-user-doc -->
397 * @generated
398 */
399 public ALSImpl createALSImpl()
400 {
401 ALSImplImpl alsImpl = new ALSImplImpl();
402 return alsImpl;
403 }
404
405 /**
406 * <!-- begin-user-doc -->
407 * <!-- end-user-doc -->
408 * @generated
409 */
410 public ALSAnd createALSAnd()
411 {
412 ALSAndImpl alsAnd = new ALSAndImpl();
413 return alsAnd;
414 }
415
416 /**
417 * <!-- begin-user-doc -->
418 * <!-- end-user-doc -->
419 * @generated
420 */
421 public ALSEquals createALSEquals()
422 {
423 ALSEqualsImpl alsEquals = new ALSEqualsImpl();
424 return alsEquals;
425 }
426
427 /**
428 * <!-- begin-user-doc -->
429 * <!-- end-user-doc -->
430 * @generated
431 */
432 public ALSNotEquals createALSNotEquals()
433 {
434 ALSNotEqualsImpl alsNotEquals = new ALSNotEqualsImpl();
435 return alsNotEquals;
436 }
437
438 /**
439 * <!-- begin-user-doc -->
440 * <!-- end-user-doc -->
441 * @generated
442 */
443 public ALSSubset createALSSubset()
444 {
445 ALSSubsetImpl alsSubset = new ALSSubsetImpl();
446 return alsSubset;
447 }
448
449 /**
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 */
454 public ALSLess createALSLess()
455 {
456 ALSLessImpl alsLess = new ALSLessImpl();
457 return alsLess;
458 }
459
460 /**
461 * <!-- begin-user-doc -->
462 * <!-- end-user-doc -->
463 * @generated
464 */
465 public ALSLeq createALSLeq()
466 {
467 ALSLeqImpl alsLeq = new ALSLeqImpl();
468 return alsLeq;
469 }
470
471 /**
472 * <!-- begin-user-doc -->
473 * <!-- end-user-doc -->
474 * @generated
475 */
476 public ALSMore createALSMore()
477 {
478 ALSMoreImpl alsMore = new ALSMoreImpl();
479 return alsMore;
480 }
481
482 /**
483 * <!-- begin-user-doc -->
484 * <!-- end-user-doc -->
485 * @generated
486 */
487 public ALSMeq createALSMeq()
488 {
489 ALSMeqImpl alsMeq = new ALSMeqImpl();
490 return alsMeq;
491 }
492
493 /**
494 * <!-- begin-user-doc -->
495 * <!-- end-user-doc -->
496 * @generated
497 */
498 public ALSOverride createALSOverride()
499 {
500 ALSOverrideImpl alsOverride = new ALSOverrideImpl();
501 return alsOverride;
502 }
503
504 /**
505 * <!-- begin-user-doc -->
506 * <!-- end-user-doc -->
507 * @generated
508 */
509 public ALSRangeRestrictionRight createALSRangeRestrictionRight()
510 {
511 ALSRangeRestrictionRightImpl alsRangeRestrictionRight = new ALSRangeRestrictionRightImpl();
512 return alsRangeRestrictionRight;
513 }
514
515 /**
516 * <!-- begin-user-doc -->
517 * <!-- end-user-doc -->
518 * @generated
519 */
520 public ALSRangeRestrictionLeft createALSRangeRestrictionLeft()
521 {
522 ALSRangeRestrictionLeftImpl alsRangeRestrictionLeft = new ALSRangeRestrictionLeftImpl();
523 return alsRangeRestrictionLeft;
524 }
525
526 /**
527 * <!-- begin-user-doc -->
528 * <!-- end-user-doc -->
529 * @generated
530 */
531 public ALSJoin createALSJoin()
532 {
533 ALSJoinImpl alsJoin = new ALSJoinImpl();
534 return alsJoin;
535 }
536
537 /**
538 * <!-- begin-user-doc -->
539 * <!-- end-user-doc -->
540 * @generated
541 */
542 public ALSMinus createALSMinus()
543 {
544 ALSMinusImpl alsMinus = new ALSMinusImpl();
545 return alsMinus;
546 }
547
548 /**
549 * <!-- begin-user-doc -->
550 * <!-- end-user-doc -->
551 * @generated
552 */
553 public ALSPlus createALSPlus()
554 {
555 ALSPlusImpl alsPlus = new ALSPlusImpl();
556 return alsPlus;
557 }
558
559 /**
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @generated
563 */
564 public ALSIntersection createALSIntersection()
565 {
566 ALSIntersectionImpl alsIntersection = new ALSIntersectionImpl();
567 return alsIntersection;
568 }
569
570 /**
571 * <!-- begin-user-doc -->
572 * <!-- end-user-doc -->
573 * @generated
574 */
575 public ALSDirectProduct createALSDirectProduct()
576 {
577 ALSDirectProductImpl alsDirectProduct = new ALSDirectProductImpl();
578 return alsDirectProduct;
579 }
580
581 /**
582 * <!-- begin-user-doc -->
583 * <!-- end-user-doc -->
584 * @generated
585 */
586 public ALSNot createALSNot()
587 {
588 ALSNotImpl alsNot = new ALSNotImpl();
589 return alsNot;
590 }
591
592 /**
593 * <!-- begin-user-doc -->
594 * <!-- end-user-doc -->
595 * @generated
596 */
597 public ALSInverseRelation createALSInverseRelation()
598 {
599 ALSInverseRelationImpl alsInverseRelation = new ALSInverseRelationImpl();
600 return alsInverseRelation;
601 }
602
603 /**
604 * <!-- begin-user-doc -->
605 * <!-- end-user-doc -->
606 * @generated
607 */
608 public AlSTransitiveClosure createAlSTransitiveClosure()
609 {
610 AlSTransitiveClosureImpl alSTransitiveClosure = new AlSTransitiveClosureImpl();
611 return alSTransitiveClosure;
612 }
613
614 /**
615 * <!-- begin-user-doc -->
616 * <!-- end-user-doc -->
617 * @generated
618 */
619 public ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure()
620 {
621 ALSReflectiveTransitiveClosureImpl alsReflectiveTransitiveClosure = new ALSReflectiveTransitiveClosureImpl();
622 return alsReflectiveTransitiveClosure;
623 }
624
625 /**
626 * <!-- begin-user-doc -->
627 * <!-- end-user-doc -->
628 * @generated
629 */
630 public ALSCardinality createALSCardinality()
631 {
632 ALSCardinalityImpl alsCardinality = new ALSCardinalityImpl();
633 return alsCardinality;
634 }
635
636 /**
637 * <!-- begin-user-doc -->
638 * <!-- end-user-doc -->
639 * @generated
640 */
641 public ALSUnaryMinus createALSUnaryMinus()
642 {
643 ALSUnaryMinusImpl alsUnaryMinus = new ALSUnaryMinusImpl();
644 return alsUnaryMinus;
645 }
646
647 /**
648 * <!-- begin-user-doc -->
649 * <!-- end-user-doc -->
650 * @generated
651 */
652 public ALSSum createALSSum()
653 {
654 ALSSumImpl alsSum = new ALSSumImpl();
655 return alsSum;
656 }
657
658 /**
659 * <!-- begin-user-doc -->
660 * <!-- end-user-doc -->
661 * @generated
662 */
663 public ALSFunctionCall createALSFunctionCall()
664 {
665 ALSFunctionCallImpl alsFunctionCall = new ALSFunctionCallImpl();
666 return alsFunctionCall;
667 }
668
669 /**
670 * <!-- begin-user-doc -->
671 * <!-- end-user-doc -->
672 * @generated
673 */
674 public ALSNone createALSNone()
675 {
676 ALSNoneImpl alsNone = new ALSNoneImpl();
677 return alsNone;
678 }
679
680 /**
681 * <!-- begin-user-doc -->
682 * <!-- end-user-doc -->
683 * @generated
684 */
685 public ALSIden createALSIden()
686 {
687 ALSIdenImpl alsIden = new ALSIdenImpl();
688 return alsIden;
689 }
690
691 /**
692 * <!-- begin-user-doc -->
693 * <!-- end-user-doc -->
694 * @generated
695 */
696 public ALSUniv createALSUniv()
697 {
698 ALSUnivImpl alsUniv = new ALSUnivImpl();
699 return alsUniv;
700 }
701
702 /**
703 * <!-- begin-user-doc -->
704 * <!-- end-user-doc -->
705 * @generated
706 */
707 public ALSInt createALSInt()
708 {
709 ALSIntImpl alsInt = new ALSIntImpl();
710 return alsInt;
711 }
712
713 /**
714 * <!-- begin-user-doc -->
715 * <!-- end-user-doc -->
716 * @generated
717 */
718 public ALSReference createALSReference()
719 {
720 ALSReferenceImpl alsReference = new ALSReferenceImpl();
721 return alsReference;
722 }
723
724 /**
725 * <!-- begin-user-doc -->
726 * <!-- end-user-doc -->
727 * @generated
728 */
729 public ALSNumberLiteral createALSNumberLiteral()
730 {
731 ALSNumberLiteralImpl alsNumberLiteral = new ALSNumberLiteralImpl();
732 return alsNumberLiteral;
733 }
734
735 /**
736 * <!-- begin-user-doc -->
737 * <!-- end-user-doc -->
738 * @generated
739 */
740 public ALSMultiplicity createALSMultiplicityFromString(EDataType eDataType, String initialValue)
741 {
742 ALSMultiplicity result = ALSMultiplicity.get(initialValue);
743 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
744 return result;
745 }
746
747 /**
748 * <!-- begin-user-doc -->
749 * <!-- end-user-doc -->
750 * @generated
751 */
752 public String convertALSMultiplicityToString(EDataType eDataType, Object instanceValue)
753 {
754 return instanceValue == null ? null : instanceValue.toString();
755 }
756
757 /**
758 * <!-- begin-user-doc -->
759 * <!-- end-user-doc -->
760 * @generated
761 */
762 public ALSNumericOperator createALSNumericOperatorFromString(EDataType eDataType, String initialValue)
763 {
764 ALSNumericOperator result = ALSNumericOperator.get(initialValue);
765 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
766 return result;
767 }
768
769 /**
770 * <!-- begin-user-doc -->
771 * <!-- end-user-doc -->
772 * @generated
773 */
774 public String convertALSNumericOperatorToString(EDataType eDataType, Object instanceValue)
775 {
776 return instanceValue == null ? null : instanceValue.toString();
777 }
778
779 /**
780 * <!-- begin-user-doc -->
781 * <!-- end-user-doc -->
782 * @generated
783 */
784 public AlloyLanguagePackage getAlloyLanguagePackage()
785 {
786 return (AlloyLanguagePackage)getEPackage();
787 }
788
789 /**
790 * <!-- begin-user-doc -->
791 * <!-- end-user-doc -->
792 * @deprecated
793 * @generated
794 */
795 @Deprecated
796 public static AlloyLanguagePackage getPackage()
797 {
798 return AlloyLanguagePackage.eINSTANCE;
799 }
800
801} //AlloyLanguageFactoryImpl
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java
new file mode 100644
index 00000000..1fd90aa9
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java
@@ -0,0 +1,2417 @@
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.ALSSubset;
51import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum;
52import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
53import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration;
54import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope;
55import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus;
56import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv;
57import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
58import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure;
59import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory;
60import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
61
62import org.eclipse.emf.ecore.EAttribute;
63import org.eclipse.emf.ecore.EClass;
64import org.eclipse.emf.ecore.EEnum;
65import org.eclipse.emf.ecore.EPackage;
66import org.eclipse.emf.ecore.EReference;
67
68import org.eclipse.emf.ecore.impl.EPackageImpl;
69
70/**
71 * <!-- begin-user-doc -->
72 * An implementation of the model <b>Package</b>.
73 * <!-- end-user-doc -->
74 * @generated
75 */
76public class AlloyLanguagePackageImpl extends EPackageImpl implements AlloyLanguagePackage
77{
78 /**
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @generated
82 */
83 private EClass alsDocumentEClass = null;
84
85 /**
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @generated
89 */
90 private EClass alsRelationDeclarationEClass = null;
91
92 /**
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @generated
96 */
97 private EClass alsTypeDeclarationEClass = null;
98
99 /**
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 */
104 private EClass alsEnumDeclarationEClass = null;
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 private EClass alsEnumLiteralEClass = null;
112
113 /**
114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc -->
116 * @generated
117 */
118 private EClass alsSignatureDeclarationEClass = null;
119
120 /**
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @generated
124 */
125 private EClass alsSignatureBodyEClass = null;
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 private EClass alsFieldDeclarationEClass = null;
133
134 /**
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 */
139 private EClass alsDefinitionEClass = null;
140
141 /**
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @generated
145 */
146 private EClass alsFunctionDefinitionEClass = null;
147
148 /**
149 * <!-- begin-user-doc -->
150 * <!-- end-user-doc -->
151 * @generated
152 */
153 private EClass alsRelationDefinitionEClass = null;
154
155 /**
156 * <!-- begin-user-doc -->
157 * <!-- end-user-doc -->
158 * @generated
159 */
160 private EClass alsFactDeclarationEClass = null;
161
162 /**
163 * <!-- begin-user-doc -->
164 * <!-- end-user-doc -->
165 * @generated
166 */
167 private EClass alsTermEClass = null;
168
169 /**
170 * <!-- begin-user-doc -->
171 * <!-- end-user-doc -->
172 * @generated
173 */
174 private EClass alsVariableDeclarationEClass = null;
175
176 /**
177 * <!-- begin-user-doc -->
178 * <!-- end-user-doc -->
179 * @generated
180 */
181 private EClass alsRunCommandEClass = null;
182
183 /**
184 * <!-- begin-user-doc -->
185 * <!-- end-user-doc -->
186 * @generated
187 */
188 private EClass alsTypeScopeEClass = null;
189
190 /**
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 */
195 private EClass alsSigScopeEClass = null;
196
197 /**
198 * <!-- begin-user-doc -->
199 * <!-- end-user-doc -->
200 * @generated
201 */
202 private EClass alsIntScopeEClass = null;
203
204 /**
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @generated
208 */
209 private EClass alsQuantifiedExEClass = null;
210
211 /**
212 * <!-- begin-user-doc -->
213 * <!-- end-user-doc -->
214 * @generated
215 */
216 private EClass alsOrEClass = null;
217
218 /**
219 * <!-- begin-user-doc -->
220 * <!-- end-user-doc -->
221 * @generated
222 */
223 private EClass alsIffEClass = null;
224
225 /**
226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc -->
228 * @generated
229 */
230 private EClass alsImplEClass = null;
231
232 /**
233 * <!-- begin-user-doc -->
234 * <!-- end-user-doc -->
235 * @generated
236 */
237 private EClass alsAndEClass = null;
238
239 /**
240 * <!-- begin-user-doc -->
241 * <!-- end-user-doc -->
242 * @generated
243 */
244 private EClass alsEqualsEClass = null;
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 private EClass alsNotEqualsEClass = null;
252
253 /**
254 * <!-- begin-user-doc -->
255 * <!-- end-user-doc -->
256 * @generated
257 */
258 private EClass alsSubsetEClass = null;
259
260 /**
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @generated
264 */
265 private EClass alsLessEClass = null;
266
267 /**
268 * <!-- begin-user-doc -->
269 * <!-- end-user-doc -->
270 * @generated
271 */
272 private EClass alsLeqEClass = null;
273
274 /**
275 * <!-- begin-user-doc -->
276 * <!-- end-user-doc -->
277 * @generated
278 */
279 private EClass alsMoreEClass = null;
280
281 /**
282 * <!-- begin-user-doc -->
283 * <!-- end-user-doc -->
284 * @generated
285 */
286 private EClass alsMeqEClass = null;
287
288 /**
289 * <!-- begin-user-doc -->
290 * <!-- end-user-doc -->
291 * @generated
292 */
293 private EClass alsOverrideEClass = null;
294
295 /**
296 * <!-- begin-user-doc -->
297 * <!-- end-user-doc -->
298 * @generated
299 */
300 private EClass alsRangeRestrictionRightEClass = null;
301
302 /**
303 * <!-- begin-user-doc -->
304 * <!-- end-user-doc -->
305 * @generated
306 */
307 private EClass alsRangeRestrictionLeftEClass = null;
308
309 /**
310 * <!-- begin-user-doc -->
311 * <!-- end-user-doc -->
312 * @generated
313 */
314 private EClass alsJoinEClass = null;
315
316 /**
317 * <!-- begin-user-doc -->
318 * <!-- end-user-doc -->
319 * @generated
320 */
321 private EClass alsMinusEClass = null;
322
323 /**
324 * <!-- begin-user-doc -->
325 * <!-- end-user-doc -->
326 * @generated
327 */
328 private EClass alsPlusEClass = null;
329
330 /**
331 * <!-- begin-user-doc -->
332 * <!-- end-user-doc -->
333 * @generated
334 */
335 private EClass alsIntersectionEClass = null;
336
337 /**
338 * <!-- begin-user-doc -->
339 * <!-- end-user-doc -->
340 * @generated
341 */
342 private EClass alsDirectProductEClass = null;
343
344 /**
345 * <!-- begin-user-doc -->
346 * <!-- end-user-doc -->
347 * @generated
348 */
349 private EClass alsNotEClass = null;
350
351 /**
352 * <!-- begin-user-doc -->
353 * <!-- end-user-doc -->
354 * @generated
355 */
356 private EClass alsInverseRelationEClass = null;
357
358 /**
359 * <!-- begin-user-doc -->
360 * <!-- end-user-doc -->
361 * @generated
362 */
363 private EClass alSTransitiveClosureEClass = null;
364
365 /**
366 * <!-- begin-user-doc -->
367 * <!-- end-user-doc -->
368 * @generated
369 */
370 private EClass alsReflectiveTransitiveClosureEClass = null;
371
372 /**
373 * <!-- begin-user-doc -->
374 * <!-- end-user-doc -->
375 * @generated
376 */
377 private EClass alsCardinalityEClass = null;
378
379 /**
380 * <!-- begin-user-doc -->
381 * <!-- end-user-doc -->
382 * @generated
383 */
384 private EClass alsUnaryMinusEClass = null;
385
386 /**
387 * <!-- begin-user-doc -->
388 * <!-- end-user-doc -->
389 * @generated
390 */
391 private EClass alsSumEClass = null;
392
393 /**
394 * <!-- begin-user-doc -->
395 * <!-- end-user-doc -->
396 * @generated
397 */
398 private EClass alsFunctionCallEClass = null;
399
400 /**
401 * <!-- begin-user-doc -->
402 * <!-- end-user-doc -->
403 * @generated
404 */
405 private EClass alsNoneEClass = null;
406
407 /**
408 * <!-- begin-user-doc -->
409 * <!-- end-user-doc -->
410 * @generated
411 */
412 private EClass alsIdenEClass = null;
413
414 /**
415 * <!-- begin-user-doc -->
416 * <!-- end-user-doc -->
417 * @generated
418 */
419 private EClass alsUnivEClass = null;
420
421 /**
422 * <!-- begin-user-doc -->
423 * <!-- end-user-doc -->
424 * @generated
425 */
426 private EClass alsIntEClass = null;
427
428 /**
429 * <!-- begin-user-doc -->
430 * <!-- end-user-doc -->
431 * @generated
432 */
433 private EClass alsReferenceEClass = null;
434
435 /**
436 * <!-- begin-user-doc -->
437 * <!-- end-user-doc -->
438 * @generated
439 */
440 private EClass alsNumberLiteralEClass = null;
441
442 /**
443 * <!-- begin-user-doc -->
444 * <!-- end-user-doc -->
445 * @generated
446 */
447 private EEnum alsMultiplicityEEnum = null;
448
449 /**
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 */
454 private EEnum alsNumericOperatorEEnum = null;
455
456 /**
457 * Creates an instance of the model <b>Package</b>, registered with
458 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
459 * package URI value.
460 * <p>Note: the correct way to create the package is via the static
461 * factory method {@link #init init()}, which also performs
462 * initialization of the package, or returns the registered package,
463 * if one already exists.
464 * <!-- begin-user-doc -->
465 * <!-- end-user-doc -->
466 * @see org.eclipse.emf.ecore.EPackage.Registry
467 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#eNS_URI
468 * @see #init()
469 * @generated
470 */
471 private AlloyLanguagePackageImpl()
472 {
473 super(eNS_URI, AlloyLanguageFactory.eINSTANCE);
474 }
475
476 /**
477 * <!-- begin-user-doc -->
478 * <!-- end-user-doc -->
479 * @generated
480 */
481 private static boolean isInited = false;
482
483 /**
484 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
485 *
486 * <p>This method is used to initialize {@link AlloyLanguagePackage#eINSTANCE} when that field is accessed.
487 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
488 * <!-- begin-user-doc -->
489 * <!-- end-user-doc -->
490 * @see #eNS_URI
491 * @see #createPackageContents()
492 * @see #initializePackageContents()
493 * @generated
494 */
495 public static AlloyLanguagePackage init()
496 {
497 if (isInited) return (AlloyLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(AlloyLanguagePackage.eNS_URI);
498
499 // Obtain or create and register package
500 AlloyLanguagePackageImpl theAlloyLanguagePackage = (AlloyLanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AlloyLanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AlloyLanguagePackageImpl());
501
502 isInited = true;
503
504 // Create package meta-data objects
505 theAlloyLanguagePackage.createPackageContents();
506
507 // Initialize created meta-data
508 theAlloyLanguagePackage.initializePackageContents();
509
510 // Mark meta-data to indicate it can't be changed
511 theAlloyLanguagePackage.freeze();
512
513
514 // Update the registry and return the package
515 EPackage.Registry.INSTANCE.put(AlloyLanguagePackage.eNS_URI, theAlloyLanguagePackage);
516 return theAlloyLanguagePackage;
517 }
518
519 /**
520 * <!-- begin-user-doc -->
521 * <!-- end-user-doc -->
522 * @generated
523 */
524 public EClass getALSDocument()
525 {
526 return alsDocumentEClass;
527 }
528
529 /**
530 * <!-- begin-user-doc -->
531 * <!-- end-user-doc -->
532 * @generated
533 */
534 public EReference getALSDocument_EnumDeclarations()
535 {
536 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(0);
537 }
538
539 /**
540 * <!-- begin-user-doc -->
541 * <!-- end-user-doc -->
542 * @generated
543 */
544 public EReference getALSDocument_SignatureBodies()
545 {
546 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(1);
547 }
548
549 /**
550 * <!-- begin-user-doc -->
551 * <!-- end-user-doc -->
552 * @generated
553 */
554 public EReference getALSDocument_FunctionDefinitions()
555 {
556 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(2);
557 }
558
559 /**
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @generated
563 */
564 public EReference getALSDocument_RelationDefinitions()
565 {
566 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(3);
567 }
568
569 /**
570 * <!-- begin-user-doc -->
571 * <!-- end-user-doc -->
572 * @generated
573 */
574 public EReference getALSDocument_FactDeclarations()
575 {
576 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(4);
577 }
578
579 /**
580 * <!-- begin-user-doc -->
581 * <!-- end-user-doc -->
582 * @generated
583 */
584 public EReference getALSDocument_RunCommand()
585 {
586 return (EReference)alsDocumentEClass.getEStructuralFeatures().get(5);
587 }
588
589 /**
590 * <!-- begin-user-doc -->
591 * <!-- end-user-doc -->
592 * @generated
593 */
594 public EClass getALSRelationDeclaration()
595 {
596 return alsRelationDeclarationEClass;
597 }
598
599 /**
600 * <!-- begin-user-doc -->
601 * <!-- end-user-doc -->
602 * @generated
603 */
604 public EAttribute getALSRelationDeclaration_Name()
605 {
606 return (EAttribute)alsRelationDeclarationEClass.getEStructuralFeatures().get(0);
607 }
608
609 /**
610 * <!-- begin-user-doc -->
611 * <!-- end-user-doc -->
612 * @generated
613 */
614 public EClass getALSTypeDeclaration()
615 {
616 return alsTypeDeclarationEClass;
617 }
618
619 /**
620 * <!-- begin-user-doc -->
621 * <!-- end-user-doc -->
622 * @generated
623 */
624 public EClass getALSEnumDeclaration()
625 {
626 return alsEnumDeclarationEClass;
627 }
628
629 /**
630 * <!-- begin-user-doc -->
631 * <!-- end-user-doc -->
632 * @generated
633 */
634 public EReference getALSEnumDeclaration_Literal()
635 {
636 return (EReference)alsEnumDeclarationEClass.getEStructuralFeatures().get(0);
637 }
638
639 /**
640 * <!-- begin-user-doc -->
641 * <!-- end-user-doc -->
642 * @generated
643 */
644 public EClass getALSEnumLiteral()
645 {
646 return alsEnumLiteralEClass;
647 }
648
649 /**
650 * <!-- begin-user-doc -->
651 * <!-- end-user-doc -->
652 * @generated
653 */
654 public EClass getALSSignatureDeclaration()
655 {
656 return alsSignatureDeclarationEClass;
657 }
658
659 /**
660 * <!-- begin-user-doc -->
661 * <!-- end-user-doc -->
662 * @generated
663 */
664 public EClass getALSSignatureBody()
665 {
666 return alsSignatureBodyEClass;
667 }
668
669 /**
670 * <!-- begin-user-doc -->
671 * <!-- end-user-doc -->
672 * @generated
673 */
674 public EAttribute getALSSignatureBody_Multiplicity()
675 {
676 return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(0);
677 }
678
679 /**
680 * <!-- begin-user-doc -->
681 * <!-- end-user-doc -->
682 * @generated
683 */
684 public EAttribute getALSSignatureBody_Abstract()
685 {
686 return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(1);
687 }
688
689 /**
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @generated
693 */
694 public EReference getALSSignatureBody_Declarations()
695 {
696 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(2);
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
704 public EReference getALSSignatureBody_Supertype()
705 {
706 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(3);
707 }
708
709 /**
710 * <!-- begin-user-doc -->
711 * <!-- end-user-doc -->
712 * @generated
713 */
714 public EReference getALSSignatureBody_Superset()
715 {
716 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(4);
717 }
718
719 /**
720 * <!-- begin-user-doc -->
721 * <!-- end-user-doc -->
722 * @generated
723 */
724 public EReference getALSSignatureBody_Fields()
725 {
726 return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(5);
727 }
728
729 /**
730 * <!-- begin-user-doc -->
731 * <!-- end-user-doc -->
732 * @generated
733 */
734 public EClass getALSFieldDeclaration()
735 {
736 return alsFieldDeclarationEClass;
737 }
738
739 /**
740 * <!-- begin-user-doc -->
741 * <!-- end-user-doc -->
742 * @generated
743 */
744 public EAttribute getALSFieldDeclaration_Multiplicity()
745 {
746 return (EAttribute)alsFieldDeclarationEClass.getEStructuralFeatures().get(0);
747 }
748
749 /**
750 * <!-- begin-user-doc -->
751 * <!-- end-user-doc -->
752 * @generated
753 */
754 public EReference getALSFieldDeclaration_Type()
755 {
756 return (EReference)alsFieldDeclarationEClass.getEStructuralFeatures().get(1);
757 }
758
759 /**
760 * <!-- begin-user-doc -->
761 * <!-- end-user-doc -->
762 * @generated
763 */
764 public EClass getALSDefinition()
765 {
766 return alsDefinitionEClass;
767 }
768
769 /**
770 * <!-- begin-user-doc -->
771 * <!-- end-user-doc -->
772 * @generated
773 */
774 public EAttribute getALSDefinition_Name()
775 {
776 return (EAttribute)alsDefinitionEClass.getEStructuralFeatures().get(0);
777 }
778
779 /**
780 * <!-- begin-user-doc -->
781 * <!-- end-user-doc -->
782 * @generated
783 */
784 public EReference getALSDefinition_Variables()
785 {
786 return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(1);
787 }
788
789 /**
790 * <!-- begin-user-doc -->
791 * <!-- end-user-doc -->
792 * @generated
793 */
794 public EReference getALSDefinition_Value()
795 {
796 return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(2);
797 }
798
799 /**
800 * <!-- begin-user-doc -->
801 * <!-- end-user-doc -->
802 * @generated
803 */
804 public EClass getALSFunctionDefinition()
805 {
806 return alsFunctionDefinitionEClass;
807 }
808
809 /**
810 * <!-- begin-user-doc -->
811 * <!-- end-user-doc -->
812 * @generated
813 */
814 public EReference getALSFunctionDefinition_Type()
815 {
816 return (EReference)alsFunctionDefinitionEClass.getEStructuralFeatures().get(0);
817 }
818
819 /**
820 * <!-- begin-user-doc -->
821 * <!-- end-user-doc -->
822 * @generated
823 */
824 public EClass getALSRelationDefinition()
825 {
826 return alsRelationDefinitionEClass;
827 }
828
829 /**
830 * <!-- begin-user-doc -->
831 * <!-- end-user-doc -->
832 * @generated
833 */
834 public EClass getALSFactDeclaration()
835 {
836 return alsFactDeclarationEClass;
837 }
838
839 /**
840 * <!-- begin-user-doc -->
841 * <!-- end-user-doc -->
842 * @generated
843 */
844 public EAttribute getALSFactDeclaration_Name()
845 {
846 return (EAttribute)alsFactDeclarationEClass.getEStructuralFeatures().get(0);
847 }
848
849 /**
850 * <!-- begin-user-doc -->
851 * <!-- end-user-doc -->
852 * @generated
853 */
854 public EReference getALSFactDeclaration_Term()
855 {
856 return (EReference)alsFactDeclarationEClass.getEStructuralFeatures().get(1);
857 }
858
859 /**
860 * <!-- begin-user-doc -->
861 * <!-- end-user-doc -->
862 * @generated
863 */
864 public EClass getALSTerm()
865 {
866 return alsTermEClass;
867 }
868
869 /**
870 * <!-- begin-user-doc -->
871 * <!-- end-user-doc -->
872 * @generated
873 */
874 public EClass getALSVariableDeclaration()
875 {
876 return alsVariableDeclarationEClass;
877 }
878
879 /**
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 public EReference getALSVariableDeclaration_Range()
885 {
886 return (EReference)alsVariableDeclarationEClass.getEStructuralFeatures().get(0);
887 }
888
889 /**
890 * <!-- begin-user-doc -->
891 * <!-- end-user-doc -->
892 * @generated
893 */
894 public EClass getALSRunCommand()
895 {
896 return alsRunCommandEClass;
897 }
898
899 /**
900 * <!-- begin-user-doc -->
901 * <!-- end-user-doc -->
902 * @generated
903 */
904 public EReference getALSRunCommand_TypeScopes()
905 {
906 return (EReference)alsRunCommandEClass.getEStructuralFeatures().get(0);
907 }
908
909 /**
910 * <!-- begin-user-doc -->
911 * <!-- end-user-doc -->
912 * @generated
913 */
914 public EClass getALSTypeScope()
915 {
916 return alsTypeScopeEClass;
917 }
918
919 /**
920 * <!-- begin-user-doc -->
921 * <!-- end-user-doc -->
922 * @generated
923 */
924 public EAttribute getALSTypeScope_Number()
925 {
926 return (EAttribute)alsTypeScopeEClass.getEStructuralFeatures().get(0);
927 }
928
929 /**
930 * <!-- begin-user-doc -->
931 * <!-- end-user-doc -->
932 * @generated
933 */
934 public EClass getALSSigScope()
935 {
936 return alsSigScopeEClass;
937 }
938
939 /**
940 * <!-- begin-user-doc -->
941 * <!-- end-user-doc -->
942 * @generated
943 */
944 public EAttribute getALSSigScope_Exactly()
945 {
946 return (EAttribute)alsSigScopeEClass.getEStructuralFeatures().get(0);
947 }
948
949 /**
950 * <!-- begin-user-doc -->
951 * <!-- end-user-doc -->
952 * @generated
953 */
954 public EReference getALSSigScope_Type()
955 {
956 return (EReference)alsSigScopeEClass.getEStructuralFeatures().get(1);
957 }
958
959 /**
960 * <!-- begin-user-doc -->
961 * <!-- end-user-doc -->
962 * @generated
963 */
964 public EClass getALSIntScope()
965 {
966 return alsIntScopeEClass;
967 }
968
969 /**
970 * <!-- begin-user-doc -->
971 * <!-- end-user-doc -->
972 * @generated
973 */
974 public EClass getALSQuantifiedEx()
975 {
976 return alsQuantifiedExEClass;
977 }
978
979 /**
980 * <!-- begin-user-doc -->
981 * <!-- end-user-doc -->
982 * @generated
983 */
984 public EAttribute getALSQuantifiedEx_Type()
985 {
986 return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(0);
987 }
988
989 /**
990 * <!-- begin-user-doc -->
991 * <!-- end-user-doc -->
992 * @generated
993 */
994 public EAttribute getALSQuantifiedEx_Disj()
995 {
996 return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(1);
997 }
998
999 /**
1000 * <!-- begin-user-doc -->
1001 * <!-- end-user-doc -->
1002 * @generated
1003 */
1004 public EReference getALSQuantifiedEx_Variables()
1005 {
1006 return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(2);
1007 }
1008
1009 /**
1010 * <!-- begin-user-doc -->
1011 * <!-- end-user-doc -->
1012 * @generated
1013 */
1014 public EReference getALSQuantifiedEx_Expression()
1015 {
1016 return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(3);
1017 }
1018
1019 /**
1020 * <!-- begin-user-doc -->
1021 * <!-- end-user-doc -->
1022 * @generated
1023 */
1024 public EClass getALSOr()
1025 {
1026 return alsOrEClass;
1027 }
1028
1029 /**
1030 * <!-- begin-user-doc -->
1031 * <!-- end-user-doc -->
1032 * @generated
1033 */
1034 public EReference getALSOr_LeftOperand()
1035 {
1036 return (EReference)alsOrEClass.getEStructuralFeatures().get(0);
1037 }
1038
1039 /**
1040 * <!-- begin-user-doc -->
1041 * <!-- end-user-doc -->
1042 * @generated
1043 */
1044 public EReference getALSOr_RightOperand()
1045 {
1046 return (EReference)alsOrEClass.getEStructuralFeatures().get(1);
1047 }
1048
1049 /**
1050 * <!-- begin-user-doc -->
1051 * <!-- end-user-doc -->
1052 * @generated
1053 */
1054 public EClass getALSIff()
1055 {
1056 return alsIffEClass;
1057 }
1058
1059 /**
1060 * <!-- begin-user-doc -->
1061 * <!-- end-user-doc -->
1062 * @generated
1063 */
1064 public EReference getALSIff_LeftOperand()
1065 {
1066 return (EReference)alsIffEClass.getEStructuralFeatures().get(0);
1067 }
1068
1069 /**
1070 * <!-- begin-user-doc -->
1071 * <!-- end-user-doc -->
1072 * @generated
1073 */
1074 public EReference getALSIff_RightOperand()
1075 {
1076 return (EReference)alsIffEClass.getEStructuralFeatures().get(1);
1077 }
1078
1079 /**
1080 * <!-- begin-user-doc -->
1081 * <!-- end-user-doc -->
1082 * @generated
1083 */
1084 public EClass getALSImpl()
1085 {
1086 return alsImplEClass;
1087 }
1088
1089 /**
1090 * <!-- begin-user-doc -->
1091 * <!-- end-user-doc -->
1092 * @generated
1093 */
1094 public EReference getALSImpl_LeftOperand()
1095 {
1096 return (EReference)alsImplEClass.getEStructuralFeatures().get(0);
1097 }
1098
1099 /**
1100 * <!-- begin-user-doc -->
1101 * <!-- end-user-doc -->
1102 * @generated
1103 */
1104 public EReference getALSImpl_RightOperand()
1105 {
1106 return (EReference)alsImplEClass.getEStructuralFeatures().get(1);
1107 }
1108
1109 /**
1110 * <!-- begin-user-doc -->
1111 * <!-- end-user-doc -->
1112 * @generated
1113 */
1114 public EReference getALSImpl_ElseOperand()
1115 {
1116 return (EReference)alsImplEClass.getEStructuralFeatures().get(2);
1117 }
1118
1119 /**
1120 * <!-- begin-user-doc -->
1121 * <!-- end-user-doc -->
1122 * @generated
1123 */
1124 public EClass getALSAnd()
1125 {
1126 return alsAndEClass;
1127 }
1128
1129 /**
1130 * <!-- begin-user-doc -->
1131 * <!-- end-user-doc -->
1132 * @generated
1133 */
1134 public EReference getALSAnd_LeftOperand()
1135 {
1136 return (EReference)alsAndEClass.getEStructuralFeatures().get(0);
1137 }
1138
1139 /**
1140 * <!-- begin-user-doc -->
1141 * <!-- end-user-doc -->
1142 * @generated
1143 */
1144 public EReference getALSAnd_RightOperand()
1145 {
1146 return (EReference)alsAndEClass.getEStructuralFeatures().get(1);
1147 }
1148
1149 /**
1150 * <!-- begin-user-doc -->
1151 * <!-- end-user-doc -->
1152 * @generated
1153 */
1154 public EClass getALSEquals()
1155 {
1156 return alsEqualsEClass;
1157 }
1158
1159 /**
1160 * <!-- begin-user-doc -->
1161 * <!-- end-user-doc -->
1162 * @generated
1163 */
1164 public EReference getALSEquals_LeftOperand()
1165 {
1166 return (EReference)alsEqualsEClass.getEStructuralFeatures().get(0);
1167 }
1168
1169 /**
1170 * <!-- begin-user-doc -->
1171 * <!-- end-user-doc -->
1172 * @generated
1173 */
1174 public EReference getALSEquals_RightOperand()
1175 {
1176 return (EReference)alsEqualsEClass.getEStructuralFeatures().get(1);
1177 }
1178
1179 /**
1180 * <!-- begin-user-doc -->
1181 * <!-- end-user-doc -->
1182 * @generated
1183 */
1184 public EClass getALSNotEquals()
1185 {
1186 return alsNotEqualsEClass;
1187 }
1188
1189 /**
1190 * <!-- begin-user-doc -->
1191 * <!-- end-user-doc -->
1192 * @generated
1193 */
1194 public EReference getALSNotEquals_LeftOperand()
1195 {
1196 return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(0);
1197 }
1198
1199 /**
1200 * <!-- begin-user-doc -->
1201 * <!-- end-user-doc -->
1202 * @generated
1203 */
1204 public EReference getALSNotEquals_RightOperand()
1205 {
1206 return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(1);
1207 }
1208
1209 /**
1210 * <!-- begin-user-doc -->
1211 * <!-- end-user-doc -->
1212 * @generated
1213 */
1214 public EClass getALSSubset()
1215 {
1216 return alsSubsetEClass;
1217 }
1218
1219 /**
1220 * <!-- begin-user-doc -->
1221 * <!-- end-user-doc -->
1222 * @generated
1223 */
1224 public EReference getALSSubset_LeftOperand()
1225 {
1226 return (EReference)alsSubsetEClass.getEStructuralFeatures().get(0);
1227 }
1228
1229 /**
1230 * <!-- begin-user-doc -->
1231 * <!-- end-user-doc -->
1232 * @generated
1233 */
1234 public EReference getALSSubset_RightOperand()
1235 {
1236 return (EReference)alsSubsetEClass.getEStructuralFeatures().get(1);
1237 }
1238
1239 /**
1240 * <!-- begin-user-doc -->
1241 * <!-- end-user-doc -->
1242 * @generated
1243 */
1244 public EClass getALSLess()
1245 {
1246 return alsLessEClass;
1247 }
1248
1249 /**
1250 * <!-- begin-user-doc -->
1251 * <!-- end-user-doc -->
1252 * @generated
1253 */
1254 public EReference getALSLess_LeftOperand()
1255 {
1256 return (EReference)alsLessEClass.getEStructuralFeatures().get(0);
1257 }
1258
1259 /**
1260 * <!-- begin-user-doc -->
1261 * <!-- end-user-doc -->
1262 * @generated
1263 */
1264 public EReference getALSLess_RightOperand()
1265 {
1266 return (EReference)alsLessEClass.getEStructuralFeatures().get(1);
1267 }
1268
1269 /**
1270 * <!-- begin-user-doc -->
1271 * <!-- end-user-doc -->
1272 * @generated
1273 */
1274 public EClass getALSLeq()
1275 {
1276 return alsLeqEClass;
1277 }
1278
1279 /**
1280 * <!-- begin-user-doc -->
1281 * <!-- end-user-doc -->
1282 * @generated
1283 */
1284 public EReference getALSLeq_LeftOperand()
1285 {
1286 return (EReference)alsLeqEClass.getEStructuralFeatures().get(0);
1287 }
1288
1289 /**
1290 * <!-- begin-user-doc -->
1291 * <!-- end-user-doc -->
1292 * @generated
1293 */
1294 public EReference getALSLeq_RightOperand()
1295 {
1296 return (EReference)alsLeqEClass.getEStructuralFeatures().get(1);
1297 }
1298
1299 /**
1300 * <!-- begin-user-doc -->
1301 * <!-- end-user-doc -->
1302 * @generated
1303 */
1304 public EClass getALSMore()
1305 {
1306 return alsMoreEClass;
1307 }
1308
1309 /**
1310 * <!-- begin-user-doc -->
1311 * <!-- end-user-doc -->
1312 * @generated
1313 */
1314 public EReference getALSMore_LeftOperand()
1315 {
1316 return (EReference)alsMoreEClass.getEStructuralFeatures().get(0);
1317 }
1318
1319 /**
1320 * <!-- begin-user-doc -->
1321 * <!-- end-user-doc -->
1322 * @generated
1323 */
1324 public EReference getALSMore_RightOperand()
1325 {
1326 return (EReference)alsMoreEClass.getEStructuralFeatures().get(1);
1327 }
1328
1329 /**
1330 * <!-- begin-user-doc -->
1331 * <!-- end-user-doc -->
1332 * @generated
1333 */
1334 public EClass getALSMeq()
1335 {
1336 return alsMeqEClass;
1337 }
1338
1339 /**
1340 * <!-- begin-user-doc -->
1341 * <!-- end-user-doc -->
1342 * @generated
1343 */
1344 public EReference getALSMeq_LeftOperand()
1345 {
1346 return (EReference)alsMeqEClass.getEStructuralFeatures().get(0);
1347 }
1348
1349 /**
1350 * <!-- begin-user-doc -->
1351 * <!-- end-user-doc -->
1352 * @generated
1353 */
1354 public EReference getALSMeq_RightOperand()
1355 {
1356 return (EReference)alsMeqEClass.getEStructuralFeatures().get(1);
1357 }
1358
1359 /**
1360 * <!-- begin-user-doc -->
1361 * <!-- end-user-doc -->
1362 * @generated
1363 */
1364 public EClass getALSOverride()
1365 {
1366 return alsOverrideEClass;
1367 }
1368
1369 /**
1370 * <!-- begin-user-doc -->
1371 * <!-- end-user-doc -->
1372 * @generated
1373 */
1374 public EReference getALSOverride_LeftOperand()
1375 {
1376 return (EReference)alsOverrideEClass.getEStructuralFeatures().get(0);
1377 }
1378
1379 /**
1380 * <!-- begin-user-doc -->
1381 * <!-- end-user-doc -->
1382 * @generated
1383 */
1384 public EReference getALSOverride_RightOperand()
1385 {
1386 return (EReference)alsOverrideEClass.getEStructuralFeatures().get(1);
1387 }
1388
1389 /**
1390 * <!-- begin-user-doc -->
1391 * <!-- end-user-doc -->
1392 * @generated
1393 */
1394 public EClass getALSRangeRestrictionRight()
1395 {
1396 return alsRangeRestrictionRightEClass;
1397 }
1398
1399 /**
1400 * <!-- begin-user-doc -->
1401 * <!-- end-user-doc -->
1402 * @generated
1403 */
1404 public EReference getALSRangeRestrictionRight_Relation()
1405 {
1406 return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(0);
1407 }
1408
1409 /**
1410 * <!-- begin-user-doc -->
1411 * <!-- end-user-doc -->
1412 * @generated
1413 */
1414 public EReference getALSRangeRestrictionRight_Filter()
1415 {
1416 return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(1);
1417 }
1418
1419 /**
1420 * <!-- begin-user-doc -->
1421 * <!-- end-user-doc -->
1422 * @generated
1423 */
1424 public EClass getALSRangeRestrictionLeft()
1425 {
1426 return alsRangeRestrictionLeftEClass;
1427 }
1428
1429 /**
1430 * <!-- begin-user-doc -->
1431 * <!-- end-user-doc -->
1432 * @generated
1433 */
1434 public EReference getALSRangeRestrictionLeft_Filter()
1435 {
1436 return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(0);
1437 }
1438
1439 /**
1440 * <!-- begin-user-doc -->
1441 * <!-- end-user-doc -->
1442 * @generated
1443 */
1444 public EReference getALSRangeRestrictionLeft_Relation()
1445 {
1446 return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(1);
1447 }
1448
1449 /**
1450 * <!-- begin-user-doc -->
1451 * <!-- end-user-doc -->
1452 * @generated
1453 */
1454 public EClass getALSJoin()
1455 {
1456 return alsJoinEClass;
1457 }
1458
1459 /**
1460 * <!-- begin-user-doc -->
1461 * <!-- end-user-doc -->
1462 * @generated
1463 */
1464 public EReference getALSJoin_LeftOperand()
1465 {
1466 return (EReference)alsJoinEClass.getEStructuralFeatures().get(0);
1467 }
1468
1469 /**
1470 * <!-- begin-user-doc -->
1471 * <!-- end-user-doc -->
1472 * @generated
1473 */
1474 public EReference getALSJoin_RightOperand()
1475 {
1476 return (EReference)alsJoinEClass.getEStructuralFeatures().get(1);
1477 }
1478
1479 /**
1480 * <!-- begin-user-doc -->
1481 * <!-- end-user-doc -->
1482 * @generated
1483 */
1484 public EClass getALSMinus()
1485 {
1486 return alsMinusEClass;
1487 }
1488
1489 /**
1490 * <!-- begin-user-doc -->
1491 * <!-- end-user-doc -->
1492 * @generated
1493 */
1494 public EReference getALSMinus_LeftOperand()
1495 {
1496 return (EReference)alsMinusEClass.getEStructuralFeatures().get(0);
1497 }
1498
1499 /**
1500 * <!-- begin-user-doc -->
1501 * <!-- end-user-doc -->
1502 * @generated
1503 */
1504 public EReference getALSMinus_RightOperand()
1505 {
1506 return (EReference)alsMinusEClass.getEStructuralFeatures().get(1);
1507 }
1508
1509 /**
1510 * <!-- begin-user-doc -->
1511 * <!-- end-user-doc -->
1512 * @generated
1513 */
1514 public EClass getALSPlus()
1515 {
1516 return alsPlusEClass;
1517 }
1518
1519 /**
1520 * <!-- begin-user-doc -->
1521 * <!-- end-user-doc -->
1522 * @generated
1523 */
1524 public EReference getALSPlus_LeftOperand()
1525 {
1526 return (EReference)alsPlusEClass.getEStructuralFeatures().get(0);
1527 }
1528
1529 /**
1530 * <!-- begin-user-doc -->
1531 * <!-- end-user-doc -->
1532 * @generated
1533 */
1534 public EReference getALSPlus_RightOperand()
1535 {
1536 return (EReference)alsPlusEClass.getEStructuralFeatures().get(1);
1537 }
1538
1539 /**
1540 * <!-- begin-user-doc -->
1541 * <!-- end-user-doc -->
1542 * @generated
1543 */
1544 public EClass getALSIntersection()
1545 {
1546 return alsIntersectionEClass;
1547 }
1548
1549 /**
1550 * <!-- begin-user-doc -->
1551 * <!-- end-user-doc -->
1552 * @generated
1553 */
1554 public EReference getALSIntersection_LeftOperand()
1555 {
1556 return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(0);
1557 }
1558
1559 /**
1560 * <!-- begin-user-doc -->
1561 * <!-- end-user-doc -->
1562 * @generated
1563 */
1564 public EReference getALSIntersection_RightOperand()
1565 {
1566 return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(1);
1567 }
1568
1569 /**
1570 * <!-- begin-user-doc -->
1571 * <!-- end-user-doc -->
1572 * @generated
1573 */
1574 public EClass getALSDirectProduct()
1575 {
1576 return alsDirectProductEClass;
1577 }
1578
1579 /**
1580 * <!-- begin-user-doc -->
1581 * <!-- end-user-doc -->
1582 * @generated
1583 */
1584 public EReference getALSDirectProduct_LeftOperand()
1585 {
1586 return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(0);
1587 }
1588
1589 /**
1590 * <!-- begin-user-doc -->
1591 * <!-- end-user-doc -->
1592 * @generated
1593 */
1594 public EAttribute getALSDirectProduct_LeftMultiplicit()
1595 {
1596 return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(1);
1597 }
1598
1599 /**
1600 * <!-- begin-user-doc -->
1601 * <!-- end-user-doc -->
1602 * @generated
1603 */
1604 public EAttribute getALSDirectProduct_RightMultiplicit()
1605 {
1606 return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(2);
1607 }
1608
1609 /**
1610 * <!-- begin-user-doc -->
1611 * <!-- end-user-doc -->
1612 * @generated
1613 */
1614 public EReference getALSDirectProduct_RightOperand()
1615 {
1616 return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(3);
1617 }
1618
1619 /**
1620 * <!-- begin-user-doc -->
1621 * <!-- end-user-doc -->
1622 * @generated
1623 */
1624 public EClass getALSNot()
1625 {
1626 return alsNotEClass;
1627 }
1628
1629 /**
1630 * <!-- begin-user-doc -->
1631 * <!-- end-user-doc -->
1632 * @generated
1633 */
1634 public EReference getALSNot_Operand()
1635 {
1636 return (EReference)alsNotEClass.getEStructuralFeatures().get(0);
1637 }
1638
1639 /**
1640 * <!-- begin-user-doc -->
1641 * <!-- end-user-doc -->
1642 * @generated
1643 */
1644 public EClass getALSInverseRelation()
1645 {
1646 return alsInverseRelationEClass;
1647 }
1648
1649 /**
1650 * <!-- begin-user-doc -->
1651 * <!-- end-user-doc -->
1652 * @generated
1653 */
1654 public EReference getALSInverseRelation_Operand()
1655 {
1656 return (EReference)alsInverseRelationEClass.getEStructuralFeatures().get(0);
1657 }
1658
1659 /**
1660 * <!-- begin-user-doc -->
1661 * <!-- end-user-doc -->
1662 * @generated
1663 */
1664 public EClass getAlSTransitiveClosure()
1665 {
1666 return alSTransitiveClosureEClass;
1667 }
1668
1669 /**
1670 * <!-- begin-user-doc -->
1671 * <!-- end-user-doc -->
1672 * @generated
1673 */
1674 public EReference getAlSTransitiveClosure_Operand()
1675 {
1676 return (EReference)alSTransitiveClosureEClass.getEStructuralFeatures().get(0);
1677 }
1678
1679 /**
1680 * <!-- begin-user-doc -->
1681 * <!-- end-user-doc -->
1682 * @generated
1683 */
1684 public EClass getALSReflectiveTransitiveClosure()
1685 {
1686 return alsReflectiveTransitiveClosureEClass;
1687 }
1688
1689 /**
1690 * <!-- begin-user-doc -->
1691 * <!-- end-user-doc -->
1692 * @generated
1693 */
1694 public EReference getALSReflectiveTransitiveClosure_Operand()
1695 {
1696 return (EReference)alsReflectiveTransitiveClosureEClass.getEStructuralFeatures().get(0);
1697 }
1698
1699 /**
1700 * <!-- begin-user-doc -->
1701 * <!-- end-user-doc -->
1702 * @generated
1703 */
1704 public EClass getALSCardinality()
1705 {
1706 return alsCardinalityEClass;
1707 }
1708
1709 /**
1710 * <!-- begin-user-doc -->
1711 * <!-- end-user-doc -->
1712 * @generated
1713 */
1714 public EReference getALSCardinality_Operand()
1715 {
1716 return (EReference)alsCardinalityEClass.getEStructuralFeatures().get(0);
1717 }
1718
1719 /**
1720 * <!-- begin-user-doc -->
1721 * <!-- end-user-doc -->
1722 * @generated
1723 */
1724 public EClass getALSUnaryMinus()
1725 {
1726 return alsUnaryMinusEClass;
1727 }
1728
1729 /**
1730 * <!-- begin-user-doc -->
1731 * <!-- end-user-doc -->
1732 * @generated
1733 */
1734 public EReference getALSUnaryMinus_Operand()
1735 {
1736 return (EReference)alsUnaryMinusEClass.getEStructuralFeatures().get(0);
1737 }
1738
1739 /**
1740 * <!-- begin-user-doc -->
1741 * <!-- end-user-doc -->
1742 * @generated
1743 */
1744 public EClass getALSSum()
1745 {
1746 return alsSumEClass;
1747 }
1748
1749 /**
1750 * <!-- begin-user-doc -->
1751 * <!-- end-user-doc -->
1752 * @generated
1753 */
1754 public EReference getALSSum_Variables()
1755 {
1756 return (EReference)alsSumEClass.getEStructuralFeatures().get(0);
1757 }
1758
1759 /**
1760 * <!-- begin-user-doc -->
1761 * <!-- end-user-doc -->
1762 * @generated
1763 */
1764 public EReference getALSSum_Expression()
1765 {
1766 return (EReference)alsSumEClass.getEStructuralFeatures().get(1);
1767 }
1768
1769 /**
1770 * <!-- begin-user-doc -->
1771 * <!-- end-user-doc -->
1772 * @generated
1773 */
1774 public EClass getALSFunctionCall()
1775 {
1776 return alsFunctionCallEClass;
1777 }
1778
1779 /**
1780 * <!-- begin-user-doc -->
1781 * <!-- end-user-doc -->
1782 * @generated
1783 */
1784 public EReference getALSFunctionCall_ReferredDefinition()
1785 {
1786 return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(0);
1787 }
1788
1789 /**
1790 * <!-- begin-user-doc -->
1791 * <!-- end-user-doc -->
1792 * @generated
1793 */
1794 public EAttribute getALSFunctionCall_ReferredNumericOperator()
1795 {
1796 return (EAttribute)alsFunctionCallEClass.getEStructuralFeatures().get(1);
1797 }
1798
1799 /**
1800 * <!-- begin-user-doc -->
1801 * <!-- end-user-doc -->
1802 * @generated
1803 */
1804 public EReference getALSFunctionCall_Params()
1805 {
1806 return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(2);
1807 }
1808
1809 /**
1810 * <!-- begin-user-doc -->
1811 * <!-- end-user-doc -->
1812 * @generated
1813 */
1814 public EClass getALSNone()
1815 {
1816 return alsNoneEClass;
1817 }
1818
1819 /**
1820 * <!-- begin-user-doc -->
1821 * <!-- end-user-doc -->
1822 * @generated
1823 */
1824 public EClass getALSIden()
1825 {
1826 return alsIdenEClass;
1827 }
1828
1829 /**
1830 * <!-- begin-user-doc -->
1831 * <!-- end-user-doc -->
1832 * @generated
1833 */
1834 public EClass getALSUniv()
1835 {
1836 return alsUnivEClass;
1837 }
1838
1839 /**
1840 * <!-- begin-user-doc -->
1841 * <!-- end-user-doc -->
1842 * @generated
1843 */
1844 public EClass getALSInt()
1845 {
1846 return alsIntEClass;
1847 }
1848
1849 /**
1850 * <!-- begin-user-doc -->
1851 * <!-- end-user-doc -->
1852 * @generated
1853 */
1854 public EClass getALSReference()
1855 {
1856 return alsReferenceEClass;
1857 }
1858
1859 /**
1860 * <!-- begin-user-doc -->
1861 * <!-- end-user-doc -->
1862 * @generated
1863 */
1864 public EReference getALSReference_Referred()
1865 {
1866 return (EReference)alsReferenceEClass.getEStructuralFeatures().get(0);
1867 }
1868
1869 /**
1870 * <!-- begin-user-doc -->
1871 * <!-- end-user-doc -->
1872 * @generated
1873 */
1874 public EClass getALSNumberLiteral()
1875 {
1876 return alsNumberLiteralEClass;
1877 }
1878
1879 /**
1880 * <!-- begin-user-doc -->
1881 * <!-- end-user-doc -->
1882 * @generated
1883 */
1884 public EAttribute getALSNumberLiteral_Value()
1885 {
1886 return (EAttribute)alsNumberLiteralEClass.getEStructuralFeatures().get(0);
1887 }
1888
1889 /**
1890 * <!-- begin-user-doc -->
1891 * <!-- end-user-doc -->
1892 * @generated
1893 */
1894 public EEnum getALSMultiplicity()
1895 {
1896 return alsMultiplicityEEnum;
1897 }
1898
1899 /**
1900 * <!-- begin-user-doc -->
1901 * <!-- end-user-doc -->
1902 * @generated
1903 */
1904 public EEnum getALSNumericOperator()
1905 {
1906 return alsNumericOperatorEEnum;
1907 }
1908
1909 /**
1910 * <!-- begin-user-doc -->
1911 * <!-- end-user-doc -->
1912 * @generated
1913 */
1914 public AlloyLanguageFactory getAlloyLanguageFactory()
1915 {
1916 return (AlloyLanguageFactory)getEFactoryInstance();
1917 }
1918
1919 /**
1920 * <!-- begin-user-doc -->
1921 * <!-- end-user-doc -->
1922 * @generated
1923 */
1924 private boolean isCreated = false;
1925
1926 /**
1927 * Creates the meta-model objects for the package. This method is
1928 * guarded to have no affect on any invocation but its first.
1929 * <!-- begin-user-doc -->
1930 * <!-- end-user-doc -->
1931 * @generated
1932 */
1933 public void createPackageContents()
1934 {
1935 if (isCreated) return;
1936 isCreated = true;
1937
1938 // Create classes and their features
1939 alsDocumentEClass = createEClass(ALS_DOCUMENT);
1940 createEReference(alsDocumentEClass, ALS_DOCUMENT__ENUM_DECLARATIONS);
1941 createEReference(alsDocumentEClass, ALS_DOCUMENT__SIGNATURE_BODIES);
1942 createEReference(alsDocumentEClass, ALS_DOCUMENT__FUNCTION_DEFINITIONS);
1943 createEReference(alsDocumentEClass, ALS_DOCUMENT__RELATION_DEFINITIONS);
1944 createEReference(alsDocumentEClass, ALS_DOCUMENT__FACT_DECLARATIONS);
1945 createEReference(alsDocumentEClass, ALS_DOCUMENT__RUN_COMMAND);
1946
1947 alsRelationDeclarationEClass = createEClass(ALS_RELATION_DECLARATION);
1948 createEAttribute(alsRelationDeclarationEClass, ALS_RELATION_DECLARATION__NAME);
1949
1950 alsTypeDeclarationEClass = createEClass(ALS_TYPE_DECLARATION);
1951
1952 alsEnumDeclarationEClass = createEClass(ALS_ENUM_DECLARATION);
1953 createEReference(alsEnumDeclarationEClass, ALS_ENUM_DECLARATION__LITERAL);
1954
1955 alsEnumLiteralEClass = createEClass(ALS_ENUM_LITERAL);
1956
1957 alsSignatureDeclarationEClass = createEClass(ALS_SIGNATURE_DECLARATION);
1958
1959 alsSignatureBodyEClass = createEClass(ALS_SIGNATURE_BODY);
1960 createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__MULTIPLICITY);
1961 createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__ABSTRACT);
1962 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__DECLARATIONS);
1963 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERTYPE);
1964 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERSET);
1965 createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__FIELDS);
1966
1967 alsFieldDeclarationEClass = createEClass(ALS_FIELD_DECLARATION);
1968 createEAttribute(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__MULTIPLICITY);
1969 createEReference(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__TYPE);
1970
1971 alsDefinitionEClass = createEClass(ALS_DEFINITION);
1972 createEAttribute(alsDefinitionEClass, ALS_DEFINITION__NAME);
1973 createEReference(alsDefinitionEClass, ALS_DEFINITION__VARIABLES);
1974 createEReference(alsDefinitionEClass, ALS_DEFINITION__VALUE);
1975
1976 alsFunctionDefinitionEClass = createEClass(ALS_FUNCTION_DEFINITION);
1977 createEReference(alsFunctionDefinitionEClass, ALS_FUNCTION_DEFINITION__TYPE);
1978
1979 alsRelationDefinitionEClass = createEClass(ALS_RELATION_DEFINITION);
1980
1981 alsFactDeclarationEClass = createEClass(ALS_FACT_DECLARATION);
1982 createEAttribute(alsFactDeclarationEClass, ALS_FACT_DECLARATION__NAME);
1983 createEReference(alsFactDeclarationEClass, ALS_FACT_DECLARATION__TERM);
1984
1985 alsTermEClass = createEClass(ALS_TERM);
1986
1987 alsVariableDeclarationEClass = createEClass(ALS_VARIABLE_DECLARATION);
1988 createEReference(alsVariableDeclarationEClass, ALS_VARIABLE_DECLARATION__RANGE);
1989
1990 alsRunCommandEClass = createEClass(ALS_RUN_COMMAND);
1991 createEReference(alsRunCommandEClass, ALS_RUN_COMMAND__TYPE_SCOPES);
1992
1993 alsTypeScopeEClass = createEClass(ALS_TYPE_SCOPE);
1994 createEAttribute(alsTypeScopeEClass, ALS_TYPE_SCOPE__NUMBER);
1995
1996 alsSigScopeEClass = createEClass(ALS_SIG_SCOPE);
1997 createEAttribute(alsSigScopeEClass, ALS_SIG_SCOPE__EXACTLY);
1998 createEReference(alsSigScopeEClass, ALS_SIG_SCOPE__TYPE);
1999
2000 alsIntScopeEClass = createEClass(ALS_INT_SCOPE);
2001
2002 alsQuantifiedExEClass = createEClass(ALS_QUANTIFIED_EX);
2003 createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__TYPE);
2004 createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__DISJ);
2005 createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__VARIABLES);
2006 createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__EXPRESSION);
2007
2008 alsOrEClass = createEClass(ALS_OR);
2009 createEReference(alsOrEClass, ALS_OR__LEFT_OPERAND);
2010 createEReference(alsOrEClass, ALS_OR__RIGHT_OPERAND);
2011
2012 alsIffEClass = createEClass(ALS_IFF);
2013 createEReference(alsIffEClass, ALS_IFF__LEFT_OPERAND);
2014 createEReference(alsIffEClass, ALS_IFF__RIGHT_OPERAND);
2015
2016 alsImplEClass = createEClass(ALS_IMPL);
2017 createEReference(alsImplEClass, ALS_IMPL__LEFT_OPERAND);
2018 createEReference(alsImplEClass, ALS_IMPL__RIGHT_OPERAND);
2019 createEReference(alsImplEClass, ALS_IMPL__ELSE_OPERAND);
2020
2021 alsAndEClass = createEClass(ALS_AND);
2022 createEReference(alsAndEClass, ALS_AND__LEFT_OPERAND);
2023 createEReference(alsAndEClass, ALS_AND__RIGHT_OPERAND);
2024
2025 alsEqualsEClass = createEClass(ALS_EQUALS);
2026 createEReference(alsEqualsEClass, ALS_EQUALS__LEFT_OPERAND);
2027 createEReference(alsEqualsEClass, ALS_EQUALS__RIGHT_OPERAND);
2028
2029 alsNotEqualsEClass = createEClass(ALS_NOT_EQUALS);
2030 createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__LEFT_OPERAND);
2031 createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__RIGHT_OPERAND);
2032
2033 alsSubsetEClass = createEClass(ALS_SUBSET);
2034 createEReference(alsSubsetEClass, ALS_SUBSET__LEFT_OPERAND);
2035 createEReference(alsSubsetEClass, ALS_SUBSET__RIGHT_OPERAND);
2036
2037 alsLessEClass = createEClass(ALS_LESS);
2038 createEReference(alsLessEClass, ALS_LESS__LEFT_OPERAND);
2039 createEReference(alsLessEClass, ALS_LESS__RIGHT_OPERAND);
2040
2041 alsLeqEClass = createEClass(ALS_LEQ);
2042 createEReference(alsLeqEClass, ALS_LEQ__LEFT_OPERAND);
2043 createEReference(alsLeqEClass, ALS_LEQ__RIGHT_OPERAND);
2044
2045 alsMoreEClass = createEClass(ALS_MORE);
2046 createEReference(alsMoreEClass, ALS_MORE__LEFT_OPERAND);
2047 createEReference(alsMoreEClass, ALS_MORE__RIGHT_OPERAND);
2048
2049 alsMeqEClass = createEClass(ALS_MEQ);
2050 createEReference(alsMeqEClass, ALS_MEQ__LEFT_OPERAND);
2051 createEReference(alsMeqEClass, ALS_MEQ__RIGHT_OPERAND);
2052
2053 alsOverrideEClass = createEClass(ALS_OVERRIDE);
2054 createEReference(alsOverrideEClass, ALS_OVERRIDE__LEFT_OPERAND);
2055 createEReference(alsOverrideEClass, ALS_OVERRIDE__RIGHT_OPERAND);
2056
2057 alsRangeRestrictionRightEClass = createEClass(ALS_RANGE_RESTRICTION_RIGHT);
2058 createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__RELATION);
2059 createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__FILTER);
2060
2061 alsRangeRestrictionLeftEClass = createEClass(ALS_RANGE_RESTRICTION_LEFT);
2062 createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__FILTER);
2063 createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__RELATION);
2064
2065 alsJoinEClass = createEClass(ALS_JOIN);
2066 createEReference(alsJoinEClass, ALS_JOIN__LEFT_OPERAND);
2067 createEReference(alsJoinEClass, ALS_JOIN__RIGHT_OPERAND);
2068
2069 alsMinusEClass = createEClass(ALS_MINUS);
2070 createEReference(alsMinusEClass, ALS_MINUS__LEFT_OPERAND);
2071 createEReference(alsMinusEClass, ALS_MINUS__RIGHT_OPERAND);
2072
2073 alsPlusEClass = createEClass(ALS_PLUS);
2074 createEReference(alsPlusEClass, ALS_PLUS__LEFT_OPERAND);
2075 createEReference(alsPlusEClass, ALS_PLUS__RIGHT_OPERAND);
2076
2077 alsIntersectionEClass = createEClass(ALS_INTERSECTION);
2078 createEReference(alsIntersectionEClass, ALS_INTERSECTION__LEFT_OPERAND);
2079 createEReference(alsIntersectionEClass, ALS_INTERSECTION__RIGHT_OPERAND);
2080
2081 alsDirectProductEClass = createEClass(ALS_DIRECT_PRODUCT);
2082 createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_OPERAND);
2083 createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT);
2084 createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT);
2085 createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_OPERAND);
2086
2087 alsNotEClass = createEClass(ALS_NOT);
2088 createEReference(alsNotEClass, ALS_NOT__OPERAND);
2089
2090 alsInverseRelationEClass = createEClass(ALS_INVERSE_RELATION);
2091 createEReference(alsInverseRelationEClass, ALS_INVERSE_RELATION__OPERAND);
2092
2093 alSTransitiveClosureEClass = createEClass(AL_STRANSITIVE_CLOSURE);
2094 createEReference(alSTransitiveClosureEClass, AL_STRANSITIVE_CLOSURE__OPERAND);
2095
2096 alsReflectiveTransitiveClosureEClass = createEClass(ALS_REFLECTIVE_TRANSITIVE_CLOSURE);
2097 createEReference(alsReflectiveTransitiveClosureEClass, ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND);
2098
2099 alsCardinalityEClass = createEClass(ALS_CARDINALITY);
2100 createEReference(alsCardinalityEClass, ALS_CARDINALITY__OPERAND);
2101
2102 alsUnaryMinusEClass = createEClass(ALS_UNARY_MINUS);
2103 createEReference(alsUnaryMinusEClass, ALS_UNARY_MINUS__OPERAND);
2104
2105 alsSumEClass = createEClass(ALS_SUM);
2106 createEReference(alsSumEClass, ALS_SUM__VARIABLES);
2107 createEReference(alsSumEClass, ALS_SUM__EXPRESSION);
2108
2109 alsFunctionCallEClass = createEClass(ALS_FUNCTION_CALL);
2110 createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_DEFINITION);
2111 createEAttribute(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR);
2112 createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__PARAMS);
2113
2114 alsNoneEClass = createEClass(ALS_NONE);
2115
2116 alsIdenEClass = createEClass(ALS_IDEN);
2117
2118 alsUnivEClass = createEClass(ALS_UNIV);
2119
2120 alsIntEClass = createEClass(ALS_INT);
2121
2122 alsReferenceEClass = createEClass(ALS_REFERENCE);
2123 createEReference(alsReferenceEClass, ALS_REFERENCE__REFERRED);
2124
2125 alsNumberLiteralEClass = createEClass(ALS_NUMBER_LITERAL);
2126 createEAttribute(alsNumberLiteralEClass, ALS_NUMBER_LITERAL__VALUE);
2127
2128 // Create enums
2129 alsMultiplicityEEnum = createEEnum(ALS_MULTIPLICITY);
2130 alsNumericOperatorEEnum = createEEnum(ALS_NUMERIC_OPERATOR);
2131 }
2132
2133 /**
2134 * <!-- begin-user-doc -->
2135 * <!-- end-user-doc -->
2136 * @generated
2137 */
2138 private boolean isInitialized = false;
2139
2140 /**
2141 * Complete the initialization of the package and its meta-model. This
2142 * method is guarded to have no affect on any invocation but its first.
2143 * <!-- begin-user-doc -->
2144 * <!-- end-user-doc -->
2145 * @generated
2146 */
2147 public void initializePackageContents()
2148 {
2149 if (isInitialized) return;
2150 isInitialized = true;
2151
2152 // Initialize package
2153 setName(eNAME);
2154 setNsPrefix(eNS_PREFIX);
2155 setNsURI(eNS_URI);
2156
2157 // Create type parameters
2158
2159 // Set bounds for type parameters
2160
2161 // Add supertypes to classes
2162 alsTypeDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2163 alsEnumDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration());
2164 alsEnumLiteralEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2165 alsSignatureDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration());
2166 alsFieldDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2167 alsFunctionDefinitionEClass.getESuperTypes().add(this.getALSDefinition());
2168 alsRelationDefinitionEClass.getESuperTypes().add(this.getALSDefinition());
2169 alsVariableDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration());
2170 alsSigScopeEClass.getESuperTypes().add(this.getALSTypeScope());
2171 alsIntScopeEClass.getESuperTypes().add(this.getALSTypeScope());
2172 alsQuantifiedExEClass.getESuperTypes().add(this.getALSTerm());
2173 alsOrEClass.getESuperTypes().add(this.getALSTerm());
2174 alsIffEClass.getESuperTypes().add(this.getALSTerm());
2175 alsImplEClass.getESuperTypes().add(this.getALSTerm());
2176 alsAndEClass.getESuperTypes().add(this.getALSTerm());
2177 alsEqualsEClass.getESuperTypes().add(this.getALSTerm());
2178 alsNotEqualsEClass.getESuperTypes().add(this.getALSTerm());
2179 alsSubsetEClass.getESuperTypes().add(this.getALSTerm());
2180 alsLessEClass.getESuperTypes().add(this.getALSTerm());
2181 alsLeqEClass.getESuperTypes().add(this.getALSTerm());
2182 alsMoreEClass.getESuperTypes().add(this.getALSTerm());
2183 alsMeqEClass.getESuperTypes().add(this.getALSTerm());
2184 alsOverrideEClass.getESuperTypes().add(this.getALSTerm());
2185 alsRangeRestrictionRightEClass.getESuperTypes().add(this.getALSTerm());
2186 alsRangeRestrictionLeftEClass.getESuperTypes().add(this.getALSTerm());
2187 alsJoinEClass.getESuperTypes().add(this.getALSTerm());
2188 alsMinusEClass.getESuperTypes().add(this.getALSTerm());
2189 alsPlusEClass.getESuperTypes().add(this.getALSTerm());
2190 alsIntersectionEClass.getESuperTypes().add(this.getALSTerm());
2191 alsDirectProductEClass.getESuperTypes().add(this.getALSTerm());
2192 alsNotEClass.getESuperTypes().add(this.getALSTerm());
2193 alsInverseRelationEClass.getESuperTypes().add(this.getALSTerm());
2194 alSTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm());
2195 alsReflectiveTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm());
2196 alsCardinalityEClass.getESuperTypes().add(this.getALSTerm());
2197 alsUnaryMinusEClass.getESuperTypes().add(this.getALSTerm());
2198 alsSumEClass.getESuperTypes().add(this.getALSTerm());
2199 alsFunctionCallEClass.getESuperTypes().add(this.getALSTerm());
2200 alsNoneEClass.getESuperTypes().add(this.getALSTerm());
2201 alsIdenEClass.getESuperTypes().add(this.getALSTerm());
2202 alsUnivEClass.getESuperTypes().add(this.getALSTerm());
2203 alsIntEClass.getESuperTypes().add(this.getALSTerm());
2204 alsReferenceEClass.getESuperTypes().add(this.getALSTerm());
2205 alsNumberLiteralEClass.getESuperTypes().add(this.getALSTerm());
2206
2207 // Initialize classes and features; add operations and parameters
2208 initEClass(alsDocumentEClass, ALSDocument.class, "ALSDocument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2209 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);
2210 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);
2211 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);
2212 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);
2213 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);
2214 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);
2215
2216 initEClass(alsRelationDeclarationEClass, ALSRelationDeclaration.class, "ALSRelationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2217 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);
2218
2219 initEClass(alsTypeDeclarationEClass, ALSTypeDeclaration.class, "ALSTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2220
2221 initEClass(alsEnumDeclarationEClass, ALSEnumDeclaration.class, "ALSEnumDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2222 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);
2223
2224 initEClass(alsEnumLiteralEClass, ALSEnumLiteral.class, "ALSEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2225
2226 initEClass(alsSignatureDeclarationEClass, ALSSignatureDeclaration.class, "ALSSignatureDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2227
2228 initEClass(alsSignatureBodyEClass, ALSSignatureBody.class, "ALSSignatureBody", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2229 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);
2230 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);
2231 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);
2232 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);
2233 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);
2234 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);
2235
2236 initEClass(alsFieldDeclarationEClass, ALSFieldDeclaration.class, "ALSFieldDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2237 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);
2238 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);
2239
2240 initEClass(alsDefinitionEClass, ALSDefinition.class, "ALSDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2241 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);
2242 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);
2243 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);
2244
2245 initEClass(alsFunctionDefinitionEClass, ALSFunctionDefinition.class, "ALSFunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2246 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);
2247
2248 initEClass(alsRelationDefinitionEClass, ALSRelationDefinition.class, "ALSRelationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2249
2250 initEClass(alsFactDeclarationEClass, ALSFactDeclaration.class, "ALSFactDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2251 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);
2252 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);
2253
2254 initEClass(alsTermEClass, ALSTerm.class, "ALSTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2255
2256 initEClass(alsVariableDeclarationEClass, ALSVariableDeclaration.class, "ALSVariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2257 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);
2258
2259 initEClass(alsRunCommandEClass, ALSRunCommand.class, "ALSRunCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2260 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);
2261
2262 initEClass(alsTypeScopeEClass, ALSTypeScope.class, "ALSTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2263 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);
2264
2265 initEClass(alsSigScopeEClass, ALSSigScope.class, "ALSSigScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2266 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);
2267 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);
2268
2269 initEClass(alsIntScopeEClass, ALSIntScope.class, "ALSIntScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2270
2271 initEClass(alsQuantifiedExEClass, ALSQuantifiedEx.class, "ALSQuantifiedEx", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2272 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);
2273 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);
2274 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);
2275 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);
2276
2277 initEClass(alsOrEClass, ALSOr.class, "ALSOr", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2278 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);
2279 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);
2280
2281 initEClass(alsIffEClass, ALSIff.class, "ALSIff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2282 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);
2283 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);
2284
2285 initEClass(alsImplEClass, ALSImpl.class, "ALSImpl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2286 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);
2287 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);
2288 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);
2289
2290 initEClass(alsAndEClass, ALSAnd.class, "ALSAnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2291 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);
2292 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);
2293
2294 initEClass(alsEqualsEClass, ALSEquals.class, "ALSEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2295 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);
2296 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);
2297
2298 initEClass(alsNotEqualsEClass, ALSNotEquals.class, "ALSNotEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2299 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);
2300 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);
2301
2302 initEClass(alsSubsetEClass, ALSSubset.class, "ALSSubset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2303 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);
2304 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);
2305
2306 initEClass(alsLessEClass, ALSLess.class, "ALSLess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2307 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);
2308 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);
2309
2310 initEClass(alsLeqEClass, ALSLeq.class, "ALSLeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2311 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);
2312 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);
2313
2314 initEClass(alsMoreEClass, ALSMore.class, "ALSMore", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2315 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);
2316 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);
2317
2318 initEClass(alsMeqEClass, ALSMeq.class, "ALSMeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2319 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);
2320 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);
2321
2322 initEClass(alsOverrideEClass, ALSOverride.class, "ALSOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2323 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);
2324 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);
2325
2326 initEClass(alsRangeRestrictionRightEClass, ALSRangeRestrictionRight.class, "ALSRangeRestrictionRight", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2327 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);
2328 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);
2329
2330 initEClass(alsRangeRestrictionLeftEClass, ALSRangeRestrictionLeft.class, "ALSRangeRestrictionLeft", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2331 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);
2332 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);
2333
2334 initEClass(alsJoinEClass, ALSJoin.class, "ALSJoin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2335 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);
2336 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);
2337
2338 initEClass(alsMinusEClass, ALSMinus.class, "ALSMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2339 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);
2340 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);
2341
2342 initEClass(alsPlusEClass, ALSPlus.class, "ALSPlus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2343 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);
2344 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);
2345
2346 initEClass(alsIntersectionEClass, ALSIntersection.class, "ALSIntersection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2347 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);
2348 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);
2349
2350 initEClass(alsDirectProductEClass, ALSDirectProduct.class, "ALSDirectProduct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2351 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);
2352 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);
2353 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);
2354 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);
2355
2356 initEClass(alsNotEClass, ALSNot.class, "ALSNot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2357 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);
2358
2359 initEClass(alsInverseRelationEClass, ALSInverseRelation.class, "ALSInverseRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2360 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);
2361
2362 initEClass(alSTransitiveClosureEClass, AlSTransitiveClosure.class, "AlSTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2363 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);
2364
2365 initEClass(alsReflectiveTransitiveClosureEClass, ALSReflectiveTransitiveClosure.class, "ALSReflectiveTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2366 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);
2367
2368 initEClass(alsCardinalityEClass, ALSCardinality.class, "ALSCardinality", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2369 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);
2370
2371 initEClass(alsUnaryMinusEClass, ALSUnaryMinus.class, "ALSUnaryMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2372 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);
2373
2374 initEClass(alsSumEClass, ALSSum.class, "ALSSum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2375 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);
2376 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);
2377
2378 initEClass(alsFunctionCallEClass, ALSFunctionCall.class, "ALSFunctionCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2379 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);
2380 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);
2381 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);
2382
2383 initEClass(alsNoneEClass, ALSNone.class, "ALSNone", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2384
2385 initEClass(alsIdenEClass, ALSIden.class, "ALSIden", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2386
2387 initEClass(alsUnivEClass, ALSUniv.class, "ALSUniv", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2388
2389 initEClass(alsIntEClass, ALSInt.class, "ALSInt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2390
2391 initEClass(alsReferenceEClass, ALSReference.class, "ALSReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2392 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);
2393
2394 initEClass(alsNumberLiteralEClass, ALSNumberLiteral.class, "ALSNumberLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2395 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);
2396
2397 // Initialize enums and add enum literals
2398 initEEnum(alsMultiplicityEEnum, ALSMultiplicity.class, "ALSMultiplicity");
2399 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ALL);
2400 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.NO);
2401 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SOME);
2402 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.LONE);
2403 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ONE);
2404 addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SET);
2405
2406 initEEnum(alsNumericOperatorEEnum, ALSNumericOperator.class, "ALSNumericOperator");
2407 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.PLUS);
2408 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.SUB);
2409 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.MUL);
2410 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.REM);
2411 addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.DIV);
2412
2413 // Create resource
2414 createResource(eNS_URI);
2415 }
2416
2417} //AlloyLanguagePackageImpl
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java
new file mode 100644
index 00000000..d3d842af
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java
@@ -0,0 +1,1152 @@
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 caseALSQuantifiedEx(ALSQuantifiedEx object)
169 {
170 return createALSQuantifiedExAdapter();
171 }
172 @Override
173 public Adapter caseALSOr(ALSOr object)
174 {
175 return createALSOrAdapter();
176 }
177 @Override
178 public Adapter caseALSIff(ALSIff object)
179 {
180 return createALSIffAdapter();
181 }
182 @Override
183 public Adapter caseALSImpl(ALSImpl object)
184 {
185 return createALSImplAdapter();
186 }
187 @Override
188 public Adapter caseALSAnd(ALSAnd object)
189 {
190 return createALSAndAdapter();
191 }
192 @Override
193 public Adapter caseALSEquals(ALSEquals object)
194 {
195 return createALSEqualsAdapter();
196 }
197 @Override
198 public Adapter caseALSNotEquals(ALSNotEquals object)
199 {
200 return createALSNotEqualsAdapter();
201 }
202 @Override
203 public Adapter caseALSSubset(ALSSubset object)
204 {
205 return createALSSubsetAdapter();
206 }
207 @Override
208 public Adapter caseALSLess(ALSLess object)
209 {
210 return createALSLessAdapter();
211 }
212 @Override
213 public Adapter caseALSLeq(ALSLeq object)
214 {
215 return createALSLeqAdapter();
216 }
217 @Override
218 public Adapter caseALSMore(ALSMore object)
219 {
220 return createALSMoreAdapter();
221 }
222 @Override
223 public Adapter caseALSMeq(ALSMeq object)
224 {
225 return createALSMeqAdapter();
226 }
227 @Override
228 public Adapter caseALSOverride(ALSOverride object)
229 {
230 return createALSOverrideAdapter();
231 }
232 @Override
233 public Adapter caseALSRangeRestrictionRight(ALSRangeRestrictionRight object)
234 {
235 return createALSRangeRestrictionRightAdapter();
236 }
237 @Override
238 public Adapter caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object)
239 {
240 return createALSRangeRestrictionLeftAdapter();
241 }
242 @Override
243 public Adapter caseALSJoin(ALSJoin object)
244 {
245 return createALSJoinAdapter();
246 }
247 @Override
248 public Adapter caseALSMinus(ALSMinus object)
249 {
250 return createALSMinusAdapter();
251 }
252 @Override
253 public Adapter caseALSPlus(ALSPlus object)
254 {
255 return createALSPlusAdapter();
256 }
257 @Override
258 public Adapter caseALSIntersection(ALSIntersection object)
259 {
260 return createALSIntersectionAdapter();
261 }
262 @Override
263 public Adapter caseALSDirectProduct(ALSDirectProduct object)
264 {
265 return createALSDirectProductAdapter();
266 }
267 @Override
268 public Adapter caseALSNot(ALSNot object)
269 {
270 return createALSNotAdapter();
271 }
272 @Override
273 public Adapter caseALSInverseRelation(ALSInverseRelation object)
274 {
275 return createALSInverseRelationAdapter();
276 }
277 @Override
278 public Adapter caseAlSTransitiveClosure(AlSTransitiveClosure object)
279 {
280 return createAlSTransitiveClosureAdapter();
281 }
282 @Override
283 public Adapter caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object)
284 {
285 return createALSReflectiveTransitiveClosureAdapter();
286 }
287 @Override
288 public Adapter caseALSCardinality(ALSCardinality object)
289 {
290 return createALSCardinalityAdapter();
291 }
292 @Override
293 public Adapter caseALSUnaryMinus(ALSUnaryMinus object)
294 {
295 return createALSUnaryMinusAdapter();
296 }
297 @Override
298 public Adapter caseALSSum(ALSSum object)
299 {
300 return createALSSumAdapter();
301 }
302 @Override
303 public Adapter caseALSFunctionCall(ALSFunctionCall object)
304 {
305 return createALSFunctionCallAdapter();
306 }
307 @Override
308 public Adapter caseALSNone(ALSNone object)
309 {
310 return createALSNoneAdapter();
311 }
312 @Override
313 public Adapter caseALSIden(ALSIden object)
314 {
315 return createALSIdenAdapter();
316 }
317 @Override
318 public Adapter caseALSUniv(ALSUniv object)
319 {
320 return createALSUnivAdapter();
321 }
322 @Override
323 public Adapter caseALSInt(ALSInt object)
324 {
325 return createALSIntAdapter();
326 }
327 @Override
328 public Adapter caseALSReference(ALSReference object)
329 {
330 return createALSReferenceAdapter();
331 }
332 @Override
333 public Adapter caseALSNumberLiteral(ALSNumberLiteral object)
334 {
335 return createALSNumberLiteralAdapter();
336 }
337 @Override
338 public Adapter defaultCase(EObject object)
339 {
340 return createEObjectAdapter();
341 }
342 };
343
344 /**
345 * Creates an adapter for the <code>target</code>.
346 * <!-- begin-user-doc -->
347 * <!-- end-user-doc -->
348 * @param target the object to adapt.
349 * @return the adapter for the <code>target</code>.
350 * @generated
351 */
352 @Override
353 public Adapter createAdapter(Notifier target)
354 {
355 return modelSwitch.doSwitch((EObject)target);
356 }
357
358
359 /**
360 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'.
361 * <!-- begin-user-doc -->
362 * This default implementation returns null so that we can easily ignore cases;
363 * it's useful to ignore a case when inheritance will catch all the cases anyway.
364 * <!-- end-user-doc -->
365 * @return the new adapter.
366 * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument
367 * @generated
368 */
369 public Adapter createALSDocumentAdapter()
370 {
371 return null;
372 }
373
374 /**
375 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</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.ALSRelationDeclaration
382 * @generated
383 */
384 public Adapter createALSRelationDeclarationAdapter()
385 {
386 return null;
387 }
388
389 /**
390 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type 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.ALSTypeDeclaration
397 * @generated
398 */
399 public Adapter createALSTypeDeclarationAdapter()
400 {
401 return null;
402 }
403
404 /**
405 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum 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.ALSEnumDeclaration
412 * @generated
413 */
414 public Adapter createALSEnumDeclarationAdapter()
415 {
416 return null;
417 }
418
419 /**
420 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</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.ALSEnumLiteral
427 * @generated
428 */
429 public Adapter createALSEnumLiteralAdapter()
430 {
431 return null;
432 }
433
434 /**
435 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</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.ALSSignatureDeclaration
442 * @generated
443 */
444 public Adapter createALSSignatureDeclarationAdapter()
445 {
446 return null;
447 }
448
449 /**
450 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</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.ALSSignatureBody
457 * @generated
458 */
459 public Adapter createALSSignatureBodyAdapter()
460 {
461 return null;
462 }
463
464 /**
465 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</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.ALSFieldDeclaration
472 * @generated
473 */
474 public Adapter createALSFieldDeclarationAdapter()
475 {
476 return null;
477 }
478
479 /**
480 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</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.ALSDefinition
487 * @generated
488 */
489 public Adapter createALSDefinitionAdapter()
490 {
491 return null;
492 }
493
494 /**
495 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function 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.ALSFunctionDefinition
502 * @generated
503 */
504 public Adapter createALSFunctionDefinitionAdapter()
505 {
506 return null;
507 }
508
509 /**
510 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation 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.ALSRelationDefinition
517 * @generated
518 */
519 public Adapter createALSRelationDefinitionAdapter()
520 {
521 return null;
522 }
523
524 /**
525 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</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.ALSFactDeclaration
532 * @generated
533 */
534 public Adapter createALSFactDeclarationAdapter()
535 {
536 return null;
537 }
538
539 /**
540 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</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.ALSTerm
547 * @generated
548 */
549 public Adapter createALSTermAdapter()
550 {
551 return null;
552 }
553
554 /**
555 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</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.ALSVariableDeclaration
562 * @generated
563 */
564 public Adapter createALSVariableDeclarationAdapter()
565 {
566 return null;
567 }
568
569 /**
570 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</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.ALSRunCommand
577 * @generated
578 */
579 public Adapter createALSRunCommandAdapter()
580 {
581 return null;
582 }
583
584 /**
585 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</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.ALSTypeScope
592 * @generated
593 */
594 public Adapter createALSTypeScopeAdapter()
595 {
596 return null;
597 }
598
599 /**
600 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig 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.ALSSigScope
607 * @generated
608 */
609 public Adapter createALSSigScopeAdapter()
610 {
611 return null;
612 }
613
614 /**
615 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int 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.ALSIntScope
622 * @generated
623 */
624 public Adapter createALSIntScopeAdapter()
625 {
626 return null;
627 }
628
629 /**
630 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</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.ALSQuantifiedEx
637 * @generated
638 */
639 public Adapter createALSQuantifiedExAdapter()
640 {
641 return null;
642 }
643
644 /**
645 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</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.ALSOr
652 * @generated
653 */
654 public Adapter createALSOrAdapter()
655 {
656 return null;
657 }
658
659 /**
660 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</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.ALSIff
667 * @generated
668 */
669 public Adapter createALSIffAdapter()
670 {
671 return null;
672 }
673
674 /**
675 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</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.ALSImpl
682 * @generated
683 */
684 public Adapter createALSImplAdapter()
685 {
686 return null;
687 }
688
689 /**
690 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</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.ALSAnd
697 * @generated
698 */
699 public Adapter createALSAndAdapter()
700 {
701 return null;
702 }
703
704 /**
705 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</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.ALSEquals
712 * @generated
713 */
714 public Adapter createALSEqualsAdapter()
715 {
716 return null;
717 }
718
719 /**
720 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</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.ALSNotEquals
727 * @generated
728 */
729 public Adapter createALSNotEqualsAdapter()
730 {
731 return null;
732 }
733
734 /**
735 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</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.ALSSubset
742 * @generated
743 */
744 public Adapter createALSSubsetAdapter()
745 {
746 return null;
747 }
748
749 /**
750 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</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.ALSLess
757 * @generated
758 */
759 public Adapter createALSLessAdapter()
760 {
761 return null;
762 }
763
764 /**
765 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</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.ALSLeq
772 * @generated
773 */
774 public Adapter createALSLeqAdapter()
775 {
776 return null;
777 }
778
779 /**
780 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</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.ALSMore
787 * @generated
788 */
789 public Adapter createALSMoreAdapter()
790 {
791 return null;
792 }
793
794 /**
795 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</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.ALSMeq
802 * @generated
803 */
804 public Adapter createALSMeqAdapter()
805 {
806 return null;
807 }
808
809 /**
810 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</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.ALSOverride
817 * @generated
818 */
819 public Adapter createALSOverrideAdapter()
820 {
821 return null;
822 }
823
824 /**
825 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</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.ALSRangeRestrictionRight
832 * @generated
833 */
834 public Adapter createALSRangeRestrictionRightAdapter()
835 {
836 return null;
837 }
838
839 /**
840 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</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.ALSRangeRestrictionLeft
847 * @generated
848 */
849 public Adapter createALSRangeRestrictionLeftAdapter()
850 {
851 return null;
852 }
853
854 /**
855 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</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.ALSJoin
862 * @generated
863 */
864 public Adapter createALSJoinAdapter()
865 {
866 return null;
867 }
868
869 /**
870 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</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.ALSMinus
877 * @generated
878 */
879 public Adapter createALSMinusAdapter()
880 {
881 return null;
882 }
883
884 /**
885 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</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.ALSPlus
892 * @generated
893 */
894 public Adapter createALSPlusAdapter()
895 {
896 return null;
897 }
898
899 /**
900 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</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.ALSIntersection
907 * @generated
908 */
909 public Adapter createALSIntersectionAdapter()
910 {
911 return null;
912 }
913
914 /**
915 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</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.ALSDirectProduct
922 * @generated
923 */
924 public Adapter createALSDirectProductAdapter()
925 {
926 return null;
927 }
928
929 /**
930 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</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.ALSNot
937 * @generated
938 */
939 public Adapter createALSNotAdapter()
940 {
941 return null;
942 }
943
944 /**
945 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</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.ALSInverseRelation
952 * @generated
953 */
954 public Adapter createALSInverseRelationAdapter()
955 {
956 return null;
957 }
958
959 /**
960 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</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.AlSTransitiveClosure
967 * @generated
968 */
969 public Adapter createAlSTransitiveClosureAdapter()
970 {
971 return null;
972 }
973
974 /**
975 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</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.ALSReflectiveTransitiveClosure
982 * @generated
983 */
984 public Adapter createALSReflectiveTransitiveClosureAdapter()
985 {
986 return null;
987 }
988
989 /**
990 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</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.ALSCardinality
997 * @generated
998 */
999 public Adapter createALSCardinalityAdapter()
1000 {
1001 return null;
1002 }
1003
1004 /**
1005 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</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.ALSUnaryMinus
1012 * @generated
1013 */
1014 public Adapter createALSUnaryMinusAdapter()
1015 {
1016 return null;
1017 }
1018
1019 /**
1020 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</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.ALSSum
1027 * @generated
1028 */
1029 public Adapter createALSSumAdapter()
1030 {
1031 return null;
1032 }
1033
1034 /**
1035 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</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.ALSFunctionCall
1042 * @generated
1043 */
1044 public Adapter createALSFunctionCallAdapter()
1045 {
1046 return null;
1047 }
1048
1049 /**
1050 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</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.ALSNone
1057 * @generated
1058 */
1059 public Adapter createALSNoneAdapter()
1060 {
1061 return null;
1062 }
1063
1064 /**
1065 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</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.ALSIden
1072 * @generated
1073 */
1074 public Adapter createALSIdenAdapter()
1075 {
1076 return null;
1077 }
1078
1079 /**
1080 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</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.ALSUniv
1087 * @generated
1088 */
1089 public Adapter createALSUnivAdapter()
1090 {
1091 return null;
1092 }
1093
1094 /**
1095 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</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.ALSInt
1102 * @generated
1103 */
1104 public Adapter createALSIntAdapter()
1105 {
1106 return null;
1107 }
1108
1109 /**
1110 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</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.ALSReference
1117 * @generated
1118 */
1119 public Adapter createALSReferenceAdapter()
1120 {
1121 return null;
1122 }
1123
1124 /**
1125 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</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.ALSNumberLiteral
1132 * @generated
1133 */
1134 public Adapter createALSNumberLiteralAdapter()
1135 {
1136 return null;
1137 }
1138
1139 /**
1140 * Creates a new adapter for the default case.
1141 * <!-- begin-user-doc -->
1142 * This default implementation returns null.
1143 * <!-- end-user-doc -->
1144 * @return the new adapter.
1145 * @generated
1146 */
1147 public Adapter createEObjectAdapter()
1148 {
1149 return null;
1150 }
1151
1152} //AlloyLanguageAdapterFactory
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java
new file mode 100644
index 00000000..91fa2086
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java
@@ -0,0 +1,1338 @@
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_QUANTIFIED_EX:
214 {
215 ALSQuantifiedEx alsQuantifiedEx = (ALSQuantifiedEx)theEObject;
216 T result = caseALSQuantifiedEx(alsQuantifiedEx);
217 if (result == null) result = caseALSTerm(alsQuantifiedEx);
218 if (result == null) result = defaultCase(theEObject);
219 return result;
220 }
221 case AlloyLanguagePackage.ALS_OR:
222 {
223 ALSOr alsOr = (ALSOr)theEObject;
224 T result = caseALSOr(alsOr);
225 if (result == null) result = caseALSTerm(alsOr);
226 if (result == null) result = defaultCase(theEObject);
227 return result;
228 }
229 case AlloyLanguagePackage.ALS_IFF:
230 {
231 ALSIff alsIff = (ALSIff)theEObject;
232 T result = caseALSIff(alsIff);
233 if (result == null) result = caseALSTerm(alsIff);
234 if (result == null) result = defaultCase(theEObject);
235 return result;
236 }
237 case AlloyLanguagePackage.ALS_IMPL:
238 {
239 ALSImpl alsImpl = (ALSImpl)theEObject;
240 T result = caseALSImpl(alsImpl);
241 if (result == null) result = caseALSTerm(alsImpl);
242 if (result == null) result = defaultCase(theEObject);
243 return result;
244 }
245 case AlloyLanguagePackage.ALS_AND:
246 {
247 ALSAnd alsAnd = (ALSAnd)theEObject;
248 T result = caseALSAnd(alsAnd);
249 if (result == null) result = caseALSTerm(alsAnd);
250 if (result == null) result = defaultCase(theEObject);
251 return result;
252 }
253 case AlloyLanguagePackage.ALS_EQUALS:
254 {
255 ALSEquals alsEquals = (ALSEquals)theEObject;
256 T result = caseALSEquals(alsEquals);
257 if (result == null) result = caseALSTerm(alsEquals);
258 if (result == null) result = defaultCase(theEObject);
259 return result;
260 }
261 case AlloyLanguagePackage.ALS_NOT_EQUALS:
262 {
263 ALSNotEquals alsNotEquals = (ALSNotEquals)theEObject;
264 T result = caseALSNotEquals(alsNotEquals);
265 if (result == null) result = caseALSTerm(alsNotEquals);
266 if (result == null) result = defaultCase(theEObject);
267 return result;
268 }
269 case AlloyLanguagePackage.ALS_SUBSET:
270 {
271 ALSSubset alsSubset = (ALSSubset)theEObject;
272 T result = caseALSSubset(alsSubset);
273 if (result == null) result = caseALSTerm(alsSubset);
274 if (result == null) result = defaultCase(theEObject);
275 return result;
276 }
277 case AlloyLanguagePackage.ALS_LESS:
278 {
279 ALSLess alsLess = (ALSLess)theEObject;
280 T result = caseALSLess(alsLess);
281 if (result == null) result = caseALSTerm(alsLess);
282 if (result == null) result = defaultCase(theEObject);
283 return result;
284 }
285 case AlloyLanguagePackage.ALS_LEQ:
286 {
287 ALSLeq alsLeq = (ALSLeq)theEObject;
288 T result = caseALSLeq(alsLeq);
289 if (result == null) result = caseALSTerm(alsLeq);
290 if (result == null) result = defaultCase(theEObject);
291 return result;
292 }
293 case AlloyLanguagePackage.ALS_MORE:
294 {
295 ALSMore alsMore = (ALSMore)theEObject;
296 T result = caseALSMore(alsMore);
297 if (result == null) result = caseALSTerm(alsMore);
298 if (result == null) result = defaultCase(theEObject);
299 return result;
300 }
301 case AlloyLanguagePackage.ALS_MEQ:
302 {
303 ALSMeq alsMeq = (ALSMeq)theEObject;
304 T result = caseALSMeq(alsMeq);
305 if (result == null) result = caseALSTerm(alsMeq);
306 if (result == null) result = defaultCase(theEObject);
307 return result;
308 }
309 case AlloyLanguagePackage.ALS_OVERRIDE:
310 {
311 ALSOverride alsOverride = (ALSOverride)theEObject;
312 T result = caseALSOverride(alsOverride);
313 if (result == null) result = caseALSTerm(alsOverride);
314 if (result == null) result = defaultCase(theEObject);
315 return result;
316 }
317 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT:
318 {
319 ALSRangeRestrictionRight alsRangeRestrictionRight = (ALSRangeRestrictionRight)theEObject;
320 T result = caseALSRangeRestrictionRight(alsRangeRestrictionRight);
321 if (result == null) result = caseALSTerm(alsRangeRestrictionRight);
322 if (result == null) result = defaultCase(theEObject);
323 return result;
324 }
325 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT:
326 {
327 ALSRangeRestrictionLeft alsRangeRestrictionLeft = (ALSRangeRestrictionLeft)theEObject;
328 T result = caseALSRangeRestrictionLeft(alsRangeRestrictionLeft);
329 if (result == null) result = caseALSTerm(alsRangeRestrictionLeft);
330 if (result == null) result = defaultCase(theEObject);
331 return result;
332 }
333 case AlloyLanguagePackage.ALS_JOIN:
334 {
335 ALSJoin alsJoin = (ALSJoin)theEObject;
336 T result = caseALSJoin(alsJoin);
337 if (result == null) result = caseALSTerm(alsJoin);
338 if (result == null) result = defaultCase(theEObject);
339 return result;
340 }
341 case AlloyLanguagePackage.ALS_MINUS:
342 {
343 ALSMinus alsMinus = (ALSMinus)theEObject;
344 T result = caseALSMinus(alsMinus);
345 if (result == null) result = caseALSTerm(alsMinus);
346 if (result == null) result = defaultCase(theEObject);
347 return result;
348 }
349 case AlloyLanguagePackage.ALS_PLUS:
350 {
351 ALSPlus alsPlus = (ALSPlus)theEObject;
352 T result = caseALSPlus(alsPlus);
353 if (result == null) result = caseALSTerm(alsPlus);
354 if (result == null) result = defaultCase(theEObject);
355 return result;
356 }
357 case AlloyLanguagePackage.ALS_INTERSECTION:
358 {
359 ALSIntersection alsIntersection = (ALSIntersection)theEObject;
360 T result = caseALSIntersection(alsIntersection);
361 if (result == null) result = caseALSTerm(alsIntersection);
362 if (result == null) result = defaultCase(theEObject);
363 return result;
364 }
365 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT:
366 {
367 ALSDirectProduct alsDirectProduct = (ALSDirectProduct)theEObject;
368 T result = caseALSDirectProduct(alsDirectProduct);
369 if (result == null) result = caseALSTerm(alsDirectProduct);
370 if (result == null) result = defaultCase(theEObject);
371 return result;
372 }
373 case AlloyLanguagePackage.ALS_NOT:
374 {
375 ALSNot alsNot = (ALSNot)theEObject;
376 T result = caseALSNot(alsNot);
377 if (result == null) result = caseALSTerm(alsNot);
378 if (result == null) result = defaultCase(theEObject);
379 return result;
380 }
381 case AlloyLanguagePackage.ALS_INVERSE_RELATION:
382 {
383 ALSInverseRelation alsInverseRelation = (ALSInverseRelation)theEObject;
384 T result = caseALSInverseRelation(alsInverseRelation);
385 if (result == null) result = caseALSTerm(alsInverseRelation);
386 if (result == null) result = defaultCase(theEObject);
387 return result;
388 }
389 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE:
390 {
391 AlSTransitiveClosure alSTransitiveClosure = (AlSTransitiveClosure)theEObject;
392 T result = caseAlSTransitiveClosure(alSTransitiveClosure);
393 if (result == null) result = caseALSTerm(alSTransitiveClosure);
394 if (result == null) result = defaultCase(theEObject);
395 return result;
396 }
397 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE:
398 {
399 ALSReflectiveTransitiveClosure alsReflectiveTransitiveClosure = (ALSReflectiveTransitiveClosure)theEObject;
400 T result = caseALSReflectiveTransitiveClosure(alsReflectiveTransitiveClosure);
401 if (result == null) result = caseALSTerm(alsReflectiveTransitiveClosure);
402 if (result == null) result = defaultCase(theEObject);
403 return result;
404 }
405 case AlloyLanguagePackage.ALS_CARDINALITY:
406 {
407 ALSCardinality alsCardinality = (ALSCardinality)theEObject;
408 T result = caseALSCardinality(alsCardinality);
409 if (result == null) result = caseALSTerm(alsCardinality);
410 if (result == null) result = defaultCase(theEObject);
411 return result;
412 }
413 case AlloyLanguagePackage.ALS_UNARY_MINUS:
414 {
415 ALSUnaryMinus alsUnaryMinus = (ALSUnaryMinus)theEObject;
416 T result = caseALSUnaryMinus(alsUnaryMinus);
417 if (result == null) result = caseALSTerm(alsUnaryMinus);
418 if (result == null) result = defaultCase(theEObject);
419 return result;
420 }
421 case AlloyLanguagePackage.ALS_SUM:
422 {
423 ALSSum alsSum = (ALSSum)theEObject;
424 T result = caseALSSum(alsSum);
425 if (result == null) result = caseALSTerm(alsSum);
426 if (result == null) result = defaultCase(theEObject);
427 return result;
428 }
429 case AlloyLanguagePackage.ALS_FUNCTION_CALL:
430 {
431 ALSFunctionCall alsFunctionCall = (ALSFunctionCall)theEObject;
432 T result = caseALSFunctionCall(alsFunctionCall);
433 if (result == null) result = caseALSTerm(alsFunctionCall);
434 if (result == null) result = defaultCase(theEObject);
435 return result;
436 }
437 case AlloyLanguagePackage.ALS_NONE:
438 {
439 ALSNone alsNone = (ALSNone)theEObject;
440 T result = caseALSNone(alsNone);
441 if (result == null) result = caseALSTerm(alsNone);
442 if (result == null) result = defaultCase(theEObject);
443 return result;
444 }
445 case AlloyLanguagePackage.ALS_IDEN:
446 {
447 ALSIden alsIden = (ALSIden)theEObject;
448 T result = caseALSIden(alsIden);
449 if (result == null) result = caseALSTerm(alsIden);
450 if (result == null) result = defaultCase(theEObject);
451 return result;
452 }
453 case AlloyLanguagePackage.ALS_UNIV:
454 {
455 ALSUniv alsUniv = (ALSUniv)theEObject;
456 T result = caseALSUniv(alsUniv);
457 if (result == null) result = caseALSTerm(alsUniv);
458 if (result == null) result = defaultCase(theEObject);
459 return result;
460 }
461 case AlloyLanguagePackage.ALS_INT:
462 {
463 ALSInt alsInt = (ALSInt)theEObject;
464 T result = caseALSInt(alsInt);
465 if (result == null) result = caseALSTerm(alsInt);
466 if (result == null) result = defaultCase(theEObject);
467 return result;
468 }
469 case AlloyLanguagePackage.ALS_REFERENCE:
470 {
471 ALSReference alsReference = (ALSReference)theEObject;
472 T result = caseALSReference(alsReference);
473 if (result == null) result = caseALSTerm(alsReference);
474 if (result == null) result = defaultCase(theEObject);
475 return result;
476 }
477 case AlloyLanguagePackage.ALS_NUMBER_LITERAL:
478 {
479 ALSNumberLiteral alsNumberLiteral = (ALSNumberLiteral)theEObject;
480 T result = caseALSNumberLiteral(alsNumberLiteral);
481 if (result == null) result = caseALSTerm(alsNumberLiteral);
482 if (result == null) result = defaultCase(theEObject);
483 return result;
484 }
485 default: return defaultCase(theEObject);
486 }
487 }
488
489 /**
490 * Returns the result of interpreting the object as an instance of '<em>ALS Document</em>'.
491 * <!-- begin-user-doc -->
492 * This implementation returns null;
493 * returning a non-null result will terminate the switch.
494 * <!-- end-user-doc -->
495 * @param object the target of the switch.
496 * @return the result of interpreting the object as an instance of '<em>ALS Document</em>'.
497 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
498 * @generated
499 */
500 public T caseALSDocument(ALSDocument object)
501 {
502 return null;
503 }
504
505 /**
506 * Returns the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'.
507 * <!-- begin-user-doc -->
508 * This implementation returns null;
509 * returning a non-null result will terminate the switch.
510 * <!-- end-user-doc -->
511 * @param object the target of the switch.
512 * @return the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'.
513 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
514 * @generated
515 */
516 public T caseALSRelationDeclaration(ALSRelationDeclaration object)
517 {
518 return null;
519 }
520
521 /**
522 * Returns the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'.
523 * <!-- begin-user-doc -->
524 * This implementation returns null;
525 * returning a non-null result will terminate the switch.
526 * <!-- end-user-doc -->
527 * @param object the target of the switch.
528 * @return the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'.
529 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
530 * @generated
531 */
532 public T caseALSTypeDeclaration(ALSTypeDeclaration object)
533 {
534 return null;
535 }
536
537 /**
538 * Returns the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'.
539 * <!-- begin-user-doc -->
540 * This implementation returns null;
541 * returning a non-null result will terminate the switch.
542 * <!-- end-user-doc -->
543 * @param object the target of the switch.
544 * @return the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'.
545 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
546 * @generated
547 */
548 public T caseALSEnumDeclaration(ALSEnumDeclaration object)
549 {
550 return null;
551 }
552
553 /**
554 * Returns the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'.
555 * <!-- begin-user-doc -->
556 * This implementation returns null;
557 * returning a non-null result will terminate the switch.
558 * <!-- end-user-doc -->
559 * @param object the target of the switch.
560 * @return the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'.
561 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
562 * @generated
563 */
564 public T caseALSEnumLiteral(ALSEnumLiteral object)
565 {
566 return null;
567 }
568
569 /**
570 * Returns the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'.
571 * <!-- begin-user-doc -->
572 * This implementation returns null;
573 * returning a non-null result will terminate the switch.
574 * <!-- end-user-doc -->
575 * @param object the target of the switch.
576 * @return the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'.
577 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
578 * @generated
579 */
580 public T caseALSSignatureDeclaration(ALSSignatureDeclaration object)
581 {
582 return null;
583 }
584
585 /**
586 * Returns the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'.
587 * <!-- begin-user-doc -->
588 * This implementation returns null;
589 * returning a non-null result will terminate the switch.
590 * <!-- end-user-doc -->
591 * @param object the target of the switch.
592 * @return the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'.
593 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
594 * @generated
595 */
596 public T caseALSSignatureBody(ALSSignatureBody object)
597 {
598 return null;
599 }
600
601 /**
602 * Returns the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'.
603 * <!-- begin-user-doc -->
604 * This implementation returns null;
605 * returning a non-null result will terminate the switch.
606 * <!-- end-user-doc -->
607 * @param object the target of the switch.
608 * @return the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'.
609 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
610 * @generated
611 */
612 public T caseALSFieldDeclaration(ALSFieldDeclaration object)
613 {
614 return null;
615 }
616
617 /**
618 * Returns the result of interpreting the object as an instance of '<em>ALS Definition</em>'.
619 * <!-- begin-user-doc -->
620 * This implementation returns null;
621 * returning a non-null result will terminate the switch.
622 * <!-- end-user-doc -->
623 * @param object the target of the switch.
624 * @return the result of interpreting the object as an instance of '<em>ALS Definition</em>'.
625 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
626 * @generated
627 */
628 public T caseALSDefinition(ALSDefinition object)
629 {
630 return null;
631 }
632
633 /**
634 * Returns the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'.
635 * <!-- begin-user-doc -->
636 * This implementation returns null;
637 * returning a non-null result will terminate the switch.
638 * <!-- end-user-doc -->
639 * @param object the target of the switch.
640 * @return the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'.
641 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
642 * @generated
643 */
644 public T caseALSFunctionDefinition(ALSFunctionDefinition object)
645 {
646 return null;
647 }
648
649 /**
650 * Returns the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'.
651 * <!-- begin-user-doc -->
652 * This implementation returns null;
653 * returning a non-null result will terminate the switch.
654 * <!-- end-user-doc -->
655 * @param object the target of the switch.
656 * @return the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'.
657 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
658 * @generated
659 */
660 public T caseALSRelationDefinition(ALSRelationDefinition object)
661 {
662 return null;
663 }
664
665 /**
666 * Returns the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'.
667 * <!-- begin-user-doc -->
668 * This implementation returns null;
669 * returning a non-null result will terminate the switch.
670 * <!-- end-user-doc -->
671 * @param object the target of the switch.
672 * @return the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'.
673 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
674 * @generated
675 */
676 public T caseALSFactDeclaration(ALSFactDeclaration object)
677 {
678 return null;
679 }
680
681 /**
682 * Returns the result of interpreting the object as an instance of '<em>ALS Term</em>'.
683 * <!-- begin-user-doc -->
684 * This implementation returns null;
685 * returning a non-null result will terminate the switch.
686 * <!-- end-user-doc -->
687 * @param object the target of the switch.
688 * @return the result of interpreting the object as an instance of '<em>ALS Term</em>'.
689 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
690 * @generated
691 */
692 public T caseALSTerm(ALSTerm object)
693 {
694 return null;
695 }
696
697 /**
698 * Returns the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'.
699 * <!-- begin-user-doc -->
700 * This implementation returns null;
701 * returning a non-null result will terminate the switch.
702 * <!-- end-user-doc -->
703 * @param object the target of the switch.
704 * @return the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'.
705 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
706 * @generated
707 */
708 public T caseALSVariableDeclaration(ALSVariableDeclaration object)
709 {
710 return null;
711 }
712
713 /**
714 * Returns the result of interpreting the object as an instance of '<em>ALS Run Command</em>'.
715 * <!-- begin-user-doc -->
716 * This implementation returns null;
717 * returning a non-null result will terminate the switch.
718 * <!-- end-user-doc -->
719 * @param object the target of the switch.
720 * @return the result of interpreting the object as an instance of '<em>ALS Run Command</em>'.
721 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
722 * @generated
723 */
724 public T caseALSRunCommand(ALSRunCommand object)
725 {
726 return null;
727 }
728
729 /**
730 * Returns the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'.
731 * <!-- begin-user-doc -->
732 * This implementation returns null;
733 * returning a non-null result will terminate the switch.
734 * <!-- end-user-doc -->
735 * @param object the target of the switch.
736 * @return the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'.
737 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
738 * @generated
739 */
740 public T caseALSTypeScope(ALSTypeScope object)
741 {
742 return null;
743 }
744
745 /**
746 * Returns the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'.
747 * <!-- begin-user-doc -->
748 * This implementation returns null;
749 * returning a non-null result will terminate the switch.
750 * <!-- end-user-doc -->
751 * @param object the target of the switch.
752 * @return the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'.
753 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
754 * @generated
755 */
756 public T caseALSSigScope(ALSSigScope object)
757 {
758 return null;
759 }
760
761 /**
762 * Returns the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'.
763 * <!-- begin-user-doc -->
764 * This implementation returns null;
765 * returning a non-null result will terminate the switch.
766 * <!-- end-user-doc -->
767 * @param object the target of the switch.
768 * @return the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'.
769 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
770 * @generated
771 */
772 public T caseALSIntScope(ALSIntScope object)
773 {
774 return null;
775 }
776
777 /**
778 * Returns the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'.
779 * <!-- begin-user-doc -->
780 * This implementation returns null;
781 * returning a non-null result will terminate the switch.
782 * <!-- end-user-doc -->
783 * @param object the target of the switch.
784 * @return the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'.
785 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
786 * @generated
787 */
788 public T caseALSQuantifiedEx(ALSQuantifiedEx object)
789 {
790 return null;
791 }
792
793 /**
794 * Returns the result of interpreting the object as an instance of '<em>ALS Or</em>'.
795 * <!-- begin-user-doc -->
796 * This implementation returns null;
797 * returning a non-null result will terminate the switch.
798 * <!-- end-user-doc -->
799 * @param object the target of the switch.
800 * @return the result of interpreting the object as an instance of '<em>ALS Or</em>'.
801 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
802 * @generated
803 */
804 public T caseALSOr(ALSOr object)
805 {
806 return null;
807 }
808
809 /**
810 * Returns the result of interpreting the object as an instance of '<em>ALS Iff</em>'.
811 * <!-- begin-user-doc -->
812 * This implementation returns null;
813 * returning a non-null result will terminate the switch.
814 * <!-- end-user-doc -->
815 * @param object the target of the switch.
816 * @return the result of interpreting the object as an instance of '<em>ALS Iff</em>'.
817 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
818 * @generated
819 */
820 public T caseALSIff(ALSIff object)
821 {
822 return null;
823 }
824
825 /**
826 * Returns the result of interpreting the object as an instance of '<em>ALS Impl</em>'.
827 * <!-- begin-user-doc -->
828 * This implementation returns null;
829 * returning a non-null result will terminate the switch.
830 * <!-- end-user-doc -->
831 * @param object the target of the switch.
832 * @return the result of interpreting the object as an instance of '<em>ALS Impl</em>'.
833 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
834 * @generated
835 */
836 public T caseALSImpl(ALSImpl object)
837 {
838 return null;
839 }
840
841 /**
842 * Returns the result of interpreting the object as an instance of '<em>ALS And</em>'.
843 * <!-- begin-user-doc -->
844 * This implementation returns null;
845 * returning a non-null result will terminate the switch.
846 * <!-- end-user-doc -->
847 * @param object the target of the switch.
848 * @return the result of interpreting the object as an instance of '<em>ALS And</em>'.
849 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
850 * @generated
851 */
852 public T caseALSAnd(ALSAnd object)
853 {
854 return null;
855 }
856
857 /**
858 * Returns the result of interpreting the object as an instance of '<em>ALS Equals</em>'.
859 * <!-- begin-user-doc -->
860 * This implementation returns null;
861 * returning a non-null result will terminate the switch.
862 * <!-- end-user-doc -->
863 * @param object the target of the switch.
864 * @return the result of interpreting the object as an instance of '<em>ALS Equals</em>'.
865 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
866 * @generated
867 */
868 public T caseALSEquals(ALSEquals object)
869 {
870 return null;
871 }
872
873 /**
874 * Returns the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'.
875 * <!-- begin-user-doc -->
876 * This implementation returns null;
877 * returning a non-null result will terminate the switch.
878 * <!-- end-user-doc -->
879 * @param object the target of the switch.
880 * @return the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'.
881 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
882 * @generated
883 */
884 public T caseALSNotEquals(ALSNotEquals object)
885 {
886 return null;
887 }
888
889 /**
890 * Returns the result of interpreting the object as an instance of '<em>ALS Subset</em>'.
891 * <!-- begin-user-doc -->
892 * This implementation returns null;
893 * returning a non-null result will terminate the switch.
894 * <!-- end-user-doc -->
895 * @param object the target of the switch.
896 * @return the result of interpreting the object as an instance of '<em>ALS Subset</em>'.
897 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
898 * @generated
899 */
900 public T caseALSSubset(ALSSubset object)
901 {
902 return null;
903 }
904
905 /**
906 * Returns the result of interpreting the object as an instance of '<em>ALS Less</em>'.
907 * <!-- begin-user-doc -->
908 * This implementation returns null;
909 * returning a non-null result will terminate the switch.
910 * <!-- end-user-doc -->
911 * @param object the target of the switch.
912 * @return the result of interpreting the object as an instance of '<em>ALS Less</em>'.
913 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
914 * @generated
915 */
916 public T caseALSLess(ALSLess object)
917 {
918 return null;
919 }
920
921 /**
922 * Returns the result of interpreting the object as an instance of '<em>ALS Leq</em>'.
923 * <!-- begin-user-doc -->
924 * This implementation returns null;
925 * returning a non-null result will terminate the switch.
926 * <!-- end-user-doc -->
927 * @param object the target of the switch.
928 * @return the result of interpreting the object as an instance of '<em>ALS Leq</em>'.
929 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
930 * @generated
931 */
932 public T caseALSLeq(ALSLeq object)
933 {
934 return null;
935 }
936
937 /**
938 * Returns the result of interpreting the object as an instance of '<em>ALS More</em>'.
939 * <!-- begin-user-doc -->
940 * This implementation returns null;
941 * returning a non-null result will terminate the switch.
942 * <!-- end-user-doc -->
943 * @param object the target of the switch.
944 * @return the result of interpreting the object as an instance of '<em>ALS More</em>'.
945 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
946 * @generated
947 */
948 public T caseALSMore(ALSMore object)
949 {
950 return null;
951 }
952
953 /**
954 * Returns the result of interpreting the object as an instance of '<em>ALS Meq</em>'.
955 * <!-- begin-user-doc -->
956 * This implementation returns null;
957 * returning a non-null result will terminate the switch.
958 * <!-- end-user-doc -->
959 * @param object the target of the switch.
960 * @return the result of interpreting the object as an instance of '<em>ALS Meq</em>'.
961 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
962 * @generated
963 */
964 public T caseALSMeq(ALSMeq object)
965 {
966 return null;
967 }
968
969 /**
970 * Returns the result of interpreting the object as an instance of '<em>ALS Override</em>'.
971 * <!-- begin-user-doc -->
972 * This implementation returns null;
973 * returning a non-null result will terminate the switch.
974 * <!-- end-user-doc -->
975 * @param object the target of the switch.
976 * @return the result of interpreting the object as an instance of '<em>ALS Override</em>'.
977 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
978 * @generated
979 */
980 public T caseALSOverride(ALSOverride object)
981 {
982 return null;
983 }
984
985 /**
986 * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'.
987 * <!-- begin-user-doc -->
988 * This implementation returns null;
989 * returning a non-null result will terminate the switch.
990 * <!-- end-user-doc -->
991 * @param object the target of the switch.
992 * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'.
993 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
994 * @generated
995 */
996 public T caseALSRangeRestrictionRight(ALSRangeRestrictionRight object)
997 {
998 return null;
999 }
1000
1001 /**
1002 * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'.
1003 * <!-- begin-user-doc -->
1004 * This implementation returns null;
1005 * returning a non-null result will terminate the switch.
1006 * <!-- end-user-doc -->
1007 * @param object the target of the switch.
1008 * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'.
1009 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1010 * @generated
1011 */
1012 public T caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object)
1013 {
1014 return null;
1015 }
1016
1017 /**
1018 * Returns the result of interpreting the object as an instance of '<em>ALS Join</em>'.
1019 * <!-- begin-user-doc -->
1020 * This implementation returns null;
1021 * returning a non-null result will terminate the switch.
1022 * <!-- end-user-doc -->
1023 * @param object the target of the switch.
1024 * @return the result of interpreting the object as an instance of '<em>ALS Join</em>'.
1025 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1026 * @generated
1027 */
1028 public T caseALSJoin(ALSJoin object)
1029 {
1030 return null;
1031 }
1032
1033 /**
1034 * Returns the result of interpreting the object as an instance of '<em>ALS Minus</em>'.
1035 * <!-- begin-user-doc -->
1036 * This implementation returns null;
1037 * returning a non-null result will terminate the switch.
1038 * <!-- end-user-doc -->
1039 * @param object the target of the switch.
1040 * @return the result of interpreting the object as an instance of '<em>ALS Minus</em>'.
1041 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1042 * @generated
1043 */
1044 public T caseALSMinus(ALSMinus object)
1045 {
1046 return null;
1047 }
1048
1049 /**
1050 * Returns the result of interpreting the object as an instance of '<em>ALS Plus</em>'.
1051 * <!-- begin-user-doc -->
1052 * This implementation returns null;
1053 * returning a non-null result will terminate the switch.
1054 * <!-- end-user-doc -->
1055 * @param object the target of the switch.
1056 * @return the result of interpreting the object as an instance of '<em>ALS Plus</em>'.
1057 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1058 * @generated
1059 */
1060 public T caseALSPlus(ALSPlus object)
1061 {
1062 return null;
1063 }
1064
1065 /**
1066 * Returns the result of interpreting the object as an instance of '<em>ALS Intersection</em>'.
1067 * <!-- begin-user-doc -->
1068 * This implementation returns null;
1069 * returning a non-null result will terminate the switch.
1070 * <!-- end-user-doc -->
1071 * @param object the target of the switch.
1072 * @return the result of interpreting the object as an instance of '<em>ALS Intersection</em>'.
1073 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1074 * @generated
1075 */
1076 public T caseALSIntersection(ALSIntersection object)
1077 {
1078 return null;
1079 }
1080
1081 /**
1082 * Returns the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'.
1083 * <!-- begin-user-doc -->
1084 * This implementation returns null;
1085 * returning a non-null result will terminate the switch.
1086 * <!-- end-user-doc -->
1087 * @param object the target of the switch.
1088 * @return the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'.
1089 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1090 * @generated
1091 */
1092 public T caseALSDirectProduct(ALSDirectProduct object)
1093 {
1094 return null;
1095 }
1096
1097 /**
1098 * Returns the result of interpreting the object as an instance of '<em>ALS Not</em>'.
1099 * <!-- begin-user-doc -->
1100 * This implementation returns null;
1101 * returning a non-null result will terminate the switch.
1102 * <!-- end-user-doc -->
1103 * @param object the target of the switch.
1104 * @return the result of interpreting the object as an instance of '<em>ALS Not</em>'.
1105 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1106 * @generated
1107 */
1108 public T caseALSNot(ALSNot object)
1109 {
1110 return null;
1111 }
1112
1113 /**
1114 * Returns the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'.
1115 * <!-- begin-user-doc -->
1116 * This implementation returns null;
1117 * returning a non-null result will terminate the switch.
1118 * <!-- end-user-doc -->
1119 * @param object the target of the switch.
1120 * @return the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'.
1121 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1122 * @generated
1123 */
1124 public T caseALSInverseRelation(ALSInverseRelation object)
1125 {
1126 return null;
1127 }
1128
1129 /**
1130 * Returns the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'.
1131 * <!-- begin-user-doc -->
1132 * This implementation returns null;
1133 * returning a non-null result will terminate the switch.
1134 * <!-- end-user-doc -->
1135 * @param object the target of the switch.
1136 * @return the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'.
1137 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1138 * @generated
1139 */
1140 public T caseAlSTransitiveClosure(AlSTransitiveClosure object)
1141 {
1142 return null;
1143 }
1144
1145 /**
1146 * Returns the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'.
1147 * <!-- begin-user-doc -->
1148 * This implementation returns null;
1149 * returning a non-null result will terminate the switch.
1150 * <!-- end-user-doc -->
1151 * @param object the target of the switch.
1152 * @return the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'.
1153 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1154 * @generated
1155 */
1156 public T caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object)
1157 {
1158 return null;
1159 }
1160
1161 /**
1162 * Returns the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'.
1163 * <!-- begin-user-doc -->
1164 * This implementation returns null;
1165 * returning a non-null result will terminate the switch.
1166 * <!-- end-user-doc -->
1167 * @param object the target of the switch.
1168 * @return the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'.
1169 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1170 * @generated
1171 */
1172 public T caseALSCardinality(ALSCardinality object)
1173 {
1174 return null;
1175 }
1176
1177 /**
1178 * Returns the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'.
1179 * <!-- begin-user-doc -->
1180 * This implementation returns null;
1181 * returning a non-null result will terminate the switch.
1182 * <!-- end-user-doc -->
1183 * @param object the target of the switch.
1184 * @return the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'.
1185 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1186 * @generated
1187 */
1188 public T caseALSUnaryMinus(ALSUnaryMinus object)
1189 {
1190 return null;
1191 }
1192
1193 /**
1194 * Returns the result of interpreting the object as an instance of '<em>ALS Sum</em>'.
1195 * <!-- begin-user-doc -->
1196 * This implementation returns null;
1197 * returning a non-null result will terminate the switch.
1198 * <!-- end-user-doc -->
1199 * @param object the target of the switch.
1200 * @return the result of interpreting the object as an instance of '<em>ALS Sum</em>'.
1201 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1202 * @generated
1203 */
1204 public T caseALSSum(ALSSum object)
1205 {
1206 return null;
1207 }
1208
1209 /**
1210 * Returns the result of interpreting the object as an instance of '<em>ALS Function Call</em>'.
1211 * <!-- begin-user-doc -->
1212 * This implementation returns null;
1213 * returning a non-null result will terminate the switch.
1214 * <!-- end-user-doc -->
1215 * @param object the target of the switch.
1216 * @return the result of interpreting the object as an instance of '<em>ALS Function Call</em>'.
1217 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1218 * @generated
1219 */
1220 public T caseALSFunctionCall(ALSFunctionCall object)
1221 {
1222 return null;
1223 }
1224
1225 /**
1226 * Returns the result of interpreting the object as an instance of '<em>ALS None</em>'.
1227 * <!-- begin-user-doc -->
1228 * This implementation returns null;
1229 * returning a non-null result will terminate the switch.
1230 * <!-- end-user-doc -->
1231 * @param object the target of the switch.
1232 * @return the result of interpreting the object as an instance of '<em>ALS None</em>'.
1233 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1234 * @generated
1235 */
1236 public T caseALSNone(ALSNone object)
1237 {
1238 return null;
1239 }
1240
1241 /**
1242 * Returns the result of interpreting the object as an instance of '<em>ALS Iden</em>'.
1243 * <!-- begin-user-doc -->
1244 * This implementation returns null;
1245 * returning a non-null result will terminate the switch.
1246 * <!-- end-user-doc -->
1247 * @param object the target of the switch.
1248 * @return the result of interpreting the object as an instance of '<em>ALS Iden</em>'.
1249 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1250 * @generated
1251 */
1252 public T caseALSIden(ALSIden object)
1253 {
1254 return null;
1255 }
1256
1257 /**
1258 * Returns the result of interpreting the object as an instance of '<em>ALS Univ</em>'.
1259 * <!-- begin-user-doc -->
1260 * This implementation returns null;
1261 * returning a non-null result will terminate the switch.
1262 * <!-- end-user-doc -->
1263 * @param object the target of the switch.
1264 * @return the result of interpreting the object as an instance of '<em>ALS Univ</em>'.
1265 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1266 * @generated
1267 */
1268 public T caseALSUniv(ALSUniv object)
1269 {
1270 return null;
1271 }
1272
1273 /**
1274 * Returns the result of interpreting the object as an instance of '<em>ALS Int</em>'.
1275 * <!-- begin-user-doc -->
1276 * This implementation returns null;
1277 * returning a non-null result will terminate the switch.
1278 * <!-- end-user-doc -->
1279 * @param object the target of the switch.
1280 * @return the result of interpreting the object as an instance of '<em>ALS Int</em>'.
1281 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1282 * @generated
1283 */
1284 public T caseALSInt(ALSInt object)
1285 {
1286 return null;
1287 }
1288
1289 /**
1290 * Returns the result of interpreting the object as an instance of '<em>ALS Reference</em>'.
1291 * <!-- begin-user-doc -->
1292 * This implementation returns null;
1293 * returning a non-null result will terminate the switch.
1294 * <!-- end-user-doc -->
1295 * @param object the target of the switch.
1296 * @return the result of interpreting the object as an instance of '<em>ALS Reference</em>'.
1297 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1298 * @generated
1299 */
1300 public T caseALSReference(ALSReference object)
1301 {
1302 return null;
1303 }
1304
1305 /**
1306 * Returns the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'.
1307 * <!-- begin-user-doc -->
1308 * This implementation returns null;
1309 * returning a non-null result will terminate the switch.
1310 * <!-- end-user-doc -->
1311 * @param object the target of the switch.
1312 * @return the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'.
1313 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1314 * @generated
1315 */
1316 public T caseALSNumberLiteral(ALSNumberLiteral object)
1317 {
1318 return null;
1319 }
1320
1321 /**
1322 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
1323 * <!-- begin-user-doc -->
1324 * This implementation returns null;
1325 * returning a non-null result will terminate the switch, but this is the last case anyway.
1326 * <!-- end-user-doc -->
1327 * @param object the target of the switch.
1328 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
1329 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
1330 * @generated
1331 */
1332 @Override
1333 public T defaultCase(EObject object)
1334 {
1335 return null;
1336 }
1337
1338} //AlloyLanguageSwitch
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java
new file mode 100644
index 00000000..935f6869
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java
@@ -0,0 +1,16 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java
new file mode 100644
index 00000000..4d86e4da
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java
@@ -0,0 +1,39 @@
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-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g
new file mode 100644
index 00000000..25558250
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g
@@ -0,0 +1,3046 @@
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().getALSReferenceAction_4_0(),
2654 $current);
2655 }
2656)(
2657(
2658 {
2659 if ($current==null) {
2660 $current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
2661 }
2662 }
2663 otherlv_9=RULE_ID
2664 {
2665 newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_4_1_0());
2666 }
2667
2668)
2669))
2670 |((
2671 {
2672 $current = forceCreateModelElement(
2673 grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_5_0(),
2674 $current);
2675 }
2676)(
2677(
2678 lv_value_11_0=RULE_INT
2679 {
2680 newLeafNode(lv_value_11_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_5_1_0());
2681 }
2682 {
2683 if ($current==null) {
2684 $current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
2685 }
2686 setWithLastConsumed(
2687 $current,
2688 "value",
2689 lv_value_11_0,
2690 "org.eclipse.xtext.common.Terminals.INT");
2691 }
2692
2693)
2694))
2695 |( otherlv_12='('
2696 {
2697 newLeafNode(otherlv_12, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_6_0());
2698 }
2699
2700 {
2701 newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_6_1());
2702 }
2703 this_ALSTerm_13=ruleALSTerm
2704 {
2705 $current = $this_ALSTerm_13.current;
2706 afterParserOrEnumRuleCall();
2707 }
2708 otherlv_14=')'
2709 {
2710 newLeafNode(otherlv_14, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_6_2());
2711 }
2712))
2713;
2714
2715
2716
2717
2718
2719// Entry rule entryRuleALSRunCommand
2720entryRuleALSRunCommand returns [EObject current=null]
2721 :
2722 { newCompositeNode(grammarAccess.getALSRunCommandRule()); }
2723 iv_ruleALSRunCommand=ruleALSRunCommand
2724 { $current=$iv_ruleALSRunCommand.current; }
2725 EOF
2726;
2727
2728// Rule ALSRunCommand
2729ruleALSRunCommand returns [EObject current=null]
2730 @init { enterRule();
2731 }
2732 @after { leaveRule(); }:
2733((
2734 {
2735 $current = forceCreateModelElement(
2736 grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(),
2737 $current);
2738 }
2739) otherlv_1='run'
2740 {
2741 newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
2742 }
2743 otherlv_2='{'
2744 {
2745 newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
2746 }
2747 otherlv_3='}'
2748 {
2749 newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
2750 }
2751( otherlv_4='for'
2752 {
2753 newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
2754 }
2755(
2756(
2757 {
2758 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
2759 }
2760 lv_typeScopes_5_0=ruleALSTypeScope {
2761 if ($current==null) {
2762 $current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
2763 }
2764 add(
2765 $current,
2766 "typeScopes",
2767 lv_typeScopes_5_0,
2768 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
2769 afterParserOrEnumRuleCall();
2770 }
2771
2772)
2773)( otherlv_6=','
2774 {
2775 newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
2776 }
2777(
2778(
2779 {
2780 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
2781 }
2782 lv_typeScopes_7_0=ruleALSTypeScope {
2783 if ($current==null) {
2784 $current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
2785 }
2786 add(
2787 $current,
2788 "typeScopes",
2789 lv_typeScopes_7_0,
2790 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
2791 afterParserOrEnumRuleCall();
2792 }
2793
2794)
2795))*)?)
2796;
2797
2798
2799
2800
2801
2802// Entry rule entryRuleALSTypeScope
2803entryRuleALSTypeScope returns [EObject current=null]
2804 :
2805 { newCompositeNode(grammarAccess.getALSTypeScopeRule()); }
2806 iv_ruleALSTypeScope=ruleALSTypeScope
2807 { $current=$iv_ruleALSTypeScope.current; }
2808 EOF
2809;
2810
2811// Rule ALSTypeScope
2812ruleALSTypeScope returns [EObject current=null]
2813 @init { enterRule();
2814 }
2815 @after { leaveRule(); }:
2816(
2817 {
2818 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
2819 }
2820 this_ALSSigScope_0=ruleALSSigScope
2821 {
2822 $current = $this_ALSSigScope_0.current;
2823 afterParserOrEnumRuleCall();
2824 }
2825
2826 |
2827 {
2828 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
2829 }
2830 this_ALSIntScope_1=ruleALSIntScope
2831 {
2832 $current = $this_ALSIntScope_1.current;
2833 afterParserOrEnumRuleCall();
2834 }
2835)
2836;
2837
2838
2839
2840
2841
2842// Entry rule entryRuleALSSigScope
2843entryRuleALSSigScope returns [EObject current=null]
2844 :
2845 { newCompositeNode(grammarAccess.getALSSigScopeRule()); }
2846 iv_ruleALSSigScope=ruleALSSigScope
2847 { $current=$iv_ruleALSSigScope.current; }
2848 EOF
2849;
2850
2851// Rule ALSSigScope
2852ruleALSSigScope returns [EObject current=null]
2853 @init { enterRule();
2854 }
2855 @after { leaveRule(); }:
2856((
2857(
2858 lv_exactly_0_0= 'exactly'
2859 {
2860 newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
2861 }
2862
2863 {
2864 if ($current==null) {
2865 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2866 }
2867 setWithLastConsumed($current, "exactly", true, "exactly");
2868 }
2869
2870)
2871)?(
2872(
2873 lv_number_1_0=RULE_INT
2874 {
2875 newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
2876 }
2877 {
2878 if ($current==null) {
2879 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2880 }
2881 setWithLastConsumed(
2882 $current,
2883 "number",
2884 lv_number_1_0,
2885 "org.eclipse.xtext.common.Terminals.INT");
2886 }
2887
2888)
2889)(
2890(
2891 {
2892 if ($current==null) {
2893 $current = createModelElement(grammarAccess.getALSSigScopeRule());
2894 }
2895 }
2896 otherlv_2=RULE_ID
2897 {
2898 newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
2899 }
2900
2901)
2902))
2903;
2904
2905
2906
2907
2908
2909// Entry rule entryRuleALSIntScope
2910entryRuleALSIntScope returns [EObject current=null]
2911 :
2912 { newCompositeNode(grammarAccess.getALSIntScopeRule()); }
2913 iv_ruleALSIntScope=ruleALSIntScope
2914 { $current=$iv_ruleALSIntScope.current; }
2915 EOF
2916;
2917
2918// Rule ALSIntScope
2919ruleALSIntScope returns [EObject current=null]
2920 @init { enterRule();
2921 }
2922 @after { leaveRule(); }:
2923((
2924(
2925 lv_number_0_0=RULE_INT
2926 {
2927 newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
2928 }
2929 {
2930 if ($current==null) {
2931 $current = createModelElement(grammarAccess.getALSIntScopeRule());
2932 }
2933 setWithLastConsumed(
2934 $current,
2935 "number",
2936 lv_number_0_0,
2937 "org.eclipse.xtext.common.Terminals.INT");
2938 }
2939
2940)
2941) otherlv_1='Int'
2942 {
2943 newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
2944 }
2945)
2946;
2947
2948
2949
2950
2951
2952// Rule ALSMultiplicity
2953ruleALSMultiplicity returns [Enumerator current=null]
2954 @init { enterRule(); }
2955 @after { leaveRule(); }:
2956(( enumLiteral_0='all'
2957 {
2958 $current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
2959 newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
2960 }
2961)
2962 |( enumLiteral_1='no'
2963 {
2964 $current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
2965 newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
2966 }
2967)
2968 |( enumLiteral_2='some'
2969 {
2970 $current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
2971 newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
2972 }
2973)
2974 |( enumLiteral_3='lone'
2975 {
2976 $current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
2977 newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
2978 }
2979)
2980 |( enumLiteral_4='one'
2981 {
2982 $current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
2983 newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
2984 }
2985)
2986 |( enumLiteral_5='set'
2987 {
2988 $current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
2989 newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
2990 }
2991));
2992
2993
2994
2995// Rule ALSNumericOperator
2996ruleALSNumericOperator returns [Enumerator current=null]
2997 @init { enterRule(); }
2998 @after { leaveRule(); }:
2999(( enumLiteral_0='plus'
3000 {
3001 $current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
3002 newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
3003 }
3004)
3005 |( enumLiteral_1='sub'
3006 {
3007 $current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
3008 newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
3009 }
3010)
3011 |( enumLiteral_2='mul'
3012 {
3013 $current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
3014 newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
3015 }
3016)
3017 |( enumLiteral_3='rem'
3018 {
3019 $current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
3020 newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
3021 }
3022)
3023 |( enumLiteral_4='div'
3024 {
3025 $current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
3026 newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
3027 }
3028));
3029
3030
3031
3032RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'\''|'"'|'0'..'9')*;
3033
3034RULE_INT : ('0'..'9')+;
3035
3036RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
3037
3038RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
3039
3040RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
3041
3042RULE_WS : (' '|'\t'|'\r'|'\n')+;
3043
3044RULE_ANY_OTHER : .;
3045
3046
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens
new file mode 100644
index 00000000..49d2a448
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens
@@ -0,0 +1,137 @@
1'!'=49
2'!='=37
3'#'=54
4'&&'=34
5'&'=47
6'('=60
7')'=61
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'['=22
27']'=23
28'^'=52
29'abstract'=15
30'all'=65
31'and'=35
32'disj'=26
33'div'=75
34'else'=33
35'enum'=11
36'exactly'=64
37'extends'=17
38'fact'=25
39'for'=63
40'fun'=21
41'iden'=57
42'iff'=30
43'implies'=32
44'in'=18
45'lone'=68
46'mul'=73
47'no'=66
48'none'=56
49'not'=50
50'one'=69
51'or'=28
52'plus'=71
53'pred'=24
54'rem'=74
55'run'=62
56'set'=70
57'sig'=16
58'some'=67
59'sub'=72
60'sum'=55
61'univ'=58
62'{'=12
63'||'=27
64'}'=14
65'~'=51
66RULE_ANY_OTHER=10
67RULE_ID=4
68RULE_INT=5
69RULE_ML_COMMENT=7
70RULE_SL_COMMENT=8
71RULE_STRING=6
72RULE_WS=9
73T__11=11
74T__12=12
75T__13=13
76T__14=14
77T__15=15
78T__16=16
79T__17=17
80T__18=18
81T__19=19
82T__20=20
83T__21=21
84T__22=22
85T__23=23
86T__24=24
87T__25=25
88T__26=26
89T__27=27
90T__28=28
91T__29=29
92T__30=30
93T__31=31
94T__32=32
95T__33=33
96T__34=34
97T__35=35
98T__36=36
99T__37=37
100T__38=38
101T__39=39
102T__40=40
103T__41=41
104T__42=42
105T__43=43
106T__44=44
107T__45=45
108T__46=46
109T__47=47
110T__48=48
111T__49=49
112T__50=50
113T__51=51
114T__52=52
115T__53=53
116T__54=54
117T__55=55
118T__56=56
119T__57=57
120T__58=58
121T__59=59
122T__60=60
123T__61=61
124T__62=62
125T__63=63
126T__64=64
127T__65=65
128T__66=66
129T__67=67
130T__68=68
131T__69=69
132T__70=70
133T__71=71
134T__72=72
135T__73=73
136T__74=74
137T__75=75
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java
new file mode 100644
index 00000000..27488784
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java
@@ -0,0 +1,2816 @@
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 RULE_WS=9;
77 public static final int RULE_ANY_OTHER=10;
78 public static final int T__48=48;
79 public static final int T__49=49;
80 public static final int T__44=44;
81 public static final int T__45=45;
82 public static final int T__46=46;
83 public static final int T__47=47;
84 public static final int T__40=40;
85 public static final int T__41=41;
86 public static final int T__42=42;
87 public static final int T__43=43;
88
89 // delegates
90 // delegators
91
92 public InternalAlloyLanguageLexer() {;}
93 public InternalAlloyLanguageLexer(CharStream input) {
94 this(input, new RecognizerSharedState());
95 }
96 public InternalAlloyLanguageLexer(CharStream input, RecognizerSharedState state) {
97 super(input,state);
98
99 }
100 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
101
102 // $ANTLR start "T__11"
103 public final void mT__11() throws RecognitionException {
104 try {
105 int _type = T__11;
106 int _channel = DEFAULT_TOKEN_CHANNEL;
107 // InternalAlloyLanguage.g:11:7: ( 'enum' )
108 // InternalAlloyLanguage.g:11:9: 'enum'
109 {
110 match("enum");
111
112
113 }
114
115 state.type = _type;
116 state.channel = _channel;
117 }
118 finally {
119 }
120 }
121 // $ANTLR end "T__11"
122
123 // $ANTLR start "T__12"
124 public final void mT__12() throws RecognitionException {
125 try {
126 int _type = T__12;
127 int _channel = DEFAULT_TOKEN_CHANNEL;
128 // InternalAlloyLanguage.g:12:7: ( '{' )
129 // InternalAlloyLanguage.g:12:9: '{'
130 {
131 match('{');
132
133 }
134
135 state.type = _type;
136 state.channel = _channel;
137 }
138 finally {
139 }
140 }
141 // $ANTLR end "T__12"
142
143 // $ANTLR start "T__13"
144 public final void mT__13() throws RecognitionException {
145 try {
146 int _type = T__13;
147 int _channel = DEFAULT_TOKEN_CHANNEL;
148 // InternalAlloyLanguage.g:13:7: ( ',' )
149 // InternalAlloyLanguage.g:13:9: ','
150 {
151 match(',');
152
153 }
154
155 state.type = _type;
156 state.channel = _channel;
157 }
158 finally {
159 }
160 }
161 // $ANTLR end "T__13"
162
163 // $ANTLR start "T__14"
164 public final void mT__14() throws RecognitionException {
165 try {
166 int _type = T__14;
167 int _channel = DEFAULT_TOKEN_CHANNEL;
168 // InternalAlloyLanguage.g:14:7: ( '}' )
169 // InternalAlloyLanguage.g:14:9: '}'
170 {
171 match('}');
172
173 }
174
175 state.type = _type;
176 state.channel = _channel;
177 }
178 finally {
179 }
180 }
181 // $ANTLR end "T__14"
182
183 // $ANTLR start "T__15"
184 public final void mT__15() throws RecognitionException {
185 try {
186 int _type = T__15;
187 int _channel = DEFAULT_TOKEN_CHANNEL;
188 // InternalAlloyLanguage.g:15:7: ( 'abstract' )
189 // InternalAlloyLanguage.g:15:9: 'abstract'
190 {
191 match("abstract");
192
193
194 }
195
196 state.type = _type;
197 state.channel = _channel;
198 }
199 finally {
200 }
201 }
202 // $ANTLR end "T__15"
203
204 // $ANTLR start "T__16"
205 public final void mT__16() throws RecognitionException {
206 try {
207 int _type = T__16;
208 int _channel = DEFAULT_TOKEN_CHANNEL;
209 // InternalAlloyLanguage.g:16:7: ( 'sig' )
210 // InternalAlloyLanguage.g:16:9: 'sig'
211 {
212 match("sig");
213
214
215 }
216
217 state.type = _type;
218 state.channel = _channel;
219 }
220 finally {
221 }
222 }
223 // $ANTLR end "T__16"
224
225 // $ANTLR start "T__17"
226 public final void mT__17() throws RecognitionException {
227 try {
228 int _type = T__17;
229 int _channel = DEFAULT_TOKEN_CHANNEL;
230 // InternalAlloyLanguage.g:17:7: ( 'extends' )
231 // InternalAlloyLanguage.g:17:9: 'extends'
232 {
233 match("extends");
234
235
236 }
237
238 state.type = _type;
239 state.channel = _channel;
240 }
241 finally {
242 }
243 }
244 // $ANTLR end "T__17"
245
246 // $ANTLR start "T__18"
247 public final void mT__18() throws RecognitionException {
248 try {
249 int _type = T__18;
250 int _channel = DEFAULT_TOKEN_CHANNEL;
251 // InternalAlloyLanguage.g:18:7: ( 'in' )
252 // InternalAlloyLanguage.g:18:9: 'in'
253 {
254 match("in");
255
256
257 }
258
259 state.type = _type;
260 state.channel = _channel;
261 }
262 finally {
263 }
264 }
265 // $ANTLR end "T__18"
266
267 // $ANTLR start "T__19"
268 public final void mT__19() throws RecognitionException {
269 try {
270 int _type = T__19;
271 int _channel = DEFAULT_TOKEN_CHANNEL;
272 // InternalAlloyLanguage.g:19:7: ( '+' )
273 // InternalAlloyLanguage.g:19:9: '+'
274 {
275 match('+');
276
277 }
278
279 state.type = _type;
280 state.channel = _channel;
281 }
282 finally {
283 }
284 }
285 // $ANTLR end "T__19"
286
287 // $ANTLR start "T__20"
288 public final void mT__20() throws RecognitionException {
289 try {
290 int _type = T__20;
291 int _channel = DEFAULT_TOKEN_CHANNEL;
292 // InternalAlloyLanguage.g:20:7: ( ':' )
293 // InternalAlloyLanguage.g:20:9: ':'
294 {
295 match(':');
296
297 }
298
299 state.type = _type;
300 state.channel = _channel;
301 }
302 finally {
303 }
304 }
305 // $ANTLR end "T__20"
306
307 // $ANTLR start "T__21"
308 public final void mT__21() throws RecognitionException {
309 try {
310 int _type = T__21;
311 int _channel = DEFAULT_TOKEN_CHANNEL;
312 // InternalAlloyLanguage.g:21:7: ( 'fun' )
313 // InternalAlloyLanguage.g:21:9: 'fun'
314 {
315 match("fun");
316
317
318 }
319
320 state.type = _type;
321 state.channel = _channel;
322 }
323 finally {
324 }
325 }
326 // $ANTLR end "T__21"
327
328 // $ANTLR start "T__22"
329 public final void mT__22() throws RecognitionException {
330 try {
331 int _type = T__22;
332 int _channel = DEFAULT_TOKEN_CHANNEL;
333 // InternalAlloyLanguage.g:22:7: ( '[' )
334 // InternalAlloyLanguage.g:22:9: '['
335 {
336 match('[');
337
338 }
339
340 state.type = _type;
341 state.channel = _channel;
342 }
343 finally {
344 }
345 }
346 // $ANTLR end "T__22"
347
348 // $ANTLR start "T__23"
349 public final void mT__23() throws RecognitionException {
350 try {
351 int _type = T__23;
352 int _channel = DEFAULT_TOKEN_CHANNEL;
353 // InternalAlloyLanguage.g:23:7: ( ']' )
354 // InternalAlloyLanguage.g:23:9: ']'
355 {
356 match(']');
357
358 }
359
360 state.type = _type;
361 state.channel = _channel;
362 }
363 finally {
364 }
365 }
366 // $ANTLR end "T__23"
367
368 // $ANTLR start "T__24"
369 public final void mT__24() throws RecognitionException {
370 try {
371 int _type = T__24;
372 int _channel = DEFAULT_TOKEN_CHANNEL;
373 // InternalAlloyLanguage.g:24:7: ( 'pred' )
374 // InternalAlloyLanguage.g:24:9: 'pred'
375 {
376 match("pred");
377
378
379 }
380
381 state.type = _type;
382 state.channel = _channel;
383 }
384 finally {
385 }
386 }
387 // $ANTLR end "T__24"
388
389 // $ANTLR start "T__25"
390 public final void mT__25() throws RecognitionException {
391 try {
392 int _type = T__25;
393 int _channel = DEFAULT_TOKEN_CHANNEL;
394 // InternalAlloyLanguage.g:25:7: ( 'fact' )
395 // InternalAlloyLanguage.g:25:9: 'fact'
396 {
397 match("fact");
398
399
400 }
401
402 state.type = _type;
403 state.channel = _channel;
404 }
405 finally {
406 }
407 }
408 // $ANTLR end "T__25"
409
410 // $ANTLR start "T__26"
411 public final void mT__26() throws RecognitionException {
412 try {
413 int _type = T__26;
414 int _channel = DEFAULT_TOKEN_CHANNEL;
415 // InternalAlloyLanguage.g:26:7: ( 'disj' )
416 // InternalAlloyLanguage.g:26:9: 'disj'
417 {
418 match("disj");
419
420
421 }
422
423 state.type = _type;
424 state.channel = _channel;
425 }
426 finally {
427 }
428 }
429 // $ANTLR end "T__26"
430
431 // $ANTLR start "T__27"
432 public final void mT__27() throws RecognitionException {
433 try {
434 int _type = T__27;
435 int _channel = DEFAULT_TOKEN_CHANNEL;
436 // InternalAlloyLanguage.g:27:7: ( '||' )
437 // InternalAlloyLanguage.g:27:9: '||'
438 {
439 match("||");
440
441
442 }
443
444 state.type = _type;
445 state.channel = _channel;
446 }
447 finally {
448 }
449 }
450 // $ANTLR end "T__27"
451
452 // $ANTLR start "T__28"
453 public final void mT__28() throws RecognitionException {
454 try {
455 int _type = T__28;
456 int _channel = DEFAULT_TOKEN_CHANNEL;
457 // InternalAlloyLanguage.g:28:7: ( 'or' )
458 // InternalAlloyLanguage.g:28:9: 'or'
459 {
460 match("or");
461
462
463 }
464
465 state.type = _type;
466 state.channel = _channel;
467 }
468 finally {
469 }
470 }
471 // $ANTLR end "T__28"
472
473 // $ANTLR start "T__29"
474 public final void mT__29() throws RecognitionException {
475 try {
476 int _type = T__29;
477 int _channel = DEFAULT_TOKEN_CHANNEL;
478 // InternalAlloyLanguage.g:29:7: ( '<=>' )
479 // InternalAlloyLanguage.g:29:9: '<=>'
480 {
481 match("<=>");
482
483
484 }
485
486 state.type = _type;
487 state.channel = _channel;
488 }
489 finally {
490 }
491 }
492 // $ANTLR end "T__29"
493
494 // $ANTLR start "T__30"
495 public final void mT__30() throws RecognitionException {
496 try {
497 int _type = T__30;
498 int _channel = DEFAULT_TOKEN_CHANNEL;
499 // InternalAlloyLanguage.g:30:7: ( 'iff' )
500 // InternalAlloyLanguage.g:30:9: 'iff'
501 {
502 match("iff");
503
504
505 }
506
507 state.type = _type;
508 state.channel = _channel;
509 }
510 finally {
511 }
512 }
513 // $ANTLR end "T__30"
514
515 // $ANTLR start "T__31"
516 public final void mT__31() throws RecognitionException {
517 try {
518 int _type = T__31;
519 int _channel = DEFAULT_TOKEN_CHANNEL;
520 // InternalAlloyLanguage.g:31:7: ( '=>' )
521 // InternalAlloyLanguage.g:31:9: '=>'
522 {
523 match("=>");
524
525
526 }
527
528 state.type = _type;
529 state.channel = _channel;
530 }
531 finally {
532 }
533 }
534 // $ANTLR end "T__31"
535
536 // $ANTLR start "T__32"
537 public final void mT__32() throws RecognitionException {
538 try {
539 int _type = T__32;
540 int _channel = DEFAULT_TOKEN_CHANNEL;
541 // InternalAlloyLanguage.g:32:7: ( 'implies' )
542 // InternalAlloyLanguage.g:32:9: 'implies'
543 {
544 match("implies");
545
546
547 }
548
549 state.type = _type;
550 state.channel = _channel;
551 }
552 finally {
553 }
554 }
555 // $ANTLR end "T__32"
556
557 // $ANTLR start "T__33"
558 public final void mT__33() throws RecognitionException {
559 try {
560 int _type = T__33;
561 int _channel = DEFAULT_TOKEN_CHANNEL;
562 // InternalAlloyLanguage.g:33:7: ( 'else' )
563 // InternalAlloyLanguage.g:33:9: 'else'
564 {
565 match("else");
566
567
568 }
569
570 state.type = _type;
571 state.channel = _channel;
572 }
573 finally {
574 }
575 }
576 // $ANTLR end "T__33"
577
578 // $ANTLR start "T__34"
579 public final void mT__34() throws RecognitionException {
580 try {
581 int _type = T__34;
582 int _channel = DEFAULT_TOKEN_CHANNEL;
583 // InternalAlloyLanguage.g:34:7: ( '&&' )
584 // InternalAlloyLanguage.g:34:9: '&&'
585 {
586 match("&&");
587
588
589 }
590
591 state.type = _type;
592 state.channel = _channel;
593 }
594 finally {
595 }
596 }
597 // $ANTLR end "T__34"
598
599 // $ANTLR start "T__35"
600 public final void mT__35() throws RecognitionException {
601 try {
602 int _type = T__35;
603 int _channel = DEFAULT_TOKEN_CHANNEL;
604 // InternalAlloyLanguage.g:35:7: ( 'and' )
605 // InternalAlloyLanguage.g:35:9: 'and'
606 {
607 match("and");
608
609
610 }
611
612 state.type = _type;
613 state.channel = _channel;
614 }
615 finally {
616 }
617 }
618 // $ANTLR end "T__35"
619
620 // $ANTLR start "T__36"
621 public final void mT__36() throws RecognitionException {
622 try {
623 int _type = T__36;
624 int _channel = DEFAULT_TOKEN_CHANNEL;
625 // InternalAlloyLanguage.g:36:7: ( '=' )
626 // InternalAlloyLanguage.g:36:9: '='
627 {
628 match('=');
629
630 }
631
632 state.type = _type;
633 state.channel = _channel;
634 }
635 finally {
636 }
637 }
638 // $ANTLR end "T__36"
639
640 // $ANTLR start "T__37"
641 public final void mT__37() throws RecognitionException {
642 try {
643 int _type = T__37;
644 int _channel = DEFAULT_TOKEN_CHANNEL;
645 // InternalAlloyLanguage.g:37:7: ( '!=' )
646 // InternalAlloyLanguage.g:37:9: '!='
647 {
648 match("!=");
649
650
651 }
652
653 state.type = _type;
654 state.channel = _channel;
655 }
656 finally {
657 }
658 }
659 // $ANTLR end "T__37"
660
661 // $ANTLR start "T__38"
662 public final void mT__38() throws RecognitionException {
663 try {
664 int _type = T__38;
665 int _channel = DEFAULT_TOKEN_CHANNEL;
666 // InternalAlloyLanguage.g:38:7: ( '>' )
667 // InternalAlloyLanguage.g:38:9: '>'
668 {
669 match('>');
670
671 }
672
673 state.type = _type;
674 state.channel = _channel;
675 }
676 finally {
677 }
678 }
679 // $ANTLR end "T__38"
680
681 // $ANTLR start "T__39"
682 public final void mT__39() throws RecognitionException {
683 try {
684 int _type = T__39;
685 int _channel = DEFAULT_TOKEN_CHANNEL;
686 // InternalAlloyLanguage.g:39:7: ( '>=' )
687 // InternalAlloyLanguage.g:39:9: '>='
688 {
689 match(">=");
690
691
692 }
693
694 state.type = _type;
695 state.channel = _channel;
696 }
697 finally {
698 }
699 }
700 // $ANTLR end "T__39"
701
702 // $ANTLR start "T__40"
703 public final void mT__40() throws RecognitionException {
704 try {
705 int _type = T__40;
706 int _channel = DEFAULT_TOKEN_CHANNEL;
707 // InternalAlloyLanguage.g:40:7: ( '<' )
708 // InternalAlloyLanguage.g:40:9: '<'
709 {
710 match('<');
711
712 }
713
714 state.type = _type;
715 state.channel = _channel;
716 }
717 finally {
718 }
719 }
720 // $ANTLR end "T__40"
721
722 // $ANTLR start "T__41"
723 public final void mT__41() throws RecognitionException {
724 try {
725 int _type = T__41;
726 int _channel = DEFAULT_TOKEN_CHANNEL;
727 // InternalAlloyLanguage.g:41:7: ( '<=' )
728 // InternalAlloyLanguage.g:41:9: '<='
729 {
730 match("<=");
731
732
733 }
734
735 state.type = _type;
736 state.channel = _channel;
737 }
738 finally {
739 }
740 }
741 // $ANTLR end "T__41"
742
743 // $ANTLR start "T__42"
744 public final void mT__42() throws RecognitionException {
745 try {
746 int _type = T__42;
747 int _channel = DEFAULT_TOKEN_CHANNEL;
748 // InternalAlloyLanguage.g:42:7: ( '++' )
749 // InternalAlloyLanguage.g:42:9: '++'
750 {
751 match("++");
752
753
754 }
755
756 state.type = _type;
757 state.channel = _channel;
758 }
759 finally {
760 }
761 }
762 // $ANTLR end "T__42"
763
764 // $ANTLR start "T__43"
765 public final void mT__43() throws RecognitionException {
766 try {
767 int _type = T__43;
768 int _channel = DEFAULT_TOKEN_CHANNEL;
769 // InternalAlloyLanguage.g:43:7: ( ':>' )
770 // InternalAlloyLanguage.g:43:9: ':>'
771 {
772 match(":>");
773
774
775 }
776
777 state.type = _type;
778 state.channel = _channel;
779 }
780 finally {
781 }
782 }
783 // $ANTLR end "T__43"
784
785 // $ANTLR start "T__44"
786 public final void mT__44() throws RecognitionException {
787 try {
788 int _type = T__44;
789 int _channel = DEFAULT_TOKEN_CHANNEL;
790 // InternalAlloyLanguage.g:44:7: ( '<:' )
791 // InternalAlloyLanguage.g:44:9: '<:'
792 {
793 match("<:");
794
795
796 }
797
798 state.type = _type;
799 state.channel = _channel;
800 }
801 finally {
802 }
803 }
804 // $ANTLR end "T__44"
805
806 // $ANTLR start "T__45"
807 public final void mT__45() throws RecognitionException {
808 try {
809 int _type = T__45;
810 int _channel = DEFAULT_TOKEN_CHANNEL;
811 // InternalAlloyLanguage.g:45:7: ( '.' )
812 // InternalAlloyLanguage.g:45:9: '.'
813 {
814 match('.');
815
816 }
817
818 state.type = _type;
819 state.channel = _channel;
820 }
821 finally {
822 }
823 }
824 // $ANTLR end "T__45"
825
826 // $ANTLR start "T__46"
827 public final void mT__46() throws RecognitionException {
828 try {
829 int _type = T__46;
830 int _channel = DEFAULT_TOKEN_CHANNEL;
831 // InternalAlloyLanguage.g:46:7: ( '-' )
832 // InternalAlloyLanguage.g:46:9: '-'
833 {
834 match('-');
835
836 }
837
838 state.type = _type;
839 state.channel = _channel;
840 }
841 finally {
842 }
843 }
844 // $ANTLR end "T__46"
845
846 // $ANTLR start "T__47"
847 public final void mT__47() throws RecognitionException {
848 try {
849 int _type = T__47;
850 int _channel = DEFAULT_TOKEN_CHANNEL;
851 // InternalAlloyLanguage.g:47:7: ( '&' )
852 // InternalAlloyLanguage.g:47:9: '&'
853 {
854 match('&');
855
856 }
857
858 state.type = _type;
859 state.channel = _channel;
860 }
861 finally {
862 }
863 }
864 // $ANTLR end "T__47"
865
866 // $ANTLR start "T__48"
867 public final void mT__48() throws RecognitionException {
868 try {
869 int _type = T__48;
870 int _channel = DEFAULT_TOKEN_CHANNEL;
871 // InternalAlloyLanguage.g:48:7: ( '->' )
872 // InternalAlloyLanguage.g:48:9: '->'
873 {
874 match("->");
875
876
877 }
878
879 state.type = _type;
880 state.channel = _channel;
881 }
882 finally {
883 }
884 }
885 // $ANTLR end "T__48"
886
887 // $ANTLR start "T__49"
888 public final void mT__49() throws RecognitionException {
889 try {
890 int _type = T__49;
891 int _channel = DEFAULT_TOKEN_CHANNEL;
892 // InternalAlloyLanguage.g:49:7: ( '!' )
893 // InternalAlloyLanguage.g:49:9: '!'
894 {
895 match('!');
896
897 }
898
899 state.type = _type;
900 state.channel = _channel;
901 }
902 finally {
903 }
904 }
905 // $ANTLR end "T__49"
906
907 // $ANTLR start "T__50"
908 public final void mT__50() throws RecognitionException {
909 try {
910 int _type = T__50;
911 int _channel = DEFAULT_TOKEN_CHANNEL;
912 // InternalAlloyLanguage.g:50:7: ( 'not' )
913 // InternalAlloyLanguage.g:50:9: 'not'
914 {
915 match("not");
916
917
918 }
919
920 state.type = _type;
921 state.channel = _channel;
922 }
923 finally {
924 }
925 }
926 // $ANTLR end "T__50"
927
928 // $ANTLR start "T__51"
929 public final void mT__51() throws RecognitionException {
930 try {
931 int _type = T__51;
932 int _channel = DEFAULT_TOKEN_CHANNEL;
933 // InternalAlloyLanguage.g:51:7: ( '~' )
934 // InternalAlloyLanguage.g:51:9: '~'
935 {
936 match('~');
937
938 }
939
940 state.type = _type;
941 state.channel = _channel;
942 }
943 finally {
944 }
945 }
946 // $ANTLR end "T__51"
947
948 // $ANTLR start "T__52"
949 public final void mT__52() throws RecognitionException {
950 try {
951 int _type = T__52;
952 int _channel = DEFAULT_TOKEN_CHANNEL;
953 // InternalAlloyLanguage.g:52:7: ( '^' )
954 // InternalAlloyLanguage.g:52:9: '^'
955 {
956 match('^');
957
958 }
959
960 state.type = _type;
961 state.channel = _channel;
962 }
963 finally {
964 }
965 }
966 // $ANTLR end "T__52"
967
968 // $ANTLR start "T__53"
969 public final void mT__53() throws RecognitionException {
970 try {
971 int _type = T__53;
972 int _channel = DEFAULT_TOKEN_CHANNEL;
973 // InternalAlloyLanguage.g:53:7: ( '*' )
974 // InternalAlloyLanguage.g:53:9: '*'
975 {
976 match('*');
977
978 }
979
980 state.type = _type;
981 state.channel = _channel;
982 }
983 finally {
984 }
985 }
986 // $ANTLR end "T__53"
987
988 // $ANTLR start "T__54"
989 public final void mT__54() throws RecognitionException {
990 try {
991 int _type = T__54;
992 int _channel = DEFAULT_TOKEN_CHANNEL;
993 // InternalAlloyLanguage.g:54:7: ( '#' )
994 // InternalAlloyLanguage.g:54:9: '#'
995 {
996 match('#');
997
998 }
999
1000 state.type = _type;
1001 state.channel = _channel;
1002 }
1003 finally {
1004 }
1005 }
1006 // $ANTLR end "T__54"
1007
1008 // $ANTLR start "T__55"
1009 public final void mT__55() throws RecognitionException {
1010 try {
1011 int _type = T__55;
1012 int _channel = DEFAULT_TOKEN_CHANNEL;
1013 // InternalAlloyLanguage.g:55:7: ( 'sum' )
1014 // InternalAlloyLanguage.g:55:9: 'sum'
1015 {
1016 match("sum");
1017
1018
1019 }
1020
1021 state.type = _type;
1022 state.channel = _channel;
1023 }
1024 finally {
1025 }
1026 }
1027 // $ANTLR end "T__55"
1028
1029 // $ANTLR start "T__56"
1030 public final void mT__56() throws RecognitionException {
1031 try {
1032 int _type = T__56;
1033 int _channel = DEFAULT_TOKEN_CHANNEL;
1034 // InternalAlloyLanguage.g:56:7: ( 'none' )
1035 // InternalAlloyLanguage.g:56:9: 'none'
1036 {
1037 match("none");
1038
1039
1040 }
1041
1042 state.type = _type;
1043 state.channel = _channel;
1044 }
1045 finally {
1046 }
1047 }
1048 // $ANTLR end "T__56"
1049
1050 // $ANTLR start "T__57"
1051 public final void mT__57() throws RecognitionException {
1052 try {
1053 int _type = T__57;
1054 int _channel = DEFAULT_TOKEN_CHANNEL;
1055 // InternalAlloyLanguage.g:57:7: ( 'iden' )
1056 // InternalAlloyLanguage.g:57:9: 'iden'
1057 {
1058 match("iden");
1059
1060
1061 }
1062
1063 state.type = _type;
1064 state.channel = _channel;
1065 }
1066 finally {
1067 }
1068 }
1069 // $ANTLR end "T__57"
1070
1071 // $ANTLR start "T__58"
1072 public final void mT__58() throws RecognitionException {
1073 try {
1074 int _type = T__58;
1075 int _channel = DEFAULT_TOKEN_CHANNEL;
1076 // InternalAlloyLanguage.g:58:7: ( 'univ' )
1077 // InternalAlloyLanguage.g:58:9: 'univ'
1078 {
1079 match("univ");
1080
1081
1082 }
1083
1084 state.type = _type;
1085 state.channel = _channel;
1086 }
1087 finally {
1088 }
1089 }
1090 // $ANTLR end "T__58"
1091
1092 // $ANTLR start "T__59"
1093 public final void mT__59() throws RecognitionException {
1094 try {
1095 int _type = T__59;
1096 int _channel = DEFAULT_TOKEN_CHANNEL;
1097 // InternalAlloyLanguage.g:59:7: ( 'Int' )
1098 // InternalAlloyLanguage.g:59:9: 'Int'
1099 {
1100 match("Int");
1101
1102
1103 }
1104
1105 state.type = _type;
1106 state.channel = _channel;
1107 }
1108 finally {
1109 }
1110 }
1111 // $ANTLR end "T__59"
1112
1113 // $ANTLR start "T__60"
1114 public final void mT__60() throws RecognitionException {
1115 try {
1116 int _type = T__60;
1117 int _channel = DEFAULT_TOKEN_CHANNEL;
1118 // InternalAlloyLanguage.g:60:7: ( '(' )
1119 // InternalAlloyLanguage.g:60:9: '('
1120 {
1121 match('(');
1122
1123 }
1124
1125 state.type = _type;
1126 state.channel = _channel;
1127 }
1128 finally {
1129 }
1130 }
1131 // $ANTLR end "T__60"
1132
1133 // $ANTLR start "T__61"
1134 public final void mT__61() throws RecognitionException {
1135 try {
1136 int _type = T__61;
1137 int _channel = DEFAULT_TOKEN_CHANNEL;
1138 // InternalAlloyLanguage.g:61:7: ( ')' )
1139 // InternalAlloyLanguage.g:61:9: ')'
1140 {
1141 match(')');
1142
1143 }
1144
1145 state.type = _type;
1146 state.channel = _channel;
1147 }
1148 finally {
1149 }
1150 }
1151 // $ANTLR end "T__61"
1152
1153 // $ANTLR start "T__62"
1154 public final void mT__62() throws RecognitionException {
1155 try {
1156 int _type = T__62;
1157 int _channel = DEFAULT_TOKEN_CHANNEL;
1158 // InternalAlloyLanguage.g:62:7: ( 'run' )
1159 // InternalAlloyLanguage.g:62:9: 'run'
1160 {
1161 match("run");
1162
1163
1164 }
1165
1166 state.type = _type;
1167 state.channel = _channel;
1168 }
1169 finally {
1170 }
1171 }
1172 // $ANTLR end "T__62"
1173
1174 // $ANTLR start "T__63"
1175 public final void mT__63() throws RecognitionException {
1176 try {
1177 int _type = T__63;
1178 int _channel = DEFAULT_TOKEN_CHANNEL;
1179 // InternalAlloyLanguage.g:63:7: ( 'for' )
1180 // InternalAlloyLanguage.g:63:9: 'for'
1181 {
1182 match("for");
1183
1184
1185 }
1186
1187 state.type = _type;
1188 state.channel = _channel;
1189 }
1190 finally {
1191 }
1192 }
1193 // $ANTLR end "T__63"
1194
1195 // $ANTLR start "T__64"
1196 public final void mT__64() throws RecognitionException {
1197 try {
1198 int _type = T__64;
1199 int _channel = DEFAULT_TOKEN_CHANNEL;
1200 // InternalAlloyLanguage.g:64:7: ( 'exactly' )
1201 // InternalAlloyLanguage.g:64:9: 'exactly'
1202 {
1203 match("exactly");
1204
1205
1206 }
1207
1208 state.type = _type;
1209 state.channel = _channel;
1210 }
1211 finally {
1212 }
1213 }
1214 // $ANTLR end "T__64"
1215
1216 // $ANTLR start "T__65"
1217 public final void mT__65() throws RecognitionException {
1218 try {
1219 int _type = T__65;
1220 int _channel = DEFAULT_TOKEN_CHANNEL;
1221 // InternalAlloyLanguage.g:65:7: ( 'all' )
1222 // InternalAlloyLanguage.g:65:9: 'all'
1223 {
1224 match("all");
1225
1226
1227 }
1228
1229 state.type = _type;
1230 state.channel = _channel;
1231 }
1232 finally {
1233 }
1234 }
1235 // $ANTLR end "T__65"
1236
1237 // $ANTLR start "T__66"
1238 public final void mT__66() throws RecognitionException {
1239 try {
1240 int _type = T__66;
1241 int _channel = DEFAULT_TOKEN_CHANNEL;
1242 // InternalAlloyLanguage.g:66:7: ( 'no' )
1243 // InternalAlloyLanguage.g:66:9: 'no'
1244 {
1245 match("no");
1246
1247
1248 }
1249
1250 state.type = _type;
1251 state.channel = _channel;
1252 }
1253 finally {
1254 }
1255 }
1256 // $ANTLR end "T__66"
1257
1258 // $ANTLR start "T__67"
1259 public final void mT__67() throws RecognitionException {
1260 try {
1261 int _type = T__67;
1262 int _channel = DEFAULT_TOKEN_CHANNEL;
1263 // InternalAlloyLanguage.g:67:7: ( 'some' )
1264 // InternalAlloyLanguage.g:67:9: 'some'
1265 {
1266 match("some");
1267
1268
1269 }
1270
1271 state.type = _type;
1272 state.channel = _channel;
1273 }
1274 finally {
1275 }
1276 }
1277 // $ANTLR end "T__67"
1278
1279 // $ANTLR start "T__68"
1280 public final void mT__68() throws RecognitionException {
1281 try {
1282 int _type = T__68;
1283 int _channel = DEFAULT_TOKEN_CHANNEL;
1284 // InternalAlloyLanguage.g:68:7: ( 'lone' )
1285 // InternalAlloyLanguage.g:68:9: 'lone'
1286 {
1287 match("lone");
1288
1289
1290 }
1291
1292 state.type = _type;
1293 state.channel = _channel;
1294 }
1295 finally {
1296 }
1297 }
1298 // $ANTLR end "T__68"
1299
1300 // $ANTLR start "T__69"
1301 public final void mT__69() throws RecognitionException {
1302 try {
1303 int _type = T__69;
1304 int _channel = DEFAULT_TOKEN_CHANNEL;
1305 // InternalAlloyLanguage.g:69:7: ( 'one' )
1306 // InternalAlloyLanguage.g:69:9: 'one'
1307 {
1308 match("one");
1309
1310
1311 }
1312
1313 state.type = _type;
1314 state.channel = _channel;
1315 }
1316 finally {
1317 }
1318 }
1319 // $ANTLR end "T__69"
1320
1321 // $ANTLR start "T__70"
1322 public final void mT__70() throws RecognitionException {
1323 try {
1324 int _type = T__70;
1325 int _channel = DEFAULT_TOKEN_CHANNEL;
1326 // InternalAlloyLanguage.g:70:7: ( 'set' )
1327 // InternalAlloyLanguage.g:70:9: 'set'
1328 {
1329 match("set");
1330
1331
1332 }
1333
1334 state.type = _type;
1335 state.channel = _channel;
1336 }
1337 finally {
1338 }
1339 }
1340 // $ANTLR end "T__70"
1341
1342 // $ANTLR start "T__71"
1343 public final void mT__71() throws RecognitionException {
1344 try {
1345 int _type = T__71;
1346 int _channel = DEFAULT_TOKEN_CHANNEL;
1347 // InternalAlloyLanguage.g:71:7: ( 'plus' )
1348 // InternalAlloyLanguage.g:71:9: 'plus'
1349 {
1350 match("plus");
1351
1352
1353 }
1354
1355 state.type = _type;
1356 state.channel = _channel;
1357 }
1358 finally {
1359 }
1360 }
1361 // $ANTLR end "T__71"
1362
1363 // $ANTLR start "T__72"
1364 public final void mT__72() throws RecognitionException {
1365 try {
1366 int _type = T__72;
1367 int _channel = DEFAULT_TOKEN_CHANNEL;
1368 // InternalAlloyLanguage.g:72:7: ( 'sub' )
1369 // InternalAlloyLanguage.g:72:9: 'sub'
1370 {
1371 match("sub");
1372
1373
1374 }
1375
1376 state.type = _type;
1377 state.channel = _channel;
1378 }
1379 finally {
1380 }
1381 }
1382 // $ANTLR end "T__72"
1383
1384 // $ANTLR start "T__73"
1385 public final void mT__73() throws RecognitionException {
1386 try {
1387 int _type = T__73;
1388 int _channel = DEFAULT_TOKEN_CHANNEL;
1389 // InternalAlloyLanguage.g:73:7: ( 'mul' )
1390 // InternalAlloyLanguage.g:73:9: 'mul'
1391 {
1392 match("mul");
1393
1394
1395 }
1396
1397 state.type = _type;
1398 state.channel = _channel;
1399 }
1400 finally {
1401 }
1402 }
1403 // $ANTLR end "T__73"
1404
1405 // $ANTLR start "T__74"
1406 public final void mT__74() throws RecognitionException {
1407 try {
1408 int _type = T__74;
1409 int _channel = DEFAULT_TOKEN_CHANNEL;
1410 // InternalAlloyLanguage.g:74:7: ( 'rem' )
1411 // InternalAlloyLanguage.g:74:9: 'rem'
1412 {
1413 match("rem");
1414
1415
1416 }
1417
1418 state.type = _type;
1419 state.channel = _channel;
1420 }
1421 finally {
1422 }
1423 }
1424 // $ANTLR end "T__74"
1425
1426 // $ANTLR start "T__75"
1427 public final void mT__75() throws RecognitionException {
1428 try {
1429 int _type = T__75;
1430 int _channel = DEFAULT_TOKEN_CHANNEL;
1431 // InternalAlloyLanguage.g:75:7: ( 'div' )
1432 // InternalAlloyLanguage.g:75:9: 'div'
1433 {
1434 match("div");
1435
1436
1437 }
1438
1439 state.type = _type;
1440 state.channel = _channel;
1441 }
1442 finally {
1443 }
1444 }
1445 // $ANTLR end "T__75"
1446
1447 // $ANTLR start "RULE_ID"
1448 public final void mRULE_ID() throws RecognitionException {
1449 try {
1450 int _type = RULE_ID;
1451 int _channel = DEFAULT_TOKEN_CHANNEL;
1452 // InternalAlloyLanguage.g:3032:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* )
1453 // InternalAlloyLanguage.g:3032:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1454 {
1455 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
1456 input.consume();
1457
1458 }
1459 else {
1460 MismatchedSetException mse = new MismatchedSetException(null,input);
1461 recover(mse);
1462 throw mse;}
1463
1464 // InternalAlloyLanguage.g:3032:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )*
1465 loop1:
1466 do {
1467 int alt1=2;
1468 int LA1_0 = input.LA(1);
1469
1470 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')) ) {
1471 alt1=1;
1472 }
1473
1474
1475 switch (alt1) {
1476 case 1 :
1477 // InternalAlloyLanguage.g:
1478 {
1479 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') ) {
1480 input.consume();
1481
1482 }
1483 else {
1484 MismatchedSetException mse = new MismatchedSetException(null,input);
1485 recover(mse);
1486 throw mse;}
1487
1488
1489 }
1490 break;
1491
1492 default :
1493 break loop1;
1494 }
1495 } while (true);
1496
1497
1498 }
1499
1500 state.type = _type;
1501 state.channel = _channel;
1502 }
1503 finally {
1504 }
1505 }
1506 // $ANTLR end "RULE_ID"
1507
1508 // $ANTLR start "RULE_INT"
1509 public final void mRULE_INT() throws RecognitionException {
1510 try {
1511 int _type = RULE_INT;
1512 int _channel = DEFAULT_TOKEN_CHANNEL;
1513 // InternalAlloyLanguage.g:3034:10: ( ( '0' .. '9' )+ )
1514 // InternalAlloyLanguage.g:3034:12: ( '0' .. '9' )+
1515 {
1516 // InternalAlloyLanguage.g:3034:12: ( '0' .. '9' )+
1517 int cnt2=0;
1518 loop2:
1519 do {
1520 int alt2=2;
1521 int LA2_0 = input.LA(1);
1522
1523 if ( ((LA2_0>='0' && LA2_0<='9')) ) {
1524 alt2=1;
1525 }
1526
1527
1528 switch (alt2) {
1529 case 1 :
1530 // InternalAlloyLanguage.g:3034:13: '0' .. '9'
1531 {
1532 matchRange('0','9');
1533
1534 }
1535 break;
1536
1537 default :
1538 if ( cnt2 >= 1 ) break loop2;
1539 EarlyExitException eee =
1540 new EarlyExitException(2, input);
1541 throw eee;
1542 }
1543 cnt2++;
1544 } while (true);
1545
1546
1547 }
1548
1549 state.type = _type;
1550 state.channel = _channel;
1551 }
1552 finally {
1553 }
1554 }
1555 // $ANTLR end "RULE_INT"
1556
1557 // $ANTLR start "RULE_STRING"
1558 public final void mRULE_STRING() throws RecognitionException {
1559 try {
1560 int _type = RULE_STRING;
1561 int _channel = DEFAULT_TOKEN_CHANNEL;
1562 // InternalAlloyLanguage.g:3036:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1563 // InternalAlloyLanguage.g:3036:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1564 {
1565 // InternalAlloyLanguage.g:3036:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1566 int alt5=2;
1567 int LA5_0 = input.LA(1);
1568
1569 if ( (LA5_0=='\"') ) {
1570 alt5=1;
1571 }
1572 else if ( (LA5_0=='\'') ) {
1573 alt5=2;
1574 }
1575 else {
1576 NoViableAltException nvae =
1577 new NoViableAltException("", 5, 0, input);
1578
1579 throw nvae;
1580 }
1581 switch (alt5) {
1582 case 1 :
1583 // InternalAlloyLanguage.g:3036:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1584 {
1585 match('\"');
1586 // InternalAlloyLanguage.g:3036:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1587 loop3:
1588 do {
1589 int alt3=3;
1590 int LA3_0 = input.LA(1);
1591
1592 if ( (LA3_0=='\\') ) {
1593 alt3=1;
1594 }
1595 else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) {
1596 alt3=2;
1597 }
1598
1599
1600 switch (alt3) {
1601 case 1 :
1602 // InternalAlloyLanguage.g:3036:21: '\\\\' .
1603 {
1604 match('\\');
1605 matchAny();
1606
1607 }
1608 break;
1609 case 2 :
1610 // InternalAlloyLanguage.g:3036:28: ~ ( ( '\\\\' | '\"' ) )
1611 {
1612 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1613 input.consume();
1614
1615 }
1616 else {
1617 MismatchedSetException mse = new MismatchedSetException(null,input);
1618 recover(mse);
1619 throw mse;}
1620
1621
1622 }
1623 break;
1624
1625 default :
1626 break loop3;
1627 }
1628 } while (true);
1629
1630 match('\"');
1631
1632 }
1633 break;
1634 case 2 :
1635 // InternalAlloyLanguage.g:3036:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1636 {
1637 match('\'');
1638 // InternalAlloyLanguage.g:3036:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1639 loop4:
1640 do {
1641 int alt4=3;
1642 int LA4_0 = input.LA(1);
1643
1644 if ( (LA4_0=='\\') ) {
1645 alt4=1;
1646 }
1647 else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
1648 alt4=2;
1649 }
1650
1651
1652 switch (alt4) {
1653 case 1 :
1654 // InternalAlloyLanguage.g:3036:54: '\\\\' .
1655 {
1656 match('\\');
1657 matchAny();
1658
1659 }
1660 break;
1661 case 2 :
1662 // InternalAlloyLanguage.g:3036:61: ~ ( ( '\\\\' | '\\'' ) )
1663 {
1664 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1665 input.consume();
1666
1667 }
1668 else {
1669 MismatchedSetException mse = new MismatchedSetException(null,input);
1670 recover(mse);
1671 throw mse;}
1672
1673
1674 }
1675 break;
1676
1677 default :
1678 break loop4;
1679 }
1680 } while (true);
1681
1682 match('\'');
1683
1684 }
1685 break;
1686
1687 }
1688
1689
1690 }
1691
1692 state.type = _type;
1693 state.channel = _channel;
1694 }
1695 finally {
1696 }
1697 }
1698 // $ANTLR end "RULE_STRING"
1699
1700 // $ANTLR start "RULE_ML_COMMENT"
1701 public final void mRULE_ML_COMMENT() throws RecognitionException {
1702 try {
1703 int _type = RULE_ML_COMMENT;
1704 int _channel = DEFAULT_TOKEN_CHANNEL;
1705 // InternalAlloyLanguage.g:3038:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1706 // InternalAlloyLanguage.g:3038:19: '/*' ( options {greedy=false; } : . )* '*/'
1707 {
1708 match("/*");
1709
1710 // InternalAlloyLanguage.g:3038:24: ( options {greedy=false; } : . )*
1711 loop6:
1712 do {
1713 int alt6=2;
1714 int LA6_0 = input.LA(1);
1715
1716 if ( (LA6_0=='*') ) {
1717 int LA6_1 = input.LA(2);
1718
1719 if ( (LA6_1=='/') ) {
1720 alt6=2;
1721 }
1722 else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) {
1723 alt6=1;
1724 }
1725
1726
1727 }
1728 else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) {
1729 alt6=1;
1730 }
1731
1732
1733 switch (alt6) {
1734 case 1 :
1735 // InternalAlloyLanguage.g:3038:52: .
1736 {
1737 matchAny();
1738
1739 }
1740 break;
1741
1742 default :
1743 break loop6;
1744 }
1745 } while (true);
1746
1747 match("*/");
1748
1749
1750 }
1751
1752 state.type = _type;
1753 state.channel = _channel;
1754 }
1755 finally {
1756 }
1757 }
1758 // $ANTLR end "RULE_ML_COMMENT"
1759
1760 // $ANTLR start "RULE_SL_COMMENT"
1761 public final void mRULE_SL_COMMENT() throws RecognitionException {
1762 try {
1763 int _type = RULE_SL_COMMENT;
1764 int _channel = DEFAULT_TOKEN_CHANNEL;
1765 // InternalAlloyLanguage.g:3040:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1766 // InternalAlloyLanguage.g:3040:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1767 {
1768 match("//");
1769
1770 // InternalAlloyLanguage.g:3040:24: (~ ( ( '\\n' | '\\r' ) ) )*
1771 loop7:
1772 do {
1773 int alt7=2;
1774 int LA7_0 = input.LA(1);
1775
1776 if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) {
1777 alt7=1;
1778 }
1779
1780
1781 switch (alt7) {
1782 case 1 :
1783 // InternalAlloyLanguage.g:3040:24: ~ ( ( '\\n' | '\\r' ) )
1784 {
1785 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') ) {
1786 input.consume();
1787
1788 }
1789 else {
1790 MismatchedSetException mse = new MismatchedSetException(null,input);
1791 recover(mse);
1792 throw mse;}
1793
1794
1795 }
1796 break;
1797
1798 default :
1799 break loop7;
1800 }
1801 } while (true);
1802
1803 // InternalAlloyLanguage.g:3040:40: ( ( '\\r' )? '\\n' )?
1804 int alt9=2;
1805 int LA9_0 = input.LA(1);
1806
1807 if ( (LA9_0=='\n'||LA9_0=='\r') ) {
1808 alt9=1;
1809 }
1810 switch (alt9) {
1811 case 1 :
1812 // InternalAlloyLanguage.g:3040:41: ( '\\r' )? '\\n'
1813 {
1814 // InternalAlloyLanguage.g:3040:41: ( '\\r' )?
1815 int alt8=2;
1816 int LA8_0 = input.LA(1);
1817
1818 if ( (LA8_0=='\r') ) {
1819 alt8=1;
1820 }
1821 switch (alt8) {
1822 case 1 :
1823 // InternalAlloyLanguage.g:3040:41: '\\r'
1824 {
1825 match('\r');
1826
1827 }
1828 break;
1829
1830 }
1831
1832 match('\n');
1833
1834 }
1835 break;
1836
1837 }
1838
1839
1840 }
1841
1842 state.type = _type;
1843 state.channel = _channel;
1844 }
1845 finally {
1846 }
1847 }
1848 // $ANTLR end "RULE_SL_COMMENT"
1849
1850 // $ANTLR start "RULE_WS"
1851 public final void mRULE_WS() throws RecognitionException {
1852 try {
1853 int _type = RULE_WS;
1854 int _channel = DEFAULT_TOKEN_CHANNEL;
1855 // InternalAlloyLanguage.g:3042:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1856 // InternalAlloyLanguage.g:3042:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1857 {
1858 // InternalAlloyLanguage.g:3042:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1859 int cnt10=0;
1860 loop10:
1861 do {
1862 int alt10=2;
1863 int LA10_0 = input.LA(1);
1864
1865 if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {
1866 alt10=1;
1867 }
1868
1869
1870 switch (alt10) {
1871 case 1 :
1872 // InternalAlloyLanguage.g:
1873 {
1874 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1875 input.consume();
1876
1877 }
1878 else {
1879 MismatchedSetException mse = new MismatchedSetException(null,input);
1880 recover(mse);
1881 throw mse;}
1882
1883
1884 }
1885 break;
1886
1887 default :
1888 if ( cnt10 >= 1 ) break loop10;
1889 EarlyExitException eee =
1890 new EarlyExitException(10, input);
1891 throw eee;
1892 }
1893 cnt10++;
1894 } while (true);
1895
1896
1897 }
1898
1899 state.type = _type;
1900 state.channel = _channel;
1901 }
1902 finally {
1903 }
1904 }
1905 // $ANTLR end "RULE_WS"
1906
1907 // $ANTLR start "RULE_ANY_OTHER"
1908 public final void mRULE_ANY_OTHER() throws RecognitionException {
1909 try {
1910 int _type = RULE_ANY_OTHER;
1911 int _channel = DEFAULT_TOKEN_CHANNEL;
1912 // InternalAlloyLanguage.g:3044:16: ( . )
1913 // InternalAlloyLanguage.g:3044:18: .
1914 {
1915 matchAny();
1916
1917 }
1918
1919 state.type = _type;
1920 state.channel = _channel;
1921 }
1922 finally {
1923 }
1924 }
1925 // $ANTLR end "RULE_ANY_OTHER"
1926
1927 public void mTokens() throws RecognitionException {
1928 // 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1929 int alt11=72;
1930 alt11 = dfa11.predict(input);
1931 switch (alt11) {
1932 case 1 :
1933 // InternalAlloyLanguage.g:1:10: T__11
1934 {
1935 mT__11();
1936
1937 }
1938 break;
1939 case 2 :
1940 // InternalAlloyLanguage.g:1:16: T__12
1941 {
1942 mT__12();
1943
1944 }
1945 break;
1946 case 3 :
1947 // InternalAlloyLanguage.g:1:22: T__13
1948 {
1949 mT__13();
1950
1951 }
1952 break;
1953 case 4 :
1954 // InternalAlloyLanguage.g:1:28: T__14
1955 {
1956 mT__14();
1957
1958 }
1959 break;
1960 case 5 :
1961 // InternalAlloyLanguage.g:1:34: T__15
1962 {
1963 mT__15();
1964
1965 }
1966 break;
1967 case 6 :
1968 // InternalAlloyLanguage.g:1:40: T__16
1969 {
1970 mT__16();
1971
1972 }
1973 break;
1974 case 7 :
1975 // InternalAlloyLanguage.g:1:46: T__17
1976 {
1977 mT__17();
1978
1979 }
1980 break;
1981 case 8 :
1982 // InternalAlloyLanguage.g:1:52: T__18
1983 {
1984 mT__18();
1985
1986 }
1987 break;
1988 case 9 :
1989 // InternalAlloyLanguage.g:1:58: T__19
1990 {
1991 mT__19();
1992
1993 }
1994 break;
1995 case 10 :
1996 // InternalAlloyLanguage.g:1:64: T__20
1997 {
1998 mT__20();
1999
2000 }
2001 break;
2002 case 11 :
2003 // InternalAlloyLanguage.g:1:70: T__21
2004 {
2005 mT__21();
2006
2007 }
2008 break;
2009 case 12 :
2010 // InternalAlloyLanguage.g:1:76: T__22
2011 {
2012 mT__22();
2013
2014 }
2015 break;
2016 case 13 :
2017 // InternalAlloyLanguage.g:1:82: T__23
2018 {
2019 mT__23();
2020
2021 }
2022 break;
2023 case 14 :
2024 // InternalAlloyLanguage.g:1:88: T__24
2025 {
2026 mT__24();
2027
2028 }
2029 break;
2030 case 15 :
2031 // InternalAlloyLanguage.g:1:94: T__25
2032 {
2033 mT__25();
2034
2035 }
2036 break;
2037 case 16 :
2038 // InternalAlloyLanguage.g:1:100: T__26
2039 {
2040 mT__26();
2041
2042 }
2043 break;
2044 case 17 :
2045 // InternalAlloyLanguage.g:1:106: T__27
2046 {
2047 mT__27();
2048
2049 }
2050 break;
2051 case 18 :
2052 // InternalAlloyLanguage.g:1:112: T__28
2053 {
2054 mT__28();
2055
2056 }
2057 break;
2058 case 19 :
2059 // InternalAlloyLanguage.g:1:118: T__29
2060 {
2061 mT__29();
2062
2063 }
2064 break;
2065 case 20 :
2066 // InternalAlloyLanguage.g:1:124: T__30
2067 {
2068 mT__30();
2069
2070 }
2071 break;
2072 case 21 :
2073 // InternalAlloyLanguage.g:1:130: T__31
2074 {
2075 mT__31();
2076
2077 }
2078 break;
2079 case 22 :
2080 // InternalAlloyLanguage.g:1:136: T__32
2081 {
2082 mT__32();
2083
2084 }
2085 break;
2086 case 23 :
2087 // InternalAlloyLanguage.g:1:142: T__33
2088 {
2089 mT__33();
2090
2091 }
2092 break;
2093 case 24 :
2094 // InternalAlloyLanguage.g:1:148: T__34
2095 {
2096 mT__34();
2097
2098 }
2099 break;
2100 case 25 :
2101 // InternalAlloyLanguage.g:1:154: T__35
2102 {
2103 mT__35();
2104
2105 }
2106 break;
2107 case 26 :
2108 // InternalAlloyLanguage.g:1:160: T__36
2109 {
2110 mT__36();
2111
2112 }
2113 break;
2114 case 27 :
2115 // InternalAlloyLanguage.g:1:166: T__37
2116 {
2117 mT__37();
2118
2119 }
2120 break;
2121 case 28 :
2122 // InternalAlloyLanguage.g:1:172: T__38
2123 {
2124 mT__38();
2125
2126 }
2127 break;
2128 case 29 :
2129 // InternalAlloyLanguage.g:1:178: T__39
2130 {
2131 mT__39();
2132
2133 }
2134 break;
2135 case 30 :
2136 // InternalAlloyLanguage.g:1:184: T__40
2137 {
2138 mT__40();
2139
2140 }
2141 break;
2142 case 31 :
2143 // InternalAlloyLanguage.g:1:190: T__41
2144 {
2145 mT__41();
2146
2147 }
2148 break;
2149 case 32 :
2150 // InternalAlloyLanguage.g:1:196: T__42
2151 {
2152 mT__42();
2153
2154 }
2155 break;
2156 case 33 :
2157 // InternalAlloyLanguage.g:1:202: T__43
2158 {
2159 mT__43();
2160
2161 }
2162 break;
2163 case 34 :
2164 // InternalAlloyLanguage.g:1:208: T__44
2165 {
2166 mT__44();
2167
2168 }
2169 break;
2170 case 35 :
2171 // InternalAlloyLanguage.g:1:214: T__45
2172 {
2173 mT__45();
2174
2175 }
2176 break;
2177 case 36 :
2178 // InternalAlloyLanguage.g:1:220: T__46
2179 {
2180 mT__46();
2181
2182 }
2183 break;
2184 case 37 :
2185 // InternalAlloyLanguage.g:1:226: T__47
2186 {
2187 mT__47();
2188
2189 }
2190 break;
2191 case 38 :
2192 // InternalAlloyLanguage.g:1:232: T__48
2193 {
2194 mT__48();
2195
2196 }
2197 break;
2198 case 39 :
2199 // InternalAlloyLanguage.g:1:238: T__49
2200 {
2201 mT__49();
2202
2203 }
2204 break;
2205 case 40 :
2206 // InternalAlloyLanguage.g:1:244: T__50
2207 {
2208 mT__50();
2209
2210 }
2211 break;
2212 case 41 :
2213 // InternalAlloyLanguage.g:1:250: T__51
2214 {
2215 mT__51();
2216
2217 }
2218 break;
2219 case 42 :
2220 // InternalAlloyLanguage.g:1:256: T__52
2221 {
2222 mT__52();
2223
2224 }
2225 break;
2226 case 43 :
2227 // InternalAlloyLanguage.g:1:262: T__53
2228 {
2229 mT__53();
2230
2231 }
2232 break;
2233 case 44 :
2234 // InternalAlloyLanguage.g:1:268: T__54
2235 {
2236 mT__54();
2237
2238 }
2239 break;
2240 case 45 :
2241 // InternalAlloyLanguage.g:1:274: T__55
2242 {
2243 mT__55();
2244
2245 }
2246 break;
2247 case 46 :
2248 // InternalAlloyLanguage.g:1:280: T__56
2249 {
2250 mT__56();
2251
2252 }
2253 break;
2254 case 47 :
2255 // InternalAlloyLanguage.g:1:286: T__57
2256 {
2257 mT__57();
2258
2259 }
2260 break;
2261 case 48 :
2262 // InternalAlloyLanguage.g:1:292: T__58
2263 {
2264 mT__58();
2265
2266 }
2267 break;
2268 case 49 :
2269 // InternalAlloyLanguage.g:1:298: T__59
2270 {
2271 mT__59();
2272
2273 }
2274 break;
2275 case 50 :
2276 // InternalAlloyLanguage.g:1:304: T__60
2277 {
2278 mT__60();
2279
2280 }
2281 break;
2282 case 51 :
2283 // InternalAlloyLanguage.g:1:310: T__61
2284 {
2285 mT__61();
2286
2287 }
2288 break;
2289 case 52 :
2290 // InternalAlloyLanguage.g:1:316: T__62
2291 {
2292 mT__62();
2293
2294 }
2295 break;
2296 case 53 :
2297 // InternalAlloyLanguage.g:1:322: T__63
2298 {
2299 mT__63();
2300
2301 }
2302 break;
2303 case 54 :
2304 // InternalAlloyLanguage.g:1:328: T__64
2305 {
2306 mT__64();
2307
2308 }
2309 break;
2310 case 55 :
2311 // InternalAlloyLanguage.g:1:334: T__65
2312 {
2313 mT__65();
2314
2315 }
2316 break;
2317 case 56 :
2318 // InternalAlloyLanguage.g:1:340: T__66
2319 {
2320 mT__66();
2321
2322 }
2323 break;
2324 case 57 :
2325 // InternalAlloyLanguage.g:1:346: T__67
2326 {
2327 mT__67();
2328
2329 }
2330 break;
2331 case 58 :
2332 // InternalAlloyLanguage.g:1:352: T__68
2333 {
2334 mT__68();
2335
2336 }
2337 break;
2338 case 59 :
2339 // InternalAlloyLanguage.g:1:358: T__69
2340 {
2341 mT__69();
2342
2343 }
2344 break;
2345 case 60 :
2346 // InternalAlloyLanguage.g:1:364: T__70
2347 {
2348 mT__70();
2349
2350 }
2351 break;
2352 case 61 :
2353 // InternalAlloyLanguage.g:1:370: T__71
2354 {
2355 mT__71();
2356
2357 }
2358 break;
2359 case 62 :
2360 // InternalAlloyLanguage.g:1:376: T__72
2361 {
2362 mT__72();
2363
2364 }
2365 break;
2366 case 63 :
2367 // InternalAlloyLanguage.g:1:382: T__73
2368 {
2369 mT__73();
2370
2371 }
2372 break;
2373 case 64 :
2374 // InternalAlloyLanguage.g:1:388: T__74
2375 {
2376 mT__74();
2377
2378 }
2379 break;
2380 case 65 :
2381 // InternalAlloyLanguage.g:1:394: T__75
2382 {
2383 mT__75();
2384
2385 }
2386 break;
2387 case 66 :
2388 // InternalAlloyLanguage.g:1:400: RULE_ID
2389 {
2390 mRULE_ID();
2391
2392 }
2393 break;
2394 case 67 :
2395 // InternalAlloyLanguage.g:1:408: RULE_INT
2396 {
2397 mRULE_INT();
2398
2399 }
2400 break;
2401 case 68 :
2402 // InternalAlloyLanguage.g:1:417: RULE_STRING
2403 {
2404 mRULE_STRING();
2405
2406 }
2407 break;
2408 case 69 :
2409 // InternalAlloyLanguage.g:1:429: RULE_ML_COMMENT
2410 {
2411 mRULE_ML_COMMENT();
2412
2413 }
2414 break;
2415 case 70 :
2416 // InternalAlloyLanguage.g:1:445: RULE_SL_COMMENT
2417 {
2418 mRULE_SL_COMMENT();
2419
2420 }
2421 break;
2422 case 71 :
2423 // InternalAlloyLanguage.g:1:461: RULE_WS
2424 {
2425 mRULE_WS();
2426
2427 }
2428 break;
2429 case 72 :
2430 // InternalAlloyLanguage.g:1:469: RULE_ANY_OTHER
2431 {
2432 mRULE_ANY_OTHER();
2433
2434 }
2435 break;
2436
2437 }
2438
2439 }
2440
2441
2442 protected DFA11 dfa11 = new DFA11(this);
2443 static final String DFA11_eotS =
2444 "\1\uffff\1\56\3\uffff\3\56\1\76\1\100\1\56\2\uffff\2\56\1\52\1\56\1\116\1\120\1\122\1\124\1\126\1\uffff\1\131\1\56\4\uffff\2\56\2\uffff\3\56\2\uffff\3\52\2\uffff\3\56\4\uffff\7\56\1\170\3\56\4\uffff\3\56\2\uffff\3\56\1\uffff\1\u0083\1\56\1\u0086\15\uffff\1\u0089\4\uffff\2\56\2\uffff\4\56\5\uffff\5\56\1\u0095\1\u0096\1\u0097\1\u0098\1\u0099\1\56\1\u009b\1\uffff\1\u009c\2\56\1\u009f\1\56\1\u00a1\3\56\1\u00a5\1\uffff\1\u00a6\2\uffff\1\u00a7\1\56\1\uffff\1\56\1\u00aa\1\u00ab\1\u00ac\1\56\1\u00ae\1\u00af\2\56\1\u00b2\1\56\5\uffff\1\u00b4\2\uffff\1\56\1\u00b6\1\uffff\1\u00b7\1\uffff\1\u00b8\1\u00b9\1\u00ba\3\uffff\1\u00bb\1\u00bc\3\uffff\1\u00bd\2\uffff\2\56\1\uffff\1\56\1\uffff\1\56\10\uffff\4\56\1\u00c6\1\u00c7\1\56\1\u00c9\2\uffff\1\u00ca\2\uffff";
2445 static final String DFA11_eofS =
2446 "\u00cb\uffff";
2447 static final String DFA11_minS =
2448 "\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\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\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\3\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\3\uffff\1\42\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\10\uffff\1\163\1\171\1\143\1\163\2\42\1\164\1\42\2\uffff\1\42\2\uffff";
2449 static final String DFA11_maxS =
2450 "\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\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\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\3\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\3\uffff\1\172\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\10\uffff\1\163\1\171\1\143\1\163\2\172\1\164\1\172\2\uffff\1\172\2\uffff";
2451 static final String DFA11_acceptS =
2452 "\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\2\uffff\1\62\1\63\3\uffff\1\102\1\103\3\uffff\1\107\1\110\3\uffff\1\102\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\2\uffff\1\62\1\63\4\uffff\1\103\1\104\1\105\1\106\1\107\14\uffff\1\10\12\uffff\1\22\1\uffff\1\23\1\37\2\uffff\1\70\13\uffff\1\31\1\67\1\6\1\55\1\76\1\uffff\1\74\1\24\2\uffff\1\13\1\uffff\1\65\3\uffff\1\101\1\73\1\50\2\uffff\1\61\1\64\1\100\1\uffff\1\77\1\1\2\uffff\1\27\1\uffff\1\71\1\uffff\1\57\1\17\1\16\1\75\1\20\1\56\1\60\1\72\10\uffff\1\7\1\66\1\uffff\1\26\1\5";
2453 static final String DFA11_specialS =
2454 "\1\0\45\uffff\1\1\1\2\u00a3\uffff}>";
2455 static final String[] DFA11_transitionS = {
2456 "\11\52\2\51\2\52\1\51\22\52\1\51\1\24\1\46\1\34\2\52\1\23\1\47\1\37\1\40\1\33\1\10\1\3\1\27\1\26\1\50\12\45\1\11\1\52\1\21\1\22\1\25\2\52\10\44\1\36\21\44\1\13\1\52\1\14\1\32\1\44\1\52\1\5\2\44\1\16\1\1\1\12\2\44\1\7\2\44\1\42\1\43\1\30\1\20\1\15\1\44\1\41\1\6\1\44\1\35\5\44\1\2\1\17\1\4\1\31\uff81\52",
2457 "\1\55\1\uffff\1\53\11\uffff\1\54",
2458 "",
2459 "",
2460 "",
2461 "\1\62\11\uffff\1\64\1\uffff\1\63",
2462 "\1\70\3\uffff\1\65\5\uffff\1\67\5\uffff\1\66",
2463 "\1\74\1\uffff\1\72\6\uffff\1\73\1\71",
2464 "\1\75",
2465 "\1\77",
2466 "\1\102\15\uffff\1\103\5\uffff\1\101",
2467 "",
2468 "",
2469 "\1\107\5\uffff\1\106",
2470 "\1\110",
2471 "\1\111",
2472 "\1\113\3\uffff\1\112",
2473 "\1\115\2\uffff\1\114",
2474 "\1\117",
2475 "\1\121",
2476 "\1\123",
2477 "\1\125",
2478 "",
2479 "\1\130",
2480 "\1\132",
2481 "",
2482 "",
2483 "",
2484 "",
2485 "\1\137",
2486 "\1\140",
2487 "",
2488 "",
2489 "\1\144\17\uffff\1\143",
2490 "\1\145",
2491 "\1\146",
2492 "",
2493 "",
2494 "\0\150",
2495 "\0\150",
2496 "\1\151\4\uffff\1\152",
2497 "",
2498 "",
2499 "\1\154",
2500 "\1\156\22\uffff\1\155",
2501 "\1\157",
2502 "",
2503 "",
2504 "",
2505 "",
2506 "\1\160",
2507 "\1\161",
2508 "\1\162",
2509 "\1\163",
2510 "\1\165\12\uffff\1\164",
2511 "\1\166",
2512 "\1\167",
2513 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2514 "\1\171",
2515 "\1\172",
2516 "\1\173",
2517 "",
2518 "",
2519 "",
2520 "",
2521 "\1\174",
2522 "\1\175",
2523 "\1\176",
2524 "",
2525 "",
2526 "\1\177",
2527 "\1\u0080",
2528 "\1\u0081\2\uffff\1\u0082",
2529 "",
2530 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2531 "\1\u0084",
2532 "\1\u0085",
2533 "",
2534 "",
2535 "",
2536 "",
2537 "",
2538 "",
2539 "",
2540 "",
2541 "",
2542 "",
2543 "",
2544 "",
2545 "",
2546 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\15\56\1\u0088\5\56\1\u0087\6\56",
2547 "",
2548 "",
2549 "",
2550 "",
2551 "\1\u008a",
2552 "\1\u008b",
2553 "",
2554 "",
2555 "\1\u008c",
2556 "\1\u008d",
2557 "\1\u008e",
2558 "\1\u008f",
2559 "",
2560 "",
2561 "",
2562 "",
2563 "",
2564 "\1\u0090",
2565 "\1\u0091",
2566 "\1\u0092",
2567 "\1\u0093",
2568 "\1\u0094",
2569 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2570 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2571 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2572 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2573 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2574 "\1\u009a",
2575 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2576 "",
2577 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2578 "\1\u009d",
2579 "\1\u009e",
2580 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2581 "\1\u00a0",
2582 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2583 "\1\u00a2",
2584 "\1\u00a3",
2585 "\1\u00a4",
2586 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2587 "",
2588 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2589 "",
2590 "",
2591 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2592 "\1\u00a8",
2593 "",
2594 "\1\u00a9",
2595 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2596 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2597 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2598 "\1\u00ad",
2599 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2600 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2601 "\1\u00b0",
2602 "\1\u00b1",
2603 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2604 "\1\u00b3",
2605 "",
2606 "",
2607 "",
2608 "",
2609 "",
2610 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2611 "",
2612 "",
2613 "\1\u00b5",
2614 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2615 "",
2616 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2617 "",
2618 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2619 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2620 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2621 "",
2622 "",
2623 "",
2624 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2625 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2626 "",
2627 "",
2628 "",
2629 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2630 "",
2631 "",
2632 "\1\u00be",
2633 "\1\u00bf",
2634 "",
2635 "\1\u00c0",
2636 "",
2637 "\1\u00c1",
2638 "",
2639 "",
2640 "",
2641 "",
2642 "",
2643 "",
2644 "",
2645 "",
2646 "\1\u00c2",
2647 "\1\u00c3",
2648 "\1\u00c4",
2649 "\1\u00c5",
2650 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2651 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2652 "\1\u00c8",
2653 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2654 "",
2655 "",
2656 "\1\56\4\uffff\1\56\10\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
2657 "",
2658 ""
2659 };
2660
2661 static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS);
2662 static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS);
2663 static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS);
2664 static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS);
2665 static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS);
2666 static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS);
2667 static final short[][] DFA11_transition;
2668
2669 static {
2670 int numStates = DFA11_transitionS.length;
2671 DFA11_transition = new short[numStates][];
2672 for (int i=0; i<numStates; i++) {
2673 DFA11_transition[i] = DFA.unpackEncodedString(DFA11_transitionS[i]);
2674 }
2675 }
2676
2677 class DFA11 extends DFA {
2678
2679 public DFA11(BaseRecognizer recognizer) {
2680 this.recognizer = recognizer;
2681 this.decisionNumber = 11;
2682 this.eot = DFA11_eot;
2683 this.eof = DFA11_eof;
2684 this.min = DFA11_min;
2685 this.max = DFA11_max;
2686 this.accept = DFA11_accept;
2687 this.special = DFA11_special;
2688 this.transition = DFA11_transition;
2689 }
2690 public String getDescription() {
2691 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
2692 }
2693 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
2694 IntStream input = _input;
2695 int _s = s;
2696 switch ( s ) {
2697 case 0 :
2698 int LA11_0 = input.LA(1);
2699
2700 s = -1;
2701 if ( (LA11_0=='e') ) {s = 1;}
2702
2703 else if ( (LA11_0=='{') ) {s = 2;}
2704
2705 else if ( (LA11_0==',') ) {s = 3;}
2706
2707 else if ( (LA11_0=='}') ) {s = 4;}
2708
2709 else if ( (LA11_0=='a') ) {s = 5;}
2710
2711 else if ( (LA11_0=='s') ) {s = 6;}
2712
2713 else if ( (LA11_0=='i') ) {s = 7;}
2714
2715 else if ( (LA11_0=='+') ) {s = 8;}
2716
2717 else if ( (LA11_0==':') ) {s = 9;}
2718
2719 else if ( (LA11_0=='f') ) {s = 10;}
2720
2721 else if ( (LA11_0=='[') ) {s = 11;}
2722
2723 else if ( (LA11_0==']') ) {s = 12;}
2724
2725 else if ( (LA11_0=='p') ) {s = 13;}
2726
2727 else if ( (LA11_0=='d') ) {s = 14;}
2728
2729 else if ( (LA11_0=='|') ) {s = 15;}
2730
2731 else if ( (LA11_0=='o') ) {s = 16;}
2732
2733 else if ( (LA11_0=='<') ) {s = 17;}
2734
2735 else if ( (LA11_0=='=') ) {s = 18;}
2736
2737 else if ( (LA11_0=='&') ) {s = 19;}
2738
2739 else if ( (LA11_0=='!') ) {s = 20;}
2740
2741 else if ( (LA11_0=='>') ) {s = 21;}
2742
2743 else if ( (LA11_0=='.') ) {s = 22;}
2744
2745 else if ( (LA11_0=='-') ) {s = 23;}
2746
2747 else if ( (LA11_0=='n') ) {s = 24;}
2748
2749 else if ( (LA11_0=='~') ) {s = 25;}
2750
2751 else if ( (LA11_0=='^') ) {s = 26;}
2752
2753 else if ( (LA11_0=='*') ) {s = 27;}
2754
2755 else if ( (LA11_0=='#') ) {s = 28;}
2756
2757 else if ( (LA11_0=='u') ) {s = 29;}
2758
2759 else if ( (LA11_0=='I') ) {s = 30;}
2760
2761 else if ( (LA11_0=='(') ) {s = 31;}
2762
2763 else if ( (LA11_0==')') ) {s = 32;}
2764
2765 else if ( (LA11_0=='r') ) {s = 33;}
2766
2767 else if ( (LA11_0=='l') ) {s = 34;}
2768
2769 else if ( (LA11_0=='m') ) {s = 35;}
2770
2771 else if ( ((LA11_0>='A' && LA11_0<='H')||(LA11_0>='J' && 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 = 36;}
2772
2773 else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 37;}
2774
2775 else if ( (LA11_0=='\"') ) {s = 38;}
2776
2777 else if ( (LA11_0=='\'') ) {s = 39;}
2778
2779 else if ( (LA11_0=='/') ) {s = 40;}
2780
2781 else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 41;}
2782
2783 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 = 42;}
2784
2785 if ( s>=0 ) return s;
2786 break;
2787 case 1 :
2788 int LA11_38 = input.LA(1);
2789
2790 s = -1;
2791 if ( ((LA11_38>='\u0000' && LA11_38<='\uFFFF')) ) {s = 104;}
2792
2793 else s = 42;
2794
2795 if ( s>=0 ) return s;
2796 break;
2797 case 2 :
2798 int LA11_39 = input.LA(1);
2799
2800 s = -1;
2801 if ( ((LA11_39>='\u0000' && LA11_39<='\uFFFF')) ) {s = 104;}
2802
2803 else s = 42;
2804
2805 if ( s>=0 ) return s;
2806 break;
2807 }
2808 NoViableAltException nvae =
2809 new NoViableAltException(getDescription(), 11, _s, input);
2810 error(nvae);
2811 throw nvae;
2812 }
2813 }
2814
2815
2816} \ No newline at end of file
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java
new file mode 100644
index 00000000..1735afbd
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java
@@ -0,0 +1,8882 @@
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'", "'('", "')'", "'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 RULE_WS=9;
90 public static final int RULE_ANY_OTHER=10;
91 public static final int T__48=48;
92 public static final int T__49=49;
93 public static final int T__44=44;
94 public static final int T__45=45;
95 public static final int T__46=46;
96 public static final int T__47=47;
97 public static final int T__40=40;
98 public static final int T__41=41;
99 public static final int T__42=42;
100 public static final int T__43=43;
101
102 // delegates
103 // delegators
104
105
106 public InternalAlloyLanguageParser(TokenStream input) {
107 this(input, new RecognizerSharedState());
108 }
109 public InternalAlloyLanguageParser(TokenStream input, RecognizerSharedState state) {
110 super(input, state);
111
112 }
113
114
115 public String[] getTokenNames() { return InternalAlloyLanguageParser.tokenNames; }
116 public String getGrammarFileName() { return "InternalAlloyLanguage.g"; }
117
118
119
120 private AlloyLanguageGrammarAccess grammarAccess;
121
122 public InternalAlloyLanguageParser(TokenStream input, AlloyLanguageGrammarAccess grammarAccess) {
123 this(input);
124 this.grammarAccess = grammarAccess;
125 registerRules(grammarAccess.getGrammar());
126 }
127
128 @Override
129 protected String getFirstRuleName() {
130 return "ALSDocument";
131 }
132
133 @Override
134 protected AlloyLanguageGrammarAccess getGrammarAccess() {
135 return grammarAccess;
136 }
137
138
139
140 // $ANTLR start "entryRuleALSDocument"
141 // InternalAlloyLanguage.g:68:1: entryRuleALSDocument returns [EObject current=null] : iv_ruleALSDocument= ruleALSDocument EOF ;
142 public final EObject entryRuleALSDocument() throws RecognitionException {
143 EObject current = null;
144
145 EObject iv_ruleALSDocument = null;
146
147
148 try {
149 // InternalAlloyLanguage.g:69:2: (iv_ruleALSDocument= ruleALSDocument EOF )
150 // InternalAlloyLanguage.g:70:2: iv_ruleALSDocument= ruleALSDocument EOF
151 {
152 if ( state.backtracking==0 ) {
153 newCompositeNode(grammarAccess.getALSDocumentRule());
154 }
155 pushFollow(FOLLOW_1);
156 iv_ruleALSDocument=ruleALSDocument();
157
158 state._fsp--;
159 if (state.failed) return current;
160 if ( state.backtracking==0 ) {
161 current =iv_ruleALSDocument;
162 }
163 match(input,EOF,FOLLOW_2); if (state.failed) return current;
164
165 }
166
167 }
168
169 catch (RecognitionException re) {
170 recover(input,re);
171 appendSkippedTokens();
172 }
173 finally {
174 }
175 return current;
176 }
177 // $ANTLR end "entryRuleALSDocument"
178
179
180 // $ANTLR start "ruleALSDocument"
181 // 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 ) ) ) ;
182 public final EObject ruleALSDocument() throws RecognitionException {
183 EObject current = null;
184
185 EObject lv_enumDeclarations_0_0 = null;
186
187 EObject lv_signatureBodies_1_0 = null;
188
189 EObject lv_functionDefinitions_2_0 = null;
190
191 EObject lv_relationDefinitions_3_0 = null;
192
193 EObject lv_factDeclarations_4_0 = null;
194
195 EObject lv_runCommand_5_0 = null;
196
197
198 enterRule();
199
200 try {
201 // 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 ) ) ) )
202 // 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 ) ) )
203 {
204 // 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 ) ) )
205 // 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 ) )
206 {
207 // 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 ) ) )+
208 int cnt1=0;
209 loop1:
210 do {
211 int alt1=6;
212 switch ( input.LA(1) ) {
213 case 11:
214 {
215 alt1=1;
216 }
217 break;
218 case 15:
219 case 16:
220 case 65:
221 case 66:
222 case 67:
223 case 68:
224 case 69:
225 case 70:
226 {
227 alt1=2;
228 }
229 break;
230 case 21:
231 {
232 alt1=3;
233 }
234 break;
235 case 24:
236 {
237 alt1=4;
238 }
239 break;
240 case 25:
241 {
242 alt1=5;
243 }
244 break;
245
246 }
247
248 switch (alt1) {
249 case 1 :
250 // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) )
251 {
252 // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) )
253 // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration )
254 {
255 // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration )
256 // InternalAlloyLanguage.g:83:3: lv_enumDeclarations_0_0= ruleALSEnumDeclaration
257 {
258 if ( state.backtracking==0 ) {
259
260 newCompositeNode(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0());
261
262 }
263 pushFollow(FOLLOW_3);
264 lv_enumDeclarations_0_0=ruleALSEnumDeclaration();
265
266 state._fsp--;
267 if (state.failed) return current;
268 if ( state.backtracking==0 ) {
269
270 if (current==null) {
271 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
272 }
273 add(
274 current,
275 "enumDeclarations",
276 lv_enumDeclarations_0_0,
277 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration");
278 afterParserOrEnumRuleCall();
279
280 }
281
282 }
283
284
285 }
286
287
288 }
289 break;
290 case 2 :
291 // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) )
292 {
293 // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) )
294 // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody )
295 {
296 // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody )
297 // InternalAlloyLanguage.g:102:3: lv_signatureBodies_1_0= ruleALSSignatureBody
298 {
299 if ( state.backtracking==0 ) {
300
301 newCompositeNode(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0());
302
303 }
304 pushFollow(FOLLOW_3);
305 lv_signatureBodies_1_0=ruleALSSignatureBody();
306
307 state._fsp--;
308 if (state.failed) return current;
309 if ( state.backtracking==0 ) {
310
311 if (current==null) {
312 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
313 }
314 add(
315 current,
316 "signatureBodies",
317 lv_signatureBodies_1_0,
318 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody");
319 afterParserOrEnumRuleCall();
320
321 }
322
323 }
324
325
326 }
327
328
329 }
330 break;
331 case 3 :
332 // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) )
333 {
334 // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) )
335 // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition )
336 {
337 // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition )
338 // InternalAlloyLanguage.g:121:3: lv_functionDefinitions_2_0= ruleALSFunctionDefinition
339 {
340 if ( state.backtracking==0 ) {
341
342 newCompositeNode(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0());
343
344 }
345 pushFollow(FOLLOW_3);
346 lv_functionDefinitions_2_0=ruleALSFunctionDefinition();
347
348 state._fsp--;
349 if (state.failed) return current;
350 if ( state.backtracking==0 ) {
351
352 if (current==null) {
353 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
354 }
355 add(
356 current,
357 "functionDefinitions",
358 lv_functionDefinitions_2_0,
359 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition");
360 afterParserOrEnumRuleCall();
361
362 }
363
364 }
365
366
367 }
368
369
370 }
371 break;
372 case 4 :
373 // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) )
374 {
375 // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) )
376 // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition )
377 {
378 // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition )
379 // InternalAlloyLanguage.g:140:3: lv_relationDefinitions_3_0= ruleALSRelationDefinition
380 {
381 if ( state.backtracking==0 ) {
382
383 newCompositeNode(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0());
384
385 }
386 pushFollow(FOLLOW_3);
387 lv_relationDefinitions_3_0=ruleALSRelationDefinition();
388
389 state._fsp--;
390 if (state.failed) return current;
391 if ( state.backtracking==0 ) {
392
393 if (current==null) {
394 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
395 }
396 add(
397 current,
398 "relationDefinitions",
399 lv_relationDefinitions_3_0,
400 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition");
401 afterParserOrEnumRuleCall();
402
403 }
404
405 }
406
407
408 }
409
410
411 }
412 break;
413 case 5 :
414 // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) )
415 {
416 // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) )
417 // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration )
418 {
419 // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration )
420 // InternalAlloyLanguage.g:159:3: lv_factDeclarations_4_0= ruleALSFactDeclaration
421 {
422 if ( state.backtracking==0 ) {
423
424 newCompositeNode(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0());
425
426 }
427 pushFollow(FOLLOW_3);
428 lv_factDeclarations_4_0=ruleALSFactDeclaration();
429
430 state._fsp--;
431 if (state.failed) return current;
432 if ( state.backtracking==0 ) {
433
434 if (current==null) {
435 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
436 }
437 add(
438 current,
439 "factDeclarations",
440 lv_factDeclarations_4_0,
441 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration");
442 afterParserOrEnumRuleCall();
443
444 }
445
446 }
447
448
449 }
450
451
452 }
453 break;
454
455 default :
456 if ( cnt1 >= 1 ) break loop1;
457 if (state.backtracking>0) {state.failed=true; return current;}
458 EarlyExitException eee =
459 new EarlyExitException(1, input);
460 throw eee;
461 }
462 cnt1++;
463 } while (true);
464
465 // InternalAlloyLanguage.g:175:4: ( (lv_runCommand_5_0= ruleALSRunCommand ) )
466 // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand )
467 {
468 // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand )
469 // InternalAlloyLanguage.g:177:3: lv_runCommand_5_0= ruleALSRunCommand
470 {
471 if ( state.backtracking==0 ) {
472
473 newCompositeNode(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0());
474
475 }
476 pushFollow(FOLLOW_2);
477 lv_runCommand_5_0=ruleALSRunCommand();
478
479 state._fsp--;
480 if (state.failed) return current;
481 if ( state.backtracking==0 ) {
482
483 if (current==null) {
484 current = createModelElementForParent(grammarAccess.getALSDocumentRule());
485 }
486 set(
487 current,
488 "runCommand",
489 lv_runCommand_5_0,
490 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand");
491 afterParserOrEnumRuleCall();
492
493 }
494
495 }
496
497
498 }
499
500
501 }
502
503
504 }
505
506 if ( state.backtracking==0 ) {
507 leaveRule();
508 }
509 }
510
511 catch (RecognitionException re) {
512 recover(input,re);
513 appendSkippedTokens();
514 }
515 finally {
516 }
517 return current;
518 }
519 // $ANTLR end "ruleALSDocument"
520
521
522 // $ANTLR start "entryRuleALSID"
523 // InternalAlloyLanguage.g:201:1: entryRuleALSID returns [String current=null] : iv_ruleALSID= ruleALSID EOF ;
524 public final String entryRuleALSID() throws RecognitionException {
525 String current = null;
526
527 AntlrDatatypeRuleToken iv_ruleALSID = null;
528
529
530 try {
531 // InternalAlloyLanguage.g:202:2: (iv_ruleALSID= ruleALSID EOF )
532 // InternalAlloyLanguage.g:203:2: iv_ruleALSID= ruleALSID EOF
533 {
534 if ( state.backtracking==0 ) {
535 newCompositeNode(grammarAccess.getALSIDRule());
536 }
537 pushFollow(FOLLOW_1);
538 iv_ruleALSID=ruleALSID();
539
540 state._fsp--;
541 if (state.failed) return current;
542 if ( state.backtracking==0 ) {
543 current =iv_ruleALSID.getText();
544 }
545 match(input,EOF,FOLLOW_2); if (state.failed) return current;
546
547 }
548
549 }
550
551 catch (RecognitionException re) {
552 recover(input,re);
553 appendSkippedTokens();
554 }
555 finally {
556 }
557 return current;
558 }
559 // $ANTLR end "entryRuleALSID"
560
561
562 // $ANTLR start "ruleALSID"
563 // InternalAlloyLanguage.g:210:1: ruleALSID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
564 public final AntlrDatatypeRuleToken ruleALSID() throws RecognitionException {
565 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
566
567 Token this_ID_0=null;
568
569 enterRule();
570
571 try {
572 // InternalAlloyLanguage.g:213:28: (this_ID_0= RULE_ID )
573 // InternalAlloyLanguage.g:214:5: this_ID_0= RULE_ID
574 {
575 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
576 if ( state.backtracking==0 ) {
577
578 current.merge(this_ID_0);
579
580 }
581 if ( state.backtracking==0 ) {
582
583 newLeafNode(this_ID_0, grammarAccess.getALSIDAccess().getIDTerminalRuleCall());
584
585 }
586
587 }
588
589 if ( state.backtracking==0 ) {
590 leaveRule();
591 }
592 }
593
594 catch (RecognitionException re) {
595 recover(input,re);
596 appendSkippedTokens();
597 }
598 finally {
599 }
600 return current;
601 }
602 // $ANTLR end "ruleALSID"
603
604
605 // $ANTLR start "entryRuleALSTypeDeclaration"
606 // InternalAlloyLanguage.g:231:1: entryRuleALSTypeDeclaration returns [EObject current=null] : iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF ;
607 public final EObject entryRuleALSTypeDeclaration() throws RecognitionException {
608 EObject current = null;
609
610 EObject iv_ruleALSTypeDeclaration = null;
611
612
613 try {
614 // InternalAlloyLanguage.g:232:2: (iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF )
615 // InternalAlloyLanguage.g:233:2: iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF
616 {
617 if ( state.backtracking==0 ) {
618 newCompositeNode(grammarAccess.getALSTypeDeclarationRule());
619 }
620 pushFollow(FOLLOW_1);
621 iv_ruleALSTypeDeclaration=ruleALSTypeDeclaration();
622
623 state._fsp--;
624 if (state.failed) return current;
625 if ( state.backtracking==0 ) {
626 current =iv_ruleALSTypeDeclaration;
627 }
628 match(input,EOF,FOLLOW_2); if (state.failed) return current;
629
630 }
631
632 }
633
634 catch (RecognitionException re) {
635 recover(input,re);
636 appendSkippedTokens();
637 }
638 finally {
639 }
640 return current;
641 }
642 // $ANTLR end "entryRuleALSTypeDeclaration"
643
644
645 // $ANTLR start "ruleALSTypeDeclaration"
646 // InternalAlloyLanguage.g:240:1: ruleALSTypeDeclaration returns [EObject current=null] : (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) ;
647 public final EObject ruleALSTypeDeclaration() throws RecognitionException {
648 EObject current = null;
649
650 EObject this_ALSEnumDeclaration_0 = null;
651
652 EObject this_ALSSignatureDeclaration_1 = null;
653
654
655 enterRule();
656
657 try {
658 // InternalAlloyLanguage.g:243:28: ( (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) )
659 // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration )
660 {
661 // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration )
662 int alt2=2;
663 int LA2_0 = input.LA(1);
664
665 if ( (LA2_0==11) ) {
666 alt2=1;
667 }
668 else if ( (LA2_0==RULE_ID) ) {
669 alt2=2;
670 }
671 else {
672 if (state.backtracking>0) {state.failed=true; return current;}
673 NoViableAltException nvae =
674 new NoViableAltException("", 2, 0, input);
675
676 throw nvae;
677 }
678 switch (alt2) {
679 case 1 :
680 // InternalAlloyLanguage.g:245:5: this_ALSEnumDeclaration_0= ruleALSEnumDeclaration
681 {
682 if ( state.backtracking==0 ) {
683
684 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0());
685
686 }
687 pushFollow(FOLLOW_2);
688 this_ALSEnumDeclaration_0=ruleALSEnumDeclaration();
689
690 state._fsp--;
691 if (state.failed) return current;
692 if ( state.backtracking==0 ) {
693
694 current = this_ALSEnumDeclaration_0;
695 afterParserOrEnumRuleCall();
696
697 }
698
699 }
700 break;
701 case 2 :
702 // InternalAlloyLanguage.g:255:5: this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration
703 {
704 if ( state.backtracking==0 ) {
705
706 newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1());
707
708 }
709 pushFollow(FOLLOW_2);
710 this_ALSSignatureDeclaration_1=ruleALSSignatureDeclaration();
711
712 state._fsp--;
713 if (state.failed) return current;
714 if ( state.backtracking==0 ) {
715
716 current = this_ALSSignatureDeclaration_1;
717 afterParserOrEnumRuleCall();
718
719 }
720
721 }
722 break;
723
724 }
725
726
727 }
728
729 if ( state.backtracking==0 ) {
730 leaveRule();
731 }
732 }
733
734 catch (RecognitionException re) {
735 recover(input,re);
736 appendSkippedTokens();
737 }
738 finally {
739 }
740 return current;
741 }
742 // $ANTLR end "ruleALSTypeDeclaration"
743
744
745 // $ANTLR start "entryRuleALSEnumDeclaration"
746 // InternalAlloyLanguage.g:271:1: entryRuleALSEnumDeclaration returns [EObject current=null] : iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF ;
747 public final EObject entryRuleALSEnumDeclaration() throws RecognitionException {
748 EObject current = null;
749
750 EObject iv_ruleALSEnumDeclaration = null;
751
752
753 try {
754 // InternalAlloyLanguage.g:272:2: (iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF )
755 // InternalAlloyLanguage.g:273:2: iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF
756 {
757 if ( state.backtracking==0 ) {
758 newCompositeNode(grammarAccess.getALSEnumDeclarationRule());
759 }
760 pushFollow(FOLLOW_1);
761 iv_ruleALSEnumDeclaration=ruleALSEnumDeclaration();
762
763 state._fsp--;
764 if (state.failed) return current;
765 if ( state.backtracking==0 ) {
766 current =iv_ruleALSEnumDeclaration;
767 }
768 match(input,EOF,FOLLOW_2); if (state.failed) return current;
769
770 }
771
772 }
773
774 catch (RecognitionException re) {
775 recover(input,re);
776 appendSkippedTokens();
777 }
778 finally {
779 }
780 return current;
781 }
782 // $ANTLR end "entryRuleALSEnumDeclaration"
783
784
785 // $ANTLR start "ruleALSEnumDeclaration"
786 // 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= '}' ) ;
787 public final EObject ruleALSEnumDeclaration() throws RecognitionException {
788 EObject current = null;
789
790 Token otherlv_0=null;
791 Token otherlv_2=null;
792 Token otherlv_4=null;
793 Token otherlv_6=null;
794 AntlrDatatypeRuleToken lv_name_1_0 = null;
795
796 EObject lv_literal_3_0 = null;
797
798 EObject lv_literal_5_0 = null;
799
800
801 enterRule();
802
803 try {
804 // 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= '}' ) )
805 // 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= '}' )
806 {
807 // 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= '}' )
808 // 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= '}'
809 {
810 otherlv_0=(Token)match(input,11,FOLLOW_4); if (state.failed) return current;
811 if ( state.backtracking==0 ) {
812
813 newLeafNode(otherlv_0, grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0());
814
815 }
816 // InternalAlloyLanguage.g:288:1: ( (lv_name_1_0= ruleALSID ) )
817 // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID )
818 {
819 // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID )
820 // InternalAlloyLanguage.g:290:3: lv_name_1_0= ruleALSID
821 {
822 if ( state.backtracking==0 ) {
823
824 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0());
825
826 }
827 pushFollow(FOLLOW_5);
828 lv_name_1_0=ruleALSID();
829
830 state._fsp--;
831 if (state.failed) return current;
832 if ( state.backtracking==0 ) {
833
834 if (current==null) {
835 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
836 }
837 set(
838 current,
839 "name",
840 lv_name_1_0,
841 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
842 afterParserOrEnumRuleCall();
843
844 }
845
846 }
847
848
849 }
850
851 otherlv_2=(Token)match(input,12,FOLLOW_4); if (state.failed) return current;
852 if ( state.backtracking==0 ) {
853
854 newLeafNode(otherlv_2, grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2());
855
856 }
857 // InternalAlloyLanguage.g:310:1: ( (lv_literal_3_0= ruleALSEnumLiteral ) )
858 // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral )
859 {
860 // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral )
861 // InternalAlloyLanguage.g:312:3: lv_literal_3_0= ruleALSEnumLiteral
862 {
863 if ( state.backtracking==0 ) {
864
865 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0());
866
867 }
868 pushFollow(FOLLOW_6);
869 lv_literal_3_0=ruleALSEnumLiteral();
870
871 state._fsp--;
872 if (state.failed) return current;
873 if ( state.backtracking==0 ) {
874
875 if (current==null) {
876 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
877 }
878 add(
879 current,
880 "literal",
881 lv_literal_3_0,
882 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
883 afterParserOrEnumRuleCall();
884
885 }
886
887 }
888
889
890 }
891
892 // InternalAlloyLanguage.g:328:2: (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )*
893 loop3:
894 do {
895 int alt3=2;
896 int LA3_0 = input.LA(1);
897
898 if ( (LA3_0==13) ) {
899 alt3=1;
900 }
901
902
903 switch (alt3) {
904 case 1 :
905 // InternalAlloyLanguage.g:328:4: otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) )
906 {
907 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
908 if ( state.backtracking==0 ) {
909
910 newLeafNode(otherlv_4, grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0());
911
912 }
913 // InternalAlloyLanguage.g:332:1: ( (lv_literal_5_0= ruleALSEnumLiteral ) )
914 // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral )
915 {
916 // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral )
917 // InternalAlloyLanguage.g:334:3: lv_literal_5_0= ruleALSEnumLiteral
918 {
919 if ( state.backtracking==0 ) {
920
921 newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0());
922
923 }
924 pushFollow(FOLLOW_6);
925 lv_literal_5_0=ruleALSEnumLiteral();
926
927 state._fsp--;
928 if (state.failed) return current;
929 if ( state.backtracking==0 ) {
930
931 if (current==null) {
932 current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule());
933 }
934 add(
935 current,
936 "literal",
937 lv_literal_5_0,
938 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral");
939 afterParserOrEnumRuleCall();
940
941 }
942
943 }
944
945
946 }
947
948
949 }
950 break;
951
952 default :
953 break loop3;
954 }
955 } while (true);
956
957 otherlv_6=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
958 if ( state.backtracking==0 ) {
959
960 newLeafNode(otherlv_6, grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5());
961
962 }
963
964 }
965
966
967 }
968
969 if ( state.backtracking==0 ) {
970 leaveRule();
971 }
972 }
973
974 catch (RecognitionException re) {
975 recover(input,re);
976 appendSkippedTokens();
977 }
978 finally {
979 }
980 return current;
981 }
982 // $ANTLR end "ruleALSEnumDeclaration"
983
984
985 // $ANTLR start "entryRuleALSEnumLiteral"
986 // InternalAlloyLanguage.g:362:1: entryRuleALSEnumLiteral returns [EObject current=null] : iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF ;
987 public final EObject entryRuleALSEnumLiteral() throws RecognitionException {
988 EObject current = null;
989
990 EObject iv_ruleALSEnumLiteral = null;
991
992
993 try {
994 // InternalAlloyLanguage.g:363:2: (iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF )
995 // InternalAlloyLanguage.g:364:2: iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF
996 {
997 if ( state.backtracking==0 ) {
998 newCompositeNode(grammarAccess.getALSEnumLiteralRule());
999 }
1000 pushFollow(FOLLOW_1);
1001 iv_ruleALSEnumLiteral=ruleALSEnumLiteral();
1002
1003 state._fsp--;
1004 if (state.failed) return current;
1005 if ( state.backtracking==0 ) {
1006 current =iv_ruleALSEnumLiteral;
1007 }
1008 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1009
1010 }
1011
1012 }
1013
1014 catch (RecognitionException re) {
1015 recover(input,re);
1016 appendSkippedTokens();
1017 }
1018 finally {
1019 }
1020 return current;
1021 }
1022 // $ANTLR end "entryRuleALSEnumLiteral"
1023
1024
1025 // $ANTLR start "ruleALSEnumLiteral"
1026 // InternalAlloyLanguage.g:371:1: ruleALSEnumLiteral returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ;
1027 public final EObject ruleALSEnumLiteral() throws RecognitionException {
1028 EObject current = null;
1029
1030 AntlrDatatypeRuleToken lv_name_0_0 = null;
1031
1032
1033 enterRule();
1034
1035 try {
1036 // InternalAlloyLanguage.g:374:28: ( ( (lv_name_0_0= ruleALSID ) ) )
1037 // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) )
1038 {
1039 // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) )
1040 // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID )
1041 {
1042 // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID )
1043 // InternalAlloyLanguage.g:377:3: lv_name_0_0= ruleALSID
1044 {
1045 if ( state.backtracking==0 ) {
1046
1047 newCompositeNode(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0());
1048
1049 }
1050 pushFollow(FOLLOW_2);
1051 lv_name_0_0=ruleALSID();
1052
1053 state._fsp--;
1054 if (state.failed) return current;
1055 if ( state.backtracking==0 ) {
1056
1057 if (current==null) {
1058 current = createModelElementForParent(grammarAccess.getALSEnumLiteralRule());
1059 }
1060 set(
1061 current,
1062 "name",
1063 lv_name_0_0,
1064 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1065 afterParserOrEnumRuleCall();
1066
1067 }
1068
1069 }
1070
1071
1072 }
1073
1074
1075 }
1076
1077 if ( state.backtracking==0 ) {
1078 leaveRule();
1079 }
1080 }
1081
1082 catch (RecognitionException re) {
1083 recover(input,re);
1084 appendSkippedTokens();
1085 }
1086 finally {
1087 }
1088 return current;
1089 }
1090 // $ANTLR end "ruleALSEnumLiteral"
1091
1092
1093 // $ANTLR start "entryRuleALSSignatureDeclaration"
1094 // InternalAlloyLanguage.g:401:1: entryRuleALSSignatureDeclaration returns [EObject current=null] : iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF ;
1095 public final EObject entryRuleALSSignatureDeclaration() throws RecognitionException {
1096 EObject current = null;
1097
1098 EObject iv_ruleALSSignatureDeclaration = null;
1099
1100
1101 try {
1102 // InternalAlloyLanguage.g:402:2: (iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF )
1103 // InternalAlloyLanguage.g:403:2: iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF
1104 {
1105 if ( state.backtracking==0 ) {
1106 newCompositeNode(grammarAccess.getALSSignatureDeclarationRule());
1107 }
1108 pushFollow(FOLLOW_1);
1109 iv_ruleALSSignatureDeclaration=ruleALSSignatureDeclaration();
1110
1111 state._fsp--;
1112 if (state.failed) return current;
1113 if ( state.backtracking==0 ) {
1114 current =iv_ruleALSSignatureDeclaration;
1115 }
1116 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1117
1118 }
1119
1120 }
1121
1122 catch (RecognitionException re) {
1123 recover(input,re);
1124 appendSkippedTokens();
1125 }
1126 finally {
1127 }
1128 return current;
1129 }
1130 // $ANTLR end "entryRuleALSSignatureDeclaration"
1131
1132
1133 // $ANTLR start "ruleALSSignatureDeclaration"
1134 // InternalAlloyLanguage.g:410:1: ruleALSSignatureDeclaration returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ;
1135 public final EObject ruleALSSignatureDeclaration() throws RecognitionException {
1136 EObject current = null;
1137
1138 AntlrDatatypeRuleToken lv_name_0_0 = null;
1139
1140
1141 enterRule();
1142
1143 try {
1144 // InternalAlloyLanguage.g:413:28: ( ( (lv_name_0_0= ruleALSID ) ) )
1145 // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) )
1146 {
1147 // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) )
1148 // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID )
1149 {
1150 // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID )
1151 // InternalAlloyLanguage.g:416:3: lv_name_0_0= ruleALSID
1152 {
1153 if ( state.backtracking==0 ) {
1154
1155 newCompositeNode(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0());
1156
1157 }
1158 pushFollow(FOLLOW_2);
1159 lv_name_0_0=ruleALSID();
1160
1161 state._fsp--;
1162 if (state.failed) return current;
1163 if ( state.backtracking==0 ) {
1164
1165 if (current==null) {
1166 current = createModelElementForParent(grammarAccess.getALSSignatureDeclarationRule());
1167 }
1168 set(
1169 current,
1170 "name",
1171 lv_name_0_0,
1172 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1173 afterParserOrEnumRuleCall();
1174
1175 }
1176
1177 }
1178
1179
1180 }
1181
1182
1183 }
1184
1185 if ( state.backtracking==0 ) {
1186 leaveRule();
1187 }
1188 }
1189
1190 catch (RecognitionException re) {
1191 recover(input,re);
1192 appendSkippedTokens();
1193 }
1194 finally {
1195 }
1196 return current;
1197 }
1198 // $ANTLR end "ruleALSSignatureDeclaration"
1199
1200
1201 // $ANTLR start "entryRuleALSSignatureBody"
1202 // InternalAlloyLanguage.g:440:1: entryRuleALSSignatureBody returns [EObject current=null] : iv_ruleALSSignatureBody= ruleALSSignatureBody EOF ;
1203 public final EObject entryRuleALSSignatureBody() throws RecognitionException {
1204 EObject current = null;
1205
1206 EObject iv_ruleALSSignatureBody = null;
1207
1208
1209 try {
1210 // InternalAlloyLanguage.g:441:2: (iv_ruleALSSignatureBody= ruleALSSignatureBody EOF )
1211 // InternalAlloyLanguage.g:442:2: iv_ruleALSSignatureBody= ruleALSSignatureBody EOF
1212 {
1213 if ( state.backtracking==0 ) {
1214 newCompositeNode(grammarAccess.getALSSignatureBodyRule());
1215 }
1216 pushFollow(FOLLOW_1);
1217 iv_ruleALSSignatureBody=ruleALSSignatureBody();
1218
1219 state._fsp--;
1220 if (state.failed) return current;
1221 if ( state.backtracking==0 ) {
1222 current =iv_ruleALSSignatureBody;
1223 }
1224 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1225
1226 }
1227
1228 }
1229
1230 catch (RecognitionException re) {
1231 recover(input,re);
1232 appendSkippedTokens();
1233 }
1234 finally {
1235 }
1236 return current;
1237 }
1238 // $ANTLR end "entryRuleALSSignatureBody"
1239
1240
1241 // $ANTLR start "ruleALSSignatureBody"
1242 // 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= '}' ) ;
1243 public final EObject ruleALSSignatureBody() throws RecognitionException {
1244 EObject current = null;
1245
1246 Token lv_abstract_2_0=null;
1247 Token otherlv_3=null;
1248 Token otherlv_5=null;
1249 Token otherlv_7=null;
1250 Token otherlv_8=null;
1251 Token otherlv_9=null;
1252 Token otherlv_10=null;
1253 Token otherlv_11=null;
1254 Token otherlv_12=null;
1255 Token otherlv_13=null;
1256 Token otherlv_15=null;
1257 Token otherlv_17=null;
1258 Enumerator lv_multiplicity_1_0 = null;
1259
1260 EObject lv_declarations_4_0 = null;
1261
1262 EObject lv_declarations_6_0 = null;
1263
1264 EObject lv_fields_14_0 = null;
1265
1266 EObject lv_fields_16_0 = null;
1267
1268
1269 enterRule();
1270
1271 try {
1272 // 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= '}' ) )
1273 // 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= '}' )
1274 {
1275 // 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= '}' )
1276 // 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= '}'
1277 {
1278 // InternalAlloyLanguage.g:453:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) )
1279 // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) )
1280 {
1281 // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) )
1282 // InternalAlloyLanguage.g:456:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* )
1283 {
1284 getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1285 // InternalAlloyLanguage.g:459:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* )
1286 // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )*
1287 {
1288 // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )*
1289 loop4:
1290 do {
1291 int alt4=3;
1292 int LA4_0 = input.LA(1);
1293
1294 if ( LA4_0 >= 65 && LA4_0 <= 70 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
1295 alt4=1;
1296 }
1297 else if ( LA4_0 == 15 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
1298 alt4=2;
1299 }
1300
1301
1302 switch (alt4) {
1303 case 1 :
1304 // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) )
1305 {
1306 // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) )
1307 // InternalAlloyLanguage.g:463:5: {...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) )
1308 {
1309 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) {
1310 if (state.backtracking>0) {state.failed=true; return current;}
1311 throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)");
1312 }
1313 // InternalAlloyLanguage.g:463:113: ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) )
1314 // InternalAlloyLanguage.g:464:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) )
1315 {
1316 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0);
1317 // InternalAlloyLanguage.g:467:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) )
1318 // InternalAlloyLanguage.g:467:7: {...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) )
1319 {
1320 if ( !((true)) ) {
1321 if (state.backtracking>0) {state.failed=true; return current;}
1322 throw new FailedPredicateException(input, "ruleALSSignatureBody", "true");
1323 }
1324 // InternalAlloyLanguage.g:467:16: ( (lv_multiplicity_1_0= ruleALSMultiplicity ) )
1325 // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity )
1326 {
1327 // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity )
1328 // InternalAlloyLanguage.g:469:3: lv_multiplicity_1_0= ruleALSMultiplicity
1329 {
1330 if ( state.backtracking==0 ) {
1331
1332 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0());
1333
1334 }
1335 pushFollow(FOLLOW_7);
1336 lv_multiplicity_1_0=ruleALSMultiplicity();
1337
1338 state._fsp--;
1339 if (state.failed) return current;
1340 if ( state.backtracking==0 ) {
1341
1342 if (current==null) {
1343 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1344 }
1345 set(
1346 current,
1347 "multiplicity",
1348 lv_multiplicity_1_0,
1349 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1350 afterParserOrEnumRuleCall();
1351
1352 }
1353
1354 }
1355
1356
1357 }
1358
1359
1360 }
1361
1362 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1363
1364 }
1365
1366
1367 }
1368
1369
1370 }
1371 break;
1372 case 2 :
1373 // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) )
1374 {
1375 // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) )
1376 // InternalAlloyLanguage.g:493:5: {...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) )
1377 {
1378 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) {
1379 if (state.backtracking>0) {state.failed=true; return current;}
1380 throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)");
1381 }
1382 // InternalAlloyLanguage.g:493:113: ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) )
1383 // InternalAlloyLanguage.g:494:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) )
1384 {
1385 getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1);
1386 // InternalAlloyLanguage.g:497:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) )
1387 // InternalAlloyLanguage.g:497:7: {...}? => ( (lv_abstract_2_0= 'abstract' ) )
1388 {
1389 if ( !((true)) ) {
1390 if (state.backtracking>0) {state.failed=true; return current;}
1391 throw new FailedPredicateException(input, "ruleALSSignatureBody", "true");
1392 }
1393 // InternalAlloyLanguage.g:497:16: ( (lv_abstract_2_0= 'abstract' ) )
1394 // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' )
1395 {
1396 // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' )
1397 // InternalAlloyLanguage.g:499:3: lv_abstract_2_0= 'abstract'
1398 {
1399 lv_abstract_2_0=(Token)match(input,15,FOLLOW_7); if (state.failed) return current;
1400 if ( state.backtracking==0 ) {
1401
1402 newLeafNode(lv_abstract_2_0, grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0());
1403
1404 }
1405 if ( state.backtracking==0 ) {
1406
1407 if (current==null) {
1408 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1409 }
1410 setWithLastConsumed(current, "abstract", true, "abstract");
1411
1412 }
1413
1414 }
1415
1416
1417 }
1418
1419
1420 }
1421
1422 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1423
1424 }
1425
1426
1427 }
1428
1429
1430 }
1431 break;
1432
1433 default :
1434 break loop4;
1435 }
1436 } while (true);
1437
1438
1439 }
1440
1441
1442 }
1443
1444 getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0());
1445
1446 }
1447
1448 otherlv_3=(Token)match(input,16,FOLLOW_4); if (state.failed) return current;
1449 if ( state.backtracking==0 ) {
1450
1451 newLeafNode(otherlv_3, grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1());
1452
1453 }
1454 // InternalAlloyLanguage.g:530:1: ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) )
1455 // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration )
1456 {
1457 // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration )
1458 // InternalAlloyLanguage.g:532:3: lv_declarations_4_0= ruleALSSignatureDeclaration
1459 {
1460 if ( state.backtracking==0 ) {
1461
1462 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0());
1463
1464 }
1465 pushFollow(FOLLOW_8);
1466 lv_declarations_4_0=ruleALSSignatureDeclaration();
1467
1468 state._fsp--;
1469 if (state.failed) return current;
1470 if ( state.backtracking==0 ) {
1471
1472 if (current==null) {
1473 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1474 }
1475 add(
1476 current,
1477 "declarations",
1478 lv_declarations_4_0,
1479 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
1480 afterParserOrEnumRuleCall();
1481
1482 }
1483
1484 }
1485
1486
1487 }
1488
1489 // InternalAlloyLanguage.g:548:2: (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )*
1490 loop5:
1491 do {
1492 int alt5=2;
1493 int LA5_0 = input.LA(1);
1494
1495 if ( (LA5_0==13) ) {
1496 alt5=1;
1497 }
1498
1499
1500 switch (alt5) {
1501 case 1 :
1502 // InternalAlloyLanguage.g:548:4: otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) )
1503 {
1504 otherlv_5=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
1505 if ( state.backtracking==0 ) {
1506
1507 newLeafNode(otherlv_5, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0());
1508
1509 }
1510 // InternalAlloyLanguage.g:552:1: ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) )
1511 // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration )
1512 {
1513 // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration )
1514 // InternalAlloyLanguage.g:554:3: lv_declarations_6_0= ruleALSSignatureDeclaration
1515 {
1516 if ( state.backtracking==0 ) {
1517
1518 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0());
1519
1520 }
1521 pushFollow(FOLLOW_8);
1522 lv_declarations_6_0=ruleALSSignatureDeclaration();
1523
1524 state._fsp--;
1525 if (state.failed) return current;
1526 if ( state.backtracking==0 ) {
1527
1528 if (current==null) {
1529 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1530 }
1531 add(
1532 current,
1533 "declarations",
1534 lv_declarations_6_0,
1535 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration");
1536 afterParserOrEnumRuleCall();
1537
1538 }
1539
1540 }
1541
1542
1543 }
1544
1545
1546 }
1547 break;
1548
1549 default :
1550 break loop5;
1551 }
1552 } while (true);
1553
1554 // InternalAlloyLanguage.g:570:4: ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )?
1555 int alt7=3;
1556 int LA7_0 = input.LA(1);
1557
1558 if ( (LA7_0==17) ) {
1559 alt7=1;
1560 }
1561 else if ( (LA7_0==18) ) {
1562 alt7=2;
1563 }
1564 switch (alt7) {
1565 case 1 :
1566 // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) )
1567 {
1568 // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) )
1569 // InternalAlloyLanguage.g:570:7: otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) )
1570 {
1571 otherlv_7=(Token)match(input,17,FOLLOW_4); if (state.failed) return current;
1572 if ( state.backtracking==0 ) {
1573
1574 newLeafNode(otherlv_7, grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0());
1575
1576 }
1577 // InternalAlloyLanguage.g:574:1: ( (otherlv_8= RULE_ID ) )
1578 // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID )
1579 {
1580 // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID )
1581 // InternalAlloyLanguage.g:576:3: otherlv_8= RULE_ID
1582 {
1583 if ( state.backtracking==0 ) {
1584
1585 if (current==null) {
1586 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1587 }
1588
1589 }
1590 otherlv_8=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
1591 if ( state.backtracking==0 ) {
1592
1593 newLeafNode(otherlv_8, grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0());
1594
1595 }
1596
1597 }
1598
1599
1600 }
1601
1602
1603 }
1604
1605
1606 }
1607 break;
1608 case 2 :
1609 // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* )
1610 {
1611 // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* )
1612 // InternalAlloyLanguage.g:588:8: otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )*
1613 {
1614 otherlv_9=(Token)match(input,18,FOLLOW_4); if (state.failed) return current;
1615 if ( state.backtracking==0 ) {
1616
1617 newLeafNode(otherlv_9, grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0());
1618
1619 }
1620 // InternalAlloyLanguage.g:592:1: ( (otherlv_10= RULE_ID ) )
1621 // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID )
1622 {
1623 // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID )
1624 // InternalAlloyLanguage.g:594:3: otherlv_10= RULE_ID
1625 {
1626 if ( state.backtracking==0 ) {
1627
1628 if (current==null) {
1629 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1630 }
1631
1632 }
1633 otherlv_10=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current;
1634 if ( state.backtracking==0 ) {
1635
1636 newLeafNode(otherlv_10, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0());
1637
1638 }
1639
1640 }
1641
1642
1643 }
1644
1645 // InternalAlloyLanguage.g:605:2: (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )*
1646 loop6:
1647 do {
1648 int alt6=2;
1649 int LA6_0 = input.LA(1);
1650
1651 if ( (LA6_0==19) ) {
1652 alt6=1;
1653 }
1654
1655
1656 switch (alt6) {
1657 case 1 :
1658 // InternalAlloyLanguage.g:605:4: otherlv_11= '+' ( (otherlv_12= RULE_ID ) )
1659 {
1660 otherlv_11=(Token)match(input,19,FOLLOW_4); if (state.failed) return current;
1661 if ( state.backtracking==0 ) {
1662
1663 newLeafNode(otherlv_11, grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0());
1664
1665 }
1666 // InternalAlloyLanguage.g:609:1: ( (otherlv_12= RULE_ID ) )
1667 // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID )
1668 {
1669 // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID )
1670 // InternalAlloyLanguage.g:611:3: otherlv_12= RULE_ID
1671 {
1672 if ( state.backtracking==0 ) {
1673
1674 if (current==null) {
1675 current = createModelElement(grammarAccess.getALSSignatureBodyRule());
1676 }
1677
1678 }
1679 otherlv_12=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current;
1680 if ( state.backtracking==0 ) {
1681
1682 newLeafNode(otherlv_12, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0());
1683
1684 }
1685
1686 }
1687
1688
1689 }
1690
1691
1692 }
1693 break;
1694
1695 default :
1696 break loop6;
1697 }
1698 } while (true);
1699
1700
1701 }
1702
1703
1704 }
1705 break;
1706
1707 }
1708
1709 otherlv_13=(Token)match(input,12,FOLLOW_10); if (state.failed) return current;
1710 if ( state.backtracking==0 ) {
1711
1712 newLeafNode(otherlv_13, grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5());
1713
1714 }
1715 // InternalAlloyLanguage.g:626:1: ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )?
1716 int alt9=2;
1717 int LA9_0 = input.LA(1);
1718
1719 if ( (LA9_0==RULE_ID) ) {
1720 alt9=1;
1721 }
1722 switch (alt9) {
1723 case 1 :
1724 // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )*
1725 {
1726 // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) )
1727 // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration )
1728 {
1729 // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration )
1730 // InternalAlloyLanguage.g:628:3: lv_fields_14_0= ruleALSFieldDeclaration
1731 {
1732 if ( state.backtracking==0 ) {
1733
1734 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0());
1735
1736 }
1737 pushFollow(FOLLOW_6);
1738 lv_fields_14_0=ruleALSFieldDeclaration();
1739
1740 state._fsp--;
1741 if (state.failed) return current;
1742 if ( state.backtracking==0 ) {
1743
1744 if (current==null) {
1745 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1746 }
1747 add(
1748 current,
1749 "fields",
1750 lv_fields_14_0,
1751 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
1752 afterParserOrEnumRuleCall();
1753
1754 }
1755
1756 }
1757
1758
1759 }
1760
1761 // InternalAlloyLanguage.g:644:2: (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )*
1762 loop8:
1763 do {
1764 int alt8=2;
1765 int LA8_0 = input.LA(1);
1766
1767 if ( (LA8_0==13) ) {
1768 alt8=1;
1769 }
1770
1771
1772 switch (alt8) {
1773 case 1 :
1774 // InternalAlloyLanguage.g:644:4: otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) )
1775 {
1776 otherlv_15=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
1777 if ( state.backtracking==0 ) {
1778
1779 newLeafNode(otherlv_15, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0());
1780
1781 }
1782 // InternalAlloyLanguage.g:648:1: ( (lv_fields_16_0= ruleALSFieldDeclaration ) )
1783 // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration )
1784 {
1785 // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration )
1786 // InternalAlloyLanguage.g:650:3: lv_fields_16_0= ruleALSFieldDeclaration
1787 {
1788 if ( state.backtracking==0 ) {
1789
1790 newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0());
1791
1792 }
1793 pushFollow(FOLLOW_6);
1794 lv_fields_16_0=ruleALSFieldDeclaration();
1795
1796 state._fsp--;
1797 if (state.failed) return current;
1798 if ( state.backtracking==0 ) {
1799
1800 if (current==null) {
1801 current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule());
1802 }
1803 add(
1804 current,
1805 "fields",
1806 lv_fields_16_0,
1807 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration");
1808 afterParserOrEnumRuleCall();
1809
1810 }
1811
1812 }
1813
1814
1815 }
1816
1817
1818 }
1819 break;
1820
1821 default :
1822 break loop8;
1823 }
1824 } while (true);
1825
1826
1827 }
1828 break;
1829
1830 }
1831
1832 otherlv_17=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
1833 if ( state.backtracking==0 ) {
1834
1835 newLeafNode(otherlv_17, grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7());
1836
1837 }
1838
1839 }
1840
1841
1842 }
1843
1844 if ( state.backtracking==0 ) {
1845 leaveRule();
1846 }
1847 }
1848
1849 catch (RecognitionException re) {
1850 recover(input,re);
1851 appendSkippedTokens();
1852 }
1853 finally {
1854 }
1855 return current;
1856 }
1857 // $ANTLR end "ruleALSSignatureBody"
1858
1859
1860 // $ANTLR start "entryRuleALSFieldDeclaration"
1861 // InternalAlloyLanguage.g:678:1: entryRuleALSFieldDeclaration returns [EObject current=null] : iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF ;
1862 public final EObject entryRuleALSFieldDeclaration() throws RecognitionException {
1863 EObject current = null;
1864
1865 EObject iv_ruleALSFieldDeclaration = null;
1866
1867
1868 try {
1869 // InternalAlloyLanguage.g:679:2: (iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF )
1870 // InternalAlloyLanguage.g:680:2: iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF
1871 {
1872 if ( state.backtracking==0 ) {
1873 newCompositeNode(grammarAccess.getALSFieldDeclarationRule());
1874 }
1875 pushFollow(FOLLOW_1);
1876 iv_ruleALSFieldDeclaration=ruleALSFieldDeclaration();
1877
1878 state._fsp--;
1879 if (state.failed) return current;
1880 if ( state.backtracking==0 ) {
1881 current =iv_ruleALSFieldDeclaration;
1882 }
1883 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1884
1885 }
1886
1887 }
1888
1889 catch (RecognitionException re) {
1890 recover(input,re);
1891 appendSkippedTokens();
1892 }
1893 finally {
1894 }
1895 return current;
1896 }
1897 // $ANTLR end "entryRuleALSFieldDeclaration"
1898
1899
1900 // $ANTLR start "ruleALSFieldDeclaration"
1901 // 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 ) ) ) ;
1902 public final EObject ruleALSFieldDeclaration() throws RecognitionException {
1903 EObject current = null;
1904
1905 Token otherlv_1=null;
1906 AntlrDatatypeRuleToken lv_name_0_0 = null;
1907
1908 Enumerator lv_multiplicity_2_0 = null;
1909
1910 EObject lv_type_3_0 = null;
1911
1912
1913 enterRule();
1914
1915 try {
1916 // InternalAlloyLanguage.g:690:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) )
1917 // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) )
1918 {
1919 // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) )
1920 // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) )
1921 {
1922 // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) )
1923 // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID )
1924 {
1925 // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID )
1926 // InternalAlloyLanguage.g:693:3: lv_name_0_0= ruleALSID
1927 {
1928 if ( state.backtracking==0 ) {
1929
1930 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0());
1931
1932 }
1933 pushFollow(FOLLOW_11);
1934 lv_name_0_0=ruleALSID();
1935
1936 state._fsp--;
1937 if (state.failed) return current;
1938 if ( state.backtracking==0 ) {
1939
1940 if (current==null) {
1941 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
1942 }
1943 set(
1944 current,
1945 "name",
1946 lv_name_0_0,
1947 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
1948 afterParserOrEnumRuleCall();
1949
1950 }
1951
1952 }
1953
1954
1955 }
1956
1957 otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
1958 if ( state.backtracking==0 ) {
1959
1960 newLeafNode(otherlv_1, grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1());
1961
1962 }
1963 // InternalAlloyLanguage.g:713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )?
1964 int alt10=2;
1965 alt10 = dfa10.predict(input);
1966 switch (alt10) {
1967 case 1 :
1968 // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity )
1969 {
1970 // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity )
1971 // InternalAlloyLanguage.g:715:3: lv_multiplicity_2_0= ruleALSMultiplicity
1972 {
1973 if ( state.backtracking==0 ) {
1974
1975 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0());
1976
1977 }
1978 pushFollow(FOLLOW_12);
1979 lv_multiplicity_2_0=ruleALSMultiplicity();
1980
1981 state._fsp--;
1982 if (state.failed) return current;
1983 if ( state.backtracking==0 ) {
1984
1985 if (current==null) {
1986 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
1987 }
1988 set(
1989 current,
1990 "multiplicity",
1991 lv_multiplicity_2_0,
1992 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1993 afterParserOrEnumRuleCall();
1994
1995 }
1996
1997 }
1998
1999
2000 }
2001 break;
2002
2003 }
2004
2005 // InternalAlloyLanguage.g:731:3: ( (lv_type_3_0= ruleALSTerm ) )
2006 // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm )
2007 {
2008 // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm )
2009 // InternalAlloyLanguage.g:733:3: lv_type_3_0= ruleALSTerm
2010 {
2011 if ( state.backtracking==0 ) {
2012
2013 newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0());
2014
2015 }
2016 pushFollow(FOLLOW_2);
2017 lv_type_3_0=ruleALSTerm();
2018
2019 state._fsp--;
2020 if (state.failed) return current;
2021 if ( state.backtracking==0 ) {
2022
2023 if (current==null) {
2024 current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule());
2025 }
2026 set(
2027 current,
2028 "type",
2029 lv_type_3_0,
2030 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2031 afterParserOrEnumRuleCall();
2032
2033 }
2034
2035 }
2036
2037
2038 }
2039
2040
2041 }
2042
2043
2044 }
2045
2046 if ( state.backtracking==0 ) {
2047 leaveRule();
2048 }
2049 }
2050
2051 catch (RecognitionException re) {
2052 recover(input,re);
2053 appendSkippedTokens();
2054 }
2055 finally {
2056 }
2057 return current;
2058 }
2059 // $ANTLR end "ruleALSFieldDeclaration"
2060
2061
2062 // $ANTLR start "entryRuleALSFunctionDefinition"
2063 // InternalAlloyLanguage.g:759:1: entryRuleALSFunctionDefinition returns [EObject current=null] : iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF ;
2064 public final EObject entryRuleALSFunctionDefinition() throws RecognitionException {
2065 EObject current = null;
2066
2067 EObject iv_ruleALSFunctionDefinition = null;
2068
2069
2070 try {
2071 // InternalAlloyLanguage.g:760:2: (iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF )
2072 // InternalAlloyLanguage.g:761:2: iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF
2073 {
2074 if ( state.backtracking==0 ) {
2075 newCompositeNode(grammarAccess.getALSFunctionDefinitionRule());
2076 }
2077 pushFollow(FOLLOW_1);
2078 iv_ruleALSFunctionDefinition=ruleALSFunctionDefinition();
2079
2080 state._fsp--;
2081 if (state.failed) return current;
2082 if ( state.backtracking==0 ) {
2083 current =iv_ruleALSFunctionDefinition;
2084 }
2085 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2086
2087 }
2088
2089 }
2090
2091 catch (RecognitionException re) {
2092 recover(input,re);
2093 appendSkippedTokens();
2094 }
2095 finally {
2096 }
2097 return current;
2098 }
2099 // $ANTLR end "entryRuleALSFunctionDefinition"
2100
2101
2102 // $ANTLR start "ruleALSFunctionDefinition"
2103 // 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= '}' ) ;
2104 public final EObject ruleALSFunctionDefinition() throws RecognitionException {
2105 EObject current = null;
2106
2107 Token otherlv_0=null;
2108 Token otherlv_2=null;
2109 Token otherlv_4=null;
2110 Token otherlv_6=null;
2111 Token otherlv_7=null;
2112 Token otherlv_9=null;
2113 Token otherlv_11=null;
2114 AntlrDatatypeRuleToken lv_name_1_0 = null;
2115
2116 EObject lv_variables_3_0 = null;
2117
2118 EObject lv_variables_5_0 = null;
2119
2120 EObject lv_type_8_0 = null;
2121
2122 EObject lv_value_10_0 = null;
2123
2124
2125 enterRule();
2126
2127 try {
2128 // 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= '}' ) )
2129 // 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= '}' )
2130 {
2131 // 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= '}' )
2132 // 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= '}'
2133 {
2134 otherlv_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current;
2135 if ( state.backtracking==0 ) {
2136
2137 newLeafNode(otherlv_0, grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0());
2138
2139 }
2140 // InternalAlloyLanguage.g:776:1: ( (lv_name_1_0= ruleALSID ) )
2141 // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID )
2142 {
2143 // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID )
2144 // InternalAlloyLanguage.g:778:3: lv_name_1_0= ruleALSID
2145 {
2146 if ( state.backtracking==0 ) {
2147
2148 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0());
2149
2150 }
2151 pushFollow(FOLLOW_13);
2152 lv_name_1_0=ruleALSID();
2153
2154 state._fsp--;
2155 if (state.failed) return current;
2156 if ( state.backtracking==0 ) {
2157
2158 if (current==null) {
2159 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2160 }
2161 set(
2162 current,
2163 "name",
2164 lv_name_1_0,
2165 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2166 afterParserOrEnumRuleCall();
2167
2168 }
2169
2170 }
2171
2172
2173 }
2174
2175 otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current;
2176 if ( state.backtracking==0 ) {
2177
2178 newLeafNode(otherlv_2, grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2());
2179
2180 }
2181 // InternalAlloyLanguage.g:798:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
2182 // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2183 {
2184 // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2185 // InternalAlloyLanguage.g:800:3: lv_variables_3_0= ruleALSVariableDeclaration
2186 {
2187 if ( state.backtracking==0 ) {
2188
2189 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
2190
2191 }
2192 pushFollow(FOLLOW_14);
2193 lv_variables_3_0=ruleALSVariableDeclaration();
2194
2195 state._fsp--;
2196 if (state.failed) return current;
2197 if ( state.backtracking==0 ) {
2198
2199 if (current==null) {
2200 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2201 }
2202 add(
2203 current,
2204 "variables",
2205 lv_variables_3_0,
2206 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2207 afterParserOrEnumRuleCall();
2208
2209 }
2210
2211 }
2212
2213
2214 }
2215
2216 // InternalAlloyLanguage.g:816:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
2217 loop11:
2218 do {
2219 int alt11=2;
2220 int LA11_0 = input.LA(1);
2221
2222 if ( (LA11_0==13) ) {
2223 alt11=1;
2224 }
2225
2226
2227 switch (alt11) {
2228 case 1 :
2229 // InternalAlloyLanguage.g:816:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2230 {
2231 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
2232 if ( state.backtracking==0 ) {
2233
2234 newLeafNode(otherlv_4, grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0());
2235
2236 }
2237 // InternalAlloyLanguage.g:820:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2238 // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2239 {
2240 // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2241 // InternalAlloyLanguage.g:822:3: lv_variables_5_0= ruleALSVariableDeclaration
2242 {
2243 if ( state.backtracking==0 ) {
2244
2245 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
2246
2247 }
2248 pushFollow(FOLLOW_14);
2249 lv_variables_5_0=ruleALSVariableDeclaration();
2250
2251 state._fsp--;
2252 if (state.failed) return current;
2253 if ( state.backtracking==0 ) {
2254
2255 if (current==null) {
2256 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2257 }
2258 add(
2259 current,
2260 "variables",
2261 lv_variables_5_0,
2262 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2263 afterParserOrEnumRuleCall();
2264
2265 }
2266
2267 }
2268
2269
2270 }
2271
2272
2273 }
2274 break;
2275
2276 default :
2277 break loop11;
2278 }
2279 } while (true);
2280
2281 otherlv_6=(Token)match(input,23,FOLLOW_11); if (state.failed) return current;
2282 if ( state.backtracking==0 ) {
2283
2284 newLeafNode(otherlv_6, grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5());
2285
2286 }
2287 otherlv_7=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
2288 if ( state.backtracking==0 ) {
2289
2290 newLeafNode(otherlv_7, grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6());
2291
2292 }
2293 // InternalAlloyLanguage.g:846:1: ( (lv_type_8_0= ruleALSTerm ) )
2294 // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm )
2295 {
2296 // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm )
2297 // InternalAlloyLanguage.g:848:3: lv_type_8_0= ruleALSTerm
2298 {
2299 if ( state.backtracking==0 ) {
2300
2301 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0());
2302
2303 }
2304 pushFollow(FOLLOW_5);
2305 lv_type_8_0=ruleALSTerm();
2306
2307 state._fsp--;
2308 if (state.failed) return current;
2309 if ( state.backtracking==0 ) {
2310
2311 if (current==null) {
2312 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2313 }
2314 set(
2315 current,
2316 "type",
2317 lv_type_8_0,
2318 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2319 afterParserOrEnumRuleCall();
2320
2321 }
2322
2323 }
2324
2325
2326 }
2327
2328 otherlv_9=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2329 if ( state.backtracking==0 ) {
2330
2331 newLeafNode(otherlv_9, grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8());
2332
2333 }
2334 // InternalAlloyLanguage.g:868:1: ( (lv_value_10_0= ruleALSTerm ) )
2335 // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm )
2336 {
2337 // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm )
2338 // InternalAlloyLanguage.g:870:3: lv_value_10_0= ruleALSTerm
2339 {
2340 if ( state.backtracking==0 ) {
2341
2342 newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0());
2343
2344 }
2345 pushFollow(FOLLOW_15);
2346 lv_value_10_0=ruleALSTerm();
2347
2348 state._fsp--;
2349 if (state.failed) return current;
2350 if ( state.backtracking==0 ) {
2351
2352 if (current==null) {
2353 current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule());
2354 }
2355 set(
2356 current,
2357 "value",
2358 lv_value_10_0,
2359 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2360 afterParserOrEnumRuleCall();
2361
2362 }
2363
2364 }
2365
2366
2367 }
2368
2369 otherlv_11=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2370 if ( state.backtracking==0 ) {
2371
2372 newLeafNode(otherlv_11, grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10());
2373
2374 }
2375
2376 }
2377
2378
2379 }
2380
2381 if ( state.backtracking==0 ) {
2382 leaveRule();
2383 }
2384 }
2385
2386 catch (RecognitionException re) {
2387 recover(input,re);
2388 appendSkippedTokens();
2389 }
2390 finally {
2391 }
2392 return current;
2393 }
2394 // $ANTLR end "ruleALSFunctionDefinition"
2395
2396
2397 // $ANTLR start "entryRuleALSRelationDefinition"
2398 // InternalAlloyLanguage.g:898:1: entryRuleALSRelationDefinition returns [EObject current=null] : iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF ;
2399 public final EObject entryRuleALSRelationDefinition() throws RecognitionException {
2400 EObject current = null;
2401
2402 EObject iv_ruleALSRelationDefinition = null;
2403
2404
2405 try {
2406 // InternalAlloyLanguage.g:899:2: (iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF )
2407 // InternalAlloyLanguage.g:900:2: iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF
2408 {
2409 if ( state.backtracking==0 ) {
2410 newCompositeNode(grammarAccess.getALSRelationDefinitionRule());
2411 }
2412 pushFollow(FOLLOW_1);
2413 iv_ruleALSRelationDefinition=ruleALSRelationDefinition();
2414
2415 state._fsp--;
2416 if (state.failed) return current;
2417 if ( state.backtracking==0 ) {
2418 current =iv_ruleALSRelationDefinition;
2419 }
2420 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2421
2422 }
2423
2424 }
2425
2426 catch (RecognitionException re) {
2427 recover(input,re);
2428 appendSkippedTokens();
2429 }
2430 finally {
2431 }
2432 return current;
2433 }
2434 // $ANTLR end "entryRuleALSRelationDefinition"
2435
2436
2437 // $ANTLR start "ruleALSRelationDefinition"
2438 // 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= '}' ) ;
2439 public final EObject ruleALSRelationDefinition() throws RecognitionException {
2440 EObject current = null;
2441
2442 Token otherlv_0=null;
2443 Token otherlv_2=null;
2444 Token otherlv_4=null;
2445 Token otherlv_6=null;
2446 Token otherlv_7=null;
2447 Token otherlv_9=null;
2448 AntlrDatatypeRuleToken lv_name_1_0 = null;
2449
2450 EObject lv_variables_3_0 = null;
2451
2452 EObject lv_variables_5_0 = null;
2453
2454 EObject lv_value_8_0 = null;
2455
2456
2457 enterRule();
2458
2459 try {
2460 // 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= '}' ) )
2461 // 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= '}' )
2462 {
2463 // 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= '}' )
2464 // 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= '}'
2465 {
2466 otherlv_0=(Token)match(input,24,FOLLOW_4); if (state.failed) return current;
2467 if ( state.backtracking==0 ) {
2468
2469 newLeafNode(otherlv_0, grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0());
2470
2471 }
2472 // InternalAlloyLanguage.g:915:1: ( (lv_name_1_0= ruleALSID ) )
2473 // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID )
2474 {
2475 // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID )
2476 // InternalAlloyLanguage.g:917:3: lv_name_1_0= ruleALSID
2477 {
2478 if ( state.backtracking==0 ) {
2479
2480 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0());
2481
2482 }
2483 pushFollow(FOLLOW_13);
2484 lv_name_1_0=ruleALSID();
2485
2486 state._fsp--;
2487 if (state.failed) return current;
2488 if ( state.backtracking==0 ) {
2489
2490 if (current==null) {
2491 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2492 }
2493 set(
2494 current,
2495 "name",
2496 lv_name_1_0,
2497 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2498 afterParserOrEnumRuleCall();
2499
2500 }
2501
2502 }
2503
2504
2505 }
2506
2507 otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current;
2508 if ( state.backtracking==0 ) {
2509
2510 newLeafNode(otherlv_2, grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2());
2511
2512 }
2513 // InternalAlloyLanguage.g:937:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
2514 // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2515 {
2516 // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration )
2517 // InternalAlloyLanguage.g:939:3: lv_variables_3_0= ruleALSVariableDeclaration
2518 {
2519 if ( state.backtracking==0 ) {
2520
2521 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0());
2522
2523 }
2524 pushFollow(FOLLOW_14);
2525 lv_variables_3_0=ruleALSVariableDeclaration();
2526
2527 state._fsp--;
2528 if (state.failed) return current;
2529 if ( state.backtracking==0 ) {
2530
2531 if (current==null) {
2532 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2533 }
2534 add(
2535 current,
2536 "variables",
2537 lv_variables_3_0,
2538 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2539 afterParserOrEnumRuleCall();
2540
2541 }
2542
2543 }
2544
2545
2546 }
2547
2548 // InternalAlloyLanguage.g:955:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
2549 loop12:
2550 do {
2551 int alt12=2;
2552 int LA12_0 = input.LA(1);
2553
2554 if ( (LA12_0==13) ) {
2555 alt12=1;
2556 }
2557
2558
2559 switch (alt12) {
2560 case 1 :
2561 // InternalAlloyLanguage.g:955:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2562 {
2563 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
2564 if ( state.backtracking==0 ) {
2565
2566 newLeafNode(otherlv_4, grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0());
2567
2568 }
2569 // InternalAlloyLanguage.g:959:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
2570 // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2571 {
2572 // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration )
2573 // InternalAlloyLanguage.g:961:3: lv_variables_5_0= ruleALSVariableDeclaration
2574 {
2575 if ( state.backtracking==0 ) {
2576
2577 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0());
2578
2579 }
2580 pushFollow(FOLLOW_14);
2581 lv_variables_5_0=ruleALSVariableDeclaration();
2582
2583 state._fsp--;
2584 if (state.failed) return current;
2585 if ( state.backtracking==0 ) {
2586
2587 if (current==null) {
2588 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2589 }
2590 add(
2591 current,
2592 "variables",
2593 lv_variables_5_0,
2594 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
2595 afterParserOrEnumRuleCall();
2596
2597 }
2598
2599 }
2600
2601
2602 }
2603
2604
2605 }
2606 break;
2607
2608 default :
2609 break loop12;
2610 }
2611 } while (true);
2612
2613 otherlv_6=(Token)match(input,23,FOLLOW_5); if (state.failed) return current;
2614 if ( state.backtracking==0 ) {
2615
2616 newLeafNode(otherlv_6, grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5());
2617
2618 }
2619 otherlv_7=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2620 if ( state.backtracking==0 ) {
2621
2622 newLeafNode(otherlv_7, grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6());
2623
2624 }
2625 // InternalAlloyLanguage.g:985:1: ( (lv_value_8_0= ruleALSTerm ) )
2626 // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm )
2627 {
2628 // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm )
2629 // InternalAlloyLanguage.g:987:3: lv_value_8_0= ruleALSTerm
2630 {
2631 if ( state.backtracking==0 ) {
2632
2633 newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0());
2634
2635 }
2636 pushFollow(FOLLOW_15);
2637 lv_value_8_0=ruleALSTerm();
2638
2639 state._fsp--;
2640 if (state.failed) return current;
2641 if ( state.backtracking==0 ) {
2642
2643 if (current==null) {
2644 current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule());
2645 }
2646 set(
2647 current,
2648 "value",
2649 lv_value_8_0,
2650 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2651 afterParserOrEnumRuleCall();
2652
2653 }
2654
2655 }
2656
2657
2658 }
2659
2660 otherlv_9=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2661 if ( state.backtracking==0 ) {
2662
2663 newLeafNode(otherlv_9, grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8());
2664
2665 }
2666
2667 }
2668
2669
2670 }
2671
2672 if ( state.backtracking==0 ) {
2673 leaveRule();
2674 }
2675 }
2676
2677 catch (RecognitionException re) {
2678 recover(input,re);
2679 appendSkippedTokens();
2680 }
2681 finally {
2682 }
2683 return current;
2684 }
2685 // $ANTLR end "ruleALSRelationDefinition"
2686
2687
2688 // $ANTLR start "entryRuleALSFactDeclaration"
2689 // InternalAlloyLanguage.g:1015:1: entryRuleALSFactDeclaration returns [EObject current=null] : iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF ;
2690 public final EObject entryRuleALSFactDeclaration() throws RecognitionException {
2691 EObject current = null;
2692
2693 EObject iv_ruleALSFactDeclaration = null;
2694
2695
2696 try {
2697 // InternalAlloyLanguage.g:1016:2: (iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF )
2698 // InternalAlloyLanguage.g:1017:2: iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF
2699 {
2700 if ( state.backtracking==0 ) {
2701 newCompositeNode(grammarAccess.getALSFactDeclarationRule());
2702 }
2703 pushFollow(FOLLOW_1);
2704 iv_ruleALSFactDeclaration=ruleALSFactDeclaration();
2705
2706 state._fsp--;
2707 if (state.failed) return current;
2708 if ( state.backtracking==0 ) {
2709 current =iv_ruleALSFactDeclaration;
2710 }
2711 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2712
2713 }
2714
2715 }
2716
2717 catch (RecognitionException re) {
2718 recover(input,re);
2719 appendSkippedTokens();
2720 }
2721 finally {
2722 }
2723 return current;
2724 }
2725 // $ANTLR end "entryRuleALSFactDeclaration"
2726
2727
2728 // $ANTLR start "ruleALSFactDeclaration"
2729 // 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= '}' ) ;
2730 public final EObject ruleALSFactDeclaration() throws RecognitionException {
2731 EObject current = null;
2732
2733 Token otherlv_1=null;
2734 Token otherlv_3=null;
2735 Token otherlv_5=null;
2736 AntlrDatatypeRuleToken lv_name_2_0 = null;
2737
2738 EObject lv_term_4_0 = null;
2739
2740
2741 enterRule();
2742
2743 try {
2744 // InternalAlloyLanguage.g:1027:28: ( ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) )
2745 // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' )
2746 {
2747 // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' )
2748 // InternalAlloyLanguage.g:1028:2: () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}'
2749 {
2750 // InternalAlloyLanguage.g:1028:2: ()
2751 // InternalAlloyLanguage.g:1029:5:
2752 {
2753 if ( state.backtracking==0 ) {
2754
2755 current = forceCreateModelElement(
2756 grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0(),
2757 current);
2758
2759 }
2760
2761 }
2762
2763 otherlv_1=(Token)match(input,25,FOLLOW_16); if (state.failed) return current;
2764 if ( state.backtracking==0 ) {
2765
2766 newLeafNode(otherlv_1, grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1());
2767
2768 }
2769 // InternalAlloyLanguage.g:1038:1: ( (lv_name_2_0= ruleALSID ) )?
2770 int alt13=2;
2771 int LA13_0 = input.LA(1);
2772
2773 if ( (LA13_0==RULE_ID) ) {
2774 alt13=1;
2775 }
2776 switch (alt13) {
2777 case 1 :
2778 // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID )
2779 {
2780 // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID )
2781 // InternalAlloyLanguage.g:1040:3: lv_name_2_0= ruleALSID
2782 {
2783 if ( state.backtracking==0 ) {
2784
2785 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0());
2786
2787 }
2788 pushFollow(FOLLOW_5);
2789 lv_name_2_0=ruleALSID();
2790
2791 state._fsp--;
2792 if (state.failed) return current;
2793 if ( state.backtracking==0 ) {
2794
2795 if (current==null) {
2796 current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
2797 }
2798 set(
2799 current,
2800 "name",
2801 lv_name_2_0,
2802 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
2803 afterParserOrEnumRuleCall();
2804
2805 }
2806
2807 }
2808
2809
2810 }
2811 break;
2812
2813 }
2814
2815 otherlv_3=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
2816 if ( state.backtracking==0 ) {
2817
2818 newLeafNode(otherlv_3, grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3());
2819
2820 }
2821 // InternalAlloyLanguage.g:1060:1: ( (lv_term_4_0= ruleALSTerm ) )
2822 // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm )
2823 {
2824 // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm )
2825 // InternalAlloyLanguage.g:1062:3: lv_term_4_0= ruleALSTerm
2826 {
2827 if ( state.backtracking==0 ) {
2828
2829 newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0());
2830
2831 }
2832 pushFollow(FOLLOW_15);
2833 lv_term_4_0=ruleALSTerm();
2834
2835 state._fsp--;
2836 if (state.failed) return current;
2837 if ( state.backtracking==0 ) {
2838
2839 if (current==null) {
2840 current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule());
2841 }
2842 set(
2843 current,
2844 "term",
2845 lv_term_4_0,
2846 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
2847 afterParserOrEnumRuleCall();
2848
2849 }
2850
2851 }
2852
2853
2854 }
2855
2856 otherlv_5=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
2857 if ( state.backtracking==0 ) {
2858
2859 newLeafNode(otherlv_5, grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5());
2860
2861 }
2862
2863 }
2864
2865
2866 }
2867
2868 if ( state.backtracking==0 ) {
2869 leaveRule();
2870 }
2871 }
2872
2873 catch (RecognitionException re) {
2874 recover(input,re);
2875 appendSkippedTokens();
2876 }
2877 finally {
2878 }
2879 return current;
2880 }
2881 // $ANTLR end "ruleALSFactDeclaration"
2882
2883
2884 // $ANTLR start "entryRuleALSTerm"
2885 // InternalAlloyLanguage.g:1090:1: entryRuleALSTerm returns [EObject current=null] : iv_ruleALSTerm= ruleALSTerm EOF ;
2886 public final EObject entryRuleALSTerm() throws RecognitionException {
2887 EObject current = null;
2888
2889 EObject iv_ruleALSTerm = null;
2890
2891
2892 try {
2893 // InternalAlloyLanguage.g:1091:2: (iv_ruleALSTerm= ruleALSTerm EOF )
2894 // InternalAlloyLanguage.g:1092:2: iv_ruleALSTerm= ruleALSTerm EOF
2895 {
2896 if ( state.backtracking==0 ) {
2897 newCompositeNode(grammarAccess.getALSTermRule());
2898 }
2899 pushFollow(FOLLOW_1);
2900 iv_ruleALSTerm=ruleALSTerm();
2901
2902 state._fsp--;
2903 if (state.failed) return current;
2904 if ( state.backtracking==0 ) {
2905 current =iv_ruleALSTerm;
2906 }
2907 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2908
2909 }
2910
2911 }
2912
2913 catch (RecognitionException re) {
2914 recover(input,re);
2915 appendSkippedTokens();
2916 }
2917 finally {
2918 }
2919 return current;
2920 }
2921 // $ANTLR end "entryRuleALSTerm"
2922
2923
2924 // $ANTLR start "ruleALSTerm"
2925 // InternalAlloyLanguage.g:1099:1: ruleALSTerm returns [EObject current=null] : this_ALSQuantified_0= ruleALSQuantified ;
2926 public final EObject ruleALSTerm() throws RecognitionException {
2927 EObject current = null;
2928
2929 EObject this_ALSQuantified_0 = null;
2930
2931
2932 enterRule();
2933
2934 try {
2935 // InternalAlloyLanguage.g:1102:28: (this_ALSQuantified_0= ruleALSQuantified )
2936 // InternalAlloyLanguage.g:1104:5: this_ALSQuantified_0= ruleALSQuantified
2937 {
2938 if ( state.backtracking==0 ) {
2939
2940 newCompositeNode(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall());
2941
2942 }
2943 pushFollow(FOLLOW_2);
2944 this_ALSQuantified_0=ruleALSQuantified();
2945
2946 state._fsp--;
2947 if (state.failed) return current;
2948 if ( state.backtracking==0 ) {
2949
2950 current = this_ALSQuantified_0;
2951 afterParserOrEnumRuleCall();
2952
2953 }
2954
2955 }
2956
2957 if ( state.backtracking==0 ) {
2958 leaveRule();
2959 }
2960 }
2961
2962 catch (RecognitionException re) {
2963 recover(input,re);
2964 appendSkippedTokens();
2965 }
2966 finally {
2967 }
2968 return current;
2969 }
2970 // $ANTLR end "ruleALSTerm"
2971
2972
2973 // $ANTLR start "entryRuleALSQuantified"
2974 // InternalAlloyLanguage.g:1120:1: entryRuleALSQuantified returns [EObject current=null] : iv_ruleALSQuantified= ruleALSQuantified EOF ;
2975 public final EObject entryRuleALSQuantified() throws RecognitionException {
2976 EObject current = null;
2977
2978 EObject iv_ruleALSQuantified = null;
2979
2980
2981 try {
2982 // InternalAlloyLanguage.g:1121:2: (iv_ruleALSQuantified= ruleALSQuantified EOF )
2983 // InternalAlloyLanguage.g:1122:2: iv_ruleALSQuantified= ruleALSQuantified EOF
2984 {
2985 if ( state.backtracking==0 ) {
2986 newCompositeNode(grammarAccess.getALSQuantifiedRule());
2987 }
2988 pushFollow(FOLLOW_1);
2989 iv_ruleALSQuantified=ruleALSQuantified();
2990
2991 state._fsp--;
2992 if (state.failed) return current;
2993 if ( state.backtracking==0 ) {
2994 current =iv_ruleALSQuantified;
2995 }
2996 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2997
2998 }
2999
3000 }
3001
3002 catch (RecognitionException re) {
3003 recover(input,re);
3004 appendSkippedTokens();
3005 }
3006 finally {
3007 }
3008 return current;
3009 }
3010 // $ANTLR end "entryRuleALSQuantified"
3011
3012
3013 // $ANTLR start "ruleALSQuantified"
3014 // 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 ) ;
3015 public final EObject ruleALSQuantified() throws RecognitionException {
3016 EObject current = null;
3017
3018 Token lv_disj_2_0=null;
3019 Token otherlv_4=null;
3020 Token otherlv_6=null;
3021 Token otherlv_8=null;
3022 Enumerator lv_type_1_0 = null;
3023
3024 EObject lv_variables_3_0 = null;
3025
3026 EObject lv_variables_5_0 = null;
3027
3028 EObject lv_expression_7_0 = null;
3029
3030 EObject this_ALSOr_9 = null;
3031
3032
3033 enterRule();
3034
3035 try {
3036 // 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 ) )
3037 // 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 )
3038 {
3039 // 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 )
3040 int alt16=2;
3041 int LA16_0 = input.LA(1);
3042
3043 if ( ((LA16_0>=65 && LA16_0<=70)) ) {
3044 alt16=1;
3045 }
3046 else if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_INT)||LA16_0==46||(LA16_0>=49 && LA16_0<=60)||(LA16_0>=71 && LA16_0<=75)) ) {
3047 alt16=2;
3048 }
3049 else {
3050 if (state.backtracking>0) {state.failed=true; return current;}
3051 NoViableAltException nvae =
3052 new NoViableAltException("", 16, 0, input);
3053
3054 throw nvae;
3055 }
3056 switch (alt16) {
3057 case 1 :
3058 // 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= '}' )
3059 {
3060 // 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= '}' )
3061 // 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= '}'
3062 {
3063 // InternalAlloyLanguage.g:1133:3: ()
3064 // InternalAlloyLanguage.g:1134:5:
3065 {
3066 if ( state.backtracking==0 ) {
3067
3068 current = forceCreateModelElement(
3069 grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0(),
3070 current);
3071
3072 }
3073
3074 }
3075
3076 // InternalAlloyLanguage.g:1139:2: ( (lv_type_1_0= ruleALSMultiplicity ) )
3077 // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity )
3078 {
3079 // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity )
3080 // InternalAlloyLanguage.g:1141:3: lv_type_1_0= ruleALSMultiplicity
3081 {
3082 if ( state.backtracking==0 ) {
3083
3084 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0());
3085
3086 }
3087 pushFollow(FOLLOW_17);
3088 lv_type_1_0=ruleALSMultiplicity();
3089
3090 state._fsp--;
3091 if (state.failed) return current;
3092 if ( state.backtracking==0 ) {
3093
3094 if (current==null) {
3095 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3096 }
3097 set(
3098 current,
3099 "type",
3100 lv_type_1_0,
3101 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
3102 afterParserOrEnumRuleCall();
3103
3104 }
3105
3106 }
3107
3108
3109 }
3110
3111 // InternalAlloyLanguage.g:1157:2: ( (lv_disj_2_0= 'disj' ) )?
3112 int alt14=2;
3113 int LA14_0 = input.LA(1);
3114
3115 if ( (LA14_0==26) ) {
3116 alt14=1;
3117 }
3118 switch (alt14) {
3119 case 1 :
3120 // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' )
3121 {
3122 // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' )
3123 // InternalAlloyLanguage.g:1159:3: lv_disj_2_0= 'disj'
3124 {
3125 lv_disj_2_0=(Token)match(input,26,FOLLOW_4); if (state.failed) return current;
3126 if ( state.backtracking==0 ) {
3127
3128 newLeafNode(lv_disj_2_0, grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0());
3129
3130 }
3131 if ( state.backtracking==0 ) {
3132
3133 if (current==null) {
3134 current = createModelElement(grammarAccess.getALSQuantifiedRule());
3135 }
3136 setWithLastConsumed(current, "disj", true, "disj");
3137
3138 }
3139
3140 }
3141
3142
3143 }
3144 break;
3145
3146 }
3147
3148 // InternalAlloyLanguage.g:1172:3: ( (lv_variables_3_0= ruleALSVariableDeclaration ) )
3149 // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration )
3150 {
3151 // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration )
3152 // InternalAlloyLanguage.g:1174:3: lv_variables_3_0= ruleALSVariableDeclaration
3153 {
3154 if ( state.backtracking==0 ) {
3155
3156 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0());
3157
3158 }
3159 pushFollow(FOLLOW_18);
3160 lv_variables_3_0=ruleALSVariableDeclaration();
3161
3162 state._fsp--;
3163 if (state.failed) return current;
3164 if ( state.backtracking==0 ) {
3165
3166 if (current==null) {
3167 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3168 }
3169 add(
3170 current,
3171 "variables",
3172 lv_variables_3_0,
3173 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
3174 afterParserOrEnumRuleCall();
3175
3176 }
3177
3178 }
3179
3180
3181 }
3182
3183 // InternalAlloyLanguage.g:1190:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )*
3184 loop15:
3185 do {
3186 int alt15=2;
3187 int LA15_0 = input.LA(1);
3188
3189 if ( (LA15_0==13) ) {
3190 alt15=1;
3191 }
3192
3193
3194 switch (alt15) {
3195 case 1 :
3196 // InternalAlloyLanguage.g:1190:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
3197 {
3198 otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
3199 if ( state.backtracking==0 ) {
3200
3201 newLeafNode(otherlv_4, grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0());
3202
3203 }
3204 // InternalAlloyLanguage.g:1194:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) )
3205 // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration )
3206 {
3207 // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration )
3208 // InternalAlloyLanguage.g:1196:3: lv_variables_5_0= ruleALSVariableDeclaration
3209 {
3210 if ( state.backtracking==0 ) {
3211
3212 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0());
3213
3214 }
3215 pushFollow(FOLLOW_18);
3216 lv_variables_5_0=ruleALSVariableDeclaration();
3217
3218 state._fsp--;
3219 if (state.failed) return current;
3220 if ( state.backtracking==0 ) {
3221
3222 if (current==null) {
3223 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3224 }
3225 add(
3226 current,
3227 "variables",
3228 lv_variables_5_0,
3229 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
3230 afterParserOrEnumRuleCall();
3231
3232 }
3233
3234 }
3235
3236
3237 }
3238
3239
3240 }
3241 break;
3242
3243 default :
3244 break loop15;
3245 }
3246 } while (true);
3247
3248 otherlv_6=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
3249 if ( state.backtracking==0 ) {
3250
3251 newLeafNode(otherlv_6, grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5());
3252
3253 }
3254 // InternalAlloyLanguage.g:1216:1: ( (lv_expression_7_0= ruleALSTerm ) )
3255 // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm )
3256 {
3257 // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm )
3258 // InternalAlloyLanguage.g:1218:3: lv_expression_7_0= ruleALSTerm
3259 {
3260 if ( state.backtracking==0 ) {
3261
3262 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0());
3263
3264 }
3265 pushFollow(FOLLOW_15);
3266 lv_expression_7_0=ruleALSTerm();
3267
3268 state._fsp--;
3269 if (state.failed) return current;
3270 if ( state.backtracking==0 ) {
3271
3272 if (current==null) {
3273 current = createModelElementForParent(grammarAccess.getALSQuantifiedRule());
3274 }
3275 set(
3276 current,
3277 "expression",
3278 lv_expression_7_0,
3279 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
3280 afterParserOrEnumRuleCall();
3281
3282 }
3283
3284 }
3285
3286
3287 }
3288
3289 otherlv_8=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
3290 if ( state.backtracking==0 ) {
3291
3292 newLeafNode(otherlv_8, grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7());
3293
3294 }
3295
3296 }
3297
3298
3299 }
3300 break;
3301 case 2 :
3302 // InternalAlloyLanguage.g:1240:5: this_ALSOr_9= ruleALSOr
3303 {
3304 if ( state.backtracking==0 ) {
3305
3306 newCompositeNode(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1());
3307
3308 }
3309 pushFollow(FOLLOW_2);
3310 this_ALSOr_9=ruleALSOr();
3311
3312 state._fsp--;
3313 if (state.failed) return current;
3314 if ( state.backtracking==0 ) {
3315
3316 current = this_ALSOr_9;
3317 afterParserOrEnumRuleCall();
3318
3319 }
3320
3321 }
3322 break;
3323
3324 }
3325
3326
3327 }
3328
3329 if ( state.backtracking==0 ) {
3330 leaveRule();
3331 }
3332 }
3333
3334 catch (RecognitionException re) {
3335 recover(input,re);
3336 appendSkippedTokens();
3337 }
3338 finally {
3339 }
3340 return current;
3341 }
3342 // $ANTLR end "ruleALSQuantified"
3343
3344
3345 // $ANTLR start "entryRuleALSOr"
3346 // InternalAlloyLanguage.g:1256:1: entryRuleALSOr returns [EObject current=null] : iv_ruleALSOr= ruleALSOr EOF ;
3347 public final EObject entryRuleALSOr() throws RecognitionException {
3348 EObject current = null;
3349
3350 EObject iv_ruleALSOr = null;
3351
3352
3353 try {
3354 // InternalAlloyLanguage.g:1257:2: (iv_ruleALSOr= ruleALSOr EOF )
3355 // InternalAlloyLanguage.g:1258:2: iv_ruleALSOr= ruleALSOr EOF
3356 {
3357 if ( state.backtracking==0 ) {
3358 newCompositeNode(grammarAccess.getALSOrRule());
3359 }
3360 pushFollow(FOLLOW_1);
3361 iv_ruleALSOr=ruleALSOr();
3362
3363 state._fsp--;
3364 if (state.failed) return current;
3365 if ( state.backtracking==0 ) {
3366 current =iv_ruleALSOr;
3367 }
3368 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3369
3370 }
3371
3372 }
3373
3374 catch (RecognitionException re) {
3375 recover(input,re);
3376 appendSkippedTokens();
3377 }
3378 finally {
3379 }
3380 return current;
3381 }
3382 // $ANTLR end "entryRuleALSOr"
3383
3384
3385 // $ANTLR start "ruleALSOr"
3386 // InternalAlloyLanguage.g:1265:1: ruleALSOr returns [EObject current=null] : (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) ;
3387 public final EObject ruleALSOr() throws RecognitionException {
3388 EObject current = null;
3389
3390 Token otherlv_2=null;
3391 Token otherlv_3=null;
3392 EObject this_ALSIff_0 = null;
3393
3394 EObject lv_rightOperand_4_0 = null;
3395
3396
3397 enterRule();
3398
3399 try {
3400 // InternalAlloyLanguage.g:1268:28: ( (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) )
3401 // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? )
3402 {
3403 // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? )
3404 // InternalAlloyLanguage.g:1270:5: this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )?
3405 {
3406 if ( state.backtracking==0 ) {
3407
3408 newCompositeNode(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0());
3409
3410 }
3411 pushFollow(FOLLOW_19);
3412 this_ALSIff_0=ruleALSIff();
3413
3414 state._fsp--;
3415 if (state.failed) return current;
3416 if ( state.backtracking==0 ) {
3417
3418 current = this_ALSIff_0;
3419 afterParserOrEnumRuleCall();
3420
3421 }
3422 // InternalAlloyLanguage.g:1278:1: ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )?
3423 int alt18=2;
3424 int LA18_0 = input.LA(1);
3425
3426 if ( ((LA18_0>=27 && LA18_0<=28)) ) {
3427 alt18=1;
3428 }
3429 switch (alt18) {
3430 case 1 :
3431 // InternalAlloyLanguage.g:1278:2: () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) )
3432 {
3433 // InternalAlloyLanguage.g:1278:2: ()
3434 // InternalAlloyLanguage.g:1279:5:
3435 {
3436 if ( state.backtracking==0 ) {
3437
3438 current = forceCreateModelElementAndSet(
3439 grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(),
3440 current);
3441
3442 }
3443
3444 }
3445
3446 // InternalAlloyLanguage.g:1284:2: (otherlv_2= '||' | otherlv_3= 'or' )
3447 int alt17=2;
3448 int LA17_0 = input.LA(1);
3449
3450 if ( (LA17_0==27) ) {
3451 alt17=1;
3452 }
3453 else if ( (LA17_0==28) ) {
3454 alt17=2;
3455 }
3456 else {
3457 if (state.backtracking>0) {state.failed=true; return current;}
3458 NoViableAltException nvae =
3459 new NoViableAltException("", 17, 0, input);
3460
3461 throw nvae;
3462 }
3463 switch (alt17) {
3464 case 1 :
3465 // InternalAlloyLanguage.g:1284:4: otherlv_2= '||'
3466 {
3467 otherlv_2=(Token)match(input,27,FOLLOW_12); if (state.failed) return current;
3468 if ( state.backtracking==0 ) {
3469
3470 newLeafNode(otherlv_2, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0());
3471
3472 }
3473
3474 }
3475 break;
3476 case 2 :
3477 // InternalAlloyLanguage.g:1289:7: otherlv_3= 'or'
3478 {
3479 otherlv_3=(Token)match(input,28,FOLLOW_12); if (state.failed) return current;
3480 if ( state.backtracking==0 ) {
3481
3482 newLeafNode(otherlv_3, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1());
3483
3484 }
3485
3486 }
3487 break;
3488
3489 }
3490
3491 // InternalAlloyLanguage.g:1293:2: ( (lv_rightOperand_4_0= ruleALSIff ) )
3492 // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff )
3493 {
3494 // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff )
3495 // InternalAlloyLanguage.g:1295:3: lv_rightOperand_4_0= ruleALSIff
3496 {
3497 if ( state.backtracking==0 ) {
3498
3499 newCompositeNode(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0());
3500
3501 }
3502 pushFollow(FOLLOW_2);
3503 lv_rightOperand_4_0=ruleALSIff();
3504
3505 state._fsp--;
3506 if (state.failed) return current;
3507 if ( state.backtracking==0 ) {
3508
3509 if (current==null) {
3510 current = createModelElementForParent(grammarAccess.getALSOrRule());
3511 }
3512 set(
3513 current,
3514 "rightOperand",
3515 lv_rightOperand_4_0,
3516 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff");
3517 afterParserOrEnumRuleCall();
3518
3519 }
3520
3521 }
3522
3523
3524 }
3525
3526
3527 }
3528 break;
3529
3530 }
3531
3532
3533 }
3534
3535
3536 }
3537
3538 if ( state.backtracking==0 ) {
3539 leaveRule();
3540 }
3541 }
3542
3543 catch (RecognitionException re) {
3544 recover(input,re);
3545 appendSkippedTokens();
3546 }
3547 finally {
3548 }
3549 return current;
3550 }
3551 // $ANTLR end "ruleALSOr"
3552
3553
3554 // $ANTLR start "entryRuleALSIff"
3555 // InternalAlloyLanguage.g:1319:1: entryRuleALSIff returns [EObject current=null] : iv_ruleALSIff= ruleALSIff EOF ;
3556 public final EObject entryRuleALSIff() throws RecognitionException {
3557 EObject current = null;
3558
3559 EObject iv_ruleALSIff = null;
3560
3561
3562 try {
3563 // InternalAlloyLanguage.g:1320:2: (iv_ruleALSIff= ruleALSIff EOF )
3564 // InternalAlloyLanguage.g:1321:2: iv_ruleALSIff= ruleALSIff EOF
3565 {
3566 if ( state.backtracking==0 ) {
3567 newCompositeNode(grammarAccess.getALSIffRule());
3568 }
3569 pushFollow(FOLLOW_1);
3570 iv_ruleALSIff=ruleALSIff();
3571
3572 state._fsp--;
3573 if (state.failed) return current;
3574 if ( state.backtracking==0 ) {
3575 current =iv_ruleALSIff;
3576 }
3577 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3578
3579 }
3580
3581 }
3582
3583 catch (RecognitionException re) {
3584 recover(input,re);
3585 appendSkippedTokens();
3586 }
3587 finally {
3588 }
3589 return current;
3590 }
3591 // $ANTLR end "entryRuleALSIff"
3592
3593
3594 // $ANTLR start "ruleALSIff"
3595 // InternalAlloyLanguage.g:1328:1: ruleALSIff returns [EObject current=null] : (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) ;
3596 public final EObject ruleALSIff() throws RecognitionException {
3597 EObject current = null;
3598
3599 Token otherlv_2=null;
3600 Token otherlv_3=null;
3601 EObject this_ALSImpl_0 = null;
3602
3603 EObject lv_rightOperand_4_0 = null;
3604
3605
3606 enterRule();
3607
3608 try {
3609 // InternalAlloyLanguage.g:1331:28: ( (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) )
3610 // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? )
3611 {
3612 // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? )
3613 // InternalAlloyLanguage.g:1333:5: this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )?
3614 {
3615 if ( state.backtracking==0 ) {
3616
3617 newCompositeNode(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0());
3618
3619 }
3620 pushFollow(FOLLOW_20);
3621 this_ALSImpl_0=ruleALSImpl();
3622
3623 state._fsp--;
3624 if (state.failed) return current;
3625 if ( state.backtracking==0 ) {
3626
3627 current = this_ALSImpl_0;
3628 afterParserOrEnumRuleCall();
3629
3630 }
3631 // InternalAlloyLanguage.g:1341:1: ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )?
3632 int alt20=2;
3633 int LA20_0 = input.LA(1);
3634
3635 if ( ((LA20_0>=29 && LA20_0<=30)) ) {
3636 alt20=1;
3637 }
3638 switch (alt20) {
3639 case 1 :
3640 // InternalAlloyLanguage.g:1341:2: () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) )
3641 {
3642 // InternalAlloyLanguage.g:1341:2: ()
3643 // InternalAlloyLanguage.g:1342:5:
3644 {
3645 if ( state.backtracking==0 ) {
3646
3647 current = forceCreateModelElementAndSet(
3648 grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(),
3649 current);
3650
3651 }
3652
3653 }
3654
3655 // InternalAlloyLanguage.g:1347:2: (otherlv_2= '<=>' | otherlv_3= 'iff' )
3656 int alt19=2;
3657 int LA19_0 = input.LA(1);
3658
3659 if ( (LA19_0==29) ) {
3660 alt19=1;
3661 }
3662 else if ( (LA19_0==30) ) {
3663 alt19=2;
3664 }
3665 else {
3666 if (state.backtracking>0) {state.failed=true; return current;}
3667 NoViableAltException nvae =
3668 new NoViableAltException("", 19, 0, input);
3669
3670 throw nvae;
3671 }
3672 switch (alt19) {
3673 case 1 :
3674 // InternalAlloyLanguage.g:1347:4: otherlv_2= '<=>'
3675 {
3676 otherlv_2=(Token)match(input,29,FOLLOW_12); if (state.failed) return current;
3677 if ( state.backtracking==0 ) {
3678
3679 newLeafNode(otherlv_2, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0());
3680
3681 }
3682
3683 }
3684 break;
3685 case 2 :
3686 // InternalAlloyLanguage.g:1352:7: otherlv_3= 'iff'
3687 {
3688 otherlv_3=(Token)match(input,30,FOLLOW_12); if (state.failed) return current;
3689 if ( state.backtracking==0 ) {
3690
3691 newLeafNode(otherlv_3, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1());
3692
3693 }
3694
3695 }
3696 break;
3697
3698 }
3699
3700 // InternalAlloyLanguage.g:1356:2: ( (lv_rightOperand_4_0= ruleALSImpl ) )
3701 // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl )
3702 {
3703 // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl )
3704 // InternalAlloyLanguage.g:1358:3: lv_rightOperand_4_0= ruleALSImpl
3705 {
3706 if ( state.backtracking==0 ) {
3707
3708 newCompositeNode(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0());
3709
3710 }
3711 pushFollow(FOLLOW_2);
3712 lv_rightOperand_4_0=ruleALSImpl();
3713
3714 state._fsp--;
3715 if (state.failed) return current;
3716 if ( state.backtracking==0 ) {
3717
3718 if (current==null) {
3719 current = createModelElementForParent(grammarAccess.getALSIffRule());
3720 }
3721 set(
3722 current,
3723 "rightOperand",
3724 lv_rightOperand_4_0,
3725 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl");
3726 afterParserOrEnumRuleCall();
3727
3728 }
3729
3730 }
3731
3732
3733 }
3734
3735
3736 }
3737 break;
3738
3739 }
3740
3741
3742 }
3743
3744
3745 }
3746
3747 if ( state.backtracking==0 ) {
3748 leaveRule();
3749 }
3750 }
3751
3752 catch (RecognitionException re) {
3753 recover(input,re);
3754 appendSkippedTokens();
3755 }
3756 finally {
3757 }
3758 return current;
3759 }
3760 // $ANTLR end "ruleALSIff"
3761
3762
3763 // $ANTLR start "entryRuleALSImpl"
3764 // InternalAlloyLanguage.g:1382:1: entryRuleALSImpl returns [EObject current=null] : iv_ruleALSImpl= ruleALSImpl EOF ;
3765 public final EObject entryRuleALSImpl() throws RecognitionException {
3766 EObject current = null;
3767
3768 EObject iv_ruleALSImpl = null;
3769
3770
3771 try {
3772 // InternalAlloyLanguage.g:1383:2: (iv_ruleALSImpl= ruleALSImpl EOF )
3773 // InternalAlloyLanguage.g:1384:2: iv_ruleALSImpl= ruleALSImpl EOF
3774 {
3775 if ( state.backtracking==0 ) {
3776 newCompositeNode(grammarAccess.getALSImplRule());
3777 }
3778 pushFollow(FOLLOW_1);
3779 iv_ruleALSImpl=ruleALSImpl();
3780
3781 state._fsp--;
3782 if (state.failed) return current;
3783 if ( state.backtracking==0 ) {
3784 current =iv_ruleALSImpl;
3785 }
3786 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3787
3788 }
3789
3790 }
3791
3792 catch (RecognitionException re) {
3793 recover(input,re);
3794 appendSkippedTokens();
3795 }
3796 finally {
3797 }
3798 return current;
3799 }
3800 // $ANTLR end "entryRuleALSImpl"
3801
3802
3803 // $ANTLR start "ruleALSImpl"
3804 // 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 ) ) )? )? ) ;
3805 public final EObject ruleALSImpl() throws RecognitionException {
3806 EObject current = null;
3807
3808 Token otherlv_2=null;
3809 Token otherlv_3=null;
3810 Token otherlv_5=null;
3811 EObject this_ALSAnd_0 = null;
3812
3813 EObject lv_rightOperand_4_0 = null;
3814
3815 EObject lv_elseOperand_6_0 = null;
3816
3817
3818 enterRule();
3819
3820 try {
3821 // 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 ) ) )? )? ) )
3822 // 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 ) ) )? )? )
3823 {
3824 // 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 ) ) )? )? )
3825 // 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 ) ) )? )?
3826 {
3827 if ( state.backtracking==0 ) {
3828
3829 newCompositeNode(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0());
3830
3831 }
3832 pushFollow(FOLLOW_21);
3833 this_ALSAnd_0=ruleALSAnd();
3834
3835 state._fsp--;
3836 if (state.failed) return current;
3837 if ( state.backtracking==0 ) {
3838
3839 current = this_ALSAnd_0;
3840 afterParserOrEnumRuleCall();
3841
3842 }
3843 // InternalAlloyLanguage.g:1404:1: ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )?
3844 int alt23=2;
3845 int LA23_0 = input.LA(1);
3846
3847 if ( ((LA23_0>=31 && LA23_0<=32)) ) {
3848 alt23=1;
3849 }
3850 switch (alt23) {
3851 case 1 :
3852 // InternalAlloyLanguage.g:1404:2: () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )?
3853 {
3854 // InternalAlloyLanguage.g:1404:2: ()
3855 // InternalAlloyLanguage.g:1405:5:
3856 {
3857 if ( state.backtracking==0 ) {
3858
3859 current = forceCreateModelElementAndSet(
3860 grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0(),
3861 current);
3862
3863 }
3864
3865 }
3866
3867 // InternalAlloyLanguage.g:1410:2: (otherlv_2= '=>' | otherlv_3= 'implies' )
3868 int alt21=2;
3869 int LA21_0 = input.LA(1);
3870
3871 if ( (LA21_0==31) ) {
3872 alt21=1;
3873 }
3874 else if ( (LA21_0==32) ) {
3875 alt21=2;
3876 }
3877 else {
3878 if (state.backtracking>0) {state.failed=true; return current;}
3879 NoViableAltException nvae =
3880 new NoViableAltException("", 21, 0, input);
3881
3882 throw nvae;
3883 }
3884 switch (alt21) {
3885 case 1 :
3886 // InternalAlloyLanguage.g:1410:4: otherlv_2= '=>'
3887 {
3888 otherlv_2=(Token)match(input,31,FOLLOW_12); if (state.failed) return current;
3889 if ( state.backtracking==0 ) {
3890
3891 newLeafNode(otherlv_2, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0());
3892
3893 }
3894
3895 }
3896 break;
3897 case 2 :
3898 // InternalAlloyLanguage.g:1415:7: otherlv_3= 'implies'
3899 {
3900 otherlv_3=(Token)match(input,32,FOLLOW_12); if (state.failed) return current;
3901 if ( state.backtracking==0 ) {
3902
3903 newLeafNode(otherlv_3, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1());
3904
3905 }
3906
3907 }
3908 break;
3909
3910 }
3911
3912 // InternalAlloyLanguage.g:1419:2: ( (lv_rightOperand_4_0= ruleALSAnd ) )
3913 // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd )
3914 {
3915 // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd )
3916 // InternalAlloyLanguage.g:1421:3: lv_rightOperand_4_0= ruleALSAnd
3917 {
3918 if ( state.backtracking==0 ) {
3919
3920 newCompositeNode(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0());
3921
3922 }
3923 pushFollow(FOLLOW_22);
3924 lv_rightOperand_4_0=ruleALSAnd();
3925
3926 state._fsp--;
3927 if (state.failed) return current;
3928 if ( state.backtracking==0 ) {
3929
3930 if (current==null) {
3931 current = createModelElementForParent(grammarAccess.getALSImplRule());
3932 }
3933 set(
3934 current,
3935 "rightOperand",
3936 lv_rightOperand_4_0,
3937 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
3938 afterParserOrEnumRuleCall();
3939
3940 }
3941
3942 }
3943
3944
3945 }
3946
3947 // InternalAlloyLanguage.g:1437:2: (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )?
3948 int alt22=2;
3949 int LA22_0 = input.LA(1);
3950
3951 if ( (LA22_0==33) ) {
3952 alt22=1;
3953 }
3954 switch (alt22) {
3955 case 1 :
3956 // InternalAlloyLanguage.g:1437:4: otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) )
3957 {
3958 otherlv_5=(Token)match(input,33,FOLLOW_12); if (state.failed) return current;
3959 if ( state.backtracking==0 ) {
3960
3961 newLeafNode(otherlv_5, grammarAccess.getALSImplAccess().getElseKeyword_1_3_0());
3962
3963 }
3964 // InternalAlloyLanguage.g:1441:1: ( (lv_elseOperand_6_0= ruleALSAnd ) )
3965 // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd )
3966 {
3967 // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd )
3968 // InternalAlloyLanguage.g:1443:3: lv_elseOperand_6_0= ruleALSAnd
3969 {
3970 if ( state.backtracking==0 ) {
3971
3972 newCompositeNode(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0());
3973
3974 }
3975 pushFollow(FOLLOW_2);
3976 lv_elseOperand_6_0=ruleALSAnd();
3977
3978 state._fsp--;
3979 if (state.failed) return current;
3980 if ( state.backtracking==0 ) {
3981
3982 if (current==null) {
3983 current = createModelElementForParent(grammarAccess.getALSImplRule());
3984 }
3985 set(
3986 current,
3987 "elseOperand",
3988 lv_elseOperand_6_0,
3989 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd");
3990 afterParserOrEnumRuleCall();
3991
3992 }
3993
3994 }
3995
3996
3997 }
3998
3999
4000 }
4001 break;
4002
4003 }
4004
4005
4006 }
4007 break;
4008
4009 }
4010
4011
4012 }
4013
4014
4015 }
4016
4017 if ( state.backtracking==0 ) {
4018 leaveRule();
4019 }
4020 }
4021
4022 catch (RecognitionException re) {
4023 recover(input,re);
4024 appendSkippedTokens();
4025 }
4026 finally {
4027 }
4028 return current;
4029 }
4030 // $ANTLR end "ruleALSImpl"
4031
4032
4033 // $ANTLR start "entryRuleALSAnd"
4034 // InternalAlloyLanguage.g:1467:1: entryRuleALSAnd returns [EObject current=null] : iv_ruleALSAnd= ruleALSAnd EOF ;
4035 public final EObject entryRuleALSAnd() throws RecognitionException {
4036 EObject current = null;
4037
4038 EObject iv_ruleALSAnd = null;
4039
4040
4041 try {
4042 // InternalAlloyLanguage.g:1468:2: (iv_ruleALSAnd= ruleALSAnd EOF )
4043 // InternalAlloyLanguage.g:1469:2: iv_ruleALSAnd= ruleALSAnd EOF
4044 {
4045 if ( state.backtracking==0 ) {
4046 newCompositeNode(grammarAccess.getALSAndRule());
4047 }
4048 pushFollow(FOLLOW_1);
4049 iv_ruleALSAnd=ruleALSAnd();
4050
4051 state._fsp--;
4052 if (state.failed) return current;
4053 if ( state.backtracking==0 ) {
4054 current =iv_ruleALSAnd;
4055 }
4056 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4057
4058 }
4059
4060 }
4061
4062 catch (RecognitionException re) {
4063 recover(input,re);
4064 appendSkippedTokens();
4065 }
4066 finally {
4067 }
4068 return current;
4069 }
4070 // $ANTLR end "entryRuleALSAnd"
4071
4072
4073 // $ANTLR start "ruleALSAnd"
4074 // InternalAlloyLanguage.g:1476:1: ruleALSAnd returns [EObject current=null] : (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) ;
4075 public final EObject ruleALSAnd() throws RecognitionException {
4076 EObject current = null;
4077
4078 Token otherlv_2=null;
4079 Token otherlv_3=null;
4080 EObject this_ALSComparison_0 = null;
4081
4082 EObject lv_rightOperand_4_0 = null;
4083
4084
4085 enterRule();
4086
4087 try {
4088 // InternalAlloyLanguage.g:1479:28: ( (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) )
4089 // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? )
4090 {
4091 // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? )
4092 // InternalAlloyLanguage.g:1481:5: this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )?
4093 {
4094 if ( state.backtracking==0 ) {
4095
4096 newCompositeNode(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0());
4097
4098 }
4099 pushFollow(FOLLOW_23);
4100 this_ALSComparison_0=ruleALSComparison();
4101
4102 state._fsp--;
4103 if (state.failed) return current;
4104 if ( state.backtracking==0 ) {
4105
4106 current = this_ALSComparison_0;
4107 afterParserOrEnumRuleCall();
4108
4109 }
4110 // InternalAlloyLanguage.g:1489:1: ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )?
4111 int alt25=2;
4112 int LA25_0 = input.LA(1);
4113
4114 if ( ((LA25_0>=34 && LA25_0<=35)) ) {
4115 alt25=1;
4116 }
4117 switch (alt25) {
4118 case 1 :
4119 // InternalAlloyLanguage.g:1489:2: () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) )
4120 {
4121 // InternalAlloyLanguage.g:1489:2: ()
4122 // InternalAlloyLanguage.g:1490:5:
4123 {
4124 if ( state.backtracking==0 ) {
4125
4126 current = forceCreateModelElementAndSet(
4127 grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(),
4128 current);
4129
4130 }
4131
4132 }
4133
4134 // InternalAlloyLanguage.g:1495:2: (otherlv_2= '&&' | otherlv_3= 'and' )
4135 int alt24=2;
4136 int LA24_0 = input.LA(1);
4137
4138 if ( (LA24_0==34) ) {
4139 alt24=1;
4140 }
4141 else if ( (LA24_0==35) ) {
4142 alt24=2;
4143 }
4144 else {
4145 if (state.backtracking>0) {state.failed=true; return current;}
4146 NoViableAltException nvae =
4147 new NoViableAltException("", 24, 0, input);
4148
4149 throw nvae;
4150 }
4151 switch (alt24) {
4152 case 1 :
4153 // InternalAlloyLanguage.g:1495:4: otherlv_2= '&&'
4154 {
4155 otherlv_2=(Token)match(input,34,FOLLOW_12); if (state.failed) return current;
4156 if ( state.backtracking==0 ) {
4157
4158 newLeafNode(otherlv_2, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0());
4159
4160 }
4161
4162 }
4163 break;
4164 case 2 :
4165 // InternalAlloyLanguage.g:1500:7: otherlv_3= 'and'
4166 {
4167 otherlv_3=(Token)match(input,35,FOLLOW_12); if (state.failed) return current;
4168 if ( state.backtracking==0 ) {
4169
4170 newLeafNode(otherlv_3, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1());
4171
4172 }
4173
4174 }
4175 break;
4176
4177 }
4178
4179 // InternalAlloyLanguage.g:1504:2: ( (lv_rightOperand_4_0= ruleALSComparison ) )
4180 // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison )
4181 {
4182 // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison )
4183 // InternalAlloyLanguage.g:1506:3: lv_rightOperand_4_0= ruleALSComparison
4184 {
4185 if ( state.backtracking==0 ) {
4186
4187 newCompositeNode(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0());
4188
4189 }
4190 pushFollow(FOLLOW_2);
4191 lv_rightOperand_4_0=ruleALSComparison();
4192
4193 state._fsp--;
4194 if (state.failed) return current;
4195 if ( state.backtracking==0 ) {
4196
4197 if (current==null) {
4198 current = createModelElementForParent(grammarAccess.getALSAndRule());
4199 }
4200 set(
4201 current,
4202 "rightOperand",
4203 lv_rightOperand_4_0,
4204 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison");
4205 afterParserOrEnumRuleCall();
4206
4207 }
4208
4209 }
4210
4211
4212 }
4213
4214
4215 }
4216 break;
4217
4218 }
4219
4220
4221 }
4222
4223
4224 }
4225
4226 if ( state.backtracking==0 ) {
4227 leaveRule();
4228 }
4229 }
4230
4231 catch (RecognitionException re) {
4232 recover(input,re);
4233 appendSkippedTokens();
4234 }
4235 finally {
4236 }
4237 return current;
4238 }
4239 // $ANTLR end "ruleALSAnd"
4240
4241
4242 // $ANTLR start "entryRuleALSComparison"
4243 // InternalAlloyLanguage.g:1530:1: entryRuleALSComparison returns [EObject current=null] : iv_ruleALSComparison= ruleALSComparison EOF ;
4244 public final EObject entryRuleALSComparison() throws RecognitionException {
4245 EObject current = null;
4246
4247 EObject iv_ruleALSComparison = null;
4248
4249
4250 try {
4251 // InternalAlloyLanguage.g:1531:2: (iv_ruleALSComparison= ruleALSComparison EOF )
4252 // InternalAlloyLanguage.g:1532:2: iv_ruleALSComparison= ruleALSComparison EOF
4253 {
4254 if ( state.backtracking==0 ) {
4255 newCompositeNode(grammarAccess.getALSComparisonRule());
4256 }
4257 pushFollow(FOLLOW_1);
4258 iv_ruleALSComparison=ruleALSComparison();
4259
4260 state._fsp--;
4261 if (state.failed) return current;
4262 if ( state.backtracking==0 ) {
4263 current =iv_ruleALSComparison;
4264 }
4265 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4266
4267 }
4268
4269 }
4270
4271 catch (RecognitionException re) {
4272 recover(input,re);
4273 appendSkippedTokens();
4274 }
4275 finally {
4276 }
4277 return current;
4278 }
4279 // $ANTLR end "entryRuleALSComparison"
4280
4281
4282 // $ANTLR start "ruleALSComparison"
4283 // 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 ) ) )? ) ;
4284 public final EObject ruleALSComparison() throws RecognitionException {
4285 EObject current = null;
4286
4287 Token otherlv_2=null;
4288 Token otherlv_4=null;
4289 Token otherlv_6=null;
4290 Token otherlv_8=null;
4291 Token otherlv_10=null;
4292 Token otherlv_12=null;
4293 Token otherlv_14=null;
4294 EObject this_ALSOverride_0 = null;
4295
4296 EObject lv_rightOperand_15_0 = null;
4297
4298
4299 enterRule();
4300
4301 try {
4302 // 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 ) ) )? ) )
4303 // 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 ) ) )? )
4304 {
4305 // 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 ) ) )? )
4306 // 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 ) ) )?
4307 {
4308 if ( state.backtracking==0 ) {
4309
4310 newCompositeNode(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0());
4311
4312 }
4313 pushFollow(FOLLOW_24);
4314 this_ALSOverride_0=ruleALSOverride();
4315
4316 state._fsp--;
4317 if (state.failed) return current;
4318 if ( state.backtracking==0 ) {
4319
4320 current = this_ALSOverride_0;
4321 afterParserOrEnumRuleCall();
4322
4323 }
4324 // InternalAlloyLanguage.g:1552:1: ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )?
4325 int alt27=2;
4326 int LA27_0 = input.LA(1);
4327
4328 if ( (LA27_0==18||(LA27_0>=36 && LA27_0<=41)) ) {
4329 alt27=1;
4330 }
4331 switch (alt27) {
4332 case 1 :
4333 // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) )
4334 {
4335 // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) )
4336 int alt26=7;
4337 switch ( input.LA(1) ) {
4338 case 36:
4339 {
4340 alt26=1;
4341 }
4342 break;
4343 case 37:
4344 {
4345 alt26=2;
4346 }
4347 break;
4348 case 18:
4349 {
4350 alt26=3;
4351 }
4352 break;
4353 case 38:
4354 {
4355 alt26=4;
4356 }
4357 break;
4358 case 39:
4359 {
4360 alt26=5;
4361 }
4362 break;
4363 case 40:
4364 {
4365 alt26=6;
4366 }
4367 break;
4368 case 41:
4369 {
4370 alt26=7;
4371 }
4372 break;
4373 default:
4374 if (state.backtracking>0) {state.failed=true; return current;}
4375 NoViableAltException nvae =
4376 new NoViableAltException("", 26, 0, input);
4377
4378 throw nvae;
4379 }
4380
4381 switch (alt26) {
4382 case 1 :
4383 // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' )
4384 {
4385 // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' )
4386 // InternalAlloyLanguage.g:1552:4: () otherlv_2= '='
4387 {
4388 // InternalAlloyLanguage.g:1552:4: ()
4389 // InternalAlloyLanguage.g:1553:5:
4390 {
4391 if ( state.backtracking==0 ) {
4392
4393 current = forceCreateModelElementAndSet(
4394 grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(),
4395 current);
4396
4397 }
4398
4399 }
4400
4401 otherlv_2=(Token)match(input,36,FOLLOW_12); if (state.failed) return current;
4402 if ( state.backtracking==0 ) {
4403
4404 newLeafNode(otherlv_2, grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1());
4405
4406 }
4407
4408 }
4409
4410
4411 }
4412 break;
4413 case 2 :
4414 // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' )
4415 {
4416 // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' )
4417 // InternalAlloyLanguage.g:1563:7: () otherlv_4= '!='
4418 {
4419 // InternalAlloyLanguage.g:1563:7: ()
4420 // InternalAlloyLanguage.g:1564:5:
4421 {
4422 if ( state.backtracking==0 ) {
4423
4424 current = forceCreateModelElementAndSet(
4425 grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(),
4426 current);
4427
4428 }
4429
4430 }
4431
4432 otherlv_4=(Token)match(input,37,FOLLOW_12); if (state.failed) return current;
4433 if ( state.backtracking==0 ) {
4434
4435 newLeafNode(otherlv_4, grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1());
4436
4437 }
4438
4439 }
4440
4441
4442 }
4443 break;
4444 case 3 :
4445 // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' )
4446 {
4447 // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' )
4448 // InternalAlloyLanguage.g:1574:7: () otherlv_6= 'in'
4449 {
4450 // InternalAlloyLanguage.g:1574:7: ()
4451 // InternalAlloyLanguage.g:1575:5:
4452 {
4453 if ( state.backtracking==0 ) {
4454
4455 current = forceCreateModelElementAndSet(
4456 grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(),
4457 current);
4458
4459 }
4460
4461 }
4462
4463 otherlv_6=(Token)match(input,18,FOLLOW_12); if (state.failed) return current;
4464 if ( state.backtracking==0 ) {
4465
4466 newLeafNode(otherlv_6, grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1());
4467
4468 }
4469
4470 }
4471
4472
4473 }
4474 break;
4475 case 4 :
4476 // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' )
4477 {
4478 // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' )
4479 // InternalAlloyLanguage.g:1585:7: () otherlv_8= '>'
4480 {
4481 // InternalAlloyLanguage.g:1585:7: ()
4482 // InternalAlloyLanguage.g:1586:5:
4483 {
4484 if ( state.backtracking==0 ) {
4485
4486 current = forceCreateModelElementAndSet(
4487 grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(),
4488 current);
4489
4490 }
4491
4492 }
4493
4494 otherlv_8=(Token)match(input,38,FOLLOW_12); if (state.failed) return current;
4495 if ( state.backtracking==0 ) {
4496
4497 newLeafNode(otherlv_8, grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1());
4498
4499 }
4500
4501 }
4502
4503
4504 }
4505 break;
4506 case 5 :
4507 // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' )
4508 {
4509 // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' )
4510 // InternalAlloyLanguage.g:1596:7: () otherlv_10= '>='
4511 {
4512 // InternalAlloyLanguage.g:1596:7: ()
4513 // InternalAlloyLanguage.g:1597:5:
4514 {
4515 if ( state.backtracking==0 ) {
4516
4517 current = forceCreateModelElementAndSet(
4518 grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(),
4519 current);
4520
4521 }
4522
4523 }
4524
4525 otherlv_10=(Token)match(input,39,FOLLOW_12); if (state.failed) return current;
4526 if ( state.backtracking==0 ) {
4527
4528 newLeafNode(otherlv_10, grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1());
4529
4530 }
4531
4532 }
4533
4534
4535 }
4536 break;
4537 case 6 :
4538 // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' )
4539 {
4540 // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' )
4541 // InternalAlloyLanguage.g:1607:7: () otherlv_12= '<'
4542 {
4543 // InternalAlloyLanguage.g:1607:7: ()
4544 // InternalAlloyLanguage.g:1608:5:
4545 {
4546 if ( state.backtracking==0 ) {
4547
4548 current = forceCreateModelElementAndSet(
4549 grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(),
4550 current);
4551
4552 }
4553
4554 }
4555
4556 otherlv_12=(Token)match(input,40,FOLLOW_12); if (state.failed) return current;
4557 if ( state.backtracking==0 ) {
4558
4559 newLeafNode(otherlv_12, grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1());
4560
4561 }
4562
4563 }
4564
4565
4566 }
4567 break;
4568 case 7 :
4569 // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' )
4570 {
4571 // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' )
4572 // InternalAlloyLanguage.g:1618:7: () otherlv_14= '<='
4573 {
4574 // InternalAlloyLanguage.g:1618:7: ()
4575 // InternalAlloyLanguage.g:1619:5:
4576 {
4577 if ( state.backtracking==0 ) {
4578
4579 current = forceCreateModelElementAndSet(
4580 grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(),
4581 current);
4582
4583 }
4584
4585 }
4586
4587 otherlv_14=(Token)match(input,41,FOLLOW_12); if (state.failed) return current;
4588 if ( state.backtracking==0 ) {
4589
4590 newLeafNode(otherlv_14, grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1());
4591
4592 }
4593
4594 }
4595
4596
4597 }
4598 break;
4599
4600 }
4601
4602 // InternalAlloyLanguage.g:1628:3: ( (lv_rightOperand_15_0= ruleALSOverride ) )
4603 // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride )
4604 {
4605 // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride )
4606 // InternalAlloyLanguage.g:1630:3: lv_rightOperand_15_0= ruleALSOverride
4607 {
4608 if ( state.backtracking==0 ) {
4609
4610 newCompositeNode(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0());
4611
4612 }
4613 pushFollow(FOLLOW_2);
4614 lv_rightOperand_15_0=ruleALSOverride();
4615
4616 state._fsp--;
4617 if (state.failed) return current;
4618 if ( state.backtracking==0 ) {
4619
4620 if (current==null) {
4621 current = createModelElementForParent(grammarAccess.getALSComparisonRule());
4622 }
4623 set(
4624 current,
4625 "rightOperand",
4626 lv_rightOperand_15_0,
4627 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride");
4628 afterParserOrEnumRuleCall();
4629
4630 }
4631
4632 }
4633
4634
4635 }
4636
4637
4638 }
4639 break;
4640
4641 }
4642
4643
4644 }
4645
4646
4647 }
4648
4649 if ( state.backtracking==0 ) {
4650 leaveRule();
4651 }
4652 }
4653
4654 catch (RecognitionException re) {
4655 recover(input,re);
4656 appendSkippedTokens();
4657 }
4658 finally {
4659 }
4660 return current;
4661 }
4662 // $ANTLR end "ruleALSComparison"
4663
4664
4665 // $ANTLR start "entryRuleALSOverride"
4666 // InternalAlloyLanguage.g:1654:1: entryRuleALSOverride returns [EObject current=null] : iv_ruleALSOverride= ruleALSOverride EOF ;
4667 public final EObject entryRuleALSOverride() throws RecognitionException {
4668 EObject current = null;
4669
4670 EObject iv_ruleALSOverride = null;
4671
4672
4673 try {
4674 // InternalAlloyLanguage.g:1655:2: (iv_ruleALSOverride= ruleALSOverride EOF )
4675 // InternalAlloyLanguage.g:1656:2: iv_ruleALSOverride= ruleALSOverride EOF
4676 {
4677 if ( state.backtracking==0 ) {
4678 newCompositeNode(grammarAccess.getALSOverrideRule());
4679 }
4680 pushFollow(FOLLOW_1);
4681 iv_ruleALSOverride=ruleALSOverride();
4682
4683 state._fsp--;
4684 if (state.failed) return current;
4685 if ( state.backtracking==0 ) {
4686 current =iv_ruleALSOverride;
4687 }
4688 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4689
4690 }
4691
4692 }
4693
4694 catch (RecognitionException re) {
4695 recover(input,re);
4696 appendSkippedTokens();
4697 }
4698 finally {
4699 }
4700 return current;
4701 }
4702 // $ANTLR end "entryRuleALSOverride"
4703
4704
4705 // $ANTLR start "ruleALSOverride"
4706 // InternalAlloyLanguage.g:1663:1: ruleALSOverride returns [EObject current=null] : (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) ;
4707 public final EObject ruleALSOverride() throws RecognitionException {
4708 EObject current = null;
4709
4710 Token otherlv_2=null;
4711 EObject this_ALSRangeRestrictionRight_0 = null;
4712
4713 EObject lv_rightOperand_3_0 = null;
4714
4715
4716 enterRule();
4717
4718 try {
4719 // InternalAlloyLanguage.g:1666:28: ( (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) )
4720 // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? )
4721 {
4722 // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? )
4723 // InternalAlloyLanguage.g:1668:5: this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )?
4724 {
4725 if ( state.backtracking==0 ) {
4726
4727 newCompositeNode(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0());
4728
4729 }
4730 pushFollow(FOLLOW_25);
4731 this_ALSRangeRestrictionRight_0=ruleALSRangeRestrictionRight();
4732
4733 state._fsp--;
4734 if (state.failed) return current;
4735 if ( state.backtracking==0 ) {
4736
4737 current = this_ALSRangeRestrictionRight_0;
4738 afterParserOrEnumRuleCall();
4739
4740 }
4741 // InternalAlloyLanguage.g:1676:1: ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )?
4742 int alt28=2;
4743 int LA28_0 = input.LA(1);
4744
4745 if ( (LA28_0==42) ) {
4746 alt28=1;
4747 }
4748 switch (alt28) {
4749 case 1 :
4750 // InternalAlloyLanguage.g:1676:2: () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) )
4751 {
4752 // InternalAlloyLanguage.g:1676:2: ()
4753 // InternalAlloyLanguage.g:1677:5:
4754 {
4755 if ( state.backtracking==0 ) {
4756
4757 current = forceCreateModelElementAndSet(
4758 grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(),
4759 current);
4760
4761 }
4762
4763 }
4764
4765 otherlv_2=(Token)match(input,42,FOLLOW_12); if (state.failed) return current;
4766 if ( state.backtracking==0 ) {
4767
4768 newLeafNode(otherlv_2, grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1());
4769
4770 }
4771 // InternalAlloyLanguage.g:1686:1: ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) )
4772 // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight )
4773 {
4774 // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight )
4775 // InternalAlloyLanguage.g:1688:3: lv_rightOperand_3_0= ruleALSRangeRestrictionRight
4776 {
4777 if ( state.backtracking==0 ) {
4778
4779 newCompositeNode(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0());
4780
4781 }
4782 pushFollow(FOLLOW_2);
4783 lv_rightOperand_3_0=ruleALSRangeRestrictionRight();
4784
4785 state._fsp--;
4786 if (state.failed) return current;
4787 if ( state.backtracking==0 ) {
4788
4789 if (current==null) {
4790 current = createModelElementForParent(grammarAccess.getALSOverrideRule());
4791 }
4792 set(
4793 current,
4794 "rightOperand",
4795 lv_rightOperand_3_0,
4796 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight");
4797 afterParserOrEnumRuleCall();
4798
4799 }
4800
4801 }
4802
4803
4804 }
4805
4806
4807 }
4808 break;
4809
4810 }
4811
4812
4813 }
4814
4815
4816 }
4817
4818 if ( state.backtracking==0 ) {
4819 leaveRule();
4820 }
4821 }
4822
4823 catch (RecognitionException re) {
4824 recover(input,re);
4825 appendSkippedTokens();
4826 }
4827 finally {
4828 }
4829 return current;
4830 }
4831 // $ANTLR end "ruleALSOverride"
4832
4833
4834 // $ANTLR start "entryRuleALSRangeRestrictionRight"
4835 // InternalAlloyLanguage.g:1712:1: entryRuleALSRangeRestrictionRight returns [EObject current=null] : iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF ;
4836 public final EObject entryRuleALSRangeRestrictionRight() throws RecognitionException {
4837 EObject current = null;
4838
4839 EObject iv_ruleALSRangeRestrictionRight = null;
4840
4841
4842 try {
4843 // InternalAlloyLanguage.g:1713:2: (iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF )
4844 // InternalAlloyLanguage.g:1714:2: iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF
4845 {
4846 if ( state.backtracking==0 ) {
4847 newCompositeNode(grammarAccess.getALSRangeRestrictionRightRule());
4848 }
4849 pushFollow(FOLLOW_1);
4850 iv_ruleALSRangeRestrictionRight=ruleALSRangeRestrictionRight();
4851
4852 state._fsp--;
4853 if (state.failed) return current;
4854 if ( state.backtracking==0 ) {
4855 current =iv_ruleALSRangeRestrictionRight;
4856 }
4857 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4858
4859 }
4860
4861 }
4862
4863 catch (RecognitionException re) {
4864 recover(input,re);
4865 appendSkippedTokens();
4866 }
4867 finally {
4868 }
4869 return current;
4870 }
4871 // $ANTLR end "entryRuleALSRangeRestrictionRight"
4872
4873
4874 // $ANTLR start "ruleALSRangeRestrictionRight"
4875 // InternalAlloyLanguage.g:1721:1: ruleALSRangeRestrictionRight returns [EObject current=null] : (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) ;
4876 public final EObject ruleALSRangeRestrictionRight() throws RecognitionException {
4877 EObject current = null;
4878
4879 Token otherlv_2=null;
4880 EObject this_ALSRangeRestrictionLeft_0 = null;
4881
4882 EObject lv_filter_3_0 = null;
4883
4884
4885 enterRule();
4886
4887 try {
4888 // InternalAlloyLanguage.g:1724:28: ( (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) )
4889 // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? )
4890 {
4891 // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? )
4892 // InternalAlloyLanguage.g:1726:5: this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )?
4893 {
4894 if ( state.backtracking==0 ) {
4895
4896 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0());
4897
4898 }
4899 pushFollow(FOLLOW_26);
4900 this_ALSRangeRestrictionLeft_0=ruleALSRangeRestrictionLeft();
4901
4902 state._fsp--;
4903 if (state.failed) return current;
4904 if ( state.backtracking==0 ) {
4905
4906 current = this_ALSRangeRestrictionLeft_0;
4907 afterParserOrEnumRuleCall();
4908
4909 }
4910 // InternalAlloyLanguage.g:1734:1: ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )?
4911 int alt29=2;
4912 int LA29_0 = input.LA(1);
4913
4914 if ( (LA29_0==43) ) {
4915 alt29=1;
4916 }
4917 switch (alt29) {
4918 case 1 :
4919 // InternalAlloyLanguage.g:1734:2: () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) )
4920 {
4921 // InternalAlloyLanguage.g:1734:2: ()
4922 // InternalAlloyLanguage.g:1735:5:
4923 {
4924 if ( state.backtracking==0 ) {
4925
4926 current = forceCreateModelElementAndSet(
4927 grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(),
4928 current);
4929
4930 }
4931
4932 }
4933
4934 otherlv_2=(Token)match(input,43,FOLLOW_12); if (state.failed) return current;
4935 if ( state.backtracking==0 ) {
4936
4937 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1());
4938
4939 }
4940 // InternalAlloyLanguage.g:1744:1: ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) )
4941 // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft )
4942 {
4943 // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft )
4944 // InternalAlloyLanguage.g:1746:3: lv_filter_3_0= ruleALSRangeRestrictionLeft
4945 {
4946 if ( state.backtracking==0 ) {
4947
4948 newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0());
4949
4950 }
4951 pushFollow(FOLLOW_2);
4952 lv_filter_3_0=ruleALSRangeRestrictionLeft();
4953
4954 state._fsp--;
4955 if (state.failed) return current;
4956 if ( state.backtracking==0 ) {
4957
4958 if (current==null) {
4959 current = createModelElementForParent(grammarAccess.getALSRangeRestrictionRightRule());
4960 }
4961 set(
4962 current,
4963 "filter",
4964 lv_filter_3_0,
4965 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft");
4966 afterParserOrEnumRuleCall();
4967
4968 }
4969
4970 }
4971
4972
4973 }
4974
4975
4976 }
4977 break;
4978
4979 }
4980
4981
4982 }
4983
4984
4985 }
4986
4987 if ( state.backtracking==0 ) {
4988 leaveRule();
4989 }
4990 }
4991
4992 catch (RecognitionException re) {
4993 recover(input,re);
4994 appendSkippedTokens();
4995 }
4996 finally {
4997 }
4998 return current;
4999 }
5000 // $ANTLR end "ruleALSRangeRestrictionRight"
5001
5002
5003 // $ANTLR start "entryRuleALSRangeRestrictionLeft"
5004 // InternalAlloyLanguage.g:1770:1: entryRuleALSRangeRestrictionLeft returns [EObject current=null] : iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF ;
5005 public final EObject entryRuleALSRangeRestrictionLeft() throws RecognitionException {
5006 EObject current = null;
5007
5008 EObject iv_ruleALSRangeRestrictionLeft = null;
5009
5010
5011 try {
5012 // InternalAlloyLanguage.g:1771:2: (iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF )
5013 // InternalAlloyLanguage.g:1772:2: iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF
5014 {
5015 if ( state.backtracking==0 ) {
5016 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftRule());
5017 }
5018 pushFollow(FOLLOW_1);
5019 iv_ruleALSRangeRestrictionLeft=ruleALSRangeRestrictionLeft();
5020
5021 state._fsp--;
5022 if (state.failed) return current;
5023 if ( state.backtracking==0 ) {
5024 current =iv_ruleALSRangeRestrictionLeft;
5025 }
5026 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5027
5028 }
5029
5030 }
5031
5032 catch (RecognitionException re) {
5033 recover(input,re);
5034 appendSkippedTokens();
5035 }
5036 finally {
5037 }
5038 return current;
5039 }
5040 // $ANTLR end "entryRuleALSRangeRestrictionLeft"
5041
5042
5043 // $ANTLR start "ruleALSRangeRestrictionLeft"
5044 // InternalAlloyLanguage.g:1779:1: ruleALSRangeRestrictionLeft returns [EObject current=null] : (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) ;
5045 public final EObject ruleALSRangeRestrictionLeft() throws RecognitionException {
5046 EObject current = null;
5047
5048 Token otherlv_2=null;
5049 EObject this_ALSJoin_0 = null;
5050
5051 EObject lv_relation_3_0 = null;
5052
5053
5054 enterRule();
5055
5056 try {
5057 // InternalAlloyLanguage.g:1782:28: ( (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) )
5058 // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? )
5059 {
5060 // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? )
5061 // InternalAlloyLanguage.g:1784:5: this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )?
5062 {
5063 if ( state.backtracking==0 ) {
5064
5065 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0());
5066
5067 }
5068 pushFollow(FOLLOW_27);
5069 this_ALSJoin_0=ruleALSJoin();
5070
5071 state._fsp--;
5072 if (state.failed) return current;
5073 if ( state.backtracking==0 ) {
5074
5075 current = this_ALSJoin_0;
5076 afterParserOrEnumRuleCall();
5077
5078 }
5079 // InternalAlloyLanguage.g:1792:1: ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )?
5080 int alt30=2;
5081 int LA30_0 = input.LA(1);
5082
5083 if ( (LA30_0==44) ) {
5084 alt30=1;
5085 }
5086 switch (alt30) {
5087 case 1 :
5088 // InternalAlloyLanguage.g:1792:2: () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) )
5089 {
5090 // InternalAlloyLanguage.g:1792:2: ()
5091 // InternalAlloyLanguage.g:1793:5:
5092 {
5093 if ( state.backtracking==0 ) {
5094
5095 current = forceCreateModelElementAndSet(
5096 grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(),
5097 current);
5098
5099 }
5100
5101 }
5102
5103 otherlv_2=(Token)match(input,44,FOLLOW_12); if (state.failed) return current;
5104 if ( state.backtracking==0 ) {
5105
5106 newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1());
5107
5108 }
5109 // InternalAlloyLanguage.g:1802:1: ( (lv_relation_3_0= ruleALSJoin ) )
5110 // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin )
5111 {
5112 // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin )
5113 // InternalAlloyLanguage.g:1804:3: lv_relation_3_0= ruleALSJoin
5114 {
5115 if ( state.backtracking==0 ) {
5116
5117 newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0());
5118
5119 }
5120 pushFollow(FOLLOW_2);
5121 lv_relation_3_0=ruleALSJoin();
5122
5123 state._fsp--;
5124 if (state.failed) return current;
5125 if ( state.backtracking==0 ) {
5126
5127 if (current==null) {
5128 current = createModelElementForParent(grammarAccess.getALSRangeRestrictionLeftRule());
5129 }
5130 set(
5131 current,
5132 "relation",
5133 lv_relation_3_0,
5134 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin");
5135 afterParserOrEnumRuleCall();
5136
5137 }
5138
5139 }
5140
5141
5142 }
5143
5144
5145 }
5146 break;
5147
5148 }
5149
5150
5151 }
5152
5153
5154 }
5155
5156 if ( state.backtracking==0 ) {
5157 leaveRule();
5158 }
5159 }
5160
5161 catch (RecognitionException re) {
5162 recover(input,re);
5163 appendSkippedTokens();
5164 }
5165 finally {
5166 }
5167 return current;
5168 }
5169 // $ANTLR end "ruleALSRangeRestrictionLeft"
5170
5171
5172 // $ANTLR start "entryRuleALSJoin"
5173 // InternalAlloyLanguage.g:1828:1: entryRuleALSJoin returns [EObject current=null] : iv_ruleALSJoin= ruleALSJoin EOF ;
5174 public final EObject entryRuleALSJoin() throws RecognitionException {
5175 EObject current = null;
5176
5177 EObject iv_ruleALSJoin = null;
5178
5179
5180 try {
5181 // InternalAlloyLanguage.g:1829:2: (iv_ruleALSJoin= ruleALSJoin EOF )
5182 // InternalAlloyLanguage.g:1830:2: iv_ruleALSJoin= ruleALSJoin EOF
5183 {
5184 if ( state.backtracking==0 ) {
5185 newCompositeNode(grammarAccess.getALSJoinRule());
5186 }
5187 pushFollow(FOLLOW_1);
5188 iv_ruleALSJoin=ruleALSJoin();
5189
5190 state._fsp--;
5191 if (state.failed) return current;
5192 if ( state.backtracking==0 ) {
5193 current =iv_ruleALSJoin;
5194 }
5195 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5196
5197 }
5198
5199 }
5200
5201 catch (RecognitionException re) {
5202 recover(input,re);
5203 appendSkippedTokens();
5204 }
5205 finally {
5206 }
5207 return current;
5208 }
5209 // $ANTLR end "entryRuleALSJoin"
5210
5211
5212 // $ANTLR start "ruleALSJoin"
5213 // InternalAlloyLanguage.g:1837:1: ruleALSJoin returns [EObject current=null] : (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) ;
5214 public final EObject ruleALSJoin() throws RecognitionException {
5215 EObject current = null;
5216
5217 Token otherlv_2=null;
5218 EObject this_ALSMinus_0 = null;
5219
5220 EObject lv_rightOperand_3_0 = null;
5221
5222
5223 enterRule();
5224
5225 try {
5226 // InternalAlloyLanguage.g:1840:28: ( (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) )
5227 // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* )
5228 {
5229 // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* )
5230 // InternalAlloyLanguage.g:1842:5: this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )*
5231 {
5232 if ( state.backtracking==0 ) {
5233
5234 newCompositeNode(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0());
5235
5236 }
5237 pushFollow(FOLLOW_28);
5238 this_ALSMinus_0=ruleALSMinus();
5239
5240 state._fsp--;
5241 if (state.failed) return current;
5242 if ( state.backtracking==0 ) {
5243
5244 current = this_ALSMinus_0;
5245 afterParserOrEnumRuleCall();
5246
5247 }
5248 // InternalAlloyLanguage.g:1850:1: ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )*
5249 loop31:
5250 do {
5251 int alt31=2;
5252 int LA31_0 = input.LA(1);
5253
5254 if ( (LA31_0==45) ) {
5255 alt31=1;
5256 }
5257
5258
5259 switch (alt31) {
5260 case 1 :
5261 // InternalAlloyLanguage.g:1850:2: () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) )
5262 {
5263 // InternalAlloyLanguage.g:1850:2: ()
5264 // InternalAlloyLanguage.g:1851:5:
5265 {
5266 if ( state.backtracking==0 ) {
5267
5268 current = forceCreateModelElementAndSet(
5269 grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(),
5270 current);
5271
5272 }
5273
5274 }
5275
5276 otherlv_2=(Token)match(input,45,FOLLOW_12); if (state.failed) return current;
5277 if ( state.backtracking==0 ) {
5278
5279 newLeafNode(otherlv_2, grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1());
5280
5281 }
5282 // InternalAlloyLanguage.g:1860:1: ( (lv_rightOperand_3_0= ruleALSMinus ) )
5283 // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus )
5284 {
5285 // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus )
5286 // InternalAlloyLanguage.g:1862:3: lv_rightOperand_3_0= ruleALSMinus
5287 {
5288 if ( state.backtracking==0 ) {
5289
5290 newCompositeNode(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0());
5291
5292 }
5293 pushFollow(FOLLOW_28);
5294 lv_rightOperand_3_0=ruleALSMinus();
5295
5296 state._fsp--;
5297 if (state.failed) return current;
5298 if ( state.backtracking==0 ) {
5299
5300 if (current==null) {
5301 current = createModelElementForParent(grammarAccess.getALSJoinRule());
5302 }
5303 set(
5304 current,
5305 "rightOperand",
5306 lv_rightOperand_3_0,
5307 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus");
5308 afterParserOrEnumRuleCall();
5309
5310 }
5311
5312 }
5313
5314
5315 }
5316
5317
5318 }
5319 break;
5320
5321 default :
5322 break loop31;
5323 }
5324 } while (true);
5325
5326
5327 }
5328
5329
5330 }
5331
5332 if ( state.backtracking==0 ) {
5333 leaveRule();
5334 }
5335 }
5336
5337 catch (RecognitionException re) {
5338 recover(input,re);
5339 appendSkippedTokens();
5340 }
5341 finally {
5342 }
5343 return current;
5344 }
5345 // $ANTLR end "ruleALSJoin"
5346
5347
5348 // $ANTLR start "entryRuleALSMinus"
5349 // InternalAlloyLanguage.g:1886:1: entryRuleALSMinus returns [EObject current=null] : iv_ruleALSMinus= ruleALSMinus EOF ;
5350 public final EObject entryRuleALSMinus() throws RecognitionException {
5351 EObject current = null;
5352
5353 EObject iv_ruleALSMinus = null;
5354
5355
5356 try {
5357 // InternalAlloyLanguage.g:1887:2: (iv_ruleALSMinus= ruleALSMinus EOF )
5358 // InternalAlloyLanguage.g:1888:2: iv_ruleALSMinus= ruleALSMinus EOF
5359 {
5360 if ( state.backtracking==0 ) {
5361 newCompositeNode(grammarAccess.getALSMinusRule());
5362 }
5363 pushFollow(FOLLOW_1);
5364 iv_ruleALSMinus=ruleALSMinus();
5365
5366 state._fsp--;
5367 if (state.failed) return current;
5368 if ( state.backtracking==0 ) {
5369 current =iv_ruleALSMinus;
5370 }
5371 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5372
5373 }
5374
5375 }
5376
5377 catch (RecognitionException re) {
5378 recover(input,re);
5379 appendSkippedTokens();
5380 }
5381 finally {
5382 }
5383 return current;
5384 }
5385 // $ANTLR end "entryRuleALSMinus"
5386
5387
5388 // $ANTLR start "ruleALSMinus"
5389 // InternalAlloyLanguage.g:1895:1: ruleALSMinus returns [EObject current=null] : (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) ;
5390 public final EObject ruleALSMinus() throws RecognitionException {
5391 EObject current = null;
5392
5393 Token otherlv_2=null;
5394 EObject this_ALSPlus_0 = null;
5395
5396 EObject lv_rightOperand_3_0 = null;
5397
5398
5399 enterRule();
5400
5401 try {
5402 // InternalAlloyLanguage.g:1898:28: ( (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) )
5403 // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* )
5404 {
5405 // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* )
5406 // InternalAlloyLanguage.g:1900:5: this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )*
5407 {
5408 if ( state.backtracking==0 ) {
5409
5410 newCompositeNode(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0());
5411
5412 }
5413 pushFollow(FOLLOW_29);
5414 this_ALSPlus_0=ruleALSPlus();
5415
5416 state._fsp--;
5417 if (state.failed) return current;
5418 if ( state.backtracking==0 ) {
5419
5420 current = this_ALSPlus_0;
5421 afterParserOrEnumRuleCall();
5422
5423 }
5424 // InternalAlloyLanguage.g:1908:1: ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )*
5425 loop32:
5426 do {
5427 int alt32=2;
5428 int LA32_0 = input.LA(1);
5429
5430 if ( (LA32_0==46) ) {
5431 alt32=1;
5432 }
5433
5434
5435 switch (alt32) {
5436 case 1 :
5437 // InternalAlloyLanguage.g:1908:2: () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) )
5438 {
5439 // InternalAlloyLanguage.g:1908:2: ()
5440 // InternalAlloyLanguage.g:1909:5:
5441 {
5442 if ( state.backtracking==0 ) {
5443
5444 current = forceCreateModelElementAndSet(
5445 grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(),
5446 current);
5447
5448 }
5449
5450 }
5451
5452 otherlv_2=(Token)match(input,46,FOLLOW_12); if (state.failed) return current;
5453 if ( state.backtracking==0 ) {
5454
5455 newLeafNode(otherlv_2, grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1());
5456
5457 }
5458 // InternalAlloyLanguage.g:1918:1: ( (lv_rightOperand_3_0= ruleALSPlus ) )
5459 // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus )
5460 {
5461 // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus )
5462 // InternalAlloyLanguage.g:1920:3: lv_rightOperand_3_0= ruleALSPlus
5463 {
5464 if ( state.backtracking==0 ) {
5465
5466 newCompositeNode(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0());
5467
5468 }
5469 pushFollow(FOLLOW_29);
5470 lv_rightOperand_3_0=ruleALSPlus();
5471
5472 state._fsp--;
5473 if (state.failed) return current;
5474 if ( state.backtracking==0 ) {
5475
5476 if (current==null) {
5477 current = createModelElementForParent(grammarAccess.getALSMinusRule());
5478 }
5479 set(
5480 current,
5481 "rightOperand",
5482 lv_rightOperand_3_0,
5483 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus");
5484 afterParserOrEnumRuleCall();
5485
5486 }
5487
5488 }
5489
5490
5491 }
5492
5493
5494 }
5495 break;
5496
5497 default :
5498 break loop32;
5499 }
5500 } while (true);
5501
5502
5503 }
5504
5505
5506 }
5507
5508 if ( state.backtracking==0 ) {
5509 leaveRule();
5510 }
5511 }
5512
5513 catch (RecognitionException re) {
5514 recover(input,re);
5515 appendSkippedTokens();
5516 }
5517 finally {
5518 }
5519 return current;
5520 }
5521 // $ANTLR end "ruleALSMinus"
5522
5523
5524 // $ANTLR start "entryRuleALSPlus"
5525 // InternalAlloyLanguage.g:1944:1: entryRuleALSPlus returns [EObject current=null] : iv_ruleALSPlus= ruleALSPlus EOF ;
5526 public final EObject entryRuleALSPlus() throws RecognitionException {
5527 EObject current = null;
5528
5529 EObject iv_ruleALSPlus = null;
5530
5531
5532 try {
5533 // InternalAlloyLanguage.g:1945:2: (iv_ruleALSPlus= ruleALSPlus EOF )
5534 // InternalAlloyLanguage.g:1946:2: iv_ruleALSPlus= ruleALSPlus EOF
5535 {
5536 if ( state.backtracking==0 ) {
5537 newCompositeNode(grammarAccess.getALSPlusRule());
5538 }
5539 pushFollow(FOLLOW_1);
5540 iv_ruleALSPlus=ruleALSPlus();
5541
5542 state._fsp--;
5543 if (state.failed) return current;
5544 if ( state.backtracking==0 ) {
5545 current =iv_ruleALSPlus;
5546 }
5547 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5548
5549 }
5550
5551 }
5552
5553 catch (RecognitionException re) {
5554 recover(input,re);
5555 appendSkippedTokens();
5556 }
5557 finally {
5558 }
5559 return current;
5560 }
5561 // $ANTLR end "entryRuleALSPlus"
5562
5563
5564 // $ANTLR start "ruleALSPlus"
5565 // InternalAlloyLanguage.g:1953:1: ruleALSPlus returns [EObject current=null] : (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) ;
5566 public final EObject ruleALSPlus() throws RecognitionException {
5567 EObject current = null;
5568
5569 Token otherlv_2=null;
5570 EObject this_ALSIntersection_0 = null;
5571
5572 EObject lv_rightOperand_3_0 = null;
5573
5574
5575 enterRule();
5576
5577 try {
5578 // InternalAlloyLanguage.g:1956:28: ( (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) )
5579 // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* )
5580 {
5581 // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* )
5582 // InternalAlloyLanguage.g:1958:5: this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )*
5583 {
5584 if ( state.backtracking==0 ) {
5585
5586 newCompositeNode(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0());
5587
5588 }
5589 pushFollow(FOLLOW_30);
5590 this_ALSIntersection_0=ruleALSIntersection();
5591
5592 state._fsp--;
5593 if (state.failed) return current;
5594 if ( state.backtracking==0 ) {
5595
5596 current = this_ALSIntersection_0;
5597 afterParserOrEnumRuleCall();
5598
5599 }
5600 // InternalAlloyLanguage.g:1966:1: ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )*
5601 loop33:
5602 do {
5603 int alt33=2;
5604 int LA33_0 = input.LA(1);
5605
5606 if ( (LA33_0==19) ) {
5607 alt33=1;
5608 }
5609
5610
5611 switch (alt33) {
5612 case 1 :
5613 // InternalAlloyLanguage.g:1966:2: () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) )
5614 {
5615 // InternalAlloyLanguage.g:1966:2: ()
5616 // InternalAlloyLanguage.g:1967:5:
5617 {
5618 if ( state.backtracking==0 ) {
5619
5620 current = forceCreateModelElementAndSet(
5621 grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(),
5622 current);
5623
5624 }
5625
5626 }
5627
5628 otherlv_2=(Token)match(input,19,FOLLOW_12); if (state.failed) return current;
5629 if ( state.backtracking==0 ) {
5630
5631 newLeafNode(otherlv_2, grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1());
5632
5633 }
5634 // InternalAlloyLanguage.g:1976:1: ( (lv_rightOperand_3_0= ruleALSIntersection ) )
5635 // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection )
5636 {
5637 // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection )
5638 // InternalAlloyLanguage.g:1978:3: lv_rightOperand_3_0= ruleALSIntersection
5639 {
5640 if ( state.backtracking==0 ) {
5641
5642 newCompositeNode(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0());
5643
5644 }
5645 pushFollow(FOLLOW_30);
5646 lv_rightOperand_3_0=ruleALSIntersection();
5647
5648 state._fsp--;
5649 if (state.failed) return current;
5650 if ( state.backtracking==0 ) {
5651
5652 if (current==null) {
5653 current = createModelElementForParent(grammarAccess.getALSPlusRule());
5654 }
5655 set(
5656 current,
5657 "rightOperand",
5658 lv_rightOperand_3_0,
5659 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection");
5660 afterParserOrEnumRuleCall();
5661
5662 }
5663
5664 }
5665
5666
5667 }
5668
5669
5670 }
5671 break;
5672
5673 default :
5674 break loop33;
5675 }
5676 } while (true);
5677
5678
5679 }
5680
5681
5682 }
5683
5684 if ( state.backtracking==0 ) {
5685 leaveRule();
5686 }
5687 }
5688
5689 catch (RecognitionException re) {
5690 recover(input,re);
5691 appendSkippedTokens();
5692 }
5693 finally {
5694 }
5695 return current;
5696 }
5697 // $ANTLR end "ruleALSPlus"
5698
5699
5700 // $ANTLR start "entryRuleALSIntersection"
5701 // InternalAlloyLanguage.g:2002:1: entryRuleALSIntersection returns [EObject current=null] : iv_ruleALSIntersection= ruleALSIntersection EOF ;
5702 public final EObject entryRuleALSIntersection() throws RecognitionException {
5703 EObject current = null;
5704
5705 EObject iv_ruleALSIntersection = null;
5706
5707
5708 try {
5709 // InternalAlloyLanguage.g:2003:2: (iv_ruleALSIntersection= ruleALSIntersection EOF )
5710 // InternalAlloyLanguage.g:2004:2: iv_ruleALSIntersection= ruleALSIntersection EOF
5711 {
5712 if ( state.backtracking==0 ) {
5713 newCompositeNode(grammarAccess.getALSIntersectionRule());
5714 }
5715 pushFollow(FOLLOW_1);
5716 iv_ruleALSIntersection=ruleALSIntersection();
5717
5718 state._fsp--;
5719 if (state.failed) return current;
5720 if ( state.backtracking==0 ) {
5721 current =iv_ruleALSIntersection;
5722 }
5723 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5724
5725 }
5726
5727 }
5728
5729 catch (RecognitionException re) {
5730 recover(input,re);
5731 appendSkippedTokens();
5732 }
5733 finally {
5734 }
5735 return current;
5736 }
5737 // $ANTLR end "entryRuleALSIntersection"
5738
5739
5740 // $ANTLR start "ruleALSIntersection"
5741 // InternalAlloyLanguage.g:2011:1: ruleALSIntersection returns [EObject current=null] : (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) ;
5742 public final EObject ruleALSIntersection() throws RecognitionException {
5743 EObject current = null;
5744
5745 Token otherlv_2=null;
5746 EObject this_ALSDirectProduct_0 = null;
5747
5748 EObject lv_rightOperand_3_0 = null;
5749
5750
5751 enterRule();
5752
5753 try {
5754 // InternalAlloyLanguage.g:2014:28: ( (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) )
5755 // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* )
5756 {
5757 // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* )
5758 // InternalAlloyLanguage.g:2016:5: this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )*
5759 {
5760 if ( state.backtracking==0 ) {
5761
5762 newCompositeNode(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0());
5763
5764 }
5765 pushFollow(FOLLOW_31);
5766 this_ALSDirectProduct_0=ruleALSDirectProduct();
5767
5768 state._fsp--;
5769 if (state.failed) return current;
5770 if ( state.backtracking==0 ) {
5771
5772 current = this_ALSDirectProduct_0;
5773 afterParserOrEnumRuleCall();
5774
5775 }
5776 // InternalAlloyLanguage.g:2024:1: ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )*
5777 loop34:
5778 do {
5779 int alt34=2;
5780 int LA34_0 = input.LA(1);
5781
5782 if ( (LA34_0==47) ) {
5783 alt34=1;
5784 }
5785
5786
5787 switch (alt34) {
5788 case 1 :
5789 // InternalAlloyLanguage.g:2024:2: () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) )
5790 {
5791 // InternalAlloyLanguage.g:2024:2: ()
5792 // InternalAlloyLanguage.g:2025:5:
5793 {
5794 if ( state.backtracking==0 ) {
5795
5796 current = forceCreateModelElementAndSet(
5797 grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(),
5798 current);
5799
5800 }
5801
5802 }
5803
5804 otherlv_2=(Token)match(input,47,FOLLOW_12); if (state.failed) return current;
5805 if ( state.backtracking==0 ) {
5806
5807 newLeafNode(otherlv_2, grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1());
5808
5809 }
5810 // InternalAlloyLanguage.g:2034:1: ( (lv_rightOperand_3_0= ruleALSDirectProduct ) )
5811 // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct )
5812 {
5813 // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct )
5814 // InternalAlloyLanguage.g:2036:3: lv_rightOperand_3_0= ruleALSDirectProduct
5815 {
5816 if ( state.backtracking==0 ) {
5817
5818 newCompositeNode(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0());
5819
5820 }
5821 pushFollow(FOLLOW_31);
5822 lv_rightOperand_3_0=ruleALSDirectProduct();
5823
5824 state._fsp--;
5825 if (state.failed) return current;
5826 if ( state.backtracking==0 ) {
5827
5828 if (current==null) {
5829 current = createModelElementForParent(grammarAccess.getALSIntersectionRule());
5830 }
5831 set(
5832 current,
5833 "rightOperand",
5834 lv_rightOperand_3_0,
5835 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct");
5836 afterParserOrEnumRuleCall();
5837
5838 }
5839
5840 }
5841
5842
5843 }
5844
5845
5846 }
5847 break;
5848
5849 default :
5850 break loop34;
5851 }
5852 } while (true);
5853
5854
5855 }
5856
5857
5858 }
5859
5860 if ( state.backtracking==0 ) {
5861 leaveRule();
5862 }
5863 }
5864
5865 catch (RecognitionException re) {
5866 recover(input,re);
5867 appendSkippedTokens();
5868 }
5869 finally {
5870 }
5871 return current;
5872 }
5873 // $ANTLR end "ruleALSIntersection"
5874
5875
5876 // $ANTLR start "entryRuleALSDirectProduct"
5877 // InternalAlloyLanguage.g:2060:1: entryRuleALSDirectProduct returns [EObject current=null] : iv_ruleALSDirectProduct= ruleALSDirectProduct EOF ;
5878 public final EObject entryRuleALSDirectProduct() throws RecognitionException {
5879 EObject current = null;
5880
5881 EObject iv_ruleALSDirectProduct = null;
5882
5883
5884 try {
5885 // InternalAlloyLanguage.g:2061:2: (iv_ruleALSDirectProduct= ruleALSDirectProduct EOF )
5886 // InternalAlloyLanguage.g:2062:2: iv_ruleALSDirectProduct= ruleALSDirectProduct EOF
5887 {
5888 if ( state.backtracking==0 ) {
5889 newCompositeNode(grammarAccess.getALSDirectProductRule());
5890 }
5891 pushFollow(FOLLOW_1);
5892 iv_ruleALSDirectProduct=ruleALSDirectProduct();
5893
5894 state._fsp--;
5895 if (state.failed) return current;
5896 if ( state.backtracking==0 ) {
5897 current =iv_ruleALSDirectProduct;
5898 }
5899 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5900
5901 }
5902
5903 }
5904
5905 catch (RecognitionException re) {
5906 recover(input,re);
5907 appendSkippedTokens();
5908 }
5909 finally {
5910 }
5911 return current;
5912 }
5913 // $ANTLR end "entryRuleALSDirectProduct"
5914
5915
5916 // $ANTLR start "ruleALSDirectProduct"
5917 // 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 ) ) )? ) ;
5918 public final EObject ruleALSDirectProduct() throws RecognitionException {
5919 EObject current = null;
5920
5921 Token otherlv_3=null;
5922 EObject this_ALSPreficed_0 = null;
5923
5924 Enumerator lv_leftMultiplicit_2_0 = null;
5925
5926 Enumerator lv_rightMultiplicit_4_0 = null;
5927
5928 EObject lv_rightOperand_5_0 = null;
5929
5930
5931 enterRule();
5932
5933 try {
5934 // 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 ) ) )? ) )
5935 // 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 ) ) )? )
5936 {
5937 // 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 ) ) )? )
5938 // 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 ) ) )?
5939 {
5940 if ( state.backtracking==0 ) {
5941
5942 newCompositeNode(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0());
5943
5944 }
5945 pushFollow(FOLLOW_32);
5946 this_ALSPreficed_0=ruleALSPreficed();
5947
5948 state._fsp--;
5949 if (state.failed) return current;
5950 if ( state.backtracking==0 ) {
5951
5952 current = this_ALSPreficed_0;
5953 afterParserOrEnumRuleCall();
5954
5955 }
5956 // InternalAlloyLanguage.g:2082:1: ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )?
5957 int alt37=2;
5958 int LA37_0 = input.LA(1);
5959
5960 if ( (LA37_0==48||(LA37_0>=65 && LA37_0<=70)) ) {
5961 alt37=1;
5962 }
5963 switch (alt37) {
5964 case 1 :
5965 // InternalAlloyLanguage.g:2082:2: () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) )
5966 {
5967 // InternalAlloyLanguage.g:2082:2: ()
5968 // InternalAlloyLanguage.g:2083:5:
5969 {
5970 if ( state.backtracking==0 ) {
5971
5972 current = forceCreateModelElementAndSet(
5973 grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0(),
5974 current);
5975
5976 }
5977
5978 }
5979
5980 // InternalAlloyLanguage.g:2088:2: ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )?
5981 int alt35=2;
5982 int LA35_0 = input.LA(1);
5983
5984 if ( ((LA35_0>=65 && LA35_0<=70)) ) {
5985 alt35=1;
5986 }
5987 switch (alt35) {
5988 case 1 :
5989 // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity )
5990 {
5991 // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity )
5992 // InternalAlloyLanguage.g:2090:3: lv_leftMultiplicit_2_0= ruleALSMultiplicity
5993 {
5994 if ( state.backtracking==0 ) {
5995
5996 newCompositeNode(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0());
5997
5998 }
5999 pushFollow(FOLLOW_33);
6000 lv_leftMultiplicit_2_0=ruleALSMultiplicity();
6001
6002 state._fsp--;
6003 if (state.failed) return current;
6004 if ( state.backtracking==0 ) {
6005
6006 if (current==null) {
6007 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6008 }
6009 set(
6010 current,
6011 "leftMultiplicit",
6012 lv_leftMultiplicit_2_0,
6013 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
6014 afterParserOrEnumRuleCall();
6015
6016 }
6017
6018 }
6019
6020
6021 }
6022 break;
6023
6024 }
6025
6026 otherlv_3=(Token)match(input,48,FOLLOW_12); if (state.failed) return current;
6027 if ( state.backtracking==0 ) {
6028
6029 newLeafNode(otherlv_3, grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2());
6030
6031 }
6032 // InternalAlloyLanguage.g:2110:1: ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )?
6033 int alt36=2;
6034 int LA36_0 = input.LA(1);
6035
6036 if ( ((LA36_0>=65 && LA36_0<=70)) ) {
6037 alt36=1;
6038 }
6039 switch (alt36) {
6040 case 1 :
6041 // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity )
6042 {
6043 // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity )
6044 // InternalAlloyLanguage.g:2112:3: lv_rightMultiplicit_4_0= ruleALSMultiplicity
6045 {
6046 if ( state.backtracking==0 ) {
6047
6048 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0());
6049
6050 }
6051 pushFollow(FOLLOW_12);
6052 lv_rightMultiplicit_4_0=ruleALSMultiplicity();
6053
6054 state._fsp--;
6055 if (state.failed) return current;
6056 if ( state.backtracking==0 ) {
6057
6058 if (current==null) {
6059 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6060 }
6061 set(
6062 current,
6063 "rightMultiplicit",
6064 lv_rightMultiplicit_4_0,
6065 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
6066 afterParserOrEnumRuleCall();
6067
6068 }
6069
6070 }
6071
6072
6073 }
6074 break;
6075
6076 }
6077
6078 // InternalAlloyLanguage.g:2128:3: ( (lv_rightOperand_5_0= ruleALSPreficed ) )
6079 // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed )
6080 {
6081 // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed )
6082 // InternalAlloyLanguage.g:2130:3: lv_rightOperand_5_0= ruleALSPreficed
6083 {
6084 if ( state.backtracking==0 ) {
6085
6086 newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0());
6087
6088 }
6089 pushFollow(FOLLOW_2);
6090 lv_rightOperand_5_0=ruleALSPreficed();
6091
6092 state._fsp--;
6093 if (state.failed) return current;
6094 if ( state.backtracking==0 ) {
6095
6096 if (current==null) {
6097 current = createModelElementForParent(grammarAccess.getALSDirectProductRule());
6098 }
6099 set(
6100 current,
6101 "rightOperand",
6102 lv_rightOperand_5_0,
6103 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed");
6104 afterParserOrEnumRuleCall();
6105
6106 }
6107
6108 }
6109
6110
6111 }
6112
6113
6114 }
6115 break;
6116
6117 }
6118
6119
6120 }
6121
6122
6123 }
6124
6125 if ( state.backtracking==0 ) {
6126 leaveRule();
6127 }
6128 }
6129
6130 catch (RecognitionException re) {
6131 recover(input,re);
6132 appendSkippedTokens();
6133 }
6134 finally {
6135 }
6136 return current;
6137 }
6138 // $ANTLR end "ruleALSDirectProduct"
6139
6140
6141 // $ANTLR start "entryRuleALSPreficed"
6142 // InternalAlloyLanguage.g:2154:1: entryRuleALSPreficed returns [EObject current=null] : iv_ruleALSPreficed= ruleALSPreficed EOF ;
6143 public final EObject entryRuleALSPreficed() throws RecognitionException {
6144 EObject current = null;
6145
6146 EObject iv_ruleALSPreficed = null;
6147
6148
6149 try {
6150 // InternalAlloyLanguage.g:2155:2: (iv_ruleALSPreficed= ruleALSPreficed EOF )
6151 // InternalAlloyLanguage.g:2156:2: iv_ruleALSPreficed= ruleALSPreficed EOF
6152 {
6153 if ( state.backtracking==0 ) {
6154 newCompositeNode(grammarAccess.getALSPreficedRule());
6155 }
6156 pushFollow(FOLLOW_1);
6157 iv_ruleALSPreficed=ruleALSPreficed();
6158
6159 state._fsp--;
6160 if (state.failed) return current;
6161 if ( state.backtracking==0 ) {
6162 current =iv_ruleALSPreficed;
6163 }
6164 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6165
6166 }
6167
6168 }
6169
6170 catch (RecognitionException re) {
6171 recover(input,re);
6172 appendSkippedTokens();
6173 }
6174 finally {
6175 }
6176 return current;
6177 }
6178 // $ANTLR end "entryRuleALSPreficed"
6179
6180
6181 // $ANTLR start "ruleALSPreficed"
6182 // 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 ) ;
6183 public final EObject ruleALSPreficed() throws RecognitionException {
6184 EObject current = null;
6185
6186 Token otherlv_1=null;
6187 Token otherlv_2=null;
6188 Token otherlv_5=null;
6189 Token otherlv_8=null;
6190 Token otherlv_11=null;
6191 Token otherlv_14=null;
6192 Token otherlv_17=null;
6193 Token otherlv_20=null;
6194 Token otherlv_22=null;
6195 Token otherlv_24=null;
6196 Token otherlv_26=null;
6197 Token otherlv_28=null;
6198 Token otherlv_30=null;
6199 Token otherlv_32=null;
6200 Token otherlv_34=null;
6201 EObject lv_operand_3_0 = null;
6202
6203 EObject lv_operand_6_0 = null;
6204
6205 EObject lv_operand_9_0 = null;
6206
6207 EObject lv_operand_12_0 = null;
6208
6209 EObject lv_operand_15_0 = null;
6210
6211 EObject lv_operand_18_0 = null;
6212
6213 EObject lv_variables_21_0 = null;
6214
6215 EObject lv_variables_23_0 = null;
6216
6217 EObject lv_expression_25_0 = null;
6218
6219 Enumerator lv_referredNumericOperator_29_0 = null;
6220
6221 EObject lv_params_31_0 = null;
6222
6223 EObject lv_params_33_0 = null;
6224
6225 EObject this_ALSBasicRelationTerm_35 = null;
6226
6227
6228 enterRule();
6229
6230 try {
6231 // 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 ) )
6232 // 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 )
6233 {
6234 // 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 )
6235 int alt42=9;
6236 alt42 = dfa42.predict(input);
6237 switch (alt42) {
6238 case 1 :
6239 // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) )
6240 {
6241 // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) )
6242 // InternalAlloyLanguage.g:2167:3: () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) )
6243 {
6244 // InternalAlloyLanguage.g:2167:3: ()
6245 // InternalAlloyLanguage.g:2168:5:
6246 {
6247 if ( state.backtracking==0 ) {
6248
6249 current = forceCreateModelElement(
6250 grammarAccess.getALSPreficedAccess().getALSNotAction_0_0(),
6251 current);
6252
6253 }
6254
6255 }
6256
6257 // InternalAlloyLanguage.g:2173:2: ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) )
6258 // InternalAlloyLanguage.g:2173:3: ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' )
6259 {
6260 // InternalAlloyLanguage.g:2176:5: (otherlv_1= '!' | otherlv_2= 'not' )
6261 int alt38=2;
6262 int LA38_0 = input.LA(1);
6263
6264 if ( (LA38_0==49) ) {
6265 alt38=1;
6266 }
6267 else if ( (LA38_0==50) ) {
6268 alt38=2;
6269 }
6270 else {
6271 if (state.backtracking>0) {state.failed=true; return current;}
6272 NoViableAltException nvae =
6273 new NoViableAltException("", 38, 0, input);
6274
6275 throw nvae;
6276 }
6277 switch (alt38) {
6278 case 1 :
6279 // InternalAlloyLanguage.g:2176:7: otherlv_1= '!'
6280 {
6281 otherlv_1=(Token)match(input,49,FOLLOW_12); if (state.failed) return current;
6282 if ( state.backtracking==0 ) {
6283
6284 newLeafNode(otherlv_1, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0());
6285
6286 }
6287
6288 }
6289 break;
6290 case 2 :
6291 // InternalAlloyLanguage.g:2181:7: otherlv_2= 'not'
6292 {
6293 otherlv_2=(Token)match(input,50,FOLLOW_12); if (state.failed) return current;
6294 if ( state.backtracking==0 ) {
6295
6296 newLeafNode(otherlv_2, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1());
6297
6298 }
6299
6300 }
6301 break;
6302
6303 }
6304
6305
6306 }
6307
6308 // InternalAlloyLanguage.g:2185:3: ( (lv_operand_3_0= ruleALSBasicRelationTerm ) )
6309 // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm )
6310 {
6311 // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm )
6312 // InternalAlloyLanguage.g:2187:3: lv_operand_3_0= ruleALSBasicRelationTerm
6313 {
6314 if ( state.backtracking==0 ) {
6315
6316 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0());
6317
6318 }
6319 pushFollow(FOLLOW_2);
6320 lv_operand_3_0=ruleALSBasicRelationTerm();
6321
6322 state._fsp--;
6323 if (state.failed) return current;
6324 if ( state.backtracking==0 ) {
6325
6326 if (current==null) {
6327 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6328 }
6329 set(
6330 current,
6331 "operand",
6332 lv_operand_3_0,
6333 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6334 afterParserOrEnumRuleCall();
6335
6336 }
6337
6338 }
6339
6340
6341 }
6342
6343
6344 }
6345
6346
6347 }
6348 break;
6349 case 2 :
6350 // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) )
6351 {
6352 // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) )
6353 // InternalAlloyLanguage.g:2204:7: () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) )
6354 {
6355 // InternalAlloyLanguage.g:2204:7: ()
6356 // InternalAlloyLanguage.g:2205:5:
6357 {
6358 if ( state.backtracking==0 ) {
6359
6360 current = forceCreateModelElement(
6361 grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0(),
6362 current);
6363
6364 }
6365
6366 }
6367
6368 // InternalAlloyLanguage.g:2210:2: ( ( '~' )=>otherlv_5= '~' )
6369 // InternalAlloyLanguage.g:2210:3: ( '~' )=>otherlv_5= '~'
6370 {
6371 otherlv_5=(Token)match(input,51,FOLLOW_12); if (state.failed) return current;
6372 if ( state.backtracking==0 ) {
6373
6374 newLeafNode(otherlv_5, grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1());
6375
6376 }
6377
6378 }
6379
6380 // InternalAlloyLanguage.g:2215:2: ( (lv_operand_6_0= ruleALSBasicRelationTerm ) )
6381 // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm )
6382 {
6383 // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm )
6384 // InternalAlloyLanguage.g:2217:3: lv_operand_6_0= ruleALSBasicRelationTerm
6385 {
6386 if ( state.backtracking==0 ) {
6387
6388 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0());
6389
6390 }
6391 pushFollow(FOLLOW_2);
6392 lv_operand_6_0=ruleALSBasicRelationTerm();
6393
6394 state._fsp--;
6395 if (state.failed) return current;
6396 if ( state.backtracking==0 ) {
6397
6398 if (current==null) {
6399 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6400 }
6401 set(
6402 current,
6403 "operand",
6404 lv_operand_6_0,
6405 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6406 afterParserOrEnumRuleCall();
6407
6408 }
6409
6410 }
6411
6412
6413 }
6414
6415
6416 }
6417
6418
6419 }
6420 break;
6421 case 3 :
6422 // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) )
6423 {
6424 // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) )
6425 // InternalAlloyLanguage.g:2234:7: () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) )
6426 {
6427 // InternalAlloyLanguage.g:2234:7: ()
6428 // InternalAlloyLanguage.g:2235:5:
6429 {
6430 if ( state.backtracking==0 ) {
6431
6432 current = forceCreateModelElement(
6433 grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0(),
6434 current);
6435
6436 }
6437
6438 }
6439
6440 otherlv_8=(Token)match(input,52,FOLLOW_12); if (state.failed) return current;
6441 if ( state.backtracking==0 ) {
6442
6443 newLeafNode(otherlv_8, grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1());
6444
6445 }
6446 // InternalAlloyLanguage.g:2244:1: ( (lv_operand_9_0= ruleALSBasicRelationTerm ) )
6447 // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm )
6448 {
6449 // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm )
6450 // InternalAlloyLanguage.g:2246:3: lv_operand_9_0= ruleALSBasicRelationTerm
6451 {
6452 if ( state.backtracking==0 ) {
6453
6454 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0());
6455
6456 }
6457 pushFollow(FOLLOW_2);
6458 lv_operand_9_0=ruleALSBasicRelationTerm();
6459
6460 state._fsp--;
6461 if (state.failed) return current;
6462 if ( state.backtracking==0 ) {
6463
6464 if (current==null) {
6465 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6466 }
6467 set(
6468 current,
6469 "operand",
6470 lv_operand_9_0,
6471 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6472 afterParserOrEnumRuleCall();
6473
6474 }
6475
6476 }
6477
6478
6479 }
6480
6481
6482 }
6483
6484
6485 }
6486 break;
6487 case 4 :
6488 // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) )
6489 {
6490 // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) )
6491 // InternalAlloyLanguage.g:2263:7: () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) )
6492 {
6493 // InternalAlloyLanguage.g:2263:7: ()
6494 // InternalAlloyLanguage.g:2264:5:
6495 {
6496 if ( state.backtracking==0 ) {
6497
6498 current = forceCreateModelElement(
6499 grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0(),
6500 current);
6501
6502 }
6503
6504 }
6505
6506 otherlv_11=(Token)match(input,53,FOLLOW_12); if (state.failed) return current;
6507 if ( state.backtracking==0 ) {
6508
6509 newLeafNode(otherlv_11, grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1());
6510
6511 }
6512 // InternalAlloyLanguage.g:2273:1: ( (lv_operand_12_0= ruleALSBasicRelationTerm ) )
6513 // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm )
6514 {
6515 // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm )
6516 // InternalAlloyLanguage.g:2275:3: lv_operand_12_0= ruleALSBasicRelationTerm
6517 {
6518 if ( state.backtracking==0 ) {
6519
6520 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0());
6521
6522 }
6523 pushFollow(FOLLOW_2);
6524 lv_operand_12_0=ruleALSBasicRelationTerm();
6525
6526 state._fsp--;
6527 if (state.failed) return current;
6528 if ( state.backtracking==0 ) {
6529
6530 if (current==null) {
6531 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6532 }
6533 set(
6534 current,
6535 "operand",
6536 lv_operand_12_0,
6537 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6538 afterParserOrEnumRuleCall();
6539
6540 }
6541
6542 }
6543
6544
6545 }
6546
6547
6548 }
6549
6550
6551 }
6552 break;
6553 case 5 :
6554 // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) )
6555 {
6556 // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) )
6557 // InternalAlloyLanguage.g:2292:7: () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) )
6558 {
6559 // InternalAlloyLanguage.g:2292:7: ()
6560 // InternalAlloyLanguage.g:2293:5:
6561 {
6562 if ( state.backtracking==0 ) {
6563
6564 current = forceCreateModelElement(
6565 grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0(),
6566 current);
6567
6568 }
6569
6570 }
6571
6572 otherlv_14=(Token)match(input,54,FOLLOW_12); if (state.failed) return current;
6573 if ( state.backtracking==0 ) {
6574
6575 newLeafNode(otherlv_14, grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1());
6576
6577 }
6578 // InternalAlloyLanguage.g:2302:1: ( (lv_operand_15_0= ruleALSBasicRelationTerm ) )
6579 // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm )
6580 {
6581 // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm )
6582 // InternalAlloyLanguage.g:2304:3: lv_operand_15_0= ruleALSBasicRelationTerm
6583 {
6584 if ( state.backtracking==0 ) {
6585
6586 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0());
6587
6588 }
6589 pushFollow(FOLLOW_2);
6590 lv_operand_15_0=ruleALSBasicRelationTerm();
6591
6592 state._fsp--;
6593 if (state.failed) return current;
6594 if ( state.backtracking==0 ) {
6595
6596 if (current==null) {
6597 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6598 }
6599 set(
6600 current,
6601 "operand",
6602 lv_operand_15_0,
6603 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6604 afterParserOrEnumRuleCall();
6605
6606 }
6607
6608 }
6609
6610
6611 }
6612
6613
6614 }
6615
6616
6617 }
6618 break;
6619 case 6 :
6620 // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) )
6621 {
6622 // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) )
6623 // InternalAlloyLanguage.g:2321:7: () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) )
6624 {
6625 // InternalAlloyLanguage.g:2321:7: ()
6626 // InternalAlloyLanguage.g:2322:5:
6627 {
6628 if ( state.backtracking==0 ) {
6629
6630 current = forceCreateModelElement(
6631 grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0(),
6632 current);
6633
6634 }
6635
6636 }
6637
6638 // InternalAlloyLanguage.g:2327:2: ( ( '-' )=>otherlv_17= '-' )
6639 // InternalAlloyLanguage.g:2327:3: ( '-' )=>otherlv_17= '-'
6640 {
6641 otherlv_17=(Token)match(input,46,FOLLOW_12); if (state.failed) return current;
6642 if ( state.backtracking==0 ) {
6643
6644 newLeafNode(otherlv_17, grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1());
6645
6646 }
6647
6648 }
6649
6650 // InternalAlloyLanguage.g:2332:2: ( (lv_operand_18_0= ruleALSBasicRelationTerm ) )
6651 // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm )
6652 {
6653 // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm )
6654 // InternalAlloyLanguage.g:2334:3: lv_operand_18_0= ruleALSBasicRelationTerm
6655 {
6656 if ( state.backtracking==0 ) {
6657
6658 newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0());
6659
6660 }
6661 pushFollow(FOLLOW_2);
6662 lv_operand_18_0=ruleALSBasicRelationTerm();
6663
6664 state._fsp--;
6665 if (state.failed) return current;
6666 if ( state.backtracking==0 ) {
6667
6668 if (current==null) {
6669 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6670 }
6671 set(
6672 current,
6673 "operand",
6674 lv_operand_18_0,
6675 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm");
6676 afterParserOrEnumRuleCall();
6677
6678 }
6679
6680 }
6681
6682
6683 }
6684
6685
6686 }
6687
6688
6689 }
6690 break;
6691 case 7 :
6692 // 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= '}' )
6693 {
6694 // 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= '}' )
6695 // 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= '}'
6696 {
6697 // InternalAlloyLanguage.g:2351:7: ()
6698 // InternalAlloyLanguage.g:2352:5:
6699 {
6700 if ( state.backtracking==0 ) {
6701
6702 current = forceCreateModelElement(
6703 grammarAccess.getALSPreficedAccess().getALSSumAction_6_0(),
6704 current);
6705
6706 }
6707
6708 }
6709
6710 otherlv_20=(Token)match(input,55,FOLLOW_4); if (state.failed) return current;
6711 if ( state.backtracking==0 ) {
6712
6713 newLeafNode(otherlv_20, grammarAccess.getALSPreficedAccess().getSumKeyword_6_1());
6714
6715 }
6716 // InternalAlloyLanguage.g:2361:1: ( (lv_variables_21_0= ruleALSVariableDeclaration ) )
6717 // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration )
6718 {
6719 // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration )
6720 // InternalAlloyLanguage.g:2363:3: lv_variables_21_0= ruleALSVariableDeclaration
6721 {
6722 if ( state.backtracking==0 ) {
6723
6724 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0());
6725
6726 }
6727 pushFollow(FOLLOW_18);
6728 lv_variables_21_0=ruleALSVariableDeclaration();
6729
6730 state._fsp--;
6731 if (state.failed) return current;
6732 if ( state.backtracking==0 ) {
6733
6734 if (current==null) {
6735 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6736 }
6737 add(
6738 current,
6739 "variables",
6740 lv_variables_21_0,
6741 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
6742 afterParserOrEnumRuleCall();
6743
6744 }
6745
6746 }
6747
6748
6749 }
6750
6751 // InternalAlloyLanguage.g:2379:2: (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )*
6752 loop39:
6753 do {
6754 int alt39=2;
6755 int LA39_0 = input.LA(1);
6756
6757 if ( (LA39_0==13) ) {
6758 alt39=1;
6759 }
6760
6761
6762 switch (alt39) {
6763 case 1 :
6764 // InternalAlloyLanguage.g:2379:4: otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) )
6765 {
6766 otherlv_22=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
6767 if ( state.backtracking==0 ) {
6768
6769 newLeafNode(otherlv_22, grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0());
6770
6771 }
6772 // InternalAlloyLanguage.g:2383:1: ( (lv_variables_23_0= ruleALSVariableDeclaration ) )
6773 // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration )
6774 {
6775 // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration )
6776 // InternalAlloyLanguage.g:2385:3: lv_variables_23_0= ruleALSVariableDeclaration
6777 {
6778 if ( state.backtracking==0 ) {
6779
6780 newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0());
6781
6782 }
6783 pushFollow(FOLLOW_18);
6784 lv_variables_23_0=ruleALSVariableDeclaration();
6785
6786 state._fsp--;
6787 if (state.failed) return current;
6788 if ( state.backtracking==0 ) {
6789
6790 if (current==null) {
6791 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6792 }
6793 add(
6794 current,
6795 "variables",
6796 lv_variables_23_0,
6797 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration");
6798 afterParserOrEnumRuleCall();
6799
6800 }
6801
6802 }
6803
6804
6805 }
6806
6807
6808 }
6809 break;
6810
6811 default :
6812 break loop39;
6813 }
6814 } while (true);
6815
6816 otherlv_24=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
6817 if ( state.backtracking==0 ) {
6818
6819 newLeafNode(otherlv_24, grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4());
6820
6821 }
6822 // InternalAlloyLanguage.g:2405:1: ( (lv_expression_25_0= ruleALSTerm ) )
6823 // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm )
6824 {
6825 // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm )
6826 // InternalAlloyLanguage.g:2407:3: lv_expression_25_0= ruleALSTerm
6827 {
6828 if ( state.backtracking==0 ) {
6829
6830 newCompositeNode(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0());
6831
6832 }
6833 pushFollow(FOLLOW_15);
6834 lv_expression_25_0=ruleALSTerm();
6835
6836 state._fsp--;
6837 if (state.failed) return current;
6838 if ( state.backtracking==0 ) {
6839
6840 if (current==null) {
6841 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6842 }
6843 set(
6844 current,
6845 "expression",
6846 lv_expression_25_0,
6847 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
6848 afterParserOrEnumRuleCall();
6849
6850 }
6851
6852 }
6853
6854
6855 }
6856
6857 otherlv_26=(Token)match(input,14,FOLLOW_2); if (state.failed) return current;
6858 if ( state.backtracking==0 ) {
6859
6860 newLeafNode(otherlv_26, grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6());
6861
6862 }
6863
6864 }
6865
6866
6867 }
6868 break;
6869 case 8 :
6870 // 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= ']' )
6871 {
6872 // 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= ']' )
6873 // 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= ']'
6874 {
6875 // InternalAlloyLanguage.g:2428:7: ()
6876 // InternalAlloyLanguage.g:2429:5:
6877 {
6878 if ( state.backtracking==0 ) {
6879
6880 current = forceCreateModelElement(
6881 grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0(),
6882 current);
6883
6884 }
6885
6886 }
6887
6888 // InternalAlloyLanguage.g:2434:2: ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) )
6889 int alt40=2;
6890 int LA40_0 = input.LA(1);
6891
6892 if ( (LA40_0==RULE_ID) ) {
6893 alt40=1;
6894 }
6895 else if ( ((LA40_0>=71 && LA40_0<=75)) ) {
6896 alt40=2;
6897 }
6898 else {
6899 if (state.backtracking>0) {state.failed=true; return current;}
6900 NoViableAltException nvae =
6901 new NoViableAltException("", 40, 0, input);
6902
6903 throw nvae;
6904 }
6905 switch (alt40) {
6906 case 1 :
6907 // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) )
6908 {
6909 // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) )
6910 // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID )
6911 {
6912 // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID )
6913 // InternalAlloyLanguage.g:2436:3: otherlv_28= RULE_ID
6914 {
6915 if ( state.backtracking==0 ) {
6916
6917 if (current==null) {
6918 current = createModelElement(grammarAccess.getALSPreficedRule());
6919 }
6920
6921 }
6922 otherlv_28=(Token)match(input,RULE_ID,FOLLOW_13); if (state.failed) return current;
6923 if ( state.backtracking==0 ) {
6924
6925 newLeafNode(otherlv_28, grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0());
6926
6927 }
6928
6929 }
6930
6931
6932 }
6933
6934
6935 }
6936 break;
6937 case 2 :
6938 // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) )
6939 {
6940 // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) )
6941 // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator )
6942 {
6943 // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator )
6944 // InternalAlloyLanguage.g:2450:3: lv_referredNumericOperator_29_0= ruleALSNumericOperator
6945 {
6946 if ( state.backtracking==0 ) {
6947
6948 newCompositeNode(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0());
6949
6950 }
6951 pushFollow(FOLLOW_13);
6952 lv_referredNumericOperator_29_0=ruleALSNumericOperator();
6953
6954 state._fsp--;
6955 if (state.failed) return current;
6956 if ( state.backtracking==0 ) {
6957
6958 if (current==null) {
6959 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
6960 }
6961 set(
6962 current,
6963 "referredNumericOperator",
6964 lv_referredNumericOperator_29_0,
6965 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator");
6966 afterParserOrEnumRuleCall();
6967
6968 }
6969
6970 }
6971
6972
6973 }
6974
6975
6976 }
6977 break;
6978
6979 }
6980
6981 otherlv_30=(Token)match(input,22,FOLLOW_12); if (state.failed) return current;
6982 if ( state.backtracking==0 ) {
6983
6984 newLeafNode(otherlv_30, grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2());
6985
6986 }
6987 // InternalAlloyLanguage.g:2470:1: ( (lv_params_31_0= ruleALSTerm ) )
6988 // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm )
6989 {
6990 // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm )
6991 // InternalAlloyLanguage.g:2472:3: lv_params_31_0= ruleALSTerm
6992 {
6993 if ( state.backtracking==0 ) {
6994
6995 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0());
6996
6997 }
6998 pushFollow(FOLLOW_14);
6999 lv_params_31_0=ruleALSTerm();
7000
7001 state._fsp--;
7002 if (state.failed) return current;
7003 if ( state.backtracking==0 ) {
7004
7005 if (current==null) {
7006 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
7007 }
7008 add(
7009 current,
7010 "params",
7011 lv_params_31_0,
7012 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7013 afterParserOrEnumRuleCall();
7014
7015 }
7016
7017 }
7018
7019
7020 }
7021
7022 // InternalAlloyLanguage.g:2488:2: (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )*
7023 loop41:
7024 do {
7025 int alt41=2;
7026 int LA41_0 = input.LA(1);
7027
7028 if ( (LA41_0==13) ) {
7029 alt41=1;
7030 }
7031
7032
7033 switch (alt41) {
7034 case 1 :
7035 // InternalAlloyLanguage.g:2488:4: otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) )
7036 {
7037 otherlv_32=(Token)match(input,13,FOLLOW_12); if (state.failed) return current;
7038 if ( state.backtracking==0 ) {
7039
7040 newLeafNode(otherlv_32, grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0());
7041
7042 }
7043 // InternalAlloyLanguage.g:2492:1: ( (lv_params_33_0= ruleALSTerm ) )
7044 // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm )
7045 {
7046 // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm )
7047 // InternalAlloyLanguage.g:2494:3: lv_params_33_0= ruleALSTerm
7048 {
7049 if ( state.backtracking==0 ) {
7050
7051 newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0());
7052
7053 }
7054 pushFollow(FOLLOW_14);
7055 lv_params_33_0=ruleALSTerm();
7056
7057 state._fsp--;
7058 if (state.failed) return current;
7059 if ( state.backtracking==0 ) {
7060
7061 if (current==null) {
7062 current = createModelElementForParent(grammarAccess.getALSPreficedRule());
7063 }
7064 add(
7065 current,
7066 "params",
7067 lv_params_33_0,
7068 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7069 afterParserOrEnumRuleCall();
7070
7071 }
7072
7073 }
7074
7075
7076 }
7077
7078
7079 }
7080 break;
7081
7082 default :
7083 break loop41;
7084 }
7085 } while (true);
7086
7087 otherlv_34=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
7088 if ( state.backtracking==0 ) {
7089
7090 newLeafNode(otherlv_34, grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5());
7091
7092 }
7093
7094 }
7095
7096
7097 }
7098 break;
7099 case 9 :
7100 // InternalAlloyLanguage.g:2516:5: this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm
7101 {
7102 if ( state.backtracking==0 ) {
7103
7104 newCompositeNode(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8());
7105
7106 }
7107 pushFollow(FOLLOW_2);
7108 this_ALSBasicRelationTerm_35=ruleALSBasicRelationTerm();
7109
7110 state._fsp--;
7111 if (state.failed) return current;
7112 if ( state.backtracking==0 ) {
7113
7114 current = this_ALSBasicRelationTerm_35;
7115 afterParserOrEnumRuleCall();
7116
7117 }
7118
7119 }
7120 break;
7121
7122 }
7123
7124
7125 }
7126
7127 if ( state.backtracking==0 ) {
7128 leaveRule();
7129 }
7130 }
7131
7132 catch (RecognitionException re) {
7133 recover(input,re);
7134 appendSkippedTokens();
7135 }
7136 finally {
7137 }
7138 return current;
7139 }
7140 // $ANTLR end "ruleALSPreficed"
7141
7142
7143 // $ANTLR start "entryRuleALSVariableDeclaration"
7144 // InternalAlloyLanguage.g:2532:1: entryRuleALSVariableDeclaration returns [EObject current=null] : iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF ;
7145 public final EObject entryRuleALSVariableDeclaration() throws RecognitionException {
7146 EObject current = null;
7147
7148 EObject iv_ruleALSVariableDeclaration = null;
7149
7150
7151 try {
7152 // InternalAlloyLanguage.g:2533:2: (iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF )
7153 // InternalAlloyLanguage.g:2534:2: iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF
7154 {
7155 if ( state.backtracking==0 ) {
7156 newCompositeNode(grammarAccess.getALSVariableDeclarationRule());
7157 }
7158 pushFollow(FOLLOW_1);
7159 iv_ruleALSVariableDeclaration=ruleALSVariableDeclaration();
7160
7161 state._fsp--;
7162 if (state.failed) return current;
7163 if ( state.backtracking==0 ) {
7164 current =iv_ruleALSVariableDeclaration;
7165 }
7166 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7167
7168 }
7169
7170 }
7171
7172 catch (RecognitionException re) {
7173 recover(input,re);
7174 appendSkippedTokens();
7175 }
7176 finally {
7177 }
7178 return current;
7179 }
7180 // $ANTLR end "entryRuleALSVariableDeclaration"
7181
7182
7183 // $ANTLR start "ruleALSVariableDeclaration"
7184 // InternalAlloyLanguage.g:2541:1: ruleALSVariableDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) ;
7185 public final EObject ruleALSVariableDeclaration() throws RecognitionException {
7186 EObject current = null;
7187
7188 Token otherlv_1=null;
7189 AntlrDatatypeRuleToken lv_name_0_0 = null;
7190
7191 EObject lv_range_2_0 = null;
7192
7193
7194 enterRule();
7195
7196 try {
7197 // InternalAlloyLanguage.g:2544:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) )
7198 // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) )
7199 {
7200 // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) )
7201 // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) )
7202 {
7203 // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) )
7204 // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID )
7205 {
7206 // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID )
7207 // InternalAlloyLanguage.g:2547:3: lv_name_0_0= ruleALSID
7208 {
7209 if ( state.backtracking==0 ) {
7210
7211 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0());
7212
7213 }
7214 pushFollow(FOLLOW_11);
7215 lv_name_0_0=ruleALSID();
7216
7217 state._fsp--;
7218 if (state.failed) return current;
7219 if ( state.backtracking==0 ) {
7220
7221 if (current==null) {
7222 current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
7223 }
7224 set(
7225 current,
7226 "name",
7227 lv_name_0_0,
7228 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID");
7229 afterParserOrEnumRuleCall();
7230
7231 }
7232
7233 }
7234
7235
7236 }
7237
7238 otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current;
7239 if ( state.backtracking==0 ) {
7240
7241 newLeafNode(otherlv_1, grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1());
7242
7243 }
7244 // InternalAlloyLanguage.g:2567:1: ( (lv_range_2_0= ruleALSTerm ) )
7245 // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm )
7246 {
7247 // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm )
7248 // InternalAlloyLanguage.g:2569:3: lv_range_2_0= ruleALSTerm
7249 {
7250 if ( state.backtracking==0 ) {
7251
7252 newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0());
7253
7254 }
7255 pushFollow(FOLLOW_2);
7256 lv_range_2_0=ruleALSTerm();
7257
7258 state._fsp--;
7259 if (state.failed) return current;
7260 if ( state.backtracking==0 ) {
7261
7262 if (current==null) {
7263 current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule());
7264 }
7265 set(
7266 current,
7267 "range",
7268 lv_range_2_0,
7269 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm");
7270 afterParserOrEnumRuleCall();
7271
7272 }
7273
7274 }
7275
7276
7277 }
7278
7279
7280 }
7281
7282
7283 }
7284
7285 if ( state.backtracking==0 ) {
7286 leaveRule();
7287 }
7288 }
7289
7290 catch (RecognitionException re) {
7291 recover(input,re);
7292 appendSkippedTokens();
7293 }
7294 finally {
7295 }
7296 return current;
7297 }
7298 // $ANTLR end "ruleALSVariableDeclaration"
7299
7300
7301 // $ANTLR start "entryRuleALSBasicRelationTerm"
7302 // InternalAlloyLanguage.g:2593:1: entryRuleALSBasicRelationTerm returns [EObject current=null] : iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF ;
7303 public final EObject entryRuleALSBasicRelationTerm() throws RecognitionException {
7304 EObject current = null;
7305
7306 EObject iv_ruleALSBasicRelationTerm = null;
7307
7308
7309 try {
7310 // InternalAlloyLanguage.g:2594:2: (iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF )
7311 // InternalAlloyLanguage.g:2595:2: iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF
7312 {
7313 if ( state.backtracking==0 ) {
7314 newCompositeNode(grammarAccess.getALSBasicRelationTermRule());
7315 }
7316 pushFollow(FOLLOW_1);
7317 iv_ruleALSBasicRelationTerm=ruleALSBasicRelationTerm();
7318
7319 state._fsp--;
7320 if (state.failed) return current;
7321 if ( state.backtracking==0 ) {
7322 current =iv_ruleALSBasicRelationTerm;
7323 }
7324 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7325
7326 }
7327
7328 }
7329
7330 catch (RecognitionException re) {
7331 recover(input,re);
7332 appendSkippedTokens();
7333 }
7334 finally {
7335 }
7336 return current;
7337 }
7338 // $ANTLR end "entryRuleALSBasicRelationTerm"
7339
7340
7341 // $ANTLR start "ruleALSBasicRelationTerm"
7342 // InternalAlloyLanguage.g:2602:1: ruleALSBasicRelationTerm returns [EObject current=null] : ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () ( (otherlv_9= RULE_ID ) ) ) | ( () ( (lv_value_11_0= RULE_INT ) ) ) | (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' ) ) ;
7343 public final EObject ruleALSBasicRelationTerm() throws RecognitionException {
7344 EObject current = null;
7345
7346 Token otherlv_1=null;
7347 Token otherlv_3=null;
7348 Token otherlv_5=null;
7349 Token otherlv_7=null;
7350 Token otherlv_9=null;
7351 Token lv_value_11_0=null;
7352 Token otherlv_12=null;
7353 Token otherlv_14=null;
7354 EObject this_ALSTerm_13 = null;
7355
7356
7357 enterRule();
7358
7359 try {
7360 // InternalAlloyLanguage.g:2605:28: ( ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () ( (otherlv_9= RULE_ID ) ) ) | ( () ( (lv_value_11_0= RULE_INT ) ) ) | (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' ) ) )
7361 // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () ( (otherlv_9= RULE_ID ) ) ) | ( () ( (lv_value_11_0= RULE_INT ) ) ) | (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' ) )
7362 {
7363 // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () ( (otherlv_9= RULE_ID ) ) ) | ( () ( (lv_value_11_0= RULE_INT ) ) ) | (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' ) )
7364 int alt43=7;
7365 switch ( input.LA(1) ) {
7366 case 56:
7367 {
7368 alt43=1;
7369 }
7370 break;
7371 case 57:
7372 {
7373 alt43=2;
7374 }
7375 break;
7376 case 58:
7377 {
7378 alt43=3;
7379 }
7380 break;
7381 case 59:
7382 {
7383 alt43=4;
7384 }
7385 break;
7386 case RULE_ID:
7387 {
7388 alt43=5;
7389 }
7390 break;
7391 case RULE_INT:
7392 {
7393 alt43=6;
7394 }
7395 break;
7396 case 60:
7397 {
7398 alt43=7;
7399 }
7400 break;
7401 default:
7402 if (state.backtracking>0) {state.failed=true; return current;}
7403 NoViableAltException nvae =
7404 new NoViableAltException("", 43, 0, input);
7405
7406 throw nvae;
7407 }
7408
7409 switch (alt43) {
7410 case 1 :
7411 // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' )
7412 {
7413 // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' )
7414 // InternalAlloyLanguage.g:2606:3: () otherlv_1= 'none'
7415 {
7416 // InternalAlloyLanguage.g:2606:3: ()
7417 // InternalAlloyLanguage.g:2607:5:
7418 {
7419 if ( state.backtracking==0 ) {
7420
7421 current = forceCreateModelElement(
7422 grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0(),
7423 current);
7424
7425 }
7426
7427 }
7428
7429 otherlv_1=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
7430 if ( state.backtracking==0 ) {
7431
7432 newLeafNode(otherlv_1, grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1());
7433
7434 }
7435
7436 }
7437
7438
7439 }
7440 break;
7441 case 2 :
7442 // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' )
7443 {
7444 // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' )
7445 // InternalAlloyLanguage.g:2617:7: () otherlv_3= 'iden'
7446 {
7447 // InternalAlloyLanguage.g:2617:7: ()
7448 // InternalAlloyLanguage.g:2618:5:
7449 {
7450 if ( state.backtracking==0 ) {
7451
7452 current = forceCreateModelElement(
7453 grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0(),
7454 current);
7455
7456 }
7457
7458 }
7459
7460 otherlv_3=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
7461 if ( state.backtracking==0 ) {
7462
7463 newLeafNode(otherlv_3, grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1());
7464
7465 }
7466
7467 }
7468
7469
7470 }
7471 break;
7472 case 3 :
7473 // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' )
7474 {
7475 // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' )
7476 // InternalAlloyLanguage.g:2628:7: () otherlv_5= 'univ'
7477 {
7478 // InternalAlloyLanguage.g:2628:7: ()
7479 // InternalAlloyLanguage.g:2629:5:
7480 {
7481 if ( state.backtracking==0 ) {
7482
7483 current = forceCreateModelElement(
7484 grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0(),
7485 current);
7486
7487 }
7488
7489 }
7490
7491 otherlv_5=(Token)match(input,58,FOLLOW_2); if (state.failed) return current;
7492 if ( state.backtracking==0 ) {
7493
7494 newLeafNode(otherlv_5, grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1());
7495
7496 }
7497
7498 }
7499
7500
7501 }
7502 break;
7503 case 4 :
7504 // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' )
7505 {
7506 // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' )
7507 // InternalAlloyLanguage.g:2639:7: () otherlv_7= 'Int'
7508 {
7509 // InternalAlloyLanguage.g:2639:7: ()
7510 // InternalAlloyLanguage.g:2640:5:
7511 {
7512 if ( state.backtracking==0 ) {
7513
7514 current = forceCreateModelElement(
7515 grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0(),
7516 current);
7517
7518 }
7519
7520 }
7521
7522 otherlv_7=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
7523 if ( state.backtracking==0 ) {
7524
7525 newLeafNode(otherlv_7, grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1());
7526
7527 }
7528
7529 }
7530
7531
7532 }
7533 break;
7534 case 5 :
7535 // InternalAlloyLanguage.g:2650:6: ( () ( (otherlv_9= RULE_ID ) ) )
7536 {
7537 // InternalAlloyLanguage.g:2650:6: ( () ( (otherlv_9= RULE_ID ) ) )
7538 // InternalAlloyLanguage.g:2650:7: () ( (otherlv_9= RULE_ID ) )
7539 {
7540 // InternalAlloyLanguage.g:2650:7: ()
7541 // InternalAlloyLanguage.g:2651:5:
7542 {
7543 if ( state.backtracking==0 ) {
7544
7545 current = forceCreateModelElement(
7546 grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_4_0(),
7547 current);
7548
7549 }
7550
7551 }
7552
7553 // InternalAlloyLanguage.g:2656:2: ( (otherlv_9= RULE_ID ) )
7554 // InternalAlloyLanguage.g:2657:1: (otherlv_9= RULE_ID )
7555 {
7556 // InternalAlloyLanguage.g:2657:1: (otherlv_9= RULE_ID )
7557 // InternalAlloyLanguage.g:2658:3: otherlv_9= RULE_ID
7558 {
7559 if ( state.backtracking==0 ) {
7560
7561 if (current==null) {
7562 current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
7563 }
7564
7565 }
7566 otherlv_9=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
7567 if ( state.backtracking==0 ) {
7568
7569 newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_4_1_0());
7570
7571 }
7572
7573 }
7574
7575
7576 }
7577
7578
7579 }
7580
7581
7582 }
7583 break;
7584 case 6 :
7585 // InternalAlloyLanguage.g:2670:6: ( () ( (lv_value_11_0= RULE_INT ) ) )
7586 {
7587 // InternalAlloyLanguage.g:2670:6: ( () ( (lv_value_11_0= RULE_INT ) ) )
7588 // InternalAlloyLanguage.g:2670:7: () ( (lv_value_11_0= RULE_INT ) )
7589 {
7590 // InternalAlloyLanguage.g:2670:7: ()
7591 // InternalAlloyLanguage.g:2671:5:
7592 {
7593 if ( state.backtracking==0 ) {
7594
7595 current = forceCreateModelElement(
7596 grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_5_0(),
7597 current);
7598
7599 }
7600
7601 }
7602
7603 // InternalAlloyLanguage.g:2676:2: ( (lv_value_11_0= RULE_INT ) )
7604 // InternalAlloyLanguage.g:2677:1: (lv_value_11_0= RULE_INT )
7605 {
7606 // InternalAlloyLanguage.g:2677:1: (lv_value_11_0= RULE_INT )
7607 // InternalAlloyLanguage.g:2678:3: lv_value_11_0= RULE_INT
7608 {
7609 lv_value_11_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
7610 if ( state.backtracking==0 ) {
7611
7612 newLeafNode(lv_value_11_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_5_1_0());
7613
7614 }
7615 if ( state.backtracking==0 ) {
7616
7617 if (current==null) {
7618 current = createModelElement(grammarAccess.getALSBasicRelationTermRule());
7619 }
7620 setWithLastConsumed(
7621 current,
7622 "value",
7623 lv_value_11_0,
7624 "org.eclipse.xtext.common.Terminals.INT");
7625
7626 }
7627
7628 }
7629
7630
7631 }
7632
7633
7634 }
7635
7636
7637 }
7638 break;
7639 case 7 :
7640 // InternalAlloyLanguage.g:2695:6: (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' )
7641 {
7642 // InternalAlloyLanguage.g:2695:6: (otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')' )
7643 // InternalAlloyLanguage.g:2695:8: otherlv_12= '(' this_ALSTerm_13= ruleALSTerm otherlv_14= ')'
7644 {
7645 otherlv_12=(Token)match(input,60,FOLLOW_12); if (state.failed) return current;
7646 if ( state.backtracking==0 ) {
7647
7648 newLeafNode(otherlv_12, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_6_0());
7649
7650 }
7651 if ( state.backtracking==0 ) {
7652
7653 newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_6_1());
7654
7655 }
7656 pushFollow(FOLLOW_34);
7657 this_ALSTerm_13=ruleALSTerm();
7658
7659 state._fsp--;
7660 if (state.failed) return current;
7661 if ( state.backtracking==0 ) {
7662
7663 current = this_ALSTerm_13;
7664 afterParserOrEnumRuleCall();
7665
7666 }
7667 otherlv_14=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
7668 if ( state.backtracking==0 ) {
7669
7670 newLeafNode(otherlv_14, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_6_2());
7671
7672 }
7673
7674 }
7675
7676
7677 }
7678 break;
7679
7680 }
7681
7682
7683 }
7684
7685 if ( state.backtracking==0 ) {
7686 leaveRule();
7687 }
7688 }
7689
7690 catch (RecognitionException re) {
7691 recover(input,re);
7692 appendSkippedTokens();
7693 }
7694 finally {
7695 }
7696 return current;
7697 }
7698 // $ANTLR end "ruleALSBasicRelationTerm"
7699
7700
7701 // $ANTLR start "entryRuleALSRunCommand"
7702 // InternalAlloyLanguage.g:2720:1: entryRuleALSRunCommand returns [EObject current=null] : iv_ruleALSRunCommand= ruleALSRunCommand EOF ;
7703 public final EObject entryRuleALSRunCommand() throws RecognitionException {
7704 EObject current = null;
7705
7706 EObject iv_ruleALSRunCommand = null;
7707
7708
7709 try {
7710 // InternalAlloyLanguage.g:2721:2: (iv_ruleALSRunCommand= ruleALSRunCommand EOF )
7711 // InternalAlloyLanguage.g:2722:2: iv_ruleALSRunCommand= ruleALSRunCommand EOF
7712 {
7713 if ( state.backtracking==0 ) {
7714 newCompositeNode(grammarAccess.getALSRunCommandRule());
7715 }
7716 pushFollow(FOLLOW_1);
7717 iv_ruleALSRunCommand=ruleALSRunCommand();
7718
7719 state._fsp--;
7720 if (state.failed) return current;
7721 if ( state.backtracking==0 ) {
7722 current =iv_ruleALSRunCommand;
7723 }
7724 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7725
7726 }
7727
7728 }
7729
7730 catch (RecognitionException re) {
7731 recover(input,re);
7732 appendSkippedTokens();
7733 }
7734 finally {
7735 }
7736 return current;
7737 }
7738 // $ANTLR end "entryRuleALSRunCommand"
7739
7740
7741 // $ANTLR start "ruleALSRunCommand"
7742 // InternalAlloyLanguage.g:2729: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 ) ) )* )? ) ;
7743 public final EObject ruleALSRunCommand() throws RecognitionException {
7744 EObject current = null;
7745
7746 Token otherlv_1=null;
7747 Token otherlv_2=null;
7748 Token otherlv_3=null;
7749 Token otherlv_4=null;
7750 Token otherlv_6=null;
7751 EObject lv_typeScopes_5_0 = null;
7752
7753 EObject lv_typeScopes_7_0 = null;
7754
7755
7756 enterRule();
7757
7758 try {
7759 // InternalAlloyLanguage.g:2732:28: ( ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) )
7760 // InternalAlloyLanguage.g:2733:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? )
7761 {
7762 // InternalAlloyLanguage.g:2733:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? )
7763 // InternalAlloyLanguage.g:2733:2: () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )?
7764 {
7765 // InternalAlloyLanguage.g:2733:2: ()
7766 // InternalAlloyLanguage.g:2734:5:
7767 {
7768 if ( state.backtracking==0 ) {
7769
7770 current = forceCreateModelElement(
7771 grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(),
7772 current);
7773
7774 }
7775
7776 }
7777
7778 otherlv_1=(Token)match(input,62,FOLLOW_5); if (state.failed) return current;
7779 if ( state.backtracking==0 ) {
7780
7781 newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1());
7782
7783 }
7784 otherlv_2=(Token)match(input,12,FOLLOW_15); if (state.failed) return current;
7785 if ( state.backtracking==0 ) {
7786
7787 newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2());
7788
7789 }
7790 otherlv_3=(Token)match(input,14,FOLLOW_35); if (state.failed) return current;
7791 if ( state.backtracking==0 ) {
7792
7793 newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3());
7794
7795 }
7796 // InternalAlloyLanguage.g:2751:1: (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )?
7797 int alt45=2;
7798 int LA45_0 = input.LA(1);
7799
7800 if ( (LA45_0==63) ) {
7801 alt45=1;
7802 }
7803 switch (alt45) {
7804 case 1 :
7805 // InternalAlloyLanguage.g:2751:3: otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )*
7806 {
7807 otherlv_4=(Token)match(input,63,FOLLOW_36); if (state.failed) return current;
7808 if ( state.backtracking==0 ) {
7809
7810 newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0());
7811
7812 }
7813 // InternalAlloyLanguage.g:2755:1: ( (lv_typeScopes_5_0= ruleALSTypeScope ) )
7814 // InternalAlloyLanguage.g:2756:1: (lv_typeScopes_5_0= ruleALSTypeScope )
7815 {
7816 // InternalAlloyLanguage.g:2756:1: (lv_typeScopes_5_0= ruleALSTypeScope )
7817 // InternalAlloyLanguage.g:2757:3: lv_typeScopes_5_0= ruleALSTypeScope
7818 {
7819 if ( state.backtracking==0 ) {
7820
7821 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0());
7822
7823 }
7824 pushFollow(FOLLOW_37);
7825 lv_typeScopes_5_0=ruleALSTypeScope();
7826
7827 state._fsp--;
7828 if (state.failed) return current;
7829 if ( state.backtracking==0 ) {
7830
7831 if (current==null) {
7832 current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
7833 }
7834 add(
7835 current,
7836 "typeScopes",
7837 lv_typeScopes_5_0,
7838 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
7839 afterParserOrEnumRuleCall();
7840
7841 }
7842
7843 }
7844
7845
7846 }
7847
7848 // InternalAlloyLanguage.g:2773:2: (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )*
7849 loop44:
7850 do {
7851 int alt44=2;
7852 int LA44_0 = input.LA(1);
7853
7854 if ( (LA44_0==13) ) {
7855 alt44=1;
7856 }
7857
7858
7859 switch (alt44) {
7860 case 1 :
7861 // InternalAlloyLanguage.g:2773:4: otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) )
7862 {
7863 otherlv_6=(Token)match(input,13,FOLLOW_36); if (state.failed) return current;
7864 if ( state.backtracking==0 ) {
7865
7866 newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0());
7867
7868 }
7869 // InternalAlloyLanguage.g:2777:1: ( (lv_typeScopes_7_0= ruleALSTypeScope ) )
7870 // InternalAlloyLanguage.g:2778:1: (lv_typeScopes_7_0= ruleALSTypeScope )
7871 {
7872 // InternalAlloyLanguage.g:2778:1: (lv_typeScopes_7_0= ruleALSTypeScope )
7873 // InternalAlloyLanguage.g:2779:3: lv_typeScopes_7_0= ruleALSTypeScope
7874 {
7875 if ( state.backtracking==0 ) {
7876
7877 newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0());
7878
7879 }
7880 pushFollow(FOLLOW_37);
7881 lv_typeScopes_7_0=ruleALSTypeScope();
7882
7883 state._fsp--;
7884 if (state.failed) return current;
7885 if ( state.backtracking==0 ) {
7886
7887 if (current==null) {
7888 current = createModelElementForParent(grammarAccess.getALSRunCommandRule());
7889 }
7890 add(
7891 current,
7892 "typeScopes",
7893 lv_typeScopes_7_0,
7894 "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
7895 afterParserOrEnumRuleCall();
7896
7897 }
7898
7899 }
7900
7901
7902 }
7903
7904
7905 }
7906 break;
7907
7908 default :
7909 break loop44;
7910 }
7911 } while (true);
7912
7913
7914 }
7915 break;
7916
7917 }
7918
7919
7920 }
7921
7922
7923 }
7924
7925 if ( state.backtracking==0 ) {
7926 leaveRule();
7927 }
7928 }
7929
7930 catch (RecognitionException re) {
7931 recover(input,re);
7932 appendSkippedTokens();
7933 }
7934 finally {
7935 }
7936 return current;
7937 }
7938 // $ANTLR end "ruleALSRunCommand"
7939
7940
7941 // $ANTLR start "entryRuleALSTypeScope"
7942 // InternalAlloyLanguage.g:2803:1: entryRuleALSTypeScope returns [EObject current=null] : iv_ruleALSTypeScope= ruleALSTypeScope EOF ;
7943 public final EObject entryRuleALSTypeScope() throws RecognitionException {
7944 EObject current = null;
7945
7946 EObject iv_ruleALSTypeScope = null;
7947
7948
7949 try {
7950 // InternalAlloyLanguage.g:2804:2: (iv_ruleALSTypeScope= ruleALSTypeScope EOF )
7951 // InternalAlloyLanguage.g:2805:2: iv_ruleALSTypeScope= ruleALSTypeScope EOF
7952 {
7953 if ( state.backtracking==0 ) {
7954 newCompositeNode(grammarAccess.getALSTypeScopeRule());
7955 }
7956 pushFollow(FOLLOW_1);
7957 iv_ruleALSTypeScope=ruleALSTypeScope();
7958
7959 state._fsp--;
7960 if (state.failed) return current;
7961 if ( state.backtracking==0 ) {
7962 current =iv_ruleALSTypeScope;
7963 }
7964 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7965
7966 }
7967
7968 }
7969
7970 catch (RecognitionException re) {
7971 recover(input,re);
7972 appendSkippedTokens();
7973 }
7974 finally {
7975 }
7976 return current;
7977 }
7978 // $ANTLR end "entryRuleALSTypeScope"
7979
7980
7981 // $ANTLR start "ruleALSTypeScope"
7982 // InternalAlloyLanguage.g:2812:1: ruleALSTypeScope returns [EObject current=null] : (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope ) ;
7983 public final EObject ruleALSTypeScope() throws RecognitionException {
7984 EObject current = null;
7985
7986 EObject this_ALSSigScope_0 = null;
7987
7988 EObject this_ALSIntScope_1 = null;
7989
7990
7991 enterRule();
7992
7993 try {
7994 // InternalAlloyLanguage.g:2815:28: ( (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope ) )
7995 // InternalAlloyLanguage.g:2816:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope )
7996 {
7997 // InternalAlloyLanguage.g:2816:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope )
7998 int alt46=2;
7999 int LA46_0 = input.LA(1);
8000
8001 if ( (LA46_0==64) ) {
8002 alt46=1;
8003 }
8004 else if ( (LA46_0==RULE_INT) ) {
8005 int LA46_2 = input.LA(2);
8006
8007 if ( (LA46_2==RULE_ID) ) {
8008 alt46=1;
8009 }
8010 else if ( (LA46_2==59) ) {
8011 alt46=2;
8012 }
8013 else {
8014 if (state.backtracking>0) {state.failed=true; return current;}
8015 NoViableAltException nvae =
8016 new NoViableAltException("", 46, 2, input);
8017
8018 throw nvae;
8019 }
8020 }
8021 else {
8022 if (state.backtracking>0) {state.failed=true; return current;}
8023 NoViableAltException nvae =
8024 new NoViableAltException("", 46, 0, input);
8025
8026 throw nvae;
8027 }
8028 switch (alt46) {
8029 case 1 :
8030 // InternalAlloyLanguage.g:2817:5: this_ALSSigScope_0= ruleALSSigScope
8031 {
8032 if ( state.backtracking==0 ) {
8033
8034 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0());
8035
8036 }
8037 pushFollow(FOLLOW_2);
8038 this_ALSSigScope_0=ruleALSSigScope();
8039
8040 state._fsp--;
8041 if (state.failed) return current;
8042 if ( state.backtracking==0 ) {
8043
8044 current = this_ALSSigScope_0;
8045 afterParserOrEnumRuleCall();
8046
8047 }
8048
8049 }
8050 break;
8051 case 2 :
8052 // InternalAlloyLanguage.g:2827:5: this_ALSIntScope_1= ruleALSIntScope
8053 {
8054 if ( state.backtracking==0 ) {
8055
8056 newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1());
8057
8058 }
8059 pushFollow(FOLLOW_2);
8060 this_ALSIntScope_1=ruleALSIntScope();
8061
8062 state._fsp--;
8063 if (state.failed) return current;
8064 if ( state.backtracking==0 ) {
8065
8066 current = this_ALSIntScope_1;
8067 afterParserOrEnumRuleCall();
8068
8069 }
8070
8071 }
8072 break;
8073
8074 }
8075
8076
8077 }
8078
8079 if ( state.backtracking==0 ) {
8080 leaveRule();
8081 }
8082 }
8083
8084 catch (RecognitionException re) {
8085 recover(input,re);
8086 appendSkippedTokens();
8087 }
8088 finally {
8089 }
8090 return current;
8091 }
8092 // $ANTLR end "ruleALSTypeScope"
8093
8094
8095 // $ANTLR start "entryRuleALSSigScope"
8096 // InternalAlloyLanguage.g:2843:1: entryRuleALSSigScope returns [EObject current=null] : iv_ruleALSSigScope= ruleALSSigScope EOF ;
8097 public final EObject entryRuleALSSigScope() throws RecognitionException {
8098 EObject current = null;
8099
8100 EObject iv_ruleALSSigScope = null;
8101
8102
8103 try {
8104 // InternalAlloyLanguage.g:2844:2: (iv_ruleALSSigScope= ruleALSSigScope EOF )
8105 // InternalAlloyLanguage.g:2845:2: iv_ruleALSSigScope= ruleALSSigScope EOF
8106 {
8107 if ( state.backtracking==0 ) {
8108 newCompositeNode(grammarAccess.getALSSigScopeRule());
8109 }
8110 pushFollow(FOLLOW_1);
8111 iv_ruleALSSigScope=ruleALSSigScope();
8112
8113 state._fsp--;
8114 if (state.failed) return current;
8115 if ( state.backtracking==0 ) {
8116 current =iv_ruleALSSigScope;
8117 }
8118 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8119
8120 }
8121
8122 }
8123
8124 catch (RecognitionException re) {
8125 recover(input,re);
8126 appendSkippedTokens();
8127 }
8128 finally {
8129 }
8130 return current;
8131 }
8132 // $ANTLR end "entryRuleALSSigScope"
8133
8134
8135 // $ANTLR start "ruleALSSigScope"
8136 // InternalAlloyLanguage.g:2852:1: ruleALSSigScope returns [EObject current=null] : ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) ;
8137 public final EObject ruleALSSigScope() throws RecognitionException {
8138 EObject current = null;
8139
8140 Token lv_exactly_0_0=null;
8141 Token lv_number_1_0=null;
8142 Token otherlv_2=null;
8143
8144 enterRule();
8145
8146 try {
8147 // InternalAlloyLanguage.g:2855:28: ( ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) )
8148 // InternalAlloyLanguage.g:2856:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) )
8149 {
8150 // InternalAlloyLanguage.g:2856:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) )
8151 // InternalAlloyLanguage.g:2856:2: ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) )
8152 {
8153 // InternalAlloyLanguage.g:2856:2: ( (lv_exactly_0_0= 'exactly' ) )?
8154 int alt47=2;
8155 int LA47_0 = input.LA(1);
8156
8157 if ( (LA47_0==64) ) {
8158 alt47=1;
8159 }
8160 switch (alt47) {
8161 case 1 :
8162 // InternalAlloyLanguage.g:2857:1: (lv_exactly_0_0= 'exactly' )
8163 {
8164 // InternalAlloyLanguage.g:2857:1: (lv_exactly_0_0= 'exactly' )
8165 // InternalAlloyLanguage.g:2858:3: lv_exactly_0_0= 'exactly'
8166 {
8167 lv_exactly_0_0=(Token)match(input,64,FOLLOW_38); if (state.failed) return current;
8168 if ( state.backtracking==0 ) {
8169
8170 newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0());
8171
8172 }
8173 if ( state.backtracking==0 ) {
8174
8175 if (current==null) {
8176 current = createModelElement(grammarAccess.getALSSigScopeRule());
8177 }
8178 setWithLastConsumed(current, "exactly", true, "exactly");
8179
8180 }
8181
8182 }
8183
8184
8185 }
8186 break;
8187
8188 }
8189
8190 // InternalAlloyLanguage.g:2871:3: ( (lv_number_1_0= RULE_INT ) )
8191 // InternalAlloyLanguage.g:2872:1: (lv_number_1_0= RULE_INT )
8192 {
8193 // InternalAlloyLanguage.g:2872:1: (lv_number_1_0= RULE_INT )
8194 // InternalAlloyLanguage.g:2873:3: lv_number_1_0= RULE_INT
8195 {
8196 lv_number_1_0=(Token)match(input,RULE_INT,FOLLOW_4); if (state.failed) return current;
8197 if ( state.backtracking==0 ) {
8198
8199 newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0());
8200
8201 }
8202 if ( state.backtracking==0 ) {
8203
8204 if (current==null) {
8205 current = createModelElement(grammarAccess.getALSSigScopeRule());
8206 }
8207 setWithLastConsumed(
8208 current,
8209 "number",
8210 lv_number_1_0,
8211 "org.eclipse.xtext.common.Terminals.INT");
8212
8213 }
8214
8215 }
8216
8217
8218 }
8219
8220 // InternalAlloyLanguage.g:2889:2: ( (otherlv_2= RULE_ID ) )
8221 // InternalAlloyLanguage.g:2890:1: (otherlv_2= RULE_ID )
8222 {
8223 // InternalAlloyLanguage.g:2890:1: (otherlv_2= RULE_ID )
8224 // InternalAlloyLanguage.g:2891:3: otherlv_2= RULE_ID
8225 {
8226 if ( state.backtracking==0 ) {
8227
8228 if (current==null) {
8229 current = createModelElement(grammarAccess.getALSSigScopeRule());
8230 }
8231
8232 }
8233 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
8234 if ( state.backtracking==0 ) {
8235
8236 newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0());
8237
8238 }
8239
8240 }
8241
8242
8243 }
8244
8245
8246 }
8247
8248
8249 }
8250
8251 if ( state.backtracking==0 ) {
8252 leaveRule();
8253 }
8254 }
8255
8256 catch (RecognitionException re) {
8257 recover(input,re);
8258 appendSkippedTokens();
8259 }
8260 finally {
8261 }
8262 return current;
8263 }
8264 // $ANTLR end "ruleALSSigScope"
8265
8266
8267 // $ANTLR start "entryRuleALSIntScope"
8268 // InternalAlloyLanguage.g:2910:1: entryRuleALSIntScope returns [EObject current=null] : iv_ruleALSIntScope= ruleALSIntScope EOF ;
8269 public final EObject entryRuleALSIntScope() throws RecognitionException {
8270 EObject current = null;
8271
8272 EObject iv_ruleALSIntScope = null;
8273
8274
8275 try {
8276 // InternalAlloyLanguage.g:2911:2: (iv_ruleALSIntScope= ruleALSIntScope EOF )
8277 // InternalAlloyLanguage.g:2912:2: iv_ruleALSIntScope= ruleALSIntScope EOF
8278 {
8279 if ( state.backtracking==0 ) {
8280 newCompositeNode(grammarAccess.getALSIntScopeRule());
8281 }
8282 pushFollow(FOLLOW_1);
8283 iv_ruleALSIntScope=ruleALSIntScope();
8284
8285 state._fsp--;
8286 if (state.failed) return current;
8287 if ( state.backtracking==0 ) {
8288 current =iv_ruleALSIntScope;
8289 }
8290 match(input,EOF,FOLLOW_2); if (state.failed) return current;
8291
8292 }
8293
8294 }
8295
8296 catch (RecognitionException re) {
8297 recover(input,re);
8298 appendSkippedTokens();
8299 }
8300 finally {
8301 }
8302 return current;
8303 }
8304 // $ANTLR end "entryRuleALSIntScope"
8305
8306
8307 // $ANTLR start "ruleALSIntScope"
8308 // InternalAlloyLanguage.g:2919:1: ruleALSIntScope returns [EObject current=null] : ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) ;
8309 public final EObject ruleALSIntScope() throws RecognitionException {
8310 EObject current = null;
8311
8312 Token lv_number_0_0=null;
8313 Token otherlv_1=null;
8314
8315 enterRule();
8316
8317 try {
8318 // InternalAlloyLanguage.g:2922:28: ( ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) )
8319 // InternalAlloyLanguage.g:2923:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' )
8320 {
8321 // InternalAlloyLanguage.g:2923:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' )
8322 // InternalAlloyLanguage.g:2923:2: ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int'
8323 {
8324 // InternalAlloyLanguage.g:2923:2: ( (lv_number_0_0= RULE_INT ) )
8325 // InternalAlloyLanguage.g:2924:1: (lv_number_0_0= RULE_INT )
8326 {
8327 // InternalAlloyLanguage.g:2924:1: (lv_number_0_0= RULE_INT )
8328 // InternalAlloyLanguage.g:2925:3: lv_number_0_0= RULE_INT
8329 {
8330 lv_number_0_0=(Token)match(input,RULE_INT,FOLLOW_39); if (state.failed) return current;
8331 if ( state.backtracking==0 ) {
8332
8333 newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0());
8334
8335 }
8336 if ( state.backtracking==0 ) {
8337
8338 if (current==null) {
8339 current = createModelElement(grammarAccess.getALSIntScopeRule());
8340 }
8341 setWithLastConsumed(
8342 current,
8343 "number",
8344 lv_number_0_0,
8345 "org.eclipse.xtext.common.Terminals.INT");
8346
8347 }
8348
8349 }
8350
8351
8352 }
8353
8354 otherlv_1=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
8355 if ( state.backtracking==0 ) {
8356
8357 newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1());
8358
8359 }
8360
8361 }
8362
8363
8364 }
8365
8366 if ( state.backtracking==0 ) {
8367 leaveRule();
8368 }
8369 }
8370
8371 catch (RecognitionException re) {
8372 recover(input,re);
8373 appendSkippedTokens();
8374 }
8375 finally {
8376 }
8377 return current;
8378 }
8379 // $ANTLR end "ruleALSIntScope"
8380
8381
8382 // $ANTLR start "ruleALSMultiplicity"
8383 // InternalAlloyLanguage.g:2953:1: ruleALSMultiplicity returns [Enumerator current=null] : ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) ;
8384 public final Enumerator ruleALSMultiplicity() throws RecognitionException {
8385 Enumerator current = null;
8386
8387 Token enumLiteral_0=null;
8388 Token enumLiteral_1=null;
8389 Token enumLiteral_2=null;
8390 Token enumLiteral_3=null;
8391 Token enumLiteral_4=null;
8392 Token enumLiteral_5=null;
8393
8394 enterRule();
8395 try {
8396 // InternalAlloyLanguage.g:2955:28: ( ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) )
8397 // InternalAlloyLanguage.g:2956:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) )
8398 {
8399 // InternalAlloyLanguage.g:2956:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) )
8400 int alt48=6;
8401 switch ( input.LA(1) ) {
8402 case 65:
8403 {
8404 alt48=1;
8405 }
8406 break;
8407 case 66:
8408 {
8409 alt48=2;
8410 }
8411 break;
8412 case 67:
8413 {
8414 alt48=3;
8415 }
8416 break;
8417 case 68:
8418 {
8419 alt48=4;
8420 }
8421 break;
8422 case 69:
8423 {
8424 alt48=5;
8425 }
8426 break;
8427 case 70:
8428 {
8429 alt48=6;
8430 }
8431 break;
8432 default:
8433 if (state.backtracking>0) {state.failed=true; return current;}
8434 NoViableAltException nvae =
8435 new NoViableAltException("", 48, 0, input);
8436
8437 throw nvae;
8438 }
8439
8440 switch (alt48) {
8441 case 1 :
8442 // InternalAlloyLanguage.g:2956:2: (enumLiteral_0= 'all' )
8443 {
8444 // InternalAlloyLanguage.g:2956:2: (enumLiteral_0= 'all' )
8445 // InternalAlloyLanguage.g:2956:4: enumLiteral_0= 'all'
8446 {
8447 enumLiteral_0=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
8448 if ( state.backtracking==0 ) {
8449
8450 current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
8451 newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0());
8452
8453 }
8454
8455 }
8456
8457
8458 }
8459 break;
8460 case 2 :
8461 // InternalAlloyLanguage.g:2962:6: (enumLiteral_1= 'no' )
8462 {
8463 // InternalAlloyLanguage.g:2962:6: (enumLiteral_1= 'no' )
8464 // InternalAlloyLanguage.g:2962:8: enumLiteral_1= 'no'
8465 {
8466 enumLiteral_1=(Token)match(input,66,FOLLOW_2); if (state.failed) return current;
8467 if ( state.backtracking==0 ) {
8468
8469 current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
8470 newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1());
8471
8472 }
8473
8474 }
8475
8476
8477 }
8478 break;
8479 case 3 :
8480 // InternalAlloyLanguage.g:2968:6: (enumLiteral_2= 'some' )
8481 {
8482 // InternalAlloyLanguage.g:2968:6: (enumLiteral_2= 'some' )
8483 // InternalAlloyLanguage.g:2968:8: enumLiteral_2= 'some'
8484 {
8485 enumLiteral_2=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
8486 if ( state.backtracking==0 ) {
8487
8488 current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
8489 newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2());
8490
8491 }
8492
8493 }
8494
8495
8496 }
8497 break;
8498 case 4 :
8499 // InternalAlloyLanguage.g:2974:6: (enumLiteral_3= 'lone' )
8500 {
8501 // InternalAlloyLanguage.g:2974:6: (enumLiteral_3= 'lone' )
8502 // InternalAlloyLanguage.g:2974:8: enumLiteral_3= 'lone'
8503 {
8504 enumLiteral_3=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
8505 if ( state.backtracking==0 ) {
8506
8507 current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
8508 newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3());
8509
8510 }
8511
8512 }
8513
8514
8515 }
8516 break;
8517 case 5 :
8518 // InternalAlloyLanguage.g:2980:6: (enumLiteral_4= 'one' )
8519 {
8520 // InternalAlloyLanguage.g:2980:6: (enumLiteral_4= 'one' )
8521 // InternalAlloyLanguage.g:2980:8: enumLiteral_4= 'one'
8522 {
8523 enumLiteral_4=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
8524 if ( state.backtracking==0 ) {
8525
8526 current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
8527 newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4());
8528
8529 }
8530
8531 }
8532
8533
8534 }
8535 break;
8536 case 6 :
8537 // InternalAlloyLanguage.g:2986:6: (enumLiteral_5= 'set' )
8538 {
8539 // InternalAlloyLanguage.g:2986:6: (enumLiteral_5= 'set' )
8540 // InternalAlloyLanguage.g:2986:8: enumLiteral_5= 'set'
8541 {
8542 enumLiteral_5=(Token)match(input,70,FOLLOW_2); if (state.failed) return current;
8543 if ( state.backtracking==0 ) {
8544
8545 current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
8546 newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5());
8547
8548 }
8549
8550 }
8551
8552
8553 }
8554 break;
8555
8556 }
8557
8558
8559 }
8560
8561 if ( state.backtracking==0 ) {
8562 leaveRule();
8563 }
8564 }
8565
8566 catch (RecognitionException re) {
8567 recover(input,re);
8568 appendSkippedTokens();
8569 }
8570 finally {
8571 }
8572 return current;
8573 }
8574 // $ANTLR end "ruleALSMultiplicity"
8575
8576
8577 // $ANTLR start "ruleALSNumericOperator"
8578 // InternalAlloyLanguage.g:2996:1: ruleALSNumericOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) ;
8579 public final Enumerator ruleALSNumericOperator() throws RecognitionException {
8580 Enumerator current = null;
8581
8582 Token enumLiteral_0=null;
8583 Token enumLiteral_1=null;
8584 Token enumLiteral_2=null;
8585 Token enumLiteral_3=null;
8586 Token enumLiteral_4=null;
8587
8588 enterRule();
8589 try {
8590 // InternalAlloyLanguage.g:2998:28: ( ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) )
8591 // InternalAlloyLanguage.g:2999:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) )
8592 {
8593 // InternalAlloyLanguage.g:2999:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) )
8594 int alt49=5;
8595 switch ( input.LA(1) ) {
8596 case 71:
8597 {
8598 alt49=1;
8599 }
8600 break;
8601 case 72:
8602 {
8603 alt49=2;
8604 }
8605 break;
8606 case 73:
8607 {
8608 alt49=3;
8609 }
8610 break;
8611 case 74:
8612 {
8613 alt49=4;
8614 }
8615 break;
8616 case 75:
8617 {
8618 alt49=5;
8619 }
8620 break;
8621 default:
8622 if (state.backtracking>0) {state.failed=true; return current;}
8623 NoViableAltException nvae =
8624 new NoViableAltException("", 49, 0, input);
8625
8626 throw nvae;
8627 }
8628
8629 switch (alt49) {
8630 case 1 :
8631 // InternalAlloyLanguage.g:2999:2: (enumLiteral_0= 'plus' )
8632 {
8633 // InternalAlloyLanguage.g:2999:2: (enumLiteral_0= 'plus' )
8634 // InternalAlloyLanguage.g:2999:4: enumLiteral_0= 'plus'
8635 {
8636 enumLiteral_0=(Token)match(input,71,FOLLOW_2); if (state.failed) return current;
8637 if ( state.backtracking==0 ) {
8638
8639 current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
8640 newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0());
8641
8642 }
8643
8644 }
8645
8646
8647 }
8648 break;
8649 case 2 :
8650 // InternalAlloyLanguage.g:3005:6: (enumLiteral_1= 'sub' )
8651 {
8652 // InternalAlloyLanguage.g:3005:6: (enumLiteral_1= 'sub' )
8653 // InternalAlloyLanguage.g:3005:8: enumLiteral_1= 'sub'
8654 {
8655 enumLiteral_1=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
8656 if ( state.backtracking==0 ) {
8657
8658 current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
8659 newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1());
8660
8661 }
8662
8663 }
8664
8665
8666 }
8667 break;
8668 case 3 :
8669 // InternalAlloyLanguage.g:3011:6: (enumLiteral_2= 'mul' )
8670 {
8671 // InternalAlloyLanguage.g:3011:6: (enumLiteral_2= 'mul' )
8672 // InternalAlloyLanguage.g:3011:8: enumLiteral_2= 'mul'
8673 {
8674 enumLiteral_2=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
8675 if ( state.backtracking==0 ) {
8676
8677 current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
8678 newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2());
8679
8680 }
8681
8682 }
8683
8684
8685 }
8686 break;
8687 case 4 :
8688 // InternalAlloyLanguage.g:3017:6: (enumLiteral_3= 'rem' )
8689 {
8690 // InternalAlloyLanguage.g:3017:6: (enumLiteral_3= 'rem' )
8691 // InternalAlloyLanguage.g:3017:8: enumLiteral_3= 'rem'
8692 {
8693 enumLiteral_3=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
8694 if ( state.backtracking==0 ) {
8695
8696 current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
8697 newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3());
8698
8699 }
8700
8701 }
8702
8703
8704 }
8705 break;
8706 case 5 :
8707 // InternalAlloyLanguage.g:3023:6: (enumLiteral_4= 'div' )
8708 {
8709 // InternalAlloyLanguage.g:3023:6: (enumLiteral_4= 'div' )
8710 // InternalAlloyLanguage.g:3023:8: enumLiteral_4= 'div'
8711 {
8712 enumLiteral_4=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
8713 if ( state.backtracking==0 ) {
8714
8715 current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
8716 newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4());
8717
8718 }
8719
8720 }
8721
8722
8723 }
8724 break;
8725
8726 }
8727
8728
8729 }
8730
8731 if ( state.backtracking==0 ) {
8732 leaveRule();
8733 }
8734 }
8735
8736 catch (RecognitionException re) {
8737 recover(input,re);
8738 appendSkippedTokens();
8739 }
8740 finally {
8741 }
8742 return current;
8743 }
8744 // $ANTLR end "ruleALSNumericOperator"
8745
8746 // Delegated rules
8747
8748
8749 protected DFA10 dfa10 = new DFA10(this);
8750 protected DFA42 dfa42 = new DFA42(this);
8751 static final String dfa_1s = "\12\uffff";
8752 static final String dfa_2s = "\10\uffff\1\11\1\uffff";
8753 static final String dfa_3s = "\7\4\1\uffff\1\15\1\uffff";
8754 static final String dfa_4s = "\7\113\1\uffff\1\106\1\uffff";
8755 static final String dfa_5s = "\7\uffff\1\2\1\uffff\1\1";
8756 static final String dfa_6s = "\12\uffff}>";
8757 static final String[] dfa_7s = {
8758 "\2\7\50\uffff\1\7\2\uffff\14\7\4\uffff\1\1\1\2\1\3\1\4\1\5\1\6\5\7",
8759 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8760 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8761 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8762 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8763 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8764 "\1\10\1\11\24\uffff\1\7\23\uffff\1\11\2\uffff\14\11\4\uffff\13\11",
8765 "",
8766 "\2\11\3\uffff\2\11\1\7\1\uffff\1\11\4\uffff\6\11\1\uffff\17\11\20\uffff\6\11",
8767 ""
8768 };
8769
8770 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
8771 static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s);
8772 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
8773 static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s);
8774 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
8775 static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s);
8776 static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
8777
8778 class DFA10 extends DFA {
8779
8780 public DFA10(BaseRecognizer recognizer) {
8781 this.recognizer = recognizer;
8782 this.decisionNumber = 10;
8783 this.eot = dfa_1;
8784 this.eof = dfa_2;
8785 this.min = dfa_3;
8786 this.max = dfa_4;
8787 this.accept = dfa_5;
8788 this.special = dfa_6;
8789 this.transition = dfa_7;
8790 }
8791 public String getDescription() {
8792 return "713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )?";
8793 }
8794 }
8795 static final String dfa_8s = "\13\uffff";
8796 static final String dfa_9s = "\10\uffff\1\12\2\uffff";
8797 static final String dfa_10s = "\1\4\7\uffff\1\14\2\uffff";
8798 static final String dfa_11s = "\1\113\7\uffff\1\106\2\uffff";
8799 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";
8800 static final String dfa_13s = "\13\uffff}>";
8801 static final String[] dfa_14s = {
8802 "\1\10\1\12\50\uffff\1\6\2\uffff\2\1\1\2\1\3\1\4\1\5\1\7\5\12\12\uffff\5\11",
8803 "",
8804 "",
8805 "",
8806 "",
8807 "",
8808 "",
8809 "",
8810 "\3\12\3\uffff\2\12\2\uffff\1\11\1\12\3\uffff\26\12\14\uffff\1\12\3\uffff\6\12",
8811 "",
8812 ""
8813 };
8814
8815 static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
8816 static final short[] dfa_9 = DFA.unpackEncodedString(dfa_9s);
8817 static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
8818 static final char[] dfa_11 = DFA.unpackEncodedStringToUnsignedChars(dfa_11s);
8819 static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
8820 static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s);
8821 static final short[][] dfa_14 = unpackEncodedStringArray(dfa_14s);
8822
8823 class DFA42 extends DFA {
8824
8825 public DFA42(BaseRecognizer recognizer) {
8826 this.recognizer = recognizer;
8827 this.decisionNumber = 42;
8828 this.eot = dfa_8;
8829 this.eof = dfa_9;
8830 this.min = dfa_10;
8831 this.max = dfa_11;
8832 this.accept = dfa_12;
8833 this.special = dfa_13;
8834 this.transition = dfa_14;
8835 }
8836 public String getDescription() {
8837 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 )";
8838 }
8839 }
8840
8841
8842 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
8843 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
8844 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x4000000003218800L,0x000000000000007EL});
8845 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
8846 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L});
8847 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000006000L});
8848 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000018000L,0x000000000000007EL});
8849 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000063000L});
8850 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000081000L});
8851 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004010L});
8852 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100000L});
8853 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x1FFE400000000030L,0x0000000000000FFEL});
8854 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000400000L});
8855 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000802000L});
8856 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000004000L});
8857 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000001010L});
8858 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000004000010L});
8859 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000003000L});
8860 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000018000002L});
8861 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000060000002L});
8862 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000180000002L});
8863 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000200000002L});
8864 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000C00000002L});
8865 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x000003F000040002L});
8866 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000040000000002L});
8867 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000080000000002L});
8868 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000100000000002L});
8869 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000200000000002L});
8870 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000400000000002L});
8871 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000080002L});
8872 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000800000000002L});
8873 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0001000000000002L,0x000000000000007EL});
8874 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0001000000000000L});
8875 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x2000000000000000L});
8876 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x8000000000000002L});
8877 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000001L});
8878 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000002002L});
8879 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000020L});
8880 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0800000000000000L});
8881
8882}
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java
new file mode 100644
index 00000000..b46c4575
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java
@@ -0,0 +1,2235 @@
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.ALSSubset;
49import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum;
50import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus;
51import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv;
52import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration;
53import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure;
54import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
55import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess;
56import java.util.Set;
57import org.eclipse.emf.ecore.EObject;
58import org.eclipse.emf.ecore.EPackage;
59import org.eclipse.xtext.Action;
60import org.eclipse.xtext.Parameter;
61import org.eclipse.xtext.ParserRule;
62import org.eclipse.xtext.serializer.ISerializationContext;
63import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
64import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
65import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
66
67@SuppressWarnings("all")
68public class AlloyLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer {
69
70 @Inject
71 private AlloyLanguageGrammarAccess grammarAccess;
72
73 @Override
74 public void sequence(ISerializationContext context, EObject semanticObject) {
75 EPackage epackage = semanticObject.eClass().getEPackage();
76 ParserRule rule = context.getParserRule();
77 Action action = context.getAssignedAction();
78 Set<Parameter> parameters = context.getEnabledBooleanParameters();
79 if (epackage == AlloyLanguagePackage.eINSTANCE)
80 switch (semanticObject.eClass().getClassifierID()) {
81 case AlloyLanguagePackage.ALS_AND:
82 sequence_ALSAnd(context, (ALSAnd) semanticObject);
83 return;
84 case AlloyLanguagePackage.ALS_CARDINALITY:
85 sequence_ALSPreficed(context, (ALSCardinality) semanticObject);
86 return;
87 case AlloyLanguagePackage.ALS_DIRECT_PRODUCT:
88 sequence_ALSDirectProduct(context, (ALSDirectProduct) semanticObject);
89 return;
90 case AlloyLanguagePackage.ALS_DOCUMENT:
91 sequence_ALSDocument(context, (ALSDocument) semanticObject);
92 return;
93 case AlloyLanguagePackage.ALS_ENUM_DECLARATION:
94 sequence_ALSEnumDeclaration(context, (ALSEnumDeclaration) semanticObject);
95 return;
96 case AlloyLanguagePackage.ALS_ENUM_LITERAL:
97 sequence_ALSEnumLiteral(context, (ALSEnumLiteral) semanticObject);
98 return;
99 case AlloyLanguagePackage.ALS_EQUALS:
100 sequence_ALSComparison(context, (ALSEquals) semanticObject);
101 return;
102 case AlloyLanguagePackage.ALS_FACT_DECLARATION:
103 sequence_ALSFactDeclaration(context, (ALSFactDeclaration) semanticObject);
104 return;
105 case AlloyLanguagePackage.ALS_FIELD_DECLARATION:
106 sequence_ALSFieldDeclaration(context, (ALSFieldDeclaration) semanticObject);
107 return;
108 case AlloyLanguagePackage.ALS_FUNCTION_CALL:
109 sequence_ALSPreficed(context, (ALSFunctionCall) semanticObject);
110 return;
111 case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION:
112 sequence_ALSFunctionDefinition(context, (ALSFunctionDefinition) semanticObject);
113 return;
114 case AlloyLanguagePackage.ALS_IDEN:
115 sequence_ALSBasicRelationTerm(context, (ALSIden) semanticObject);
116 return;
117 case AlloyLanguagePackage.ALS_IFF:
118 sequence_ALSIff(context, (ALSIff) semanticObject);
119 return;
120 case AlloyLanguagePackage.ALS_IMPL:
121 sequence_ALSImpl(context, (ALSImpl) semanticObject);
122 return;
123 case AlloyLanguagePackage.ALS_INT:
124 sequence_ALSBasicRelationTerm(context, (ALSInt) semanticObject);
125 return;
126 case AlloyLanguagePackage.ALS_INT_SCOPE:
127 sequence_ALSIntScope(context, (ALSIntScope) semanticObject);
128 return;
129 case AlloyLanguagePackage.ALS_INTERSECTION:
130 sequence_ALSIntersection(context, (ALSIntersection) semanticObject);
131 return;
132 case AlloyLanguagePackage.ALS_INVERSE_RELATION:
133 sequence_ALSPreficed(context, (ALSInverseRelation) semanticObject);
134 return;
135 case AlloyLanguagePackage.ALS_JOIN:
136 sequence_ALSJoin(context, (ALSJoin) semanticObject);
137 return;
138 case AlloyLanguagePackage.ALS_LEQ:
139 sequence_ALSComparison(context, (ALSLeq) semanticObject);
140 return;
141 case AlloyLanguagePackage.ALS_LESS:
142 sequence_ALSComparison(context, (ALSLess) semanticObject);
143 return;
144 case AlloyLanguagePackage.ALS_MEQ:
145 sequence_ALSComparison(context, (ALSMeq) semanticObject);
146 return;
147 case AlloyLanguagePackage.ALS_MINUS:
148 sequence_ALSMinus(context, (ALSMinus) semanticObject);
149 return;
150 case AlloyLanguagePackage.ALS_MORE:
151 sequence_ALSComparison(context, (ALSMore) semanticObject);
152 return;
153 case AlloyLanguagePackage.ALS_NONE:
154 sequence_ALSBasicRelationTerm(context, (ALSNone) semanticObject);
155 return;
156 case AlloyLanguagePackage.ALS_NOT:
157 sequence_ALSPreficed(context, (ALSNot) semanticObject);
158 return;
159 case AlloyLanguagePackage.ALS_NOT_EQUALS:
160 sequence_ALSComparison(context, (ALSNotEquals) semanticObject);
161 return;
162 case AlloyLanguagePackage.ALS_NUMBER_LITERAL:
163 sequence_ALSBasicRelationTerm(context, (ALSNumberLiteral) semanticObject);
164 return;
165 case AlloyLanguagePackage.ALS_OR:
166 sequence_ALSOr(context, (ALSOr) semanticObject);
167 return;
168 case AlloyLanguagePackage.ALS_OVERRIDE:
169 sequence_ALSOverride(context, (ALSOverride) semanticObject);
170 return;
171 case AlloyLanguagePackage.ALS_PLUS:
172 sequence_ALSPlus(context, (ALSPlus) semanticObject);
173 return;
174 case AlloyLanguagePackage.ALS_QUANTIFIED_EX:
175 sequence_ALSQuantified(context, (ALSQuantifiedEx) semanticObject);
176 return;
177 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT:
178 sequence_ALSRangeRestrictionLeft(context, (ALSRangeRestrictionLeft) semanticObject);
179 return;
180 case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT:
181 sequence_ALSRangeRestrictionRight(context, (ALSRangeRestrictionRight) semanticObject);
182 return;
183 case AlloyLanguagePackage.ALS_REFERENCE:
184 sequence_ALSBasicRelationTerm(context, (ALSReference) semanticObject);
185 return;
186 case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE:
187 sequence_ALSPreficed(context, (ALSReflectiveTransitiveClosure) semanticObject);
188 return;
189 case AlloyLanguagePackage.ALS_RELATION_DEFINITION:
190 sequence_ALSRelationDefinition(context, (ALSRelationDefinition) semanticObject);
191 return;
192 case AlloyLanguagePackage.ALS_RUN_COMMAND:
193 sequence_ALSRunCommand(context, (ALSRunCommand) semanticObject);
194 return;
195 case AlloyLanguagePackage.ALS_SIG_SCOPE:
196 sequence_ALSSigScope(context, (ALSSigScope) semanticObject);
197 return;
198 case AlloyLanguagePackage.ALS_SIGNATURE_BODY:
199 sequence_ALSSignatureBody(context, (ALSSignatureBody) semanticObject);
200 return;
201 case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION:
202 sequence_ALSSignatureDeclaration(context, (ALSSignatureDeclaration) semanticObject);
203 return;
204 case AlloyLanguagePackage.ALS_SUBSET:
205 sequence_ALSComparison(context, (ALSSubset) semanticObject);
206 return;
207 case AlloyLanguagePackage.ALS_SUM:
208 sequence_ALSPreficed(context, (ALSSum) semanticObject);
209 return;
210 case AlloyLanguagePackage.ALS_UNARY_MINUS:
211 sequence_ALSPreficed(context, (ALSUnaryMinus) semanticObject);
212 return;
213 case AlloyLanguagePackage.ALS_UNIV:
214 sequence_ALSBasicRelationTerm(context, (ALSUniv) semanticObject);
215 return;
216 case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION:
217 sequence_ALSVariableDeclaration(context, (ALSVariableDeclaration) semanticObject);
218 return;
219 case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE:
220 sequence_ALSPreficed(context, (AlSTransitiveClosure) semanticObject);
221 return;
222 }
223 if (errorAcceptor != null)
224 errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
225 }
226
227 /**
228 * Contexts:
229 * ALSTerm returns ALSAnd
230 * ALSQuantified returns ALSAnd
231 * ALSOr returns ALSAnd
232 * ALSOr.ALSOr_1_0 returns ALSAnd
233 * ALSIff returns ALSAnd
234 * ALSIff.ALSIff_1_0 returns ALSAnd
235 * ALSImpl returns ALSAnd
236 * ALSImpl.ALSImpl_1_0 returns ALSAnd
237 * ALSAnd returns ALSAnd
238 * ALSAnd.ALSAnd_1_0 returns ALSAnd
239 * ALSComparison returns ALSAnd
240 * ALSComparison.ALSEquals_1_0_0_0 returns ALSAnd
241 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSAnd
242 * ALSComparison.ALSSubset_1_0_2_0 returns ALSAnd
243 * ALSComparison.ALSLess_1_0_3_0 returns ALSAnd
244 * ALSComparison.ALSLeq_1_0_4_0 returns ALSAnd
245 * ALSComparison.ALSMore_1_0_5_0 returns ALSAnd
246 * ALSComparison.ALSMeq_1_0_6_0 returns ALSAnd
247 * ALSOverride returns ALSAnd
248 * ALSOverride.ALSOverride_1_0 returns ALSAnd
249 * ALSRangeRestrictionRight returns ALSAnd
250 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSAnd
251 * ALSRangeRestrictionLeft returns ALSAnd
252 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSAnd
253 * ALSJoin returns ALSAnd
254 * ALSJoin.ALSJoin_1_0 returns ALSAnd
255 * ALSMinus returns ALSAnd
256 * ALSMinus.ALSMinus_1_0 returns ALSAnd
257 * ALSPlus returns ALSAnd
258 * ALSPlus.ALSPlus_1_0 returns ALSAnd
259 * ALSIntersection returns ALSAnd
260 * ALSIntersection.ALSIntersection_1_0 returns ALSAnd
261 * ALSDirectProduct returns ALSAnd
262 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSAnd
263 * ALSPreficed returns ALSAnd
264 * ALSBasicRelationTerm returns ALSAnd
265 *
266 * Constraint:
267 * (leftOperand=ALSAnd_ALSAnd_1_0 rightOperand=ALSComparison)
268 */
269 protected void sequence_ALSAnd(ISerializationContext context, ALSAnd semanticObject) {
270 if (errorAcceptor != null) {
271 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND) == ValueTransient.YES)
272 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND));
273 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND) == ValueTransient.YES)
274 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND));
275 }
276 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
277 feeder.accept(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(), semanticObject.getLeftOperand());
278 feeder.accept(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0(), semanticObject.getRightOperand());
279 feeder.finish();
280 }
281
282
283 /**
284 * Contexts:
285 * ALSTerm returns ALSIden
286 * ALSQuantified returns ALSIden
287 * ALSOr returns ALSIden
288 * ALSOr.ALSOr_1_0 returns ALSIden
289 * ALSIff returns ALSIden
290 * ALSIff.ALSIff_1_0 returns ALSIden
291 * ALSImpl returns ALSIden
292 * ALSImpl.ALSImpl_1_0 returns ALSIden
293 * ALSAnd returns ALSIden
294 * ALSAnd.ALSAnd_1_0 returns ALSIden
295 * ALSComparison returns ALSIden
296 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIden
297 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIden
298 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIden
299 * ALSComparison.ALSLess_1_0_3_0 returns ALSIden
300 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIden
301 * ALSComparison.ALSMore_1_0_5_0 returns ALSIden
302 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIden
303 * ALSOverride returns ALSIden
304 * ALSOverride.ALSOverride_1_0 returns ALSIden
305 * ALSRangeRestrictionRight returns ALSIden
306 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIden
307 * ALSRangeRestrictionLeft returns ALSIden
308 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIden
309 * ALSJoin returns ALSIden
310 * ALSJoin.ALSJoin_1_0 returns ALSIden
311 * ALSMinus returns ALSIden
312 * ALSMinus.ALSMinus_1_0 returns ALSIden
313 * ALSPlus returns ALSIden
314 * ALSPlus.ALSPlus_1_0 returns ALSIden
315 * ALSIntersection returns ALSIden
316 * ALSIntersection.ALSIntersection_1_0 returns ALSIden
317 * ALSDirectProduct returns ALSIden
318 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIden
319 * ALSPreficed returns ALSIden
320 * ALSBasicRelationTerm returns ALSIden
321 *
322 * Constraint:
323 * {ALSIden}
324 */
325 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSIden semanticObject) {
326 genericSequencer.createSequence(context, semanticObject);
327 }
328
329
330 /**
331 * Contexts:
332 * ALSTerm returns ALSInt
333 * ALSQuantified returns ALSInt
334 * ALSOr returns ALSInt
335 * ALSOr.ALSOr_1_0 returns ALSInt
336 * ALSIff returns ALSInt
337 * ALSIff.ALSIff_1_0 returns ALSInt
338 * ALSImpl returns ALSInt
339 * ALSImpl.ALSImpl_1_0 returns ALSInt
340 * ALSAnd returns ALSInt
341 * ALSAnd.ALSAnd_1_0 returns ALSInt
342 * ALSComparison returns ALSInt
343 * ALSComparison.ALSEquals_1_0_0_0 returns ALSInt
344 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInt
345 * ALSComparison.ALSSubset_1_0_2_0 returns ALSInt
346 * ALSComparison.ALSLess_1_0_3_0 returns ALSInt
347 * ALSComparison.ALSLeq_1_0_4_0 returns ALSInt
348 * ALSComparison.ALSMore_1_0_5_0 returns ALSInt
349 * ALSComparison.ALSMeq_1_0_6_0 returns ALSInt
350 * ALSOverride returns ALSInt
351 * ALSOverride.ALSOverride_1_0 returns ALSInt
352 * ALSRangeRestrictionRight returns ALSInt
353 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInt
354 * ALSRangeRestrictionLeft returns ALSInt
355 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInt
356 * ALSJoin returns ALSInt
357 * ALSJoin.ALSJoin_1_0 returns ALSInt
358 * ALSMinus returns ALSInt
359 * ALSMinus.ALSMinus_1_0 returns ALSInt
360 * ALSPlus returns ALSInt
361 * ALSPlus.ALSPlus_1_0 returns ALSInt
362 * ALSIntersection returns ALSInt
363 * ALSIntersection.ALSIntersection_1_0 returns ALSInt
364 * ALSDirectProduct returns ALSInt
365 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInt
366 * ALSPreficed returns ALSInt
367 * ALSBasicRelationTerm returns ALSInt
368 *
369 * Constraint:
370 * {ALSInt}
371 */
372 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSInt semanticObject) {
373 genericSequencer.createSequence(context, semanticObject);
374 }
375
376
377 /**
378 * Contexts:
379 * ALSTerm returns ALSNone
380 * ALSQuantified returns ALSNone
381 * ALSOr returns ALSNone
382 * ALSOr.ALSOr_1_0 returns ALSNone
383 * ALSIff returns ALSNone
384 * ALSIff.ALSIff_1_0 returns ALSNone
385 * ALSImpl returns ALSNone
386 * ALSImpl.ALSImpl_1_0 returns ALSNone
387 * ALSAnd returns ALSNone
388 * ALSAnd.ALSAnd_1_0 returns ALSNone
389 * ALSComparison returns ALSNone
390 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNone
391 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNone
392 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNone
393 * ALSComparison.ALSLess_1_0_3_0 returns ALSNone
394 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNone
395 * ALSComparison.ALSMore_1_0_5_0 returns ALSNone
396 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNone
397 * ALSOverride returns ALSNone
398 * ALSOverride.ALSOverride_1_0 returns ALSNone
399 * ALSRangeRestrictionRight returns ALSNone
400 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNone
401 * ALSRangeRestrictionLeft returns ALSNone
402 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNone
403 * ALSJoin returns ALSNone
404 * ALSJoin.ALSJoin_1_0 returns ALSNone
405 * ALSMinus returns ALSNone
406 * ALSMinus.ALSMinus_1_0 returns ALSNone
407 * ALSPlus returns ALSNone
408 * ALSPlus.ALSPlus_1_0 returns ALSNone
409 * ALSIntersection returns ALSNone
410 * ALSIntersection.ALSIntersection_1_0 returns ALSNone
411 * ALSDirectProduct returns ALSNone
412 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNone
413 * ALSPreficed returns ALSNone
414 * ALSBasicRelationTerm returns ALSNone
415 *
416 * Constraint:
417 * {ALSNone}
418 */
419 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNone semanticObject) {
420 genericSequencer.createSequence(context, semanticObject);
421 }
422
423
424 /**
425 * Contexts:
426 * ALSTerm returns ALSNumberLiteral
427 * ALSQuantified returns ALSNumberLiteral
428 * ALSOr returns ALSNumberLiteral
429 * ALSOr.ALSOr_1_0 returns ALSNumberLiteral
430 * ALSIff returns ALSNumberLiteral
431 * ALSIff.ALSIff_1_0 returns ALSNumberLiteral
432 * ALSImpl returns ALSNumberLiteral
433 * ALSImpl.ALSImpl_1_0 returns ALSNumberLiteral
434 * ALSAnd returns ALSNumberLiteral
435 * ALSAnd.ALSAnd_1_0 returns ALSNumberLiteral
436 * ALSComparison returns ALSNumberLiteral
437 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNumberLiteral
438 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNumberLiteral
439 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNumberLiteral
440 * ALSComparison.ALSLess_1_0_3_0 returns ALSNumberLiteral
441 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNumberLiteral
442 * ALSComparison.ALSMore_1_0_5_0 returns ALSNumberLiteral
443 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNumberLiteral
444 * ALSOverride returns ALSNumberLiteral
445 * ALSOverride.ALSOverride_1_0 returns ALSNumberLiteral
446 * ALSRangeRestrictionRight returns ALSNumberLiteral
447 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNumberLiteral
448 * ALSRangeRestrictionLeft returns ALSNumberLiteral
449 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNumberLiteral
450 * ALSJoin returns ALSNumberLiteral
451 * ALSJoin.ALSJoin_1_0 returns ALSNumberLiteral
452 * ALSMinus returns ALSNumberLiteral
453 * ALSMinus.ALSMinus_1_0 returns ALSNumberLiteral
454 * ALSPlus returns ALSNumberLiteral
455 * ALSPlus.ALSPlus_1_0 returns ALSNumberLiteral
456 * ALSIntersection returns ALSNumberLiteral
457 * ALSIntersection.ALSIntersection_1_0 returns ALSNumberLiteral
458 * ALSDirectProduct returns ALSNumberLiteral
459 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNumberLiteral
460 * ALSPreficed returns ALSNumberLiteral
461 * ALSBasicRelationTerm returns ALSNumberLiteral
462 *
463 * Constraint:
464 * value=INT
465 */
466 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNumberLiteral semanticObject) {
467 if (errorAcceptor != null) {
468 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE) == ValueTransient.YES)
469 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE));
470 }
471 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
472 feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_5_1_0(), semanticObject.getValue());
473 feeder.finish();
474 }
475
476
477 /**
478 * Contexts:
479 * ALSTerm returns ALSReference
480 * ALSQuantified returns ALSReference
481 * ALSOr returns ALSReference
482 * ALSOr.ALSOr_1_0 returns ALSReference
483 * ALSIff returns ALSReference
484 * ALSIff.ALSIff_1_0 returns ALSReference
485 * ALSImpl returns ALSReference
486 * ALSImpl.ALSImpl_1_0 returns ALSReference
487 * ALSAnd returns ALSReference
488 * ALSAnd.ALSAnd_1_0 returns ALSReference
489 * ALSComparison returns ALSReference
490 * ALSComparison.ALSEquals_1_0_0_0 returns ALSReference
491 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReference
492 * ALSComparison.ALSSubset_1_0_2_0 returns ALSReference
493 * ALSComparison.ALSLess_1_0_3_0 returns ALSReference
494 * ALSComparison.ALSLeq_1_0_4_0 returns ALSReference
495 * ALSComparison.ALSMore_1_0_5_0 returns ALSReference
496 * ALSComparison.ALSMeq_1_0_6_0 returns ALSReference
497 * ALSOverride returns ALSReference
498 * ALSOverride.ALSOverride_1_0 returns ALSReference
499 * ALSRangeRestrictionRight returns ALSReference
500 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReference
501 * ALSRangeRestrictionLeft returns ALSReference
502 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReference
503 * ALSJoin returns ALSReference
504 * ALSJoin.ALSJoin_1_0 returns ALSReference
505 * ALSMinus returns ALSReference
506 * ALSMinus.ALSMinus_1_0 returns ALSReference
507 * ALSPlus returns ALSReference
508 * ALSPlus.ALSPlus_1_0 returns ALSReference
509 * ALSIntersection returns ALSReference
510 * ALSIntersection.ALSIntersection_1_0 returns ALSReference
511 * ALSDirectProduct returns ALSReference
512 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReference
513 * ALSPreficed returns ALSReference
514 * ALSBasicRelationTerm returns ALSReference
515 *
516 * Constraint:
517 * referred=[ALSRelationDeclaration|ID]
518 */
519 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSReference semanticObject) {
520 if (errorAcceptor != null) {
521 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED) == ValueTransient.YES)
522 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED));
523 }
524 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
525 feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_4_1_0_1(), semanticObject.eGet(AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED, false));
526 feeder.finish();
527 }
528
529
530 /**
531 * Contexts:
532 * ALSTerm returns ALSUniv
533 * ALSQuantified returns ALSUniv
534 * ALSOr returns ALSUniv
535 * ALSOr.ALSOr_1_0 returns ALSUniv
536 * ALSIff returns ALSUniv
537 * ALSIff.ALSIff_1_0 returns ALSUniv
538 * ALSImpl returns ALSUniv
539 * ALSImpl.ALSImpl_1_0 returns ALSUniv
540 * ALSAnd returns ALSUniv
541 * ALSAnd.ALSAnd_1_0 returns ALSUniv
542 * ALSComparison returns ALSUniv
543 * ALSComparison.ALSEquals_1_0_0_0 returns ALSUniv
544 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUniv
545 * ALSComparison.ALSSubset_1_0_2_0 returns ALSUniv
546 * ALSComparison.ALSLess_1_0_3_0 returns ALSUniv
547 * ALSComparison.ALSLeq_1_0_4_0 returns ALSUniv
548 * ALSComparison.ALSMore_1_0_5_0 returns ALSUniv
549 * ALSComparison.ALSMeq_1_0_6_0 returns ALSUniv
550 * ALSOverride returns ALSUniv
551 * ALSOverride.ALSOverride_1_0 returns ALSUniv
552 * ALSRangeRestrictionRight returns ALSUniv
553 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUniv
554 * ALSRangeRestrictionLeft returns ALSUniv
555 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUniv
556 * ALSJoin returns ALSUniv
557 * ALSJoin.ALSJoin_1_0 returns ALSUniv
558 * ALSMinus returns ALSUniv
559 * ALSMinus.ALSMinus_1_0 returns ALSUniv
560 * ALSPlus returns ALSUniv
561 * ALSPlus.ALSPlus_1_0 returns ALSUniv
562 * ALSIntersection returns ALSUniv
563 * ALSIntersection.ALSIntersection_1_0 returns ALSUniv
564 * ALSDirectProduct returns ALSUniv
565 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUniv
566 * ALSPreficed returns ALSUniv
567 * ALSBasicRelationTerm returns ALSUniv
568 *
569 * Constraint:
570 * {ALSUniv}
571 */
572 protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSUniv semanticObject) {
573 genericSequencer.createSequence(context, semanticObject);
574 }
575
576
577 /**
578 * Contexts:
579 * ALSTerm returns ALSEquals
580 * ALSQuantified returns ALSEquals
581 * ALSOr returns ALSEquals
582 * ALSOr.ALSOr_1_0 returns ALSEquals
583 * ALSIff returns ALSEquals
584 * ALSIff.ALSIff_1_0 returns ALSEquals
585 * ALSImpl returns ALSEquals
586 * ALSImpl.ALSImpl_1_0 returns ALSEquals
587 * ALSAnd returns ALSEquals
588 * ALSAnd.ALSAnd_1_0 returns ALSEquals
589 * ALSComparison returns ALSEquals
590 * ALSComparison.ALSEquals_1_0_0_0 returns ALSEquals
591 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSEquals
592 * ALSComparison.ALSSubset_1_0_2_0 returns ALSEquals
593 * ALSComparison.ALSLess_1_0_3_0 returns ALSEquals
594 * ALSComparison.ALSLeq_1_0_4_0 returns ALSEquals
595 * ALSComparison.ALSMore_1_0_5_0 returns ALSEquals
596 * ALSComparison.ALSMeq_1_0_6_0 returns ALSEquals
597 * ALSOverride returns ALSEquals
598 * ALSOverride.ALSOverride_1_0 returns ALSEquals
599 * ALSRangeRestrictionRight returns ALSEquals
600 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSEquals
601 * ALSRangeRestrictionLeft returns ALSEquals
602 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSEquals
603 * ALSJoin returns ALSEquals
604 * ALSJoin.ALSJoin_1_0 returns ALSEquals
605 * ALSMinus returns ALSEquals
606 * ALSMinus.ALSMinus_1_0 returns ALSEquals
607 * ALSPlus returns ALSEquals
608 * ALSPlus.ALSPlus_1_0 returns ALSEquals
609 * ALSIntersection returns ALSEquals
610 * ALSIntersection.ALSIntersection_1_0 returns ALSEquals
611 * ALSDirectProduct returns ALSEquals
612 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSEquals
613 * ALSPreficed returns ALSEquals
614 * ALSBasicRelationTerm returns ALSEquals
615 *
616 * Constraint:
617 * (leftOperand=ALSComparison_ALSEquals_1_0_0_0 rightOperand=ALSOverride)
618 */
619 protected void sequence_ALSComparison(ISerializationContext context, ALSEquals semanticObject) {
620 if (errorAcceptor != null) {
621 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND) == ValueTransient.YES)
622 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND));
623 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND) == ValueTransient.YES)
624 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND));
625 }
626 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
627 feeder.accept(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(), semanticObject.getLeftOperand());
628 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
629 feeder.finish();
630 }
631
632
633 /**
634 * Contexts:
635 * ALSTerm returns ALSLeq
636 * ALSQuantified returns ALSLeq
637 * ALSOr returns ALSLeq
638 * ALSOr.ALSOr_1_0 returns ALSLeq
639 * ALSIff returns ALSLeq
640 * ALSIff.ALSIff_1_0 returns ALSLeq
641 * ALSImpl returns ALSLeq
642 * ALSImpl.ALSImpl_1_0 returns ALSLeq
643 * ALSAnd returns ALSLeq
644 * ALSAnd.ALSAnd_1_0 returns ALSLeq
645 * ALSComparison returns ALSLeq
646 * ALSComparison.ALSEquals_1_0_0_0 returns ALSLeq
647 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLeq
648 * ALSComparison.ALSSubset_1_0_2_0 returns ALSLeq
649 * ALSComparison.ALSLess_1_0_3_0 returns ALSLeq
650 * ALSComparison.ALSLeq_1_0_4_0 returns ALSLeq
651 * ALSComparison.ALSMore_1_0_5_0 returns ALSLeq
652 * ALSComparison.ALSMeq_1_0_6_0 returns ALSLeq
653 * ALSOverride returns ALSLeq
654 * ALSOverride.ALSOverride_1_0 returns ALSLeq
655 * ALSRangeRestrictionRight returns ALSLeq
656 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLeq
657 * ALSRangeRestrictionLeft returns ALSLeq
658 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLeq
659 * ALSJoin returns ALSLeq
660 * ALSJoin.ALSJoin_1_0 returns ALSLeq
661 * ALSMinus returns ALSLeq
662 * ALSMinus.ALSMinus_1_0 returns ALSLeq
663 * ALSPlus returns ALSLeq
664 * ALSPlus.ALSPlus_1_0 returns ALSLeq
665 * ALSIntersection returns ALSLeq
666 * ALSIntersection.ALSIntersection_1_0 returns ALSLeq
667 * ALSDirectProduct returns ALSLeq
668 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLeq
669 * ALSPreficed returns ALSLeq
670 * ALSBasicRelationTerm returns ALSLeq
671 *
672 * Constraint:
673 * (leftOperand=ALSComparison_ALSLeq_1_0_4_0 rightOperand=ALSOverride)
674 */
675 protected void sequence_ALSComparison(ISerializationContext context, ALSLeq semanticObject) {
676 if (errorAcceptor != null) {
677 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND) == ValueTransient.YES)
678 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND));
679 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND) == ValueTransient.YES)
680 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND));
681 }
682 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
683 feeder.accept(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(), semanticObject.getLeftOperand());
684 feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand());
685 feeder.finish();
686 }
687
688
689 /**
690 * Contexts:
691 * ALSTerm returns ALSLess
692 * ALSQuantified returns ALSLess
693 * ALSOr returns ALSLess
694 * ALSOr.ALSOr_1_0 returns ALSLess
695 * ALSIff returns ALSLess
696 * ALSIff.ALSIff_1_0 returns ALSLess
697 * ALSImpl returns ALSLess
698 * ALSImpl.ALSImpl_1_0 returns ALSLess
699 * ALSAnd returns ALSLess
700 * ALSAnd.ALSAnd_1_0 returns ALSLess
701 * ALSComparison returns ALSLess
702 * ALSComparison.ALSEquals_1_0_0_0 returns ALSLess
703 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLess
704 * ALSComparison.ALSSubset_1_0_2_0 returns ALSLess
705 * ALSComparison.ALSLess_1_0_3_0 returns ALSLess
706 * ALSComparison.ALSLeq_1_0_4_0 returns ALSLess
707 * ALSComparison.ALSMore_1_0_5_0 returns ALSLess
708 * ALSComparison.ALSMeq_1_0_6_0 returns ALSLess
709 * ALSOverride returns ALSLess
710 * ALSOverride.ALSOverride_1_0 returns ALSLess
711 * ALSRangeRestrictionRight returns ALSLess
712 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLess
713 * ALSRangeRestrictionLeft returns ALSLess
714 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLess
715 * ALSJoin returns ALSLess
716 * ALSJoin.ALSJoin_1_0 returns ALSLess
717 * ALSMinus returns ALSLess
718 * ALSMinus.ALSMinus_1_0 returns ALSLess
719 * ALSPlus returns ALSLess
720 * ALSPlus.ALSPlus_1_0 returns ALSLess
721 * ALSIntersection returns ALSLess
722 * ALSIntersection.ALSIntersection_1_0 returns ALSLess
723 * ALSDirectProduct returns ALSLess
724 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLess
725 * ALSPreficed returns ALSLess
726 * ALSBasicRelationTerm returns ALSLess
727 *
728 * Constraint:
729 * (leftOperand=ALSComparison_ALSLess_1_0_3_0 rightOperand=ALSOverride)
730 */
731 protected void sequence_ALSComparison(ISerializationContext context, ALSLess semanticObject) {
732 if (errorAcceptor != null) {
733 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND) == ValueTransient.YES)
734 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND));
735 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND) == ValueTransient.YES)
736 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND));
737 }
738 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
739 feeder.accept(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_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 ALSMeq
748 * ALSQuantified returns ALSMeq
749 * ALSOr returns ALSMeq
750 * ALSOr.ALSOr_1_0 returns ALSMeq
751 * ALSIff returns ALSMeq
752 * ALSIff.ALSIff_1_0 returns ALSMeq
753 * ALSImpl returns ALSMeq
754 * ALSImpl.ALSImpl_1_0 returns ALSMeq
755 * ALSAnd returns ALSMeq
756 * ALSAnd.ALSAnd_1_0 returns ALSMeq
757 * ALSComparison returns ALSMeq
758 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMeq
759 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMeq
760 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMeq
761 * ALSComparison.ALSLess_1_0_3_0 returns ALSMeq
762 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMeq
763 * ALSComparison.ALSMore_1_0_5_0 returns ALSMeq
764 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMeq
765 * ALSOverride returns ALSMeq
766 * ALSOverride.ALSOverride_1_0 returns ALSMeq
767 * ALSRangeRestrictionRight returns ALSMeq
768 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMeq
769 * ALSRangeRestrictionLeft returns ALSMeq
770 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMeq
771 * ALSJoin returns ALSMeq
772 * ALSJoin.ALSJoin_1_0 returns ALSMeq
773 * ALSMinus returns ALSMeq
774 * ALSMinus.ALSMinus_1_0 returns ALSMeq
775 * ALSPlus returns ALSMeq
776 * ALSPlus.ALSPlus_1_0 returns ALSMeq
777 * ALSIntersection returns ALSMeq
778 * ALSIntersection.ALSIntersection_1_0 returns ALSMeq
779 * ALSDirectProduct returns ALSMeq
780 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMeq
781 * ALSPreficed returns ALSMeq
782 * ALSBasicRelationTerm returns ALSMeq
783 *
784 * Constraint:
785 * (leftOperand=ALSComparison_ALSMeq_1_0_6_0 rightOperand=ALSOverride)
786 */
787 protected void sequence_ALSComparison(ISerializationContext context, ALSMeq semanticObject) {
788 if (errorAcceptor != null) {
789 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND) == ValueTransient.YES)
790 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND));
791 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND) == ValueTransient.YES)
792 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND));
793 }
794 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
795 feeder.accept(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_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 ALSMore
804 * ALSQuantified returns ALSMore
805 * ALSOr returns ALSMore
806 * ALSOr.ALSOr_1_0 returns ALSMore
807 * ALSIff returns ALSMore
808 * ALSIff.ALSIff_1_0 returns ALSMore
809 * ALSImpl returns ALSMore
810 * ALSImpl.ALSImpl_1_0 returns ALSMore
811 * ALSAnd returns ALSMore
812 * ALSAnd.ALSAnd_1_0 returns ALSMore
813 * ALSComparison returns ALSMore
814 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMore
815 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMore
816 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMore
817 * ALSComparison.ALSLess_1_0_3_0 returns ALSMore
818 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMore
819 * ALSComparison.ALSMore_1_0_5_0 returns ALSMore
820 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMore
821 * ALSOverride returns ALSMore
822 * ALSOverride.ALSOverride_1_0 returns ALSMore
823 * ALSRangeRestrictionRight returns ALSMore
824 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMore
825 * ALSRangeRestrictionLeft returns ALSMore
826 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMore
827 * ALSJoin returns ALSMore
828 * ALSJoin.ALSJoin_1_0 returns ALSMore
829 * ALSMinus returns ALSMore
830 * ALSMinus.ALSMinus_1_0 returns ALSMore
831 * ALSPlus returns ALSMore
832 * ALSPlus.ALSPlus_1_0 returns ALSMore
833 * ALSIntersection returns ALSMore
834 * ALSIntersection.ALSIntersection_1_0 returns ALSMore
835 * ALSDirectProduct returns ALSMore
836 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMore
837 * ALSPreficed returns ALSMore
838 * ALSBasicRelationTerm returns ALSMore
839 *
840 * Constraint:
841 * (leftOperand=ALSComparison_ALSMore_1_0_5_0 rightOperand=ALSOverride)
842 */
843 protected void sequence_ALSComparison(ISerializationContext context, ALSMore semanticObject) {
844 if (errorAcceptor != null) {
845 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND) == ValueTransient.YES)
846 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND));
847 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND) == ValueTransient.YES)
848 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND));
849 }
850 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
851 feeder.accept(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_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 ALSNotEquals
860 * ALSQuantified returns ALSNotEquals
861 * ALSOr returns ALSNotEquals
862 * ALSOr.ALSOr_1_0 returns ALSNotEquals
863 * ALSIff returns ALSNotEquals
864 * ALSIff.ALSIff_1_0 returns ALSNotEquals
865 * ALSImpl returns ALSNotEquals
866 * ALSImpl.ALSImpl_1_0 returns ALSNotEquals
867 * ALSAnd returns ALSNotEquals
868 * ALSAnd.ALSAnd_1_0 returns ALSNotEquals
869 * ALSComparison returns ALSNotEquals
870 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNotEquals
871 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNotEquals
872 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNotEquals
873 * ALSComparison.ALSLess_1_0_3_0 returns ALSNotEquals
874 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNotEquals
875 * ALSComparison.ALSMore_1_0_5_0 returns ALSNotEquals
876 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNotEquals
877 * ALSOverride returns ALSNotEquals
878 * ALSOverride.ALSOverride_1_0 returns ALSNotEquals
879 * ALSRangeRestrictionRight returns ALSNotEquals
880 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNotEquals
881 * ALSRangeRestrictionLeft returns ALSNotEquals
882 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNotEquals
883 * ALSJoin returns ALSNotEquals
884 * ALSJoin.ALSJoin_1_0 returns ALSNotEquals
885 * ALSMinus returns ALSNotEquals
886 * ALSMinus.ALSMinus_1_0 returns ALSNotEquals
887 * ALSPlus returns ALSNotEquals
888 * ALSPlus.ALSPlus_1_0 returns ALSNotEquals
889 * ALSIntersection returns ALSNotEquals
890 * ALSIntersection.ALSIntersection_1_0 returns ALSNotEquals
891 * ALSDirectProduct returns ALSNotEquals
892 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNotEquals
893 * ALSPreficed returns ALSNotEquals
894 * ALSBasicRelationTerm returns ALSNotEquals
895 *
896 * Constraint:
897 * (leftOperand=ALSComparison_ALSNotEquals_1_0_1_0 rightOperand=ALSOverride)
898 */
899 protected void sequence_ALSComparison(ISerializationContext context, ALSNotEquals semanticObject) {
900 if (errorAcceptor != null) {
901 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND) == ValueTransient.YES)
902 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND));
903 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND) == ValueTransient.YES)
904 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND));
905 }
906 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
907 feeder.accept(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_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 ALSSubset
916 * ALSQuantified returns ALSSubset
917 * ALSOr returns ALSSubset
918 * ALSOr.ALSOr_1_0 returns ALSSubset
919 * ALSIff returns ALSSubset
920 * ALSIff.ALSIff_1_0 returns ALSSubset
921 * ALSImpl returns ALSSubset
922 * ALSImpl.ALSImpl_1_0 returns ALSSubset
923 * ALSAnd returns ALSSubset
924 * ALSAnd.ALSAnd_1_0 returns ALSSubset
925 * ALSComparison returns ALSSubset
926 * ALSComparison.ALSEquals_1_0_0_0 returns ALSSubset
927 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSubset
928 * ALSComparison.ALSSubset_1_0_2_0 returns ALSSubset
929 * ALSComparison.ALSLess_1_0_3_0 returns ALSSubset
930 * ALSComparison.ALSLeq_1_0_4_0 returns ALSSubset
931 * ALSComparison.ALSMore_1_0_5_0 returns ALSSubset
932 * ALSComparison.ALSMeq_1_0_6_0 returns ALSSubset
933 * ALSOverride returns ALSSubset
934 * ALSOverride.ALSOverride_1_0 returns ALSSubset
935 * ALSRangeRestrictionRight returns ALSSubset
936 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSubset
937 * ALSRangeRestrictionLeft returns ALSSubset
938 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSubset
939 * ALSJoin returns ALSSubset
940 * ALSJoin.ALSJoin_1_0 returns ALSSubset
941 * ALSMinus returns ALSSubset
942 * ALSMinus.ALSMinus_1_0 returns ALSSubset
943 * ALSPlus returns ALSSubset
944 * ALSPlus.ALSPlus_1_0 returns ALSSubset
945 * ALSIntersection returns ALSSubset
946 * ALSIntersection.ALSIntersection_1_0 returns ALSSubset
947 * ALSDirectProduct returns ALSSubset
948 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSubset
949 * ALSPreficed returns ALSSubset
950 * ALSBasicRelationTerm returns ALSSubset
951 *
952 * Constraint:
953 * (leftOperand=ALSComparison_ALSSubset_1_0_2_0 rightOperand=ALSOverride)
954 */
955 protected void sequence_ALSComparison(ISerializationContext context, ALSSubset semanticObject) {
956 if (errorAcceptor != null) {
957 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND) == ValueTransient.YES)
958 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND));
959 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND) == ValueTransient.YES)
960 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND));
961 }
962 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
963 feeder.accept(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_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 ALSDirectProduct
972 * ALSQuantified returns ALSDirectProduct
973 * ALSOr returns ALSDirectProduct
974 * ALSOr.ALSOr_1_0 returns ALSDirectProduct
975 * ALSIff returns ALSDirectProduct
976 * ALSIff.ALSIff_1_0 returns ALSDirectProduct
977 * ALSImpl returns ALSDirectProduct
978 * ALSImpl.ALSImpl_1_0 returns ALSDirectProduct
979 * ALSAnd returns ALSDirectProduct
980 * ALSAnd.ALSAnd_1_0 returns ALSDirectProduct
981 * ALSComparison returns ALSDirectProduct
982 * ALSComparison.ALSEquals_1_0_0_0 returns ALSDirectProduct
983 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSDirectProduct
984 * ALSComparison.ALSSubset_1_0_2_0 returns ALSDirectProduct
985 * ALSComparison.ALSLess_1_0_3_0 returns ALSDirectProduct
986 * ALSComparison.ALSLeq_1_0_4_0 returns ALSDirectProduct
987 * ALSComparison.ALSMore_1_0_5_0 returns ALSDirectProduct
988 * ALSComparison.ALSMeq_1_0_6_0 returns ALSDirectProduct
989 * ALSOverride returns ALSDirectProduct
990 * ALSOverride.ALSOverride_1_0 returns ALSDirectProduct
991 * ALSRangeRestrictionRight returns ALSDirectProduct
992 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSDirectProduct
993 * ALSRangeRestrictionLeft returns ALSDirectProduct
994 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSDirectProduct
995 * ALSJoin returns ALSDirectProduct
996 * ALSJoin.ALSJoin_1_0 returns ALSDirectProduct
997 * ALSMinus returns ALSDirectProduct
998 * ALSMinus.ALSMinus_1_0 returns ALSDirectProduct
999 * ALSPlus returns ALSDirectProduct
1000 * ALSPlus.ALSPlus_1_0 returns ALSDirectProduct
1001 * ALSIntersection returns ALSDirectProduct
1002 * ALSIntersection.ALSIntersection_1_0 returns ALSDirectProduct
1003 * ALSDirectProduct returns ALSDirectProduct
1004 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSDirectProduct
1005 * ALSPreficed returns ALSDirectProduct
1006 * ALSBasicRelationTerm returns ALSDirectProduct
1007 *
1008 * Constraint:
1009 * (leftOperand=ALSDirectProduct_ALSDirectProduct_1_0 leftMultiplicit=ALSMultiplicity? rightMultiplicit=ALSMultiplicity? rightOperand=ALSPreficed)
1010 */
1011 protected void sequence_ALSDirectProduct(ISerializationContext context, ALSDirectProduct semanticObject) {
1012 genericSequencer.createSequence(context, semanticObject);
1013 }
1014
1015
1016 /**
1017 * Contexts:
1018 * ALSDocument returns ALSDocument
1019 *
1020 * Constraint:
1021 * (
1022 * (
1023 * enumDeclarations+=ALSEnumDeclaration |
1024 * signatureBodies+=ALSSignatureBody |
1025 * functionDefinitions+=ALSFunctionDefinition |
1026 * relationDefinitions+=ALSRelationDefinition |
1027 * factDeclarations+=ALSFactDeclaration
1028 * )+
1029 * runCommand=ALSRunCommand
1030 * )
1031 */
1032 protected void sequence_ALSDocument(ISerializationContext context, ALSDocument semanticObject) {
1033 genericSequencer.createSequence(context, semanticObject);
1034 }
1035
1036
1037 /**
1038 * Contexts:
1039 * ALSRelationDeclaration returns ALSEnumDeclaration
1040 * ALSTypeDeclaration returns ALSEnumDeclaration
1041 * ALSEnumDeclaration returns ALSEnumDeclaration
1042 *
1043 * Constraint:
1044 * (name=ALSID literal+=ALSEnumLiteral literal+=ALSEnumLiteral*)
1045 */
1046 protected void sequence_ALSEnumDeclaration(ISerializationContext context, ALSEnumDeclaration semanticObject) {
1047 genericSequencer.createSequence(context, semanticObject);
1048 }
1049
1050
1051 /**
1052 * Contexts:
1053 * ALSRelationDeclaration returns ALSEnumLiteral
1054 * ALSEnumLiteral returns ALSEnumLiteral
1055 *
1056 * Constraint:
1057 * name=ALSID
1058 */
1059 protected void sequence_ALSEnumLiteral(ISerializationContext context, ALSEnumLiteral semanticObject) {
1060 if (errorAcceptor != null) {
1061 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
1062 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
1063 }
1064 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1065 feeder.accept(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName());
1066 feeder.finish();
1067 }
1068
1069
1070 /**
1071 * Contexts:
1072 * ALSFactDeclaration returns ALSFactDeclaration
1073 *
1074 * Constraint:
1075 * (name=ALSID? term=ALSTerm)
1076 */
1077 protected void sequence_ALSFactDeclaration(ISerializationContext context, ALSFactDeclaration semanticObject) {
1078 genericSequencer.createSequence(context, semanticObject);
1079 }
1080
1081
1082 /**
1083 * Contexts:
1084 * ALSRelationDeclaration returns ALSFieldDeclaration
1085 * ALSFieldDeclaration returns ALSFieldDeclaration
1086 *
1087 * Constraint:
1088 * (name=ALSID multiplicity=ALSMultiplicity? type=ALSTerm)
1089 */
1090 protected void sequence_ALSFieldDeclaration(ISerializationContext context, ALSFieldDeclaration semanticObject) {
1091 genericSequencer.createSequence(context, semanticObject);
1092 }
1093
1094
1095 /**
1096 * Contexts:
1097 * ALSDefinition returns ALSFunctionDefinition
1098 * ALSFunctionDefinition returns ALSFunctionDefinition
1099 *
1100 * Constraint:
1101 * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* type=ALSTerm value=ALSTerm)
1102 */
1103 protected void sequence_ALSFunctionDefinition(ISerializationContext context, ALSFunctionDefinition semanticObject) {
1104 genericSequencer.createSequence(context, semanticObject);
1105 }
1106
1107
1108 /**
1109 * Contexts:
1110 * ALSTerm returns ALSIff
1111 * ALSQuantified returns ALSIff
1112 * ALSOr returns ALSIff
1113 * ALSOr.ALSOr_1_0 returns ALSIff
1114 * ALSIff returns ALSIff
1115 * ALSIff.ALSIff_1_0 returns ALSIff
1116 * ALSImpl returns ALSIff
1117 * ALSImpl.ALSImpl_1_0 returns ALSIff
1118 * ALSAnd returns ALSIff
1119 * ALSAnd.ALSAnd_1_0 returns ALSIff
1120 * ALSComparison returns ALSIff
1121 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIff
1122 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIff
1123 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIff
1124 * ALSComparison.ALSLess_1_0_3_0 returns ALSIff
1125 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIff
1126 * ALSComparison.ALSMore_1_0_5_0 returns ALSIff
1127 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIff
1128 * ALSOverride returns ALSIff
1129 * ALSOverride.ALSOverride_1_0 returns ALSIff
1130 * ALSRangeRestrictionRight returns ALSIff
1131 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIff
1132 * ALSRangeRestrictionLeft returns ALSIff
1133 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIff
1134 * ALSJoin returns ALSIff
1135 * ALSJoin.ALSJoin_1_0 returns ALSIff
1136 * ALSMinus returns ALSIff
1137 * ALSMinus.ALSMinus_1_0 returns ALSIff
1138 * ALSPlus returns ALSIff
1139 * ALSPlus.ALSPlus_1_0 returns ALSIff
1140 * ALSIntersection returns ALSIff
1141 * ALSIntersection.ALSIntersection_1_0 returns ALSIff
1142 * ALSDirectProduct returns ALSIff
1143 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIff
1144 * ALSPreficed returns ALSIff
1145 * ALSBasicRelationTerm returns ALSIff
1146 *
1147 * Constraint:
1148 * (leftOperand=ALSIff_ALSIff_1_0 rightOperand=ALSImpl)
1149 */
1150 protected void sequence_ALSIff(ISerializationContext context, ALSIff semanticObject) {
1151 if (errorAcceptor != null) {
1152 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND) == ValueTransient.YES)
1153 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND));
1154 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND) == ValueTransient.YES)
1155 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND));
1156 }
1157 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1158 feeder.accept(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1159 feeder.accept(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1160 feeder.finish();
1161 }
1162
1163
1164 /**
1165 * Contexts:
1166 * ALSTerm returns ALSImpl
1167 * ALSQuantified returns ALSImpl
1168 * ALSOr returns ALSImpl
1169 * ALSOr.ALSOr_1_0 returns ALSImpl
1170 * ALSIff returns ALSImpl
1171 * ALSIff.ALSIff_1_0 returns ALSImpl
1172 * ALSImpl returns ALSImpl
1173 * ALSImpl.ALSImpl_1_0 returns ALSImpl
1174 * ALSAnd returns ALSImpl
1175 * ALSAnd.ALSAnd_1_0 returns ALSImpl
1176 * ALSComparison returns ALSImpl
1177 * ALSComparison.ALSEquals_1_0_0_0 returns ALSImpl
1178 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSImpl
1179 * ALSComparison.ALSSubset_1_0_2_0 returns ALSImpl
1180 * ALSComparison.ALSLess_1_0_3_0 returns ALSImpl
1181 * ALSComparison.ALSLeq_1_0_4_0 returns ALSImpl
1182 * ALSComparison.ALSMore_1_0_5_0 returns ALSImpl
1183 * ALSComparison.ALSMeq_1_0_6_0 returns ALSImpl
1184 * ALSOverride returns ALSImpl
1185 * ALSOverride.ALSOverride_1_0 returns ALSImpl
1186 * ALSRangeRestrictionRight returns ALSImpl
1187 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSImpl
1188 * ALSRangeRestrictionLeft returns ALSImpl
1189 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSImpl
1190 * ALSJoin returns ALSImpl
1191 * ALSJoin.ALSJoin_1_0 returns ALSImpl
1192 * ALSMinus returns ALSImpl
1193 * ALSMinus.ALSMinus_1_0 returns ALSImpl
1194 * ALSPlus returns ALSImpl
1195 * ALSPlus.ALSPlus_1_0 returns ALSImpl
1196 * ALSIntersection returns ALSImpl
1197 * ALSIntersection.ALSIntersection_1_0 returns ALSImpl
1198 * ALSDirectProduct returns ALSImpl
1199 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSImpl
1200 * ALSPreficed returns ALSImpl
1201 * ALSBasicRelationTerm returns ALSImpl
1202 *
1203 * Constraint:
1204 * (leftOperand=ALSImpl_ALSImpl_1_0 rightOperand=ALSAnd elseOperand=ALSAnd?)
1205 */
1206 protected void sequence_ALSImpl(ISerializationContext context, ALSImpl semanticObject) {
1207 genericSequencer.createSequence(context, semanticObject);
1208 }
1209
1210
1211 /**
1212 * Contexts:
1213 * ALSTypeScope returns ALSIntScope
1214 * ALSIntScope returns ALSIntScope
1215 *
1216 * Constraint:
1217 * number=INT
1218 */
1219 protected void sequence_ALSIntScope(ISerializationContext context, ALSIntScope semanticObject) {
1220 if (errorAcceptor != null) {
1221 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER) == ValueTransient.YES)
1222 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER));
1223 }
1224 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1225 feeder.accept(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0(), semanticObject.getNumber());
1226 feeder.finish();
1227 }
1228
1229
1230 /**
1231 * Contexts:
1232 * ALSTerm returns ALSIntersection
1233 * ALSQuantified returns ALSIntersection
1234 * ALSOr returns ALSIntersection
1235 * ALSOr.ALSOr_1_0 returns ALSIntersection
1236 * ALSIff returns ALSIntersection
1237 * ALSIff.ALSIff_1_0 returns ALSIntersection
1238 * ALSImpl returns ALSIntersection
1239 * ALSImpl.ALSImpl_1_0 returns ALSIntersection
1240 * ALSAnd returns ALSIntersection
1241 * ALSAnd.ALSAnd_1_0 returns ALSIntersection
1242 * ALSComparison returns ALSIntersection
1243 * ALSComparison.ALSEquals_1_0_0_0 returns ALSIntersection
1244 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIntersection
1245 * ALSComparison.ALSSubset_1_0_2_0 returns ALSIntersection
1246 * ALSComparison.ALSLess_1_0_3_0 returns ALSIntersection
1247 * ALSComparison.ALSLeq_1_0_4_0 returns ALSIntersection
1248 * ALSComparison.ALSMore_1_0_5_0 returns ALSIntersection
1249 * ALSComparison.ALSMeq_1_0_6_0 returns ALSIntersection
1250 * ALSOverride returns ALSIntersection
1251 * ALSOverride.ALSOverride_1_0 returns ALSIntersection
1252 * ALSRangeRestrictionRight returns ALSIntersection
1253 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIntersection
1254 * ALSRangeRestrictionLeft returns ALSIntersection
1255 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIntersection
1256 * ALSJoin returns ALSIntersection
1257 * ALSJoin.ALSJoin_1_0 returns ALSIntersection
1258 * ALSMinus returns ALSIntersection
1259 * ALSMinus.ALSMinus_1_0 returns ALSIntersection
1260 * ALSPlus returns ALSIntersection
1261 * ALSPlus.ALSPlus_1_0 returns ALSIntersection
1262 * ALSIntersection returns ALSIntersection
1263 * ALSIntersection.ALSIntersection_1_0 returns ALSIntersection
1264 * ALSDirectProduct returns ALSIntersection
1265 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIntersection
1266 * ALSPreficed returns ALSIntersection
1267 * ALSBasicRelationTerm returns ALSIntersection
1268 *
1269 * Constraint:
1270 * (leftOperand=ALSIntersection_ALSIntersection_1_0 rightOperand=ALSDirectProduct)
1271 */
1272 protected void sequence_ALSIntersection(ISerializationContext context, ALSIntersection semanticObject) {
1273 if (errorAcceptor != null) {
1274 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND) == ValueTransient.YES)
1275 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND));
1276 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND) == ValueTransient.YES)
1277 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND));
1278 }
1279 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1280 feeder.accept(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1281 feeder.accept(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1282 feeder.finish();
1283 }
1284
1285
1286 /**
1287 * Contexts:
1288 * ALSTerm returns ALSJoin
1289 * ALSQuantified returns ALSJoin
1290 * ALSOr returns ALSJoin
1291 * ALSOr.ALSOr_1_0 returns ALSJoin
1292 * ALSIff returns ALSJoin
1293 * ALSIff.ALSIff_1_0 returns ALSJoin
1294 * ALSImpl returns ALSJoin
1295 * ALSImpl.ALSImpl_1_0 returns ALSJoin
1296 * ALSAnd returns ALSJoin
1297 * ALSAnd.ALSAnd_1_0 returns ALSJoin
1298 * ALSComparison returns ALSJoin
1299 * ALSComparison.ALSEquals_1_0_0_0 returns ALSJoin
1300 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSJoin
1301 * ALSComparison.ALSSubset_1_0_2_0 returns ALSJoin
1302 * ALSComparison.ALSLess_1_0_3_0 returns ALSJoin
1303 * ALSComparison.ALSLeq_1_0_4_0 returns ALSJoin
1304 * ALSComparison.ALSMore_1_0_5_0 returns ALSJoin
1305 * ALSComparison.ALSMeq_1_0_6_0 returns ALSJoin
1306 * ALSOverride returns ALSJoin
1307 * ALSOverride.ALSOverride_1_0 returns ALSJoin
1308 * ALSRangeRestrictionRight returns ALSJoin
1309 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSJoin
1310 * ALSRangeRestrictionLeft returns ALSJoin
1311 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSJoin
1312 * ALSJoin returns ALSJoin
1313 * ALSJoin.ALSJoin_1_0 returns ALSJoin
1314 * ALSMinus returns ALSJoin
1315 * ALSMinus.ALSMinus_1_0 returns ALSJoin
1316 * ALSPlus returns ALSJoin
1317 * ALSPlus.ALSPlus_1_0 returns ALSJoin
1318 * ALSIntersection returns ALSJoin
1319 * ALSIntersection.ALSIntersection_1_0 returns ALSJoin
1320 * ALSDirectProduct returns ALSJoin
1321 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSJoin
1322 * ALSPreficed returns ALSJoin
1323 * ALSBasicRelationTerm returns ALSJoin
1324 *
1325 * Constraint:
1326 * (leftOperand=ALSJoin_ALSJoin_1_0 rightOperand=ALSMinus)
1327 */
1328 protected void sequence_ALSJoin(ISerializationContext context, ALSJoin semanticObject) {
1329 if (errorAcceptor != null) {
1330 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND) == ValueTransient.YES)
1331 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND));
1332 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND) == ValueTransient.YES)
1333 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND));
1334 }
1335 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1336 feeder.accept(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1337 feeder.accept(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1338 feeder.finish();
1339 }
1340
1341
1342 /**
1343 * Contexts:
1344 * ALSTerm returns ALSMinus
1345 * ALSQuantified returns ALSMinus
1346 * ALSOr returns ALSMinus
1347 * ALSOr.ALSOr_1_0 returns ALSMinus
1348 * ALSIff returns ALSMinus
1349 * ALSIff.ALSIff_1_0 returns ALSMinus
1350 * ALSImpl returns ALSMinus
1351 * ALSImpl.ALSImpl_1_0 returns ALSMinus
1352 * ALSAnd returns ALSMinus
1353 * ALSAnd.ALSAnd_1_0 returns ALSMinus
1354 * ALSComparison returns ALSMinus
1355 * ALSComparison.ALSEquals_1_0_0_0 returns ALSMinus
1356 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMinus
1357 * ALSComparison.ALSSubset_1_0_2_0 returns ALSMinus
1358 * ALSComparison.ALSLess_1_0_3_0 returns ALSMinus
1359 * ALSComparison.ALSLeq_1_0_4_0 returns ALSMinus
1360 * ALSComparison.ALSMore_1_0_5_0 returns ALSMinus
1361 * ALSComparison.ALSMeq_1_0_6_0 returns ALSMinus
1362 * ALSOverride returns ALSMinus
1363 * ALSOverride.ALSOverride_1_0 returns ALSMinus
1364 * ALSRangeRestrictionRight returns ALSMinus
1365 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMinus
1366 * ALSRangeRestrictionLeft returns ALSMinus
1367 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMinus
1368 * ALSJoin returns ALSMinus
1369 * ALSJoin.ALSJoin_1_0 returns ALSMinus
1370 * ALSMinus returns ALSMinus
1371 * ALSMinus.ALSMinus_1_0 returns ALSMinus
1372 * ALSPlus returns ALSMinus
1373 * ALSPlus.ALSPlus_1_0 returns ALSMinus
1374 * ALSIntersection returns ALSMinus
1375 * ALSIntersection.ALSIntersection_1_0 returns ALSMinus
1376 * ALSDirectProduct returns ALSMinus
1377 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMinus
1378 * ALSPreficed returns ALSMinus
1379 * ALSBasicRelationTerm returns ALSMinus
1380 *
1381 * Constraint:
1382 * (leftOperand=ALSMinus_ALSMinus_1_0 rightOperand=ALSPlus)
1383 */
1384 protected void sequence_ALSMinus(ISerializationContext context, ALSMinus semanticObject) {
1385 if (errorAcceptor != null) {
1386 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND) == ValueTransient.YES)
1387 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND));
1388 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND) == ValueTransient.YES)
1389 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND));
1390 }
1391 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1392 feeder.accept(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1393 feeder.accept(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1394 feeder.finish();
1395 }
1396
1397
1398 /**
1399 * Contexts:
1400 * ALSTerm returns ALSOr
1401 * ALSQuantified returns ALSOr
1402 * ALSOr returns ALSOr
1403 * ALSOr.ALSOr_1_0 returns ALSOr
1404 * ALSIff returns ALSOr
1405 * ALSIff.ALSIff_1_0 returns ALSOr
1406 * ALSImpl returns ALSOr
1407 * ALSImpl.ALSImpl_1_0 returns ALSOr
1408 * ALSAnd returns ALSOr
1409 * ALSAnd.ALSAnd_1_0 returns ALSOr
1410 * ALSComparison returns ALSOr
1411 * ALSComparison.ALSEquals_1_0_0_0 returns ALSOr
1412 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOr
1413 * ALSComparison.ALSSubset_1_0_2_0 returns ALSOr
1414 * ALSComparison.ALSLess_1_0_3_0 returns ALSOr
1415 * ALSComparison.ALSLeq_1_0_4_0 returns ALSOr
1416 * ALSComparison.ALSMore_1_0_5_0 returns ALSOr
1417 * ALSComparison.ALSMeq_1_0_6_0 returns ALSOr
1418 * ALSOverride returns ALSOr
1419 * ALSOverride.ALSOverride_1_0 returns ALSOr
1420 * ALSRangeRestrictionRight returns ALSOr
1421 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOr
1422 * ALSRangeRestrictionLeft returns ALSOr
1423 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOr
1424 * ALSJoin returns ALSOr
1425 * ALSJoin.ALSJoin_1_0 returns ALSOr
1426 * ALSMinus returns ALSOr
1427 * ALSMinus.ALSMinus_1_0 returns ALSOr
1428 * ALSPlus returns ALSOr
1429 * ALSPlus.ALSPlus_1_0 returns ALSOr
1430 * ALSIntersection returns ALSOr
1431 * ALSIntersection.ALSIntersection_1_0 returns ALSOr
1432 * ALSDirectProduct returns ALSOr
1433 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOr
1434 * ALSPreficed returns ALSOr
1435 * ALSBasicRelationTerm returns ALSOr
1436 *
1437 * Constraint:
1438 * (leftOperand=ALSOr_ALSOr_1_0 rightOperand=ALSIff)
1439 */
1440 protected void sequence_ALSOr(ISerializationContext context, ALSOr semanticObject) {
1441 if (errorAcceptor != null) {
1442 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND) == ValueTransient.YES)
1443 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND));
1444 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND) == ValueTransient.YES)
1445 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND));
1446 }
1447 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1448 feeder.accept(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1449 feeder.accept(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1450 feeder.finish();
1451 }
1452
1453
1454 /**
1455 * Contexts:
1456 * ALSTerm returns ALSOverride
1457 * ALSQuantified returns ALSOverride
1458 * ALSOr returns ALSOverride
1459 * ALSOr.ALSOr_1_0 returns ALSOverride
1460 * ALSIff returns ALSOverride
1461 * ALSIff.ALSIff_1_0 returns ALSOverride
1462 * ALSImpl returns ALSOverride
1463 * ALSImpl.ALSImpl_1_0 returns ALSOverride
1464 * ALSAnd returns ALSOverride
1465 * ALSAnd.ALSAnd_1_0 returns ALSOverride
1466 * ALSComparison returns ALSOverride
1467 * ALSComparison.ALSEquals_1_0_0_0 returns ALSOverride
1468 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOverride
1469 * ALSComparison.ALSSubset_1_0_2_0 returns ALSOverride
1470 * ALSComparison.ALSLess_1_0_3_0 returns ALSOverride
1471 * ALSComparison.ALSLeq_1_0_4_0 returns ALSOverride
1472 * ALSComparison.ALSMore_1_0_5_0 returns ALSOverride
1473 * ALSComparison.ALSMeq_1_0_6_0 returns ALSOverride
1474 * ALSOverride returns ALSOverride
1475 * ALSOverride.ALSOverride_1_0 returns ALSOverride
1476 * ALSRangeRestrictionRight returns ALSOverride
1477 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOverride
1478 * ALSRangeRestrictionLeft returns ALSOverride
1479 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOverride
1480 * ALSJoin returns ALSOverride
1481 * ALSJoin.ALSJoin_1_0 returns ALSOverride
1482 * ALSMinus returns ALSOverride
1483 * ALSMinus.ALSMinus_1_0 returns ALSOverride
1484 * ALSPlus returns ALSOverride
1485 * ALSPlus.ALSPlus_1_0 returns ALSOverride
1486 * ALSIntersection returns ALSOverride
1487 * ALSIntersection.ALSIntersection_1_0 returns ALSOverride
1488 * ALSDirectProduct returns ALSOverride
1489 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOverride
1490 * ALSPreficed returns ALSOverride
1491 * ALSBasicRelationTerm returns ALSOverride
1492 *
1493 * Constraint:
1494 * (leftOperand=ALSOverride_ALSOverride_1_0 rightOperand=ALSRangeRestrictionRight)
1495 */
1496 protected void sequence_ALSOverride(ISerializationContext context, ALSOverride semanticObject) {
1497 if (errorAcceptor != null) {
1498 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND) == ValueTransient.YES)
1499 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND));
1500 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND) == ValueTransient.YES)
1501 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND));
1502 }
1503 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1504 feeder.accept(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1505 feeder.accept(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1506 feeder.finish();
1507 }
1508
1509
1510 /**
1511 * Contexts:
1512 * ALSTerm returns ALSPlus
1513 * ALSQuantified returns ALSPlus
1514 * ALSOr returns ALSPlus
1515 * ALSOr.ALSOr_1_0 returns ALSPlus
1516 * ALSIff returns ALSPlus
1517 * ALSIff.ALSIff_1_0 returns ALSPlus
1518 * ALSImpl returns ALSPlus
1519 * ALSImpl.ALSImpl_1_0 returns ALSPlus
1520 * ALSAnd returns ALSPlus
1521 * ALSAnd.ALSAnd_1_0 returns ALSPlus
1522 * ALSComparison returns ALSPlus
1523 * ALSComparison.ALSEquals_1_0_0_0 returns ALSPlus
1524 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSPlus
1525 * ALSComparison.ALSSubset_1_0_2_0 returns ALSPlus
1526 * ALSComparison.ALSLess_1_0_3_0 returns ALSPlus
1527 * ALSComparison.ALSLeq_1_0_4_0 returns ALSPlus
1528 * ALSComparison.ALSMore_1_0_5_0 returns ALSPlus
1529 * ALSComparison.ALSMeq_1_0_6_0 returns ALSPlus
1530 * ALSOverride returns ALSPlus
1531 * ALSOverride.ALSOverride_1_0 returns ALSPlus
1532 * ALSRangeRestrictionRight returns ALSPlus
1533 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSPlus
1534 * ALSRangeRestrictionLeft returns ALSPlus
1535 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSPlus
1536 * ALSJoin returns ALSPlus
1537 * ALSJoin.ALSJoin_1_0 returns ALSPlus
1538 * ALSMinus returns ALSPlus
1539 * ALSMinus.ALSMinus_1_0 returns ALSPlus
1540 * ALSPlus returns ALSPlus
1541 * ALSPlus.ALSPlus_1_0 returns ALSPlus
1542 * ALSIntersection returns ALSPlus
1543 * ALSIntersection.ALSIntersection_1_0 returns ALSPlus
1544 * ALSDirectProduct returns ALSPlus
1545 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSPlus
1546 * ALSPreficed returns ALSPlus
1547 * ALSBasicRelationTerm returns ALSPlus
1548 *
1549 * Constraint:
1550 * (leftOperand=ALSPlus_ALSPlus_1_0 rightOperand=ALSIntersection)
1551 */
1552 protected void sequence_ALSPlus(ISerializationContext context, ALSPlus semanticObject) {
1553 if (errorAcceptor != null) {
1554 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND) == ValueTransient.YES)
1555 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND));
1556 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND) == ValueTransient.YES)
1557 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND));
1558 }
1559 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1560 feeder.accept(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(), semanticObject.getLeftOperand());
1561 feeder.accept(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
1562 feeder.finish();
1563 }
1564
1565
1566 /**
1567 * Contexts:
1568 * ALSTerm returns ALSCardinality
1569 * ALSQuantified returns ALSCardinality
1570 * ALSOr returns ALSCardinality
1571 * ALSOr.ALSOr_1_0 returns ALSCardinality
1572 * ALSIff returns ALSCardinality
1573 * ALSIff.ALSIff_1_0 returns ALSCardinality
1574 * ALSImpl returns ALSCardinality
1575 * ALSImpl.ALSImpl_1_0 returns ALSCardinality
1576 * ALSAnd returns ALSCardinality
1577 * ALSAnd.ALSAnd_1_0 returns ALSCardinality
1578 * ALSComparison returns ALSCardinality
1579 * ALSComparison.ALSEquals_1_0_0_0 returns ALSCardinality
1580 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSCardinality
1581 * ALSComparison.ALSSubset_1_0_2_0 returns ALSCardinality
1582 * ALSComparison.ALSLess_1_0_3_0 returns ALSCardinality
1583 * ALSComparison.ALSLeq_1_0_4_0 returns ALSCardinality
1584 * ALSComparison.ALSMore_1_0_5_0 returns ALSCardinality
1585 * ALSComparison.ALSMeq_1_0_6_0 returns ALSCardinality
1586 * ALSOverride returns ALSCardinality
1587 * ALSOverride.ALSOverride_1_0 returns ALSCardinality
1588 * ALSRangeRestrictionRight returns ALSCardinality
1589 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSCardinality
1590 * ALSRangeRestrictionLeft returns ALSCardinality
1591 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSCardinality
1592 * ALSJoin returns ALSCardinality
1593 * ALSJoin.ALSJoin_1_0 returns ALSCardinality
1594 * ALSMinus returns ALSCardinality
1595 * ALSMinus.ALSMinus_1_0 returns ALSCardinality
1596 * ALSPlus returns ALSCardinality
1597 * ALSPlus.ALSPlus_1_0 returns ALSCardinality
1598 * ALSIntersection returns ALSCardinality
1599 * ALSIntersection.ALSIntersection_1_0 returns ALSCardinality
1600 * ALSDirectProduct returns ALSCardinality
1601 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSCardinality
1602 * ALSPreficed returns ALSCardinality
1603 * ALSBasicRelationTerm returns ALSCardinality
1604 *
1605 * Constraint:
1606 * operand=ALSBasicRelationTerm
1607 */
1608 protected void sequence_ALSPreficed(ISerializationContext context, ALSCardinality semanticObject) {
1609 if (errorAcceptor != null) {
1610 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND) == ValueTransient.YES)
1611 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND));
1612 }
1613 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1614 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0(), semanticObject.getOperand());
1615 feeder.finish();
1616 }
1617
1618
1619 /**
1620 * Contexts:
1621 * ALSTerm returns ALSFunctionCall
1622 * ALSQuantified returns ALSFunctionCall
1623 * ALSOr returns ALSFunctionCall
1624 * ALSOr.ALSOr_1_0 returns ALSFunctionCall
1625 * ALSIff returns ALSFunctionCall
1626 * ALSIff.ALSIff_1_0 returns ALSFunctionCall
1627 * ALSImpl returns ALSFunctionCall
1628 * ALSImpl.ALSImpl_1_0 returns ALSFunctionCall
1629 * ALSAnd returns ALSFunctionCall
1630 * ALSAnd.ALSAnd_1_0 returns ALSFunctionCall
1631 * ALSComparison returns ALSFunctionCall
1632 * ALSComparison.ALSEquals_1_0_0_0 returns ALSFunctionCall
1633 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSFunctionCall
1634 * ALSComparison.ALSSubset_1_0_2_0 returns ALSFunctionCall
1635 * ALSComparison.ALSLess_1_0_3_0 returns ALSFunctionCall
1636 * ALSComparison.ALSLeq_1_0_4_0 returns ALSFunctionCall
1637 * ALSComparison.ALSMore_1_0_5_0 returns ALSFunctionCall
1638 * ALSComparison.ALSMeq_1_0_6_0 returns ALSFunctionCall
1639 * ALSOverride returns ALSFunctionCall
1640 * ALSOverride.ALSOverride_1_0 returns ALSFunctionCall
1641 * ALSRangeRestrictionRight returns ALSFunctionCall
1642 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSFunctionCall
1643 * ALSRangeRestrictionLeft returns ALSFunctionCall
1644 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSFunctionCall
1645 * ALSJoin returns ALSFunctionCall
1646 * ALSJoin.ALSJoin_1_0 returns ALSFunctionCall
1647 * ALSMinus returns ALSFunctionCall
1648 * ALSMinus.ALSMinus_1_0 returns ALSFunctionCall
1649 * ALSPlus returns ALSFunctionCall
1650 * ALSPlus.ALSPlus_1_0 returns ALSFunctionCall
1651 * ALSIntersection returns ALSFunctionCall
1652 * ALSIntersection.ALSIntersection_1_0 returns ALSFunctionCall
1653 * ALSDirectProduct returns ALSFunctionCall
1654 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSFunctionCall
1655 * ALSPreficed returns ALSFunctionCall
1656 * ALSBasicRelationTerm returns ALSFunctionCall
1657 *
1658 * Constraint:
1659 * ((referredDefinition=[ALSDefinition|ID] | referredNumericOperator=ALSNumericOperator) params+=ALSTerm params+=ALSTerm*)
1660 */
1661 protected void sequence_ALSPreficed(ISerializationContext context, ALSFunctionCall semanticObject) {
1662 genericSequencer.createSequence(context, semanticObject);
1663 }
1664
1665
1666 /**
1667 * Contexts:
1668 * ALSTerm returns ALSInverseRelation
1669 * ALSQuantified returns ALSInverseRelation
1670 * ALSOr returns ALSInverseRelation
1671 * ALSOr.ALSOr_1_0 returns ALSInverseRelation
1672 * ALSIff returns ALSInverseRelation
1673 * ALSIff.ALSIff_1_0 returns ALSInverseRelation
1674 * ALSImpl returns ALSInverseRelation
1675 * ALSImpl.ALSImpl_1_0 returns ALSInverseRelation
1676 * ALSAnd returns ALSInverseRelation
1677 * ALSAnd.ALSAnd_1_0 returns ALSInverseRelation
1678 * ALSComparison returns ALSInverseRelation
1679 * ALSComparison.ALSEquals_1_0_0_0 returns ALSInverseRelation
1680 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInverseRelation
1681 * ALSComparison.ALSSubset_1_0_2_0 returns ALSInverseRelation
1682 * ALSComparison.ALSLess_1_0_3_0 returns ALSInverseRelation
1683 * ALSComparison.ALSLeq_1_0_4_0 returns ALSInverseRelation
1684 * ALSComparison.ALSMore_1_0_5_0 returns ALSInverseRelation
1685 * ALSComparison.ALSMeq_1_0_6_0 returns ALSInverseRelation
1686 * ALSOverride returns ALSInverseRelation
1687 * ALSOverride.ALSOverride_1_0 returns ALSInverseRelation
1688 * ALSRangeRestrictionRight returns ALSInverseRelation
1689 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInverseRelation
1690 * ALSRangeRestrictionLeft returns ALSInverseRelation
1691 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInverseRelation
1692 * ALSJoin returns ALSInverseRelation
1693 * ALSJoin.ALSJoin_1_0 returns ALSInverseRelation
1694 * ALSMinus returns ALSInverseRelation
1695 * ALSMinus.ALSMinus_1_0 returns ALSInverseRelation
1696 * ALSPlus returns ALSInverseRelation
1697 * ALSPlus.ALSPlus_1_0 returns ALSInverseRelation
1698 * ALSIntersection returns ALSInverseRelation
1699 * ALSIntersection.ALSIntersection_1_0 returns ALSInverseRelation
1700 * ALSDirectProduct returns ALSInverseRelation
1701 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInverseRelation
1702 * ALSPreficed returns ALSInverseRelation
1703 * ALSBasicRelationTerm returns ALSInverseRelation
1704 *
1705 * Constraint:
1706 * operand=ALSBasicRelationTerm
1707 */
1708 protected void sequence_ALSPreficed(ISerializationContext context, ALSInverseRelation semanticObject) {
1709 if (errorAcceptor != null) {
1710 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND) == ValueTransient.YES)
1711 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND));
1712 }
1713 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1714 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0(), semanticObject.getOperand());
1715 feeder.finish();
1716 }
1717
1718
1719 /**
1720 * Contexts:
1721 * ALSTerm returns ALSNot
1722 * ALSQuantified returns ALSNot
1723 * ALSOr returns ALSNot
1724 * ALSOr.ALSOr_1_0 returns ALSNot
1725 * ALSIff returns ALSNot
1726 * ALSIff.ALSIff_1_0 returns ALSNot
1727 * ALSImpl returns ALSNot
1728 * ALSImpl.ALSImpl_1_0 returns ALSNot
1729 * ALSAnd returns ALSNot
1730 * ALSAnd.ALSAnd_1_0 returns ALSNot
1731 * ALSComparison returns ALSNot
1732 * ALSComparison.ALSEquals_1_0_0_0 returns ALSNot
1733 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNot
1734 * ALSComparison.ALSSubset_1_0_2_0 returns ALSNot
1735 * ALSComparison.ALSLess_1_0_3_0 returns ALSNot
1736 * ALSComparison.ALSLeq_1_0_4_0 returns ALSNot
1737 * ALSComparison.ALSMore_1_0_5_0 returns ALSNot
1738 * ALSComparison.ALSMeq_1_0_6_0 returns ALSNot
1739 * ALSOverride returns ALSNot
1740 * ALSOverride.ALSOverride_1_0 returns ALSNot
1741 * ALSRangeRestrictionRight returns ALSNot
1742 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNot
1743 * ALSRangeRestrictionLeft returns ALSNot
1744 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNot
1745 * ALSJoin returns ALSNot
1746 * ALSJoin.ALSJoin_1_0 returns ALSNot
1747 * ALSMinus returns ALSNot
1748 * ALSMinus.ALSMinus_1_0 returns ALSNot
1749 * ALSPlus returns ALSNot
1750 * ALSPlus.ALSPlus_1_0 returns ALSNot
1751 * ALSIntersection returns ALSNot
1752 * ALSIntersection.ALSIntersection_1_0 returns ALSNot
1753 * ALSDirectProduct returns ALSNot
1754 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNot
1755 * ALSPreficed returns ALSNot
1756 * ALSBasicRelationTerm returns ALSNot
1757 *
1758 * Constraint:
1759 * operand=ALSBasicRelationTerm
1760 */
1761 protected void sequence_ALSPreficed(ISerializationContext context, ALSNot semanticObject) {
1762 if (errorAcceptor != null) {
1763 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND) == ValueTransient.YES)
1764 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND));
1765 }
1766 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1767 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0(), semanticObject.getOperand());
1768 feeder.finish();
1769 }
1770
1771
1772 /**
1773 * Contexts:
1774 * ALSTerm returns ALSReflectiveTransitiveClosure
1775 * ALSQuantified returns ALSReflectiveTransitiveClosure
1776 * ALSOr returns ALSReflectiveTransitiveClosure
1777 * ALSOr.ALSOr_1_0 returns ALSReflectiveTransitiveClosure
1778 * ALSIff returns ALSReflectiveTransitiveClosure
1779 * ALSIff.ALSIff_1_0 returns ALSReflectiveTransitiveClosure
1780 * ALSImpl returns ALSReflectiveTransitiveClosure
1781 * ALSImpl.ALSImpl_1_0 returns ALSReflectiveTransitiveClosure
1782 * ALSAnd returns ALSReflectiveTransitiveClosure
1783 * ALSAnd.ALSAnd_1_0 returns ALSReflectiveTransitiveClosure
1784 * ALSComparison returns ALSReflectiveTransitiveClosure
1785 * ALSComparison.ALSEquals_1_0_0_0 returns ALSReflectiveTransitiveClosure
1786 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReflectiveTransitiveClosure
1787 * ALSComparison.ALSSubset_1_0_2_0 returns ALSReflectiveTransitiveClosure
1788 * ALSComparison.ALSLess_1_0_3_0 returns ALSReflectiveTransitiveClosure
1789 * ALSComparison.ALSLeq_1_0_4_0 returns ALSReflectiveTransitiveClosure
1790 * ALSComparison.ALSMore_1_0_5_0 returns ALSReflectiveTransitiveClosure
1791 * ALSComparison.ALSMeq_1_0_6_0 returns ALSReflectiveTransitiveClosure
1792 * ALSOverride returns ALSReflectiveTransitiveClosure
1793 * ALSOverride.ALSOverride_1_0 returns ALSReflectiveTransitiveClosure
1794 * ALSRangeRestrictionRight returns ALSReflectiveTransitiveClosure
1795 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReflectiveTransitiveClosure
1796 * ALSRangeRestrictionLeft returns ALSReflectiveTransitiveClosure
1797 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReflectiveTransitiveClosure
1798 * ALSJoin returns ALSReflectiveTransitiveClosure
1799 * ALSJoin.ALSJoin_1_0 returns ALSReflectiveTransitiveClosure
1800 * ALSMinus returns ALSReflectiveTransitiveClosure
1801 * ALSMinus.ALSMinus_1_0 returns ALSReflectiveTransitiveClosure
1802 * ALSPlus returns ALSReflectiveTransitiveClosure
1803 * ALSPlus.ALSPlus_1_0 returns ALSReflectiveTransitiveClosure
1804 * ALSIntersection returns ALSReflectiveTransitiveClosure
1805 * ALSIntersection.ALSIntersection_1_0 returns ALSReflectiveTransitiveClosure
1806 * ALSDirectProduct returns ALSReflectiveTransitiveClosure
1807 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReflectiveTransitiveClosure
1808 * ALSPreficed returns ALSReflectiveTransitiveClosure
1809 * ALSBasicRelationTerm returns ALSReflectiveTransitiveClosure
1810 *
1811 * Constraint:
1812 * operand=ALSBasicRelationTerm
1813 */
1814 protected void sequence_ALSPreficed(ISerializationContext context, ALSReflectiveTransitiveClosure semanticObject) {
1815 if (errorAcceptor != null) {
1816 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES)
1817 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND));
1818 }
1819 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1820 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0(), semanticObject.getOperand());
1821 feeder.finish();
1822 }
1823
1824
1825 /**
1826 * Contexts:
1827 * ALSTerm returns ALSSum
1828 * ALSQuantified returns ALSSum
1829 * ALSOr returns ALSSum
1830 * ALSOr.ALSOr_1_0 returns ALSSum
1831 * ALSIff returns ALSSum
1832 * ALSIff.ALSIff_1_0 returns ALSSum
1833 * ALSImpl returns ALSSum
1834 * ALSImpl.ALSImpl_1_0 returns ALSSum
1835 * ALSAnd returns ALSSum
1836 * ALSAnd.ALSAnd_1_0 returns ALSSum
1837 * ALSComparison returns ALSSum
1838 * ALSComparison.ALSEquals_1_0_0_0 returns ALSSum
1839 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSum
1840 * ALSComparison.ALSSubset_1_0_2_0 returns ALSSum
1841 * ALSComparison.ALSLess_1_0_3_0 returns ALSSum
1842 * ALSComparison.ALSLeq_1_0_4_0 returns ALSSum
1843 * ALSComparison.ALSMore_1_0_5_0 returns ALSSum
1844 * ALSComparison.ALSMeq_1_0_6_0 returns ALSSum
1845 * ALSOverride returns ALSSum
1846 * ALSOverride.ALSOverride_1_0 returns ALSSum
1847 * ALSRangeRestrictionRight returns ALSSum
1848 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSum
1849 * ALSRangeRestrictionLeft returns ALSSum
1850 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSum
1851 * ALSJoin returns ALSSum
1852 * ALSJoin.ALSJoin_1_0 returns ALSSum
1853 * ALSMinus returns ALSSum
1854 * ALSMinus.ALSMinus_1_0 returns ALSSum
1855 * ALSPlus returns ALSSum
1856 * ALSPlus.ALSPlus_1_0 returns ALSSum
1857 * ALSIntersection returns ALSSum
1858 * ALSIntersection.ALSIntersection_1_0 returns ALSSum
1859 * ALSDirectProduct returns ALSSum
1860 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSum
1861 * ALSPreficed returns ALSSum
1862 * ALSBasicRelationTerm returns ALSSum
1863 *
1864 * Constraint:
1865 * (variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm)
1866 */
1867 protected void sequence_ALSPreficed(ISerializationContext context, ALSSum semanticObject) {
1868 genericSequencer.createSequence(context, semanticObject);
1869 }
1870
1871
1872 /**
1873 * Contexts:
1874 * ALSTerm returns ALSUnaryMinus
1875 * ALSQuantified returns ALSUnaryMinus
1876 * ALSOr returns ALSUnaryMinus
1877 * ALSOr.ALSOr_1_0 returns ALSUnaryMinus
1878 * ALSIff returns ALSUnaryMinus
1879 * ALSIff.ALSIff_1_0 returns ALSUnaryMinus
1880 * ALSImpl returns ALSUnaryMinus
1881 * ALSImpl.ALSImpl_1_0 returns ALSUnaryMinus
1882 * ALSAnd returns ALSUnaryMinus
1883 * ALSAnd.ALSAnd_1_0 returns ALSUnaryMinus
1884 * ALSComparison returns ALSUnaryMinus
1885 * ALSComparison.ALSEquals_1_0_0_0 returns ALSUnaryMinus
1886 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUnaryMinus
1887 * ALSComparison.ALSSubset_1_0_2_0 returns ALSUnaryMinus
1888 * ALSComparison.ALSLess_1_0_3_0 returns ALSUnaryMinus
1889 * ALSComparison.ALSLeq_1_0_4_0 returns ALSUnaryMinus
1890 * ALSComparison.ALSMore_1_0_5_0 returns ALSUnaryMinus
1891 * ALSComparison.ALSMeq_1_0_6_0 returns ALSUnaryMinus
1892 * ALSOverride returns ALSUnaryMinus
1893 * ALSOverride.ALSOverride_1_0 returns ALSUnaryMinus
1894 * ALSRangeRestrictionRight returns ALSUnaryMinus
1895 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUnaryMinus
1896 * ALSRangeRestrictionLeft returns ALSUnaryMinus
1897 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUnaryMinus
1898 * ALSJoin returns ALSUnaryMinus
1899 * ALSJoin.ALSJoin_1_0 returns ALSUnaryMinus
1900 * ALSMinus returns ALSUnaryMinus
1901 * ALSMinus.ALSMinus_1_0 returns ALSUnaryMinus
1902 * ALSPlus returns ALSUnaryMinus
1903 * ALSPlus.ALSPlus_1_0 returns ALSUnaryMinus
1904 * ALSIntersection returns ALSUnaryMinus
1905 * ALSIntersection.ALSIntersection_1_0 returns ALSUnaryMinus
1906 * ALSDirectProduct returns ALSUnaryMinus
1907 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUnaryMinus
1908 * ALSPreficed returns ALSUnaryMinus
1909 * ALSBasicRelationTerm returns ALSUnaryMinus
1910 *
1911 * Constraint:
1912 * operand=ALSBasicRelationTerm
1913 */
1914 protected void sequence_ALSPreficed(ISerializationContext context, ALSUnaryMinus semanticObject) {
1915 if (errorAcceptor != null) {
1916 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND) == ValueTransient.YES)
1917 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND));
1918 }
1919 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1920 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0(), semanticObject.getOperand());
1921 feeder.finish();
1922 }
1923
1924
1925 /**
1926 * Contexts:
1927 * ALSTerm returns AlSTransitiveClosure
1928 * ALSQuantified returns AlSTransitiveClosure
1929 * ALSOr returns AlSTransitiveClosure
1930 * ALSOr.ALSOr_1_0 returns AlSTransitiveClosure
1931 * ALSIff returns AlSTransitiveClosure
1932 * ALSIff.ALSIff_1_0 returns AlSTransitiveClosure
1933 * ALSImpl returns AlSTransitiveClosure
1934 * ALSImpl.ALSImpl_1_0 returns AlSTransitiveClosure
1935 * ALSAnd returns AlSTransitiveClosure
1936 * ALSAnd.ALSAnd_1_0 returns AlSTransitiveClosure
1937 * ALSComparison returns AlSTransitiveClosure
1938 * ALSComparison.ALSEquals_1_0_0_0 returns AlSTransitiveClosure
1939 * ALSComparison.ALSNotEquals_1_0_1_0 returns AlSTransitiveClosure
1940 * ALSComparison.ALSSubset_1_0_2_0 returns AlSTransitiveClosure
1941 * ALSComparison.ALSLess_1_0_3_0 returns AlSTransitiveClosure
1942 * ALSComparison.ALSLeq_1_0_4_0 returns AlSTransitiveClosure
1943 * ALSComparison.ALSMore_1_0_5_0 returns AlSTransitiveClosure
1944 * ALSComparison.ALSMeq_1_0_6_0 returns AlSTransitiveClosure
1945 * ALSOverride returns AlSTransitiveClosure
1946 * ALSOverride.ALSOverride_1_0 returns AlSTransitiveClosure
1947 * ALSRangeRestrictionRight returns AlSTransitiveClosure
1948 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns AlSTransitiveClosure
1949 * ALSRangeRestrictionLeft returns AlSTransitiveClosure
1950 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns AlSTransitiveClosure
1951 * ALSJoin returns AlSTransitiveClosure
1952 * ALSJoin.ALSJoin_1_0 returns AlSTransitiveClosure
1953 * ALSMinus returns AlSTransitiveClosure
1954 * ALSMinus.ALSMinus_1_0 returns AlSTransitiveClosure
1955 * ALSPlus returns AlSTransitiveClosure
1956 * ALSPlus.ALSPlus_1_0 returns AlSTransitiveClosure
1957 * ALSIntersection returns AlSTransitiveClosure
1958 * ALSIntersection.ALSIntersection_1_0 returns AlSTransitiveClosure
1959 * ALSDirectProduct returns AlSTransitiveClosure
1960 * ALSDirectProduct.ALSDirectProduct_1_0 returns AlSTransitiveClosure
1961 * ALSPreficed returns AlSTransitiveClosure
1962 * ALSBasicRelationTerm returns AlSTransitiveClosure
1963 *
1964 * Constraint:
1965 * operand=ALSBasicRelationTerm
1966 */
1967 protected void sequence_ALSPreficed(ISerializationContext context, AlSTransitiveClosure semanticObject) {
1968 if (errorAcceptor != null) {
1969 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES)
1970 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND));
1971 }
1972 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
1973 feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0(), semanticObject.getOperand());
1974 feeder.finish();
1975 }
1976
1977
1978 /**
1979 * Contexts:
1980 * ALSTerm returns ALSQuantifiedEx
1981 * ALSQuantified returns ALSQuantifiedEx
1982 * ALSOr returns ALSQuantifiedEx
1983 * ALSOr.ALSOr_1_0 returns ALSQuantifiedEx
1984 * ALSIff returns ALSQuantifiedEx
1985 * ALSIff.ALSIff_1_0 returns ALSQuantifiedEx
1986 * ALSImpl returns ALSQuantifiedEx
1987 * ALSImpl.ALSImpl_1_0 returns ALSQuantifiedEx
1988 * ALSAnd returns ALSQuantifiedEx
1989 * ALSAnd.ALSAnd_1_0 returns ALSQuantifiedEx
1990 * ALSComparison returns ALSQuantifiedEx
1991 * ALSComparison.ALSEquals_1_0_0_0 returns ALSQuantifiedEx
1992 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSQuantifiedEx
1993 * ALSComparison.ALSSubset_1_0_2_0 returns ALSQuantifiedEx
1994 * ALSComparison.ALSLess_1_0_3_0 returns ALSQuantifiedEx
1995 * ALSComparison.ALSLeq_1_0_4_0 returns ALSQuantifiedEx
1996 * ALSComparison.ALSMore_1_0_5_0 returns ALSQuantifiedEx
1997 * ALSComparison.ALSMeq_1_0_6_0 returns ALSQuantifiedEx
1998 * ALSOverride returns ALSQuantifiedEx
1999 * ALSOverride.ALSOverride_1_0 returns ALSQuantifiedEx
2000 * ALSRangeRestrictionRight returns ALSQuantifiedEx
2001 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSQuantifiedEx
2002 * ALSRangeRestrictionLeft returns ALSQuantifiedEx
2003 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSQuantifiedEx
2004 * ALSJoin returns ALSQuantifiedEx
2005 * ALSJoin.ALSJoin_1_0 returns ALSQuantifiedEx
2006 * ALSMinus returns ALSQuantifiedEx
2007 * ALSMinus.ALSMinus_1_0 returns ALSQuantifiedEx
2008 * ALSPlus returns ALSQuantifiedEx
2009 * ALSPlus.ALSPlus_1_0 returns ALSQuantifiedEx
2010 * ALSIntersection returns ALSQuantifiedEx
2011 * ALSIntersection.ALSIntersection_1_0 returns ALSQuantifiedEx
2012 * ALSDirectProduct returns ALSQuantifiedEx
2013 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSQuantifiedEx
2014 * ALSPreficed returns ALSQuantifiedEx
2015 * ALSBasicRelationTerm returns ALSQuantifiedEx
2016 *
2017 * Constraint:
2018 * (type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm)
2019 */
2020 protected void sequence_ALSQuantified(ISerializationContext context, ALSQuantifiedEx semanticObject) {
2021 genericSequencer.createSequence(context, semanticObject);
2022 }
2023
2024
2025 /**
2026 * Contexts:
2027 * ALSTerm returns ALSRangeRestrictionLeft
2028 * ALSQuantified returns ALSRangeRestrictionLeft
2029 * ALSOr returns ALSRangeRestrictionLeft
2030 * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionLeft
2031 * ALSIff returns ALSRangeRestrictionLeft
2032 * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionLeft
2033 * ALSImpl returns ALSRangeRestrictionLeft
2034 * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionLeft
2035 * ALSAnd returns ALSRangeRestrictionLeft
2036 * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionLeft
2037 * ALSComparison returns ALSRangeRestrictionLeft
2038 * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionLeft
2039 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionLeft
2040 * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionLeft
2041 * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionLeft
2042 * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionLeft
2043 * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionLeft
2044 * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionLeft
2045 * ALSOverride returns ALSRangeRestrictionLeft
2046 * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionLeft
2047 * ALSRangeRestrictionRight returns ALSRangeRestrictionLeft
2048 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionLeft
2049 * ALSRangeRestrictionLeft returns ALSRangeRestrictionLeft
2050 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionLeft
2051 * ALSJoin returns ALSRangeRestrictionLeft
2052 * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionLeft
2053 * ALSMinus returns ALSRangeRestrictionLeft
2054 * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionLeft
2055 * ALSPlus returns ALSRangeRestrictionLeft
2056 * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionLeft
2057 * ALSIntersection returns ALSRangeRestrictionLeft
2058 * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionLeft
2059 * ALSDirectProduct returns ALSRangeRestrictionLeft
2060 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionLeft
2061 * ALSPreficed returns ALSRangeRestrictionLeft
2062 * ALSBasicRelationTerm returns ALSRangeRestrictionLeft
2063 *
2064 * Constraint:
2065 * (filter=ALSRangeRestrictionLeft_ALSRangeRestrictionLeft_1_0 relation=ALSJoin)
2066 */
2067 protected void sequence_ALSRangeRestrictionLeft(ISerializationContext context, ALSRangeRestrictionLeft semanticObject) {
2068 if (errorAcceptor != null) {
2069 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER) == ValueTransient.YES)
2070 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER));
2071 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION) == ValueTransient.YES)
2072 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION));
2073 }
2074 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2075 feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(), semanticObject.getFilter());
2076 feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0(), semanticObject.getRelation());
2077 feeder.finish();
2078 }
2079
2080
2081 /**
2082 * Contexts:
2083 * ALSTerm returns ALSRangeRestrictionRight
2084 * ALSQuantified returns ALSRangeRestrictionRight
2085 * ALSOr returns ALSRangeRestrictionRight
2086 * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionRight
2087 * ALSIff returns ALSRangeRestrictionRight
2088 * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionRight
2089 * ALSImpl returns ALSRangeRestrictionRight
2090 * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionRight
2091 * ALSAnd returns ALSRangeRestrictionRight
2092 * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionRight
2093 * ALSComparison returns ALSRangeRestrictionRight
2094 * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionRight
2095 * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionRight
2096 * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionRight
2097 * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionRight
2098 * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionRight
2099 * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionRight
2100 * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionRight
2101 * ALSOverride returns ALSRangeRestrictionRight
2102 * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionRight
2103 * ALSRangeRestrictionRight returns ALSRangeRestrictionRight
2104 * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionRight
2105 * ALSRangeRestrictionLeft returns ALSRangeRestrictionRight
2106 * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionRight
2107 * ALSJoin returns ALSRangeRestrictionRight
2108 * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionRight
2109 * ALSMinus returns ALSRangeRestrictionRight
2110 * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionRight
2111 * ALSPlus returns ALSRangeRestrictionRight
2112 * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionRight
2113 * ALSIntersection returns ALSRangeRestrictionRight
2114 * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionRight
2115 * ALSDirectProduct returns ALSRangeRestrictionRight
2116 * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionRight
2117 * ALSPreficed returns ALSRangeRestrictionRight
2118 * ALSBasicRelationTerm returns ALSRangeRestrictionRight
2119 *
2120 * Constraint:
2121 * (relation=ALSRangeRestrictionRight_ALSRangeRestrictionRight_1_0 filter=ALSRangeRestrictionLeft)
2122 */
2123 protected void sequence_ALSRangeRestrictionRight(ISerializationContext context, ALSRangeRestrictionRight semanticObject) {
2124 if (errorAcceptor != null) {
2125 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION) == ValueTransient.YES)
2126 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION));
2127 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER) == ValueTransient.YES)
2128 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER));
2129 }
2130 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2131 feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(), semanticObject.getRelation());
2132 feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0(), semanticObject.getFilter());
2133 feeder.finish();
2134 }
2135
2136
2137 /**
2138 * Contexts:
2139 * ALSDefinition returns ALSRelationDefinition
2140 * ALSRelationDefinition returns ALSRelationDefinition
2141 *
2142 * Constraint:
2143 * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* value=ALSTerm)
2144 */
2145 protected void sequence_ALSRelationDefinition(ISerializationContext context, ALSRelationDefinition semanticObject) {
2146 genericSequencer.createSequence(context, semanticObject);
2147 }
2148
2149
2150 /**
2151 * Contexts:
2152 * ALSRunCommand returns ALSRunCommand
2153 *
2154 * Constraint:
2155 * (typeScopes+=ALSTypeScope typeScopes+=ALSTypeScope*)?
2156 */
2157 protected void sequence_ALSRunCommand(ISerializationContext context, ALSRunCommand semanticObject) {
2158 genericSequencer.createSequence(context, semanticObject);
2159 }
2160
2161
2162 /**
2163 * Contexts:
2164 * ALSTypeScope returns ALSSigScope
2165 * ALSSigScope returns ALSSigScope
2166 *
2167 * Constraint:
2168 * (exactly?='exactly'? number=INT type=[ALSSignatureDeclaration|ID])
2169 */
2170 protected void sequence_ALSSigScope(ISerializationContext context, ALSSigScope semanticObject) {
2171 genericSequencer.createSequence(context, semanticObject);
2172 }
2173
2174
2175 /**
2176 * Contexts:
2177 * ALSSignatureBody returns ALSSignatureBody
2178 *
2179 * Constraint:
2180 * (
2181 * (multiplicity=ALSMultiplicity | abstract?='abstract')*
2182 * declarations+=ALSSignatureDeclaration
2183 * declarations+=ALSSignatureDeclaration*
2184 * (supertype=[ALSSignatureDeclaration|ID] | (superset+=[ALSSignatureDeclaration|ID] superset+=[ALSSignatureDeclaration|ID]*))?
2185 * (fields+=ALSFieldDeclaration fields+=ALSFieldDeclaration*)?
2186 * )
2187 */
2188 protected void sequence_ALSSignatureBody(ISerializationContext context, ALSSignatureBody semanticObject) {
2189 genericSequencer.createSequence(context, semanticObject);
2190 }
2191
2192
2193 /**
2194 * Contexts:
2195 * ALSRelationDeclaration returns ALSSignatureDeclaration
2196 * ALSTypeDeclaration returns ALSSignatureDeclaration
2197 * ALSSignatureDeclaration returns ALSSignatureDeclaration
2198 *
2199 * Constraint:
2200 * name=ALSID
2201 */
2202 protected void sequence_ALSSignatureDeclaration(ISerializationContext context, ALSSignatureDeclaration semanticObject) {
2203 if (errorAcceptor != null) {
2204 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
2205 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
2206 }
2207 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2208 feeder.accept(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName());
2209 feeder.finish();
2210 }
2211
2212
2213 /**
2214 * Contexts:
2215 * ALSRelationDeclaration returns ALSVariableDeclaration
2216 * ALSVariableDeclaration returns ALSVariableDeclaration
2217 *
2218 * Constraint:
2219 * (name=ALSID range=ALSTerm)
2220 */
2221 protected void sequence_ALSVariableDeclaration(ISerializationContext context, ALSVariableDeclaration semanticObject) {
2222 if (errorAcceptor != null) {
2223 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES)
2224 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME));
2225 if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE) == ValueTransient.YES)
2226 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE));
2227 }
2228 SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
2229 feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0(), semanticObject.getName());
2230 feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0(), semanticObject.getRange());
2231 feeder.finish();
2232 }
2233
2234
2235}
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java
new file mode 100644
index 00000000..4c1eaf02
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java
@@ -0,0 +1,214 @@
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_6_0_a;
26 protected AbstractElementAlias match_ALSBasicRelationTerm_LeftParenthesisKeyword_6_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_6_0_a = new TokenAlias(true, true, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_6_0());
37 match_ALSBasicRelationTerm_LeftParenthesisKeyword_6_0_p = new TokenAlias(true, false, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_6_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_6_0_a.equals(syntax))
59 emit_ALSBasicRelationTerm_LeftParenthesisKeyword_6_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
60 else if (match_ALSBasicRelationTerm_LeftParenthesisKeyword_6_0_p.equals(syntax))
61 emit_ALSBasicRelationTerm_LeftParenthesisKeyword_6_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) '^' operand=ALSBasicRelationTerm
95 * (rule start) (ambiguity) 'iden' (rule start)
96 * (rule start) (ambiguity) 'none' (rule start)
97 * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration
98 * (rule start) (ambiguity) 'univ' (rule start)
99 * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm
100 * (rule start) (ambiguity) ('!' | 'not') operand=ALSBasicRelationTerm
101 * (rule start) (ambiguity) referred=[ALSRelationDeclaration|ID]
102 * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID]
103 * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator
104 * (rule start) (ambiguity) type=ALSMultiplicity
105 * (rule start) (ambiguity) value=INT
106 * (rule start) (ambiguity) {ALSAnd.leftOperand=}
107 * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=}
108 * (rule start) (ambiguity) {ALSEquals.leftOperand=}
109 * (rule start) (ambiguity) {ALSIff.leftOperand=}
110 * (rule start) (ambiguity) {ALSImpl.leftOperand=}
111 * (rule start) (ambiguity) {ALSIntersection.leftOperand=}
112 * (rule start) (ambiguity) {ALSJoin.leftOperand=}
113 * (rule start) (ambiguity) {ALSLeq.leftOperand=}
114 * (rule start) (ambiguity) {ALSLess.leftOperand=}
115 * (rule start) (ambiguity) {ALSMeq.leftOperand=}
116 * (rule start) (ambiguity) {ALSMinus.leftOperand=}
117 * (rule start) (ambiguity) {ALSMore.leftOperand=}
118 * (rule start) (ambiguity) {ALSNotEquals.leftOperand=}
119 * (rule start) (ambiguity) {ALSOr.leftOperand=}
120 * (rule start) (ambiguity) {ALSOverride.leftOperand=}
121 * (rule start) (ambiguity) {ALSPlus.leftOperand=}
122 * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=}
123 * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=}
124 * (rule start) (ambiguity) {ALSSubset.leftOperand=}
125 */
126 protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_6_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
127 acceptNodes(transition, nodes);
128 }
129
130 /**
131 * Ambiguous syntax:
132 * '('+
133 *
134 * This ambiguous syntax occurs at:
135 * (rule start) (ambiguity) '#' operand=ALSBasicRelationTerm
136 * (rule start) (ambiguity) '*' operand=ALSBasicRelationTerm
137 * (rule start) (ambiguity) '-' operand=ALSBasicRelationTerm
138 * (rule start) (ambiguity) '^' operand=ALSBasicRelationTerm
139 * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration
140 * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm
141 * (rule start) (ambiguity) ('!' | 'not') operand=ALSBasicRelationTerm
142 * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID]
143 * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator
144 * (rule start) (ambiguity) type=ALSMultiplicity
145 * (rule start) (ambiguity) {ALSAnd.leftOperand=}
146 * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=}
147 * (rule start) (ambiguity) {ALSEquals.leftOperand=}
148 * (rule start) (ambiguity) {ALSIff.leftOperand=}
149 * (rule start) (ambiguity) {ALSImpl.leftOperand=}
150 * (rule start) (ambiguity) {ALSIntersection.leftOperand=}
151 * (rule start) (ambiguity) {ALSJoin.leftOperand=}
152 * (rule start) (ambiguity) {ALSLeq.leftOperand=}
153 * (rule start) (ambiguity) {ALSLess.leftOperand=}
154 * (rule start) (ambiguity) {ALSMeq.leftOperand=}
155 * (rule start) (ambiguity) {ALSMinus.leftOperand=}
156 * (rule start) (ambiguity) {ALSMore.leftOperand=}
157 * (rule start) (ambiguity) {ALSNotEquals.leftOperand=}
158 * (rule start) (ambiguity) {ALSOr.leftOperand=}
159 * (rule start) (ambiguity) {ALSOverride.leftOperand=}
160 * (rule start) (ambiguity) {ALSPlus.leftOperand=}
161 * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=}
162 * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=}
163 * (rule start) (ambiguity) {ALSSubset.leftOperand=}
164 */
165 protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_6_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
166 acceptNodes(transition, nodes);
167 }
168
169 /**
170 * Ambiguous syntax:
171 * 'iff' | '<=>'
172 *
173 * This ambiguous syntax occurs at:
174 * {ALSIff.leftOperand=} (ambiguity) rightOperand=ALSImpl
175 */
176 protected void emit_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
177 acceptNodes(transition, nodes);
178 }
179
180 /**
181 * Ambiguous syntax:
182 * '=>' | 'implies'
183 *
184 * This ambiguous syntax occurs at:
185 * {ALSImpl.leftOperand=} (ambiguity) rightOperand=ALSAnd
186 */
187 protected void emit_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
188 acceptNodes(transition, nodes);
189 }
190
191 /**
192 * Ambiguous syntax:
193 * '||' | 'or'
194 *
195 * This ambiguous syntax occurs at:
196 * {ALSOr.leftOperand=} (ambiguity) rightOperand=ALSIff
197 */
198 protected void emit_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
199 acceptNodes(transition, nodes);
200 }
201
202 /**
203 * Ambiguous syntax:
204 * '!' | 'not'
205 *
206 * This ambiguous syntax occurs at:
207 * (rule start) '('* (ambiguity) operand=ALSBasicRelationTerm
208 * (rule start) '('+ (ambiguity) operand=ALSBasicRelationTerm
209 */
210 protected void emit_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
211 acceptNodes(transition, nodes);
212 }
213
214}
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java
new file mode 100644
index 00000000..1ccf8905
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java
@@ -0,0 +1,2649 @@
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 cALSReferenceAction_4_0 = (Action)cGroup_4.eContents().get(0);
1727 private final Assignment cReferredAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
1728 private final CrossReference cReferredALSRelationDeclarationCrossReference_4_1_0 = (CrossReference)cReferredAssignment_4_1.eContents().get(0);
1729 private final RuleCall cReferredALSRelationDeclarationIDTerminalRuleCall_4_1_0_1 = (RuleCall)cReferredALSRelationDeclarationCrossReference_4_1_0.eContents().get(1);
1730 private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5);
1731 private final Action cALSNumberLiteralAction_5_0 = (Action)cGroup_5.eContents().get(0);
1732 private final Assignment cValueAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
1733 private final RuleCall cValueINTTerminalRuleCall_5_1_0 = (RuleCall)cValueAssignment_5_1.eContents().get(0);
1734 private final Group cGroup_6 = (Group)cAlternatives.eContents().get(6);
1735 private final Keyword cLeftParenthesisKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0);
1736 private final RuleCall cALSTermParserRuleCall_6_1 = (RuleCall)cGroup_6.eContents().get(1);
1737 private final Keyword cRightParenthesisKeyword_6_2 = (Keyword)cGroup_6.eContents().get(2);
1738
1739 //ALSBasicRelationTerm ALSTerm:
1740 // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSReference}
1741 // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT |
1742 // '(' ALSTerm ')';
1743 @Override public ParserRule getRule() { return rule; }
1744
1745 //{ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSReference}
1746 //referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | '(' ALSTerm ')'
1747 public Alternatives getAlternatives() { return cAlternatives; }
1748
1749 //{ALSNone} 'none'
1750 public Group getGroup_0() { return cGroup_0; }
1751
1752 //{ALSNone}
1753 public Action getALSNoneAction_0_0() { return cALSNoneAction_0_0; }
1754
1755 //'none'
1756 public Keyword getNoneKeyword_0_1() { return cNoneKeyword_0_1; }
1757
1758 //{ALSIden} 'iden'
1759 public Group getGroup_1() { return cGroup_1; }
1760
1761 //{ALSIden}
1762 public Action getALSIdenAction_1_0() { return cALSIdenAction_1_0; }
1763
1764 //'iden'
1765 public Keyword getIdenKeyword_1_1() { return cIdenKeyword_1_1; }
1766
1767 //{ALSUniv} 'univ'
1768 public Group getGroup_2() { return cGroup_2; }
1769
1770 //{ALSUniv}
1771 public Action getALSUnivAction_2_0() { return cALSUnivAction_2_0; }
1772
1773 //'univ'
1774 public Keyword getUnivKeyword_2_1() { return cUnivKeyword_2_1; }
1775
1776 //{ALSInt} 'Int'
1777 public Group getGroup_3() { return cGroup_3; }
1778
1779 //{ALSInt}
1780 public Action getALSIntAction_3_0() { return cALSIntAction_3_0; }
1781
1782 //'Int'
1783 public Keyword getIntKeyword_3_1() { return cIntKeyword_3_1; }
1784
1785 //{ALSReference} referred=[ALSRelationDeclaration]
1786 public Group getGroup_4() { return cGroup_4; }
1787
1788 //{ALSReference}
1789 public Action getALSReferenceAction_4_0() { return cALSReferenceAction_4_0; }
1790
1791 //referred=[ALSRelationDeclaration]
1792 public Assignment getReferredAssignment_4_1() { return cReferredAssignment_4_1; }
1793
1794 //[ALSRelationDeclaration]
1795 public CrossReference getReferredALSRelationDeclarationCrossReference_4_1_0() { return cReferredALSRelationDeclarationCrossReference_4_1_0; }
1796
1797 //ID
1798 public RuleCall getReferredALSRelationDeclarationIDTerminalRuleCall_4_1_0_1() { return cReferredALSRelationDeclarationIDTerminalRuleCall_4_1_0_1; }
1799
1800 //{ALSNumberLiteral} value=INT
1801 public Group getGroup_5() { return cGroup_5; }
1802
1803 //{ALSNumberLiteral}
1804 public Action getALSNumberLiteralAction_5_0() { return cALSNumberLiteralAction_5_0; }
1805
1806 //value=INT
1807 public Assignment getValueAssignment_5_1() { return cValueAssignment_5_1; }
1808
1809 //INT
1810 public RuleCall getValueINTTerminalRuleCall_5_1_0() { return cValueINTTerminalRuleCall_5_1_0; }
1811
1812 //'(' ALSTerm ')'
1813 public Group getGroup_6() { return cGroup_6; }
1814
1815 //'('
1816 public Keyword getLeftParenthesisKeyword_6_0() { return cLeftParenthesisKeyword_6_0; }
1817
1818 //ALSTerm
1819 public RuleCall getALSTermParserRuleCall_6_1() { return cALSTermParserRuleCall_6_1; }
1820
1821 //')'
1822 public Keyword getRightParenthesisKeyword_6_2() { return cRightParenthesisKeyword_6_2; }
1823 }
1824
1825 public class ALSRunCommandElements extends AbstractParserRuleElementFinder {
1826 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand");
1827 private final Group cGroup = (Group)rule.eContents().get(1);
1828 private final Action cALSRunCommandAction_0 = (Action)cGroup.eContents().get(0);
1829 private final Keyword cRunKeyword_1 = (Keyword)cGroup.eContents().get(1);
1830 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
1831 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1832 private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
1833 private final Keyword cForKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
1834 private final Assignment cTypeScopesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
1835 private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_1_0 = (RuleCall)cTypeScopesAssignment_4_1.eContents().get(0);
1836 private final Group cGroup_4_2 = (Group)cGroup_4.eContents().get(2);
1837 private final Keyword cCommaKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0);
1838 private final Assignment cTypeScopesAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1);
1839 private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0 = (RuleCall)cTypeScopesAssignment_4_2_1.eContents().get(0);
1840
1841 ////////////////////////////////////
1842 //// ALS Commands and scopes
1843 ////////////////////////////////////
1844 //ALSRunCommand:
1845 // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?;
1846 @Override public ParserRule getRule() { return rule; }
1847
1848 //{ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?
1849 public Group getGroup() { return cGroup; }
1850
1851 //{ALSRunCommand}
1852 public Action getALSRunCommandAction_0() { return cALSRunCommandAction_0; }
1853
1854 //'run'
1855 public Keyword getRunKeyword_1() { return cRunKeyword_1; }
1856
1857 //'{'
1858 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
1859
1860 //'}'
1861 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
1862
1863 //('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?
1864 public Group getGroup_4() { return cGroup_4; }
1865
1866 //'for'
1867 public Keyword getForKeyword_4_0() { return cForKeyword_4_0; }
1868
1869 //typeScopes+=ALSTypeScope
1870 public Assignment getTypeScopesAssignment_4_1() { return cTypeScopesAssignment_4_1; }
1871
1872 //ALSTypeScope
1873 public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_1_0; }
1874
1875 //(',' typeScopes+=ALSTypeScope)*
1876 public Group getGroup_4_2() { return cGroup_4_2; }
1877
1878 //','
1879 public Keyword getCommaKeyword_4_2_0() { return cCommaKeyword_4_2_0; }
1880
1881 //typeScopes+=ALSTypeScope
1882 public Assignment getTypeScopesAssignment_4_2_1() { return cTypeScopesAssignment_4_2_1; }
1883
1884 //ALSTypeScope
1885 public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0; }
1886 }
1887
1888 public class ALSTypeScopeElements extends AbstractParserRuleElementFinder {
1889 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope");
1890 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1891 private final RuleCall cALSSigScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1892 private final RuleCall cALSIntScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1893
1894 //ALSTypeScope:
1895 // ALSSigScope | ALSIntScope;
1896 @Override public ParserRule getRule() { return rule; }
1897
1898 //ALSSigScope | ALSIntScope
1899 public Alternatives getAlternatives() { return cAlternatives; }
1900
1901 //ALSSigScope
1902 public RuleCall getALSSigScopeParserRuleCall_0() { return cALSSigScopeParserRuleCall_0; }
1903
1904 //ALSIntScope
1905 public RuleCall getALSIntScopeParserRuleCall_1() { return cALSIntScopeParserRuleCall_1; }
1906 }
1907
1908 public class ALSSigScopeElements extends AbstractParserRuleElementFinder {
1909 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSigScope");
1910 private final Group cGroup = (Group)rule.eContents().get(1);
1911 private final Assignment cExactlyAssignment_0 = (Assignment)cGroup.eContents().get(0);
1912 private final Keyword cExactlyExactlyKeyword_0_0 = (Keyword)cExactlyAssignment_0.eContents().get(0);
1913 private final Assignment cNumberAssignment_1 = (Assignment)cGroup.eContents().get(1);
1914 private final RuleCall cNumberINTTerminalRuleCall_1_0 = (RuleCall)cNumberAssignment_1.eContents().get(0);
1915 private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2);
1916 private final CrossReference cTypeALSSignatureDeclarationCrossReference_2_0 = (CrossReference)cTypeAssignment_2.eContents().get(0);
1917 private final RuleCall cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cTypeALSSignatureDeclarationCrossReference_2_0.eContents().get(1);
1918
1919 //ALSSigScope:
1920 // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration];
1921 @Override public ParserRule getRule() { return rule; }
1922
1923 //exactly?='exactly'? number=INT type=[ALSSignatureDeclaration]
1924 public Group getGroup() { return cGroup; }
1925
1926 //exactly?='exactly'?
1927 public Assignment getExactlyAssignment_0() { return cExactlyAssignment_0; }
1928
1929 //'exactly'
1930 public Keyword getExactlyExactlyKeyword_0_0() { return cExactlyExactlyKeyword_0_0; }
1931
1932 //number=INT
1933 public Assignment getNumberAssignment_1() { return cNumberAssignment_1; }
1934
1935 //INT
1936 public RuleCall getNumberINTTerminalRuleCall_1_0() { return cNumberINTTerminalRuleCall_1_0; }
1937
1938 //type=[ALSSignatureDeclaration]
1939 public Assignment getTypeAssignment_2() { return cTypeAssignment_2; }
1940
1941 //[ALSSignatureDeclaration]
1942 public CrossReference getTypeALSSignatureDeclarationCrossReference_2_0() { return cTypeALSSignatureDeclarationCrossReference_2_0; }
1943
1944 //ID
1945 public RuleCall getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1() { return cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1; }
1946 }
1947
1948 public class ALSIntScopeElements extends AbstractParserRuleElementFinder {
1949 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntScope");
1950 private final Group cGroup = (Group)rule.eContents().get(1);
1951 private final Assignment cNumberAssignment_0 = (Assignment)cGroup.eContents().get(0);
1952 private final RuleCall cNumberINTTerminalRuleCall_0_0 = (RuleCall)cNumberAssignment_0.eContents().get(0);
1953 private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1);
1954
1955 //ALSIntScope:
1956 // number=INT 'Int';
1957 @Override public ParserRule getRule() { return rule; }
1958
1959 //number=INT 'Int'
1960 public Group getGroup() { return cGroup; }
1961
1962 //number=INT
1963 public Assignment getNumberAssignment_0() { return cNumberAssignment_0; }
1964
1965 //INT
1966 public RuleCall getNumberINTTerminalRuleCall_0_0() { return cNumberINTTerminalRuleCall_0_0; }
1967
1968 //'Int'
1969 public Keyword getIntKeyword_1() { return cIntKeyword_1; }
1970 }
1971
1972
1973 public class ALSMultiplicityElements extends AbstractEnumRuleElementFinder {
1974 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity");
1975 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1976 private final EnumLiteralDeclaration cAllEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
1977 private final Keyword cAllAllKeyword_0_0 = (Keyword)cAllEnumLiteralDeclaration_0.eContents().get(0);
1978 private final EnumLiteralDeclaration cNoEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
1979 private final Keyword cNoNoKeyword_1_0 = (Keyword)cNoEnumLiteralDeclaration_1.eContents().get(0);
1980 private final EnumLiteralDeclaration cSomeEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
1981 private final Keyword cSomeSomeKeyword_2_0 = (Keyword)cSomeEnumLiteralDeclaration_2.eContents().get(0);
1982 private final EnumLiteralDeclaration cLoneEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
1983 private final Keyword cLoneLoneKeyword_3_0 = (Keyword)cLoneEnumLiteralDeclaration_3.eContents().get(0);
1984 private final EnumLiteralDeclaration cOneEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
1985 private final Keyword cOneOneKeyword_4_0 = (Keyword)cOneEnumLiteralDeclaration_4.eContents().get(0);
1986 private final EnumLiteralDeclaration cSetEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
1987 private final Keyword cSetSetKeyword_5_0 = (Keyword)cSetEnumLiteralDeclaration_5.eContents().get(0);
1988
1989 //enum ALSMultiplicity:
1990 // all | no | some | lone | one | set;
1991 public EnumRule getRule() { return rule; }
1992
1993 //all | no | some | lone | one | set
1994 public Alternatives getAlternatives() { return cAlternatives; }
1995
1996 //all
1997 public EnumLiteralDeclaration getAllEnumLiteralDeclaration_0() { return cAllEnumLiteralDeclaration_0; }
1998
1999 //"all"
2000 public Keyword getAllAllKeyword_0_0() { return cAllAllKeyword_0_0; }
2001
2002 //no
2003 public EnumLiteralDeclaration getNoEnumLiteralDeclaration_1() { return cNoEnumLiteralDeclaration_1; }
2004
2005 //"no"
2006 public Keyword getNoNoKeyword_1_0() { return cNoNoKeyword_1_0; }
2007
2008 //some
2009 public EnumLiteralDeclaration getSomeEnumLiteralDeclaration_2() { return cSomeEnumLiteralDeclaration_2; }
2010
2011 //"some"
2012 public Keyword getSomeSomeKeyword_2_0() { return cSomeSomeKeyword_2_0; }
2013
2014 //lone
2015 public EnumLiteralDeclaration getLoneEnumLiteralDeclaration_3() { return cLoneEnumLiteralDeclaration_3; }
2016
2017 //"lone"
2018 public Keyword getLoneLoneKeyword_3_0() { return cLoneLoneKeyword_3_0; }
2019
2020 //one
2021 public EnumLiteralDeclaration getOneEnumLiteralDeclaration_4() { return cOneEnumLiteralDeclaration_4; }
2022
2023 //"one"
2024 public Keyword getOneOneKeyword_4_0() { return cOneOneKeyword_4_0; }
2025
2026 //set
2027 public EnumLiteralDeclaration getSetEnumLiteralDeclaration_5() { return cSetEnumLiteralDeclaration_5; }
2028
2029 //"set"
2030 public Keyword getSetSetKeyword_5_0() { return cSetSetKeyword_5_0; }
2031 }
2032
2033 public class ALSNumericOperatorElements extends AbstractEnumRuleElementFinder {
2034 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator");
2035 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2036 private final EnumLiteralDeclaration cPlusEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
2037 private final Keyword cPlusPlusKeyword_0_0 = (Keyword)cPlusEnumLiteralDeclaration_0.eContents().get(0);
2038 private final EnumLiteralDeclaration cSubEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
2039 private final Keyword cSubSubKeyword_1_0 = (Keyword)cSubEnumLiteralDeclaration_1.eContents().get(0);
2040 private final EnumLiteralDeclaration cMulEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
2041 private final Keyword cMulMulKeyword_2_0 = (Keyword)cMulEnumLiteralDeclaration_2.eContents().get(0);
2042 private final EnumLiteralDeclaration cRemEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
2043 private final Keyword cRemRemKeyword_3_0 = (Keyword)cRemEnumLiteralDeclaration_3.eContents().get(0);
2044 private final EnumLiteralDeclaration cDivEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
2045 private final Keyword cDivDivKeyword_4_0 = (Keyword)cDivEnumLiteralDeclaration_4.eContents().get(0);
2046
2047 //enum ALSNumericOperator:
2048 // plus | sub | mul | rem | div;
2049 public EnumRule getRule() { return rule; }
2050
2051 //plus | sub | mul | rem | div
2052 public Alternatives getAlternatives() { return cAlternatives; }
2053
2054 //plus
2055 public EnumLiteralDeclaration getPlusEnumLiteralDeclaration_0() { return cPlusEnumLiteralDeclaration_0; }
2056
2057 //"plus"
2058 public Keyword getPlusPlusKeyword_0_0() { return cPlusPlusKeyword_0_0; }
2059
2060 //sub
2061 public EnumLiteralDeclaration getSubEnumLiteralDeclaration_1() { return cSubEnumLiteralDeclaration_1; }
2062
2063 //"sub"
2064 public Keyword getSubSubKeyword_1_0() { return cSubSubKeyword_1_0; }
2065
2066 //mul
2067 public EnumLiteralDeclaration getMulEnumLiteralDeclaration_2() { return cMulEnumLiteralDeclaration_2; }
2068
2069 //"mul"
2070 public Keyword getMulMulKeyword_2_0() { return cMulMulKeyword_2_0; }
2071
2072 //rem
2073 public EnumLiteralDeclaration getRemEnumLiteralDeclaration_3() { return cRemEnumLiteralDeclaration_3; }
2074
2075 //"rem"
2076 public Keyword getRemRemKeyword_3_0() { return cRemRemKeyword_3_0; }
2077
2078 //div
2079 public EnumLiteralDeclaration getDivEnumLiteralDeclaration_4() { return cDivEnumLiteralDeclaration_4; }
2080
2081 //"div"
2082 public Keyword getDivDivKeyword_4_0() { return cDivDivKeyword_4_0; }
2083 }
2084
2085 private final ALSDocumentElements pALSDocument;
2086 private final TerminalRule tID;
2087 private final ALSIDElements pALSID;
2088 private final ALSMultiplicityElements eALSMultiplicity;
2089 private final ALSRelationDeclarationElements pALSRelationDeclaration;
2090 private final ALSTypeDeclarationElements pALSTypeDeclaration;
2091 private final ALSEnumDeclarationElements pALSEnumDeclaration;
2092 private final ALSEnumLiteralElements pALSEnumLiteral;
2093 private final ALSSignatureDeclarationElements pALSSignatureDeclaration;
2094 private final ALSSignatureBodyElements pALSSignatureBody;
2095 private final ALSFieldDeclarationElements pALSFieldDeclaration;
2096 private final ALSDefinitionElements pALSDefinition;
2097 private final ALSFunctionDefinitionElements pALSFunctionDefinition;
2098 private final ALSRelationDefinitionElements pALSRelationDefinition;
2099 private final ALSFactDeclarationElements pALSFactDeclaration;
2100 private final ALSTermElements pALSTerm;
2101 private final ALSQuantifiedElements pALSQuantified;
2102 private final ALSOrElements pALSOr;
2103 private final ALSIffElements pALSIff;
2104 private final ALSImplElements pALSImpl;
2105 private final ALSAndElements pALSAnd;
2106 private final ALSComparisonElements pALSComparison;
2107 private final ALSOverrideElements pALSOverride;
2108 private final ALSRangeRestrictionRightElements pALSRangeRestrictionRight;
2109 private final ALSRangeRestrictionLeftElements pALSRangeRestrictionLeft;
2110 private final ALSJoinElements pALSJoin;
2111 private final ALSMinusElements pALSMinus;
2112 private final ALSPlusElements pALSPlus;
2113 private final ALSIntersectionElements pALSIntersection;
2114 private final ALSDirectProductElements pALSDirectProduct;
2115 private final ALSPreficedElements pALSPreficed;
2116 private final ALSNumericOperatorElements eALSNumericOperator;
2117 private final ALSVariableDeclarationElements pALSVariableDeclaration;
2118 private final ALSBasicRelationTermElements pALSBasicRelationTerm;
2119 private final ALSRunCommandElements pALSRunCommand;
2120 private final ALSTypeScopeElements pALSTypeScope;
2121 private final ALSSigScopeElements pALSSigScope;
2122 private final ALSIntScopeElements pALSIntScope;
2123
2124 private final Grammar grammar;
2125
2126 private final TerminalsGrammarAccess gaTerminals;
2127
2128 @Inject
2129 public AlloyLanguageGrammarAccess(GrammarProvider grammarProvider,
2130 TerminalsGrammarAccess gaTerminals) {
2131 this.grammar = internalFindGrammar(grammarProvider);
2132 this.gaTerminals = gaTerminals;
2133 this.pALSDocument = new ALSDocumentElements();
2134 this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ID");
2135 this.pALSID = new ALSIDElements();
2136 this.eALSMultiplicity = new ALSMultiplicityElements();
2137 this.pALSRelationDeclaration = new ALSRelationDeclarationElements();
2138 this.pALSTypeDeclaration = new ALSTypeDeclarationElements();
2139 this.pALSEnumDeclaration = new ALSEnumDeclarationElements();
2140 this.pALSEnumLiteral = new ALSEnumLiteralElements();
2141 this.pALSSignatureDeclaration = new ALSSignatureDeclarationElements();
2142 this.pALSSignatureBody = new ALSSignatureBodyElements();
2143 this.pALSFieldDeclaration = new ALSFieldDeclarationElements();
2144 this.pALSDefinition = new ALSDefinitionElements();
2145 this.pALSFunctionDefinition = new ALSFunctionDefinitionElements();
2146 this.pALSRelationDefinition = new ALSRelationDefinitionElements();
2147 this.pALSFactDeclaration = new ALSFactDeclarationElements();
2148 this.pALSTerm = new ALSTermElements();
2149 this.pALSQuantified = new ALSQuantifiedElements();
2150 this.pALSOr = new ALSOrElements();
2151 this.pALSIff = new ALSIffElements();
2152 this.pALSImpl = new ALSImplElements();
2153 this.pALSAnd = new ALSAndElements();
2154 this.pALSComparison = new ALSComparisonElements();
2155 this.pALSOverride = new ALSOverrideElements();
2156 this.pALSRangeRestrictionRight = new ALSRangeRestrictionRightElements();
2157 this.pALSRangeRestrictionLeft = new ALSRangeRestrictionLeftElements();
2158 this.pALSJoin = new ALSJoinElements();
2159 this.pALSMinus = new ALSMinusElements();
2160 this.pALSPlus = new ALSPlusElements();
2161 this.pALSIntersection = new ALSIntersectionElements();
2162 this.pALSDirectProduct = new ALSDirectProductElements();
2163 this.pALSPreficed = new ALSPreficedElements();
2164 this.eALSNumericOperator = new ALSNumericOperatorElements();
2165 this.pALSVariableDeclaration = new ALSVariableDeclarationElements();
2166 this.pALSBasicRelationTerm = new ALSBasicRelationTermElements();
2167 this.pALSRunCommand = new ALSRunCommandElements();
2168 this.pALSTypeScope = new ALSTypeScopeElements();
2169 this.pALSSigScope = new ALSSigScopeElements();
2170 this.pALSIntScope = new ALSIntScopeElements();
2171 }
2172
2173 protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
2174 Grammar grammar = grammarProvider.getGrammar(this);
2175 while (grammar != null) {
2176 if ("hu.bme.mit.inf.dslreasoner.AlloyLanguage".equals(grammar.getName())) {
2177 return grammar;
2178 }
2179 List<Grammar> grammars = grammar.getUsedGrammars();
2180 if (!grammars.isEmpty()) {
2181 grammar = grammars.iterator().next();
2182 } else {
2183 return null;
2184 }
2185 }
2186 return grammar;
2187 }
2188
2189 @Override
2190 public Grammar getGrammar() {
2191 return grammar;
2192 }
2193
2194
2195 public TerminalsGrammarAccess getTerminalsGrammarAccess() {
2196 return gaTerminals;
2197 }
2198
2199
2200 //ALSDocument:
2201 // (enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody |
2202 // functionDefinitions+=ALSFunctionDefinition | relationDefinitions+=ALSRelationDefinition |
2203 // factDeclarations+=ALSFactDeclaration)+
2204 // runCommand=ALSRunCommand;
2205 public ALSDocumentElements getALSDocumentAccess() {
2206 return pALSDocument;
2207 }
2208
2209 public ParserRule getALSDocumentRule() {
2210 return getALSDocumentAccess().getRule();
2211 }
2212
2213 //@ Override terminal ID:
2214 // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | "'" | '"' | '0'..'9')*;
2215 public TerminalRule getIDRule() {
2216 return tID;
2217 }
2218
2219 //ALSID:
2220 // ID;
2221 public ALSIDElements getALSIDAccess() {
2222 return pALSID;
2223 }
2224
2225 public ParserRule getALSIDRule() {
2226 return getALSIDAccess().getRule();
2227 }
2228
2229 //enum ALSMultiplicity:
2230 // all | no | some | lone | one | set;
2231 public ALSMultiplicityElements getALSMultiplicityAccess() {
2232 return eALSMultiplicity;
2233 }
2234
2235 public EnumRule getALSMultiplicityRule() {
2236 return getALSMultiplicityAccess().getRule();
2237 }
2238
2239 ////////////////////////////////////
2240 //// ALS types
2241 ////////////////////////////////////
2242 //ALSRelationDeclaration:
2243 // ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration;
2244 public ALSRelationDeclarationElements getALSRelationDeclarationAccess() {
2245 return pALSRelationDeclaration;
2246 }
2247
2248 public ParserRule getALSRelationDeclarationRule() {
2249 return getALSRelationDeclarationAccess().getRule();
2250 }
2251
2252 //ALSTypeDeclaration:
2253 // ALSEnumDeclaration | ALSSignatureDeclaration;
2254 public ALSTypeDeclarationElements getALSTypeDeclarationAccess() {
2255 return pALSTypeDeclaration;
2256 }
2257
2258 public ParserRule getALSTypeDeclarationRule() {
2259 return getALSTypeDeclarationAccess().getRule();
2260 }
2261
2262 //ALSEnumDeclaration:
2263 // 'enum' name=ALSID '{'
2264 // literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)*
2265 // '}';
2266 public ALSEnumDeclarationElements getALSEnumDeclarationAccess() {
2267 return pALSEnumDeclaration;
2268 }
2269
2270 public ParserRule getALSEnumDeclarationRule() {
2271 return getALSEnumDeclarationAccess().getRule();
2272 }
2273
2274 //ALSEnumLiteral:
2275 // name=ALSID;
2276 public ALSEnumLiteralElements getALSEnumLiteralAccess() {
2277 return pALSEnumLiteral;
2278 }
2279
2280 public ParserRule getALSEnumLiteralRule() {
2281 return getALSEnumLiteralAccess().getRule();
2282 }
2283
2284 //ALSSignatureDeclaration:
2285 // name=ALSID;
2286 public ALSSignatureDeclarationElements getALSSignatureDeclarationAccess() {
2287 return pALSSignatureDeclaration;
2288 }
2289
2290 public ParserRule getALSSignatureDeclarationRule() {
2291 return getALSSignatureDeclarationAccess().getRule();
2292 }
2293
2294 //ALSSignatureBody:
2295 // (multiplicity=ALSMultiplicity? & abstract?='abstract'?)
2296 // 'sig'
2297 // declarations+=ALSSignatureDeclaration (',' declarations+=ALSSignatureDeclaration)* ('extends'
2298 // supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+'
2299 // superset+=[ALSSignatureDeclaration])*)?
2300 // '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}';
2301 public ALSSignatureBodyElements getALSSignatureBodyAccess() {
2302 return pALSSignatureBody;
2303 }
2304
2305 public ParserRule getALSSignatureBodyRule() {
2306 return getALSSignatureBodyAccess().getRule();
2307 }
2308
2309 //ALSFieldDeclaration:
2310 // name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm;
2311 public ALSFieldDeclarationElements getALSFieldDeclarationAccess() {
2312 return pALSFieldDeclaration;
2313 }
2314
2315 public ParserRule getALSFieldDeclarationRule() {
2316 return getALSFieldDeclarationAccess().getRule();
2317 }
2318
2319 //ALSDefinition:
2320 // ALSFunctionDefinition | ALSRelationDefinition;
2321 public ALSDefinitionElements getALSDefinitionAccess() {
2322 return pALSDefinition;
2323 }
2324
2325 public ParserRule getALSDefinitionRule() {
2326 return getALSDefinitionAccess().getRule();
2327 }
2328
2329 //ALSFunctionDefinition:
2330 // "fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm
2331 // "{" value=ALSTerm "}";
2332 public ALSFunctionDefinitionElements getALSFunctionDefinitionAccess() {
2333 return pALSFunctionDefinition;
2334 }
2335
2336 public ParserRule getALSFunctionDefinitionRule() {
2337 return getALSFunctionDefinitionAccess().getRule();
2338 }
2339
2340 //ALSRelationDefinition:
2341 // "pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]"
2342 // "{" value=ALSTerm "}";
2343 public ALSRelationDefinitionElements getALSRelationDefinitionAccess() {
2344 return pALSRelationDefinition;
2345 }
2346
2347 public ParserRule getALSRelationDefinitionRule() {
2348 return getALSRelationDefinitionAccess().getRule();
2349 }
2350
2351 //ALSFactDeclaration:
2352 // {ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}';
2353 public ALSFactDeclarationElements getALSFactDeclarationAccess() {
2354 return pALSFactDeclaration;
2355 }
2356
2357 public ParserRule getALSFactDeclarationRule() {
2358 return getALSFactDeclarationAccess().getRule();
2359 }
2360
2361 ////////////////////////////////////
2362 //// ALS terms
2363 ////////////////////////////////////
2364 //ALSTerm:
2365 // ALSQuantified;
2366 public ALSTermElements getALSTermAccess() {
2367 return pALSTerm;
2368 }
2369
2370 public ParserRule getALSTermRule() {
2371 return getALSTermAccess().getRule();
2372 }
2373
2374 //ALSQuantified ALSTerm:
2375 // {ALSQuantifiedEx} type=ALSMultiplicity
2376 // disj?='disj'? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' |
2377 // ALSOr;
2378 public ALSQuantifiedElements getALSQuantifiedAccess() {
2379 return pALSQuantified;
2380 }
2381
2382 public ParserRule getALSQuantifiedRule() {
2383 return getALSQuantifiedAccess().getRule();
2384 }
2385
2386 //ALSOr ALSTerm:
2387 // ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?;
2388 public ALSOrElements getALSOrAccess() {
2389 return pALSOr;
2390 }
2391
2392 public ParserRule getALSOrRule() {
2393 return getALSOrAccess().getRule();
2394 }
2395
2396 //ALSIff ALSTerm:
2397 // ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?;
2398 public ALSIffElements getALSIffAccess() {
2399 return pALSIff;
2400 }
2401
2402 public ParserRule getALSIffRule() {
2403 return getALSIffAccess().getRule();
2404 }
2405
2406 //ALSImpl ALSTerm:
2407 // ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?;
2408 public ALSImplElements getALSImplAccess() {
2409 return pALSImpl;
2410 }
2411
2412 public ParserRule getALSImplRule() {
2413 return getALSImplAccess().getRule();
2414 }
2415
2416 //ALSAnd ALSTerm:
2417 // ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?;
2418 public ALSAndElements getALSAndAccess() {
2419 return pALSAnd;
2420 }
2421
2422 public ParserRule getALSAndRule() {
2423 return getALSAndAccess().getRule();
2424 }
2425
2426 //ALSComparison ALSTerm:
2427 // ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" |
2428 // {ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" |
2429 // {ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?;
2430 public ALSComparisonElements getALSComparisonAccess() {
2431 return pALSComparison;
2432 }
2433
2434 public ParserRule getALSComparisonRule() {
2435 return getALSComparisonAccess().getRule();
2436 }
2437
2438 //ALSOverride ALSTerm:
2439 // ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?;
2440 public ALSOverrideElements getALSOverrideAccess() {
2441 return pALSOverride;
2442 }
2443
2444 public ParserRule getALSOverrideRule() {
2445 return getALSOverrideAccess().getRule();
2446 }
2447
2448 //ALSRangeRestrictionRight ALSTerm:
2449 // ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?;
2450 public ALSRangeRestrictionRightElements getALSRangeRestrictionRightAccess() {
2451 return pALSRangeRestrictionRight;
2452 }
2453
2454 public ParserRule getALSRangeRestrictionRightRule() {
2455 return getALSRangeRestrictionRightAccess().getRule();
2456 }
2457
2458 //ALSRangeRestrictionLeft ALSTerm:
2459 // ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?;
2460 public ALSRangeRestrictionLeftElements getALSRangeRestrictionLeftAccess() {
2461 return pALSRangeRestrictionLeft;
2462 }
2463
2464 public ParserRule getALSRangeRestrictionLeftRule() {
2465 return getALSRangeRestrictionLeftAccess().getRule();
2466 }
2467
2468 //ALSJoin ALSTerm:
2469 // ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*;
2470 public ALSJoinElements getALSJoinAccess() {
2471 return pALSJoin;
2472 }
2473
2474 public ParserRule getALSJoinRule() {
2475 return getALSJoinAccess().getRule();
2476 }
2477
2478 //ALSMinus ALSTerm:
2479 // ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*;
2480 public ALSMinusElements getALSMinusAccess() {
2481 return pALSMinus;
2482 }
2483
2484 public ParserRule getALSMinusRule() {
2485 return getALSMinusAccess().getRule();
2486 }
2487
2488 //ALSPlus ALSTerm:
2489 // ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*;
2490 public ALSPlusElements getALSPlusAccess() {
2491 return pALSPlus;
2492 }
2493
2494 public ParserRule getALSPlusRule() {
2495 return getALSPlusAccess().getRule();
2496 }
2497
2498 //ALSIntersection ALSTerm:
2499 // ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*;
2500 public ALSIntersectionElements getALSIntersectionAccess() {
2501 return pALSIntersection;
2502 }
2503
2504 public ParserRule getALSIntersectionRule() {
2505 return getALSIntersectionAccess().getRule();
2506 }
2507
2508 ////ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*;
2509 //ALSDirectProduct ALSTerm:
2510 // ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity?
2511 // '->'
2512 // rightMultiplicit=ALSMultiplicity?
2513 // rightOperand=ALSPreficed)?;
2514 public ALSDirectProductElements getALSDirectProductAccess() {
2515 return pALSDirectProduct;
2516 }
2517
2518 public ParserRule getALSDirectProductRule() {
2519 return getALSDirectProductAccess().getRule();
2520 }
2521
2522 //ALSPreficed ALSTerm:
2523 // {ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm |
2524 // {AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*"
2525 // operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-'
2526 // operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (','
2527 // variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall}
2528 // (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (','
2529 // params+=ALSTerm)* ']' | ALSBasicRelationTerm;
2530 public ALSPreficedElements getALSPreficedAccess() {
2531 return pALSPreficed;
2532 }
2533
2534 public ParserRule getALSPreficedRule() {
2535 return getALSPreficedAccess().getRule();
2536 }
2537
2538 //enum ALSNumericOperator:
2539 // plus | sub | mul | rem | div;
2540 public ALSNumericOperatorElements getALSNumericOperatorAccess() {
2541 return eALSNumericOperator;
2542 }
2543
2544 public EnumRule getALSNumericOperatorRule() {
2545 return getALSNumericOperatorAccess().getRule();
2546 }
2547
2548 ////ALSVariable: name = ALSID;
2549 //ALSVariableDeclaration:
2550 // name=ALSID ':' range=ALSTerm;
2551 public ALSVariableDeclarationElements getALSVariableDeclarationAccess() {
2552 return pALSVariableDeclaration;
2553 }
2554
2555 public ParserRule getALSVariableDeclarationRule() {
2556 return getALSVariableDeclarationAccess().getRule();
2557 }
2558
2559 //ALSBasicRelationTerm ALSTerm:
2560 // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSReference}
2561 // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT |
2562 // '(' ALSTerm ')';
2563 public ALSBasicRelationTermElements getALSBasicRelationTermAccess() {
2564 return pALSBasicRelationTerm;
2565 }
2566
2567 public ParserRule getALSBasicRelationTermRule() {
2568 return getALSBasicRelationTermAccess().getRule();
2569 }
2570
2571 ////////////////////////////////////
2572 //// ALS Commands and scopes
2573 ////////////////////////////////////
2574 //ALSRunCommand:
2575 // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?;
2576 public ALSRunCommandElements getALSRunCommandAccess() {
2577 return pALSRunCommand;
2578 }
2579
2580 public ParserRule getALSRunCommandRule() {
2581 return getALSRunCommandAccess().getRule();
2582 }
2583
2584 //ALSTypeScope:
2585 // ALSSigScope | ALSIntScope;
2586 public ALSTypeScopeElements getALSTypeScopeAccess() {
2587 return pALSTypeScope;
2588 }
2589
2590 public ParserRule getALSTypeScopeRule() {
2591 return getALSTypeScopeAccess().getRule();
2592 }
2593
2594 //ALSSigScope:
2595 // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration];
2596 public ALSSigScopeElements getALSSigScopeAccess() {
2597 return pALSSigScope;
2598 }
2599
2600 public ParserRule getALSSigScopeRule() {
2601 return getALSSigScopeAccess().getRule();
2602 }
2603
2604 //ALSIntScope:
2605 // number=INT 'Int';
2606 public ALSIntScopeElements getALSIntScopeAccess() {
2607 return pALSIntScope;
2608 }
2609
2610 public ParserRule getALSIntScopeRule() {
2611 return getALSIntScopeAccess().getRule();
2612 }
2613
2614 //terminal INT returns ecore::EInt:
2615 // '0'..'9'+;
2616 public TerminalRule getINTRule() {
2617 return gaTerminals.getINTRule();
2618 }
2619
2620 //terminal STRING:
2621 // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'";
2622 public TerminalRule getSTRINGRule() {
2623 return gaTerminals.getSTRINGRule();
2624 }
2625
2626 //terminal ML_COMMENT:
2627 // '/*'->'*/';
2628 public TerminalRule getML_COMMENTRule() {
2629 return gaTerminals.getML_COMMENTRule();
2630 }
2631
2632 //terminal SL_COMMENT:
2633 // '//' !('\n' | '\r')* ('\r'? '\n')?;
2634 public TerminalRule getSL_COMMENTRule() {
2635 return gaTerminals.getSL_COMMENTRule();
2636 }
2637
2638 //terminal WS:
2639 // ' ' | '\t' | '\r' | '\n'+;
2640 public TerminalRule getWSRule() {
2641 return gaTerminals.getWSRule();
2642 }
2643
2644 //terminal ANY_OTHER:
2645 // .;
2646 public TerminalRule getANY_OTHERRule() {
2647 return gaTerminals.getANY_OTHERRule();
2648 }
2649}
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java
new file mode 100644
index 00000000..c5ee2dc7
--- /dev/null
+++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java
@@ -0,0 +1,18 @@
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}