diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/META-INF/MANIFEST.MF b/edu.kit.ipd.descartes.mm.adaptation.sta/META-INF/MANIFEST.MF index 9708864c5af487022fe7f9a150b4aaef1cbee77d..59d5d8b1dcd32a02fd287ad4789e874674ef0413 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/META-INF/MANIFEST.MF +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/META-INF/MANIFEST.MF @@ -12,9 +12,11 @@ Require-Bundle: org.eclipse.xtext;visibility:=reexport, org.eclipse.emf.codegen.ecore;resolution:=optional, org.eclipse.emf.mwe.utils;resolution:=optional, org.eclipse.emf.mwe2.launch;resolution:=optional, - edu.kit.ipd.descartes.mm, org.eclipse.xtext.util, - org.antlr.runtime + org.antlr.runtime, + edu.kit.ipd.descartes.core;bundle-version="1.0.0", + edu.kit.ipd.descartes.mm.adaptationpoints;bundle-version="1.0.0", + edu.kit.ipd.descartes.mm.adaptation;bundle-version="1.0.0" Import-Package: org.apache.log4j Bundle-RequiredExecutionEnvironment: J2SE-1.5 Export-Package: edu.kit.ipd.descartes.mm.adaptation, diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xmi b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xmi index 995e9fa8bb6f5ef2934570b2fe053cc7c83e084b..fcb409b20869a3e8a53e39764d025611802c839a 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xmi +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xmi @@ -13,6 +13,9 @@ <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="core"> <ePackage href="http://www.descartes-research.net/metamodel/core/0.1#/"/> </metamodelDeclarations> + <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="perfdatarepo"> + <ePackage href="http://www.descartes-research.net/metamodel/perfdata/0.1#/"/> + </metamodelDeclarations> <rules xsi:type="xtext:ParserRule" name="StaRepository"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//StaRepository"/> @@ -27,41 +30,27 @@ <elements xsi:type="xtext:Assignment" feature="name" operator="="> <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </elements> - <elements xsi:type="xtext:Group" cardinality="?"> - <elements xsi:type="xtext:Keyword" value="parameters"/> - <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" feature="parameters" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/> - </elements> - <elements xsi:type="xtext:Group" cardinality="*"> - <elements xsi:type="xtext:Keyword" value=","/> - <elements xsi:type="xtext:Assignment" feature="parameters" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/> - </elements> - </elements> - <elements xsi:type="xtext:Keyword" value="}"/> - </elements> - <elements xsi:type="xtext:Keyword" value="actions"/> + <elements xsi:type="xtext:Keyword" value="tactics"/> <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" feature="actions" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> + <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> </elements> <elements xsi:type="xtext:Group" cardinality="*"> <elements xsi:type="xtext:Keyword" value=","/> - <elements xsi:type="xtext:Assignment" feature="actions" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> + <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> </elements> </elements> <elements xsi:type="xtext:Keyword" value="}"/> - <elements xsi:type="xtext:Keyword" value="tactics"/> + <elements xsi:type="xtext:Keyword" value="actions"/> <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> + <elements xsi:type="xtext:Assignment" feature="actions" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> </elements> <elements xsi:type="xtext:Group" cardinality="*"> <elements xsi:type="xtext:Keyword" value=","/> - <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> + <elements xsi:type="xtext:Assignment" feature="actions" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> </elements> </elements> <elements xsi:type="xtext:Keyword" value="}"/> @@ -77,6 +66,24 @@ </elements> </elements> <elements xsi:type="xtext:Keyword" value="}"/> + <elements xsi:type="xtext:Group" cardinality="?"> + <elements xsi:type="xtext:Keyword" value="parameters"/> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Assignment" feature="parameters" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/> + </elements> + <elements xsi:type="xtext:Group" cardinality="*"> + <elements xsi:type="xtext:Keyword" value=","/> + <elements xsi:type="xtext:Assignment" feature="parameters" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/> + </elements> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + </elements> + <elements xsi:type="xtext:Keyword" value="goal"/> + <elements xsi:type="xtext:Assignment" feature="goal" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> + </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> @@ -85,8 +92,8 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptationpoints/0.1#//AdaptationPoint"/> </type> <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> + <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/> + <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/> </alternatives> </rules> <rules xsi:type="xtext:ParserRule" name="AbstractControlFlowElement"> @@ -94,11 +101,11 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//AbstractControlFlowElement"/> </type> <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.10"/> <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/> <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/> <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/> <elements xsi:type="xtext:RuleCall" rule="/0/@rules.14"/> + <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/> </alternatives> </rules> <rules xsi:type="xtext:ParserRule" name="VariationType"> @@ -106,8 +113,8 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptationpoints/0.1#//VariationType"/> </type> <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> <elements xsi:type="xtext:RuleCall" rule="/0/@rules.21"/> + <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/> </alternatives> </rules> <rules xsi:type="xtext:ParserRule" name="EString"> @@ -170,7 +177,7 @@ </elements> <elements xsi:type="xtext:Keyword" value="implementedPlan"/> <elements xsi:type="xtext:Assignment" feature="implementedPlan" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/> </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> @@ -189,6 +196,10 @@ <elements xsi:type="xtext:Assignment" feature="name" operator="="> <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </elements> + <elements xsi:type="xtext:Keyword" value="operationType"/> + <elements xsi:type="xtext:Assignment" feature="operationType" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> + </elements> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="outputParam"/> <elements xsi:type="xtext:Assignment" feature="outputParam" operator="="> @@ -259,27 +270,25 @@ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </terminal> </elements> - <elements xsi:type="xtext:Group" cardinality="?"> - <elements xsi:type="xtext:Keyword" value="triggeringEvents"/> - <elements xsi:type="xtext:Assignment" feature="triggeringEvents" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/> - </elements> + <elements xsi:type="xtext:Keyword" value="triggeringEvents"/> + <elements xsi:type="xtext:Assignment" feature="triggeringEvents" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/> </elements> <elements xsi:type="xtext:Keyword" value="tactics"/> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.25"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.27"/> </elements> <elements xsi:type="xtext:Group" cardinality="*"> <elements xsi:type="xtext:Keyword" value=","/> <elements xsi:type="xtext:Assignment" feature="tactics" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.25"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.27"/> </elements> </elements> <elements xsi:type="xtext:Keyword" value="}"/> <elements xsi:type="xtext:Keyword" value="weightingFunction"/> <elements xsi:type="xtext:Assignment" feature="weightingFunction" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.28"/> </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> @@ -301,6 +310,32 @@ <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> + <rules xsi:type="xtext:ParserRule" name="OverallGoal"> + <type metamodel="/0/@metamodelDeclarations.0"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//OverallGoal"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="OverallGoal"/> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="description"/> + <elements xsi:type="xtext:Assignment" feature="description" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="objectives"/> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Assignment" feature="objectives" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.25"/> + </elements> + <elements xsi:type="xtext:Group" cardinality="*"> + <elements xsi:type="xtext:Keyword" value=","/> + <elements xsi:type="xtext:Assignment" feature="objectives" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.25"/> + </elements> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> <rules xsi:type="xtext:ParserRule" name="AdaptationPlan"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//AdaptationPlan"/> @@ -332,7 +367,7 @@ <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> - <rules xsi:type="xtext:ParserRule" name="Start"> + <rules xsi:type="xtext:ParserRule" name="StartAction"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//StartAction"/> </type> @@ -342,7 +377,10 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//StartAction"/> </type> </elements> - <elements xsi:type="xtext:Keyword" value="Start"/> + <elements xsi:type="xtext:Keyword" value="StartAction"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="predecessor"/> @@ -369,7 +407,7 @@ <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> - <rules xsi:type="xtext:ParserRule" name="Stop"> + <rules xsi:type="xtext:ParserRule" name="StopAction"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//StopAction"/> </type> @@ -379,7 +417,10 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//StopAction"/> </type> </elements> - <elements xsi:type="xtext:Keyword" value="Stop"/> + <elements xsi:type="xtext:Keyword" value="StopAction"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="predecessor"/> @@ -406,16 +447,19 @@ <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> - <rules xsi:type="xtext:ParserRule" name="Loop"> + <rules xsi:type="xtext:ParserRule" name="LoopAction"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//LoopAction"/> </type> <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="LoopAction"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Keyword" value="counter"/> <elements xsi:type="xtext:Assignment" feature="counter" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/> </elements> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="predecessor"/> @@ -441,17 +485,20 @@ </elements> <elements xsi:type="xtext:Keyword" value="body"/> <elements xsi:type="xtext:Assignment" feature="body" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/> </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> - <rules xsi:type="xtext:ParserRule" name="Branch"> + <rules xsi:type="xtext:ParserRule" name="BranchAction"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//BranchAction"/> </type> <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="BranchAction"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="condition"/> @@ -484,12 +531,12 @@ <elements xsi:type="xtext:Keyword" value="branches"/> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Assignment" feature="branches" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/> </elements> <elements xsi:type="xtext:Group" cardinality="*"> <elements xsi:type="xtext:Keyword" value=","/> <elements xsi:type="xtext:Assignment" feature="branches" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/> </elements> </elements> <elements xsi:type="xtext:Keyword" value="}"/> @@ -502,6 +549,9 @@ </type> <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="ActionReference"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="predecessor"/> @@ -546,6 +596,12 @@ <elements xsi:type="xtext:RuleCall" rule="/1/@rules.1"/> </alternatives> </rules> + <rules xsi:type="xtext:ParserRule" name="OperationType"> + <type metamodel="/0/@metamodelDeclarations.2"> + <classifier xsi:type="ecore:EEnum" href="http://www.descartes-research.net/metamodel/adaptationpoints/0.1#//OperationType"/> + </type> + <alternatives xsi:type="xtext:Keyword" value="OperationType"/> + </rules> <rules xsi:type="xtext:ParserRule" name="ModelVariableConfigurationRange"> <type metamodel="/0/@metamodelDeclarations.2"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptationpoints/0.1#//ModelVariableConfigurationRange"/> @@ -556,13 +612,17 @@ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </elements> <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="minValue"/> <elements xsi:type="xtext:Assignment" feature="minValue" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> </elements> <elements xsi:type="xtext:Keyword" value="maxValue"/> <elements xsi:type="xtext:Assignment" feature="maxValue" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> </elements> <elements xsi:type="xtext:Keyword" value="adaptableEntity"/> <elements xsi:type="xtext:Assignment" feature="adaptableEntity" operator="="> @@ -586,6 +646,10 @@ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </elements> <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="adaptableEntity"/> <elements xsi:type="xtext:Assignment" feature="adaptableEntity" operator="="> <terminal xsi:type="xtext:CrossReference"> @@ -621,19 +685,6 @@ </elements> </alternatives> </rules> - <rules xsi:type="xtext:ParserRule" name="EObject"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Action"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </type> - </elements> - <elements xsi:type="xtext:Keyword" value="EObject"/> - </alternatives> - </rules> <rules xsi:type="xtext:ParserRule" name="PropertyRange"> <type metamodel="/0/@metamodelDeclarations.2"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptationpoints/0.1#//PropertyRange"/> @@ -643,11 +694,11 @@ <elements xsi:type="xtext:Keyword" value="{"/> <elements xsi:type="xtext:Keyword" value="minValueConstraint"/> <elements xsi:type="xtext:Assignment" feature="minValueConstraint" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.22"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/> </elements> <elements xsi:type="xtext:Keyword" value="maxValueConstraint"/> <elements xsi:type="xtext:Assignment" feature="maxValueConstraint" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.22"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/> </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> @@ -659,10 +710,6 @@ <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="SetOfConfigurations"/> <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Keyword" value="valueConstraint"/> - <elements xsi:type="xtext:Assignment" feature="valueConstraint" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.22"/> - </elements> <elements xsi:type="xtext:Group" cardinality="?"> <elements xsi:type="xtext:Keyword" value="variants"/> <elements xsi:type="xtext:Keyword" value="("/> @@ -687,6 +734,10 @@ </elements> <elements xsi:type="xtext:Keyword" value=")"/> </elements> + <elements xsi:type="xtext:Keyword" value="valueConstraint"/> + <elements xsi:type="xtext:Assignment" feature="valueConstraint" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/> + </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> @@ -704,13 +755,33 @@ <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> + <rules xsi:type="xtext:ParserRule" name="EObject"> + <type metamodel="/0/@metamodelDeclarations.1"> + <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Action"> + <type metamodel="/0/@metamodelDeclarations.1"> + <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + </type> + </elements> + <elements xsi:type="xtext:Keyword" value="EObject"/> + </alternatives> + </rules> <rules xsi:type="xtext:ParserRule" name="Objective"> <type metamodel="/0/@metamodelDeclarations.0"> <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//Objective"/> </type> <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="Objective"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="specification"/> <elements xsi:type="xtext:Assignment" feature="specification" operator="="> <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> @@ -723,12 +794,16 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//Event"/> </type> <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Action"> - <type metamodel="/0/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//Event"/> - </type> - </elements> <elements xsi:type="xtext:Keyword" value="Event"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> <rules xsi:type="xtext:ParserRule" name="WeightedTactic"> @@ -737,16 +812,23 @@ </type> <alternatives xsi:type="xtext:Group"> <elements xsi:type="xtext:Keyword" value="WeightedTactic"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> <elements xsi:type="xtext:Keyword" value="currentWeight"/> <elements xsi:type="xtext:Assignment" feature="currentWeight" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> </elements> <elements xsi:type="xtext:Keyword" value="defaultWeight"/> <elements xsi:type="xtext:Assignment" feature="defaultWeight" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> </elements> - <elements xsi:type="xtext:Keyword" value="uses"/> + <elements xsi:type="xtext:Keyword" value="usedTactic"/> <elements xsi:type="xtext:Assignment" feature="usedTactic" operator="="> <terminal xsi:type="xtext:CrossReference"> <type metamodel="/0/@metamodelDeclarations.0"> @@ -755,6 +837,17 @@ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </terminal> </elements> + <elements xsi:type="xtext:Group" cardinality="?"> + <elements xsi:type="xtext:Keyword" value="lastImpact"/> + <elements xsi:type="xtext:Assignment" feature="lastImpact" operator="="> + <terminal xsi:type="xtext:CrossReference"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//Impact"/> + </type> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </terminal> + </elements> + </elements> <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> @@ -763,10 +856,179 @@ <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//WeightingFunction"/> </type> <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="function"/> - <elements xsi:type="xtext:Assignment" feature="function" operator="="> + <elements xsi:type="xtext:Keyword" value="WeightingFunction"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="weightedMetrics"/> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Assignment" feature="weightedMetrics" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.34"/> + </elements> + <elements xsi:type="xtext:Group" cardinality="*"> + <elements xsi:type="xtext:Keyword" value=","/> + <elements xsi:type="xtext:Assignment" feature="weightedMetrics" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.34"/> + </elements> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> + <rules xsi:type="xtext:ParserRule" name="Impact"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//Impact"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="Impact"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="before"/> + <elements xsi:type="xtext:Assignment" feature="before" operator="="> + <terminal xsi:type="xtext:CrossReference"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//Result"/> + </type> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </terminal> + </elements> + <elements xsi:type="xtext:Keyword" value="after"/> + <elements xsi:type="xtext:Assignment" feature="after" operator="="> + <terminal xsi:type="xtext:CrossReference"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//Result"/> + </type> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </terminal> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> + <rules xsi:type="xtext:ParserRule" name="Result"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//Result"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="Result"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="timestamp"/> + <elements xsi:type="xtext:Assignment" feature="timestamp" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.31"/> + </elements> + <elements xsi:type="xtext:Keyword" value="metricValues"/> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Assignment" feature="metricValues" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/> + </elements> + <elements xsi:type="xtext:Group" cardinality="*"> + <elements xsi:type="xtext:Keyword" value=","/> + <elements xsi:type="xtext:Assignment" feature="metricValues" operator="+="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/> + </elements> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> + <rules xsi:type="xtext:ParserRule" name="EDate"> + <type metamodel="/0/@metamodelDeclarations.1"> + <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDate"/> + </type> + <alternatives xsi:type="xtext:Keyword" value="EDate"/> + </rules> + <rules xsi:type="xtext:ParserRule" name="MetricValue"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//MetricValue"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="MetricValue"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> </elements> + <elements xsi:type="xtext:Keyword" value="value"/> + <elements xsi:type="xtext:Assignment" feature="value" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> + </elements> + <elements xsi:type="xtext:Keyword" value="metric"/> + <elements xsi:type="xtext:Assignment" feature="metric" operator="="> + <terminal xsi:type="xtext:CrossReference"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//MetricType"/> + </type> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </terminal> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> + <rules xsi:type="xtext:ParserRule" name="MetricType"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//MetricType"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="MetricType"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> + </alternatives> + </rules> + <rules xsi:type="xtext:ParserRule" name="WeightedMetric"> + <type metamodel="/0/@metamodelDeclarations.0"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/adaptation/0.1#//WeightedMetric"/> + </type> + <alternatives xsi:type="xtext:Group"> + <elements xsi:type="xtext:Keyword" value="WeightedMetric"/> + <elements xsi:type="xtext:Assignment" feature="id" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="{"/> + <elements xsi:type="xtext:Keyword" value="name"/> + <elements xsi:type="xtext:Assignment" feature="name" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </elements> + <elements xsi:type="xtext:Keyword" value="weight"/> + <elements xsi:type="xtext:Assignment" feature="weight" operator="="> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/> + </elements> + <elements xsi:type="xtext:Keyword" value="metricType"/> + <elements xsi:type="xtext:Assignment" feature="metricType" operator="="> + <terminal xsi:type="xtext:CrossReference"> + <type metamodel="/0/@metamodelDeclarations.4"> + <classifier xsi:type="ecore:EClass" href="http://www.descartes-research.net/metamodel/perfdata/0.1#//MetricType"/> + </type> + <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> + </terminal> + </elements> + <elements xsi:type="xtext:Keyword" value="}"/> </alternatives> </rules> </xtext:Grammar> diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parseTreeConstruction/StaAdaptationLanguageParsetreeConstructor.java b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parseTreeConstruction/StaAdaptationLanguageParsetreeConstructor.java index eab0fbaf1ab1b12ee5051abcd24b13982a235b08..42657371b83089b1af274f6af924905eb20b309e 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parseTreeConstruction/StaAdaptationLanguageParsetreeConstructor.java +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parseTreeConstruction/StaAdaptationLanguageParsetreeConstructor.java @@ -39,22 +39,28 @@ protected class ThisRootNode extends RootToken { case 5: return new Action_Group(this, this, 5, inst); case 6: return new Strategy_Group(this, this, 6, inst); case 7: return new Parameter_Group(this, this, 7, inst); - case 8: return new AdaptationPlan_Group(this, this, 8, inst); - case 9: return new Start_Group(this, this, 9, inst); - case 10: return new Stop_Group(this, this, 10, inst); - case 11: return new Loop_Group(this, this, 11, inst); - case 12: return new Branch_Group(this, this, 12, inst); - case 13: return new ActionReference_Group(this, this, 13, inst); - case 14: return new ModelVariableConfigurationRange_Group(this, this, 14, inst); - case 15: return new ModelEntityConfigurationRange_Group(this, this, 15, inst); - case 16: return new EObject_Group(this, this, 16, inst); + case 8: return new OverallGoal_Group(this, this, 8, inst); + case 9: return new AdaptationPlan_Group(this, this, 9, inst); + case 10: return new StartAction_Group(this, this, 10, inst); + case 11: return new StopAction_Group(this, this, 11, inst); + case 12: return new LoopAction_Group(this, this, 12, inst); + case 13: return new BranchAction_Group(this, this, 13, inst); + case 14: return new ActionReference_Group(this, this, 14, inst); + case 15: return new ModelVariableConfigurationRange_Group(this, this, 15, inst); + case 16: return new ModelEntityConfigurationRange_Group(this, this, 16, inst); case 17: return new PropertyRange_Group(this, this, 17, inst); case 18: return new SetOfConfigurations_Group(this, this, 18, inst); case 19: return new OclConstraint_Group(this, this, 19, inst); - case 20: return new Objective_Group(this, this, 20, inst); - case 21: return new Event_Group(this, this, 21, inst); - case 22: return new WeightedTactic_Group(this, this, 22, inst); - case 23: return new WeightingFunction_Group(this, this, 23, inst); + case 20: return new EObject_Group(this, this, 20, inst); + case 21: return new Objective_Group(this, this, 21, inst); + case 22: return new Event_Group(this, this, 22, inst); + case 23: return new WeightedTactic_Group(this, this, 23, inst); + case 24: return new WeightingFunction_Group(this, this, 24, inst); + case 25: return new Impact_Group(this, this, 25, inst); + case 26: return new Result_Group(this, this, 26, inst); + case 27: return new MetricValue_Group(this, this, 27, inst); + case 28: return new MetricType_Group(this, this, 28, inst); + case 29: return new WeightedMetric_Group(this, this, 29, inst); default: return null; } } @@ -64,15 +70,15 @@ protected class ThisRootNode extends RootToken { /************ begin Rule StaRepository **************** * * StaRepository: - * "StaRepository" id=EString "{" "name" name=EString ("parameters" "{" parameters+=Parameter ("," - * parameters+=Parameter)* "}")? "actions" "{" actions+=Action ("," actions+=Action)* "}" "tactics" "{" tactics+=Tactic - * ("," tactics+=Tactic)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" "}"; + * "StaRepository" id=EString "{" "name" name=EString "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" "actions" + * "{" actions+=Action ("," actions+=Action)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" + * ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? "goal" goal=OverallGoal "}"; * **/ -// "StaRepository" id=EString "{" "name" name=EString ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* -// "}")? "actions" "{" actions+=Action ("," actions+=Action)* "}" "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" -// "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" "}" +// "StaRepository" id=EString "{" "name" name=EString "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" "actions" +// "{" actions+=Action ("," actions+=Action)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" +// ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? "goal" goal=OverallGoal "}" protected class StaRepository_Group extends GroupToken { public StaRepository_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { @@ -87,7 +93,7 @@ protected class StaRepository_Group extends GroupToken { @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_RightCurlyBracketKeyword_21(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_RightCurlyBracketKeyword_23(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -234,38 +240,16 @@ protected class StaRepository_NameAssignment_4 extends AssignmentToken { } -// ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? -protected class StaRepository_Group_5 extends GroupToken { - - public StaRepository_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getGroup_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new StaRepository_RightCurlyBracketKeyword_5_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "parameters" -protected class StaRepository_ParametersKeyword_5_0 extends KeywordToken { +// "tactics" +protected class StaRepository_TacticsKeyword_5 extends KeywordToken { - public StaRepository_ParametersKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_TacticsKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getParametersKeyword_5_0(); + return grammarAccess.getStaRepositoryAccess().getTacticsKeyword_5(); } @Override @@ -279,56 +263,56 @@ protected class StaRepository_ParametersKeyword_5_0 extends KeywordToken { } // "{" -protected class StaRepository_LeftCurlyBracketKeyword_5_1 extends KeywordToken { +protected class StaRepository_LeftCurlyBracketKeyword_6 extends KeywordToken { - public StaRepository_LeftCurlyBracketKeyword_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_LeftCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_5_1(); + return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_ParametersKeyword_5_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_TacticsKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// parameters+=Parameter -protected class StaRepository_ParametersAssignment_5_2 extends AssignmentToken { +// tactics+=Tactic +protected class StaRepository_TacticsAssignment_7 extends AssignmentToken { - public StaRepository_ParametersAssignment_5_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_TacticsAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getParametersAssignment_5_2(); + return grammarAccess.getStaRepositoryAccess().getTacticsAssignment_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Parameter_Group(this, this, 0, inst); + case 0: return new Tactic_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("parameters",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameters"); + if((value = eObjectConsumer.getConsumable("tactics",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tactics"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getParameterRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getTacticRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_2_0(); + element = grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_7_0(); consumed = obj; return param; } @@ -340,28 +324,28 @@ protected class StaRepository_ParametersAssignment_5_2 extends AssignmentToken public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_LeftCurlyBracketKeyword_5_1(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_LeftCurlyBracketKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// ("," parameters+=Parameter)* -protected class StaRepository_Group_5_3 extends GroupToken { +// ("," tactics+=Tactic)* +protected class StaRepository_Group_8 extends GroupToken { - public StaRepository_Group_5_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_Group_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getGroup_5_3(); + return grammarAccess.getStaRepositoryAccess().getGroup_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_ParametersAssignment_5_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_TacticsAssignment_8_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -369,57 +353,57 @@ protected class StaRepository_Group_5_3 extends GroupToken { } // "," -protected class StaRepository_CommaKeyword_5_3_0 extends KeywordToken { +protected class StaRepository_CommaKeyword_8_0 extends KeywordToken { - public StaRepository_CommaKeyword_5_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_CommaKeyword_8_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getCommaKeyword_5_3_0(); + return grammarAccess.getStaRepositoryAccess().getCommaKeyword_8_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_5_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_ParametersAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_8(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_TacticsAssignment_7(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// parameters+=Parameter -protected class StaRepository_ParametersAssignment_5_3_1 extends AssignmentToken { +// tactics+=Tactic +protected class StaRepository_TacticsAssignment_8_1 extends AssignmentToken { - public StaRepository_ParametersAssignment_5_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_TacticsAssignment_8_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getParametersAssignment_5_3_1(); + return grammarAccess.getStaRepositoryAccess().getTacticsAssignment_8_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Parameter_Group(this, this, 0, inst); + case 0: return new Tactic_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("parameters",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameters"); + if((value = eObjectConsumer.getConsumable("tactics",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tactics"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getParameterRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getTacticRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_3_1_0(); + element = grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_8_1_0(); consumed = obj; return param; } @@ -431,7 +415,7 @@ protected class StaRepository_ParametersAssignment_5_3_1 extends AssignmentToken public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_CommaKeyword_5_3_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_CommaKeyword_8_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -439,46 +423,44 @@ protected class StaRepository_ParametersAssignment_5_3_1 extends AssignmentToken // "}" -protected class StaRepository_RightCurlyBracketKeyword_5_4 extends KeywordToken { +protected class StaRepository_RightCurlyBracketKeyword_9 extends KeywordToken { - public StaRepository_RightCurlyBracketKeyword_5_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_5_4(); + return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_5_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_ParametersAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_8(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_TacticsAssignment_7(lastRuleCallOrigin, this, 1, inst); default: return null; } } } - // "actions" -protected class StaRepository_ActionsKeyword_6 extends KeywordToken { +protected class StaRepository_ActionsKeyword_10 extends KeywordToken { - public StaRepository_ActionsKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ActionsKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getActionsKeyword_6(); + return grammarAccess.getStaRepositoryAccess().getActionsKeyword_10(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_5(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_NameAssignment_4(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -486,21 +468,21 @@ protected class StaRepository_ActionsKeyword_6 extends KeywordToken { } // "{" -protected class StaRepository_LeftCurlyBracketKeyword_7 extends KeywordToken { +protected class StaRepository_LeftCurlyBracketKeyword_11 extends KeywordToken { - public StaRepository_LeftCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_LeftCurlyBracketKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_7(); + return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_11(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_ActionsKeyword_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_ActionsKeyword_10(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -508,15 +490,15 @@ protected class StaRepository_LeftCurlyBracketKeyword_7 extends KeywordToken { } // actions+=Action -protected class StaRepository_ActionsAssignment_8 extends AssignmentToken { +protected class StaRepository_ActionsAssignment_12 extends AssignmentToken { - public StaRepository_ActionsAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ActionsAssignment_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getActionsAssignment_8(); + return grammarAccess.getStaRepositoryAccess().getActionsAssignment_12(); } @Override @@ -535,7 +517,7 @@ protected class StaRepository_ActionsAssignment_8 extends AssignmentToken { IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getActionRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_8_0(); + element = grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_12_0(); consumed = obj; return param; } @@ -547,28 +529,28 @@ protected class StaRepository_ActionsAssignment_8 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_LeftCurlyBracketKeyword_7(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_LeftCurlyBracketKeyword_11(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } // ("," actions+=Action)* -protected class StaRepository_Group_9 extends GroupToken { +protected class StaRepository_Group_13 extends GroupToken { - public StaRepository_Group_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_Group_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getGroup_9(); + return grammarAccess.getStaRepositoryAccess().getGroup_13(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_ActionsAssignment_9_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_ActionsAssignment_13_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -576,22 +558,22 @@ protected class StaRepository_Group_9 extends GroupToken { } // "," -protected class StaRepository_CommaKeyword_9_0 extends KeywordToken { +protected class StaRepository_CommaKeyword_13_0 extends KeywordToken { - public StaRepository_CommaKeyword_9_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_CommaKeyword_13_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getCommaKeyword_9_0(); + return grammarAccess.getStaRepositoryAccess().getCommaKeyword_13_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_9(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_ActionsAssignment_8(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_13(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_ActionsAssignment_12(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -599,15 +581,15 @@ protected class StaRepository_CommaKeyword_9_0 extends KeywordToken { } // actions+=Action -protected class StaRepository_ActionsAssignment_9_1 extends AssignmentToken { +protected class StaRepository_ActionsAssignment_13_1 extends AssignmentToken { - public StaRepository_ActionsAssignment_9_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ActionsAssignment_13_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getActionsAssignment_9_1(); + return grammarAccess.getStaRepositoryAccess().getActionsAssignment_13_1(); } @Override @@ -626,7 +608,7 @@ protected class StaRepository_ActionsAssignment_9_1 extends AssignmentToken { IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getActionRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_9_1_0(); + element = grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_13_1_0(); consumed = obj; return param; } @@ -638,7 +620,7 @@ protected class StaRepository_ActionsAssignment_9_1 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_CommaKeyword_9_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_CommaKeyword_13_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -646,44 +628,44 @@ protected class StaRepository_ActionsAssignment_9_1 extends AssignmentToken { // "}" -protected class StaRepository_RightCurlyBracketKeyword_10 extends KeywordToken { +protected class StaRepository_RightCurlyBracketKeyword_14 extends KeywordToken { - public StaRepository_RightCurlyBracketKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_RightCurlyBracketKeyword_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_10(); + return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_14(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_9(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_ActionsAssignment_8(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_13(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_ActionsAssignment_12(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// "tactics" -protected class StaRepository_TacticsKeyword_11 extends KeywordToken { +// "strategies" +protected class StaRepository_StrategiesKeyword_15 extends KeywordToken { - public StaRepository_TacticsKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_StrategiesKeyword_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getTacticsKeyword_11(); + return grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_15(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_RightCurlyBracketKeyword_10(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_RightCurlyBracketKeyword_14(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -691,56 +673,56 @@ protected class StaRepository_TacticsKeyword_11 extends KeywordToken { } // "{" -protected class StaRepository_LeftCurlyBracketKeyword_12 extends KeywordToken { +protected class StaRepository_LeftCurlyBracketKeyword_16 extends KeywordToken { - public StaRepository_LeftCurlyBracketKeyword_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_LeftCurlyBracketKeyword_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_12(); + return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_16(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_TacticsKeyword_11(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_StrategiesKeyword_15(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// tactics+=Tactic -protected class StaRepository_TacticsAssignment_13 extends AssignmentToken { +// strategies+=Strategy +protected class StaRepository_StrategiesAssignment_17 extends AssignmentToken { - public StaRepository_TacticsAssignment_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_StrategiesAssignment_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getTacticsAssignment_13(); + return grammarAccess.getStaRepositoryAccess().getStrategiesAssignment_17(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Tactic_Group(this, this, 0, inst); + case 0: return new Strategy_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("tactics",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tactics"); + if((value = eObjectConsumer.getConsumable("strategies",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("strategies"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getTacticRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStrategyRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_13_0(); + element = grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_17_0(); consumed = obj; return param; } @@ -752,28 +734,28 @@ protected class StaRepository_TacticsAssignment_13 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_LeftCurlyBracketKeyword_12(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_LeftCurlyBracketKeyword_16(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// ("," tactics+=Tactic)* -protected class StaRepository_Group_14 extends GroupToken { +// ("," strategies+=Strategy)* +protected class StaRepository_Group_18 extends GroupToken { - public StaRepository_Group_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_Group_18(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getGroup_14(); + return grammarAccess.getStaRepositoryAccess().getGroup_18(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_TacticsAssignment_14_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_StrategiesAssignment_18_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -781,57 +763,57 @@ protected class StaRepository_Group_14 extends GroupToken { } // "," -protected class StaRepository_CommaKeyword_14_0 extends KeywordToken { +protected class StaRepository_CommaKeyword_18_0 extends KeywordToken { - public StaRepository_CommaKeyword_14_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_CommaKeyword_18_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getCommaKeyword_14_0(); + return grammarAccess.getStaRepositoryAccess().getCommaKeyword_18_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_14(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_TacticsAssignment_13(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_18(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_StrategiesAssignment_17(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// tactics+=Tactic -protected class StaRepository_TacticsAssignment_14_1 extends AssignmentToken { +// strategies+=Strategy +protected class StaRepository_StrategiesAssignment_18_1 extends AssignmentToken { - public StaRepository_TacticsAssignment_14_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_StrategiesAssignment_18_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getTacticsAssignment_14_1(); + return grammarAccess.getStaRepositoryAccess().getStrategiesAssignment_18_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Tactic_Group(this, this, 0, inst); + case 0: return new Strategy_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("tactics",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tactics"); + if((value = eObjectConsumer.getConsumable("strategies",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("strategies"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getTacticRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStrategyRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_14_1_0(); + element = grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_1_0(); consumed = obj; return param; } @@ -843,7 +825,7 @@ protected class StaRepository_TacticsAssignment_14_1 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_CommaKeyword_14_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_CommaKeyword_18_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -851,44 +833,66 @@ protected class StaRepository_TacticsAssignment_14_1 extends AssignmentToken { // "}" -protected class StaRepository_RightCurlyBracketKeyword_15 extends KeywordToken { +protected class StaRepository_RightCurlyBracketKeyword_19 extends KeywordToken { - public StaRepository_RightCurlyBracketKeyword_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_RightCurlyBracketKeyword_19(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_15(); + return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_19(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_14(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_TacticsAssignment_13(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_18(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_StrategiesAssignment_17(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// "strategies" -protected class StaRepository_StrategiesKeyword_16 extends KeywordToken { +// ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? +protected class StaRepository_Group_20 extends GroupToken { + + public StaRepository_Group_20(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getStaRepositoryAccess().getGroup_20(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new StaRepository_RightCurlyBracketKeyword_20_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "parameters" +protected class StaRepository_ParametersKeyword_20_0 extends KeywordToken { - public StaRepository_StrategiesKeyword_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ParametersKeyword_20_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_16(); + return grammarAccess.getStaRepositoryAccess().getParametersKeyword_20_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_RightCurlyBracketKeyword_15(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_RightCurlyBracketKeyword_19(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -896,56 +900,56 @@ protected class StaRepository_StrategiesKeyword_16 extends KeywordToken { } // "{" -protected class StaRepository_LeftCurlyBracketKeyword_17 extends KeywordToken { +protected class StaRepository_LeftCurlyBracketKeyword_20_1 extends KeywordToken { - public StaRepository_LeftCurlyBracketKeyword_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_LeftCurlyBracketKeyword_20_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_17(); + return grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_20_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_StrategiesKeyword_16(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_ParametersKeyword_20_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// strategies+=Strategy -protected class StaRepository_StrategiesAssignment_18 extends AssignmentToken { +// parameters+=Parameter +protected class StaRepository_ParametersAssignment_20_2 extends AssignmentToken { - public StaRepository_StrategiesAssignment_18(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ParametersAssignment_20_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getStrategiesAssignment_18(); + return grammarAccess.getStaRepositoryAccess().getParametersAssignment_20_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_Group(this, this, 0, inst); + case 0: return new Parameter_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("strategies",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("strategies"); + if((value = eObjectConsumer.getConsumable("parameters",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameters"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStrategyRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getParameterRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_0(); + element = grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_2_0(); consumed = obj; return param; } @@ -957,28 +961,28 @@ protected class StaRepository_StrategiesAssignment_18 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_LeftCurlyBracketKeyword_17(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_LeftCurlyBracketKeyword_20_1(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// ("," strategies+=Strategy)* -protected class StaRepository_Group_19 extends GroupToken { +// ("," parameters+=Parameter)* +protected class StaRepository_Group_20_3 extends GroupToken { - public StaRepository_Group_19(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_Group_20_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getGroup_19(); + return grammarAccess.getStaRepositoryAccess().getGroup_20_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_StrategiesAssignment_19_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_ParametersAssignment_20_3_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -986,57 +990,57 @@ protected class StaRepository_Group_19 extends GroupToken { } // "," -protected class StaRepository_CommaKeyword_19_0 extends KeywordToken { +protected class StaRepository_CommaKeyword_20_3_0 extends KeywordToken { - public StaRepository_CommaKeyword_19_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_CommaKeyword_20_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getCommaKeyword_19_0(); + return grammarAccess.getStaRepositoryAccess().getCommaKeyword_20_3_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_19(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_StrategiesAssignment_18(lastRuleCallOrigin, this, 1, inst); + case 0: return new StaRepository_Group_20_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_ParametersAssignment_20_2(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// strategies+=Strategy -protected class StaRepository_StrategiesAssignment_19_1 extends AssignmentToken { +// parameters+=Parameter +protected class StaRepository_ParametersAssignment_20_3_1 extends AssignmentToken { - public StaRepository_StrategiesAssignment_19_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_ParametersAssignment_20_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getStrategiesAssignment_19_1(); + return grammarAccess.getStaRepositoryAccess().getParametersAssignment_20_3_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_Group(this, this, 0, inst); + case 0: return new Parameter_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("strategies",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("strategies"); + if((value = eObjectConsumer.getConsumable("parameters",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameters"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStrategyRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getParameterRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_19_1_0(); + element = grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_3_1_0(); consumed = obj; return param; } @@ -1048,7 +1052,7 @@ protected class StaRepository_StrategiesAssignment_19_1 extends AssignmentToken public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new StaRepository_CommaKeyword_19_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new StaRepository_CommaKeyword_20_3_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -1056,44 +1060,114 @@ protected class StaRepository_StrategiesAssignment_19_1 extends AssignmentToken // "}" -protected class StaRepository_RightCurlyBracketKeyword_20 extends KeywordToken { +protected class StaRepository_RightCurlyBracketKeyword_20_4 extends KeywordToken { + + public StaRepository_RightCurlyBracketKeyword_20_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } - public StaRepository_RightCurlyBracketKeyword_20(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + @Override + public Keyword getGrammarElement() { + return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new StaRepository_Group_20_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_ParametersAssignment_20_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +// "goal" +protected class StaRepository_GoalKeyword_21 extends KeywordToken { + + public StaRepository_GoalKeyword_21(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20(); + return grammarAccess.getStaRepositoryAccess().getGoalKeyword_21(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new StaRepository_Group_20(lastRuleCallOrigin, this, 0, inst); + case 1: return new StaRepository_RightCurlyBracketKeyword_19(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// goal=OverallGoal +protected class StaRepository_GoalAssignment_22 extends AssignmentToken { + + public StaRepository_GoalAssignment_22(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getStaRepositoryAccess().getGoalAssignment_22(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_Group_19(lastRuleCallOrigin, this, 0, inst); - case 1: return new StaRepository_StrategiesAssignment_18(lastRuleCallOrigin, this, 1, inst); + case 0: return new OverallGoal_Group(this, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("goal",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("goal"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getOverallGoalRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getStaRepositoryAccess().getGoalOverallGoalParserRuleCall_22_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new StaRepository_GoalKeyword_21(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } // "}" -protected class StaRepository_RightCurlyBracketKeyword_21 extends KeywordToken { +protected class StaRepository_RightCurlyBracketKeyword_23 extends KeywordToken { - public StaRepository_RightCurlyBracketKeyword_21(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StaRepository_RightCurlyBracketKeyword_23(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_21(); + return grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_23(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new StaRepository_RightCurlyBracketKeyword_20(lastRuleCallOrigin, this, 0, inst); + case 0: return new StaRepository_GoalAssignment_22(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -1221,11 +1295,11 @@ protected class AdaptationPoint_ModelEntityConfigurationRangeParserRuleCall_1 ex /************ begin Rule AbstractControlFlowElement **************** * * AbstractControlFlowElement: - * Start | Stop | Loop | Branch | ActionReference; + * StartAction | StopAction | LoopAction | BranchAction | ActionReference; * **/ -// Start | Stop | Loop | Branch | ActionReference +// StartAction | StopAction | LoopAction | BranchAction | ActionReference protected class AbstractControlFlowElement_Alternatives extends AlternativesToken { public AbstractControlFlowElement_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { @@ -1240,10 +1314,10 @@ protected class AbstractControlFlowElement_Alternatives extends AlternativesToke @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AbstractControlFlowElement_StartParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new AbstractControlFlowElement_StopParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new AbstractControlFlowElement_LoopParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new AbstractControlFlowElement_BranchParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); + case 0: return new AbstractControlFlowElement_StartActionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new AbstractControlFlowElement_StopActionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); + case 2: return new AbstractControlFlowElement_LoopActionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); + case 3: return new AbstractControlFlowElement_BranchActionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); case 4: return new AbstractControlFlowElement_ActionReferenceParserRuleCall_4(lastRuleCallOrigin, this, 4, inst); default: return null; } @@ -1252,41 +1326,41 @@ protected class AbstractControlFlowElement_Alternatives extends AlternativesToke @Override public IEObjectConsumer tryConsume() { if(getEObject().eClass() != grammarAccess.getActionReferenceRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getBranchRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getLoopRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getStartAccess().getStartActionAction_0().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getStopAccess().getStopActionAction_0().getType().getClassifier()) + getEObject().eClass() != grammarAccess.getBranchActionRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getLoopActionRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getStartActionAccess().getStartActionAction_0().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getStopActionAccess().getStopActionAction_0().getType().getClassifier()) return null; return eObjectConsumer; } } -// Start -protected class AbstractControlFlowElement_StartParserRuleCall_0 extends RuleCallToken { +// StartAction +protected class AbstractControlFlowElement_StartActionParserRuleCall_0 extends RuleCallToken { - public AbstractControlFlowElement_StartParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AbstractControlFlowElement_StartActionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public RuleCall getGrammarElement() { - return grammarAccess.getAbstractControlFlowElementAccess().getStartParserRuleCall_0(); + return grammarAccess.getAbstractControlFlowElementAccess().getStartActionParserRuleCall_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_Group(this, this, 0, inst); + case 0: return new StartAction_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStartAccess().getStartActionAction_0().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getStartActionAccess().getStartActionAction_0().getType().getClassifier()) return null; - if(checkForRecursion(Start_Group.class, eObjectConsumer)) return null; + if(checkForRecursion(StartAction_Group.class, eObjectConsumer)) return null; return eObjectConsumer; } @@ -1298,31 +1372,31 @@ protected class AbstractControlFlowElement_StartParserRuleCall_0 extends RuleCal } } -// Stop -protected class AbstractControlFlowElement_StopParserRuleCall_1 extends RuleCallToken { +// StopAction +protected class AbstractControlFlowElement_StopActionParserRuleCall_1 extends RuleCallToken { - public AbstractControlFlowElement_StopParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AbstractControlFlowElement_StopActionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public RuleCall getGrammarElement() { - return grammarAccess.getAbstractControlFlowElementAccess().getStopParserRuleCall_1(); + return grammarAccess.getAbstractControlFlowElementAccess().getStopActionParserRuleCall_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_Group(this, this, 0, inst); + case 0: return new StopAction_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStopAccess().getStopActionAction_0().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getStopActionAccess().getStopActionAction_0().getType().getClassifier()) return null; - if(checkForRecursion(Stop_Group.class, eObjectConsumer)) return null; + if(checkForRecursion(StopAction_Group.class, eObjectConsumer)) return null; return eObjectConsumer; } @@ -1334,31 +1408,31 @@ protected class AbstractControlFlowElement_StopParserRuleCall_1 extends RuleCall } } -// Loop -protected class AbstractControlFlowElement_LoopParserRuleCall_2 extends RuleCallToken { +// LoopAction +protected class AbstractControlFlowElement_LoopActionParserRuleCall_2 extends RuleCallToken { - public AbstractControlFlowElement_LoopParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AbstractControlFlowElement_LoopActionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public RuleCall getGrammarElement() { - return grammarAccess.getAbstractControlFlowElementAccess().getLoopParserRuleCall_2(); + return grammarAccess.getAbstractControlFlowElementAccess().getLoopActionParserRuleCall_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_Group(this, this, 0, inst); + case 0: return new LoopAction_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getLoopRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getLoopActionRule().getType().getClassifier()) return null; - if(checkForRecursion(Loop_Group.class, eObjectConsumer)) return null; + if(checkForRecursion(LoopAction_Group.class, eObjectConsumer)) return null; return eObjectConsumer; } @@ -1370,31 +1444,31 @@ protected class AbstractControlFlowElement_LoopParserRuleCall_2 extends RuleCall } } -// Branch -protected class AbstractControlFlowElement_BranchParserRuleCall_3 extends RuleCallToken { +// BranchAction +protected class AbstractControlFlowElement_BranchActionParserRuleCall_3 extends RuleCallToken { - public AbstractControlFlowElement_BranchParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AbstractControlFlowElement_BranchActionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public RuleCall getGrammarElement() { - return grammarAccess.getAbstractControlFlowElementAccess().getBranchParserRuleCall_3(); + return grammarAccess.getAbstractControlFlowElementAccess().getBranchActionParserRuleCall_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_Group(this, this, 0, inst); + case 0: return new BranchAction_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBranchRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getBranchActionRule().getType().getClassifier()) return null; - if(checkForRecursion(Branch_Group.class, eObjectConsumer)) return null; + if(checkForRecursion(BranchAction_Group.class, eObjectConsumer)) return null; return eObjectConsumer; } @@ -2126,14 +2200,16 @@ protected class Tactic_RightCurlyBracketKeyword_9 extends KeywordToken { /************ begin Rule Action **************** * * Action: - * "Action" id=EString "{" "name" name=EString ("outputParam" outputParam=[Parameter|EString])? ("inputParams" "(" - * inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" + * "Action" id=EString "{" "name" name=EString "operationType" operationType=OperationType ("outputParam" + * outputParam=[Parameter|EString])? ("inputParams" "(" inputParams+=[Parameter|EString] ("," + * inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" * referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] "}"; * **/ -// "Action" id=EString "{" "name" name=EString ("outputParam" outputParam=[Parameter|EString])? ("inputParams" "(" -// inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" +// "Action" id=EString "{" "name" name=EString "operationType" operationType=OperationType ("outputParam" +// outputParam=[Parameter|EString])? ("inputParams" "(" inputParams+=[Parameter|EString] ("," +// inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" // referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] "}" protected class Action_Group extends GroupToken { @@ -2149,7 +2225,7 @@ protected class Action_Group extends GroupToken { @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_RightCurlyBracketKeyword_11(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2296,22 +2372,78 @@ protected class Action_NameAssignment_4 extends AssignmentToken { } +// "operationType" +protected class Action_OperationTypeKeyword_5 extends KeywordToken { + + public Action_OperationTypeKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionAccess().getOperationTypeKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Action_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// operationType=OperationType +protected class Action_OperationTypeAssignment_6 extends AssignmentToken { + + public Action_OperationTypeAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getActionAccess().getOperationTypeAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Action_OperationTypeKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("operationType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationType"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getActionAccess().getOperationTypeOperationTypeParserRuleCall_6_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getActionAccess().getOperationTypeOperationTypeParserRuleCall_6_0(); + return obj; + } + return null; + } + +} + // ("outputParam" outputParam=[Parameter|EString])? -protected class Action_Group_5 extends GroupToken { +protected class Action_Group_7 extends GroupToken { - public Action_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionAccess().getGroup_5(); + return grammarAccess.getActionAccess().getGroup_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_OutputParamAssignment_5_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_OutputParamAssignment_7_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2319,21 +2451,21 @@ protected class Action_Group_5 extends GroupToken { } // "outputParam" -protected class Action_OutputParamKeyword_5_0 extends KeywordToken { +protected class Action_OutputParamKeyword_7_0 extends KeywordToken { - public Action_OutputParamKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_OutputParamKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getOutputParamKeyword_5_0(); + return grammarAccess.getActionAccess().getOutputParamKeyword_7_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_OperationTypeAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2341,21 +2473,21 @@ protected class Action_OutputParamKeyword_5_0 extends KeywordToken { } // outputParam=[Parameter|EString] -protected class Action_OutputParamAssignment_5_1 extends AssignmentToken { +protected class Action_OutputParamAssignment_7_1 extends AssignmentToken { - public Action_OutputParamAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_OutputParamAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionAccess().getOutputParamAssignment_5_1(); + return grammarAccess.getActionAccess().getOutputParamAssignment_7_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_OutputParamKeyword_5_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_OutputParamKeyword_7_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2366,9 +2498,9 @@ protected class Action_OutputParamAssignment_5_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("outputParam"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_5_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_7_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionAccess().getOutputParamParameterCrossReference_5_1_0(); + element = grammarAccess.getActionAccess().getOutputParamParameterCrossReference_7_1_0(); return obj; } } @@ -2379,21 +2511,21 @@ protected class Action_OutputParamAssignment_5_1 extends AssignmentToken { // ("inputParams" "(" inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? -protected class Action_Group_6 extends GroupToken { +protected class Action_Group_8 extends GroupToken { - public Action_Group_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_Group_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionAccess().getGroup_6(); + return grammarAccess.getActionAccess().getGroup_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_RightParenthesisKeyword_6_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_RightParenthesisKeyword_8_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2401,22 +2533,22 @@ protected class Action_Group_6 extends GroupToken { } // "inputParams" -protected class Action_InputParamsKeyword_6_0 extends KeywordToken { +protected class Action_InputParamsKeyword_8_0 extends KeywordToken { - public Action_InputParamsKeyword_6_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_InputParamsKeyword_8_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getInputParamsKeyword_6_0(); + return grammarAccess.getActionAccess().getInputParamsKeyword_8_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_Group_5(lastRuleCallOrigin, this, 0, inst); - case 1: return new Action_NameAssignment_4(lastRuleCallOrigin, this, 1, inst); + case 0: return new Action_Group_7(lastRuleCallOrigin, this, 0, inst); + case 1: return new Action_OperationTypeAssignment_6(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -2424,21 +2556,21 @@ protected class Action_InputParamsKeyword_6_0 extends KeywordToken { } // "(" -protected class Action_LeftParenthesisKeyword_6_1 extends KeywordToken { +protected class Action_LeftParenthesisKeyword_8_1 extends KeywordToken { - public Action_LeftParenthesisKeyword_6_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_LeftParenthesisKeyword_8_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getLeftParenthesisKeyword_6_1(); + return grammarAccess.getActionAccess().getLeftParenthesisKeyword_8_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_InputParamsKeyword_6_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_InputParamsKeyword_8_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2446,21 +2578,21 @@ protected class Action_LeftParenthesisKeyword_6_1 extends KeywordToken { } // inputParams+=[Parameter|EString] -protected class Action_InputParamsAssignment_6_2 extends AssignmentToken { +protected class Action_InputParamsAssignment_8_2 extends AssignmentToken { - public Action_InputParamsAssignment_6_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_InputParamsAssignment_8_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionAccess().getInputParamsAssignment_6_2(); + return grammarAccess.getActionAccess().getInputParamsAssignment_8_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_LeftParenthesisKeyword_6_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_LeftParenthesisKeyword_8_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2471,9 +2603,9 @@ protected class Action_InputParamsAssignment_6_2 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("inputParams"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_2_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_2_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_2_0(); + element = grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_2_0(); return obj; } } @@ -2483,21 +2615,21 @@ protected class Action_InputParamsAssignment_6_2 extends AssignmentToken { } // ("," inputParams+=[Parameter|EString])* -protected class Action_Group_6_3 extends GroupToken { +protected class Action_Group_8_3 extends GroupToken { - public Action_Group_6_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_Group_8_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionAccess().getGroup_6_3(); + return grammarAccess.getActionAccess().getGroup_8_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_InputParamsAssignment_6_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_InputParamsAssignment_8_3_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2505,22 +2637,22 @@ protected class Action_Group_6_3 extends GroupToken { } // "," -protected class Action_CommaKeyword_6_3_0 extends KeywordToken { +protected class Action_CommaKeyword_8_3_0 extends KeywordToken { - public Action_CommaKeyword_6_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_CommaKeyword_8_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getCommaKeyword_6_3_0(); + return grammarAccess.getActionAccess().getCommaKeyword_8_3_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_Group_6_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Action_InputParamsAssignment_6_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new Action_Group_8_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new Action_InputParamsAssignment_8_2(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -2528,21 +2660,21 @@ protected class Action_CommaKeyword_6_3_0 extends KeywordToken { } // inputParams+=[Parameter|EString] -protected class Action_InputParamsAssignment_6_3_1 extends AssignmentToken { +protected class Action_InputParamsAssignment_8_3_1 extends AssignmentToken { - public Action_InputParamsAssignment_6_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_InputParamsAssignment_8_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionAccess().getInputParamsAssignment_6_3_1(); + return grammarAccess.getActionAccess().getInputParamsAssignment_8_3_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_CommaKeyword_6_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_CommaKeyword_8_3_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2553,9 +2685,9 @@ protected class Action_InputParamsAssignment_6_3_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("inputParams"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_3_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_3_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_3_1_0(); + element = grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_3_1_0(); return obj; } } @@ -2566,22 +2698,22 @@ protected class Action_InputParamsAssignment_6_3_1 extends AssignmentToken { // ")" -protected class Action_RightParenthesisKeyword_6_4 extends KeywordToken { +protected class Action_RightParenthesisKeyword_8_4 extends KeywordToken { - public Action_RightParenthesisKeyword_6_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_RightParenthesisKeyword_8_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getRightParenthesisKeyword_6_4(); + return grammarAccess.getActionAccess().getRightParenthesisKeyword_8_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_Group_6_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Action_InputParamsAssignment_6_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new Action_Group_8_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new Action_InputParamsAssignment_8_2(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -2590,23 +2722,23 @@ protected class Action_RightParenthesisKeyword_6_4 extends KeywordToken { // "referredAdaptationPoint" -protected class Action_ReferredAdaptationPointKeyword_7 extends KeywordToken { +protected class Action_ReferredAdaptationPointKeyword_9 extends KeywordToken { - public Action_ReferredAdaptationPointKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_ReferredAdaptationPointKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_7(); + return grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_Group_6(lastRuleCallOrigin, this, 0, inst); - case 1: return new Action_Group_5(lastRuleCallOrigin, this, 1, inst); - case 2: return new Action_NameAssignment_4(lastRuleCallOrigin, this, 2, inst); + case 0: return new Action_Group_8(lastRuleCallOrigin, this, 0, inst); + case 1: return new Action_Group_7(lastRuleCallOrigin, this, 1, inst); + case 2: return new Action_OperationTypeAssignment_6(lastRuleCallOrigin, this, 2, inst); default: return null; } } @@ -2614,21 +2746,21 @@ protected class Action_ReferredAdaptationPointKeyword_7 extends KeywordToken { } // referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] -protected class Action_ReferredAdaptationPointAssignment_8 extends AssignmentToken { +protected class Action_ReferredAdaptationPointAssignment_10 extends AssignmentToken { - public Action_ReferredAdaptationPointAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_ReferredAdaptationPointAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionAccess().getReferredAdaptationPointAssignment_8(); + return grammarAccess.getActionAccess().getReferredAdaptationPointAssignment_10(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_ReferredAdaptationPointKeyword_7(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_ReferredAdaptationPointKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2639,9 +2771,9 @@ protected class Action_ReferredAdaptationPointAssignment_8 extends AssignmentTok IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referredAdaptationPoint"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_8_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_10_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_8_0(); + element = grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_10_0(); return obj; } } @@ -2651,21 +2783,21 @@ protected class Action_ReferredAdaptationPointAssignment_8 extends AssignmentTok } // "}" -protected class Action_RightCurlyBracketKeyword_9 extends KeywordToken { +protected class Action_RightCurlyBracketKeyword_11 extends KeywordToken { - public Action_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Action_RightCurlyBracketKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionAccess().getRightCurlyBracketKeyword_9(); + return grammarAccess.getActionAccess().getRightCurlyBracketKeyword_11(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Action_ReferredAdaptationPointAssignment_8(lastRuleCallOrigin, this, 0, inst); + case 0: return new Action_ReferredAdaptationPointAssignment_10(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2679,14 +2811,14 @@ protected class Action_RightCurlyBracketKeyword_9 extends KeywordToken { /************ begin Rule Strategy **************** * * Strategy: - * "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] ("triggeringEvents" - * triggeringEvents=Event)? "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" + * "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] "triggeringEvents" + * triggeringEvents=Event "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" * weightingFunction=WeightingFunction "}"; * **/ -// "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] ("triggeringEvents" -// triggeringEvents=Event)? "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" +// "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] "triggeringEvents" +// triggeringEvents=Event "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" // weightingFunction=WeightingFunction "}" protected class Strategy_Group extends GroupToken { @@ -2702,7 +2834,7 @@ protected class Strategy_Group extends GroupToken { @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_RightCurlyBracketKeyword_15(lastRuleCallOrigin, this, 0, inst); + case 0: return new Strategy_RightCurlyBracketKeyword_16(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -2908,38 +3040,16 @@ protected class Strategy_ObjectiveAssignment_6 extends AssignmentToken { } -// ("triggeringEvents" triggeringEvents=Event)? -protected class Strategy_Group_7 extends GroupToken { - - public Strategy_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getStrategyAccess().getGroup_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Strategy_TriggeringEventsAssignment_7_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - // "triggeringEvents" -protected class Strategy_TriggeringEventsKeyword_7_0 extends KeywordToken { +protected class Strategy_TriggeringEventsKeyword_7 extends KeywordToken { - public Strategy_TriggeringEventsKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_TriggeringEventsKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7_0(); + return grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7(); } @Override @@ -2953,15 +3063,15 @@ protected class Strategy_TriggeringEventsKeyword_7_0 extends KeywordToken { } // triggeringEvents=Event -protected class Strategy_TriggeringEventsAssignment_7_1 extends AssignmentToken { +protected class Strategy_TriggeringEventsAssignment_8 extends AssignmentToken { - public Strategy_TriggeringEventsAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_TriggeringEventsAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStrategyAccess().getTriggeringEventsAssignment_7_1(); + return grammarAccess.getStrategyAccess().getTriggeringEventsAssignment_8(); } @Override @@ -2974,13 +3084,13 @@ protected class Strategy_TriggeringEventsAssignment_7_1 extends AssignmentToken @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("triggeringEvents",false)) == null) return null; + if((value = eObjectConsumer.getConsumable("triggeringEvents",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("triggeringEvents"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getEventRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_7_1_0(); + element = grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_8_0(); consumed = obj; return param; } @@ -2992,30 +3102,28 @@ protected class Strategy_TriggeringEventsAssignment_7_1 extends AssignmentToken public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new Strategy_TriggeringEventsKeyword_7_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Strategy_TriggeringEventsKeyword_7(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } - // "tactics" -protected class Strategy_TacticsKeyword_8 extends KeywordToken { +protected class Strategy_TacticsKeyword_9 extends KeywordToken { - public Strategy_TacticsKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_TacticsKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getTacticsKeyword_8(); + return grammarAccess.getStrategyAccess().getTacticsKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_Group_7(lastRuleCallOrigin, this, 0, inst); - case 1: return new Strategy_ObjectiveAssignment_6(lastRuleCallOrigin, this, 1, inst); + case 0: return new Strategy_TriggeringEventsAssignment_8(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3023,21 +3131,21 @@ protected class Strategy_TacticsKeyword_8 extends KeywordToken { } // "{" -protected class Strategy_LeftCurlyBracketKeyword_9 extends KeywordToken { +protected class Strategy_LeftCurlyBracketKeyword_10 extends KeywordToken { - public Strategy_LeftCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_LeftCurlyBracketKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_9(); + return grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_10(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_TacticsKeyword_8(lastRuleCallOrigin, this, 0, inst); + case 0: return new Strategy_TacticsKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3045,15 +3153,15 @@ protected class Strategy_LeftCurlyBracketKeyword_9 extends KeywordToken { } // tactics+=WeightedTactic -protected class Strategy_TacticsAssignment_10 extends AssignmentToken { +protected class Strategy_TacticsAssignment_11 extends AssignmentToken { - public Strategy_TacticsAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_TacticsAssignment_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStrategyAccess().getTacticsAssignment_10(); + return grammarAccess.getStrategyAccess().getTacticsAssignment_11(); } @Override @@ -3072,7 +3180,7 @@ protected class Strategy_TacticsAssignment_10 extends AssignmentToken { IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getWeightedTacticRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_10_0(); + element = grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_0(); consumed = obj; return param; } @@ -3084,28 +3192,28 @@ protected class Strategy_TacticsAssignment_10 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new Strategy_LeftCurlyBracketKeyword_9(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Strategy_LeftCurlyBracketKeyword_10(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } // ("," tactics+=WeightedTactic)* -protected class Strategy_Group_11 extends GroupToken { +protected class Strategy_Group_12 extends GroupToken { - public Strategy_Group_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_Group_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStrategyAccess().getGroup_11(); + return grammarAccess.getStrategyAccess().getGroup_12(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_TacticsAssignment_11_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Strategy_TacticsAssignment_12_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3113,22 +3221,22 @@ protected class Strategy_Group_11 extends GroupToken { } // "," -protected class Strategy_CommaKeyword_11_0 extends KeywordToken { +protected class Strategy_CommaKeyword_12_0 extends KeywordToken { - public Strategy_CommaKeyword_11_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_CommaKeyword_12_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getCommaKeyword_11_0(); + return grammarAccess.getStrategyAccess().getCommaKeyword_12_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_Group_11(lastRuleCallOrigin, this, 0, inst); - case 1: return new Strategy_TacticsAssignment_10(lastRuleCallOrigin, this, 1, inst); + case 0: return new Strategy_Group_12(lastRuleCallOrigin, this, 0, inst); + case 1: return new Strategy_TacticsAssignment_11(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -3136,15 +3244,15 @@ protected class Strategy_CommaKeyword_11_0 extends KeywordToken { } // tactics+=WeightedTactic -protected class Strategy_TacticsAssignment_11_1 extends AssignmentToken { +protected class Strategy_TacticsAssignment_12_1 extends AssignmentToken { - public Strategy_TacticsAssignment_11_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_TacticsAssignment_12_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStrategyAccess().getTacticsAssignment_11_1(); + return grammarAccess.getStrategyAccess().getTacticsAssignment_12_1(); } @Override @@ -3163,7 +3271,7 @@ protected class Strategy_TacticsAssignment_11_1 extends AssignmentToken { IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getWeightedTacticRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_1_0(); + element = grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_12_1_0(); consumed = obj; return param; } @@ -3175,7 +3283,7 @@ protected class Strategy_TacticsAssignment_11_1 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new Strategy_CommaKeyword_11_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Strategy_CommaKeyword_12_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -3183,22 +3291,22 @@ protected class Strategy_TacticsAssignment_11_1 extends AssignmentToken { // "}" -protected class Strategy_RightCurlyBracketKeyword_12 extends KeywordToken { +protected class Strategy_RightCurlyBracketKeyword_13 extends KeywordToken { - public Strategy_RightCurlyBracketKeyword_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_RightCurlyBracketKeyword_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_12(); + return grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_13(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_Group_11(lastRuleCallOrigin, this, 0, inst); - case 1: return new Strategy_TacticsAssignment_10(lastRuleCallOrigin, this, 1, inst); + case 0: return new Strategy_Group_12(lastRuleCallOrigin, this, 0, inst); + case 1: return new Strategy_TacticsAssignment_11(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -3206,21 +3314,21 @@ protected class Strategy_RightCurlyBracketKeyword_12 extends KeywordToken { } // "weightingFunction" -protected class Strategy_WeightingFunctionKeyword_13 extends KeywordToken { +protected class Strategy_WeightingFunctionKeyword_14 extends KeywordToken { - public Strategy_WeightingFunctionKeyword_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_WeightingFunctionKeyword_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_13(); + return grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_14(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_RightCurlyBracketKeyword_12(lastRuleCallOrigin, this, 0, inst); + case 0: return new Strategy_RightCurlyBracketKeyword_13(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3228,15 +3336,15 @@ protected class Strategy_WeightingFunctionKeyword_13 extends KeywordToken { } // weightingFunction=WeightingFunction -protected class Strategy_WeightingFunctionAssignment_14 extends AssignmentToken { +protected class Strategy_WeightingFunctionAssignment_15 extends AssignmentToken { - public Strategy_WeightingFunctionAssignment_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_WeightingFunctionAssignment_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStrategyAccess().getWeightingFunctionAssignment_14(); + return grammarAccess.getStrategyAccess().getWeightingFunctionAssignment_15(); } @Override @@ -3255,7 +3363,7 @@ protected class Strategy_WeightingFunctionAssignment_14 extends AssignmentToken IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getWeightingFunctionRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_14_0(); + element = grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_15_0(); consumed = obj; return param; } @@ -3267,28 +3375,28 @@ protected class Strategy_WeightingFunctionAssignment_14 extends AssignmentToken public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new Strategy_WeightingFunctionKeyword_13(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Strategy_WeightingFunctionKeyword_14(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } // "}" -protected class Strategy_RightCurlyBracketKeyword_15 extends KeywordToken { +protected class Strategy_RightCurlyBracketKeyword_16 extends KeywordToken { - public Strategy_RightCurlyBracketKeyword_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Strategy_RightCurlyBracketKeyword_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_15(); + return grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_16(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Strategy_WeightingFunctionAssignment_14(lastRuleCallOrigin, this, 0, inst); + case 0: return new Strategy_WeightingFunctionAssignment_15(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3494,54 +3602,54 @@ protected class Parameter_RightCurlyBracketKeyword_5 extends KeywordToken { /************ end Rule Parameter ****************/ -/************ begin Rule AdaptationPlan **************** +/************ begin Rule OverallGoal **************** * - * AdaptationPlan: - * "AdaptationPlan" id=EString "{" "name" name=EString ("steps" "{" steps+=AbstractControlFlowElement ("," - * steps+=AbstractControlFlowElement)* "}")? "}"; + * OverallGoal: + * "OverallGoal" "{" "description" description=EString "objectives" "{" objectives+=Objective ("," + * objectives+=Objective)* "}" "}"; * **/ -// "AdaptationPlan" id=EString "{" "name" name=EString ("steps" "{" steps+=AbstractControlFlowElement ("," -// steps+=AbstractControlFlowElement)* "}")? "}" -protected class AdaptationPlan_Group extends GroupToken { +// "OverallGoal" "{" "description" description=EString "objectives" "{" objectives+=Objective ("," objectives+=Objective)* +// "}" "}" +protected class OverallGoal_Group extends GroupToken { - public AdaptationPlan_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getGroup(); + return grammarAccess.getOverallGoalAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAdaptationPlanRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getOverallGoalRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "AdaptationPlan" -protected class AdaptationPlan_AdaptationPlanKeyword_0 extends KeywordToken { +// "OverallGoal" +protected class OverallGoal_OverallGoalKeyword_0 extends KeywordToken { - public AdaptationPlan_AdaptationPlanKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_OverallGoalKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getAdaptationPlanKeyword_0(); + return grammarAccess.getOverallGoalAccess().getOverallGoalKeyword_0(); } @Override @@ -3553,111 +3661,77 @@ protected class AdaptationPlan_AdaptationPlanKeyword_0 extends KeywordToken { } -// id=EString -protected class AdaptationPlan_IdAssignment_1 extends AssignmentToken { +// "{" +protected class OverallGoal_LeftCurlyBracketKeyword_1 extends KeywordToken { - public AdaptationPlan_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getIdAssignment_1(); + public Keyword getGrammarElement() { + return grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_AdaptationPlanKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdaptationPlanAccess().getIdEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAdaptationPlanAccess().getIdEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// "{" -protected class AdaptationPlan_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public AdaptationPlan_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdaptationPlan_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_OverallGoalKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "name" -protected class AdaptationPlan_NameKeyword_3 extends KeywordToken { +// "description" +protected class OverallGoal_DescriptionKeyword_2 extends KeywordToken { - public AdaptationPlan_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_DescriptionKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getNameKeyword_3(); + return grammarAccess.getOverallGoalAccess().getDescriptionKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// name=EString -protected class AdaptationPlan_NameAssignment_4 extends AssignmentToken { +// description=EString +protected class OverallGoal_DescriptionAssignment_3 extends AssignmentToken { - public AdaptationPlan_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_DescriptionAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getNameAssignment_4(); + return grammarAccess.getOverallGoalAccess().getDescriptionAssignment_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_DescriptionKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdaptationPlanAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("description",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("description"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getOverallGoalAccess().getDescriptionEStringParserRuleCall_3_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAdaptationPlanAccess().getNameEStringParserRuleCall_4_0(); + element = grammarAccess.getOverallGoalAccess().getDescriptionEStringParserRuleCall_3_0(); return obj; } return null; @@ -3665,44 +3739,22 @@ protected class AdaptationPlan_NameAssignment_4 extends AssignmentToken { } -// ("steps" "{" steps+=AbstractControlFlowElement ("," steps+=AbstractControlFlowElement)* "}")? -protected class AdaptationPlan_Group_5 extends GroupToken { - - public AdaptationPlan_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getGroup_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdaptationPlan_RightCurlyBracketKeyword_5_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "steps" -protected class AdaptationPlan_StepsKeyword_5_0 extends KeywordToken { +// "objectives" +protected class OverallGoal_ObjectivesKeyword_4 extends KeywordToken { - public AdaptationPlan_StepsKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_ObjectivesKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getStepsKeyword_5_0(); + return grammarAccess.getOverallGoalAccess().getObjectivesKeyword_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_DescriptionAssignment_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3710,56 +3762,56 @@ protected class AdaptationPlan_StepsKeyword_5_0 extends KeywordToken { } // "{" -protected class AdaptationPlan_LeftCurlyBracketKeyword_5_1 extends KeywordToken { +protected class OverallGoal_LeftCurlyBracketKeyword_5 extends KeywordToken { - public AdaptationPlan_LeftCurlyBracketKeyword_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_LeftCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_5_1(); + return grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_StepsKeyword_5_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_ObjectivesKeyword_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// steps+=AbstractControlFlowElement -protected class AdaptationPlan_StepsAssignment_5_2 extends AssignmentToken { +// objectives+=Objective +protected class OverallGoal_ObjectivesAssignment_6 extends AssignmentToken { - public AdaptationPlan_StepsAssignment_5_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_ObjectivesAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getStepsAssignment_5_2(); + return grammarAccess.getOverallGoalAccess().getObjectivesAssignment_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AbstractControlFlowElement_Alternatives(this, this, 0, inst); + case 0: return new Objective_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("steps",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("steps"); + if((value = eObjectConsumer.getConsumable("objectives",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("objectives"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAbstractControlFlowElementRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getObjectiveRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_2_0(); + element = grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_6_0(); consumed = obj; return param; } @@ -3771,28 +3823,28 @@ protected class AdaptationPlan_StepsAssignment_5_2 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new AdaptationPlan_LeftCurlyBracketKeyword_5_1(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new OverallGoal_LeftCurlyBracketKeyword_5(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// ("," steps+=AbstractControlFlowElement)* -protected class AdaptationPlan_Group_5_3 extends GroupToken { +// ("," objectives+=Objective)* +protected class OverallGoal_Group_7 extends GroupToken { - public AdaptationPlan_Group_5_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getGroup_5_3(); + return grammarAccess.getOverallGoalAccess().getGroup_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_StepsAssignment_5_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new OverallGoal_ObjectivesAssignment_7_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3800,57 +3852,57 @@ protected class AdaptationPlan_Group_5_3 extends GroupToken { } // "," -protected class AdaptationPlan_CommaKeyword_5_3_0 extends KeywordToken { +protected class OverallGoal_CommaKeyword_7_0 extends KeywordToken { - public AdaptationPlan_CommaKeyword_5_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_CommaKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getCommaKeyword_5_3_0(); + return grammarAccess.getOverallGoalAccess().getCommaKeyword_7_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_Group_5_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new AdaptationPlan_StepsAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new OverallGoal_Group_7(lastRuleCallOrigin, this, 0, inst); + case 1: return new OverallGoal_ObjectivesAssignment_6(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// steps+=AbstractControlFlowElement -protected class AdaptationPlan_StepsAssignment_5_3_1 extends AssignmentToken { +// objectives+=Objective +protected class OverallGoal_ObjectivesAssignment_7_1 extends AssignmentToken { - public AdaptationPlan_StepsAssignment_5_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_ObjectivesAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getStepsAssignment_5_3_1(); + return grammarAccess.getOverallGoalAccess().getObjectivesAssignment_7_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AbstractControlFlowElement_Alternatives(this, this, 0, inst); + case 0: return new Objective_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("steps",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("steps"); + if((value = eObjectConsumer.getConsumable("objectives",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("objectives"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAbstractControlFlowElementRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getObjectiveRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_3_1_0(); + element = grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_7_1_0(); consumed = obj; return param; } @@ -3862,7 +3914,7 @@ protected class AdaptationPlan_StepsAssignment_5_3_1 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new AdaptationPlan_CommaKeyword_5_3_0(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new OverallGoal_CommaKeyword_7_0(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } @@ -3870,46 +3922,44 @@ protected class AdaptationPlan_StepsAssignment_5_3_1 extends AssignmentToken { // "}" -protected class AdaptationPlan_RightCurlyBracketKeyword_5_4 extends KeywordToken { +protected class OverallGoal_RightCurlyBracketKeyword_8 extends KeywordToken { - public AdaptationPlan_RightCurlyBracketKeyword_5_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_5_4(); + return grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_Group_5_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new AdaptationPlan_StepsAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new OverallGoal_Group_7(lastRuleCallOrigin, this, 0, inst); + case 1: return new OverallGoal_ObjectivesAssignment_6(lastRuleCallOrigin, this, 1, inst); default: return null; } } } - // "}" -protected class AdaptationPlan_RightCurlyBracketKeyword_6 extends KeywordToken { +protected class OverallGoal_RightCurlyBracketKeyword_9 extends KeywordToken { - public AdaptationPlan_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public OverallGoal_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_6(); + return grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_Group_5(lastRuleCallOrigin, this, 0, inst); - case 1: return new AdaptationPlan_NameAssignment_4(lastRuleCallOrigin, this, 1, inst); + case 0: return new OverallGoal_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -3917,57 +3967,57 @@ protected class AdaptationPlan_RightCurlyBracketKeyword_6 extends KeywordToken } -/************ end Rule AdaptationPlan ****************/ +/************ end Rule OverallGoal ****************/ -/************ begin Rule Start **************** +/************ begin Rule AdaptationPlan **************** * - * Start returns StartAction: - * {StartAction} "Start" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - * successor=[AbstractControlFlowElement|EString])? "}"; + * AdaptationPlan: + * "AdaptationPlan" id=EString "{" "name" name=EString ("steps" "{" steps+=AbstractControlFlowElement ("," + * steps+=AbstractControlFlowElement)* "}")? "}"; * **/ -// {StartAction} "Start" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" -// successor=[AbstractControlFlowElement|EString])? "}" -protected class Start_Group extends GroupToken { +// "AdaptationPlan" id=EString "{" "name" name=EString ("steps" "{" steps+=AbstractControlFlowElement ("," +// steps+=AbstractControlFlowElement)* "}")? "}" +protected class AdaptationPlan_Group extends GroupToken { - public Start_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStartAccess().getGroup(); + return grammarAccess.getAdaptationPlanAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStartAccess().getStartActionAction_0().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getAdaptationPlanRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// {StartAction} -protected class Start_StartActionAction_0 extends ActionToken { - - public Start_StartActionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { +// "AdaptationPlan" +protected class AdaptationPlan_AdaptationPlanKeyword_0 extends KeywordToken { + + public AdaptationPlan_AdaptationPlanKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Action getGrammarElement() { - return grammarAccess.getStartAccess().getStartActionAction_0(); + public Keyword getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getAdaptationPlanKeyword_0(); } @Override @@ -3977,240 +4027,365 @@ protected class Start_StartActionAction_0 extends ActionToken { } } - @Override - public IEObjectConsumer tryConsume() { - if(!eObjectConsumer.isConsumed()) return null; - return eObjectConsumer; - } } -// "Start" -protected class Start_StartKeyword_1 extends KeywordToken { +// id=EString +protected class AdaptationPlan_IdAssignment_1 extends AssignmentToken { - public Start_StartKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getStartAccess().getStartKeyword_1(); + public Assignment getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_StartActionAction_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_AdaptationPlanKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdaptationPlanAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getAdaptationPlanAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + } // "{" -protected class Start_LeftCurlyBracketKeyword_2 extends KeywordToken { +protected class AdaptationPlan_LeftCurlyBracketKeyword_2 extends KeywordToken { - public Start_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStartAccess().getLeftCurlyBracketKeyword_2(); + return grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_StartKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -protected class Start_Group_3 extends GroupToken { +// "name" +protected class AdaptationPlan_NameKeyword_3 extends KeywordToken { - public Start_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getStartAccess().getGroup_3(); + public Keyword getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_PredecessorAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "predecessor" -protected class Start_PredecessorKeyword_3_0 extends KeywordToken { +// name=EString +protected class AdaptationPlan_NameAssignment_4 extends AssignmentToken { - public Start_PredecessorKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getStartAccess().getPredecessorKeyword_3_0(); + public Assignment getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdaptationPlanAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getAdaptationPlanAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + } -// predecessor=[AbstractControlFlowElement|EString] -protected class Start_PredecessorAssignment_3_1 extends AssignmentToken { +// ("steps" "{" steps+=AbstractControlFlowElement ("," steps+=AbstractControlFlowElement)* "}")? +protected class AdaptationPlan_Group_5 extends GroupToken { - public Start_PredecessorAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getStartAccess().getPredecessorAssignment_3_1(); + public Group getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getGroup_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_PredecessorKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_RightCurlyBracketKeyword_5_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("predecessor",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStartAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getStartAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0(); - return obj; - } - } - return null; - } - } - -// ("successor" successor=[AbstractControlFlowElement|EString])? -protected class Start_Group_4 extends GroupToken { +// "steps" +protected class AdaptationPlan_StepsKeyword_5_0 extends KeywordToken { - public Start_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_StepsKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getStartAccess().getGroup_4(); + public Keyword getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getStepsKeyword_5_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_SuccessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "successor" -protected class Start_SuccessorKeyword_4_0 extends KeywordToken { +// "{" +protected class AdaptationPlan_LeftCurlyBracketKeyword_5_1 extends KeywordToken { - public Start_SuccessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_LeftCurlyBracketKeyword_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStartAccess().getSuccessorKeyword_4_0(); + return grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_5_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Start_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new AdaptationPlan_StepsKeyword_5_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// successor=[AbstractControlFlowElement|EString] -protected class Start_SuccessorAssignment_4_1 extends AssignmentToken { +// steps+=AbstractControlFlowElement +protected class AdaptationPlan_StepsAssignment_5_2 extends AssignmentToken { - public Start_SuccessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public AdaptationPlan_StepsAssignment_5_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStartAccess().getSuccessorAssignment_4_1(); + return grammarAccess.getAdaptationPlanAccess().getStepsAssignment_5_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_SuccessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new AbstractControlFlowElement_Alternatives(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("successor",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + if((value = eObjectConsumer.getConsumable("steps",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("steps"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStartAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getStartAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0(); - return obj; + if(param.isInstanceOf(grammarAccess.getAbstractControlFlowElementRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_2_0(); + consumed = obj; + return param; } } return null; } + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new AdaptationPlan_LeftCurlyBracketKeyword_5_1(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } - -// "}" -protected class Start_RightCurlyBracketKeyword_5 extends KeywordToken { - - public Start_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { +// ("," steps+=AbstractControlFlowElement)* +protected class AdaptationPlan_Group_5_3 extends GroupToken { + + public AdaptationPlan_Group_5_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getGroup_5_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AdaptationPlan_StepsAssignment_5_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "," +protected class AdaptationPlan_CommaKeyword_5_3_0 extends KeywordToken { + + public AdaptationPlan_CommaKeyword_5_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getCommaKeyword_5_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AdaptationPlan_Group_5_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new AdaptationPlan_StepsAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// steps+=AbstractControlFlowElement +protected class AdaptationPlan_StepsAssignment_5_3_1 extends AssignmentToken { + + public AdaptationPlan_StepsAssignment_5_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getStepsAssignment_5_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AbstractControlFlowElement_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("steps",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("steps"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAbstractControlFlowElementRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_3_1_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new AdaptationPlan_CommaKeyword_5_3_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + + +// "}" +protected class AdaptationPlan_RightCurlyBracketKeyword_5_4 extends KeywordToken { + + public AdaptationPlan_RightCurlyBracketKeyword_5_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStartAccess().getRightCurlyBracketKeyword_5(); + return grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_5_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AdaptationPlan_Group_5_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new AdaptationPlan_StepsAssignment_5_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +// "}" +protected class AdaptationPlan_RightCurlyBracketKeyword_6 extends KeywordToken { + + public AdaptationPlan_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Start_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new Start_Group_3(lastRuleCallOrigin, this, 1, inst); - case 2: return new Start_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); + case 0: return new AdaptationPlan_Group_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new AdaptationPlan_NameAssignment_4(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -4218,57 +4393,57 @@ protected class Start_RightCurlyBracketKeyword_5 extends KeywordToken { } -/************ end Rule Start ****************/ +/************ end Rule AdaptationPlan ****************/ -/************ begin Rule Stop **************** +/************ begin Rule StartAction **************** * - * Stop returns StopAction: - * {StopAction} "Stop" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - * successor=[AbstractControlFlowElement|EString])? "}"; + * StartAction: + * {StartAction} "StartAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + * ("successor" successor=[AbstractControlFlowElement|EString])? "}"; * **/ -// {StopAction} "Stop" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" -// successor=[AbstractControlFlowElement|EString])? "}" -protected class Stop_Group extends GroupToken { +// {StartAction} "StartAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? +// ("successor" successor=[AbstractControlFlowElement|EString])? "}" +protected class StartAction_Group extends GroupToken { - public Stop_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStopAccess().getGroup(); + return grammarAccess.getStartActionAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStopAccess().getStopActionAction_0().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getStartActionAccess().getStartActionAction_0().getType().getClassifier()) return null; return eObjectConsumer; } } -// {StopAction} -protected class Stop_StopActionAction_0 extends ActionToken { +// {StartAction} +protected class StartAction_StartActionAction_0 extends ActionToken { - public Stop_StopActionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_StartActionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Action getGrammarElement() { - return grammarAccess.getStopAccess().getStopActionAction_0(); + return grammarAccess.getStartActionAccess().getStartActionAction_0(); } @Override @@ -4285,44 +4460,78 @@ protected class Stop_StopActionAction_0 extends ActionToken { } } -// "Stop" -protected class Stop_StopKeyword_1 extends KeywordToken { +// "StartAction" +protected class StartAction_StartActionKeyword_1 extends KeywordToken { - public Stop_StopKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_StartActionKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStopAccess().getStopKeyword_1(); + return grammarAccess.getStartActionAccess().getStartActionKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new StartAction_StartActionAction_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// id=EString +protected class StartAction_IdAssignment_2 extends AssignmentToken { + + public StartAction_IdAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getStartActionAccess().getIdAssignment_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_StopActionAction_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_StartActionKeyword_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getStartActionAccess().getIdEStringParserRuleCall_2_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getStartActionAccess().getIdEStringParserRuleCall_2_0(); + return obj; + } + return null; + } + } // "{" -protected class Stop_LeftCurlyBracketKeyword_2 extends KeywordToken { +protected class StartAction_LeftCurlyBracketKeyword_3 extends KeywordToken { - public Stop_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStopAccess().getLeftCurlyBracketKeyword_2(); + return grammarAccess.getStartActionAccess().getLeftCurlyBracketKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_StopKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_IdAssignment_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4330,21 +4539,21 @@ protected class Stop_LeftCurlyBracketKeyword_2 extends KeywordToken { } // ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -protected class Stop_Group_3 extends GroupToken { +protected class StartAction_Group_4 extends GroupToken { - public Stop_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStopAccess().getGroup_3(); + return grammarAccess.getStartActionAccess().getGroup_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_PredecessorAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_PredecessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4352,21 +4561,21 @@ protected class Stop_Group_3 extends GroupToken { } // "predecessor" -protected class Stop_PredecessorKeyword_3_0 extends KeywordToken { +protected class StartAction_PredecessorKeyword_4_0 extends KeywordToken { - public Stop_PredecessorKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_PredecessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStopAccess().getPredecessorKeyword_3_0(); + return grammarAccess.getStartActionAccess().getPredecessorKeyword_4_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4374,21 +4583,21 @@ protected class Stop_PredecessorKeyword_3_0 extends KeywordToken { } // predecessor=[AbstractControlFlowElement|EString] -protected class Stop_PredecessorAssignment_3_1 extends AssignmentToken { +protected class StartAction_PredecessorAssignment_4_1 extends AssignmentToken { - public Stop_PredecessorAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_PredecessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStopAccess().getPredecessorAssignment_3_1(); + return grammarAccess.getStartActionAccess().getPredecessorAssignment_4_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_PredecessorKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_PredecessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4399,9 +4608,9 @@ protected class Stop_PredecessorAssignment_3_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStopAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStartActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getStopAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0(); + element = grammarAccess.getStartActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0(); return obj; } } @@ -4412,21 +4621,21 @@ protected class Stop_PredecessorAssignment_3_1 extends AssignmentToken { // ("successor" successor=[AbstractControlFlowElement|EString])? -protected class Stop_Group_4 extends GroupToken { +protected class StartAction_Group_5 extends GroupToken { - public Stop_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getStopAccess().getGroup_4(); + return grammarAccess.getStartActionAccess().getGroup_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_SuccessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_SuccessorAssignment_5_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4434,22 +4643,22 @@ protected class Stop_Group_4 extends GroupToken { } // "successor" -protected class Stop_SuccessorKeyword_4_0 extends KeywordToken { +protected class StartAction_SuccessorKeyword_5_0 extends KeywordToken { - public Stop_SuccessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_SuccessorKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStopAccess().getSuccessorKeyword_4_0(); + return grammarAccess.getStartActionAccess().getSuccessorKeyword_5_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Stop_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new StartAction_Group_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new StartAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -4457,21 +4666,21 @@ protected class Stop_SuccessorKeyword_4_0 extends KeywordToken { } // successor=[AbstractControlFlowElement|EString] -protected class Stop_SuccessorAssignment_4_1 extends AssignmentToken { +protected class StartAction_SuccessorAssignment_5_1 extends AssignmentToken { - public Stop_SuccessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_SuccessorAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getStopAccess().getSuccessorAssignment_4_1(); + return grammarAccess.getStartActionAccess().getSuccessorAssignment_5_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_SuccessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StartAction_SuccessorKeyword_5_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4482,9 +4691,9 @@ protected class Stop_SuccessorAssignment_4_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getStopAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStartActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getStopAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0(); + element = grammarAccess.getStartActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0(); return obj; } } @@ -4495,23 +4704,23 @@ protected class Stop_SuccessorAssignment_4_1 extends AssignmentToken { // "}" -protected class Stop_RightCurlyBracketKeyword_5 extends KeywordToken { +protected class StartAction_RightCurlyBracketKeyword_6 extends KeywordToken { - public Stop_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StartAction_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getStopAccess().getRightCurlyBracketKeyword_5(); + return grammarAccess.getStartActionAccess().getRightCurlyBracketKeyword_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Stop_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new Stop_Group_3(lastRuleCallOrigin, this, 1, inst); - case 2: return new Stop_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); + case 0: return new StartAction_Group_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new StartAction_Group_4(lastRuleCallOrigin, this, 1, inst); + case 2: return new StartAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 2, inst); default: return null; } } @@ -4519,57 +4728,57 @@ protected class Stop_RightCurlyBracketKeyword_5 extends KeywordToken { } -/************ end Rule Stop ****************/ +/************ end Rule StartAction ****************/ -/************ begin Rule Loop **************** +/************ begin Rule StopAction **************** * - * Loop returns LoopAction: - * "LoopAction" "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - * successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; + * StopAction: + * {StopAction} "StopAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + * ("successor" successor=[AbstractControlFlowElement|EString])? "}"; * **/ -// "LoopAction" "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" -// successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}" -protected class Loop_Group extends GroupToken { +// {StopAction} "StopAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" +// successor=[AbstractControlFlowElement|EString])? "}" +protected class StopAction_Group extends GroupToken { - public Loop_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getLoopAccess().getGroup(); + return grammarAccess.getStopActionAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getLoopRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getStopActionAccess().getStopActionAction_0().getType().getClassifier()) return null; return eObjectConsumer; } } -// "LoopAction" -protected class Loop_LoopActionKeyword_0 extends KeywordToken { - - public Loop_LoopActionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { +// {StopAction} +protected class StopAction_StopActionAction_0 extends ActionToken { + + public StopAction_StopActionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getLoopActionKeyword_0(); + public Action getGrammarElement() { + return grammarAccess.getStopActionAccess().getStopActionAction_0(); } @Override @@ -4579,102 +4788,107 @@ protected class Loop_LoopActionKeyword_0 extends KeywordToken { } } + @Override + public IEObjectConsumer tryConsume() { + if(!eObjectConsumer.isConsumed()) return null; + return eObjectConsumer; + } } -// "{" -protected class Loop_LeftCurlyBracketKeyword_1 extends KeywordToken { +// "StopAction" +protected class StopAction_StopActionKeyword_1 extends KeywordToken { - public Loop_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_StopActionKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getLeftCurlyBracketKeyword_1(); + return grammarAccess.getStopActionAccess().getStopActionKeyword_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_LoopActionKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_StopActionAction_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "counter" -protected class Loop_CounterKeyword_2 extends KeywordToken { +// id=EString +protected class StopAction_IdAssignment_2 extends AssignmentToken { - public Loop_CounterKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_IdAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getCounterKeyword_2(); + public Assignment getGrammarElement() { + return grammarAccess.getStopActionAccess().getIdAssignment_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_StopActionKeyword_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getStopActionAccess().getIdEStringParserRuleCall_2_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getStopActionAccess().getIdEStringParserRuleCall_2_0(); + return obj; + } + return null; + } + } -// counter=EInt -protected class Loop_CounterAssignment_3 extends AssignmentToken { +// "{" +protected class StopAction_LeftCurlyBracketKeyword_3 extends KeywordToken { - public Loop_CounterAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getLoopAccess().getCounterAssignment_3(); + public Keyword getGrammarElement() { + return grammarAccess.getStopActionAccess().getLeftCurlyBracketKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_CounterKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_IdAssignment_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("counter",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("counter"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLoopAccess().getCounterEIntParserRuleCall_3_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getLoopAccess().getCounterEIntParserRuleCall_3_0(); - return obj; - } - return null; - } - } // ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -protected class Loop_Group_4 extends GroupToken { +protected class StopAction_Group_4 extends GroupToken { - public Loop_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getLoopAccess().getGroup_4(); + return grammarAccess.getStopActionAccess().getGroup_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_PredecessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_PredecessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4682,21 +4896,21 @@ protected class Loop_Group_4 extends GroupToken { } // "predecessor" -protected class Loop_PredecessorKeyword_4_0 extends KeywordToken { +protected class StopAction_PredecessorKeyword_4_0 extends KeywordToken { - public Loop_PredecessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_PredecessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getPredecessorKeyword_4_0(); + return grammarAccess.getStopActionAccess().getPredecessorKeyword_4_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_CounterAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4704,21 +4918,21 @@ protected class Loop_PredecessorKeyword_4_0 extends KeywordToken { } // predecessor=[AbstractControlFlowElement|EString] -protected class Loop_PredecessorAssignment_4_1 extends AssignmentToken { +protected class StopAction_PredecessorAssignment_4_1 extends AssignmentToken { - public Loop_PredecessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_PredecessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getLoopAccess().getPredecessorAssignment_4_1(); + return grammarAccess.getStopActionAccess().getPredecessorAssignment_4_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_PredecessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_PredecessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4729,9 +4943,9 @@ protected class Loop_PredecessorAssignment_4_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getLoopAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getLoopAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0(); + element = grammarAccess.getStopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0(); return obj; } } @@ -4742,21 +4956,21 @@ protected class Loop_PredecessorAssignment_4_1 extends AssignmentToken { // ("successor" successor=[AbstractControlFlowElement|EString])? -protected class Loop_Group_5 extends GroupToken { +protected class StopAction_Group_5 extends GroupToken { - public Loop_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getLoopAccess().getGroup_5(); + return grammarAccess.getStopActionAccess().getGroup_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_SuccessorAssignment_5_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_SuccessorAssignment_5_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4764,22 +4978,22 @@ protected class Loop_Group_5 extends GroupToken { } // "successor" -protected class Loop_SuccessorKeyword_5_0 extends KeywordToken { +protected class StopAction_SuccessorKeyword_5_0 extends KeywordToken { - public Loop_SuccessorKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_SuccessorKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getSuccessorKeyword_5_0(); + return grammarAccess.getStopActionAccess().getSuccessorKeyword_5_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new Loop_CounterAssignment_3(lastRuleCallOrigin, this, 1, inst); + case 0: return new StopAction_Group_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new StopAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -4787,21 +5001,21 @@ protected class Loop_SuccessorKeyword_5_0 extends KeywordToken { } // successor=[AbstractControlFlowElement|EString] -protected class Loop_SuccessorAssignment_5_1 extends AssignmentToken { +protected class StopAction_SuccessorAssignment_5_1 extends AssignmentToken { - public Loop_SuccessorAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_SuccessorAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getLoopAccess().getSuccessorAssignment_5_1(); + return grammarAccess.getStopActionAccess().getSuccessorAssignment_5_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_SuccessorKeyword_5_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new StopAction_SuccessorKeyword_5_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -4812,9 +5026,9 @@ protected class Loop_SuccessorAssignment_5_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getLoopAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getStopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getLoopAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0(); + element = grammarAccess.getStopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0(); return obj; } } @@ -4824,256 +5038,198 @@ protected class Loop_SuccessorAssignment_5_1 extends AssignmentToken { } -// "body" -protected class Loop_BodyKeyword_6 extends KeywordToken { +// "}" +protected class StopAction_RightCurlyBracketKeyword_6 extends KeywordToken { - public Loop_BodyKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public StopAction_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getBodyKeyword_6(); + return grammarAccess.getStopActionAccess().getRightCurlyBracketKeyword_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_Group_5(lastRuleCallOrigin, this, 0, inst); - case 1: return new Loop_Group_4(lastRuleCallOrigin, this, 1, inst); - case 2: return new Loop_CounterAssignment_3(lastRuleCallOrigin, this, 2, inst); + case 0: return new StopAction_Group_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new StopAction_Group_4(lastRuleCallOrigin, this, 1, inst); + case 2: return new StopAction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 2, inst); default: return null; } } } -// body=AdaptationPlan -protected class Loop_BodyAssignment_7 extends AssignmentToken { + +/************ end Rule StopAction ****************/ + + +/************ begin Rule LoopAction **************** + * + * LoopAction: + * "LoopAction" id=EString "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + * ("successor" successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; + * + **/ + +// "LoopAction" id=EString "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? +// ("successor" successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}" +protected class LoopAction_Group extends GroupToken { - public Loop_BodyAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getLoopAccess().getBodyAssignment_7(); + public Group getGrammarElement() { + return grammarAccess.getLoopActionAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_Group(this, this, 0, inst); + case 0: return new LoopAction_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("body",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAdaptationPlanRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getLoopAccess().getBodyAdaptationPlanParserRuleCall_7_0(); - consumed = obj; - return param; - } - } - return null; + if(getEObject().eClass() != grammarAccess.getLoopActionRule().getType().getClassifier()) + return null; + return eObjectConsumer; } - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Loop_BodyKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } } -// "}" -protected class Loop_RightCurlyBracketKeyword_8 extends KeywordToken { +// "LoopAction" +protected class LoopAction_LoopActionKeyword_0 extends KeywordToken { - public Loop_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_LoopActionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getLoopAccess().getRightCurlyBracketKeyword_8(); + return grammarAccess.getLoopActionAccess().getLoopActionKeyword_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Loop_BodyAssignment_7(lastRuleCallOrigin, this, 0, inst); - default: return null; + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); } } } - -/************ end Rule Loop ****************/ - - -/************ begin Rule Branch **************** - * - * Branch returns BranchAction: - * "BranchAction" "{" ("condition" condition=EString)? ("predecessor" predecessor=[AbstractControlFlowElement|EString])? - * ("successor" successor=[AbstractControlFlowElement|EString])? "branches" "{" branches+=AdaptationPlan ("," - * branches+=AdaptationPlan)* "}" "}"; - * - **/ - -// "BranchAction" "{" ("condition" condition=EString)? ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -// ("successor" successor=[AbstractControlFlowElement|EString])? "branches" "{" branches+=AdaptationPlan ("," -// branches+=AdaptationPlan)* "}" "}" -protected class Branch_Group extends GroupToken { +// id=EString +protected class LoopAction_IdAssignment_1 extends AssignmentToken { - public Branch_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getBranchAccess().getGroup(); + public Assignment getGrammarElement() { + return grammarAccess.getLoopActionAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_RightCurlyBracketKeyword_10(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_LoopActionKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBranchRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "BranchAction" -protected class Branch_BranchActionKeyword_0 extends KeywordToken { - - public Branch_BranchActionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getBranchActionKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLoopActionAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getLoopActionAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; } } // "{" -protected class Branch_LeftCurlyBracketKeyword_1 extends KeywordToken { +protected class LoopAction_LeftCurlyBracketKeyword_2 extends KeywordToken { - public Branch_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Branch_BranchActionKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// ("condition" condition=EString)? -protected class Branch_Group_2 extends GroupToken { - - public Branch_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getBranchAccess().getGroup_2(); + return grammarAccess.getLoopActionAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_ConditionAssignment_2_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "condition" -protected class Branch_ConditionKeyword_2_0 extends KeywordToken { +// "counter" +protected class LoopAction_CounterKeyword_3 extends KeywordToken { - public Branch_ConditionKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_CounterKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getConditionKeyword_2_0(); + return grammarAccess.getLoopActionAccess().getCounterKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// condition=EString -protected class Branch_ConditionAssignment_2_1 extends AssignmentToken { +// counter=EInt +protected class LoopAction_CounterAssignment_4 extends AssignmentToken { - public Branch_ConditionAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_CounterAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getBranchAccess().getConditionAssignment_2_1(); + return grammarAccess.getLoopActionAccess().getCounterAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_ConditionKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_CounterKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("condition",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBranchAccess().getConditionEStringParserRuleCall_2_1_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("counter",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("counter"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLoopActionAccess().getCounterEIntParserRuleCall_4_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getBranchAccess().getConditionEStringParserRuleCall_2_1_0(); + element = grammarAccess.getLoopActionAccess().getCounterEIntParserRuleCall_4_0(); return obj; } return null; @@ -5081,23 +5237,22 @@ protected class Branch_ConditionAssignment_2_1 extends AssignmentToken { } - // ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -protected class Branch_Group_3 extends GroupToken { +protected class LoopAction_Group_5 extends GroupToken { - public Branch_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getBranchAccess().getGroup_3(); + return grammarAccess.getLoopActionAccess().getGroup_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_PredecessorAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_PredecessorAssignment_5_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5105,22 +5260,21 @@ protected class Branch_Group_3 extends GroupToken { } // "predecessor" -protected class Branch_PredecessorKeyword_3_0 extends KeywordToken { +protected class LoopAction_PredecessorKeyword_5_0 extends KeywordToken { - public Branch_PredecessorKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_PredecessorKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getPredecessorKeyword_3_0(); + return grammarAccess.getLoopActionAccess().getPredecessorKeyword_5_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new Branch_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 1, inst); + case 0: return new LoopAction_CounterAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5128,21 +5282,21 @@ protected class Branch_PredecessorKeyword_3_0 extends KeywordToken { } // predecessor=[AbstractControlFlowElement|EString] -protected class Branch_PredecessorAssignment_3_1 extends AssignmentToken { +protected class LoopAction_PredecessorAssignment_5_1 extends AssignmentToken { - public Branch_PredecessorAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_PredecessorAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getBranchAccess().getPredecessorAssignment_3_1(); + return grammarAccess.getLoopActionAccess().getPredecessorAssignment_5_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_PredecessorKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_PredecessorKeyword_5_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5153,9 +5307,9 @@ protected class Branch_PredecessorAssignment_3_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getBranchAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getLoopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_5_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getBranchAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0(); + element = grammarAccess.getLoopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_5_1_0(); return obj; } } @@ -5166,21 +5320,21 @@ protected class Branch_PredecessorAssignment_3_1 extends AssignmentToken { // ("successor" successor=[AbstractControlFlowElement|EString])? -protected class Branch_Group_4 extends GroupToken { +protected class LoopAction_Group_6 extends GroupToken { - public Branch_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_Group_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getBranchAccess().getGroup_4(); + return grammarAccess.getLoopActionAccess().getGroup_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_SuccessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_SuccessorAssignment_6_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5188,23 +5342,22 @@ protected class Branch_Group_4 extends GroupToken { } // "successor" -protected class Branch_SuccessorKeyword_4_0 extends KeywordToken { +protected class LoopAction_SuccessorKeyword_6_0 extends KeywordToken { - public Branch_SuccessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_SuccessorKeyword_6_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getSuccessorKeyword_4_0(); + return grammarAccess.getLoopActionAccess().getSuccessorKeyword_6_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Branch_Group_2(lastRuleCallOrigin, this, 1, inst); - case 2: return new Branch_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 2, inst); + case 0: return new LoopAction_Group_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new LoopAction_CounterAssignment_4(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -5212,21 +5365,21 @@ protected class Branch_SuccessorKeyword_4_0 extends KeywordToken { } // successor=[AbstractControlFlowElement|EString] -protected class Branch_SuccessorAssignment_4_1 extends AssignmentToken { +protected class LoopAction_SuccessorAssignment_6_1 extends AssignmentToken { - public Branch_SuccessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_SuccessorAssignment_6_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getBranchAccess().getSuccessorAssignment_4_1(); + return grammarAccess.getLoopActionAccess().getSuccessorAssignment_6_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_SuccessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_SuccessorKeyword_6_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5237,9 +5390,9 @@ protected class Branch_SuccessorAssignment_4_1 extends AssignmentToken { IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getBranchAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getLoopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_6_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getBranchAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0(); + element = grammarAccess.getLoopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_6_1_0(); return obj; } } @@ -5249,63 +5402,40 @@ protected class Branch_SuccessorAssignment_4_1 extends AssignmentToken { } -// "branches" -protected class Branch_BranchesKeyword_5 extends KeywordToken { - - public Branch_BranchesKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getBranchesKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Branch_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new Branch_Group_3(lastRuleCallOrigin, this, 1, inst); - case 2: return new Branch_Group_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new Branch_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 3, inst); - default: return null; - } - } - -} - -// "{" -protected class Branch_LeftCurlyBracketKeyword_6 extends KeywordToken { +// "body" +protected class LoopAction_BodyKeyword_7 extends KeywordToken { - public Branch_LeftCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_BodyKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_6(); + return grammarAccess.getLoopActionAccess().getBodyKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_BranchesKeyword_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_Group_6(lastRuleCallOrigin, this, 0, inst); + case 1: return new LoopAction_Group_5(lastRuleCallOrigin, this, 1, inst); + case 2: return new LoopAction_CounterAssignment_4(lastRuleCallOrigin, this, 2, inst); default: return null; } } } -// branches+=AdaptationPlan -protected class Branch_BranchesAssignment_7 extends AssignmentToken { +// body=AdaptationPlan +protected class LoopAction_BodyAssignment_8 extends AssignmentToken { - public Branch_BranchesAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_BodyAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getBranchAccess().getBranchesAssignment_7(); + return grammarAccess.getLoopActionAccess().getBodyAssignment_8(); } @Override @@ -5318,13 +5448,13 @@ protected class Branch_BranchesAssignment_7 extends AssignmentToken { @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("branches",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branches"); + if((value = eObjectConsumer.getConsumable("body",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getAdaptationPlanRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_7_0(); + element = grammarAccess.getLoopActionAccess().getBodyAdaptationPlanParserRuleCall_8_0(); consumed = obj; return param; } @@ -5336,250 +5466,250 @@ protected class Branch_BranchesAssignment_7 extends AssignmentToken { public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new Branch_LeftCurlyBracketKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new LoopAction_BodyKeyword_7(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// ("," branches+=AdaptationPlan)* -protected class Branch_Group_8 extends GroupToken { +// "}" +protected class LoopAction_RightCurlyBracketKeyword_9 extends KeywordToken { - public Branch_Group_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public LoopAction_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getBranchAccess().getGroup_8(); + public Keyword getGrammarElement() { + return grammarAccess.getLoopActionAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_BranchesAssignment_8_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new LoopAction_BodyAssignment_8(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "," -protected class Branch_CommaKeyword_8_0 extends KeywordToken { + +/************ end Rule LoopAction ****************/ + + +/************ begin Rule BranchAction **************** + * + * BranchAction: + * "BranchAction" id=EString "{" ("condition" condition=EString)? ("predecessor" + * predecessor=[AbstractControlFlowElement|EString])? ("successor" successor=[AbstractControlFlowElement|EString])? + * "branches" "{" branches+=AdaptationPlan ("," branches+=AdaptationPlan)* "}" "}"; + * + **/ + +// "BranchAction" id=EString "{" ("condition" condition=EString)? ("predecessor" +// predecessor=[AbstractControlFlowElement|EString])? ("successor" successor=[AbstractControlFlowElement|EString])? +// "branches" "{" branches+=AdaptationPlan ("," branches+=AdaptationPlan)* "}" "}" +protected class BranchAction_Group extends GroupToken { - public Branch_CommaKeyword_8_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getCommaKeyword_8_0(); + public Group getGrammarElement() { + return grammarAccess.getBranchActionAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_Group_8(lastRuleCallOrigin, this, 0, inst); - case 1: return new Branch_BranchesAssignment_7(lastRuleCallOrigin, this, 1, inst); + case 0: return new BranchAction_RightCurlyBracketKeyword_11(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getBranchActionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + } -// branches+=AdaptationPlan -protected class Branch_BranchesAssignment_8_1 extends AssignmentToken { +// "BranchAction" +protected class BranchAction_BranchActionKeyword_0 extends KeywordToken { - public Branch_BranchesAssignment_8_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_BranchActionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getBranchAccess().getBranchesAssignment_8_1(); + public Keyword getGrammarElement() { + return grammarAccess.getBranchActionAccess().getBranchActionKeyword_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new AdaptationPlan_Group(this, this, 0, inst); - default: return null; + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); } } - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("branches",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branches"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAdaptationPlanRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_8_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Branch_CommaKeyword_8_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } } - -// "}" -protected class Branch_RightCurlyBracketKeyword_9 extends KeywordToken { +// id=EString +protected class BranchAction_IdAssignment_1 extends AssignmentToken { - public Branch_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_9(); + public Assignment getGrammarElement() { + return grammarAccess.getBranchActionAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_Group_8(lastRuleCallOrigin, this, 0, inst); - case 1: return new Branch_BranchesAssignment_7(lastRuleCallOrigin, this, 1, inst); + case 0: return new BranchAction_BranchActionKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBranchActionAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getBranchActionAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + } -// "}" -protected class Branch_RightCurlyBracketKeyword_10 extends KeywordToken { +// "{" +protected class BranchAction_LeftCurlyBracketKeyword_2 extends KeywordToken { - public Branch_RightCurlyBracketKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_10(); + return grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Branch_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } - -/************ end Rule Branch ****************/ - - -/************ begin Rule ActionReference **************** - * - * ActionReference: - * "ActionReference" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - * successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}"; - * - **/ - -// "ActionReference" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" -// successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}" -protected class ActionReference_Group extends GroupToken { +// ("condition" condition=EString)? +protected class BranchAction_Group_3 extends GroupToken { - public ActionReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getGroup(); + return grammarAccess.getBranchActionAccess().getGroup_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_ConditionAssignment_3_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getActionReferenceRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - } -// "ActionReference" -protected class ActionReference_ActionReferenceKeyword_0 extends KeywordToken { +// "condition" +protected class BranchAction_ConditionKeyword_3_0 extends KeywordToken { - public ActionReference_ActionReferenceKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_ConditionKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getActionReferenceKeyword_0(); + return grammarAccess.getBranchActionAccess().getConditionKeyword_3_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + case 0: return new BranchAction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; } } } -// "{" -protected class ActionReference_LeftCurlyBracketKeyword_1 extends KeywordToken { +// condition=EString +protected class BranchAction_ConditionAssignment_3_1 extends AssignmentToken { - public ActionReference_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_ConditionAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_1(); + public Assignment getGrammarElement() { + return grammarAccess.getBranchActionAccess().getConditionAssignment_3_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_ActionReferenceKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_ConditionKeyword_3_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("condition",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBranchActionAccess().getConditionEStringParserRuleCall_3_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getBranchActionAccess().getConditionEStringParserRuleCall_3_1_0(); + return obj; + } + return null; + } + } + // ("predecessor" predecessor=[AbstractControlFlowElement|EString])? -protected class ActionReference_Group_2 extends GroupToken { +protected class BranchAction_Group_4 extends GroupToken { - public ActionReference_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getGroup_2(); + return grammarAccess.getBranchActionAccess().getGroup_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_PredecessorAssignment_2_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_PredecessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5587,21 +5717,22 @@ protected class ActionReference_Group_2 extends GroupToken { } // "predecessor" -protected class ActionReference_PredecessorKeyword_2_0 extends KeywordToken { +protected class BranchAction_PredecessorKeyword_4_0 extends KeywordToken { - public ActionReference_PredecessorKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_PredecessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getPredecessorKeyword_2_0(); + return grammarAccess.getBranchActionAccess().getPredecessorKeyword_4_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new BranchAction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -5609,21 +5740,21 @@ protected class ActionReference_PredecessorKeyword_2_0 extends KeywordToken { } // predecessor=[AbstractControlFlowElement|EString] -protected class ActionReference_PredecessorAssignment_2_1 extends AssignmentToken { +protected class BranchAction_PredecessorAssignment_4_1 extends AssignmentToken { - public ActionReference_PredecessorAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_PredecessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getPredecessorAssignment_2_1(); + return grammarAccess.getBranchActionAccess().getPredecessorAssignment_4_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_PredecessorKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_PredecessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5634,9 +5765,9 @@ protected class ActionReference_PredecessorAssignment_2_1 extends AssignmentToke IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_2_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getBranchActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_2_1_0(); + element = grammarAccess.getBranchActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0(); return obj; } } @@ -5647,21 +5778,21 @@ protected class ActionReference_PredecessorAssignment_2_1 extends AssignmentToke // ("successor" successor=[AbstractControlFlowElement|EString])? -protected class ActionReference_Group_3 extends GroupToken { +protected class BranchAction_Group_5 extends GroupToken { - public ActionReference_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getGroup_3(); + return grammarAccess.getBranchActionAccess().getGroup_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_SuccessorAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_SuccessorAssignment_5_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5669,22 +5800,23 @@ protected class ActionReference_Group_3 extends GroupToken { } // "successor" -protected class ActionReference_SuccessorKeyword_3_0 extends KeywordToken { +protected class BranchAction_SuccessorKeyword_5_0 extends KeywordToken { - public ActionReference_SuccessorKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_SuccessorKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getSuccessorKeyword_3_0(); + return grammarAccess.getBranchActionAccess().getSuccessorKeyword_5_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new ActionReference_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 1, inst); + case 0: return new BranchAction_Group_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new BranchAction_Group_3(lastRuleCallOrigin, this, 1, inst); + case 2: return new BranchAction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); default: return null; } } @@ -5692,21 +5824,21 @@ protected class ActionReference_SuccessorKeyword_3_0 extends KeywordToken { } // successor=[AbstractControlFlowElement|EString] -protected class ActionReference_SuccessorAssignment_3_1 extends AssignmentToken { +protected class BranchAction_SuccessorAssignment_5_1 extends AssignmentToken { - public ActionReference_SuccessorAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_SuccessorAssignment_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getSuccessorAssignment_3_1(); + return grammarAccess.getBranchActionAccess().getSuccessorAssignment_5_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_SuccessorKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_SuccessorKeyword_5_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5717,9 +5849,9 @@ protected class ActionReference_SuccessorAssignment_3_1 extends AssignmentToken IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_3_1_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getBranchActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_3_1_0(); + element = grammarAccess.getBranchActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0(); return obj; } } @@ -5729,142 +5861,2676 @@ protected class ActionReference_SuccessorAssignment_3_1 extends AssignmentToken } -// "refersTo" -protected class ActionReference_RefersToKeyword_4 extends KeywordToken { +// "branches" +protected class BranchAction_BranchesKeyword_6 extends KeywordToken { - public ActionReference_RefersToKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_BranchesKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getRefersToKeyword_4(); + return grammarAccess.getBranchActionAccess().getBranchesKeyword_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new ActionReference_Group_2(lastRuleCallOrigin, this, 1, inst); - case 2: return new ActionReference_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 2, inst); + case 0: return new BranchAction_Group_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new BranchAction_Group_4(lastRuleCallOrigin, this, 1, inst); + case 2: return new BranchAction_Group_3(lastRuleCallOrigin, this, 2, inst); + case 3: return new BranchAction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 3, inst); default: return null; } } } -// refersTo=[Action|EString] -protected class ActionReference_RefersToAssignment_5 extends AssignmentToken { +// "{" +protected class BranchAction_LeftCurlyBracketKeyword_7 extends KeywordToken { + + public BranchAction_LeftCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } - public ActionReference_RefersToAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + @Override + public Keyword getGrammarElement() { + return grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new BranchAction_BranchesKeyword_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// branches+=AdaptationPlan +protected class BranchAction_BranchesAssignment_8 extends AssignmentToken { + + public BranchAction_BranchesAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getRefersToAssignment_5(); + return grammarAccess.getBranchActionAccess().getBranchesAssignment_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_RefersToKeyword_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new AdaptationPlan_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("refersTo",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("refersTo"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + if((value = eObjectConsumer.getConsumable("branches",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branches"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_5_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_5_0(); - return obj; + if(param.isInstanceOf(grammarAccess.getAdaptationPlanRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_8_0(); + consumed = obj; + return param; } } return null; } + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new BranchAction_LeftCurlyBracketKeyword_7(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } -// "}" -protected class ActionReference_RightCurlyBracketKeyword_6 extends KeywordToken { +// ("," branches+=AdaptationPlan)* +protected class BranchAction_Group_9 extends GroupToken { - public ActionReference_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_Group_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_6(); + public Group getGrammarElement() { + return grammarAccess.getBranchActionAccess().getGroup_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ActionReference_RefersToAssignment_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_BranchesAssignment_9_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } - -/************ end Rule ActionReference ****************/ - - - -/************ begin Rule ModelVariableConfigurationRange **************** - * - * ModelVariableConfigurationRange returns adaptationpoints::ModelVariableConfigurationRange: - * "ModelVariableConfigurationRange" id=EString "{" "minValue" minValue=EDouble "maxValue" maxValue=EDouble - * "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; - * - **/ - -// "ModelVariableConfigurationRange" id=EString "{" "minValue" minValue=EDouble "maxValue" maxValue=EDouble -// "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}" -protected class ModelVariableConfigurationRange_Group extends GroupToken { +// "," +protected class BranchAction_CommaKeyword_9_0 extends KeywordToken { - public ModelVariableConfigurationRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public BranchAction_CommaKeyword_9_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getGroup(); + public Keyword getGrammarElement() { + return grammarAccess.getBranchActionAccess().getCommaKeyword_9_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); + case 0: return new BranchAction_Group_9(lastRuleCallOrigin, this, 0, inst); + case 1: return new BranchAction_BranchesAssignment_8(lastRuleCallOrigin, this, 1, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getModelVariableConfigurationRangeRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - } -// "ModelVariableConfigurationRange" +// branches+=AdaptationPlan +protected class BranchAction_BranchesAssignment_9_1 extends AssignmentToken { + + public BranchAction_BranchesAssignment_9_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getBranchActionAccess().getBranchesAssignment_9_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AdaptationPlan_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("branches",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branches"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAdaptationPlanRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_9_1_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new BranchAction_CommaKeyword_9_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + + +// "}" +protected class BranchAction_RightCurlyBracketKeyword_10 extends KeywordToken { + + public BranchAction_RightCurlyBracketKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_10(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new BranchAction_Group_9(lastRuleCallOrigin, this, 0, inst); + case 1: return new BranchAction_BranchesAssignment_8(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "}" +protected class BranchAction_RightCurlyBracketKeyword_11 extends KeywordToken { + + public BranchAction_RightCurlyBracketKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_11(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new BranchAction_RightCurlyBracketKeyword_10(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule BranchAction ****************/ + + +/************ begin Rule ActionReference **************** + * + * ActionReference: + * "ActionReference" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" + * successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}"; + * + **/ + +// "ActionReference" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" +// successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}" +protected class ActionReference_Group extends GroupToken { + + public ActionReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_RightCurlyBracketKeyword_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getActionReferenceRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "ActionReference" +protected class ActionReference_ActionReferenceKeyword_0 extends KeywordToken { + + public ActionReference_ActionReferenceKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getActionReferenceKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// id=EString +protected class ActionReference_IdAssignment_1 extends AssignmentToken { + + public ActionReference_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_ActionReferenceKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getActionReferenceAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getActionReferenceAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class ActionReference_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public ActionReference_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// ("predecessor" predecessor=[AbstractControlFlowElement|EString])? +protected class ActionReference_Group_3 extends GroupToken { + + public ActionReference_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getGroup_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_PredecessorAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "predecessor" +protected class ActionReference_PredecessorKeyword_3_0 extends KeywordToken { + + public ActionReference_PredecessorKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getPredecessorKeyword_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// predecessor=[AbstractControlFlowElement|EString] +protected class ActionReference_PredecessorAssignment_3_1 extends AssignmentToken { + + public ActionReference_PredecessorAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getPredecessorAssignment_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_PredecessorKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("predecessor",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("predecessor"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0(); + return obj; + } + } + return null; + } + +} + + +// ("successor" successor=[AbstractControlFlowElement|EString])? +protected class ActionReference_Group_4 extends GroupToken { + + public ActionReference_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getGroup_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_SuccessorAssignment_4_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "successor" +protected class ActionReference_SuccessorKeyword_4_0 extends KeywordToken { + + public ActionReference_SuccessorKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getSuccessorKeyword_4_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new ActionReference_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// successor=[AbstractControlFlowElement|EString] +protected class ActionReference_SuccessorAssignment_4_1 extends AssignmentToken { + + public ActionReference_SuccessorAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getSuccessorAssignment_4_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_SuccessorKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("successor",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("successor"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0(); + return obj; + } + } + return null; + } + +} + + +// "refersTo" +protected class ActionReference_RefersToKeyword_5 extends KeywordToken { + + public ActionReference_RefersToKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getRefersToKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_Group_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new ActionReference_Group_3(lastRuleCallOrigin, this, 1, inst); + case 2: return new ActionReference_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); + default: return null; + } + } + +} + +// refersTo=[Action|EString] +protected class ActionReference_RefersToAssignment_6 extends AssignmentToken { + + public ActionReference_RefersToAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getRefersToAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_RefersToKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("refersTo",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("refersTo"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_6_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_6_0(); + return obj; + } + } + return null; + } + +} + +// "}" +protected class ActionReference_RightCurlyBracketKeyword_7 extends KeywordToken { + + public ActionReference_RightCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ActionReference_RefersToAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule ActionReference ****************/ + + + + +/************ begin Rule ModelVariableConfigurationRange **************** + * + * ModelVariableConfigurationRange returns adaptationpoints::ModelVariableConfigurationRange: + * "ModelVariableConfigurationRange" id=EString "{" "name" name=EString "minValue" minValue=EDouble "maxValue" + * maxValue=EDouble "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; + * + **/ + +// "ModelVariableConfigurationRange" id=EString "{" "name" name=EString "minValue" minValue=EDouble "maxValue" +// maxValue=EDouble "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}" +protected class ModelVariableConfigurationRange_Group extends GroupToken { + + public ModelVariableConfigurationRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_RightCurlyBracketKeyword_11(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getModelVariableConfigurationRangeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "ModelVariableConfigurationRange" protected class ModelVariableConfigurationRange_ModelVariableConfigurationRangeKeyword_0 extends KeywordToken { - public ModelVariableConfigurationRange_ModelVariableConfigurationRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public ModelVariableConfigurationRange_ModelVariableConfigurationRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getModelVariableConfigurationRangeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// id=EString +protected class ModelVariableConfigurationRange_IdAssignment_1 extends AssignmentToken { + + public ModelVariableConfigurationRange_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_ModelVariableConfigurationRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelVariableConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "name" +protected class ModelVariableConfigurationRange_NameKeyword_3 extends KeywordToken { + + public ModelVariableConfigurationRange_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getNameKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// name=EString +protected class ModelVariableConfigurationRange_NameAssignment_4 extends AssignmentToken { + + public ModelVariableConfigurationRange_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getNameAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelVariableConfigurationRangeAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// "minValue" +protected class ModelVariableConfigurationRange_MinValueKeyword_5 extends KeywordToken { + + public ModelVariableConfigurationRange_MinValueKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// minValue=EDouble +protected class ModelVariableConfigurationRange_MinValueAssignment_6 extends AssignmentToken { + + public ModelVariableConfigurationRange_MinValueAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_MinValueKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("minValue",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("minValue"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_6_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_6_0(); + return obj; + } + return null; + } + +} + +// "maxValue" +protected class ModelVariableConfigurationRange_MaxValueKeyword_7 extends KeywordToken { + + public ModelVariableConfigurationRange_MaxValueKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_MinValueAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// maxValue=EDouble +protected class ModelVariableConfigurationRange_MaxValueAssignment_8 extends AssignmentToken { + + public ModelVariableConfigurationRange_MaxValueAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueAssignment_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_MaxValueKeyword_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("maxValue",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("maxValue"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_8_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_8_0(); + return obj; + } + return null; + } + +} + +// "adaptableEntity" +protected class ModelVariableConfigurationRange_AdaptableEntityKeyword_9 extends KeywordToken { + + public ModelVariableConfigurationRange_AdaptableEntityKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_9(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_MaxValueAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// adaptableEntity=[core::AdaptableEntity|EString] +protected class ModelVariableConfigurationRange_AdaptableEntityAssignment_10 extends AssignmentToken { + + public ModelVariableConfigurationRange_AdaptableEntityAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAssignment_10(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_AdaptableEntityKeyword_9(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("adaptableEntity",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("adaptableEntity"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_10_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_10_0(); + return obj; + } + } + return null; + } + +} + +// "}" +protected class ModelVariableConfigurationRange_RightCurlyBracketKeyword_11 extends KeywordToken { + + public ModelVariableConfigurationRange_RightCurlyBracketKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_11(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelVariableConfigurationRange_AdaptableEntityAssignment_10(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule ModelVariableConfigurationRange ****************/ + + +/************ begin Rule ModelEntityConfigurationRange **************** + * + * ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfigurationRange: + * "ModelEntityConfigurationRange" id=EString "{" "name" name=EString "adaptableEntity" + * adaptableEntity=[core::Entity|EString] "variationPossibility" variationPossibility=VariationType "}"; + * + **/ + +// "ModelEntityConfigurationRange" id=EString "{" "name" name=EString "adaptableEntity" +// adaptableEntity=[core::Entity|EString] "variationPossibility" variationPossibility=VariationType "}" +protected class ModelEntityConfigurationRange_Group extends GroupToken { + + public ModelEntityConfigurationRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getModelEntityConfigurationRangeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "ModelEntityConfigurationRange" +protected class ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0 extends KeywordToken { + + public ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getModelEntityConfigurationRangeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// id=EString +protected class ModelEntityConfigurationRange_IdAssignment_1 extends AssignmentToken { + + public ModelEntityConfigurationRange_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelEntityConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelEntityConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "name" +protected class ModelEntityConfigurationRange_NameKeyword_3 extends KeywordToken { + + public ModelEntityConfigurationRange_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getNameKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// name=EString +protected class ModelEntityConfigurationRange_NameAssignment_4 extends AssignmentToken { + + public ModelEntityConfigurationRange_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getNameAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelEntityConfigurationRangeAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getModelEntityConfigurationRangeAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// "adaptableEntity" +protected class ModelEntityConfigurationRange_AdaptableEntityKeyword_5 extends KeywordToken { + + public ModelEntityConfigurationRange_AdaptableEntityKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// adaptableEntity=[core::Entity|EString] +protected class ModelEntityConfigurationRange_AdaptableEntityAssignment_6 extends AssignmentToken { + + public ModelEntityConfigurationRange_AdaptableEntityAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_AdaptableEntityKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("adaptableEntity",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("adaptableEntity"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_6_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_6_0(); + return obj; + } + } + return null; + } + +} + +// "variationPossibility" +protected class ModelEntityConfigurationRange_VariationPossibilityKeyword_7 extends KeywordToken { + + public ModelEntityConfigurationRange_VariationPossibilityKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_AdaptableEntityAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// variationPossibility=VariationType +protected class ModelEntityConfigurationRange_VariationPossibilityAssignment_8 extends AssignmentToken { + + public ModelEntityConfigurationRange_VariationPossibilityAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityAssignment_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new VariationType_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("variationPossibility",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variationPossibility"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getVariationTypeRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_8_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new ModelEntityConfigurationRange_VariationPossibilityKeyword_7(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class ModelEntityConfigurationRange_RightCurlyBracketKeyword_9 extends KeywordToken { + + public ModelEntityConfigurationRange_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_9(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ModelEntityConfigurationRange_VariationPossibilityAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule ModelEntityConfigurationRange ****************/ + + + +/************ begin Rule PropertyRange **************** + * + * PropertyRange returns adaptationpoints::PropertyRange: + * "PropertyRange" "{" "minValueConstraint" minValueConstraint=OclConstraint "maxValueConstraint" + * maxValueConstraint=OclConstraint "}"; + * + **/ + +// "PropertyRange" "{" "minValueConstraint" minValueConstraint=OclConstraint "maxValueConstraint" +// maxValueConstraint=OclConstraint "}" +protected class PropertyRange_Group extends GroupToken { + + public PropertyRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new PropertyRange_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getPropertyRangeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "PropertyRange" +protected class PropertyRange_PropertyRangeKeyword_0 extends KeywordToken { + + public PropertyRange_PropertyRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getPropertyRangeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// "{" +protected class PropertyRange_LeftCurlyBracketKeyword_1 extends KeywordToken { + + public PropertyRange_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getLeftCurlyBracketKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new PropertyRange_PropertyRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "minValueConstraint" +protected class PropertyRange_MinValueConstraintKeyword_2 extends KeywordToken { + + public PropertyRange_MinValueConstraintKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getMinValueConstraintKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new PropertyRange_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// minValueConstraint=OclConstraint +protected class PropertyRange_MinValueConstraintAssignment_3 extends AssignmentToken { + + public PropertyRange_MinValueConstraintAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getMinValueConstraintAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("minValueConstraint",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("minValueConstraint"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getPropertyRangeAccess().getMinValueConstraintOclConstraintParserRuleCall_3_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new PropertyRange_MinValueConstraintKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "maxValueConstraint" +protected class PropertyRange_MaxValueConstraintKeyword_4 extends KeywordToken { + + public PropertyRange_MaxValueConstraintKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getMaxValueConstraintKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new PropertyRange_MinValueConstraintAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// maxValueConstraint=OclConstraint +protected class PropertyRange_MaxValueConstraintAssignment_5 extends AssignmentToken { + + public PropertyRange_MaxValueConstraintAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getMaxValueConstraintAssignment_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("maxValueConstraint",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("maxValueConstraint"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getPropertyRangeAccess().getMaxValueConstraintOclConstraintParserRuleCall_5_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new PropertyRange_MaxValueConstraintKeyword_4(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class PropertyRange_RightCurlyBracketKeyword_6 extends KeywordToken { + + public PropertyRange_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getPropertyRangeAccess().getRightCurlyBracketKeyword_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new PropertyRange_MaxValueConstraintAssignment_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule PropertyRange ****************/ + + +/************ begin Rule SetOfConfigurations **************** + * + * SetOfConfigurations returns adaptationpoints::SetOfConfigurations: + * "SetOfConfigurations" "{" ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* + * ")")? "valueConstraint" valueConstraint=OclConstraint "}"; + * + **/ + +// "SetOfConfigurations" "{" ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* +// ")")? "valueConstraint" valueConstraint=OclConstraint "}" +protected class SetOfConfigurations_Group extends GroupToken { + + public SetOfConfigurations_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getSetOfConfigurationsRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "SetOfConfigurations" +protected class SetOfConfigurations_SetOfConfigurationsKeyword_0 extends KeywordToken { + + public SetOfConfigurations_SetOfConfigurationsKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getSetOfConfigurationsKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// "{" +protected class SetOfConfigurations_LeftCurlyBracketKeyword_1 extends KeywordToken { + + public SetOfConfigurations_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getLeftCurlyBracketKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_SetOfConfigurationsKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? +protected class SetOfConfigurations_Group_2 extends GroupToken { + + public SetOfConfigurations_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getGroup_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_RightParenthesisKeyword_2_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "variants" +protected class SetOfConfigurations_VariantsKeyword_2_0 extends KeywordToken { + + public SetOfConfigurations_VariantsKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "(" +protected class SetOfConfigurations_LeftParenthesisKeyword_2_1 extends KeywordToken { + + public SetOfConfigurations_LeftParenthesisKeyword_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_VariantsKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// variants+=[ecore::EObject|EString] +protected class SetOfConfigurations_VariantsAssignment_2_2 extends AssignmentToken { + + public SetOfConfigurations_VariantsAssignment_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getVariantsAssignment_2_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_LeftParenthesisKeyword_2_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("variants",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variants"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_2_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_2_0(); + return obj; + } + } + return null; + } + +} + +// ("," variants+=[ecore::EObject|EString])* +protected class SetOfConfigurations_Group_2_3 extends GroupToken { + + public SetOfConfigurations_Group_2_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getGroup_2_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_VariantsAssignment_2_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "," +protected class SetOfConfigurations_CommaKeyword_2_3_0 extends KeywordToken { + + public SetOfConfigurations_CommaKeyword_2_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_2_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_Group_2_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new SetOfConfigurations_VariantsAssignment_2_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// variants+=[ecore::EObject|EString] +protected class SetOfConfigurations_VariantsAssignment_2_3_1 extends AssignmentToken { + + public SetOfConfigurations_VariantsAssignment_2_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getVariantsAssignment_2_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_CommaKeyword_2_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("variants",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variants"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_3_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_3_1_0(); + return obj; + } + } + return null; + } + +} + + +// ")" +protected class SetOfConfigurations_RightParenthesisKeyword_2_4 extends KeywordToken { + + public SetOfConfigurations_RightParenthesisKeyword_2_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_2_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_Group_2_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new SetOfConfigurations_VariantsAssignment_2_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +// "valueConstraint" +protected class SetOfConfigurations_ValueConstraintKeyword_3 extends KeywordToken { + + public SetOfConfigurations_ValueConstraintKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_Group_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new SetOfConfigurations_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// valueConstraint=OclConstraint +protected class SetOfConfigurations_ValueConstraintAssignment_4 extends AssignmentToken { + + public SetOfConfigurations_ValueConstraintAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getValueConstraintAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("valueConstraint",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueConstraint"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_4_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new SetOfConfigurations_ValueConstraintKeyword_3(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class SetOfConfigurations_RightCurlyBracketKeyword_5 extends KeywordToken { + + public SetOfConfigurations_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getSetOfConfigurationsAccess().getRightCurlyBracketKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new SetOfConfigurations_ValueConstraintAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule SetOfConfigurations ****************/ + + +/************ begin Rule OclConstraint **************** + * + * OclConstraint returns adaptationpoints::OclConstraint: + * "OclConstraint" "{" "oclString" oclString=EString "}"; + * + **/ + +// "OclConstraint" "{" "oclString" oclString=EString "}" +protected class OclConstraint_Group extends GroupToken { + + public OclConstraint_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getOclConstraintRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "OclConstraint" +protected class OclConstraint_OclConstraintKeyword_0 extends KeywordToken { + + public OclConstraint_OclConstraintKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getOclConstraintKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// "{" +protected class OclConstraint_LeftCurlyBracketKeyword_1 extends KeywordToken { + + public OclConstraint_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getLeftCurlyBracketKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_OclConstraintKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "oclString" +protected class OclConstraint_OclStringKeyword_2 extends KeywordToken { + + public OclConstraint_OclStringKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getOclStringKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// oclString=EString +protected class OclConstraint_OclStringAssignment_3 extends AssignmentToken { + + public OclConstraint_OclStringAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getOclStringAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_OclStringKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("oclString",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("oclString"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getOclConstraintAccess().getOclStringEStringParserRuleCall_3_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getOclConstraintAccess().getOclStringEStringParserRuleCall_3_0(); + return obj; + } + return null; + } + +} + +// "}" +protected class OclConstraint_RightCurlyBracketKeyword_4 extends KeywordToken { + + public OclConstraint_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getOclConstraintAccess().getRightCurlyBracketKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OclConstraint_OclStringAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule OclConstraint ****************/ + + +/************ begin Rule EObject **************** + * + * EObject returns ecore::EObject: + * {ecore::EObject} "EObject"; + * + **/ + +// {ecore::EObject} "EObject" +protected class EObject_Group extends GroupToken { + + public EObject_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getEObjectAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new EObject_EObjectKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getEObjectAccess().getEObjectAction_0().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// {ecore::EObject} +protected class EObject_EObjectAction_0 extends ActionToken { + + public EObject_EObjectAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Action getGrammarElement() { + return grammarAccess.getEObjectAccess().getEObjectAction_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(!eObjectConsumer.isConsumed()) return null; + return eObjectConsumer; + } +} + +// "EObject" +protected class EObject_EObjectKeyword_1 extends KeywordToken { + + public EObject_EObjectKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getEObjectAccess().getEObjectKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new EObject_EObjectAction_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule EObject ****************/ + + +/************ begin Rule Objective **************** + * + * Objective: + * "Objective" id=EString "{" "name" name=EString "specification" specification=EString "}"; + * + **/ + +// "Objective" id=EString "{" "name" name=EString "specification" specification=EString "}" +protected class Objective_Group extends GroupToken { + + public Objective_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getObjectiveAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_RightCurlyBracketKeyword_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getObjectiveRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "Objective" +protected class Objective_ObjectiveKeyword_0 extends KeywordToken { + + public Objective_ObjectiveKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getObjectiveAccess().getObjectiveKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// id=EString +protected class Objective_IdAssignment_1 extends AssignmentToken { + + public Objective_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getObjectiveAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_ObjectiveKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getObjectiveAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getObjectiveAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class Objective_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public Objective_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getObjectiveAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "name" +protected class Objective_NameKeyword_3 extends KeywordToken { + + public Objective_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getObjectiveAccess().getNameKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// name=EString +protected class Objective_NameAssignment_4 extends AssignmentToken { + + public Objective_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getObjectiveAccess().getNameAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getObjectiveAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getObjectiveAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// "specification" +protected class Objective_SpecificationKeyword_5 extends KeywordToken { + + public Objective_SpecificationKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getObjectiveAccess().getSpecificationKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// specification=EString +protected class Objective_SpecificationAssignment_6 extends AssignmentToken { + + public Objective_SpecificationAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getObjectiveAccess().getSpecificationAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_SpecificationKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("specification",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("specification"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_6_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_6_0(); + return obj; + } + return null; + } + +} + +// "}" +protected class Objective_RightCurlyBracketKeyword_7 extends KeywordToken { + + public Objective_RightCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getObjectiveAccess().getRightCurlyBracketKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Objective_SpecificationAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule Objective ****************/ + + +/************ begin Rule Event **************** + * + * Event: + * "Event" id=EString "{" "name" name=EString "}"; + * + **/ + +// "Event" id=EString "{" "name" name=EString "}" +protected class Event_Group extends GroupToken { + + public Event_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getEventAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getEventRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "Event" +protected class Event_EventKeyword_0 extends KeywordToken { + + public Event_EventKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getEventAccess().getEventKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// id=EString +protected class Event_IdAssignment_1 extends AssignmentToken { + + public Event_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getEventAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_EventKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getEventAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getEventAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class Event_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public Event_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getEventAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "name" +protected class Event_NameKeyword_3 extends KeywordToken { + + public Event_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getModelVariableConfigurationRangeKeyword_0(); + return grammarAccess.getEventAccess().getNameKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// name=EString +protected class Event_NameAssignment_4 extends AssignmentToken { + + public Event_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getEventAccess().getNameAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getEventAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getEventAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// "}" +protected class Event_RightCurlyBracketKeyword_5 extends KeywordToken { + + public Event_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getEventAccess().getRightCurlyBracketKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Event_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule Event ****************/ + + +/************ begin Rule WeightedTactic **************** + * + * WeightedTactic: + * "WeightedTactic" id=EString "{" "name" name=EString "currentWeight" currentWeight=EDouble "defaultWeight" + * defaultWeight=EDouble "usedTactic" usedTactic=[Tactic|EString] ("lastImpact" + * lastImpact=[perfdatarepo::Impact|EString])? "}"; + * + **/ + +// "WeightedTactic" id=EString "{" "name" name=EString "currentWeight" currentWeight=EDouble "defaultWeight" +// defaultWeight=EDouble "usedTactic" usedTactic=[Tactic|EString] ("lastImpact" +// lastImpact=[perfdatarepo::Impact|EString])? "}" +protected class WeightedTactic_Group extends GroupToken { + + public WeightedTactic_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_RightCurlyBracketKeyword_12(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getWeightedTacticRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "WeightedTactic" +protected class WeightedTactic_WeightedTacticKeyword_0 extends KeywordToken { + + public WeightedTactic_WeightedTacticKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getWeightedTacticKeyword_0(); } @Override @@ -5877,21 +8543,21 @@ protected class ModelVariableConfigurationRange_ModelVariableConfigurationRangeK } // id=EString -protected class ModelVariableConfigurationRange_IdAssignment_1 extends AssignmentToken { +protected class WeightedTactic_IdAssignment_1 extends AssignmentToken { - public ModelVariableConfigurationRange_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getIdAssignment_1(); + return grammarAccess.getWeightedTacticAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_ModelVariableConfigurationRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_WeightedTacticKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -5900,9 +8566,9 @@ protected class ModelVariableConfigurationRange_IdAssignment_1 extends Assignmen public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getIdEStringParserRuleCall_1_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getModelVariableConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(); + element = grammarAccess.getWeightedTacticAccess().getIdEStringParserRuleCall_1_0(); return obj; } return null; @@ -5911,76 +8577,76 @@ protected class ModelVariableConfigurationRange_IdAssignment_1 extends Assignmen } // "{" -protected class ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2 extends KeywordToken { +protected class WeightedTactic_LeftCurlyBracketKeyword_2 extends KeywordToken { - public ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getLeftCurlyBracketKeyword_2(); + return grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "minValue" -protected class ModelVariableConfigurationRange_MinValueKeyword_3 extends KeywordToken { +// "name" +protected class WeightedTactic_NameKeyword_3 extends KeywordToken { - public ModelVariableConfigurationRange_MinValueKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_3(); + return grammarAccess.getWeightedTacticAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// minValue=EDouble -protected class ModelVariableConfigurationRange_MinValueAssignment_4 extends AssignmentToken { +// name=EString +protected class WeightedTactic_NameAssignment_4 extends AssignmentToken { - public ModelVariableConfigurationRange_MinValueAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueAssignment_4(); + return grammarAccess.getWeightedTacticAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_MinValueKeyword_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("minValue",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("minValue"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_4_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getNameEStringParserRuleCall_4_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_4_0(); + element = grammarAccess.getWeightedTacticAccess().getNameEStringParserRuleCall_4_0(); return obj; } return null; @@ -5988,55 +8654,55 @@ protected class ModelVariableConfigurationRange_MinValueAssignment_4 extends Ass } -// "maxValue" -protected class ModelVariableConfigurationRange_MaxValueKeyword_5 extends KeywordToken { +// "currentWeight" +protected class WeightedTactic_CurrentWeightKeyword_5 extends KeywordToken { - public ModelVariableConfigurationRange_MaxValueKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_CurrentWeightKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_5(); + return grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_MinValueAssignment_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// maxValue=EDouble -protected class ModelVariableConfigurationRange_MaxValueAssignment_6 extends AssignmentToken { +// currentWeight=EDouble +protected class WeightedTactic_CurrentWeightAssignment_6 extends AssignmentToken { - public ModelVariableConfigurationRange_MaxValueAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_CurrentWeightAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueAssignment_6(); + return grammarAccess.getWeightedTacticAccess().getCurrentWeightAssignment_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_MaxValueKeyword_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_CurrentWeightKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("maxValue",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("maxValue"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_6_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("currentWeight",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("currentWeight"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_6_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_6_0(); + element = grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_6_0(); return obj; } return null; @@ -6044,57 +8710,194 @@ protected class ModelVariableConfigurationRange_MaxValueAssignment_6 extends Ass } -// "adaptableEntity" -protected class ModelVariableConfigurationRange_AdaptableEntityKeyword_7 extends KeywordToken { +// "defaultWeight" +protected class WeightedTactic_DefaultWeightKeyword_7 extends KeywordToken { - public ModelVariableConfigurationRange_AdaptableEntityKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_DefaultWeightKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_7(); + return grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_MaxValueAssignment_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_CurrentWeightAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// adaptableEntity=[core::AdaptableEntity|EString] -protected class ModelVariableConfigurationRange_AdaptableEntityAssignment_8 extends AssignmentToken { +// defaultWeight=EDouble +protected class WeightedTactic_DefaultWeightAssignment_8 extends AssignmentToken { - public ModelVariableConfigurationRange_AdaptableEntityAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_DefaultWeightAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAssignment_8(); + return grammarAccess.getWeightedTacticAccess().getDefaultWeightAssignment_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_AdaptableEntityKeyword_7(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_DefaultWeightKeyword_7(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("adaptableEntity",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("adaptableEntity"); + if((value = eObjectConsumer.getConsumable("defaultWeight",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultWeight"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_8_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_8_0(); + return obj; + } + return null; + } + +} + +// "usedTactic" +protected class WeightedTactic_UsedTacticKeyword_9 extends KeywordToken { + + public WeightedTactic_UsedTacticKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getUsedTacticKeyword_9(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_DefaultWeightAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// usedTactic=[Tactic|EString] +protected class WeightedTactic_UsedTacticAssignment_10 extends AssignmentToken { + + public WeightedTactic_UsedTacticAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getUsedTacticAssignment_10(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_UsedTacticKeyword_9(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("usedTactic",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("usedTactic"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_10_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_10_0(); + return obj; + } + } + return null; + } + +} + +// ("lastImpact" lastImpact=[perfdatarepo::Impact|EString])? +protected class WeightedTactic_Group_11 extends GroupToken { + + public WeightedTactic_Group_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getGroup_11(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_LastImpactAssignment_11_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "lastImpact" +protected class WeightedTactic_LastImpactKeyword_11_0 extends KeywordToken { + + public WeightedTactic_LastImpactKeyword_11_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getLastImpactKeyword_11_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_UsedTacticAssignment_10(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// lastImpact=[perfdatarepo::Impact|EString] +protected class WeightedTactic_LastImpactAssignment_11_1 extends AssignmentToken { + + public WeightedTactic_LastImpactAssignment_11_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getWeightedTacticAccess().getLastImpactAssignment_11_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightedTactic_LastImpactKeyword_11_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("lastImpact",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lastImpact"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_8_0().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getWeightedTacticAccess().getLastImpactImpactCrossReference_11_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_8_0(); + element = grammarAccess.getWeightedTacticAccess().getLastImpactImpactCrossReference_11_1_0(); return obj; } } @@ -6103,22 +8906,24 @@ protected class ModelVariableConfigurationRange_AdaptableEntityAssignment_8 exte } + // "}" -protected class ModelVariableConfigurationRange_RightCurlyBracketKeyword_9 extends KeywordToken { +protected class WeightedTactic_RightCurlyBracketKeyword_12 extends KeywordToken { - public ModelVariableConfigurationRange_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedTactic_RightCurlyBracketKeyword_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_9(); + return grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_12(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelVariableConfigurationRange_AdaptableEntityAssignment_8(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedTactic_Group_11(lastRuleCallOrigin, this, 0, inst); + case 1: return new WeightedTactic_UsedTacticAssignment_10(lastRuleCallOrigin, this, 1, inst); default: return null; } } @@ -6126,57 +8931,57 @@ protected class ModelVariableConfigurationRange_RightCurlyBracketKeyword_9 exten } -/************ end Rule ModelVariableConfigurationRange ****************/ +/************ end Rule WeightedTactic ****************/ -/************ begin Rule ModelEntityConfigurationRange **************** +/************ begin Rule WeightingFunction **************** * - * ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfigurationRange: - * "ModelEntityConfigurationRange" id=EString "{" "adaptableEntity" adaptableEntity=[core::Entity|EString] - * "variationPossibility" variationPossibility=VariationType "}"; + * WeightingFunction: + * "WeightingFunction" id=EString "{" "name" name=EString "weightedMetrics" "{" weightedMetrics+=WeightedMetric ("," + * weightedMetrics+=WeightedMetric)* "}" "}"; * **/ -// "ModelEntityConfigurationRange" id=EString "{" "adaptableEntity" adaptableEntity=[core::Entity|EString] -// "variationPossibility" variationPossibility=VariationType "}" -protected class ModelEntityConfigurationRange_Group extends GroupToken { +// "WeightingFunction" id=EString "{" "name" name=EString "weightedMetrics" "{" weightedMetrics+=WeightedMetric ("," +// weightedMetrics+=WeightedMetric)* "}" "}" +protected class WeightingFunction_Group extends GroupToken { - public ModelEntityConfigurationRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getGroup(); + return grammarAccess.getWeightingFunctionAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_RightCurlyBracketKeyword_7(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_RightCurlyBracketKeyword_10(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getModelEntityConfigurationRangeRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getWeightingFunctionRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "ModelEntityConfigurationRange" -protected class ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0 extends KeywordToken { +// "WeightingFunction" +protected class WeightingFunction_WeightingFunctionKeyword_0 extends KeywordToken { - public ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_WeightingFunctionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getModelEntityConfigurationRangeKeyword_0(); + return grammarAccess.getWeightingFunctionAccess().getWeightingFunctionKeyword_0(); } @Override @@ -6189,21 +8994,21 @@ protected class ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeywo } // id=EString -protected class ModelEntityConfigurationRange_IdAssignment_1 extends AssignmentToken { +protected class WeightingFunction_IdAssignment_1 extends AssignmentToken { - public ModelEntityConfigurationRange_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getIdAssignment_1(); + return grammarAccess.getWeightingFunctionAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_ModelEntityConfigurationRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_WeightingFunctionKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -6212,9 +9017,9 @@ protected class ModelEntityConfigurationRange_IdAssignment_1 extends AssignmentT public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelEntityConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightingFunctionAccess().getIdEStringParserRuleCall_1_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getModelEntityConfigurationRangeAccess().getIdEStringParserRuleCall_1_0(); + element = grammarAccess.getWeightingFunctionAccess().getIdEStringParserRuleCall_1_0(); return obj; } return null; @@ -6223,137 +9028,156 @@ protected class ModelEntityConfigurationRange_IdAssignment_1 extends AssignmentT } // "{" -protected class ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2 extends KeywordToken { +protected class WeightingFunction_LeftCurlyBracketKeyword_2 extends KeywordToken { - public ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getLeftCurlyBracketKeyword_2(); + return grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "adaptableEntity" -protected class ModelEntityConfigurationRange_AdaptableEntityKeyword_3 extends KeywordToken { +// "name" +protected class WeightingFunction_NameKeyword_3 extends KeywordToken { - public ModelEntityConfigurationRange_AdaptableEntityKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_3(); + return grammarAccess.getWeightingFunctionAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// adaptableEntity=[core::Entity|EString] -protected class ModelEntityConfigurationRange_AdaptableEntityAssignment_4 extends AssignmentToken { +// name=EString +protected class WeightingFunction_NameAssignment_4 extends AssignmentToken { - public ModelEntityConfigurationRange_AdaptableEntityAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityAssignment_4(); + return grammarAccess.getWeightingFunctionAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_AdaptableEntityKeyword_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("adaptableEntity",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("adaptableEntity"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_4_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_4_0(); - return obj; - } + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightingFunctionAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getWeightingFunctionAccess().getNameEStringParserRuleCall_4_0(); + return obj; } return null; } } -// "variationPossibility" -protected class ModelEntityConfigurationRange_VariationPossibilityKeyword_5 extends KeywordToken { +// "weightedMetrics" +protected class WeightingFunction_WeightedMetricsKeyword_5 extends KeywordToken { - public ModelEntityConfigurationRange_VariationPossibilityKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_WeightedMetricsKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_5(); + return grammarAccess.getWeightingFunctionAccess().getWeightedMetricsKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_AdaptableEntityAssignment_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// variationPossibility=VariationType -protected class ModelEntityConfigurationRange_VariationPossibilityAssignment_6 extends AssignmentToken { +// "{" +protected class WeightingFunction_LeftCurlyBracketKeyword_6 extends KeywordToken { + + public WeightingFunction_LeftCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightingFunction_WeightedMetricsKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// weightedMetrics+=WeightedMetric +protected class WeightingFunction_WeightedMetricsAssignment_7 extends AssignmentToken { - public ModelEntityConfigurationRange_VariationPossibilityAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_WeightedMetricsAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityAssignment_6(); + return grammarAccess.getWeightingFunctionAccess().getWeightedMetricsAssignment_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new VariationType_Alternatives(this, this, 0, inst); + case 0: return new WeightedMetric_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("variationPossibility",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variationPossibility"); + if((value = eObjectConsumer.getConsumable("weightedMetrics",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("weightedMetrics"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getVariationTypeRule().getType().getClassifier())) { + if(param.isInstanceOf(grammarAccess.getWeightedMetricRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_6_0(); + element = grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_7_0(); consumed = obj; return param; } @@ -6365,117 +9189,143 @@ protected class ModelEntityConfigurationRange_VariationPossibilityAssignment_6 e public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { if(value == inst.getEObject() && !inst.isConsumed()) return null; switch(index) { - case 0: return new ModelEntityConfigurationRange_VariationPossibilityKeyword_5(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new WeightingFunction_LeftCurlyBracketKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); default: return null; } } } -// "}" -protected class ModelEntityConfigurationRange_RightCurlyBracketKeyword_7 extends KeywordToken { +// ("," weightedMetrics+=WeightedMetric)* +protected class WeightingFunction_Group_8 extends GroupToken { - public ModelEntityConfigurationRange_RightCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_Group_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_7(); + public Group getGrammarElement() { + return grammarAccess.getWeightingFunctionAccess().getGroup_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new ModelEntityConfigurationRange_VariationPossibilityAssignment_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_WeightedMetricsAssignment_8_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } +// "," +protected class WeightingFunction_CommaKeyword_8_0 extends KeywordToken { + + public WeightingFunction_CommaKeyword_8_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getWeightingFunctionAccess().getCommaKeyword_8_0(); + } -/************ end Rule ModelEntityConfigurationRange ****************/ - - + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new WeightingFunction_Group_8(lastRuleCallOrigin, this, 0, inst); + case 1: return new WeightingFunction_WeightedMetricsAssignment_7(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } -/************ begin Rule EObject **************** - * - * EObject returns ecore::EObject: - * {ecore::EObject} "EObject"; - * - **/ +} -// {ecore::EObject} "EObject" -protected class EObject_Group extends GroupToken { +// weightedMetrics+=WeightedMetric +protected class WeightingFunction_WeightedMetricsAssignment_8_1 extends AssignmentToken { - public EObject_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_WeightedMetricsAssignment_8_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getEObjectAccess().getGroup(); + public Assignment getGrammarElement() { + return grammarAccess.getWeightingFunctionAccess().getWeightedMetricsAssignment_8_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new EObject_EObjectKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_Group(this, this, 0, inst); default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getEObjectAccess().getEObjectAction_0().getType().getClassifier()) - return null; - return eObjectConsumer; + if((value = eObjectConsumer.getConsumable("weightedMetrics",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("weightedMetrics"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getWeightedMetricRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_8_1_0(); + consumed = obj; + return param; + } + } + return null; } + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new WeightingFunction_CommaKeyword_8_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } -// {ecore::EObject} -protected class EObject_EObjectAction_0 extends ActionToken { - public EObject_EObjectAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { +// "}" +protected class WeightingFunction_RightCurlyBracketKeyword_9 extends KeywordToken { + + public WeightingFunction_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Action getGrammarElement() { - return grammarAccess.getEObjectAccess().getEObjectAction_0(); + public Keyword getGrammarElement() { + return grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + case 0: return new WeightingFunction_Group_8(lastRuleCallOrigin, this, 0, inst); + case 1: return new WeightingFunction_WeightedMetricsAssignment_7(lastRuleCallOrigin, this, 1, inst); + default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if(!eObjectConsumer.isConsumed()) return null; - return eObjectConsumer; - } } -// "EObject" -protected class EObject_EObjectKeyword_1 extends KeywordToken { +// "}" +protected class WeightingFunction_RightCurlyBracketKeyword_10 extends KeywordToken { - public EObject_EObjectKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightingFunction_RightCurlyBracketKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getEObjectAccess().getEObjectKeyword_1(); + return grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_10(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new EObject_EObjectAction_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightingFunction_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -6483,57 +9333,57 @@ protected class EObject_EObjectKeyword_1 extends KeywordToken { } -/************ end Rule EObject ****************/ +/************ end Rule WeightingFunction ****************/ -/************ begin Rule PropertyRange **************** +/************ begin Rule Impact **************** * - * PropertyRange returns adaptationpoints::PropertyRange: - * "PropertyRange" "{" "minValueConstraint" minValueConstraint=OclConstraint "maxValueConstraint" - * maxValueConstraint=OclConstraint "}"; + * Impact returns perfdatarepo::Impact: + * "Impact" id=EString "{" "name" name=EString "before" before=[perfdatarepo::Result|EString] "after" + * after=[perfdatarepo::Result|EString] "}"; * **/ -// "PropertyRange" "{" "minValueConstraint" minValueConstraint=OclConstraint "maxValueConstraint" -// maxValueConstraint=OclConstraint "}" -protected class PropertyRange_Group extends GroupToken { +// "Impact" id=EString "{" "name" name=EString "before" before=[perfdatarepo::Result|EString] "after" +// after=[perfdatarepo::Result|EString] "}" +protected class Impact_Group extends GroupToken { - public PropertyRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getGroup(); + return grammarAccess.getImpactAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new Impact_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertyRangeRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getImpactRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "PropertyRange" -protected class PropertyRange_PropertyRangeKeyword_0 extends KeywordToken { +// "Impact" +protected class Impact_ImpactKeyword_0 extends KeywordToken { - public PropertyRange_PropertyRangeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_ImpactKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getPropertyRangeKeyword_0(); + return grammarAccess.getImpactAccess().getImpactKeyword_0(); } @Override @@ -6545,180 +9395,252 @@ protected class PropertyRange_PropertyRangeKeyword_0 extends KeywordToken { } +// id=EString +protected class Impact_IdAssignment_1 extends AssignmentToken { + + public Impact_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getImpactAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Impact_ImpactKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getImpactAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getImpactAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + // "{" -protected class PropertyRange_LeftCurlyBracketKeyword_1 extends KeywordToken { +protected class Impact_LeftCurlyBracketKeyword_2 extends KeywordToken { - public PropertyRange_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getLeftCurlyBracketKeyword_1(); + return grammarAccess.getImpactAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_PropertyRangeKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Impact_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "minValueConstraint" -protected class PropertyRange_MinValueConstraintKeyword_2 extends KeywordToken { +// "name" +protected class Impact_NameKeyword_3 extends KeywordToken { - public PropertyRange_MinValueConstraintKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getMinValueConstraintKeyword_2(); + return grammarAccess.getImpactAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Impact_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// minValueConstraint=OclConstraint -protected class PropertyRange_MinValueConstraintAssignment_3 extends AssignmentToken { +// name=EString +protected class Impact_NameAssignment_4 extends AssignmentToken { - public PropertyRange_MinValueConstraintAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getMinValueConstraintAssignment_3(); + return grammarAccess.getImpactAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_Group(this, this, 0, inst); + case 0: return new Impact_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("minValueConstraint",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("minValueConstraint"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPropertyRangeAccess().getMinValueConstraintOclConstraintParserRuleCall_3_0(); - consumed = obj; - return param; - } + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getImpactAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getImpactAccess().getNameEStringParserRuleCall_4_0(); + return obj; } return null; } +} + +// "before" +protected class Impact_BeforeKeyword_5 extends KeywordToken { + + public Impact_BeforeKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getImpactAccess().getBeforeKeyword_5(); + } + @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; + public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_MinValueConstraintKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Impact_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } - } + } + +} + +// before=[perfdatarepo::Result|EString] +protected class Impact_BeforeAssignment_6 extends AssignmentToken { + + public Impact_BeforeAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getImpactAccess().getBeforeAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Impact_BeforeKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("before",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("before"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getImpactAccess().getBeforeResultCrossReference_6_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getImpactAccess().getBeforeResultCrossReference_6_0(); + return obj; + } + } + return null; + } + } -// "maxValueConstraint" -protected class PropertyRange_MaxValueConstraintKeyword_4 extends KeywordToken { +// "after" +protected class Impact_AfterKeyword_7 extends KeywordToken { - public PropertyRange_MaxValueConstraintKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_AfterKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getMaxValueConstraintKeyword_4(); + return grammarAccess.getImpactAccess().getAfterKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_MinValueConstraintAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new Impact_BeforeAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// maxValueConstraint=OclConstraint -protected class PropertyRange_MaxValueConstraintAssignment_5 extends AssignmentToken { +// after=[perfdatarepo::Result|EString] +protected class Impact_AfterAssignment_8 extends AssignmentToken { - public PropertyRange_MaxValueConstraintAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_AfterAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getMaxValueConstraintAssignment_5(); + return grammarAccess.getImpactAccess().getAfterAssignment_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_Group(this, this, 0, inst); + case 0: return new Impact_AfterKeyword_7(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("maxValueConstraint",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("maxValueConstraint"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + if((value = eObjectConsumer.getConsumable("after",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("after"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPropertyRangeAccess().getMaxValueConstraintOclConstraintParserRuleCall_5_0(); - consumed = obj; - return param; + if(param.isInstanceOf(grammarAccess.getImpactAccess().getAfterResultCrossReference_8_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getImpactAccess().getAfterResultCrossReference_8_0(); + return obj; } } return null; } - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new PropertyRange_MaxValueConstraintKeyword_4(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } } // "}" -protected class PropertyRange_RightCurlyBracketKeyword_6 extends KeywordToken { +protected class Impact_RightCurlyBracketKeyword_9 extends KeywordToken { - public PropertyRange_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Impact_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getPropertyRangeAccess().getRightCurlyBracketKeyword_6(); + return grammarAccess.getImpactAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new PropertyRange_MaxValueConstraintAssignment_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new Impact_AfterAssignment_8(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -6726,57 +9648,57 @@ protected class PropertyRange_RightCurlyBracketKeyword_6 extends KeywordToken { } -/************ end Rule PropertyRange ****************/ +/************ end Rule Impact ****************/ -/************ begin Rule SetOfConfigurations **************** +/************ begin Rule Result **************** * - * SetOfConfigurations returns adaptationpoints::SetOfConfigurations: - * "SetOfConfigurations" "{" "valueConstraint" valueConstraint=OclConstraint ("variants" "(" - * variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? "}"; + * Result returns perfdatarepo::Result: + * "Result" id=EString "{" "name" name=EString "timestamp" timestamp=EDate "metricValues" "{" metricValues+=MetricValue + * ("," metricValues+=MetricValue)* "}" "}"; * **/ -// "SetOfConfigurations" "{" "valueConstraint" valueConstraint=OclConstraint ("variants" "(" -// variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? "}" -protected class SetOfConfigurations_Group extends GroupToken { +// "Result" id=EString "{" "name" name=EString "timestamp" timestamp=EDate "metricValues" "{" metricValues+=MetricValue +// ("," metricValues+=MetricValue)* "}" "}" +protected class Result_Group extends GroupToken { - public SetOfConfigurations_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getGroup(); + return grammarAccess.getResultAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_RightCurlyBracketKeyword_12(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getSetOfConfigurationsRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getResultRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "SetOfConfigurations" -protected class SetOfConfigurations_SetOfConfigurationsKeyword_0 extends KeywordToken { +// "Result" +protected class Result_ResultKeyword_0 extends KeywordToken { - public SetOfConfigurations_SetOfConfigurationsKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_ResultKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getSetOfConfigurationsKeyword_0(); + return grammarAccess.getResultAccess().getResultKeyword_0(); } @Override @@ -6788,215 +9710,280 @@ protected class SetOfConfigurations_SetOfConfigurationsKeyword_0 extends Keyword } +// id=EString +protected class Result_IdAssignment_1 extends AssignmentToken { + + public Result_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getResultAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Result_ResultKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResultAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getResultAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + // "{" -protected class SetOfConfigurations_LeftCurlyBracketKeyword_1 extends KeywordToken { +protected class Result_LeftCurlyBracketKeyword_2 extends KeywordToken { - public SetOfConfigurations_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getLeftCurlyBracketKeyword_1(); + return grammarAccess.getResultAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_SetOfConfigurationsKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "valueConstraint" -protected class SetOfConfigurations_ValueConstraintKeyword_2 extends KeywordToken { +// "name" +protected class Result_NameKeyword_3 extends KeywordToken { - public SetOfConfigurations_ValueConstraintKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_2(); + return grammarAccess.getResultAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// valueConstraint=OclConstraint -protected class SetOfConfigurations_ValueConstraintAssignment_3 extends AssignmentToken { +// name=EString +protected class Result_NameAssignment_4 extends AssignmentToken { - public SetOfConfigurations_ValueConstraintAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getValueConstraintAssignment_3(); + return grammarAccess.getResultAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_Group(this, this, 0, inst); + case 0: return new Result_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("valueConstraint",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueConstraint"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getOclConstraintRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_3_0(); - consumed = obj; - return param; - } + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResultAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getResultAccess().getNameEStringParserRuleCall_4_0(); + return obj; } return null; } +} + +// "timestamp" +protected class Result_TimestampKeyword_5 extends KeywordToken { + + public Result_TimestampKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getResultAccess().getTimestampKeyword_5(); + } + @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; + public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_ValueConstraintKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); + case 0: return new Result_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } - } + } + } -// ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? -protected class SetOfConfigurations_Group_4 extends GroupToken { +// timestamp=EDate +protected class Result_TimestampAssignment_6 extends AssignmentToken { - public SetOfConfigurations_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_TimestampAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getGroup_4(); + public Assignment getGrammarElement() { + return grammarAccess.getResultAccess().getTimestampAssignment_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_RightParenthesisKeyword_4_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_TimestampKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("timestamp",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("timestamp"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResultAccess().getTimestampEDateParserRuleCall_6_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getResultAccess().getTimestampEDateParserRuleCall_6_0(); + return obj; + } + return null; + } + } -// "variants" -protected class SetOfConfigurations_VariantsKeyword_4_0 extends KeywordToken { +// "metricValues" +protected class Result_MetricValuesKeyword_7 extends KeywordToken { - public SetOfConfigurations_VariantsKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_MetricValuesKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_4_0(); + return grammarAccess.getResultAccess().getMetricValuesKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_ValueConstraintAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_TimestampAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// "(" -protected class SetOfConfigurations_LeftParenthesisKeyword_4_1 extends KeywordToken { +// "{" +protected class Result_LeftCurlyBracketKeyword_8 extends KeywordToken { - public SetOfConfigurations_LeftParenthesisKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_LeftCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_4_1(); + return grammarAccess.getResultAccess().getLeftCurlyBracketKeyword_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_VariantsKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_MetricValuesKeyword_7(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// variants+=[ecore::EObject|EString] -protected class SetOfConfigurations_VariantsAssignment_4_2 extends AssignmentToken { +// metricValues+=MetricValue +protected class Result_MetricValuesAssignment_9 extends AssignmentToken { - public SetOfConfigurations_VariantsAssignment_4_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_MetricValuesAssignment_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getVariantsAssignment_4_2(); + return grammarAccess.getResultAccess().getMetricValuesAssignment_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_LeftParenthesisKeyword_4_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("variants",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variants"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + if((value = eObjectConsumer.getConsumable("metricValues",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("metricValues"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_2_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_2_0(); - return obj; + if(param.isInstanceOf(grammarAccess.getMetricValueRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getResultAccess().getMetricValuesMetricValueParserRuleCall_9_0(); + consumed = obj; + return param; } } return null; } + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new Result_LeftCurlyBracketKeyword_8(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } -// ("," variants+=[ecore::EObject|EString])* -protected class SetOfConfigurations_Group_4_3 extends GroupToken { +// ("," metricValues+=MetricValue)* +protected class Result_Group_10 extends GroupToken { - public SetOfConfigurations_Group_4_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_Group_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getGroup_4_3(); + return grammarAccess.getResultAccess().getGroup_10(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_VariantsAssignment_4_3_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new Result_MetricValuesAssignment_10_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -7004,107 +9991,114 @@ protected class SetOfConfigurations_Group_4_3 extends GroupToken { } // "," -protected class SetOfConfigurations_CommaKeyword_4_3_0 extends KeywordToken { +protected class Result_CommaKeyword_10_0 extends KeywordToken { - public SetOfConfigurations_CommaKeyword_4_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_CommaKeyword_10_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_4_3_0(); + return grammarAccess.getResultAccess().getCommaKeyword_10_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_Group_4_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetOfConfigurations_VariantsAssignment_4_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new Result_Group_10(lastRuleCallOrigin, this, 0, inst); + case 1: return new Result_MetricValuesAssignment_9(lastRuleCallOrigin, this, 1, inst); default: return null; } } } -// variants+=[ecore::EObject|EString] -protected class SetOfConfigurations_VariantsAssignment_4_3_1 extends AssignmentToken { +// metricValues+=MetricValue +protected class Result_MetricValuesAssignment_10_1 extends AssignmentToken { - public SetOfConfigurations_VariantsAssignment_4_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_MetricValuesAssignment_10_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getVariantsAssignment_4_3_1(); + return grammarAccess.getResultAccess().getMetricValuesAssignment_10_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_CommaKeyword_4_3_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_Group(this, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("variants",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variants"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + if((value = eObjectConsumer.getConsumable("metricValues",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("metricValues"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_3_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_3_1_0(); - return obj; + if(param.isInstanceOf(grammarAccess.getMetricValueRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getResultAccess().getMetricValuesMetricValueParserRuleCall_10_1_0(); + consumed = obj; + return param; } } return null; } + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new Result_CommaKeyword_10_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } } -// ")" -protected class SetOfConfigurations_RightParenthesisKeyword_4_4 extends KeywordToken { +// "}" +protected class Result_RightCurlyBracketKeyword_11 extends KeywordToken { - public SetOfConfigurations_RightParenthesisKeyword_4_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_RightCurlyBracketKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_4_4(); + return grammarAccess.getResultAccess().getRightCurlyBracketKeyword_11(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_Group_4_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetOfConfigurations_VariantsAssignment_4_2(lastRuleCallOrigin, this, 1, inst); + case 0: return new Result_Group_10(lastRuleCallOrigin, this, 0, inst); + case 1: return new Result_MetricValuesAssignment_9(lastRuleCallOrigin, this, 1, inst); default: return null; } } } - // "}" -protected class SetOfConfigurations_RightCurlyBracketKeyword_5 extends KeywordToken { +protected class Result_RightCurlyBracketKeyword_12 extends KeywordToken { - public SetOfConfigurations_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public Result_RightCurlyBracketKeyword_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getSetOfConfigurationsAccess().getRightCurlyBracketKeyword_5(); + return grammarAccess.getResultAccess().getRightCurlyBracketKeyword_12(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new SetOfConfigurations_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetOfConfigurations_ValueConstraintAssignment_3(lastRuleCallOrigin, this, 1, inst); + case 0: return new Result_RightCurlyBracketKeyword_11(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -7112,55 +10106,58 @@ protected class SetOfConfigurations_RightCurlyBracketKeyword_5 extends KeywordTo } -/************ end Rule SetOfConfigurations ****************/ +/************ end Rule Result ****************/ -/************ begin Rule OclConstraint **************** + +/************ begin Rule MetricValue **************** * - * OclConstraint returns adaptationpoints::OclConstraint: - * "OclConstraint" "{" "oclString" oclString=EString "}"; + * MetricValue returns perfdatarepo::MetricValue: + * "MetricValue" id=EString "{" "name" name=EString "value" value=EDouble "metric" + * metric=[perfdatarepo::MetricType|EString] "}"; * **/ -// "OclConstraint" "{" "oclString" oclString=EString "}" -protected class OclConstraint_Group extends GroupToken { +// "MetricValue" id=EString "{" "name" name=EString "value" value=EDouble "metric" +// metric=[perfdatarepo::MetricType|EString] "}" +protected class MetricValue_Group extends GroupToken { - public OclConstraint_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getGroup(); + return grammarAccess.getMetricValueAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getOclConstraintRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getMetricValueRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "OclConstraint" -protected class OclConstraint_OclConstraintKeyword_0 extends KeywordToken { +// "MetricValue" +protected class MetricValue_MetricValueKeyword_0 extends KeywordToken { - public OclConstraint_OclConstraintKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_MetricValueKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getOclConstraintKeyword_0(); + return grammarAccess.getMetricValueAccess().getMetricValueKeyword_0(); } @Override @@ -7172,77 +10169,167 @@ protected class OclConstraint_OclConstraintKeyword_0 extends KeywordToken { } +// id=EString +protected class MetricValue_IdAssignment_1 extends AssignmentToken { + + public MetricValue_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getMetricValueAccess().getIdAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new MetricValue_MetricValueKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMetricValueAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getMetricValueAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + // "{" -protected class OclConstraint_LeftCurlyBracketKeyword_1 extends KeywordToken { +protected class MetricValue_LeftCurlyBracketKeyword_2 extends KeywordToken { - public OclConstraint_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getLeftCurlyBracketKeyword_1(); + return grammarAccess.getMetricValueAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_OclConstraintKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "name" +protected class MetricValue_NameKeyword_3 extends KeywordToken { + + public MetricValue_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getMetricValueAccess().getNameKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new MetricValue_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// name=EString +protected class MetricValue_NameAssignment_4 extends AssignmentToken { + + public MetricValue_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getMetricValueAccess().getNameAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new MetricValue_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMetricValueAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getMetricValueAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; + } + } -// "oclString" -protected class OclConstraint_OclStringKeyword_2 extends KeywordToken { +// "value" +protected class MetricValue_ValueKeyword_5 extends KeywordToken { - public OclConstraint_OclStringKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_ValueKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getOclStringKeyword_2(); + return grammarAccess.getMetricValueAccess().getValueKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// oclString=EString -protected class OclConstraint_OclStringAssignment_3 extends AssignmentToken { +// value=EDouble +protected class MetricValue_ValueAssignment_6 extends AssignmentToken { - public OclConstraint_OclStringAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_ValueAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getOclStringAssignment_3(); + return grammarAccess.getMetricValueAccess().getValueAssignment_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_OclStringKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_ValueKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("oclString",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("oclString"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getOclConstraintAccess().getOclStringEStringParserRuleCall_3_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMetricValueAccess().getValueEDoubleParserRuleCall_6_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getOclConstraintAccess().getOclStringEStringParserRuleCall_3_0(); + element = grammarAccess.getMetricValueAccess().getValueEDoubleParserRuleCall_6_0(); return obj; } return null; @@ -7250,160 +10337,175 @@ protected class OclConstraint_OclStringAssignment_3 extends AssignmentToken { } -// "}" -protected class OclConstraint_RightCurlyBracketKeyword_4 extends KeywordToken { +// "metric" +protected class MetricValue_MetricKeyword_7 extends KeywordToken { - public OclConstraint_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_MetricKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getOclConstraintAccess().getRightCurlyBracketKeyword_4(); + return grammarAccess.getMetricValueAccess().getMetricKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new OclConstraint_OclStringAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_ValueAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } } - -/************ end Rule OclConstraint ****************/ - - -/************ begin Rule Objective **************** - * - * Objective: - * "Objective" "{" "specification" specification=EString "}"; - * - **/ - -// "Objective" "{" "specification" specification=EString "}" -protected class Objective_Group extends GroupToken { +// metric=[perfdatarepo::MetricType|EString] +protected class MetricValue_MetricAssignment_8 extends AssignmentToken { - public Objective_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_MetricAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getObjectiveAccess().getGroup(); + public Assignment getGrammarElement() { + return grammarAccess.getMetricValueAccess().getMetricAssignment_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Objective_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricValue_MetricKeyword_7(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getObjectiveRule().getType().getClassifier()) - return null; - return eObjectConsumer; + if((value = eObjectConsumer.getConsumable("metric",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("metric"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getMetricValueAccess().getMetricMetricTypeCrossReference_8_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getMetricValueAccess().getMetricMetricTypeCrossReference_8_0(); + return obj; + } + } + return null; } } -// "Objective" -protected class Objective_ObjectiveKeyword_0 extends KeywordToken { +// "}" +protected class MetricValue_RightCurlyBracketKeyword_9 extends KeywordToken { - public Objective_ObjectiveKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricValue_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getObjectiveAccess().getObjectiveKeyword_0(); + return grammarAccess.getMetricValueAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + case 0: return new MetricValue_MetricAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; } } } -// "{" -protected class Objective_LeftCurlyBracketKeyword_1 extends KeywordToken { + +/************ end Rule MetricValue ****************/ + + +/************ begin Rule MetricType **************** + * + * MetricType returns perfdatarepo::MetricType: + * "MetricType" id=EString "{" "name" name=EString "}"; + * + **/ + +// "MetricType" id=EString "{" "name" name=EString "}" +protected class MetricType_Group extends GroupToken { - public Objective_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getObjectiveAccess().getLeftCurlyBracketKeyword_1(); + public Group getGrammarElement() { + return grammarAccess.getMetricTypeAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Objective_ObjectiveKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricType_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getMetricTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + } -// "specification" -protected class Objective_SpecificationKeyword_2 extends KeywordToken { +// "MetricType" +protected class MetricType_MetricTypeKeyword_0 extends KeywordToken { - public Objective_SpecificationKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_MetricTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getObjectiveAccess().getSpecificationKeyword_2(); + return grammarAccess.getMetricTypeAccess().getMetricTypeKeyword_0(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Objective_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: return null; + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); } } } -// specification=EString -protected class Objective_SpecificationAssignment_3 extends AssignmentToken { +// id=EString +protected class MetricType_IdAssignment_1 extends AssignmentToken { - public Objective_SpecificationAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getObjectiveAccess().getSpecificationAssignment_3(); + return grammarAccess.getMetricTypeAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Objective_SpecificationKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricType_MetricTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("specification",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("specification"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_3_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMetricTypeAccess().getIdEStringParserRuleCall_1_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_3_0(); + element = grammarAccess.getMetricTypeAccess().getIdEStringParserRuleCall_1_0(); return obj; } return null; @@ -7411,110 +10513,100 @@ protected class Objective_SpecificationAssignment_3 extends AssignmentToken { } -// "}" -protected class Objective_RightCurlyBracketKeyword_4 extends KeywordToken { +// "{" +protected class MetricType_LeftCurlyBracketKeyword_2 extends KeywordToken { - public Objective_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getObjectiveAccess().getRightCurlyBracketKeyword_4(); + return grammarAccess.getMetricTypeAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Objective_SpecificationAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricType_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } } - -/************ end Rule Objective ****************/ - - -/************ begin Rule Event **************** - * - * Event: - * {Event} "Event"; - * - **/ - -// {Event} "Event" -protected class Event_Group extends GroupToken { +// "name" +protected class MetricType_NameKeyword_3 extends KeywordToken { - public Event_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getEventAccess().getGroup(); + public Keyword getGrammarElement() { + return grammarAccess.getMetricTypeAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Event_EventKeyword_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricType_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getEventAccess().getEventAction_0().getType().getClassifier()) - return null; - return eObjectConsumer; - } - } -// {Event} -protected class Event_EventAction_0 extends ActionToken { - - public Event_EventAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { +// name=EString +protected class MetricType_NameAssignment_4 extends AssignmentToken { + + public MetricType_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Action getGrammarElement() { - return grammarAccess.getEventAccess().getEventAction_0(); + public Assignment getGrammarElement() { + return grammarAccess.getMetricTypeAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + case 0: return new MetricType_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if(!eObjectConsumer.isConsumed()) return null; - return eObjectConsumer; + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMetricTypeAccess().getNameEStringParserRuleCall_4_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getMetricTypeAccess().getNameEStringParserRuleCall_4_0(); + return obj; + } + return null; } + } -// "Event" -protected class Event_EventKeyword_1 extends KeywordToken { +// "}" +protected class MetricType_RightCurlyBracketKeyword_5 extends KeywordToken { - public Event_EventKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public MetricType_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getEventAccess().getEventKeyword_1(); + return grammarAccess.getMetricTypeAccess().getRightCurlyBracketKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new Event_EventAction_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new MetricType_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } @@ -7522,57 +10614,57 @@ protected class Event_EventKeyword_1 extends KeywordToken { } -/************ end Rule Event ****************/ +/************ end Rule MetricType ****************/ -/************ begin Rule WeightedTactic **************** +/************ begin Rule WeightedMetric **************** * - * WeightedTactic: - * "WeightedTactic" "{" "currentWeight" currentWeight=EDouble "defaultWeight" defaultWeight=EDouble "uses" - * usedTactic=[Tactic|EString] "}"; + * WeightedMetric: + * "WeightedMetric" id=EString "{" "name" name=EString "weight" weight=EDouble "metricType" + * metricType=[perfdatarepo::MetricType|EString] "}"; * **/ -// "WeightedTactic" "{" "currentWeight" currentWeight=EDouble "defaultWeight" defaultWeight=EDouble "uses" -// usedTactic=[Tactic|EString] "}" -protected class WeightedTactic_Group extends GroupToken { +// "WeightedMetric" id=EString "{" "name" name=EString "weight" weight=EDouble "metricType" +// metricType=[perfdatarepo::MetricType|EString] "}" +protected class WeightedMetric_Group extends GroupToken { - public WeightedTactic_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Group getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getGroup(); + return grammarAccess.getWeightedMetricAccess().getGroup(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_RightCurlyBracketKeyword_9(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getWeightedTacticRule().getType().getClassifier()) + if(getEObject().eClass() != grammarAccess.getWeightedMetricRule().getType().getClassifier()) return null; return eObjectConsumer; } } -// "WeightedTactic" -protected class WeightedTactic_WeightedTacticKeyword_0 extends KeywordToken { +// "WeightedMetric" +protected class WeightedMetric_WeightedMetricKeyword_0 extends KeywordToken { - public WeightedTactic_WeightedTacticKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_WeightedMetricKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getWeightedTacticKeyword_0(); + return grammarAccess.getWeightedMetricAccess().getWeightedMetricKeyword_0(); } @Override @@ -7584,133 +10676,111 @@ protected class WeightedTactic_WeightedTacticKeyword_0 extends KeywordToken { } -// "{" -protected class WeightedTactic_LeftCurlyBracketKeyword_1 extends KeywordToken { +// id=EString +protected class WeightedMetric_IdAssignment_1 extends AssignmentToken { - public WeightedTactic_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_1(); + public Assignment getGrammarElement() { + return grammarAccess.getWeightedMetricAccess().getIdAssignment_1(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_WeightedTacticKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_WeightedMetricKeyword_0(lastRuleCallOrigin, this, 0, inst); default: return null; } } -} - -// "currentWeight" -protected class WeightedTactic_CurrentWeightKeyword_2 extends KeywordToken { - - public WeightedTactic_CurrentWeightKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new WeightedTactic_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedMetricAccess().getIdEStringParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getWeightedMetricAccess().getIdEStringParserRuleCall_1_0(); + return obj; + } + return null; } } -// currentWeight=EDouble -protected class WeightedTactic_CurrentWeightAssignment_3 extends AssignmentToken { +// "{" +protected class WeightedMetric_LeftCurlyBracketKeyword_2 extends KeywordToken { - public WeightedTactic_CurrentWeightAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Assignment getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getCurrentWeightAssignment_3(); + public Keyword getGrammarElement() { + return grammarAccess.getWeightedMetricAccess().getLeftCurlyBracketKeyword_2(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_CurrentWeightKeyword_2(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("currentWeight",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("currentWeight"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_3_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_3_0(); - return obj; - } - return null; - } - } -// "defaultWeight" -protected class WeightedTactic_DefaultWeightKeyword_4 extends KeywordToken { +// "name" +protected class WeightedMetric_NameKeyword_3 extends KeywordToken { - public WeightedTactic_DefaultWeightKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_NameKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_4(); + return grammarAccess.getWeightedMetricAccess().getNameKeyword_3(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_CurrentWeightAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// defaultWeight=EDouble -protected class WeightedTactic_DefaultWeightAssignment_5 extends AssignmentToken { +// name=EString +protected class WeightedMetric_NameAssignment_4 extends AssignmentToken { - public WeightedTactic_DefaultWeightAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_NameAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getDefaultWeightAssignment_5(); + return grammarAccess.getWeightedMetricAccess().getNameAssignment_4(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_DefaultWeightKeyword_4(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_NameKeyword_3(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("defaultWeight",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultWeight"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_5_0(), value, null)) { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedMetricAccess().getNameEStringParserRuleCall_4_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_5_0(); + element = grammarAccess.getWeightedMetricAccess().getNameEStringParserRuleCall_4_0(); return obj; } return null; @@ -7718,190 +10788,144 @@ protected class WeightedTactic_DefaultWeightAssignment_5 extends AssignmentToken } -// "uses" -protected class WeightedTactic_UsesKeyword_6 extends KeywordToken { +// "weight" +protected class WeightedMetric_WeightKeyword_5 extends KeywordToken { - public WeightedTactic_UsesKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_WeightKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getUsesKeyword_6(); + return grammarAccess.getWeightedMetricAccess().getWeightKeyword_5(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_DefaultWeightAssignment_5(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_NameAssignment_4(lastRuleCallOrigin, this, 0, inst); default: return null; } } } -// usedTactic=[Tactic|EString] -protected class WeightedTactic_UsedTacticAssignment_7 extends AssignmentToken { +// weight=EDouble +protected class WeightedMetric_WeightAssignment_6 extends AssignmentToken { - public WeightedTactic_UsedTacticAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_WeightAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Assignment getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getUsedTacticAssignment_7(); + return grammarAccess.getWeightedMetricAccess().getWeightAssignment_6(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_UsesKeyword_6(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_WeightKeyword_5(lastRuleCallOrigin, this, 0, inst); default: return null; } } @Override public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("usedTactic",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("usedTactic"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_7_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_7_0(); - return obj; - } + if((value = eObjectConsumer.getConsumable("weight",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("weight"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightedMetricAccess().getWeightEDoubleParserRuleCall_6_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getWeightedMetricAccess().getWeightEDoubleParserRuleCall_6_0(); + return obj; } return null; } } -// "}" -protected class WeightedTactic_RightCurlyBracketKeyword_8 extends KeywordToken { +// "metricType" +protected class WeightedMetric_MetricTypeKeyword_7 extends KeywordToken { - public WeightedTactic_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_MetricTypeKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_8(); + return grammarAccess.getWeightedMetricAccess().getMetricTypeKeyword_7(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightedTactic_UsedTacticAssignment_7(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_WeightAssignment_6(lastRuleCallOrigin, this, 0, inst); default: return null; } } } - -/************ end Rule WeightedTactic ****************/ - - -/************ begin Rule WeightingFunction **************** - * - * //'}'; - * WeightingFunction: //'WeightingFunction' - * //'{' - * "function" function=EString; - * - **/ - -// //'WeightingFunction' -// //'{' -// "function" function=EString //'}'; -protected class WeightingFunction_Group extends GroupToken { +// metricType=[perfdatarepo::MetricType|EString] +protected class WeightedMetric_MetricTypeAssignment_8 extends AssignmentToken { - public WeightingFunction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_MetricTypeAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override - public Group getGrammarElement() { - return grammarAccess.getWeightingFunctionAccess().getGroup(); + public Assignment getGrammarElement() { + return grammarAccess.getWeightedMetricAccess().getMetricTypeAssignment_8(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightingFunction_FunctionAssignment_1(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_MetricTypeKeyword_7(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override + @Override public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getWeightingFunctionRule().getType().getClassifier()) - return null; - return eObjectConsumer; + if((value = eObjectConsumer.getConsumable("metricType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("metricType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getWeightedMetricAccess().getMetricTypeMetricTypeCrossReference_8_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getWeightedMetricAccess().getMetricTypeMetricTypeCrossReference_8_0(); + return obj; + } + } + return null; } } -// //'WeightingFunction' -// //'{' -// "function" -protected class WeightingFunction_FunctionKeyword_0 extends KeywordToken { +// "}" +protected class WeightedMetric_RightCurlyBracketKeyword_9 extends KeywordToken { - public WeightingFunction_FunctionKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + public WeightedMetric_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); } @Override public Keyword getGrammarElement() { - return grammarAccess.getWeightingFunctionAccess().getFunctionKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// //'}'; -// function=EString -protected class WeightingFunction_FunctionAssignment_1 extends AssignmentToken { - - public WeightingFunction_FunctionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getWeightingFunctionAccess().getFunctionAssignment_1(); + return grammarAccess.getWeightedMetricAccess().getRightCurlyBracketKeyword_9(); } @Override public AbstractToken createFollower(int index, IEObjectConsumer inst) { switch(index) { - case 0: return new WeightingFunction_FunctionKeyword_0(lastRuleCallOrigin, this, 0, inst); + case 0: return new WeightedMetric_MetricTypeAssignment_8(lastRuleCallOrigin, this, 0, inst); default: return null; } } - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("function",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("function"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWeightingFunctionAccess().getFunctionEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getWeightingFunctionAccess().getFunctionEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - } -/************ end Rule WeightingFunction ****************/ +/************ end Rule WeightedMetric ****************/ } diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g index dd5ae4ff8fc8934151facb2ad5affff8df3e1cba..35d817ceb7e0015665d52354cf85878850d81148 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g @@ -125,70 +125,70 @@ ruleStaRepository returns [EObject current=null] } ) -)( otherlv_5='parameters' +) otherlv_5='tactics' { - newLeafNode(otherlv_5, grammarAccess.getStaRepositoryAccess().getParametersKeyword_5_0()); + newLeafNode(otherlv_5, grammarAccess.getStaRepositoryAccess().getTacticsKeyword_5()); } otherlv_6='{' { - newLeafNode(otherlv_6, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_5_1()); + newLeafNode(otherlv_6, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_6()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_2_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_7_0()); } - lv_parameters_7_0=ruleParameter { + lv_tactics_7_0=ruleTactic { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "parameters", - lv_parameters_7_0, - "Parameter"); + "tactics", + lv_tactics_7_0, + "Tactic"); afterParserOrEnumRuleCall(); } ) )( otherlv_8=',' { - newLeafNode(otherlv_8, grammarAccess.getStaRepositoryAccess().getCommaKeyword_5_3_0()); + newLeafNode(otherlv_8, grammarAccess.getStaRepositoryAccess().getCommaKeyword_8_0()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_3_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_8_1_0()); } - lv_parameters_9_0=ruleParameter { + lv_tactics_9_0=ruleTactic { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "parameters", - lv_parameters_9_0, - "Parameter"); + "tactics", + lv_tactics_9_0, + "Tactic"); afterParserOrEnumRuleCall(); } ) ))* otherlv_10='}' { - newLeafNode(otherlv_10, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_5_4()); + newLeafNode(otherlv_10, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_9()); } -)? otherlv_11='actions' + otherlv_11='actions' { - newLeafNode(otherlv_11, grammarAccess.getStaRepositoryAccess().getActionsKeyword_6()); + newLeafNode(otherlv_11, grammarAccess.getStaRepositoryAccess().getActionsKeyword_10()); } otherlv_12='{' { - newLeafNode(otherlv_12, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_7()); + newLeafNode(otherlv_12, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_11()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_8_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_12_0()); } lv_actions_13_0=ruleAction { if ($current==null) { @@ -205,12 +205,12 @@ ruleStaRepository returns [EObject current=null] ) )( otherlv_14=',' { - newLeafNode(otherlv_14, grammarAccess.getStaRepositoryAccess().getCommaKeyword_9_0()); + newLeafNode(otherlv_14, grammarAccess.getStaRepositoryAccess().getCommaKeyword_13_0()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_9_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_13_1_0()); } lv_actions_15_0=ruleAction { if ($current==null) { @@ -227,115 +227,137 @@ ruleStaRepository returns [EObject current=null] ) ))* otherlv_16='}' { - newLeafNode(otherlv_16, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_10()); + newLeafNode(otherlv_16, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_14()); } - otherlv_17='tactics' + otherlv_17='strategies' { - newLeafNode(otherlv_17, grammarAccess.getStaRepositoryAccess().getTacticsKeyword_11()); + newLeafNode(otherlv_17, grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_15()); } otherlv_18='{' { - newLeafNode(otherlv_18, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_12()); + newLeafNode(otherlv_18, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_16()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_13_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_17_0()); } - lv_tactics_19_0=ruleTactic { + lv_strategies_19_0=ruleStrategy { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "tactics", - lv_tactics_19_0, - "Tactic"); + "strategies", + lv_strategies_19_0, + "Strategy"); afterParserOrEnumRuleCall(); } ) )( otherlv_20=',' { - newLeafNode(otherlv_20, grammarAccess.getStaRepositoryAccess().getCommaKeyword_14_0()); + newLeafNode(otherlv_20, grammarAccess.getStaRepositoryAccess().getCommaKeyword_18_0()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_14_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_1_0()); } - lv_tactics_21_0=ruleTactic { + lv_strategies_21_0=ruleStrategy { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "tactics", - lv_tactics_21_0, - "Tactic"); + "strategies", + lv_strategies_21_0, + "Strategy"); afterParserOrEnumRuleCall(); } ) ))* otherlv_22='}' { - newLeafNode(otherlv_22, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_15()); + newLeafNode(otherlv_22, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_19()); } - otherlv_23='strategies' +( otherlv_23='parameters' { - newLeafNode(otherlv_23, grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_16()); + newLeafNode(otherlv_23, grammarAccess.getStaRepositoryAccess().getParametersKeyword_20_0()); } otherlv_24='{' { - newLeafNode(otherlv_24, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_17()); + newLeafNode(otherlv_24, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_20_1()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_2_0()); } - lv_strategies_25_0=ruleStrategy { + lv_parameters_25_0=ruleParameter { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "strategies", - lv_strategies_25_0, - "Strategy"); + "parameters", + lv_parameters_25_0, + "Parameter"); afterParserOrEnumRuleCall(); } ) )( otherlv_26=',' { - newLeafNode(otherlv_26, grammarAccess.getStaRepositoryAccess().getCommaKeyword_19_0()); + newLeafNode(otherlv_26, grammarAccess.getStaRepositoryAccess().getCommaKeyword_20_3_0()); } ( ( { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_19_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_3_1_0()); } - lv_strategies_27_0=ruleStrategy { + lv_parameters_27_0=ruleParameter { if ($current==null) { $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); } add( $current, - "strategies", - lv_strategies_27_0, - "Strategy"); + "parameters", + lv_parameters_27_0, + "Parameter"); afterParserOrEnumRuleCall(); } ) ))* otherlv_28='}' { - newLeafNode(otherlv_28, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20()); + newLeafNode(otherlv_28, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20_4()); } - otherlv_29='}' +)? otherlv_29='goal' + { + newLeafNode(otherlv_29, grammarAccess.getStaRepositoryAccess().getGoalKeyword_21()); + } +( +( + { + newCompositeNode(grammarAccess.getStaRepositoryAccess().getGoalOverallGoalParserRuleCall_22_0()); + } + lv_goal_30_0=ruleOverallGoal { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); + } + set( + $current, + "goal", + lv_goal_30_0, + "OverallGoal"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_31='}' { - newLeafNode(otherlv_29, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_21()); + newLeafNode(otherlv_31, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_23()); } ) ; @@ -362,41 +384,41 @@ ruleAbstractControlFlowElement returns [EObject current=null] @after { leaveRule(); }: ( { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStartParserRuleCall_0()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStartActionParserRuleCall_0()); } - this_Start_0=ruleStart + this_StartAction_0=ruleStartAction { - $current = $this_Start_0.current; + $current = $this_StartAction_0.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStopParserRuleCall_1()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStopActionParserRuleCall_1()); } - this_Stop_1=ruleStop + this_StopAction_1=ruleStopAction { - $current = $this_Stop_1.current; + $current = $this_StopAction_1.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getLoopParserRuleCall_2()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getLoopActionParserRuleCall_2()); } - this_Loop_2=ruleLoop + this_LoopAction_2=ruleLoopAction { - $current = $this_Loop_2.current; + $current = $this_LoopAction_2.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getBranchParserRuleCall_3()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getBranchActionParserRuleCall_3()); } - this_Branch_3=ruleBranch + this_BranchAction_3=ruleBranchAction { - $current = $this_Branch_3.current; + $current = $this_BranchAction_3.current; afterParserOrEnumRuleCall(); } @@ -714,9 +736,31 @@ ruleAction returns [EObject current=null] } ) -)( otherlv_5='outputParam' +) otherlv_5='operationType' + { + newLeafNode(otherlv_5, grammarAccess.getActionAccess().getOperationTypeKeyword_5()); + } +( +( + { + newCompositeNode(grammarAccess.getActionAccess().getOperationTypeOperationTypeParserRuleCall_6_0()); + } + lv_operationType_6_0=ruleOperationType { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getActionRule()); + } + set( + $current, + "operationType", + lv_operationType_6_0, + "OperationType"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_7='outputParam' { - newLeafNode(otherlv_5, grammarAccess.getActionAccess().getOutputParamKeyword_5_0()); + newLeafNode(otherlv_7, grammarAccess.getActionAccess().getOutputParamKeyword_7_0()); } ( ( @@ -726,20 +770,20 @@ ruleAction returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_5_1_0()); + newCompositeNode(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_7_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_7='inputParams' +))?( otherlv_9='inputParams' { - newLeafNode(otherlv_7, grammarAccess.getActionAccess().getInputParamsKeyword_6_0()); + newLeafNode(otherlv_9, grammarAccess.getActionAccess().getInputParamsKeyword_8_0()); } - otherlv_8='(' + otherlv_10='(' { - newLeafNode(otherlv_8, grammarAccess.getActionAccess().getLeftParenthesisKeyword_6_1()); + newLeafNode(otherlv_10, grammarAccess.getActionAccess().getLeftParenthesisKeyword_8_1()); } ( ( @@ -749,16 +793,16 @@ ruleAction returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_2_0()); + newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_2_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -)( otherlv_10=',' +)( otherlv_12=',' { - newLeafNode(otherlv_10, grammarAccess.getActionAccess().getCommaKeyword_6_3_0()); + newLeafNode(otherlv_12, grammarAccess.getActionAccess().getCommaKeyword_8_3_0()); } ( ( @@ -768,20 +812,20 @@ ruleAction returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_3_1_0()); + newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_3_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))* otherlv_12=')' +))* otherlv_14=')' { - newLeafNode(otherlv_12, grammarAccess.getActionAccess().getRightParenthesisKeyword_6_4()); + newLeafNode(otherlv_14, grammarAccess.getActionAccess().getRightParenthesisKeyword_8_4()); } -)? otherlv_13='referredAdaptationPoint' +)? otherlv_15='referredAdaptationPoint' { - newLeafNode(otherlv_13, grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_7()); + newLeafNode(otherlv_15, grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_9()); } ( ( @@ -791,16 +835,16 @@ ruleAction returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_8_0()); + newCompositeNode(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_10_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -) otherlv_15='}' +) otherlv_17='}' { - newLeafNode(otherlv_15, grammarAccess.getActionAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_17, grammarAccess.getActionAccess().getRightCurlyBracketKeyword_11()); } ) ; @@ -890,14 +934,14 @@ ruleStrategy returns [EObject current=null] } ) -)( otherlv_7='triggeringEvents' +) otherlv_7='triggeringEvents' { - newLeafNode(otherlv_7, grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7_0()); + newLeafNode(otherlv_7, grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7()); } ( ( { - newCompositeNode(grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_7_1_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_8_0()); } lv_triggeringEvents_8_0=ruleEvent { if ($current==null) { @@ -912,18 +956,18 @@ ruleStrategy returns [EObject current=null] } ) -))? otherlv_9='tactics' +) otherlv_9='tactics' { - newLeafNode(otherlv_9, grammarAccess.getStrategyAccess().getTacticsKeyword_8()); + newLeafNode(otherlv_9, grammarAccess.getStrategyAccess().getTacticsKeyword_9()); } otherlv_10='{' { - newLeafNode(otherlv_10, grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_9()); + newLeafNode(otherlv_10, grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_10()); } ( ( { - newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_10_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_0()); } lv_tactics_11_0=ruleWeightedTactic { if ($current==null) { @@ -940,12 +984,12 @@ ruleStrategy returns [EObject current=null] ) )( otherlv_12=',' { - newLeafNode(otherlv_12, grammarAccess.getStrategyAccess().getCommaKeyword_11_0()); + newLeafNode(otherlv_12, grammarAccess.getStrategyAccess().getCommaKeyword_12_0()); } ( ( { - newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_1_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_12_1_0()); } lv_tactics_13_0=ruleWeightedTactic { if ($current==null) { @@ -962,16 +1006,16 @@ ruleStrategy returns [EObject current=null] ) ))* otherlv_14='}' { - newLeafNode(otherlv_14, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_12()); + newLeafNode(otherlv_14, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_13()); } otherlv_15='weightingFunction' { - newLeafNode(otherlv_15, grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_13()); + newLeafNode(otherlv_15, grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_14()); } ( ( { - newCompositeNode(grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_14_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_15_0()); } lv_weightingFunction_16_0=ruleWeightingFunction { if ($current==null) { @@ -988,7 +1032,7 @@ ruleStrategy returns [EObject current=null] ) ) otherlv_17='}' { - newLeafNode(otherlv_17, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_15()); + newLeafNode(otherlv_17, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_16()); } ) ; @@ -1070,6 +1114,113 @@ ruleParameter returns [EObject current=null] +// Entry rule entryRuleOverallGoal +entryRuleOverallGoal returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getOverallGoalRule()); } + iv_ruleOverallGoal=ruleOverallGoal + { $current=$iv_ruleOverallGoal.current; } + EOF +; + +// Rule OverallGoal +ruleOverallGoal returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='OverallGoal' + { + newLeafNode(otherlv_0, grammarAccess.getOverallGoalAccess().getOverallGoalKeyword_0()); + } + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_1()); + } + otherlv_2='description' + { + newLeafNode(otherlv_2, grammarAccess.getOverallGoalAccess().getDescriptionKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getOverallGoalAccess().getDescriptionEStringParserRuleCall_3_0()); + } + lv_description_3_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + set( + $current, + "description", + lv_description_3_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4='objectives' + { + newLeafNode(otherlv_4, grammarAccess.getOverallGoalAccess().getObjectivesKeyword_4()); + } + otherlv_5='{' + { + newLeafNode(otherlv_5, grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_5()); + } +( +( + { + newCompositeNode(grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_6_0()); + } + lv_objectives_6_0=ruleObjective { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + add( + $current, + "objectives", + lv_objectives_6_0, + "Objective"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_7=',' + { + newLeafNode(otherlv_7, grammarAccess.getOverallGoalAccess().getCommaKeyword_7_0()); + } +( +( + { + newCompositeNode(grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_7_1_0()); + } + lv_objectives_8_0=ruleObjective { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + add( + $current, + "objectives", + lv_objectives_8_0, + "Objective"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_9='}' + { + newLeafNode(otherlv_9, grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_8()); + } + otherlv_10='}' + { + newLeafNode(otherlv_10, grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_9()); + } +) +; + + + + + // Entry rule entryRuleAdaptationPlan entryRuleAdaptationPlan returns [EObject current=null] : @@ -1195,75 +1346,93 @@ ruleAdaptationPlan returns [EObject current=null] -// Entry rule entryRuleStart -entryRuleStart returns [EObject current=null] +// Entry rule entryRuleStartAction +entryRuleStartAction returns [EObject current=null] : - { newCompositeNode(grammarAccess.getStartRule()); } - iv_ruleStart=ruleStart - { $current=$iv_ruleStart.current; } + { newCompositeNode(grammarAccess.getStartActionRule()); } + iv_ruleStartAction=ruleStartAction + { $current=$iv_ruleStartAction.current; } EOF ; -// Rule Start -ruleStart returns [EObject current=null] +// Rule StartAction +ruleStartAction returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: (( { $current = forceCreateModelElement( - grammarAccess.getStartAccess().getStartActionAction_0(), + grammarAccess.getStartActionAccess().getStartActionAction_0(), $current); } -) otherlv_1='Start' +) otherlv_1='StartAction' { - newLeafNode(otherlv_1, grammarAccess.getStartAccess().getStartKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getStartActionAccess().getStartActionKeyword_1()); } - otherlv_2='{' +( +( + { + newCompositeNode(grammarAccess.getStartActionAccess().getIdEStringParserRuleCall_2_0()); + } + lv_id_2_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStartActionRule()); + } + set( + $current, + "id", + lv_id_2_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_3='{' { - newLeafNode(otherlv_2, grammarAccess.getStartAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getStartActionAccess().getLeftCurlyBracketKeyword_3()); } -( otherlv_3='predecessor' +( otherlv_4='predecessor' { - newLeafNode(otherlv_3, grammarAccess.getStartAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_4, grammarAccess.getStartActionAccess().getPredecessorKeyword_4_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getStartRule()); + $current = createModelElement(grammarAccess.getStartActionRule()); } } { - newCompositeNode(grammarAccess.getStartAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getStartActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_5='successor' +))?( otherlv_6='successor' { - newLeafNode(otherlv_5, grammarAccess.getStartAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_6, grammarAccess.getStartActionAccess().getSuccessorKeyword_5_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getStartRule()); + $current = createModelElement(grammarAccess.getStartActionRule()); } } { - newCompositeNode(grammarAccess.getStartAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getStartActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))? otherlv_7='}' +))? otherlv_8='}' { - newLeafNode(otherlv_7, grammarAccess.getStartAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_8, grammarAccess.getStartActionAccess().getRightCurlyBracketKeyword_6()); } ) ; @@ -1272,75 +1441,93 @@ ruleStart returns [EObject current=null] -// Entry rule entryRuleStop -entryRuleStop returns [EObject current=null] +// Entry rule entryRuleStopAction +entryRuleStopAction returns [EObject current=null] : - { newCompositeNode(grammarAccess.getStopRule()); } - iv_ruleStop=ruleStop - { $current=$iv_ruleStop.current; } + { newCompositeNode(grammarAccess.getStopActionRule()); } + iv_ruleStopAction=ruleStopAction + { $current=$iv_ruleStopAction.current; } EOF ; -// Rule Stop -ruleStop returns [EObject current=null] +// Rule StopAction +ruleStopAction returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: (( { $current = forceCreateModelElement( - grammarAccess.getStopAccess().getStopActionAction_0(), + grammarAccess.getStopActionAccess().getStopActionAction_0(), $current); } -) otherlv_1='Stop' +) otherlv_1='StopAction' { - newLeafNode(otherlv_1, grammarAccess.getStopAccess().getStopKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getStopActionAccess().getStopActionKeyword_1()); } - otherlv_2='{' +( +( + { + newCompositeNode(grammarAccess.getStopActionAccess().getIdEStringParserRuleCall_2_0()); + } + lv_id_2_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStopActionRule()); + } + set( + $current, + "id", + lv_id_2_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_3='{' { - newLeafNode(otherlv_2, grammarAccess.getStopAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getStopActionAccess().getLeftCurlyBracketKeyword_3()); } -( otherlv_3='predecessor' +( otherlv_4='predecessor' { - newLeafNode(otherlv_3, grammarAccess.getStopAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_4, grammarAccess.getStopActionAccess().getPredecessorKeyword_4_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getStopRule()); + $current = createModelElement(grammarAccess.getStopActionRule()); } } { - newCompositeNode(grammarAccess.getStopAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getStopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_5='successor' +))?( otherlv_6='successor' { - newLeafNode(otherlv_5, grammarAccess.getStopAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_6, grammarAccess.getStopActionAccess().getSuccessorKeyword_5_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getStopRule()); + $current = createModelElement(grammarAccess.getStopActionRule()); } } { - newCompositeNode(grammarAccess.getStopAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getStopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))? otherlv_7='}' +))? otherlv_8='}' { - newLeafNode(otherlv_7, grammarAccess.getStopAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_8, grammarAccess.getStopActionAccess().getRightCurlyBracketKeyword_6()); } ) ; @@ -1349,113 +1536,131 @@ ruleStop returns [EObject current=null] -// Entry rule entryRuleLoop -entryRuleLoop returns [EObject current=null] +// Entry rule entryRuleLoopAction +entryRuleLoopAction returns [EObject current=null] : - { newCompositeNode(grammarAccess.getLoopRule()); } - iv_ruleLoop=ruleLoop - { $current=$iv_ruleLoop.current; } + { newCompositeNode(grammarAccess.getLoopActionRule()); } + iv_ruleLoopAction=ruleLoopAction + { $current=$iv_ruleLoopAction.current; } EOF ; -// Rule Loop -ruleLoop returns [EObject current=null] +// Rule LoopAction +ruleLoopAction returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: ( otherlv_0='LoopAction' { - newLeafNode(otherlv_0, grammarAccess.getLoopAccess().getLoopActionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLoopActionAccess().getLoopActionKeyword_0()); } - otherlv_1='{' +( +( + { + newCompositeNode(grammarAccess.getLoopActionAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLoopActionRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' { - newLeafNode(otherlv_1, grammarAccess.getLoopAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getLoopActionAccess().getLeftCurlyBracketKeyword_2()); } - otherlv_2='counter' + otherlv_3='counter' { - newLeafNode(otherlv_2, grammarAccess.getLoopAccess().getCounterKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getLoopActionAccess().getCounterKeyword_3()); } ( ( { - newCompositeNode(grammarAccess.getLoopAccess().getCounterEIntParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getCounterEIntParserRuleCall_4_0()); } - lv_counter_3_0=ruleEInt { + lv_counter_4_0=ruleEInt { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLoopRule()); + $current = createModelElementForParent(grammarAccess.getLoopActionRule()); } set( $current, "counter", - lv_counter_3_0, + lv_counter_4_0, "EInt"); afterParserOrEnumRuleCall(); } ) -)( otherlv_4='predecessor' +)( otherlv_5='predecessor' { - newLeafNode(otherlv_4, grammarAccess.getLoopAccess().getPredecessorKeyword_4_0()); + newLeafNode(otherlv_5, grammarAccess.getLoopActionAccess().getPredecessorKeyword_5_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getLoopRule()); + $current = createModelElement(grammarAccess.getLoopActionRule()); } } { - newCompositeNode(grammarAccess.getLoopAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_5_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_6='successor' +))?( otherlv_7='successor' { - newLeafNode(otherlv_6, grammarAccess.getLoopAccess().getSuccessorKeyword_5_0()); + newLeafNode(otherlv_7, grammarAccess.getLoopActionAccess().getSuccessorKeyword_6_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getLoopRule()); + $current = createModelElement(grammarAccess.getLoopActionRule()); } } { - newCompositeNode(grammarAccess.getLoopAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_6_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))? otherlv_8='body' +))? otherlv_9='body' { - newLeafNode(otherlv_8, grammarAccess.getLoopAccess().getBodyKeyword_6()); + newLeafNode(otherlv_9, grammarAccess.getLoopActionAccess().getBodyKeyword_7()); } ( ( { - newCompositeNode(grammarAccess.getLoopAccess().getBodyAdaptationPlanParserRuleCall_7_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getBodyAdaptationPlanParserRuleCall_8_0()); } - lv_body_9_0=ruleAdaptationPlan { + lv_body_10_0=ruleAdaptationPlan { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLoopRule()); + $current = createModelElementForParent(grammarAccess.getLoopActionRule()); } set( $current, "body", - lv_body_9_0, + lv_body_10_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); } ) -) otherlv_10='}' +) otherlv_11='}' { - newLeafNode(otherlv_10, grammarAccess.getLoopAccess().getRightCurlyBracketKeyword_8()); + newLeafNode(otherlv_11, grammarAccess.getLoopActionAccess().getRightCurlyBracketKeyword_9()); } ) ; @@ -1464,143 +1669,161 @@ ruleLoop returns [EObject current=null] -// Entry rule entryRuleBranch -entryRuleBranch returns [EObject current=null] +// Entry rule entryRuleBranchAction +entryRuleBranchAction returns [EObject current=null] : - { newCompositeNode(grammarAccess.getBranchRule()); } - iv_ruleBranch=ruleBranch - { $current=$iv_ruleBranch.current; } + { newCompositeNode(grammarAccess.getBranchActionRule()); } + iv_ruleBranchAction=ruleBranchAction + { $current=$iv_ruleBranchAction.current; } EOF ; -// Rule Branch -ruleBranch returns [EObject current=null] +// Rule BranchAction +ruleBranchAction returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: ( otherlv_0='BranchAction' { - newLeafNode(otherlv_0, grammarAccess.getBranchAccess().getBranchActionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getBranchActionAccess().getBranchActionKeyword_0()); } - otherlv_1='{' +( +( + { + newCompositeNode(grammarAccess.getBranchActionAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getBranchActionRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' { - newLeafNode(otherlv_1, grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_2()); } -( otherlv_2='condition' +( otherlv_3='condition' { - newLeafNode(otherlv_2, grammarAccess.getBranchAccess().getConditionKeyword_2_0()); + newLeafNode(otherlv_3, grammarAccess.getBranchActionAccess().getConditionKeyword_3_0()); } ( ( { - newCompositeNode(grammarAccess.getBranchAccess().getConditionEStringParserRuleCall_2_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getConditionEStringParserRuleCall_3_1_0()); } - lv_condition_3_0=ruleEString { + lv_condition_4_0=ruleEString { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBranchRule()); + $current = createModelElementForParent(grammarAccess.getBranchActionRule()); } set( $current, "condition", - lv_condition_3_0, + lv_condition_4_0, "EString"); afterParserOrEnumRuleCall(); } ) -))?( otherlv_4='predecessor' +))?( otherlv_5='predecessor' { - newLeafNode(otherlv_4, grammarAccess.getBranchAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getBranchActionAccess().getPredecessorKeyword_4_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getBranchRule()); + $current = createModelElement(grammarAccess.getBranchActionRule()); } } { - newCompositeNode(grammarAccess.getBranchAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_6='successor' +))?( otherlv_7='successor' { - newLeafNode(otherlv_6, grammarAccess.getBranchAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_7, grammarAccess.getBranchActionAccess().getSuccessorKeyword_5_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getBranchRule()); + $current = createModelElement(grammarAccess.getBranchActionRule()); } } { - newCompositeNode(grammarAccess.getBranchAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))? otherlv_8='branches' +))? otherlv_9='branches' { - newLeafNode(otherlv_8, grammarAccess.getBranchAccess().getBranchesKeyword_5()); + newLeafNode(otherlv_9, grammarAccess.getBranchActionAccess().getBranchesKeyword_6()); } - otherlv_9='{' + otherlv_10='{' { - newLeafNode(otherlv_9, grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_6()); + newLeafNode(otherlv_10, grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_7()); } ( ( { - newCompositeNode(grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_7_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_8_0()); } - lv_branches_10_0=ruleAdaptationPlan { + lv_branches_11_0=ruleAdaptationPlan { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBranchRule()); + $current = createModelElementForParent(grammarAccess.getBranchActionRule()); } add( $current, "branches", - lv_branches_10_0, + lv_branches_11_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); } ) -)( otherlv_11=',' +)( otherlv_12=',' { - newLeafNode(otherlv_11, grammarAccess.getBranchAccess().getCommaKeyword_8_0()); + newLeafNode(otherlv_12, grammarAccess.getBranchActionAccess().getCommaKeyword_9_0()); } ( ( { - newCompositeNode(grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_8_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_9_1_0()); } - lv_branches_12_0=ruleAdaptationPlan { + lv_branches_13_0=ruleAdaptationPlan { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBranchRule()); + $current = createModelElementForParent(grammarAccess.getBranchActionRule()); } add( $current, "branches", - lv_branches_12_0, + lv_branches_13_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); } ) -))* otherlv_13='}' +))* otherlv_14='}' { - newLeafNode(otherlv_13, grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_14, grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_10()); } - otherlv_14='}' + otherlv_15='}' { - newLeafNode(otherlv_14, grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_10()); + newLeafNode(otherlv_15, grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_11()); } ) ; @@ -1627,13 +1850,31 @@ ruleActionReference returns [EObject current=null] { newLeafNode(otherlv_0, grammarAccess.getActionReferenceAccess().getActionReferenceKeyword_0()); } - otherlv_1='{' +( +( + { + newCompositeNode(grammarAccess.getActionReferenceAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getActionReferenceRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' { - newLeafNode(otherlv_1, grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_2()); } -( otherlv_2='predecessor' +( otherlv_3='predecessor' { - newLeafNode(otherlv_2, grammarAccess.getActionReferenceAccess().getPredecessorKeyword_2_0()); + newLeafNode(otherlv_3, grammarAccess.getActionReferenceAccess().getPredecessorKeyword_3_0()); } ( ( @@ -1643,16 +1884,16 @@ ruleActionReference returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_2_1_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))?( otherlv_4='successor' +))?( otherlv_5='successor' { - newLeafNode(otherlv_4, grammarAccess.getActionReferenceAccess().getSuccessorKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getActionReferenceAccess().getSuccessorKeyword_4_0()); } ( ( @@ -1662,16 +1903,16 @@ ruleActionReference returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))? otherlv_6='refersTo' +))? otherlv_7='refersTo' { - newLeafNode(otherlv_6, grammarAccess.getActionReferenceAccess().getRefersToKeyword_4()); + newLeafNode(otherlv_7, grammarAccess.getActionReferenceAccess().getRefersToKeyword_5()); } ( ( @@ -1681,16 +1922,16 @@ ruleActionReference returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_5_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_6_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -) otherlv_8='}' +) otherlv_9='}' { - newLeafNode(otherlv_8, grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_6()); + newLeafNode(otherlv_9, grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_7()); } ) ; @@ -1733,6 +1974,33 @@ ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +// Entry rule entryRuleOperationType +entryRuleOperationType returns [String current=null] + : + { newCompositeNode(grammarAccess.getOperationTypeRule()); } + iv_ruleOperationType=ruleOperationType + { $current=$iv_ruleOperationType.current.getText(); } + EOF +; + +// Rule OperationType +ruleOperationType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + + kw='OperationType' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOperationTypeAccess().getOperationTypeKeyword()); + } + + ; + + + + + // Entry rule entryRuleModelVariableConfigurationRange entryRuleModelVariableConfigurationRange returns [EObject current=null] : @@ -1773,72 +2041,94 @@ ruleModelVariableConfigurationRange returns [EObject current=null] { newLeafNode(otherlv_2, grammarAccess.getModelVariableConfigurationRangeAccess().getLeftCurlyBracketKeyword_2()); } - otherlv_3='minValue' + otherlv_3='name' { - newLeafNode(otherlv_3, grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_3()); + newLeafNode(otherlv_3, grammarAccess.getModelVariableConfigurationRangeAccess().getNameKeyword_3()); } ( ( { - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_4_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getNameEStringParserRuleCall_4_0()); } - lv_minValue_4_0=ruleEDouble { + lv_name_4_0=ruleEString { if ($current==null) { $current = createModelElementForParent(grammarAccess.getModelVariableConfigurationRangeRule()); } set( $current, - "minValue", - lv_minValue_4_0, - "EDouble"); + "name", + lv_name_4_0, + "EString"); afterParserOrEnumRuleCall(); } ) -) otherlv_5='maxValue' +) otherlv_5='minValue' { - newLeafNode(otherlv_5, grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_5()); + newLeafNode(otherlv_5, grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_5()); } ( ( { - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_6_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_6_0()); } - lv_maxValue_6_0=ruleEDouble { + lv_minValue_6_0=ruleEDouble { if ($current==null) { $current = createModelElementForParent(grammarAccess.getModelVariableConfigurationRangeRule()); } set( $current, - "maxValue", - lv_maxValue_6_0, + "minValue", + lv_minValue_6_0, "EDouble"); afterParserOrEnumRuleCall(); } ) -) otherlv_7='adaptableEntity' +) otherlv_7='maxValue' { - newLeafNode(otherlv_7, grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_7()); + newLeafNode(otherlv_7, grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_7()); } ( ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getModelVariableConfigurationRangeRule()); - } - } { - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_8_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_8_0()); } - ruleEString { + lv_maxValue_8_0=ruleEDouble { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelVariableConfigurationRangeRule()); + } + set( + $current, + "maxValue", + lv_maxValue_8_0, + "EDouble"); afterParserOrEnumRuleCall(); } ) -) otherlv_9='}' +) otherlv_9='adaptableEntity' + { + newLeafNode(otherlv_9, grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_9()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getModelVariableConfigurationRangeRule()); + } + } + { + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_10_0()); + } + ruleEString { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_11='}' { - newLeafNode(otherlv_9, grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_11, grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_11()); } ) ; @@ -1887,9 +2177,31 @@ ruleModelEntityConfigurationRange returns [EObject current=null] { newLeafNode(otherlv_2, grammarAccess.getModelEntityConfigurationRangeAccess().getLeftCurlyBracketKeyword_2()); } - otherlv_3='adaptableEntity' + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getModelEntityConfigurationRangeAccess().getNameKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelEntityConfigurationRangeRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='adaptableEntity' { - newLeafNode(otherlv_3, grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_3()); + newLeafNode(otherlv_5, grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_5()); } ( ( @@ -1899,38 +2211,38 @@ ruleModelEntityConfigurationRange returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_4_0()); + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_6_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -) otherlv_5='variationPossibility' +) otherlv_7='variationPossibility' { - newLeafNode(otherlv_5, grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_5()); + newLeafNode(otherlv_7, grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_7()); } ( ( { - newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_6_0()); + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_8_0()); } - lv_variationPossibility_6_0=ruleVariationType { + lv_variationPossibility_8_0=ruleVariationType { if ($current==null) { $current = createModelElementForParent(grammarAccess.getModelEntityConfigurationRangeRule()); } set( $current, "variationPossibility", - lv_variationPossibility_6_0, + lv_variationPossibility_8_0, "VariationType"); afterParserOrEnumRuleCall(); } ) -) otherlv_7='}' +) otherlv_9='}' { - newLeafNode(otherlv_7, grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_7()); + newLeafNode(otherlv_9, grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_9()); } ) ; @@ -2012,8 +2324,6 @@ ruleEDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken() - - // Entry rule entryRulePropertyRange entryRulePropertyRange returns [EObject current=null] : @@ -2113,35 +2423,13 @@ ruleSetOfConfigurations returns [EObject current=null] { newLeafNode(otherlv_1, grammarAccess.getSetOfConfigurationsAccess().getLeftCurlyBracketKeyword_1()); } - otherlv_2='valueConstraint' - { - newLeafNode(otherlv_2, grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_3_0()); - } - lv_valueConstraint_3_0=ruleOclConstraint { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSetOfConfigurationsRule()); - } - set( - $current, - "valueConstraint", - lv_valueConstraint_3_0, - "OclConstraint"); - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_4='variants' +( otherlv_2='variants' { - newLeafNode(otherlv_4, grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_4_0()); + newLeafNode(otherlv_2, grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_2_0()); } - otherlv_5='(' + otherlv_3='(' { - newLeafNode(otherlv_5, grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_4_1()); + newLeafNode(otherlv_3, grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_2_1()); } ( ( @@ -2151,16 +2439,16 @@ ruleSetOfConfigurations returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_2_0()); + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_2_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -)( otherlv_7=',' +)( otherlv_5=',' { - newLeafNode(otherlv_7, grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_4_3_0()); + newLeafNode(otherlv_5, grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_2_3_0()); } ( ( @@ -2170,18 +2458,40 @@ ruleSetOfConfigurations returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_3_1_0()); + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_3_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -))* otherlv_9=')' +))* otherlv_7=')' + { + newLeafNode(otherlv_7, grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_2_4()); + } +)? otherlv_8='valueConstraint' { - newLeafNode(otherlv_9, grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_4_4()); + newLeafNode(otherlv_8, grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_3()); } -)? otherlv_10='}' +( +( + { + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_4_0()); + } + lv_valueConstraint_9_0=ruleOclConstraint { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSetOfConfigurationsRule()); + } + set( + $current, + "valueConstraint", + lv_valueConstraint_9_0, + "OclConstraint"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_10='}' { newLeafNode(otherlv_10, grammarAccess.getSetOfConfigurationsAccess().getRightCurlyBracketKeyword_5()); } @@ -2249,6 +2559,101 @@ ruleOclConstraint returns [EObject current=null] +// Entry rule entryRuleObjective +entryRuleObjective returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getObjectiveRule()); } + iv_ruleObjective=ruleObjective + { $current=$iv_ruleObjective.current; } + EOF +; + +// Rule Objective +ruleObjective returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='Objective' + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveAccess().getObjectiveKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getObjectiveAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getObjectiveAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getObjectiveAccess().getNameKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getObjectiveAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='specification' + { + newLeafNode(otherlv_5, grammarAccess.getObjectiveAccess().getSpecificationKeyword_5()); + } +( +( + { + newCompositeNode(grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_6_0()); + } + lv_specification_6_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveRule()); + } + set( + $current, + "specification", + lv_specification_6_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getObjectiveAccess().getRightCurlyBracketKeyword_7()); + } +) +; + + + + + // Entry rule entryRuleEvent entryRuleEvent returns [EObject current=null] : @@ -2263,15 +2668,57 @@ ruleEvent returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: -(( +( otherlv_0='Event' { - $current = forceCreateModelElement( - grammarAccess.getEventAccess().getEventAction_0(), - $current); + newLeafNode(otherlv_0, grammarAccess.getEventAccess().getEventKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getEventAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEventRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getEventAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getEventAccess().getNameKeyword_3()); } -) otherlv_1='Event' +( +( + { + newCompositeNode(grammarAccess.getEventAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEventRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='}' { - newLeafNode(otherlv_1, grammarAccess.getEventAccess().getEventKeyword_1()); + newLeafNode(otherlv_5, grammarAccess.getEventAccess().getRightCurlyBracketKeyword_5()); } ) ; @@ -2298,57 +2745,116 @@ ruleWeightedTactic returns [EObject current=null] { newLeafNode(otherlv_0, grammarAccess.getWeightedTacticAccess().getWeightedTacticKeyword_0()); } - otherlv_1='{' +( +( + { + newCompositeNode(grammarAccess.getWeightedTacticAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' { - newLeafNode(otherlv_1, grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_3, grammarAccess.getWeightedTacticAccess().getNameKeyword_3()); } - otherlv_2='currentWeight' +( +( + { + newCompositeNode(grammarAccess.getWeightedTacticAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='currentWeight' { - newLeafNode(otherlv_2, grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_2()); + newLeafNode(otherlv_5, grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_5()); } ( ( { - newCompositeNode(grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_6_0()); } - lv_currentWeight_3_0=ruleEDouble { + lv_currentWeight_6_0=ruleEDouble { if ($current==null) { $current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); } set( $current, "currentWeight", - lv_currentWeight_3_0, + lv_currentWeight_6_0, "EDouble"); afterParserOrEnumRuleCall(); } ) -) otherlv_4='defaultWeight' +) otherlv_7='defaultWeight' { - newLeafNode(otherlv_4, grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_4()); + newLeafNode(otherlv_7, grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_7()); } ( ( { - newCompositeNode(grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_5_0()); + newCompositeNode(grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_8_0()); } - lv_defaultWeight_5_0=ruleEDouble { + lv_defaultWeight_8_0=ruleEDouble { if ($current==null) { $current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); } set( $current, "defaultWeight", - lv_defaultWeight_5_0, + lv_defaultWeight_8_0, "EDouble"); afterParserOrEnumRuleCall(); } ) -) otherlv_6='uses' +) otherlv_9='usedTactic' + { + newLeafNode(otherlv_9, grammarAccess.getWeightedTacticAccess().getUsedTacticKeyword_9()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getWeightedTacticRule()); + } + } + { + newCompositeNode(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_10_0()); + } + ruleEString { + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_11='lastImpact' { - newLeafNode(otherlv_6, grammarAccess.getWeightedTacticAccess().getUsesKeyword_6()); + newLeafNode(otherlv_11, grammarAccess.getWeightedTacticAccess().getLastImpactKeyword_11_0()); } ( ( @@ -2358,16 +2864,16 @@ ruleWeightedTactic returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_7_0()); + newCompositeNode(grammarAccess.getWeightedTacticAccess().getLastImpactImpactCrossReference_11_1_0()); } ruleEString { afterParserOrEnumRuleCall(); } ) -) otherlv_8='}' +))? otherlv_13='}' { - newLeafNode(otherlv_8, grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_8()); + newLeafNode(otherlv_13, grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_12()); } ) ; @@ -2390,29 +2896,372 @@ ruleWeightingFunction returns [EObject current=null] @init { enterRule(); } @after { leaveRule(); }: -( otherlv_0='function' +( otherlv_0='WeightingFunction' { - newLeafNode(otherlv_0, grammarAccess.getWeightingFunctionAccess().getFunctionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getWeightingFunctionAccess().getWeightingFunctionKeyword_0()); } ( ( { - newCompositeNode(grammarAccess.getWeightingFunctionAccess().getFunctionEStringParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getIdEStringParserRuleCall_1_0()); } - lv_function_1_0=ruleEString { + lv_id_1_0=ruleEString { if ($current==null) { $current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); } set( $current, - "function", - lv_function_1_0, + "id", + lv_id_1_0, "EString"); afterParserOrEnumRuleCall(); } ) -)) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getWeightingFunctionAccess().getNameKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='weightedMetrics' + { + newLeafNode(otherlv_5, grammarAccess.getWeightingFunctionAccess().getWeightedMetricsKeyword_5()); + } + otherlv_6='{' + { + newLeafNode(otherlv_6, grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_6()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_7_0()); + } + lv_weightedMetrics_7_0=ruleWeightedMetric { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + add( + $current, + "weightedMetrics", + lv_weightedMetrics_7_0, + "WeightedMetric"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_8=',' + { + newLeafNode(otherlv_8, grammarAccess.getWeightingFunctionAccess().getCommaKeyword_8_0()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_8_1_0()); + } + lv_weightedMetrics_9_0=ruleWeightedMetric { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + add( + $current, + "weightedMetrics", + lv_weightedMetrics_9_0, + "WeightedMetric"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_10='}' + { + newLeafNode(otherlv_10, grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_9()); + } + otherlv_11='}' + { + newLeafNode(otherlv_11, grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_10()); + } +) +; + + + + + + + + + +// Entry rule entryRuleEDate +entryRuleEDate returns [String current=null] + : + { newCompositeNode(grammarAccess.getEDateRule()); } + iv_ruleEDate=ruleEDate + { $current=$iv_ruleEDate.current.getText(); } + EOF +; + +// Rule EDate +ruleEDate returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + + kw='EDate' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getEDateAccess().getEDateKeyword()); + } + + ; + + + + + +// Entry rule entryRuleMetricValue +entryRuleMetricValue returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getMetricValueRule()); } + iv_ruleMetricValue=ruleMetricValue + { $current=$iv_ruleMetricValue.current; } + EOF +; + +// Rule MetricValue +ruleMetricValue returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='MetricValue' + { + newLeafNode(otherlv_0, grammarAccess.getMetricValueAccess().getMetricValueKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getMetricValueAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getMetricValueAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getMetricValueAccess().getNameKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getMetricValueAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='value' + { + newLeafNode(otherlv_5, grammarAccess.getMetricValueAccess().getValueKeyword_5()); + } +( +( + { + newCompositeNode(grammarAccess.getMetricValueAccess().getValueEDoubleParserRuleCall_6_0()); + } + lv_value_6_0=ruleEDouble { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + $current, + "value", + lv_value_6_0, + "EDouble"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_7='metric' + { + newLeafNode(otherlv_7, grammarAccess.getMetricValueAccess().getMetricKeyword_7()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetricValueRule()); + } + } + { + newCompositeNode(grammarAccess.getMetricValueAccess().getMetricMetricTypeCrossReference_8_0()); + } + ruleEString { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_9='}' + { + newLeafNode(otherlv_9, grammarAccess.getMetricValueAccess().getRightCurlyBracketKeyword_9()); + } +) +; + + + + + + + +// Entry rule entryRuleWeightedMetric +entryRuleWeightedMetric returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getWeightedMetricRule()); } + iv_ruleWeightedMetric=ruleWeightedMetric + { $current=$iv_ruleWeightedMetric.current; } + EOF +; + +// Rule WeightedMetric +ruleWeightedMetric returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='WeightedMetric' + { + newLeafNode(otherlv_0, grammarAccess.getWeightedMetricAccess().getWeightedMetricKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightedMetricAccess().getIdEStringParserRuleCall_1_0()); + } + lv_id_1_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + $current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getWeightedMetricAccess().getLeftCurlyBracketKeyword_2()); + } + otherlv_3='name' + { + newLeafNode(otherlv_3, grammarAccess.getWeightedMetricAccess().getNameKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightedMetricAccess().getNameEStringParserRuleCall_4_0()); + } + lv_name_4_0=ruleEString { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + $current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_5='weight' + { + newLeafNode(otherlv_5, grammarAccess.getWeightedMetricAccess().getWeightKeyword_5()); + } +( +( + { + newCompositeNode(grammarAccess.getWeightedMetricAccess().getWeightEDoubleParserRuleCall_6_0()); + } + lv_weight_6_0=ruleEDouble { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + $current, + "weight", + lv_weight_6_0, + "EDouble"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_7='metricType' + { + newLeafNode(otherlv_7, grammarAccess.getWeightedMetricAccess().getMetricTypeKeyword_7()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getWeightedMetricRule()); + } + } + { + newCompositeNode(grammarAccess.getWeightedMetricAccess().getMetricTypeMetricTypeCrossReference_8_0()); + } + ruleEString { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_9='}' + { + newLeafNode(otherlv_9, grammarAccess.getWeightedMetricAccess().getRightCurlyBracketKeyword_9()); + } +) ; diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.tokens b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.tokens index 628ebf2d35d49eeed68985a2641859674b927aa5..ad450691da7c92e77666b79e1931576a29b8600a 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.tokens +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.tokens @@ -44,13 +44,22 @@ T__42=42 T__43=43 T__40=40 T__41=41 +T__80=80 T__46=46 +T__81=81 T__47=47 +T__82=82 T__44=44 +T__83=83 T__45=45 T__48=48 T__49=49 +T__85=85 RULE_SL_COMMENT=8 +T__84=84 +T__87=87 +T__86=86 +T__88=88 RULE_ML_COMMENT=7 T__30=30 T__31=31 @@ -58,6 +67,7 @@ RULE_STRING=4 T__32=32 T__71=71 T__33=33 +T__72=72 T__34=34 T__35=35 T__70=70 @@ -66,64 +76,88 @@ T__37=37 T__38=38 T__39=39 RULE_WS=9 -'counter'=41 -'type'=33 -'Event'=66 -'AdaptationPlan'=34 -'e'=57 -'weightingFunction'=31 -'maxValue'=51 -'uses'=70 -'inputParams'=21 -'minValueConstraint'=59 -'body'=42 -'function'=71 -'defaultWeight'=69 -'currentWeight'=68 -'.'=55 -'adaptableEntity'=52 -'OclConstraint'=64 -'SetOfConfigurations'=61 -'condition'=44 -'referredAdaptationPoint'=27 +T__76=76 +T__75=75 +T__74=74 +T__73=73 +T__79=79 +T__78=78 +T__77=77 +'Objective'=72 +'counter'=46 +'type'=35 +'Event'=74 +'e'=63 +'AdaptationPlan'=39 +'value'=84 +'weightingFunction'=33 +'maxValue'=57 +'minValueConstraint'=65 +'inputParams'=22 +'body'=47 +'defaultWeight'=77 +'currentWeight'=76 +'.'=61 +'adaptableEntity'=58 +'OclConstraint'=70 +'usedTactic'=78 +'objectives'=38 +'SetOfConfigurations'=67 +'condition'=49 +'referredAdaptationPoint'=29 '{'=12 -'('=22 -'-'=48 +'goal'=20 +'EDate'=82 +'WeightingFunction'=80 +'operationType'=28 +'('=23 +'-'=53 +'tactics'=14 ','=15 -'tactics'=18 -'Stop'=39 -'Start'=36 -'implementedPlan'=25 -'ActionReference'=46 -'refersTo'=47 -'branches'=45 -'variationPossibility'=54 -'oclString'=65 -'valueConstraint'=62 -'ModelVariableConfigurationRange'=49 -'steps'=35 -'BranchAction'=43 -'Tactic'=20 -'ModelEntityConfigurationRange'=53 -'successor'=38 -'Strategy'=28 -')'=23 -'strategies'=19 -'triggeringEvents'=30 +'implementedPlan'=26 +'ActionReference'=51 +'refersTo'=52 +'branches'=50 +'WeightedMetric'=86 +'variationPossibility'=60 +'oclString'=71 +'valueConstraint'=69 +'StopAction'=44 +'weightedMetrics'=81 +'ModelVariableConfigurationRange'=55 +'steps'=40 +'metricType'=88 +'lastImpact'=79 +'BranchAction'=48 +'metric'=85 +'Tactic'=21 +'ModelEntityConfigurationRange'=59 +'successor'=43 +'Strategy'=30 +')'=24 +'strategies'=18 +'StartAction'=41 +'triggeringEvents'=32 'StaRepository'=11 -'parameters'=14 +'OperationType'=54 +'specification'=73 '}'=16 -'LoopAction'=40 -'minValue'=50 -'objective'=29 +'parameters'=19 +'LoopAction'=45 +'minValue'=56 +'objective'=31 'actions'=17 -'maxValueConstraint'=60 -'predecessor'=37 -'WeightedTactic'=67 -'Parameter'=32 -'Action'=26 -'PropertyRange'=58 -'outputParam'=24 +'weight'=87 +'maxValueConstraint'=66 +'description'=37 +'predecessor'=42 +'WeightedTactic'=75 +'Parameter'=34 +'Action'=27 +'OverallGoal'=36 +'PropertyRange'=64 +'outputParam'=25 'name'=13 -'E'=56 -'variants'=63 +'E'=62 +'MetricValue'=83 +'variants'=68 diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageLexer.java b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageLexer.java index fdb30600cabe1d7dfc666d400a394436556bdfde..cb8a9dd59e5866fbd22ec495e691f61d490c2abd 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageLexer.java +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageLexer.java @@ -60,12 +60,21 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { public static final int T__40=40; public static final int T__41=41; public static final int T__46=46; + public static final int T__80=80; public static final int T__47=47; + public static final int T__81=81; public static final int T__44=44; + public static final int T__82=82; public static final int T__45=45; + public static final int T__83=83; public static final int T__48=48; public static final int T__49=49; + public static final int T__85=85; + public static final int T__84=84; public static final int RULE_SL_COMMENT=8; + public static final int T__87=87; + public static final int T__86=86; + public static final int T__88=88; public static final int RULE_ML_COMMENT=7; public static final int T__30=30; public static final int T__31=31; @@ -74,13 +83,21 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { public static final int T__33=33; public static final int T__71=71; public static final int T__34=34; + public static final int T__72=72; public static final int T__35=35; public static final int T__36=36; public static final int T__70=70; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; + public static final int T__76=76; public static final int RULE_WS=9; + public static final int T__75=75; + public static final int T__74=74; + public static final int T__73=73; + public static final int T__79=79; + public static final int T__78=78; + public static final int T__77=77; // delegates // delegators @@ -162,10 +179,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:14:7: ( 'parameters' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:14:9: 'parameters' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:14:7: ( 'tactics' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:14:9: 'tactics' { - match("parameters"); + match("tactics"); } @@ -244,10 +261,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:18:7: ( 'tactics' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:18:9: 'tactics' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:18:7: ( 'strategies' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:18:9: 'strategies' { - match("tactics"); + match("strategies"); } @@ -265,10 +282,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:19:7: ( 'strategies' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:19:9: 'strategies' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:19:7: ( 'parameters' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:19:9: 'parameters' { - match("strategies"); + match("parameters"); } @@ -286,10 +303,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:20:7: ( 'Tactic' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:20:9: 'Tactic' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:20:7: ( 'goal' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:20:9: 'goal' { - match("Tactic"); + match("goal"); } @@ -307,10 +324,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:21:7: ( 'inputParams' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:21:9: 'inputParams' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:21:7: ( 'Tactic' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:21:9: 'Tactic' { - match("inputParams"); + match("Tactic"); } @@ -328,10 +345,11 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:22:7: ( '(' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:22:9: '(' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:22:7: ( 'inputParams' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:22:9: 'inputParams' { - match('('); + match("inputParams"); + } @@ -348,10 +366,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:23:7: ( ')' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:23:9: ')' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:23:7: ( '(' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:23:9: '(' { - match(')'); + match('('); } @@ -368,11 +386,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:24:7: ( 'outputParam' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:24:9: 'outputParam' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:24:7: ( ')' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:24:9: ')' { - match("outputParam"); - + match(')'); } @@ -389,10 +406,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:25:7: ( 'implementedPlan' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:25:9: 'implementedPlan' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:25:7: ( 'outputParam' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:25:9: 'outputParam' { - match("implementedPlan"); + match("outputParam"); } @@ -410,10 +427,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:26:7: ( 'Action' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:26:9: 'Action' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:26:7: ( 'implementedPlan' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:26:9: 'implementedPlan' { - match("Action"); + match("implementedPlan"); } @@ -431,10 +448,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:27:7: ( 'referredAdaptationPoint' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:27:9: 'referredAdaptationPoint' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:27:7: ( 'Action' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:27:9: 'Action' { - match("referredAdaptationPoint"); + match("Action"); } @@ -452,10 +469,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:28:7: ( 'Strategy' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:28:9: 'Strategy' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:28:7: ( 'operationType' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:28:9: 'operationType' { - match("Strategy"); + match("operationType"); } @@ -473,10 +490,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:29:7: ( 'objective' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:29:9: 'objective' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:29:7: ( 'referredAdaptationPoint' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:29:9: 'referredAdaptationPoint' { - match("objective"); + match("referredAdaptationPoint"); } @@ -494,10 +511,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:30:7: ( 'triggeringEvents' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:30:9: 'triggeringEvents' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:30:7: ( 'Strategy' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:30:9: 'Strategy' { - match("triggeringEvents"); + match("Strategy"); } @@ -515,10 +532,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:31:7: ( 'weightingFunction' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:31:9: 'weightingFunction' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:31:7: ( 'objective' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:31:9: 'objective' { - match("weightingFunction"); + match("objective"); } @@ -536,10 +553,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:32:7: ( 'Parameter' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:32:9: 'Parameter' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:32:7: ( 'triggeringEvents' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:32:9: 'triggeringEvents' { - match("Parameter"); + match("triggeringEvents"); } @@ -557,10 +574,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:33:7: ( 'type' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:33:9: 'type' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:33:7: ( 'weightingFunction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:33:9: 'weightingFunction' { - match("type"); + match("weightingFunction"); } @@ -578,10 +595,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:34:7: ( 'AdaptationPlan' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:34:9: 'AdaptationPlan' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:34:7: ( 'Parameter' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:34:9: 'Parameter' { - match("AdaptationPlan"); + match("Parameter"); } @@ -599,10 +616,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:35:7: ( 'steps' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:35:9: 'steps' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:35:7: ( 'type' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:35:9: 'type' { - match("steps"); + match("type"); } @@ -620,10 +637,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:36:7: ( 'Start' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:36:9: 'Start' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:36:7: ( 'OverallGoal' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:36:9: 'OverallGoal' { - match("Start"); + match("OverallGoal"); } @@ -641,10 +658,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:37:7: ( 'predecessor' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:37:9: 'predecessor' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:37:7: ( 'description' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:37:9: 'description' { - match("predecessor"); + match("description"); } @@ -662,10 +679,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:38:7: ( 'successor' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:38:9: 'successor' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:38:7: ( 'objectives' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:38:9: 'objectives' { - match("successor"); + match("objectives"); } @@ -683,10 +700,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:39:7: ( 'Stop' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:39:9: 'Stop' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:39:7: ( 'AdaptationPlan' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:39:9: 'AdaptationPlan' { - match("Stop"); + match("AdaptationPlan"); } @@ -704,10 +721,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:40:7: ( 'LoopAction' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:40:9: 'LoopAction' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:40:7: ( 'steps' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:40:9: 'steps' { - match("LoopAction"); + match("steps"); } @@ -725,10 +742,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:41:7: ( 'counter' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:41:9: 'counter' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:41:7: ( 'StartAction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:41:9: 'StartAction' { - match("counter"); + match("StartAction"); } @@ -746,10 +763,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:42:7: ( 'body' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:42:9: 'body' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:42:7: ( 'predecessor' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:42:9: 'predecessor' { - match("body"); + match("predecessor"); } @@ -767,10 +784,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:43:7: ( 'BranchAction' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:43:9: 'BranchAction' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:43:7: ( 'successor' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:43:9: 'successor' { - match("BranchAction"); + match("successor"); } @@ -788,10 +805,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:44:7: ( 'condition' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:44:9: 'condition' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:44:7: ( 'StopAction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:44:9: 'StopAction' { - match("condition"); + match("StopAction"); } @@ -809,10 +826,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:45:7: ( 'branches' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:45:9: 'branches' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:45:7: ( 'LoopAction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:45:9: 'LoopAction' { - match("branches"); + match("LoopAction"); } @@ -830,10 +847,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:46:7: ( 'ActionReference' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:46:9: 'ActionReference' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:46:7: ( 'counter' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:46:9: 'counter' { - match("ActionReference"); + match("counter"); } @@ -851,10 +868,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:47:7: ( 'refersTo' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:47:9: 'refersTo' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:47:7: ( 'body' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:47:9: 'body' { - match("refersTo"); + match("body"); } @@ -872,10 +889,11 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:48:7: ( '-' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:48:9: '-' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:48:7: ( 'BranchAction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:48:9: 'BranchAction' { - match('-'); + match("BranchAction"); + } @@ -892,10 +910,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:49:7: ( 'ModelVariableConfigurationRange' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:49:9: 'ModelVariableConfigurationRange' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:49:7: ( 'condition' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:49:9: 'condition' { - match("ModelVariableConfigurationRange"); + match("condition"); } @@ -913,10 +931,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:50:7: ( 'minValue' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:50:9: 'minValue' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:50:7: ( 'branches' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:50:9: 'branches' { - match("minValue"); + match("branches"); } @@ -934,10 +952,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:51:7: ( 'maxValue' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:51:9: 'maxValue' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:51:7: ( 'ActionReference' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:51:9: 'ActionReference' { - match("maxValue"); + match("ActionReference"); } @@ -955,10 +973,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:52:7: ( 'adaptableEntity' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:52:9: 'adaptableEntity' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:52:7: ( 'refersTo' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:52:9: 'refersTo' { - match("adaptableEntity"); + match("refersTo"); } @@ -976,11 +994,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:53:7: ( 'ModelEntityConfigurationRange' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:53:9: 'ModelEntityConfigurationRange' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:53:7: ( '-' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:53:9: '-' { - match("ModelEntityConfigurationRange"); - + match('-'); } @@ -997,10 +1014,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:54:7: ( 'variationPossibility' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:54:9: 'variationPossibility' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:54:7: ( 'OperationType' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:54:9: 'OperationType' { - match("variationPossibility"); + match("OperationType"); } @@ -1018,10 +1035,11 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:55:7: ( '.' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:55:9: '.' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:55:7: ( 'ModelVariableConfigurationRange' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:55:9: 'ModelVariableConfigurationRange' { - match('.'); + match("ModelVariableConfigurationRange"); + } @@ -1038,10 +1056,11 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:56:7: ( 'E' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:56:9: 'E' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:56:7: ( 'minValue' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:56:9: 'minValue' { - match('E'); + match("minValue"); + } @@ -1058,10 +1077,365 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:57:7: ( 'e' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:57:9: 'e' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:57:7: ( 'maxValue' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:57:9: 'maxValue' + { + match("maxValue"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:58:7: ( 'adaptableEntity' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:58:9: 'adaptableEntity' + { + match("adaptableEntity"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:59:7: ( 'ModelEntityConfigurationRange' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:59:9: 'ModelEntityConfigurationRange' + { + match("ModelEntityConfigurationRange"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:60:7: ( 'variationPossibility' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:60:9: 'variationPossibility' + { + match("variationPossibility"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:61:7: ( '.' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:61:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:62:7: ( 'E' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:62:9: 'E' + { + match('E'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:63:7: ( 'e' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:63:9: 'e' + { + match('e'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:64:7: ( 'PropertyRange' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:64:9: 'PropertyRange' + { + match("PropertyRange"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:65:7: ( 'minValueConstraint' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:65:9: 'minValueConstraint' + { + match("minValueConstraint"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:66:7: ( 'maxValueConstraint' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:66:9: 'maxValueConstraint' + { + match("maxValueConstraint"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:67:7: ( 'SetOfConfigurations' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:67:9: 'SetOfConfigurations' + { + match("SetOfConfigurations"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:68:7: ( 'variants' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:68:9: 'variants' + { + match("variants"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:69:7: ( 'valueConstraint' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:69:9: 'valueConstraint' + { + match("valueConstraint"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:70:7: ( 'OclConstraint' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:70:9: 'OclConstraint' + { + match("OclConstraint"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:71:7: ( 'oclString' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:71:9: 'oclString' + { + match("oclString"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:72:7: ( 'Objective' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:72:9: 'Objective' + { + match("Objective"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:73:7: ( 'specification' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:73:9: 'specification' + { + match("specification"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:74:7: ( 'Event' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:74:9: 'Event' { - match('e'); + match("Event"); + } @@ -1071,17 +1445,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__57" + // $ANTLR end "T__74" - // $ANTLR start "T__58" - public final void mT__58() throws RecognitionException { + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { try { - int _type = T__58; + int _type = T__75; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:58:7: ( 'PropertyRange' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:58:9: 'PropertyRange' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:75:7: ( 'WeightedTactic' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:75:9: 'WeightedTactic' { - match("PropertyRange"); + match("WeightedTactic"); } @@ -1092,17 +1466,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__58" + // $ANTLR end "T__75" - // $ANTLR start "T__59" - public final void mT__59() throws RecognitionException { + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { try { - int _type = T__59; + int _type = T__76; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:59:7: ( 'minValueConstraint' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:59:9: 'minValueConstraint' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:76:7: ( 'currentWeight' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:76:9: 'currentWeight' { - match("minValueConstraint"); + match("currentWeight"); } @@ -1113,17 +1487,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__59" + // $ANTLR end "T__76" - // $ANTLR start "T__60" - public final void mT__60() throws RecognitionException { + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { try { - int _type = T__60; + int _type = T__77; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:60:7: ( 'maxValueConstraint' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:60:9: 'maxValueConstraint' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:77:7: ( 'defaultWeight' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:77:9: 'defaultWeight' { - match("maxValueConstraint"); + match("defaultWeight"); } @@ -1134,17 +1508,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__60" + // $ANTLR end "T__77" - // $ANTLR start "T__61" - public final void mT__61() throws RecognitionException { + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { try { - int _type = T__61; + int _type = T__78; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:61:7: ( 'SetOfConfigurations' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:61:9: 'SetOfConfigurations' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:78:7: ( 'usedTactic' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:78:9: 'usedTactic' { - match("SetOfConfigurations"); + match("usedTactic"); } @@ -1155,17 +1529,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__61" + // $ANTLR end "T__78" - // $ANTLR start "T__62" - public final void mT__62() throws RecognitionException { + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { try { - int _type = T__62; + int _type = T__79; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:62:7: ( 'valueConstraint' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:62:9: 'valueConstraint' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:79:7: ( 'lastImpact' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:79:9: 'lastImpact' { - match("valueConstraint"); + match("lastImpact"); } @@ -1176,17 +1550,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__62" + // $ANTLR end "T__79" - // $ANTLR start "T__63" - public final void mT__63() throws RecognitionException { + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { try { - int _type = T__63; + int _type = T__80; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:63:7: ( 'variants' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:63:9: 'variants' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:7: ( 'WeightingFunction' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:9: 'WeightingFunction' { - match("variants"); + match("WeightingFunction"); } @@ -1197,17 +1571,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__63" + // $ANTLR end "T__80" - // $ANTLR start "T__64" - public final void mT__64() throws RecognitionException { + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { try { - int _type = T__64; + int _type = T__81; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:64:7: ( 'OclConstraint' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:64:9: 'OclConstraint' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:81:7: ( 'weightedMetrics' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:81:9: 'weightedMetrics' { - match("OclConstraint"); + match("weightedMetrics"); } @@ -1218,17 +1592,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__64" + // $ANTLR end "T__81" - // $ANTLR start "T__65" - public final void mT__65() throws RecognitionException { + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { try { - int _type = T__65; + int _type = T__82; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:65:7: ( 'oclString' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:65:9: 'oclString' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:82:7: ( 'EDate' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:82:9: 'EDate' { - match("oclString"); + match("EDate"); } @@ -1239,17 +1613,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__65" + // $ANTLR end "T__82" - // $ANTLR start "T__66" - public final void mT__66() throws RecognitionException { + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { try { - int _type = T__66; + int _type = T__83; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:66:7: ( 'Event' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:66:9: 'Event' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:83:7: ( 'MetricValue' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:83:9: 'MetricValue' { - match("Event"); + match("MetricValue"); } @@ -1260,17 +1634,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__66" + // $ANTLR end "T__83" - // $ANTLR start "T__67" - public final void mT__67() throws RecognitionException { + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { try { - int _type = T__67; + int _type = T__84; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:67:7: ( 'WeightedTactic' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:67:9: 'WeightedTactic' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:84:7: ( 'value' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:84:9: 'value' { - match("WeightedTactic"); + match("value"); } @@ -1281,17 +1655,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__67" + // $ANTLR end "T__84" - // $ANTLR start "T__68" - public final void mT__68() throws RecognitionException { + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { try { - int _type = T__68; + int _type = T__85; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:68:7: ( 'currentWeight' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:68:9: 'currentWeight' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:85:7: ( 'metric' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:85:9: 'metric' { - match("currentWeight"); + match("metric"); } @@ -1302,17 +1676,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__68" + // $ANTLR end "T__85" - // $ANTLR start "T__69" - public final void mT__69() throws RecognitionException { + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { try { - int _type = T__69; + int _type = T__86; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:69:7: ( 'defaultWeight' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:69:9: 'defaultWeight' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:86:7: ( 'WeightedMetric' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:86:9: 'WeightedMetric' { - match("defaultWeight"); + match("WeightedMetric"); } @@ -1323,17 +1697,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__69" + // $ANTLR end "T__86" - // $ANTLR start "T__70" - public final void mT__70() throws RecognitionException { + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { try { - int _type = T__70; + int _type = T__87; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:70:7: ( 'uses' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:70:9: 'uses' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:87:7: ( 'weight' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:87:9: 'weight' { - match("uses"); + match("weight"); } @@ -1344,17 +1718,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__70" + // $ANTLR end "T__87" - // $ANTLR start "T__71" - public final void mT__71() throws RecognitionException { + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { try { - int _type = T__71; + int _type = T__88; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:71:7: ( 'function' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:71:9: 'function' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:88:7: ( 'metricType' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:88:9: 'metricType' { - match("function"); + match("metricType"); } @@ -1365,17 +1739,17 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { finally { } } - // $ANTLR end "T__71" + // $ANTLR end "T__88" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2422:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2422:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3271:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3271:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2422:11: ( '^' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3271:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1384,7 +1758,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } switch (alt1) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2422:11: '^' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3271:11: '^' { match('^'); @@ -1402,7 +1776,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { recover(mse); throw mse;} - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2422:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3271:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1451,10 +1825,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2424:10: ( ( '0' .. '9' )+ ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2424:12: ( '0' .. '9' )+ + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3273:10: ( ( '0' .. '9' )+ ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3273:12: ( '0' .. '9' )+ { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2424:12: ( '0' .. '9' )+ + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3273:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1468,7 +1842,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { switch (alt3) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2424:13: '0' .. '9' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3273:13: '0' .. '9' { matchRange('0','9'); @@ -1500,10 +1874,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1521,10 +1895,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1540,7 +1914,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { switch (alt4) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1556,7 +1930,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:66: ~ ( ( '\\\\' | '\"' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1581,10 +1955,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1600,7 +1974,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { switch (alt5) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1616,7 +1990,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3275:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1659,12 +2033,12 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2428:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2428:19: '/*' ( options {greedy=false; } : . )* '*/' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3277:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3277:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2428:24: ( options {greedy=false; } : . )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3277:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1689,7 +2063,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { switch (alt7) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2428:52: . + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3277:52: . { matchAny(); @@ -1719,12 +2093,12 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:24: (~ ( ( '\\n' | '\\r' ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1737,7 +2111,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { switch (alt8) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:24: ~ ( ( '\\n' | '\\r' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:24: ~ ( ( '\\n' | '\\r' ) ) { 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') ) { input.consume(); @@ -1757,7 +2131,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } } while (true); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:40: ( ( '\\r' )? '\\n' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1766,9 +2140,9 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } switch (alt10) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:41: ( '\\r' )? '\\n' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:41: ( '\\r' )? '\\n' { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:41: ( '\\r' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1777,7 +2151,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2430:41: '\\r' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3279:41: '\\r' { match('\r'); @@ -1809,10 +2183,10 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2432:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2432:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3281:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3281:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2432:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3281:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1866,8 +2240,8 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2434:16: ( . ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2434:18: . + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3283:16: ( . ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3283:18: . { matchAny(); @@ -1882,8 +2256,8 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=68; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=85; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -2314,49 +2688,168 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { } break; case 62 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:376: RULE_ID + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:376: T__72 { - mRULE_ID(); + mT__72(); } break; case 63 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:384: RULE_INT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:382: T__73 { - mRULE_INT(); + mT__73(); } break; case 64 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:393: RULE_STRING + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:388: T__74 { - mRULE_STRING(); + mT__74(); } break; case 65 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:405: RULE_ML_COMMENT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:394: T__75 { - mRULE_ML_COMMENT(); + mT__75(); } break; case 66 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:421: RULE_SL_COMMENT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:400: T__76 { - mRULE_SL_COMMENT(); + mT__76(); } break; case 67 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:437: RULE_WS + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:406: T__77 { - mRULE_WS(); + mT__77(); } break; case 68 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:445: RULE_ANY_OTHER + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:412: T__78 + { + mT__78(); + + } + break; + case 69 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:418: T__79 + { + mT__79(); + + } + break; + case 70 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:424: T__80 + { + mT__80(); + + } + break; + case 71 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:430: T__81 + { + mT__81(); + + } + break; + case 72 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:436: T__82 + { + mT__82(); + + } + break; + case 73 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:442: T__83 + { + mT__83(); + + } + break; + case 74 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:448: T__84 + { + mT__84(); + + } + break; + case 75 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:454: T__85 + { + mT__85(); + + } + break; + case 76 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:460: T__86 + { + mT__86(); + + } + break; + case 77 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:466: T__87 + { + mT__87(); + + } + break; + case 78 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:472: T__88 + { + mT__88(); + + } + break; + case 79 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:478: RULE_ID + { + mRULE_ID(); + + } + break; + case 80 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:486: RULE_INT + { + mRULE_INT(); + + } + break; + case 81 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:495: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 82 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:507: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 83 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:523: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 84 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:539: RULE_WS + { + mRULE_WS(); + + } + break; + case 85 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1:547: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2370,218 +2863,241 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\55\1\uffff\2\55\2\uffff\5\55\2\uffff\11\55\1\uffff\3"+ - "\55\1\uffff\1\126\1\127\5\55\1\52\2\uffff\3\52\2\uffff\2\55\2\uffff"+ - "\3\55\2\uffff\12\55\2\uffff\17\55\1\uffff\4\55\1\uffff\1\55\2\uffff"+ - "\5\55\5\uffff\60\55\1\u00c0\1\55\1\u00c2\6\55\1\u00c9\23\55\1\u00dd"+ - "\13\55\1\u00e9\2\55\1\u00ec\1\55\1\uffff\1\55\1\uffff\6\55\1\uffff"+ - "\1\55\1\u00f6\21\55\1\uffff\7\55\1\u0112\3\55\1\uffff\2\55\1\uffff"+ - "\11\55\1\uffff\1\55\1\u0122\5\55\1\u0129\23\55\1\uffff\11\55\1\u0146"+ - "\1\55\1\u0148\3\55\1\uffff\6\55\1\uffff\7\55\1\u0159\20\55\1\u016a"+ - "\3\55\1\uffff\1\55\1\uffff\13\55\1\u017a\4\55\1\uffff\2\55\1\u0181"+ - "\3\55\1\u0186\1\u0188\1\55\1\u018a\4\55\1\u018f\1\55\1\uffff\6\55"+ - "\1\u0197\3\55\1\u019b\1\u019c\3\55\1\uffff\1\55\1\u01a1\2\55\1\u01a4"+ - "\1\55\1\uffff\4\55\1\uffff\1\55\1\uffff\1\55\1\uffff\4\55\1\uffff"+ - "\2\55\1\u01b2\3\55\1\u01b6\1\uffff\3\55\2\uffff\4\55\1\uffff\1\55"+ - "\1\u01bf\1\uffff\15\55\1\uffff\1\u01cd\2\55\1\uffff\1\u01d0\1\55"+ - "\1\u01d2\5\55\1\uffff\15\55\1\uffff\2\55\1\uffff\1\55\1\uffff\6"+ - "\55\1\u01ee\11\55\1\u01f8\10\55\1\u0201\1\u0202\1\uffff\6\55\1\u0209"+ - "\1\55\1\u020b\1\uffff\5\55\1\u0211\2\55\2\uffff\6\55\1\uffff\1\u021a"+ - "\1\uffff\1\55\1\u021c\1\55\1\u021e\1\u021f\1\uffff\7\55\1\u0227"+ - "\1\uffff\1\55\1\uffff\1\u0229\2\uffff\7\55\1\uffff\1\55\1\uffff"+ - "\1\55\1\u0233\7\55\1\uffff\2\55\1\u023d\1\u023e\1\55\1\u0240\3\55"+ - "\2\uffff\1\55\1\uffff\3\55\1\u0248\3\55\1\uffff\3\55\1\u024f\2\55"+ - "\1\uffff\13\55\1\u025d\1\55\1\uffff\1\u025f\1\uffff"; + "\1\uffff\1\56\1\uffff\2\56\2\uffff\6\56\2\uffff\13\56\1\uffff\3"+ + "\56\1\uffff\1\142\1\143\3\56\1\53\2\uffff\3\53\2\uffff\2\56\2\uffff"+ + "\4\56\2\uffff\13\56\2\uffff\25\56\1\uffff\6\56\1\uffff\2\56\2\uffff"+ + "\3\56\5\uffff\74\56\1\u00e0\2\56\1\u00e3\10\56\1\u00ec\27\56\1\u0104"+ + "\23\56\1\uffff\2\56\1\uffff\3\56\1\u011d\4\56\1\uffff\27\56\1\uffff"+ + "\10\56\1\u0145\1\u0146\1\u0147\15\56\1\uffff\4\56\1\u0159\6\56\1"+ + "\u0161\3\56\1\u0167\23\56\1\u017c\3\56\3\uffff\10\56\1\u0189\1\56"+ + "\1\u018b\6\56\1\uffff\7\56\1\uffff\5\56\1\uffff\11\56\1\u01a7\12"+ + "\56\1\uffff\11\56\1\u01bb\2\56\1\uffff\1\56\1\uffff\17\56\1\u01ce"+ + "\13\56\1\uffff\2\56\1\u01dc\4\56\1\u01e2\1\u01e4\2\56\1\u01e7\7"+ + "\56\1\uffff\5\56\1\u01f5\7\56\1\u01fe\1\u01ff\3\56\1\uffff\2\56"+ + "\1\u0205\4\56\1\u020a\3\56\1\u020e\1\56\1\uffff\5\56\1\uffff\1\56"+ + "\1\uffff\2\56\1\uffff\10\56\1\u0220\3\56\1\u0224\1\uffff\1\56\1"+ + "\u0226\5\56\1\u022c\2\uffff\5\56\1\uffff\4\56\1\uffff\2\56\1\u0238"+ + "\1\uffff\7\56\1\u0240\5\56\1\u0246\1\u0247\1\56\1\u0249\1\uffff"+ + "\3\56\1\uffff\1\56\1\uffff\1\u024e\1\u024f\1\56\1\u0251\1\56\1\uffff"+ + "\6\56\1\u0259\2\56\1\u025c\1\56\1\uffff\4\56\1\u0262\2\56\1\uffff"+ + "\5\56\2\uffff\1\56\1\uffff\4\56\2\uffff\1\56\1\uffff\7\56\1\uffff"+ + "\2\56\1\uffff\2\56\1\u027b\2\56\1\uffff\7\56\1\u0285\3\56\1\u0289"+ + "\1\56\1\u028b\5\56\1\u0291\1\u0292\1\u0293\1\u0294\1\u0295\1\uffff"+ + "\11\56\1\uffff\3\56\1\uffff\1\56\1\uffff\1\56\1\u02a4\3\56\5\uffff"+ + "\6\56\1\u02ae\1\u02af\3\56\1\u02b3\1\u02b4\1\u02b5\1\uffff\2\56"+ + "\1\u02b8\5\56\1\u02be\2\uffff\2\56\1\u02c1\3\uffff\2\56\1\uffff"+ + "\5\56\1\uffff\2\56\1\uffff\1\56\1\u02cc\5\56\1\u02d2\2\56\1\uffff"+ + "\2\56\1\u02d7\1\u02d8\1\56\1\uffff\1\u02da\3\56\2\uffff\1\56\1\uffff"+ + "\3\56\1\u02e2\3\56\1\uffff\3\56\1\u02e9\2\56\1\uffff\13\56\1\u02f7"+ + "\1\56\1\uffff\1\u02f9\1\uffff"; static final String DFA12_eofS = - "\u0260\uffff"; + "\u02fa\uffff"; static final String DFA12_minS = - "\1\0\1\145\1\uffff\2\141\2\uffff\1\143\1\141\1\164\1\141\1\155\2"+ - "\uffff\1\142\1\143\2\145\1\141\3\157\1\162\1\uffff\1\157\2\141\1"+ - "\uffff\2\60\1\143\2\145\1\163\1\165\1\101\2\uffff\2\0\1\52\2\uffff"+ - "\1\141\1\164\2\uffff\1\155\1\162\1\145\2\uffff\1\164\1\141\1\143"+ - "\1\151\1\160\1\145\2\143\2\160\2\uffff\1\164\1\152\1\154\1\164\1"+ - "\141\1\146\1\151\1\162\2\157\1\156\1\162\1\144\2\141\1\uffff\1\144"+ - "\1\156\1\170\1\154\1\uffff\1\145\2\uffff\1\154\1\151\1\146\1\145"+ - "\1\156\5\uffff\1\122\1\141\1\160\1\117\1\145\1\141\1\144\1\151\1"+ - "\160\1\164\1\147\1\145\1\141\1\160\1\143\1\164\1\165\1\154\1\160"+ - "\1\145\1\123\1\151\1\160\1\145\1\147\1\141\2\160\1\156\1\144\1\162"+ - "\1\171\2\156\1\145\2\126\1\151\1\165\1\156\1\103\1\147\1\141\1\163"+ - "\1\143\1\145\2\164\1\60\1\146\1\60\1\155\1\145\1\157\1\164\1\151"+ - "\1\147\1\60\1\164\1\163\1\145\1\151\1\164\1\145\1\165\1\143\1\164"+ - "\1\157\1\164\1\162\1\150\1\155\1\145\1\101\1\164\1\151\1\145\1\60"+ - "\2\143\1\154\3\141\1\145\1\164\1\157\1\150\1\165\1\60\1\164\1\160"+ - "\1\60\1\145\1\uffff\1\103\1\uffff\1\145\1\143\1\156\1\141\1\143"+ - "\1\145\1\uffff\1\145\1\60\1\163\1\143\1\120\1\155\2\164\1\162\1"+ - "\156\1\141\1\162\1\164\1\145\1\162\1\143\1\145\1\164\1\156\1\uffff"+ - "\2\150\1\105\2\154\1\156\1\103\1\60\1\156\1\164\1\154\1\uffff\1"+ - "\151\1\157\1\uffff\1\147\1\157\1\164\1\145\1\163\1\142\1\163\1\162"+ - "\1\147\1\uffff\1\163\1\60\1\141\1\145\1\120\2\151\1\60\1\164\1\145"+ - "\1\124\1\151\3\164\1\162\1\151\1\164\1\145\1\101\1\141\1\156\2\165"+ - "\1\151\1\164\1\157\1\uffff\1\163\1\145\1\164\1\157\1\163\1\171\1"+ - "\156\1\145\1\163\1\60\1\154\1\60\2\151\1\157\1\uffff\1\162\1\156"+ - "\1\141\1\166\1\156\1\145\1\uffff\1\151\1\144\1\157\1\156\1\145\1"+ - "\171\1\151\1\60\1\157\1\127\1\163\1\143\1\162\1\164\2\145\1\157"+ - "\1\163\1\156\1\164\1\144\1\127\1\156\1\151\1\60\1\146\1\162\1\163"+ - "\1\uffff\1\145\1\uffff\1\156\1\145\1\162\1\141\1\164\1\162\1\145"+ - "\1\147\1\146\1\157\1\101\1\60\1\147\1\162\1\122\1\157\1\uffff\1"+ - "\156\1\145\1\60\1\164\2\151\2\60\1\156\1\60\1\163\1\162\1\124\1"+ - "\145\1\60\1\164\1\uffff\1\151\1\163\1\157\1\105\1\147\1\163\1\60"+ - "\1\155\1\145\1\141\2\60\1\145\1\156\1\144\1\uffff\1\106\1\60\1\141"+ - "\1\156\1\60\1\151\1\uffff\1\151\1\141\1\164\1\157\1\uffff\1\157"+ - "\1\uffff\1\120\1\uffff\1\164\2\141\1\151\1\uffff\1\157\1\147\1\60"+ - "\1\162\1\156\1\105\1\60\1\uffff\1\163\1\144\1\155\2\uffff\1\162"+ - "\1\120\1\141\1\165\1\uffff\1\156\1\60\1\uffff\1\147\1\157\1\142"+ - "\1\171\2\156\1\157\1\162\1\151\1\143\1\147\1\162\1\165\1\uffff\1"+ - "\60\1\164\1\166\1\uffff\1\60\1\120\1\60\1\145\1\154\1\160\1\156"+ - "\1\147\1\uffff\1\150\1\156\1\154\1\103\3\163\1\141\1\156\1\164\1"+ - "\150\1\171\1\162\1\uffff\1\151\1\145\1\uffff\1\154\1\uffff\1\156"+ - "\1\141\1\164\1\143\1\145\1\164\1\60\1\145\1\157\2\164\1\163\1\151"+ - "\1\164\1\151\1\164\1\60\1\141\1\164\1\156\1\141\1\143\1\156\1\141"+ - "\1\164\2\60\1\uffff\1\103\1\156\2\162\1\151\1\156\1\60\1\143\1\60"+ - "\1\uffff\1\164\1\171\1\164\1\156\1\145\1\60\1\164\1\151\2\uffff"+ - "\1\157\1\146\2\141\1\142\1\164\1\uffff\1\60\1\uffff\1\151\1\60\1"+ - "\163\2\60\1\uffff\1\151\1\157\1\156\4\151\1\60\1\uffff\1\157\1\uffff"+ - "\1\60\2\uffff\1\157\1\156\1\146\1\147\2\156\1\154\1\uffff\1\156"+ - "\1\uffff\1\156\1\60\1\151\1\165\2\164\1\151\1\163\1\120\1\uffff"+ - "\1\147\1\162\2\60\1\164\1\60\1\157\1\165\1\141\2\uffff\1\171\1\uffff"+ - "\1\151\1\162\1\164\1\60\1\156\1\141\1\151\1\uffff\2\164\1\157\1"+ - "\60\1\151\1\156\1\uffff\1\157\1\122\1\156\1\141\1\122\1\156\1\141"+ - "\1\147\1\156\1\145\1\147\1\60\1\145\1\uffff\1\60\1\uffff"; + "\1\0\1\145\1\uffff\2\141\2\uffff\1\143\1\160\1\141\1\157\1\141\1"+ + "\155\2\uffff\1\142\1\143\2\145\1\141\1\142\1\145\3\157\1\162\1\uffff"+ + "\1\145\2\141\1\uffff\2\60\1\145\1\163\1\141\1\101\2\uffff\2\0\1"+ + "\52\2\uffff\1\141\1\164\2\uffff\1\155\1\143\1\151\1\160\2\uffff"+ + "\1\164\1\141\1\145\1\143\1\145\1\162\1\145\1\141\1\143\2\160\2\uffff"+ + "\1\164\1\145\1\152\1\154\1\164\1\141\1\146\1\151\1\162\1\157\2\145"+ + "\1\154\1\152\1\146\1\157\1\156\1\162\1\144\2\141\1\uffff\1\144\1"+ + "\164\1\156\1\170\1\164\1\154\1\uffff\1\145\1\141\2\uffff\1\151\1"+ + "\145\1\163\5\uffff\1\122\1\141\1\160\1\117\1\145\1\164\1\147\1\145"+ + "\1\151\1\160\1\141\1\160\2\143\1\141\1\144\1\154\1\164\1\165\1\154"+ + "\1\160\1\162\1\145\1\123\1\151\1\160\1\145\1\147\1\141\1\160\2\162"+ + "\1\103\1\145\1\143\1\141\1\160\1\156\1\144\1\162\1\171\2\156\1\145"+ + "\1\162\2\126\1\162\1\151\1\165\1\156\1\164\1\147\1\144\1\164\1\145"+ + "\2\164\1\101\1\146\1\60\1\151\1\147\1\60\1\157\2\164\1\163\1\145"+ + "\1\151\1\155\1\145\1\60\1\151\1\164\1\145\1\165\1\141\1\143\1\164"+ + "\1\157\1\164\1\162\1\150\1\155\1\145\2\141\1\157\1\143\1\162\1\165"+ + "\1\101\1\164\1\151\1\145\1\60\2\143\1\154\1\151\2\141\1\151\1\141"+ + "\1\145\1\164\1\145\1\150\1\124\1\111\1\160\1\101\1\145\1\143\1\103"+ + "\1\uffff\1\143\1\145\1\uffff\1\156\1\141\1\145\1\60\1\163\1\146"+ + "\1\145\1\143\1\uffff\1\143\1\120\1\155\3\164\1\162\1\156\1\141\1"+ + "\162\1\164\1\145\1\162\1\154\1\164\1\156\1\164\1\151\1\154\1\143"+ + "\1\145\1\164\1\156\1\uffff\2\150\1\105\1\143\2\154\1\143\1\156\3"+ + "\60\1\164\1\141\1\155\1\157\1\143\1\147\1\164\1\157\1\163\1\162"+ + "\1\163\1\142\1\147\1\uffff\1\163\1\151\1\164\1\145\1\60\1\141\1"+ + "\145\1\120\3\151\1\60\1\164\1\145\1\124\1\60\2\164\1\154\1\151\1"+ + "\163\1\151\1\160\2\164\1\162\1\151\1\164\1\145\1\101\1\141\1\156"+ + "\1\126\2\165\1\60\1\151\1\164\1\157\3\uffff\1\145\1\143\1\160\1"+ + "\163\1\164\1\171\1\151\1\156\1\60\1\151\1\60\1\154\1\151\1\157\1"+ + "\143\1\145\1\163\1\uffff\1\162\1\156\1\141\1\157\1\166\1\156\1\145"+ + "\1\uffff\1\151\1\144\1\157\1\156\1\144\1\uffff\1\145\1\171\1\107"+ + "\1\157\1\164\1\166\1\164\1\127\1\151\1\60\1\157\1\127\1\163\1\143"+ + "\1\162\1\164\1\141\2\145\1\171\1\uffff\1\157\1\163\1\156\1\144\1"+ + "\156\1\164\1\141\2\151\1\60\1\157\1\146\1\uffff\1\156\1\uffff\2"+ + "\145\1\162\1\141\1\162\1\163\1\141\1\164\1\162\1\156\1\145\1\147"+ + "\1\146\1\157\1\101\1\60\1\147\1\115\1\162\1\122\1\157\1\156\1\162"+ + "\1\145\1\151\1\145\1\157\1\uffff\1\156\1\145\1\60\1\164\2\151\1"+ + "\154\2\60\1\160\1\156\1\60\1\163\1\115\1\147\1\151\1\143\1\164\1"+ + "\157\1\uffff\1\156\1\151\1\147\1\105\1\163\1\60\1\164\1\163\1\157"+ + "\1\155\1\145\1\141\1\124\2\60\1\145\1\156\1\144\1\uffff\1\106\1"+ + "\145\1\60\2\141\1\124\1\141\1\60\1\157\1\151\1\156\1\60\1\151\1"+ + "\uffff\1\151\1\141\1\164\1\165\1\157\1\uffff\1\157\1\uffff\1\145"+ + "\1\120\1\uffff\1\164\1\141\1\145\1\106\1\143\1\164\1\157\1\156\1"+ + "\60\1\147\1\105\1\156\1\60\1\uffff\1\151\1\60\1\162\1\163\1\144"+ + "\1\155\1\171\1\60\2\uffff\1\162\1\120\1\141\1\165\1\164\1\uffff"+ + "\1\156\1\154\1\171\1\151\1\uffff\1\156\1\147\1\60\1\uffff\1\147"+ + "\1\157\1\142\1\171\1\145\2\156\1\60\1\157\1\162\1\143\1\164\1\165"+ + "\2\60\1\162\1\60\1\uffff\1\165\1\166\1\164\1\uffff\1\157\1\uffff"+ + "\2\60\1\120\1\60\1\160\1\uffff\1\145\1\154\1\160\1\156\1\162\1\147"+ + "\1\60\1\160\1\156\1\60\1\150\1\uffff\1\150\1\156\1\154\1\103\1\60"+ + "\2\163\1\uffff\1\163\1\141\1\164\1\162\1\156\2\uffff\1\171\1\uffff"+ + "\1\162\1\145\1\151\1\156\2\uffff\1\154\1\uffff\1\145\1\156\1\141"+ + "\1\164\1\143\1\151\1\145\1\uffff\1\145\1\164\1\uffff\2\164\1\60"+ + "\1\145\1\157\1\uffff\2\164\1\163\3\151\1\143\1\60\1\141\1\156\1"+ + "\164\1\60\1\141\1\60\1\143\1\156\1\141\1\164\1\143\5\60\1\uffff"+ + "\1\103\1\156\2\162\1\151\1\156\2\143\1\164\1\uffff\2\164\1\171\1"+ + "\uffff\1\156\1\uffff\1\145\1\60\1\164\1\151\1\163\5\uffff\1\157"+ + "\1\146\2\141\1\142\1\164\2\60\2\151\1\163\3\60\1\uffff\1\151\1\157"+ + "\1\60\1\156\4\151\1\60\2\uffff\2\157\1\60\3\uffff\1\157\1\156\1"+ + "\uffff\1\146\1\147\2\156\1\154\1\uffff\2\156\1\uffff\1\156\1\60"+ + "\1\151\1\165\2\164\1\151\1\60\1\163\1\120\1\uffff\1\147\1\162\2"+ + "\60\1\164\1\uffff\1\60\1\157\1\165\1\141\2\uffff\1\171\1\uffff\1"+ + "\151\1\162\1\164\1\60\1\156\1\141\1\151\1\uffff\2\164\1\157\1\60"+ + "\1\151\1\156\1\uffff\1\157\1\122\1\156\1\141\1\122\1\156\1\141\1"+ + "\147\1\156\1\145\1\147\1\60\1\145\1\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\164\1\uffff\1\141\1\162\2\uffff\1\144\1\171\1\165\1\141"+ - "\1\156\2\uffff\1\165\1\144\2\145\1\162\1\157\1\165\2\162\1\uffff"+ - "\1\157\1\151\1\141\1\uffff\2\172\1\143\2\145\1\163\1\165\1\172\2"+ - "\uffff\2\uffff\1\57\2\uffff\1\162\1\164\2\uffff\1\155\1\162\1\145"+ - "\2\uffff\1\164\1\141\1\143\1\151\1\160\1\162\2\143\2\160\2\uffff"+ - "\1\164\1\152\1\154\1\164\1\141\1\146\1\151\1\162\2\157\1\165\1\162"+ - "\1\144\2\141\1\uffff\1\144\1\156\1\170\1\162\1\uffff\1\145\2\uffff"+ - "\1\154\1\151\1\146\1\145\1\156\5\uffff\1\162\1\141\1\160\1\117\1"+ - "\145\1\141\1\144\1\151\1\160\1\164\1\147\1\145\1\141\1\160\1\143"+ - "\1\164\1\165\1\154\1\160\1\145\1\123\1\151\1\160\1\145\1\147\1\141"+ - "\2\160\1\156\1\144\1\162\1\171\2\156\1\145\2\126\1\151\1\165\1\156"+ - "\1\103\1\147\1\141\1\163\1\143\1\145\2\164\1\172\1\146\1\172\1\155"+ - "\1\145\1\157\1\164\1\151\1\147\1\172\1\164\1\163\1\145\1\151\1\164"+ - "\1\145\1\165\1\143\1\164\1\157\1\164\1\162\1\150\1\155\1\145\1\101"+ - "\1\164\1\151\1\145\1\172\2\143\1\154\3\141\1\145\1\164\1\157\1\150"+ - "\1\165\1\172\1\164\1\160\1\172\1\145\1\uffff\1\103\1\uffff\1\145"+ - "\1\143\1\156\1\141\1\143\1\145\1\uffff\1\145\1\172\1\163\1\143\1"+ - "\120\1\155\2\164\1\162\1\156\1\141\1\163\1\164\1\145\1\162\1\143"+ - "\1\145\1\164\1\156\1\uffff\2\150\1\126\2\154\1\164\1\103\1\172\1"+ - "\156\1\164\1\154\1\uffff\1\151\1\157\1\uffff\1\147\1\157\1\164\1"+ - "\145\1\163\1\142\1\163\1\162\1\147\1\uffff\1\163\1\172\1\141\1\145"+ - "\1\120\2\151\1\172\1\164\1\145\1\124\1\151\3\164\1\162\1\151\1\164"+ - "\1\145\1\101\1\141\1\156\2\165\1\151\1\164\1\157\1\uffff\1\163\1"+ - "\145\1\164\1\157\1\163\1\171\1\156\1\145\1\163\1\172\1\154\1\172"+ - "\2\151\1\157\1\uffff\1\162\1\156\1\141\1\166\1\156\1\145\1\uffff"+ - "\1\151\1\144\1\157\1\156\1\145\1\171\1\151\1\172\1\157\1\127\1\163"+ - "\1\143\1\162\1\164\2\145\1\157\1\163\1\156\1\164\1\144\1\127\1\156"+ - "\1\151\1\172\1\146\1\162\1\163\1\uffff\1\145\1\uffff\1\156\1\145"+ - "\1\162\1\141\1\164\1\162\1\145\1\147\1\146\1\157\1\101\1\172\1\147"+ - "\1\162\1\122\1\157\1\uffff\1\156\1\145\1\172\1\164\2\151\2\172\1"+ - "\156\1\172\1\163\1\162\1\124\1\145\1\172\1\164\1\uffff\1\151\1\163"+ - "\1\157\1\105\1\147\1\163\1\172\1\155\1\145\1\141\2\172\1\145\1\156"+ - "\1\144\1\uffff\1\106\1\172\1\141\1\156\1\172\1\151\1\uffff\1\151"+ - "\1\141\1\164\1\157\1\uffff\1\157\1\uffff\1\120\1\uffff\1\164\2\141"+ - "\1\151\1\uffff\1\157\1\147\1\172\1\162\1\156\1\105\1\172\1\uffff"+ - "\1\163\1\144\1\155\2\uffff\1\162\1\120\1\141\1\165\1\uffff\1\156"+ - "\1\172\1\uffff\1\147\1\157\1\142\1\171\2\156\1\157\1\162\1\151\1"+ - "\143\1\147\1\162\1\165\1\uffff\1\172\1\164\1\166\1\uffff\1\172\1"+ - "\120\1\172\1\145\1\154\1\160\1\156\1\147\1\uffff\1\150\1\156\1\154"+ - "\1\103\3\163\1\141\1\156\1\164\1\150\1\171\1\162\1\uffff\1\151\1"+ - "\145\1\uffff\1\154\1\uffff\1\156\1\141\1\164\1\143\1\145\1\164\1"+ - "\172\1\145\1\157\2\164\1\163\1\151\1\164\1\151\1\164\1\172\1\141"+ - "\1\164\1\156\1\141\1\143\1\156\1\141\1\164\2\172\1\uffff\1\103\1"+ - "\156\2\162\1\151\1\156\1\172\1\143\1\172\1\uffff\1\164\1\171\1\164"+ - "\1\156\1\145\1\172\1\164\1\151\2\uffff\1\157\1\146\2\141\1\142\1"+ - "\164\1\uffff\1\172\1\uffff\1\151\1\172\1\163\2\172\1\uffff\1\151"+ - "\1\157\1\156\4\151\1\172\1\uffff\1\157\1\uffff\1\172\2\uffff\1\157"+ - "\1\156\1\146\1\147\2\156\1\154\1\uffff\1\156\1\uffff\1\156\1\172"+ - "\1\151\1\165\2\164\1\151\1\163\1\120\1\uffff\1\147\1\162\2\172\1"+ - "\164\1\172\1\157\1\165\1\141\2\uffff\1\171\1\uffff\1\151\1\162\1"+ - "\164\1\172\1\156\1\141\1\151\1\uffff\2\164\1\157\1\172\1\151\1\156"+ - "\1\uffff\1\157\1\122\1\156\1\141\1\122\1\156\1\141\1\147\1\156\1"+ - "\145\1\147\1\172\1\145\1\uffff\1\172\1\uffff"; + "\1\uffff\1\164\1\uffff\1\141\1\171\2\uffff\1\144\1\165\1\162\1\157"+ + "\1\141\1\156\2\uffff\1\165\1\144\2\145\1\162\1\166\1\145\1\157\1"+ + "\165\2\162\1\uffff\1\157\1\151\1\141\1\uffff\2\172\1\145\1\163\1"+ + "\141\1\172\2\uffff\2\uffff\1\57\2\uffff\1\162\1\164\2\uffff\1\155"+ + "\1\143\1\151\1\160\2\uffff\1\164\1\141\1\162\1\143\1\145\1\162\1"+ + "\145\1\141\1\143\2\160\2\uffff\1\164\1\145\1\152\1\154\1\164\1\141"+ + "\1\146\1\151\1\162\1\157\2\145\1\154\1\152\1\163\1\157\1\165\1\162"+ + "\1\144\2\141\1\uffff\1\144\1\164\1\156\1\170\1\164\1\162\1\uffff"+ + "\1\145\1\141\2\uffff\1\151\1\145\1\163\5\uffff\1\162\1\141\1\160"+ + "\1\117\1\145\1\164\1\147\1\145\1\151\1\160\1\141\1\160\2\143\1\141"+ + "\1\144\1\154\1\164\1\165\1\154\1\160\1\162\1\145\1\123\1\151\1\160"+ + "\1\145\1\147\1\141\1\160\2\162\1\103\1\145\1\143\1\141\1\160\1\156"+ + "\1\144\1\162\1\171\2\156\1\145\1\162\2\126\1\162\1\151\1\165\1\156"+ + "\1\164\1\147\1\144\1\164\1\145\2\164\1\101\1\146\1\172\1\151\1\147"+ + "\1\172\1\157\2\164\1\163\1\145\1\151\1\155\1\145\1\172\1\151\1\164"+ + "\1\145\1\165\1\141\1\143\1\164\1\157\1\164\1\162\1\150\1\155\1\145"+ + "\2\141\1\157\1\143\1\162\1\165\1\101\1\164\1\151\1\145\1\172\2\143"+ + "\1\154\1\151\2\141\1\151\1\141\1\145\1\164\1\145\1\150\1\124\1\111"+ + "\1\160\1\101\1\145\1\143\1\103\1\uffff\1\143\1\145\1\uffff\1\156"+ + "\1\141\1\145\1\172\1\163\1\146\1\145\1\143\1\uffff\1\143\1\120\1"+ + "\155\3\164\1\162\1\156\1\141\1\163\1\164\1\145\1\162\1\154\1\164"+ + "\1\156\1\164\1\151\1\154\1\143\1\145\1\164\1\156\1\uffff\2\150\1"+ + "\126\1\143\2\154\1\143\1\164\3\172\1\164\1\141\1\155\1\157\1\143"+ + "\1\147\1\164\1\157\1\163\1\162\1\163\1\142\1\147\1\uffff\1\163\1"+ + "\151\1\164\1\145\1\172\1\141\1\145\1\120\3\151\1\172\1\164\1\145"+ + "\1\124\1\172\2\164\1\154\1\151\1\163\1\151\1\160\2\164\1\162\1\151"+ + "\1\164\1\145\1\101\1\141\1\156\1\126\2\165\1\172\1\151\1\164\1\157"+ + "\3\uffff\1\151\1\143\1\160\1\163\1\164\1\171\1\151\1\156\1\172\1"+ + "\151\1\172\1\154\1\151\1\157\1\143\1\145\1\163\1\uffff\1\162\1\156"+ + "\1\141\1\157\1\166\1\156\1\145\1\uffff\1\151\1\144\1\157\1\156\1"+ + "\144\1\uffff\1\145\1\171\1\107\1\157\1\164\1\166\1\164\1\127\1\151"+ + "\1\172\1\157\1\127\1\163\1\143\1\162\1\164\1\141\2\145\1\171\1\uffff"+ + "\1\157\1\163\1\156\1\144\1\156\1\164\1\141\2\151\1\172\1\157\1\146"+ + "\1\uffff\1\156\1\uffff\2\145\1\162\1\141\1\162\1\163\1\141\1\164"+ + "\1\162\1\156\1\145\1\147\1\146\1\157\1\101\1\172\1\147\1\115\1\162"+ + "\1\122\1\157\1\156\1\162\1\145\1\151\1\145\1\157\1\uffff\1\156\1"+ + "\145\1\172\1\164\2\151\1\154\2\172\1\160\1\156\1\172\1\163\1\124"+ + "\1\147\1\151\1\143\1\164\1\157\1\uffff\1\156\1\151\1\147\1\105\1"+ + "\163\1\172\1\164\1\163\1\157\1\155\1\145\1\141\1\124\2\172\1\145"+ + "\1\156\1\144\1\uffff\1\106\1\145\1\172\2\141\1\124\1\141\1\172\1"+ + "\157\1\151\1\156\1\172\1\151\1\uffff\1\151\1\141\1\164\1\165\1\157"+ + "\1\uffff\1\157\1\uffff\1\145\1\120\1\uffff\1\164\1\141\1\145\1\106"+ + "\1\143\1\164\1\157\1\156\1\172\1\147\1\105\1\156\1\172\1\uffff\1"+ + "\151\1\172\1\162\1\163\1\144\1\155\1\171\1\172\2\uffff\1\162\1\120"+ + "\1\141\1\165\1\164\1\uffff\1\156\1\154\1\171\1\151\1\uffff\1\156"+ + "\1\147\1\172\1\uffff\1\147\1\157\1\142\1\171\1\145\2\156\1\172\1"+ + "\157\1\162\1\143\1\164\1\165\2\172\1\162\1\172\1\uffff\1\165\1\166"+ + "\1\164\1\uffff\1\157\1\uffff\2\172\1\120\1\172\1\160\1\uffff\1\145"+ + "\1\154\1\160\1\156\1\162\1\147\1\172\1\160\1\156\1\172\1\150\1\uffff"+ + "\1\150\1\156\1\154\1\103\1\172\2\163\1\uffff\1\163\1\141\1\164\1"+ + "\162\1\156\2\uffff\1\171\1\uffff\1\162\1\145\1\151\1\156\2\uffff"+ + "\1\154\1\uffff\1\145\1\156\1\141\1\164\1\143\1\151\1\145\1\uffff"+ + "\1\145\1\164\1\uffff\2\164\1\172\1\145\1\157\1\uffff\2\164\1\163"+ + "\3\151\1\143\1\172\1\141\1\156\1\164\1\172\1\141\1\172\1\143\1\156"+ + "\1\141\1\164\1\143\5\172\1\uffff\1\103\1\156\2\162\1\151\1\156\2"+ + "\143\1\164\1\uffff\2\164\1\171\1\uffff\1\156\1\uffff\1\145\1\172"+ + "\1\164\1\151\1\163\5\uffff\1\157\1\146\2\141\1\142\1\164\2\172\2"+ + "\151\1\163\3\172\1\uffff\1\151\1\157\1\172\1\156\4\151\1\172\2\uffff"+ + "\2\157\1\172\3\uffff\1\157\1\156\1\uffff\1\146\1\147\2\156\1\154"+ + "\1\uffff\2\156\1\uffff\1\156\1\172\1\151\1\165\2\164\1\151\1\172"+ + "\1\163\1\120\1\uffff\1\147\1\162\2\172\1\164\1\uffff\1\172\1\157"+ + "\1\165\1\141\2\uffff\1\171\1\uffff\1\151\1\162\1\164\1\172\1\156"+ + "\1\141\1\151\1\uffff\2\164\1\157\1\172\1\151\1\156\1\uffff\1\157"+ + "\1\122\1\156\1\141\1\122\1\156\1\141\1\147\1\156\1\145\1\147\1\172"+ + "\1\145\1\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\2\uffff\1\2\2\uffff\1\5\1\6\5\uffff\1\14\1\15\11\uffff\1\46\3\uffff"+ - "\1\55\10\uffff\1\76\1\77\3\uffff\1\103\1\104\2\uffff\1\76\1\2\3"+ - "\uffff\1\5\1\6\12\uffff\1\14\1\15\17\uffff\1\46\4\uffff\1\55\1\uffff"+ - "\1\56\1\57\5\uffff\1\77\1\100\1\101\1\102\1\103\136\uffff\1\35\1"+ - "\uffff\1\3\6\uffff\1\27\23\uffff\1\40\13\uffff\1\74\2\uffff\1\32"+ - "\11\uffff\1\31\33\uffff\1\70\17\uffff\1\12\6\uffff\1\20\34\uffff"+ - "\1\7\1\uffff\1\10\20\uffff\1\37\20\uffff\1\22\17\uffff\1\45\6\uffff"+ - "\1\43\4\uffff\1\50\1\uffff\1\51\1\uffff\1\65\4\uffff\1\75\7\uffff"+ - "\1\34\3\uffff\1\23\1\67\4\uffff\1\26\2\uffff\1\42\15\uffff\1\4\3"+ - "\uffff\1\11\10\uffff\1\36\15\uffff\1\33\2\uffff\1\13\1\uffff\1\16"+ - "\33\uffff\1\41\11\uffff\1\1\10\uffff\1\60\1\72\6\uffff\1\66\1\uffff"+ - "\1\73\5\uffff\1\30\10\uffff\1\71\1\uffff\1\52\1\uffff\1\17\1\44"+ - "\7\uffff\1\64\1\uffff\1\24\11\uffff\1\25\11\uffff\1\61\1\62\1\uffff"+ - "\1\63\7\uffff\1\54\6\uffff\1\21\15\uffff\1\53\1\uffff\1\47"; + "\2\uffff\1\2\2\uffff\1\5\1\6\6\uffff\1\15\1\16\13\uffff\1\53\3\uffff"+ + "\1\63\6\uffff\1\117\1\120\3\uffff\1\124\1\125\2\uffff\1\117\1\2"+ + "\4\uffff\1\5\1\6\13\uffff\1\15\1\16\25\uffff\1\53\6\uffff\1\63\2"+ + "\uffff\1\64\1\65\3\uffff\1\120\1\121\1\122\1\123\1\124\164\uffff"+ + "\1\3\2\uffff\1\31\10\uffff\1\12\27\uffff\1\45\30\uffff\1\36\47\uffff"+ + "\1\112\1\100\1\110\21\uffff\1\13\7\uffff\1\21\5\uffff\1\115\24\uffff"+ + "\1\113\14\uffff\1\4\1\uffff\1\7\33\uffff\1\44\23\uffff\1\24\22\uffff"+ + "\1\52\15\uffff\1\50\5\uffff\1\56\1\uffff\1\57\2\uffff\1\72\15\uffff"+ + "\1\41\10\uffff\1\25\1\75\5\uffff\1\30\4\uffff\1\76\3\uffff\1\47"+ + "\21\uffff\1\42\3\uffff\1\10\1\uffff\1\11\5\uffff\1\34\13\uffff\1"+ + "\43\7\uffff\1\116\5\uffff\1\104\1\105\1\uffff\1\37\4\uffff\1\40"+ + "\1\14\1\uffff\1\17\7\uffff\1\32\2\uffff\1\33\5\uffff\1\111\30\uffff"+ + "\1\46\11\uffff\1\1\3\uffff\1\77\1\uffff\1\22\5\uffff\1\66\1\54\1"+ + "\74\1\103\1\102\16\uffff\1\35\11\uffff\1\101\1\114\3\uffff\1\60"+ + "\1\20\1\51\2\uffff\1\107\5\uffff\1\73\2\uffff\1\26\12\uffff\1\27"+ + "\5\uffff\1\106\4\uffff\1\67\1\70\1\uffff\1\71\7\uffff\1\62\6\uffff"+ + "\1\23\15\uffff\1\61\1\uffff\1\55"; static final String DFA12_specialS = - "\1\0\45\uffff\1\1\1\2\u0238\uffff}>"; + "\1\0\46\uffff\1\2\1\1\u02d1\uffff}>"; static final String[] DFA12_transitionS = { - "\11\52\2\51\2\52\1\51\22\52\1\51\1\52\1\46\4\52\1\47\1\14\1"+ - "\15\2\52\1\5\1\27\1\33\1\50\12\45\7\52\1\17\1\26\2\44\1\34\6"+ - "\44\1\23\1\30\1\44\1\36\1\22\2\44\1\1\1\12\2\44\1\37\3\44\3"+ - "\52\1\43\1\44\1\52\1\7\1\25\1\24\1\40\1\35\1\42\2\44\1\13\3"+ - "\44\1\31\1\3\1\16\1\4\1\44\1\20\1\11\1\10\1\41\1\32\1\21\3\44"+ - "\1\2\1\52\1\6\uff82\52", - "\1\54\16\uffff\1\53", - "", - "\1\57", - "\1\60\20\uffff\1\61", - "", - "", - "\1\64\1\65", - "\1\66\20\uffff\1\67\6\uffff\1\70", - "\1\71\1\72", - "\1\73", - "\1\75\1\74", - "", - "", - "\1\101\1\102\21\uffff\1\100", - "\1\103\1\104", - "\1\105", - "\1\106", - "\1\107\20\uffff\1\110", - "\1\111", - "\1\112\5\uffff\1\113", - "\1\114\2\uffff\1\115", - "\1\116", + "\11\53\2\52\2\53\1\52\22\53\1\52\1\53\1\47\4\53\1\50\1\15\1"+ + "\16\2\53\1\5\1\32\1\36\1\51\12\46\7\53\1\20\1\31\2\45\1\37\6"+ + "\45\1\26\1\33\1\45\1\24\1\23\2\45\1\1\1\13\2\45\1\41\3\45\3"+ + "\53\1\44\1\45\1\53\1\7\1\30\1\27\1\25\1\40\1\45\1\12\1\45\1"+ + "\14\2\45\1\43\1\34\1\3\1\17\1\11\1\45\1\21\1\10\1\4\1\42\1\35"+ + "\1\22\3\45\1\2\1\53\1\6\uff82\53", + "\1\55\16\uffff\1\54", "", - "\1\120", - "\1\122\7\uffff\1\121", - "\1\123", + "\1\60", + "\1\61\20\uffff\1\62\6\uffff\1\63", "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\25\55\1\125\4\55", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\130", - "\1\131", - "\1\132", - "\1\133", - "\1\134", - "\32\55\4\uffff\1\55\1\uffff\32\55", "", + "\1\66\1\67", + "\1\72\3\uffff\1\70\1\71", + "\1\73\20\uffff\1\74", + "\1\75", + "\1\76", + "\1\100\1\77", "", - "\0\136", - "\0\136", - "\1\137\4\uffff\1\140", "", - "", - "\1\142\15\uffff\1\144\2\uffff\1\143", + "\1\105\1\106\14\uffff\1\104\4\uffff\1\103", + "\1\107\1\110", + "\1\111", + "\1\112", + "\1\113\20\uffff\1\114", + "\1\120\1\117\14\uffff\1\116\5\uffff\1\115", + "\1\121", + "\1\122", + "\1\123\5\uffff\1\124", + "\1\125\2\uffff\1\126", + "\1\127", + "", + "\1\132\11\uffff\1\131", + "\1\134\3\uffff\1\135\3\uffff\1\133", + "\1\136", + "", + "\12\56\7\uffff\3\56\1\141\26\56\4\uffff\1\56\1\uffff\25\56"+ + "\1\140\4\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\144", "\1\145", + "\1\146", + "\32\56\4\uffff\1\56\1\uffff\32\56", "", "", - "\1\146", - "\1\147", - "\1\150", + "\0\150", + "\0\150", + "\1\151\4\uffff\1\152", + "", + "", + "\1\154\15\uffff\1\156\2\uffff\1\155", + "\1\157", "", "", - "\1\151", - "\1\152", - "\1\153", - "\1\154", - "\1\155", - "\1\157\14\uffff\1\156", "\1\160", "\1\161", "\1\162", @@ -2590,59 +3106,59 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "", "\1\164", "\1\165", - "\1\166", - "\1\167", + "\1\167\14\uffff\1\166", "\1\170", "\1\171", "\1\172", "\1\173", "\1\174", "\1\175", - "\1\177\6\uffff\1\176", + "\1\176", + "\1\177", + "", + "", "\1\u0080", "\1\u0081", "\1\u0082", "\1\u0083", - "", "\1\u0084", "\1\u0085", "\1\u0086", - "\1\u0088\5\uffff\1\u0087", - "", + "\1\u0087", + "\1\u0088", "\1\u0089", - "", - "", "\1\u008a", "\1\u008b", "\1\u008c", "\1\u008d", - "\1\u008e", - "", - "", - "", - "", - "", - "\1\u008f\37\uffff\1\u0090", - "\1\u0091", - "\1\u0092", + "\1\u008f\14\uffff\1\u008e", + "\1\u0090", + "\1\u0092\6\uffff\1\u0091", "\1\u0093", "\1\u0094", "\1\u0095", "\1\u0096", + "", "\1\u0097", "\1\u0098", "\1\u0099", "\1\u009a", "\1\u009b", - "\1\u009c", - "\1\u009d", + "\1\u009d\5\uffff\1\u009c", + "", "\1\u009e", "\1\u009f", + "", + "", "\1\u00a0", "\1\u00a1", "\1\u00a2", - "\1\u00a3", - "\1\u00a4", + "", + "", + "", + "", + "", + "\1\u00a3\37\uffff\1\u00a4", "\1\u00a5", "\1\u00a6", "\1\u00a7", @@ -2670,16 +3186,16 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u00bd", "\1\u00be", "\1\u00bf", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00c0", "\1\u00c1", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00c2", "\1\u00c3", "\1\u00c4", "\1\u00c5", "\1\u00c6", "\1\u00c7", "\1\u00c8", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00c9", "\1\u00ca", "\1\u00cb", "\1\u00cc", @@ -2699,35 +3215,32 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u00da", "\1\u00db", "\1\u00dc", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00dd", "\1\u00de", "\1\u00df", - "\1\u00e0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00e1", "\1\u00e2", - "\1\u00e3", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00e4", "\1\u00e5", "\1\u00e6", "\1\u00e7", "\1\u00e8", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00e9", "\1\u00ea", "\1\u00eb", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00ed", - "", "\1\u00ee", - "", "\1\u00ef", "\1\u00f0", "\1\u00f1", "\1\u00f2", "\1\u00f3", "\1\u00f4", - "", "\1\u00f5", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u00f6", "\1\u00f7", "\1\u00f8", "\1\u00f9", @@ -2737,52 +3250,53 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u00fd", "\1\u00fe", "\1\u00ff", - "\1\u0100\1\u0101", + "\1\u0100", + "\1\u0101", "\1\u0102", "\1\u0103", - "\1\u0104", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0105", "\1\u0106", "\1\u0107", "\1\u0108", - "", "\1\u0109", "\1\u010a", - "\1\u010c\20\uffff\1\u010b", + "\1\u010b", + "\1\u010c", "\1\u010d", "\1\u010e", - "\1\u0110\5\uffff\1\u010f", + "\1\u010f", + "\1\u0110", "\1\u0111", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0112", "\1\u0113", "\1\u0114", "\1\u0115", - "", "\1\u0116", "\1\u0117", "", "\1\u0118", "\1\u0119", + "", "\1\u011a", "\1\u011b", "\1\u011c", - "\1\u011d", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u011e", "\1\u011f", "\1\u0120", - "", "\1\u0121", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "", + "\1\u0122", "\1\u0123", "\1\u0124", "\1\u0125", "\1\u0126", "\1\u0127", - "\12\55\7\uffff\21\55\1\u0128\10\55\4\uffff\1\55\1\uffff\32"+ - "\55", + "\1\u0128", + "\1\u0129", "\1\u012a", - "\1\u012b", - "\1\u012c", + "\1\u012b\1\u012c", "\1\u012d", "\1\u012e", "\1\u012f", @@ -2796,64 +3310,57 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u0137", "\1\u0138", "\1\u0139", + "", "\1\u013a", "\1\u013b", - "\1\u013c", - "", - "\1\u013d", + "\1\u013d\20\uffff\1\u013c", "\1\u013e", "\1\u013f", "\1\u0140", "\1\u0141", - "\1\u0142", - "\1\u0143", - "\1\u0144", - "\1\u0145", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u0147", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0143\5\uffff\1\u0142", + "\12\56\7\uffff\2\56\1\u0144\27\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0148", "\1\u0149", "\1\u014a", "\1\u014b", - "", "\1\u014c", "\1\u014d", "\1\u014e", "\1\u014f", "\1\u0150", "\1\u0151", - "", "\1\u0152", "\1\u0153", "\1\u0154", + "", "\1\u0155", "\1\u0156", "\1\u0157", "\1\u0158", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u015a", "\1\u015b", "\1\u015c", "\1\u015d", "\1\u015e", "\1\u015f", - "\1\u0160", - "\1\u0161", + "\12\56\7\uffff\21\56\1\u0160\10\56\4\uffff\1\56\1\uffff\32"+ + "\56", "\1\u0162", "\1\u0163", "\1\u0164", - "\1\u0165", - "\1\u0166", - "\1\u0167", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\4\56\1\u0166\3\56"+ + "\1\u0165\21\56", "\1\u0168", "\1\u0169", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u016a", "\1\u016b", "\1\u016c", "\1\u016d", - "", "\1\u016e", - "", "\1\u016f", "\1\u0170", "\1\u0171", @@ -2865,87 +3372,83 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u0177", "\1\u0178", "\1\u0179", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u017b", - "\1\u017c", + "\1\u017a", + "\12\56\7\uffff\23\56\1\u017b\6\56\4\uffff\1\56\1\uffff\32\56", "\1\u017d", "\1\u017e", - "", "\1\u017f", - "\1\u0180", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "", + "", + "", + "\1\u0180\3\uffff\1\u0181", "\1\u0182", "\1\u0183", "\1\u0184", - "\12\55\7\uffff\2\55\1\u0185\27\55\4\uffff\1\55\1\uffff\32\55", - "\12\55\7\uffff\2\55\1\u0187\27\55\4\uffff\1\55\1\uffff\32\55", - "\1\u0189", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u018b", + "\1\u0185", + "\1\u0186", + "\1\u0187", + "\1\u0188", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u018a", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u018c", "\1\u018d", "\1\u018e", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u018f", "\1\u0190", - "", "\1\u0191", + "", "\1\u0192", "\1\u0193", "\1\u0194", "\1\u0195", "\1\u0196", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0197", "\1\u0198", + "", "\1\u0199", "\1\u019a", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u019b", + "\1\u019c", "\1\u019d", + "", "\1\u019e", "\1\u019f", - "", "\1\u01a0", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01a1", "\1\u01a2", "\1\u01a3", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01a4", "\1\u01a5", - "", "\1\u01a6", - "\1\u01a7", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01a8", "\1\u01a9", - "", "\1\u01aa", - "", "\1\u01ab", - "", "\1\u01ac", "\1\u01ad", "\1\u01ae", "\1\u01af", - "", "\1\u01b0", "\1\u01b1", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "", + "\1\u01b2", "\1\u01b3", "\1\u01b4", "\1\u01b5", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "", + "\1\u01b6", "\1\u01b7", "\1\u01b8", "\1\u01b9", - "", - "", "\1\u01ba", - "\1\u01bb", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01bc", "\1\u01bd", "", "\1\u01be", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", "", + "\1\u01bf", "\1\u01c0", "\1\u01c1", "\1\u01c2", @@ -2959,179 +3462,357 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { "\1\u01ca", "\1\u01cb", "\1\u01cc", - "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u01ce", + "\1\u01cd", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01cf", - "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01d0", "\1\u01d1", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01d2", "\1\u01d3", "\1\u01d4", "\1\u01d5", "\1\u01d6", "\1\u01d7", - "", "\1\u01d8", "\1\u01d9", + "", "\1\u01da", "\1\u01db", - "\1\u01dc", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01dd", "\1\u01de", "\1\u01df", "\1\u01e0", - "\1\u01e1", - "\1\u01e2", - "\1\u01e3", - "\1\u01e4", - "", + "\12\56\7\uffff\2\56\1\u01e1\27\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\2\56\1\u01e3\27\56\4\uffff\1\56\1\uffff\32\56", "\1\u01e5", "\1\u01e6", - "", - "\1\u01e7", - "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01e8", - "\1\u01e9", - "\1\u01ea", + "\1\u01ea\6\uffff\1\u01e9", "\1\u01eb", "\1\u01ec", "\1\u01ed", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01ee", "\1\u01ef", + "", "\1\u01f0", "\1\u01f1", "\1\u01f2", "\1\u01f3", "\1\u01f4", - "\1\u01f5", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u01f6", "\1\u01f7", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u01f8", "\1\u01f9", "\1\u01fa", "\1\u01fb", "\1\u01fc", - "\1\u01fd", - "\1\u01fe", - "\1\u01ff", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\22\56\1\u01fd\7\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0200", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0201", + "\1\u0202", "", "\1\u0203", "\1\u0204", - "\1\u0205", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0206", "\1\u0207", "\1\u0208", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u020a", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "", + "\1\u0209", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u020b", "\1\u020c", "\1\u020d", - "\1\u020e", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u020f", + "", "\1\u0210", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0211", "\1\u0212", "\1\u0213", - "", - "", "\1\u0214", + "", "\1\u0215", + "", "\1\u0216", "\1\u0217", + "", "\1\u0218", "\1\u0219", - "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "", + "\1\u021a", "\1\u021b", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u021c", "\1\u021d", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "", - "\1\u0220", + "\1\u021e", + "\1\u021f", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0221", "\1\u0222", "\1\u0223", - "\1\u0224", - "\1\u0225", - "\1\u0226", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", + "\1\u0225", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0227", "\1\u0228", - "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "", - "", + "\1\u0229", "\1\u022a", "\1\u022b", - "\1\u022c", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", "\1\u022d", "\1\u022e", "\1\u022f", "\1\u0230", - "", "\1\u0231", "", "\1\u0232", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u0233", "\1\u0234", "\1\u0235", + "", "\1\u0236", "\1\u0237", - "\1\u0238", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", "\1\u0239", "\1\u023a", - "", "\1\u023b", "\1\u023c", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u023d", + "\1\u023e", "\1\u023f", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0241", "\1\u0242", "\1\u0243", - "", - "", "\1\u0244", - "", "\1\u0245", - "\1\u0246", - "\1\u0247", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u0249", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0248", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", "\1\u024a", "\1\u024b", - "", "\1\u024c", + "", "\1\u024d", - "\1\u024e", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u0250", - "\1\u0251", "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0250", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0252", + "", "\1\u0253", "\1\u0254", "\1\u0255", "\1\u0256", "\1\u0257", "\1\u0258", - "\1\u0259", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u025a", "\1\u025b", - "\1\u025c", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", - "\1\u025e", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u025d", "", - "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", + "\1\u025e", + "\1\u025f", + "\1\u0260", + "\1\u0261", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0263", + "\1\u0264", + "", + "\1\u0265", + "\1\u0266", + "\1\u0267", + "\1\u0268", + "\1\u0269", + "", + "", + "\1\u026a", + "", + "\1\u026b", + "\1\u026c", + "\1\u026d", + "\1\u026e", + "", + "", + "\1\u026f", + "", + "\1\u0270", + "\1\u0271", + "\1\u0272", + "\1\u0273", + "\1\u0274", + "\1\u0275", + "\1\u0276", + "", + "\1\u0277", + "\1\u0278", + "", + "\1\u0279", + "\1\u027a", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u027c", + "\1\u027d", + "", + "\1\u027e", + "\1\u027f", + "\1\u0280", + "\1\u0281", + "\1\u0282", + "\1\u0283", + "\1\u0284", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0286", + "\1\u0287", + "\1\u0288", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u028a", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u028c", + "\1\u028d", + "\1\u028e", + "\1\u028f", + "\1\u0290", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\1\u0296", + "\1\u0297", + "\1\u0298", + "\1\u0299", + "\1\u029a", + "\1\u029b", + "\1\u029c", + "\1\u029d", + "\1\u029e", + "", + "\1\u029f", + "\1\u02a0", + "\1\u02a1", + "", + "\1\u02a2", + "", + "\1\u02a3", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02a5", + "\1\u02a6", + "\1\u02a7", + "", + "", + "", + "", + "", + "\1\u02a8", + "\1\u02a9", + "\1\u02aa", + "\1\u02ab", + "\1\u02ac", + "\1\u02ad", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02b0", + "\1\u02b1", + "\1\u02b2", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\1\u02b6", + "\1\u02b7", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02b9", + "\1\u02ba", + "\1\u02bb", + "\1\u02bc", + "\1\u02bd", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", + "\1\u02bf", + "\1\u02c0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", + "", + "\1\u02c2", + "\1\u02c3", + "", + "\1\u02c4", + "\1\u02c5", + "\1\u02c6", + "\1\u02c7", + "\1\u02c8", + "", + "\1\u02c9", + "\1\u02ca", + "", + "\1\u02cb", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02cd", + "\1\u02ce", + "\1\u02cf", + "\1\u02d0", + "\1\u02d1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02d3", + "\1\u02d4", + "", + "\1\u02d5", + "\1\u02d6", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02d9", + "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02db", + "\1\u02dc", + "\1\u02dd", + "", + "", + "\1\u02de", + "", + "\1\u02df", + "\1\u02e0", + "\1\u02e1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02e3", + "\1\u02e4", + "\1\u02e5", + "", + "\1\u02e6", + "\1\u02e7", + "\1\u02e8", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02ea", + "\1\u02eb", + "", + "\1\u02ec", + "\1\u02ed", + "\1\u02ee", + "\1\u02ef", + "\1\u02f0", + "\1\u02f1", + "\1\u02f2", + "\1\u02f3", + "\1\u02f4", + "\1\u02f5", + "\1\u02f6", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u02f8", + "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "" }; @@ -3165,7 +3846,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; @@ -3181,7 +3862,7 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { else if ( (LA12_0=='n') ) {s = 3;} - else if ( (LA12_0=='p') ) {s = 4;} + else if ( (LA12_0=='t') ) {s = 4;} else if ( (LA12_0==',') ) {s = 5;} @@ -3189,85 +3870,87 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { else if ( (LA12_0=='a') ) {s = 7;} - else if ( (LA12_0=='t') ) {s = 8;} + else if ( (LA12_0=='s') ) {s = 8;} + + else if ( (LA12_0=='p') ) {s = 9;} - else if ( (LA12_0=='s') ) {s = 9;} + else if ( (LA12_0=='g') ) {s = 10;} - else if ( (LA12_0=='T') ) {s = 10;} + else if ( (LA12_0=='T') ) {s = 11;} - else if ( (LA12_0=='i') ) {s = 11;} + else if ( (LA12_0=='i') ) {s = 12;} - else if ( (LA12_0=='(') ) {s = 12;} + else if ( (LA12_0=='(') ) {s = 13;} - else if ( (LA12_0==')') ) {s = 13;} + else if ( (LA12_0==')') ) {s = 14;} - else if ( (LA12_0=='o') ) {s = 14;} + else if ( (LA12_0=='o') ) {s = 15;} - else if ( (LA12_0=='A') ) {s = 15;} + else if ( (LA12_0=='A') ) {s = 16;} - else if ( (LA12_0=='r') ) {s = 16;} + else if ( (LA12_0=='r') ) {s = 17;} - else if ( (LA12_0=='w') ) {s = 17;} + else if ( (LA12_0=='w') ) {s = 18;} - else if ( (LA12_0=='P') ) {s = 18;} + else if ( (LA12_0=='P') ) {s = 19;} - else if ( (LA12_0=='L') ) {s = 19;} + else if ( (LA12_0=='O') ) {s = 20;} - else if ( (LA12_0=='c') ) {s = 20;} + else if ( (LA12_0=='d') ) {s = 21;} - else if ( (LA12_0=='b') ) {s = 21;} + else if ( (LA12_0=='L') ) {s = 22;} - else if ( (LA12_0=='B') ) {s = 22;} + else if ( (LA12_0=='c') ) {s = 23;} - else if ( (LA12_0=='-') ) {s = 23;} + else if ( (LA12_0=='b') ) {s = 24;} - else if ( (LA12_0=='M') ) {s = 24;} + else if ( (LA12_0=='B') ) {s = 25;} - else if ( (LA12_0=='m') ) {s = 25;} + else if ( (LA12_0=='-') ) {s = 26;} - else if ( (LA12_0=='v') ) {s = 26;} + else if ( (LA12_0=='M') ) {s = 27;} - else if ( (LA12_0=='.') ) {s = 27;} + else if ( (LA12_0=='m') ) {s = 28;} - else if ( (LA12_0=='E') ) {s = 28;} + else if ( (LA12_0=='v') ) {s = 29;} - else if ( (LA12_0=='e') ) {s = 29;} + else if ( (LA12_0=='.') ) {s = 30;} - else if ( (LA12_0=='O') ) {s = 30;} + else if ( (LA12_0=='E') ) {s = 31;} - else if ( (LA12_0=='W') ) {s = 31;} + else if ( (LA12_0=='e') ) {s = 32;} - else if ( (LA12_0=='d') ) {s = 32;} + else if ( (LA12_0=='W') ) {s = 33;} - else if ( (LA12_0=='u') ) {s = 33;} + else if ( (LA12_0=='u') ) {s = 34;} - else if ( (LA12_0=='f') ) {s = 34;} + else if ( (LA12_0=='l') ) {s = 35;} - else if ( (LA12_0=='^') ) {s = 35;} + else if ( (LA12_0=='^') ) {s = 36;} - else if ( ((LA12_0>='C' && LA12_0<='D')||(LA12_0>='F' && LA12_0<='K')||LA12_0=='N'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='U' && LA12_0<='V')||(LA12_0>='X' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='q'||(LA12_0>='x' && LA12_0<='z')) ) {s = 36;} + else if ( ((LA12_0>='C' && LA12_0<='D')||(LA12_0>='F' && LA12_0<='K')||LA12_0=='N'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='U' && LA12_0<='V')||(LA12_0>='X' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='f'||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='x' && LA12_0<='z')) ) {s = 37;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 37;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 38;} - else if ( (LA12_0=='\"') ) {s = 38;} + else if ( (LA12_0=='\"') ) {s = 39;} - else if ( (LA12_0=='\'') ) {s = 39;} + else if ( (LA12_0=='\'') ) {s = 40;} - else if ( (LA12_0=='/') ) {s = 40;} + else if ( (LA12_0=='/') ) {s = 41;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 41;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 42;} - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='*' && LA12_0<='+')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 42;} + else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='*' && LA12_0<='+')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 43;} if ( s>=0 ) return s; break; case 1 : - int LA12_38 = input.LA(1); + int LA12_40 = input.LA(1); s = -1; - if ( ((LA12_38>='\u0000' && LA12_38<='\uFFFF')) ) {s = 94;} + if ( ((LA12_40>='\u0000' && LA12_40<='\uFFFF')) ) {s = 104;} - else s = 42; + else s = 43; if ( s>=0 ) return s; break; @@ -3275,9 +3958,9 @@ public class InternalStaAdaptationLanguageLexer extends Lexer { int LA12_39 = input.LA(1); s = -1; - if ( ((LA12_39>='\u0000' && LA12_39<='\uFFFF')) ) {s = 94;} + if ( ((LA12_39>='\u0000' && LA12_39<='\uFFFF')) ) {s = 104;} - else s = 42; + else s = 43; if ( s>=0 ) return s; break; diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageParser.java b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageParser.java index a0d9ed5c90a9b61c047f71996eae6e3e7d8972be..8236205455c7eb99b4e9728cf594bc3d8cb040b4 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageParser.java +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguageParser.java @@ -21,7 +21,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'StaRepository'", "'{'", "'name'", "'parameters'", "','", "'}'", "'actions'", "'tactics'", "'strategies'", "'Tactic'", "'inputParams'", "'('", "')'", "'outputParam'", "'implementedPlan'", "'Action'", "'referredAdaptationPoint'", "'Strategy'", "'objective'", "'triggeringEvents'", "'weightingFunction'", "'Parameter'", "'type'", "'AdaptationPlan'", "'steps'", "'Start'", "'predecessor'", "'successor'", "'Stop'", "'LoopAction'", "'counter'", "'body'", "'BranchAction'", "'condition'", "'branches'", "'ActionReference'", "'refersTo'", "'-'", "'ModelVariableConfigurationRange'", "'minValue'", "'maxValue'", "'adaptableEntity'", "'ModelEntityConfigurationRange'", "'variationPossibility'", "'.'", "'E'", "'e'", "'PropertyRange'", "'minValueConstraint'", "'maxValueConstraint'", "'SetOfConfigurations'", "'valueConstraint'", "'variants'", "'OclConstraint'", "'oclString'", "'Event'", "'WeightedTactic'", "'currentWeight'", "'defaultWeight'", "'uses'", "'function'" + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'StaRepository'", "'{'", "'name'", "'tactics'", "','", "'}'", "'actions'", "'strategies'", "'parameters'", "'goal'", "'Tactic'", "'inputParams'", "'('", "')'", "'outputParam'", "'implementedPlan'", "'Action'", "'operationType'", "'referredAdaptationPoint'", "'Strategy'", "'objective'", "'triggeringEvents'", "'weightingFunction'", "'Parameter'", "'type'", "'OverallGoal'", "'description'", "'objectives'", "'AdaptationPlan'", "'steps'", "'StartAction'", "'predecessor'", "'successor'", "'StopAction'", "'LoopAction'", "'counter'", "'body'", "'BranchAction'", "'condition'", "'branches'", "'ActionReference'", "'refersTo'", "'-'", "'OperationType'", "'ModelVariableConfigurationRange'", "'minValue'", "'maxValue'", "'adaptableEntity'", "'ModelEntityConfigurationRange'", "'variationPossibility'", "'.'", "'E'", "'e'", "'PropertyRange'", "'minValueConstraint'", "'maxValueConstraint'", "'SetOfConfigurations'", "'variants'", "'valueConstraint'", "'OclConstraint'", "'oclString'", "'Objective'", "'specification'", "'Event'", "'WeightedTactic'", "'currentWeight'", "'defaultWeight'", "'usedTactic'", "'lastImpact'", "'WeightingFunction'", "'weightedMetrics'", "'EDate'", "'MetricValue'", "'value'", "'metric'", "'WeightedMetric'", "'weight'", "'metricType'" }; public static final int T__68=68; public static final int T__69=69; @@ -70,13 +70,22 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa public static final int T__43=43; public static final int T__40=40; public static final int T__41=41; + public static final int T__80=80; public static final int T__46=46; + public static final int T__81=81; public static final int T__47=47; + public static final int T__82=82; public static final int T__44=44; + public static final int T__83=83; public static final int T__45=45; public static final int T__48=48; public static final int T__49=49; + public static final int T__85=85; public static final int RULE_SL_COMMENT=8; + public static final int T__84=84; + public static final int T__87=87; + public static final int T__86=86; + public static final int T__88=88; public static final int RULE_ML_COMMENT=7; public static final int T__30=30; public static final int T__31=31; @@ -84,6 +93,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa public static final int T__32=32; public static final int T__71=71; public static final int T__33=33; + public static final int T__72=72; public static final int T__34=34; public static final int T__35=35; public static final int T__70=70; @@ -92,6 +102,13 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa public static final int T__38=38; public static final int T__39=39; public static final int RULE_WS=9; + public static final int T__76=76; + public static final int T__75=75; + public static final int T__74=74; + public static final int T__73=73; + public static final int T__79=79; + public static final int T__78=78; + public static final int T__77=77; // delegates // delegators @@ -168,7 +185,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleStaRepository" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:76:1: ruleStaRepository returns [EObject current=null] : (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'tactics' otherlv_18= '{' ( (lv_tactics_19_0= ruleTactic ) ) (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* otherlv_22= '}' otherlv_23= 'strategies' otherlv_24= '{' ( (lv_strategies_25_0= ruleStrategy ) ) (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* otherlv_28= '}' otherlv_29= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:76:1: ruleStaRepository returns [EObject current=null] : (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'tactics' otherlv_6= '{' ( (lv_tactics_7_0= ruleTactic ) ) (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* otherlv_10= '}' otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'strategies' otherlv_18= '{' ( (lv_strategies_19_0= ruleStrategy ) ) (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* otherlv_22= '}' (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? otherlv_29= 'goal' ( (lv_goal_30_0= ruleOverallGoal ) ) otherlv_31= '}' ) ; public final EObject ruleStaRepository() throws RecognitionException { EObject current = null; @@ -192,35 +209,38 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa Token otherlv_26=null; Token otherlv_28=null; Token otherlv_29=null; + Token otherlv_31=null; AntlrDatatypeRuleToken lv_id_1_0 = null; AntlrDatatypeRuleToken lv_name_4_0 = null; - EObject lv_parameters_7_0 = null; + EObject lv_tactics_7_0 = null; - EObject lv_parameters_9_0 = null; + EObject lv_tactics_9_0 = null; EObject lv_actions_13_0 = null; EObject lv_actions_15_0 = null; - EObject lv_tactics_19_0 = null; + EObject lv_strategies_19_0 = null; - EObject lv_tactics_21_0 = null; + EObject lv_strategies_21_0 = null; - EObject lv_strategies_25_0 = null; + EObject lv_parameters_25_0 = null; - EObject lv_strategies_27_0 = null; + EObject lv_parameters_27_0 = null; + + EObject lv_goal_30_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:79:28: ( (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'tactics' otherlv_18= '{' ( (lv_tactics_19_0= ruleTactic ) ) (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* otherlv_22= '}' otherlv_23= 'strategies' otherlv_24= '{' ( (lv_strategies_25_0= ruleStrategy ) ) (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* otherlv_28= '}' otherlv_29= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:1: (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'tactics' otherlv_18= '{' ( (lv_tactics_19_0= ruleTactic ) ) (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* otherlv_22= '}' otherlv_23= 'strategies' otherlv_24= '{' ( (lv_strategies_25_0= ruleStrategy ) ) (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* otherlv_28= '}' otherlv_29= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:79:28: ( (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'tactics' otherlv_6= '{' ( (lv_tactics_7_0= ruleTactic ) ) (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* otherlv_10= '}' otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'strategies' otherlv_18= '{' ( (lv_strategies_19_0= ruleStrategy ) ) (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* otherlv_22= '}' (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? otherlv_29= 'goal' ( (lv_goal_30_0= ruleOverallGoal ) ) otherlv_31= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:1: (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'tactics' otherlv_6= '{' ( (lv_tactics_7_0= ruleTactic ) ) (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* otherlv_10= '}' otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'strategies' otherlv_18= '{' ( (lv_strategies_19_0= ruleStrategy ) ) (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* otherlv_22= '}' (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? otherlv_29= 'goal' ( (lv_goal_30_0= ruleOverallGoal ) ) otherlv_31= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:1: (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'tactics' otherlv_18= '{' ( (lv_tactics_19_0= ruleTactic ) ) (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* otherlv_22= '}' otherlv_23= 'strategies' otherlv_24= '{' ( (lv_strategies_25_0= ruleStrategy ) ) (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* otherlv_28= '}' otherlv_29= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:3: otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'tactics' otherlv_18= '{' ( (lv_tactics_19_0= ruleTactic ) ) (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* otherlv_22= '}' otherlv_23= 'strategies' otherlv_24= '{' ( (lv_strategies_25_0= ruleStrategy ) ) (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* otherlv_28= '}' otherlv_29= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:1: (otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'tactics' otherlv_6= '{' ( (lv_tactics_7_0= ruleTactic ) ) (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* otherlv_10= '}' otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'strategies' otherlv_18= '{' ( (lv_strategies_19_0= ruleStrategy ) ) (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* otherlv_22= '}' (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? otherlv_29= 'goal' ( (lv_goal_30_0= ruleOverallGoal ) ) otherlv_31= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:80:3: otherlv_0= 'StaRepository' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'tactics' otherlv_6= '{' ( (lv_tactics_7_0= ruleTactic ) ) (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* otherlv_10= '}' otherlv_11= 'actions' otherlv_12= '{' ( (lv_actions_13_0= ruleAction ) ) (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* otherlv_16= '}' otherlv_17= 'strategies' otherlv_18= '{' ( (lv_strategies_19_0= ruleStrategy ) ) (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* otherlv_22= '}' (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? otherlv_29= 'goal' ( (lv_goal_30_0= ruleOverallGoal ) ) otherlv_31= '}' { otherlv_0=(Token)match(input,11,FollowSets000.FOLLOW_11_in_ruleStaRepository122); @@ -296,144 +316,25 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:128:2: (otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' )? - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==14) ) { - alt2=1; - } - switch (alt2) { - case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:128:4: otherlv_5= 'parameters' otherlv_6= '{' ( (lv_parameters_7_0= ruleParameter ) ) (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* otherlv_10= '}' - { - otherlv_5=(Token)match(input,14,FollowSets000.FOLLOW_14_in_ruleStaRepository201); - - newLeafNode(otherlv_5, grammarAccess.getStaRepositoryAccess().getParametersKeyword_5_0()); - - otherlv_6=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository213); - - newLeafNode(otherlv_6, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_5_1()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:136:1: ( (lv_parameters_7_0= ruleParameter ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:137:1: (lv_parameters_7_0= ruleParameter ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:137:1: (lv_parameters_7_0= ruleParameter ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:138:3: lv_parameters_7_0= ruleParameter - { - - newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_2_0()); - - pushFollow(FollowSets000.FOLLOW_ruleParameter_in_ruleStaRepository234); - lv_parameters_7_0=ruleParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); - } - add( - current, - "parameters", - lv_parameters_7_0, - "Parameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:154:2: (otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==15) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:154:4: otherlv_8= ',' ( (lv_parameters_9_0= ruleParameter ) ) - { - otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository247); - - newLeafNode(otherlv_8, grammarAccess.getStaRepositoryAccess().getCommaKeyword_5_3_0()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:158:1: ( (lv_parameters_9_0= ruleParameter ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:159:1: (lv_parameters_9_0= ruleParameter ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:159:1: (lv_parameters_9_0= ruleParameter ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:160:3: lv_parameters_9_0= ruleParameter - { - - newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_5_3_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleParameter_in_ruleStaRepository268); - lv_parameters_9_0=ruleParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); - } - add( - current, - "parameters", - lv_parameters_9_0, - "Parameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository282); - - newLeafNode(otherlv_10, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_5_4()); - - - } - break; - - } - - otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleStaRepository296); + otherlv_5=(Token)match(input,14,FollowSets000.FOLLOW_14_in_ruleStaRepository200); - newLeafNode(otherlv_11, grammarAccess.getStaRepositoryAccess().getActionsKeyword_6()); + newLeafNode(otherlv_5, grammarAccess.getStaRepositoryAccess().getTacticsKeyword_5()); - otherlv_12=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository308); + otherlv_6=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository212); - newLeafNode(otherlv_12, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_7()); + newLeafNode(otherlv_6, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_6()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:188:1: ( (lv_actions_13_0= ruleAction ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:189:1: (lv_actions_13_0= ruleAction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:136:1: ( (lv_tactics_7_0= ruleTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:137:1: (lv_tactics_7_0= ruleTactic ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:189:1: (lv_actions_13_0= ruleAction ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:190:3: lv_actions_13_0= ruleAction + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:137:1: (lv_tactics_7_0= ruleTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:138:3: lv_tactics_7_0= ruleTactic { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_8_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_7_0()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleStaRepository329); - lv_actions_13_0=ruleAction(); + pushFollow(FollowSets000.FOLLOW_ruleTactic_in_ruleStaRepository233); + lv_tactics_7_0=ruleTactic(); state._fsp--; @@ -443,9 +344,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } add( current, - "actions", - lv_actions_13_0, - "Action"); + "tactics", + lv_tactics_7_0, + "Tactic"); afterParserOrEnumRuleCall(); @@ -454,36 +355,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:206:2: (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* - loop3: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:154:2: (otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) )* + loop1: do { - int alt3=2; - int LA3_0 = input.LA(1); + int alt1=2; + int LA1_0 = input.LA(1); - if ( (LA3_0==15) ) { - alt3=1; + if ( (LA1_0==15) ) { + alt1=1; } - switch (alt3) { + switch (alt1) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:206:4: otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:154:4: otherlv_8= ',' ( (lv_tactics_9_0= ruleTactic ) ) { - otherlv_14=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository342); + otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository246); - newLeafNode(otherlv_14, grammarAccess.getStaRepositoryAccess().getCommaKeyword_9_0()); + newLeafNode(otherlv_8, grammarAccess.getStaRepositoryAccess().getCommaKeyword_8_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:210:1: ( (lv_actions_15_0= ruleAction ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:211:1: (lv_actions_15_0= ruleAction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:158:1: ( (lv_tactics_9_0= ruleTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:159:1: (lv_tactics_9_0= ruleTactic ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:211:1: (lv_actions_15_0= ruleAction ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:212:3: lv_actions_15_0= ruleAction + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:159:1: (lv_tactics_9_0= ruleTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:160:3: lv_tactics_9_0= ruleTactic { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_9_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_8_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleStaRepository363); - lv_actions_15_0=ruleAction(); + pushFollow(FollowSets000.FOLLOW_ruleTactic_in_ruleStaRepository267); + lv_tactics_9_0=ruleTactic(); state._fsp--; @@ -493,9 +394,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } add( current, - "actions", - lv_actions_15_0, - "Action"); + "tactics", + lv_tactics_9_0, + "Tactic"); afterParserOrEnumRuleCall(); @@ -509,33 +410,33 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa break; default : - break loop3; + break loop1; } } while (true); - otherlv_16=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository377); + otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository281); - newLeafNode(otherlv_16, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_10()); + newLeafNode(otherlv_10, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_9()); - otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleStaRepository389); + otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleStaRepository293); - newLeafNode(otherlv_17, grammarAccess.getStaRepositoryAccess().getTacticsKeyword_11()); + newLeafNode(otherlv_11, grammarAccess.getStaRepositoryAccess().getActionsKeyword_10()); - otherlv_18=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository401); + otherlv_12=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository305); - newLeafNode(otherlv_18, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_12()); + newLeafNode(otherlv_12, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_11()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:240:1: ( (lv_tactics_19_0= ruleTactic ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:241:1: (lv_tactics_19_0= ruleTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:188:1: ( (lv_actions_13_0= ruleAction ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:189:1: (lv_actions_13_0= ruleAction ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:241:1: (lv_tactics_19_0= ruleTactic ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:242:3: lv_tactics_19_0= ruleTactic + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:189:1: (lv_actions_13_0= ruleAction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:190:3: lv_actions_13_0= ruleAction { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_13_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_12_0()); - pushFollow(FollowSets000.FOLLOW_ruleTactic_in_ruleStaRepository422); - lv_tactics_19_0=ruleTactic(); + pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleStaRepository326); + lv_actions_13_0=ruleAction(); state._fsp--; @@ -545,9 +446,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } add( current, - "tactics", - lv_tactics_19_0, - "Tactic"); + "actions", + lv_actions_13_0, + "Action"); afterParserOrEnumRuleCall(); @@ -556,36 +457,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:258:2: (otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) )* - loop4: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:206:2: (otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) )* + loop2: do { - int alt4=2; - int LA4_0 = input.LA(1); + int alt2=2; + int LA2_0 = input.LA(1); - if ( (LA4_0==15) ) { - alt4=1; + if ( (LA2_0==15) ) { + alt2=1; } - switch (alt4) { + switch (alt2) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:258:4: otherlv_20= ',' ( (lv_tactics_21_0= ruleTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:206:4: otherlv_14= ',' ( (lv_actions_15_0= ruleAction ) ) { - otherlv_20=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository435); + otherlv_14=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository339); - newLeafNode(otherlv_20, grammarAccess.getStaRepositoryAccess().getCommaKeyword_14_0()); + newLeafNode(otherlv_14, grammarAccess.getStaRepositoryAccess().getCommaKeyword_13_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:262:1: ( (lv_tactics_21_0= ruleTactic ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:263:1: (lv_tactics_21_0= ruleTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:210:1: ( (lv_actions_15_0= ruleAction ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:211:1: (lv_actions_15_0= ruleAction ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:263:1: (lv_tactics_21_0= ruleTactic ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:264:3: lv_tactics_21_0= ruleTactic + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:211:1: (lv_actions_15_0= ruleAction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:212:3: lv_actions_15_0= ruleAction { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getTacticsTacticParserRuleCall_14_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getActionsActionParserRuleCall_13_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleTactic_in_ruleStaRepository456); - lv_tactics_21_0=ruleTactic(); + pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleStaRepository360); + lv_actions_15_0=ruleAction(); state._fsp--; @@ -595,9 +496,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } add( current, - "tactics", - lv_tactics_21_0, - "Tactic"); + "actions", + lv_actions_15_0, + "Action"); afterParserOrEnumRuleCall(); @@ -611,33 +512,33 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa break; default : - break loop4; + break loop2; } } while (true); - otherlv_22=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository470); + otherlv_16=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository374); - newLeafNode(otherlv_22, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_15()); + newLeafNode(otherlv_16, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_14()); - otherlv_23=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleStaRepository482); + otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleStaRepository386); - newLeafNode(otherlv_23, grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_16()); + newLeafNode(otherlv_17, grammarAccess.getStaRepositoryAccess().getStrategiesKeyword_15()); - otherlv_24=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository494); + otherlv_18=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository398); - newLeafNode(otherlv_24, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_17()); + newLeafNode(otherlv_18, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_16()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:292:1: ( (lv_strategies_25_0= ruleStrategy ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:293:1: (lv_strategies_25_0= ruleStrategy ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:240:1: ( (lv_strategies_19_0= ruleStrategy ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:241:1: (lv_strategies_19_0= ruleStrategy ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:293:1: (lv_strategies_25_0= ruleStrategy ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:294:3: lv_strategies_25_0= ruleStrategy + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:241:1: (lv_strategies_19_0= ruleStrategy ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:242:3: lv_strategies_19_0= ruleStrategy { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_17_0()); - pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_ruleStaRepository515); - lv_strategies_25_0=ruleStrategy(); + pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_ruleStaRepository419); + lv_strategies_19_0=ruleStrategy(); state._fsp--; @@ -648,7 +549,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa add( current, "strategies", - lv_strategies_25_0, + lv_strategies_19_0, "Strategy"); afterParserOrEnumRuleCall(); @@ -658,36 +559,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:310:2: (otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) )* - loop5: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:258:2: (otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) )* + loop3: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA5_0==15) ) { - alt5=1; + if ( (LA3_0==15) ) { + alt3=1; } - switch (alt5) { + switch (alt3) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:310:4: otherlv_26= ',' ( (lv_strategies_27_0= ruleStrategy ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:258:4: otherlv_20= ',' ( (lv_strategies_21_0= ruleStrategy ) ) { - otherlv_26=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository528); + otherlv_20=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository432); - newLeafNode(otherlv_26, grammarAccess.getStaRepositoryAccess().getCommaKeyword_19_0()); + newLeafNode(otherlv_20, grammarAccess.getStaRepositoryAccess().getCommaKeyword_18_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:314:1: ( (lv_strategies_27_0= ruleStrategy ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:315:1: (lv_strategies_27_0= ruleStrategy ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:262:1: ( (lv_strategies_21_0= ruleStrategy ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:263:1: (lv_strategies_21_0= ruleStrategy ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:315:1: (lv_strategies_27_0= ruleStrategy ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:316:3: lv_strategies_27_0= ruleStrategy + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:263:1: (lv_strategies_21_0= ruleStrategy ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:264:3: lv_strategies_21_0= ruleStrategy { - newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_19_1_0()); + newCompositeNode(grammarAccess.getStaRepositoryAccess().getStrategiesStrategyParserRuleCall_18_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_ruleStaRepository549); - lv_strategies_27_0=ruleStrategy(); + pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_ruleStaRepository453); + lv_strategies_21_0=ruleStrategy(); state._fsp--; @@ -698,7 +599,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa add( current, "strategies", - lv_strategies_27_0, + lv_strategies_21_0, "Strategy"); afterParserOrEnumRuleCall(); @@ -713,17 +614,171 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa break; default : - break loop5; + break loop3; } } while (true); - otherlv_28=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository563); + otherlv_22=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository467); + + newLeafNode(otherlv_22, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_19()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:284:1: (otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==19) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:284:3: otherlv_23= 'parameters' otherlv_24= '{' ( (lv_parameters_25_0= ruleParameter ) ) (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* otherlv_28= '}' + { + otherlv_23=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleStaRepository480); + + newLeafNode(otherlv_23, grammarAccess.getStaRepositoryAccess().getParametersKeyword_20_0()); + + otherlv_24=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStaRepository492); + + newLeafNode(otherlv_24, grammarAccess.getStaRepositoryAccess().getLeftCurlyBracketKeyword_20_1()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:292:1: ( (lv_parameters_25_0= ruleParameter ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:293:1: (lv_parameters_25_0= ruleParameter ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:293:1: (lv_parameters_25_0= ruleParameter ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:294:3: lv_parameters_25_0= ruleParameter + { + + newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_2_0()); + + pushFollow(FollowSets000.FOLLOW_ruleParameter_in_ruleStaRepository513); + lv_parameters_25_0=ruleParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); + } + add( + current, + "parameters", + lv_parameters_25_0, + "Parameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:310:2: (otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==15) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:310:4: otherlv_26= ',' ( (lv_parameters_27_0= ruleParameter ) ) + { + otherlv_26=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStaRepository526); + + newLeafNode(otherlv_26, grammarAccess.getStaRepositoryAccess().getCommaKeyword_20_3_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:314:1: ( (lv_parameters_27_0= ruleParameter ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:315:1: (lv_parameters_27_0= ruleParameter ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:315:1: (lv_parameters_27_0= ruleParameter ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:316:3: lv_parameters_27_0= ruleParameter + { + + newCompositeNode(grammarAccess.getStaRepositoryAccess().getParametersParameterParserRuleCall_20_3_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleParameter_in_ruleStaRepository547); + lv_parameters_27_0=ruleParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); + } + add( + current, + "parameters", + lv_parameters_27_0, + "Parameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop4; + } + } while (true); + + otherlv_28=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository561); + + newLeafNode(otherlv_28, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20_4()); + + + } + break; + + } + + otherlv_29=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleStaRepository575); - newLeafNode(otherlv_28, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_20()); + newLeafNode(otherlv_29, grammarAccess.getStaRepositoryAccess().getGoalKeyword_21()); - otherlv_29=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository575); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:340:1: ( (lv_goal_30_0= ruleOverallGoal ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:341:1: (lv_goal_30_0= ruleOverallGoal ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:341:1: (lv_goal_30_0= ruleOverallGoal ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:342:3: lv_goal_30_0= ruleOverallGoal + { + + newCompositeNode(grammarAccess.getStaRepositoryAccess().getGoalOverallGoalParserRuleCall_22_0()); + + pushFollow(FollowSets000.FOLLOW_ruleOverallGoal_in_ruleStaRepository596); + lv_goal_30_0=ruleOverallGoal(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStaRepositoryRule()); + } + set( + current, + "goal", + lv_goal_30_0, + "OverallGoal"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_31=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStaRepository608); - newLeafNode(otherlv_29, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_21()); + newLeafNode(otherlv_31, grammarAccess.getStaRepositoryAccess().getRightCurlyBracketKeyword_23()); } @@ -746,7 +801,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleAbstractControlFlowElement" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:350:1: entryRuleAbstractControlFlowElement returns [EObject current=null] : iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:372:1: entryRuleAbstractControlFlowElement returns [EObject current=null] : iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF ; public final EObject entryRuleAbstractControlFlowElement() throws RecognitionException { EObject current = null; @@ -754,17 +809,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:351:2: (iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:352:2: iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:373:2: (iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:374:2: iv_ruleAbstractControlFlowElement= ruleAbstractControlFlowElement EOF { newCompositeNode(grammarAccess.getAbstractControlFlowElementRule()); - pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_entryRuleAbstractControlFlowElement613); + pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_entryRuleAbstractControlFlowElement646); iv_ruleAbstractControlFlowElement=ruleAbstractControlFlowElement(); state._fsp--; current =iv_ruleAbstractControlFlowElement; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAbstractControlFlowElement623); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAbstractControlFlowElement656); } @@ -782,17 +837,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAbstractControlFlowElement" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:359:1: ruleAbstractControlFlowElement returns [EObject current=null] : (this_Start_0= ruleStart | this_Stop_1= ruleStop | this_Loop_2= ruleLoop | this_Branch_3= ruleBranch | this_ActionReference_4= ruleActionReference ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:381:1: ruleAbstractControlFlowElement returns [EObject current=null] : (this_StartAction_0= ruleStartAction | this_StopAction_1= ruleStopAction | this_LoopAction_2= ruleLoopAction | this_BranchAction_3= ruleBranchAction | this_ActionReference_4= ruleActionReference ) ; public final EObject ruleAbstractControlFlowElement() throws RecognitionException { EObject current = null; - EObject this_Start_0 = null; + EObject this_StartAction_0 = null; - EObject this_Stop_1 = null; + EObject this_StopAction_1 = null; - EObject this_Loop_2 = null; + EObject this_LoopAction_2 = null; - EObject this_Branch_3 = null; + EObject this_BranchAction_3 = null; EObject this_ActionReference_4 = null; @@ -800,33 +855,33 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:362:28: ( (this_Start_0= ruleStart | this_Stop_1= ruleStop | this_Loop_2= ruleLoop | this_Branch_3= ruleBranch | this_ActionReference_4= ruleActionReference ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:363:1: (this_Start_0= ruleStart | this_Stop_1= ruleStop | this_Loop_2= ruleLoop | this_Branch_3= ruleBranch | this_ActionReference_4= ruleActionReference ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:384:28: ( (this_StartAction_0= ruleStartAction | this_StopAction_1= ruleStopAction | this_LoopAction_2= ruleLoopAction | this_BranchAction_3= ruleBranchAction | this_ActionReference_4= ruleActionReference ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:385:1: (this_StartAction_0= ruleStartAction | this_StopAction_1= ruleStopAction | this_LoopAction_2= ruleLoopAction | this_BranchAction_3= ruleBranchAction | this_ActionReference_4= ruleActionReference ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:363:1: (this_Start_0= ruleStart | this_Stop_1= ruleStop | this_Loop_2= ruleLoop | this_Branch_3= ruleBranch | this_ActionReference_4= ruleActionReference ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:385:1: (this_StartAction_0= ruleStartAction | this_StopAction_1= ruleStopAction | this_LoopAction_2= ruleLoopAction | this_BranchAction_3= ruleBranchAction | this_ActionReference_4= ruleActionReference ) int alt6=5; switch ( input.LA(1) ) { - case 36: + case 41: { alt6=1; } break; - case 39: + case 44: { alt6=2; } break; - case 40: + case 45: { alt6=3; } break; - case 43: + case 48: { alt6=4; } break; - case 46: + case 51: { alt6=5; } @@ -840,84 +895,84 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt6) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:364:5: this_Start_0= ruleStart + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:386:5: this_StartAction_0= ruleStartAction { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStartParserRuleCall_0()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStartActionParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleStart_in_ruleAbstractControlFlowElement670); - this_Start_0=ruleStart(); + pushFollow(FollowSets000.FOLLOW_ruleStartAction_in_ruleAbstractControlFlowElement703); + this_StartAction_0=ruleStartAction(); state._fsp--; - current = this_Start_0; + current = this_StartAction_0; afterParserOrEnumRuleCall(); } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:374:5: this_Stop_1= ruleStop + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:396:5: this_StopAction_1= ruleStopAction { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStopParserRuleCall_1()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getStopActionParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleStop_in_ruleAbstractControlFlowElement697); - this_Stop_1=ruleStop(); + pushFollow(FollowSets000.FOLLOW_ruleStopAction_in_ruleAbstractControlFlowElement730); + this_StopAction_1=ruleStopAction(); state._fsp--; - current = this_Stop_1; + current = this_StopAction_1; afterParserOrEnumRuleCall(); } break; case 3 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:384:5: this_Loop_2= ruleLoop + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:406:5: this_LoopAction_2= ruleLoopAction { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getLoopParserRuleCall_2()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getLoopActionParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_ruleLoop_in_ruleAbstractControlFlowElement724); - this_Loop_2=ruleLoop(); + pushFollow(FollowSets000.FOLLOW_ruleLoopAction_in_ruleAbstractControlFlowElement757); + this_LoopAction_2=ruleLoopAction(); state._fsp--; - current = this_Loop_2; + current = this_LoopAction_2; afterParserOrEnumRuleCall(); } break; case 4 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:394:5: this_Branch_3= ruleBranch + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:416:5: this_BranchAction_3= ruleBranchAction { - newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getBranchParserRuleCall_3()); + newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getBranchActionParserRuleCall_3()); - pushFollow(FollowSets000.FOLLOW_ruleBranch_in_ruleAbstractControlFlowElement751); - this_Branch_3=ruleBranch(); + pushFollow(FollowSets000.FOLLOW_ruleBranchAction_in_ruleAbstractControlFlowElement784); + this_BranchAction_3=ruleBranchAction(); state._fsp--; - current = this_Branch_3; + current = this_BranchAction_3; afterParserOrEnumRuleCall(); } break; case 5 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:404:5: this_ActionReference_4= ruleActionReference + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:426:5: this_ActionReference_4= ruleActionReference { newCompositeNode(grammarAccess.getAbstractControlFlowElementAccess().getActionReferenceParserRuleCall_4()); - pushFollow(FollowSets000.FOLLOW_ruleActionReference_in_ruleAbstractControlFlowElement778); + pushFollow(FollowSets000.FOLLOW_ruleActionReference_in_ruleAbstractControlFlowElement811); this_ActionReference_4=ruleActionReference(); state._fsp--; @@ -950,7 +1005,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleVariationType" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:420:1: entryRuleVariationType returns [EObject current=null] : iv_ruleVariationType= ruleVariationType EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:442:1: entryRuleVariationType returns [EObject current=null] : iv_ruleVariationType= ruleVariationType EOF ; public final EObject entryRuleVariationType() throws RecognitionException { EObject current = null; @@ -958,17 +1013,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:421:2: (iv_ruleVariationType= ruleVariationType EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:422:2: iv_ruleVariationType= ruleVariationType EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:443:2: (iv_ruleVariationType= ruleVariationType EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:444:2: iv_ruleVariationType= ruleVariationType EOF { newCompositeNode(grammarAccess.getVariationTypeRule()); - pushFollow(FollowSets000.FOLLOW_ruleVariationType_in_entryRuleVariationType813); + pushFollow(FollowSets000.FOLLOW_ruleVariationType_in_entryRuleVariationType846); iv_ruleVariationType=ruleVariationType(); state._fsp--; current =iv_ruleVariationType; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleVariationType823); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleVariationType856); } @@ -986,7 +1041,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleVariationType" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:429:1: ruleVariationType returns [EObject current=null] : (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:451:1: ruleVariationType returns [EObject current=null] : (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) ; public final EObject ruleVariationType() throws RecognitionException { EObject current = null; @@ -998,17 +1053,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:432:28: ( (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:433:1: (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:454:28: ( (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:455:1: (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:433:1: (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:455:1: (this_PropertyRange_0= rulePropertyRange | this_SetOfConfigurations_1= ruleSetOfConfigurations ) int alt7=2; int LA7_0 = input.LA(1); - if ( (LA7_0==58) ) { + if ( (LA7_0==64) ) { alt7=1; } - else if ( (LA7_0==61) ) { + else if ( (LA7_0==67) ) { alt7=2; } else { @@ -1019,12 +1074,12 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } switch (alt7) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:434:5: this_PropertyRange_0= rulePropertyRange + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:456:5: this_PropertyRange_0= rulePropertyRange { newCompositeNode(grammarAccess.getVariationTypeAccess().getPropertyRangeParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_rulePropertyRange_in_ruleVariationType870); + pushFollow(FollowSets000.FOLLOW_rulePropertyRange_in_ruleVariationType903); this_PropertyRange_0=rulePropertyRange(); state._fsp--; @@ -1037,12 +1092,12 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:444:5: this_SetOfConfigurations_1= ruleSetOfConfigurations + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:466:5: this_SetOfConfigurations_1= ruleSetOfConfigurations { newCompositeNode(grammarAccess.getVariationTypeAccess().getSetOfConfigurationsParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleSetOfConfigurations_in_ruleVariationType897); + pushFollow(FollowSets000.FOLLOW_ruleSetOfConfigurations_in_ruleVariationType930); this_SetOfConfigurations_1=ruleSetOfConfigurations(); state._fsp--; @@ -1075,7 +1130,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleEString" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:460:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:482:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ; public final String entryRuleEString() throws RecognitionException { String current = null; @@ -1083,17 +1138,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:461:2: (iv_ruleEString= ruleEString EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:462:2: iv_ruleEString= ruleEString EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:483:2: (iv_ruleEString= ruleEString EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:484:2: iv_ruleEString= ruleEString EOF { newCompositeNode(grammarAccess.getEStringRule()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_entryRuleEString933); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_entryRuleEString966); iv_ruleEString=ruleEString(); state._fsp--; current =iv_ruleEString.getText(); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEString944); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEString977); } @@ -1111,7 +1166,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleEString" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:469:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:491:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ; public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -1121,10 +1176,10 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:472:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:473:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:494:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:495:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:473:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:495:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) int alt8=2; int LA8_0 = input.LA(1); @@ -1142,9 +1197,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } switch (alt8) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:473:6: this_STRING_0= RULE_STRING + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:495:6: this_STRING_0= RULE_STRING { - this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString984); + this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString1017); current.merge(this_STRING_0); @@ -1155,9 +1210,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:481:10: this_ID_1= RULE_ID + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:503:10: this_ID_1= RULE_ID { - this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString1010); + this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString1043); current.merge(this_ID_1); @@ -1188,7 +1243,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleTactic" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:496:1: entryRuleTactic returns [EObject current=null] : iv_ruleTactic= ruleTactic EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:518:1: entryRuleTactic returns [EObject current=null] : iv_ruleTactic= ruleTactic EOF ; public final EObject entryRuleTactic() throws RecognitionException { EObject current = null; @@ -1196,17 +1251,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:497:2: (iv_ruleTactic= ruleTactic EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:498:2: iv_ruleTactic= ruleTactic EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:519:2: (iv_ruleTactic= ruleTactic EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:520:2: iv_ruleTactic= ruleTactic EOF { newCompositeNode(grammarAccess.getTacticRule()); - pushFollow(FollowSets000.FOLLOW_ruleTactic_in_entryRuleTactic1055); + pushFollow(FollowSets000.FOLLOW_ruleTactic_in_entryRuleTactic1088); iv_ruleTactic=ruleTactic(); state._fsp--; current =iv_ruleTactic; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTactic1065); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTactic1098); } @@ -1224,7 +1279,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleTactic" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:505:1: ruleTactic returns [EObject current=null] : (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:527:1: ruleTactic returns [EObject current=null] : (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) ; public final EObject ruleTactic() throws RecognitionException { EObject current = null; @@ -1248,26 +1303,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:508:28: ( (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:509:1: (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:530:28: ( (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:531:1: (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:509:1: (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:509:3: otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:531:1: (otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:531:3: otherlv_0= 'Tactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? otherlv_13= 'implementedPlan' ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) otherlv_15= '}' { - otherlv_0=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleTactic1102); + otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTactic1135); newLeafNode(otherlv_0, grammarAccess.getTacticAccess().getTacticKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:513:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:514:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:535:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:536:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:514:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:515:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:536:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:537:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getTacticAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1123); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1156); lv_id_1_0=ruleEString(); state._fsp--; @@ -1289,24 +1344,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleTactic1135); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleTactic1168); newLeafNode(otherlv_2, grammarAccess.getTacticAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleTactic1147); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleTactic1180); newLeafNode(otherlv_3, grammarAccess.getTacticAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:539:1: ( (lv_name_4_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:540:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:561:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:562:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:540:1: (lv_name_4_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:541:3: lv_name_4_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:562:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:563:3: lv_name_4_0= ruleEString { newCompositeNode(grammarAccess.getTacticAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1168); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1201); lv_name_4_0=ruleEString(); state._fsp--; @@ -1328,30 +1383,30 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:557:2: (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:579:2: (otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' )? int alt10=2; int LA10_0 = input.LA(1); - if ( (LA10_0==21) ) { + if ( (LA10_0==22) ) { alt10=1; } switch (alt10) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:557:4: otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:579:4: otherlv_5= 'inputParams' otherlv_6= '(' ( ( ruleEString ) ) (otherlv_8= ',' ( ( ruleEString ) ) )* otherlv_10= ')' { - otherlv_5=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTactic1181); + otherlv_5=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleTactic1214); newLeafNode(otherlv_5, grammarAccess.getTacticAccess().getInputParamsKeyword_5_0()); - otherlv_6=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleTactic1193); + otherlv_6=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleTactic1226); newLeafNode(otherlv_6, grammarAccess.getTacticAccess().getLeftParenthesisKeyword_5_1()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:565:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:566:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:587:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:588:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:566:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:567:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:588:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:589:3: ruleEString { if (current==null) { @@ -1361,7 +1416,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa newCompositeNode(grammarAccess.getTacticAccess().getInputParamsParameterCrossReference_5_2_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1216); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1249); ruleEString(); state._fsp--; @@ -1375,7 +1430,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:580:2: (otherlv_8= ',' ( ( ruleEString ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:602:2: (otherlv_8= ',' ( ( ruleEString ) ) )* loop9: do { int alt9=2; @@ -1388,17 +1443,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt9) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:580:4: otherlv_8= ',' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:602:4: otherlv_8= ',' ( ( ruleEString ) ) { - otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleTactic1229); + otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleTactic1262); newLeafNode(otherlv_8, grammarAccess.getTacticAccess().getCommaKeyword_5_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:584:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:585:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:606:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:607:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:585:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:586:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:607:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:608:3: ruleEString { if (current==null) { @@ -1408,7 +1463,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa newCompositeNode(grammarAccess.getTacticAccess().getInputParamsParameterCrossReference_5_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1252); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1285); ruleEString(); state._fsp--; @@ -1431,7 +1486,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } } while (true); - otherlv_10=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleTactic1266); + otherlv_10=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleTactic1299); newLeafNode(otherlv_10, grammarAccess.getTacticAccess().getRightParenthesisKeyword_5_4()); @@ -1441,26 +1496,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:603:3: (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:625:3: (otherlv_11= 'outputParam' ( ( ruleEString ) ) )? int alt11=2; int LA11_0 = input.LA(1); - if ( (LA11_0==24) ) { + if ( (LA11_0==25) ) { alt11=1; } switch (alt11) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:603:5: otherlv_11= 'outputParam' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:625:5: otherlv_11= 'outputParam' ( ( ruleEString ) ) { - otherlv_11=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleTactic1281); + otherlv_11=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleTactic1314); newLeafNode(otherlv_11, grammarAccess.getTacticAccess().getOutputParamKeyword_6_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:607:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:608:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:629:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:630:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:608:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:609:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:630:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:631:3: ruleEString { if (current==null) { @@ -1470,7 +1525,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa newCompositeNode(grammarAccess.getTacticAccess().getOutputParamParameterCrossReference_6_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1304); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleTactic1337); ruleEString(); state._fsp--; @@ -1490,20 +1545,20 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_13=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleTactic1318); + otherlv_13=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleTactic1351); newLeafNode(otherlv_13, grammarAccess.getTacticAccess().getImplementedPlanKeyword_7()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:626:1: ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:627:1: (lv_implementedPlan_14_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:648:1: ( (lv_implementedPlan_14_0= ruleAdaptationPlan ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:649:1: (lv_implementedPlan_14_0= ruleAdaptationPlan ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:627:1: (lv_implementedPlan_14_0= ruleAdaptationPlan ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:628:3: lv_implementedPlan_14_0= ruleAdaptationPlan + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:649:1: (lv_implementedPlan_14_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:650:3: lv_implementedPlan_14_0= ruleAdaptationPlan { newCompositeNode(grammarAccess.getTacticAccess().getImplementedPlanAdaptationPlanParserRuleCall_8_0()); - pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleTactic1339); + pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleTactic1372); lv_implementedPlan_14_0=ruleAdaptationPlan(); state._fsp--; @@ -1525,7 +1580,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_15=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleTactic1351); + otherlv_15=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleTactic1384); newLeafNode(otherlv_15, grammarAccess.getTacticAccess().getRightCurlyBracketKeyword_9()); @@ -1550,7 +1605,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleAction" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:656:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:678:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ; public final EObject entryRuleAction() throws RecognitionException { EObject current = null; @@ -1558,17 +1613,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:657:2: (iv_ruleAction= ruleAction EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:658:2: iv_ruleAction= ruleAction EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:679:2: (iv_ruleAction= ruleAction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:680:2: iv_ruleAction= ruleAction EOF { newCompositeNode(grammarAccess.getActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_entryRuleAction1387); + pushFollow(FollowSets000.FOLLOW_ruleAction_in_entryRuleAction1420); iv_ruleAction=ruleAction(); state._fsp--; current =iv_ruleAction; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAction1397); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAction1430); } @@ -1586,7 +1641,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAction" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:665:1: ruleAction returns [EObject current=null] : (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? otherlv_13= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_15= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:687:1: ruleAction returns [EObject current=null] : (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'operationType' ( (lv_operationType_6_0= ruleOperationType ) ) (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? otherlv_15= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_17= '}' ) ; public final EObject ruleAction() throws RecognitionException { EObject current = null; @@ -1595,39 +1650,42 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; - Token otherlv_8=null; + Token otherlv_9=null; Token otherlv_10=null; Token otherlv_12=null; - Token otherlv_13=null; + Token otherlv_14=null; Token otherlv_15=null; + Token otherlv_17=null; AntlrDatatypeRuleToken lv_id_1_0 = null; AntlrDatatypeRuleToken lv_name_4_0 = null; + AntlrDatatypeRuleToken lv_operationType_6_0 = null; + enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:668:28: ( (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? otherlv_13= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_15= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:669:1: (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? otherlv_13= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_15= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:690:28: ( (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'operationType' ( (lv_operationType_6_0= ruleOperationType ) ) (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? otherlv_15= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_17= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:691:1: (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'operationType' ( (lv_operationType_6_0= ruleOperationType ) ) (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? otherlv_15= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_17= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:669:1: (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? otherlv_13= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_15= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:669:3: otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? otherlv_13= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_15= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:691:1: (otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'operationType' ( (lv_operationType_6_0= ruleOperationType ) ) (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? otherlv_15= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_17= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:691:3: otherlv_0= 'Action' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'operationType' ( (lv_operationType_6_0= ruleOperationType ) ) (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? otherlv_15= 'referredAdaptationPoint' ( ( ruleEString ) ) otherlv_17= '}' { - otherlv_0=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleAction1434); + otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleAction1467); newLeafNode(otherlv_0, grammarAccess.getActionAccess().getActionKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:673:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:674:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:695:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:696:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:674:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:675:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:696:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:697:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getActionAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1455); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1488); lv_id_1_0=ruleEString(); state._fsp--; @@ -1649,24 +1707,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAction1467); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAction1500); newLeafNode(otherlv_2, grammarAccess.getActionAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleAction1479); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleAction1512); newLeafNode(otherlv_3, grammarAccess.getActionAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:699:1: ( (lv_name_4_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:700:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:721:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:722:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:700:1: (lv_name_4_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:701:3: lv_name_4_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:722:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:723:3: lv_name_4_0= ruleEString { newCompositeNode(grammarAccess.getActionAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1500); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1533); lv_name_4_0=ruleEString(); state._fsp--; @@ -1688,26 +1746,61 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:717:2: (otherlv_5= 'outputParam' ( ( ruleEString ) ) )? - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==24) ) { - alt12=1; - } - switch (alt12) { - case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:717:4: otherlv_5= 'outputParam' ( ( ruleEString ) ) - { - otherlv_5=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleAction1513); + otherlv_5=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleAction1545); - newLeafNode(otherlv_5, grammarAccess.getActionAccess().getOutputParamKeyword_5_0()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:721:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:722:1: ( ruleEString ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:722:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:723:3: ruleEString + newLeafNode(otherlv_5, grammarAccess.getActionAccess().getOperationTypeKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:743:1: ( (lv_operationType_6_0= ruleOperationType ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:744:1: (lv_operationType_6_0= ruleOperationType ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:744:1: (lv_operationType_6_0= ruleOperationType ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:745:3: lv_operationType_6_0= ruleOperationType + { + + newCompositeNode(grammarAccess.getActionAccess().getOperationTypeOperationTypeParserRuleCall_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleOperationType_in_ruleAction1566); + lv_operationType_6_0=ruleOperationType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getActionRule()); + } + set( + current, + "operationType", + lv_operationType_6_0, + "OperationType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:761:2: (otherlv_7= 'outputParam' ( ( ruleEString ) ) )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==25) ) { + alt12=1; + } + switch (alt12) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:761:4: otherlv_7= 'outputParam' ( ( ruleEString ) ) + { + otherlv_7=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleAction1579); + + newLeafNode(otherlv_7, grammarAccess.getActionAccess().getOutputParamKeyword_7_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:765:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:766:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:766:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:767:3: ruleEString { if (current==null) { @@ -1715,9 +1808,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_5_1_0()); + newCompositeNode(grammarAccess.getActionAccess().getOutputParamParameterCrossReference_7_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1536); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1602); ruleEString(); state._fsp--; @@ -1737,30 +1830,30 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:736:4: (otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:780:4: (otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' )? int alt14=2; int LA14_0 = input.LA(1); - if ( (LA14_0==21) ) { + if ( (LA14_0==22) ) { alt14=1; } switch (alt14) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:736:6: otherlv_7= 'inputParams' otherlv_8= '(' ( ( ruleEString ) ) (otherlv_10= ',' ( ( ruleEString ) ) )* otherlv_12= ')' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:780:6: otherlv_9= 'inputParams' otherlv_10= '(' ( ( ruleEString ) ) (otherlv_12= ',' ( ( ruleEString ) ) )* otherlv_14= ')' { - otherlv_7=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleAction1551); + otherlv_9=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleAction1617); - newLeafNode(otherlv_7, grammarAccess.getActionAccess().getInputParamsKeyword_6_0()); + newLeafNode(otherlv_9, grammarAccess.getActionAccess().getInputParamsKeyword_8_0()); - otherlv_8=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleAction1563); + otherlv_10=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleAction1629); - newLeafNode(otherlv_8, grammarAccess.getActionAccess().getLeftParenthesisKeyword_6_1()); + newLeafNode(otherlv_10, grammarAccess.getActionAccess().getLeftParenthesisKeyword_8_1()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:744:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:745:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:788:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:789:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:745:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:746:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:789:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:790:3: ruleEString { if (current==null) { @@ -1768,9 +1861,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_2_0()); + newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_2_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1586); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1652); ruleEString(); state._fsp--; @@ -1784,7 +1877,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:759:2: (otherlv_10= ',' ( ( ruleEString ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:803:2: (otherlv_12= ',' ( ( ruleEString ) ) )* loop13: do { int alt13=2; @@ -1797,17 +1890,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt13) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:759:4: otherlv_10= ',' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:803:4: otherlv_12= ',' ( ( ruleEString ) ) { - otherlv_10=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleAction1599); + otherlv_12=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleAction1665); - newLeafNode(otherlv_10, grammarAccess.getActionAccess().getCommaKeyword_6_3_0()); + newLeafNode(otherlv_12, grammarAccess.getActionAccess().getCommaKeyword_8_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:763:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:764:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:807:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:808:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:764:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:765:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:808:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:809:3: ruleEString { if (current==null) { @@ -1815,9 +1908,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_6_3_1_0()); + newCompositeNode(grammarAccess.getActionAccess().getInputParamsParameterCrossReference_8_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1622); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1688); ruleEString(); state._fsp--; @@ -1840,9 +1933,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } } while (true); - otherlv_12=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleAction1636); + otherlv_14=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleAction1702); - newLeafNode(otherlv_12, grammarAccess.getActionAccess().getRightParenthesisKeyword_6_4()); + newLeafNode(otherlv_14, grammarAccess.getActionAccess().getRightParenthesisKeyword_8_4()); } @@ -1850,15 +1943,15 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_13=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleAction1650); + otherlv_15=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleAction1716); - newLeafNode(otherlv_13, grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_7()); + newLeafNode(otherlv_15, grammarAccess.getActionAccess().getReferredAdaptationPointKeyword_9()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:786:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:787:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:830:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:831:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:787:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:788:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:831:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:832:3: ruleEString { if (current==null) { @@ -1866,9 +1959,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_8_0()); + newCompositeNode(grammarAccess.getActionAccess().getReferredAdaptationPointAdaptationPointCrossReference_10_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1673); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAction1739); ruleEString(); state._fsp--; @@ -1882,9 +1975,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_15=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAction1685); + otherlv_17=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAction1751); - newLeafNode(otherlv_15, grammarAccess.getActionAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_17, grammarAccess.getActionAccess().getRightCurlyBracketKeyword_11()); } @@ -1907,7 +2000,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleStrategy" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:813:1: entryRuleStrategy returns [EObject current=null] : iv_ruleStrategy= ruleStrategy EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:857:1: entryRuleStrategy returns [EObject current=null] : iv_ruleStrategy= ruleStrategy EOF ; public final EObject entryRuleStrategy() throws RecognitionException { EObject current = null; @@ -1915,17 +2008,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:814:2: (iv_ruleStrategy= ruleStrategy EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:815:2: iv_ruleStrategy= ruleStrategy EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:858:2: (iv_ruleStrategy= ruleStrategy EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:859:2: iv_ruleStrategy= ruleStrategy EOF { newCompositeNode(grammarAccess.getStrategyRule()); - pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_entryRuleStrategy1721); + pushFollow(FollowSets000.FOLLOW_ruleStrategy_in_entryRuleStrategy1787); iv_ruleStrategy=ruleStrategy(); state._fsp--; current =iv_ruleStrategy; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStrategy1731); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStrategy1797); } @@ -1943,7 +2036,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleStrategy" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:822:1: ruleStrategy returns [EObject current=null] : (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:866:1: ruleStrategy returns [EObject current=null] : (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) ; public final EObject ruleStrategy() throws RecognitionException { EObject current = null; @@ -1974,26 +2067,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:825:28: ( (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:826:1: (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:869:28: ( (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:870:1: (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:826:1: (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:826:3: otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:870:1: (otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:870:3: otherlv_0= 'Strategy' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'objective' ( ( ruleEString ) ) otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) otherlv_9= 'tactics' otherlv_10= '{' ( (lv_tactics_11_0= ruleWeightedTactic ) ) (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* otherlv_14= '}' otherlv_15= 'weightingFunction' ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) otherlv_17= '}' { - otherlv_0=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleStrategy1768); + otherlv_0=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleStrategy1834); newLeafNode(otherlv_0, grammarAccess.getStrategyAccess().getStrategyKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:830:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:831:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:874:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:875:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:831:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:832:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:875:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:876:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getStrategyAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1789); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1855); lv_id_1_0=ruleEString(); state._fsp--; @@ -2015,24 +2108,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStrategy1801); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStrategy1867); newLeafNode(otherlv_2, grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleStrategy1813); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleStrategy1879); newLeafNode(otherlv_3, grammarAccess.getStrategyAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:856:1: ( (lv_name_4_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:857:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:900:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:901:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:857:1: (lv_name_4_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:858:3: lv_name_4_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:901:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:902:3: lv_name_4_0= ruleEString { newCompositeNode(grammarAccess.getStrategyAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1834); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1900); lv_name_4_0=ruleEString(); state._fsp--; @@ -2054,15 +2147,15 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_5=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleStrategy1846); + otherlv_5=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleStrategy1912); newLeafNode(otherlv_5, grammarAccess.getStrategyAccess().getObjectiveKeyword_5()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:878:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:879:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:922:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:923:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:879:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:880:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:923:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:924:3: ruleEString { if (current==null) { @@ -2072,7 +2165,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa newCompositeNode(grammarAccess.getStrategyAccess().getObjectiveObjectiveCrossReference_6_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1869); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStrategy1935); ruleEString(); state._fsp--; @@ -2086,76 +2179,59 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:893:2: (otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) )? - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==30) ) { - alt15=1; - } - switch (alt15) { - case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:893:4: otherlv_7= 'triggeringEvents' ( (lv_triggeringEvents_8_0= ruleEvent ) ) - { - otherlv_7=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleStrategy1882); - - newLeafNode(otherlv_7, grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7_0()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:897:1: ( (lv_triggeringEvents_8_0= ruleEvent ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:898:1: (lv_triggeringEvents_8_0= ruleEvent ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:898:1: (lv_triggeringEvents_8_0= ruleEvent ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:899:3: lv_triggeringEvents_8_0= ruleEvent - { - - newCompositeNode(grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_7_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEvent_in_ruleStrategy1903); - lv_triggeringEvents_8_0=ruleEvent(); - - state._fsp--; - + otherlv_7=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleStrategy1947); - if (current==null) { - current = createModelElementForParent(grammarAccess.getStrategyRule()); - } - set( - current, - "triggeringEvents", - lv_triggeringEvents_8_0, - "Event"); - afterParserOrEnumRuleCall(); - + newLeafNode(otherlv_7, grammarAccess.getStrategyAccess().getTriggeringEventsKeyword_7()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:941:1: ( (lv_triggeringEvents_8_0= ruleEvent ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:942:1: (lv_triggeringEvents_8_0= ruleEvent ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:942:1: (lv_triggeringEvents_8_0= ruleEvent ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:943:3: lv_triggeringEvents_8_0= ruleEvent + { + + newCompositeNode(grammarAccess.getStrategyAccess().getTriggeringEventsEventParserRuleCall_8_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEvent_in_ruleStrategy1968); + lv_triggeringEvents_8_0=ruleEvent(); - } + state._fsp--; - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getStrategyRule()); + } + set( + current, + "triggeringEvents", + lv_triggeringEvents_8_0, + "Event"); + afterParserOrEnumRuleCall(); + + } - } - break; } - otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleStrategy1917); + otherlv_9=(Token)match(input,14,FollowSets000.FOLLOW_14_in_ruleStrategy1980); - newLeafNode(otherlv_9, grammarAccess.getStrategyAccess().getTacticsKeyword_8()); + newLeafNode(otherlv_9, grammarAccess.getStrategyAccess().getTacticsKeyword_9()); - otherlv_10=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStrategy1929); + otherlv_10=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStrategy1992); - newLeafNode(otherlv_10, grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_9()); + newLeafNode(otherlv_10, grammarAccess.getStrategyAccess().getLeftCurlyBracketKeyword_10()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:923:1: ( (lv_tactics_11_0= ruleWeightedTactic ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:924:1: (lv_tactics_11_0= ruleWeightedTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:967:1: ( (lv_tactics_11_0= ruleWeightedTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:968:1: (lv_tactics_11_0= ruleWeightedTactic ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:924:1: (lv_tactics_11_0= ruleWeightedTactic ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:925:3: lv_tactics_11_0= ruleWeightedTactic + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:968:1: (lv_tactics_11_0= ruleWeightedTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:969:3: lv_tactics_11_0= ruleWeightedTactic { - newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_10_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_0()); - pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_ruleStrategy1950); + pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_ruleStrategy2013); lv_tactics_11_0=ruleWeightedTactic(); state._fsp--; @@ -2177,35 +2253,35 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:941:2: (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* - loop16: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:985:2: (otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) )* + loop15: do { - int alt16=2; - int LA16_0 = input.LA(1); + int alt15=2; + int LA15_0 = input.LA(1); - if ( (LA16_0==15) ) { - alt16=1; + if ( (LA15_0==15) ) { + alt15=1; } - switch (alt16) { + switch (alt15) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:941:4: otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:985:4: otherlv_12= ',' ( (lv_tactics_13_0= ruleWeightedTactic ) ) { - otherlv_12=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStrategy1963); + otherlv_12=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleStrategy2026); - newLeafNode(otherlv_12, grammarAccess.getStrategyAccess().getCommaKeyword_11_0()); + newLeafNode(otherlv_12, grammarAccess.getStrategyAccess().getCommaKeyword_12_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:945:1: ( (lv_tactics_13_0= ruleWeightedTactic ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:946:1: (lv_tactics_13_0= ruleWeightedTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:989:1: ( (lv_tactics_13_0= ruleWeightedTactic ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:990:1: (lv_tactics_13_0= ruleWeightedTactic ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:946:1: (lv_tactics_13_0= ruleWeightedTactic ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:947:3: lv_tactics_13_0= ruleWeightedTactic + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:990:1: (lv_tactics_13_0= ruleWeightedTactic ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:991:3: lv_tactics_13_0= ruleWeightedTactic { - newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_11_1_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getTacticsWeightedTacticParserRuleCall_12_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_ruleStrategy1984); + pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_ruleStrategy2047); lv_tactics_13_0=ruleWeightedTactic(); state._fsp--; @@ -2232,28 +2308,28 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa break; default : - break loop16; + break loop15; } } while (true); - otherlv_14=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStrategy1998); + otherlv_14=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStrategy2061); - newLeafNode(otherlv_14, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_12()); + newLeafNode(otherlv_14, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_13()); - otherlv_15=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleStrategy2010); + otherlv_15=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleStrategy2073); - newLeafNode(otherlv_15, grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_13()); + newLeafNode(otherlv_15, grammarAccess.getStrategyAccess().getWeightingFunctionKeyword_14()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:971:1: ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:972:1: (lv_weightingFunction_16_0= ruleWeightingFunction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1015:1: ( (lv_weightingFunction_16_0= ruleWeightingFunction ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1016:1: (lv_weightingFunction_16_0= ruleWeightingFunction ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:972:1: (lv_weightingFunction_16_0= ruleWeightingFunction ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:973:3: lv_weightingFunction_16_0= ruleWeightingFunction + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1016:1: (lv_weightingFunction_16_0= ruleWeightingFunction ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1017:3: lv_weightingFunction_16_0= ruleWeightingFunction { - newCompositeNode(grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_14_0()); + newCompositeNode(grammarAccess.getStrategyAccess().getWeightingFunctionWeightingFunctionParserRuleCall_15_0()); - pushFollow(FollowSets000.FOLLOW_ruleWeightingFunction_in_ruleStrategy2031); + pushFollow(FollowSets000.FOLLOW_ruleWeightingFunction_in_ruleStrategy2094); lv_weightingFunction_16_0=ruleWeightingFunction(); state._fsp--; @@ -2275,9 +2351,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_17=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStrategy2043); + otherlv_17=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStrategy2106); - newLeafNode(otherlv_17, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_15()); + newLeafNode(otherlv_17, grammarAccess.getStrategyAccess().getRightCurlyBracketKeyword_16()); } @@ -2300,7 +2376,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleParameter" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1001:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1045:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; public final EObject entryRuleParameter() throws RecognitionException { EObject current = null; @@ -2308,17 +2384,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1002:2: (iv_ruleParameter= ruleParameter EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1003:2: iv_ruleParameter= ruleParameter EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1046:2: (iv_ruleParameter= ruleParameter EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1047:2: iv_ruleParameter= ruleParameter EOF { newCompositeNode(grammarAccess.getParameterRule()); - pushFollow(FollowSets000.FOLLOW_ruleParameter_in_entryRuleParameter2079); + pushFollow(FollowSets000.FOLLOW_ruleParameter_in_entryRuleParameter2142); iv_ruleParameter=ruleParameter(); state._fsp--; current =iv_ruleParameter; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleParameter2089); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleParameter2152); } @@ -2336,7 +2412,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleParameter" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1010:1: ruleParameter returns [EObject current=null] : (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1054:1: ruleParameter returns [EObject current=null] : (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) ; public final EObject ruleParameter() throws RecognitionException { EObject current = null; @@ -2352,26 +2428,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1013:28: ( (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1014:1: (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1057:28: ( (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1058:1: (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1014:1: (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1014:3: otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1058:1: (otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1058:3: otherlv_0= 'Parameter' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_type_4_0= ruleEString ) ) otherlv_5= '}' { - otherlv_0=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleParameter2126); + otherlv_0=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleParameter2189); newLeafNode(otherlv_0, grammarAccess.getParameterAccess().getParameterKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1018:1: ( (lv_name_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1019:1: (lv_name_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1062:1: ( (lv_name_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1063:1: (lv_name_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1019:1: (lv_name_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1020:3: lv_name_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1063:1: (lv_name_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1064:3: lv_name_1_0= ruleEString { newCompositeNode(grammarAccess.getParameterAccess().getNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleParameter2147); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleParameter2210); lv_name_1_0=ruleEString(); state._fsp--; @@ -2393,24 +2469,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleParameter2159); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleParameter2222); newLeafNode(otherlv_2, grammarAccess.getParameterAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleParameter2171); + otherlv_3=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleParameter2234); newLeafNode(otherlv_3, grammarAccess.getParameterAccess().getTypeKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1044:1: ( (lv_type_4_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1045:1: (lv_type_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1088:1: ( (lv_type_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1089:1: (lv_type_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1045:1: (lv_type_4_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1046:3: lv_type_4_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1089:1: (lv_type_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1090:3: lv_type_4_0= ruleEString { newCompositeNode(grammarAccess.getParameterAccess().getTypeEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleParameter2192); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleParameter2255); lv_type_4_0=ruleEString(); state._fsp--; @@ -2432,7 +2508,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_5=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleParameter2204); + otherlv_5=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleParameter2267); newLeafNode(otherlv_5, grammarAccess.getParameterAccess().getRightCurlyBracketKeyword_5()); @@ -2456,8 +2532,242 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR end "ruleParameter" + // $ANTLR start "entryRuleOverallGoal" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1118:1: entryRuleOverallGoal returns [EObject current=null] : iv_ruleOverallGoal= ruleOverallGoal EOF ; + public final EObject entryRuleOverallGoal() throws RecognitionException { + EObject current = null; + + EObject iv_ruleOverallGoal = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1119:2: (iv_ruleOverallGoal= ruleOverallGoal EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1120:2: iv_ruleOverallGoal= ruleOverallGoal EOF + { + newCompositeNode(grammarAccess.getOverallGoalRule()); + pushFollow(FollowSets000.FOLLOW_ruleOverallGoal_in_entryRuleOverallGoal2303); + iv_ruleOverallGoal=ruleOverallGoal(); + + state._fsp--; + + current =iv_ruleOverallGoal; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOverallGoal2313); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOverallGoal" + + + // $ANTLR start "ruleOverallGoal" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1127:1: ruleOverallGoal returns [EObject current=null] : (otherlv_0= 'OverallGoal' otherlv_1= '{' otherlv_2= 'description' ( (lv_description_3_0= ruleEString ) ) otherlv_4= 'objectives' otherlv_5= '{' ( (lv_objectives_6_0= ruleObjective ) ) (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* otherlv_9= '}' otherlv_10= '}' ) ; + public final EObject ruleOverallGoal() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_10=null; + AntlrDatatypeRuleToken lv_description_3_0 = null; + + EObject lv_objectives_6_0 = null; + + EObject lv_objectives_8_0 = null; + + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1130:28: ( (otherlv_0= 'OverallGoal' otherlv_1= '{' otherlv_2= 'description' ( (lv_description_3_0= ruleEString ) ) otherlv_4= 'objectives' otherlv_5= '{' ( (lv_objectives_6_0= ruleObjective ) ) (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* otherlv_9= '}' otherlv_10= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1131:1: (otherlv_0= 'OverallGoal' otherlv_1= '{' otherlv_2= 'description' ( (lv_description_3_0= ruleEString ) ) otherlv_4= 'objectives' otherlv_5= '{' ( (lv_objectives_6_0= ruleObjective ) ) (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* otherlv_9= '}' otherlv_10= '}' ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1131:1: (otherlv_0= 'OverallGoal' otherlv_1= '{' otherlv_2= 'description' ( (lv_description_3_0= ruleEString ) ) otherlv_4= 'objectives' otherlv_5= '{' ( (lv_objectives_6_0= ruleObjective ) ) (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* otherlv_9= '}' otherlv_10= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1131:3: otherlv_0= 'OverallGoal' otherlv_1= '{' otherlv_2= 'description' ( (lv_description_3_0= ruleEString ) ) otherlv_4= 'objectives' otherlv_5= '{' ( (lv_objectives_6_0= ruleObjective ) ) (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* otherlv_9= '}' otherlv_10= '}' + { + otherlv_0=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleOverallGoal2350); + + newLeafNode(otherlv_0, grammarAccess.getOverallGoalAccess().getOverallGoalKeyword_0()); + + otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleOverallGoal2362); + + newLeafNode(otherlv_1, grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_1()); + + otherlv_2=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleOverallGoal2374); + + newLeafNode(otherlv_2, grammarAccess.getOverallGoalAccess().getDescriptionKeyword_2()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1143:1: ( (lv_description_3_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1144:1: (lv_description_3_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1144:1: (lv_description_3_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1145:3: lv_description_3_0= ruleEString + { + + newCompositeNode(grammarAccess.getOverallGoalAccess().getDescriptionEStringParserRuleCall_3_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleOverallGoal2395); + lv_description_3_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + set( + current, + "description", + lv_description_3_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_4=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleOverallGoal2407); + + newLeafNode(otherlv_4, grammarAccess.getOverallGoalAccess().getObjectivesKeyword_4()); + + otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleOverallGoal2419); + + newLeafNode(otherlv_5, grammarAccess.getOverallGoalAccess().getLeftCurlyBracketKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1169:1: ( (lv_objectives_6_0= ruleObjective ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1170:1: (lv_objectives_6_0= ruleObjective ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1170:1: (lv_objectives_6_0= ruleObjective ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1171:3: lv_objectives_6_0= ruleObjective + { + + newCompositeNode(grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleObjective_in_ruleOverallGoal2440); + lv_objectives_6_0=ruleObjective(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + add( + current, + "objectives", + lv_objectives_6_0, + "Objective"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1187:2: (otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==15) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1187:4: otherlv_7= ',' ( (lv_objectives_8_0= ruleObjective ) ) + { + otherlv_7=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleOverallGoal2453); + + newLeafNode(otherlv_7, grammarAccess.getOverallGoalAccess().getCommaKeyword_7_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1191:1: ( (lv_objectives_8_0= ruleObjective ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1192:1: (lv_objectives_8_0= ruleObjective ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1192:1: (lv_objectives_8_0= ruleObjective ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1193:3: lv_objectives_8_0= ruleObjective + { + + newCompositeNode(grammarAccess.getOverallGoalAccess().getObjectivesObjectiveParserRuleCall_7_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleObjective_in_ruleOverallGoal2474); + lv_objectives_8_0=ruleObjective(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOverallGoalRule()); + } + add( + current, + "objectives", + lv_objectives_8_0, + "Objective"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop16; + } + } while (true); + + otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleOverallGoal2488); + + newLeafNode(otherlv_9, grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_8()); + + otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleOverallGoal2500); + + newLeafNode(otherlv_10, grammarAccess.getOverallGoalAccess().getRightCurlyBracketKeyword_9()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOverallGoal" + + // $ANTLR start "entryRuleAdaptationPlan" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1074:1: entryRuleAdaptationPlan returns [EObject current=null] : iv_ruleAdaptationPlan= ruleAdaptationPlan EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1225:1: entryRuleAdaptationPlan returns [EObject current=null] : iv_ruleAdaptationPlan= ruleAdaptationPlan EOF ; public final EObject entryRuleAdaptationPlan() throws RecognitionException { EObject current = null; @@ -2465,17 +2775,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1075:2: (iv_ruleAdaptationPlan= ruleAdaptationPlan EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1076:2: iv_ruleAdaptationPlan= ruleAdaptationPlan EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1226:2: (iv_ruleAdaptationPlan= ruleAdaptationPlan EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1227:2: iv_ruleAdaptationPlan= ruleAdaptationPlan EOF { newCompositeNode(grammarAccess.getAdaptationPlanRule()); - pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_entryRuleAdaptationPlan2240); + pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_entryRuleAdaptationPlan2536); iv_ruleAdaptationPlan=ruleAdaptationPlan(); state._fsp--; current =iv_ruleAdaptationPlan; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAdaptationPlan2250); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAdaptationPlan2546); } @@ -2493,7 +2803,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAdaptationPlan" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1083:1: ruleAdaptationPlan returns [EObject current=null] : (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1234:1: ruleAdaptationPlan returns [EObject current=null] : (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) ; public final EObject ruleAdaptationPlan() throws RecognitionException { EObject current = null; @@ -2517,26 +2827,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1086:28: ( (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1087:1: (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1237:28: ( (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1238:1: (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1087:1: (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1087:3: otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1238:1: (otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1238:3: otherlv_0= 'AdaptationPlan' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? otherlv_11= '}' { - otherlv_0=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleAdaptationPlan2287); + otherlv_0=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleAdaptationPlan2583); newLeafNode(otherlv_0, grammarAccess.getAdaptationPlanAccess().getAdaptationPlanKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1091:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1092:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1242:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1243:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1092:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1093:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1243:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1244:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getAdaptationPlanAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdaptationPlan2308); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdaptationPlan2604); lv_id_1_0=ruleEString(); state._fsp--; @@ -2558,24 +2868,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAdaptationPlan2320); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAdaptationPlan2616); newLeafNode(otherlv_2, grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleAdaptationPlan2332); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleAdaptationPlan2628); newLeafNode(otherlv_3, grammarAccess.getAdaptationPlanAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1117:1: ( (lv_name_4_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1118:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1268:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1269:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1118:1: (lv_name_4_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1119:3: lv_name_4_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1269:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1270:3: lv_name_4_0= ruleEString { newCompositeNode(grammarAccess.getAdaptationPlanAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdaptationPlan2353); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdaptationPlan2649); lv_name_4_0=ruleEString(); state._fsp--; @@ -2597,35 +2907,35 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1135:2: (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1286:2: (otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' )? int alt18=2; int LA18_0 = input.LA(1); - if ( (LA18_0==35) ) { + if ( (LA18_0==40) ) { alt18=1; } switch (alt18) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1135:4: otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1286:4: otherlv_5= 'steps' otherlv_6= '{' ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* otherlv_10= '}' { - otherlv_5=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleAdaptationPlan2366); + otherlv_5=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleAdaptationPlan2662); newLeafNode(otherlv_5, grammarAccess.getAdaptationPlanAccess().getStepsKeyword_5_0()); - otherlv_6=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAdaptationPlan2378); + otherlv_6=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleAdaptationPlan2674); newLeafNode(otherlv_6, grammarAccess.getAdaptationPlanAccess().getLeftCurlyBracketKeyword_5_1()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1143:1: ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1144:1: (lv_steps_7_0= ruleAbstractControlFlowElement ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1294:1: ( (lv_steps_7_0= ruleAbstractControlFlowElement ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1295:1: (lv_steps_7_0= ruleAbstractControlFlowElement ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1144:1: (lv_steps_7_0= ruleAbstractControlFlowElement ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1145:3: lv_steps_7_0= ruleAbstractControlFlowElement + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1295:1: (lv_steps_7_0= ruleAbstractControlFlowElement ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1296:3: lv_steps_7_0= ruleAbstractControlFlowElement { newCompositeNode(grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_2_0()); - pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2399); + pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2695); lv_steps_7_0=ruleAbstractControlFlowElement(); state._fsp--; @@ -2647,7 +2957,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1161:2: (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1312:2: (otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) )* loop17: do { int alt17=2; @@ -2660,22 +2970,22 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt17) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1161:4: otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1312:4: otherlv_8= ',' ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) { - otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleAdaptationPlan2412); + otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleAdaptationPlan2708); newLeafNode(otherlv_8, grammarAccess.getAdaptationPlanAccess().getCommaKeyword_5_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1165:1: ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1166:1: (lv_steps_9_0= ruleAbstractControlFlowElement ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1316:1: ( (lv_steps_9_0= ruleAbstractControlFlowElement ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1317:1: (lv_steps_9_0= ruleAbstractControlFlowElement ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1166:1: (lv_steps_9_0= ruleAbstractControlFlowElement ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1167:3: lv_steps_9_0= ruleAbstractControlFlowElement + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1317:1: (lv_steps_9_0= ruleAbstractControlFlowElement ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1318:3: lv_steps_9_0= ruleAbstractControlFlowElement { newCompositeNode(grammarAccess.getAdaptationPlanAccess().getStepsAbstractControlFlowElementParserRuleCall_5_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2433); + pushFollow(FollowSets000.FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2729); lv_steps_9_0=ruleAbstractControlFlowElement(); state._fsp--; @@ -2706,7 +3016,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } } while (true); - otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAdaptationPlan2447); + otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAdaptationPlan2743); newLeafNode(otherlv_10, grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_5_4()); @@ -2716,7 +3026,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_11=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAdaptationPlan2461); + otherlv_11=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAdaptationPlan2757); newLeafNode(otherlv_11, grammarAccess.getAdaptationPlanAccess().getRightCurlyBracketKeyword_6()); @@ -2740,26 +3050,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR end "ruleAdaptationPlan" - // $ANTLR start "entryRuleStart" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1199:1: entryRuleStart returns [EObject current=null] : iv_ruleStart= ruleStart EOF ; - public final EObject entryRuleStart() throws RecognitionException { + // $ANTLR start "entryRuleStartAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1350:1: entryRuleStartAction returns [EObject current=null] : iv_ruleStartAction= ruleStartAction EOF ; + public final EObject entryRuleStartAction() throws RecognitionException { EObject current = null; - EObject iv_ruleStart = null; + EObject iv_ruleStartAction = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1200:2: (iv_ruleStart= ruleStart EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1201:2: iv_ruleStart= ruleStart EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1351:2: (iv_ruleStartAction= ruleStartAction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1352:2: iv_ruleStartAction= ruleStartAction EOF { - newCompositeNode(grammarAccess.getStartRule()); - pushFollow(FollowSets000.FOLLOW_ruleStart_in_entryRuleStart2497); - iv_ruleStart=ruleStart(); + newCompositeNode(grammarAccess.getStartActionRule()); + pushFollow(FollowSets000.FOLLOW_ruleStartAction_in_entryRuleStartAction2793); + iv_ruleStartAction=ruleStartAction(); state._fsp--; - current =iv_ruleStart; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStart2507); + current =iv_ruleStartAction; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStartAction2803); } @@ -2773,78 +3083,111 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleStart" + // $ANTLR end "entryRuleStartAction" - // $ANTLR start "ruleStart" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1208:1: ruleStart returns [EObject current=null] : ( () otherlv_1= 'Start' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) ; - public final EObject ruleStart() throws RecognitionException { + // $ANTLR start "ruleStartAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1359:1: ruleStartAction returns [EObject current=null] : ( () otherlv_1= 'StartAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) ; + public final EObject ruleStartAction() throws RecognitionException { EObject current = null; Token otherlv_1=null; - Token otherlv_2=null; Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_8=null; + AntlrDatatypeRuleToken lv_id_2_0 = null; + enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1211:28: ( ( () otherlv_1= 'Start' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1212:1: ( () otherlv_1= 'Start' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1362:28: ( ( () otherlv_1= 'StartAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1363:1: ( () otherlv_1= 'StartAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1212:1: ( () otherlv_1= 'Start' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1212:2: () otherlv_1= 'Start' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1363:1: ( () otherlv_1= 'StartAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1363:2: () otherlv_1= 'StartAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1212:2: () - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1213:5: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1363:2: () + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1364:5: { current = forceCreateModelElement( - grammarAccess.getStartAccess().getStartActionAction_0(), + grammarAccess.getStartActionAccess().getStartActionAction_0(), current); } - otherlv_1=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleStart2553); + otherlv_1=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleStartAction2849); - newLeafNode(otherlv_1, grammarAccess.getStartAccess().getStartKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getStartActionAccess().getStartActionKeyword_1()); - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStart2565); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1373:1: ( (lv_id_2_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1374:1: (lv_id_2_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1374:1: (lv_id_2_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1375:3: lv_id_2_0= ruleEString + { + + newCompositeNode(grammarAccess.getStartActionAccess().getIdEStringParserRuleCall_2_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStartAction2870); + lv_id_2_0=ruleEString(); - newLeafNode(otherlv_2, grammarAccess.getStartAccess().getLeftCurlyBracketKeyword_2()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1226:1: (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? - int alt19=2; - int LA19_0 = input.LA(1); + state._fsp--; - if ( (LA19_0==37) ) { - alt19=1; - } - switch (alt19) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStartActionRule()); + } + set( + current, + "id", + lv_id_2_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_3=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStartAction2882); + + newLeafNode(otherlv_3, grammarAccess.getStartActionAccess().getLeftCurlyBracketKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1395:1: (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==42) ) { + alt19=1; + } + switch (alt19) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1226:3: otherlv_3= 'predecessor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1395:3: otherlv_4= 'predecessor' ( ( ruleEString ) ) { - otherlv_3=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleStart2578); + otherlv_4=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleStartAction2895); - newLeafNode(otherlv_3, grammarAccess.getStartAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_4, grammarAccess.getStartActionAccess().getPredecessorKeyword_4_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1230:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1231:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1399:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1400:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1231:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1232:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1400:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1401:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getStartRule()); + current = createModelElement(grammarAccess.getStartActionRule()); } - newCompositeNode(grammarAccess.getStartAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getStartActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStart2601); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStartAction2918); ruleEString(); state._fsp--; @@ -2864,36 +3207,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1245:4: (otherlv_5= 'successor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1414:4: (otherlv_6= 'successor' ( ( ruleEString ) ) )? int alt20=2; int LA20_0 = input.LA(1); - if ( (LA20_0==38) ) { + if ( (LA20_0==43) ) { alt20=1; } switch (alt20) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1245:6: otherlv_5= 'successor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1414:6: otherlv_6= 'successor' ( ( ruleEString ) ) { - otherlv_5=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleStart2616); + otherlv_6=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleStartAction2933); - newLeafNode(otherlv_5, grammarAccess.getStartAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_6, grammarAccess.getStartActionAccess().getSuccessorKeyword_5_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1249:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1250:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1418:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1419:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1250:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1251:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1419:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1420:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getStartRule()); + current = createModelElement(grammarAccess.getStartActionRule()); } - newCompositeNode(grammarAccess.getStartAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getStartActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStart2639); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStartAction2956); ruleEString(); state._fsp--; @@ -2913,9 +3256,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStart2653); + otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStartAction2970); - newLeafNode(otherlv_7, grammarAccess.getStartAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_8, grammarAccess.getStartActionAccess().getRightCurlyBracketKeyword_6()); } @@ -2934,29 +3277,29 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleStart" + // $ANTLR end "ruleStartAction" - // $ANTLR start "entryRuleStop" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1276:1: entryRuleStop returns [EObject current=null] : iv_ruleStop= ruleStop EOF ; - public final EObject entryRuleStop() throws RecognitionException { + // $ANTLR start "entryRuleStopAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1445:1: entryRuleStopAction returns [EObject current=null] : iv_ruleStopAction= ruleStopAction EOF ; + public final EObject entryRuleStopAction() throws RecognitionException { EObject current = null; - EObject iv_ruleStop = null; + EObject iv_ruleStopAction = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1277:2: (iv_ruleStop= ruleStop EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1278:2: iv_ruleStop= ruleStop EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1446:2: (iv_ruleStopAction= ruleStopAction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1447:2: iv_ruleStopAction= ruleStopAction EOF { - newCompositeNode(grammarAccess.getStopRule()); - pushFollow(FollowSets000.FOLLOW_ruleStop_in_entryRuleStop2689); - iv_ruleStop=ruleStop(); + newCompositeNode(grammarAccess.getStopActionRule()); + pushFollow(FollowSets000.FOLLOW_ruleStopAction_in_entryRuleStopAction3006); + iv_ruleStopAction=ruleStopAction(); state._fsp--; - current =iv_ruleStop; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStop2699); + current =iv_ruleStopAction; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStopAction3016); } @@ -2970,78 +3313,111 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleStop" + // $ANTLR end "entryRuleStopAction" - // $ANTLR start "ruleStop" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1285:1: ruleStop returns [EObject current=null] : ( () otherlv_1= 'Stop' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) ; - public final EObject ruleStop() throws RecognitionException { + // $ANTLR start "ruleStopAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1454:1: ruleStopAction returns [EObject current=null] : ( () otherlv_1= 'StopAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) ; + public final EObject ruleStopAction() throws RecognitionException { EObject current = null; Token otherlv_1=null; - Token otherlv_2=null; Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_8=null; + AntlrDatatypeRuleToken lv_id_2_0 = null; + enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1288:28: ( ( () otherlv_1= 'Stop' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1289:1: ( () otherlv_1= 'Stop' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1457:28: ( ( () otherlv_1= 'StopAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1458:1: ( () otherlv_1= 'StopAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1289:1: ( () otherlv_1= 'Stop' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1289:2: () otherlv_1= 'Stop' otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1458:1: ( () otherlv_1= 'StopAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1458:2: () otherlv_1= 'StopAction' ( (lv_id_2_0= ruleEString ) ) otherlv_3= '{' (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= '}' { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1289:2: () - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1290:5: + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1458:2: () + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1459:5: { current = forceCreateModelElement( - grammarAccess.getStopAccess().getStopActionAction_0(), + grammarAccess.getStopActionAccess().getStopActionAction_0(), current); } - otherlv_1=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleStop2745); + otherlv_1=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleStopAction3062); - newLeafNode(otherlv_1, grammarAccess.getStopAccess().getStopKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getStopActionAccess().getStopActionKeyword_1()); - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStop2757); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1468:1: ( (lv_id_2_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1469:1: (lv_id_2_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1469:1: (lv_id_2_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1470:3: lv_id_2_0= ruleEString + { + + newCompositeNode(grammarAccess.getStopActionAccess().getIdEStringParserRuleCall_2_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStopAction3083); + lv_id_2_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStopActionRule()); + } + set( + current, + "id", + lv_id_2_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } - newLeafNode(otherlv_2, grammarAccess.getStopAccess().getLeftCurlyBracketKeyword_2()); + + } + + otherlv_3=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleStopAction3095); + + newLeafNode(otherlv_3, grammarAccess.getStopActionAccess().getLeftCurlyBracketKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1303:1: (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1490:1: (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? int alt21=2; int LA21_0 = input.LA(1); - if ( (LA21_0==37) ) { + if ( (LA21_0==42) ) { alt21=1; } switch (alt21) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1303:3: otherlv_3= 'predecessor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1490:3: otherlv_4= 'predecessor' ( ( ruleEString ) ) { - otherlv_3=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleStop2770); + otherlv_4=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleStopAction3108); - newLeafNode(otherlv_3, grammarAccess.getStopAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_4, grammarAccess.getStopActionAccess().getPredecessorKeyword_4_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1307:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1308:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1494:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1495:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1308:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1309:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1495:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1496:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getStopRule()); + current = createModelElement(grammarAccess.getStopActionRule()); } - newCompositeNode(grammarAccess.getStopAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getStopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStop2793); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStopAction3131); ruleEString(); state._fsp--; @@ -3061,36 +3437,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1322:4: (otherlv_5= 'successor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1509:4: (otherlv_6= 'successor' ( ( ruleEString ) ) )? int alt22=2; int LA22_0 = input.LA(1); - if ( (LA22_0==38) ) { + if ( (LA22_0==43) ) { alt22=1; } switch (alt22) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1322:6: otherlv_5= 'successor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1509:6: otherlv_6= 'successor' ( ( ruleEString ) ) { - otherlv_5=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleStop2808); + otherlv_6=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleStopAction3146); - newLeafNode(otherlv_5, grammarAccess.getStopAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_6, grammarAccess.getStopActionAccess().getSuccessorKeyword_5_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1326:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1327:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1513:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1514:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1327:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1328:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1514:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1515:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getStopRule()); + current = createModelElement(grammarAccess.getStopActionRule()); } - newCompositeNode(grammarAccess.getStopAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getStopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStop2831); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleStopAction3169); ruleEString(); state._fsp--; @@ -3110,9 +3486,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStop2845); + otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleStopAction3183); - newLeafNode(otherlv_7, grammarAccess.getStopAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_8, grammarAccess.getStopActionAccess().getRightCurlyBracketKeyword_6()); } @@ -3131,29 +3507,29 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleStop" + // $ANTLR end "ruleStopAction" - // $ANTLR start "entryRuleLoop" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1353:1: entryRuleLoop returns [EObject current=null] : iv_ruleLoop= ruleLoop EOF ; - public final EObject entryRuleLoop() throws RecognitionException { + // $ANTLR start "entryRuleLoopAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1540:1: entryRuleLoopAction returns [EObject current=null] : iv_ruleLoopAction= ruleLoopAction EOF ; + public final EObject entryRuleLoopAction() throws RecognitionException { EObject current = null; - EObject iv_ruleLoop = null; + EObject iv_ruleLoopAction = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1354:2: (iv_ruleLoop= ruleLoop EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1355:2: iv_ruleLoop= ruleLoop EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1541:2: (iv_ruleLoopAction= ruleLoopAction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1542:2: iv_ruleLoopAction= ruleLoopAction EOF { - newCompositeNode(grammarAccess.getLoopRule()); - pushFollow(FollowSets000.FOLLOW_ruleLoop_in_entryRuleLoop2881); - iv_ruleLoop=ruleLoop(); + newCompositeNode(grammarAccess.getLoopActionRule()); + pushFollow(FollowSets000.FOLLOW_ruleLoopAction_in_entryRuleLoopAction3219); + iv_ruleLoopAction=ruleLoopAction(); state._fsp--; - current =iv_ruleLoop; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLoop2891); + current =iv_ruleLoopAction; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLoopAction3229); } @@ -3167,69 +3543,102 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleLoop" + // $ANTLR end "entryRuleLoopAction" - // $ANTLR start "ruleLoop" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1362:1: ruleLoop returns [EObject current=null] : (otherlv_0= 'LoopAction' otherlv_1= '{' otherlv_2= 'counter' ( (lv_counter_3_0= ruleEInt ) ) (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'body' ( (lv_body_9_0= ruleAdaptationPlan ) ) otherlv_10= '}' ) ; - public final EObject ruleLoop() throws RecognitionException { + // $ANTLR start "ruleLoopAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1549:1: ruleLoopAction returns [EObject current=null] : (otherlv_0= 'LoopAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'counter' ( (lv_counter_4_0= ruleEInt ) ) (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'body' ( (lv_body_10_0= ruleAdaptationPlan ) ) otherlv_11= '}' ) ; + public final EObject ruleLoopAction() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_8=null; - Token otherlv_10=null; - AntlrDatatypeRuleToken lv_counter_3_0 = null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_11=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_counter_4_0 = null; - EObject lv_body_9_0 = null; + EObject lv_body_10_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1365:28: ( (otherlv_0= 'LoopAction' otherlv_1= '{' otherlv_2= 'counter' ( (lv_counter_3_0= ruleEInt ) ) (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'body' ( (lv_body_9_0= ruleAdaptationPlan ) ) otherlv_10= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1366:1: (otherlv_0= 'LoopAction' otherlv_1= '{' otherlv_2= 'counter' ( (lv_counter_3_0= ruleEInt ) ) (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'body' ( (lv_body_9_0= ruleAdaptationPlan ) ) otherlv_10= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1552:28: ( (otherlv_0= 'LoopAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'counter' ( (lv_counter_4_0= ruleEInt ) ) (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'body' ( (lv_body_10_0= ruleAdaptationPlan ) ) otherlv_11= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1553:1: (otherlv_0= 'LoopAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'counter' ( (lv_counter_4_0= ruleEInt ) ) (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'body' ( (lv_body_10_0= ruleAdaptationPlan ) ) otherlv_11= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1366:1: (otherlv_0= 'LoopAction' otherlv_1= '{' otherlv_2= 'counter' ( (lv_counter_3_0= ruleEInt ) ) (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'body' ( (lv_body_9_0= ruleAdaptationPlan ) ) otherlv_10= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1366:3: otherlv_0= 'LoopAction' otherlv_1= '{' otherlv_2= 'counter' ( (lv_counter_3_0= ruleEInt ) ) (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'body' ( (lv_body_9_0= ruleAdaptationPlan ) ) otherlv_10= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1553:1: (otherlv_0= 'LoopAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'counter' ( (lv_counter_4_0= ruleEInt ) ) (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'body' ( (lv_body_10_0= ruleAdaptationPlan ) ) otherlv_11= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1553:3: otherlv_0= 'LoopAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'counter' ( (lv_counter_4_0= ruleEInt ) ) (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'body' ( (lv_body_10_0= ruleAdaptationPlan ) ) otherlv_11= '}' { - otherlv_0=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleLoop2928); + otherlv_0=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleLoopAction3266); - newLeafNode(otherlv_0, grammarAccess.getLoopAccess().getLoopActionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLoopActionAccess().getLoopActionKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleLoop2940); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1557:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1558:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1558:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1559:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getLoopActionAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleLoopAction3287); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getLoopActionRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleLoopAction3299); - newLeafNode(otherlv_1, grammarAccess.getLoopAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getLoopActionAccess().getLeftCurlyBracketKeyword_2()); - otherlv_2=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleLoop2952); + otherlv_3=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLoopAction3311); - newLeafNode(otherlv_2, grammarAccess.getLoopAccess().getCounterKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getLoopActionAccess().getCounterKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1378:1: ( (lv_counter_3_0= ruleEInt ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1379:1: (lv_counter_3_0= ruleEInt ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1583:1: ( (lv_counter_4_0= ruleEInt ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1584:1: (lv_counter_4_0= ruleEInt ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1379:1: (lv_counter_3_0= ruleEInt ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1380:3: lv_counter_3_0= ruleEInt + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1584:1: (lv_counter_4_0= ruleEInt ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1585:3: lv_counter_4_0= ruleEInt { - newCompositeNode(grammarAccess.getLoopAccess().getCounterEIntParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getCounterEIntParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEInt_in_ruleLoop2973); - lv_counter_3_0=ruleEInt(); + pushFollow(FollowSets000.FOLLOW_ruleEInt_in_ruleLoopAction3332); + lv_counter_4_0=ruleEInt(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getLoopRule()); + current = createModelElementForParent(grammarAccess.getLoopActionRule()); } set( current, "counter", - lv_counter_3_0, + lv_counter_4_0, "EInt"); afterParserOrEnumRuleCall(); @@ -3239,36 +3648,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1396:2: (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1601:2: (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? int alt23=2; int LA23_0 = input.LA(1); - if ( (LA23_0==37) ) { + if ( (LA23_0==42) ) { alt23=1; } switch (alt23) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1396:4: otherlv_4= 'predecessor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1601:4: otherlv_5= 'predecessor' ( ( ruleEString ) ) { - otherlv_4=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleLoop2986); + otherlv_5=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLoopAction3345); - newLeafNode(otherlv_4, grammarAccess.getLoopAccess().getPredecessorKeyword_4_0()); + newLeafNode(otherlv_5, grammarAccess.getLoopActionAccess().getPredecessorKeyword_5_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1400:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1401:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1605:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1606:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1401:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1402:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1606:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1607:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getLoopRule()); + current = createModelElement(grammarAccess.getLoopActionRule()); } - newCompositeNode(grammarAccess.getLoopAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getPredecessorAbstractControlFlowElementCrossReference_5_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleLoop3009); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleLoopAction3368); ruleEString(); state._fsp--; @@ -3288,36 +3697,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1415:4: (otherlv_6= 'successor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1620:4: (otherlv_7= 'successor' ( ( ruleEString ) ) )? int alt24=2; int LA24_0 = input.LA(1); - if ( (LA24_0==38) ) { + if ( (LA24_0==43) ) { alt24=1; } switch (alt24) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1415:6: otherlv_6= 'successor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1620:6: otherlv_7= 'successor' ( ( ruleEString ) ) { - otherlv_6=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleLoop3024); + otherlv_7=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleLoopAction3383); - newLeafNode(otherlv_6, grammarAccess.getLoopAccess().getSuccessorKeyword_5_0()); + newLeafNode(otherlv_7, grammarAccess.getLoopActionAccess().getSuccessorKeyword_6_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1419:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1420:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1624:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1625:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1420:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1421:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1625:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1626:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getLoopRule()); + current = createModelElement(grammarAccess.getLoopActionRule()); } - newCompositeNode(grammarAccess.getLoopAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getSuccessorAbstractControlFlowElementCrossReference_6_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleLoop3047); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleLoopAction3406); ruleEString(); state._fsp--; @@ -3337,32 +3746,32 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_8=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLoop3061); + otherlv_9=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLoopAction3420); - newLeafNode(otherlv_8, grammarAccess.getLoopAccess().getBodyKeyword_6()); + newLeafNode(otherlv_9, grammarAccess.getLoopActionAccess().getBodyKeyword_7()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1438:1: ( (lv_body_9_0= ruleAdaptationPlan ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1439:1: (lv_body_9_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1643:1: ( (lv_body_10_0= ruleAdaptationPlan ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1644:1: (lv_body_10_0= ruleAdaptationPlan ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1439:1: (lv_body_9_0= ruleAdaptationPlan ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1440:3: lv_body_9_0= ruleAdaptationPlan + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1644:1: (lv_body_10_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1645:3: lv_body_10_0= ruleAdaptationPlan { - newCompositeNode(grammarAccess.getLoopAccess().getBodyAdaptationPlanParserRuleCall_7_0()); + newCompositeNode(grammarAccess.getLoopActionAccess().getBodyAdaptationPlanParserRuleCall_8_0()); - pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleLoop3082); - lv_body_9_0=ruleAdaptationPlan(); + pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleLoopAction3441); + lv_body_10_0=ruleAdaptationPlan(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getLoopRule()); + current = createModelElementForParent(grammarAccess.getLoopActionRule()); } set( current, "body", - lv_body_9_0, + lv_body_10_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); @@ -3372,9 +3781,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLoop3094); + otherlv_11=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLoopAction3453); - newLeafNode(otherlv_10, grammarAccess.getLoopAccess().getRightCurlyBracketKeyword_8()); + newLeafNode(otherlv_11, grammarAccess.getLoopActionAccess().getRightCurlyBracketKeyword_9()); } @@ -3393,29 +3802,29 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleLoop" + // $ANTLR end "ruleLoopAction" - // $ANTLR start "entryRuleBranch" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1468:1: entryRuleBranch returns [EObject current=null] : iv_ruleBranch= ruleBranch EOF ; - public final EObject entryRuleBranch() throws RecognitionException { + // $ANTLR start "entryRuleBranchAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1673:1: entryRuleBranchAction returns [EObject current=null] : iv_ruleBranchAction= ruleBranchAction EOF ; + public final EObject entryRuleBranchAction() throws RecognitionException { EObject current = null; - EObject iv_ruleBranch = null; + EObject iv_ruleBranchAction = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1469:2: (iv_ruleBranch= ruleBranch EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1470:2: iv_ruleBranch= ruleBranch EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1674:2: (iv_ruleBranchAction= ruleBranchAction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1675:2: iv_ruleBranchAction= ruleBranchAction EOF { - newCompositeNode(grammarAccess.getBranchRule()); - pushFollow(FollowSets000.FOLLOW_ruleBranch_in_entryRuleBranch3130); - iv_ruleBranch=ruleBranch(); + newCompositeNode(grammarAccess.getBranchActionRule()); + pushFollow(FollowSets000.FOLLOW_ruleBranchAction_in_entryRuleBranchAction3489); + iv_ruleBranchAction=ruleBranchAction(); state._fsp--; - current =iv_ruleBranch; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBranch3140); + current =iv_ruleBranchAction; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBranchAction3499); } @@ -3429,85 +3838,118 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleBranch" + // $ANTLR end "entryRuleBranchAction" - // $ANTLR start "ruleBranch" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1477:1: ruleBranch returns [EObject current=null] : (otherlv_0= 'BranchAction' otherlv_1= '{' (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'branches' otherlv_9= '{' ( (lv_branches_10_0= ruleAdaptationPlan ) ) (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* otherlv_13= '}' otherlv_14= '}' ) ; - public final EObject ruleBranch() throws RecognitionException { + // $ANTLR start "ruleBranchAction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1682:1: ruleBranchAction returns [EObject current=null] : (otherlv_0= 'BranchAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'branches' otherlv_10= '{' ( (lv_branches_11_0= ruleAdaptationPlan ) ) (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* otherlv_14= '}' otherlv_15= '}' ) ; + public final EObject ruleBranchAction() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_8=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; Token otherlv_9=null; - Token otherlv_11=null; - Token otherlv_13=null; + Token otherlv_10=null; + Token otherlv_12=null; Token otherlv_14=null; - AntlrDatatypeRuleToken lv_condition_3_0 = null; + Token otherlv_15=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_condition_4_0 = null; - EObject lv_branches_10_0 = null; + EObject lv_branches_11_0 = null; - EObject lv_branches_12_0 = null; + EObject lv_branches_13_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1480:28: ( (otherlv_0= 'BranchAction' otherlv_1= '{' (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'branches' otherlv_9= '{' ( (lv_branches_10_0= ruleAdaptationPlan ) ) (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* otherlv_13= '}' otherlv_14= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1481:1: (otherlv_0= 'BranchAction' otherlv_1= '{' (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'branches' otherlv_9= '{' ( (lv_branches_10_0= ruleAdaptationPlan ) ) (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* otherlv_13= '}' otherlv_14= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1685:28: ( (otherlv_0= 'BranchAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'branches' otherlv_10= '{' ( (lv_branches_11_0= ruleAdaptationPlan ) ) (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* otherlv_14= '}' otherlv_15= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1686:1: (otherlv_0= 'BranchAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'branches' otherlv_10= '{' ( (lv_branches_11_0= ruleAdaptationPlan ) ) (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* otherlv_14= '}' otherlv_15= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1481:1: (otherlv_0= 'BranchAction' otherlv_1= '{' (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'branches' otherlv_9= '{' ( (lv_branches_10_0= ruleAdaptationPlan ) ) (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* otherlv_13= '}' otherlv_14= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1481:3: otherlv_0= 'BranchAction' otherlv_1= '{' (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? (otherlv_6= 'successor' ( ( ruleEString ) ) )? otherlv_8= 'branches' otherlv_9= '{' ( (lv_branches_10_0= ruleAdaptationPlan ) ) (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* otherlv_13= '}' otherlv_14= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1686:1: (otherlv_0= 'BranchAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'branches' otherlv_10= '{' ( (lv_branches_11_0= ruleAdaptationPlan ) ) (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* otherlv_14= '}' otherlv_15= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1686:3: otherlv_0= 'BranchAction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? (otherlv_7= 'successor' ( ( ruleEString ) ) )? otherlv_9= 'branches' otherlv_10= '{' ( (lv_branches_11_0= ruleAdaptationPlan ) ) (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* otherlv_14= '}' otherlv_15= '}' { - otherlv_0=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleBranch3177); + otherlv_0=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleBranchAction3536); - newLeafNode(otherlv_0, grammarAccess.getBranchAccess().getBranchActionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getBranchActionAccess().getBranchActionKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleBranch3189); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1690:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1691:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1691:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1692:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getBranchActionAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranchAction3557); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getBranchActionRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + - newLeafNode(otherlv_1, grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_1()); + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleBranchAction3569); + + newLeafNode(otherlv_2, grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_2()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1489:1: (otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1712:1: (otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) )? int alt25=2; int LA25_0 = input.LA(1); - if ( (LA25_0==44) ) { + if ( (LA25_0==49) ) { alt25=1; } switch (alt25) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1489:3: otherlv_2= 'condition' ( (lv_condition_3_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1712:3: otherlv_3= 'condition' ( (lv_condition_4_0= ruleEString ) ) { - otherlv_2=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleBranch3202); + otherlv_3=(Token)match(input,49,FollowSets000.FOLLOW_49_in_ruleBranchAction3582); - newLeafNode(otherlv_2, grammarAccess.getBranchAccess().getConditionKeyword_2_0()); + newLeafNode(otherlv_3, grammarAccess.getBranchActionAccess().getConditionKeyword_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1493:1: ( (lv_condition_3_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1494:1: (lv_condition_3_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1716:1: ( (lv_condition_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1717:1: (lv_condition_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1494:1: (lv_condition_3_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1495:3: lv_condition_3_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1717:1: (lv_condition_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1718:3: lv_condition_4_0= ruleEString { - newCompositeNode(grammarAccess.getBranchAccess().getConditionEStringParserRuleCall_2_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getConditionEStringParserRuleCall_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranch3223); - lv_condition_3_0=ruleEString(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranchAction3603); + lv_condition_4_0=ruleEString(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getBranchRule()); + current = createModelElementForParent(grammarAccess.getBranchActionRule()); } set( current, "condition", - lv_condition_3_0, + lv_condition_4_0, "EString"); afterParserOrEnumRuleCall(); @@ -3523,36 +3965,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1511:4: (otherlv_4= 'predecessor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1734:4: (otherlv_5= 'predecessor' ( ( ruleEString ) ) )? int alt26=2; int LA26_0 = input.LA(1); - if ( (LA26_0==37) ) { + if ( (LA26_0==42) ) { alt26=1; } switch (alt26) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1511:6: otherlv_4= 'predecessor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1734:6: otherlv_5= 'predecessor' ( ( ruleEString ) ) { - otherlv_4=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleBranch3238); + otherlv_5=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleBranchAction3618); - newLeafNode(otherlv_4, grammarAccess.getBranchAccess().getPredecessorKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getBranchActionAccess().getPredecessorKeyword_4_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1515:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1516:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1738:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1739:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1516:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1517:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1739:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1740:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getBranchRule()); + current = createModelElement(grammarAccess.getBranchActionRule()); } - newCompositeNode(grammarAccess.getBranchAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getPredecessorAbstractControlFlowElementCrossReference_4_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranch3261); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranchAction3641); ruleEString(); state._fsp--; @@ -3572,36 +4014,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1530:4: (otherlv_6= 'successor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1753:4: (otherlv_7= 'successor' ( ( ruleEString ) ) )? int alt27=2; int LA27_0 = input.LA(1); - if ( (LA27_0==38) ) { + if ( (LA27_0==43) ) { alt27=1; } switch (alt27) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1530:6: otherlv_6= 'successor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1753:6: otherlv_7= 'successor' ( ( ruleEString ) ) { - otherlv_6=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleBranch3276); + otherlv_7=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleBranchAction3656); - newLeafNode(otherlv_6, grammarAccess.getBranchAccess().getSuccessorKeyword_4_0()); + newLeafNode(otherlv_7, grammarAccess.getBranchActionAccess().getSuccessorKeyword_5_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1534:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1535:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1757:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1758:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1535:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1536:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1758:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1759:3: ruleEString { if (current==null) { - current = createModelElement(grammarAccess.getBranchRule()); + current = createModelElement(grammarAccess.getBranchActionRule()); } - newCompositeNode(grammarAccess.getBranchAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getSuccessorAbstractControlFlowElementCrossReference_5_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranch3299); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleBranchAction3679); ruleEString(); state._fsp--; @@ -3621,36 +4063,36 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_8=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleBranch3313); + otherlv_9=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleBranchAction3693); - newLeafNode(otherlv_8, grammarAccess.getBranchAccess().getBranchesKeyword_5()); + newLeafNode(otherlv_9, grammarAccess.getBranchActionAccess().getBranchesKeyword_6()); - otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleBranch3325); + otherlv_10=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleBranchAction3705); - newLeafNode(otherlv_9, grammarAccess.getBranchAccess().getLeftCurlyBracketKeyword_6()); + newLeafNode(otherlv_10, grammarAccess.getBranchActionAccess().getLeftCurlyBracketKeyword_7()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1557:1: ( (lv_branches_10_0= ruleAdaptationPlan ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1558:1: (lv_branches_10_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1780:1: ( (lv_branches_11_0= ruleAdaptationPlan ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1781:1: (lv_branches_11_0= ruleAdaptationPlan ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1558:1: (lv_branches_10_0= ruleAdaptationPlan ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1559:3: lv_branches_10_0= ruleAdaptationPlan + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1781:1: (lv_branches_11_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1782:3: lv_branches_11_0= ruleAdaptationPlan { - newCompositeNode(grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_7_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_8_0()); - pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleBranch3346); - lv_branches_10_0=ruleAdaptationPlan(); + pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleBranchAction3726); + lv_branches_11_0=ruleAdaptationPlan(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getBranchRule()); + current = createModelElementForParent(grammarAccess.getBranchActionRule()); } add( current, "branches", - lv_branches_10_0, + lv_branches_11_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); @@ -3660,7 +4102,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1575:2: (otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1798:2: (otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) )* loop28: do { int alt28=2; @@ -3673,34 +4115,34 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt28) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1575:4: otherlv_11= ',' ( (lv_branches_12_0= ruleAdaptationPlan ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1798:4: otherlv_12= ',' ( (lv_branches_13_0= ruleAdaptationPlan ) ) { - otherlv_11=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleBranch3359); + otherlv_12=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleBranchAction3739); - newLeafNode(otherlv_11, grammarAccess.getBranchAccess().getCommaKeyword_8_0()); + newLeafNode(otherlv_12, grammarAccess.getBranchActionAccess().getCommaKeyword_9_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1579:1: ( (lv_branches_12_0= ruleAdaptationPlan ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1580:1: (lv_branches_12_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1802:1: ( (lv_branches_13_0= ruleAdaptationPlan ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1803:1: (lv_branches_13_0= ruleAdaptationPlan ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1580:1: (lv_branches_12_0= ruleAdaptationPlan ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1581:3: lv_branches_12_0= ruleAdaptationPlan + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1803:1: (lv_branches_13_0= ruleAdaptationPlan ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1804:3: lv_branches_13_0= ruleAdaptationPlan { - newCompositeNode(grammarAccess.getBranchAccess().getBranchesAdaptationPlanParserRuleCall_8_1_0()); + newCompositeNode(grammarAccess.getBranchActionAccess().getBranchesAdaptationPlanParserRuleCall_9_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleBranch3380); - lv_branches_12_0=ruleAdaptationPlan(); + pushFollow(FollowSets000.FOLLOW_ruleAdaptationPlan_in_ruleBranchAction3760); + lv_branches_13_0=ruleAdaptationPlan(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getBranchRule()); + current = createModelElementForParent(grammarAccess.getBranchActionRule()); } add( current, "branches", - lv_branches_12_0, + lv_branches_13_0, "AdaptationPlan"); afterParserOrEnumRuleCall(); @@ -3719,13 +4161,13 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } } while (true); - otherlv_13=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleBranch3394); + otherlv_14=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleBranchAction3774); - newLeafNode(otherlv_13, grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_14, grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_10()); - otherlv_14=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleBranch3406); + otherlv_15=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleBranchAction3786); - newLeafNode(otherlv_14, grammarAccess.getBranchAccess().getRightCurlyBracketKeyword_10()); + newLeafNode(otherlv_15, grammarAccess.getBranchActionAccess().getRightCurlyBracketKeyword_11()); } @@ -3744,11 +4186,11 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleBranch" + // $ANTLR end "ruleBranchAction" // $ANTLR start "entryRuleActionReference" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1613:1: entryRuleActionReference returns [EObject current=null] : iv_ruleActionReference= ruleActionReference EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1836:1: entryRuleActionReference returns [EObject current=null] : iv_ruleActionReference= ruleActionReference EOF ; public final EObject entryRuleActionReference() throws RecognitionException { EObject current = null; @@ -3756,17 +4198,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1614:2: (iv_ruleActionReference= ruleActionReference EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1615:2: iv_ruleActionReference= ruleActionReference EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1837:2: (iv_ruleActionReference= ruleActionReference EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1838:2: iv_ruleActionReference= ruleActionReference EOF { newCompositeNode(grammarAccess.getActionReferenceRule()); - pushFollow(FollowSets000.FOLLOW_ruleActionReference_in_entryRuleActionReference3442); + pushFollow(FollowSets000.FOLLOW_ruleActionReference_in_entryRuleActionReference3822); iv_ruleActionReference=ruleActionReference(); state._fsp--; current =iv_ruleActionReference; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleActionReference3452); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleActionReference3832); } @@ -3784,54 +4226,87 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleActionReference" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1622:1: ruleActionReference returns [EObject current=null] : (otherlv_0= 'ActionReference' otherlv_1= '{' (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? (otherlv_4= 'successor' ( ( ruleEString ) ) )? otherlv_6= 'refersTo' ( ( ruleEString ) ) otherlv_8= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1845:1: ruleActionReference returns [EObject current=null] : (otherlv_0= 'ActionReference' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= 'refersTo' ( ( ruleEString ) ) otherlv_9= '}' ) ; public final EObject ruleActionReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_8=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1625:28: ( (otherlv_0= 'ActionReference' otherlv_1= '{' (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? (otherlv_4= 'successor' ( ( ruleEString ) ) )? otherlv_6= 'refersTo' ( ( ruleEString ) ) otherlv_8= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1626:1: (otherlv_0= 'ActionReference' otherlv_1= '{' (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? (otherlv_4= 'successor' ( ( ruleEString ) ) )? otherlv_6= 'refersTo' ( ( ruleEString ) ) otherlv_8= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1848:28: ( (otherlv_0= 'ActionReference' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= 'refersTo' ( ( ruleEString ) ) otherlv_9= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1849:1: (otherlv_0= 'ActionReference' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= 'refersTo' ( ( ruleEString ) ) otherlv_9= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1626:1: (otherlv_0= 'ActionReference' otherlv_1= '{' (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? (otherlv_4= 'successor' ( ( ruleEString ) ) )? otherlv_6= 'refersTo' ( ( ruleEString ) ) otherlv_8= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1626:3: otherlv_0= 'ActionReference' otherlv_1= '{' (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? (otherlv_4= 'successor' ( ( ruleEString ) ) )? otherlv_6= 'refersTo' ( ( ruleEString ) ) otherlv_8= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1849:1: (otherlv_0= 'ActionReference' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= 'refersTo' ( ( ruleEString ) ) otherlv_9= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1849:3: otherlv_0= 'ActionReference' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? (otherlv_5= 'successor' ( ( ruleEString ) ) )? otherlv_7= 'refersTo' ( ( ruleEString ) ) otherlv_9= '}' { - otherlv_0=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleActionReference3489); + otherlv_0=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleActionReference3869); newLeafNode(otherlv_0, grammarAccess.getActionReferenceAccess().getActionReferenceKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleActionReference3501); + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1853:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1854:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1854:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1855:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getActionReferenceAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3890); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getActionReferenceRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleActionReference3902); - newLeafNode(otherlv_1, grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getActionReferenceAccess().getLeftCurlyBracketKeyword_2()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1634:1: (otherlv_2= 'predecessor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1875:1: (otherlv_3= 'predecessor' ( ( ruleEString ) ) )? int alt29=2; int LA29_0 = input.LA(1); - if ( (LA29_0==37) ) { + if ( (LA29_0==42) ) { alt29=1; } switch (alt29) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1634:3: otherlv_2= 'predecessor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1875:3: otherlv_3= 'predecessor' ( ( ruleEString ) ) { - otherlv_2=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleActionReference3514); + otherlv_3=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleActionReference3915); - newLeafNode(otherlv_2, grammarAccess.getActionReferenceAccess().getPredecessorKeyword_2_0()); + newLeafNode(otherlv_3, grammarAccess.getActionReferenceAccess().getPredecessorKeyword_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1638:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1639:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1879:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1880:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1639:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1640:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1880:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1881:3: ruleEString { if (current==null) { @@ -3839,9 +4314,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_2_1_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getPredecessorAbstractControlFlowElementCrossReference_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3537); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3938); ruleEString(); state._fsp--; @@ -3861,26 +4336,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1653:4: (otherlv_4= 'successor' ( ( ruleEString ) ) )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1894:4: (otherlv_5= 'successor' ( ( ruleEString ) ) )? int alt30=2; int LA30_0 = input.LA(1); - if ( (LA30_0==38) ) { + if ( (LA30_0==43) ) { alt30=1; } switch (alt30) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1653:6: otherlv_4= 'successor' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1894:6: otherlv_5= 'successor' ( ( ruleEString ) ) { - otherlv_4=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleActionReference3552); + otherlv_5=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleActionReference3953); - newLeafNode(otherlv_4, grammarAccess.getActionReferenceAccess().getSuccessorKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getActionReferenceAccess().getSuccessorKeyword_4_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1657:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1658:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1898:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1899:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1658:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1659:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1899:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1900:3: ruleEString { if (current==null) { @@ -3888,9 +4363,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getSuccessorAbstractControlFlowElementCrossReference_4_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3575); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3976); ruleEString(); state._fsp--; @@ -3910,15 +4385,15 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_6=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleActionReference3589); + otherlv_7=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleActionReference3990); - newLeafNode(otherlv_6, grammarAccess.getActionReferenceAccess().getRefersToKeyword_4()); + newLeafNode(otherlv_7, grammarAccess.getActionReferenceAccess().getRefersToKeyword_5()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1676:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1677:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1917:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1918:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1677:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1678:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1918:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1919:3: ruleEString { if (current==null) { @@ -3926,9 +4401,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_5_0()); + newCompositeNode(grammarAccess.getActionReferenceAccess().getRefersToActionCrossReference_6_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference3612); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleActionReference4013); ruleEString(); state._fsp--; @@ -3942,9 +4417,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleActionReference3624); + otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleActionReference4025); - newLeafNode(otherlv_8, grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_6()); + newLeafNode(otherlv_9, grammarAccess.getActionReferenceAccess().getRightCurlyBracketKeyword_7()); } @@ -3967,7 +4442,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleEInt" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1703:1: entryRuleEInt returns [String current=null] : iv_ruleEInt= ruleEInt EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1944:1: entryRuleEInt returns [String current=null] : iv_ruleEInt= ruleEInt EOF ; public final String entryRuleEInt() throws RecognitionException { String current = null; @@ -3975,17 +4450,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1704:2: (iv_ruleEInt= ruleEInt EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1705:2: iv_ruleEInt= ruleEInt EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1945:2: (iv_ruleEInt= ruleEInt EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1946:2: iv_ruleEInt= ruleEInt EOF { newCompositeNode(grammarAccess.getEIntRule()); - pushFollow(FollowSets000.FOLLOW_ruleEInt_in_entryRuleEInt3661); + pushFollow(FollowSets000.FOLLOW_ruleEInt_in_entryRuleEInt4062); iv_ruleEInt=ruleEInt(); state._fsp--; current =iv_ruleEInt.getText(); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEInt3672); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEInt4073); } @@ -4003,7 +4478,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleEInt" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1712:1: ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1953:1: ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleEInt() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4013,24 +4488,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1715:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1716:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1956:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1957:1: ( (kw= '-' )? this_INT_1= RULE_INT ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1716:1: ( (kw= '-' )? this_INT_1= RULE_INT ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1716:2: (kw= '-' )? this_INT_1= RULE_INT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1957:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1957:2: (kw= '-' )? this_INT_1= RULE_INT { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1716:2: (kw= '-' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1957:2: (kw= '-' )? int alt31=2; int LA31_0 = input.LA(1); - if ( (LA31_0==48) ) { + if ( (LA31_0==53) ) { alt31=1; } switch (alt31) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1717:2: kw= '-' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1958:2: kw= '-' { - kw=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleEInt3711); + kw=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleEInt4112); current.merge(kw); newLeafNode(kw, grammarAccess.getEIntAccess().getHyphenMinusKeyword_0()); @@ -4041,7 +4516,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - this_INT_1=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEInt3728); + this_INT_1=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEInt4129); current.merge(this_INT_1); @@ -4068,8 +4543,79 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR end "ruleEInt" + // $ANTLR start "entryRuleOperationType" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1978:1: entryRuleOperationType returns [String current=null] : iv_ruleOperationType= ruleOperationType EOF ; + public final String entryRuleOperationType() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOperationType = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1979:2: (iv_ruleOperationType= ruleOperationType EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1980:2: iv_ruleOperationType= ruleOperationType EOF + { + newCompositeNode(grammarAccess.getOperationTypeRule()); + pushFollow(FollowSets000.FOLLOW_ruleOperationType_in_entryRuleOperationType4175); + iv_ruleOperationType=ruleOperationType(); + + state._fsp--; + + current =iv_ruleOperationType.getText(); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOperationType4186); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOperationType" + + + // $ANTLR start "ruleOperationType" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1987:1: ruleOperationType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'OperationType' ; + public final AntlrDatatypeRuleToken ruleOperationType() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1990:28: (kw= 'OperationType' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1992:2: kw= 'OperationType' + { + kw=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleOperationType4223); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOperationTypeAccess().getOperationTypeKeyword()); + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOperationType" + + // $ANTLR start "entryRuleModelVariableConfigurationRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1737:1: entryRuleModelVariableConfigurationRange returns [EObject current=null] : iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2005:1: entryRuleModelVariableConfigurationRange returns [EObject current=null] : iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF ; public final EObject entryRuleModelVariableConfigurationRange() throws RecognitionException { EObject current = null; @@ -4077,17 +4623,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1738:2: (iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1739:2: iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2006:2: (iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2007:2: iv_ruleModelVariableConfigurationRange= ruleModelVariableConfigurationRange EOF { newCompositeNode(grammarAccess.getModelVariableConfigurationRangeRule()); - pushFollow(FollowSets000.FOLLOW_ruleModelVariableConfigurationRange_in_entryRuleModelVariableConfigurationRange3773); + pushFollow(FollowSets000.FOLLOW_ruleModelVariableConfigurationRange_in_entryRuleModelVariableConfigurationRange4262); iv_ruleModelVariableConfigurationRange=ruleModelVariableConfigurationRange(); state._fsp--; current =iv_ruleModelVariableConfigurationRange; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleModelVariableConfigurationRange3783); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleModelVariableConfigurationRange4272); } @@ -4105,7 +4651,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleModelVariableConfigurationRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1746:1: ruleModelVariableConfigurationRange returns [EObject current=null] : (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'minValue' ( (lv_minValue_4_0= ruleEDouble ) ) otherlv_5= 'maxValue' ( (lv_maxValue_6_0= ruleEDouble ) ) otherlv_7= 'adaptableEntity' ( ( ruleEString ) ) otherlv_9= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2014:1: ruleModelVariableConfigurationRange returns [EObject current=null] : (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'minValue' ( (lv_minValue_6_0= ruleEDouble ) ) otherlv_7= 'maxValue' ( (lv_maxValue_8_0= ruleEDouble ) ) otherlv_9= 'adaptableEntity' ( ( ruleEString ) ) otherlv_11= '}' ) ; public final EObject ruleModelVariableConfigurationRange() throws RecognitionException { EObject current = null; @@ -4115,36 +4661,39 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; + Token otherlv_11=null; AntlrDatatypeRuleToken lv_id_1_0 = null; - AntlrDatatypeRuleToken lv_minValue_4_0 = null; + AntlrDatatypeRuleToken lv_name_4_0 = null; + + AntlrDatatypeRuleToken lv_minValue_6_0 = null; - AntlrDatatypeRuleToken lv_maxValue_6_0 = null; + AntlrDatatypeRuleToken lv_maxValue_8_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1749:28: ( (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'minValue' ( (lv_minValue_4_0= ruleEDouble ) ) otherlv_5= 'maxValue' ( (lv_maxValue_6_0= ruleEDouble ) ) otherlv_7= 'adaptableEntity' ( ( ruleEString ) ) otherlv_9= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1750:1: (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'minValue' ( (lv_minValue_4_0= ruleEDouble ) ) otherlv_5= 'maxValue' ( (lv_maxValue_6_0= ruleEDouble ) ) otherlv_7= 'adaptableEntity' ( ( ruleEString ) ) otherlv_9= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2017:28: ( (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'minValue' ( (lv_minValue_6_0= ruleEDouble ) ) otherlv_7= 'maxValue' ( (lv_maxValue_8_0= ruleEDouble ) ) otherlv_9= 'adaptableEntity' ( ( ruleEString ) ) otherlv_11= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2018:1: (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'minValue' ( (lv_minValue_6_0= ruleEDouble ) ) otherlv_7= 'maxValue' ( (lv_maxValue_8_0= ruleEDouble ) ) otherlv_9= 'adaptableEntity' ( ( ruleEString ) ) otherlv_11= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1750:1: (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'minValue' ( (lv_minValue_4_0= ruleEDouble ) ) otherlv_5= 'maxValue' ( (lv_maxValue_6_0= ruleEDouble ) ) otherlv_7= 'adaptableEntity' ( ( ruleEString ) ) otherlv_9= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1750:3: otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'minValue' ( (lv_minValue_4_0= ruleEDouble ) ) otherlv_5= 'maxValue' ( (lv_maxValue_6_0= ruleEDouble ) ) otherlv_7= 'adaptableEntity' ( ( ruleEString ) ) otherlv_9= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2018:1: (otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'minValue' ( (lv_minValue_6_0= ruleEDouble ) ) otherlv_7= 'maxValue' ( (lv_maxValue_8_0= ruleEDouble ) ) otherlv_9= 'adaptableEntity' ( ( ruleEString ) ) otherlv_11= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2018:3: otherlv_0= 'ModelVariableConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'minValue' ( (lv_minValue_6_0= ruleEDouble ) ) otherlv_7= 'maxValue' ( (lv_maxValue_8_0= ruleEDouble ) ) otherlv_9= 'adaptableEntity' ( ( ruleEString ) ) otherlv_11= '}' { - otherlv_0=(Token)match(input,49,FollowSets000.FOLLOW_49_in_ruleModelVariableConfigurationRange3820); + otherlv_0=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleModelVariableConfigurationRange4309); newLeafNode(otherlv_0, grammarAccess.getModelVariableConfigurationRangeAccess().getModelVariableConfigurationRangeKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1754:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1755:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2022:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2023:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1755:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1756:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2023:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2024:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange3841); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4330); lv_id_1_0=ruleEString(); state._fsp--; @@ -4166,25 +4715,60 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleModelVariableConfigurationRange3853); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleModelVariableConfigurationRange4342); newLeafNode(otherlv_2, grammarAccess.getModelVariableConfigurationRangeAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleModelVariableConfigurationRange3865); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleModelVariableConfigurationRange4354); + + newLeafNode(otherlv_3, grammarAccess.getModelVariableConfigurationRangeAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2048:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2049:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2049:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2050:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4375); + lv_name_4_0=ruleEString(); + + state._fsp--; + - newLeafNode(otherlv_3, grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_3()); + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelVariableConfigurationRangeRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleModelVariableConfigurationRange4387); + + newLeafNode(otherlv_5, grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueKeyword_5()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1780:1: ( (lv_minValue_4_0= ruleEDouble ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1781:1: (lv_minValue_4_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2070:1: ( (lv_minValue_6_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2071:1: (lv_minValue_6_0= ruleEDouble ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1781:1: (lv_minValue_4_0= ruleEDouble ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1782:3: lv_minValue_4_0= ruleEDouble + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2071:1: (lv_minValue_6_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2072:3: lv_minValue_6_0= ruleEDouble { - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_4_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMinValueEDoubleParserRuleCall_6_0()); - pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange3886); - lv_minValue_4_0=ruleEDouble(); + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange4408); + lv_minValue_6_0=ruleEDouble(); state._fsp--; @@ -4195,7 +4779,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa set( current, "minValue", - lv_minValue_4_0, + lv_minValue_6_0, "EDouble"); afterParserOrEnumRuleCall(); @@ -4205,21 +4789,21 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_5=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleModelVariableConfigurationRange3898); + otherlv_7=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleModelVariableConfigurationRange4420); - newLeafNode(otherlv_5, grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_5()); + newLeafNode(otherlv_7, grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueKeyword_7()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1802:1: ( (lv_maxValue_6_0= ruleEDouble ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1803:1: (lv_maxValue_6_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2092:1: ( (lv_maxValue_8_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2093:1: (lv_maxValue_8_0= ruleEDouble ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1803:1: (lv_maxValue_6_0= ruleEDouble ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1804:3: lv_maxValue_6_0= ruleEDouble + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2093:1: (lv_maxValue_8_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2094:3: lv_maxValue_8_0= ruleEDouble { - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_6_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getMaxValueEDoubleParserRuleCall_8_0()); - pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange3919); - lv_maxValue_6_0=ruleEDouble(); + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange4441); + lv_maxValue_8_0=ruleEDouble(); state._fsp--; @@ -4230,7 +4814,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa set( current, "maxValue", - lv_maxValue_6_0, + lv_maxValue_8_0, "EDouble"); afterParserOrEnumRuleCall(); @@ -4240,15 +4824,15 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_7=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleModelVariableConfigurationRange3931); + otherlv_9=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleModelVariableConfigurationRange4453); - newLeafNode(otherlv_7, grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_7()); + newLeafNode(otherlv_9, grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityKeyword_9()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1824:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1825:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2114:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2115:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1825:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1826:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2115:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2116:3: ruleEString { if (current==null) { @@ -4256,9 +4840,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_8_0()); + newCompositeNode(grammarAccess.getModelVariableConfigurationRangeAccess().getAdaptableEntityAdaptableEntityCrossReference_10_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange3954); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4476); ruleEString(); state._fsp--; @@ -4272,9 +4856,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleModelVariableConfigurationRange3966); + otherlv_11=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleModelVariableConfigurationRange4488); - newLeafNode(otherlv_9, grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_9()); + newLeafNode(otherlv_11, grammarAccess.getModelVariableConfigurationRangeAccess().getRightCurlyBracketKeyword_11()); } @@ -4297,7 +4881,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleModelEntityConfigurationRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1851:1: entryRuleModelEntityConfigurationRange returns [EObject current=null] : iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2141:1: entryRuleModelEntityConfigurationRange returns [EObject current=null] : iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF ; public final EObject entryRuleModelEntityConfigurationRange() throws RecognitionException { EObject current = null; @@ -4305,17 +4889,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1852:2: (iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1853:2: iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2142:2: (iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2143:2: iv_ruleModelEntityConfigurationRange= ruleModelEntityConfigurationRange EOF { newCompositeNode(grammarAccess.getModelEntityConfigurationRangeRule()); - pushFollow(FollowSets000.FOLLOW_ruleModelEntityConfigurationRange_in_entryRuleModelEntityConfigurationRange4002); + pushFollow(FollowSets000.FOLLOW_ruleModelEntityConfigurationRange_in_entryRuleModelEntityConfigurationRange4524); iv_ruleModelEntityConfigurationRange=ruleModelEntityConfigurationRange(); state._fsp--; current =iv_ruleModelEntityConfigurationRange; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleModelEntityConfigurationRange4012); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleModelEntityConfigurationRange4534); } @@ -4333,7 +4917,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleModelEntityConfigurationRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1860:1: ruleModelEntityConfigurationRange returns [EObject current=null] : (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'adaptableEntity' ( ( ruleEString ) ) otherlv_5= 'variationPossibility' ( (lv_variationPossibility_6_0= ruleVariationType ) ) otherlv_7= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2150:1: ruleModelEntityConfigurationRange returns [EObject current=null] : (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'adaptableEntity' ( ( ruleEString ) ) otherlv_7= 'variationPossibility' ( (lv_variationPossibility_8_0= ruleVariationType ) ) otherlv_9= '}' ) ; public final EObject ruleModelEntityConfigurationRange() throws RecognitionException { EObject current = null; @@ -4342,34 +4926,37 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; + Token otherlv_9=null; AntlrDatatypeRuleToken lv_id_1_0 = null; - EObject lv_variationPossibility_6_0 = null; + AntlrDatatypeRuleToken lv_name_4_0 = null; + + EObject lv_variationPossibility_8_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1863:28: ( (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'adaptableEntity' ( ( ruleEString ) ) otherlv_5= 'variationPossibility' ( (lv_variationPossibility_6_0= ruleVariationType ) ) otherlv_7= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1864:1: (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'adaptableEntity' ( ( ruleEString ) ) otherlv_5= 'variationPossibility' ( (lv_variationPossibility_6_0= ruleVariationType ) ) otherlv_7= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2153:28: ( (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'adaptableEntity' ( ( ruleEString ) ) otherlv_7= 'variationPossibility' ( (lv_variationPossibility_8_0= ruleVariationType ) ) otherlv_9= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2154:1: (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'adaptableEntity' ( ( ruleEString ) ) otherlv_7= 'variationPossibility' ( (lv_variationPossibility_8_0= ruleVariationType ) ) otherlv_9= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1864:1: (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'adaptableEntity' ( ( ruleEString ) ) otherlv_5= 'variationPossibility' ( (lv_variationPossibility_6_0= ruleVariationType ) ) otherlv_7= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1864:3: otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'adaptableEntity' ( ( ruleEString ) ) otherlv_5= 'variationPossibility' ( (lv_variationPossibility_6_0= ruleVariationType ) ) otherlv_7= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2154:1: (otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'adaptableEntity' ( ( ruleEString ) ) otherlv_7= 'variationPossibility' ( (lv_variationPossibility_8_0= ruleVariationType ) ) otherlv_9= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2154:3: otherlv_0= 'ModelEntityConfigurationRange' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'adaptableEntity' ( ( ruleEString ) ) otherlv_7= 'variationPossibility' ( (lv_variationPossibility_8_0= ruleVariationType ) ) otherlv_9= '}' { - otherlv_0=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleModelEntityConfigurationRange4049); + otherlv_0=(Token)match(input,59,FollowSets000.FOLLOW_59_in_ruleModelEntityConfigurationRange4571); newLeafNode(otherlv_0, grammarAccess.getModelEntityConfigurationRangeAccess().getModelEntityConfigurationRangeKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1868:1: ( (lv_id_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1869:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2158:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2159:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1869:1: (lv_id_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1870:3: lv_id_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2159:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2160:3: lv_id_1_0= ruleEString { newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4070); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4592); lv_id_1_0=ruleEString(); state._fsp--; @@ -4391,57 +4978,92 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleModelEntityConfigurationRange4082); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleModelEntityConfigurationRange4604); newLeafNode(otherlv_2, grammarAccess.getModelEntityConfigurationRangeAccess().getLeftCurlyBracketKeyword_2()); - otherlv_3=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleModelEntityConfigurationRange4094); + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleModelEntityConfigurationRange4616); - newLeafNode(otherlv_3, grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_3()); + newLeafNode(otherlv_3, grammarAccess.getModelEntityConfigurationRangeAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1894:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1895:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2184:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2185:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1895:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1896:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2185:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2186:3: lv_name_4_0= ruleEString { - - if (current==null) { - current = createModelElement(grammarAccess.getModelEntityConfigurationRangeRule()); - } - - newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_4_0()); + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4117); - ruleEString(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4637); + lv_name_4_0=ruleEString(); state._fsp--; - - afterParserOrEnumRuleCall(); - - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelEntityConfigurationRangeRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleModelEntityConfigurationRange4649); + + newLeafNode(otherlv_5, grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2206:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2207:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2207:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2208:3: ruleEString + { + + if (current==null) { + current = createModelElement(grammarAccess.getModelEntityConfigurationRangeRule()); + } + + + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getAdaptableEntityEntityCrossReference_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4672); + ruleEString(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } } - otherlv_5=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleModelEntityConfigurationRange4129); + otherlv_7=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleModelEntityConfigurationRange4684); - newLeafNode(otherlv_5, grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_5()); + newLeafNode(otherlv_7, grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityKeyword_7()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1913:1: ( (lv_variationPossibility_6_0= ruleVariationType ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1914:1: (lv_variationPossibility_6_0= ruleVariationType ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2225:1: ( (lv_variationPossibility_8_0= ruleVariationType ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2226:1: (lv_variationPossibility_8_0= ruleVariationType ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1914:1: (lv_variationPossibility_6_0= ruleVariationType ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1915:3: lv_variationPossibility_6_0= ruleVariationType + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2226:1: (lv_variationPossibility_8_0= ruleVariationType ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2227:3: lv_variationPossibility_8_0= ruleVariationType { - newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_6_0()); + newCompositeNode(grammarAccess.getModelEntityConfigurationRangeAccess().getVariationPossibilityVariationTypeParserRuleCall_8_0()); - pushFollow(FollowSets000.FOLLOW_ruleVariationType_in_ruleModelEntityConfigurationRange4150); - lv_variationPossibility_6_0=ruleVariationType(); + pushFollow(FollowSets000.FOLLOW_ruleVariationType_in_ruleModelEntityConfigurationRange4705); + lv_variationPossibility_8_0=ruleVariationType(); state._fsp--; @@ -4452,7 +5074,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa set( current, "variationPossibility", - lv_variationPossibility_6_0, + lv_variationPossibility_8_0, "VariationType"); afterParserOrEnumRuleCall(); @@ -4462,9 +5084,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleModelEntityConfigurationRange4162); + otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleModelEntityConfigurationRange4717); - newLeafNode(otherlv_7, grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_7()); + newLeafNode(otherlv_9, grammarAccess.getModelEntityConfigurationRangeAccess().getRightCurlyBracketKeyword_9()); } @@ -4487,7 +5109,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleEDouble" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1943:1: entryRuleEDouble returns [String current=null] : iv_ruleEDouble= ruleEDouble EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2255:1: entryRuleEDouble returns [String current=null] : iv_ruleEDouble= ruleEDouble EOF ; public final String entryRuleEDouble() throws RecognitionException { String current = null; @@ -4495,17 +5117,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1944:2: (iv_ruleEDouble= ruleEDouble EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1945:2: iv_ruleEDouble= ruleEDouble EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2256:2: (iv_ruleEDouble= ruleEDouble EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2257:2: iv_ruleEDouble= ruleEDouble EOF { newCompositeNode(grammarAccess.getEDoubleRule()); - pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_entryRuleEDouble4199); + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_entryRuleEDouble4754); iv_ruleEDouble=ruleEDouble(); state._fsp--; current =iv_ruleEDouble.getText(); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEDouble4210); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEDouble4765); } @@ -4523,7 +5145,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleEDouble" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1952:1: ruleEDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2264:1: ruleEDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) ; public final AntlrDatatypeRuleToken ruleEDouble() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4535,24 +5157,24 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1955:28: ( ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1956:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2267:28: ( ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2268:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1956:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1956:2: (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2268:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2268:2: (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1956:2: (kw= '-' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2268:2: (kw= '-' )? int alt32=2; int LA32_0 = input.LA(1); - if ( (LA32_0==48) ) { + if ( (LA32_0==53) ) { alt32=1; } switch (alt32) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1957:2: kw= '-' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2269:2: kw= '-' { - kw=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleEDouble4249); + kw=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleEDouble4804); current.merge(kw); newLeafNode(kw, grammarAccess.getEDoubleAccess().getHyphenMinusKeyword_0()); @@ -4563,7 +5185,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1962:3: (this_INT_1= RULE_INT )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2274:3: (this_INT_1= RULE_INT )? int alt33=2; int LA33_0 = input.LA(1); @@ -4572,9 +5194,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } switch (alt33) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1962:8: this_INT_1= RULE_INT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2274:8: this_INT_1= RULE_INT { - this_INT_1=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4267); + this_INT_1=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4822); current.merge(this_INT_1); @@ -4587,37 +5209,37 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - kw=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleEDouble4287); + kw=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleEDouble4842); current.merge(kw); newLeafNode(kw, grammarAccess.getEDoubleAccess().getFullStopKeyword_2()); - this_INT_3=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4302); + this_INT_3=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4857); current.merge(this_INT_3); newLeafNode(this_INT_3, grammarAccess.getEDoubleAccess().getINTTerminalRuleCall_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1982:1: ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2294:1: ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? int alt36=2; int LA36_0 = input.LA(1); - if ( ((LA36_0>=56 && LA36_0<=57)) ) { + if ( ((LA36_0>=62 && LA36_0<=63)) ) { alt36=1; } switch (alt36) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1982:2: (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2294:2: (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1982:2: (kw= 'E' | kw= 'e' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2294:2: (kw= 'E' | kw= 'e' ) int alt34=2; int LA34_0 = input.LA(1); - if ( (LA34_0==56) ) { + if ( (LA34_0==62) ) { alt34=1; } - else if ( (LA34_0==57) ) { + else if ( (LA34_0==63) ) { alt34=2; } else { @@ -4628,9 +5250,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } switch (alt34) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1983:2: kw= 'E' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2295:2: kw= 'E' { - kw=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleEDouble4322); + kw=(Token)match(input,62,FollowSets000.FOLLOW_62_in_ruleEDouble4877); current.merge(kw); newLeafNode(kw, grammarAccess.getEDoubleAccess().getEKeyword_4_0_0()); @@ -4639,9 +5261,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1990:2: kw= 'e' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2302:2: kw= 'e' { - kw=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleEDouble4341); + kw=(Token)match(input,63,FollowSets000.FOLLOW_63_in_ruleEDouble4896); current.merge(kw); newLeafNode(kw, grammarAccess.getEDoubleAccess().getEKeyword_4_0_1()); @@ -4652,18 +5274,18 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1995:2: (kw= '-' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2307:2: (kw= '-' )? int alt35=2; int LA35_0 = input.LA(1); - if ( (LA35_0==48) ) { + if ( (LA35_0==53) ) { alt35=1; } switch (alt35) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:1996:2: kw= '-' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2308:2: kw= '-' { - kw=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleEDouble4356); + kw=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleEDouble4911); current.merge(kw); newLeafNode(kw, grammarAccess.getEDoubleAccess().getHyphenMinusKeyword_4_1()); @@ -4674,7 +5296,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - this_INT_7=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4373); + this_INT_7=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleEDouble4928); current.merge(this_INT_7); @@ -4708,7 +5330,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRulePropertyRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2018:1: entryRulePropertyRange returns [EObject current=null] : iv_rulePropertyRange= rulePropertyRange EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2328:1: entryRulePropertyRange returns [EObject current=null] : iv_rulePropertyRange= rulePropertyRange EOF ; public final EObject entryRulePropertyRange() throws RecognitionException { EObject current = null; @@ -4716,17 +5338,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2019:2: (iv_rulePropertyRange= rulePropertyRange EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2020:2: iv_rulePropertyRange= rulePropertyRange EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2329:2: (iv_rulePropertyRange= rulePropertyRange EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2330:2: iv_rulePropertyRange= rulePropertyRange EOF { newCompositeNode(grammarAccess.getPropertyRangeRule()); - pushFollow(FollowSets000.FOLLOW_rulePropertyRange_in_entryRulePropertyRange4422); + pushFollow(FollowSets000.FOLLOW_rulePropertyRange_in_entryRulePropertyRange4975); iv_rulePropertyRange=rulePropertyRange(); state._fsp--; current =iv_rulePropertyRange; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertyRange4432); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertyRange4985); } @@ -4744,7 +5366,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "rulePropertyRange" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2027:1: rulePropertyRange returns [EObject current=null] : (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2337:1: rulePropertyRange returns [EObject current=null] : (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) ; public final EObject rulePropertyRange() throws RecognitionException { EObject current = null; @@ -4761,34 +5383,34 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2030:28: ( (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2031:1: (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2340:28: ( (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2341:1: (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2031:1: (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2031:3: otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2341:1: (otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2341:3: otherlv_0= 'PropertyRange' otherlv_1= '{' otherlv_2= 'minValueConstraint' ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) otherlv_4= 'maxValueConstraint' ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) otherlv_6= '}' { - otherlv_0=(Token)match(input,58,FollowSets000.FOLLOW_58_in_rulePropertyRange4469); + otherlv_0=(Token)match(input,64,FollowSets000.FOLLOW_64_in_rulePropertyRange5022); newLeafNode(otherlv_0, grammarAccess.getPropertyRangeAccess().getPropertyRangeKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_rulePropertyRange4481); + otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_rulePropertyRange5034); newLeafNode(otherlv_1, grammarAccess.getPropertyRangeAccess().getLeftCurlyBracketKeyword_1()); - otherlv_2=(Token)match(input,59,FollowSets000.FOLLOW_59_in_rulePropertyRange4493); + otherlv_2=(Token)match(input,65,FollowSets000.FOLLOW_65_in_rulePropertyRange5046); newLeafNode(otherlv_2, grammarAccess.getPropertyRangeAccess().getMinValueConstraintKeyword_2()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2043:1: ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2044:1: (lv_minValueConstraint_3_0= ruleOclConstraint ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2353:1: ( (lv_minValueConstraint_3_0= ruleOclConstraint ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2354:1: (lv_minValueConstraint_3_0= ruleOclConstraint ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2044:1: (lv_minValueConstraint_3_0= ruleOclConstraint ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2045:3: lv_minValueConstraint_3_0= ruleOclConstraint + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2354:1: (lv_minValueConstraint_3_0= ruleOclConstraint ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2355:3: lv_minValueConstraint_3_0= ruleOclConstraint { newCompositeNode(grammarAccess.getPropertyRangeAccess().getMinValueConstraintOclConstraintParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_rulePropertyRange4514); + pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_rulePropertyRange5067); lv_minValueConstraint_3_0=ruleOclConstraint(); state._fsp--; @@ -4810,20 +5432,20 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_4=(Token)match(input,60,FollowSets000.FOLLOW_60_in_rulePropertyRange4526); + otherlv_4=(Token)match(input,66,FollowSets000.FOLLOW_66_in_rulePropertyRange5079); newLeafNode(otherlv_4, grammarAccess.getPropertyRangeAccess().getMaxValueConstraintKeyword_4()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2065:1: ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2066:1: (lv_maxValueConstraint_5_0= ruleOclConstraint ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2375:1: ( (lv_maxValueConstraint_5_0= ruleOclConstraint ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2376:1: (lv_maxValueConstraint_5_0= ruleOclConstraint ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2066:1: (lv_maxValueConstraint_5_0= ruleOclConstraint ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2067:3: lv_maxValueConstraint_5_0= ruleOclConstraint + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2376:1: (lv_maxValueConstraint_5_0= ruleOclConstraint ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2377:3: lv_maxValueConstraint_5_0= ruleOclConstraint { newCompositeNode(grammarAccess.getPropertyRangeAccess().getMaxValueConstraintOclConstraintParserRuleCall_5_0()); - pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_rulePropertyRange4547); + pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_rulePropertyRange5100); lv_maxValueConstraint_5_0=ruleOclConstraint(); state._fsp--; @@ -4845,7 +5467,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_16_in_rulePropertyRange4559); + otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_16_in_rulePropertyRange5112); newLeafNode(otherlv_6, grammarAccess.getPropertyRangeAccess().getRightCurlyBracketKeyword_6()); @@ -4870,7 +5492,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSetOfConfigurations" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2095:1: entryRuleSetOfConfigurations returns [EObject current=null] : iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2405:1: entryRuleSetOfConfigurations returns [EObject current=null] : iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF ; public final EObject entryRuleSetOfConfigurations() throws RecognitionException { EObject current = null; @@ -4878,17 +5500,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2096:2: (iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2097:2: iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2406:2: (iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2407:2: iv_ruleSetOfConfigurations= ruleSetOfConfigurations EOF { newCompositeNode(grammarAccess.getSetOfConfigurationsRule()); - pushFollow(FollowSets000.FOLLOW_ruleSetOfConfigurations_in_entryRuleSetOfConfigurations4595); + pushFollow(FollowSets000.FOLLOW_ruleSetOfConfigurations_in_entryRuleSetOfConfigurations5148); iv_ruleSetOfConfigurations=ruleSetOfConfigurations(); state._fsp--; current =iv_ruleSetOfConfigurations; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSetOfConfigurations4605); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSetOfConfigurations5158); } @@ -4906,97 +5528,62 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSetOfConfigurations" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2104:1: ruleSetOfConfigurations returns [EObject current=null] : (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' otherlv_2= 'valueConstraint' ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? otherlv_10= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2414:1: ruleSetOfConfigurations returns [EObject current=null] : (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? otherlv_8= 'valueConstraint' ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) otherlv_10= '}' ) ; public final EObject ruleSetOfConfigurations() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; - Token otherlv_4=null; + Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; - Token otherlv_9=null; + Token otherlv_8=null; Token otherlv_10=null; - EObject lv_valueConstraint_3_0 = null; + EObject lv_valueConstraint_9_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2107:28: ( (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' otherlv_2= 'valueConstraint' ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? otherlv_10= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2108:1: (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' otherlv_2= 'valueConstraint' ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? otherlv_10= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2417:28: ( (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? otherlv_8= 'valueConstraint' ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) otherlv_10= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2418:1: (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? otherlv_8= 'valueConstraint' ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) otherlv_10= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2108:1: (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' otherlv_2= 'valueConstraint' ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? otherlv_10= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2108:3: otherlv_0= 'SetOfConfigurations' otherlv_1= '{' otherlv_2= 'valueConstraint' ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? otherlv_10= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2418:1: (otherlv_0= 'SetOfConfigurations' otherlv_1= '{' (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? otherlv_8= 'valueConstraint' ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) otherlv_10= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2418:3: otherlv_0= 'SetOfConfigurations' otherlv_1= '{' (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? otherlv_8= 'valueConstraint' ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) otherlv_10= '}' { - otherlv_0=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleSetOfConfigurations4642); + otherlv_0=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleSetOfConfigurations5195); newLeafNode(otherlv_0, grammarAccess.getSetOfConfigurationsAccess().getSetOfConfigurationsKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleSetOfConfigurations4654); + otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleSetOfConfigurations5207); newLeafNode(otherlv_1, grammarAccess.getSetOfConfigurationsAccess().getLeftCurlyBracketKeyword_1()); - otherlv_2=(Token)match(input,62,FollowSets000.FOLLOW_62_in_ruleSetOfConfigurations4666); - - newLeafNode(otherlv_2, grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_2()); - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2120:1: ( (lv_valueConstraint_3_0= ruleOclConstraint ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2121:1: (lv_valueConstraint_3_0= ruleOclConstraint ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2121:1: (lv_valueConstraint_3_0= ruleOclConstraint ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2122:3: lv_valueConstraint_3_0= ruleOclConstraint - { - - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_ruleSetOfConfigurations4687); - lv_valueConstraint_3_0=ruleOclConstraint(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetOfConfigurationsRule()); - } - set( - current, - "valueConstraint", - lv_valueConstraint_3_0, - "OclConstraint"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2138:2: (otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' )? + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:1: (otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' )? int alt38=2; int LA38_0 = input.LA(1); - if ( (LA38_0==63) ) { + if ( (LA38_0==68) ) { alt38=1; } switch (alt38) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2138:4: otherlv_4= 'variants' otherlv_5= '(' ( ( ruleEString ) ) (otherlv_7= ',' ( ( ruleEString ) ) )* otherlv_9= ')' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2426:3: otherlv_2= 'variants' otherlv_3= '(' ( ( ruleEString ) ) (otherlv_5= ',' ( ( ruleEString ) ) )* otherlv_7= ')' { - otherlv_4=(Token)match(input,63,FollowSets000.FOLLOW_63_in_ruleSetOfConfigurations4700); + otherlv_2=(Token)match(input,68,FollowSets000.FOLLOW_68_in_ruleSetOfConfigurations5220); - newLeafNode(otherlv_4, grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_4_0()); + newLeafNode(otherlv_2, grammarAccess.getSetOfConfigurationsAccess().getVariantsKeyword_2_0()); - otherlv_5=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleSetOfConfigurations4712); + otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleSetOfConfigurations5232); - newLeafNode(otherlv_5, grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_4_1()); + newLeafNode(otherlv_3, grammarAccess.getSetOfConfigurationsAccess().getLeftParenthesisKeyword_2_1()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2146:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2147:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2434:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2435:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2147:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2148:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2435:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2436:3: ruleEString { if (current==null) { @@ -5004,9 +5591,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_2_0()); + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_2_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetOfConfigurations4735); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetOfConfigurations5255); ruleEString(); state._fsp--; @@ -5020,7 +5607,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2161:2: (otherlv_7= ',' ( ( ruleEString ) ) )* + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2449:2: (otherlv_5= ',' ( ( ruleEString ) ) )* loop37: do { int alt37=2; @@ -5033,17 +5620,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa switch (alt37) { case 1 : - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2161:4: otherlv_7= ',' ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2449:4: otherlv_5= ',' ( ( ruleEString ) ) { - otherlv_7=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleSetOfConfigurations4748); + otherlv_5=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleSetOfConfigurations5268); - newLeafNode(otherlv_7, grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_4_3_0()); + newLeafNode(otherlv_5, grammarAccess.getSetOfConfigurationsAccess().getCommaKeyword_2_3_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2165:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2166:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2453:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2454:1: ( ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2166:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2167:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2454:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2455:3: ruleEString { if (current==null) { @@ -5051,9 +5638,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_4_3_1_0()); + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getVariantsEObjectCrossReference_2_3_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetOfConfigurations4771); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetOfConfigurations5291); ruleEString(); state._fsp--; @@ -5076,9 +5663,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } } while (true); - otherlv_9=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleSetOfConfigurations4785); + otherlv_7=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleSetOfConfigurations5305); - newLeafNode(otherlv_9, grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_4_4()); + newLeafNode(otherlv_7, grammarAccess.getSetOfConfigurationsAccess().getRightParenthesisKeyword_2_4()); } @@ -5086,7 +5673,42 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleSetOfConfigurations4799); + otherlv_8=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleSetOfConfigurations5319); + + newLeafNode(otherlv_8, grammarAccess.getSetOfConfigurationsAccess().getValueConstraintKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2476:1: ( (lv_valueConstraint_9_0= ruleOclConstraint ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2477:1: (lv_valueConstraint_9_0= ruleOclConstraint ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2477:1: (lv_valueConstraint_9_0= ruleOclConstraint ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2478:3: lv_valueConstraint_9_0= ruleOclConstraint + { + + newCompositeNode(grammarAccess.getSetOfConfigurationsAccess().getValueConstraintOclConstraintParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_ruleSetOfConfigurations5340); + lv_valueConstraint_9_0=ruleOclConstraint(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSetOfConfigurationsRule()); + } + set( + current, + "valueConstraint", + lv_valueConstraint_9_0, + "OclConstraint"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleSetOfConfigurations5352); newLeafNode(otherlv_10, grammarAccess.getSetOfConfigurationsAccess().getRightCurlyBracketKeyword_5()); @@ -5111,7 +5733,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleOclConstraint" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2196:1: entryRuleOclConstraint returns [EObject current=null] : iv_ruleOclConstraint= ruleOclConstraint EOF ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2506:1: entryRuleOclConstraint returns [EObject current=null] : iv_ruleOclConstraint= ruleOclConstraint EOF ; public final EObject entryRuleOclConstraint() throws RecognitionException { EObject current = null; @@ -5119,17 +5741,17 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2197:2: (iv_ruleOclConstraint= ruleOclConstraint EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2198:2: iv_ruleOclConstraint= ruleOclConstraint EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2507:2: (iv_ruleOclConstraint= ruleOclConstraint EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2508:2: iv_ruleOclConstraint= ruleOclConstraint EOF { newCompositeNode(grammarAccess.getOclConstraintRule()); - pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_entryRuleOclConstraint4835); + pushFollow(FollowSets000.FOLLOW_ruleOclConstraint_in_entryRuleOclConstraint5388); iv_ruleOclConstraint=ruleOclConstraint(); state._fsp--; current =iv_ruleOclConstraint; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOclConstraint4845); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOclConstraint5398); } @@ -5147,7 +5769,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleOclConstraint" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2205:1: ruleOclConstraint returns [EObject current=null] : (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) ; + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2515:1: ruleOclConstraint returns [EObject current=null] : (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) ; public final EObject ruleOclConstraint() throws RecognitionException { EObject current = null; @@ -5161,34 +5783,34 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2208:28: ( (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2209:1: (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2518:28: ( (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2519:1: (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2209:1: (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2209:3: otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2519:1: (otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2519:3: otherlv_0= 'OclConstraint' otherlv_1= '{' otherlv_2= 'oclString' ( (lv_oclString_3_0= ruleEString ) ) otherlv_4= '}' { - otherlv_0=(Token)match(input,64,FollowSets000.FOLLOW_64_in_ruleOclConstraint4882); + otherlv_0=(Token)match(input,70,FollowSets000.FOLLOW_70_in_ruleOclConstraint5435); newLeafNode(otherlv_0, grammarAccess.getOclConstraintAccess().getOclConstraintKeyword_0()); - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleOclConstraint4894); + otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleOclConstraint5447); newLeafNode(otherlv_1, grammarAccess.getOclConstraintAccess().getLeftCurlyBracketKeyword_1()); - otherlv_2=(Token)match(input,65,FollowSets000.FOLLOW_65_in_ruleOclConstraint4906); + otherlv_2=(Token)match(input,71,FollowSets000.FOLLOW_71_in_ruleOclConstraint5459); newLeafNode(otherlv_2, grammarAccess.getOclConstraintAccess().getOclStringKeyword_2()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2221:1: ( (lv_oclString_3_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2222:1: (lv_oclString_3_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2531:1: ( (lv_oclString_3_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2532:1: (lv_oclString_3_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2222:1: (lv_oclString_3_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2223:3: lv_oclString_3_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2532:1: (lv_oclString_3_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2533:3: lv_oclString_3_0= ruleEString { newCompositeNode(grammarAccess.getOclConstraintAccess().getOclStringEStringParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleOclConstraint4927); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleOclConstraint5480); lv_oclString_3_0=ruleEString(); state._fsp--; @@ -5210,7 +5832,7 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleOclConstraint4939); + otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleOclConstraint5492); newLeafNode(otherlv_4, grammarAccess.getOclConstraintAccess().getRightCurlyBracketKeyword_4()); @@ -5234,113 +5856,26 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa // $ANTLR end "ruleOclConstraint" - // $ANTLR start "entryRuleEvent" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2253:1: entryRuleEvent returns [EObject current=null] : iv_ruleEvent= ruleEvent EOF ; - public final EObject entryRuleEvent() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEvent = null; - - - try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2254:2: (iv_ruleEvent= ruleEvent EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2255:2: iv_ruleEvent= ruleEvent EOF - { - newCompositeNode(grammarAccess.getEventRule()); - pushFollow(FollowSets000.FOLLOW_ruleEvent_in_entryRuleEvent4977); - iv_ruleEvent=ruleEvent(); - - state._fsp--; - - current =iv_ruleEvent; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEvent4987); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEvent" - - - // $ANTLR start "ruleEvent" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2262:1: ruleEvent returns [EObject current=null] : ( () otherlv_1= 'Event' ) ; - public final EObject ruleEvent() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - enterRule(); - - try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2265:28: ( ( () otherlv_1= 'Event' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2266:1: ( () otherlv_1= 'Event' ) - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2266:1: ( () otherlv_1= 'Event' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2266:2: () otherlv_1= 'Event' - { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2266:2: () - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2267:5: - { - - current = forceCreateModelElement( - grammarAccess.getEventAccess().getEventAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,66,FollowSets000.FOLLOW_66_in_ruleEvent5033); - - newLeafNode(otherlv_1, grammarAccess.getEventAccess().getEventKeyword_1()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEvent" - - - // $ANTLR start "entryRuleWeightedTactic" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2284:1: entryRuleWeightedTactic returns [EObject current=null] : iv_ruleWeightedTactic= ruleWeightedTactic EOF ; - public final EObject entryRuleWeightedTactic() throws RecognitionException { + // $ANTLR start "entryRuleObjective" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2563:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; + public final EObject entryRuleObjective() throws RecognitionException { EObject current = null; - EObject iv_ruleWeightedTactic = null; + EObject iv_ruleObjective = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2285:2: (iv_ruleWeightedTactic= ruleWeightedTactic EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2286:2: iv_ruleWeightedTactic= ruleWeightedTactic EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2564:2: (iv_ruleObjective= ruleObjective EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2565:2: iv_ruleObjective= ruleObjective EOF { - newCompositeNode(grammarAccess.getWeightedTacticRule()); - pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_entryRuleWeightedTactic5069); - iv_ruleWeightedTactic=ruleWeightedTactic(); + newCompositeNode(grammarAccess.getObjectiveRule()); + pushFollow(FollowSets000.FOLLOW_ruleObjective_in_entryRuleObjective5530); + iv_ruleObjective=ruleObjective(); state._fsp--; - current =iv_ruleWeightedTactic; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWeightedTactic5079); + current =iv_ruleObjective; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleObjective5540); } @@ -5354,69 +5889,62 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleWeightedTactic" + // $ANTLR end "entryRuleObjective" - // $ANTLR start "ruleWeightedTactic" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2293:1: ruleWeightedTactic returns [EObject current=null] : (otherlv_0= 'WeightedTactic' otherlv_1= '{' otherlv_2= 'currentWeight' ( (lv_currentWeight_3_0= ruleEDouble ) ) otherlv_4= 'defaultWeight' ( (lv_defaultWeight_5_0= ruleEDouble ) ) otherlv_6= 'uses' ( ( ruleEString ) ) otherlv_8= '}' ) ; - public final EObject ruleWeightedTactic() throws RecognitionException { + // $ANTLR start "ruleObjective" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2572:1: ruleObjective returns [EObject current=null] : (otherlv_0= 'Objective' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'specification' ( (lv_specification_6_0= ruleEString ) ) otherlv_7= '}' ) ; + public final EObject ruleObjective() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_8=null; - AntlrDatatypeRuleToken lv_currentWeight_3_0 = null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; - AntlrDatatypeRuleToken lv_defaultWeight_5_0 = null; + AntlrDatatypeRuleToken lv_name_4_0 = null; + + AntlrDatatypeRuleToken lv_specification_6_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2296:28: ( (otherlv_0= 'WeightedTactic' otherlv_1= '{' otherlv_2= 'currentWeight' ( (lv_currentWeight_3_0= ruleEDouble ) ) otherlv_4= 'defaultWeight' ( (lv_defaultWeight_5_0= ruleEDouble ) ) otherlv_6= 'uses' ( ( ruleEString ) ) otherlv_8= '}' ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2297:1: (otherlv_0= 'WeightedTactic' otherlv_1= '{' otherlv_2= 'currentWeight' ( (lv_currentWeight_3_0= ruleEDouble ) ) otherlv_4= 'defaultWeight' ( (lv_defaultWeight_5_0= ruleEDouble ) ) otherlv_6= 'uses' ( ( ruleEString ) ) otherlv_8= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2575:28: ( (otherlv_0= 'Objective' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'specification' ( (lv_specification_6_0= ruleEString ) ) otherlv_7= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2576:1: (otherlv_0= 'Objective' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'specification' ( (lv_specification_6_0= ruleEString ) ) otherlv_7= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2297:1: (otherlv_0= 'WeightedTactic' otherlv_1= '{' otherlv_2= 'currentWeight' ( (lv_currentWeight_3_0= ruleEDouble ) ) otherlv_4= 'defaultWeight' ( (lv_defaultWeight_5_0= ruleEDouble ) ) otherlv_6= 'uses' ( ( ruleEString ) ) otherlv_8= '}' ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2297:3: otherlv_0= 'WeightedTactic' otherlv_1= '{' otherlv_2= 'currentWeight' ( (lv_currentWeight_3_0= ruleEDouble ) ) otherlv_4= 'defaultWeight' ( (lv_defaultWeight_5_0= ruleEDouble ) ) otherlv_6= 'uses' ( ( ruleEString ) ) otherlv_8= '}' + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2576:1: (otherlv_0= 'Objective' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'specification' ( (lv_specification_6_0= ruleEString ) ) otherlv_7= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2576:3: otherlv_0= 'Objective' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'specification' ( (lv_specification_6_0= ruleEString ) ) otherlv_7= '}' { - otherlv_0=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleWeightedTactic5116); - - newLeafNode(otherlv_0, grammarAccess.getWeightedTacticAccess().getWeightedTacticKeyword_0()); - - otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWeightedTactic5128); - - newLeafNode(otherlv_1, grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_1()); - - otherlv_2=(Token)match(input,68,FollowSets000.FOLLOW_68_in_ruleWeightedTactic5140); + otherlv_0=(Token)match(input,72,FollowSets000.FOLLOW_72_in_ruleObjective5577); - newLeafNode(otherlv_2, grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_2()); + newLeafNode(otherlv_0, grammarAccess.getObjectiveAccess().getObjectiveKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2309:1: ( (lv_currentWeight_3_0= ruleEDouble ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2310:1: (lv_currentWeight_3_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2580:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2581:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2310:1: (lv_currentWeight_3_0= ruleEDouble ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2311:3: lv_currentWeight_3_0= ruleEDouble + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2581:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2582:3: lv_id_1_0= ruleEString { - newCompositeNode(grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getObjectiveAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleWeightedTactic5161); - lv_currentWeight_3_0=ruleEDouble(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleObjective5598); + lv_id_1_0=ruleEString(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + current = createModelElementForParent(grammarAccess.getObjectiveRule()); } set( current, - "currentWeight", - lv_currentWeight_3_0, - "EDouble"); + "id", + lv_id_1_0, + "EString"); afterParserOrEnumRuleCall(); @@ -5425,33 +5953,37 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_4=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleWeightedTactic5173); + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleObjective5610); + + newLeafNode(otherlv_2, grammarAccess.getObjectiveAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleObjective5622); - newLeafNode(otherlv_4, grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_4()); + newLeafNode(otherlv_3, grammarAccess.getObjectiveAccess().getNameKeyword_3()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2331:1: ( (lv_defaultWeight_5_0= ruleEDouble ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2332:1: (lv_defaultWeight_5_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2606:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2607:1: (lv_name_4_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2332:1: (lv_defaultWeight_5_0= ruleEDouble ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2333:3: lv_defaultWeight_5_0= ruleEDouble + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2607:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2608:3: lv_name_4_0= ruleEString { - newCompositeNode(grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_5_0()); + newCompositeNode(grammarAccess.getObjectiveAccess().getNameEStringParserRuleCall_4_0()); - pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleWeightedTactic5194); - lv_defaultWeight_5_0=ruleEDouble(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleObjective5643); + lv_name_4_0=ruleEString(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + current = createModelElementForParent(grammarAccess.getObjectiveRule()); } set( current, - "defaultWeight", - lv_defaultWeight_5_0, - "EDouble"); + "name", + lv_name_4_0, + "EString"); afterParserOrEnumRuleCall(); @@ -5460,30 +5992,33 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_6=(Token)match(input,70,FollowSets000.FOLLOW_70_in_ruleWeightedTactic5206); + otherlv_5=(Token)match(input,73,FollowSets000.FOLLOW_73_in_ruleObjective5655); - newLeafNode(otherlv_6, grammarAccess.getWeightedTacticAccess().getUsesKeyword_6()); + newLeafNode(otherlv_5, grammarAccess.getObjectiveAccess().getSpecificationKeyword_5()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2353:1: ( ( ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2354:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2628:1: ( (lv_specification_6_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2629:1: (lv_specification_6_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2354:1: ( ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2355:3: ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2629:1: (lv_specification_6_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2630:3: lv_specification_6_0= ruleEString { - - if (current==null) { - current = createModelElement(grammarAccess.getWeightedTacticRule()); - } - - newCompositeNode(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_7_0()); + newCompositeNode(grammarAccess.getObjectiveAccess().getSpecificationEStringParserRuleCall_6_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedTactic5229); - ruleEString(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleObjective5676); + lv_specification_6_0=ruleEString(); state._fsp--; - + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectiveRule()); + } + set( + current, + "specification", + lv_specification_6_0, + "EString"); afterParserOrEnumRuleCall(); @@ -5492,9 +6027,9 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } - otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleWeightedTactic5241); + otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleObjective5688); - newLeafNode(otherlv_8, grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_8()); + newLeafNode(otherlv_7, grammarAccess.getObjectiveAccess().getRightCurlyBracketKeyword_7()); } @@ -5513,29 +6048,29 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleWeightedTactic" + // $ANTLR end "ruleObjective" - // $ANTLR start "entryRuleWeightingFunction" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2380:1: entryRuleWeightingFunction returns [EObject current=null] : iv_ruleWeightingFunction= ruleWeightingFunction EOF ; - public final EObject entryRuleWeightingFunction() throws RecognitionException { + // $ANTLR start "entryRuleEvent" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2658:1: entryRuleEvent returns [EObject current=null] : iv_ruleEvent= ruleEvent EOF ; + public final EObject entryRuleEvent() throws RecognitionException { EObject current = null; - EObject iv_ruleWeightingFunction = null; + EObject iv_ruleEvent = null; try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2381:2: (iv_ruleWeightingFunction= ruleWeightingFunction EOF ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2382:2: iv_ruleWeightingFunction= ruleWeightingFunction EOF + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2659:2: (iv_ruleEvent= ruleEvent EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2660:2: iv_ruleEvent= ruleEvent EOF { - newCompositeNode(grammarAccess.getWeightingFunctionRule()); - pushFollow(FollowSets000.FOLLOW_ruleWeightingFunction_in_entryRuleWeightingFunction5277); - iv_ruleWeightingFunction=ruleWeightingFunction(); + newCompositeNode(grammarAccess.getEventRule()); + pushFollow(FollowSets000.FOLLOW_ruleEvent_in_entryRuleEvent5724); + iv_ruleEvent=ruleEvent(); state._fsp--; - current =iv_ruleWeightingFunction; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWeightingFunction5287); + current =iv_ruleEvent; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEvent5734); } @@ -5549,53 +6084,58 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "entryRuleWeightingFunction" + // $ANTLR end "entryRuleEvent" - // $ANTLR start "ruleWeightingFunction" - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2389:1: ruleWeightingFunction returns [EObject current=null] : (otherlv_0= 'function' ( (lv_function_1_0= ruleEString ) ) ) ; - public final EObject ruleWeightingFunction() throws RecognitionException { + // $ANTLR start "ruleEvent" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2667:1: ruleEvent returns [EObject current=null] : (otherlv_0= 'Event' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= '}' ) ; + public final EObject ruleEvent() throws RecognitionException { EObject current = null; Token otherlv_0=null; - AntlrDatatypeRuleToken lv_function_1_0 = null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_name_4_0 = null; enterRule(); try { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2392:28: ( (otherlv_0= 'function' ( (lv_function_1_0= ruleEString ) ) ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2393:1: (otherlv_0= 'function' ( (lv_function_1_0= ruleEString ) ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2670:28: ( (otherlv_0= 'Event' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2671:1: (otherlv_0= 'Event' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= '}' ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2393:1: (otherlv_0= 'function' ( (lv_function_1_0= ruleEString ) ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2393:3: otherlv_0= 'function' ( (lv_function_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2671:1: (otherlv_0= 'Event' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2671:3: otherlv_0= 'Event' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= '}' { - otherlv_0=(Token)match(input,71,FollowSets000.FOLLOW_71_in_ruleWeightingFunction5324); + otherlv_0=(Token)match(input,74,FollowSets000.FOLLOW_74_in_ruleEvent5771); - newLeafNode(otherlv_0, grammarAccess.getWeightingFunctionAccess().getFunctionKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getEventAccess().getEventKeyword_0()); - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2397:1: ( (lv_function_1_0= ruleEString ) ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2398:1: (lv_function_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2675:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2676:1: (lv_id_1_0= ruleEString ) { - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2398:1: (lv_function_1_0= ruleEString ) - // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2399:3: lv_function_1_0= ruleEString + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2676:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2677:3: lv_id_1_0= ruleEString { - newCompositeNode(grammarAccess.getWeightingFunctionAccess().getFunctionEStringParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getEventAccess().getIdEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightingFunction5345); - lv_function_1_0=ruleEString(); + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleEvent5792); + lv_id_1_0=ruleEString(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + current = createModelElementForParent(grammarAccess.getEventRule()); } set( current, - "function", - lv_function_1_0, + "id", + lv_id_1_0, "EString"); afterParserOrEnumRuleCall(); @@ -5605,13 +6145,938 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleEvent5804); - } + newLeafNode(otherlv_2, grammarAccess.getEventAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleEvent5816); + newLeafNode(otherlv_3, grammarAccess.getEventAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2701:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2702:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2702:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2703:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getEventAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleEvent5837); + lv_name_4_0=ruleEString(); - } + state._fsp--; - leaveRule(); + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEventRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleEvent5849); + + newLeafNode(otherlv_5, grammarAccess.getEventAccess().getRightCurlyBracketKeyword_5()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEvent" + + + // $ANTLR start "entryRuleWeightedTactic" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2731:1: entryRuleWeightedTactic returns [EObject current=null] : iv_ruleWeightedTactic= ruleWeightedTactic EOF ; + public final EObject entryRuleWeightedTactic() throws RecognitionException { + EObject current = null; + + EObject iv_ruleWeightedTactic = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2732:2: (iv_ruleWeightedTactic= ruleWeightedTactic EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2733:2: iv_ruleWeightedTactic= ruleWeightedTactic EOF + { + newCompositeNode(grammarAccess.getWeightedTacticRule()); + pushFollow(FollowSets000.FOLLOW_ruleWeightedTactic_in_entryRuleWeightedTactic5885); + iv_ruleWeightedTactic=ruleWeightedTactic(); + + state._fsp--; + + current =iv_ruleWeightedTactic; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWeightedTactic5895); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleWeightedTactic" + + + // $ANTLR start "ruleWeightedTactic" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2740:1: ruleWeightedTactic returns [EObject current=null] : (otherlv_0= 'WeightedTactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'currentWeight' ( (lv_currentWeight_6_0= ruleEDouble ) ) otherlv_7= 'defaultWeight' ( (lv_defaultWeight_8_0= ruleEDouble ) ) otherlv_9= 'usedTactic' ( ( ruleEString ) ) (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? otherlv_13= '}' ) ; + public final EObject ruleWeightedTactic() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_11=null; + Token otherlv_13=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_name_4_0 = null; + + AntlrDatatypeRuleToken lv_currentWeight_6_0 = null; + + AntlrDatatypeRuleToken lv_defaultWeight_8_0 = null; + + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2743:28: ( (otherlv_0= 'WeightedTactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'currentWeight' ( (lv_currentWeight_6_0= ruleEDouble ) ) otherlv_7= 'defaultWeight' ( (lv_defaultWeight_8_0= ruleEDouble ) ) otherlv_9= 'usedTactic' ( ( ruleEString ) ) (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? otherlv_13= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2744:1: (otherlv_0= 'WeightedTactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'currentWeight' ( (lv_currentWeight_6_0= ruleEDouble ) ) otherlv_7= 'defaultWeight' ( (lv_defaultWeight_8_0= ruleEDouble ) ) otherlv_9= 'usedTactic' ( ( ruleEString ) ) (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? otherlv_13= '}' ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2744:1: (otherlv_0= 'WeightedTactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'currentWeight' ( (lv_currentWeight_6_0= ruleEDouble ) ) otherlv_7= 'defaultWeight' ( (lv_defaultWeight_8_0= ruleEDouble ) ) otherlv_9= 'usedTactic' ( ( ruleEString ) ) (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? otherlv_13= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2744:3: otherlv_0= 'WeightedTactic' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'currentWeight' ( (lv_currentWeight_6_0= ruleEDouble ) ) otherlv_7= 'defaultWeight' ( (lv_defaultWeight_8_0= ruleEDouble ) ) otherlv_9= 'usedTactic' ( ( ruleEString ) ) (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? otherlv_13= '}' + { + otherlv_0=(Token)match(input,75,FollowSets000.FOLLOW_75_in_ruleWeightedTactic5932); + + newLeafNode(otherlv_0, grammarAccess.getWeightedTacticAccess().getWeightedTacticKeyword_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2748:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2749:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2749:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2750:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedTactic5953); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWeightedTactic5965); + + newLeafNode(otherlv_2, grammarAccess.getWeightedTacticAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleWeightedTactic5977); + + newLeafNode(otherlv_3, grammarAccess.getWeightedTacticAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2774:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2775:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2775:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2776:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedTactic5998); + lv_name_4_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,76,FollowSets000.FOLLOW_76_in_ruleWeightedTactic6010); + + newLeafNode(otherlv_5, grammarAccess.getWeightedTacticAccess().getCurrentWeightKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2796:1: ( (lv_currentWeight_6_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2797:1: (lv_currentWeight_6_0= ruleEDouble ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2797:1: (lv_currentWeight_6_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2798:3: lv_currentWeight_6_0= ruleEDouble + { + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getCurrentWeightEDoubleParserRuleCall_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleWeightedTactic6031); + lv_currentWeight_6_0=ruleEDouble(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + current, + "currentWeight", + lv_currentWeight_6_0, + "EDouble"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_7=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleWeightedTactic6043); + + newLeafNode(otherlv_7, grammarAccess.getWeightedTacticAccess().getDefaultWeightKeyword_7()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2818:1: ( (lv_defaultWeight_8_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2819:1: (lv_defaultWeight_8_0= ruleEDouble ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2819:1: (lv_defaultWeight_8_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2820:3: lv_defaultWeight_8_0= ruleEDouble + { + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getDefaultWeightEDoubleParserRuleCall_8_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleWeightedTactic6064); + lv_defaultWeight_8_0=ruleEDouble(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedTacticRule()); + } + set( + current, + "defaultWeight", + lv_defaultWeight_8_0, + "EDouble"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleWeightedTactic6076); + + newLeafNode(otherlv_9, grammarAccess.getWeightedTacticAccess().getUsedTacticKeyword_9()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2840:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2841:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2841:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2842:3: ruleEString + { + + if (current==null) { + current = createModelElement(grammarAccess.getWeightedTacticRule()); + } + + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getUsedTacticTacticCrossReference_10_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedTactic6099); + ruleEString(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2855:2: (otherlv_11= 'lastImpact' ( ( ruleEString ) ) )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==79) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2855:4: otherlv_11= 'lastImpact' ( ( ruleEString ) ) + { + otherlv_11=(Token)match(input,79,FollowSets000.FOLLOW_79_in_ruleWeightedTactic6112); + + newLeafNode(otherlv_11, grammarAccess.getWeightedTacticAccess().getLastImpactKeyword_11_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2859:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2860:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2860:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2861:3: ruleEString + { + + if (current==null) { + current = createModelElement(grammarAccess.getWeightedTacticRule()); + } + + + newCompositeNode(grammarAccess.getWeightedTacticAccess().getLastImpactImpactCrossReference_11_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedTactic6135); + ruleEString(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + otherlv_13=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleWeightedTactic6149); + + newLeafNode(otherlv_13, grammarAccess.getWeightedTacticAccess().getRightCurlyBracketKeyword_12()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleWeightedTactic" + + + // $ANTLR start "entryRuleWeightingFunction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2886:1: entryRuleWeightingFunction returns [EObject current=null] : iv_ruleWeightingFunction= ruleWeightingFunction EOF ; + public final EObject entryRuleWeightingFunction() throws RecognitionException { + EObject current = null; + + EObject iv_ruleWeightingFunction = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2887:2: (iv_ruleWeightingFunction= ruleWeightingFunction EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2888:2: iv_ruleWeightingFunction= ruleWeightingFunction EOF + { + newCompositeNode(grammarAccess.getWeightingFunctionRule()); + pushFollow(FollowSets000.FOLLOW_ruleWeightingFunction_in_entryRuleWeightingFunction6185); + iv_ruleWeightingFunction=ruleWeightingFunction(); + + state._fsp--; + + current =iv_ruleWeightingFunction; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWeightingFunction6195); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleWeightingFunction" + + + // $ANTLR start "ruleWeightingFunction" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2895:1: ruleWeightingFunction returns [EObject current=null] : (otherlv_0= 'WeightingFunction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weightedMetrics' otherlv_6= '{' ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* otherlv_10= '}' otherlv_11= '}' ) ; + public final EObject ruleWeightingFunction() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_6=null; + Token otherlv_8=null; + Token otherlv_10=null; + Token otherlv_11=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_name_4_0 = null; + + EObject lv_weightedMetrics_7_0 = null; + + EObject lv_weightedMetrics_9_0 = null; + + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2898:28: ( (otherlv_0= 'WeightingFunction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weightedMetrics' otherlv_6= '{' ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* otherlv_10= '}' otherlv_11= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2899:1: (otherlv_0= 'WeightingFunction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weightedMetrics' otherlv_6= '{' ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* otherlv_10= '}' otherlv_11= '}' ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2899:1: (otherlv_0= 'WeightingFunction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weightedMetrics' otherlv_6= '{' ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* otherlv_10= '}' otherlv_11= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2899:3: otherlv_0= 'WeightingFunction' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weightedMetrics' otherlv_6= '{' ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* otherlv_10= '}' otherlv_11= '}' + { + otherlv_0=(Token)match(input,80,FollowSets000.FOLLOW_80_in_ruleWeightingFunction6232); + + newLeafNode(otherlv_0, grammarAccess.getWeightingFunctionAccess().getWeightingFunctionKeyword_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2903:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2904:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2904:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2905:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightingFunction6253); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWeightingFunction6265); + + newLeafNode(otherlv_2, grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleWeightingFunction6277); + + newLeafNode(otherlv_3, grammarAccess.getWeightingFunctionAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2929:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2930:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2930:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2931:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightingFunction6298); + lv_name_4_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,81,FollowSets000.FOLLOW_81_in_ruleWeightingFunction6310); + + newLeafNode(otherlv_5, grammarAccess.getWeightingFunctionAccess().getWeightedMetricsKeyword_5()); + + otherlv_6=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWeightingFunction6322); + + newLeafNode(otherlv_6, grammarAccess.getWeightingFunctionAccess().getLeftCurlyBracketKeyword_6()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2955:1: ( (lv_weightedMetrics_7_0= ruleWeightedMetric ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2956:1: (lv_weightedMetrics_7_0= ruleWeightedMetric ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2956:1: (lv_weightedMetrics_7_0= ruleWeightedMetric ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2957:3: lv_weightedMetrics_7_0= ruleWeightedMetric + { + + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_7_0()); + + pushFollow(FollowSets000.FOLLOW_ruleWeightedMetric_in_ruleWeightingFunction6343); + lv_weightedMetrics_7_0=ruleWeightedMetric(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + add( + current, + "weightedMetrics", + lv_weightedMetrics_7_0, + "WeightedMetric"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2973:2: (otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) )* + loop40: + do { + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==15) ) { + alt40=1; + } + + + switch (alt40) { + case 1 : + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2973:4: otherlv_8= ',' ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) + { + otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleWeightingFunction6356); + + newLeafNode(otherlv_8, grammarAccess.getWeightingFunctionAccess().getCommaKeyword_8_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2977:1: ( (lv_weightedMetrics_9_0= ruleWeightedMetric ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2978:1: (lv_weightedMetrics_9_0= ruleWeightedMetric ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2978:1: (lv_weightedMetrics_9_0= ruleWeightedMetric ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:2979:3: lv_weightedMetrics_9_0= ruleWeightedMetric + { + + newCompositeNode(grammarAccess.getWeightingFunctionAccess().getWeightedMetricsWeightedMetricParserRuleCall_8_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleWeightedMetric_in_ruleWeightingFunction6377); + lv_weightedMetrics_9_0=ruleWeightedMetric(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightingFunctionRule()); + } + add( + current, + "weightedMetrics", + lv_weightedMetrics_9_0, + "WeightedMetric"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop40; + } + } while (true); + + otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleWeightingFunction6391); + + newLeafNode(otherlv_10, grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_9()); + + otherlv_11=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleWeightingFunction6403); + + newLeafNode(otherlv_11, grammarAccess.getWeightingFunctionAccess().getRightCurlyBracketKeyword_10()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleWeightingFunction" + + + // $ANTLR start "entryRuleEDate" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3015:1: entryRuleEDate returns [String current=null] : iv_ruleEDate= ruleEDate EOF ; + public final String entryRuleEDate() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleEDate = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3016:2: (iv_ruleEDate= ruleEDate EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3017:2: iv_ruleEDate= ruleEDate EOF + { + newCompositeNode(grammarAccess.getEDateRule()); + pushFollow(FollowSets000.FOLLOW_ruleEDate_in_entryRuleEDate6444); + iv_ruleEDate=ruleEDate(); + + state._fsp--; + + current =iv_ruleEDate.getText(); + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEDate6455); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEDate" + + + // $ANTLR start "ruleEDate" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3024:1: ruleEDate returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'EDate' ; + public final AntlrDatatypeRuleToken ruleEDate() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3027:28: (kw= 'EDate' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3029:2: kw= 'EDate' + { + kw=(Token)match(input,82,FollowSets000.FOLLOW_82_in_ruleEDate6492); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getEDateAccess().getEDateKeyword()); + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEDate" + + + // $ANTLR start "entryRuleMetricValue" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3042:1: entryRuleMetricValue returns [EObject current=null] : iv_ruleMetricValue= ruleMetricValue EOF ; + public final EObject entryRuleMetricValue() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetricValue = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3043:2: (iv_ruleMetricValue= ruleMetricValue EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3044:2: iv_ruleMetricValue= ruleMetricValue EOF + { + newCompositeNode(grammarAccess.getMetricValueRule()); + pushFollow(FollowSets000.FOLLOW_ruleMetricValue_in_entryRuleMetricValue6531); + iv_ruleMetricValue=ruleMetricValue(); + + state._fsp--; + + current =iv_ruleMetricValue; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMetricValue6541); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetricValue" + + + // $ANTLR start "ruleMetricValue" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3051:1: ruleMetricValue returns [EObject current=null] : (otherlv_0= 'MetricValue' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'value' ( (lv_value_6_0= ruleEDouble ) ) otherlv_7= 'metric' ( ( ruleEString ) ) otherlv_9= '}' ) ; + public final EObject ruleMetricValue() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_name_4_0 = null; + + AntlrDatatypeRuleToken lv_value_6_0 = null; + + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3054:28: ( (otherlv_0= 'MetricValue' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'value' ( (lv_value_6_0= ruleEDouble ) ) otherlv_7= 'metric' ( ( ruleEString ) ) otherlv_9= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3055:1: (otherlv_0= 'MetricValue' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'value' ( (lv_value_6_0= ruleEDouble ) ) otherlv_7= 'metric' ( ( ruleEString ) ) otherlv_9= '}' ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3055:1: (otherlv_0= 'MetricValue' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'value' ( (lv_value_6_0= ruleEDouble ) ) otherlv_7= 'metric' ( ( ruleEString ) ) otherlv_9= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3055:3: otherlv_0= 'MetricValue' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'value' ( (lv_value_6_0= ruleEDouble ) ) otherlv_7= 'metric' ( ( ruleEString ) ) otherlv_9= '}' + { + otherlv_0=(Token)match(input,83,FollowSets000.FOLLOW_83_in_ruleMetricValue6578); + + newLeafNode(otherlv_0, grammarAccess.getMetricValueAccess().getMetricValueKeyword_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3059:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3060:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3060:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3061:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getMetricValueAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleMetricValue6599); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleMetricValue6611); + + newLeafNode(otherlv_2, grammarAccess.getMetricValueAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleMetricValue6623); + + newLeafNode(otherlv_3, grammarAccess.getMetricValueAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3085:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3086:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3086:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3087:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getMetricValueAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleMetricValue6644); + lv_name_4_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,84,FollowSets000.FOLLOW_84_in_ruleMetricValue6656); + + newLeafNode(otherlv_5, grammarAccess.getMetricValueAccess().getValueKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3107:1: ( (lv_value_6_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3108:1: (lv_value_6_0= ruleEDouble ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3108:1: (lv_value_6_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3109:3: lv_value_6_0= ruleEDouble + { + + newCompositeNode(grammarAccess.getMetricValueAccess().getValueEDoubleParserRuleCall_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleMetricValue6677); + lv_value_6_0=ruleEDouble(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetricValueRule()); + } + set( + current, + "value", + lv_value_6_0, + "EDouble"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_7=(Token)match(input,85,FollowSets000.FOLLOW_85_in_ruleMetricValue6689); + + newLeafNode(otherlv_7, grammarAccess.getMetricValueAccess().getMetricKeyword_7()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3129:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3130:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3130:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3131:3: ruleEString + { + + if (current==null) { + current = createModelElement(grammarAccess.getMetricValueRule()); + } + + + newCompositeNode(grammarAccess.getMetricValueAccess().getMetricMetricTypeCrossReference_8_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleMetricValue6712); + ruleEString(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleMetricValue6724); + + newLeafNode(otherlv_9, grammarAccess.getMetricValueAccess().getRightCurlyBracketKeyword_9()); + + + } + + + } + + leaveRule(); } catch (RecognitionException re) { @@ -5622,7 +7087,235 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa } return current; } - // $ANTLR end "ruleWeightingFunction" + // $ANTLR end "ruleMetricValue" + + + // $ANTLR start "entryRuleWeightedMetric" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3158:1: entryRuleWeightedMetric returns [EObject current=null] : iv_ruleWeightedMetric= ruleWeightedMetric EOF ; + public final EObject entryRuleWeightedMetric() throws RecognitionException { + EObject current = null; + + EObject iv_ruleWeightedMetric = null; + + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3159:2: (iv_ruleWeightedMetric= ruleWeightedMetric EOF ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3160:2: iv_ruleWeightedMetric= ruleWeightedMetric EOF + { + newCompositeNode(grammarAccess.getWeightedMetricRule()); + pushFollow(FollowSets000.FOLLOW_ruleWeightedMetric_in_entryRuleWeightedMetric6762); + iv_ruleWeightedMetric=ruleWeightedMetric(); + + state._fsp--; + + current =iv_ruleWeightedMetric; + match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWeightedMetric6772); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleWeightedMetric" + + + // $ANTLR start "ruleWeightedMetric" + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3167:1: ruleWeightedMetric returns [EObject current=null] : (otherlv_0= 'WeightedMetric' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weight' ( (lv_weight_6_0= ruleEDouble ) ) otherlv_7= 'metricType' ( ( ruleEString ) ) otherlv_9= '}' ) ; + public final EObject ruleWeightedMetric() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + AntlrDatatypeRuleToken lv_id_1_0 = null; + + AntlrDatatypeRuleToken lv_name_4_0 = null; + + AntlrDatatypeRuleToken lv_weight_6_0 = null; + + + enterRule(); + + try { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3170:28: ( (otherlv_0= 'WeightedMetric' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weight' ( (lv_weight_6_0= ruleEDouble ) ) otherlv_7= 'metricType' ( ( ruleEString ) ) otherlv_9= '}' ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3171:1: (otherlv_0= 'WeightedMetric' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weight' ( (lv_weight_6_0= ruleEDouble ) ) otherlv_7= 'metricType' ( ( ruleEString ) ) otherlv_9= '}' ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3171:1: (otherlv_0= 'WeightedMetric' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weight' ( (lv_weight_6_0= ruleEDouble ) ) otherlv_7= 'metricType' ( ( ruleEString ) ) otherlv_9= '}' ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3171:3: otherlv_0= 'WeightedMetric' ( (lv_id_1_0= ruleEString ) ) otherlv_2= '{' otherlv_3= 'name' ( (lv_name_4_0= ruleEString ) ) otherlv_5= 'weight' ( (lv_weight_6_0= ruleEDouble ) ) otherlv_7= 'metricType' ( ( ruleEString ) ) otherlv_9= '}' + { + otherlv_0=(Token)match(input,86,FollowSets000.FOLLOW_86_in_ruleWeightedMetric6809); + + newLeafNode(otherlv_0, grammarAccess.getWeightedMetricAccess().getWeightedMetricKeyword_0()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3175:1: ( (lv_id_1_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3176:1: (lv_id_1_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3176:1: (lv_id_1_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3177:3: lv_id_1_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightedMetricAccess().getIdEStringParserRuleCall_1_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedMetric6830); + lv_id_1_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + current, + "id", + lv_id_1_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWeightedMetric6842); + + newLeafNode(otherlv_2, grammarAccess.getWeightedMetricAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleWeightedMetric6854); + + newLeafNode(otherlv_3, grammarAccess.getWeightedMetricAccess().getNameKeyword_3()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3201:1: ( (lv_name_4_0= ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3202:1: (lv_name_4_0= ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3202:1: (lv_name_4_0= ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3203:3: lv_name_4_0= ruleEString + { + + newCompositeNode(grammarAccess.getWeightedMetricAccess().getNameEStringParserRuleCall_4_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedMetric6875); + lv_name_4_0=ruleEString(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + current, + "name", + lv_name_4_0, + "EString"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,87,FollowSets000.FOLLOW_87_in_ruleWeightedMetric6887); + + newLeafNode(otherlv_5, grammarAccess.getWeightedMetricAccess().getWeightKeyword_5()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3223:1: ( (lv_weight_6_0= ruleEDouble ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3224:1: (lv_weight_6_0= ruleEDouble ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3224:1: (lv_weight_6_0= ruleEDouble ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3225:3: lv_weight_6_0= ruleEDouble + { + + newCompositeNode(grammarAccess.getWeightedMetricAccess().getWeightEDoubleParserRuleCall_6_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEDouble_in_ruleWeightedMetric6908); + lv_weight_6_0=ruleEDouble(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getWeightedMetricRule()); + } + set( + current, + "weight", + lv_weight_6_0, + "EDouble"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_7=(Token)match(input,88,FollowSets000.FOLLOW_88_in_ruleWeightedMetric6920); + + newLeafNode(otherlv_7, grammarAccess.getWeightedMetricAccess().getMetricTypeKeyword_7()); + + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3245:1: ( ( ruleEString ) ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3246:1: ( ruleEString ) + { + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3246:1: ( ruleEString ) + // ../edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/parser/antlr/internal/InternalStaAdaptationLanguage.g:3247:3: ruleEString + { + + if (current==null) { + current = createModelElement(grammarAccess.getWeightedMetricRule()); + } + + + newCompositeNode(grammarAccess.getWeightedMetricAccess().getMetricTypeMetricTypeCrossReference_8_0()); + + pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWeightedMetric6943); + ruleEString(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleWeightedMetric6955); + + newLeafNode(otherlv_9, grammarAccess.getWeightedMetricAccess().getRightCurlyBracketKeyword_9()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleWeightedMetric" // Delegated rules @@ -5637,267 +7330,353 @@ public class InternalStaAdaptationLanguageParser extends AbstractInternalAntlrPa public static final BitSet FOLLOW_ruleEString_in_ruleStaRepository143 = new BitSet(new long[]{0x0000000000001000L}); public static final BitSet FOLLOW_12_in_ruleStaRepository155 = new BitSet(new long[]{0x0000000000002000L}); public static final BitSet FOLLOW_13_in_ruleStaRepository167 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStaRepository188 = new BitSet(new long[]{0x0000000000024000L}); - public static final BitSet FOLLOW_14_in_ruleStaRepository201 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStaRepository213 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_ruleParameter_in_ruleStaRepository234 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleStaRepository247 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_ruleParameter_in_ruleStaRepository268 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleStaRepository282 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleStaRepository296 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStaRepository308 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_ruleAction_in_ruleStaRepository329 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleStaRepository342 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_ruleAction_in_ruleStaRepository363 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleStaRepository377 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleStaRepository389 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStaRepository401 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_ruleTactic_in_ruleStaRepository422 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleStaRepository435 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_ruleTactic_in_ruleStaRepository456 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleStaRepository470 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleStaRepository482 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStaRepository494 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_ruleStrategy_in_ruleStaRepository515 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleStaRepository528 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_ruleStrategy_in_ruleStaRepository549 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleStaRepository563 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleStaRepository575 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_entryRuleAbstractControlFlowElement613 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAbstractControlFlowElement623 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStart_in_ruleAbstractControlFlowElement670 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStop_in_ruleAbstractControlFlowElement697 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLoop_in_ruleAbstractControlFlowElement724 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBranch_in_ruleAbstractControlFlowElement751 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleActionReference_in_ruleAbstractControlFlowElement778 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariationType_in_entryRuleVariationType813 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVariationType823 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyRange_in_ruleVariationType870 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetOfConfigurations_in_ruleVariationType897 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_entryRuleEString933 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEString944 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEString984 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEString1010 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTactic_in_entryRuleTactic1055 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTactic1065 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_ruleTactic1102 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleTactic1123 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleTactic1135 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleTactic1147 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleTactic1168 = new BitSet(new long[]{0x0000000003200000L}); - public static final BitSet FOLLOW_21_in_ruleTactic1181 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleTactic1193 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleTactic1216 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_15_in_ruleTactic1229 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleTactic1252 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_23_in_ruleTactic1266 = new BitSet(new long[]{0x0000000003000000L}); - public static final BitSet FOLLOW_24_in_ruleTactic1281 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleTactic1304 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_25_in_ruleTactic1318 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleTactic1339 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleTactic1351 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_entryRuleAction1387 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAction1397 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_26_in_ruleAction1434 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1455 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleAction1467 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleAction1479 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1500 = new BitSet(new long[]{0x0000000009200000L}); - public static final BitSet FOLLOW_24_in_ruleAction1513 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1536 = new BitSet(new long[]{0x0000000008200000L}); - public static final BitSet FOLLOW_21_in_ruleAction1551 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleAction1563 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1586 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_15_in_ruleAction1599 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1622 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_23_in_ruleAction1636 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_27_in_ruleAction1650 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAction1673 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleAction1685 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStrategy_in_entryRuleStrategy1721 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStrategy1731 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleStrategy1768 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1789 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStrategy1801 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleStrategy1813 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1834 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_29_in_ruleStrategy1846 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1869 = new BitSet(new long[]{0x0000000040040000L}); - public static final BitSet FOLLOW_30_in_ruleStrategy1882 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); - public static final BitSet FOLLOW_ruleEvent_in_ruleStrategy1903 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleStrategy1917 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStrategy1929 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L}); - public static final BitSet FOLLOW_ruleWeightedTactic_in_ruleStrategy1950 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleStrategy1963 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L}); - public static final BitSet FOLLOW_ruleWeightedTactic_in_ruleStrategy1984 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleStrategy1998 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleStrategy2010 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L}); - public static final BitSet FOLLOW_ruleWeightingFunction_in_ruleStrategy2031 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleStrategy2043 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleParameter_in_entryRuleParameter2079 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleParameter2089 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_32_in_ruleParameter2126 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleParameter2147 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleParameter2159 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleParameter2171 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleParameter2192 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleParameter2204 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdaptationPlan_in_entryRuleAdaptationPlan2240 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAdaptationPlan2250 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleAdaptationPlan2287 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAdaptationPlan2308 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleAdaptationPlan2320 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleAdaptationPlan2332 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAdaptationPlan2353 = new BitSet(new long[]{0x0000000800010000L}); - public static final BitSet FOLLOW_35_in_ruleAdaptationPlan2366 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleAdaptationPlan2378 = new BitSet(new long[]{0x0000499000000000L}); - public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2399 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleAdaptationPlan2412 = new BitSet(new long[]{0x0000499000000000L}); - public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2433 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleAdaptationPlan2447 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleAdaptationPlan2461 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStart_in_entryRuleStart2497 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStart2507 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_36_in_ruleStart2553 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStart2565 = new BitSet(new long[]{0x0000006000010000L}); - public static final BitSet FOLLOW_37_in_ruleStart2578 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStart2601 = new BitSet(new long[]{0x0000004000010000L}); - public static final BitSet FOLLOW_38_in_ruleStart2616 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStart2639 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleStart2653 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStop_in_entryRuleStop2689 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStop2699 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_39_in_ruleStop2745 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleStop2757 = new BitSet(new long[]{0x0000006000010000L}); - public static final BitSet FOLLOW_37_in_ruleStop2770 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStop2793 = new BitSet(new long[]{0x0000004000010000L}); - public static final BitSet FOLLOW_38_in_ruleStop2808 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleStop2831 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleStop2845 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLoop_in_entryRuleLoop2881 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLoop2891 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleLoop2928 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleLoop2940 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_41_in_ruleLoop2952 = new BitSet(new long[]{0x0001000000000040L}); - public static final BitSet FOLLOW_ruleEInt_in_ruleLoop2973 = new BitSet(new long[]{0x0000046000000000L}); - public static final BitSet FOLLOW_37_in_ruleLoop2986 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleLoop3009 = new BitSet(new long[]{0x0000044000000000L}); - public static final BitSet FOLLOW_38_in_ruleLoop3024 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleLoop3047 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_42_in_ruleLoop3061 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleLoop3082 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleLoop3094 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBranch_in_entryRuleBranch3130 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBranch3140 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_43_in_ruleBranch3177 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleBranch3189 = new BitSet(new long[]{0x0000306000000000L}); - public static final BitSet FOLLOW_44_in_ruleBranch3202 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleBranch3223 = new BitSet(new long[]{0x0000206000000000L}); - public static final BitSet FOLLOW_37_in_ruleBranch3238 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleBranch3261 = new BitSet(new long[]{0x0000204000000000L}); - public static final BitSet FOLLOW_38_in_ruleBranch3276 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleBranch3299 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_45_in_ruleBranch3313 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleBranch3325 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleBranch3346 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_15_in_ruleBranch3359 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleBranch3380 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_16_in_ruleBranch3394 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleBranch3406 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleActionReference_in_entryRuleActionReference3442 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleActionReference3452 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_46_in_ruleActionReference3489 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleActionReference3501 = new BitSet(new long[]{0x0000806000000000L}); - public static final BitSet FOLLOW_37_in_ruleActionReference3514 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3537 = new BitSet(new long[]{0x0000804000000000L}); - public static final BitSet FOLLOW_38_in_ruleActionReference3552 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3575 = new BitSet(new long[]{0x0000800000000000L}); - public static final BitSet FOLLOW_47_in_ruleActionReference3589 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3612 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleActionReference3624 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEInt_in_entryRuleEInt3661 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEInt3672 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_48_in_ruleEInt3711 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleEInt3728 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleModelVariableConfigurationRange_in_entryRuleModelVariableConfigurationRange3773 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleModelVariableConfigurationRange3783 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_49_in_ruleModelVariableConfigurationRange3820 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange3841 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleModelVariableConfigurationRange3853 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_50_in_ruleModelVariableConfigurationRange3865 = new BitSet(new long[]{0x0081000000000040L}); - public static final BitSet FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange3886 = new BitSet(new long[]{0x0008000000000000L}); - public static final BitSet FOLLOW_51_in_ruleModelVariableConfigurationRange3898 = new BitSet(new long[]{0x0081000000000040L}); - public static final BitSet FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange3919 = new BitSet(new long[]{0x0010000000000000L}); - public static final BitSet FOLLOW_52_in_ruleModelVariableConfigurationRange3931 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange3954 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleModelVariableConfigurationRange3966 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleModelEntityConfigurationRange_in_entryRuleModelEntityConfigurationRange4002 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleModelEntityConfigurationRange4012 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_53_in_ruleModelEntityConfigurationRange4049 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4070 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleModelEntityConfigurationRange4082 = new BitSet(new long[]{0x0010000000000000L}); - public static final BitSet FOLLOW_52_in_ruleModelEntityConfigurationRange4094 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4117 = new BitSet(new long[]{0x0040000000000000L}); - public static final BitSet FOLLOW_54_in_ruleModelEntityConfigurationRange4129 = new BitSet(new long[]{0x2400000000000000L}); - public static final BitSet FOLLOW_ruleVariationType_in_ruleModelEntityConfigurationRange4150 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleModelEntityConfigurationRange4162 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEDouble_in_entryRuleEDouble4199 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEDouble4210 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_48_in_ruleEDouble4249 = new BitSet(new long[]{0x0080000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4267 = new BitSet(new long[]{0x0080000000000000L}); - public static final BitSet FOLLOW_55_in_ruleEDouble4287 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4302 = new BitSet(new long[]{0x0300000000000002L}); - public static final BitSet FOLLOW_56_in_ruleEDouble4322 = new BitSet(new long[]{0x0001000000000040L}); - public static final BitSet FOLLOW_57_in_ruleEDouble4341 = new BitSet(new long[]{0x0001000000000040L}); - public static final BitSet FOLLOW_48_in_ruleEDouble4356 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4373 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyRange_in_entryRulePropertyRange4422 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePropertyRange4432 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_58_in_rulePropertyRange4469 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_rulePropertyRange4481 = new BitSet(new long[]{0x0800000000000000L}); - public static final BitSet FOLLOW_59_in_rulePropertyRange4493 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); - public static final BitSet FOLLOW_ruleOclConstraint_in_rulePropertyRange4514 = new BitSet(new long[]{0x1000000000000000L}); - public static final BitSet FOLLOW_60_in_rulePropertyRange4526 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); - public static final BitSet FOLLOW_ruleOclConstraint_in_rulePropertyRange4547 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_rulePropertyRange4559 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetOfConfigurations_in_entryRuleSetOfConfigurations4595 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSetOfConfigurations4605 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_61_in_ruleSetOfConfigurations4642 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleSetOfConfigurations4654 = new BitSet(new long[]{0x4000000000000000L}); - public static final BitSet FOLLOW_62_in_ruleSetOfConfigurations4666 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); - public static final BitSet FOLLOW_ruleOclConstraint_in_ruleSetOfConfigurations4687 = new BitSet(new long[]{0x8000000000010000L}); - public static final BitSet FOLLOW_63_in_ruleSetOfConfigurations4700 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleSetOfConfigurations4712 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetOfConfigurations4735 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_15_in_ruleSetOfConfigurations4748 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetOfConfigurations4771 = new BitSet(new long[]{0x0000000000808000L}); - public static final BitSet FOLLOW_23_in_ruleSetOfConfigurations4785 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleSetOfConfigurations4799 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOclConstraint_in_entryRuleOclConstraint4835 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOclConstraint4845 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_64_in_ruleOclConstraint4882 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleOclConstraint4894 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleOclConstraint4906 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleOclConstraint4927 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleOclConstraint4939 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEvent_in_entryRuleEvent4977 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEvent4987 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_66_in_ruleEvent5033 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWeightedTactic_in_entryRuleWeightedTactic5069 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleWeightedTactic5079 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_67_in_ruleWeightedTactic5116 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleWeightedTactic5128 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); - public static final BitSet FOLLOW_68_in_ruleWeightedTactic5140 = new BitSet(new long[]{0x0081000000000040L}); - public static final BitSet FOLLOW_ruleEDouble_in_ruleWeightedTactic5161 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_ruleWeightedTactic5173 = new BitSet(new long[]{0x0081000000000040L}); - public static final BitSet FOLLOW_ruleEDouble_in_ruleWeightedTactic5194 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_70_in_ruleWeightedTactic5206 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleWeightedTactic5229 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleWeightedTactic5241 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWeightingFunction_in_entryRuleWeightingFunction5277 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleWeightingFunction5287 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_71_in_ruleWeightingFunction5324 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleWeightingFunction5345 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStaRepository188 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleStaRepository200 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStaRepository212 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_ruleTactic_in_ruleStaRepository233 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleStaRepository246 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_ruleTactic_in_ruleStaRepository267 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleStaRepository281 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleStaRepository293 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStaRepository305 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_ruleAction_in_ruleStaRepository326 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleStaRepository339 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_ruleAction_in_ruleStaRepository360 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleStaRepository374 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleStaRepository386 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStaRepository398 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_ruleStrategy_in_ruleStaRepository419 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleStaRepository432 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_ruleStrategy_in_ruleStaRepository453 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleStaRepository467 = new BitSet(new long[]{0x0000000000180000L}); + public static final BitSet FOLLOW_19_in_ruleStaRepository480 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStaRepository492 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_ruleParameter_in_ruleStaRepository513 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleStaRepository526 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_ruleParameter_in_ruleStaRepository547 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleStaRepository561 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20_in_ruleStaRepository575 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_ruleOverallGoal_in_ruleStaRepository596 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleStaRepository608 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_entryRuleAbstractControlFlowElement646 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAbstractControlFlowElement656 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStartAction_in_ruleAbstractControlFlowElement703 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStopAction_in_ruleAbstractControlFlowElement730 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLoopAction_in_ruleAbstractControlFlowElement757 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBranchAction_in_ruleAbstractControlFlowElement784 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleActionReference_in_ruleAbstractControlFlowElement811 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleVariationType_in_entryRuleVariationType846 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleVariationType856 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_rulePropertyRange_in_ruleVariationType903 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSetOfConfigurations_in_ruleVariationType930 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEString_in_entryRuleEString966 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEString977 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleEString1017 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleEString1043 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTactic_in_entryRuleTactic1088 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTactic1098 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_21_in_ruleTactic1135 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleTactic1156 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleTactic1168 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleTactic1180 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleTactic1201 = new BitSet(new long[]{0x0000000006400000L}); + public static final BitSet FOLLOW_22_in_ruleTactic1214 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleTactic1226 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleTactic1249 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_15_in_ruleTactic1262 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleTactic1285 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_24_in_ruleTactic1299 = new BitSet(new long[]{0x0000000006000000L}); + public static final BitSet FOLLOW_25_in_ruleTactic1314 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleTactic1337 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_26_in_ruleTactic1351 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleTactic1372 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleTactic1384 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAction_in_entryRuleAction1420 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAction1430 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_27_in_ruleAction1467 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1488 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleAction1500 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleAction1512 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1533 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_28_in_ruleAction1545 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_ruleOperationType_in_ruleAction1566 = new BitSet(new long[]{0x0000000022400000L}); + public static final BitSet FOLLOW_25_in_ruleAction1579 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1602 = new BitSet(new long[]{0x0000000020400000L}); + public static final BitSet FOLLOW_22_in_ruleAction1617 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleAction1629 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1652 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_15_in_ruleAction1665 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1688 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_24_in_ruleAction1702 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_29_in_ruleAction1716 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAction1739 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleAction1751 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStrategy_in_entryRuleStrategy1787 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStrategy1797 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleStrategy1834 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1855 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStrategy1867 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleStrategy1879 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1900 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleStrategy1912 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStrategy1935 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_32_in_ruleStrategy1947 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_ruleEvent_in_ruleStrategy1968 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleStrategy1980 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStrategy1992 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_ruleWeightedTactic_in_ruleStrategy2013 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleStrategy2026 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_ruleWeightedTactic_in_ruleStrategy2047 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleStrategy2061 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleStrategy2073 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); + public static final BitSet FOLLOW_ruleWeightingFunction_in_ruleStrategy2094 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleStrategy2106 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleParameter_in_entryRuleParameter2142 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleParameter2152 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleParameter2189 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleParameter2210 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleParameter2222 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_35_in_ruleParameter2234 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleParameter2255 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleParameter2267 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOverallGoal_in_entryRuleOverallGoal2303 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOverallGoal2313 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_36_in_ruleOverallGoal2350 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleOverallGoal2362 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_37_in_ruleOverallGoal2374 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleOverallGoal2395 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_38_in_ruleOverallGoal2407 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleOverallGoal2419 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L}); + public static final BitSet FOLLOW_ruleObjective_in_ruleOverallGoal2440 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleOverallGoal2453 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L}); + public static final BitSet FOLLOW_ruleObjective_in_ruleOverallGoal2474 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleOverallGoal2488 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleOverallGoal2500 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAdaptationPlan_in_entryRuleAdaptationPlan2536 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAdaptationPlan2546 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_39_in_ruleAdaptationPlan2583 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAdaptationPlan2604 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleAdaptationPlan2616 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleAdaptationPlan2628 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleAdaptationPlan2649 = new BitSet(new long[]{0x0000010000010000L}); + public static final BitSet FOLLOW_40_in_ruleAdaptationPlan2662 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleAdaptationPlan2674 = new BitSet(new long[]{0x0009320000000000L}); + public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2695 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleAdaptationPlan2708 = new BitSet(new long[]{0x0009320000000000L}); + public static final BitSet FOLLOW_ruleAbstractControlFlowElement_in_ruleAdaptationPlan2729 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleAdaptationPlan2743 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleAdaptationPlan2757 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStartAction_in_entryRuleStartAction2793 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStartAction2803 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_41_in_ruleStartAction2849 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStartAction2870 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStartAction2882 = new BitSet(new long[]{0x00000C0000010000L}); + public static final BitSet FOLLOW_42_in_ruleStartAction2895 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStartAction2918 = new BitSet(new long[]{0x0000080000010000L}); + public static final BitSet FOLLOW_43_in_ruleStartAction2933 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStartAction2956 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleStartAction2970 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStopAction_in_entryRuleStopAction3006 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStopAction3016 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_44_in_ruleStopAction3062 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStopAction3083 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleStopAction3095 = new BitSet(new long[]{0x00000C0000010000L}); + public static final BitSet FOLLOW_42_in_ruleStopAction3108 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStopAction3131 = new BitSet(new long[]{0x0000080000010000L}); + public static final BitSet FOLLOW_43_in_ruleStopAction3146 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleStopAction3169 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleStopAction3183 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLoopAction_in_entryRuleLoopAction3219 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLoopAction3229 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_45_in_ruleLoopAction3266 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleLoopAction3287 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleLoopAction3299 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_46_in_ruleLoopAction3311 = new BitSet(new long[]{0x0020000000000040L}); + public static final BitSet FOLLOW_ruleEInt_in_ruleLoopAction3332 = new BitSet(new long[]{0x00008C0000000000L}); + public static final BitSet FOLLOW_42_in_ruleLoopAction3345 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleLoopAction3368 = new BitSet(new long[]{0x0000880000000000L}); + public static final BitSet FOLLOW_43_in_ruleLoopAction3383 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleLoopAction3406 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_47_in_ruleLoopAction3420 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleLoopAction3441 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleLoopAction3453 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBranchAction_in_entryRuleBranchAction3489 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBranchAction3499 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_48_in_ruleBranchAction3536 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleBranchAction3557 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleBranchAction3569 = new BitSet(new long[]{0x00060C0000000000L}); + public static final BitSet FOLLOW_49_in_ruleBranchAction3582 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleBranchAction3603 = new BitSet(new long[]{0x00040C0000000000L}); + public static final BitSet FOLLOW_42_in_ruleBranchAction3618 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleBranchAction3641 = new BitSet(new long[]{0x0004080000000000L}); + public static final BitSet FOLLOW_43_in_ruleBranchAction3656 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleBranchAction3679 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_50_in_ruleBranchAction3693 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleBranchAction3705 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleBranchAction3726 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleBranchAction3739 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_ruleAdaptationPlan_in_ruleBranchAction3760 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleBranchAction3774 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleBranchAction3786 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleActionReference_in_entryRuleActionReference3822 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleActionReference3832 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_51_in_ruleActionReference3869 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3890 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleActionReference3902 = new BitSet(new long[]{0x00100C0000000000L}); + public static final BitSet FOLLOW_42_in_ruleActionReference3915 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3938 = new BitSet(new long[]{0x0010080000000000L}); + public static final BitSet FOLLOW_43_in_ruleActionReference3953 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleActionReference3976 = new BitSet(new long[]{0x0010000000000000L}); + public static final BitSet FOLLOW_52_in_ruleActionReference3990 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleActionReference4013 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleActionReference4025 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEInt_in_entryRuleEInt4062 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEInt4073 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_53_in_ruleEInt4112 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleEInt4129 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOperationType_in_entryRuleOperationType4175 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOperationType4186 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_54_in_ruleOperationType4223 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleModelVariableConfigurationRange_in_entryRuleModelVariableConfigurationRange4262 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleModelVariableConfigurationRange4272 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_55_in_ruleModelVariableConfigurationRange4309 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4330 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleModelVariableConfigurationRange4342 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleModelVariableConfigurationRange4354 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4375 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_56_in_ruleModelVariableConfigurationRange4387 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange4408 = new BitSet(new long[]{0x0200000000000000L}); + public static final BitSet FOLLOW_57_in_ruleModelVariableConfigurationRange4420 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleModelVariableConfigurationRange4441 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_58_in_ruleModelVariableConfigurationRange4453 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelVariableConfigurationRange4476 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleModelVariableConfigurationRange4488 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleModelEntityConfigurationRange_in_entryRuleModelEntityConfigurationRange4524 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleModelEntityConfigurationRange4534 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_59_in_ruleModelEntityConfigurationRange4571 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4592 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleModelEntityConfigurationRange4604 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleModelEntityConfigurationRange4616 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4637 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_58_in_ruleModelEntityConfigurationRange4649 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleModelEntityConfigurationRange4672 = new BitSet(new long[]{0x1000000000000000L}); + public static final BitSet FOLLOW_60_in_ruleModelEntityConfigurationRange4684 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000009L}); + public static final BitSet FOLLOW_ruleVariationType_in_ruleModelEntityConfigurationRange4705 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleModelEntityConfigurationRange4717 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEDouble_in_entryRuleEDouble4754 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEDouble4765 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_53_in_ruleEDouble4804 = new BitSet(new long[]{0x2000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4822 = new BitSet(new long[]{0x2000000000000000L}); + public static final BitSet FOLLOW_61_in_ruleEDouble4842 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4857 = new BitSet(new long[]{0xC000000000000002L}); + public static final BitSet FOLLOW_62_in_ruleEDouble4877 = new BitSet(new long[]{0x0020000000000040L}); + public static final BitSet FOLLOW_63_in_ruleEDouble4896 = new BitSet(new long[]{0x0020000000000040L}); + public static final BitSet FOLLOW_53_in_ruleEDouble4911 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleEDouble4928 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_rulePropertyRange_in_entryRulePropertyRange4975 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRulePropertyRange4985 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_64_in_rulePropertyRange5022 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_rulePropertyRange5034 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_rulePropertyRange5046 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_ruleOclConstraint_in_rulePropertyRange5067 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_66_in_rulePropertyRange5079 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_ruleOclConstraint_in_rulePropertyRange5100 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_rulePropertyRange5112 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSetOfConfigurations_in_entryRuleSetOfConfigurations5148 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSetOfConfigurations5158 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_67_in_ruleSetOfConfigurations5195 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleSetOfConfigurations5207 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000030L}); + public static final BitSet FOLLOW_68_in_ruleSetOfConfigurations5220 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleSetOfConfigurations5232 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleSetOfConfigurations5255 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_15_in_ruleSetOfConfigurations5268 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleSetOfConfigurations5291 = new BitSet(new long[]{0x0000000001008000L}); + public static final BitSet FOLLOW_24_in_ruleSetOfConfigurations5305 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleSetOfConfigurations5319 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_ruleOclConstraint_in_ruleSetOfConfigurations5340 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleSetOfConfigurations5352 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOclConstraint_in_entryRuleOclConstraint5388 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOclConstraint5398 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_70_in_ruleOclConstraint5435 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleOclConstraint5447 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L}); + public static final BitSet FOLLOW_71_in_ruleOclConstraint5459 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleOclConstraint5480 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleOclConstraint5492 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleObjective_in_entryRuleObjective5530 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleObjective5540 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_72_in_ruleObjective5577 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleObjective5598 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleObjective5610 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleObjective5622 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleObjective5643 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_73_in_ruleObjective5655 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleObjective5676 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleObjective5688 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEvent_in_entryRuleEvent5724 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEvent5734 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_74_in_ruleEvent5771 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleEvent5792 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleEvent5804 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleEvent5816 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleEvent5837 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleEvent5849 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleWeightedTactic_in_entryRuleWeightedTactic5885 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleWeightedTactic5895 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_75_in_ruleWeightedTactic5932 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedTactic5953 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleWeightedTactic5965 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleWeightedTactic5977 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedTactic5998 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L}); + public static final BitSet FOLLOW_76_in_ruleWeightedTactic6010 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleWeightedTactic6031 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); + public static final BitSet FOLLOW_77_in_ruleWeightedTactic6043 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleWeightedTactic6064 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); + public static final BitSet FOLLOW_78_in_ruleWeightedTactic6076 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedTactic6099 = new BitSet(new long[]{0x0000000000010000L,0x0000000000008000L}); + public static final BitSet FOLLOW_79_in_ruleWeightedTactic6112 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedTactic6135 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleWeightedTactic6149 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleWeightingFunction_in_entryRuleWeightingFunction6185 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleWeightingFunction6195 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_80_in_ruleWeightingFunction6232 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightingFunction6253 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleWeightingFunction6265 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleWeightingFunction6277 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightingFunction6298 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L}); + public static final BitSet FOLLOW_81_in_ruleWeightingFunction6310 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleWeightingFunction6322 = new BitSet(new long[]{0x0000000000000000L,0x0000000000400000L}); + public static final BitSet FOLLOW_ruleWeightedMetric_in_ruleWeightingFunction6343 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_15_in_ruleWeightingFunction6356 = new BitSet(new long[]{0x0000000000000000L,0x0000000000400000L}); + public static final BitSet FOLLOW_ruleWeightedMetric_in_ruleWeightingFunction6377 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_16_in_ruleWeightingFunction6391 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleWeightingFunction6403 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEDate_in_entryRuleEDate6444 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEDate6455 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_82_in_ruleEDate6492 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleMetricValue_in_entryRuleMetricValue6531 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleMetricValue6541 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_83_in_ruleMetricValue6578 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleMetricValue6599 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleMetricValue6611 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleMetricValue6623 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleMetricValue6644 = new BitSet(new long[]{0x0000000000000000L,0x0000000000100000L}); + public static final BitSet FOLLOW_84_in_ruleMetricValue6656 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleMetricValue6677 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L}); + public static final BitSet FOLLOW_85_in_ruleMetricValue6689 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleMetricValue6712 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleMetricValue6724 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleWeightedMetric_in_entryRuleWeightedMetric6762 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleWeightedMetric6772 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_86_in_ruleWeightedMetric6809 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedMetric6830 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_12_in_ruleWeightedMetric6842 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_13_in_ruleWeightedMetric6854 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedMetric6875 = new BitSet(new long[]{0x0000000000000000L,0x0000000000800000L}); + public static final BitSet FOLLOW_87_in_ruleWeightedMetric6887 = new BitSet(new long[]{0x2020000000000040L}); + public static final BitSet FOLLOW_ruleEDouble_in_ruleWeightedMetric6908 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L}); + public static final BitSet FOLLOW_88_in_ruleWeightedMetric6920 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_ruleEString_in_ruleWeightedMetric6943 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleWeightedMetric6955 = new BitSet(new long[]{0x0000000000000002L}); } diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/services/StaAdaptationLanguageGrammarAccess.java b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/services/StaAdaptationLanguageGrammarAccess.java index dbc702731d405cf14bf47d46228cbab04d86b3af..c906589262efe489b54d88ede27f347f804ac6eb 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/services/StaAdaptationLanguageGrammarAccess.java +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/services/StaAdaptationLanguageGrammarAccess.java @@ -29,54 +29,57 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); - private final Group cGroup_5 = (Group)cGroup.eContents().get(5); - private final Keyword cParametersKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1); - private final Assignment cParametersAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2); - private final RuleCall cParametersParameterParserRuleCall_5_2_0 = (RuleCall)cParametersAssignment_5_2.eContents().get(0); - private final Group cGroup_5_3 = (Group)cGroup_5.eContents().get(3); - private final Keyword cCommaKeyword_5_3_0 = (Keyword)cGroup_5_3.eContents().get(0); - private final Assignment cParametersAssignment_5_3_1 = (Assignment)cGroup_5_3.eContents().get(1); - private final RuleCall cParametersParameterParserRuleCall_5_3_1_0 = (RuleCall)cParametersAssignment_5_3_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5_4 = (Keyword)cGroup_5.eContents().get(4); - private final Keyword cActionsKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Keyword cLeftCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cActionsAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final RuleCall cActionsActionParserRuleCall_8_0 = (RuleCall)cActionsAssignment_8.eContents().get(0); - private final Group cGroup_9 = (Group)cGroup.eContents().get(9); - private final Keyword cCommaKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0); - private final Assignment cActionsAssignment_9_1 = (Assignment)cGroup_9.eContents().get(1); - private final RuleCall cActionsActionParserRuleCall_9_1_0 = (RuleCall)cActionsAssignment_9_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); - private final Keyword cTacticsKeyword_11 = (Keyword)cGroup.eContents().get(11); - private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); - private final Assignment cTacticsAssignment_13 = (Assignment)cGroup.eContents().get(13); - private final RuleCall cTacticsTacticParserRuleCall_13_0 = (RuleCall)cTacticsAssignment_13.eContents().get(0); - private final Group cGroup_14 = (Group)cGroup.eContents().get(14); - private final Keyword cCommaKeyword_14_0 = (Keyword)cGroup_14.eContents().get(0); - private final Assignment cTacticsAssignment_14_1 = (Assignment)cGroup_14.eContents().get(1); - private final RuleCall cTacticsTacticParserRuleCall_14_1_0 = (RuleCall)cTacticsAssignment_14_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); - private final Keyword cStrategiesKeyword_16 = (Keyword)cGroup.eContents().get(16); - private final Keyword cLeftCurlyBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); - private final Assignment cStrategiesAssignment_18 = (Assignment)cGroup.eContents().get(18); - private final RuleCall cStrategiesStrategyParserRuleCall_18_0 = (RuleCall)cStrategiesAssignment_18.eContents().get(0); - private final Group cGroup_19 = (Group)cGroup.eContents().get(19); - private final Keyword cCommaKeyword_19_0 = (Keyword)cGroup_19.eContents().get(0); - private final Assignment cStrategiesAssignment_19_1 = (Assignment)cGroup_19.eContents().get(1); - private final RuleCall cStrategiesStrategyParserRuleCall_19_1_0 = (RuleCall)cStrategiesAssignment_19_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_20 = (Keyword)cGroup.eContents().get(20); - private final Keyword cRightCurlyBracketKeyword_21 = (Keyword)cGroup.eContents().get(21); + private final Keyword cTacticsKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); + private final Assignment cTacticsAssignment_7 = (Assignment)cGroup.eContents().get(7); + private final RuleCall cTacticsTacticParserRuleCall_7_0 = (RuleCall)cTacticsAssignment_7.eContents().get(0); + private final Group cGroup_8 = (Group)cGroup.eContents().get(8); + private final Keyword cCommaKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); + private final Assignment cTacticsAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1); + private final RuleCall cTacticsTacticParserRuleCall_8_1_0 = (RuleCall)cTacticsAssignment_8_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cActionsKeyword_10 = (Keyword)cGroup.eContents().get(10); + private final Keyword cLeftCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); + private final Assignment cActionsAssignment_12 = (Assignment)cGroup.eContents().get(12); + private final RuleCall cActionsActionParserRuleCall_12_0 = (RuleCall)cActionsAssignment_12.eContents().get(0); + private final Group cGroup_13 = (Group)cGroup.eContents().get(13); + private final Keyword cCommaKeyword_13_0 = (Keyword)cGroup_13.eContents().get(0); + private final Assignment cActionsAssignment_13_1 = (Assignment)cGroup_13.eContents().get(1); + private final RuleCall cActionsActionParserRuleCall_13_1_0 = (RuleCall)cActionsAssignment_13_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_14 = (Keyword)cGroup.eContents().get(14); + private final Keyword cStrategiesKeyword_15 = (Keyword)cGroup.eContents().get(15); + private final Keyword cLeftCurlyBracketKeyword_16 = (Keyword)cGroup.eContents().get(16); + private final Assignment cStrategiesAssignment_17 = (Assignment)cGroup.eContents().get(17); + private final RuleCall cStrategiesStrategyParserRuleCall_17_0 = (RuleCall)cStrategiesAssignment_17.eContents().get(0); + private final Group cGroup_18 = (Group)cGroup.eContents().get(18); + private final Keyword cCommaKeyword_18_0 = (Keyword)cGroup_18.eContents().get(0); + private final Assignment cStrategiesAssignment_18_1 = (Assignment)cGroup_18.eContents().get(1); + private final RuleCall cStrategiesStrategyParserRuleCall_18_1_0 = (RuleCall)cStrategiesAssignment_18_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_19 = (Keyword)cGroup.eContents().get(19); + private final Group cGroup_20 = (Group)cGroup.eContents().get(20); + private final Keyword cParametersKeyword_20_0 = (Keyword)cGroup_20.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_20_1 = (Keyword)cGroup_20.eContents().get(1); + private final Assignment cParametersAssignment_20_2 = (Assignment)cGroup_20.eContents().get(2); + private final RuleCall cParametersParameterParserRuleCall_20_2_0 = (RuleCall)cParametersAssignment_20_2.eContents().get(0); + private final Group cGroup_20_3 = (Group)cGroup_20.eContents().get(3); + private final Keyword cCommaKeyword_20_3_0 = (Keyword)cGroup_20_3.eContents().get(0); + private final Assignment cParametersAssignment_20_3_1 = (Assignment)cGroup_20_3.eContents().get(1); + private final RuleCall cParametersParameterParserRuleCall_20_3_1_0 = (RuleCall)cParametersAssignment_20_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_20_4 = (Keyword)cGroup_20.eContents().get(4); + private final Keyword cGoalKeyword_21 = (Keyword)cGroup.eContents().get(21); + private final Assignment cGoalAssignment_22 = (Assignment)cGroup.eContents().get(22); + private final RuleCall cGoalOverallGoalParserRuleCall_22_0 = (RuleCall)cGoalAssignment_22.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_23 = (Keyword)cGroup.eContents().get(23); //StaRepository: - // "StaRepository" id=EString "{" "name" name=EString ("parameters" "{" parameters+=Parameter ("," - // parameters+=Parameter)* "}")? "actions" "{" actions+=Action ("," actions+=Action)* "}" "tactics" "{" tactics+=Tactic - // ("," tactics+=Tactic)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" "}"; + // "StaRepository" id=EString "{" "name" name=EString "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" "actions" + // "{" actions+=Action ("," actions+=Action)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" + // ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? "goal" goal=OverallGoal "}"; public ParserRule getRule() { return rule; } - //"StaRepository" id=EString "{" "name" name=EString ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* - //"}")? "actions" "{" actions+=Action ("," actions+=Action)* "}" "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" - //"strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" "}" + //"StaRepository" id=EString "{" "name" name=EString "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" "actions" + //"{" actions+=Action ("," actions+=Action)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" + //("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? "goal" goal=OverallGoal "}" public Group getGroup() { return cGroup; } //"StaRepository" @@ -100,119 +103,128 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //EString public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } - //("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? - public Group getGroup_5() { return cGroup_5; } - - //"parameters" - public Keyword getParametersKeyword_5_0() { return cParametersKeyword_5_0; } + //"tactics" + public Keyword getTacticsKeyword_5() { return cTacticsKeyword_5; } //"{" - public Keyword getLeftCurlyBracketKeyword_5_1() { return cLeftCurlyBracketKeyword_5_1; } + public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; } - //parameters+=Parameter - public Assignment getParametersAssignment_5_2() { return cParametersAssignment_5_2; } + //tactics+=Tactic + public Assignment getTacticsAssignment_7() { return cTacticsAssignment_7; } - //Parameter - public RuleCall getParametersParameterParserRuleCall_5_2_0() { return cParametersParameterParserRuleCall_5_2_0; } + //Tactic + public RuleCall getTacticsTacticParserRuleCall_7_0() { return cTacticsTacticParserRuleCall_7_0; } - //("," parameters+=Parameter)* - public Group getGroup_5_3() { return cGroup_5_3; } + //("," tactics+=Tactic)* + public Group getGroup_8() { return cGroup_8; } //"," - public Keyword getCommaKeyword_5_3_0() { return cCommaKeyword_5_3_0; } + public Keyword getCommaKeyword_8_0() { return cCommaKeyword_8_0; } - //parameters+=Parameter - public Assignment getParametersAssignment_5_3_1() { return cParametersAssignment_5_3_1; } + //tactics+=Tactic + public Assignment getTacticsAssignment_8_1() { return cTacticsAssignment_8_1; } - //Parameter - public RuleCall getParametersParameterParserRuleCall_5_3_1_0() { return cParametersParameterParserRuleCall_5_3_1_0; } + //Tactic + public RuleCall getTacticsTacticParserRuleCall_8_1_0() { return cTacticsTacticParserRuleCall_8_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_5_4() { return cRightCurlyBracketKeyword_5_4; } + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } //"actions" - public Keyword getActionsKeyword_6() { return cActionsKeyword_6; } + public Keyword getActionsKeyword_10() { return cActionsKeyword_10; } //"{" - public Keyword getLeftCurlyBracketKeyword_7() { return cLeftCurlyBracketKeyword_7; } + public Keyword getLeftCurlyBracketKeyword_11() { return cLeftCurlyBracketKeyword_11; } //actions+=Action - public Assignment getActionsAssignment_8() { return cActionsAssignment_8; } + public Assignment getActionsAssignment_12() { return cActionsAssignment_12; } //Action - public RuleCall getActionsActionParserRuleCall_8_0() { return cActionsActionParserRuleCall_8_0; } + public RuleCall getActionsActionParserRuleCall_12_0() { return cActionsActionParserRuleCall_12_0; } //("," actions+=Action)* - public Group getGroup_9() { return cGroup_9; } + public Group getGroup_13() { return cGroup_13; } //"," - public Keyword getCommaKeyword_9_0() { return cCommaKeyword_9_0; } + public Keyword getCommaKeyword_13_0() { return cCommaKeyword_13_0; } //actions+=Action - public Assignment getActionsAssignment_9_1() { return cActionsAssignment_9_1; } + public Assignment getActionsAssignment_13_1() { return cActionsAssignment_13_1; } //Action - public RuleCall getActionsActionParserRuleCall_9_1_0() { return cActionsActionParserRuleCall_9_1_0; } + public RuleCall getActionsActionParserRuleCall_13_1_0() { return cActionsActionParserRuleCall_13_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } + public Keyword getRightCurlyBracketKeyword_14() { return cRightCurlyBracketKeyword_14; } - //"tactics" - public Keyword getTacticsKeyword_11() { return cTacticsKeyword_11; } + //"strategies" + public Keyword getStrategiesKeyword_15() { return cStrategiesKeyword_15; } //"{" - public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } + public Keyword getLeftCurlyBracketKeyword_16() { return cLeftCurlyBracketKeyword_16; } - //tactics+=Tactic - public Assignment getTacticsAssignment_13() { return cTacticsAssignment_13; } + //strategies+=Strategy + public Assignment getStrategiesAssignment_17() { return cStrategiesAssignment_17; } - //Tactic - public RuleCall getTacticsTacticParserRuleCall_13_0() { return cTacticsTacticParserRuleCall_13_0; } + //Strategy + public RuleCall getStrategiesStrategyParserRuleCall_17_0() { return cStrategiesStrategyParserRuleCall_17_0; } - //("," tactics+=Tactic)* - public Group getGroup_14() { return cGroup_14; } + //("," strategies+=Strategy)* + public Group getGroup_18() { return cGroup_18; } //"," - public Keyword getCommaKeyword_14_0() { return cCommaKeyword_14_0; } + public Keyword getCommaKeyword_18_0() { return cCommaKeyword_18_0; } - //tactics+=Tactic - public Assignment getTacticsAssignment_14_1() { return cTacticsAssignment_14_1; } + //strategies+=Strategy + public Assignment getStrategiesAssignment_18_1() { return cStrategiesAssignment_18_1; } - //Tactic - public RuleCall getTacticsTacticParserRuleCall_14_1_0() { return cTacticsTacticParserRuleCall_14_1_0; } + //Strategy + public RuleCall getStrategiesStrategyParserRuleCall_18_1_0() { return cStrategiesStrategyParserRuleCall_18_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_15() { return cRightCurlyBracketKeyword_15; } + public Keyword getRightCurlyBracketKeyword_19() { return cRightCurlyBracketKeyword_19; } - //"strategies" - public Keyword getStrategiesKeyword_16() { return cStrategiesKeyword_16; } + //("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? + public Group getGroup_20() { return cGroup_20; } + + //"parameters" + public Keyword getParametersKeyword_20_0() { return cParametersKeyword_20_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_17() { return cLeftCurlyBracketKeyword_17; } + public Keyword getLeftCurlyBracketKeyword_20_1() { return cLeftCurlyBracketKeyword_20_1; } - //strategies+=Strategy - public Assignment getStrategiesAssignment_18() { return cStrategiesAssignment_18; } + //parameters+=Parameter + public Assignment getParametersAssignment_20_2() { return cParametersAssignment_20_2; } - //Strategy - public RuleCall getStrategiesStrategyParserRuleCall_18_0() { return cStrategiesStrategyParserRuleCall_18_0; } + //Parameter + public RuleCall getParametersParameterParserRuleCall_20_2_0() { return cParametersParameterParserRuleCall_20_2_0; } - //("," strategies+=Strategy)* - public Group getGroup_19() { return cGroup_19; } + //("," parameters+=Parameter)* + public Group getGroup_20_3() { return cGroup_20_3; } //"," - public Keyword getCommaKeyword_19_0() { return cCommaKeyword_19_0; } + public Keyword getCommaKeyword_20_3_0() { return cCommaKeyword_20_3_0; } - //strategies+=Strategy - public Assignment getStrategiesAssignment_19_1() { return cStrategiesAssignment_19_1; } + //parameters+=Parameter + public Assignment getParametersAssignment_20_3_1() { return cParametersAssignment_20_3_1; } - //Strategy - public RuleCall getStrategiesStrategyParserRuleCall_19_1_0() { return cStrategiesStrategyParserRuleCall_19_1_0; } + //Parameter + public RuleCall getParametersParameterParserRuleCall_20_3_1_0() { return cParametersParameterParserRuleCall_20_3_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_20() { return cRightCurlyBracketKeyword_20; } + public Keyword getRightCurlyBracketKeyword_20_4() { return cRightCurlyBracketKeyword_20_4; } + + //"goal" + public Keyword getGoalKeyword_21() { return cGoalKeyword_21; } + + //goal=OverallGoal + public Assignment getGoalAssignment_22() { return cGoalAssignment_22; } + + //OverallGoal + public RuleCall getGoalOverallGoalParserRuleCall_22_0() { return cGoalOverallGoalParserRuleCall_22_0; } //"}" - public Keyword getRightCurlyBracketKeyword_21() { return cRightCurlyBracketKeyword_21; } + public Keyword getRightCurlyBracketKeyword_23() { return cRightCurlyBracketKeyword_23; } } public class AdaptationPointElements extends AbstractParserRuleElementFinder { @@ -238,30 +250,30 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public class AbstractControlFlowElementElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractControlFlowElement"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cStartParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cStopParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cLoopParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cBranchParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cStartActionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cStopActionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cLoopActionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cBranchActionParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cActionReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); //AbstractControlFlowElement: - // Start | Stop | Loop | Branch | ActionReference; + // StartAction | StopAction | LoopAction | BranchAction | ActionReference; public ParserRule getRule() { return rule; } - //Start | Stop | Loop | Branch | ActionReference + //StartAction | StopAction | LoopAction | BranchAction | ActionReference public Alternatives getAlternatives() { return cAlternatives; } - //Start - public RuleCall getStartParserRuleCall_0() { return cStartParserRuleCall_0; } + //StartAction + public RuleCall getStartActionParserRuleCall_0() { return cStartActionParserRuleCall_0; } - //Stop - public RuleCall getStopParserRuleCall_1() { return cStopParserRuleCall_1; } + //StopAction + public RuleCall getStopActionParserRuleCall_1() { return cStopActionParserRuleCall_1; } - //Loop - public RuleCall getLoopParserRuleCall_2() { return cLoopParserRuleCall_2; } + //LoopAction + public RuleCall getLoopActionParserRuleCall_2() { return cLoopActionParserRuleCall_2; } - //Branch - public RuleCall getBranchParserRuleCall_3() { return cBranchParserRuleCall_3; } + //BranchAction + public RuleCall getBranchActionParserRuleCall_3() { return cBranchActionParserRuleCall_3; } //ActionReference public RuleCall getActionReferenceParserRuleCall_4() { return cActionReferenceParserRuleCall_4; } @@ -445,37 +457,42 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); - private final Group cGroup_5 = (Group)cGroup.eContents().get(5); - private final Keyword cOutputParamKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); - private final Assignment cOutputParamAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); - private final CrossReference cOutputParamParameterCrossReference_5_1_0 = (CrossReference)cOutputParamAssignment_5_1.eContents().get(0); - private final RuleCall cOutputParamParameterEStringParserRuleCall_5_1_0_1 = (RuleCall)cOutputParamParameterCrossReference_5_1_0.eContents().get(1); - private final Group cGroup_6 = (Group)cGroup.eContents().get(6); - private final Keyword cInputParamsKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_6_1 = (Keyword)cGroup_6.eContents().get(1); - private final Assignment cInputParamsAssignment_6_2 = (Assignment)cGroup_6.eContents().get(2); - private final CrossReference cInputParamsParameterCrossReference_6_2_0 = (CrossReference)cInputParamsAssignment_6_2.eContents().get(0); - private final RuleCall cInputParamsParameterEStringParserRuleCall_6_2_0_1 = (RuleCall)cInputParamsParameterCrossReference_6_2_0.eContents().get(1); - private final Group cGroup_6_3 = (Group)cGroup_6.eContents().get(3); - private final Keyword cCommaKeyword_6_3_0 = (Keyword)cGroup_6_3.eContents().get(0); - private final Assignment cInputParamsAssignment_6_3_1 = (Assignment)cGroup_6_3.eContents().get(1); - private final CrossReference cInputParamsParameterCrossReference_6_3_1_0 = (CrossReference)cInputParamsAssignment_6_3_1.eContents().get(0); - private final RuleCall cInputParamsParameterEStringParserRuleCall_6_3_1_0_1 = (RuleCall)cInputParamsParameterCrossReference_6_3_1_0.eContents().get(1); - private final Keyword cRightParenthesisKeyword_6_4 = (Keyword)cGroup_6.eContents().get(4); - private final Keyword cReferredAdaptationPointKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cReferredAdaptationPointAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final CrossReference cReferredAdaptationPointAdaptationPointCrossReference_8_0 = (CrossReference)cReferredAdaptationPointAssignment_8.eContents().get(0); - private final RuleCall cReferredAdaptationPointAdaptationPointEStringParserRuleCall_8_0_1 = (RuleCall)cReferredAdaptationPointAdaptationPointCrossReference_8_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cOperationTypeKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cOperationTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cOperationTypeOperationTypeParserRuleCall_6_0 = (RuleCall)cOperationTypeAssignment_6.eContents().get(0); + private final Group cGroup_7 = (Group)cGroup.eContents().get(7); + private final Keyword cOutputParamKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); + private final Assignment cOutputParamAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); + private final CrossReference cOutputParamParameterCrossReference_7_1_0 = (CrossReference)cOutputParamAssignment_7_1.eContents().get(0); + private final RuleCall cOutputParamParameterEStringParserRuleCall_7_1_0_1 = (RuleCall)cOutputParamParameterCrossReference_7_1_0.eContents().get(1); + private final Group cGroup_8 = (Group)cGroup.eContents().get(8); + private final Keyword cInputParamsKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); + private final Keyword cLeftParenthesisKeyword_8_1 = (Keyword)cGroup_8.eContents().get(1); + private final Assignment cInputParamsAssignment_8_2 = (Assignment)cGroup_8.eContents().get(2); + private final CrossReference cInputParamsParameterCrossReference_8_2_0 = (CrossReference)cInputParamsAssignment_8_2.eContents().get(0); + private final RuleCall cInputParamsParameterEStringParserRuleCall_8_2_0_1 = (RuleCall)cInputParamsParameterCrossReference_8_2_0.eContents().get(1); + private final Group cGroup_8_3 = (Group)cGroup_8.eContents().get(3); + private final Keyword cCommaKeyword_8_3_0 = (Keyword)cGroup_8_3.eContents().get(0); + private final Assignment cInputParamsAssignment_8_3_1 = (Assignment)cGroup_8_3.eContents().get(1); + private final CrossReference cInputParamsParameterCrossReference_8_3_1_0 = (CrossReference)cInputParamsAssignment_8_3_1.eContents().get(0); + private final RuleCall cInputParamsParameterEStringParserRuleCall_8_3_1_0_1 = (RuleCall)cInputParamsParameterCrossReference_8_3_1_0.eContents().get(1); + private final Keyword cRightParenthesisKeyword_8_4 = (Keyword)cGroup_8.eContents().get(4); + private final Keyword cReferredAdaptationPointKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cReferredAdaptationPointAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final CrossReference cReferredAdaptationPointAdaptationPointCrossReference_10_0 = (CrossReference)cReferredAdaptationPointAssignment_10.eContents().get(0); + private final RuleCall cReferredAdaptationPointAdaptationPointEStringParserRuleCall_10_0_1 = (RuleCall)cReferredAdaptationPointAdaptationPointCrossReference_10_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); //Action: - // "Action" id=EString "{" "name" name=EString ("outputParam" outputParam=[Parameter|EString])? ("inputParams" "(" - // inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" + // "Action" id=EString "{" "name" name=EString "operationType" operationType=OperationType ("outputParam" + // outputParam=[Parameter|EString])? ("inputParams" "(" inputParams+=[Parameter|EString] ("," + // inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" // referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] "}"; public ParserRule getRule() { return rule; } - //"Action" id=EString "{" "name" name=EString ("outputParam" outputParam=[Parameter|EString])? ("inputParams" "(" - //inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" + //"Action" id=EString "{" "name" name=EString "operationType" operationType=OperationType ("outputParam" + //outputParam=[Parameter|EString])? ("inputParams" "(" inputParams+=[Parameter|EString] ("," + //inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" //referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] "}" public Group getGroup() { return cGroup; } @@ -500,71 +517,80 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //EString public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + //"operationType" + public Keyword getOperationTypeKeyword_5() { return cOperationTypeKeyword_5; } + + //operationType=OperationType + public Assignment getOperationTypeAssignment_6() { return cOperationTypeAssignment_6; } + + //OperationType + public RuleCall getOperationTypeOperationTypeParserRuleCall_6_0() { return cOperationTypeOperationTypeParserRuleCall_6_0; } + //("outputParam" outputParam=[Parameter|EString])? - public Group getGroup_5() { return cGroup_5; } + public Group getGroup_7() { return cGroup_7; } //"outputParam" - public Keyword getOutputParamKeyword_5_0() { return cOutputParamKeyword_5_0; } + public Keyword getOutputParamKeyword_7_0() { return cOutputParamKeyword_7_0; } //outputParam=[Parameter|EString] - public Assignment getOutputParamAssignment_5_1() { return cOutputParamAssignment_5_1; } + public Assignment getOutputParamAssignment_7_1() { return cOutputParamAssignment_7_1; } //[Parameter|EString] - public CrossReference getOutputParamParameterCrossReference_5_1_0() { return cOutputParamParameterCrossReference_5_1_0; } + public CrossReference getOutputParamParameterCrossReference_7_1_0() { return cOutputParamParameterCrossReference_7_1_0; } //EString - public RuleCall getOutputParamParameterEStringParserRuleCall_5_1_0_1() { return cOutputParamParameterEStringParserRuleCall_5_1_0_1; } + public RuleCall getOutputParamParameterEStringParserRuleCall_7_1_0_1() { return cOutputParamParameterEStringParserRuleCall_7_1_0_1; } //("inputParams" "(" inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? - public Group getGroup_6() { return cGroup_6; } + public Group getGroup_8() { return cGroup_8; } //"inputParams" - public Keyword getInputParamsKeyword_6_0() { return cInputParamsKeyword_6_0; } + public Keyword getInputParamsKeyword_8_0() { return cInputParamsKeyword_8_0; } //"(" - public Keyword getLeftParenthesisKeyword_6_1() { return cLeftParenthesisKeyword_6_1; } + public Keyword getLeftParenthesisKeyword_8_1() { return cLeftParenthesisKeyword_8_1; } //inputParams+=[Parameter|EString] - public Assignment getInputParamsAssignment_6_2() { return cInputParamsAssignment_6_2; } + public Assignment getInputParamsAssignment_8_2() { return cInputParamsAssignment_8_2; } //[Parameter|EString] - public CrossReference getInputParamsParameterCrossReference_6_2_0() { return cInputParamsParameterCrossReference_6_2_0; } + public CrossReference getInputParamsParameterCrossReference_8_2_0() { return cInputParamsParameterCrossReference_8_2_0; } //EString - public RuleCall getInputParamsParameterEStringParserRuleCall_6_2_0_1() { return cInputParamsParameterEStringParserRuleCall_6_2_0_1; } + public RuleCall getInputParamsParameterEStringParserRuleCall_8_2_0_1() { return cInputParamsParameterEStringParserRuleCall_8_2_0_1; } //("," inputParams+=[Parameter|EString])* - public Group getGroup_6_3() { return cGroup_6_3; } + public Group getGroup_8_3() { return cGroup_8_3; } //"," - public Keyword getCommaKeyword_6_3_0() { return cCommaKeyword_6_3_0; } + public Keyword getCommaKeyword_8_3_0() { return cCommaKeyword_8_3_0; } //inputParams+=[Parameter|EString] - public Assignment getInputParamsAssignment_6_3_1() { return cInputParamsAssignment_6_3_1; } + public Assignment getInputParamsAssignment_8_3_1() { return cInputParamsAssignment_8_3_1; } //[Parameter|EString] - public CrossReference getInputParamsParameterCrossReference_6_3_1_0() { return cInputParamsParameterCrossReference_6_3_1_0; } + public CrossReference getInputParamsParameterCrossReference_8_3_1_0() { return cInputParamsParameterCrossReference_8_3_1_0; } //EString - public RuleCall getInputParamsParameterEStringParserRuleCall_6_3_1_0_1() { return cInputParamsParameterEStringParserRuleCall_6_3_1_0_1; } + public RuleCall getInputParamsParameterEStringParserRuleCall_8_3_1_0_1() { return cInputParamsParameterEStringParserRuleCall_8_3_1_0_1; } //")" - public Keyword getRightParenthesisKeyword_6_4() { return cRightParenthesisKeyword_6_4; } + public Keyword getRightParenthesisKeyword_8_4() { return cRightParenthesisKeyword_8_4; } //"referredAdaptationPoint" - public Keyword getReferredAdaptationPointKeyword_7() { return cReferredAdaptationPointKeyword_7; } + public Keyword getReferredAdaptationPointKeyword_9() { return cReferredAdaptationPointKeyword_9; } //referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] - public Assignment getReferredAdaptationPointAssignment_8() { return cReferredAdaptationPointAssignment_8; } + public Assignment getReferredAdaptationPointAssignment_10() { return cReferredAdaptationPointAssignment_10; } //[adaptationpoints::AdaptationPoint|EString] - public CrossReference getReferredAdaptationPointAdaptationPointCrossReference_8_0() { return cReferredAdaptationPointAdaptationPointCrossReference_8_0; } + public CrossReference getReferredAdaptationPointAdaptationPointCrossReference_10_0() { return cReferredAdaptationPointAdaptationPointCrossReference_10_0; } //EString - public RuleCall getReferredAdaptationPointAdaptationPointEStringParserRuleCall_8_0_1() { return cReferredAdaptationPointAdaptationPointEStringParserRuleCall_8_0_1; } + public RuleCall getReferredAdaptationPointAdaptationPointEStringParserRuleCall_10_0_1() { return cReferredAdaptationPointAdaptationPointEStringParserRuleCall_10_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + public Keyword getRightCurlyBracketKeyword_11() { return cRightCurlyBracketKeyword_11; } } public class StrategyElements extends AbstractParserRuleElementFinder { @@ -581,32 +607,31 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Assignment cObjectiveAssignment_6 = (Assignment)cGroup.eContents().get(6); private final CrossReference cObjectiveObjectiveCrossReference_6_0 = (CrossReference)cObjectiveAssignment_6.eContents().get(0); private final RuleCall cObjectiveObjectiveEStringParserRuleCall_6_0_1 = (RuleCall)cObjectiveObjectiveCrossReference_6_0.eContents().get(1); - private final Group cGroup_7 = (Group)cGroup.eContents().get(7); - private final Keyword cTriggeringEventsKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); - private final Assignment cTriggeringEventsAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); - private final RuleCall cTriggeringEventsEventParserRuleCall_7_1_0 = (RuleCall)cTriggeringEventsAssignment_7_1.eContents().get(0); - private final Keyword cTacticsKeyword_8 = (Keyword)cGroup.eContents().get(8); - private final Keyword cLeftCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); - private final Assignment cTacticsAssignment_10 = (Assignment)cGroup.eContents().get(10); - private final RuleCall cTacticsWeightedTacticParserRuleCall_10_0 = (RuleCall)cTacticsAssignment_10.eContents().get(0); - private final Group cGroup_11 = (Group)cGroup.eContents().get(11); - private final Keyword cCommaKeyword_11_0 = (Keyword)cGroup_11.eContents().get(0); - private final Assignment cTacticsAssignment_11_1 = (Assignment)cGroup_11.eContents().get(1); - private final RuleCall cTacticsWeightedTacticParserRuleCall_11_1_0 = (RuleCall)cTacticsAssignment_11_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); - private final Keyword cWeightingFunctionKeyword_13 = (Keyword)cGroup.eContents().get(13); - private final Assignment cWeightingFunctionAssignment_14 = (Assignment)cGroup.eContents().get(14); - private final RuleCall cWeightingFunctionWeightingFunctionParserRuleCall_14_0 = (RuleCall)cWeightingFunctionAssignment_14.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); + private final Keyword cTriggeringEventsKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cTriggeringEventsAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cTriggeringEventsEventParserRuleCall_8_0 = (RuleCall)cTriggeringEventsAssignment_8.eContents().get(0); + private final Keyword cTacticsKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cLeftCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); + private final Assignment cTacticsAssignment_11 = (Assignment)cGroup.eContents().get(11); + private final RuleCall cTacticsWeightedTacticParserRuleCall_11_0 = (RuleCall)cTacticsAssignment_11.eContents().get(0); + private final Group cGroup_12 = (Group)cGroup.eContents().get(12); + private final Keyword cCommaKeyword_12_0 = (Keyword)cGroup_12.eContents().get(0); + private final Assignment cTacticsAssignment_12_1 = (Assignment)cGroup_12.eContents().get(1); + private final RuleCall cTacticsWeightedTacticParserRuleCall_12_1_0 = (RuleCall)cTacticsAssignment_12_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_13 = (Keyword)cGroup.eContents().get(13); + private final Keyword cWeightingFunctionKeyword_14 = (Keyword)cGroup.eContents().get(14); + private final Assignment cWeightingFunctionAssignment_15 = (Assignment)cGroup.eContents().get(15); + private final RuleCall cWeightingFunctionWeightingFunctionParserRuleCall_15_0 = (RuleCall)cWeightingFunctionAssignment_15.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_16 = (Keyword)cGroup.eContents().get(16); //Strategy: - // "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] ("triggeringEvents" - // triggeringEvents=Event)? "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" + // "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] "triggeringEvents" + // triggeringEvents=Event "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" // weightingFunction=WeightingFunction "}"; public ParserRule getRule() { return rule; } - //"Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] ("triggeringEvents" - //triggeringEvents=Event)? "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" + //"Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] "triggeringEvents" + //triggeringEvents=Event "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" //weightingFunction=WeightingFunction "}" public Group getGroup() { return cGroup; } @@ -643,56 +668,53 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //EString public RuleCall getObjectiveObjectiveEStringParserRuleCall_6_0_1() { return cObjectiveObjectiveEStringParserRuleCall_6_0_1; } - //("triggeringEvents" triggeringEvents=Event)? - public Group getGroup_7() { return cGroup_7; } - //"triggeringEvents" - public Keyword getTriggeringEventsKeyword_7_0() { return cTriggeringEventsKeyword_7_0; } + public Keyword getTriggeringEventsKeyword_7() { return cTriggeringEventsKeyword_7; } //triggeringEvents=Event - public Assignment getTriggeringEventsAssignment_7_1() { return cTriggeringEventsAssignment_7_1; } + public Assignment getTriggeringEventsAssignment_8() { return cTriggeringEventsAssignment_8; } //Event - public RuleCall getTriggeringEventsEventParserRuleCall_7_1_0() { return cTriggeringEventsEventParserRuleCall_7_1_0; } + public RuleCall getTriggeringEventsEventParserRuleCall_8_0() { return cTriggeringEventsEventParserRuleCall_8_0; } //"tactics" - public Keyword getTacticsKeyword_8() { return cTacticsKeyword_8; } + public Keyword getTacticsKeyword_9() { return cTacticsKeyword_9; } //"{" - public Keyword getLeftCurlyBracketKeyword_9() { return cLeftCurlyBracketKeyword_9; } + public Keyword getLeftCurlyBracketKeyword_10() { return cLeftCurlyBracketKeyword_10; } //tactics+=WeightedTactic - public Assignment getTacticsAssignment_10() { return cTacticsAssignment_10; } + public Assignment getTacticsAssignment_11() { return cTacticsAssignment_11; } //WeightedTactic - public RuleCall getTacticsWeightedTacticParserRuleCall_10_0() { return cTacticsWeightedTacticParserRuleCall_10_0; } + public RuleCall getTacticsWeightedTacticParserRuleCall_11_0() { return cTacticsWeightedTacticParserRuleCall_11_0; } //("," tactics+=WeightedTactic)* - public Group getGroup_11() { return cGroup_11; } + public Group getGroup_12() { return cGroup_12; } //"," - public Keyword getCommaKeyword_11_0() { return cCommaKeyword_11_0; } + public Keyword getCommaKeyword_12_0() { return cCommaKeyword_12_0; } //tactics+=WeightedTactic - public Assignment getTacticsAssignment_11_1() { return cTacticsAssignment_11_1; } + public Assignment getTacticsAssignment_12_1() { return cTacticsAssignment_12_1; } //WeightedTactic - public RuleCall getTacticsWeightedTacticParserRuleCall_11_1_0() { return cTacticsWeightedTacticParserRuleCall_11_1_0; } + public RuleCall getTacticsWeightedTacticParserRuleCall_12_1_0() { return cTacticsWeightedTacticParserRuleCall_12_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_12() { return cRightCurlyBracketKeyword_12; } + public Keyword getRightCurlyBracketKeyword_13() { return cRightCurlyBracketKeyword_13; } //"weightingFunction" - public Keyword getWeightingFunctionKeyword_13() { return cWeightingFunctionKeyword_13; } + public Keyword getWeightingFunctionKeyword_14() { return cWeightingFunctionKeyword_14; } //weightingFunction=WeightingFunction - public Assignment getWeightingFunctionAssignment_14() { return cWeightingFunctionAssignment_14; } + public Assignment getWeightingFunctionAssignment_15() { return cWeightingFunctionAssignment_15; } //WeightingFunction - public RuleCall getWeightingFunctionWeightingFunctionParserRuleCall_14_0() { return cWeightingFunctionWeightingFunctionParserRuleCall_14_0; } + public RuleCall getWeightingFunctionWeightingFunctionParserRuleCall_15_0() { return cWeightingFunctionWeightingFunctionParserRuleCall_15_0; } //"}" - public Keyword getRightCurlyBracketKeyword_15() { return cRightCurlyBracketKeyword_15; } + public Keyword getRightCurlyBracketKeyword_16() { return cRightCurlyBracketKeyword_16; } } public class ParameterElements extends AbstractParserRuleElementFinder { @@ -739,6 +761,80 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } } + public class OverallGoalElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OverallGoal"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cOverallGoalKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Keyword cDescriptionKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cDescriptionAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cDescriptionEStringParserRuleCall_3_0 = (RuleCall)cDescriptionAssignment_3.eContents().get(0); + private final Keyword cObjectivesKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Keyword cLeftCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cObjectivesAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cObjectivesObjectiveParserRuleCall_6_0 = (RuleCall)cObjectivesAssignment_6.eContents().get(0); + private final Group cGroup_7 = (Group)cGroup.eContents().get(7); + private final Keyword cCommaKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); + private final Assignment cObjectivesAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); + private final RuleCall cObjectivesObjectiveParserRuleCall_7_1_0 = (RuleCall)cObjectivesAssignment_7_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + + //OverallGoal: + // "OverallGoal" "{" "description" description=EString "objectives" "{" objectives+=Objective ("," + // objectives+=Objective)* "}" "}"; + public ParserRule getRule() { return rule; } + + //"OverallGoal" "{" "description" description=EString "objectives" "{" objectives+=Objective ("," objectives+=Objective)* + //"}" "}" + public Group getGroup() { return cGroup; } + + //"OverallGoal" + public Keyword getOverallGoalKeyword_0() { return cOverallGoalKeyword_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //"description" + public Keyword getDescriptionKeyword_2() { return cDescriptionKeyword_2; } + + //description=EString + public Assignment getDescriptionAssignment_3() { return cDescriptionAssignment_3; } + + //EString + public RuleCall getDescriptionEStringParserRuleCall_3_0() { return cDescriptionEStringParserRuleCall_3_0; } + + //"objectives" + public Keyword getObjectivesKeyword_4() { return cObjectivesKeyword_4; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_5() { return cLeftCurlyBracketKeyword_5; } + + //objectives+=Objective + public Assignment getObjectivesAssignment_6() { return cObjectivesAssignment_6; } + + //Objective + public RuleCall getObjectivesObjectiveParserRuleCall_6_0() { return cObjectivesObjectiveParserRuleCall_6_0; } + + //("," objectives+=Objective)* + public Group getGroup_7() { return cGroup_7; } + + //"," + public Keyword getCommaKeyword_7_0() { return cCommaKeyword_7_0; } + + //objectives+=Objective + public Assignment getObjectivesAssignment_7_1() { return cObjectivesAssignment_7_1; } + + //Objective + public RuleCall getObjectivesObjectiveParserRuleCall_7_1_0() { return cObjectivesObjectiveParserRuleCall_7_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } + + //"}" + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + } + public class AdaptationPlanElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AdaptationPlan"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -825,436 +921,476 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } - public class StartElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Start"); + public class StartActionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StartAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cStartActionAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cStartKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cPredecessorKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cPredecessorAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_3_1_0 = (CrossReference)cPredecessorAssignment_3_1.eContents().get(0); - private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_3_1_0.eContents().get(1); + private final Keyword cStartActionKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cIdAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cIdEStringParserRuleCall_2_0 = (RuleCall)cIdAssignment_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cSuccessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cSuccessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cSuccessorAssignment_4_1.eContents().get(0); - private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Keyword cPredecessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cPredecessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cPredecessorAssignment_4_1.eContents().get(0); + private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); + private final Group cGroup_5 = (Group)cGroup.eContents().get(5); + private final Keyword cSuccessorKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); + private final Assignment cSuccessorAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); + private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_5_1_0 = (CrossReference)cSuccessorAssignment_5_1.eContents().get(0); + private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_5_1_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); - //Start returns StartAction: - // {StartAction} "Start" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "}"; + //StartAction: + // {StartAction} "StartAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "}"; public ParserRule getRule() { return rule; } - //{StartAction} "Start" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - //successor=[AbstractControlFlowElement|EString])? "}" + //{StartAction} "StartAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + //("successor" successor=[AbstractControlFlowElement|EString])? "}" public Group getGroup() { return cGroup; } //{StartAction} public Action getStartActionAction_0() { return cStartActionAction_0; } - //"Start" - public Keyword getStartKeyword_1() { return cStartKeyword_1; } + //"StartAction" + public Keyword getStartActionKeyword_1() { return cStartActionKeyword_1; } + + //id=EString + public Assignment getIdAssignment_2() { return cIdAssignment_2; } + + //EString + public RuleCall getIdEStringParserRuleCall_2_0() { return cIdEStringParserRuleCall_2_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //("predecessor" predecessor=[AbstractControlFlowElement|EString])? - public Group getGroup_3() { return cGroup_3; } + public Group getGroup_4() { return cGroup_4; } //"predecessor" - public Keyword getPredecessorKeyword_3_0() { return cPredecessorKeyword_3_0; } + public Keyword getPredecessorKeyword_4_0() { return cPredecessorKeyword_4_0; } //predecessor=[AbstractControlFlowElement|EString] - public Assignment getPredecessorAssignment_3_1() { return cPredecessorAssignment_3_1; } + public Assignment getPredecessorAssignment_4_1() { return cPredecessorAssignment_4_1; } //[AbstractControlFlowElement|EString] - public CrossReference getPredecessorAbstractControlFlowElementCrossReference_3_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_3_1_0; } + public CrossReference getPredecessorAbstractControlFlowElementCrossReference_4_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_4_1_0; } //EString - public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1; } + public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } //("successor" successor=[AbstractControlFlowElement|EString])? - public Group getGroup_4() { return cGroup_4; } + public Group getGroup_5() { return cGroup_5; } //"successor" - public Keyword getSuccessorKeyword_4_0() { return cSuccessorKeyword_4_0; } + public Keyword getSuccessorKeyword_5_0() { return cSuccessorKeyword_5_0; } //successor=[AbstractControlFlowElement|EString] - public Assignment getSuccessorAssignment_4_1() { return cSuccessorAssignment_4_1; } + public Assignment getSuccessorAssignment_5_1() { return cSuccessorAssignment_5_1; } //[AbstractControlFlowElement|EString] - public CrossReference getSuccessorAbstractControlFlowElementCrossReference_4_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_4_1_0; } + public CrossReference getSuccessorAbstractControlFlowElementCrossReference_5_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_5_1_0; } //EString - public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } + public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } - public class StopElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Stop"); + public class StopActionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StopAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cStopActionAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cStopKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cPredecessorKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cPredecessorAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_3_1_0 = (CrossReference)cPredecessorAssignment_3_1.eContents().get(0); - private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_3_1_0.eContents().get(1); + private final Keyword cStopActionKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cIdAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cIdEStringParserRuleCall_2_0 = (RuleCall)cIdAssignment_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cSuccessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cSuccessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cSuccessorAssignment_4_1.eContents().get(0); - private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Keyword cPredecessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cPredecessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cPredecessorAssignment_4_1.eContents().get(0); + private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); + private final Group cGroup_5 = (Group)cGroup.eContents().get(5); + private final Keyword cSuccessorKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); + private final Assignment cSuccessorAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); + private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_5_1_0 = (CrossReference)cSuccessorAssignment_5_1.eContents().get(0); + private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_5_1_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); - //Stop returns StopAction: - // {StopAction} "Stop" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "}"; + //StopAction: + // {StopAction} "StopAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "}"; public ParserRule getRule() { return rule; } - //{StopAction} "Stop" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" + //{StopAction} "StopAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" //successor=[AbstractControlFlowElement|EString])? "}" public Group getGroup() { return cGroup; } //{StopAction} public Action getStopActionAction_0() { return cStopActionAction_0; } - //"Stop" - public Keyword getStopKeyword_1() { return cStopKeyword_1; } + //"StopAction" + public Keyword getStopActionKeyword_1() { return cStopActionKeyword_1; } + + //id=EString + public Assignment getIdAssignment_2() { return cIdAssignment_2; } + + //EString + public RuleCall getIdEStringParserRuleCall_2_0() { return cIdEStringParserRuleCall_2_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //("predecessor" predecessor=[AbstractControlFlowElement|EString])? - public Group getGroup_3() { return cGroup_3; } + public Group getGroup_4() { return cGroup_4; } //"predecessor" - public Keyword getPredecessorKeyword_3_0() { return cPredecessorKeyword_3_0; } + public Keyword getPredecessorKeyword_4_0() { return cPredecessorKeyword_4_0; } //predecessor=[AbstractControlFlowElement|EString] - public Assignment getPredecessorAssignment_3_1() { return cPredecessorAssignment_3_1; } + public Assignment getPredecessorAssignment_4_1() { return cPredecessorAssignment_4_1; } //[AbstractControlFlowElement|EString] - public CrossReference getPredecessorAbstractControlFlowElementCrossReference_3_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_3_1_0; } + public CrossReference getPredecessorAbstractControlFlowElementCrossReference_4_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_4_1_0; } //EString - public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1; } + public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } //("successor" successor=[AbstractControlFlowElement|EString])? - public Group getGroup_4() { return cGroup_4; } + public Group getGroup_5() { return cGroup_5; } //"successor" - public Keyword getSuccessorKeyword_4_0() { return cSuccessorKeyword_4_0; } + public Keyword getSuccessorKeyword_5_0() { return cSuccessorKeyword_5_0; } //successor=[AbstractControlFlowElement|EString] - public Assignment getSuccessorAssignment_4_1() { return cSuccessorAssignment_4_1; } + public Assignment getSuccessorAssignment_5_1() { return cSuccessorAssignment_5_1; } //[AbstractControlFlowElement|EString] - public CrossReference getSuccessorAbstractControlFlowElementCrossReference_4_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_4_1_0; } + public CrossReference getSuccessorAbstractControlFlowElementCrossReference_5_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_5_1_0; } //EString - public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } + public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } - public class LoopElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Loop"); + public class LoopActionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LoopAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLoopActionKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cCounterKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cCounterAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cCounterEIntParserRuleCall_3_0 = (RuleCall)cCounterAssignment_3.eContents().get(0); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cPredecessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cPredecessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cPredecessorAssignment_4_1.eContents().get(0); - private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cCounterKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cCounterAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cCounterEIntParserRuleCall_4_0 = (RuleCall)cCounterAssignment_4.eContents().get(0); private final Group cGroup_5 = (Group)cGroup.eContents().get(5); - private final Keyword cSuccessorKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); - private final Assignment cSuccessorAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); - private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_5_1_0 = (CrossReference)cSuccessorAssignment_5_1.eContents().get(0); - private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_5_1_0.eContents().get(1); - private final Keyword cBodyKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cBodyAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cBodyAdaptationPlanParserRuleCall_7_0 = (RuleCall)cBodyAssignment_7.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); + private final Keyword cPredecessorKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); + private final Assignment cPredecessorAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); + private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_5_1_0 = (CrossReference)cPredecessorAssignment_5_1.eContents().get(0); + private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_5_1_0.eContents().get(1); + private final Group cGroup_6 = (Group)cGroup.eContents().get(6); + private final Keyword cSuccessorKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0); + private final Assignment cSuccessorAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1); + private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_6_1_0 = (CrossReference)cSuccessorAssignment_6_1.eContents().get(0); + private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_6_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_6_1_0.eContents().get(1); + private final Keyword cBodyKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cBodyAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cBodyAdaptationPlanParserRuleCall_8_0 = (RuleCall)cBodyAssignment_8.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); - //Loop returns LoopAction: - // "LoopAction" "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; + //LoopAction: + // "LoopAction" id=EString "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; public ParserRule getRule() { return rule; } - //"LoopAction" "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - //successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}" + //"LoopAction" id=EString "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + //("successor" successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}" public Group getGroup() { return cGroup; } //"LoopAction" public Keyword getLoopActionKeyword_0() { return cLoopActionKeyword_0; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //"counter" - public Keyword getCounterKeyword_2() { return cCounterKeyword_2; } + public Keyword getCounterKeyword_3() { return cCounterKeyword_3; } //counter=EInt - public Assignment getCounterAssignment_3() { return cCounterAssignment_3; } + public Assignment getCounterAssignment_4() { return cCounterAssignment_4; } //EInt - public RuleCall getCounterEIntParserRuleCall_3_0() { return cCounterEIntParserRuleCall_3_0; } + public RuleCall getCounterEIntParserRuleCall_4_0() { return cCounterEIntParserRuleCall_4_0; } //("predecessor" predecessor=[AbstractControlFlowElement|EString])? - public Group getGroup_4() { return cGroup_4; } + public Group getGroup_5() { return cGroup_5; } //"predecessor" - public Keyword getPredecessorKeyword_4_0() { return cPredecessorKeyword_4_0; } + public Keyword getPredecessorKeyword_5_0() { return cPredecessorKeyword_5_0; } //predecessor=[AbstractControlFlowElement|EString] - public Assignment getPredecessorAssignment_4_1() { return cPredecessorAssignment_4_1; } + public Assignment getPredecessorAssignment_5_1() { return cPredecessorAssignment_5_1; } //[AbstractControlFlowElement|EString] - public CrossReference getPredecessorAbstractControlFlowElementCrossReference_4_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_4_1_0; } + public CrossReference getPredecessorAbstractControlFlowElementCrossReference_5_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_5_1_0; } //EString - public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } + public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1; } //("successor" successor=[AbstractControlFlowElement|EString])? - public Group getGroup_5() { return cGroup_5; } + public Group getGroup_6() { return cGroup_6; } //"successor" - public Keyword getSuccessorKeyword_5_0() { return cSuccessorKeyword_5_0; } + public Keyword getSuccessorKeyword_6_0() { return cSuccessorKeyword_6_0; } //successor=[AbstractControlFlowElement|EString] - public Assignment getSuccessorAssignment_5_1() { return cSuccessorAssignment_5_1; } + public Assignment getSuccessorAssignment_6_1() { return cSuccessorAssignment_6_1; } //[AbstractControlFlowElement|EString] - public CrossReference getSuccessorAbstractControlFlowElementCrossReference_5_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_5_1_0; } + public CrossReference getSuccessorAbstractControlFlowElementCrossReference_6_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_6_1_0; } //EString - public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1; } + public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_6_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_6_1_0_1; } //"body" - public Keyword getBodyKeyword_6() { return cBodyKeyword_6; } + public Keyword getBodyKeyword_7() { return cBodyKeyword_7; } //body=AdaptationPlan - public Assignment getBodyAssignment_7() { return cBodyAssignment_7; } + public Assignment getBodyAssignment_8() { return cBodyAssignment_8; } //AdaptationPlan - public RuleCall getBodyAdaptationPlanParserRuleCall_7_0() { return cBodyAdaptationPlanParserRuleCall_7_0; } + public RuleCall getBodyAdaptationPlanParserRuleCall_8_0() { return cBodyAdaptationPlanParserRuleCall_8_0; } //"}" - public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } } - public class BranchElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Branch"); + public class BranchActionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BranchAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cBranchActionKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cConditionKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cConditionAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cConditionEStringParserRuleCall_2_1_0 = (RuleCall)cConditionAssignment_2_1.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cPredecessorKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cPredecessorAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_3_1_0 = (CrossReference)cPredecessorAssignment_3_1.eContents().get(0); - private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_3_1_0.eContents().get(1); + private final Keyword cConditionKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cConditionAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cConditionEStringParserRuleCall_3_1_0 = (RuleCall)cConditionAssignment_3_1.eContents().get(0); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cSuccessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cSuccessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cSuccessorAssignment_4_1.eContents().get(0); - private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); - private final Keyword cBranchesKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cBranchesAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cBranchesAdaptationPlanParserRuleCall_7_0 = (RuleCall)cBranchesAssignment_7.eContents().get(0); - private final Group cGroup_8 = (Group)cGroup.eContents().get(8); - private final Keyword cCommaKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); - private final Assignment cBranchesAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1); - private final RuleCall cBranchesAdaptationPlanParserRuleCall_8_1_0 = (RuleCall)cBranchesAssignment_8_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cPredecessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cPredecessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cPredecessorAssignment_4_1.eContents().get(0); + private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); + private final Group cGroup_5 = (Group)cGroup.eContents().get(5); + private final Keyword cSuccessorKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); + private final Assignment cSuccessorAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); + private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_5_1_0 = (CrossReference)cSuccessorAssignment_5_1.eContents().get(0); + private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_5_1_0.eContents().get(1); + private final Keyword cBranchesKeyword_6 = (Keyword)cGroup.eContents().get(6); + private final Keyword cLeftCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cBranchesAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cBranchesAdaptationPlanParserRuleCall_8_0 = (RuleCall)cBranchesAssignment_8.eContents().get(0); + private final Group cGroup_9 = (Group)cGroup.eContents().get(9); + private final Keyword cCommaKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0); + private final Assignment cBranchesAssignment_9_1 = (Assignment)cGroup_9.eContents().get(1); + private final RuleCall cBranchesAdaptationPlanParserRuleCall_9_1_0 = (RuleCall)cBranchesAssignment_9_1.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); + private final Keyword cRightCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); - //Branch returns BranchAction: - // "BranchAction" "{" ("condition" condition=EString)? ("predecessor" predecessor=[AbstractControlFlowElement|EString])? - // ("successor" successor=[AbstractControlFlowElement|EString])? "branches" "{" branches+=AdaptationPlan ("," - // branches+=AdaptationPlan)* "}" "}"; + //BranchAction: + // "BranchAction" id=EString "{" ("condition" condition=EString)? ("predecessor" + // predecessor=[AbstractControlFlowElement|EString])? ("successor" successor=[AbstractControlFlowElement|EString])? + // "branches" "{" branches+=AdaptationPlan ("," branches+=AdaptationPlan)* "}" "}"; public ParserRule getRule() { return rule; } - //"BranchAction" "{" ("condition" condition=EString)? ("predecessor" predecessor=[AbstractControlFlowElement|EString])? - //("successor" successor=[AbstractControlFlowElement|EString])? "branches" "{" branches+=AdaptationPlan ("," - //branches+=AdaptationPlan)* "}" "}" + //"BranchAction" id=EString "{" ("condition" condition=EString)? ("predecessor" + //predecessor=[AbstractControlFlowElement|EString])? ("successor" successor=[AbstractControlFlowElement|EString])? + //"branches" "{" branches+=AdaptationPlan ("," branches+=AdaptationPlan)* "}" "}" public Group getGroup() { return cGroup; } //"BranchAction" public Keyword getBranchActionKeyword_0() { return cBranchActionKeyword_0; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //("condition" condition=EString)? - public Group getGroup_2() { return cGroup_2; } + public Group getGroup_3() { return cGroup_3; } //"condition" - public Keyword getConditionKeyword_2_0() { return cConditionKeyword_2_0; } + public Keyword getConditionKeyword_3_0() { return cConditionKeyword_3_0; } //condition=EString - public Assignment getConditionAssignment_2_1() { return cConditionAssignment_2_1; } + public Assignment getConditionAssignment_3_1() { return cConditionAssignment_3_1; } //EString - public RuleCall getConditionEStringParserRuleCall_2_1_0() { return cConditionEStringParserRuleCall_2_1_0; } + public RuleCall getConditionEStringParserRuleCall_3_1_0() { return cConditionEStringParserRuleCall_3_1_0; } //("predecessor" predecessor=[AbstractControlFlowElement|EString])? - public Group getGroup_3() { return cGroup_3; } + public Group getGroup_4() { return cGroup_4; } //"predecessor" - public Keyword getPredecessorKeyword_3_0() { return cPredecessorKeyword_3_0; } + public Keyword getPredecessorKeyword_4_0() { return cPredecessorKeyword_4_0; } //predecessor=[AbstractControlFlowElement|EString] - public Assignment getPredecessorAssignment_3_1() { return cPredecessorAssignment_3_1; } + public Assignment getPredecessorAssignment_4_1() { return cPredecessorAssignment_4_1; } //[AbstractControlFlowElement|EString] - public CrossReference getPredecessorAbstractControlFlowElementCrossReference_3_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_3_1_0; } + public CrossReference getPredecessorAbstractControlFlowElementCrossReference_4_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_4_1_0; } //EString - public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1; } + public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } //("successor" successor=[AbstractControlFlowElement|EString])? - public Group getGroup_4() { return cGroup_4; } + public Group getGroup_5() { return cGroup_5; } //"successor" - public Keyword getSuccessorKeyword_4_0() { return cSuccessorKeyword_4_0; } + public Keyword getSuccessorKeyword_5_0() { return cSuccessorKeyword_5_0; } //successor=[AbstractControlFlowElement|EString] - public Assignment getSuccessorAssignment_4_1() { return cSuccessorAssignment_4_1; } + public Assignment getSuccessorAssignment_5_1() { return cSuccessorAssignment_5_1; } //[AbstractControlFlowElement|EString] - public CrossReference getSuccessorAbstractControlFlowElementCrossReference_4_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_4_1_0; } + public CrossReference getSuccessorAbstractControlFlowElementCrossReference_5_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_5_1_0; } //EString - public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } + public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_5_1_0_1; } //"branches" - public Keyword getBranchesKeyword_5() { return cBranchesKeyword_5; } + public Keyword getBranchesKeyword_6() { return cBranchesKeyword_6; } //"{" - public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; } + public Keyword getLeftCurlyBracketKeyword_7() { return cLeftCurlyBracketKeyword_7; } //branches+=AdaptationPlan - public Assignment getBranchesAssignment_7() { return cBranchesAssignment_7; } + public Assignment getBranchesAssignment_8() { return cBranchesAssignment_8; } //AdaptationPlan - public RuleCall getBranchesAdaptationPlanParserRuleCall_7_0() { return cBranchesAdaptationPlanParserRuleCall_7_0; } + public RuleCall getBranchesAdaptationPlanParserRuleCall_8_0() { return cBranchesAdaptationPlanParserRuleCall_8_0; } //("," branches+=AdaptationPlan)* - public Group getGroup_8() { return cGroup_8; } + public Group getGroup_9() { return cGroup_9; } //"," - public Keyword getCommaKeyword_8_0() { return cCommaKeyword_8_0; } + public Keyword getCommaKeyword_9_0() { return cCommaKeyword_9_0; } //branches+=AdaptationPlan - public Assignment getBranchesAssignment_8_1() { return cBranchesAssignment_8_1; } + public Assignment getBranchesAssignment_9_1() { return cBranchesAssignment_9_1; } //AdaptationPlan - public RuleCall getBranchesAdaptationPlanParserRuleCall_8_1_0() { return cBranchesAdaptationPlanParserRuleCall_8_1_0; } + public RuleCall getBranchesAdaptationPlanParserRuleCall_9_1_0() { return cBranchesAdaptationPlanParserRuleCall_9_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } //"}" - public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } + public Keyword getRightCurlyBracketKeyword_11() { return cRightCurlyBracketKeyword_11; } } public class ActionReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionReference"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cActionReferenceKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cPredecessorKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cPredecessorAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_2_1_0 = (CrossReference)cPredecessorAssignment_2_1.eContents().get(0); - private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_2_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_2_1_0.eContents().get(1); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cSuccessorKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cSuccessorAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_3_1_0 = (CrossReference)cSuccessorAssignment_3_1.eContents().get(0); - private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_3_1_0.eContents().get(1); - private final Keyword cRefersToKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cRefersToAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final CrossReference cRefersToActionCrossReference_5_0 = (CrossReference)cRefersToAssignment_5.eContents().get(0); - private final RuleCall cRefersToActionEStringParserRuleCall_5_0_1 = (RuleCall)cRefersToActionCrossReference_5_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); + private final Keyword cPredecessorKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cPredecessorAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final CrossReference cPredecessorAbstractControlFlowElementCrossReference_3_1_0 = (CrossReference)cPredecessorAssignment_3_1.eContents().get(0); + private final RuleCall cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1 = (RuleCall)cPredecessorAbstractControlFlowElementCrossReference_3_1_0.eContents().get(1); + private final Group cGroup_4 = (Group)cGroup.eContents().get(4); + private final Keyword cSuccessorKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cSuccessorAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final CrossReference cSuccessorAbstractControlFlowElementCrossReference_4_1_0 = (CrossReference)cSuccessorAssignment_4_1.eContents().get(0); + private final RuleCall cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1 = (RuleCall)cSuccessorAbstractControlFlowElementCrossReference_4_1_0.eContents().get(1); + private final Keyword cRefersToKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cRefersToAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cRefersToActionCrossReference_6_0 = (CrossReference)cRefersToAssignment_6.eContents().get(0); + private final RuleCall cRefersToActionEStringParserRuleCall_6_0_1 = (RuleCall)cRefersToActionCrossReference_6_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); //ActionReference: - // "ActionReference" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" + // "ActionReference" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" // successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}"; public ParserRule getRule() { return rule; } - //"ActionReference" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" + //"ActionReference" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" //successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}" public Group getGroup() { return cGroup; } //"ActionReference" public Keyword getActionReferenceKeyword_0() { return cActionReferenceKeyword_0; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //("predecessor" predecessor=[AbstractControlFlowElement|EString])? - public Group getGroup_2() { return cGroup_2; } + public Group getGroup_3() { return cGroup_3; } //"predecessor" - public Keyword getPredecessorKeyword_2_0() { return cPredecessorKeyword_2_0; } + public Keyword getPredecessorKeyword_3_0() { return cPredecessorKeyword_3_0; } //predecessor=[AbstractControlFlowElement|EString] - public Assignment getPredecessorAssignment_2_1() { return cPredecessorAssignment_2_1; } + public Assignment getPredecessorAssignment_3_1() { return cPredecessorAssignment_3_1; } //[AbstractControlFlowElement|EString] - public CrossReference getPredecessorAbstractControlFlowElementCrossReference_2_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_2_1_0; } + public CrossReference getPredecessorAbstractControlFlowElementCrossReference_3_1_0() { return cPredecessorAbstractControlFlowElementCrossReference_3_1_0; } //EString - public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_2_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_2_1_0_1; } + public RuleCall getPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1() { return cPredecessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1; } //("successor" successor=[AbstractControlFlowElement|EString])? - public Group getGroup_3() { return cGroup_3; } + public Group getGroup_4() { return cGroup_4; } //"successor" - public Keyword getSuccessorKeyword_3_0() { return cSuccessorKeyword_3_0; } + public Keyword getSuccessorKeyword_4_0() { return cSuccessorKeyword_4_0; } //successor=[AbstractControlFlowElement|EString] - public Assignment getSuccessorAssignment_3_1() { return cSuccessorAssignment_3_1; } + public Assignment getSuccessorAssignment_4_1() { return cSuccessorAssignment_4_1; } //[AbstractControlFlowElement|EString] - public CrossReference getSuccessorAbstractControlFlowElementCrossReference_3_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_3_1_0; } + public CrossReference getSuccessorAbstractControlFlowElementCrossReference_4_1_0() { return cSuccessorAbstractControlFlowElementCrossReference_4_1_0; } //EString - public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_3_1_0_1; } + public RuleCall getSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1() { return cSuccessorAbstractControlFlowElementEStringParserRuleCall_4_1_0_1; } //"refersTo" - public Keyword getRefersToKeyword_4() { return cRefersToKeyword_4; } + public Keyword getRefersToKeyword_5() { return cRefersToKeyword_5; } //refersTo=[Action|EString] - public Assignment getRefersToAssignment_5() { return cRefersToAssignment_5; } + public Assignment getRefersToAssignment_6() { return cRefersToAssignment_6; } //[Action|EString] - public CrossReference getRefersToActionCrossReference_5_0() { return cRefersToActionCrossReference_5_0; } + public CrossReference getRefersToActionCrossReference_6_0() { return cRefersToActionCrossReference_6_0; } //EString - public RuleCall getRefersToActionEStringParserRuleCall_5_0_1() { return cRefersToActionEStringParserRuleCall_5_0_1; } + public RuleCall getRefersToActionEStringParserRuleCall_6_0_1() { return cRefersToActionEStringParserRuleCall_6_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } + public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class EIntElements extends AbstractParserRuleElementFinder { @@ -1277,6 +1413,19 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } } + public class OperationTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OperationType"); + private final Keyword cOperationTypeKeyword = (Keyword)rule.eContents().get(1); + + /// * TODO: implement this rule and an appropriate IValueConverter * / OperationType returns + //adaptationpoints::OperationType: + // "OperationType"; + public ParserRule getRule() { return rule; } + + //"OperationType" + public Keyword getOperationTypeKeyword() { return cOperationTypeKeyword; } + } + public class ModelVariableConfigurationRangeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModelVariableConfigurationRange"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1284,25 +1433,28 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Keyword cMinValueKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cMinValueAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cMinValueEDoubleParserRuleCall_4_0 = (RuleCall)cMinValueAssignment_4.eContents().get(0); - private final Keyword cMaxValueKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cMaxValueAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cMaxValueEDoubleParserRuleCall_6_0 = (RuleCall)cMaxValueAssignment_6.eContents().get(0); - private final Keyword cAdaptableEntityKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cAdaptableEntityAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final CrossReference cAdaptableEntityAdaptableEntityCrossReference_8_0 = (CrossReference)cAdaptableEntityAssignment_8.eContents().get(0); - private final RuleCall cAdaptableEntityAdaptableEntityEStringParserRuleCall_8_0_1 = (RuleCall)cAdaptableEntityAdaptableEntityCrossReference_8_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cMinValueKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cMinValueAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cMinValueEDoubleParserRuleCall_6_0 = (RuleCall)cMinValueAssignment_6.eContents().get(0); + private final Keyword cMaxValueKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cMaxValueAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cMaxValueEDoubleParserRuleCall_8_0 = (RuleCall)cMaxValueAssignment_8.eContents().get(0); + private final Keyword cAdaptableEntityKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cAdaptableEntityAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final CrossReference cAdaptableEntityAdaptableEntityCrossReference_10_0 = (CrossReference)cAdaptableEntityAssignment_10.eContents().get(0); + private final RuleCall cAdaptableEntityAdaptableEntityEStringParserRuleCall_10_0_1 = (RuleCall)cAdaptableEntityAdaptableEntityCrossReference_10_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); //ModelVariableConfigurationRange returns adaptationpoints::ModelVariableConfigurationRange: - // "ModelVariableConfigurationRange" id=EString "{" "minValue" minValue=EDouble "maxValue" maxValue=EDouble - // "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; + // "ModelVariableConfigurationRange" id=EString "{" "name" name=EString "minValue" minValue=EDouble "maxValue" + // maxValue=EDouble "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; public ParserRule getRule() { return rule; } - //"ModelVariableConfigurationRange" id=EString "{" "minValue" minValue=EDouble "maxValue" maxValue=EDouble - //"adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}" + //"ModelVariableConfigurationRange" id=EString "{" "name" name=EString "minValue" minValue=EDouble "maxValue" + //maxValue=EDouble "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}" public Group getGroup() { return cGroup; } //"ModelVariableConfigurationRange" @@ -1317,38 +1469,47 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + //"minValue" - public Keyword getMinValueKeyword_3() { return cMinValueKeyword_3; } + public Keyword getMinValueKeyword_5() { return cMinValueKeyword_5; } //minValue=EDouble - public Assignment getMinValueAssignment_4() { return cMinValueAssignment_4; } + public Assignment getMinValueAssignment_6() { return cMinValueAssignment_6; } //EDouble - public RuleCall getMinValueEDoubleParserRuleCall_4_0() { return cMinValueEDoubleParserRuleCall_4_0; } + public RuleCall getMinValueEDoubleParserRuleCall_6_0() { return cMinValueEDoubleParserRuleCall_6_0; } //"maxValue" - public Keyword getMaxValueKeyword_5() { return cMaxValueKeyword_5; } + public Keyword getMaxValueKeyword_7() { return cMaxValueKeyword_7; } //maxValue=EDouble - public Assignment getMaxValueAssignment_6() { return cMaxValueAssignment_6; } + public Assignment getMaxValueAssignment_8() { return cMaxValueAssignment_8; } //EDouble - public RuleCall getMaxValueEDoubleParserRuleCall_6_0() { return cMaxValueEDoubleParserRuleCall_6_0; } + public RuleCall getMaxValueEDoubleParserRuleCall_8_0() { return cMaxValueEDoubleParserRuleCall_8_0; } //"adaptableEntity" - public Keyword getAdaptableEntityKeyword_7() { return cAdaptableEntityKeyword_7; } + public Keyword getAdaptableEntityKeyword_9() { return cAdaptableEntityKeyword_9; } //adaptableEntity=[core::AdaptableEntity|EString] - public Assignment getAdaptableEntityAssignment_8() { return cAdaptableEntityAssignment_8; } + public Assignment getAdaptableEntityAssignment_10() { return cAdaptableEntityAssignment_10; } //[core::AdaptableEntity|EString] - public CrossReference getAdaptableEntityAdaptableEntityCrossReference_8_0() { return cAdaptableEntityAdaptableEntityCrossReference_8_0; } + public CrossReference getAdaptableEntityAdaptableEntityCrossReference_10_0() { return cAdaptableEntityAdaptableEntityCrossReference_10_0; } //EString - public RuleCall getAdaptableEntityAdaptableEntityEStringParserRuleCall_8_0_1() { return cAdaptableEntityAdaptableEntityEStringParserRuleCall_8_0_1; } + public RuleCall getAdaptableEntityAdaptableEntityEStringParserRuleCall_10_0_1() { return cAdaptableEntityAdaptableEntityEStringParserRuleCall_10_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + public Keyword getRightCurlyBracketKeyword_11() { return cRightCurlyBracketKeyword_11; } } public class ModelEntityConfigurationRangeElements extends AbstractParserRuleElementFinder { @@ -1358,22 +1519,25 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Keyword cAdaptableEntityKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cAdaptableEntityAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final CrossReference cAdaptableEntityEntityCrossReference_4_0 = (CrossReference)cAdaptableEntityAssignment_4.eContents().get(0); - private final RuleCall cAdaptableEntityEntityEStringParserRuleCall_4_0_1 = (RuleCall)cAdaptableEntityEntityCrossReference_4_0.eContents().get(1); - private final Keyword cVariationPossibilityKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cVariationPossibilityAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cVariationPossibilityVariationTypeParserRuleCall_6_0 = (RuleCall)cVariationPossibilityAssignment_6.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cAdaptableEntityKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cAdaptableEntityAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cAdaptableEntityEntityCrossReference_6_0 = (CrossReference)cAdaptableEntityAssignment_6.eContents().get(0); + private final RuleCall cAdaptableEntityEntityEStringParserRuleCall_6_0_1 = (RuleCall)cAdaptableEntityEntityCrossReference_6_0.eContents().get(1); + private final Keyword cVariationPossibilityKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cVariationPossibilityAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cVariationPossibilityVariationTypeParserRuleCall_8_0 = (RuleCall)cVariationPossibilityAssignment_8.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); //ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfigurationRange: - // "ModelEntityConfigurationRange" id=EString "{" "adaptableEntity" adaptableEntity=[core::Entity|EString] - // "variationPossibility" variationPossibility=VariationType "}"; + // "ModelEntityConfigurationRange" id=EString "{" "name" name=EString "adaptableEntity" + // adaptableEntity=[core::Entity|EString] "variationPossibility" variationPossibility=VariationType "}"; public ParserRule getRule() { return rule; } - //"ModelEntityConfigurationRange" id=EString "{" "adaptableEntity" adaptableEntity=[core::Entity|EString] - //"variationPossibility" variationPossibility=VariationType "}" + //"ModelEntityConfigurationRange" id=EString "{" "name" name=EString "adaptableEntity" + //adaptableEntity=[core::Entity|EString] "variationPossibility" variationPossibility=VariationType "}" public Group getGroup() { return cGroup; } //"ModelEntityConfigurationRange" @@ -1388,29 +1552,38 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + //"adaptableEntity" - public Keyword getAdaptableEntityKeyword_3() { return cAdaptableEntityKeyword_3; } + public Keyword getAdaptableEntityKeyword_5() { return cAdaptableEntityKeyword_5; } //adaptableEntity=[core::Entity|EString] - public Assignment getAdaptableEntityAssignment_4() { return cAdaptableEntityAssignment_4; } + public Assignment getAdaptableEntityAssignment_6() { return cAdaptableEntityAssignment_6; } //[core::Entity|EString] - public CrossReference getAdaptableEntityEntityCrossReference_4_0() { return cAdaptableEntityEntityCrossReference_4_0; } + public CrossReference getAdaptableEntityEntityCrossReference_6_0() { return cAdaptableEntityEntityCrossReference_6_0; } //EString - public RuleCall getAdaptableEntityEntityEStringParserRuleCall_4_0_1() { return cAdaptableEntityEntityEStringParserRuleCall_4_0_1; } + public RuleCall getAdaptableEntityEntityEStringParserRuleCall_6_0_1() { return cAdaptableEntityEntityEStringParserRuleCall_6_0_1; } //"variationPossibility" - public Keyword getVariationPossibilityKeyword_5() { return cVariationPossibilityKeyword_5; } + public Keyword getVariationPossibilityKeyword_7() { return cVariationPossibilityKeyword_7; } //variationPossibility=VariationType - public Assignment getVariationPossibilityAssignment_6() { return cVariationPossibilityAssignment_6; } + public Assignment getVariationPossibilityAssignment_8() { return cVariationPossibilityAssignment_8; } //VariationType - public RuleCall getVariationPossibilityVariationTypeParserRuleCall_6_0() { return cVariationPossibilityVariationTypeParserRuleCall_6_0; } + public RuleCall getVariationPossibilityVariationTypeParserRuleCall_8_0() { return cVariationPossibilityVariationTypeParserRuleCall_8_0; } //"}" - public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } } public class EDoubleElements extends AbstractParserRuleElementFinder { @@ -1465,26 +1638,6 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public RuleCall getINTTerminalRuleCall_4_2() { return cINTTerminalRuleCall_4_2; } } - public class EObjectElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EObject"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cEObjectAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cEObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //EObject returns ecore::EObject: - // {ecore::EObject} "EObject"; - public ParserRule getRule() { return rule; } - - //{ecore::EObject} "EObject" - public Group getGroup() { return cGroup; } - - //{ecore::EObject} - public Action getEObjectAction_0() { return cEObjectAction_0; } - - //"EObject" - public Keyword getEObjectKeyword_1() { return cEObjectKeyword_1; } - } - public class PropertyRangeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyRange"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1540,30 +1693,30 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSetOfConfigurationsKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cValueConstraintKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cValueConstraintAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cValueConstraintOclConstraintParserRuleCall_3_0 = (RuleCall)cValueConstraintAssignment_3.eContents().get(0); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cVariantsKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); - private final Assignment cVariantsAssignment_4_2 = (Assignment)cGroup_4.eContents().get(2); - private final CrossReference cVariantsEObjectCrossReference_4_2_0 = (CrossReference)cVariantsAssignment_4_2.eContents().get(0); - private final RuleCall cVariantsEObjectEStringParserRuleCall_4_2_0_1 = (RuleCall)cVariantsEObjectCrossReference_4_2_0.eContents().get(1); - private final Group cGroup_4_3 = (Group)cGroup_4.eContents().get(3); - private final Keyword cCommaKeyword_4_3_0 = (Keyword)cGroup_4_3.eContents().get(0); - private final Assignment cVariantsAssignment_4_3_1 = (Assignment)cGroup_4_3.eContents().get(1); - private final CrossReference cVariantsEObjectCrossReference_4_3_1_0 = (CrossReference)cVariantsAssignment_4_3_1.eContents().get(0); - private final RuleCall cVariantsEObjectEStringParserRuleCall_4_3_1_0_1 = (RuleCall)cVariantsEObjectCrossReference_4_3_1_0.eContents().get(1); - private final Keyword cRightParenthesisKeyword_4_4 = (Keyword)cGroup_4.eContents().get(4); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cVariantsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftParenthesisKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cVariantsAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final CrossReference cVariantsEObjectCrossReference_2_2_0 = (CrossReference)cVariantsAssignment_2_2.eContents().get(0); + private final RuleCall cVariantsEObjectEStringParserRuleCall_2_2_0_1 = (RuleCall)cVariantsEObjectCrossReference_2_2_0.eContents().get(1); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cVariantsAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final CrossReference cVariantsEObjectCrossReference_2_3_1_0 = (CrossReference)cVariantsAssignment_2_3_1.eContents().get(0); + private final RuleCall cVariantsEObjectEStringParserRuleCall_2_3_1_0_1 = (RuleCall)cVariantsEObjectCrossReference_2_3_1_0.eContents().get(1); + private final Keyword cRightParenthesisKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + private final Keyword cValueConstraintKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cValueConstraintAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cValueConstraintOclConstraintParserRuleCall_4_0 = (RuleCall)cValueConstraintAssignment_4.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //SetOfConfigurations returns adaptationpoints::SetOfConfigurations: - // "SetOfConfigurations" "{" "valueConstraint" valueConstraint=OclConstraint ("variants" "(" - // variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? "}"; + // "SetOfConfigurations" "{" ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* + // ")")? "valueConstraint" valueConstraint=OclConstraint "}"; public ParserRule getRule() { return rule; } - //"SetOfConfigurations" "{" "valueConstraint" valueConstraint=OclConstraint ("variants" "(" - //variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? "}" + //"SetOfConfigurations" "{" ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* + //")")? "valueConstraint" valueConstraint=OclConstraint "}" public Group getGroup() { return cGroup; } //"SetOfConfigurations" @@ -1572,50 +1725,50 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - //"valueConstraint" - public Keyword getValueConstraintKeyword_2() { return cValueConstraintKeyword_2; } - - //valueConstraint=OclConstraint - public Assignment getValueConstraintAssignment_3() { return cValueConstraintAssignment_3; } - - //OclConstraint - public RuleCall getValueConstraintOclConstraintParserRuleCall_3_0() { return cValueConstraintOclConstraintParserRuleCall_3_0; } - //("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? - public Group getGroup_4() { return cGroup_4; } + public Group getGroup_2() { return cGroup_2; } //"variants" - public Keyword getVariantsKeyword_4_0() { return cVariantsKeyword_4_0; } + public Keyword getVariantsKeyword_2_0() { return cVariantsKeyword_2_0; } //"(" - public Keyword getLeftParenthesisKeyword_4_1() { return cLeftParenthesisKeyword_4_1; } + public Keyword getLeftParenthesisKeyword_2_1() { return cLeftParenthesisKeyword_2_1; } //variants+=[ecore::EObject|EString] - public Assignment getVariantsAssignment_4_2() { return cVariantsAssignment_4_2; } + public Assignment getVariantsAssignment_2_2() { return cVariantsAssignment_2_2; } //[ecore::EObject|EString] - public CrossReference getVariantsEObjectCrossReference_4_2_0() { return cVariantsEObjectCrossReference_4_2_0; } + public CrossReference getVariantsEObjectCrossReference_2_2_0() { return cVariantsEObjectCrossReference_2_2_0; } //EString - public RuleCall getVariantsEObjectEStringParserRuleCall_4_2_0_1() { return cVariantsEObjectEStringParserRuleCall_4_2_0_1; } + public RuleCall getVariantsEObjectEStringParserRuleCall_2_2_0_1() { return cVariantsEObjectEStringParserRuleCall_2_2_0_1; } //("," variants+=[ecore::EObject|EString])* - public Group getGroup_4_3() { return cGroup_4_3; } + public Group getGroup_2_3() { return cGroup_2_3; } //"," - public Keyword getCommaKeyword_4_3_0() { return cCommaKeyword_4_3_0; } + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } //variants+=[ecore::EObject|EString] - public Assignment getVariantsAssignment_4_3_1() { return cVariantsAssignment_4_3_1; } + public Assignment getVariantsAssignment_2_3_1() { return cVariantsAssignment_2_3_1; } //[ecore::EObject|EString] - public CrossReference getVariantsEObjectCrossReference_4_3_1_0() { return cVariantsEObjectCrossReference_4_3_1_0; } + public CrossReference getVariantsEObjectCrossReference_2_3_1_0() { return cVariantsEObjectCrossReference_2_3_1_0; } //EString - public RuleCall getVariantsEObjectEStringParserRuleCall_4_3_1_0_1() { return cVariantsEObjectEStringParserRuleCall_4_3_1_0_1; } + public RuleCall getVariantsEObjectEStringParserRuleCall_2_3_1_0_1() { return cVariantsEObjectEStringParserRuleCall_2_3_1_0_1; } //")" - public Keyword getRightParenthesisKeyword_4_4() { return cRightParenthesisKeyword_4_4; } + public Keyword getRightParenthesisKeyword_2_4() { return cRightParenthesisKeyword_2_4; } + + //"valueConstraint" + public Keyword getValueConstraintKeyword_3() { return cValueConstraintKeyword_3; } + + //valueConstraint=OclConstraint + public Assignment getValueConstraintAssignment_4() { return cValueConstraintAssignment_4; } + + //OclConstraint + public RuleCall getValueConstraintOclConstraintParserRuleCall_4_0() { return cValueConstraintOclConstraintParserRuleCall_4_0; } //"}" public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } @@ -1657,158 +1810,690 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } + public class EObjectElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EObject"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cEObjectAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cEObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //EObject returns ecore::EObject: + // {ecore::EObject} "EObject"; + public ParserRule getRule() { return rule; } + + //{ecore::EObject} "EObject" + public Group getGroup() { return cGroup; } + + //{ecore::EObject} + public Action getEObjectAction_0() { return cEObjectAction_0; } + + //"EObject" + public Keyword getEObjectKeyword_1() { return cEObjectKeyword_1; } + } + public class ObjectiveElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Objective"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cObjectiveKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cSpecificationKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cSpecificationEStringParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cSpecificationKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cSpecificationAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cSpecificationEStringParserRuleCall_6_0 = (RuleCall)cSpecificationAssignment_6.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); //Objective: - // "Objective" "{" "specification" specification=EString "}"; + // "Objective" id=EString "{" "name" name=EString "specification" specification=EString "}"; public ParserRule getRule() { return rule; } - //"Objective" "{" "specification" specification=EString "}" + //"Objective" id=EString "{" "name" name=EString "specification" specification=EString "}" public Group getGroup() { return cGroup; } //"Objective" public Keyword getObjectiveKeyword_0() { return cObjectiveKeyword_0; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } //"specification" - public Keyword getSpecificationKeyword_2() { return cSpecificationKeyword_2; } + public Keyword getSpecificationKeyword_5() { return cSpecificationKeyword_5; } //specification=EString - public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } + public Assignment getSpecificationAssignment_6() { return cSpecificationAssignment_6; } //EString - public RuleCall getSpecificationEStringParserRuleCall_3_0() { return cSpecificationEStringParserRuleCall_3_0; } + public RuleCall getSpecificationEStringParserRuleCall_6_0() { return cSpecificationEStringParserRuleCall_6_0; } //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class EventElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Event"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cEventAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cEventKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Keyword cEventKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //Event: - // {Event} "Event"; + // "Event" id=EString "{" "name" name=EString "}"; public ParserRule getRule() { return rule; } - //{Event} "Event" + //"Event" id=EString "{" "name" name=EString "}" public Group getGroup() { return cGroup; } - //{Event} - public Action getEventAction_0() { return cEventAction_0; } - //"Event" - public Keyword getEventKeyword_1() { return cEventKeyword_1; } - } - - public class WeightedTacticElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "WeightedTactic"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cWeightedTacticKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cCurrentWeightKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cCurrentWeightAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cCurrentWeightEDoubleParserRuleCall_3_0 = (RuleCall)cCurrentWeightAssignment_3.eContents().get(0); - private final Keyword cDefaultWeightKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cDefaultWeightAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cDefaultWeightEDoubleParserRuleCall_5_0 = (RuleCall)cDefaultWeightAssignment_5.eContents().get(0); - private final Keyword cUsesKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cUsedTacticAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final CrossReference cUsedTacticTacticCrossReference_7_0 = (CrossReference)cUsedTacticAssignment_7.eContents().get(0); - private final RuleCall cUsedTacticTacticEStringParserRuleCall_7_0_1 = (RuleCall)cUsedTacticTacticCrossReference_7_0.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); - - //WeightedTactic: - // "WeightedTactic" "{" "currentWeight" currentWeight=EDouble "defaultWeight" defaultWeight=EDouble "uses" - // usedTactic=[Tactic|EString] "}"; - public ParserRule getRule() { return rule; } + public Keyword getEventKeyword_0() { return cEventKeyword_0; } - //"WeightedTactic" "{" "currentWeight" currentWeight=EDouble "defaultWeight" defaultWeight=EDouble "uses" - //usedTactic=[Tactic|EString] "}" - public Group getGroup() { return cGroup; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } - //"WeightedTactic" - public Keyword getWeightedTacticKeyword_0() { return cWeightedTacticKeyword_0; } + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + } + + public class WeightedTacticElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "WeightedTactic"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cWeightedTacticKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cCurrentWeightKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cCurrentWeightAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cCurrentWeightEDoubleParserRuleCall_6_0 = (RuleCall)cCurrentWeightAssignment_6.eContents().get(0); + private final Keyword cDefaultWeightKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cDefaultWeightAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cDefaultWeightEDoubleParserRuleCall_8_0 = (RuleCall)cDefaultWeightAssignment_8.eContents().get(0); + private final Keyword cUsedTacticKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cUsedTacticAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final CrossReference cUsedTacticTacticCrossReference_10_0 = (CrossReference)cUsedTacticAssignment_10.eContents().get(0); + private final RuleCall cUsedTacticTacticEStringParserRuleCall_10_0_1 = (RuleCall)cUsedTacticTacticCrossReference_10_0.eContents().get(1); + private final Group cGroup_11 = (Group)cGroup.eContents().get(11); + private final Keyword cLastImpactKeyword_11_0 = (Keyword)cGroup_11.eContents().get(0); + private final Assignment cLastImpactAssignment_11_1 = (Assignment)cGroup_11.eContents().get(1); + private final CrossReference cLastImpactImpactCrossReference_11_1_0 = (CrossReference)cLastImpactAssignment_11_1.eContents().get(0); + private final RuleCall cLastImpactImpactEStringParserRuleCall_11_1_0_1 = (RuleCall)cLastImpactImpactCrossReference_11_1_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); + + //WeightedTactic: + // "WeightedTactic" id=EString "{" "name" name=EString "currentWeight" currentWeight=EDouble "defaultWeight" + // defaultWeight=EDouble "usedTactic" usedTactic=[Tactic|EString] ("lastImpact" + // lastImpact=[perfdatarepo::Impact|EString])? "}"; + public ParserRule getRule() { return rule; } + + //"WeightedTactic" id=EString "{" "name" name=EString "currentWeight" currentWeight=EDouble "defaultWeight" + //defaultWeight=EDouble "usedTactic" usedTactic=[Tactic|EString] ("lastImpact" + //lastImpact=[perfdatarepo::Impact|EString])? "}" + public Group getGroup() { return cGroup; } + + //"WeightedTactic" + public Keyword getWeightedTacticKeyword_0() { return cWeightedTacticKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } //"currentWeight" - public Keyword getCurrentWeightKeyword_2() { return cCurrentWeightKeyword_2; } + public Keyword getCurrentWeightKeyword_5() { return cCurrentWeightKeyword_5; } //currentWeight=EDouble - public Assignment getCurrentWeightAssignment_3() { return cCurrentWeightAssignment_3; } + public Assignment getCurrentWeightAssignment_6() { return cCurrentWeightAssignment_6; } //EDouble - public RuleCall getCurrentWeightEDoubleParserRuleCall_3_0() { return cCurrentWeightEDoubleParserRuleCall_3_0; } + public RuleCall getCurrentWeightEDoubleParserRuleCall_6_0() { return cCurrentWeightEDoubleParserRuleCall_6_0; } //"defaultWeight" - public Keyword getDefaultWeightKeyword_4() { return cDefaultWeightKeyword_4; } + public Keyword getDefaultWeightKeyword_7() { return cDefaultWeightKeyword_7; } //defaultWeight=EDouble - public Assignment getDefaultWeightAssignment_5() { return cDefaultWeightAssignment_5; } + public Assignment getDefaultWeightAssignment_8() { return cDefaultWeightAssignment_8; } //EDouble - public RuleCall getDefaultWeightEDoubleParserRuleCall_5_0() { return cDefaultWeightEDoubleParserRuleCall_5_0; } + public RuleCall getDefaultWeightEDoubleParserRuleCall_8_0() { return cDefaultWeightEDoubleParserRuleCall_8_0; } - //"uses" - public Keyword getUsesKeyword_6() { return cUsesKeyword_6; } + //"usedTactic" + public Keyword getUsedTacticKeyword_9() { return cUsedTacticKeyword_9; } //usedTactic=[Tactic|EString] - public Assignment getUsedTacticAssignment_7() { return cUsedTacticAssignment_7; } + public Assignment getUsedTacticAssignment_10() { return cUsedTacticAssignment_10; } //[Tactic|EString] - public CrossReference getUsedTacticTacticCrossReference_7_0() { return cUsedTacticTacticCrossReference_7_0; } + public CrossReference getUsedTacticTacticCrossReference_10_0() { return cUsedTacticTacticCrossReference_10_0; } //EString - public RuleCall getUsedTacticTacticEStringParserRuleCall_7_0_1() { return cUsedTacticTacticEStringParserRuleCall_7_0_1; } + public RuleCall getUsedTacticTacticEStringParserRuleCall_10_0_1() { return cUsedTacticTacticEStringParserRuleCall_10_0_1; } + + //("lastImpact" lastImpact=[perfdatarepo::Impact|EString])? + public Group getGroup_11() { return cGroup_11; } + + //"lastImpact" + public Keyword getLastImpactKeyword_11_0() { return cLastImpactKeyword_11_0; } + + //lastImpact=[perfdatarepo::Impact|EString] + public Assignment getLastImpactAssignment_11_1() { return cLastImpactAssignment_11_1; } + + //[perfdatarepo::Impact|EString] + public CrossReference getLastImpactImpactCrossReference_11_1_0() { return cLastImpactImpactCrossReference_11_1_0; } + + //EString + public RuleCall getLastImpactImpactEStringParserRuleCall_11_1_0_1() { return cLastImpactImpactEStringParserRuleCall_11_1_0_1; } //"}" - public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } + public Keyword getRightCurlyBracketKeyword_12() { return cRightCurlyBracketKeyword_12; } } public class WeightingFunctionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "WeightingFunction"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cFunctionKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cFunctionAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cFunctionEStringParserRuleCall_1_0 = (RuleCall)cFunctionAssignment_1.eContents().get(0); + private final Keyword cWeightingFunctionKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cWeightedMetricsKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); + private final Assignment cWeightedMetricsAssignment_7 = (Assignment)cGroup.eContents().get(7); + private final RuleCall cWeightedMetricsWeightedMetricParserRuleCall_7_0 = (RuleCall)cWeightedMetricsAssignment_7.eContents().get(0); + private final Group cGroup_8 = (Group)cGroup.eContents().get(8); + private final Keyword cCommaKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); + private final Assignment cWeightedMetricsAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1); + private final RuleCall cWeightedMetricsWeightedMetricParserRuleCall_8_1_0 = (RuleCall)cWeightedMetricsAssignment_8_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); - ////'}'; - //WeightingFunction: //'WeightingFunction' - ////'{' - // "function" function=EString; + //WeightingFunction: + // "WeightingFunction" id=EString "{" "name" name=EString "weightedMetrics" "{" weightedMetrics+=WeightedMetric ("," + // weightedMetrics+=WeightedMetric)* "}" "}"; public ParserRule getRule() { return rule; } - ////'WeightingFunction' - ////'{' - //"function" function=EString //'}'; + //"WeightingFunction" id=EString "{" "name" name=EString "weightedMetrics" "{" weightedMetrics+=WeightedMetric ("," + //weightedMetrics+=WeightedMetric)* "}" "}" public Group getGroup() { return cGroup; } - ////'WeightingFunction' - ////'{' - //"function" - public Keyword getFunctionKeyword_0() { return cFunctionKeyword_0; } + //"WeightingFunction" + public Keyword getWeightingFunctionKeyword_0() { return cWeightingFunctionKeyword_0; } - ////'}'; - //function=EString - public Assignment getFunctionAssignment_1() { return cFunctionAssignment_1; } + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } - ////'}'; //EString - public RuleCall getFunctionEStringParserRuleCall_1_0() { return cFunctionEStringParserRuleCall_1_0; } + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"weightedMetrics" + public Keyword getWeightedMetricsKeyword_5() { return cWeightedMetricsKeyword_5; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; } + + //weightedMetrics+=WeightedMetric + public Assignment getWeightedMetricsAssignment_7() { return cWeightedMetricsAssignment_7; } + + //WeightedMetric + public RuleCall getWeightedMetricsWeightedMetricParserRuleCall_7_0() { return cWeightedMetricsWeightedMetricParserRuleCall_7_0; } + + //("," weightedMetrics+=WeightedMetric)* + public Group getGroup_8() { return cGroup_8; } + + //"," + public Keyword getCommaKeyword_8_0() { return cCommaKeyword_8_0; } + + //weightedMetrics+=WeightedMetric + public Assignment getWeightedMetricsAssignment_8_1() { return cWeightedMetricsAssignment_8_1; } + + //WeightedMetric + public RuleCall getWeightedMetricsWeightedMetricParserRuleCall_8_1_0() { return cWeightedMetricsWeightedMetricParserRuleCall_8_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + + //"}" + public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } + } + + public class ImpactElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Impact"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImpactKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cBeforeKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cBeforeAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cBeforeResultCrossReference_6_0 = (CrossReference)cBeforeAssignment_6.eContents().get(0); + private final RuleCall cBeforeResultEStringParserRuleCall_6_0_1 = (RuleCall)cBeforeResultCrossReference_6_0.eContents().get(1); + private final Keyword cAfterKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cAfterAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final CrossReference cAfterResultCrossReference_8_0 = (CrossReference)cAfterAssignment_8.eContents().get(0); + private final RuleCall cAfterResultEStringParserRuleCall_8_0_1 = (RuleCall)cAfterResultCrossReference_8_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + + //Impact returns perfdatarepo::Impact: + // "Impact" id=EString "{" "name" name=EString "before" before=[perfdatarepo::Result|EString] "after" + // after=[perfdatarepo::Result|EString] "}"; + public ParserRule getRule() { return rule; } + + //"Impact" id=EString "{" "name" name=EString "before" before=[perfdatarepo::Result|EString] "after" + //after=[perfdatarepo::Result|EString] "}" + public Group getGroup() { return cGroup; } + + //"Impact" + public Keyword getImpactKeyword_0() { return cImpactKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"before" + public Keyword getBeforeKeyword_5() { return cBeforeKeyword_5; } + + //before=[perfdatarepo::Result|EString] + public Assignment getBeforeAssignment_6() { return cBeforeAssignment_6; } + + //[perfdatarepo::Result|EString] + public CrossReference getBeforeResultCrossReference_6_0() { return cBeforeResultCrossReference_6_0; } + + //EString + public RuleCall getBeforeResultEStringParserRuleCall_6_0_1() { return cBeforeResultEStringParserRuleCall_6_0_1; } + + //"after" + public Keyword getAfterKeyword_7() { return cAfterKeyword_7; } + + //after=[perfdatarepo::Result|EString] + public Assignment getAfterAssignment_8() { return cAfterAssignment_8; } + + //[perfdatarepo::Result|EString] + public CrossReference getAfterResultCrossReference_8_0() { return cAfterResultCrossReference_8_0; } + + //EString + public RuleCall getAfterResultEStringParserRuleCall_8_0_1() { return cAfterResultEStringParserRuleCall_8_0_1; } + + //"}" + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + } + + public class ResultElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Result"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cResultKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cTimestampKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cTimestampAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cTimestampEDateParserRuleCall_6_0 = (RuleCall)cTimestampAssignment_6.eContents().get(0); + private final Keyword cMetricValuesKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Keyword cLeftCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); + private final Assignment cMetricValuesAssignment_9 = (Assignment)cGroup.eContents().get(9); + private final RuleCall cMetricValuesMetricValueParserRuleCall_9_0 = (RuleCall)cMetricValuesAssignment_9.eContents().get(0); + private final Group cGroup_10 = (Group)cGroup.eContents().get(10); + private final Keyword cCommaKeyword_10_0 = (Keyword)cGroup_10.eContents().get(0); + private final Assignment cMetricValuesAssignment_10_1 = (Assignment)cGroup_10.eContents().get(1); + private final RuleCall cMetricValuesMetricValueParserRuleCall_10_1_0 = (RuleCall)cMetricValuesAssignment_10_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); + private final Keyword cRightCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); + + //Result returns perfdatarepo::Result: + // "Result" id=EString "{" "name" name=EString "timestamp" timestamp=EDate "metricValues" "{" metricValues+=MetricValue + // ("," metricValues+=MetricValue)* "}" "}"; + public ParserRule getRule() { return rule; } + + //"Result" id=EString "{" "name" name=EString "timestamp" timestamp=EDate "metricValues" "{" metricValues+=MetricValue + //("," metricValues+=MetricValue)* "}" "}" + public Group getGroup() { return cGroup; } + + //"Result" + public Keyword getResultKeyword_0() { return cResultKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"timestamp" + public Keyword getTimestampKeyword_5() { return cTimestampKeyword_5; } + + //timestamp=EDate + public Assignment getTimestampAssignment_6() { return cTimestampAssignment_6; } + + //EDate + public RuleCall getTimestampEDateParserRuleCall_6_0() { return cTimestampEDateParserRuleCall_6_0; } + + //"metricValues" + public Keyword getMetricValuesKeyword_7() { return cMetricValuesKeyword_7; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_8() { return cLeftCurlyBracketKeyword_8; } + + //metricValues+=MetricValue + public Assignment getMetricValuesAssignment_9() { return cMetricValuesAssignment_9; } + + //MetricValue + public RuleCall getMetricValuesMetricValueParserRuleCall_9_0() { return cMetricValuesMetricValueParserRuleCall_9_0; } + + //("," metricValues+=MetricValue)* + public Group getGroup_10() { return cGroup_10; } + + //"," + public Keyword getCommaKeyword_10_0() { return cCommaKeyword_10_0; } + + //metricValues+=MetricValue + public Assignment getMetricValuesAssignment_10_1() { return cMetricValuesAssignment_10_1; } + + //MetricValue + public RuleCall getMetricValuesMetricValueParserRuleCall_10_1_0() { return cMetricValuesMetricValueParserRuleCall_10_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_11() { return cRightCurlyBracketKeyword_11; } + + //"}" + public Keyword getRightCurlyBracketKeyword_12() { return cRightCurlyBracketKeyword_12; } + } + + public class EDateElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EDate"); + private final Keyword cEDateKeyword = (Keyword)rule.eContents().get(1); + + /// * TODO: implement this rule and an appropriate IValueConverter * / EDate returns ecore::EDate: + // "EDate"; + public ParserRule getRule() { return rule; } + + //"EDate" + public Keyword getEDateKeyword() { return cEDateKeyword; } + } + + public class MetricValueElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MetricValue"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cMetricValueKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cValueKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cValueAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cValueEDoubleParserRuleCall_6_0 = (RuleCall)cValueAssignment_6.eContents().get(0); + private final Keyword cMetricKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cMetricAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final CrossReference cMetricMetricTypeCrossReference_8_0 = (CrossReference)cMetricAssignment_8.eContents().get(0); + private final RuleCall cMetricMetricTypeEStringParserRuleCall_8_0_1 = (RuleCall)cMetricMetricTypeCrossReference_8_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + + //MetricValue returns perfdatarepo::MetricValue: + // "MetricValue" id=EString "{" "name" name=EString "value" value=EDouble "metric" + // metric=[perfdatarepo::MetricType|EString] "}"; + public ParserRule getRule() { return rule; } + + //"MetricValue" id=EString "{" "name" name=EString "value" value=EDouble "metric" + //metric=[perfdatarepo::MetricType|EString] "}" + public Group getGroup() { return cGroup; } + + //"MetricValue" + public Keyword getMetricValueKeyword_0() { return cMetricValueKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"value" + public Keyword getValueKeyword_5() { return cValueKeyword_5; } + + //value=EDouble + public Assignment getValueAssignment_6() { return cValueAssignment_6; } + + //EDouble + public RuleCall getValueEDoubleParserRuleCall_6_0() { return cValueEDoubleParserRuleCall_6_0; } + + //"metric" + public Keyword getMetricKeyword_7() { return cMetricKeyword_7; } + + //metric=[perfdatarepo::MetricType|EString] + public Assignment getMetricAssignment_8() { return cMetricAssignment_8; } + + //[perfdatarepo::MetricType|EString] + public CrossReference getMetricMetricTypeCrossReference_8_0() { return cMetricMetricTypeCrossReference_8_0; } + + //EString + public RuleCall getMetricMetricTypeEStringParserRuleCall_8_0_1() { return cMetricMetricTypeEStringParserRuleCall_8_0_1; } + + //"}" + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } + } + + public class MetricTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MetricType"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cMetricTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //MetricType returns perfdatarepo::MetricType: + // "MetricType" id=EString "{" "name" name=EString "}"; + public ParserRule getRule() { return rule; } + + //"MetricType" id=EString "{" "name" name=EString "}" + public Group getGroup() { return cGroup; } + + //"MetricType" + public Keyword getMetricTypeKeyword_0() { return cMetricTypeKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + } + + public class WeightedMetricElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "WeightedMetric"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cWeightedMetricKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cIdEStringParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cNameKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cNameEStringParserRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); + private final Keyword cWeightKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cWeightAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cWeightEDoubleParserRuleCall_6_0 = (RuleCall)cWeightAssignment_6.eContents().get(0); + private final Keyword cMetricTypeKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cMetricTypeAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final CrossReference cMetricTypeMetricTypeCrossReference_8_0 = (CrossReference)cMetricTypeAssignment_8.eContents().get(0); + private final RuleCall cMetricTypeMetricTypeEStringParserRuleCall_8_0_1 = (RuleCall)cMetricTypeMetricTypeCrossReference_8_0.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); + + //WeightedMetric: + // "WeightedMetric" id=EString "{" "name" name=EString "weight" weight=EDouble "metricType" + // metricType=[perfdatarepo::MetricType|EString] "}"; + public ParserRule getRule() { return rule; } + + //"WeightedMetric" id=EString "{" "name" name=EString "weight" weight=EDouble "metricType" + //metricType=[perfdatarepo::MetricType|EString] "}" + public Group getGroup() { return cGroup; } + + //"WeightedMetric" + public Keyword getWeightedMetricKeyword_0() { return cWeightedMetricKeyword_0; } + + //id=EString + public Assignment getIdAssignment_1() { return cIdAssignment_1; } + + //EString + public RuleCall getIdEStringParserRuleCall_1_0() { return cIdEStringParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"name" + public Keyword getNameKeyword_3() { return cNameKeyword_3; } + + //name=EString + public Assignment getNameAssignment_4() { return cNameAssignment_4; } + + //EString + public RuleCall getNameEStringParserRuleCall_4_0() { return cNameEStringParserRuleCall_4_0; } + + //"weight" + public Keyword getWeightKeyword_5() { return cWeightKeyword_5; } + + //weight=EDouble + public Assignment getWeightAssignment_6() { return cWeightAssignment_6; } + + //EDouble + public RuleCall getWeightEDoubleParserRuleCall_6_0() { return cWeightEDoubleParserRuleCall_6_0; } + + //"metricType" + public Keyword getMetricTypeKeyword_7() { return cMetricTypeKeyword_7; } + + //metricType=[perfdatarepo::MetricType|EString] + public Assignment getMetricTypeAssignment_8() { return cMetricTypeAssignment_8; } + + //[perfdatarepo::MetricType|EString] + public CrossReference getMetricTypeMetricTypeCrossReference_8_0() { return cMetricTypeMetricTypeCrossReference_8_0; } + + //EString + public RuleCall getMetricTypeMetricTypeEStringParserRuleCall_8_0_1() { return cMetricTypeMetricTypeEStringParserRuleCall_8_0_1; } + + //"}" + public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } } @@ -1821,24 +2506,32 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi private ActionElements pAction; private StrategyElements pStrategy; private ParameterElements pParameter; + private OverallGoalElements pOverallGoal; private AdaptationPlanElements pAdaptationPlan; - private StartElements pStart; - private StopElements pStop; - private LoopElements pLoop; - private BranchElements pBranch; + private StartActionElements pStartAction; + private StopActionElements pStopAction; + private LoopActionElements pLoopAction; + private BranchActionElements pBranchAction; private ActionReferenceElements pActionReference; private EIntElements pEInt; + private OperationTypeElements pOperationType; private ModelVariableConfigurationRangeElements pModelVariableConfigurationRange; private ModelEntityConfigurationRangeElements pModelEntityConfigurationRange; private EDoubleElements pEDouble; - private EObjectElements pEObject; private PropertyRangeElements pPropertyRange; private SetOfConfigurationsElements pSetOfConfigurations; private OclConstraintElements pOclConstraint; + private EObjectElements pEObject; private ObjectiveElements pObjective; private EventElements pEvent; private WeightedTacticElements pWeightedTactic; private WeightingFunctionElements pWeightingFunction; + private ImpactElements pImpact; + private ResultElements pResult; + private EDateElements pEDate; + private MetricValueElements pMetricValue; + private MetricTypeElements pMetricType; + private WeightedMetricElements pWeightedMetric; private final Grammar grammar; @@ -1879,9 +2572,9 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi //StaRepository: - // "StaRepository" id=EString "{" "name" name=EString ("parameters" "{" parameters+=Parameter ("," - // parameters+=Parameter)* "}")? "actions" "{" actions+=Action ("," actions+=Action)* "}" "tactics" "{" tactics+=Tactic - // ("," tactics+=Tactic)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" "}"; + // "StaRepository" id=EString "{" "name" name=EString "tactics" "{" tactics+=Tactic ("," tactics+=Tactic)* "}" "actions" + // "{" actions+=Action ("," actions+=Action)* "}" "strategies" "{" strategies+=Strategy ("," strategies+=Strategy)* "}" + // ("parameters" "{" parameters+=Parameter ("," parameters+=Parameter)* "}")? "goal" goal=OverallGoal "}"; public StaRepositoryElements getStaRepositoryAccess() { return (pStaRepository != null) ? pStaRepository : (pStaRepository = new StaRepositoryElements()); } @@ -1901,7 +2594,7 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //AbstractControlFlowElement: - // Start | Stop | Loop | Branch | ActionReference; + // StartAction | StopAction | LoopAction | BranchAction | ActionReference; public AbstractControlFlowElementElements getAbstractControlFlowElementAccess() { return (pAbstractControlFlowElement != null) ? pAbstractControlFlowElement : (pAbstractControlFlowElement = new AbstractControlFlowElementElements()); } @@ -1943,8 +2636,9 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //Action: - // "Action" id=EString "{" "name" name=EString ("outputParam" outputParam=[Parameter|EString])? ("inputParams" "(" - // inputParams+=[Parameter|EString] ("," inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" + // "Action" id=EString "{" "name" name=EString "operationType" operationType=OperationType ("outputParam" + // outputParam=[Parameter|EString])? ("inputParams" "(" inputParams+=[Parameter|EString] ("," + // inputParams+=[Parameter|EString])* ")")? "referredAdaptationPoint" // referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] "}"; public ActionElements getActionAccess() { return (pAction != null) ? pAction : (pAction = new ActionElements()); @@ -1955,8 +2649,8 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //Strategy: - // "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] ("triggeringEvents" - // triggeringEvents=Event)? "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" + // "Strategy" id=EString "{" "name" name=EString "objective" objective=[Objective|EString] "triggeringEvents" + // triggeringEvents=Event "tactics" "{" tactics+=WeightedTactic ("," tactics+=WeightedTactic)* "}" "weightingFunction" // weightingFunction=WeightingFunction "}"; public StrategyElements getStrategyAccess() { return (pStrategy != null) ? pStrategy : (pStrategy = new StrategyElements()); @@ -1976,6 +2670,17 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getParameterAccess().getRule(); } + //OverallGoal: + // "OverallGoal" "{" "description" description=EString "objectives" "{" objectives+=Objective ("," + // objectives+=Objective)* "}" "}"; + public OverallGoalElements getOverallGoalAccess() { + return (pOverallGoal != null) ? pOverallGoal : (pOverallGoal = new OverallGoalElements()); + } + + public ParserRule getOverallGoalRule() { + return getOverallGoalAccess().getRule(); + } + //AdaptationPlan: // "AdaptationPlan" id=EString "{" "name" name=EString ("steps" "{" steps+=AbstractControlFlowElement ("," // steps+=AbstractControlFlowElement)* "}")? "}"; @@ -1987,53 +2692,53 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getAdaptationPlanAccess().getRule(); } - //Start returns StartAction: - // {StartAction} "Start" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "}"; - public StartElements getStartAccess() { - return (pStart != null) ? pStart : (pStart = new StartElements()); + //StartAction: + // {StartAction} "StartAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "}"; + public StartActionElements getStartActionAccess() { + return (pStartAction != null) ? pStartAction : (pStartAction = new StartActionElements()); } - public ParserRule getStartRule() { - return getStartAccess().getRule(); + public ParserRule getStartActionRule() { + return getStartActionAccess().getRule(); } - //Stop returns StopAction: - // {StopAction} "Stop" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "}"; - public StopElements getStopAccess() { - return (pStop != null) ? pStop : (pStop = new StopElements()); + //StopAction: + // {StopAction} "StopAction" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "}"; + public StopActionElements getStopActionAccess() { + return (pStopAction != null) ? pStopAction : (pStopAction = new StopActionElements()); } - public ParserRule getStopRule() { - return getStopAccess().getRule(); + public ParserRule getStopActionRule() { + return getStopActionAccess().getRule(); } - //Loop returns LoopAction: - // "LoopAction" "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" - // successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; - public LoopElements getLoopAccess() { - return (pLoop != null) ? pLoop : (pLoop = new LoopElements()); + //LoopAction: + // "LoopAction" id=EString "{" "counter" counter=EInt ("predecessor" predecessor=[AbstractControlFlowElement|EString])? + // ("successor" successor=[AbstractControlFlowElement|EString])? "body" body=AdaptationPlan "}"; + public LoopActionElements getLoopActionAccess() { + return (pLoopAction != null) ? pLoopAction : (pLoopAction = new LoopActionElements()); } - public ParserRule getLoopRule() { - return getLoopAccess().getRule(); + public ParserRule getLoopActionRule() { + return getLoopActionAccess().getRule(); } - //Branch returns BranchAction: - // "BranchAction" "{" ("condition" condition=EString)? ("predecessor" predecessor=[AbstractControlFlowElement|EString])? - // ("successor" successor=[AbstractControlFlowElement|EString])? "branches" "{" branches+=AdaptationPlan ("," - // branches+=AdaptationPlan)* "}" "}"; - public BranchElements getBranchAccess() { - return (pBranch != null) ? pBranch : (pBranch = new BranchElements()); + //BranchAction: + // "BranchAction" id=EString "{" ("condition" condition=EString)? ("predecessor" + // predecessor=[AbstractControlFlowElement|EString])? ("successor" successor=[AbstractControlFlowElement|EString])? + // "branches" "{" branches+=AdaptationPlan ("," branches+=AdaptationPlan)* "}" "}"; + public BranchActionElements getBranchActionAccess() { + return (pBranchAction != null) ? pBranchAction : (pBranchAction = new BranchActionElements()); } - public ParserRule getBranchRule() { - return getBranchAccess().getRule(); + public ParserRule getBranchActionRule() { + return getBranchActionAccess().getRule(); } //ActionReference: - // "ActionReference" "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" + // "ActionReference" id=EString "{" ("predecessor" predecessor=[AbstractControlFlowElement|EString])? ("successor" // successor=[AbstractControlFlowElement|EString])? "refersTo" refersTo=[Action|EString] "}"; public ActionReferenceElements getActionReferenceAccess() { return (pActionReference != null) ? pActionReference : (pActionReference = new ActionReferenceElements()); @@ -2053,9 +2758,20 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getEIntAccess().getRule(); } + /// * TODO: implement this rule and an appropriate IValueConverter * / OperationType returns + //adaptationpoints::OperationType: + // "OperationType"; + public OperationTypeElements getOperationTypeAccess() { + return (pOperationType != null) ? pOperationType : (pOperationType = new OperationTypeElements()); + } + + public ParserRule getOperationTypeRule() { + return getOperationTypeAccess().getRule(); + } + //ModelVariableConfigurationRange returns adaptationpoints::ModelVariableConfigurationRange: - // "ModelVariableConfigurationRange" id=EString "{" "minValue" minValue=EDouble "maxValue" maxValue=EDouble - // "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; + // "ModelVariableConfigurationRange" id=EString "{" "name" name=EString "minValue" minValue=EDouble "maxValue" + // maxValue=EDouble "adaptableEntity" adaptableEntity=[core::AdaptableEntity|EString] "}"; public ModelVariableConfigurationRangeElements getModelVariableConfigurationRangeAccess() { return (pModelVariableConfigurationRange != null) ? pModelVariableConfigurationRange : (pModelVariableConfigurationRange = new ModelVariableConfigurationRangeElements()); } @@ -2065,8 +2781,8 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfigurationRange: - // "ModelEntityConfigurationRange" id=EString "{" "adaptableEntity" adaptableEntity=[core::Entity|EString] - // "variationPossibility" variationPossibility=VariationType "}"; + // "ModelEntityConfigurationRange" id=EString "{" "name" name=EString "adaptableEntity" + // adaptableEntity=[core::Entity|EString] "variationPossibility" variationPossibility=VariationType "}"; public ModelEntityConfigurationRangeElements getModelEntityConfigurationRangeAccess() { return (pModelEntityConfigurationRange != null) ? pModelEntityConfigurationRange : (pModelEntityConfigurationRange = new ModelEntityConfigurationRangeElements()); } @@ -2085,16 +2801,6 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getEDoubleAccess().getRule(); } - //EObject returns ecore::EObject: - // {ecore::EObject} "EObject"; - public EObjectElements getEObjectAccess() { - return (pEObject != null) ? pEObject : (pEObject = new EObjectElements()); - } - - public ParserRule getEObjectRule() { - return getEObjectAccess().getRule(); - } - //PropertyRange returns adaptationpoints::PropertyRange: // "PropertyRange" "{" "minValueConstraint" minValueConstraint=OclConstraint "maxValueConstraint" // maxValueConstraint=OclConstraint "}"; @@ -2107,8 +2813,8 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //SetOfConfigurations returns adaptationpoints::SetOfConfigurations: - // "SetOfConfigurations" "{" "valueConstraint" valueConstraint=OclConstraint ("variants" "(" - // variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* ")")? "}"; + // "SetOfConfigurations" "{" ("variants" "(" variants+=[ecore::EObject|EString] ("," variants+=[ecore::EObject|EString])* + // ")")? "valueConstraint" valueConstraint=OclConstraint "}"; public SetOfConfigurationsElements getSetOfConfigurationsAccess() { return (pSetOfConfigurations != null) ? pSetOfConfigurations : (pSetOfConfigurations = new SetOfConfigurationsElements()); } @@ -2127,8 +2833,18 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getOclConstraintAccess().getRule(); } + //EObject returns ecore::EObject: + // {ecore::EObject} "EObject"; + public EObjectElements getEObjectAccess() { + return (pEObject != null) ? pEObject : (pEObject = new EObjectElements()); + } + + public ParserRule getEObjectRule() { + return getEObjectAccess().getRule(); + } + //Objective: - // "Objective" "{" "specification" specification=EString "}"; + // "Objective" id=EString "{" "name" name=EString "specification" specification=EString "}"; public ObjectiveElements getObjectiveAccess() { return (pObjective != null) ? pObjective : (pObjective = new ObjectiveElements()); } @@ -2138,7 +2854,7 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //Event: - // {Event} "Event"; + // "Event" id=EString "{" "name" name=EString "}"; public EventElements getEventAccess() { return (pEvent != null) ? pEvent : (pEvent = new EventElements()); } @@ -2148,8 +2864,9 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi } //WeightedTactic: - // "WeightedTactic" "{" "currentWeight" currentWeight=EDouble "defaultWeight" defaultWeight=EDouble "uses" - // usedTactic=[Tactic|EString] "}"; + // "WeightedTactic" id=EString "{" "name" name=EString "currentWeight" currentWeight=EDouble "defaultWeight" + // defaultWeight=EDouble "usedTactic" usedTactic=[Tactic|EString] ("lastImpact" + // lastImpact=[perfdatarepo::Impact|EString])? "}"; public WeightedTacticElements getWeightedTacticAccess() { return (pWeightedTactic != null) ? pWeightedTactic : (pWeightedTactic = new WeightedTacticElements()); } @@ -2158,10 +2875,9 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getWeightedTacticAccess().getRule(); } - ////'}'; - //WeightingFunction: //'WeightingFunction' - ////'{' - // "function" function=EString; + //WeightingFunction: + // "WeightingFunction" id=EString "{" "name" name=EString "weightedMetrics" "{" weightedMetrics+=WeightedMetric ("," + // weightedMetrics+=WeightedMetric)* "}" "}"; public WeightingFunctionElements getWeightingFunctionAccess() { return (pWeightingFunction != null) ? pWeightingFunction : (pWeightingFunction = new WeightingFunctionElements()); } @@ -2170,6 +2886,70 @@ public class StaAdaptationLanguageGrammarAccess extends AbstractGrammarElementFi return getWeightingFunctionAccess().getRule(); } + //Impact returns perfdatarepo::Impact: + // "Impact" id=EString "{" "name" name=EString "before" before=[perfdatarepo::Result|EString] "after" + // after=[perfdatarepo::Result|EString] "}"; + public ImpactElements getImpactAccess() { + return (pImpact != null) ? pImpact : (pImpact = new ImpactElements()); + } + + public ParserRule getImpactRule() { + return getImpactAccess().getRule(); + } + + //Result returns perfdatarepo::Result: + // "Result" id=EString "{" "name" name=EString "timestamp" timestamp=EDate "metricValues" "{" metricValues+=MetricValue + // ("," metricValues+=MetricValue)* "}" "}"; + public ResultElements getResultAccess() { + return (pResult != null) ? pResult : (pResult = new ResultElements()); + } + + public ParserRule getResultRule() { + return getResultAccess().getRule(); + } + + /// * TODO: implement this rule and an appropriate IValueConverter * / EDate returns ecore::EDate: + // "EDate"; + public EDateElements getEDateAccess() { + return (pEDate != null) ? pEDate : (pEDate = new EDateElements()); + } + + public ParserRule getEDateRule() { + return getEDateAccess().getRule(); + } + + //MetricValue returns perfdatarepo::MetricValue: + // "MetricValue" id=EString "{" "name" name=EString "value" value=EDouble "metric" + // metric=[perfdatarepo::MetricType|EString] "}"; + public MetricValueElements getMetricValueAccess() { + return (pMetricValue != null) ? pMetricValue : (pMetricValue = new MetricValueElements()); + } + + public ParserRule getMetricValueRule() { + return getMetricValueAccess().getRule(); + } + + //MetricType returns perfdatarepo::MetricType: + // "MetricType" id=EString "{" "name" name=EString "}"; + public MetricTypeElements getMetricTypeAccess() { + return (pMetricType != null) ? pMetricType : (pMetricType = new MetricTypeElements()); + } + + public ParserRule getMetricTypeRule() { + return getMetricTypeAccess().getRule(); + } + + //WeightedMetric: + // "WeightedMetric" id=EString "{" "name" name=EString "weight" weight=EDouble "metricType" + // metricType=[perfdatarepo::MetricType|EString] "}"; + public WeightedMetricElements getWeightedMetricAccess() { + return (pWeightedMetric != null) ? pWeightedMetric : (pWeightedMetric = new WeightedMetricElements()); + } + + public ParserRule getWeightedMetricRule() { + return getWeightedMetricAccess().getRule(); + } + //terminal ID: // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; public TerminalRule getIDRule() { diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/validation/AbstractStaAdaptationLanguageJavaValidator.java b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/validation/AbstractStaAdaptationLanguageJavaValidator.java index 00c6c7efceae50e15df69aa93dbbb351506ec7be..0cd228c084307cac0e311e674ed4d5f96231d7b2 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/validation/AbstractStaAdaptationLanguageJavaValidator.java +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src-gen/edu/kit/ipd/descartes/mm/adaptation/validation/AbstractStaAdaptationLanguageJavaValidator.java @@ -14,6 +14,7 @@ public class AbstractStaAdaptationLanguageJavaValidator extends AbstractDeclarat result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.descartes-research.net/metamodel/adaptation/0.1")); result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.descartes-research.net/metamodel/adaptationpoints/0.1")); result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/emf/2002/Ecore")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.descartes-research.net/metamodel/perfdata/0.1")); return result; } diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/GenerateStaAdaptationLanguage.mwe2 b/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/GenerateStaAdaptationLanguage.mwe2 index 6f352282ee3aafee8695fd61c41880656e0f94d9..ff9a56dd9adca88a7c24f162732ee5e26b76ed05 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/GenerateStaAdaptationLanguage.mwe2 +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/GenerateStaAdaptationLanguage.mwe2 @@ -14,7 +14,7 @@ Workflow { scanClassPath = true platformUri = "${runtimeProject}/.." registerGeneratedEPackage = "edu.kit.ipd.descartes.mm.adaptation.AdaptationPackage" - // registerGenModelFile = "platform:/resource/edu.kit.ipd.descartes.mm/model/adaptation.genmodel" +// registerGenModelFile = "platform:/resource/edu.kit.ipd.descartes.mm.adaptation/model/adaptation.genmodel" } diff --git a/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xtext b/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xtext index 4158dab29355803315a6732719021f00d552af36..2f0e344339cfdb834ade29c7c500178b6b89cd08 100644 --- a/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xtext +++ b/edu.kit.ipd.descartes.mm.adaptation.sta/src/edu/kit/ipd/descartes/mm/adaptation/StaAdaptationLanguage.xtext @@ -1,36 +1,35 @@ // automatically generated by Xtext grammar edu.kit.ipd.descartes.mm.adaptation.StaAdaptationLanguage with org.eclipse.xtext.common.Terminals -import "http://www.descartes-research.net/metamodel/adaptation/0.1" +//import "http://www.descartes-research.net/metamodel/adaptation/0.1" +import "platform:/resource/edu.kit.ipd.descartes.mm.adaptation/model/adaptation.ecore" import "http://www.eclipse.org/emf/2002/Ecore" as ecore -import "http://www.descartes-research.net/metamodel/adaptationpoints/0.1" as adaptationpoints -import "http://www.descartes-research.net/metamodel/core/0.1" as core +import "platform:/resource/edu.kit.ipd.descartes.mm.adaptationpoints/model/adaptationpoints.ecore" as adaptationpoints +import "platform:/resource/edu.kit.ipd.descartes.core/model/core.ecore" as core +import "platform:/resource/edu.kit.ipd.descartes.perfdatarepo/model/perfdatarepo.ecore" as perfdatarepo StaRepository returns StaRepository: 'StaRepository' id=EString '{' 'name' name=EString - ('parameters' '{' parameters+=Parameter ( "," parameters+=Parameter)* '}' )? - 'actions' '{' actions+=Action ( "," actions+=Action)* '}' 'tactics' '{' tactics+=Tactic ( "," tactics+=Tactic)* '}' + 'actions' '{' actions+=Action ( "," actions+=Action)* '}' 'strategies' '{' strategies+=Strategy ( "," strategies+=Strategy)* '}' + ('parameters' '{' parameters+=Parameter ( "," parameters+=Parameter)* '}' )? + 'goal' goal=OverallGoal '}'; - AdaptationPoint returns adaptationpoints::AdaptationPoint: ModelVariableConfigurationRange | ModelEntityConfigurationRange; - AbstractControlFlowElement returns AbstractControlFlowElement: - Start | Stop | Loop | Branch | ActionReference; + StartAction | StopAction | LoopAction | BranchAction | ActionReference; VariationType returns adaptationpoints::VariationType: PropertyRange | SetOfConfigurations; - - EString returns ecore::EString: STRING | ID; @@ -49,6 +48,7 @@ Action returns Action: id=EString '{' 'name' name=EString + 'operationType' operationType=OperationType ('outputParam' outputParam=[Parameter|EString])? ('inputParams' '(' inputParams+=[Parameter|EString] ( "," inputParams+=[Parameter|EString])* ')' )? 'referredAdaptationPoint' referredAdaptationPoint=[adaptationpoints::AdaptationPoint|EString] @@ -60,7 +60,7 @@ Strategy returns Strategy: '{' 'name' name=EString 'objective' objective=[Objective|EString] - ('triggeringEvents' triggeringEvents=Event)? + 'triggeringEvents' triggeringEvents=Event 'tactics' '{' tactics+=WeightedTactic ( "," tactics+=WeightedTactic)* '}' 'weightingFunction' weightingFunction=WeightingFunction '}'; @@ -72,6 +72,13 @@ Parameter returns Parameter: 'type' type=EString '}'; +OverallGoal returns OverallGoal: + 'OverallGoal' + '{' + 'description' description=EString + 'objectives' '{' objectives+=Objective ( "," objectives+=Objective)* '}' + '}'; + AdaptationPlan returns AdaptationPlan: 'AdaptationPlan' id=EString @@ -80,24 +87,27 @@ AdaptationPlan returns AdaptationPlan: ('steps' '{' steps+=AbstractControlFlowElement ( "," steps+=AbstractControlFlowElement)* '}' )? '}'; -Start returns StartAction: +StartAction returns StartAction: {StartAction} - 'Start' + 'StartAction' + id=EString '{' ('predecessor' predecessor=[AbstractControlFlowElement|EString])? ('successor' successor=[AbstractControlFlowElement|EString])? '}'; -Stop returns StopAction: +StopAction returns StopAction: {StopAction} - 'Stop' + 'StopAction' + id=EString '{' ('predecessor' predecessor=[AbstractControlFlowElement|EString])? ('successor' successor=[AbstractControlFlowElement|EString])? '}'; -Loop returns LoopAction: +LoopAction returns LoopAction: 'LoopAction' + id=EString '{' 'counter' counter=EInt ('predecessor' predecessor=[AbstractControlFlowElement|EString])? @@ -105,8 +115,9 @@ Loop returns LoopAction: 'body' body=AdaptationPlan '}'; -Branch returns BranchAction: +BranchAction returns BranchAction: 'BranchAction' + id=EString '{' ('condition' condition=EString)? ('predecessor' predecessor=[AbstractControlFlowElement|EString])? @@ -116,6 +127,7 @@ Branch returns BranchAction: ActionReference returns ActionReference: 'ActionReference' + id=EString '{' ('predecessor' predecessor=[AbstractControlFlowElement|EString])? ('successor' successor=[AbstractControlFlowElement|EString])? @@ -125,10 +137,14 @@ ActionReference returns ActionReference: EInt returns ecore::EInt: '-'? INT; +OperationType returns adaptationpoints::OperationType: + 'OperationType' /* TODO: implement this rule and an appropriate IValueConverter */; + ModelVariableConfigurationRange returns adaptationpoints::ModelVariableConfigurationRange: 'ModelVariableConfigurationRange' id=EString '{' + 'name' name=EString 'minValue' minValue=EDouble 'maxValue' maxValue=EDouble 'adaptableEntity' adaptableEntity=[core::AdaptableEntity|EString] @@ -138,6 +154,7 @@ ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfiguration 'ModelEntityConfigurationRange' id=EString '{' + 'name' name=EString 'adaptableEntity' adaptableEntity=[core::Entity|EString] 'variationPossibility' variationPossibility=VariationType '}'; @@ -145,11 +162,6 @@ ModelEntityConfigurationRange returns adaptationpoints::ModelEntityConfiguration EDouble returns ecore::EDouble: '-'? INT? '.' INT (('E'|'e') '-'? INT)?; -EObject returns ecore::EObject: - {ecore::EObject} - 'EObject' - ; - PropertyRange returns adaptationpoints::PropertyRange: 'PropertyRange' '{' @@ -160,8 +172,8 @@ PropertyRange returns adaptationpoints::PropertyRange: SetOfConfigurations returns adaptationpoints::SetOfConfigurations: 'SetOfConfigurations' '{' - 'valueConstraint' valueConstraint=OclConstraint ('variants' '(' variants+=[ecore::EObject|EString] ( "," variants+=[ecore::EObject|EString])* ')' )? + 'valueConstraint' valueConstraint=OclConstraint '}'; OclConstraint returns adaptationpoints::OclConstraint: @@ -170,27 +182,87 @@ OclConstraint returns adaptationpoints::OclConstraint: 'oclString' oclString=EString '}'; +EObject returns ecore::EObject: + {ecore::EObject} + 'EObject' + ; + Objective returns Objective: 'Objective' + id=EString '{' + 'name' name=EString 'specification' specification=EString '}'; Event returns Event: - {Event} 'Event' - ; + id=EString + '{' + 'name' name=EString + '}'; WeightedTactic returns WeightedTactic: 'WeightedTactic' + id=EString '{' + 'name' name=EString 'currentWeight' currentWeight=EDouble 'defaultWeight' defaultWeight=EDouble - 'uses' usedTactic=[Tactic|EString] + 'usedTactic' usedTactic=[Tactic|EString] + ('lastImpact' lastImpact=[perfdatarepo::Impact|EString])? '}'; WeightingFunction returns WeightingFunction: - //'WeightingFunction' - //'{' - 'function' function=EString; - //'}'; + 'WeightingFunction' + id=EString + '{' + 'name' name=EString + 'weightedMetrics' '{' weightedMetrics+=WeightedMetric ( "," weightedMetrics+=WeightedMetric)* '}' + '}'; + +Impact returns perfdatarepo::Impact: + 'Impact' + id=EString + '{' + 'name' name=EString + 'before' before=[perfdatarepo::Result|EString] + 'after' after=[perfdatarepo::Result|EString] + '}'; + +Result returns perfdatarepo::Result: + 'Result' + id=EString + '{' + 'name' name=EString + 'timestamp' timestamp=EDate + 'metricValues' '{' metricValues+=MetricValue ( "," metricValues+=MetricValue)* '}' + '}'; + +EDate returns ecore::EDate: + 'EDate' /* TODO: implement this rule and an appropriate IValueConverter */; + +MetricValue returns perfdatarepo::MetricValue: + 'MetricValue' + id=EString + '{' + 'name' name=EString + 'value' value=EDouble + 'metric' metric=[perfdatarepo::MetricType|EString] + '}'; + +MetricType returns perfdatarepo::MetricType: + 'MetricType' + id=EString + '{' + 'name' name=EString + '}'; + +WeightedMetric returns WeightedMetric: + 'WeightedMetric' + id=EString + '{' + 'name' name=EString + 'weight' weight=EDouble + 'metricType' metricType=[perfdatarepo::MetricType|EString] + '}';