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 9f91293414c4019bc7752eaab21b3ff2f920b3fe..deb008a8ad6520790bf687955053407ca5da2665 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 @@ -80,24 +80,24 @@ AdaptationPlan returns AdaptationPlan: ('steps' '{' steps+=AbstractControlFlowElement ( "," steps+=AbstractControlFlowElement)* '}' )? '}'; -Start returns Start: - {Start} +Start returns StartAction: + {StartAction} 'Start' '{' ('predecessor' predecessor=[AbstractControlFlowElement|EString])? ('successor' successor=[AbstractControlFlowElement|EString])? '}'; -Stop returns Stop: - {Stop} +Stop returns StopAction: + {StopAction} 'Stop' '{' ('predecessor' predecessor=[AbstractControlFlowElement|EString])? ('successor' successor=[AbstractControlFlowElement|EString])? '}'; -Loop returns Loop: - 'Loop' +Loop returns LoopAction: + 'LoopAction' '{' 'counter' counter=EInt ('predecessor' predecessor=[AbstractControlFlowElement|EString])? @@ -105,8 +105,8 @@ Loop returns Loop: 'body' body=AdaptationPlan '}'; -Branch returns Branch: - 'Branch' +Branch returns BranchAction: + 'BranchAction' '{' ('condition' condition=EString)? ('predecessor' predecessor=[AbstractControlFlowElement|EString])?